"use strict";(()=>{(self.webpackChunktalk=self.webpackChunktalk||[]).push([["defaultVendors-node_modules_nextcloud_vue_dist_chunks_NcListItem-DCh0J8Z4_mjs"],{97871:(u,o,e)=>{e.d(o,{A:()=>d});var r=e(71354),c=e.n(r),m=e(76314),f=e.n(m),l=f()(c());l.push([u.id,`/**
 * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
/**
 * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
/*
* Ensure proper alignment of the vue material icons
*/
.material-design-icon[data-v-11322bad] {
  display: flex;
  align-self: center;
  justify-self: center;
  align-items: center;
  justify-content: center;
}
.counter-bubble__counter[data-v-11322bad] {
  --counter-bubble-height: 22px;
  font-size: var(--font-size-small, 13px);
  overflow: hidden;
  width: fit-content;
  min-width: var(--counter-bubble-height);
  text-align: center;
  line-height: var(--counter-bubble-height);
  padding: 0 calc(1.5 * var(--default-grid-baseline));
  border-radius: var(--border-radius-pill);
  background-color: var(--color-primary-element-light);
  font-weight: bold;
  color: var(--color-primary-element-light-text);
}
.counter-bubble__counter .active[data-v-11322bad] {
  color: var(--color-main-background);
  background-color: var(--color-primary-element-light);
}
.counter-bubble__counter--highlighted[data-v-11322bad] {
  color: var(--color-primary-element-text);
  background-color: var(--color-primary-element);
}
.counter-bubble__counter--highlighted.active[data-v-11322bad] {
  color: var(--color-primary-element);
  background-color: var(--color-main-background);
}
.counter-bubble__counter--outlined[data-v-11322bad] {
  color: var(--color-primary-element);
  background: transparent;
  box-shadow: inset 0 0 0 2px;
}
.counter-bubble__counter--outlined.active[data-v-11322bad] {
  color: var(--color-main-background);
  box-shadow: inset 0 0 0 2px;
}`,"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/NcCounterBubble-DdYmHnng.css"],names:[],mappings:"AAAA;;;EAGE;AACF;;;EAGE;AACF;;CAEC;AACD;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,6BAA6B;EAC7B,uCAAuC;EACvC,gBAAgB;EAChB,kBAAkB;EAClB,uCAAuC;EACvC,kBAAkB;EAClB,yCAAyC;EACzC,mDAAmD;EACnD,wCAAwC;EACxC,oDAAoD;EACpD,iBAAiB;EACjB,8CAA8C;AAChD;AACA;EACE,mCAAmC;EACnC,oDAAoD;AACtD;AACA;EACE,wCAAwC;EACxC,8CAA8C;AAChD;AACA;EACE,mCAAmC;EACnC,8CAA8C;AAChD;AACA;EACE,mCAAmC;EACnC,uBAAuB;EACvB,2BAA2B;AAC7B;AACA;EACE,mCAAmC;EACnC,2BAA2B;AAC7B",sourcesContent:[`/**
 * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
/**
 * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
/*
* Ensure proper alignment of the vue material icons
*/
.material-design-icon[data-v-11322bad] {
  display: flex;
  align-self: center;
  justify-self: center;
  align-items: center;
  justify-content: center;
}
.counter-bubble__counter[data-v-11322bad] {
  --counter-bubble-height: 22px;
  font-size: var(--font-size-small, 13px);
  overflow: hidden;
  width: fit-content;
  min-width: var(--counter-bubble-height);
  text-align: center;
  line-height: var(--counter-bubble-height);
  padding: 0 calc(1.5 * var(--default-grid-baseline));
  border-radius: var(--border-radius-pill);
  background-color: var(--color-primary-element-light);
  font-weight: bold;
  color: var(--color-primary-element-light-text);
}
.counter-bubble__counter .active[data-v-11322bad] {
  color: var(--color-main-background);
  background-color: var(--color-primary-element-light);
}
.counter-bubble__counter--highlighted[data-v-11322bad] {
  color: var(--color-primary-element-text);
  background-color: var(--color-primary-element);
}
.counter-bubble__counter--highlighted.active[data-v-11322bad] {
  color: var(--color-primary-element);
  background-color: var(--color-main-background);
}
.counter-bubble__counter--outlined[data-v-11322bad] {
  color: var(--color-primary-element);
  background: transparent;
  box-shadow: inset 0 0 0 2px;
}
.counter-bubble__counter--outlined.active[data-v-11322bad] {
  color: var(--color-main-background);
  box-shadow: inset 0 0 0 2px;
}`],sourceRoot:""}]);const d=l},32971:(u,o,e)=>{e.d(o,{A:()=>d});var r=e(71354),c=e.n(r),m=e(76314),f=e.n(m),l=f()(c());l.push([u.id,`/**
 * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
/**
 * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
/*
* Ensure proper alignment of the vue material icons
*/
.material-design-icon[data-v-1f0837cf] {
  display: flex;
  align-self: center;
  justify-self: center;
  align-items: center;
  justify-content: center;
}
.list-item__wrapper[data-v-1f0837cf] {
  display: flex;
  position: relative;
  width: 100%;
  padding: 2px 4px;
}
.list-item__wrapper[data-v-1f0837cf]:first-of-type {
  padding-block-start: 4px;
}
.list-item__wrapper[data-v-1f0837cf]:last-of-type {
  padding-block-end: 4px;
}
.list-item__wrapper--active .list-item[data-v-1f0837cf], .list-item__wrapper.active .list-item[data-v-1f0837cf] {
  background-color: var(--color-primary-element);
  color: var(--color-primary-element-text) !important;
}
.list-item__wrapper--active .list-item[data-v-1f0837cf]:hover, .list-item__wrapper--active .list-item[data-v-1f0837cf]:focus-within, .list-item__wrapper--active .list-item[data-v-1f0837cf]:has(:focus-visible), .list-item__wrapper--active .list-item[data-v-1f0837cf]:has(:active), .list-item__wrapper.active .list-item[data-v-1f0837cf]:hover, .list-item__wrapper.active .list-item[data-v-1f0837cf]:focus-within, .list-item__wrapper.active .list-item[data-v-1f0837cf]:has(:focus-visible), .list-item__wrapper.active .list-item[data-v-1f0837cf]:has(:active) {
  background-color: var(--color-primary-element-hover);
}
.list-item__wrapper--active .list-item-content__name[data-v-1f0837cf],
.list-item__wrapper--active .list-item-content__subname[data-v-1f0837cf],
.list-item__wrapper--active .list-item-content__details[data-v-1f0837cf],
.list-item__wrapper--active .list-item-details__details[data-v-1f0837cf], .list-item__wrapper.active .list-item-content__name[data-v-1f0837cf],
.list-item__wrapper.active .list-item-content__subname[data-v-1f0837cf],
.list-item__wrapper.active .list-item-content__details[data-v-1f0837cf],
.list-item__wrapper.active .list-item-details__details[data-v-1f0837cf] {
  color: var(--color-primary-element-text) !important;
}
.list-item__wrapper .list-item-content__name[data-v-1f0837cf],
.list-item__wrapper .list-item-content__subname[data-v-1f0837cf],
.list-item__wrapper .list-item-content__details[data-v-1f0837cf],
.list-item__wrapper .list-item-details__details[data-v-1f0837cf] {
  white-space: nowrap;
  margin: 0 auto 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list-item-content__name[data-v-1f0837cf] {
  min-width: 100px;
  flex: 1 1 10%;
  font-weight: 500;
}
.list-item-content__subname[data-v-1f0837cf] {
  flex: 1 0;
  min-width: 0;
  color: var(--color-text-maxcontrast);
}
.list-item-content__subname--bold[data-v-1f0837cf] {
  font-weight: 500;
}
.list-item[data-v-1f0837cf] {
  --list-item-padding: var(--default-grid-baseline);
  --list-item-height: 2lh;
  --list-item-border-radius: var(--border-radius-element, 32px);
  box-sizing: border-box;
  display: flex;
  position: relative;
  flex: 0 0 auto;
  justify-content: flex-start;
  padding: var(--list-item-padding);
  width: 100%;
  border-radius: var(--border-radius-element, 32px);
  cursor: pointer;
  transition: background-color var(--animation-quick) ease-in-out;
  list-style: none;
}
.list-item[data-v-1f0837cf]:hover, .list-item[data-v-1f0837cf]:focus-within, .list-item[data-v-1f0837cf]:has(:active), .list-item[data-v-1f0837cf]:has(:focus-visible) {
  background-color: var(--color-background-hover);
}
.list-item[data-v-1f0837cf]:has(.list-item__anchor:focus-visible) {
  outline: 2px solid var(--color-main-text);
  box-shadow: 0 0 0 4px var(--color-main-background);
}
.list-item--compact[data-v-1f0837cf] {
  --list-item-padding: calc(0.5 * var(--default-grid-baseline)) var(--default-grid-baseline);
}
.list-item--compact[data-v-1f0837cf]:not(:has(.list-item-content__subname)) {
  --list-item-height: var(--default-clickable-area);
}
.list-item--legacy[data-v-1f0837cf] {
  --list-item-padding: calc(2 * var(--default-grid-baseline));
}
.list-item--legacy.list-item--compact[data-v-1f0837cf] {
  --list-item-padding: var(--default-grid-baseline) calc(2 * var(--default-grid-baseline));
}
.list-item--one-line[data-v-1f0837cf] {
  --list-item-height: var(--default-clickable-area);
  --list-item-border-radius: var(--border-radius-element, calc(var(--default-clickable-area) / 2));
  --list-item-padding: var(--default-grid-baseline);
}
.list-item--one-line.list-item--one-line--legacy[data-v-1f0837cf] {
  --list-item-padding: 2px calc((var(--list-item-height) - var(--list-item-border-radius)) / 2);
}
.list-item--one-line .list-item-content__main[data-v-1f0837cf] {
  display: flex;
  justify-content: start;
  gap: 12px;
  min-width: 0;
}
.list-item--one-line .list-item-content__details[data-v-1f0837cf] {
  flex-direction: row;
  align-items: center;
  justify-content: end;
}
.list-item--one-line .list-item-content__name[data-v-1f0837cf] {
  align-self: center;
  max-width: 300px;
}
.list-item__anchor[data-v-1f0837cf] {
  color: inherit;
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  height: var(--list-item-height);
  min-width: 0;
}
.list-item__anchor[data-v-1f0837cf]:focus-visible {
  outline: none;
}
.list-item-content[data-v-1f0837cf] {
  display: flex;
  flex: 1 0;
  justify-content: space-between;
  padding-left: calc(2 * var(--default-grid-baseline));
  min-width: 0;
}
.list-item-content__main[data-v-1f0837cf] {
  flex: 1 0;
  width: 0;
  margin: auto 0;
}
.list-item-content__main--oneline[data-v-1f0837cf] {
  display: flex;
}
.list-item-content__details[data-v-1f0837cf] {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
}
.list-item-content__actions[data-v-1f0837cf], .list-item-content__extra-actions[data-v-1f0837cf] {
  flex: 0 0 auto;
  align-self: center;
  justify-content: center;
  margin-left: var(--default-grid-baseline);
}
.list-item-content__extra-actions[data-v-1f0837cf] {
  display: flex;
  align-items: center;
  gap: var(--default-grid-baseline);
}
.list-item-details__details[data-v-1f0837cf] {
  color: var(--color-text-maxcontrast);
  margin: 0 9px !important;
  font-weight: normal;
}
.list-item-details__extra[data-v-1f0837cf] {
  margin: 2px 4px 0 4px;
  display: flex;
  align-items: center;
}
.list-item-details__indicator[data-v-1f0837cf] {
  margin: 0 5px;
}
.list-item__extra[data-v-1f0837cf] {
  margin-top: var(--default-grid-baseline);
}`,"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/NcListItem-BBu5UTTe.css"],names:[],mappings:"AAAA;;;EAGE;AACF;;;EAGE;AACF;;CAEC;AACD;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,aAAa;EACb,kBAAkB;EAClB,WAAW;EACX,gBAAgB;AAClB;AACA;EACE,wBAAwB;AAC1B;AACA;EACE,sBAAsB;AACxB;AACA;EACE,8CAA8C;EAC9C,mDAAmD;AACrD;AACA;EACE,oDAAoD;AACtD;AACA;;;;;;;EAOE,mDAAmD;AACrD;AACA;;;;EAIE,mBAAmB;EACnB,kBAAkB;EAClB,gBAAgB;EAChB,uBAAuB;AACzB;AACA;EACE,gBAAgB;EAChB,aAAa;EACb,gBAAgB;AAClB;AACA;EACE,SAAS;EACT,YAAY;EACZ,oCAAoC;AACtC;AACA;EACE,gBAAgB;AAClB;AACA;EACE,iDAAiD;EACjD,uBAAuB;EACvB,6DAA6D;EAC7D,sBAAsB;EACtB,aAAa;EACb,kBAAkB;EAClB,cAAc;EACd,2BAA2B;EAC3B,iCAAiC;EACjC,WAAW;EACX,iDAAiD;EACjD,eAAe;EACf,+DAA+D;EAC/D,gBAAgB;AAClB;AACA;EACE,+CAA+C;AACjD;AACA;EACE,yCAAyC;EACzC,kDAAkD;AACpD;AACA;EACE,0FAA0F;AAC5F;AACA;EACE,iDAAiD;AACnD;AACA;EACE,2DAA2D;AAC7D;AACA;EACE,wFAAwF;AAC1F;AACA;EACE,iDAAiD;EACjD,gGAAgG;EAChG,iDAAiD;AACnD;AACA;EACE,6FAA6F;AAC/F;AACA;EACE,aAAa;EACb,sBAAsB;EACtB,SAAS;EACT,YAAY;AACd;AACA;EACE,mBAAmB;EACnB,mBAAmB;EACnB,oBAAoB;AACtB;AACA;EACE,kBAAkB;EAClB,gBAAgB;AAClB;AACA;EACE,cAAc;EACd,aAAa;EACb,cAAc;EACd,mBAAmB;EACnB,+BAA+B;EAC/B,YAAY;AACd;AACA;EACE,aAAa;AACf;AACA;EACE,aAAa;EACb,SAAS;EACT,8BAA8B;EAC9B,oDAAoD;EACpD,YAAY;AACd;AACA;EACE,SAAS;EACT,QAAQ;EACR,cAAc;AAChB;AACA;EACE,aAAa;AACf;AACA;EACE,aAAa;EACb,sBAAsB;EACtB,oBAAoB;EACpB,gBAAgB;AAClB;AACA;EACE,cAAc;EACd,kBAAkB;EAClB,uBAAuB;EACvB,yCAAyC;AAC3C;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,iCAAiC;AACnC;AACA;EACE,oCAAoC;EACpC,wBAAwB;EACxB,mBAAmB;AACrB;AACA;EACE,qBAAqB;EACrB,aAAa;EACb,mBAAmB;AACrB;AACA;EACE,aAAa;AACf;AACA;EACE,wCAAwC;AAC1C",sourcesContent:[`/**
 * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
/**
 * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
/*
* Ensure proper alignment of the vue material icons
*/
.material-design-icon[data-v-1f0837cf] {
  display: flex;
  align-self: center;
  justify-self: center;
  align-items: center;
  justify-content: center;
}
.list-item__wrapper[data-v-1f0837cf] {
  display: flex;
  position: relative;
  width: 100%;
  padding: 2px 4px;
}
.list-item__wrapper[data-v-1f0837cf]:first-of-type {
  padding-block-start: 4px;
}
.list-item__wrapper[data-v-1f0837cf]:last-of-type {
  padding-block-end: 4px;
}
.list-item__wrapper--active .list-item[data-v-1f0837cf], .list-item__wrapper.active .list-item[data-v-1f0837cf] {
  background-color: var(--color-primary-element);
  color: var(--color-primary-element-text) !important;
}
.list-item__wrapper--active .list-item[data-v-1f0837cf]:hover, .list-item__wrapper--active .list-item[data-v-1f0837cf]:focus-within, .list-item__wrapper--active .list-item[data-v-1f0837cf]:has(:focus-visible), .list-item__wrapper--active .list-item[data-v-1f0837cf]:has(:active), .list-item__wrapper.active .list-item[data-v-1f0837cf]:hover, .list-item__wrapper.active .list-item[data-v-1f0837cf]:focus-within, .list-item__wrapper.active .list-item[data-v-1f0837cf]:has(:focus-visible), .list-item__wrapper.active .list-item[data-v-1f0837cf]:has(:active) {
  background-color: var(--color-primary-element-hover);
}
.list-item__wrapper--active .list-item-content__name[data-v-1f0837cf],
.list-item__wrapper--active .list-item-content__subname[data-v-1f0837cf],
.list-item__wrapper--active .list-item-content__details[data-v-1f0837cf],
.list-item__wrapper--active .list-item-details__details[data-v-1f0837cf], .list-item__wrapper.active .list-item-content__name[data-v-1f0837cf],
.list-item__wrapper.active .list-item-content__subname[data-v-1f0837cf],
.list-item__wrapper.active .list-item-content__details[data-v-1f0837cf],
.list-item__wrapper.active .list-item-details__details[data-v-1f0837cf] {
  color: var(--color-primary-element-text) !important;
}
.list-item__wrapper .list-item-content__name[data-v-1f0837cf],
.list-item__wrapper .list-item-content__subname[data-v-1f0837cf],
.list-item__wrapper .list-item-content__details[data-v-1f0837cf],
.list-item__wrapper .list-item-details__details[data-v-1f0837cf] {
  white-space: nowrap;
  margin: 0 auto 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list-item-content__name[data-v-1f0837cf] {
  min-width: 100px;
  flex: 1 1 10%;
  font-weight: 500;
}
.list-item-content__subname[data-v-1f0837cf] {
  flex: 1 0;
  min-width: 0;
  color: var(--color-text-maxcontrast);
}
.list-item-content__subname--bold[data-v-1f0837cf] {
  font-weight: 500;
}
.list-item[data-v-1f0837cf] {
  --list-item-padding: var(--default-grid-baseline);
  --list-item-height: 2lh;
  --list-item-border-radius: var(--border-radius-element, 32px);
  box-sizing: border-box;
  display: flex;
  position: relative;
  flex: 0 0 auto;
  justify-content: flex-start;
  padding: var(--list-item-padding);
  width: 100%;
  border-radius: var(--border-radius-element, 32px);
  cursor: pointer;
  transition: background-color var(--animation-quick) ease-in-out;
  list-style: none;
}
.list-item[data-v-1f0837cf]:hover, .list-item[data-v-1f0837cf]:focus-within, .list-item[data-v-1f0837cf]:has(:active), .list-item[data-v-1f0837cf]:has(:focus-visible) {
  background-color: var(--color-background-hover);
}
.list-item[data-v-1f0837cf]:has(.list-item__anchor:focus-visible) {
  outline: 2px solid var(--color-main-text);
  box-shadow: 0 0 0 4px var(--color-main-background);
}
.list-item--compact[data-v-1f0837cf] {
  --list-item-padding: calc(0.5 * var(--default-grid-baseline)) var(--default-grid-baseline);
}
.list-item--compact[data-v-1f0837cf]:not(:has(.list-item-content__subname)) {
  --list-item-height: var(--default-clickable-area);
}
.list-item--legacy[data-v-1f0837cf] {
  --list-item-padding: calc(2 * var(--default-grid-baseline));
}
.list-item--legacy.list-item--compact[data-v-1f0837cf] {
  --list-item-padding: var(--default-grid-baseline) calc(2 * var(--default-grid-baseline));
}
.list-item--one-line[data-v-1f0837cf] {
  --list-item-height: var(--default-clickable-area);
  --list-item-border-radius: var(--border-radius-element, calc(var(--default-clickable-area) / 2));
  --list-item-padding: var(--default-grid-baseline);
}
.list-item--one-line.list-item--one-line--legacy[data-v-1f0837cf] {
  --list-item-padding: 2px calc((var(--list-item-height) - var(--list-item-border-radius)) / 2);
}
.list-item--one-line .list-item-content__main[data-v-1f0837cf] {
  display: flex;
  justify-content: start;
  gap: 12px;
  min-width: 0;
}
.list-item--one-line .list-item-content__details[data-v-1f0837cf] {
  flex-direction: row;
  align-items: center;
  justify-content: end;
}
.list-item--one-line .list-item-content__name[data-v-1f0837cf] {
  align-self: center;
  max-width: 300px;
}
.list-item__anchor[data-v-1f0837cf] {
  color: inherit;
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  height: var(--list-item-height);
  min-width: 0;
}
.list-item__anchor[data-v-1f0837cf]:focus-visible {
  outline: none;
}
.list-item-content[data-v-1f0837cf] {
  display: flex;
  flex: 1 0;
  justify-content: space-between;
  padding-left: calc(2 * var(--default-grid-baseline));
  min-width: 0;
}
.list-item-content__main[data-v-1f0837cf] {
  flex: 1 0;
  width: 0;
  margin: auto 0;
}
.list-item-content__main--oneline[data-v-1f0837cf] {
  display: flex;
}
.list-item-content__details[data-v-1f0837cf] {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
}
.list-item-content__actions[data-v-1f0837cf], .list-item-content__extra-actions[data-v-1f0837cf] {
  flex: 0 0 auto;
  align-self: center;
  justify-content: center;
  margin-left: var(--default-grid-baseline);
}
.list-item-content__extra-actions[data-v-1f0837cf] {
  display: flex;
  align-items: center;
  gap: var(--default-grid-baseline);
}
.list-item-details__details[data-v-1f0837cf] {
  color: var(--color-text-maxcontrast);
  margin: 0 9px !important;
  font-weight: normal;
}
.list-item-details__extra[data-v-1f0837cf] {
  margin: 2px 4px 0 4px;
  display: flex;
  align-items: center;
}
.list-item-details__indicator[data-v-1f0837cf] {
  margin: 0 5px;
}
.list-item__extra[data-v-1f0837cf] {
  margin-top: var(--default-grid-baseline);
}`],sourceRoot:""}]);const d=l},23610:(u,o,e)=>{e.d(o,{A:()=>d});var r=e(51431);const c={name:"NcVNodes",props:{vnodes:{type:[Array,Object],default:null}},render(p){return this.vnodes||this.$slots?.default||this.$scopedSlots?.default?.()}};var l=(0,r.n)(c,null,null,!1,null,null);const d=l.exports},29302:(u,o,e)=>{e.d(o,{N:()=>S});var r=e(85072),c=e.n(r),m=e(97825),f=e.n(m),l=e(77659),d=e.n(l),p=e(55056),h=e.n(p),g=e(10540),b=e.n(g),E=e(41113),B=e.n(E),A=e(97871),n={};n.styleTagTransform=B(),n.setAttributes=h(),n.insert=d().bind(null,"head"),n.domAPI=f(),n.insertStyleElement=b();var T=c()(A.A,n);const O=A.A&&A.A.locals?A.A.locals:void 0;var y=e(53334),x=e(51431);const D={name:"NcCounterBubble",props:{type:{type:String,default:"",validator(s){return["highlighted","outlined",""].includes(s)}},active:{type:Boolean,default:!1},count:{type:Number,required:!1,default:void 0},raw:{type:Boolean,required:!1,default:!1}},computed:{counterClassObject(){return{"counter-bubble__counter--highlighted":this.type==="highlighted","counter-bubble__counter--outlined":this.type==="outlined",active:this.active}},humanizedCount(){return this.humanizeCount(this.count)}},methods:{humanizeCount(s){return this.raw?s:new Intl.NumberFormat((0,y.lO)(),{notation:"compact",compactDisplay:"short"}).format(s)},getHumanizedCount(){if(this.count!==void 0)return this.humanizedCount;if(!this.raw&&this.$slots.default?.length===1){const s=this.$slots.default[0].text?.trim();if(s&&/^\d+$/.test(s)){const C=parseInt(s,10);return this.humanizeCount(C)}}}},render(s){return s("div",{staticClass:"counter-bubble__counter",class:this.counterClassObject},[this.getHumanizedCount()??this.$slots.default])}};var w=(0,x.n)(D,null,null,!1,null,"11322bad");const S=w.exports},9893:(u,o,e)=>{e.d(o,{N:()=>j});var r=e(85072),c=e.n(r),m=e(97825),f=e.n(m),l=e(77659),d=e.n(l),p=e(55056),h=e.n(p),g=e(10540),b=e.n(g),E=e(41113),B=e.n(E),A=e(32971),n={};n.styleTagTransform=B(),n.setAttributes=h(),n.insert=d().bind(null,"head"),n.domAPI=f(),n.insertStyleElement=b();var T=c()(A.A,n);const O=A.A&&A.A.locals?A.A.locals:void 0;var y=e(58638),x=e(29302),D=e(23610),_=e(97382),P=e(51431);(0,_.r)(_.i);const w={name:"NcListItem",components:{NcActions:y.N,NcCounterBubble:x.N,NcVNodes:D.A},props:{details:{type:String,default:""},name:{type:String,required:!0},exact:{type:Boolean,default:!1},to:{type:[String,Object],default:null},href:{type:String,default:"#"},target:{type:String,default:""},anchorId:{type:String,default:""},bold:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},active:{type:Boolean,default:!1},linkAriaLabel:{type:String,default:""},actionsAriaLabel:{type:String,default:""},counterNumber:{type:[Number,String],default:0},counterType:{type:String,default:"",validator(i){return["highlighted","outlined",""].indexOf(i)!==-1}},forceDisplayActions:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},oneLine:{type:Boolean,default:!1}},emits:["click","update:menuOpen"],setup(){const[i]=window._oc_config?.version.split(".",2)??[];return{isLegacy:i&&Number.parseInt(i)<30}},data(){return{hovered:!1,hasActions:!1,hasSubname:!1,displayActionsOnHoverFocus:!1,menuOpen:!1,hasIndicator:!1,hasDetails:!1}},computed:{showAdditionalElements(){return!this.displayActionsOnHoverFocus||this.forceDisplayActions},showDetails(){return(this.details!==""||this.hasDetails)&&(!this.displayActionsOnHoverFocus||this.forceDisplayActions)},computedActionsAriaLabel(){return this.actionsAriaLabel||(0,_.a)('Actions for item with name "{name}"',{name:this.name})}},watch:{menuOpen(i){!i&&!this.hovered&&(this.displayActionsOnHoverFocus=!1)}},mounted(){this.checkSlots()},updated(){this.checkSlots()},methods:{onClick(i,t,a){this.$emit("click",i),!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)&&a&&(t?.(i),i.preventDefault())},showActions(){this.hasActions&&(this.displayActionsOnHoverFocus=!0),this.hovered=!1},hideActions(){this.displayActionsOnHoverFocus=!1},handleBlur(i){this.menuOpen||this.$refs["list-item"].contains(i.relatedTarget)||this.hideActions()},handleMouseleave(){this.menuOpen||(this.displayActionsOnHoverFocus=!1),this.hovered=!1},handleMouseover(){this.showActions(),this.hovered=!0},handleActionsUpdateOpen(i){this.menuOpen=i,this.$emit("update:menuOpen",i)},checkSlots(){this.hasActions!==!!this.$slots.actions&&(this.hasActions=!!this.$slots.actions),this.hasSubname!==!!this.$slots.subname&&(this.hasSubname=!!this.$slots.subname),this.hasIndicator!==!!this.$slots.indicator&&(this.hasIndicator=!!this.$slots.indicator),this.hasDetails!==!!this.$slots.details&&(this.hasDetails=!!this.$slots.details)}}};var S=function(){var t=this,a=t._self._c;return a(t.to?"router-link":"NcVNodes",{tag:"component",attrs:{custom:t.to?!0:null,to:t.to,exact:t.to?t.exact:null},scopedSlots:t._u([{key:"default",fn:function({href:k,navigate:L,isActive:N}){return[a("li",{staticClass:"list-item__wrapper",class:{"list-item__wrapper--active":N||t.active}},[a("div",{ref:"list-item",staticClass:"list-item",class:{"list-item--compact":t.compact,"list-item--legacy":t.isLegacy,"list-item--one-line":t.oneLine},on:{mouseover:t.handleMouseover,mouseleave:t.handleMouseleave}},[a("a",{staticClass:"list-item__anchor",attrs:{id:t.anchorId||void 0,"aria-label":t.linkAriaLabel,href:k||t.href,target:t.target||(t.href==="#"?void 0:"_blank"),rel:t.href==="#"?void 0:"noopener noreferrer"},on:{focus:t.showActions,focusout:t.handleBlur,click:function(v){return t.onClick(v,L,k)},keydown:function(v){return!v.type.indexOf("key")&&t._k(v.keyCode,"esc",27,v.key,["Esc","Escape"])?null:t.hideActions.apply(null,arguments)}}},[t._t("icon"),a("div",{staticClass:"list-item-content"},[a("div",{staticClass:"list-item-content__main"},[a("div",{staticClass:"list-item-content__name"},[t._t("name",function(){return[t._v(t._s(t.name))]})],2),t.hasSubname?a("div",{staticClass:"list-item-content__subname",class:{"list-item-content__subname--bold":t.bold}},[t._t("subname")],2):t._e()]),a("div",{staticClass:"list-item-content__details"},[t.showDetails?a("div",{staticClass:"list-item-details__details"},[t._t("details",function(){return[t._v(t._s(t.details))]})],2):t._e(),t.counterNumber||t.hasIndicator?a("div",{directives:[{name:"show",rawName:"v-show",value:t.showAdditionalElements,expression:"showAdditionalElements"}],staticClass:"list-item-details__extra"},[t.counterNumber?a("NcCounterBubble",{staticClass:"list-item-details__counter",attrs:{active:N||t.active,type:t.counterType}},[t._v(" "+t._s(t.counterNumber)+" ")]):t._e(),t.hasIndicator?a("span",{staticClass:"list-item-details__indicator"},[t._t("indicator")],2):t._e()],1):t._e()])])],2),t.$slots["extra-actions"]?a("div",{staticClass:"list-item-content__extra-actions"},[t._t("extra-actions")],2):t._e(),a("div",{directives:[{name:"show",rawName:"v-show",value:t.forceDisplayActions||t.displayActionsOnHoverFocus,expression:"forceDisplayActions || displayActionsOnHoverFocus"}],staticClass:"list-item-content__actions",on:{focusout:t.handleBlur}},[a("NcActions",{ref:"actions",attrs:{primary:N||t.active,"force-menu":t.forceMenu,"aria-label":t.computedActionsAriaLabel},on:{"update:open":t.handleActionsUpdateOpen},scopedSlots:t._u([t.$slots["actions-icon"]?{key:"icon",fn:function(){return[t._t("actions-icon")]},proxy:!0}:null],null,!0)},[t._t("actions")],2)],1),t.$slots.extra?a("div",{staticClass:"list-item__extra"},[t._t("extra")],2):t._e()])])]}}],null,!0)})},s=[],C=(0,P.n)(w,S,s,!1,null,"1f0837cf");const j=C.exports}}]);})();

//# sourceMappingURL=talk-defaultVendors-node_modules_nextcloud_vue_dist_chunks_NcListItem-DCh0J8Z4_mjs.js.map?v=0de448bb24dc7752f07b