@yoobic/yobi 7.7.86 → 7.7.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs.js +2 -1
- package/dist/cjs/{video-player-helpers-07afe78c.js → video-player-helpers-658b4a9a.js} +17 -5
- package/dist/cjs/yoo-form-videoplayer.cjs.entry.js +1 -1
- package/dist/cjs/yoo-section-list.cjs.entry.js +2 -2
- package/dist/cjs/yoo-videoplayer-dailymotion.cjs.entry.js +1 -1
- package/dist/cjs/yoo-videoplayer-videojs.cjs.entry.js +1 -1
- package/dist/cjs/yoo-videoplayer-vimeo.cjs.entry.js +1 -1
- package/dist/cjs/yoo-videoplayer-youtube.cjs.entry.js +1 -1
- package/dist/collection/components/app-boost/section-list/section-list.js +2 -2
- package/dist/collection/utils/helpers/video-player-helpers.js +16 -5
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/index.esm.js +1 -1
- package/dist/design-system/{p-d51ee577.entry.js → p-260a81e6.entry.js} +1 -1
- package/dist/design-system/p-497f00b1.entry.js +1 -0
- package/dist/design-system/{p-ae197453.entry.js → p-6504133f.entry.js} +1 -1
- package/dist/design-system/{p-71cca219.entry.js → p-671b34db.entry.js} +1 -1
- package/dist/design-system/p-b289eb9a.js +1 -0
- package/dist/design-system/{p-50fdc9f2.entry.js → p-d2d9ca4d.entry.js} +1 -1
- package/dist/design-system/{p-eef60f76.entry.js → p-fb884de6.entry.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{video-player-helpers-cd3527ae.js → video-player-helpers-866ceaa0.js} +17 -6
- package/dist/esm/yoo-form-videoplayer.entry.js +1 -1
- package/dist/esm/yoo-section-list.entry.js +2 -2
- package/dist/esm/yoo-videoplayer-dailymotion.entry.js +1 -1
- package/dist/esm/yoo-videoplayer-videojs.entry.js +1 -1
- package/dist/esm/yoo-videoplayer-vimeo.entry.js +1 -1
- package/dist/esm/yoo-videoplayer-youtube.entry.js +1 -1
- package/dist/types/utils/helpers/video-player-helpers.d.ts +1 -0
- package/package.json +1 -1
- package/dist/design-system/p-46c2f5f9.js +0 -1
- package/dist/design-system/p-577f31e4.entry.js +0 -1
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host } from './index-2
|
|
|
2
2
|
import { a as isOffline, i as isNativeMobile, B as isTablet, l as isAndroid } from './rrule-5a2de9bb.js';
|
|
3
3
|
import './input-bar.interface-4e956599.js';
|
|
4
4
|
import './ResizeObserver.es-a8772c31.js';
|
|
5
|
-
import { g as getSourceType, f as fixVideoSource,
|
|
5
|
+
import { g as getSourceType, f as fixVideoSource, i as getVideoSubtitlesFromFiles } from './video-player-helpers-866ceaa0.js';
|
|
6
6
|
import './isUndefined-11cbe419.js';
|
|
7
7
|
import './isNumber-5a14c4d5.js';
|
|
8
8
|
import './video-player-helpers-abeb792d.js';
|
|
@@ -448,7 +448,7 @@ const YooSectionListComponent = class {
|
|
|
448
448
|
}
|
|
449
449
|
renderSectionItem(item) {
|
|
450
450
|
let checkboxRef;
|
|
451
|
-
return (h("div", { class: "item selectable", onMouseEnter: this.getItemMouseEnterAction(), onMouseLeave: this.getItemMouseLeaveAction() }, h("div", { class: "checkbox", ref: (el) => checkboxRef = el }, !this.disableBatchActions && this.isOwner && item.isSelectable !== false && h("yoo-form-checkbox", { onInputChanged: (ev) => this.onCheckboxClicked(ev, item, checkboxRef) })), h("div", { class: "item-container", onClick: () => this.itemClicked.emit(item) }, h("div", { class: "title-container" }, item.user && h("yoo-avatars", { layout: "list", users: [item.user], size: "small" }), item.title && h("div", { class: "title" }, h("yoo-truncate", { innerHTML: translateMulti(item.title) })), item.text && h("div", { class: "description" }, h("yoo-truncate", null, translateMulti(item.text)))), h("div", { class: "info-container" }, item.columns && item.columns.map((column) => this.renderSectionItemColumn(column))), !this.disableSortable && !this.isReadonly && h("div", { class: "draggable" }, h("yoo-icon", { name: "draggable", color: "text-color", size: "medium" })), (this.isPublisher || this.isViewer) && this.countSuffix === 'lessons' ? this.renderViewerPublisherActions() : this.renderItemActions(item))));
|
|
451
|
+
return (h("div", { class: "item selectable", onMouseEnter: this.getItemMouseEnterAction(), onMouseLeave: this.getItemMouseLeaveAction() }, h("div", { class: "checkbox", ref: (el) => checkboxRef = el }, !this.disableBatchActions && this.isOwner && item.isSelectable !== false && h("yoo-form-checkbox", { onInputChanged: (ev) => this.onCheckboxClicked(ev, item, checkboxRef) })), h("div", { class: "item-container", onClick: () => this.itemClicked.emit(item) }, h("div", { class: "title-container" }, item.user && h("yoo-avatars", { layout: "list", users: [item.user], size: "small" }), item.title && h("div", { class: "title" }, h("yoo-truncate", { innerHTML: translateMulti(item.title) })), item.text && h("div", { class: "description" }, h("yoo-truncate", null, translateMulti(item.text)))), h("div", { class: "info-container" }, item.columns && item.columns.map((column) => this.renderSectionItemColumn(column))), !this.disableSortable && !this.isReadonly && h("div", { class: "draggable" }, h("yoo-icon", { name: "draggable", color: "text-color", size: "medium" })), !this.isOwner && (this.isPublisher || this.isViewer) && this.countSuffix === 'lessons' ? this.renderViewerPublisherActions() : this.renderItemActions(item))));
|
|
452
452
|
}
|
|
453
453
|
renderSectionItemColumn(column) {
|
|
454
454
|
return (h("div", { class: "column" }, column.icon && h("yoo-icon", { name: column.icon, size: "small" }), h("div", { class: "value" }, translate(column.value))));
|
|
@@ -460,7 +460,7 @@ const YooSectionListComponent = class {
|
|
|
460
460
|
if (!this.itemActions || !this.itemActions.length) {
|
|
461
461
|
return;
|
|
462
462
|
}
|
|
463
|
-
const actions = this.itemActions.map((action) => (Object.assign(Object.assign({}, action), { handler: () => action.handler(i), isVisible: () => (action === null || action === void 0 ? void 0 : action.visible) ? action.visible() : true })));
|
|
463
|
+
const actions = this.itemActions.map((action) => (Object.assign(Object.assign({}, action), { handler: () => action.handler(i), isVisible: () => (action === null || action === void 0 ? void 0 : action.visible) ? action.visible(i) : true })));
|
|
464
464
|
return (h("div", { class: "item-actions" }, h("yoo-context-menu", { contentButtons: actions, placement: "below" }, h("yoo-button", { disabled: this.isViewer && this.countSuffix === 'users' ? true : false, size: "medium" }, h("yoo-icon", { size: "small", name: "more", color: "stable" })))));
|
|
465
465
|
}
|
|
466
466
|
render() {
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement
|
|
|
2
2
|
import { i as isNativeMobile } from './rrule-5a2de9bb.js';
|
|
3
3
|
import './input-bar.interface-4e956599.js';
|
|
4
4
|
import './ResizeObserver.es-a8772c31.js';
|
|
5
|
-
import { o as openVideoPlayerInModal,
|
|
5
|
+
import { o as openVideoPlayerInModal, e as getDailymotionPlayerAPI, h as getVideoId } from './video-player-helpers-866ceaa0.js';
|
|
6
6
|
import { v as videoPlayerStates } from './index-0f001ddb.js';
|
|
7
7
|
import { r as remove } from './remove-ecc59e7c.js';
|
|
8
8
|
import './isUndefined-11cbe419.js';
|
|
@@ -8,7 +8,7 @@ import { c as convertSrtToWebVTT } from './video-player-helpers-abeb792d.js';
|
|
|
8
8
|
import './ResizeObserver.es-a8772c31.js';
|
|
9
9
|
import { z as querySelectorDeep, f as getAppContext } from './common-helpers-f3296dd7.js';
|
|
10
10
|
import { a as intersectionObserve } from './observer-helpers-2c5c0591.js';
|
|
11
|
-
import { o as openVideoPlayerInModal, u as updateCloudinaryDim } from './video-player-helpers-
|
|
11
|
+
import { o as openVideoPlayerInModal, u as updateCloudinaryDim } from './video-player-helpers-866ceaa0.js';
|
|
12
12
|
import { v as videoPlayerStates } from './index-0f001ddb.js';
|
|
13
13
|
import { g as getExtension } from './document-29cc0400.js';
|
|
14
14
|
import './validate-691c9af1.js';
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host } from './index-2
|
|
|
2
2
|
import './rrule-5a2de9bb.js';
|
|
3
3
|
import './input-bar.interface-4e956599.js';
|
|
4
4
|
import './ResizeObserver.es-a8772c31.js';
|
|
5
|
-
import { o as openVideoPlayerInModal,
|
|
5
|
+
import { o as openVideoPlayerInModal, c as getVimeoPlayerAPI } from './video-player-helpers-866ceaa0.js';
|
|
6
6
|
import { v as videoPlayerStates } from './index-0f001ddb.js';
|
|
7
7
|
import './isUndefined-11cbe419.js';
|
|
8
8
|
import './isNumber-5a14c4d5.js';
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host } from './index-2
|
|
|
2
2
|
import { i as isNativeMobile } from './rrule-5a2de9bb.js';
|
|
3
3
|
import './input-bar.interface-4e956599.js';
|
|
4
4
|
import './ResizeObserver.es-a8772c31.js';
|
|
5
|
-
import {
|
|
5
|
+
import { b as getYoutubeId, o as openVideoPlayerInModal, d as getYoutubeIFrameAPI } from './video-player-helpers-866ceaa0.js';
|
|
6
6
|
import { v as videoPlayerStates } from './index-0f001ddb.js';
|
|
7
7
|
import './isUndefined-11cbe419.js';
|
|
8
8
|
import './isNumber-5a14c4d5.js';
|
|
@@ -6,6 +6,7 @@ export declare const LANGUAGES_DATA: {
|
|
|
6
6
|
}[];
|
|
7
7
|
export declare function getSourceType(field: any): TVideoPlayer;
|
|
8
8
|
export declare function fixVideoSource(field: any): string;
|
|
9
|
+
export declare function fixVimeoSource(source: string): string;
|
|
9
10
|
export declare function openVideoPlayerInModal(type: TVideoPlayer, coreParams: IVideoPlayerCore, modalParams?: IVideoPlayerModalOptions): Promise<any>;
|
|
10
11
|
export declare function getYoutubeId(source: string): string;
|
|
11
12
|
export declare function getVimeoPlayerAPI(): Promise<any>;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,i as t,s as i,b as n,_ as l,ac as a,P as o}from"./p-a966475f.js";import"./p-4d956bd4.js";import{i as s,a as r,b as u}from"./p-b4aad66a.js";import{l as d,z as v}from"./p-33b2d3a2.js";import{f as c}from"./p-c534e814.js";const{StatusBar:m}=a,w=[{title:"English",value:"en"},{title:"English(USA)",value:"us"},{title:"French",value:"fr"},{title:"German",value:"de"},{title:"Spanish",value:"es"},{title:"Dutch",value:"nl"},{title:"Polish",value:"pl"},{title:"Italian",value:"it"},{title:"Russian",value:"ru"},{title:"Chinese - Simplified",value:"zhs"},{title:"Chinese - Traditional",value:"zht"},{title:"Portuguese",value:"pt"},{title:"Brazil",value:"pt-br"},{title:"Japanese",value:"ja"},{title:"Hebrew",value:"he"},{title:"Arabic",value:"ar"},{title:"Thai",value:"th"},{title:"Turkish",value:"tr"},{title:"Bulgarian",value:"br"},{title:"Greek",value:"el"},{title:"Slovenian",value:"sl"},{title:"Estonian",value:"et"},{title:"Slovak",value:"sk"}];function p(e){const t=e.url||e.value||"";return"youtube"===(null==e?void 0:e.mode)||s(t)?"youtube":r(t)?"dailymotion":u(t)?"vimeo":"videojs"}function f(t){const i=t.url||t.value||t.videoData||"",n=!t.videoData&&i.split("/");let l=n&&n[n.length-1],a=i;return t.videoData&&(a=e(t.videoData)?URL.createObjectURL(t.videoData):t.videoData),l?(r(a)&&(a="https://www.dailymotion.com/embed/video/"+l),u(a)&&(/^\d+$/.test(l)||(l=n[n.length-2]),a="https://player.vimeo.com/video/"+l),a):a}function b(e,l,a){const o=document.createElement("yoo-videoplayer-core"),s={type:e,videoPlayerCoreParameters:Object.assign({fullscreen:!1,controls:!0},l),modalOptions:Object.assign({modalMode:!0},a)};return t()&&m.hide(),i(o,s,null,n()?"fadeEnterAnimation":"slideXEnterAnimation",n()?"fadeLeaveAnimation":"slideXLeaveAnimation",!0)}function h(e){let t="";if(null==e?void 0:e.replace){const i=e.replace(/(>|<)/gi,"").split(/(vi\/|v=|\/v\/|youtu\.be\/|\/embed\/)/);void 0!==i[2]?(t=i[2].split(/[^0-9a-z_-]/i),t=t[0]):t=e}return t}function y(){return window.Vimeo?Promise.resolve(window.Vimeo):d("https://player.vimeo.com/api/player.js").then((()=>Promise.resolve(window.Vimeo))).catch((()=>Promise.resolve(null)))}function P(){return window.YT?Promise.resolve(window.YT):d("https://www.youtube.com/iframe_api").then((()=>new Promise((e=>{setTimeout((()=>{e(window.YT)}),300)})))).catch((()=>Promise.resolve(null)))}function j(e){return window.DM?Promise.resolve(window.DM):d("https://api.dmcdn.net/all.js").then((()=>new Promise((t=>{window.DM._$||(window.DM._$=e=>document.getElementById(e),window.DM.$=t=>{const i=c(e,(e=>void 0!==v(e,"#"+t)));return i?v(i,"#"+t):null}),t(window.DM)})))).catch((()=>Promise.resolve(null)))}function g(e){if(null==e?void 0:e.split){const t=e.split("/");return t[t.length-1]}return e}function A(e,t,i){if(!l(e))return e;const n=new o(e);return t&&n.width(t),i&&n.height(i),n.getUrl()}function S(e){return(e||[]).map((e=>{var t,i;const{label:n,srclang:l}=(e=>{var t;const i=null===(t=(null==e?void 0:e._filename)||(null==e?void 0:e.name))||void 0===t?void 0:t.replace(".","_").split("_");let n={label:"UNKNOWN",srclang:"en"};if(i&&i[0]){const e=w.findIndex((e=>e.value===i[0]));if(w[e]){const t=w[e];n={label:t.title,srclang:t.value}}}return n})(e);return{src:(null===(t=e)||void 0===t?void 0:t._downloadURL)||e,label:n,srclang:l,kind:"captions",mimeType:null===(i=e)||void 0===i?void 0:i.mimeType}}))}export{w as L,h as a,y as b,P as c,j as d,g as e,f,p as g,S as h,b as o,A as u}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as o,H as a,g as i}from"./p-c26cc6ff.js";import{t as r,T as s,bB as n,bI as p,bJ as l,Y as c}from"./p-a966475f.js";import"./p-4d956bd4.js";import{S as d}from"./p-12797a88.js";import{d as b}from"./p-2a56c2b1.js";import{c as m}from"./p-6348f445.js";import{o as h}from"./p-fdde98c5.js";import{g}from"./p-179b66ff.js";import"./p-0dae56e6.js";import"./p-c06335c1.js";import"./p-43f71ef3.js";import"./p-a1142cd3.js";import"./p-b5ba03fd.js";import"./p-56bcc009.js";import"./p-baaa30cf.js";import"./p-01267bd9.js";import"./p-49399b44.js";import"./p-773567d1.js";import"./p-e3093327.js";import"./p-b9ad79f8.js";import"./p-12bedee1.js";import"./p-1dbbf3a2.js";import"./p-9d229751.js";import"./p-f9649bd9.js";import"./p-5ebbcf89.js";import"./p-ba705441.js";const f=class{constructor(o){t(this,o),this.sectionOrderChanged=e(this,"sectionOrderChanged",7),this.itemOrderChanged=e(this,"itemOrderChanged",7),this.selectedItemsChanged=e(this,"selectedItemsChanged",7),this.sectionDeleted=e(this,"sectionDeleted",7),this.sectionRenamed=e(this,"sectionRenamed",7),this.itemClicked=e(this,"itemClicked",7),this.autoscroll=e(this,"autoscroll",7),this.itemActions=[],this.disableSortable=!1,this.disableBatchActions=!1,this.isReadonly=!1,this.isViewer=!1,this.isPublisher=!1,this.isOwner=!1,this.selectedItems=[],this.setSectionListAutoHeightDebounce=b(this.setSectionsAutoHeight,100).bind(this),this.selectedAll=!1,this.defaultActions=[{text:"SELECTALL",icon:"select-all",handler:()=>this.onSectionSelectAllItems()},{text:"RENAME",icon:"pen",handler:()=>this.onSectionRename()},{text:"DELETE",icon:"delete",handler:()=>this.onSectionDelete()}]}get selectedDialogItemEls(){var t,e;return this.selectedDialogSection?Array.from(null===(e=null===(t=this.selectedDialogSection)||void 0===t?void 0:t.el)||void 0===e?void 0:e.querySelectorAll(".item")):[]}get actions(){if(this.isReadonly)return[];if(void 0!==this.sectionActions)return this.sectionActions;let t=this.defaultActions||[];return this.disableBatchActions&&(t=t.filter((t=>"SELECTALL"!==t.text))),this.isOwner||(t=t.filter((t=>"DELETE"!==t.text))),t}async searchFilter(t){""!==(t=t||"")?(this.destroySortable(this.sectionSortable),(this.itemSortables||[]).forEach((t=>this.destroySortable(t)))):""===t&&this.initSortable();const e=new RegExp(t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),o=t=>t&&e.test(t),a=this.sectionEls.map((t=>({sectionEl:t,itemEls:Array.from(t.querySelectorAll(".item"))})));this.sections.forEach(((t,e)=>{let i=!1;t.items.forEach(((t,r)=>{var s;let n=(null===(s=null==t?void 0:t.columns)||void 0===s?void 0:s.reduce(((t,e)=>t||o(e.value)),!1))||o(t.title)||o(t.text);t.user&&(n=n||o(t.user.firstName)||o(t.user.lastName)||o(t.user.username)),i=n||i,a[e].itemEls[r].classList[n?"remove":"add"]("hidden")})),a[e].sectionEl.classList[i?"remove":"add"]("hidden")}))}async toggleSelectAll(){this.selectedAll?this.unselectAll():this.selectAll()}async selectAll(){this.itemEls.forEach((t=>{var e;null===(e=t.querySelector("yoo-form-checkbox"))||void 0===e||e.check()})),this.selectedAll=!0}async unselectAll(){this.itemEls.forEach((t=>{var e;null===(e=t.querySelector("yoo-form-checkbox"))||void 0===e||e.uncheck()}))}async renameSection(t,e){this.sections[t].title=e,this.sectionEls[t].querySelector(".section-title .title").textContent=e}async deleteSection(t){this.sections.splice(t,1),this.sectionsParentEl.removeChild(this.sectionEls[t])}componentDidLoad(){this.disableSortable||this.isReadonly||this.initSortable()}componentDidUpdate(){this.reinitSortable()}disconnectedCallback(){this.destroySortables()}reinitSortable(){this.destroySortables(),this.initSortable()}destroySortables(){var t;this.sectionSortable&&(this.destroySortable(this.sectionSortable),(null===(t=this.itemSortables)||void 0===t?void 0:t.length)>0&&this.itemSortables.forEach((t=>this.destroySortable(t))))}get itemsParentEls(){return Array.from(this.host.shadowRoot.querySelectorAll(".items"))}get itemEls(){return Array.from(this.host.shadowRoot.querySelectorAll(".item"))}get sectionsParentEl(){return this.host.shadowRoot.querySelector(".sections")}get sectionEls(){return Array.from(this.host.shadowRoot.querySelectorAll(".section"))}destroySortable(t){try{t&&t.destroy&&t.destroy()}catch(t){}}initSortable(){this.sectionsParentEl&&(this.sectionSortable=new d(this.sectionsParentEl,{draggable:".section.sortable",handle:".draggable",filter:".disabled",group:"sections",animation:150,fallbackOnBody:!0,fallbackTolerance:1,onChange:t=>this.onChangeAutoscrollAction(t),onStart:this.getSectionsSortableStartEvent(),onEnd:this.getSectionSortableEndEvent()})),this.itemSortables=this.itemsParentEls.map((t=>new d(t,{draggable:".item",handle:".draggable",filter:".disabled",group:"items",animation:150,onChange:t=>this.onChangeAutoscrollAction(t),onStart:this.getItemSortableStartEvent(),onEnd:this.getItemSortableEndEvent()})))}onChangeAutoscrollAction(t){t&&t.item&&t.item.getBoundingClientRect&&this.autoscroll.emit({y:250,rect:t.item.getBoundingClientRect(),threshold:100,duration:1e3})}getSectionsSortableStartEvent(){return()=>{this.toggleExpandAllSections(!0)}}getItemSortableStartEvent(){return()=>{this.onMouseHoverToggle(this.itemsParentEls)}}getSectionSortableEndEvent(){return t=>{const e={indexFrom:t.oldIndex,indexTo:t.newIndex};this.reflectSectionMovement(e),this.sectionOrderChanged.emit(e),this.toggleExpandAllSections(!1)}}getItemSortableEndEvent(){return t=>{const e=this.itemsParentEls,o={sectionIndexFrom:e.findIndex((e=>e===t.from)),sectionIndexTo:e.findIndex((e=>e===t.to)),itemIndexFrom:t.oldIndex,itemIndexTo:t.newIndex};this.onMouseHoverToggle(e),this.reflectItemMovement(o),this.itemOrderChanged.emit(o)}}onMouseHoverToggle(t){t.forEach((t=>{t.querySelectorAll(".item").forEach((t=>{t.classList.toggle("no-mousehover")}))}))}reflectSectionMovement(t){const e=this.sections[t.indexFrom];this.sections.splice(t.indexFrom,1),this.sections.splice(t.indexTo,0,e)}reflectItemMovement(t){const e=this.sections[t.sectionIndexFrom].items[t.itemIndexFrom];this.sections[t.sectionIndexFrom].items.splice(t.itemIndexFrom,1),this.sections[t.sectionIndexTo].items.splice(t.itemIndexTo,0,e),this.updateItemCountBadges()}updateItemCountBadges(){this.sectionEls.forEach(((t,e)=>{var o;const a=t.querySelector(".item-count");a&&(a.innerHTML=`${this.sections[e].items?this.sections[e].items.length:0} ${r(null===(o=this.countSuffix)||void 0===o?void 0:o.toUpperCase())}`)}))}setSectionsAutoHeight(){this.itemsParentEls.filter((t=>"0px"!==t.style.height)).forEach((t=>t.style.height="auto"))}toggleExpandSectionItems(t,e){const o=t.el;if(!o)return;const a=o.querySelector(".expand"),i=o.querySelector(".items");if(i){if(!o.classList.contains("closed")||e){try{s(i,.2,{height:0,paddingBottom:0})}catch(t){i.style.display="none"}a.name="arrow-down"}else{try{n(i,{height:"auto",paddingBottom:"15px"});const t=()=>{this.setSectionListAutoHeightDebounce(),i.style.height="auto"};p(i,.2,{height:0,onComplete:t})}catch(t){i.style.display="block"}a.name="arrow-up"}o.classList.toggle("closed")}}toggleExpandAllSections(t){this.sections.forEach((e=>{this.toggleExpandSectionItems(e,t)}))}onCheckboxClicked(t,e,o){const a=!!t.detail;a||(this.selectedAll=!1),a?(this.onItemSelected(e),o&&o.classList.add("visible")):(this.onItemUnselected(e),o&&o.classList.remove("visible"))}hideSectionDialog(){this.selectedDialogSection=null,this.dialogEl&&this.dialogEl.classList.add("hidden")}onSectionSelectAllItems(){const t=this.selectedDialogItemEls;this.selectedDialogSection&&(t.length&&t.forEach((t=>{var e,o;null===(e=t.querySelector("yoo-form-checkbox"))||void 0===e||e.check(),null===(o=t.querySelector(".checkbox"))||void 0===o||o.classList.add("visible")})),this.hideSectionDialog())}onItemSelected(t){this.selectedItems.push(t),this.selectedItemsChanged.emit({items:this.selectedItems,isToggling:!1})}onItemUnselected(t){const e=this.selectedItems.indexOf(t);-1!==e&&(this.selectedItems.splice(e,1),this.selectedItemsChanged.emit({items:this.selectedItems,isToggling:!1}))}onSectionDelete(){this.selectedDialogSection&&(this.sectionDeleted.emit(this.selectedDialogSection),this.hideSectionDialog())}onSectionRename(){if(this.selectedDialogSection){const t=m(this.selectedDialogSection);l(r("RENAME"),"",this.selectedDialogSection.title).then((e=>{e&&e!==t.title&&this.sectionRenamed.emit(Object.assign(Object.assign({},h(t,"title")),{title:e}))}))}}renderHeaders(){return o("div",{class:"headers"},this.headers.map((t=>o("div",null,r(t)))),o("div",{class:"actions"}))}renderDefaultActionOrToggle(t){if(0!==this.actions.length){if(1===this.actions.length)return o("yoo-icon",{name:this.actions[0].icon,onClick:()=>this.actions[0].handler(t)});{const e=this.actions.map((e=>{const o=Object.assign({},e);return o.handler=()=>{this.selectedDialogSection=t,e.handler()},o}));return o("yoo-context-menu",{contentButtons:e,placement:"below"},o("yoo-icon",{class:"section-dialog",name:"more-circle",color:"text-color-to-light-60"}))}}}renderSection(t){var e;const a=g(t,"items",[]);return o("div",{class:{section:!0,sortable:!1!==t.isSortable},ref:e=>t.el=e},o("div",{class:"section-title"},this.icon&&o("div",{class:"icon"},o("yoo-icon",{name:this.icon,size:"medium",color:"text-color-to-light-60"})),o("div",{class:"title"},c(t.title)),o("div",{class:"item-count"},`${a.length} ${r(null===(e=this.countSuffix)||void 0===e?void 0:e.toUpperCase())}`),!this.disableSortable&&!this.isReadonly&&!1!==t.isSortable&&o("div",{class:"draggable"},o("yoo-icon",{name:"draggable",color:"text-color",size:"medium"})),!1!==t.hasActions&&this.renderDefaultActionOrToggle(t),o("yoo-icon",{size:"small",class:"expand",name:"arrow-up",color:"text-color-to-light-60",onClick:()=>this.toggleExpandSectionItems(t)})),o("div",{class:"items"},a.map((t=>this.renderSectionItem(t)))))}getItemMouseEnterAction(){return function(){this.classList.add("mousehover")}}getItemMouseLeaveAction(){return function(){this.classList.remove("mousehover")}}getIconName(){return this.isViewer&&"users"!==this.countSuffix?"eye":this.isPublisher?"translate":void 0}renderSectionItem(t){let e;return o("div",{class:"item selectable",onMouseEnter:this.getItemMouseEnterAction(),onMouseLeave:this.getItemMouseLeaveAction()},o("div",{class:"checkbox",ref:t=>e=t},!this.disableBatchActions&&this.isOwner&&!1!==t.isSelectable&&o("yoo-form-checkbox",{onInputChanged:o=>this.onCheckboxClicked(o,t,e)})),o("div",{class:"item-container",onClick:()=>this.itemClicked.emit(t)},o("div",{class:"title-container"},t.user&&o("yoo-avatars",{layout:"list",users:[t.user],size:"small"}),t.title&&o("div",{class:"title"},o("yoo-truncate",{innerHTML:c(t.title)})),t.text&&o("div",{class:"description"},o("yoo-truncate",null,c(t.text)))),o("div",{class:"info-container"},t.columns&&t.columns.map((t=>this.renderSectionItemColumn(t)))),!this.disableSortable&&!this.isReadonly&&o("div",{class:"draggable"},o("yoo-icon",{name:"draggable",color:"text-color",size:"medium"})),(this.isPublisher||this.isViewer)&&"lessons"===this.countSuffix?this.renderViewerPublisherActions():this.renderItemActions(t)))}renderSectionItemColumn(t){return o("div",{class:"column"},t.icon&&o("yoo-icon",{name:t.icon,size:"small"}),o("div",{class:"value"},r(t.value)))}renderViewerPublisherActions(){return o("div",{class:"item-actions"},o("yoo-button",{class:"lesson-button",size:"medium"},o("yoo-icon",{size:"small",name:this.getIconName()})))}renderItemActions(t){if(!this.itemActions||!this.itemActions.length)return;const e=this.itemActions.map((e=>Object.assign(Object.assign({},e),{handler:()=>e.handler(t),isVisible:()=>!(null==e?void 0:e.visible)||e.visible()})));return o("div",{class:"item-actions"},o("yoo-context-menu",{contentButtons:e,placement:"below"},o("yoo-button",{disabled:!(!this.isViewer||"users"!==this.countSuffix),size:"medium"},o("yoo-icon",{size:"small",name:"more",color:"stable"}))))}render(){if(this.sections&&this.sections.length)return o(a,null,this.headers&&this.headers.length&&this.renderHeaders(),o("div",{class:"sections"},this.sections.map((t=>this.renderSection(t)))))}get host(){return i(this)}};f.style=":root{--ease-in-back:cubic-bezier(0.36, 0, 0.66, -0.56);--ease-in-circ:cubic-bezier(0.55, 0, 1, 0.45);--ease-in-cubic:cubic-bezier(0.32, 0, 0.67, 0);--ease-in-expo:cubic-bezier(0.7, 0, 0.84, 0);--ease-in-quad:cubic-bezier(0.11, 0, 0.5, 0);--ease-in-quart:cubic-bezier(0.5, 0, 0.75, 0);--ease-in-quint:cubic-bezier(0.64, 0, 0.78, 0);--ease-in-sine:cubic-bezier(0.12, 0, 0.39, 0);--ease-out-back:cubic-bezier(0.34, 1.56, 0.64, 1);--ease-out-circ:cubic-bezier(0, 0.55, 0.45, 1);--ease-out-cubic:cubic-bezier(0.33, 1, 0.68, 1);--ease-out-expo:cubic-bezier(0.16, 1, 0.3, 1);--ease-out-quad:cubic-bezier(0.5, 1, 0.89, 1);--ease-out-quart:cubic-bezier(0.25, 1, 0.5, 1);--ease-out-quint:cubic-bezier(0.22, 1, 0.36, 1);--ease-out-sine:cubic-bezier(0.61, 1, 0.88, 1);--ease-in-out-back:cubic-bezier(0.68, -0.6, 0.32, 1.6);--ease-in-out-circ:cubic-bezier(0.85, 0, 0.15, 1);--ease-in-out-cubic:cubic-bezier(0.65, 0, 0.35, 1);--ease-in-out-expo:cubic-bezier(0.87, 0, 0.13, 1);--ease-in-out-quad:cubic-bezier(0.45, 0, 0.55, 1);--ease-in-out-quart:cubic-bezier(0.76, 0, 0.24, 1);--ease-in-out-quint:cubic-bezier(0.83, 0, 0.17, 1);--ease-in-out-sine:cubic-bezier(0.37, 0, 0.63, 1)}.tippy-box,.tippy-popper{white-space:pre-wrap}.tippy-box .tippy-tooltip,.tippy-popper .tippy-tooltip{padding:var(--spacing-02, 0.125rem)}.tippy-box{-webkit-box-shadow:var(--shadow-03, 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1));box-shadow:var(--shadow-03, 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1))}.tippy-box .tippy-content.editable{padding:0}.tippy-box .tippy-content .flex{display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around}.tippy-box .tippy-content .hidden{display:none}.tippy-box .tippy-content .editable-content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;color:var(--dark, #000000)}.tippy-box .tippy-content .editable-content .text-content{min-width:5rem;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.tippy-box .tippy-content .editable-content .text-content>div{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.tippy-box .tippy-content .editable-content.readonly{padding:var(--spacing-08, 0.5rem)}.tippy-box .tippy-content .editable-content .maxchar-content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:end;align-self:flex-end;height:var(--spacing-24, 1.5rem);padding-right:var(--spacing-08, 0.5rem)}.tippy-box .tippy-content .editable-content .action-content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.tippy-box .tippy-content .editable-content .action-content yoo-button{padding:0 var(--spacing-08, 0.5rem)}.tippy-box .tippy-content .editable-content .action-content .edit-content{-ms-flex-align:center;align-items:center}.tippy-box .tippy-content .editable-content .action-content .edit-content yoo-icon{padding-left:var(--spacing-08, 0.5rem);cursor:pointer}.tippy-box .tippy-content .editable-content .edit-content>*{cursor:pointer}.tippy-box .tippy-content .request-access{padding:var(--spacing-08, 0.5rem)}.tippy-box .tippy-content .request-access .title{margin-bottom:var(--spacing-08, 0.5rem);font-weight:var(--font-weight-700, 700)}.tippy-box .tippy-content .request-access .sub-title{display:-ms-flexbox;display:flex;margin-bottom:var(--spacing-08, 0.5rem);font-weight:var(--font-weight-300, 300);font-size:var(--font-size-14, 0.875rem)}.tippy-box .tippy-content .request-access .sub-title yoo-avatar{margin:0 var(--spacing-04, 0.25rem)}.tippy-box .tippy-content .request-access yoo-button{max-width:8rem}.tippy-box[data-theme~=startameeting] .tippy-content{padding:0;border-radius:var(--border-radius-04, 0.25rem)}.tippy-box[data-theme~=large]{font-size:var(--font-size-16, 1rem)}.tippy-box[data-theme~=large] .tippy-content{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=large] .tippy-content .editable-content{padding:var(--spacing-04, 0.25rem)}.tippy-box[data-theme~=large] .tippy-content .editable-content .text-content{padding-right:var(--spacing-16, 1rem)}.tippy-box[data-theme~=large] .tippy-content .editable-content yoo-icon{margin:0 var(--spacing-04, 0.25rem)}.tippy-box[data-theme~=small]{font-size:var(--font-size-16, 1rem)}.tippy-box[data-theme~=small] .tippy-content{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=small] .tippy-content .editable-content{padding:var(--spacing-04, 0.25rem)}.tippy-box[data-theme~=small] .tippy-content .editable-content .text-content{padding-right:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=small] .tippy-content .editable-content yoo-icon{margin:0 var(--spacing-04, 0.25rem)}.tippy-box[data-theme~=accent]{background-color:var(--accent, #276ef1)}.tippy-box[data-theme~=accent] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=accent] .tippy-svg-arrow{fill:var(--accent, #276ef1)}.tippy-box[data-theme~=accent][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--accent, #276ef1)}.tippy-box[data-theme~=accent][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--accent, #276ef1)}.tippy-box[data-theme~=accent][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--accent, #276ef1)}.tippy-box[data-theme~=accent][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--accent, #276ef1)}.tippy-box[data-theme~=anthracite]{background-color:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=anthracite] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=anthracite] .tippy-svg-arrow{fill:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=anthracite][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=anthracite][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=anthracite][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=anthracite][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--anthracite, #1a1a1a)}.tippy-box[data-theme~=app-color]{background-color:var(--app-color)}.tippy-box[data-theme~=app-color] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=app-color] .tippy-svg-arrow{fill:var(--app-color)}.tippy-box[data-theme~=app-color][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--app-color)}.tippy-box[data-theme~=app-color][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--app-color)}.tippy-box[data-theme~=app-color][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--app-color)}.tippy-box[data-theme~=app-color][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--app-color)}.tippy-box[data-theme~=danger]{background-color:var(--danger, #d44333)}.tippy-box[data-theme~=danger] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=danger] .tippy-svg-arrow{fill:var(--danger, #d44333)}.tippy-box[data-theme~=danger][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--danger, #d44333)}.tippy-box[data-theme~=danger][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--danger, #d44333)}.tippy-box[data-theme~=danger][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--danger, #d44333)}.tippy-box[data-theme~=danger][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--danger, #d44333)}.tippy-box[data-theme~=danger-light]{background-color:var(--danger-light, #f46885)}.tippy-box[data-theme~=danger-light] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=danger-light] .tippy-svg-arrow{fill:var(--danger-light, #f46885)}.tippy-box[data-theme~=danger-light][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--danger-light, #f46885)}.tippy-box[data-theme~=danger-light][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--danger-light, #f46885)}.tippy-box[data-theme~=danger-light][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--danger-light, #f46885)}.tippy-box[data-theme~=danger-light][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--danger-light, #f46885)}.tippy-box[data-theme~=dark]{background-color:var(--dark, #000000)}.tippy-box[data-theme~=dark] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=dark] .tippy-svg-arrow{fill:var(--dark, #000000)}.tippy-box[data-theme~=dark][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--dark, #000000)}.tippy-box[data-theme~=dark][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--dark, #000000)}.tippy-box[data-theme~=dark][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--dark, #000000)}.tippy-box[data-theme~=dark][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--dark, #000000)}.tippy-box[data-theme~=energized]{background-color:var(--energized, #fed05b)}.tippy-box[data-theme~=energized] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=energized] .tippy-svg-arrow{fill:var(--energized, #fed05b)}.tippy-box[data-theme~=energized][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--energized, #fed05b)}.tippy-box[data-theme~=energized][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--energized, #fed05b)}.tippy-box[data-theme~=energized][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--energized, #fed05b)}.tippy-box[data-theme~=energized][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--energized, #fed05b)}.tippy-box[data-theme~=info]{background-color:var(--info, #fc459e)}.tippy-box[data-theme~=info] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=info] .tippy-svg-arrow{fill:var(--info, #fc459e)}.tippy-box[data-theme~=info][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--info, #fc459e)}.tippy-box[data-theme~=info][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--info, #fc459e)}.tippy-box[data-theme~=info][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--info, #fc459e)}.tippy-box[data-theme~=info][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--info, #fc459e)}.tippy-box[data-theme~=light]{background-color:var(--light, #ffffff)}.tippy-box[data-theme~=light] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=light] .tippy-svg-arrow{fill:var(--light, #ffffff)}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--light, #ffffff)}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--light, #ffffff)}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--light, #ffffff)}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--light, #ffffff)}.tippy-box[data-theme~=light-orange]{background-color:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-orange] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=light-orange] .tippy-svg-arrow{fill:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-orange][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-orange][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-orange][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-orange][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--light-orange, #fcae49)}.tippy-box[data-theme~=light-to-text-color]{background-color:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=light-to-text-color] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=light-to-text-color] .tippy-svg-arrow{fill:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=light-to-text-color][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=light-to-text-color][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=light-to-text-color][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=light-to-text-color][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--light-to-text-color, #ffffff)}.tippy-box[data-theme~=royal]{background-color:var(--royal, #7577ff)}.tippy-box[data-theme~=royal] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=royal] .tippy-svg-arrow{fill:var(--royal, #7577ff)}.tippy-box[data-theme~=royal][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--royal, #7577ff)}.tippy-box[data-theme~=royal][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--royal, #7577ff)}.tippy-box[data-theme~=royal][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--royal, #7577ff)}.tippy-box[data-theme~=royal][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--royal, #7577ff)}.tippy-box[data-theme~=stable]{background-color:var(--stable, #adadad)}.tippy-box[data-theme~=stable] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=stable] .tippy-svg-arrow{fill:var(--stable, #adadad)}.tippy-box[data-theme~=stable][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--stable, #adadad)}.tippy-box[data-theme~=stable][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--stable, #adadad)}.tippy-box[data-theme~=stable][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--stable, #adadad)}.tippy-box[data-theme~=stable][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--stable, #adadad)}.tippy-box[data-theme~=stable-alt]{background-color:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-alt] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=stable-alt] .tippy-svg-arrow{fill:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-alt][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-alt][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-alt][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-alt][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--stable-alt, #d0d0d0)}.tippy-box[data-theme~=stable-light]{background-color:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-light] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=stable-light] .tippy-svg-arrow{fill:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-light][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-light][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-light][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-light][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--stable-light, #f1f1f1)}.tippy-box[data-theme~=stable-ultralight]{background-color:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=stable-ultralight] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=stable-ultralight] .tippy-svg-arrow{fill:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=stable-ultralight][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=stable-ultralight][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=stable-ultralight][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=stable-ultralight][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--stable-ultralight, #fafafa)}.tippy-box[data-theme~=success]{background-color:var(--success, #3aa76d)}.tippy-box[data-theme~=success] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=success] .tippy-svg-arrow{fill:var(--success, #3aa76d)}.tippy-box[data-theme~=success][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--success, #3aa76d)}.tippy-box[data-theme~=success][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--success, #3aa76d)}.tippy-box[data-theme~=success][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--success, #3aa76d)}.tippy-box[data-theme~=success][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--success, #3aa76d)}.tippy-box[data-theme~=text-color]{background-color:var(--text-color, #807f83)}.tippy-box[data-theme~=text-color] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=text-color] .tippy-svg-arrow{fill:var(--text-color, #807f83)}.tippy-box[data-theme~=text-color][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--text-color, #807f83)}.tippy-box[data-theme~=text-color][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--text-color, #807f83)}.tippy-box[data-theme~=text-color][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--text-color, #807f83)}.tippy-box[data-theme~=text-color][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--text-color, #807f83)}.tippy-box[data-theme~=warning]{background-color:var(--warning, #ff6402)}.tippy-box[data-theme~=warning] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=warning] .tippy-svg-arrow{fill:var(--warning, #ff6402)}.tippy-box[data-theme~=warning][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--warning, #ff6402)}.tippy-box[data-theme~=warning][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--warning, #ff6402)}.tippy-box[data-theme~=warning][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--warning, #ff6402)}.tippy-box[data-theme~=warning][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--warning, #ff6402)}.tippy-box[data-theme~=anthracite-to-text-color]{background-color:var(--anthracite-to-text-color, #1a1a1a)}.tippy-box[data-theme~=anthracite-to-text-color] .tippy-tooltip{padding:var(--spacing-08, 0.5rem)}.tippy-box[data-theme~=anthracite-to-text-color] .tippy-svg-arrow{fill:var(--anthracite-to-text-color, #1a1a1a)}.tippy-box[data-theme~=anthracite-to-text-color][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--anthracite-to-text-color, #1a1a1a)}.tippy-box[data-theme~=anthracite-to-text-color][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--anthracite-to-text-color, #1a1a1a)}.tippy-box[data-theme~=anthracite-to-text-color][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--anthracite-to-text-color, #1a1a1a)}.tippy-box[data-theme~=anthracite-to-text-color][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--anthracite-to-text-color, #1a1a1a)}:root{--safe-area-inset-top:0;--safe-area-inset-right:0;--safe-area-inset-bottom:0;--safe-area-inset-left:0}@supports (top: constant(safe-area-inset-top)){:root{--safe-area-inset-top:constant(safe-area-inset-top);--safe-area-inset-right:constant(safe-area-inset-right);--safe-area-inset-bottom:constant(safe-area-inset-bottom);--safe-area-inset-left:constant(safe-area-inset-left)}}@supports (top: env(safe-area-inset-top)){:root{--safe-area-inset-top:env(safe-area-inset-top);--safe-area-inset-right:env(safe-area-inset-right);--safe-area-inset-bottom:env(safe-area-inset-bottom);--safe-area-inset-left:env(safe-area-inset-left)}}.fr-popup.fr-active{z-index:30004 !important;display:block !important;opacity:1 !important}:host yoo-truncate{--max-lines:2}:host .headers{display:-ms-flexbox;display:flex;padding:0 var(--spacing-40, 2.5rem)}:host .headers div:first-child{-ms-flex:5;flex:5}:host .headers div{-ms-flex:2.333;flex:2.333;padding-left:var(--spacing-08, 0.5rem);font-weight:var(--font-weight-700, 700);font-size:var(--font-size-16, 1rem)}:host .sections{padding-bottom:10rem}:host .sections .section{margin:var(--spacing-16, 1rem);background-color:var(--stable-light-40-to-light-10, rgba(241, 241, 241, 0.4));border-radius:var(--border-radius-04, 0.25rem)}:host .sections .section.hidden{display:none}:host .sections .section.sortable-drag .section-title div,:host .sections .section.sortable-drag .section-title yoo-icon,:host .sections .section.sortable-ghost .section-title div,:host .sections .section.sortable-ghost .section-title yoo-icon{opacity:0}:host .sections .section.sortable-drag .items,:host .sections .section.sortable-ghost .items{display:none}:host .sections .section.sortable-drag .section-title{background:var(--light-to-dark, #ffffff);border:solid 0.125rem var(--app-color);border-radius:var(--border-radius-04, 0.25rem);-webkit-box-shadow:var(--web-shadow, 0 0.3125rem 0.8125rem 0 rgba(40, 47, 54, 0.08));box-shadow:var(--web-shadow, 0 0.3125rem 0.8125rem 0 rgba(40, 47, 54, 0.08))}:host .sections .section.sortable-drag .section-title .title{opacity:1}:host .sections .section.sortable-ghost{cursor:-webkit-grabbing !important;cursor:grabbing !important}:host .sections .section.sortable-ghost .section-title{border:dashed 0.125rem var(--stable-alt, #d0d0d0);border-radius:var(--border-radius-04, 0.25rem)}:host .sections .section .section-title{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:var(--spacing-08, 0.5rem);font-size:var(--font-size-16, 1rem)}:host .sections .section .section-title .title{font-weight:bold}:host .sections .section .section-title .title,:host .sections .section .section-title .item-count{padding-left:0.5rem;font-size:var(--font-size-16, 1rem)}:host .sections .section .section-title .item-count{-ms-flex:1;flex:1;color:var(--stable, #adadad);white-space:nowrap}:host .sections .section .section-title .draggable{cursor:move}:host .sections .section .section-title .draggable yoo-icon{vertical-align:middle}:host .sections .section .section-title yoo-icon{padding:0 var(--spacing-08, 0.5rem)}:host .sections .section .section-title yoo-icon.section-dialog{vertical-align:middle}:host .sections .section .items{padding-bottom:var(--spacing-16, 1rem);overflow:hidden}:host .sections .section .items .item{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:var(--spacing-08, 0.5rem);overflow:hidden}:host .sections .section .items .item .draggable{padding:1rem;cursor:move}:host .sections .section .items .item .draggable yoo-icon{vertical-align:middle}:host .sections .section .items .item.hidden{display:none}:host .sections .section .items .item.selectable{padding-left:0}:host .sections .section .items .item.selectable.mousehover .checkbox,:host .sections .section .items .item.selectable .checkbox.visible{visibility:visible}:host .sections .section .items .item.selectable .checkbox{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:35px;visibility:hidden}:host .sections .section .items .item.sortable-drag .item-container{border:solid 2px var(--app-color);-webkit-box-shadow:var(--web-shadow, 0 0.3125rem 0.8125rem 0 rgba(40, 47, 54, 0.08));box-shadow:var(--web-shadow, 0 0.3125rem 0.8125rem 0 rgba(40, 47, 54, 0.08))}:host .sections .section .items .item.sortable-ghost{cursor:-webkit-grabbing;cursor:grabbing}:host .sections .section .items .item.sortable-ghost .item-container{background:var(--stable-light-40, rgba(241, 241, 241, 0.4));border:dashed 0.125rem var(--stable-alt, #d0d0d0);border-radius:var(--border-radius-04, 0.25rem)}:host .sections .section .items .item.sortable-ghost .item-container div{opacity:0}:host .sections .section .items .item.no-mousehover.mousehover .item-container{cursor:-webkit-grabbing;cursor:grabbing}:host .sections .section .items .item .checkbox{display:none;overflow:hidden}:host .sections .section .items .item .item-container{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;background-color:var(--light-to-dark, #ffffff);border:solid 0.0625rem var(--stable-light, #f1f1f1);border-radius:var(--border-radius-08, 0.5rem)}:host .sections .section .items .item .item-container .title-container{-ms-flex:4;flex:4;padding:var(--spacing-16, 1rem);overflow:hidden}:host .sections .section .items .item .item-container .title-container .title{font-size:var(--font-size-18, 1.125rem)}:host .sections .section .items .item .item-container .title-container .description{color:var(--text-color-to-light-60, #807f83);font-size:var(--font-size-16, 1rem)}:host .sections .section .items .item .item-container .item-actions yoo-context-menu{padding:var(--spacing-16, 1rem)}:host .sections .section .items .item .item-container .item-actions .lesson-button{padding:var(--spacing-16, 1rem)}:host .sections .section .items .item .item-container .info-container{display:-ms-flexbox;display:flex;-ms-flex:7;flex:7}:host .sections .section .items .item .item-container .info-container .column{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center}:host .sections .section .items .item .item-container .info-container .column yoo-icon{padding-right:var(--spacing-04, 0.25rem)}:host .sections .section .items .item .item-container .info-container .column .value{font-size:var(--font-size-18, 1.125rem)}:host .sections .section .items .item.mousehover:not(.selectable):not(.sortable-drag):not(.sortable-ghost):not(.no-mousehover).sortable-chosen{cursor:-webkit-grab;cursor:grab}:host .sections .section .items .item.mousehover:not(.selectable):not(.sortable-drag):not(.sortable-ghost):not(.no-mousehover) .item-container{background-color:var(--app-color);cursor:pointer}:host .sections .section .items .item.mousehover:not(.selectable):not(.sortable-drag):not(.sortable-ghost):not(.no-mousehover) .item-container .item-actions yoo-tooltip{margin-right:var(--spacing-04, 0.25rem)}:host .sections .section .items .item.mousehover:not(.selectable):not(.sortable-drag):not(.sortable-ghost):not(.no-mousehover) .item-container .item-actions yoo-tooltip .icon-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:var(--spacing-24, 1.5rem);height:var(--spacing-24, 1.5rem);border-radius:50%;-webkit-box-shadow:var(--web-shadow, 0 0.3125rem 0.8125rem 0 rgba(40, 47, 54, 0.08));box-shadow:var(--web-shadow, 0 0.3125rem 0.8125rem 0 rgba(40, 47, 54, 0.08))}:host .sections .section .items .item.mousehover:not(.selectable):not(.sortable-drag):not(.sortable-ghost):not(.no-mousehover) .item-container .item-actions yoo-tooltip:last-child{margin-right:var(--spacing-16, 1rem)}:host .sections .section:hover{cursor:pointer}:host .dialog{position:absolute;right:0;margin:0.375rem var(--spacing-08, 0.5rem) 0 0;overflow:hidden;background-color:var(--light-to-dark, #ffffff);border-radius:0.25rem;-webkit-box-shadow:var(--web-shadow, 0 0.3125rem 0.8125rem 0 rgba(40, 47, 54, 0.08));box-shadow:var(--web-shadow, 0 0.3125rem 0.8125rem 0 rgba(40, 47, 54, 0.08))}:host .dialog.hidden{display:none}:host .dialog.not.hidden{display:block}:host .dialog .menu{margin:var(--spacing-08, 0.5rem) 0;padding-right:var(--spacing-24, 1.5rem);padding-left:1rem;font-size:var(--font-size-14, 0.875rem);list-style-type:none}:host .dialog .menu li{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .dialog .menu li yoo-icon{padding-right:var(--spacing-08, 0.5rem)}";export{f as yoo_section_list}
|