@@ -102,27 +126,38 @@ import type { Tag, TagWithId } from '../types'
import { defineComponent } from 'vue'
import { emit } from '@nextcloud/event-bus'
+import { getLanguage, n, t } from '@nextcloud/l10n'
import { sanitize } from 'dompurify'
import { showError, showInfo } from '@nextcloud/dialogs'
-import { getLanguage, n, t } from '@nextcloud/l10n'
+import debounce from 'debounce'
import escapeHTML from 'escape-html'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch.js'
import NcChip from '@nextcloud/vue/dist/Components/NcChip.js'
+import NcColorPicker from '@nextcloud/vue/dist/Components/NcColorPicker.js'
import NcDialog from '@nextcloud/vue/dist/Components/NcDialog.js'
import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js'
import NcNoteCard from '@nextcloud/vue/dist/Components/NcNoteCard.js'
import NcTextField from '@nextcloud/vue/dist/Components/NcTextField.js'
-import TagIcon from 'vue-material-design-icons/Tag.vue'
import CheckIcon from 'vue-material-design-icons/CheckCircle.vue'
+import CircleIcon from 'vue-material-design-icons/Circle.vue'
+import CircleOutlineIcon from 'vue-material-design-icons/CircleOutline.vue'
+import PencilIcon from 'vue-material-design-icons/Pencil.vue'
import PlusIcon from 'vue-material-design-icons/Plus.vue'
+import TagIcon from 'vue-material-design-icons/Tag.vue'
+import { createTag, fetchTag, fetchTags, getTagObjects, setTagObjects, updateTag } from '../services/api'
import { getNodeSystemTags, setNodeSystemTags } from '../utils'
-import { createTag, fetchTag, fetchTags, getTagObjects, setTagObjects } from '../services/api'
+import { elementColor, invertTextColor, isDarkModeEnabled } from '../utils/colorUtils'
import logger from '../services/logger'
+const debounceUpdateTag = debounce(updateTag, 500)
+const mainBackgroundColor = getComputedStyle(document.body)
+ .getPropertyValue('--color-main-background')
+ .replace('#', '') || (isDarkModeEnabled() ? '000000' : 'ffffff')
+
type TagListCount = {
string: number
}
@@ -139,15 +174,19 @@ export default defineComponent({
components: {
CheckIcon,
+ CircleIcon,
+ CircleOutlineIcon,
NcButton,
NcCheckboxRadioSwitch,
// eslint-disable-next-line vue/no-unused-components
NcChip,
+ NcColorPicker,
NcDialog,
NcEmptyContent,
NcLoadingIcon,
NcNoteCard,
NcTextField,
+ PencilIcon,
PlusIcon,
TagIcon,
},
@@ -171,6 +210,7 @@ export default defineComponent({
return {
status: Status.BASE,
opened: true,
+ openedPicker: false,
input: '',
tags: [] as TagWithId[],
@@ -329,7 +369,14 @@ export default defineComponent({
// Format & sanitize a tag chip for v-html tag rendering
formatTagChip(tag: TagWithId): string {
const chip = this.$refs.chip as NcChip
- const chipHtml = chip.$el.outerHTML
+ const chipCloneEl = chip.$el.cloneNode(true) as HTMLElement
+ if (tag.color) {
+ const style = this.tagListStyle(tag)
+ Object.entries(style).forEach(([key, value]) => {
+ chipCloneEl.style.setProperty(key, value)
+ })
+ }
+ const chipHtml = chipCloneEl.outerHTML
return chipHtml.replace('%s', escapeHTML(sanitize(tag.displayName)))
},
@@ -345,6 +392,11 @@ export default defineComponent({
return tag.displayName
},
+ onColorChange(tag: TagWithId, color: `#${string}`) {
+ tag.color = color.replace('#', '')
+ debounceUpdateTag(tag)
+ },
+
isChecked(tag: TagWithId): boolean {
return tag.displayName in this.tagList
&& this.tagList[tag.displayName] === this.nodes.length
@@ -480,6 +532,28 @@ export default defineComponent({
showInfo(t('systemtags', 'File tags modification canceled'))
this.$emit('close', null)
},
+
+ tagListStyle(tag: TagWithId): Record
{
+ // No color, no style
+ if (!tag.color) {
+ return {
+ // See inline system tag color
+ '--color-circle-icon': 'var(--color-text-maxcontrast)',
+ }
+ }
+
+ // Make the checkbox color the same as the tag color
+ // as well as the circle icon color picker
+ const primaryElement = elementColor(`#${tag.color}`, `#${mainBackgroundColor}`)
+ const textColor = invertTextColor(primaryElement) ? '#000000' : '#ffffff'
+ return {
+ '--color-circle-icon': 'var(--color-primary-element)',
+ '--color-primary': primaryElement,
+ '--color-primary-text': textColor,
+ '--color-primary-element': primaryElement,
+ '--color-primary-element-text': textColor,
+ }
+ },
},
})
@@ -506,6 +580,48 @@ export default defineComponent({
gap: var(--default-grid-baseline);
display: flex;
flex-direction: column;
+
+ li {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ width: 100%;
+
+ // Make switch full width
+ :deep(.checkbox-radio-switch) {
+ width: 100%;
+
+ .checkbox-content {
+ // adjust width
+ max-width: none;
+ // recalculate padding
+ box-sizing: border-box;
+ min-height: calc(var(--default-grid-baseline) * 2 + var(--default-clickable-area));
+ }
+ }
+ }
+
+ .systemtags-picker__tag-color button {
+ margin-inline-start: calc(var(--default-grid-baseline) * 2);
+
+ span.pencil-icon {
+ display: none;
+ color: var(--color-main-text);
+ }
+
+ &:focus,
+ &:hover,
+ &[aria-expanded='true'] {
+ .pencil-icon {
+ display: block;
+ }
+ .circle-icon,
+ .circle-outline-icon {
+ display: none;
+ }
+ }
+ }
+
.systemtags-picker__tag-create {
:deep(span) {
text-align: start;
diff --git a/apps/systemtags/src/css/fileEntryInlineSystemTags.scss b/apps/systemtags/src/css/fileEntryInlineSystemTags.scss
index 4cf72ed429fb8..d6b6d3a28bdfc 100644
--- a/apps/systemtags/src/css/fileEntryInlineSystemTags.scss
+++ b/apps/systemtags/src/css/fileEntryInlineSystemTags.scss
@@ -22,7 +22,7 @@
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
- line-height: 22px; // min-size - 2 * 5px padding
+ line-height: 20px; // min-size - 2 * 5px padding - 2 * 1px border
text-align: center;
&--more {
@@ -34,6 +34,14 @@
& + .files-list__system-tag {
margin-inline-start: 5px;
}
+
+ // With color
+ &[data-systemtag-color] {
+ border-color: var(--systemtag-color);
+ color: var(--systemtag-color);
+ border-width: 2px;
+ line-height: 18px; // min-size - 2 * 5px padding - 2 * 2px border
+ }
}
@media (min-width: 512px) {
diff --git a/apps/systemtags/src/event-bus.d.ts b/apps/systemtags/src/event-bus.d.ts
index 4009f3f372b5a..f17be3dca5393 100644
--- a/apps/systemtags/src/event-bus.d.ts
+++ b/apps/systemtags/src/event-bus.d.ts
@@ -3,10 +3,14 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import type { Node } from '@nextcloud/files'
+import type { TagWithId } from './types'
declare module '@nextcloud/event-bus' {
interface NextcloudEvents {
'systemtags:node:updated': Node
+ 'systemtags:tag:deleted': TagWithId
+ 'systemtags:tag:updated': TagWithId
+ 'systemtags:tag:created': TagWithId
}
}
diff --git a/apps/systemtags/src/files_actions/inlineSystemTagsAction.spec.ts b/apps/systemtags/src/files_actions/inlineSystemTagsAction.spec.ts
index 6861b5015a1ed..3bf910149f7e9 100644
--- a/apps/systemtags/src/files_actions/inlineSystemTagsAction.spec.ts
+++ b/apps/systemtags/src/files_actions/inlineSystemTagsAction.spec.ts
@@ -3,10 +3,11 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import { action } from './inlineSystemTagsAction'
-import { describe, expect, test } from 'vitest'
-import { File, Permission, View, FileAction } from '@nextcloud/files'
+import { beforeEach, describe, expect, test, vi } from 'vitest'
import { emit, subscribe } from '@nextcloud/event-bus'
+import { File, Permission, View, FileAction } from '@nextcloud/files'
import { setNodeSystemTags } from '../utils'
+import * as serviceTagApi from '../services/api'
const view = {
id: 'files',
@@ -53,6 +54,13 @@ describe('Inline system tags action conditions tests', () => {
})
describe('Inline system tags action render tests', () => {
+
+ beforeEach(() => {
+ vi.spyOn(serviceTagApi, 'fetchTags').mockImplementation(async () => {
+ return []
+ })
+ })
+
test('Render something even when Node does not have system tags', async () => {
const file = new File({
id: 1,
@@ -86,7 +94,7 @@ describe('Inline system tags action render tests', () => {
const result = await action.renderInline!(file, view)
expect(result).toBeInstanceOf(HTMLElement)
expect(result!.outerHTML).toMatchInlineSnapshot(
- '""',
+ '""',
)
})
@@ -107,7 +115,7 @@ describe('Inline system tags action render tests', () => {
const result = await action.renderInline!(file, view)
expect(result).toBeInstanceOf(HTMLElement)
expect(result!.outerHTML).toMatchInlineSnapshot(
- '""',
+ '""',
)
})
@@ -133,7 +141,7 @@ describe('Inline system tags action render tests', () => {
const result = await action.renderInline!(file, view)
expect(result).toBeInstanceOf(HTMLElement)
expect(result!.outerHTML).toMatchInlineSnapshot(
- '""',
+ '""',
)
})
@@ -160,12 +168,14 @@ describe('Inline system tags action render tests', () => {
document.body.appendChild(result)
expect(result).toBeInstanceOf(HTMLElement)
expect(document.body.innerHTML).toMatchInlineSnapshot(
- '""',
+ '""',
)
// Subscribe to the event
const eventPromise = new Promise((resolve) => {
- subscribe('systemtags:node:updated', resolve)
+ subscribe('systemtags:node:updated', () => {
+ setTimeout(resolve, 100)
+ })
})
// Change tags
@@ -177,7 +187,113 @@ describe('Inline system tags action render tests', () => {
await eventPromise
expect(document.body.innerHTML).toMatchInlineSnapshot(
- '""',
+ '""',
+ )
+ })
+})
+
+describe('Inline system tags action colors', () => {
+
+ const tag = {
+ id: 1,
+ displayName: 'Confidential',
+ color: '000000',
+ etag: '123',
+ userVisible: true,
+ userAssignable: true,
+ canAssign: true,
+ }
+
+ beforeEach(() => {
+ document.body.innerHTML = ''
+ vi.spyOn(serviceTagApi, 'fetchTags').mockImplementation(async () => {
+ return [tag]
+ })
+ })
+
+ test('Render a single system tag', async () => {
+ const file = new File({
+ id: 1,
+ source: 'http://localhost/remote.php/dav/files/admin/foobar.txt',
+ owner: 'admin',
+ mime: 'text/plain',
+ permissions: Permission.ALL,
+ attributes: {
+ 'system-tags': {
+ 'system-tag': 'Confidential',
+ },
+ },
+ })
+
+ const result = await action.renderInline!(file, view)
+ expect(result).toBeInstanceOf(HTMLElement)
+ expect(result!.outerHTML).toMatchInlineSnapshot(
+ '""',
+ )
+ })
+
+ test('Render a single system tag with invalid WCAG color', async () => {
+ const file = new File({
+ id: 1,
+ source: 'http://localhost/remote.php/dav/files/admin/foobar.txt',
+ owner: 'admin',
+ mime: 'text/plain',
+ permissions: Permission.ALL,
+ attributes: {
+ 'system-tags': {
+ 'system-tag': 'Confidential',
+ },
+ },
+ })
+
+ document.body.setAttribute('data-themes', 'theme-dark')
+
+ const result = await action.renderInline!(file, view)
+ expect(result).toBeInstanceOf(HTMLElement)
+ expect(result!.outerHTML).toMatchInlineSnapshot(
+ '""',
+ )
+
+ document.body.removeAttribute('data-themes')
+ })
+
+ test('Rendered color gets updated on system tag change', async () => {
+ const file = new File({
+ id: 1,
+ source: 'http://localhost/remote.php/dav/files/admin/foobar.txt',
+ owner: 'admin',
+ mime: 'text/plain',
+ permissions: Permission.ALL,
+ attributes: {
+ 'system-tags': {
+ 'system-tag': 'Confidential',
+ },
+ },
+ })
+
+ const result = await action.renderInline!(file, view) as HTMLElement
+ document.body.appendChild(result)
+ expect(result).toBeInstanceOf(HTMLElement)
+ expect(document.body.innerHTML).toMatchInlineSnapshot(
+ '""',
+ )
+
+ // Subscribe to the event
+ const eventPromise = new Promise((resolve) => {
+ subscribe('systemtags:tag:updated', () => {
+ setTimeout(resolve, 100)
+ })
+ })
+
+ // Change tag color
+ tag.color = '456789'
+ emit('systemtags:tag:updated', tag)
+
+ // Wait for the event to be processed
+ await eventPromise
+
+ expect(document.body.innerHTML).toMatchInlineSnapshot(
+ '""',
)
})
})
diff --git a/apps/systemtags/src/files_actions/inlineSystemTagsAction.ts b/apps/systemtags/src/files_actions/inlineSystemTagsAction.ts
index afd54a4f7dee0..cc6cb55c63273 100644
--- a/apps/systemtags/src/files_actions/inlineSystemTagsAction.ts
+++ b/apps/systemtags/src/files_actions/inlineSystemTagsAction.ts
@@ -3,18 +3,38 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import type { Node } from '@nextcloud/files'
+import type { TagWithId } from '../types'
import { FileAction } from '@nextcloud/files'
import { subscribe } from '@nextcloud/event-bus'
import { t } from '@nextcloud/l10n'
import '../css/fileEntryInlineSystemTags.scss'
+import { elementColor, isDarkModeEnabled } from '../utils/colorUtils'
+import { fetchTags } from '../services/api'
import { getNodeSystemTags } from '../utils'
+import logger from '../services/logger'
+
+// Init tag cache
+const cache: TagWithId[] = []
const renderTag = function(tag: string, isMore = false): HTMLElement {
const tagElement = document.createElement('li')
tagElement.classList.add('files-list__system-tag')
+ tagElement.setAttribute('data-systemtag-name', tag)
tagElement.textContent = tag
+ // Set the color if it exists
+ const cachedTag = cache.find((t) => t.displayName === tag)
+ if (cachedTag?.color) {
+ // Make sure contrast is good and follow WCAG guidelines
+ const mainBackgroundColor = getComputedStyle(document.body)
+ .getPropertyValue('--color-main-background')
+ .replace('#', '') || (isDarkModeEnabled() ? '000000' : 'ffffff')
+ const primaryElement = elementColor(`#${cachedTag.color}`, `#${mainBackgroundColor}`)
+ tagElement.style.setProperty('--systemtag-color', primaryElement)
+ tagElement.setAttribute('data-systemtag-color', 'true')
+ }
+
if (isMore) {
tagElement.classList.add('files-list__system-tag--more')
}
@@ -35,6 +55,17 @@ const renderInline = async function(node: Node): Promise {
return systemTagsElement
}
+ // Fetch the tags if the cache is empty
+ if (cache.length === 0) {
+ try {
+ // Best would be to support attributes from webdav,
+ // but currently the library does not support it
+ cache.push(...await fetchTags())
+ } catch (error) {
+ logger.error('Failed to fetch tags', { error })
+ }
+ }
+
systemTagsElement.append(renderTag(tags[0]))
if (tags.length === 2) {
// Special case only two tags:
@@ -84,6 +115,7 @@ export const action = new FileAction({
order: 0,
})
+// Update the system tags html when the node is updated
const updateSystemTagsHtml = function(node: Node) {
renderInline(node).then((systemTagsHtml) => {
document.querySelectorAll(`[data-systemtags-fileid="${node.fileid}"]`).forEach((element) => {
@@ -92,4 +124,29 @@ const updateSystemTagsHtml = function(node: Node) {
})
}
+// Add and remove tags from the cache
+const addTag = function(tag: TagWithId) {
+ cache.push(tag)
+}
+const removeTag = function(tag: TagWithId) {
+ cache.splice(cache.findIndex((t) => t.id === tag.id), 1)
+}
+const updateTag = function(tag: TagWithId) {
+ const index = cache.findIndex((t) => t.id === tag.id)
+ if (index !== -1) {
+ cache[index] = tag
+ }
+ updateSystemTagsColorAttribute(tag)
+}
+// Update the color attribute of the system tags
+const updateSystemTagsColorAttribute = function(tag: TagWithId) {
+ document.querySelectorAll(`[data-systemtag-name="${tag.displayName}"]`).forEach((element) => {
+ (element as HTMLElement).style.setProperty('--systemtag-color', `#${tag.color}`)
+ })
+}
+
+// Subscribe to the events
subscribe('systemtags:node:updated', updateSystemTagsHtml)
+subscribe('systemtags:tag:created', addTag)
+subscribe('systemtags:tag:deleted', removeTag)
+subscribe('systemtags:tag:updated', updateTag)
diff --git a/apps/systemtags/src/services/api.ts b/apps/systemtags/src/services/api.ts
index 3262ccd3a878f..c0b39fde6bd20 100644
--- a/apps/systemtags/src/services/api.ts
+++ b/apps/systemtags/src/services/api.ts
@@ -13,9 +13,10 @@ import { t } from '@nextcloud/l10n'
import { davClient } from './davClient.js'
import { formatTag, parseIdFromLocation, parseTags } from '../utils'
import { logger } from '../logger.js'
+import { emit } from '@nextcloud/event-bus'
export const fetchTagsPayload = `
-
+
@@ -23,6 +24,7 @@ export const fetchTagsPayload = `
+
`
@@ -81,6 +83,7 @@ export const createTag = async (tag: Tag | ServerTag): Promise => {
})
const contentLocation = headers.get('content-location')
if (contentLocation) {
+ emit('systemtags:tag:created', tag)
return parseIdFromLocation(contentLocation)
}
logger.error(t('systemtags', 'Missing "Content-Location" header'))
@@ -98,12 +101,13 @@ export const createTag = async (tag: Tag | ServerTag): Promise => {
export const updateTag = async (tag: TagWithId): Promise => {
const path = '/systemtags/' + tag.id
const data = `
-
+
${tag.displayName}
${tag.userVisible}
${tag.userAssignable}
+ ${tag?.color || null}
`
@@ -113,6 +117,7 @@ export const updateTag = async (tag: TagWithId): Promise => {
method: 'PROPPATCH',
data,
})
+ emit('systemtags:tag:updated', tag)
} catch (error) {
logger.error(t('systemtags', 'Failed to update tag'), { error })
throw new Error(t('systemtags', 'Failed to update tag'))
@@ -123,6 +128,7 @@ export const deleteTag = async (tag: TagWithId): Promise => {
const path = '/systemtags/' + tag.id
try {
await davClient.deleteFile(path)
+ emit('systemtags:tag:deleted', tag)
} catch (error) {
logger.error(t('systemtags', 'Failed to delete tag'), { error })
throw new Error(t('systemtags', 'Failed to delete tag'))
diff --git a/apps/systemtags/src/types.ts b/apps/systemtags/src/types.ts
index 161e4d742475a..6e4f03227e05c 100644
--- a/apps/systemtags/src/types.ts
+++ b/apps/systemtags/src/types.ts
@@ -8,6 +8,8 @@ export interface BaseTag {
userVisible: boolean
userAssignable: boolean
readonly canAssign: boolean // Computed server-side
+ etag?: string
+ color?: string
}
export type Tag = BaseTag & {
diff --git a/apps/systemtags/src/utils/colorUtils.ts b/apps/systemtags/src/utils/colorUtils.ts
new file mode 100644
index 0000000000000..0c80510be6e1b
--- /dev/null
+++ b/apps/systemtags/src/utils/colorUtils.ts
@@ -0,0 +1,193 @@
+/**
+ * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+import Color from 'color'
+
+type hexColor = `#${string & (
+ `${string}${string}${string}` |
+ `${string}${string}${string}${string}${string}${string}`
+)}`;
+
+/**
+ * Is the current theme dark?
+ */
+export function isDarkModeEnabled() {
+ const darkModePreference = window?.matchMedia?.('(prefers-color-scheme: dark)')?.matches
+ const darkModeSetting = document.body.getAttribute('data-themes')?.includes('dark')
+ return darkModeSetting || darkModePreference || false
+}
+
+/**
+ * Is the current theme high contrast?
+ */
+export function isHighContrastModeEnabled() {
+ const highContrastPreference = window?.matchMedia?.('(forced-colors: active)')?.matches
+ const highContrastSetting = document.body.getAttribute('data-themes')?.includes('highcontrast')
+ return highContrastSetting || highContrastPreference || false
+}
+
+/**
+ * Should we invert the text on this background color?
+ * @param color RGB color value as a hex string
+ * @return boolean
+ */
+export function invertTextColor(color: hexColor): boolean {
+ return colorContrast(color, '#ffffff') < 4.5
+}
+
+/**
+ * Is this color too bright?
+ * @param color RGB color value as a hex string
+ * @return boolean
+ */
+export function isBrightColor(color: hexColor): boolean {
+ return calculateLuma(color) > 0.6
+}
+
+/**
+ * Get color for on-page elements
+ * theme color by default, grey if theme color is too bright.
+ * @param color the color to contrast against, e.g. #ffffff
+ * @param backgroundColor the background color to contrast against, e.g. #000000
+ */
+export function elementColor(
+ color: hexColor,
+ backgroundColor: hexColor,
+): hexColor {
+ const brightBackground = isBrightColor(backgroundColor)
+ const blurredBackground = mix(
+ backgroundColor,
+ brightBackground ? color : '#ffffff',
+ 66,
+ )
+
+ let contrast = colorContrast(color, blurredBackground)
+ const minContrast = isHighContrastModeEnabled() ? 5.6 : 3.2
+
+ let iteration = 0
+ let result = color
+ const epsilon = (brightBackground ? -100 : 100) / 255
+ while (contrast < minContrast && iteration++ < 100) {
+ const hsl = hexToHSL(result)
+ const l = Math.max(
+ 0,
+ Math.min(255, hsl.l + epsilon),
+ )
+ result = hslToHex({ h: hsl.h, s: hsl.s, l })
+ contrast = colorContrast(result, blurredBackground)
+ }
+
+ return result
+}
+
+/**
+ * Get color for on-page text:
+ * black if background is bright, white if background is dark.
+ * @param color1 the color to contrast against, e.g. #ffffff
+ * @param color2 the background color to contrast against, e.g. #000000
+ * @param factor the factor to mix the colors between -100 and 100, e.g. 66
+ */
+export function mix(color1: hexColor, color2: hexColor, factor: number): hexColor {
+ if (factor < -100 || factor > 100) {
+ throw new RangeError('Factor must be between -100 and 100')
+ }
+ return new Color(color2).mix(new Color(color1), (factor + 100) / 200).hex()
+}
+
+/**
+ * Lighten a color by a factor
+ * @param color the color to lighten, e.g. #000000
+ * @param factor the factor to lighten the color by between -100 and 100, e.g. -41
+ */
+export function lighten(color: hexColor, factor: number): hexColor {
+ if (factor < -100 || factor > 100) {
+ throw new RangeError('Factor must be between -100 and 100')
+ }
+ return new Color(color).lighten((factor + 100) / 200).hex()
+}
+
+/**
+ * Darken a color by a factor
+ * @param color the color to darken, e.g. #ffffff
+ * @param factor the factor to darken the color by between -100 and 100, e.g. 32
+ */
+export function darken(color: hexColor, factor: number): hexColor {
+ if (factor < -100 || factor > 100) {
+ throw new RangeError('Factor must be between -100 and 100')
+ }
+ return new Color(color).darken((factor + 100) / 200).hex()
+}
+
+/**
+ * Calculate the luminance of a color
+ * @param color the color to calculate the luminance of, e.g. #ffffff
+ */
+export function calculateLuminance(color: hexColor): number {
+ return hexToHSL(color).l
+}
+
+/**
+ * Calculate the luma of a color
+ * @param color the color to calculate the luma of, e.g. #ffffff
+ */
+export function calculateLuma(color: hexColor): number {
+ const rgb = hexToRGB(color).map((value) => {
+ value /= 255
+ return value <= 0.03928
+ ? value / 12.92
+ : Math.pow((value + 0.055) / 1.055, 2.4)
+ })
+ const [red, green, blue] = rgb
+ return 0.2126 * red + 0.7152 * green + 0.0722 * blue
+}
+
+/**
+ * Calculate the contrast between two colors
+ * @param color1 the first color to calculate the contrast of, e.g. #ffffff
+ * @param color2 the second color to calculate the contrast of, e.g. #000000
+ */
+export function colorContrast(color1: hexColor, color2: hexColor): number {
+ const luminance1 = calculateLuma(color1) + 0.05
+ const luminance2 = calculateLuma(color2) + 0.05
+ return Math.max(luminance1, luminance2) / Math.min(luminance1, luminance2)
+}
+
+/**
+ * Convert hex color to RGB
+ * @param color RGB color value as a hex string
+ */
+export function hexToRGB(color: hexColor): [number, number, number] {
+ return new Color(color).rgb().array()
+}
+
+/**
+ * Convert RGB color to hex
+ * @param color RGB color value as a hex string
+ */
+export function hexToHSL(color: hexColor): { h: number; s: number; l: number } {
+ const hsl = new Color(color).hsl()
+ return { h: hsl.color[0], s: hsl.color[1], l: hsl.color[2] }
+}
+
+/**
+ * Convert HSL color to hex
+ * @param hsl HSL color value as an object
+ * @param hsl.h hue
+ * @param hsl.s saturation
+ * @param hsl.l lightness
+ */
+export function hslToHex(hsl: { h: number; s: number; l: number }): hexColor {
+ return new Color(hsl).hex()
+}
+
+/**
+ * Convert RGB color to hex
+ * @param r red
+ * @param g green
+ * @param b blue
+ */
+export function rgbToHex(r: number, g: number, b: number): hexColor {
+ const hex = ((1 << 24) | (r << 16) | (g << 8) | b).toString(16).slice(1)
+ return `#${hex}`
+}
diff --git a/core/Command/SystemTag/Edit.php b/core/Command/SystemTag/Edit.php
index eb6412b763991..614f2798ce4c2 100644
--- a/core/Command/SystemTag/Edit.php
+++ b/core/Command/SystemTag/Edit.php
@@ -40,6 +40,12 @@ protected function configure() {
null,
InputOption::VALUE_OPTIONAL,
'sets the access control level (public, restricted, invisible)',
+ )
+ ->addOption(
+ 'color',
+ null,
+ InputOption::VALUE_OPTIONAL,
+ 'set the tag color',
);
}
@@ -80,9 +86,24 @@ protected function execute(InputInterface $input, OutputInterface $output): int
}
}
+ $color = $tag->getColor();
+ if ($input->hasOption('color')) {
+ $color = $input->getOption('color');
+ if (substr($color, 0, 1) === '#') {
+ $color = substr($color, 1);
+ }
+
+ if ($input->getOption('color') === '') {
+ $color = null;
+ } elseif (strlen($color) !== 6 || !ctype_xdigit($color)) {
+ $output->writeln('Color must be a 6-digit hexadecimal value');
+ return 2;
+ }
+ }
+
try {
- $this->systemTagManager->updateTag($input->getArgument('id'), $name, $userVisible, $userAssignable);
- $output->writeln('Tag updated ("' . $name . '", ' . $userVisible . ', ' . $userAssignable . ')');
+ $this->systemTagManager->updateTag($input->getArgument('id'), $name, $userVisible, $userAssignable, $color);
+ $output->writeln('Tag updated ("' . $name . '", ' . json_encode($userVisible) . ', ' . json_encode($userAssignable) . ', "' . ($color ? "#$color" : '') . '")');
return 0;
} catch (TagNotFoundException $e) {
$output->writeln('Tag not found');
diff --git a/dist/226-226.js b/dist/226-226.js
new file mode 100644
index 0000000000000..4d680b6fdc8fa
--- /dev/null
+++ b/dist/226-226.js
@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunknextcloud=self.webpackChunknextcloud||[]).push([[226],{74215:(t,e,s)=>{s.d(e,{A:()=>l});var a=s(71354),i=s.n(a),o=s(76314),n=s.n(o)()(i());n.push([t.id,".systemtags-picker__input[data-v-0912ca46],.systemtags-picker__note[data-v-0912ca46]{position:sticky;z-index:9;background-color:var(--color-main-background)}.systemtags-picker__input[data-v-0912ca46]{display:flex;top:0;gap:8px;padding-block-end:8px;align-items:flex-end}.systemtags-picker__tags[data-v-0912ca46]{padding-block:8px;gap:var(--default-grid-baseline);display:flex;flex-direction:column}.systemtags-picker__tags li[data-v-0912ca46]{display:flex;align-items:center;justify-content:space-between;width:100%}.systemtags-picker__tags li[data-v-0912ca46] .checkbox-radio-switch{width:100%}.systemtags-picker__tags li[data-v-0912ca46] .checkbox-radio-switch .checkbox-content{max-width:none;box-sizing:border-box;min-height:calc(var(--default-grid-baseline)*2 + var(--default-clickable-area))}.systemtags-picker__tags .systemtags-picker__tag-color button[data-v-0912ca46]{margin-inline-start:calc(var(--default-grid-baseline)*2)}.systemtags-picker__tags .systemtags-picker__tag-color button span.pencil-icon[data-v-0912ca46]{display:none;color:var(--color-main-text)}.systemtags-picker__tags .systemtags-picker__tag-color button:focus .pencil-icon[data-v-0912ca46],.systemtags-picker__tags .systemtags-picker__tag-color button:hover .pencil-icon[data-v-0912ca46],.systemtags-picker__tags .systemtags-picker__tag-color button[aria-expanded=true] .pencil-icon[data-v-0912ca46]{display:block}.systemtags-picker__tags .systemtags-picker__tag-color button:focus .circle-icon[data-v-0912ca46],.systemtags-picker__tags .systemtags-picker__tag-color button:focus .circle-outline-icon[data-v-0912ca46],.systemtags-picker__tags .systemtags-picker__tag-color button:hover .circle-icon[data-v-0912ca46],.systemtags-picker__tags .systemtags-picker__tag-color button:hover .circle-outline-icon[data-v-0912ca46],.systemtags-picker__tags .systemtags-picker__tag-color button[aria-expanded=true] .circle-icon[data-v-0912ca46],.systemtags-picker__tags .systemtags-picker__tag-color button[aria-expanded=true] .circle-outline-icon[data-v-0912ca46]{display:none}.systemtags-picker__tags .systemtags-picker__tag-create[data-v-0912ca46] span{text-align:start}.systemtags-picker__tags .systemtags-picker__tag-create-subline[data-v-0912ca46]{font-weight:normal}.systemtags-picker__note[data-v-0912ca46]{bottom:0;padding-block:8px}.systemtags-picker__note[data-v-0912ca46] .notecard{min-height:2lh;align-items:center}.systemtags-picker__note>div[data-v-0912ca46]{margin:0 !important}.systemtags-picker--done[data-v-0912ca46] .empty-content__icon{opacity:1}.nc-chip[data-v-0912ca46]{display:inline !important}","",{version:3,sources:["webpack://./apps/systemtags/src/components/SystemTagPicker.vue"],names:[],mappings:"AAEA,qFAEC,eAAA,CACA,SAAA,CACA,6CAAA,CAGD,2CACC,YAAA,CACA,KAAA,CACA,OAAA,CACA,qBAAA,CACA,oBAAA,CAGD,0CACC,iBAAA,CACA,gCAAA,CACA,YAAA,CACA,qBAAA,CAEA,6CACC,YAAA,CACA,kBAAA,CACA,6BAAA,CACA,UAAA,CAGA,oEACC,UAAA,CAEA,sFAEC,cAAA,CAEA,qBAAA,CACA,+EAAA,CAKH,+EACC,wDAAA,CAEA,gGACC,YAAA,CACA,4BAAA,CAMA,oTACC,aAAA,CAED,goBAEC,YAAA,CAMF,8EACC,gBAAA,CAED,iFACC,kBAAA,CAKH,0CACC,QAAA,CACA,iBAAA,CAEA,oDAEC,cAAA,CACA,kBAAA,CAGD,8CACC,mBAAA,CAIF,+DACC,SAAA,CAID,0BACC,yBAAA",sourceRoot:""}]);const l=n},90226:(t,e,s)=>{s.r(e),s.d(e,{default:()=>tt});var a=s(85471),i=s(61338),o=s(53334),n=s(42838),l=s(85168),c=s(17334),r=s.n(c),g=s(70580),d=s.n(g),p=s(70995),A=s(32073),u=s(89918),m=s(56798),h=s(94219),y=s(28326),C=s(59892),_=s(40083),f=s(82182);const v={name:"CheckCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var k=s(14486);const b=(0,k.A)(v,(function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon check-circle-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"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 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])}),[],!1,null,null,null).exports,N={name:"CircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},w=(0,k.A)(N,(function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon circle-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"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,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()])])])}),[],!1,null,null,null).exports,x={name:"CircleOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},S=(0,k.A)(x,(function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon circle-outline-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"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()])])])}),[],!1,null,null,null).exports;var T=s(2413),E=s(96078);const I={name:"TagIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},L=(0,k.A)(I,(function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon tag-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"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:"M5.5,7A1.5,1.5 0 0,1 4,5.5A1.5,1.5 0 0,1 5.5,4A1.5,1.5 0 0,1 7,5.5A1.5,1.5 0 0,1 5.5,7M21.41,11.58L12.41,2.58C12.05,2.22 11.55,2 11,2H4C2.89,2 2,2.89 2,4V11C2,11.55 2.22,12.05 2.59,12.41L11.58,21.41C11.95,21.77 12.45,22 13,22C13.55,22 14.05,21.77 14.41,21.41L21.41,14.41C21.78,14.05 22,13.55 22,13C22,12.44 21.77,11.94 21.41,11.58Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])}),[],!1,null,null,null).exports;var B=s(82528),R=s(12686),$=s(51113),P=s(57242);const z=r()(B.Gw,500),D=getComputedStyle(document.body).getPropertyValue("--color-main-background").replace("#","")||((0,$.j2)()?"000000":"ffffff");var G;!function(t){t.BASE="base",t.LOADING="loading",t.CREATING_TAG="creating-tag",t.DONE="done"}(G||(G={}));const M=(0,a.pM)({name:"SystemTagPicker",components:{CheckIcon:b,CircleIcon:w,CircleOutlineIcon:S,NcButton:p.A,NcCheckboxRadioSwitch:A.A,NcChip:u.A,NcColorPicker:m.A,NcDialog:h.A,NcEmptyContent:y.A,NcLoadingIcon:C.A,NcNoteCard:_.A,NcTextField:f.A,PencilIcon:T.A,PlusIcon:E.A,TagIcon:L},props:{nodes:{type:Array,required:!0}},setup:()=>({emit:i.Ic,Status:G,t:o.t}),data:()=>({status:G.BASE,opened:!0,openedPicker:!1,input:"",tags:[],tagList:{},toAdd:[],toRemove:[]}),computed:{sortedTags(){return[...this.tags].sort(((t,e)=>t.displayName.localeCompare(e.displayName,(0,o.Z0)(),{ignorePunctuation:!0})))},filteredTags(){return""===this.input.trim()?this.sortedTags:this.sortedTags.filter((t=>t.displayName.normalize().includes(this.input.normalize())))},hasChanges(){return this.toAdd.length>0||this.toRemove.length>0},canCreateTag(){return""!==this.input.trim()&&!this.tags.some((t=>t.displayName.trim().toLocaleLowerCase()===this.input.trim().toLocaleLowerCase()))},statusMessage(){if(0===this.toAdd.length&&0===this.toRemove.length)return"";if(1===this.toAdd.length&&1===this.toRemove.length)return(0,o.n)("systemtags","{tag1} will be set and {tag2} will be removed from 1 file.","{tag1} will be set and {tag2} will be removed from {count} files.",this.nodes.length,{tag1:this.formatTagChip(this.toAdd[0]),tag2:this.formatTagChip(this.toRemove[0]),count:this.nodes.length},{escape:!1});const t=this.toAdd.map(this.formatTagChip),e=t.pop(),s=this.toRemove.map(this.formatTagChip),a=s.pop(),i=(0,o.n)("systemtags","{tag} will be set to 1 file.","{tag} will be set to {count} files.",this.nodes.length,{tag:e,count:this.nodes.length},{escape:!1}),n=(0,o.n)("systemtags","{tag} will be removed from 1 file.","{tag} will be removed from {count} files.",this.nodes.length,{tag:a,count:this.nodes.length},{escape:!1}),l=(0,o.n)("systemtags","{tags} and {lastTag} will be set to 1 file.","{tags} and {lastTag} will be set to {count} files.",this.nodes.length,{tags:t.join(", "),lastTag:e,count:this.nodes.length},{escape:!1}),c=(0,o.n)("systemtags","{tags} and {lastTag} will be removed from 1 file.","{tags} and {lastTag} will be removed from {count} files.",this.nodes.length,{tags:s.join(", "),lastTag:a,count:this.nodes.length},{escape:!1});return 1===this.toAdd.length&&0===this.toRemove.length?i:0===this.toAdd.length&&1===this.toRemove.length?n:this.toAdd.length>1&&0===this.toRemove.length?l:0===this.toAdd.length&&this.toRemove.length>1?c:this.toAdd.length>1&&1===this.toRemove.length?`${l} ${n}`:1===this.toAdd.length&&this.toRemove.length>1?`${i} ${c}`:`${l} ${c}`}},beforeMount(){(0,B.un)().then((t=>{this.tags=t})),this.tagList=this.nodes.reduce(((t,e)=>(((0,R.rA)(e)||[]).forEach((e=>{t[e]=(t[e]||0)+1})),t)),{})},methods:{formatTagChip(t){const e=this.$refs.chip.$el.cloneNode(!0);if(t.color){const s=this.tagListStyle(t);Object.entries(s).forEach((t=>{let[s,a]=t;e.style.setProperty(s,a)}))}return e.outerHTML.replace("%s",d()((0,n.sanitize)(t.displayName)))},formatTagName:t=>t.userVisible?t.userAssignable?t.displayName:(0,o.t)("systemtags","{displayName} (restricted)",{displayName:t.displayName}):(0,o.t)("systemtags","{displayName} (hidden)",{displayName:t.displayName}),onColorChange(t,e){t.color=e.replace("#",""),z(t)},isChecked(t){return t.displayName in this.tagList&&this.tagList[t.displayName]===this.nodes.length},isIndeterminate(t){return t.displayName in this.tagList&&0!==this.tagList[t.displayName]&&this.tagList[t.displayName]!==this.nodes.length},onCheckUpdate(t,e){e?(this.toAdd.push(t),this.toRemove=this.toRemove.filter((e=>e.id!==t.id)),this.tagList[t.displayName]=this.nodes.length):(this.toRemove.push(t),this.toAdd=this.toAdd.filter((e=>e.id!==t.id)),this.tagList[t.displayName]=0)},async onNewTag(){this.status=G.CREATING_TAG;try{const t={displayName:this.input.trim(),userAssignable:!0,userVisible:!0,canAssign:!0},e=await(0,B.VZ)(t),s=await(0,B.xI)(e);this.tags.push(s),this.input="",this.onCheckUpdate(s,!0),await this.$nextTick();const a=this.$el.querySelector(`input[type="checkbox"][label="${s.displayName}"]`);a?.scrollIntoView({behavior:"instant",block:"center",inline:"center"})}catch(t){(0,l.Qg)(t?.message||(0,o.t)("systemtags","Failed to create tag"))}finally{this.status=G.BASE}},async onSubmit(){this.status=G.LOADING,P.A.debug("Applying tags",{toAdd:this.toAdd,toRemove:this.toRemove});try{for(const t of this.toAdd){const{etag:e,objects:s}=await(0,B.b0)(t,"files"),a=[...new Set([...s.map((t=>t.id)).filter(Boolean),...this.nodes.map((t=>t.fileid)).filter(Boolean)])];await(0,B.T0)(t,"files",a.map((t=>({id:t,type:"files"}))),e)}for(const t of this.toRemove){const{etag:e,objects:s}=await(0,B.b0)(t,"files"),a=new Set(this.nodes.map((t=>t.fileid))),i=s.map((t=>t.id)).filter(((t,e,s)=>!a.has(t)&&s.indexOf(t)===e));await(0,B.T0)(t,"files",i.map((t=>({id:t,type:"files"}))),e)}}catch(t){return P.A.error("Failed to apply tags",{error:t}),(0,l.Qg)((0,o.t)("systemtags","Failed to apply tags changes")),void(this.status=G.BASE)}const t=[];this.toAdd.forEach((e=>{this.nodes.forEach((s=>{const a=[...(0,R.rA)(s)||[],e.displayName].sort(((t,e)=>t.localeCompare(e,(0,o.Z0)(),{ignorePunctuation:!0})));(0,R.Pq)(s,a),t.push(s)}))})),this.toRemove.forEach((e=>{this.nodes.forEach((s=>{const a=[...(0,R.rA)(s)||[]].filter((t=>t!==e.displayName)).sort(((t,e)=>t.localeCompare(e,(0,o.Z0)(),{ignorePunctuation:!0})));(0,R.Pq)(s,a),t.push(s)}))})),t.forEach((t=>(0,i.Ic)("systemtags:node:updated",t))),this.status=G.DONE,setTimeout((()=>{this.opened=!1,this.$emit("close",!0)}),2e3)},onCancel(){this.opened=!1,(0,l.cf)((0,o.t)("systemtags","File tags modification canceled")),this.$emit("close",null)},tagListStyle(t){if(!t.color)return{"--color-circle-icon":"var(--color-text-maxcontrast)"};const e=(0,$.W7)(`#${t.color}`,`#${D}`),s=(0,$.Pj)(e)?"#000000":"#ffffff";return{"--color-circle-icon":"var(--color-primary-element)","--color-primary":e,"--color-primary-text":s,"--color-primary-element":e,"--color-primary-element-text":s}}}});var O=s(85072),F=s.n(O),j=s(97825),q=s.n(j),Z=s(77659),V=s.n(Z),H=s(55056),U=s.n(H),Y=s(10540),K=s.n(Y),Q=s(41113),W=s.n(Q),J=s(74215),X={};X.styleTagTransform=W(),X.setAttributes=U(),X.insert=V().bind(null,"head"),X.domAPI=q(),X.insertStyleElement=K(),F()(J.A,X),J.A&&J.A.locals&&J.A.locals;const tt=(0,k.A)(M,(function(){var t=this,e=t._self._c;return t._self._setupProxy,e("NcDialog",{staticClass:"systemtags-picker",class:"systemtags-picker--"+t.status,attrs:{"data-cy-systemtags-picker":"","can-close":t.status!==t.Status.LOADING,name:t.t("systemtags","Manage tags"),open:t.opened,"close-on-click-outside":"","out-transition":""},on:{"update:open":t.onCancel},scopedSlots:t._u([{key:"actions",fn:function(){return[e("NcButton",{attrs:{disabled:t.status!==t.Status.BASE,type:"tertiary","data-cy-systemtags-picker-button-cancel":""},on:{click:t.onCancel}},[t._v("\n\t\t\t"+t._s(t.t("systemtags","Cancel"))+"\n\t\t")]),t._v(" "),e("NcButton",{attrs:{disabled:!t.hasChanges||t.status!==t.Status.BASE,"data-cy-systemtags-picker-button-submit":""},on:{click:t.onSubmit}},[t._v("\n\t\t\t"+t._s(t.t("systemtags","Apply changes"))+"\n\t\t")])]},proxy:!0}])},[t.status===t.Status.LOADING||t.status===t.Status.DONE?e("NcEmptyContent",{attrs:{name:t.t("systemtags","Applying tags changes…")},scopedSlots:t._u([{key:"icon",fn:function(){return[t.status===t.Status.LOADING?e("NcLoadingIcon"):e("CheckIcon",{attrs:{"fill-color":"var(--color-success)"}})]},proxy:!0}],null,!1,1067531430)}):[e("div",{staticClass:"systemtags-picker__input"},[e("NcTextField",{attrs:{value:t.input,label:t.t("systemtags","Search or create tag"),"data-cy-systemtags-picker-input":""},on:{"update:value":function(e){t.input=e}}},[e("TagIcon",{attrs:{size:20}})],1)],1),t._v(" "),e("ul",{staticClass:"systemtags-picker__tags",attrs:{"data-cy-systemtags-picker-tags":""}},[t._l(t.filteredTags,(function(s){return e("li",{key:s.id,staticClass:"systemtags-picker__tag",style:t.tagListStyle(s),attrs:{"data-cy-systemtags-picker-tag":s.id}},[e("NcCheckboxRadioSwitch",{staticClass:"systemtags-picker__tag-checkbox",attrs:{checked:t.isChecked(s),disabled:!s.canAssign,indeterminate:t.isIndeterminate(s),label:s.displayName},on:{"update:checked":function(e){return t.onCheckUpdate(s,e)}}},[t._v("\n\t\t\t\t\t"+t._s(t.formatTagName(s))+"\n\t\t\t\t")]),t._v(" "),e("NcColorPicker",{staticClass:"systemtags-picker__tag-color",attrs:{"data-cy-systemtags-picker-tag-color":s.id,value:`#${s.color}`,shown:t.openedPicker},on:{"update:shown":function(e){t.openedPicker=e},"update:value":function(e){return t.onColorChange(s,e)},submit:function(e){t.openedPicker=!1}}},[e("NcButton",{attrs:{"aria-label":t.t("systemtags","Change tag color"),type:"tertiary"},scopedSlots:t._u([{key:"icon",fn:function(){return[s.color?e("CircleIcon",{attrs:{size:24,"fill-color":"var(--color-circle-icon)"}}):e("CircleOutlineIcon",{attrs:{size:24,"fill-color":"var(--color-circle-icon)"}}),t._v(" "),e("PencilIcon")]},proxy:!0}],null,!0)})],1)],1)})),t._v(" "),e("li",[t.canCreateTag?e("NcButton",{staticClass:"systemtags-picker__tag-create",attrs:{disabled:t.status===t.Status.CREATING_TAG,alignment:"start","native-type":"submit",type:"tertiary","data-cy-systemtags-picker-button-create":""},on:{click:t.onNewTag},scopedSlots:t._u([{key:"icon",fn:function(){return[e("PlusIcon")]},proxy:!0}],null,!1,1789392498)},[t._v("\n\t\t\t\t\t"+t._s(t.input.trim())),e("br"),t._v(" "),e("span",{staticClass:"systemtags-picker__tag-create-subline"},[t._v(t._s(t.t("systemtags","Create new tag")))])]):t._e()],1)],2),t._v(" "),e("div",{staticClass:"systemtags-picker__note"},[t.hasChanges?e("NcNoteCard",{attrs:{type:"info"}},[e("span",{domProps:{innerHTML:t._s(t.statusMessage)}})]):e("NcNoteCard",{attrs:{type:"info"}},[t._v("\n\t\t\t\t"+t._s(t.t("systemtags","Select or create tags to apply to all selected files"))+"\n\t\t\t")])],1)],t._v(" "),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}]},[e("NcChip",{ref:"chip",attrs:{text:"%s",type:"primary","no-close":""}})],1)],2)}),[],!1,null,"0912ca46",null).exports}}]);
+//# sourceMappingURL=226-226.js.map?v=69bd00906849be73b69b
\ No newline at end of file
diff --git a/dist/8114-8114.js.license b/dist/226-226.js.license
similarity index 91%
rename from dist/8114-8114.js.license
rename to dist/226-226.js.license
index 9ed3f77366389..fdcb6c0460603 100644
--- a/dist/8114-8114.js.license
+++ b/dist/226-226.js.license
@@ -4,6 +4,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: BSD-3-Clause
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: (MPL-2.0 OR Apache-2.0)
+SPDX-FileCopyrightText: xiaokai
SPDX-FileCopyrightText: string_decoder developers
SPDX-FileCopyrightText: readable-stream developers
SPDX-FileCopyrightText: qs developers
@@ -11,6 +12,8 @@ SPDX-FileCopyrightText: jden
SPDX-FileCopyrightText: inherits developers
SPDX-FileCopyrightText: escape-html developers
SPDX-FileCopyrightText: defunctzombie
+SPDX-FileCopyrightText: debounce developers
+SPDX-FileCopyrightText: color developers
SPDX-FileCopyrightText: Varun A P
SPDX-FileCopyrightText: Tobias Koppers @sokra
SPDX-FileCopyrightText: T. Jameson Little
@@ -18,6 +21,7 @@ SPDX-FileCopyrightText: Sindre Sorhus
SPDX-FileCopyrightText: Roman Shtylman
SPDX-FileCopyrightText: Rob Cresswell
SPDX-FileCopyrightText: Raynos
+SPDX-FileCopyrightText: Qix (http://github.com/qix-)
SPDX-FileCopyrightText: Perry Mitchell
SPDX-FileCopyrightText: Paul Vorbach (http://paul.vorba.ch)
SPDX-FileCopyrightText: Paul Vorbach (http://vorb.de)
@@ -37,6 +41,7 @@ SPDX-FileCopyrightText: John Hiesey
SPDX-FileCopyrightText: James Halliday
SPDX-FileCopyrightText: Isaac Z. Schlueter (http://blog.izs.me)
SPDX-FileCopyrightText: Irakli Gozalishvili (http://jeditoolkit.com)
+SPDX-FileCopyrightText: Heather Arthur
SPDX-FileCopyrightText: Guillaume Chau
SPDX-FileCopyrightText: GitHub Inc.
SPDX-FileCopyrightText: Feross Aboukhadijeh
@@ -44,6 +49,7 @@ SPDX-FileCopyrightText: Evan You
SPDX-FileCopyrightText: Dylan Piercey
SPDX-FileCopyrightText: Dr.-Ing. Mario Heiderich, Cure53 (https://cure53.de/)
SPDX-FileCopyrightText: David Clark
+SPDX-FileCopyrightText: DY
SPDX-FileCopyrightText: Christoph Wurst
SPDX-FileCopyrightText: Ben Drucker
SPDX-FileCopyrightText: Arnout Kazemier
@@ -127,12 +133,27 @@ This file is generated from multiple sources. Included packages:
- charenc
- version: 0.0.2
- license: BSD-3-Clause
+- color-convert
+ - version: 2.0.1
+ - license: MIT
+- color-name
+ - version: 1.1.4
+ - license: MIT
+- color-string
+ - version: 1.9.1
+ - license: MIT
+- color
+ - version: 4.2.3
+ - license: MIT
- crypt
- version: 0.0.2
- license: BSD-3-Clause
- css-loader
- version: 7.1.2
- license: MIT
+- debounce
+ - version: 2.2.0
+ - license: MIT
- define-data-property
- version: 1.1.4
- license: MIT
@@ -277,6 +298,12 @@ This file is generated from multiple sources. Included packages:
- side-channel
- version: 1.0.6
- license: MIT
+- is-arrayish
+ - version: 0.3.2
+ - license: MIT
+- simple-swizzle
+ - version: 0.2.2
+ - license: MIT
- readable-stream
- version: 3.6.2
- license: MIT
@@ -319,6 +346,9 @@ This file is generated from multiple sources. Included packages:
- util
- version: 0.12.5
- license: MIT
+- vue-color
+ - version: 2.8.1
+ - license: MIT
- vue-loader
- version: 15.11.1
- license: MIT
diff --git a/dist/226-226.js.map b/dist/226-226.js.map
new file mode 100644
index 0000000000000..7aa2742ba4206
--- /dev/null
+++ b/dist/226-226.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"226-226.js?v=69bd00906849be73b69b","mappings":"0JAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,+hFAAgiF,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,kEAAkE,MAAQ,GAAG,SAAW,+cAA+c,WAAa,MAExpG,S,iDCPA,I,kMCoBA,MCpB8G,EDoB9G,CACEC,KAAM,kBACNC,MAAO,CAAC,SACRC,MAAO,CACLC,M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nextcloud/apps/systemtags/src/components/SystemTagPicker.vue?vue&type=style&index=0&id=0912ca46&prod&scoped=true&lang=scss","webpack:///nextcloud/apps/systemtags/src/components/SystemTagPicker.vue","webpack:///nextcloud/node_modules/vue-material-design-icons/CheckCircle.vue","webpack:///nextcloud/node_modules/vue-material-design-icons/CheckCircle.vue?vue&type=script&lang=js","webpack://nextcloud/./node_modules/vue-material-design-icons/CheckCircle.vue?7685","webpack:///nextcloud/node_modules/vue-material-design-icons/CheckCircle.vue?vue&type=template&id=60d94ca3","webpack:///nextcloud/node_modules/vue-material-design-icons/Circle.vue?vue&type=script&lang=js","webpack:///nextcloud/node_modules/vue-material-design-icons/Circle.vue","webpack://nextcloud/./node_modules/vue-material-design-icons/Circle.vue?4490","webpack:///nextcloud/node_modules/vue-material-design-icons/Circle.vue?vue&type=template&id=cd98ea1e","webpack:///nextcloud/node_modules/vue-material-design-icons/CircleOutline.vue?vue&type=script&lang=js","webpack:///nextcloud/node_modules/vue-material-design-icons/CircleOutline.vue","webpack://nextcloud/./node_modules/vue-material-design-icons/CircleOutline.vue?68bc","webpack:///nextcloud/node_modules/vue-material-design-icons/CircleOutline.vue?vue&type=template&id=c013567c","webpack:///nextcloud/node_modules/vue-material-design-icons/Tag.vue","webpack:///nextcloud/node_modules/vue-material-design-icons/Tag.vue?vue&type=script&lang=js","webpack://nextcloud/./node_modules/vue-material-design-icons/Tag.vue?6116","webpack:///nextcloud/node_modules/vue-material-design-icons/Tag.vue?vue&type=template&id=356230e0","webpack:///nextcloud/apps/systemtags/src/components/SystemTagPicker.vue?vue&type=script&lang=ts","webpack://nextcloud/./apps/systemtags/src/components/SystemTagPicker.vue?4e45","webpack://nextcloud/./apps/systemtags/src/components/SystemTagPicker.vue?ff5c"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.systemtags-picker__input[data-v-0912ca46],.systemtags-picker__note[data-v-0912ca46]{position:sticky;z-index:9;background-color:var(--color-main-background)}.systemtags-picker__input[data-v-0912ca46]{display:flex;top:0;gap:8px;padding-block-end:8px;align-items:flex-end}.systemtags-picker__tags[data-v-0912ca46]{padding-block:8px;gap:var(--default-grid-baseline);display:flex;flex-direction:column}.systemtags-picker__tags li[data-v-0912ca46]{display:flex;align-items:center;justify-content:space-between;width:100%}.systemtags-picker__tags li[data-v-0912ca46] .checkbox-radio-switch{width:100%}.systemtags-picker__tags li[data-v-0912ca46] .checkbox-radio-switch .checkbox-content{max-width:none;box-sizing:border-box;min-height:calc(var(--default-grid-baseline)*2 + var(--default-clickable-area))}.systemtags-picker__tags .systemtags-picker__tag-color button[data-v-0912ca46]{margin-inline-start:calc(var(--default-grid-baseline)*2)}.systemtags-picker__tags .systemtags-picker__tag-color button span.pencil-icon[data-v-0912ca46]{display:none;color:var(--color-main-text)}.systemtags-picker__tags .systemtags-picker__tag-color button:focus .pencil-icon[data-v-0912ca46],.systemtags-picker__tags .systemtags-picker__tag-color button:hover .pencil-icon[data-v-0912ca46],.systemtags-picker__tags .systemtags-picker__tag-color button[aria-expanded=true] .pencil-icon[data-v-0912ca46]{display:block}.systemtags-picker__tags .systemtags-picker__tag-color button:focus .circle-icon[data-v-0912ca46],.systemtags-picker__tags .systemtags-picker__tag-color button:focus .circle-outline-icon[data-v-0912ca46],.systemtags-picker__tags .systemtags-picker__tag-color button:hover .circle-icon[data-v-0912ca46],.systemtags-picker__tags .systemtags-picker__tag-color button:hover .circle-outline-icon[data-v-0912ca46],.systemtags-picker__tags .systemtags-picker__tag-color button[aria-expanded=true] .circle-icon[data-v-0912ca46],.systemtags-picker__tags .systemtags-picker__tag-color button[aria-expanded=true] .circle-outline-icon[data-v-0912ca46]{display:none}.systemtags-picker__tags .systemtags-picker__tag-create[data-v-0912ca46] span{text-align:start}.systemtags-picker__tags .systemtags-picker__tag-create-subline[data-v-0912ca46]{font-weight:normal}.systemtags-picker__note[data-v-0912ca46]{bottom:0;padding-block:8px}.systemtags-picker__note[data-v-0912ca46] .notecard{min-height:2lh;align-items:center}.systemtags-picker__note>div[data-v-0912ca46]{margin:0 !important}.systemtags-picker--done[data-v-0912ca46] .empty-content__icon{opacity:1}.nc-chip[data-v-0912ca46]{display:inline !important}`, \"\",{\"version\":3,\"sources\":[\"webpack://./apps/systemtags/src/components/SystemTagPicker.vue\"],\"names\":[],\"mappings\":\"AAEA,qFAEC,eAAA,CACA,SAAA,CACA,6CAAA,CAGD,2CACC,YAAA,CACA,KAAA,CACA,OAAA,CACA,qBAAA,CACA,oBAAA,CAGD,0CACC,iBAAA,CACA,gCAAA,CACA,YAAA,CACA,qBAAA,CAEA,6CACC,YAAA,CACA,kBAAA,CACA,6BAAA,CACA,UAAA,CAGA,oEACC,UAAA,CAEA,sFAEC,cAAA,CAEA,qBAAA,CACA,+EAAA,CAKH,+EACC,wDAAA,CAEA,gGACC,YAAA,CACA,4BAAA,CAMA,oTACC,aAAA,CAED,goBAEC,YAAA,CAMF,8EACC,gBAAA,CAED,iFACC,kBAAA,CAKH,0CACC,QAAA,CACA,iBAAA,CAEA,oDAEC,cAAA,CACA,kBAAA,CAGD,8CACC,mBAAA,CAIF,+DACC,SAAA,CAID,0BACC,yBAAA\",\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('NcDialog',{staticClass:\"systemtags-picker\",class:'systemtags-picker--' + _vm.status,attrs:{\"data-cy-systemtags-picker\":\"\",\"can-close\":_vm.status !== _vm.Status.LOADING,\"name\":_vm.t('systemtags', 'Manage tags'),\"open\":_vm.opened,\"close-on-click-outside\":\"\",\"out-transition\":\"\"},on:{\"update:open\":_vm.onCancel},scopedSlots:_vm._u([{key:\"actions\",fn:function(){return [_c('NcButton',{attrs:{\"disabled\":_vm.status !== _vm.Status.BASE,\"type\":\"tertiary\",\"data-cy-systemtags-picker-button-cancel\":\"\"},on:{\"click\":_vm.onCancel}},[_vm._v(\"\\n\\t\\t\\t\"+_vm._s(_vm.t('systemtags', 'Cancel'))+\"\\n\\t\\t\")]),_vm._v(\" \"),_c('NcButton',{attrs:{\"disabled\":!_vm.hasChanges || _vm.status !== _vm.Status.BASE,\"data-cy-systemtags-picker-button-submit\":\"\"},on:{\"click\":_vm.onSubmit}},[_vm._v(\"\\n\\t\\t\\t\"+_vm._s(_vm.t('systemtags', 'Apply changes'))+\"\\n\\t\\t\")])]},proxy:true}])},[(_vm.status === _vm.Status.LOADING || _vm.status === _vm.Status.DONE)?_c('NcEmptyContent',{attrs:{\"name\":_vm.t('systemtags', 'Applying tags changes…')},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [(_vm.status === _vm.Status.LOADING)?_c('NcLoadingIcon'):_c('CheckIcon',{attrs:{\"fill-color\":\"var(--color-success)\"}})]},proxy:true}],null,false,1067531430)}):[_c('div',{staticClass:\"systemtags-picker__input\"},[_c('NcTextField',{attrs:{\"value\":_vm.input,\"label\":_vm.t('systemtags', 'Search or create tag'),\"data-cy-systemtags-picker-input\":\"\"},on:{\"update:value\":function($event){_vm.input=$event}}},[_c('TagIcon',{attrs:{\"size\":20}})],1)],1),_vm._v(\" \"),_c('ul',{staticClass:\"systemtags-picker__tags\",attrs:{\"data-cy-systemtags-picker-tags\":\"\"}},[_vm._l((_vm.filteredTags),function(tag){return _c('li',{key:tag.id,staticClass:\"systemtags-picker__tag\",style:(_vm.tagListStyle(tag)),attrs:{\"data-cy-systemtags-picker-tag\":tag.id}},[_c('NcCheckboxRadioSwitch',{staticClass:\"systemtags-picker__tag-checkbox\",attrs:{\"checked\":_vm.isChecked(tag),\"disabled\":!tag.canAssign,\"indeterminate\":_vm.isIndeterminate(tag),\"label\":tag.displayName},on:{\"update:checked\":function($event){return _vm.onCheckUpdate(tag, $event)}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.formatTagName(tag))+\"\\n\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('NcColorPicker',{staticClass:\"systemtags-picker__tag-color\",attrs:{\"data-cy-systemtags-picker-tag-color\":tag.id,\"value\":`#${tag.color}`,\"shown\":_vm.openedPicker},on:{\"update:shown\":function($event){_vm.openedPicker=$event},\"update:value\":function($event){return _vm.onColorChange(tag, $event)},\"submit\":function($event){_vm.openedPicker = false}}},[_c('NcButton',{attrs:{\"aria-label\":_vm.t('systemtags', 'Change tag color'),\"type\":\"tertiary\"},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [(tag.color)?_c('CircleIcon',{attrs:{\"size\":24,\"fill-color\":\"var(--color-circle-icon)\"}}):_c('CircleOutlineIcon',{attrs:{\"size\":24,\"fill-color\":\"var(--color-circle-icon)\"}}),_vm._v(\" \"),_c('PencilIcon')]},proxy:true}],null,true)})],1)],1)}),_vm._v(\" \"),_c('li',[(_vm.canCreateTag)?_c('NcButton',{staticClass:\"systemtags-picker__tag-create\",attrs:{\"disabled\":_vm.status === _vm.Status.CREATING_TAG,\"alignment\":\"start\",\"native-type\":\"submit\",\"type\":\"tertiary\",\"data-cy-systemtags-picker-button-create\":\"\"},on:{\"click\":_vm.onNewTag},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('PlusIcon')]},proxy:true}],null,false,1789392498)},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.input.trim())),_c('br'),_vm._v(\" \"),_c('span',{staticClass:\"systemtags-picker__tag-create-subline\"},[_vm._v(_vm._s(_vm.t('systemtags', 'Create new tag')))])]):_vm._e()],1)],2),_vm._v(\" \"),_c('div',{staticClass:\"systemtags-picker__note\"},[(!_vm.hasChanges)?_c('NcNoteCard',{attrs:{\"type\":\"info\"}},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_vm.t('systemtags', 'Select or create tags to apply to all selected files'))+\"\\n\\t\\t\\t\")]):_c('NcNoteCard',{attrs:{\"type\":\"info\"}},[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.statusMessage)}})])],1)],_vm._v(\" \"),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(false),expression:\"false\"}]},[_c('NcChip',{ref:\"chip\",attrs:{\"text\":\"%s\",\"type\":\"primary\",\"no-close\":\"\"}})],1)],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n\n\n","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./CheckCircle.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./CheckCircle.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CheckCircle.vue?vue&type=template&id=60d94ca3\"\nimport script from \"./CheckCircle.vue?vue&type=script&lang=js\"\nexport * from \"./CheckCircle.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',_vm._b({staticClass:\"material-design-icon check-circle-icon\",attrs:{\"aria-hidden\":_vm.title ? null : 'true',\"aria-label\":_vm.title,\"role\":\"img\"},on:{\"click\":function($event){return _vm.$emit('click', $event)}}},'span',_vm.$attrs,false),[_c('svg',{staticClass:\"material-design-icon__svg\",attrs:{\"fill\":_vm.fillColor,\"width\":_vm.size,\"height\":_vm.size,\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z\"}},[(_vm.title)?_c('title',[_vm._v(_vm._s(_vm.title))]):_vm._e()])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./Circle.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./Circle.vue?vue&type=script&lang=js\"","\n \n \n \n\n\n","import { render, staticRenderFns } from \"./Circle.vue?vue&type=template&id=cd98ea1e\"\nimport script from \"./Circle.vue?vue&type=script&lang=js\"\nexport * from \"./Circle.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',_vm._b({staticClass:\"material-design-icon circle-icon\",attrs:{\"aria-hidden\":_vm.title ? null : 'true',\"aria-label\":_vm.title,\"role\":\"img\"},on:{\"click\":function($event){return _vm.$emit('click', $event)}}},'span',_vm.$attrs,false),[_c('svg',{staticClass:\"material-design-icon__svg\",attrs:{\"fill\":_vm.fillColor,\"width\":_vm.size,\"height\":_vm.size,\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M12,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\"}},[(_vm.title)?_c('title',[_vm._v(_vm._s(_vm.title))]):_vm._e()])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./CircleOutline.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./CircleOutline.vue?vue&type=script&lang=js\"","\n \n \n \n\n\n","import { render, staticRenderFns } from \"./CircleOutline.vue?vue&type=template&id=c013567c\"\nimport script from \"./CircleOutline.vue?vue&type=script&lang=js\"\nexport * from \"./CircleOutline.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',_vm._b({staticClass:\"material-design-icon circle-outline-icon\",attrs:{\"aria-hidden\":_vm.title ? null : 'true',\"aria-label\":_vm.title,\"role\":\"img\"},on:{\"click\":function($event){return _vm.$emit('click', $event)}}},'span',_vm.$attrs,false),[_c('svg',{staticClass:\"material-design-icon__svg\",attrs:{\"fill\":_vm.fillColor,\"width\":_vm.size,\"height\":_vm.size,\"viewBox\":\"0 0 24 24\"}},[_c('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\"}},[(_vm.title)?_c('title',[_vm._v(_vm._s(_vm.title))]):_vm._e()])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n\n\n","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./Tag.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./Tag.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Tag.vue?vue&type=template&id=356230e0\"\nimport script from \"./Tag.vue?vue&type=script&lang=js\"\nexport * from \"./Tag.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',_vm._b({staticClass:\"material-design-icon tag-icon\",attrs:{\"aria-hidden\":_vm.title ? null : 'true',\"aria-label\":_vm.title,\"role\":\"img\"},on:{\"click\":function($event){return _vm.$emit('click', $event)}}},'span',_vm.$attrs,false),[_c('svg',{staticClass:\"material-design-icon__svg\",attrs:{\"fill\":_vm.fillColor,\"width\":_vm.size,\"height\":_vm.size,\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M5.5,7A1.5,1.5 0 0,1 4,5.5A1.5,1.5 0 0,1 5.5,4A1.5,1.5 0 0,1 7,5.5A1.5,1.5 0 0,1 5.5,7M21.41,11.58L12.41,2.58C12.05,2.22 11.55,2 11,2H4C2.89,2 2,2.89 2,4V11C2,11.55 2.22,12.05 2.59,12.41L11.58,21.41C11.95,21.77 12.45,22 13,22C13.55,22 14.05,21.77 14.41,21.41L21.41,14.41C21.78,14.05 22,13.55 22,13C22,12.44 21.77,11.94 21.41,11.58Z\"}},[(_vm.title)?_c('title',[_vm._v(_vm._s(_vm.title))]):_vm._e()])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-4.use[1]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SystemTagPicker.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-4.use[1]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SystemTagPicker.vue?vue&type=script&lang=ts\"","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SystemTagPicker.vue?vue&type=style&index=0&id=0912ca46&prod&scoped=true&lang=scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SystemTagPicker.vue?vue&type=style&index=0&id=0912ca46&prod&scoped=true&lang=scss\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./SystemTagPicker.vue?vue&type=template&id=0912ca46&scoped=true\"\nimport script from \"./SystemTagPicker.vue?vue&type=script&lang=ts\"\nexport * from \"./SystemTagPicker.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SystemTagPicker.vue?vue&type=style&index=0&id=0912ca46&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0912ca46\",\n null\n \n)\n\nexport default component.exports"],"names":["___CSS_LOADER_EXPORT___","push","module","id","name","emits","props","title","type","String","fillColor","default","size","Number","_vm","this","_c","_self","_b","staticClass","attrs","on","$event","$emit","$attrs","_v","_s","_e","debounceUpdateTag","debounce","updateTag","mainBackgroundColor","getComputedStyle","document","body","getPropertyValue","replace","isDarkModeEnabled","Status","defineComponent","components","CheckIcon","CircleIcon","CircleOutlineIcon","NcButton","NcCheckboxRadioSwitch","NcChip","NcColorPicker","NcDialog","NcEmptyContent","NcLoadingIcon","NcNoteCard","NcTextField","PencilIcon","PlusIcon","TagIcon","nodes","Array","required","setup","emit","t","data","status","BASE","opened","openedPicker","input","tags","tagList","toAdd","toRemove","computed","sortedTags","sort","a","b","displayName","localeCompare","getLanguage","ignorePunctuation","filteredTags","trim","filter","tag","normalize","includes","hasChanges","length","canCreateTag","some","toLocaleLowerCase","statusMessage","n","tag1","formatTagChip","tag2","count","escape","tagsAdd","map","lastTagAdd","pop","tagsRemove","lastTagRemove","addStringSingular","removeStringSingular","addStringPlural","join","lastTag","removeStringPlural","beforeMount","fetchTags","then","reduce","acc","node","getNodeSystemTags","forEach","methods","chipCloneEl","$refs","chip","$el","cloneNode","color","style","tagListStyle","Object","entries","_ref","key","value","setProperty","outerHTML","escapeHTML","sanitize","formatTagName","userVisible","userAssignable","onColorChange","isChecked","isIndeterminate","onCheckUpdate","checked","search","onNewTag","CREATING_TAG","payload","canAssign","createTag","fetchTag","$nextTick","newTagEl","querySelector","scrollIntoView","behavior","block","inline","error","showError","message","onSubmit","LOADING","logger","debug","etag","objects","getTagObjects","ids","Set","obj","Boolean","fileid","setTagObjects","nodeFileIds","index","self","has","indexOf","setNodeSystemTags","DONE","setTimeout","onCancel","showInfo","primaryElement","elementColor","textColor","invertTextColor","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","_setupProxy","class","scopedSlots","_u","fn","proxy","_l","domProps","directives","rawName","expression","ref"],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/226-226.js.map.license b/dist/226-226.js.map.license
new file mode 120000
index 0000000000000..10073fb439b66
--- /dev/null
+++ b/dist/226-226.js.map.license
@@ -0,0 +1 @@
+226-226.js.license
\ No newline at end of file
diff --git a/dist/8114-8114.js b/dist/8114-8114.js
deleted file mode 100644
index 2e89ad8ff962a..0000000000000
--- a/dist/8114-8114.js
+++ /dev/null
@@ -1,2 +0,0 @@
-"use strict";(self.webpackChunknextcloud=self.webpackChunknextcloud||[]).push([[8114],{30843:(t,e,s)=>{s.d(e,{A:()=>l});var a=s(71354),i=s.n(a),n=s(76314),o=s.n(n)()(i());o.push([t.id,".systemtags-picker__input[data-v-d45d77be],.systemtags-picker__note[data-v-d45d77be]{position:sticky;z-index:9;background-color:var(--color-main-background)}.systemtags-picker__input[data-v-d45d77be]{display:flex;top:0;gap:8px;padding-block-end:8px;align-items:flex-end}.systemtags-picker__tags[data-v-d45d77be]{padding-block:8px;gap:var(--default-grid-baseline);display:flex;flex-direction:column}.systemtags-picker__tags .systemtags-picker__tag-create[data-v-d45d77be] span{text-align:start}.systemtags-picker__tags .systemtags-picker__tag-create-subline[data-v-d45d77be]{font-weight:normal}.systemtags-picker__note[data-v-d45d77be]{bottom:0;padding-block:8px}.systemtags-picker__note[data-v-d45d77be] .notecard{min-height:2lh;align-items:center}.systemtags-picker__note>div[data-v-d45d77be]{margin:0 !important}.systemtags-picker--done[data-v-d45d77be] .empty-content__icon{opacity:1}.nc-chip[data-v-d45d77be]{display:inline !important}","",{version:3,sources:["webpack://./apps/systemtags/src/components/SystemTagPicker.vue"],names:[],mappings:"AAEA,qFAEC,eAAA,CACA,SAAA,CACA,6CAAA,CAGD,2CACC,YAAA,CACA,KAAA,CACA,OAAA,CACA,qBAAA,CACA,oBAAA,CAGD,0CACC,iBAAA,CACA,gCAAA,CACA,YAAA,CACA,qBAAA,CAEC,8EACC,gBAAA,CAED,iFACC,kBAAA,CAKH,0CACC,QAAA,CACA,iBAAA,CAEA,oDAEC,cAAA,CACA,kBAAA,CAGD,8CACC,mBAAA,CAIF,+DACC,SAAA,CAID,0BACC,yBAAA",sourceRoot:""}]);const l=o},88114:(t,e,s)=>{s.r(e),s.d(e,{default:()=>Z});var a=s(85471),i=s(61338),n=s(42838),o=s(85168),l=s(53334),r=s(70580),c=s.n(r),d=s(70995),g=s(32073),p=s(89918),h=s(94219),m=s(28326),A=s(59892),u=s(40083),y=s(82182);const C={name:"TagIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var f=s(14486);const v=(0,f.A)(C,(function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon tag-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"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:"M5.5,7A1.5,1.5 0 0,1 4,5.5A1.5,1.5 0 0,1 5.5,4A1.5,1.5 0 0,1 7,5.5A1.5,1.5 0 0,1 5.5,7M21.41,11.58L12.41,2.58C12.05,2.22 11.55,2 11,2H4C2.89,2 2,2.89 2,4V11C2,11.55 2.22,12.05 2.59,12.41L11.58,21.41C11.95,21.77 12.45,22 13,22C13.55,22 14.05,21.77 14.41,21.41L21.41,14.41C21.78,14.05 22,13.55 22,13C22,12.44 21.77,11.94 21.41,11.58Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])}),[],!1,null,null,null).exports,_={name:"CheckCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},b=(0,f.A)(_,(function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon check-circle-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"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 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])}),[],!1,null,null,null).exports;var k=s(96078),N=s(12686),T=s(82528);const w=(0,s(35947).YK)().setApp("systemtags").detectUser().build();var S;!function(t){t.BASE="base",t.LOADING="loading",t.CREATING_TAG="creating-tag",t.DONE="done"}(S||(S={}));const x=(0,a.pM)({name:"SystemTagPicker",components:{CheckIcon:b,NcButton:d.A,NcCheckboxRadioSwitch:g.A,NcChip:p.A,NcDialog:h.A,NcEmptyContent:m.A,NcLoadingIcon:A.A,NcNoteCard:u.A,NcTextField:y.A,PlusIcon:k.A,TagIcon:v},props:{nodes:{type:Array,required:!0}},setup:()=>({emit:i.Ic,Status:S,t:l.t}),data:()=>({status:S.BASE,opened:!0,input:"",tags:[],tagList:{},toAdd:[],toRemove:[]}),computed:{sortedTags(){return[...this.tags].sort(((t,e)=>t.displayName.localeCompare(e.displayName,(0,l.Z0)(),{ignorePunctuation:!0})))},filteredTags(){return""===this.input.trim()?this.sortedTags:this.sortedTags.filter((t=>t.displayName.normalize().includes(this.input.normalize())))},hasChanges(){return this.toAdd.length>0||this.toRemove.length>0},canCreateTag(){return""!==this.input.trim()&&!this.tags.some((t=>t.displayName.trim().toLocaleLowerCase()===this.input.trim().toLocaleLowerCase()))},statusMessage(){if(0===this.toAdd.length&&0===this.toRemove.length)return"";if(1===this.toAdd.length&&1===this.toRemove.length)return(0,l.n)("systemtags","{tag1} will be set and {tag2} will be removed from 1 file.","{tag1} will be set and {tag2} will be removed from {count} files.",this.nodes.length,{tag1:this.formatTagChip(this.toAdd[0]),tag2:this.formatTagChip(this.toRemove[0]),count:this.nodes.length},{escape:!1});const t=this.toAdd.map(this.formatTagChip),e=t.pop(),s=this.toRemove.map(this.formatTagChip),a=s.pop(),i=(0,l.n)("systemtags","{tag} will be set to 1 file.","{tag} will be set to {count} files.",this.nodes.length,{tag:e,count:this.nodes.length},{escape:!1}),n=(0,l.n)("systemtags","{tag} will be removed from 1 file.","{tag} will be removed from {count} files.",this.nodes.length,{tag:a,count:this.nodes.length},{escape:!1}),o=(0,l.n)("systemtags","{tags} and {lastTag} will be set to 1 file.","{tags} and {lastTag} will be set to {count} files.",this.nodes.length,{tags:t.join(", "),lastTag:e,count:this.nodes.length},{escape:!1}),r=(0,l.n)("systemtags","{tags} and {lastTag} will be removed from 1 file.","{tags} and {lastTag} will be removed from {count} files.",this.nodes.length,{tags:s.join(", "),lastTag:a,count:this.nodes.length},{escape:!1});return 1===this.toAdd.length&&0===this.toRemove.length?i:0===this.toAdd.length&&1===this.toRemove.length?n:this.toAdd.length>1&&0===this.toRemove.length?o:0===this.toAdd.length&&this.toRemove.length>1?r:this.toAdd.length>1&&1===this.toRemove.length?`${o} ${n}`:1===this.toAdd.length&&this.toRemove.length>1?`${i} ${r}`:`${o} ${r}`}},beforeMount(){(0,T.un)().then((t=>{this.tags=t})),this.tagList=this.nodes.reduce(((t,e)=>(((0,N.rA)(e)||[]).forEach((e=>{t[e]=(t[e]||0)+1})),t)),{})},methods:{formatTagChip(t){return this.$refs.chip.$el.outerHTML.replace("%s",c()((0,n.sanitize)(t.displayName)))},formatTagName:t=>t.userVisible?t.userAssignable?t.displayName:(0,l.t)("systemtags","{displayName} (restricted)",{displayName:t.displayName}):(0,l.t)("systemtags","{displayName} (hidden)",{displayName:t.displayName}),isChecked(t){return t.displayName in this.tagList&&this.tagList[t.displayName]===this.nodes.length},isIndeterminate(t){return t.displayName in this.tagList&&0!==this.tagList[t.displayName]&&this.tagList[t.displayName]!==this.nodes.length},onCheckUpdate(t,e){e?(this.toAdd.push(t),this.toRemove=this.toRemove.filter((e=>e.id!==t.id)),this.tagList[t.displayName]=this.nodes.length):(this.toRemove.push(t),this.toAdd=this.toAdd.filter((e=>e.id!==t.id)),this.tagList[t.displayName]=0)},async onNewTag(){this.status=S.CREATING_TAG;try{const t={displayName:this.input.trim(),userAssignable:!0,userVisible:!0,canAssign:!0},e=await(0,T.VZ)(t),s=await(0,T.xI)(e);this.tags.push(s),this.input="",this.onCheckUpdate(s,!0),await this.$nextTick();const a=this.$el.querySelector(`input[type="checkbox"][label="${s.displayName}"]`);a?.scrollIntoView({behavior:"instant",block:"center",inline:"center"})}catch(t){(0,o.Qg)(t?.message||(0,l.t)("systemtags","Failed to create tag"))}finally{this.status=S.BASE}},async onSubmit(){this.status=S.LOADING,w.debug("Applying tags",{toAdd:this.toAdd,toRemove:this.toRemove});try{for(const t of this.toAdd){const{etag:e,objects:s}=await(0,T.b0)(t,"files"),a=[...new Set([...s.map((t=>t.id)).filter(Boolean),...this.nodes.map((t=>t.fileid)).filter(Boolean)])];await(0,T.T0)(t,"files",a.map((t=>({id:t,type:"files"}))),e)}for(const t of this.toRemove){const{etag:e,objects:s}=await(0,T.b0)(t,"files"),a=new Set(this.nodes.map((t=>t.fileid))),i=s.map((t=>t.id)).filter(((t,e,s)=>!a.has(t)&&s.indexOf(t)===e));await(0,T.T0)(t,"files",i.map((t=>({id:t,type:"files"}))),e)}}catch(t){return w.error("Failed to apply tags",{error:t}),(0,o.Qg)((0,l.t)("systemtags","Failed to apply tags changes")),void(this.status=S.BASE)}const t=[];this.toAdd.forEach((e=>{this.nodes.forEach((s=>{const a=[...(0,N.rA)(s)||[],e.displayName].sort(((t,e)=>t.localeCompare(e,(0,l.Z0)(),{ignorePunctuation:!0})));(0,N.Pq)(s,a),t.push(s)}))})),this.toRemove.forEach((e=>{this.nodes.forEach((s=>{const a=[...(0,N.rA)(s)||[]].filter((t=>t!==e.displayName)).sort(((t,e)=>t.localeCompare(e,(0,l.Z0)(),{ignorePunctuation:!0})));(0,N.Pq)(s,a),t.push(s)}))})),t.forEach((t=>(0,i.Ic)("systemtags:node:updated",t))),this.status=S.DONE,setTimeout((()=>{this.opened=!1,this.$emit("close",!0)}),2e3)},onCancel(){this.opened=!1,(0,o.cf)((0,l.t)("systemtags","File tags modification canceled")),this.$emit("close",null)}}});var L=s(85072),E=s.n(L),I=s(97825),B=s.n(I),R=s(77659),$=s.n(R),D=s(55056),G=s.n(D),P=s(10540),z=s.n(P),M=s(41113),F=s.n(M),O=s(30843),q={};q.styleTagTransform=F(),q.setAttributes=G(),q.insert=$().bind(null,"head"),q.domAPI=B(),q.insertStyleElement=z(),E()(O.A,q),O.A&&O.A.locals&&O.A.locals;const Z=(0,f.A)(x,(function(){var t=this,e=t._self._c;return t._self._setupProxy,e("NcDialog",{staticClass:"systemtags-picker",class:"systemtags-picker--"+t.status,attrs:{"data-cy-systemtags-picker":"",name:t.t("systemtags","Manage tags"),open:t.opened,"close-on-click-outside":"","out-transition":""},on:{"update:open":t.onCancel},scopedSlots:t._u([{key:"actions",fn:function(){return[e("NcButton",{attrs:{disabled:t.status!==t.Status.BASE,type:"tertiary","data-cy-systemtags-picker-button-cancel":""},on:{click:t.onCancel}},[t._v("\n\t\t\t"+t._s(t.t("systemtags","Cancel"))+"\n\t\t")]),t._v(" "),e("NcButton",{attrs:{disabled:!t.hasChanges||t.status!==t.Status.BASE,"data-cy-systemtags-picker-button-submit":""},on:{click:t.onSubmit}},[t._v("\n\t\t\t"+t._s(t.t("systemtags","Apply changes"))+"\n\t\t")])]},proxy:!0}])},[t.status===t.Status.LOADING||t.status===t.Status.DONE?e("NcEmptyContent",{attrs:{name:t.t("systemtags","Applying tags changes…")},scopedSlots:t._u([{key:"icon",fn:function(){return[t.status===t.Status.LOADING?e("NcLoadingIcon"):e("CheckIcon",{attrs:{"fill-color":"var(--color-success)"}})]},proxy:!0}],null,!1,1067531430)}):[e("div",{staticClass:"systemtags-picker__input"},[e("NcTextField",{attrs:{value:t.input,label:t.t("systemtags","Search or create tag"),"data-cy-systemtags-picker-input":""},on:{"update:value":function(e){t.input=e}}},[e("TagIcon",{attrs:{size:20}})],1)],1),t._v(" "),e("div",{staticClass:"systemtags-picker__tags",attrs:{"data-cy-systemtags-picker-tags":""}},[t._l(t.filteredTags,(function(s){return e("NcCheckboxRadioSwitch",{key:s.id,staticClass:"systemtags-picker__tag",attrs:{label:s.displayName,checked:t.isChecked(s),indeterminate:t.isIndeterminate(s),disabled:!s.canAssign,"data-cy-systemtags-picker-tag":s.id},on:{"update:checked":function(e){return t.onCheckUpdate(s,e)}}},[t._v("\n\t\t\t\t"+t._s(t.formatTagName(s))+"\n\t\t\t")])})),t._v(" "),t.canCreateTag?e("NcButton",{staticClass:"systemtags-picker__tag-create",attrs:{disabled:t.status===t.Status.CREATING_TAG,alignment:"start","native-type":"submit",type:"tertiary","data-cy-systemtags-picker-button-create":""},on:{click:t.onNewTag},scopedSlots:t._u([{key:"icon",fn:function(){return[e("PlusIcon")]},proxy:!0}],null,!1,1789392498)},[t._v("\n\t\t\t\t"+t._s(t.input.trim())),e("br"),t._v(" "),e("span",{staticClass:"systemtags-picker__tag-create-subline"},[t._v(t._s(t.t("systemtags","Create new tag")))])]):t._e()],2),t._v(" "),e("div",{staticClass:"systemtags-picker__note"},[t.hasChanges?e("NcNoteCard",{attrs:{type:"info"}},[e("span",{domProps:{innerHTML:t._s(t.statusMessage)}})]):e("NcNoteCard",{attrs:{type:"info"}},[t._v("\n\t\t\t\t"+t._s(t.t("systemtags","Select or create tags to apply to all selected files"))+"\n\t\t\t")])],1)],t._v(" "),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}]},[e("NcChip",{ref:"chip",attrs:{text:"%s",type:"primary","no-close":""}})],1)],2)}),[],!1,null,"d45d77be",null).exports}}]);
-//# sourceMappingURL=8114-8114.js.map?v=9dbd0f98f3bb846fd101
\ No newline at end of file
diff --git a/dist/8114-8114.js.map b/dist/8114-8114.js.map
deleted file mode 100644
index 4ecd237191d87..0000000000000
--- a/dist/8114-8114.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"8114-8114.js?v=9dbd0f98f3bb846fd101","mappings":"2JAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,86BAA+6B,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,kEAAkE,MAAQ,GAAG,SAAW,4RAA4R,WAAa,MAEp3C,S,gDCPA,I,mKCoBA,MCpBsG,EDoBtG,CACEC,KAAM,UACNC,MAAO,CAAC,SACRC,MAAO,CACLC,MAAO,CACLC,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IY,GAAGZ,EAAImE,oBAApPjE,EAAG,aAAa,CAACI,MAAM,CAAC,KAAO,SAAS,CAACN,EAAIW,GAAG,aAAaX,EAAIY,GAAGZ,EAAIqC,EAAE,aAAc,yDAAyD,eAAwH,IAAIrC,EAAIW,GAAG,KAAKX,EAAIW,GAAG,KAAKT,EAAG,MAAM,CAACmK,WAAW,CAAC,CAAC/K,KAAK,OAAOgL,QAAQ,SAASC,OAAO,EAAOC,WAAW,WAAW,CAACtK,EAAG,SAAS,CAACuK,IAAI,OAAOnK,MAAM,CAAC,KAAO,KAAK,KAAO,UAAU,WAAW,OAAO,IAAI,EACjqG,GACsB,IYUpB,EACA,KACA,WACA,MAI8B,O","sources":["webpack:///nextcloud/apps/systemtags/src/components/SystemTagPicker.vue?vue&type=style&index=0&id=d45d77be&prod&scoped=true&lang=scss","webpack:///nextcloud/apps/systemtags/src/components/SystemTagPicker.vue","webpack:///nextcloud/node_modules/vue-material-design-icons/Tag.vue","webpack:///nextcloud/node_modules/vue-material-design-icons/Tag.vue?vue&type=script&lang=js","webpack://nextcloud/./node_modules/vue-material-design-icons/Tag.vue?6116","webpack:///nextcloud/node_modules/vue-material-design-icons/Tag.vue?vue&type=template&id=356230e0","webpack:///nextcloud/node_modules/vue-material-design-icons/CheckCircle.vue?vue&type=script&lang=js","webpack:///nextcloud/node_modules/vue-material-design-icons/CheckCircle.vue","webpack://nextcloud/./node_modules/vue-material-design-icons/CheckCircle.vue?7685","webpack:///nextcloud/node_modules/vue-material-design-icons/CheckCircle.vue?vue&type=template&id=60d94ca3","webpack:///nextcloud/apps/systemtags/src/services/logger.ts","webpack:///nextcloud/apps/systemtags/src/components/SystemTagPicker.vue?vue&type=script&lang=ts","webpack://nextcloud/./apps/systemtags/src/components/SystemTagPicker.vue?e708","webpack://nextcloud/./apps/systemtags/src/components/SystemTagPicker.vue?ff5c"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.systemtags-picker__input[data-v-d45d77be],.systemtags-picker__note[data-v-d45d77be]{position:sticky;z-index:9;background-color:var(--color-main-background)}.systemtags-picker__input[data-v-d45d77be]{display:flex;top:0;gap:8px;padding-block-end:8px;align-items:flex-end}.systemtags-picker__tags[data-v-d45d77be]{padding-block:8px;gap:var(--default-grid-baseline);display:flex;flex-direction:column}.systemtags-picker__tags .systemtags-picker__tag-create[data-v-d45d77be] span{text-align:start}.systemtags-picker__tags .systemtags-picker__tag-create-subline[data-v-d45d77be]{font-weight:normal}.systemtags-picker__note[data-v-d45d77be]{bottom:0;padding-block:8px}.systemtags-picker__note[data-v-d45d77be] .notecard{min-height:2lh;align-items:center}.systemtags-picker__note>div[data-v-d45d77be]{margin:0 !important}.systemtags-picker--done[data-v-d45d77be] .empty-content__icon{opacity:1}.nc-chip[data-v-d45d77be]{display:inline !important}`, \"\",{\"version\":3,\"sources\":[\"webpack://./apps/systemtags/src/components/SystemTagPicker.vue\"],\"names\":[],\"mappings\":\"AAEA,qFAEC,eAAA,CACA,SAAA,CACA,6CAAA,CAGD,2CACC,YAAA,CACA,KAAA,CACA,OAAA,CACA,qBAAA,CACA,oBAAA,CAGD,0CACC,iBAAA,CACA,gCAAA,CACA,YAAA,CACA,qBAAA,CAEC,8EACC,gBAAA,CAED,iFACC,kBAAA,CAKH,0CACC,QAAA,CACA,iBAAA,CAEA,oDAEC,cAAA,CACA,kBAAA,CAGD,8CACC,mBAAA,CAIF,+DACC,SAAA,CAID,0BACC,yBAAA\",\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('NcDialog',{staticClass:\"systemtags-picker\",class:'systemtags-picker--' + _vm.status,attrs:{\"data-cy-systemtags-picker\":\"\",\"name\":_vm.t('systemtags', 'Manage tags'),\"open\":_vm.opened,\"close-on-click-outside\":\"\",\"out-transition\":\"\"},on:{\"update:open\":_vm.onCancel},scopedSlots:_vm._u([{key:\"actions\",fn:function(){return [_c('NcButton',{attrs:{\"disabled\":_vm.status !== _vm.Status.BASE,\"type\":\"tertiary\",\"data-cy-systemtags-picker-button-cancel\":\"\"},on:{\"click\":_vm.onCancel}},[_vm._v(\"\\n\\t\\t\\t\"+_vm._s(_vm.t('systemtags', 'Cancel'))+\"\\n\\t\\t\")]),_vm._v(\" \"),_c('NcButton',{attrs:{\"disabled\":!_vm.hasChanges || _vm.status !== _vm.Status.BASE,\"data-cy-systemtags-picker-button-submit\":\"\"},on:{\"click\":_vm.onSubmit}},[_vm._v(\"\\n\\t\\t\\t\"+_vm._s(_vm.t('systemtags', 'Apply changes'))+\"\\n\\t\\t\")])]},proxy:true}])},[(_vm.status === _vm.Status.LOADING || _vm.status === _vm.Status.DONE)?_c('NcEmptyContent',{attrs:{\"name\":_vm.t('systemtags', 'Applying tags changes…')},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [(_vm.status === _vm.Status.LOADING)?_c('NcLoadingIcon'):_c('CheckIcon',{attrs:{\"fill-color\":\"var(--color-success)\"}})]},proxy:true}],null,false,1067531430)}):[_c('div',{staticClass:\"systemtags-picker__input\"},[_c('NcTextField',{attrs:{\"value\":_vm.input,\"label\":_vm.t('systemtags', 'Search or create tag'),\"data-cy-systemtags-picker-input\":\"\"},on:{\"update:value\":function($event){_vm.input=$event}}},[_c('TagIcon',{attrs:{\"size\":20}})],1)],1),_vm._v(\" \"),_c('div',{staticClass:\"systemtags-picker__tags\",attrs:{\"data-cy-systemtags-picker-tags\":\"\"}},[_vm._l((_vm.filteredTags),function(tag){return _c('NcCheckboxRadioSwitch',{key:tag.id,staticClass:\"systemtags-picker__tag\",attrs:{\"label\":tag.displayName,\"checked\":_vm.isChecked(tag),\"indeterminate\":_vm.isIndeterminate(tag),\"disabled\":!tag.canAssign,\"data-cy-systemtags-picker-tag\":tag.id},on:{\"update:checked\":function($event){return _vm.onCheckUpdate(tag, $event)}}},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_vm.formatTagName(tag))+\"\\n\\t\\t\\t\")])}),_vm._v(\" \"),(_vm.canCreateTag)?_c('NcButton',{staticClass:\"systemtags-picker__tag-create\",attrs:{\"disabled\":_vm.status === _vm.Status.CREATING_TAG,\"alignment\":\"start\",\"native-type\":\"submit\",\"type\":\"tertiary\",\"data-cy-systemtags-picker-button-create\":\"\"},on:{\"click\":_vm.onNewTag},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('PlusIcon')]},proxy:true}],null,false,1789392498)},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_vm.input.trim())),_c('br'),_vm._v(\" \"),_c('span',{staticClass:\"systemtags-picker__tag-create-subline\"},[_vm._v(_vm._s(_vm.t('systemtags', 'Create new tag')))])]):_vm._e()],2),_vm._v(\" \"),_c('div',{staticClass:\"systemtags-picker__note\"},[(!_vm.hasChanges)?_c('NcNoteCard',{attrs:{\"type\":\"info\"}},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_vm.t('systemtags', 'Select or create tags to apply to all selected files'))+\"\\n\\t\\t\\t\")]):_c('NcNoteCard',{attrs:{\"type\":\"info\"}},[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.statusMessage)}})])],1)],_vm._v(\" \"),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(false),expression:\"false\"}]},[_c('NcChip',{ref:\"chip\",attrs:{\"text\":\"%s\",\"type\":\"primary\",\"no-close\":\"\"}})],1)],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n\n\n","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./Tag.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./Tag.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Tag.vue?vue&type=template&id=356230e0\"\nimport script from \"./Tag.vue?vue&type=script&lang=js\"\nexport * from \"./Tag.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',_vm._b({staticClass:\"material-design-icon tag-icon\",attrs:{\"aria-hidden\":_vm.title ? null : 'true',\"aria-label\":_vm.title,\"role\":\"img\"},on:{\"click\":function($event){return _vm.$emit('click', $event)}}},'span',_vm.$attrs,false),[_c('svg',{staticClass:\"material-design-icon__svg\",attrs:{\"fill\":_vm.fillColor,\"width\":_vm.size,\"height\":_vm.size,\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M5.5,7A1.5,1.5 0 0,1 4,5.5A1.5,1.5 0 0,1 5.5,4A1.5,1.5 0 0,1 7,5.5A1.5,1.5 0 0,1 5.5,7M21.41,11.58L12.41,2.58C12.05,2.22 11.55,2 11,2H4C2.89,2 2,2.89 2,4V11C2,11.55 2.22,12.05 2.59,12.41L11.58,21.41C11.95,21.77 12.45,22 13,22C13.55,22 14.05,21.77 14.41,21.41L21.41,14.41C21.78,14.05 22,13.55 22,13C22,12.44 21.77,11.94 21.41,11.58Z\"}},[(_vm.title)?_c('title',[_vm._v(_vm._s(_vm.title))]):_vm._e()])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./CheckCircle.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./CheckCircle.vue?vue&type=script&lang=js\"","\n \n \n \n\n\n","import { render, staticRenderFns } from \"./CheckCircle.vue?vue&type=template&id=60d94ca3\"\nimport script from \"./CheckCircle.vue?vue&type=script&lang=js\"\nexport * from \"./CheckCircle.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',_vm._b({staticClass:\"material-design-icon check-circle-icon\",attrs:{\"aria-hidden\":_vm.title ? null : 'true',\"aria-label\":_vm.title,\"role\":\"img\"},on:{\"click\":function($event){return _vm.$emit('click', $event)}}},'span',_vm.$attrs,false),[_c('svg',{staticClass:\"material-design-icon__svg\",attrs:{\"fill\":_vm.fillColor,\"width\":_vm.size,\"height\":_vm.size,\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z\"}},[(_vm.title)?_c('title',[_vm._v(_vm._s(_vm.title))]):_vm._e()])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport { getLoggerBuilder } from '@nextcloud/logger';\nexport default getLoggerBuilder()\n .setApp('systemtags')\n .detectUser()\n .build();\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-4.use[1]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SystemTagPicker.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-4.use[1]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SystemTagPicker.vue?vue&type=script&lang=ts\"","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SystemTagPicker.vue?vue&type=style&index=0&id=d45d77be&prod&scoped=true&lang=scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SystemTagPicker.vue?vue&type=style&index=0&id=d45d77be&prod&scoped=true&lang=scss\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./SystemTagPicker.vue?vue&type=template&id=d45d77be&scoped=true\"\nimport script from \"./SystemTagPicker.vue?vue&type=script&lang=ts\"\nexport * from \"./SystemTagPicker.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SystemTagPicker.vue?vue&type=style&index=0&id=d45d77be&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d45d77be\",\n null\n \n)\n\nexport default component.exports"],"names":["___CSS_LOADER_EXPORT___","push","module","id","name","emits","props","title","type","String","fillColor","default","size","Number","_vm","this","_c","_self","_b","staticClass","attrs","on","$event","$emit","$attrs","_v","_s","_e","getLoggerBuilder","setApp","detectUser","build","Status","defineComponent","components","CheckIcon","NcButton","NcCheckboxRadioSwitch","NcChip","NcDialog","NcEmptyContent","NcLoadingIcon","NcNoteCard","NcTextField","PlusIcon","TagIcon","nodes","Array","required","setup","emit","t","data","status","BASE","opened","input","tags","tagList","toAdd","toRemove","computed","sortedTags","sort","a","b","displayName","localeCompare","getLanguage","ignorePunctuation","filteredTags","trim","filter","tag","normalize","includes","hasChanges","length","canCreateTag","some","toLocaleLowerCase","statusMessage","n","tag1","formatTagChip","tag2","count","escape","tagsAdd","map","lastTagAdd","pop","tagsRemove","lastTagRemove","addStringSingular","removeStringSingular","addStringPlural","join","lastTag","removeStringPlural","beforeMount","fetchTags","then","reduce","acc","node","getNodeSystemTags","forEach","methods","$refs","chip","$el","outerHTML","replace","escapeHTML","sanitize","formatTagName","userVisible","userAssignable","isChecked","isIndeterminate","onCheckUpdate","checked","search","onNewTag","CREATING_TAG","payload","canAssign","createTag","fetchTag","$nextTick","newTagEl","querySelector","scrollIntoView","behavior","block","inline","error","showError","message","onSubmit","LOADING","logger","debug","etag","objects","getTagObjects","ids","Set","obj","Boolean","fileid","setTagObjects","nodeFileIds","index","self","has","indexOf","setNodeSystemTags","DONE","setTimeout","onCancel","showInfo","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","_setupProxy","class","scopedSlots","_u","key","fn","proxy","_l","domProps","directives","rawName","value","expression","ref"],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/8114-8114.js.map.license b/dist/8114-8114.js.map.license
deleted file mode 120000
index c145a60a8dced..0000000000000
--- a/dist/8114-8114.js.map.license
+++ /dev/null
@@ -1 +0,0 @@
-8114-8114.js.license
\ No newline at end of file
diff --git a/dist/core-common.js b/dist/core-common.js
index f31bfc29764a1..7a5ebc2637d30 100644
--- a/dist/core-common.js
+++ b/dist/core-common.js
@@ -1,2 +1,2 @@
-(self.webpackChunknextcloud=self.webpackChunknextcloud||[]).push([[4208],{30352:(e,t,n)=>{"use strict";n.d(t,{ZL:()=>l});var a=n(85471);function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var i={selector:"vue-portal-target-".concat(((e=21)=>{let t="",n=e;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t})())},o="undefined"!=typeof window&&void 0!==("undefined"==typeof document?"undefined":r(document)),s=a.Ay.extend({abstract:!0,name:"PortalOutlet",props:["nodes","tag"],data:function(e){return{updatedNodes:e.nodes}},render:function(e){var t=this.updatedNodes&&this.updatedNodes();return t?1!==t.length||t[0].text?e(this.tag||"DIV",t):t:e()},destroyed:function(){var e=this.$el;e&&e.parentNode.removeChild(e)}}),l=a.Ay.extend({name:"VueSimplePortal",props:{disabled:{type:Boolean},prepend:{type:Boolean},selector:{type:String,default:function(){return"#".concat(i.selector)}},tag:{type:String,default:"DIV"}},render:function(e){if(this.disabled){var t=this.$scopedSlots&&this.$scopedSlots.default();return t?t.length<2&&!t[0].text?t:e(this.tag,t):e()}return e()},created:function(){this.getTargetEl()||this.insertTargetEl()},updated:function(){var e=this;this.$nextTick((function(){e.disabled||e.slotFn===e.$scopedSlots.default||(e.container.updatedNodes=e.$scopedSlots.default),e.slotFn=e.$scopedSlots.default}))},beforeDestroy:function(){this.unmount()},watch:{disabled:{immediate:!0,handler:function(e){e?this.unmount():this.$nextTick(this.mount)}}},methods:{getTargetEl:function(){if(o)return document.querySelector(this.selector)},insertTargetEl:function(){if(o){var e=document.querySelector("body"),t=document.createElement(this.tag);t.id=this.selector.substring(1),e.appendChild(t)}},mount:function(){if(o){var e=this.getTargetEl(),t=document.createElement("DIV");this.prepend&&e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t),this.container=new s({el:t,parent:this,propsData:{tag:this.tag,nodes:this.$scopedSlots.default}})}},unmount:function(){this.container&&(this.container.$destroy(),delete this.container)}}});"undefined"!=typeof window&&window.Vue&&window.Vue===a.Ay&&a.Ay.use((function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.component(n.name||"portal",l),n.defaultSelector&&(t=n.defaultSelector,i.selector=t)}))},42660:(e,t,n)=>{"use strict";var a=n(49574),r=Object.prototype.hasOwnProperty,i={align:"text-align",valign:"vertical-align",height:"height",width:"width"};function o(e){var t;if("tr"===e.tagName||"td"===e.tagName||"th"===e.tagName)for(t in i)r.call(i,t)&&void 0!==e.properties[t]&&(s(e,i[t],e.properties[t]),delete e.properties[t])}function s(e,t,n){var a=(e.properties.style||"").trim();a&&!/;\s*/.test(a)&&(a+=";"),a&&(a+=" ");var r=a+t+": "+n+";";e.properties.style=r}e.exports=function(e){return a(e,"element",o),e}},20856:e=>{"use strict";function t(e){if("string"==typeof e)return function(e){return function(t){return Boolean(t&&t.type===e)}}(e);if(null==e)return r;if("object"==typeof e)return("length"in e?a:n)(e);if("function"==typeof e)return e;throw new Error("Expected function, string, or object as test")}function n(e){return function(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}}function a(e){var n=function(e){for(var n=[],a=e.length,r=-1;++r{"use strict";e.exports=s;var a=n(20856),r=!0,i="skip",o=!1;function s(e,t,n,r){var s;"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),s=a(t),function e(a,u,d){var c,h=[];return(t&&!s(a,u,d[d.length-1]||null)||(h=l(n(a,d)))[0]!==o)&&a.children&&h[0]!==i?(c=l(function(t,n){for(var a,i=r?-1:1,s=(r?t.length:-1)+i;s>-1&&s{"use strict";e.exports=s;var a=n(29222),r=a.CONTINUE,i=a.SKIP,o=a.EXIT;function s(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),a(e,t,(function(e,t){var a=t[t.length-1],r=a?a.children.indexOf(e):null;return n(e,r,a)}),r)}s.CONTINUE=r,s.SKIP=i,s.EXIT=o},59097:(e,t,n)=>{"use strict";t.c0=function(e){return new a.default(e)};var a=r(n(59457));r(n(50432));function r(e){return e&&e.__esModule?e:{default:e}}},50432:(e,t)=>{"use strict";function n(e,t,n){var a;return(t="symbol"==typeof(a=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?a:a+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class a{constructor(e,t,r){n(this,"scope",void 0),n(this,"wrapped",void 0),this.scope="".concat(r?a.GLOBAL_SCOPE_PERSISTENT:a.GLOBAL_SCOPE_VOLATILE,"_").concat(btoa(e),"_"),this.wrapped=t}scopeKey(e){return"".concat(this.scope).concat(e)}setItem(e,t){this.wrapped.setItem(this.scopeKey(e),t)}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))}}t.default=a,n(a,"GLOBAL_SCOPE_VOLATILE","nextcloud_vol"),n(a,"GLOBAL_SCOPE_PERSISTENT","nextcloud_per")},59457:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,r=(a=n(50432))&&a.__esModule?a:{default:a};function i(e,t,n){var a;return(t="symbol"==typeof(a=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?a:a+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.default=class{constructor(e){i(this,"appId",void 0),i(this,"persisted",!1),i(this,"clearedOnLogout",!1),this.appId=e}persist(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.persisted=e,this}clearOnLogout(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.clearedOnLogout=e,this}build(){return new r.default(this.appId,this.persisted?window.localStorage:window.sessionStorage,!this.clearedOnLogout)}}},80599:(e,t,n)=>{"use strict";n(25440)},9052:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n="~";function a(){}function r(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,a,i,o){if("function"!=typeof a)throw new TypeError("The listener must be a function");var s=new r(a,i||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new a:delete e._events[t]}function s(){this._events=new a,this._eventsCount=0}Object.create&&(a.prototype=Object.create(null),(new a).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,a,r=[];if(0===this._eventsCount)return r;for(a in e=this._events)t.call(e,a)&&r.push(n?a.slice(1):a);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},s.prototype.listeners=function(e){var t=n?n+e:e,a=this._events[t];if(!a)return[];if(a.fn)return[a.fn];for(var r=0,i=a.length,o=new Array(i);r{var e={646:e=>{e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},860:e=>{e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},206:e=>{e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},319:(e,t,n)=>{var a=n(646),r=n(860),i=n(206);e.exports=function(e){return a(e)||r(e)||i()}},8:e=>{function t(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(n)}e.exports=t}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var i=t[a]={exports:{}};return e[a](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";n.r(a),n.d(a,{VueSelect:()=>_,default:()=>A,mixins:()=>v});var e=n(319),t=n.n(e),r=n(8),i=n.n(r),o=n(713),s=n.n(o);const l={props:{autoscroll:{type:Boolean,default:!0}},watch:{typeAheadPointer:function(){this.autoscroll&&this.maybeAdjustScroll()},open:function(e){var t=this;this.autoscroll&&e&&this.$nextTick((function(){return t.maybeAdjustScroll()}))}},methods:{maybeAdjustScroll:function(){var e,t=(null===(e=this.$refs.dropdownMenu)||void 0===e?void 0:e.children[this.typeAheadPointer])||!1;if(t){var n=this.getDropdownViewport(),a=t.getBoundingClientRect(),r=a.top,i=a.bottom,o=a.height;if(rn.bottom)return this.$refs.dropdownMenu.scrollTop=t.offsetTop-(n.height-o)}},getDropdownViewport:function(){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.getBoundingClientRect():{height:0,top:0,bottom:0}}}},u={data:function(){return{typeAheadPointer:-1}},watch:{filteredOptions:function(){if(this.resetFocusOnOptionsChange)for(var e=0;e=0;e--)if(this.selectable(this.filteredOptions[e])){this.typeAheadPointer=e;break}},typeAheadDown:function(){for(var e=this.typeAheadPointer+1;e0&&void 0!==arguments[0]?arguments[0]:null;return this.mutableLoading=null==e?!this.mutableLoading:e}}};function c(e,t,n,a,r,i,o,s){var l,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),a&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),o?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var d=u.render;u.render=function(e,t){return l.call(t),d(e,t)}}else{var c=u.beforeCreate;u.beforeCreate=c?[].concat(c,l):[l]}return{exports:e,options:u}}const h={Deselect:c({},(function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"}},[t("path",{attrs:{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"}})])}),[],!1,null,null,null).exports,OpenIndicator:c({},(function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"}},[t("path",{attrs:{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"}})])}),[],!1,null,null,null).exports},p={inserted:function(e,t,n){var a=n.context;if(a.appendToBody){document.body.appendChild(e);var r=a.$refs.toggle.getBoundingClientRect(),i=r.height,o=r.top,s=r.left,l=r.width,u=window.scrollX||window.pageXOffset,d=window.scrollY||window.pageYOffset;e.unbindPosition=a.calculatePosition(e,a,{width:l+"px",left:u+s+"px",top:d+o+i+"px"})}},unbind:function(e,t,n){n.context.appendToBody&&(e.unbindPosition&&"function"==typeof e.unbindPosition&&e.unbindPosition(),e.parentNode&&e.parentNode.removeChild(e))}};var f=0;function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function g(e){for(var t=1;t-1}},filter:{type:Function,default:function(e,t){var n=this;return e.filter((function(e){var a=n.getOptionLabel(e);return"number"==typeof a&&(a=a.toString()),n.filterBy(e,a,t)}))}},createOption:{type:Function,default:function(e){return"object"===i()(this.optionList[0])?s()({},this.label,e):e}},resetFocusOnOptionsChange:{type:Boolean,default:!0},resetOnOptionsChange:{default:!1,validator:function(e){return["function","boolean"].includes(i()(e))}},clearSearchOnBlur:{type:Function,default:function(e){var t=e.clearSearchOnSelect,n=e.multiple;return t&&!n}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:function(){return[13]}},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:function(e,t){return e}},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default:function(e,t,n){var a=n.width,r=n.top,i=n.left;e.style.top=r,e.style.left=i,e.style.width=a}},dropdownShouldOpen:{type:Function,default:function(e){var t=e.noDrop,n=e.open,a=e.mutableLoading;return!t&&n&&!a}},keyboardFocusBorder:{type:Boolean,default:!1},uid:{type:[String,Number],default:function(){return++f}}},data:function(){return{search:"",open:!1,isComposing:!1,isKeyboardNavigation:!1,pushedTags:[],_value:[]}},computed:{isTrackingValues:function(){return void 0===this.value||this.$options.propsData.hasOwnProperty("reduce")},selectedValue:function(){var e=this.value;return this.isTrackingValues&&(e=this.$data._value),null!=e&&""!==e?[].concat(e):[]},optionList:function(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl:function(){return this.$scopedSlots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope:function(){var e=this,t={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:g({id:this.inputId,disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,role:"combobox","aria-autocomplete":"list","aria-label":this.ariaLabelCombobox,"aria-controls":"vs-".concat(this.uid,"__listbox"),"aria-owns":"vs-".concat(this.uid,"__listbox"),"aria-expanded":this.dropdownOpen.toString(),ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":"vs-".concat(this.uid,"__option-").concat(this.typeAheadPointer)}:{}),events:{compositionstart:function(){return e.isComposing=!0},compositionend:function(){return e.isComposing=!1},keydown:this.onSearchKeyDown,keypress:this.onSearchKeyPress,blur:this.onSearchBlur,focus:this.onSearchFocus,input:function(t){return e.search=t.target.value}}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:t,listFooter:t,header:g({},t,{deselect:this.deselect}),footer:g({},t,{deselect:this.deselect})}},childComponents:function(){return g({},h,{},this.components)},stateClasses:function(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching:function(){return!!this.search},dropdownOpen:function(){return this.dropdownShouldOpen(this)},searchPlaceholder:function(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions:function(){var e=this,t=function(t){return null!==e.limit?t.slice(0,e.limit):t},n=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return t(n);var a=this.search.length?this.filter(n,this.search,this):n;if(this.taggable&&this.search.length){var r=this.createOption(this.search);this.optionExists(r)||a.unshift(r)}return t(a)},isValueEmpty:function(){return 0===this.selectedValue.length},showClearButton:function(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options:function(e,t){var n=this;!this.taggable&&("function"==typeof n.resetOnOptionsChange?n.resetOnOptionsChange(e,t,n.selectedValue):n.resetOnOptionsChange)&&this.clearSelection(),this.value&&this.isTrackingValues&&this.setInternalValueFromOptions(this.value)},value:{immediate:!0,handler:function(e){this.isTrackingValues&&this.setInternalValueFromOptions(e)}},multiple:function(){this.clearSelection()},open:function(e){this.$emit(e?"open":"close")},search:function(e){e.length&&(this.open=!0)}},created:function(){this.mutableLoading=this.loading,this.$on("option:created",this.pushTag)},methods:{setInternalValueFromOptions:function(e){var t=this;Array.isArray(e)?this.$data._value=e.map((function(e){return t.findOptionFromReducedValue(e)})):this.$data._value=this.findOptionFromReducedValue(e)},select:function(e){this.$emit("option:selecting",e),this.isOptionSelected(e)?this.deselectFromDropdown&&(this.clearable||this.multiple&&this.selectedValue.length>1)&&this.deselect(e):(this.taggable&&!this.optionExists(e)&&this.$emit("option:created",e),this.multiple&&(e=this.selectedValue.concat(e)),this.updateValue(e),this.$emit("option:selected",e)),this.onAfterSelect(e)},deselect:function(e){var t=this;this.$emit("option:deselecting",e),this.updateValue(this.selectedValue.filter((function(n){return!t.optionComparator(n,e)}))),this.$emit("option:deselected",e)},keyboardDeselect:function(e,t){var n,a;this.deselect(e);var r=null===(n=this.$refs.deselectButtons)||void 0===n?void 0:n[t+1],i=null===(a=this.$refs.deselectButtons)||void 0===a?void 0:a[t-1],o=null!=r?r:i;o?o.focus():this.searchEl.focus()},clearSelection:function(){this.updateValue(this.multiple?[]:null),this.searchEl.focus()},onAfterSelect:function(e){var t=this;this.closeOnSelect&&(this.open=!this.open),this.clearSearchOnSelect&&(this.search=""),this.noDrop&&this.multiple&&this.$nextTick((function(){return t.$refs.search.focus()}))},updateValue:function(e){var t=this;void 0===this.value&&(this.$data._value=e),null!==e&&(e=Array.isArray(e)?e.map((function(e){return t.reduce(e)})):this.reduce(e)),this.$emit("input",e)},toggleDropdown:function(e){var n=e.target!==this.searchEl;n&&e.preventDefault();var a=[].concat(t()(this.$refs.deselectButtons||[]),t()([this.$refs.clearButton]||0));void 0===this.searchEl||a.filter(Boolean).some((function(t){return t.contains(e.target)||t===e.target}))?e.preventDefault():this.open&&n?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected:function(e){var t=this;return this.selectedValue.some((function(n){return t.optionComparator(n,e)}))},isOptionDeselectable:function(e){return this.isOptionSelected(e)&&this.deselectFromDropdown},hasKeyboardFocusBorder:function(e){return!(!this.keyboardFocusBorder||!this.isKeyboardNavigation)&&e===this.typeAheadPointer},optionComparator:function(e,t){return this.getOptionKey(e)===this.getOptionKey(t)},findOptionFromReducedValue:function(e){var n=this,a=[].concat(t()(this.options),t()(this.pushedTags)).filter((function(t){return JSON.stringify(n.reduce(t))===JSON.stringify(e)}));return 1===a.length?a[0]:a.find((function(e){return n.optionComparator(e,n.$data._value)}))||e},closeSearchOptions:function(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue:function(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){var e=null;this.multiple&&(e=t()(this.selectedValue.slice(0,this.selectedValue.length-1))),this.updateValue(e)}},optionExists:function(e){var t=this;return this.optionList.some((function(n){return t.optionComparator(n,e)}))},optionAriaSelected:function(e){return this.selectable(e)?String(this.isOptionSelected(e)):null},normalizeOptionForSlot:function(e){return"object"===i()(e)?e:s()({},this.label,e)},pushTag:function(e){this.pushedTags.push(e)},onEscape:function(){this.search.length?this.search="":this.open=!1},onSearchBlur:function(){if(!this.mousedown||this.searching){var e=this.clearSearchOnSelect,t=this.multiple;return this.clearSearchOnBlur({clearSearchOnSelect:e,multiple:t})&&(this.search=""),void this.closeSearchOptions()}this.mousedown=!1,0!==this.search.length||0!==this.options.length||this.closeSearchOptions()},onSearchFocus:function(){this.open=!0,this.$emit("search:focus")},onMousedown:function(){this.mousedown=!0},onMouseUp:function(){this.mousedown=!1},onMouseMove:function(e,t){this.isKeyboardNavigation=!1,this.selectable(e)&&(this.typeAheadPointer=t)},onSearchKeyDown:function(e){var t=this,n=function(e){if(e.preventDefault(),t.open)return!t.isComposing&&t.typeAheadSelect();t.open=!0},a={8:function(e){return t.maybeDeleteValue()},9:function(e){return t.onTab()},27:function(e){return t.onEscape()},38:function(e){if(e.preventDefault(),t.isKeyboardNavigation=!0,t.open)return t.typeAheadUp();t.open=!0},40:function(e){if(e.preventDefault(),t.isKeyboardNavigation=!0,t.open)return t.typeAheadDown();t.open=!0}};this.selectOnKeyCodes.forEach((function(e){return a[e]=n}));var r=this.mapKeydown(a,this);if("function"==typeof r[e.keyCode])return r[e.keyCode](e)},onSearchKeyPress:function(e){this.open||32!==e.keyCode||(e.preventDefault(),this.open=!0)}}},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"v-select",class:e.stateClasses,attrs:{id:"v-select-"+e.uid,dir:e.dir}},[e._t("header",null,null,e.scope.header),e._v(" "),n("div",{ref:"toggle",staticClass:"vs__dropdown-toggle"},[n("div",{ref:"selectedOptions",staticClass:"vs__selected-options",on:{mousedown:e.toggleDropdown}},[e._l(e.selectedValue,(function(t,a){return e._t("selected-option-container",[n("span",{key:e.getOptionKey(t),staticClass:"vs__selected"},[e._t("selected-option",[e._v("\n "+e._s(e.getOptionLabel(t))+"\n ")],null,e.normalizeOptionForSlot(t)),e._v(" "),e.multiple?n("button",{ref:"deselectButtons",refInFor:!0,staticClass:"vs__deselect",attrs:{disabled:e.disabled,type:"button",title:e.ariaLabelDeselectOption(e.getOptionLabel(t)),"aria-label":e.ariaLabelDeselectOption(e.getOptionLabel(t))},on:{mousedown:function(n){return n.stopPropagation(),e.deselect(t)},keydown:function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:e.keyboardDeselect(t,a)}}},[n(e.childComponents.Deselect,{tag:"component"})],1):e._e()],2)],{option:e.normalizeOptionForSlot(t),deselect:e.deselect,multiple:e.multiple,disabled:e.disabled})})),e._v(" "),e._t("search",[n("input",e._g(e._b({staticClass:"vs__search"},"input",e.scope.search.attributes,!1),e.scope.search.events))],null,e.scope.search)],2),e._v(" "),n("div",{ref:"actions",staticClass:"vs__actions"},[n("button",{directives:[{name:"show",rawName:"v-show",value:e.showClearButton,expression:"showClearButton"}],ref:"clearButton",staticClass:"vs__clear",attrs:{disabled:e.disabled,type:"button",title:e.ariaLabelClearSelected,"aria-label":e.ariaLabelClearSelected},on:{click:e.clearSelection}},[n(e.childComponents.Deselect,{tag:"component"})],1),e._v(" "),e.noDrop?e._e():n("button",{ref:"openIndicatorButton",staticClass:"vs__open-indicator-button",attrs:{type:"button",tabindex:"-1","aria-labelledby":"vs-"+e.uid+"__listbox","aria-controls":"vs-"+e.uid+"__listbox","aria-expanded":e.dropdownOpen.toString()},on:{mousedown:e.toggleDropdown}},[e._t("open-indicator",[n(e.childComponents.OpenIndicator,e._b({tag:"component"},"component",e.scope.openIndicator.attributes,!1))],null,e.scope.openIndicator)],2),e._v(" "),e._t("spinner",[n("div",{directives:[{name:"show",rawName:"v-show",value:e.mutableLoading,expression:"mutableLoading"}],staticClass:"vs__spinner"},[e._v("Loading...")])],null,e.scope.spinner)],2)]),e._v(" "),n("transition",{attrs:{name:e.transition}},[e.dropdownOpen?n("ul",{directives:[{name:"append-to-body",rawName:"v-append-to-body"}],key:"vs-"+e.uid+"__listbox",ref:"dropdownMenu",staticClass:"vs__dropdown-menu",attrs:{id:"vs-"+e.uid+"__listbox",role:"listbox","aria-label":e.ariaLabelListbox,"aria-multiselectable":e.multiple,tabindex:"-1"},on:{mousedown:function(t){return t.preventDefault(),e.onMousedown(t)},mouseup:e.onMouseUp}},[e._t("list-header",null,null,e.scope.listHeader),e._v(" "),e._l(e.filteredOptions,(function(t,a){return n("li",{key:e.getOptionKey(t),staticClass:"vs__dropdown-option",class:{"vs__dropdown-option--deselect":e.isOptionDeselectable(t)&&a===e.typeAheadPointer,"vs__dropdown-option--selected":e.isOptionSelected(t),"vs__dropdown-option--highlight":a===e.typeAheadPointer,"vs__dropdown-option--kb-focus":e.hasKeyboardFocusBorder(a),"vs__dropdown-option--disabled":!e.selectable(t)},attrs:{id:"vs-"+e.uid+"__option-"+a,role:"option","aria-selected":e.optionAriaSelected(t)},on:{mousemove:function(n){return e.onMouseMove(t,a)},click:function(n){n.preventDefault(),n.stopPropagation(),e.selectable(t)&&e.select(t)}}},[e._t("option",[e._v("\n "+e._s(e.getOptionLabel(t))+"\n ")],null,e.normalizeOptionForSlot(t))],2)})),e._v(" "),0===e.filteredOptions.length?n("li",{staticClass:"vs__no-options"},[e._t("no-options",[e._v("\n Sorry, no matching options.\n ")],null,e.scope.noOptions)],2):e._e(),e._v(" "),e._t("list-footer",null,null,e.scope.listFooter)],2):n("ul",{staticStyle:{display:"none",visibility:"hidden"},attrs:{id:"vs-"+e.uid+"__listbox",role:"listbox","aria-label":e.ariaLabelListbox}})]),e._v(" "),e._t("footer",null,null,e.scope.footer)],2)}),[],!1,null,null,null).exports,v={ajax:d,pointer:u,pointerScroll:l},A=_})(),a})()},8110:(e,t,n)=>{"use strict";n.d(t,{K:()=>a,N:()=>r});const a="devtools-plugin:setup",r="plugin:settings:set"},80082:(e,t,n)=>{"use strict";function a(){return r().__VUE_DEVTOOLS_GLOBAL_HOOK__}function r(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:{}}n.d(t,{Cx:()=>i,EW:()=>r,HH:()=>a});const i="function"==typeof Proxy},63757:(e,t,n)=>{"use strict";if(n.d(t,{$q:()=>o}),/^(2(122|131|689|882)|1171|6776|7062)$/.test(n.j))var a=n(80082);if(/^(2(122|131|689|882)|1171|6776|7062)$/.test(n.j))var r=n(8110);if(/^(2(122|131|689|882)|1171|6776|7062)$/.test(n.j))var i=n(7285);function o(e,t){const n=e,o=(0,a.EW)(),s=(0,a.HH)(),l=a.Cx&&n.enableEarlyProxy;if(!s||!o.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&l){const e=l?new i.R(n,s):null;(o.__VUE_DEVTOOLS_PLUGINS__=o.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:e}),e&&t(e.proxiedTarget)}else s.emit(r.K,e,t)}},7285:(e,t,n)=>{"use strict";if(n.d(t,{R:()=>i}),/^(2(122|131|689|882)|1171|6776|7062)$/.test(n.j))var a=n(8110);if(/^(2(122|131|689|882)|1171|6776|7062)$/.test(n.j))var r=n(22308);class i{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const n={};if(e.settings)for(const t in e.settings){const a=e.settings[t];n[t]=a.defaultValue}const i=`__vue-devtools-plugin-settings__${e.id}`;let o=Object.assign({},n);try{const e=localStorage.getItem(i),t=JSON.parse(e);Object.assign(o,t)}catch(e){}this.fallbacks={getSettings:()=>o,setSettings(e){try{localStorage.setItem(i,JSON.stringify(e))}catch(e){}o=e},now:()=>(0,r.M)()},t&&t.on(a.N,((e,t)=>{e===this.plugin.id&&this.fallbacks.setSettings(t)})),this.proxiedOn=new Proxy({},{get:(e,t)=>this.target?this.target.on[t]:(...e)=>{this.onQueue.push({method:t,args:e})}}),this.proxiedTarget=new Proxy({},{get:(e,t)=>this.target?this.target[t]:"on"===t?this.proxiedOn:Object.keys(this.fallbacks).includes(t)?(...e)=>(this.targetQueue.push({method:t,args:e,resolve:()=>{}}),this.fallbacks[t](...e)):(...e)=>new Promise((n=>{this.targetQueue.push({method:t,args:e,resolve:n})}))})}async setRealTarget(e){this.target=e;for(const e of this.onQueue)this.target.on[e.method](...e.args);for(const e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}},22308:(e,t,n)=>{"use strict";let a,r;function i(){return void 0!==a||("undefined"!=typeof window&&window.performance?(a=!0,r=window.performance):"undefined"!=typeof globalThis&&(null===(e=globalThis.perf_hooks)||void 0===e?void 0:e.performance)?(a=!0,r=globalThis.perf_hooks.performance):a=!1),a?r.now():Date.now();var e}n.d(t,{M:()=>i})},44849:(e,t,n)=>{const a=n(34581),{MAX_LENGTH:r,MAX_SAFE_INTEGER:i}=n(12003),{safeRe:o,t:s}=n(47405),l=n(12890),{compareIdentifiers:u}=n(63138);class d{constructor(e,t){if(t=l(t),e instanceof d){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>r)throw new TypeError(`version is longer than ${r} characters`);a("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?o[s.LOOSE]:o[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[a]&&(this.prerelease[a]++,a=-2);if(-1===a){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let a=[t,e];!1===n&&(a=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=a):this.prerelease=a}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=d},54881:(e,t,n)=>{const a=n(44849);e.exports=(e,t)=>new a(e,t).major},99855:(e,t,n)=>{const a=n(44849);e.exports=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e instanceof a)return e;try{return new a(e,t)}catch(e){if(!n)return null;throw e}}},3974:(e,t,n)=>{const a=n(99855);e.exports=(e,t)=>{const n=a(e,t);return n?n.version:null}},12003:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},34581:(e,t,n)=>{var a=n(65606);const r="object"==typeof a&&a.env&&a.env.NODE_DEBUG&&/\bsemver\b/i.test(a.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=new Array(e),n=0;n{};e.exports=r},63138:e=>{const t=/^[0-9]+$/,n=(e,n)=>{const a=t.test(e),r=t.test(n);return a&&r&&(e=+e,n=+n),e===n?0:a&&!r?-1:r&&!a?1:en(t,e)}},12890:e=>{const t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},47405:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:a,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:i}=n(12003),o=n(34581),s=(t=e.exports={}).re=[],l=t.safeRe=[],u=t.src=[],d=t.t={};let c=0;const h="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",i],[h,r]],f=(e,t,n)=>{const a=(e=>{for(const[t,n]of p)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e})(t),r=c++;o(e,r,t),d[e]=r,u[r]=t,s[r]=new RegExp(t,n?"g":void 0),l[r]=new RegExp(a,n?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${h}*`),f("MAINVERSION",`(${u[d.NUMERICIDENTIFIER]})\\.(${u[d.NUMERICIDENTIFIER]})\\.(${u[d.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${u[d.NUMERICIDENTIFIERLOOSE]})\\.(${u[d.NUMERICIDENTIFIERLOOSE]})\\.(${u[d.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${u[d.NUMERICIDENTIFIER]}|${u[d.NONNUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${u[d.NUMERICIDENTIFIERLOOSE]}|${u[d.NONNUMERICIDENTIFIER]})`),f("PRERELEASE",`(?:-(${u[d.PRERELEASEIDENTIFIER]}(?:\\.${u[d.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${u[d.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[d.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER",`${h}+`),f("BUILD",`(?:\\+(${u[d.BUILDIDENTIFIER]}(?:\\.${u[d.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${u[d.MAINVERSION]}${u[d.PRERELEASE]}?${u[d.BUILD]}?`),f("FULL",`^${u[d.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${u[d.MAINVERSIONLOOSE]}${u[d.PRERELEASELOOSE]}?${u[d.BUILD]}?`),f("LOOSE",`^${u[d.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${u[d.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${u[d.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${u[d.XRANGEIDENTIFIER]})(?:\\.(${u[d.XRANGEIDENTIFIER]})(?:\\.(${u[d.XRANGEIDENTIFIER]})(?:${u[d.PRERELEASE]})?${u[d.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${u[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[d.XRANGEIDENTIFIERLOOSE]})(?:${u[d.PRERELEASELOOSE]})?${u[d.BUILD]}?)?)?`),f("XRANGE",`^${u[d.GTLT]}\\s*${u[d.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${u[d.GTLT]}\\s*${u[d.XRANGEPLAINLOOSE]}$`),f("COERCEPLAIN",`(^|[^\\d])(\\d{1,${a}})(?:\\.(\\d{1,${a}}))?(?:\\.(\\d{1,${a}}))?`),f("COERCE",`${u[d.COERCEPLAIN]}(?:$|[^\\d])`),f("COERCEFULL",u[d.COERCEPLAIN]+`(?:${u[d.PRERELEASE]})?`+`(?:${u[d.BUILD]})?(?:$|[^\\d])`),f("COERCERTL",u[d.COERCE],!0),f("COERCERTLFULL",u[d.COERCEFULL],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${u[d.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",f("TILDE",`^${u[d.LONETILDE]}${u[d.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${u[d.LONETILDE]}${u[d.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${u[d.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",f("CARET",`^${u[d.LONECARET]}${u[d.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${u[d.LONECARET]}${u[d.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${u[d.GTLT]}\\s*(${u[d.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${u[d.GTLT]}\\s*(${u[d.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${u[d.GTLT]}\\s*(${u[d.LOOSEPLAIN]}|${u[d.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${u[d.XRANGEPLAIN]})\\s+-\\s+(${u[d.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${u[d.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[d.XRANGEPLAINLOOSE]})\\s*$`),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},44349:function(e,t,n){"use strict";var a;!function(){if("function"!=typeof r){var r=function(e){return e};r.nonNative=!0}const i=r("plaintext"),o=r("html"),s=r("comment"),l=/<(\w*)>/g,u=/<\/?([^\s\/>]+)/;function d(e,t,n){return h(e=e||"",c(t=t||[],n=n||""))}function c(e,t){return{allowable_tags:e=function(e){let t=new Set;if("string"==typeof e){let n;for(;n=l.exec(e);)t.add(n[1])}else r.nonNative||"function"!=typeof e[r.iterator]?"function"==typeof e.forEach&&e.forEach(t.add,t):t=new Set(e);return t}(e),tag_replacement:t,state:i,tag_buffer:"",depth:0,in_quote_char:""}}function h(e,t){if("string"!=typeof e)throw new TypeError("'html' parameter must be a string");let n=t.allowable_tags,a=t.tag_replacement,r=t.state,l=t.tag_buffer,u=t.depth,d=t.in_quote_char,c="";for(let t=0,h=e.length;t":if(d)break;if(u){u--;break}d="",r=i,l+=">",n.has(p(l))?c+=l:c+=a,l="";break;case'"':case"'":d=h===d?"":d||h,l+=h;break;case"-":""===h?("--"==l.slice(-2)&&(r=i),l=""):l+=h)}return t.state=r,t.tag_buffer=l,t.depth=u,t.in_quote_char=d,c}function p(e){let t=u.exec(e);return t?t[1].toLowerCase():null}d.init_streaming_mode=function(e,t){let n=c(e=e||[],t=t||"");return function(e){return h(e||"",n)}},void 0===(a=function(){return d}.call(t,n,t,e))||(e.exports=a)}()},84093:function(e){var t;t=function(e){var t=function(e){return new t.lib.init(e)};function n(e,t){return t.offset[e]?isNaN(t.offset[e])?t.offset[e]:t.offset[e]+"px":"0px"}function a(e,t){return!(!e||"string"!=typeof t||!(e.className&&e.className.trim().split(/\s+/gi).indexOf(t)>-1))}return t.defaults={oldestFirst:!0,text:"Toastify is awesome!",node:void 0,duration:3e3,selector:void 0,callback:function(){},destination:void 0,newWindow:!1,close:!1,gravity:"toastify-top",positionLeft:!1,position:"",backgroundColor:"",avatar:"",className:"",stopOnFocus:!0,onClick:function(){},offset:{x:0,y:0},escapeMarkup:!0,ariaLive:"polite",style:{background:""}},t.lib=t.prototype={toastify:"1.12.0",constructor:t,init:function(e){return e||(e={}),this.options={},this.toastElement=null,this.options.text=e.text||t.defaults.text,this.options.node=e.node||t.defaults.node,this.options.duration=0===e.duration?0:e.duration||t.defaults.duration,this.options.selector=e.selector||t.defaults.selector,this.options.callback=e.callback||t.defaults.callback,this.options.destination=e.destination||t.defaults.destination,this.options.newWindow=e.newWindow||t.defaults.newWindow,this.options.close=e.close||t.defaults.close,this.options.gravity="bottom"===e.gravity?"toastify-bottom":t.defaults.gravity,this.options.positionLeft=e.positionLeft||t.defaults.positionLeft,this.options.position=e.position||t.defaults.position,this.options.backgroundColor=e.backgroundColor||t.defaults.backgroundColor,this.options.avatar=e.avatar||t.defaults.avatar,this.options.className=e.className||t.defaults.className,this.options.stopOnFocus=void 0===e.stopOnFocus?t.defaults.stopOnFocus:e.stopOnFocus,this.options.onClick=e.onClick||t.defaults.onClick,this.options.offset=e.offset||t.defaults.offset,this.options.escapeMarkup=void 0!==e.escapeMarkup?e.escapeMarkup:t.defaults.escapeMarkup,this.options.ariaLive=e.ariaLive||t.defaults.ariaLive,this.options.style=e.style||t.defaults.style,e.backgroundColor&&(this.options.style.background=e.backgroundColor),this},buildToast:function(){if(!this.options)throw"Toastify is not initialized";var e=document.createElement("div");for(var t in e.className="toastify on "+this.options.className,this.options.position?e.className+=" toastify-"+this.options.position:!0===this.options.positionLeft?(e.className+=" toastify-left",console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")):e.className+=" toastify-right",e.className+=" "+this.options.gravity,this.options.backgroundColor&&console.warn('DEPRECATION NOTICE: "backgroundColor" is being deprecated. Please use the "style.background" property.'),this.options.style)e.style[t]=this.options.style[t];if(this.options.ariaLive&&e.setAttribute("aria-live",this.options.ariaLive),this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE)e.appendChild(this.options.node);else if(this.options.escapeMarkup?e.innerText=this.options.text:e.innerHTML=this.options.text,""!==this.options.avatar){var a=document.createElement("img");a.src=this.options.avatar,a.className="toastify-avatar","left"==this.options.position||!0===this.options.positionLeft?e.appendChild(a):e.insertAdjacentElement("afterbegin",a)}if(!0===this.options.close){var r=document.createElement("button");r.type="button",r.setAttribute("aria-label","Close"),r.className="toast-close",r.innerHTML="✖",r.addEventListener("click",function(e){e.stopPropagation(),this.removeElement(this.toastElement),window.clearTimeout(this.toastElement.timeOutValue)}.bind(this));var i=window.innerWidth>0?window.innerWidth:screen.width;("left"==this.options.position||!0===this.options.positionLeft)&&i>360?e.insertAdjacentElement("afterbegin",r):e.appendChild(r)}if(this.options.stopOnFocus&&this.options.duration>0){var o=this;e.addEventListener("mouseover",(function(t){window.clearTimeout(e.timeOutValue)})),e.addEventListener("mouseleave",(function(){e.timeOutValue=window.setTimeout((function(){o.removeElement(e)}),o.options.duration)}))}if(void 0!==this.options.destination&&e.addEventListener("click",function(e){e.stopPropagation(),!0===this.options.newWindow?window.open(this.options.destination,"_blank"):window.location=this.options.destination}.bind(this)),"function"==typeof this.options.onClick&&void 0===this.options.destination&&e.addEventListener("click",function(e){e.stopPropagation(),this.options.onClick()}.bind(this)),"object"==typeof this.options.offset){var s=n("x",this.options),l=n("y",this.options),u="left"==this.options.position?s:"-"+s,d="toastify-top"==this.options.gravity?l:"-"+l;e.style.transform="translate("+u+","+d+")"}return e},showToast:function(){var e;if(this.toastElement=this.buildToast(),!(e="string"==typeof this.options.selector?document.getElementById(this.options.selector):this.options.selector instanceof HTMLElement||"undefined"!=typeof ShadowRoot&&this.options.selector instanceof ShadowRoot?this.options.selector:document.body))throw"Root element is not defined";var n=t.defaults.oldestFirst?e.firstChild:e.lastChild;return e.insertBefore(this.toastElement,n),t.reposition(),this.options.duration>0&&(this.toastElement.timeOutValue=window.setTimeout(function(){this.removeElement(this.toastElement)}.bind(this),this.options.duration)),this},hideToast:function(){this.toastElement.timeOutValue&&clearTimeout(this.toastElement.timeOutValue),this.removeElement(this.toastElement)},removeElement:function(e){e.className=e.className.replace(" on",""),window.setTimeout(function(){this.options.node&&this.options.node.parentNode&&this.options.node.parentNode.removeChild(this.options.node),e.parentNode&&e.parentNode.removeChild(e),this.options.callback.call(e),t.reposition()}.bind(this),400)}},t.reposition=function(){for(var e,t={top:15,bottom:15},n={top:15,bottom:15},r={top:15,bottom:15},i=document.getElementsByClassName("toastify"),o=0;o0?window.innerWidth:screen.width)<=360?(i[o].style[e]=r[e]+"px",r[e]+=s+15):!0===a(i[o],"toastify-left")?(i[o].style[e]=t[e]+"px",t[e]+=s+15):(i[o].style[e]=n[e]+"px",n[e]+=s+15)}return this},t.lib.init.prototype=t.lib,t},e.exports?e.exports=t():this.Toastify=t()},80284:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>lt});var a=n(82284),r=n(49922);function i(e,t,n){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){for(var n=0;n=0)return 1;return 0}(),u=s&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),l))}};function d(e){return e&&"[object Function]"==={}.toString.call(e)}function c(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function h(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function p(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=c(e),n=t.overflow,a=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(n+r+a)?e:p(h(e))}function f(e){return e&&e.referenceNode?e.referenceNode:e}var m=s&&!(!window.MSInputMethodContext||!document.documentMode),g=s&&/MSIE 10/.test(navigator.userAgent);function _(e){return 11===e?m:10===e?g:m||g}function v(e){if(!e)return document.documentElement;for(var t=_(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var a=n&&n.nodeName;return a&&"BODY"!==a&&"HTML"!==a?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===c(n,"position")?v(n):n:e?e.ownerDocument.documentElement:document.documentElement}function A(e){return null!==e.parentNode?A(e.parentNode):e}function b(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,a=n?e:t,r=n?t:e,i=document.createRange();i.setStart(a,0),i.setEnd(r,0);var o,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||a.contains(r))return"BODY"===(s=(o=l).nodeName)||"HTML"!==s&&v(o.firstElementChild)!==o?v(l):l;var u=A(e);return u.host?b(u.host,t):b(e,A(t).host)}function y(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var a=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||a)[t]}return e[t]}function F(e,t){var n="x"===t?"Left":"Top",a="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+a+"Width"])}function k(e,t,n,a){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],_(10)?parseInt(n["offset"+e])+parseInt(a["margin"+("Height"===e?"Top":"Left")])+parseInt(a["margin"+("Height"===e?"Bottom":"Right")]):0)}function w(e){var t=e.body,n=e.documentElement,a=_(10)&&getComputedStyle(n);return{height:k("Height",t,n,a),width:k("Width",t,n,a)}}var C=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],a=_(10),r="HTML"===t.nodeName,i=D(e),o=D(t),s=p(e),l=c(t),u=parseFloat(l.borderTopWidth),d=parseFloat(l.borderLeftWidth);n&&r&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var h=x({top:i.top-o.top-u,left:i.left-o.left-d,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!a&&r){var f=parseFloat(l.marginTop),m=parseFloat(l.marginLeft);h.top-=u-f,h.bottom-=u-f,h.left-=d-m,h.right-=d-m,h.marginTop=f,h.marginLeft=m}return(a&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(h=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=y(t,"top"),r=y(t,"left"),i=n?-1:1;return e.top+=a*i,e.bottom+=a*i,e.left+=r*i,e.right+=r*i,e}(h,t)),h}function B(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===c(e,"position"))return!0;var n=h(e);return!!n&&B(n)}function M(e){if(!e||!e.parentElement||_())return document.documentElement;for(var t=e.parentElement;t&&"none"===c(t,"transform");)t=t.parentElement;return t||document.documentElement}function L(e,t,n,a){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},o=r?M(e):b(e,f(t));if("viewport"===a)i=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,a=S(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),o=t?0:y(n),s=t?0:y(n,"left");return x({top:o-a.top+a.marginTop,left:s-a.left+a.marginLeft,width:r,height:i})}(o,r);else{var s=void 0;"scrollParent"===a?"BODY"===(s=p(h(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===a?e.ownerDocument.documentElement:a;var l=S(s,o,r);if("HTML"!==s.nodeName||B(o))i=l;else{var u=w(e.ownerDocument),d=u.height,c=u.width;i.top+=l.top-l.marginTop,i.bottom=d+l.top,i.left+=l.left-l.marginLeft,i.right=c+l.left}}var m="number"==typeof(n=n||0);return i.left+=m?n:n.left||0,i.top+=m?n:n.top||0,i.right-=m?n:n.right||0,i.bottom-=m?n:n.bottom||0,i}function N(e,t,n,a,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var o=L(n,a,i,r),s={top:{width:o.width,height:t.top-o.top},right:{width:o.right-t.right,height:o.height},bottom:{width:o.width,height:o.bottom-t.bottom},left:{width:t.left-o.left,height:o.height}},l=Object.keys(s).map((function(e){return T({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t})).sort((function(e,t){return t.area-e.area})),u=l.filter((function(e){var t=e.width,a=e.height;return t>=n.clientWidth&&a>=n.clientHeight})),d=u.length>0?u[0].key:l[0].key,c=e.split("-")[1];return d+(c?"-"+c:"")}function j(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return S(n,a?M(t):b(t,f(n)),a)}function O(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),a=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+a,height:e.offsetHeight+n}}function Y(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function P(e,t,n){n=n.split("-")[0];var a=O(e),r={width:a.width,height:a.height},i=-1!==["right","left"].indexOf(n),o=i?"top":"left",s=i?"left":"top",l=i?"height":"width",u=i?"width":"height";return r[o]=t[o]+t[l]/2-a[l]/2,r[s]=n===s?t[s]-a[u]:t[Y(s)],r}function R(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function I(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var a=R(e,(function(e){return e[t]===n}));return e.indexOf(a)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&d(n)&&(t.offsets.popper=x(t.offsets.popper),t.offsets.reference=x(t.offsets.reference),t=n(t,e))})),t}function H(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=j(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=N(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=P(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=I(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function z(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function q(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),a=0;a1&&void 0!==arguments[1]&&arguments[1],n=te.indexOf(e),a=te.slice(n+1).concat(te.slice(0,n));return t?a.reverse():a}var ae={shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],a=t.split("-")[1];if(a){var r=e.offsets,i=r.reference,o=r.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",u=s?"width":"height",d={start:E({},l,i[l]),end:E({},l,i[l]+i[u]-o[u])};e.offsets.popper=T({},o,d[a])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n,a=t.offset,r=e.placement,i=e.offsets,o=i.popper,s=i.reference,l=r.split("-")[0];return n=X(+a)?[+a,0]:function(e,t,n,a){var r=[0,0],i=-1!==["right","left"].indexOf(a),o=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=o.indexOf(R(o,(function(e){return-1!==e.search(/,|\s/)})));o[s]&&-1===o[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==s?[o.slice(0,s).concat([o[s].split(l)[0]]),[o[s].split(l)[1]].concat(o.slice(s+1))]:[o];return(u=u.map((function(e,a){var r=(1===a?!i:i)?"height":"width",o=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,o=!0,e):o?(e[e.length-1]+=t,o=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,a){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+r[1],o=r[2];return i?0===o.indexOf("%")?x("%p"===o?n:a)[t]/100*i:"vh"===o||"vw"===o?("vh"===o?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i:i:e}(e,r,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,a){X(n)&&(r[t]+=n*("-"===e[a-1]?-1:1))}))})),r}(a,o,s,l),"left"===l?(o.top+=n[0],o.left-=n[1]):"right"===l?(o.top+=n[0],o.left+=n[1]):"top"===l?(o.left+=n[0],o.top-=n[1]):"bottom"===l&&(o.left+=n[0],o.top+=n[1]),e.popper=o,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||v(e.instance.popper);e.instance.reference===n&&(n=v(n));var a=q("transform"),r=e.instance.popper.style,i=r.top,o=r.left,s=r[a];r.top="",r.left="",r[a]="";var l=L(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);r.top=i,r.left=o,r[a]=s,t.boundaries=l;var u=t.priority,d=e.offsets.popper,c={primary:function(e){var n=d[e];return d[e]l[e]&&!t.escapeWithReference&&(a=Math.min(d[n],l[e]-("right"===e?d.width:d.height))),E({},n,a)}};return u.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";d=T({},d,c[t](e))})),e.offsets.popper=d,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,a=t.reference,r=e.placement.split("-")[0],i=Math.floor,o=-1!==["top","bottom"].indexOf(r),s=o?"right":"bottom",l=o?"left":"top",u=o?"width":"height";return n[s]i(a[s])&&(e.offsets.popper[l]=i(a[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Q(e.instance.modifiers,"arrow","keepTogether"))return e;var a=t.element;if("string"==typeof a){if(!(a=e.instance.popper.querySelector(a)))return e}else if(!e.instance.popper.contains(a))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],i=e.offsets,o=i.popper,s=i.reference,l=-1!==["left","right"].indexOf(r),u=l?"height":"width",d=l?"Top":"Left",h=d.toLowerCase(),p=l?"left":"top",f=l?"bottom":"right",m=O(a)[u];s[f]-mo[f]&&(e.offsets.popper[h]+=s[h]+m-o[f]),e.offsets.popper=x(e.offsets.popper);var g=s[h]+s[u]/2-m/2,_=c(e.instance.popper),v=parseFloat(_["margin"+d]),A=parseFloat(_["border"+d+"Width"]),b=g-e.offsets.popper[h]-v-A;return b=Math.max(Math.min(o[u]-m,b),0),e.arrowElement=a,e.offsets.arrow=(E(n={},h,Math.round(b)),E(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(z(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=L(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),a=e.placement.split("-")[0],r=Y(a),i=e.placement.split("-")[1]||"",o=[];switch(t.behavior){case"flip":o=[a,r];break;case"clockwise":o=ne(a);break;case"counterclockwise":o=ne(a,!0);break;default:o=t.behavior}return o.forEach((function(s,l){if(a!==s||o.length===l+1)return e;a=e.placement.split("-")[0],r=Y(a);var u=e.offsets.popper,d=e.offsets.reference,c=Math.floor,h="left"===a&&c(u.right)>c(d.left)||"right"===a&&c(u.left)c(d.top)||"bottom"===a&&c(u.top)c(n.right),m=c(u.top)c(n.bottom),_="left"===a&&p||"right"===a&&f||"top"===a&&m||"bottom"===a&&g,v=-1!==["top","bottom"].indexOf(a),A=!!t.flipVariations&&(v&&"start"===i&&p||v&&"end"===i&&f||!v&&"start"===i&&m||!v&&"end"===i&&g),b=!!t.flipVariationsByContent&&(v&&"start"===i&&f||v&&"end"===i&&p||!v&&"start"===i&&g||!v&&"end"===i&&m),y=A||b;(h||_||y)&&(e.flipped=!0,(h||_)&&(a=o[l+1]),y&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=a+(i?"-"+i:""),e.offsets.popper=T({},e.offsets.popper,P(e.instance.popper,e.offsets.reference,e.placement)),e=I(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],a=e.offsets,r=a.popper,i=a.reference,o=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[o?"left":"top"]=i[n]-(s?r[o?"width":"height"]:0),e.placement=Y(t),e.offsets.popper=x(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Q(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=R(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(a.update)},this.update=u(this.update.bind(this)),this.options=T({},e.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(T({},e.Defaults.modifiers,r.modifiers)).forEach((function(t){a.options.modifiers[t]=T({},e.Defaults.modifiers[t]||{},r.modifiers?r.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return T({name:e},a.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&d(e.onLoad)&&e.onLoad(a.reference,a.popper,a.options,e,a.state)})),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return C(e,[{key:"update",value:function(){return H.call(this)}},{key:"destroy",value:function(){return U.call(this)}},{key:"enableEventListeners",value:function(){return W.call(this)}},{key:"disableEventListeners",value:function(){return V.call(this)}}]),e}();ie.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,ie.placements=ee,ie.Defaults=re;const oe=ie;var se,le=n(2404),ue=n.n(le);function de(){de.init||(de.init=!0,se=-1!==function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var a=e.indexOf("Edge/");return a>0?parseInt(e.substring(a+5,e.indexOf(".",a)),10):-1}())}function ce(e,t,n,a,r,i,o,s,l,u){"boolean"!=typeof o&&(l=s,s=o,o=!1);var d,c="function"==typeof n?n.options:n;if(e&&e.render&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,r&&(c.functional=!0)),a&&(c._scopeId=a),i?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(i)},c._ssrRegister=d):t&&(d=o?function(e){t.call(this,u(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),d)if(c.functional){var h=c.render;c.render=function(e,t){return d.call(t),h(e,t)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,d):[d]}return n}var he={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted:function(){var e=this;de(),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",se&&this.$el.appendChild(t),t.data="about:blank",se||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&&(!se&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},pe=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})};pe._withStripped=!0;var fe=ce({render:pe,staticRenderFns:[]},void 0,he,"data-v-8859cc6c",!1,void 0,!1,void 0,void 0,void 0),me={version:"1.0.1",install:function(e){e.component("resize-observer",fe),e.component("ResizeObserver",fe)}},ge=null;"undefined"!=typeof window?ge=window.Vue:void 0!==n.g&&(ge=n.g.Vue),ge&&ge.use(me);var _e=n(55364),ve=n.n(_e),Ae=function(){};function be(e){return"string"==typeof e&&(e=e.split(" ")),e}function ye(e,t){var n,a=be(t);n=e.className instanceof Ae?be(e.className.baseVal):be(e.className),a.forEach((function(e){-1===n.indexOf(e)&&n.push(e)})),e instanceof SVGElement?e.setAttribute("class",n.join(" ")):e.className=n.join(" ")}function Fe(e,t){var n,a=be(t);n=e.className instanceof Ae?be(e.className.baseVal):be(e.className),a.forEach((function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1)})),e instanceof SVGElement?e.setAttribute("class",n.join(" ")):e.className=n.join(" ")}"undefined"!=typeof window&&(Ae=window.SVGAnimatedString);var ke=!1;if("undefined"!=typeof window){ke=!1;try{var we=Object.defineProperty({},"passive",{get:function(){ke=!0}});window.addEventListener("test",null,we)}catch(e){}}function Ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ee(e){for(var t=1;t ',trigger:"hover focus",offset:0},xe=[],De=function(){function e(t,n){var a=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),i(this,"_events",[]),i(this,"_setTooltipNodeEvent",(function(e,t,n,r){var i=e.relatedreference||e.toElement||e.relatedTarget;return!!a._tooltipNode.contains(i)&&(a._tooltipNode.addEventListener(e.type,(function n(i){var o=i.relatedreference||i.toElement||i.relatedTarget;a._tooltipNode.removeEventListener(e.type,n),t.contains(o)||a._scheduleHide(t,r.delay,r,i)})),!0)})),n=Ee(Ee({},Te),n),t.jquery&&(t=t[0]),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.reference=t,this.options=n,this._isOpen=!1,this._init()}var t,n;return t=e,(n=[{key:"show",value:function(){this._show(this.reference,this.options)}},{key:"hide",value:function(){this._hide()}},{key:"dispose",value:function(){this._dispose()}},{key:"toggle",value:function(){return this._isOpen?this.hide():this.show()}},{key:"setClasses",value:function(e){this._classes=e}},{key:"setContent",value:function(e){this.options.title=e,this._tooltipNode&&this._setContent(e,this.options)}},{key:"setOptions",value:function(e){var t=!1,n=e&&e.classes||Ie.options.defaultClass;ue()(this._classes,n)||(this.setClasses(n),t=!0),e=je(e);var a=!1,r=!1;for(var i in this.options.offset===e.offset&&this.options.placement===e.placement||(a=!0),(this.options.template!==e.template||this.options.trigger!==e.trigger||this.options.container!==e.container||t)&&(r=!0),e)this.options[i]=e[i];if(this._tooltipNode)if(r){var o=this._isOpen;this.dispose(),this._init(),o&&this.show()}else a&&this.popperInstance.update()}},{key:"_init",value:function(){var e="string"==typeof this.options.trigger?this.options.trigger.split(" "):[];this._isDisposed=!1,this._enableDocumentTouch=-1===e.indexOf("manual"),e=e.filter((function(e){return-1!==["click","hover","focus"].indexOf(e)})),this._setEventListeners(this.reference,e,this.options),this.$_originalTitle=this.reference.getAttribute("title"),this.reference.removeAttribute("title"),this.reference.setAttribute("data-original-title",this.$_originalTitle)}},{key:"_create",value:function(e,t){var n=this,a=window.document.createElement("div");a.innerHTML=t.trim();var r=a.childNodes[0];return r.id=this.options.ariaId||"tooltip_".concat(Math.random().toString(36).substr(2,10)),r.setAttribute("aria-hidden","true"),this.options.autoHide&&-1!==this.options.trigger.indexOf("hover")&&(r.addEventListener("mouseenter",(function(t){return n._scheduleHide(e,n.options.delay,n.options,t)})),r.addEventListener("click",(function(t){return n._scheduleHide(e,n.options.delay,n.options,t)}))),r}},{key:"_setContent",value:function(e,t){var n=this;this.asyncContent=!1,this._applyContent(e,t).then((function(){n.popperInstance&&n.popperInstance.update()}))}},{key:"_applyContent",value:function(e,t){var n=this;return new Promise((function(a,r){var i=t.html,o=n._tooltipNode;if(o){var s=o.querySelector(n.options.innerSelector);if(1===e.nodeType){if(i){for(;s.firstChild;)s.removeChild(s.firstChild);s.appendChild(e)}}else{if("function"==typeof e){var l=e();return void(l&&"function"==typeof l.then?(n.asyncContent=!0,t.loadingClass&&ye(o,t.loadingClass),t.loadingContent&&n._applyContent(t.loadingContent,t),l.then((function(e){return t.loadingClass&&Fe(o,t.loadingClass),n._applyContent(e,t)})).then(a).catch(r)):n._applyContent(l,t).then(a).catch(r))}i?s.innerHTML=e:s.innerText=e}a()}}))}},{key:"_show",value:function(e,t){if(!t||"string"!=typeof t.container||document.querySelector(t.container)){clearTimeout(this._disposeTimer),delete(t=Object.assign({},t)).offset;var n=!0;this._tooltipNode&&(ye(this._tooltipNode,this._classes),n=!1);var a=this._ensureShown(e,t);return n&&this._tooltipNode&&ye(this._tooltipNode,this._classes),ye(e,["v-tooltip-open"]),a}}},{key:"_ensureShown",value:function(e,t){var n=this;if(this._isOpen)return this;if(this._isOpen=!0,xe.push(this),this._tooltipNode)return this._tooltipNode.style.display="",this._tooltipNode.setAttribute("aria-hidden","false"),this.popperInstance.enableEventListeners(),this.popperInstance.update(),this.asyncContent&&this._setContent(t.title,t),this;var a=e.getAttribute("title")||t.title;if(!a)return this;var r=this._create(e,t.template);this._tooltipNode=r,e.setAttribute("aria-describedby",r.id);var i=this._findContainer(t.container,e);this._append(r,i);var o=Ee(Ee({},t.popperOptions),{},{placement:t.placement});return o.modifiers=Ee(Ee({},o.modifiers),{},{arrow:{element:this.options.arrowSelector}}),t.boundariesElement&&(o.modifiers.preventOverflow={boundariesElement:t.boundariesElement}),this.popperInstance=new oe(e,r,o),this._setContent(a,t),requestAnimationFrame((function(){!n._isDisposed&&n.popperInstance?(n.popperInstance.update(),requestAnimationFrame((function(){n._isDisposed?n.dispose():n._isOpen&&r.setAttribute("aria-hidden","false")}))):n.dispose()})),this}},{key:"_noLongerOpen",value:function(){var e=xe.indexOf(this);-1!==e&&xe.splice(e,1)}},{key:"_hide",value:function(){var e=this;if(!this._isOpen)return this;this._isOpen=!1,this._noLongerOpen(),this._tooltipNode.style.display="none",this._tooltipNode.setAttribute("aria-hidden","true"),this.popperInstance&&this.popperInstance.disableEventListeners(),clearTimeout(this._disposeTimer);var t=Ie.options.disposeTimeout;return null!==t&&(this._disposeTimer=setTimeout((function(){e._tooltipNode&&(e._tooltipNode.removeEventListener("mouseenter",e.hide),e._tooltipNode.removeEventListener("click",e.hide),e._removeTooltipNode())}),t)),Fe(this.reference,["v-tooltip-open"]),this}},{key:"_removeTooltipNode",value:function(){if(this._tooltipNode){var e=this._tooltipNode.parentNode;e&&(e.removeChild(this._tooltipNode),this.reference.removeAttribute("aria-describedby")),this._tooltipNode=null}}},{key:"_dispose",value:function(){var e=this;return this._isDisposed=!0,this.reference.removeAttribute("data-original-title"),this.$_originalTitle&&this.reference.setAttribute("title",this.$_originalTitle),this._events.forEach((function(t){var n=t.func,a=t.event;e.reference.removeEventListener(a,n)})),this._events=[],this._tooltipNode?(this._hide(),this._tooltipNode.removeEventListener("mouseenter",this.hide),this._tooltipNode.removeEventListener("click",this.hide),this.popperInstance.destroy(),this.popperInstance.options.removeOnDestroy||this._removeTooltipNode()):this._noLongerOpen(),this}},{key:"_findContainer",value:function(e,t){return"string"==typeof e?e=window.document.querySelector(e):!1===e&&(e=t.parentNode),e}},{key:"_append",value:function(e,t){t.appendChild(e)}},{key:"_setEventListeners",value:function(e,t,n){var a=this,r=[],i=[];t.forEach((function(e){switch(e){case"hover":r.push("mouseenter"),i.push("mouseleave"),a.options.hideOnTargetClick&&i.push("click");break;case"focus":r.push("focus"),i.push("blur"),a.options.hideOnTargetClick&&i.push("click");break;case"click":r.push("click"),i.push("click")}})),r.forEach((function(t){var r=function(t){!0!==a._isOpen&&(t.usedByTooltip=!0,a._scheduleShow(e,n.delay,n,t))};a._events.push({event:t,func:r}),e.addEventListener(t,r)})),i.forEach((function(t){var r=function(t){!0!==t.usedByTooltip&&a._scheduleHide(e,n.delay,n,t)};a._events.push({event:t,func:r}),e.addEventListener(t,r)}))}},{key:"_onDocumentTouch",value:function(e){this._enableDocumentTouch&&this._scheduleHide(this.reference,this.options.delay,this.options,e)}},{key:"_scheduleShow",value:function(e,t,n){var a=this,r=t&&t.show||t||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout((function(){return a._show(e,n)}),r)}},{key:"_scheduleHide",value:function(e,t,n,a){var r=this,i=t&&t.hide||t||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout((function(){if(!1!==r._isOpen&&r._tooltipNode.ownerDocument.body.contains(r._tooltipNode)){if("mouseleave"===a.type&&r._setTooltipNodeEvent(a,e,t,n))return;r._hide(e,n)}}),i)}}])&&o(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Be(e){for(var t=1;t