aboutsummaryrefslogtreecommitdiffstats
path: root/dist/dashboard-main.js
diff options
context:
space:
mode:
authorfenn-cs <fenn25.fn@gmail.com>2023-10-09 07:58:14 +0100
committerfenn-cs <fenn25.fn@gmail.com>2023-11-10 11:27:32 +0100
commit20b3338288e85772ad74b956f566b80ce7a4cfb9 (patch)
tree39aa7b71717bd850a3eef8c09bdd1a40705533b8 /dist/dashboard-main.js
parentfa761b51ccff0be55f9c22208d45c5e5a8b5b427 (diff)
downloadnextcloud-server-20b3338288e85772ad74b956f566b80ce7a4cfb9.tar.gz
nextcloud-server-20b3338288e85772ad74b956f566b80ce7a4cfb9.zip
Feat: New UI global search
We are introducing a new search UI that providers a lot more space for users via a large centralized modal and providers various filters which can by applied by adding various chips on the UI. For example, users can now filter their search or scope it by limiting the results to specific apps, time period and people by apply the appropriate filters on the new UI, previously filters where applied using text in the search box by prefixing with `::`. Resolves: #39162 Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Diffstat (limited to 'dist/dashboard-main.js')
-rw-r--r--dist/dashboard-main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/dashboard-main.js b/dist/dashboard-main.js
index b6006573fa5..e951d1e7933 100644
--- a/dist/dashboard-main.js
+++ b/dist/dashboard-main.js
@@ -1,3 +1,3 @@
/*! For license information please see dashboard-main.js.LICENSE.txt */
-(()=>{var e,n={1412:(e,n,i)=>{"use strict";var a=i(20144),r=i(79753),o=i(77958),s=i(43554),l=i(93664),c=i(62642),d=i(9980),u=i.n(d),p=i(25475),h=i(77531);const f={data(){return{isMobile:this._isMobile()}},beforeMount(){window.addEventListener("resize",this._onResize)},beforeDestroy(){window.removeEventListener("resize",this._onResize)},methods:{_onResize(){this.isMobile=this._isMobile()},_isMobile:()=>document.documentElement.clientWidth<768}};var A=i(63357),m=i(93379),g=i.n(m),v=i(7795),b=i.n(v),y=i(90569),C=i.n(y),x=i(3565),w=i.n(x),E=i(19216),_=i.n(E),B=i(44589),k=i.n(B),S=i(77036),T={};T.styleTagTransform=k(),T.setAttributes=w(),T.insert=C().bind(null,"head"),T.domAPI=b(),T.insertStyleElement=_(),g()(S.Z,T),S.Z&&S.Z.locals&&S.Z.locals;var I=i(76311);const N=(0,a.defineComponent)({name:"NcActionButtonGroup",props:{name:{required:!1,default:void 0,type:String}}});var L=function(){var t=this,e=t._self._c;return t._self._setupProxy,e("li",{staticClass:"nc-button-group-base"},[t.name?e("div",[t._v(" "+t._s(t.name)+" ")]):t._e(),e("ul",{staticClass:"nc-button-group-content"},[t._t("default")],2)])},P=[];(0,I.n)(N,L,P,!1,null,null,null,null).exports;var M=i(34791),O=i(56562),R=i(46187),D=i(80472),j=i(63509),U={};U.styleTagTransform=k(),U.setAttributes=w(),U.insert=C().bind(null,"head"),U.domAPI=b(),U.insertStyleElement=_(),g()(j.Z,U),j.Z&&j.Z.locals&&j.Z.locals;var G=i(66143),W=i(41070);const F={name:"NcActionRadio",mixins:[G.A],props:{id:{type:String,default:()=>"action-"+(0,W.G)(),validator:t=>""!==t.trim()},checked:{type:Boolean,default:!1},name:{type:String,required:!0},value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1}},emits:["update:checked","change"],computed:{isFocusable(){return!this.disabled}},methods:{toggleInput(t){this.$refs.label.click()},onChange(t){this.$emit("update:checked",this.$refs.radio.checked),this.$emit("change",t)}}};var Z=function(){var t=this,e=t._self._c;return e("li",{staticClass:"action",class:{"action--disabled":t.disabled}},[e("span",{staticClass:"action-radio"},[e("input",{ref:"radio",staticClass:"radio action-radio__radio",class:{focusable:t.isFocusable},attrs:{id:t.id,disabled:t.disabled,name:t.name,type:"radio"},domProps:{checked:t.checked,value:t.value},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.preventDefault(),t.toggleInput.apply(null,arguments))},change:t.onChange}}),e("label",{ref:"label",staticClass:"action-radio__label",attrs:{for:t.id}},[t._v(t._s(t.text))]),t._e()],2)])},Y=[];(0,I.n)(F,Z,Y,!1,null,"b5f9046e",null,null).exports;var z=i(86653),$=i(4888),H=i(68763),V=i(41748),q=i(33797),X={};X.styleTagTransform=k(),X.setAttributes=w(),X.insert=C().bind(null,"head"),X.domAPI=b(),X.insertStyleElement=_(),g()(q.Z,X),q.Z&&q.Z.locals&&q.Z.locals;var J=i(5008);const K={name:"NcActionTextEditable",components:{ArrowRight:i(89497).A},mixins:[J.A],props:{id:{type:String,default:()=>"action-"+(0,W.G)(),validator:t=>""!==t.trim()},disabled:{type:Boolean,default:!1},value:{type:String,default:""}},emits:["input","update:value","submit"],computed:{isFocusable(){return!this.disabled},computedId:()=>(0,W.G)()},methods:{onInput(t){this.$emit("input",t),this.$emit("update:value",t.target.value)},onSubmit(t){if(t.preventDefault(),t.stopPropagation(),this.disabled)return!1;this.$emit("submit",t)}}};var Q=function(){var t=this,e=t._self._c;return e("li",{staticClass:"action",class:{"action--disabled":t.disabled}},[e("span",{staticClass:"action-text-editable",on:{click:t.onClick}},[t._t("icon",(function(){return[e("span",{staticClass:"action-text-editable__icon",class:[t.isIconUrl?"action-text-editable__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?`url(${t.icon})`:null}})]})),e("form",{ref:"form",staticClass:"action-text-editable__form",attrs:{disabled:t.disabled},on:{submit:function(e){return e.preventDefault(),t.onSubmit.apply(null,arguments)}}},[e("input",{staticClass:"action-text-editable__submit",attrs:{id:t.id,type:"submit"}}),t.name?e("label",{staticClass:"action-text-editable__name",attrs:{for:t.computedId}},[t._v(" "+t._s(t.name)+" ")]):t._e(),e("textarea",t._b({class:["action-text-editable__textarea",{focusable:t.isFocusable}],attrs:{id:t.computedId,disabled:t.disabled},domProps:{value:t.value},on:{input:t.onInput}},"textarea",t.$attrs,!1)),e("label",{directives:[{name:"show",rawName:"v-show",value:!t.disabled,expression:"!disabled"}],staticClass:"action-text-editable__label",attrs:{for:t.id}},[e("ArrowRight",{attrs:{size:20}})],1)])],2)])},tt=[];(0,I.n)(K,Q,tt,!1,null,"b0b05af8",null,null).exports;var et=i(67397);const nt={name:"NcAppContentDetails"};var it=function(){return(0,this._self._c)("div",{staticClass:"app-content-details"},[this._t("default")],2)},at=[];(0,I.n)(nt,it,at,!1,null,null,null,null).exports;const rt={name:"NcAppContentList",props:{selection:{type:Boolean,default:!1},showDetails:{type:Boolean,default:!1}}};var ot=function(){var t=this;return(0,t._self._c)("div",{staticClass:"app-content-list",class:{selection:t.selection,showdetails:t.showDetails}},[t._t("default")],2)},st=[];(0,I.n)(rt,ot,st,!1,null,null,null,null).exports;var lt=i(23491),ct=i(82002),dt=i(51345),ut={};ut.styleTagTransform=k(),ut.setAttributes=w(),ut.insert=C().bind(null,"head"),ut.domAPI=b(),ut.insertStyleElement=_(),g()(dt.Z,ut),dt.Z&&dt.Z.locals&&dt.Z.locals;const pt={name:"NcAppNavigationIconBullet",props:{color:{type:String,required:!0,validator:t=>/^#?([0-9A-F]{3}){1,2}$/i.test(t)}},emits:["click"],computed:{formattedColor(){return this.color.startsWith("#")?this.color:"#"+this.color}},methods:{onClick(t){this.$emit("click",t)}}};var ht=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-navigation-entry__icon-bullet",on:{click:t.onClick}},[e("div",{style:{backgroundColor:t.formattedColor}})])},ft=[];(0,I.n)(pt,ht,ft,!1,null,"91580127",null,null).exports;var At=i(28505),mt=i(36065),gt=i(84338),vt={};vt.styleTagTransform=k(),vt.setAttributes=w(),vt.insert=C().bind(null,"head"),vt.domAPI=b(),vt.insertStyleElement=_(),g()(gt.Z,vt),gt.Z&&gt.Z.locals&&gt.Z.locals;var bt=i(37505),yt=i(20435);const Ct={name:"NcAppNavigationNewItem",components:{NcInputConfirmCancel:bt.N,NcLoadingIcon:yt.Z},props:{name:{type:String,required:!0},icon:{type:String,default:""},loading:{type:Boolean,default:!1},editLabel:{type:String,default:""},editPlaceholder:{type:String,default:""}},emits:["new-item"],data:()=>({newItemValue:"",newItemActive:!1}),methods:{handleNewItem(){this.loading||(this.newItemActive=!0,this.$nextTick((()=>{this.$refs.newItemInput.focusInput()})))},cancelNewItem(){this.newItemActive=!1},handleNewItemDone(){this.$emit("new-item",this.newItemValue),this.newItemValue="",this.newItemActive=!1}}};var xt=function(){var t=this,e=t._self._c;return e("li",{staticClass:"app-navigation-entry",class:{"app-navigation-entry--newItemActive":t.newItemActive}},[e("button",{staticClass:"app-navigation-entry-button",on:{click:t.handleNewItem}},[e("span",{staticClass:"app-navigation-entry-icon",class:{[t.icon]:!t.loading}},[t.loading?e("NcLoadingIcon"):t._t("icon")],2),t.newItemActive?t._e():e("span",{staticClass:"app-navigation-new-item__name",attrs:{title:t.name}},[t._v(" "+t._s(t.name)+" ")]),t.newItemActive?e("span",{staticClass:"newItemContainer"},[e("NcInputConfirmCancel",{ref:"newItemInput",attrs:{placeholder:""!==t.editPlaceholder?t.editPlaceholder:t.name},on:{cancel:t.cancelNewItem,confirm:t.handleNewItemDone},model:{value:t.newItemValue,callback:function(e){t.newItemValue=e},expression:"newItemValue"}})],1):t._e()])])},wt=[];(0,I.n)(Ct,xt,wt,!1,null,"8950be04",null,null).exports;var Et=i(95882),_t={};_t.styleTagTransform=k(),_t.setAttributes=w(),_t.insert=C().bind(null,"head"),_t.domAPI=b(),_t.insertStyleElement=_(),g()(Et.Z,_t),Et.Z&&Et.Z.locals&&Et.Z.locals;var Bt=i(36842),kt=i(84722),St=(i(50337),i(95573),i(12917),i(42515),i(52925));const Tt={name:"CogIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var It=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon cog-icon",attrs:{"aria-hidden":!t.title,"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,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Nt=[];const Lt=(0,I.n)(Tt,It,Nt,!1,null,null,null,null).exports,Pt={directives:{ClickOutside:St.hs},components:{Cog:Lt},mixins:[kt.Z],props:{name:{type:String,required:!1,default:(0,Bt.t)("Settings")}},data:()=>({open:!1}),computed:{clickOutsideConfig(){return[this.closeMenu,this.clickOutsideOptions]},ariaLabel:()=>(0,Bt.t)("Open settings menu")},methods:{toggleMenu(){this.open=!this.open},closeMenu(){this.open=!1}}};var Mt=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.clickOutsideConfig,expression:"clickOutsideConfig"}],class:{open:t.open},attrs:{id:"app-settings"}},[e("div",{attrs:{id:"app-settings__header"}},[e("button",{staticClass:"settings-button",attrs:{type:"button","aria-expanded":t.open?"true":"false","aria-controls":"app-settings__content","aria-label":t.ariaLabel},on:{click:t.toggleMenu}},[e("Cog",{staticClass:"settings-button__icon",attrs:{size:20}}),e("span",{staticClass:"settings-button__label"},[t._v(t._s(t.name))])],1)]),e("transition",{attrs:{name:"slide-up"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],attrs:{id:"app-settings__content"}},[t._t("default")],2)])],1)},Ot=[];(0,I.n)(Pt,Mt,Ot,!1,null,"db4cc195",null,null).exports;var Rt=i(87875),Dt=i(77219),jt=i(56956),Ut=i(55188),Gt=i(98445),Wt=i(57989),Ft=i(36402),Zt=i(49231),Yt=i(50448),zt=i(37776),$t=i(73743),Ht=i(59897),Vt=i(44338),qt={};qt.styleTagTransform=k(),qt.setAttributes=w(),qt.insert=C().bind(null,"head"),qt.domAPI=b(),qt.insertStyleElement=_(),g()(Vt.Z,qt),Vt.Z&&Vt.Z.locals&&Vt.Z.locals;var Xt=i(24478),Jt={};Jt.styleTagTransform=k(),Jt.setAttributes=w(),Jt.insert=C().bind(null,"head"),Jt.domAPI=b(),Jt.insertStyleElement=_(),g()(Xt.Z,Jt),Xt.Z&&Xt.Z.locals&&Xt.Z.locals;const Kt={name:"NcDashboardWidgetItem",components:{NcAvatar:Wt.N,NcActions:$.Z,NcActionButton:A.Z},props:{id:{type:[String,Number],default:void 0},targetUrl:{type:String,default:void 0},avatarUrl:{type:String,default:void 0},avatarUsername:{type:String,default:void 0},avatarIsNoUser:{type:Boolean,default:!1},overlayIconUrl:{type:String,default:void 0},mainText:{type:String,required:!0},subText:{type:String,default:""},itemMenu:{type:Object,default:()=>({})},forceMenu:{type:Boolean,default:!0}},data:()=>({hovered:!1}),computed:{item(){return{id:this.id,targetUrl:this.targetUrl,avatarUrl:this.avatarUrl,avatarUsername:this.avatarUsername,overlayIconUrl:this.overlayIconUrl,mainText:this.mainText,subText:this.subText}},gotMenu(){return 0!==Object.keys(this.itemMenu).length||!!this.$slots.actions},gotOverlayIcon(){return this.overlayIconUrl&&""!==this.overlayIconUrl}},methods:{onLinkClick(t){t.target.closest(".action-item")&&t.preventDefault()}}};var Qt=function(){var t=this,e=t._self._c;return e("div",{on:{mouseover:function(e){t.hovered=!0},mouseleave:function(e){t.hovered=!1}}},[e(t.targetUrl?"a":"div",{tag:"component",class:{"item-list__entry":!0,"item-list__entry--has-actions-menu":t.gotMenu},attrs:{href:t.targetUrl||void 0,target:t.targetUrl?"_blank":void 0},on:{click:t.onLinkClick}},[t._t("avatar",(function(){return[e("NcAvatar",{staticClass:"item-avatar",attrs:{size:44,url:t.avatarUrl,user:t.avatarUsername,"is-no-user":t.avatarIsNoUser,"show-user-status":!t.gotOverlayIcon}})]}),{avatarUrl:t.avatarUrl,avatarUsername:t.avatarUsername}),t.overlayIconUrl?e("img",{staticClass:"item-icon",attrs:{alt:"",src:t.overlayIconUrl}}):t._e(),e("div",{staticClass:"item__details"},[e("h3",{attrs:{title:t.mainText}},[t._v(" "+t._s(t.mainText)+" ")]),e("span",{staticClass:"message",attrs:{title:t.subText}},[t._v(" "+t._s(t.subText)+" ")])]),t.gotMenu?e("NcActions",{attrs:{"force-menu":t.forceMenu}},[t._t("actions",(function(){return t._l(t.itemMenu,(function(n,i){return e("NcActionButton",{key:i,attrs:{icon:n.icon,"close-after-click":!0},on:{click:function(e){return e.preventDefault(),e.stopPropagation(),t.$emit(i,t.item)}}},[t._v(" "+t._s(n.text)+" ")])}))}))],2):t._e()],2)],1)},te=[];const ee=(0,I.n)(Kt,Qt,te,!1,null,"00e861ef",null,null).exports;var ne=i(22175),ie=i(69753);const ae={name:"NcDashboardWidget",components:{NcAvatar:Wt.N,NcDashboardWidgetItem:ee,NcEmptyContent:ne.Z,Check:ie.C},props:{items:{type:Array,default:()=>[]},showMoreUrl:{type:String,default:""},showMoreLabel:{type:String,default:(0,Bt.t)("More items …")},loading:{type:Boolean,default:!1},itemMenu:{type:Object,default:()=>({})},showItemsAndEmptyContent:{type:Boolean,default:!1},emptyContentMessage:{type:String,default:""},halfEmptyContentMessage:{type:String,default:""}},computed:{handlers(){const t={};for(const e in this.itemMenu)t[e]=t=>{this.$emit(e,t)};return t},displayedItems(){const t=this.showMoreUrl&&this.items.length>=this.maxItemNumber?this.maxItemNumber-1:this.maxItemNumber;return this.items.slice(0,t)},showHalfEmptyContentArea(){return this.showItemsAndEmptyContent&&this.halfEmptyContentString&&0!==this.items.length},halfEmptyContentString(){return this.halfEmptyContentMessage||this.emptyContentMessage},maxItemNumber(){return this.showItemsAndEmptyContent?5:7},showMore(){return this.showMoreUrl&&this.items.length>=this.maxItemNumber}}};var re=function(){var t=this,e=t._self._c;return e("div",{staticClass:"dashboard-widget"},[t.showHalfEmptyContentArea?e("NcEmptyContent",{staticClass:"half-screen",attrs:{description:t.halfEmptyContentString},scopedSlots:t._u([{key:"icon",fn:function(){return[t._t("halfEmptyContentIcon",(function(){return[e("Check")]}))]},proxy:!0}],null,!0)}):t._e(),e("ul",t._l(t.displayedItems,(function(n){return e("li",{key:n.id},[t._t("default",(function(){return[e("NcDashboardWidgetItem",t._g(t._b({attrs:{"item-menu":t.itemMenu}},"NcDashboardWidgetItem",n,!1),t.handlers))]}),{item:n})],2)})),0),t.loading?e("div",t._l(7,(function(n){return e("div",{key:n,staticClass:"item-list__entry"},[e("NcAvatar",{staticClass:"item-avatar",attrs:{size:44}}),t._m(0,!0)],1)})),0):0===t.items.length?t._t("empty-content",(function(){return[t.emptyContentMessage?e("NcEmptyContent",{attrs:{description:t.emptyContentMessage},scopedSlots:t._u([{key:"icon",fn:function(){return[t._t("emptyContentIcon")]},proxy:!0}],null,!0)}):t._e()]})):t.showMore?e("a",{staticClass:"more",attrs:{href:t.showMoreUrl,target:"_blank",tabindex:"0"}},[t._v(" "+t._s(t.showMoreLabel)+" ")]):t._e()],2)},oe=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"item__details"},[e("h3",[t._v(" ")]),e("p",{staticClass:"message"},[t._v("   ")])])}];const se=(0,I.n)(ae,re,oe,!1,null,"1efcbeee",null,null).exports;var le=i(97947),ce=i(1777),de=i(37008),ue=i(93757),pe=i(6318),he=i(78573),fe=i(80811),Ae={};Ae.styleTagTransform=k(),Ae.setAttributes=w(),Ae.insert=C().bind(null,"head"),Ae.domAPI=b(),Ae.insertStyleElement=_(),g()(fe.Z,Ae),fe.Z&&fe.Z.locals&&fe.Z.locals;const me={name:"NcGuestContent",mounted(){document.getElementById("content").classList.add("nc-guest-content")},destroyed(){document.getElementById("content").classList.remove("nc-guest-content")}};var ge=function(){return(0,this._self._c)("div",{attrs:{id:"guest-content-vue"}},[this._t("default")],2)},ve=[];(0,I.n)(me,ge,ve,!1,null,"36ad47ca",null,null).exports;var be=i(93815),ye=i(40873),Ce=i(64865),xe=i(3172),we=i(88175),Ee=i(6156),_e=i(16972),Be=i(34246),ke=i(34854),Se=i(6677),Te={};Te.styleTagTransform=k(),Te.setAttributes=w(),Te.insert=C().bind(null,"head"),Te.domAPI=b(),Te.insertStyleElement=_(),g()(Se.Z,Te),Se.Z&&Se.Z.locals&&Se.Z.locals;var Ie=i(25108);const Ne={name:"NcResource",components:{NcButton:c.Z},props:{icon:{type:String,required:!0},name:{type:String,required:!0},url:{type:String,required:!0}},data(){return{labelTranslated:(0,Bt.t)('Open link to "{resourceName}"',{resourceName:this.name})}},methods:{t:Bt.t}};var Le=function(){var t=this,e=t._self._c;return e("li",{staticClass:"resource"},[e("NcButton",{staticClass:"resource__button",attrs:{"aria-label":t.labelTranslated,type:"tertiary",href:t.url},scopedSlots:t._u([{key:"icon",fn:function(){return[e("div",{staticClass:"resource__icon"},[e("img",{attrs:{src:t.icon}})])]},proxy:!0}])},[t._v(" "+t._s(t.name)+" ")])],1)},Pe=[];const Me={name:"NcRelatedResourcesPanel",components:{NcResource:(0,I.n)(Ne,Le,Pe,!1,null,"1a960bef",null,null).exports},props:{providerId:{type:String,default:null},itemId:{type:[String,Number],default:null},resourceType:{type:String,default:null},limit:{type:Number,default:null},fileInfo:{type:Object,default:null},header:{type:String,default:(0,Bt.t)("Related resources")},description:{type:String,default:(0,Bt.t)("Anything shared with the same group of people will show up here")},primary:{type:Boolean,default:!1}},emits:["has-error","has-resources"],data(){var t;return{appEnabled:void 0!==(null==(t=null==OC?void 0:OC.appswebroots)?void 0:t.related_resources),loading:!1,error:null,resources:[]}},computed:{isVisible(){var t;return!this.loading&&(null!=(t=this.error)?t:this.resources.length>0)},subline(){return this.error?(0,Bt.t)("Error getting related resources. Please contact your system administrator if you have any questions."):this.description},hasResourceInfo(){return null!==this.providerId&&null!==this.itemId||null!==this.fileInfo},isFiles(){var t;return void 0!==(null==(t=this.fileInfo)?void 0:t.id)},url(){let t=null,e=null;return this.isFiles?(t="files",e=this.fileInfo.id):(t=this.providerId,e=this.itemId),(0,r.generateOcsUrl)("/apps/related_resources/related/{providerId}?itemId={itemId}&resourceType={resourceType}&limit={limit}&format=json",{providerId:t,itemId:e,resourceType:this.resourceType,limit:this.limit})}},watch:{providerId(){this.fetchRelatedResources()},itemId(){this.fetchRelatedResources()},fileInfo(){this.fetchRelatedResources()},error(t){this.$emit("has-error",!!t)},resources(t){this.$emit("has-resources",t.length>0)}},created(){this.fetchRelatedResources()},methods:{t:Bt.t,async fetchRelatedResources(){var t;if(this.appEnabled&&this.hasResourceInfo){this.loading=!0,this.error=null,this.resources=[];try{const e=await l.Z.get(this.url);this.resources=null==(t=e.data.ocs)?void 0:t.data}catch(t){this.error=t,Ie.error(t)}finally{this.loading=!1}}}}};var Oe=function(){var t=this,e=t._self._c;return t.appEnabled&&t.isVisible?e("div",{staticClass:"related-resources"},[e("div",{staticClass:"related-resources__header"},[e("h5",[t._v(t._s(t.header))]),e("p",[t._v(t._s(t.subline))])]),t._l(t.resources,(function(t){return e("NcResource",{key:t.itemId,staticClass:"related-resources__entry",attrs:{icon:t.icon,name:t.title,url:t.url}})}))],2):t._e()},Re=[];(0,I.n)(Me,Oe,Re,!1,null,"19300848",null,null).exports;var De=i(22663),je=(i(29774),i(79845)),Ue=i(93911),Ge=(i(37762),i(19664)),We=i(49368),Fe=i(35676),Ze=i(69183),Ye=i(79033),ze=i(60545),$e=i(25108);window._vue_richtext_widgets||(window._vue_richtext_widgets={}),window._registerWidget=(t,e,n=(t=>{}))=>{window._vue_richtext_widgets[t]?$e.error("Widget for id "+t+" already registered"):window._vue_richtext_widgets[t]={id:t,callback:e,onDestroy:n}};const He={name:"NcReferenceWidget",props:{reference:{type:Object,required:!0}},data:()=>({compact:3}),computed:{hasCustomWidget(){return(t=>!!window._vue_richtext_widgets[t])(this.reference.richObjectType)},noAccess(){return this.reference&&!this.reference.accessible},descriptionStyle(){if(0===this.compact)return{display:"none"};const t=this.compact<4?this.compact:3;return{lineClamp:t,webkitLineClamp:t}},compactLink(){const t=this.reference.openGraphObject.link;return t?t.startsWith("https://")?t.substring(8):t.startsWith("http://")?t.substring(7):t:""}},mounted(){this.renderWidget(),this.observer=new ResizeObserver((t=>{t[0].contentRect.width<450?this.compact=0:t[0].contentRect.width<550?this.compact=1:t[0].contentRect.width<650?this.compact=2:this.compact=3})),this.observer.observe(this.$el)},beforeDestroy(){this.observer.disconnect(),((t,e)=>{"open-graph"!==t&&window._vue_richtext_widgets[t]&&window._vue_richtext_widgets[t].onDestroy(e)})(this.reference.richObjectType,this.$el)},methods:{renderWidget(){var t;this.$refs.customWidget&&(this.$refs.customWidget.innerHTML=""),"open-graph"!==(null==(t=null==this?void 0:this.reference)?void 0:t.richObjectType)&&this.$nextTick((()=>{((t,{richObjectType:e,richObject:n,accessible:i})=>{if("open-graph"!==e){if(!window._vue_richtext_widgets[e])return void $e.error("Widget for rich object type "+e+" not registered");window._vue_richtext_widgets[e].callback(t,{richObjectType:e,richObject:n,accessible:i})}})(this.$refs.customWidget,this.reference)}))}}};var Ve=function(){var t=this,e=t._self._c;return e("div",[t.reference&&t.hasCustomWidget?e("div",{staticClass:"widget-custom"},[e("div",{ref:"customWidget"})]):!t.noAccess&&t.reference&&t.reference.openGraphObject&&!t.hasCustomWidget?e("a",{staticClass:"widget-default",attrs:{href:t.reference.openGraphObject.link,rel:"noopener noreferrer",target:"_blank"}},[t.reference.openGraphObject.thumb?e("img",{staticClass:"widget-default--image",attrs:{src:t.reference.openGraphObject.thumb}}):t._e(),e("div",{staticClass:"widget-default--details"},[e("p",{staticClass:"widget-default--name"},[t._v(t._s(t.reference.openGraphObject.name))]),e("p",{staticClass:"widget-default--description",style:t.descriptionStyle},[t._v(t._s(t.reference.openGraphObject.description))]),e("p",{staticClass:"widget-default--link"},[t._v(t._s(t.compactLink))])])]):t._e()])},qe=[];const Xe=(0,I.n)(He,Ve,qe,!1,null,"b1c5a80f",null,null).exports;window._vue_richtext_custom_picker_elements||(window._vue_richtext_custom_picker_elements={});const Je=t=>!!window._vue_richtext_custom_picker_elements[t];window._registerCustomPickerElement=(t,e,n=(t=>{}),i="large")=>{window._vue_richtext_custom_picker_elements[t]?$e.error("Custom reference picker element for id "+t+" already registered"):window._vue_richtext_custom_picker_elements[t]={id:t,callback:e,onDestroy:n,size:i}};const Ke={name:"NcCustomPickerElement",props:{provider:{type:Object,required:!0}},emits:["cancel","submit"],data(){return{isRegistered:Je(this.provider.id),renderResult:null}},mounted(){this.isRegistered&&this.renderElement()},beforeDestroy(){this.isRegistered&&((t,e,n)=>{window._vue_richtext_custom_picker_elements[t]&&window._vue_richtext_custom_picker_elements[t].onDestroy(e,n)})(this.provider.id,this.$el,this.renderResult)},methods:{renderElement(){this.$refs.domElement&&(this.$refs.domElement.innerHTML="");const t=((t,{providerId:e,accessible:n})=>{if(window._vue_richtext_custom_picker_elements[e])return window._vue_richtext_custom_picker_elements[e].callback(t,{providerId:e,accessible:n});$e.error("Custom reference picker element for reference provider ID "+e+" not registered")})(this.$refs.domElement,{providerId:this.provider.id,accessible:!1});Promise.resolve(t).then((t=>{var e,n;this.renderResult=t,null!=(e=this.renderResult.object)&&e._isVue&&null!=(n=this.renderResult.object)&&n.$on&&(this.renderResult.object.$on("submit",this.onSubmit),this.renderResult.object.$on("cancel",this.onCancel)),this.renderResult.element.addEventListener("submit",(t=>{this.onSubmit(t.detail)})),this.renderResult.element.addEventListener("cancel",this.onCancel)}))},onSubmit(t){this.$emit("submit",t)},onCancel(){this.$emit("cancel")}}};var Qe=function(){return(0,this._self._c)("div",{ref:"domElement"})},tn=[];const en=(0,I.n)(Ke,Qe,tn,!1,null,"cf695ff9",null,null).exports,nn="any-link",an={id:nn,title:(0,Bt.t)("Any link"),icon_url:(0,r.imagePath)("core","filetypes/link.svg")};function rn(){return window._vue_richtext_reference_providers.filter((t=>{const e=!!t.search_providers_ids&&t.search_providers_ids.length>0||Je(t.id);return e||$e.debug("[smart picker]",t.id,"reference provider is discoverable but does not have any related search provider or custom picker component registered"),e}))}function on(t,e=null){const n=rn(),i=t.replace(/[/\-\\^$*+?.()|[\]{}]/g,"\\$&"),a=new RegExp(i,"i"),r=function(t){const e=window._vue_richtext_reference_provider_timestamps;return t.sort(((t,e)=>t.order===e.order?0:t.order>e.order?1:-1)).sort(((t,n)=>{const i=e[t.id],a=e[n.id];return i===a?0:void 0===a?-1:void 0===i?1:i>a?-1:1}))}(n).filter((t=>t.title.match(a))),o=e?r.slice(0,e):r;return(""===t||0===o.length)&&o.push(an),o}window._vue_richtext_reference_providers||(window._vue_richtext_reference_providers=(0,s.j)("core","reference-provider-list",[])),window._vue_richtext_reference_provider_timestamps||(window._vue_richtext_reference_provider_timestamps=(0,s.j)("core","reference-provider-timestamps",{}));let sn=0;function ln(t,e){return function(){const n=this,i=arguments;clearTimeout(sn),sn=setTimeout((function(){t.apply(n,i)}),e||0)}}function cn(t){try{return!!new URL(t)}catch{return!1}}const dn={name:"LinkVariantIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var un=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon link-variant-icon",attrs:{"aria-hidden":!t.title,"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:"M10.59,13.41C11,13.8 11,14.44 10.59,14.83C10.2,15.22 9.56,15.22 9.17,14.83C7.22,12.88 7.22,9.71 9.17,7.76V7.76L12.71,4.22C14.66,2.27 17.83,2.27 19.78,4.22C21.73,6.17 21.73,9.34 19.78,11.29L18.29,12.78C18.3,11.96 18.17,11.14 17.89,10.36L18.36,9.88C19.54,8.71 19.54,6.81 18.36,5.64C17.19,4.46 15.29,4.46 14.12,5.64L10.59,9.17C9.41,10.34 9.41,12.24 10.59,13.41M13.41,9.17C13.8,8.78 14.44,8.78 14.83,9.17C16.78,11.12 16.78,14.29 14.83,16.24V16.24L11.29,19.78C9.34,21.73 6.17,21.73 4.22,19.78C2.27,17.83 2.27,14.66 4.22,12.71L5.71,11.22C5.7,12.04 5.83,12.86 6.11,13.65L5.64,14.12C4.46,15.29 4.46,17.19 5.64,18.36C6.81,19.54 8.71,19.54 9.88,18.36L13.41,14.83C14.59,13.66 14.59,11.76 13.41,10.59C13,10.2 13,9.56 13.41,9.17Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},pn=[];const hn=(0,I.n)(dn,un,pn,!1,null,null,null,null).exports,fn={name:"NcProviderList",components:{NcSelect:Ge.Z,NcHighlight:ye.N,NcEmptyContent:ne.Z,LinkVariantIcon:hn},emits:["select-provider","submit"],data:()=>({selectedProvider:null,query:"",multiselectPlaceholder:(0,Bt.t)("Select provider"),providerIconAlt:(0,Bt.t)("Provider icon")}),computed:{options(){const t=[];return""!==this.query&&cn(this.query)&&t.push({id:this.query,title:this.query,isLink:!0}),t.push(...on(this.query)),t}},methods:{focus(){setTimeout((()=>{var t,e,n;null==(n=null==(e=null==(t=this.$refs["provider-select"])?void 0:t.$el)?void 0:e.querySelector("#provider-select-input"))||n.focus()}),300)},onProviderSelected(t){null!==t&&(t.isLink?this.$emit("submit",t.title):this.$emit("select-provider",t),this.selectedProvider=null)},onSearch(t,e){this.query=t}}};var An=function(){var t=this,e=t._self._c;return e("div",{staticClass:"provider-list"},[e("NcSelect",{ref:"provider-select",staticClass:"provider-list--select",attrs:{"input-id":"provider-select-input",label:"title",placeholder:t.multiselectPlaceholder,options:t.options,"append-to-body":!1,"clear-search-on-select":!0,"clear-search-on-blur":()=>!1,filterable:!1},on:{search:t.onSearch,input:t.onProviderSelected},scopedSlots:t._u([{key:"option",fn:function(n){return[n.isLink?e("div",{staticClass:"provider"},[e("LinkVariantIcon",{staticClass:"link-icon",attrs:{size:20}}),e("span",[t._v(t._s(n.title))])],1):e("div",{staticClass:"provider"},[e("img",{staticClass:"provider-icon",attrs:{src:n.icon_url,alt:t.providerIconAlt}}),e("NcHighlight",{staticClass:"option-text",attrs:{search:t.query,text:n.title}})],1)]}}]),model:{value:t.selectedProvider,callback:function(e){t.selectedProvider=e},expression:"selectedProvider"}}),e("NcEmptyContent",{staticClass:"provider-list--empty-content",scopedSlots:t._u([{key:"icon",fn:function(){return[e("LinkVariantIcon")]},proxy:!0}])})],1)},mn=[];const gn=(0,I.n)(fn,An,mn,!1,null,"9d850ea5",null,null).exports,vn={name:"NcRawLinkInput",components:{LinkVariantIcon:hn,NcEmptyContent:ne.Z,NcLoadingIcon:yt.Z,NcReferenceWidget:Xe,NcTextField:We.Z},props:{provider:{type:Object,required:!0}},emits:["submit"],data:()=>({inputValue:"",loading:!1,reference:null,abortController:null,inputPlaceholder:(0,Bt.t)("Enter link")}),computed:{isLinkValid(){return cn(this.inputValue)}},methods:{focus(){var t;null==(t=this.$refs["url-input"].$el.getElementsByTagName("input")[0])||t.focus()},onSubmit(t){const e=t.target.value;this.isLinkValid&&this.$emit("submit",e)},onClear(){this.inputValue="",this.reference=null},onInput(){this.reference=null,this.abortController&&this.abortController.abort(),this.isLinkValid&&ln((()=>{this.updateReference()}),500)()},updateReference(){this.loading=!0,this.abortController=new AbortController,l.Z.get((0,r.generateOcsUrl)("references/resolve",2)+"?reference="+encodeURIComponent(this.inputValue),{signal:this.abortController.signal}).then((t=>{this.reference=t.data.ocs.data.references[this.inputValue]})).catch((t=>{$e.error(t)})).then((()=>{this.loading=!1}))}}};var bn=function(){var t=this,e=t._self._c;return e("div",{staticClass:"raw-link"},[e("div",{staticClass:"input-wrapper"},[e("NcTextField",{ref:"url-input",attrs:{value:t.inputValue,"show-trailing-button":""!==t.inputValue,label:t.inputPlaceholder},on:{"update:value":[function(e){t.inputValue=e},t.onInput],"trailing-button-click":t.onClear},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.onSubmit.apply(null,arguments)}}},[t.loading?e("NcLoadingIcon",{attrs:{size:16}}):e("LinkVariantIcon",{attrs:{size:16}})],1)],1),null!==t.reference?e("NcReferenceWidget",{staticClass:"reference-widget",attrs:{reference:t.reference}}):e("NcEmptyContent",{staticClass:"raw-link--empty-content",scopedSlots:t._u([{key:"icon",fn:function(){return[t.provider.icon_url?e("img",{staticClass:"provider-icon",attrs:{src:t.provider.icon_url}}):e("LinkVariantIcon")]},proxy:!0}])})],1)},yn=[];const Cn=(0,I.n)(vn,bn,yn,!1,null,"d0ba247a",null,null).exports,xn={name:"NcSearchResult",components:{NcHighlight:ye.N},props:{entry:{type:Object,required:!0},query:{type:String,required:!0}}};var wn=function(){var t=this,e=t._self._c;return e("div",{staticClass:"result"},[t.entry.icon?e("div",{staticClass:"result--icon-class",class:{[t.entry.icon]:!0,rounded:t.entry.rounded}}):e("img",{staticClass:"result--image",class:{rounded:t.entry.rounded},attrs:{src:t.entry.thumbnailUrl}}),e("div",{staticClass:"result--content"},[e("span",{staticClass:"result--content--name"},[e("NcHighlight",{attrs:{search:t.query,text:t.entry.title}})],1),e("span",{staticClass:"result--content--subline"},[e("NcHighlight",{attrs:{search:t.query,text:t.entry.subline}})],1)])])},En=[];const _n=(0,I.n)(xn,wn,En,!1,null,"7a394a58",null,null).exports,Bn={name:"NcSearch",components:{LinkVariantIcon:hn,DotsHorizontalIcon:Fe.D,NcEmptyContent:ne.Z,NcSelect:Ge.Z,NcSearchResult:_n},props:{provider:{type:Object,required:!0},showEmptyContent:{type:Boolean,default:!0},searchPlaceholder:{type:String,default:null}},emits:["submit"],data:()=>({searchQuery:"",selectedResult:null,resultsBySearchProvider:{},searching:!1,searchingMoreOf:null,abortController:null,noOptionsText:(0,Bt.t)("Start typing to search"),providerIconAlt:(0,Bt.t)("Provider icon")}),computed:{mySearchPlaceholder(){return this.searchPlaceholder||(0,Bt.t)("Search")},searchProviderIds(){return this.provider.search_providers_ids},options(){if(""===this.searchQuery)return[];const t=[];return cn(this.searchQuery)&&t.push(this.rawLinkEntry),t.push(...this.formattedSearchResults),t},rawLinkEntry(){return{id:"rawLinkEntry",resourceUrl:this.searchQuery,isRawLink:!0}},formattedSearchResults(){const t=[];return this.searchProviderIds.forEach((e=>{if(this.resultsBySearchProvider[e].entries.length>0){(this.searchProviderIds.length>1||this.resultsBySearchProvider[e].entries.length>1)&&t.push({id:"groupTitle-"+e,name:this.resultsBySearchProvider[e].name,isCustomGroupTitle:!0,providerId:e});const n=this.resultsBySearchProvider[e].entries.map(((t,n)=>({id:"provider-"+e+"-entry-"+n,...t})));t.push(...n),this.resultsBySearchProvider[e].isPaginated&&t.push({id:"moreOf-"+e,name:this.resultsBySearchProvider[e].name,isMore:!0,providerId:e,isLoading:this.searchingMoreOf===e})}})),t}},mounted(){this.resetResults()},beforeDestroy(){this.cancelSearchRequests()},methods:{t:Bt.t,resetResults(){const t={};this.searchProviderIds.forEach((e=>{t[e]={entries:[]}})),this.resultsBySearchProvider=t},focus(){setTimeout((()=>{var t,e,n;null==(n=null==(e=null==(t=this.$refs["search-select"])?void 0:t.$el)?void 0:e.querySelector("#search-select-input"))||n.focus()}),300)},cancelSearchRequests(){this.abortController&&this.abortController.abort()},onSearchInput(t,e){this.searchQuery=t,ln((()=>{this.updateSearch()}),500)()},onSelectResultSelected(t){null!==t&&(t.resourceUrl?(this.cancelSearchRequests(),this.$emit("submit",t.resourceUrl)):t.isMore&&this.searchMoreOf(t.providerId).then((()=>{this.selectedResult=null})))},searchMoreOf(t){return this.searchingMoreOf=t,this.cancelSearchRequests(),this.searchProviders(t)},updateSearch(){if(this.cancelSearchRequests(),this.resetResults(),""!==this.searchQuery)return this.searchProviders();this.searching=!1},searchProviders(t=null){var e,n;this.abortController=new AbortController,this.searching=!0;const i=null===t?[...this.searchProviderIds].map((t=>this.searchOneProvider(t))):[this.searchOneProvider(t,null!=(n=null==(e=this.resultsBySearchProvider[t])?void 0:e.cursor)?n:null)];return Promise.allSettled(i).then((t=>{t.find((t=>"rejected"===t.status&&("CanceledError"===t.reason.name||"ERR_CANCELED"===t.reason.code)))||(this.searching=!1,this.searchingMoreOf=null)}))},searchOneProvider(t,e=null){const n=null===e?(0,r.generateOcsUrl)("search/providers/{providerId}/search?term={term}&limit={limit}",{providerId:t,term:this.searchQuery,limit:5}):(0,r.generateOcsUrl)("search/providers/{providerId}/search?term={term}&limit={limit}&cursor={cursor}",{providerId:t,term:this.searchQuery,limit:5,cursor:e});return l.Z.get(n,{signal:this.abortController.signal}).then((e=>{const n=e.data.ocs.data;this.resultsBySearchProvider[t].name=n.name,this.resultsBySearchProvider[t].cursor=n.cursor,this.resultsBySearchProvider[t].isPaginated=n.isPaginated,this.resultsBySearchProvider[t].entries.push(...n.entries)}))}}};var kn=function(){var t=this,e=t._self._c;return e("div",{staticClass:"smart-picker-search",class:{"with-empty-content":t.showEmptyContent}},[e("NcSelect",{ref:"search-select",staticClass:"smart-picker-search--select",attrs:{"input-id":"search-select-input",label:"name",placeholder:t.mySearchPlaceholder,options:t.options,"append-to-body":!1,"close-on-select":!1,"clear-search-on-select":!1,"clear-search-on-blur":()=>!1,"reset-focus-on-options-change":!1,filterable:!1,autoscroll:!0,"reset-on-options-change":!1,loading:t.searching},on:{search:t.onSearchInput,input:t.onSelectResultSelected},scopedSlots:t._u([{key:"option",fn:function(n){return[n.isRawLink?e("div",{staticClass:"custom-option"},[e("LinkVariantIcon",{staticClass:"option-simple-icon",attrs:{size:20}}),e("span",{staticClass:"option-text"},[t._v(" "+t._s(t.t("Raw link {options}",{options:n.resourceUrl}))+" ")])],1):n.resourceUrl?e("NcSearchResult",{staticClass:"search-result",attrs:{entry:n,query:t.searchQuery}}):n.isCustomGroupTitle?e("span",{staticClass:"custom-option group-name"},[t.provider.icon_url?e("img",{staticClass:"provider-icon group-name-icon",attrs:{src:t.provider.icon_url}}):t._e(),e("span",{staticClass:"option-text"},[e("strong",[t._v(t._s(n.name))])])]):n.isMore?e("span",{class:{"custom-option":!0}},[n.isLoading?e("span",{staticClass:"option-simple-icon icon-loading-small"}):e("DotsHorizontalIcon",{staticClass:"option-simple-icon",attrs:{size:20}}),e("span",{staticClass:"option-text"},[t._v(" "+t._s(t.t('Load more "{options}"',{options:n.name}))+" ")])],1):t._e()]}},{key:"no-options",fn:function(){return[t._v(" "+t._s(t.noOptionsText)+" ")]},proxy:!0}]),model:{value:t.selectedResult,callback:function(e){t.selectedResult=e},expression:"selectedResult"}}),t.showEmptyContent?e("NcEmptyContent",{staticClass:"smart-picker-search--empty-content",scopedSlots:t._u([{key:"icon",fn:function(){return[t.provider.icon_url?e("img",{staticClass:"provider-icon",attrs:{alt:t.providerIconAlt,src:t.provider.icon_url}}):e("LinkVariantIcon")]},proxy:!0}],null,!1,2922132592)}):t._e()],1)},Sn=[];const Tn=(0,I.n)(Bn,kn,Sn,!1,null,"97d196f0",null,null).exports,In={providerList:1,standardLinkInput:2,searchInput:3,customElement:4},Nn={name:"NcReferencePicker",components:{NcCustomPickerElement:en,NcProviderList:gn,NcRawLinkInput:Cn,NcSearch:Tn},props:{initialProvider:{type:Object,default:()=>null},width:{type:Number,default:null},focusOnCreate:{type:Boolean,default:!0}},emits:["cancel","cancel-raw-link","cancel-search","provider-selected","submit"],data(){return{MODES:In,selectedProvider:this.initialProvider}},computed:{mode(){return null===this.selectedProvider?In.providerList:Je(this.selectedProvider.id)?In.customElement:this.selectedProvider.search_providers_ids?In.searchInput:In.standardLinkInput},pickerWrapperStyle(){return{width:this.width?this.width+"px":void 0}}},mounted(){this.focusOnCreate&&(this.initialProvider?setTimeout((()=>{var t;null==(t=this.$refs["url-input"])||t.focus()}),300):this.$nextTick((()=>{var t;null==(t=this.$refs["provider-list"])||t.focus()})))},methods:{onEscapePressed(){null!==this.selectedProvider?this.deselectProvider():this.cancelProviderSelection()},onProviderSelected(t){this.selectedProvider=t,this.$emit("provider-selected",t),this.$nextTick((()=>{var t;null==(t=this.$refs["url-input"])||t.focus()}))},cancelCustomElement(){this.deselectProvider()},cancelSearch(){var t;this.$emit("cancel-search",null==(t=this.selectedProvider)?void 0:t.title),this.deselectProvider()},cancelRawLinkInput(){var t;this.$emit("cancel-raw-link",null==(t=this.selectedProvider)?void 0:t.title),this.deselectProvider()},cancelProviderSelection(){this.$emit("cancel")},submitLink(t){null!==this.selectedProvider&&function(t){const e=Math.floor(Date.now()/1e3),n={timestamp:e},i=(0,r.generateOcsUrl)("references/provider/{providerId}",{providerId:t});l.Z.put(i,n).then((n=>{window._vue_richtext_reference_provider_timestamps[t]=e}))}(this.selectedProvider.id),this.$emit("submit",t),this.deselectProvider()},deselectProvider(){this.selectedProvider=null,this.$emit("provider-selected",null),setTimeout((()=>{var t;null==(t=this.$refs["provider-list"])||t.focus()}),300)}}};var Ln=function(){var t=this,e=t._self._c;return e("div",{staticClass:"reference-picker",style:t.pickerWrapperStyle,attrs:{tabindex:"-1"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:(e.stopPropagation(),e.preventDefault(),t.onEscapePressed.apply(null,arguments))}}},[t.mode===t.MODES.providerList?e("NcProviderList",{ref:"provider-list",on:{"select-provider":t.onProviderSelected,submit:t.submitLink,cancel:t.cancelProviderSelection}}):t.mode===t.MODES.standardLinkInput?e("NcRawLinkInput",{ref:"url-input",attrs:{provider:t.selectedProvider},on:{submit:t.submitLink,cancel:t.cancelRawLinkInput}}):t.mode===t.MODES.searchInput?e("NcSearch",{ref:"url-input",attrs:{provider:t.selectedProvider},on:{cancel:t.cancelSearch,submit:t.submitLink}}):t.mode===t.MODES.customElement?e("div",{staticClass:"custom-element-wrapper"},[e("NcCustomPickerElement",{attrs:{provider:t.selectedProvider},on:{submit:t.submitLink,cancel:t.cancelCustomElement}})],1):t._e()],1)},Pn=[];const Mn={name:"NcReferencePickerModal",components:{NcReferencePicker:(0,I.n)(Nn,Ln,Pn,!1,null,"aa77d0d3",null,null).exports,NcModal:p.Z,NcButton:c.Z,ArrowLeftIcon:Ye.A,CloseIcon:ze.C},props:{initialProvider:{type:Object,default:()=>null},focusOnCreate:{type:Boolean,default:!0},isInsideViewer:{type:Boolean,default:!1}},emits:["cancel","submit"],data(){return{show:!0,selectedProvider:this.initialProvider,backButtonTitle:(0,Bt.t)("Back to provider selection"),closeButtonTitle:(0,Bt.t)("Close"),closeButtonLabel:(0,Bt.t)("Close Smart Picker")}},computed:{isProviderSelected(){return null!==this.selectedProvider},showBackButton(){return null===this.initialProvider&&this.isProviderSelected},modalSize(){var t;return this.isProviderSelected&&Je(this.selectedProvider.id)?null!=(t=(t=>{var e;const n=null==(e=window._vue_richtext_custom_picker_elements[t])?void 0:e.size;return["small","normal","large","full"].includes(n)?n:null})(this.selectedProvider.id))?t:"large":"normal"},showModalName(){return!this.isProviderSelected||!Je(this.selectedProvider.id)},modalName(){return this.isProviderSelected?this.selectedProvider.title:(0,Bt.t)("Smart Picker")}},mounted(){if(this.isInsideViewer){const t=this.$refs.modal_content;(0,Ze.j8)("viewer:trapElements:changed",t)}},methods:{onCancel(){this.show=!1,this.$emit("cancel")},onSubmit(t){this.show=!1,this.$emit("submit",t)},onProviderSelect(t){this.selectedProvider=t,null===t&&null!==this.initialProvider&&this.onCancel()},onBackClicked(){this.$refs.referencePicker.deselectProvider()}}};var On=function(){var t=this,e=t._self._c;return t.show?e("NcModal",{staticClass:"reference-picker-modal",attrs:{size:t.modalSize,"can-close":!1},on:{close:t.onCancel}},[e("div",{ref:"modal_content",staticClass:"reference-picker-modal--content"},[t.showBackButton?e("NcButton",{staticClass:"back-button",attrs:{"aria-label":t.backButtonTitle,title:t.backButtonTitle},on:{click:t.onBackClicked},scopedSlots:t._u([{key:"icon",fn:function(){return[e("ArrowLeftIcon")]},proxy:!0}],null,!1,3001860362)}):t._e(),e("NcButton",{staticClass:"close-button",attrs:{"aria-label":t.closeButtonLabel,title:t.closeButtonTitle,type:"tertiary"},on:{click:t.onCancel},scopedSlots:t._u([{key:"icon",fn:function(){return[e("CloseIcon")]},proxy:!0}],null,!1,2491825086)}),t.showModalName?e("h2",[t._v(" "+t._s(t.modalName)+" ")]):t._e(),e("NcReferencePicker",{ref:"referencePicker",attrs:{"initial-provider":t.initialProvider,"focus-on-create":t.focusOnCreate},on:{"provider-selected":t.onProviderSelect,submit:t.onSubmit,cancel:t.onCancel}})],1)]):t._e()},Rn=[];const Dn=(0,I.n)(Mn,On,Rn,!1,null,"3f1a4ac7",null,null).exports;var jn=i(25108),Un=i(19755);if(Array.prototype.find||(Array.prototype.find=function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),i=n.length>>>0,a=arguments[1],r=0;r<i;r++)if(e=n[r],t.call(a,e,r,n))return e}),window&&"function"!=typeof window.CustomEvent){function ga(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}void 0!==window.Event&&(ga.prototype=window.Event.prototype),window.CustomEvent=ga}class Gn{constructor(t){this.tribute=t,this.tribute.events=this}static keys(){return[{key:9,value:"TAB"},{key:8,value:"DELETE"},{key:13,value:"ENTER"},{key:27,value:"ESCAPE"},{key:32,value:"SPACE"},{key:38,value:"UP"},{key:40,value:"DOWN"}]}bind(t){t.boundKeydown=this.keydown.bind(t,this),t.boundKeyup=this.keyup.bind(t,this),t.boundInput=this.input.bind(t,this),t.addEventListener("keydown",t.boundKeydown,!1),t.addEventListener("keyup",t.boundKeyup,!1),t.addEventListener("input",t.boundInput,!1)}unbind(t){t.removeEventListener("keydown",t.boundKeydown,!1),t.removeEventListener("keyup",t.boundKeyup,!1),t.removeEventListener("input",t.boundInput,!1),delete t.boundKeydown,delete t.boundKeyup,delete t.boundInput}keydown(t,e){t.shouldDeactivate(e)&&(t.tribute.isActive=!1,t.tribute.hideMenu());let n=this;t.commandEvent=!1,Gn.keys().forEach((i=>{i.key===e.keyCode&&(t.commandEvent=!0,t.callbacks()[i.value.toLowerCase()](e,n))}))}input(t,e){t.inputEvent=!0,t.keyup.call(this,t,e)}click(t,e){let n=t.tribute;if(n.menu&&n.menu.contains(e.target)){let t=e.target;for(e.preventDefault(),e.stopPropagation();"li"!==t.nodeName.toLowerCase();)if(t=t.parentNode,!t||t===n.menu)throw new Error("cannot find the <li> container for the click");n.selectItemAtIndex(t.getAttribute("data-index"),e),n.hideMenu()}else n.current.element&&!n.current.externalTrigger&&(n.current.externalTrigger=!1,setTimeout((()=>n.hideMenu())))}keyup(t,e){if(t.inputEvent&&(t.inputEvent=!1),t.updateSelection(this),27!==e.keyCode){if(!t.tribute.allowSpaces&&t.tribute.hasTrailingSpace)return t.tribute.hasTrailingSpace=!1,t.commandEvent=!0,void t.callbacks().space(e,this);if(!t.tribute.isActive)if(t.tribute.autocompleteMode)t.callbacks().triggerChar(e,this,"");else{let n=t.getKeyCode(t,this,e);if(isNaN(n)||!n)return;let i=t.tribute.triggers().find((t=>t.charCodeAt(0)===n));void 0!==i&&t.callbacks().triggerChar(e,this,i)}t.tribute.current.mentionText.length<t.tribute.current.collection.menuShowMinLength||((t.tribute.current.trigger||t.tribute.autocompleteMode)&&!1===t.commandEvent||t.tribute.isActive&&8===e.keyCode)&&t.tribute.showMenuFor(this,!0)}}shouldDeactivate(t){if(!this.tribute.isActive)return!1;if(0===this.tribute.current.mentionText.length){let e=!1;return Gn.keys().forEach((n=>{t.keyCode===n.key&&(e=!0)})),!e}return!1}getKeyCode(t,e,n){let i=t.tribute,a=i.range.getTriggerInfo(!1,i.hasTrailingSpace,!0,i.allowSpaces,i.autocompleteMode);return!!a&&a.mentionTriggerChar.charCodeAt(0)}updateSelection(t){this.tribute.current.element=t;let e=this.tribute.range.getTriggerInfo(!1,this.tribute.hasTrailingSpace,!0,this.tribute.allowSpaces,this.tribute.autocompleteMode);e&&(this.tribute.current.selectedPath=e.mentionSelectedPath,this.tribute.current.mentionText=e.mentionText,this.tribute.current.selectedOffset=e.mentionSelectedOffset)}callbacks(){return{triggerChar:(t,e,n)=>{let i=this.tribute;i.current.trigger=n;let a=i.collection.find((t=>t.trigger===n));i.current.collection=a,i.current.mentionText.length>=i.current.collection.menuShowMinLength&&i.inputEvent&&i.showMenuFor(e,!0)},enter:(t,e)=>{this.tribute.isActive&&this.tribute.current.filteredItems&&(t.preventDefault(),t.stopPropagation(),setTimeout((()=>{this.tribute.selectItemAtIndex(this.tribute.menuSelected,t),this.tribute.hideMenu()}),0))},escape:(t,e)=>{this.tribute.isActive&&(t.preventDefault(),t.stopPropagation(),this.tribute.isActive=!1,this.tribute.hideMenu())},tab:(t,e)=>{this.callbacks().enter(t,e)},space:(t,e)=>{this.tribute.isActive&&(this.tribute.spaceSelectsMatch?this.callbacks().enter(t,e):this.tribute.allowSpaces||(t.stopPropagation(),setTimeout((()=>{this.tribute.hideMenu(),this.tribute.isActive=!1}),0)))},up:(t,e)=>{if(this.tribute.isActive&&this.tribute.current.filteredItems){t.preventDefault(),t.stopPropagation();let e=this.tribute.current.filteredItems.length,n=this.tribute.menuSelected;e>n&&n>0?(this.tribute.menuSelected--,this.setActiveLi()):0===n&&(this.tribute.menuSelected=e-1,this.setActiveLi(),this.tribute.menu.scrollTop=this.tribute.menu.scrollHeight)}},down:(t,e)=>{if(this.tribute.isActive&&this.tribute.current.filteredItems){t.preventDefault(),t.stopPropagation();let e=this.tribute.current.filteredItems.length-1,n=this.tribute.menuSelected;e>n?(this.tribute.menuSelected++,this.setActiveLi()):e===n&&(this.tribute.menuSelected=0,this.setActiveLi(),this.tribute.menu.scrollTop=0)}},delete:(t,e)=>{this.tribute.isActive&&this.tribute.current.mentionText.length<1?this.tribute.hideMenu():this.tribute.isActive&&this.tribute.showMenuFor(e)}}}setActiveLi(t){let e=this.tribute.menu.querySelectorAll("li"),n=e.length>>>0;t&&(this.tribute.menuSelected=parseInt(t));for(let t=0;t<n;t++){let n=e[t];if(t===this.tribute.menuSelected){n.classList.add(this.tribute.current.collection.selectClass);let t=n.getBoundingClientRect(),e=this.tribute.menu.getBoundingClientRect();if(t.bottom>e.bottom){let n=t.bottom-e.bottom;this.tribute.menu.scrollTop+=n}else if(t.top<e.top){let n=e.top-t.top;this.tribute.menu.scrollTop-=n}}else n.classList.remove(this.tribute.current.collection.selectClass)}}getFullHeight(t,e){let n=t.getBoundingClientRect().height;if(e){let e=t.currentStyle||window.getComputedStyle(t);return n+parseFloat(e.marginTop)+parseFloat(e.marginBottom)}return n}}class Wn{constructor(t){this.tribute=t,this.tribute.menuEvents=this,this.menu=this.tribute.menu}bind(t){this.menuClickEvent=this.tribute.events.click.bind(null,this),this.menuContainerScrollEvent=this.debounce((()=>{this.tribute.isActive&&this.tribute.showMenuFor(this.tribute.current.element,!1)}),300,!1),this.windowResizeEvent=this.debounce((()=>{this.tribute.isActive&&this.tribute.range.positionMenuAtCaret(!0)}),300,!1),this.tribute.range.getDocument().addEventListener("MSPointerDown",this.menuClickEvent,!1),this.tribute.range.getDocument().addEventListener("mousedown",this.menuClickEvent,!1),window.addEventListener("resize",this.windowResizeEvent),this.menuContainer?this.menuContainer.addEventListener("scroll",this.menuContainerScrollEvent,!1):window.addEventListener("scroll",this.menuContainerScrollEvent)}unbind(t){this.tribute.range.getDocument().removeEventListener("mousedown",this.menuClickEvent,!1),this.tribute.range.getDocument().removeEventListener("MSPointerDown",this.menuClickEvent,!1),window.removeEventListener("resize",this.windowResizeEvent),this.menuContainer?this.menuContainer.removeEventListener("scroll",this.menuContainerScrollEvent,!1):window.removeEventListener("scroll",this.menuContainerScrollEvent)}debounce(t,e,n){var i;return()=>{var a=this,r=arguments,o=n&&!i;clearTimeout(i),i=setTimeout((()=>{i=null,n||t.apply(a,r)}),e),o&&t.apply(a,r)}}}class Fn{constructor(t){this.tribute=t,this.tribute.range=this}getDocument(){let t;return this.tribute.current.collection&&(t=this.tribute.current.collection.iframe),t?t.contentWindow.document:document}positionMenuAtCaret(t){let e,n=this.tribute.current,i=this.getTriggerInfo(!1,this.tribute.hasTrailingSpace,!0,this.tribute.allowSpaces,this.tribute.autocompleteMode);if(void 0!==i){if(!this.tribute.positionMenu)return void(this.tribute.menu.style.cssText="display: block;");e=this.isContentEditable(n.element)?this.getContentEditableCaretPosition(i.mentionPosition):this.getTextAreaOrInputUnderlinePosition(this.tribute.current.element,i.mentionPosition),this.tribute.menu.style.cssText=`top: ${e.top}px;\n left: ${e.left}px;\n right: ${e.right}px;\n bottom: ${e.bottom}px;\n position: absolute;\n display: block;`,"auto"===e.left&&(this.tribute.menu.style.left="auto"),"auto"===e.top&&(this.tribute.menu.style.top="auto"),t&&this.scrollIntoView(),window.setTimeout((()=>{let n={width:this.tribute.menu.offsetWidth,height:this.tribute.menu.offsetHeight},i=this.isMenuOffScreen(e,n),a=window.innerWidth>n.width&&(i.left||i.right),r=window.innerHeight>n.height&&(i.top||i.bottom);(a||r)&&(this.tribute.menu.style.cssText="display: none",this.positionMenuAtCaret(t))}),0)}else this.tribute.menu.style.cssText="display: none"}get menuContainerIsBody(){return this.tribute.menuContainer===document.body||!this.tribute.menuContainer}selectElement(t,e,n){let i,a=t;if(e)for(var r=0;r<e.length;r++){if(a=a.childNodes[e[r]],void 0===a)return;for(;a.length<n;)n-=a.length,a=a.nextSibling;0!==a.childNodes.length||a.length||(a=a.previousSibling)}let o=this.getWindowSelection();i=this.getDocument().createRange(),i.setStart(a,n),i.setEnd(a,n),i.collapse(!0);try{o.removeAllRanges()}catch(t){}o.addRange(i),t.focus()}replaceTriggerText(t,e,n,i,a){let r=this.getTriggerInfo(!0,n,e,this.tribute.allowSpaces,this.tribute.autocompleteMode);if(void 0!==r){let e=this.tribute.current,n=new CustomEvent("tribute-replaced",{detail:{item:a,instance:e,context:r,event:i}});if(this.isContentEditable(e.element)){t+="string"==typeof this.tribute.replaceTextSuffix?this.tribute.replaceTextSuffix:" ";let e=r.mentionPosition+r.mentionText.length;this.tribute.autocompleteMode||(e+=r.mentionTriggerChar.length),this.pasteHtml(t,r.mentionPosition,e)}else{let e=this.tribute.current.element,n="string"==typeof this.tribute.replaceTextSuffix?this.tribute.replaceTextSuffix:" ";t+=n;let i=r.mentionPosition,a=r.mentionPosition+r.mentionText.length+n.length;this.tribute.autocompleteMode||(a+=r.mentionTriggerChar.length-1),e.value=e.value.substring(0,i)+t+e.value.substring(a,e.value.length),e.selectionStart=i+t.length,e.selectionEnd=i+t.length}e.element.dispatchEvent(new CustomEvent("input",{bubbles:!0})),e.element.dispatchEvent(n)}}pasteHtml(t,e,n){let i,a;a=this.getWindowSelection(),i=this.getDocument().createRange(),i.setStart(a.anchorNode,e),i.setEnd(a.anchorNode,n),i.deleteContents();let r=this.getDocument().createElement("div");r.innerHTML=t;let o,s,l=this.getDocument().createDocumentFragment();for(;o=r.firstChild;)s=l.appendChild(o);i.insertNode(l),s&&(i=i.cloneRange(),i.setStartAfter(s),i.collapse(!0),a.removeAllRanges(),a.addRange(i))}getWindowSelection(){return this.tribute.collection.iframe?this.tribute.collection.iframe.contentWindow.getSelection():window.getSelection()}getNodePositionInParent(t){if(null===t.parentNode)return 0;for(var e=0;e<t.parentNode.childNodes.length;e++)if(t.parentNode.childNodes[e]===t)return e}getContentEditableSelectedPath(t){let e,n=this.getWindowSelection(),i=n.anchorNode,a=[];if(null!=i){let t,r=i.contentEditable;for(;null!==i&&"true"!==r;)t=this.getNodePositionInParent(i),a.push(t),i=i.parentNode,null!==i&&(r=i.contentEditable);return a.reverse(),e=n.getRangeAt(0).startOffset,{selected:i,path:a,offset:e}}}getTextPrecedingCurrentSelection(){let t=this.tribute.current,e="";if(this.isContentEditable(t.element)){let t=this.getWindowSelection().anchorNode;if(null!=t){let n=t.textContent,i=this.getWindowSelection().getRangeAt(0).startOffset;n&&i>=0&&(e=n.substring(0,i))}}else{let t=this.tribute.current.element;if(t){let n=t.selectionStart;t.value&&n>=0&&(e=t.value.substring(0,n))}}return e}getLastWordInText(t){let e=(t=t.replace(/\u00A0/g," ")).split(/\s+/);return e[e.length-1].trim()}getTriggerInfo(t,e,n,i,a){let r,o,s,l=this.tribute.current;if(this.isContentEditable(l.element)){let t=this.getContentEditableSelectedPath(l);t&&(r=t.selected,o=t.path,s=t.offset)}else r=this.tribute.current.element;let c=this.getTextPrecedingCurrentSelection(),d=this.getLastWordInText(c);if(a)return{mentionPosition:c.length-d.length,mentionText:d,mentionSelectedElement:r,mentionSelectedPath:o,mentionSelectedOffset:s};if(null!=c){let a,l=-1;if(this.tribute.collection.forEach((t=>{let e=t.trigger,i=t.requireLeadingSpace?this.lastIndexWithLeadingSpace(c,e):c.lastIndexOf(e);i>l&&(l=i,a=e,n=t.requireLeadingSpace)})),l>=0&&(0===l||!n||/[\xA0\s]/g.test(c.substring(l-1,l)))){let n=c.substring(l+a.length,c.length);a=c.substring(l,l+a.length);let d=n.substring(0,1),u=n.length>0&&(" "===d||" "===d);e&&(n=n.trim());let p=i?/[^\S ]/g:/[\xA0\s]/g;if(this.tribute.hasTrailingSpace=p.test(n),!u&&(t||!p.test(n)))return{mentionPosition:l,mentionText:n,mentionSelectedElement:r,mentionSelectedPath:o,mentionSelectedOffset:s,mentionTriggerChar:a}}}}lastIndexWithLeadingSpace(t,e){let n=t.split("").reverse().join(""),i=-1;for(let a=0,r=t.length;a<r;a++){let r=a===t.length-1,o=/\s/.test(n[a+1]),s=!0;for(let t=e.length-1;t>=0;t--)if(e[t]!==n[a-t]){s=!1;break}if(s&&(r||o)){i=t.length-1-a;break}}return i}isContentEditable(t){return"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName}isMenuOffScreen(t,e){let n=window.innerWidth,i=window.innerHeight,a=document.documentElement,r=(window.pageXOffset||a.scrollLeft)-(a.clientLeft||0),o=(window.pageYOffset||a.scrollTop)-(a.clientTop||0),s="number"==typeof t.top?t.top:o+i-t.bottom-e.height,l="number"==typeof t.right?t.right:t.left+e.width,c="number"==typeof t.bottom?t.bottom:t.top+e.height,d="number"==typeof t.left?t.left:r+n-t.right-e.width;return{top:s<Math.floor(o),right:l>Math.ceil(r+n),bottom:c>Math.ceil(o+i),left:d<Math.floor(r)}}getMenuDimensions(){let t={width:null,height:null};return this.tribute.menu.style.cssText="top: 0px;\n left: 0px;\n position: fixed;\n display: block;\n visibility; hidden;",t.width=this.tribute.menu.offsetWidth,t.height=this.tribute.menu.offsetHeight,this.tribute.menu.style.cssText="display: none;",t}getTextAreaOrInputUnderlinePosition(t,e,n){let i=null!==window.mozInnerScreenX,a=this.getDocument().createElement("div");a.id="input-textarea-caret-position-mirror-div",this.getDocument().body.appendChild(a);let r=a.style,o=window.getComputedStyle?getComputedStyle(t):t.currentStyle;r.whiteSpace="pre-wrap","INPUT"!==t.nodeName&&(r.wordWrap="break-word"),r.position="absolute",r.visibility="hidden",["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing"].forEach((t=>{r[t]=o[t]})),i?(r.width=parseInt(o.width)-2+"px",t.scrollHeight>parseInt(o.height)&&(r.overflowY="scroll")):r.overflow="hidden",a.textContent=t.value.substring(0,e),"INPUT"===t.nodeName&&(a.textContent=a.textContent.replace(/\s/g," "));let s=this.getDocument().createElement("span");s.textContent=t.value.substring(e)||".",a.appendChild(s);let l=t.getBoundingClientRect(),c=document.documentElement,d=(window.pageXOffset||c.scrollLeft)-(c.clientLeft||0),u=(window.pageYOffset||c.scrollTop)-(c.clientTop||0),p=0,h=0;this.menuContainerIsBody&&(p=l.top,h=l.left);let f={top:p+u+s.offsetTop+parseInt(o.borderTopWidth)+parseInt(o.fontSize)-t.scrollTop,left:h+d+s.offsetLeft+parseInt(o.borderLeftWidth)},A=window.innerWidth,m=window.innerHeight,g=this.getMenuDimensions(),v=this.isMenuOffScreen(f,g);v.right&&(f.right=A-f.left,f.left="auto");let b=this.tribute.menuContainer?this.tribute.menuContainer.offsetHeight:this.getDocument().body.offsetHeight;if(v.bottom){let t=b-(m-(this.tribute.menuContainer?this.tribute.menuContainer.getBoundingClientRect():this.getDocument().body.getBoundingClientRect()).top);f.bottom=t+(m-l.top-s.offsetTop),f.top="auto"}return v=this.isMenuOffScreen(f,g),v.left&&(f.left=A>g.width?d+A-g.width:d,delete f.right),v.top&&(f.top=m>g.height?u+m-g.height:u,delete f.bottom),this.getDocument().body.removeChild(a),f}getContentEditableCaretPosition(t){let e,n=this.getWindowSelection();e=this.getDocument().createRange(),e.setStart(n.anchorNode,t),e.setEnd(n.anchorNode,t),e.collapse(!1);let i=e.getBoundingClientRect(),a=document.documentElement,r=(window.pageXOffset||a.scrollLeft)-(a.clientLeft||0),o=(window.pageYOffset||a.scrollTop)-(a.clientTop||0),s={left:i.left+r,top:i.top+i.height+o},l=window.innerWidth,c=window.innerHeight,d=this.getMenuDimensions(),u=this.isMenuOffScreen(s,d);u.right&&(s.left="auto",s.right=l-i.left-r);let p=this.tribute.menuContainer?this.tribute.menuContainer.offsetHeight:this.getDocument().body.offsetHeight;if(u.bottom){let t=p-(c-(this.tribute.menuContainer?this.tribute.menuContainer.getBoundingClientRect():this.getDocument().body.getBoundingClientRect()).top);s.top="auto",s.bottom=t+(c-i.top)}return u=this.isMenuOffScreen(s,d),u.left&&(s.left=l>d.width?r+l-d.width:r,delete s.right),u.top&&(s.top=c>d.height?o+c-d.height:o,delete s.bottom),this.menuContainerIsBody||(s.left=s.left?s.left-this.tribute.menuContainer.offsetLeft:s.left,s.top=s.top?s.top-this.tribute.menuContainer.offsetTop:s.top),s}scrollIntoView(t){let e,n=this.menu;if(void 0===n)return;for(;void 0===e||0===e.height;)if(e=n.getBoundingClientRect(),0===e.height&&(n=n.childNodes[0],void 0===n||!n.getBoundingClientRect))return;let i=e.top,a=i+e.height;if(i<0)window.scrollTo(0,window.pageYOffset+e.top-20);else if(a>window.innerHeight){let t=window.pageYOffset+e.top-20;t-window.pageYOffset>100&&(t=window.pageYOffset+100);let n=window.pageYOffset-(window.innerHeight-a);n>t&&(n=t),window.scrollTo(0,n)}}}class Zn{constructor(t){this.tribute=t,this.tribute.search=this}simpleFilter(t,e){return e.filter((e=>this.test(t,e)))}test(t,e){return null!==this.match(t,e)}match(t,e,n){n=n||{},e.length;let i=n.pre||"",a=n.post||"",r=n.caseSensitive&&e||e.toLowerCase();if(n.skip)return{rendered:e,score:0};t=n.caseSensitive&&t||t.toLowerCase();let o=this.traverse(r,t,0,0,[]);return o?{rendered:this.render(e,o.cache,i,a),score:o.score}:null}traverse(t,e,n,i,a){if(e.length===i)return{score:this.calculateScore(a),cache:a.slice()};if(t.length===n||e.length-i>t.length-n)return;let r,o,s=e[i],l=t.indexOf(s,n);for(;l>-1;){if(a.push(l),o=this.traverse(t,e,l+1,i+1,a),a.pop(),!o)return r;(!r||r.score<o.score)&&(r=o),l=t.indexOf(s,l+1)}return r}calculateScore(t){let e=0,n=1;return t.forEach(((i,a)=>{a>0&&(t[a-1]+1===i?n+=n+1:n=1),e+=n})),e}render(t,e,n,i){var a=t.substring(0,e[0]);return e.forEach(((r,o)=>{a+=n+t[r]+i+t.substring(r+1,e[o+1]?e[o+1]:t.length)})),a}filter(t,e,n){return n=n||{},e.reduce(((e,i,a,r)=>{let o=i;n.extract&&(o=n.extract(i),o||(o=""));let s=this.match(t,o,n);return null!=s&&(e[e.length]={string:s.rendered,score:s.score,index:a,original:i}),e}),[]).sort(((t,e)=>e.score-t.score||t.index-e.index))}}class Yn{constructor({values:t=null,iframe:e=null,selectClass:n="highlight",containerClass:i="tribute-container",itemClass:a="",trigger:r="@",autocompleteMode:o=!1,selectTemplate:s=null,menuItemTemplate:l=null,lookup:c="key",fillAttr:d="value",collection:u=null,menuContainer:p=null,noMatchTemplate:h=null,requireLeadingSpace:f=!0,allowSpaces:A=!1,replaceTextSuffix:m=null,positionMenu:g=!0,spaceSelectsMatch:v=!1,searchOpts:b={},menuItemLimit:y=null,menuShowMinLength:C=0}){if(this.autocompleteMode=o,this.menuSelected=0,this.current={},this.inputEvent=!1,this.isActive=!1,this.menuContainer=p,this.allowSpaces=A,this.replaceTextSuffix=m,this.positionMenu=g,this.hasTrailingSpace=!1,this.spaceSelectsMatch=v,this.autocompleteMode&&(r="",A=!1),t)this.collection=[{trigger:r,iframe:e,selectClass:n,containerClass:i,itemClass:a,selectTemplate:(s||Yn.defaultSelectTemplate).bind(this),menuItemTemplate:(l||Yn.defaultMenuItemTemplate).bind(this),noMatchTemplate:(t=>"string"==typeof t?""===t.trim()?null:t:"function"==typeof t?t.bind(this):h||function(){return"<li>No Match Found!</li>"}.bind(this))(h),lookup:c,fillAttr:d,values:t,requireLeadingSpace:f,searchOpts:b,menuItemLimit:y,menuShowMinLength:C}];else{if(!u)throw new Error("[Tribute] No collection specified.");this.autocompleteMode&&jn.warn("Tribute in autocomplete mode does not work for collections"),this.collection=u.map((t=>({trigger:t.trigger||r,iframe:t.iframe||e,selectClass:t.selectClass||n,containerClass:t.containerClass||i,itemClass:t.itemClass||a,selectTemplate:(t.selectTemplate||Yn.defaultSelectTemplate).bind(this),menuItemTemplate:(t.menuItemTemplate||Yn.defaultMenuItemTemplate).bind(this),noMatchTemplate:(t=>"string"==typeof t?""===t.trim()?null:t:"function"==typeof t?t.bind(this):h||function(){return"<li>No Match Found!</li>"}.bind(this))(h),lookup:t.lookup||c,fillAttr:t.fillAttr||d,values:t.values,requireLeadingSpace:t.requireLeadingSpace,searchOpts:t.searchOpts||b,menuItemLimit:t.menuItemLimit||y,menuShowMinLength:t.menuShowMinLength||C})))}new Fn(this),new Gn(this),new Wn(this),new Zn(this)}get isActive(){return this._isActive}set isActive(t){if(this._isActive!=t&&(this._isActive=t,this.current.element)){let e=new CustomEvent(`tribute-active-${t}`);this.current.element.dispatchEvent(e)}}static defaultSelectTemplate(t){return void 0===t?`${this.current.collection.trigger}${this.current.mentionText}`:this.range.isContentEditable(this.current.element)?'<span class="tribute-mention">'+(this.current.collection.trigger+t.original[this.current.collection.fillAttr])+"</span>":this.current.collection.trigger+t.original[this.current.collection.fillAttr]}static defaultMenuItemTemplate(t){return t.string}static inputTypes(){return["TEXTAREA","INPUT"]}triggers(){return this.collection.map((t=>t.trigger))}attach(t){if(!t)throw new Error("[Tribute] Must pass in a DOM node or NodeList.");if(void 0!==Un&&t instanceof Un&&(t=t.get()),t.constructor===NodeList||t.constructor===HTMLCollection||t.constructor===Array){let n=t.length;for(var e=0;e<n;++e)this._attach(t[e])}else this._attach(t)}_attach(t){t.hasAttribute("data-tribute")&&jn.warn("Tribute was already bound to "+t.nodeName),this.ensureEditable(t),this.events.bind(t),t.setAttribute("data-tribute",!0)}ensureEditable(t){if(-1===Yn.inputTypes().indexOf(t.nodeName)){if(!t.contentEditable)throw new Error("[Tribute] Cannot bind to "+t.nodeName);t.contentEditable=!0}}createMenu(t){let e=this.range.getDocument().createElement("div"),n=this.range.getDocument().createElement("ul");return e.className=t,e.appendChild(n),this.menuContainer?this.menuContainer.appendChild(e):this.range.getDocument().body.appendChild(e)}showMenuFor(t,e){if(this.isActive&&this.current.element===t&&this.current.mentionText===this.currentMentionTextSnapshot)return;this.currentMentionTextSnapshot=this.current.mentionText,this.menu||(this.menu=this.createMenu(this.current.collection.containerClass),t.tributeMenu=this.menu,this.menuEvents.bind(this.menu)),this.isActive=!0,this.menuSelected=0,this.current.mentionText||(this.current.mentionText="");const n=t=>{if(!this.isActive)return;let n=this.search.filter(this.current.mentionText,t,{pre:this.current.collection.searchOpts.pre||"<span>",post:this.current.collection.searchOpts.post||"</span>",skip:this.current.collection.searchOpts.skip,extract:t=>{if("string"==typeof this.current.collection.lookup)return t[this.current.collection.lookup];if("function"==typeof this.current.collection.lookup)return this.current.collection.lookup(t,this.current.mentionText);throw new Error("Invalid lookup attribute, lookup must be string or function.")}});this.current.collection.menuItemLimit&&(n=n.slice(0,this.current.collection.menuItemLimit)),this.current.filteredItems=n;let i=this.menu.querySelector("ul");if(this.range.positionMenuAtCaret(e),!n.length){let t=new CustomEvent("tribute-no-match",{detail:this.menu});return this.current.element.dispatchEvent(t),void("function"==typeof this.current.collection.noMatchTemplate&&!this.current.collection.noMatchTemplate()||!this.current.collection.noMatchTemplate?this.hideMenu():"function"==typeof this.current.collection.noMatchTemplate?i.innerHTML=this.current.collection.noMatchTemplate():i.innerHTML=this.current.collection.noMatchTemplate)}i.innerHTML="";let a=this.range.getDocument().createDocumentFragment();n.forEach(((t,e)=>{let n=this.range.getDocument().createElement("li");n.setAttribute("data-index",e),n.className=this.current.collection.itemClass,n.addEventListener("mousemove",(t=>{let[e,n]=this._findLiTarget(t.target);0!==t.movementY&&this.events.setActiveLi(n)})),this.menuSelected===e&&n.classList.add(this.current.collection.selectClass),n.innerHTML=this.current.collection.menuItemTemplate(t),a.appendChild(n)})),i.appendChild(a)};"function"==typeof this.current.collection.values?this.current.collection.values(this.current.mentionText,n):n(this.current.collection.values)}_findLiTarget(t){if(!t)return[];const e=t.getAttribute("data-index");return e?[t,e]:this._findLiTarget(t.parentNode)}showMenuForCollection(t,e){t!==document.activeElement&&this.placeCaretAtEnd(t),this.current.collection=this.collection[e||0],this.current.externalTrigger=!0,this.current.element=t,t.isContentEditable?this.insertTextAtCursor(this.current.collection.trigger):this.insertAtCaret(t,this.current.collection.trigger),this.showMenuFor(t)}placeCaretAtEnd(t){if(t.focus(),void 0!==window.getSelection&&void 0!==document.createRange){var e=document.createRange();e.selectNodeContents(t),e.collapse(!1);var n=window.getSelection();n.removeAllRanges(),n.addRange(e)}else if(void 0!==document.body.createTextRange){var i=document.body.createTextRange();i.moveToElementText(t),i.collapse(!1),i.select()}}insertTextAtCursor(t){var e,n;(n=(e=window.getSelection()).getRangeAt(0)).deleteContents();var i=document.createTextNode(t);n.insertNode(i),n.selectNodeContents(i),n.collapse(!1),e.removeAllRanges(),e.addRange(n)}insertAtCaret(t,e){var n=t.scrollTop,i=t.selectionStart,a=t.value.substring(0,i),r=t.value.substring(t.selectionEnd,t.value.length);t.value=a+e+r,i+=e.length,t.selectionStart=i,t.selectionEnd=i,t.focus(),t.scrollTop=n}hideMenu(){this.menu&&(this.menu.style.cssText="display: none;",this.isActive=!1,this.menuSelected=0,this.current={})}selectItemAtIndex(t,e){if("number"!=typeof(t=parseInt(t))||isNaN(t))return;let n=this.current.filteredItems[t],i=this.current.collection.selectTemplate(n);null!==i&&this.replaceText(i,e,n)}replaceText(t,e,n){this.range.replaceTriggerText(t,!0,!0,e,n)}_append(t,e,n){if("function"==typeof t.values)throw new Error("Unable to append to values, as it is a function.");t.values=n?e:t.values.concat(e)}append(t,e,n){let i=parseInt(t);if("number"!=typeof i)throw new Error("please provide an index for the collection to update.");let a=this.collection[i];this._append(a,e,n)}appendCurrent(t,e){if(!this.isActive)throw new Error("No active state. Please use append instead and pass an index.");this._append(this.current.collection,t,e)}detach(t){if(!t)throw new Error("[Tribute] Must pass in a DOM node or NodeList.");if(void 0!==Un&&t instanceof Un&&(t=t.get()),t.constructor===NodeList||t.constructor===HTMLCollection||t.constructor===Array){let n=t.length;for(var e=0;e<n;++e)this._detach(t[e])}else this._detach(t)}_detach(t){this.events.unbind(t),t.tributeMenu&&this.menuEvents.unbind(t.tributeMenu),setTimeout((()=>{t.removeAttribute("data-tribute"),this.isActive=!1,t.tributeMenu&&t.tributeMenu.remove()}))}}const zn=Yn;var $n=i(20296),Hn=i(42639),Vn=i(3181),qn=i(73045),Xn=i(25108);const Jn={name:"NcAutoCompleteResult",props:{title:{type:String,required:!0},subline:{type:String,default:null},id:{type:String,default:null},icon:{type:String,required:!0},iconUrl:{type:String,default:null},source:{type:String,required:!0},status:{type:[Object,Array],default:()=>({})}},computed:{avatarUrl(){return this.iconUrl?this.iconUrl:this.id&&"users"===this.source?this.getAvatarUrl(this.id,44):null},haveStatus(){var t,e,n;return(null==(t=this.status)?void 0:t.icon)||(null==(e=this.status)?void 0:e.status)&&"offline"!==(null==(n=this.status)?void 0:n.status)}},methods:{getAvatarUrl:(t,e)=>(0,r.generateUrl)("/avatar/{user}/{size}",{user:t,size:e})}};var Kn=function(){var t=this,e=t._self._c;return e("div",{staticClass:"autocomplete-result"},[e("div",{staticClass:"autocomplete-result__icon",class:[t.icon,"autocomplete-result__icon--"+(t.avatarUrl?"with-avatar":"")],style:t.avatarUrl?{backgroundImage:`url(${t.avatarUrl})`}:null},[t.haveStatus?e("div",{staticClass:"autocomplete-result__status",class:[`autocomplete-result__status--${t.status&&t.status.icon?"icon":t.status.status}`]},[t._v(" "+t._s(t.status&&t.status.icon||"")+" ")]):t._e()]),e("span",{staticClass:"autocomplete-result__content"},[e("span",{staticClass:"autocomplete-result__title",attrs:{title:t.title}},[t._v(" "+t._s(t.title)+" ")]),t.subline?e("span",{staticClass:"autocomplete-result__subline"},[t._v(" "+t._s(t.subline)+" ")]):t._e()])])},Qn=[];const ti=(0,I.n)(Jn,Kn,Qn,!1,null,"25cf09d8",null,null).exports,ei={name:"NcRichContenteditable",directives:{tooltip:qn.VTooltip},mixins:[De.r],props:{value:{type:String,default:"",required:!0},placeholder:{type:String,default:(0,Bt.t)("Write a message …")},autoComplete:{type:Function,default:()=>[]},menuContainer:{type:Element,default:()=>document.body},multiline:{type:Boolean,default:!1},contenteditable:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},maxlength:{type:Number,default:null},emojiAutocomplete:{type:Boolean,default:!0},linkAutocomplete:{type:Boolean,default:!0}},emits:["submit","paste","update:value","smart-picker-submit"],data(){return{textSmiles:[],tribute:null,autocompleteOptions:{allowSpaces:!0,fillAttr:"id",lookup:t=>`${t.id} ${t.title}`,menuContainer:this.menuContainer,menuItemTemplate:t=>this.renderComponentHtml(t.original,ti),noMatchTemplate:()=>'<span class="hidden"></span>',selectTemplate:t=>{var e;return this.genSelectTemplate(null==(e=null==t?void 0:t.original)?void 0:e.id)},values:this.debouncedAutoComplete},emojiOptions:{trigger:":",lookup:(t,e)=>e,menuContainer:this.menuContainer,menuItemTemplate:t=>this.textSmiles.includes(t.original)?t.original:`<span class="tribute-container-emoji__item__emoji">${t.original.native}</span> :${t.original.short_name}`,noMatchTemplate:()=>(0,Bt.t)("No emoji found"),selectTemplate:t=>this.textSmiles.includes(t.original)?t.original:((0,Ue.R)(t.original),t.original.native),values:(t,e)=>{const n=(0,Ue.K)(t);this.textSmiles.includes(":"+t)&&n.unshift(":"+t),e(n)},containerClass:"tribute-container-emoji",itemClass:"tribute-container-emoji__item"},linkOptions:{trigger:"/",lookup:(t,e)=>e,menuContainer:this.menuContainer,menuItemTemplate:t=>`<img class="tribute-container-link__item__icon" src="${t.original.icon_url}"> <span class="tribute-container-link__item__title">${t.original.title}</span>`,noMatchTemplate:()=>(0,Bt.t)("No link provider found"),selectTemplate:this.getLink,values:(t,e)=>e(on(t)),containerClass:"tribute-container-link",itemClass:"tribute-container-link__item"},localValue:this.value,isComposing:!1}},computed:{isEmptyValue(){return!this.localValue||this.localValue&&""===this.localValue.trim()},isFF:()=>!!navigator.userAgent.match(/firefox/i),isOverMaxlength(){return!(this.isEmptyValue||!this.maxlength)&&function(t,{countAnsiEscapeCodes:e=!1}={}){return""===t?0:(e||(t=(0,Hn.Z)(t)),""===t?0:t.match((0,Vn.Z)()).length)}(this.localValue)>this.maxlength},tooltipString(){return this.isOverMaxlength?{content:(0,Bt.t)("Message limit of {count} characters reached",{count:this.maxlength}),shown:!0,trigger:"manual"}:null},canEdit(){return this.contenteditable&&!this.disabled},listeners(){const t={...this.$listeners};return delete t.paste,t}},watch:{value(){const t=this.$refs.contenteditable.innerHTML;this.value.trim()!==this.parseContent(t).trim()&&this.updateContent(this.value)}},mounted(){this.textSmiles=[],["d","D","p","P","s","S","x","X",")","(","|","/"].forEach((t=>{this.textSmiles.push(":"+t),this.textSmiles.push(":-"+t)})),this.autocompleteTribute=new zn(this.autocompleteOptions),this.autocompleteTribute.attach(this.$el),this.emojiAutocomplete&&(this.emojiTribute=new zn(this.emojiOptions),this.emojiTribute.attach(this.$el)),this.linkAutocomplete&&(this.linkTribute=new zn(this.linkOptions),this.linkTribute.attach(this.$el)),this.updateContent(this.value),this.$refs.contenteditable.contentEditable=this.canEdit},beforeDestroy(){this.autocompleteTribute&&this.autocompleteTribute.detach(this.$el),this.emojiTribute&&this.emojiTribute.detach(this.$el),this.linkTribute&&this.linkTribute.detach(this.$el)},methods:{focus(){this.$refs.contenteditable.focus()},getLink(t){return async function(t=null,e){return await new Promise(((n,i)=>{var r;const o=document.createElement("div");o.id="referencePickerModal",document.body.append(o);const s=null===t?null:null!=(r=function(t){return t===nn?an:rn().find((e=>e.id===t))}(t))?r:null,l=new(a.default.extend(Dn))({propsData:{initialProvider:s,isInsideViewer:e}}).$mount(o);l.$on("cancel",(()=>{l.$destroy(),i(new Error("User cancellation"))})),l.$on("submit",(t=>{l.$destroy(),n(t)}))}))}(t.original.id).then((t=>{const e=document.getElementById("tmp-smart-picker-result-node"),n={result:t,insertText:!0};if(this.$emit("smart-picker-submit",n),n.insertText){const n=document.createTextNode(t);e.replaceWith(n),this.setCursorAfter(n),this.updateValue(this.$refs.contenteditable.innerHTML)}else e.remove()})).catch((t=>{Xn.debug("Smart picker promise rejected:",t);const e=document.getElementById("tmp-smart-picker-result-node");this.setCursorAfter(e),e.remove()})),'<span id="tmp-smart-picker-result-node"></span>'},setCursorAfter(t){const e=document.createRange();e.setEndAfter(t),e.collapse();const n=window.getSelection();n.removeAllRanges(),n.addRange(e)},onInput(t){this.updateValue(t.target.innerHTML)},onPaste(t){if(!this.canEdit)return;t.preventDefault();const e=t.clipboardData;if(this.$emit("paste",t),0!==e.files.length||!Object.values(e.items).find((t=>null==t?void 0:t.type.startsWith("text"))))return;const n=e.getData("text"),i=window.getSelection();if(!i.rangeCount)return void this.updateValue(n);const a=i.getRangeAt(0);i.deleteFromDocument(),a.insertNode(document.createTextNode(n));const r=document.createRange();r.setStart(t.target,a.endOffset),r.collapse(!0),i.removeAllRanges(),i.addRange(r),this.updateValue(this.$refs.contenteditable.innerHTML)},updateValue(t){const e=this.parseContent(t);this.localValue=e,this.$emit("update:value",e)},updateContent(t){const e=this.renderContent(t);this.$refs.contenteditable.innerHTML=e,this.localValue=t},onDelete(t){if(!this.isFF||!window.getSelection||!this.canEdit)return;const e=window.getSelection(),n=t.target;if(!e.isCollapsed||!e.rangeCount)return;const i=e.getRangeAt(e.rangeCount-1);if(3===i.commonAncestorContainer.nodeType&&i.startOffset>0)return;const a=document.createRange();if(e.anchorNode!==n)a.selectNodeContents(n),a.setEndBefore(e.anchorNode);else{if(!(e.anchorOffset>0))return;a.setEnd(n,e.anchorOffset)}a.setStart(n,a.endOffset-1);const r=a.cloneContents().lastChild;r&&"false"===r.contentEditable&&(a.deleteContents(),t.preventDefault())},onEnter(t){this.multiline||this.isOverMaxlength||this.autocompleteTribute.isActive||this.emojiTribute.isActive||this.linkTribute.isActive||this.isComposing||(t.preventDefault(),t.stopPropagation(),this.$emit("submit",t))},onCtrlEnter(t){this.isOverMaxlength||this.$emit("submit",t)},debouncedAutoComplete:$n((async function(t,e){this.autoComplete(t,e)}),100),onKeyUp(t){t.stopImmediatePropagation()}}};var ni=function(){var t=this;return(0,t._self._c)("div",t._g({directives:[{name:"tooltip",rawName:"v-tooltip",value:t.tooltipString,expression:"tooltipString"}],ref:"contenteditable",staticClass:"rich-contenteditable__input",class:{"rich-contenteditable__input--empty":t.isEmptyValue,"rich-contenteditable__input--multiline":t.multiline,"rich-contenteditable__input--overflow":t.isOverMaxlength,"rich-contenteditable__input--disabled":t.disabled},attrs:{contenteditable:t.canEdit,placeholder:t.placeholder,"aria-placeholder":t.placeholder,"aria-multiline":"true",role:"textbox"},on:{input:t.onInput,compositionstart:function(e){t.isComposing=!0},compositionend:function(e){t.isComposing=!1},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"delete",[8,46],e.key,["Backspace","Delete","Del"])?null:t.onDelete.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:t.onEnter.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||!e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.stopPropagation(),e.preventDefault(),t.onCtrlEnter.apply(null,arguments))}],paste:t.onPaste,"!keyup":function(e){return e.stopPropagation(),e.preventDefault(),t.onKeyUp.apply(null,arguments)}}},t.listeners))},ii=[];(0,I.n)(ei,ni,ii,!1,null,"599f92d5",null,null).exports;var ai=i(21623),ri=i(61170),oi=i(90630),si=i(42977),li=i(81049),ci=i(25739),di=i(39685),ui=i(66875),pi=i(72090),hi=i(25108);const fi=/(\s|^)(https?:\/\/)((?:[-A-Z0-9+_]+\.)+[-A-Z]+(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\s|$)/gi,Ai=/(\s|\(|^)((https?:\/\/)((?:[-A-Z0-9+_]+\.)+[-A-Z0-9]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\s|\)|$)/gi,mi={name:"NcReferenceList",components:{NcReferenceWidget:Xe},props:{text:{type:String,default:""},referenceData:{type:Object,default:null},limit:{type:Number,default:1}},data:()=>({references:null,loading:!0}),computed:{isVisible(){return this.loading||this.displayedReferences},values(){return this.referenceData?this.referenceData:this.references?Object.values(this.references):[]},firstReference(){var t;return null!=(t=this.values[0])?t:null},displayedReferences(){return this.values.slice(0,this.limit)}},watch:{text:"fetch"},mounted(){this.fetch()},methods:{fetch(){this.loading=!0,this.referenceData?this.loading=!1:new RegExp(fi).exec(this.text)?this.resolve().then((t=>{this.references=t.data.ocs.data.references,this.loading=!1})).catch((t=>{hi.error("Failed to extract references",t),this.loading=!1})):this.loading=!1},resolve(){const t=new RegExp(fi).exec(this.text.trim());return 1===this.limit&&t?l.Z.get((0,r.generateOcsUrl)("references/resolve",2)+`?reference=${encodeURIComponent(t[0])}`):l.Z.post((0,r.generateOcsUrl)("references/extract",2),{text:this.text,resolve:!0,limit:this.limit})}}};var gi=function(){var t=this,e=t._self._c;return t.isVisible?e("div",{staticClass:"widgets--list",class:{"icon-loading":t.loading}},t._l(t.displayedReferences,(function(t){var n;return e("div",{key:null==(n=null==t?void 0:t.openGraphObject)?void 0:n.id},[e("NcReferenceWidget",{attrs:{reference:t}})],1)})),0):t._e()},vi=[];const bi=(0,I.n)(mi,gi,vi,!1,null,"bd1fbb02",null,null).exports,yi={name:"NcLink",props:{href:{type:String,required:!0}},render(t){return t("a",{attrs:{href:this.href,rel:"noopener noreferrer",target:"_blank",class:"rich-text--external-link"}},[this.href.trim()])}},Ci=function({autolink:t,useMarkdown:e}){return function(n){!e||!t||(0,ai.Vn)(n,(t=>"text"===t.type),((t,e,n)=>{let i=xi(t.value);return i=i.map((t=>"string"==typeof t?(0,oi.u)("text",t):(0,oi.u)("link",{url:t.props.href},[(0,oi.u)("text",t.props.href)]))).filter((t=>t)),n.children.splice(e,1,...i.flat()),[ri.AM,e+i.flat().length]}))}},xi=t=>{let e=Ai.exec(t);const n=[];let i=0;for(;null!==e;){let a,r=e[2],o=t.substring(i,e.index+e[1].length);" "===r[0]&&(o+=r[0],r=r.substring(1).trim());const s=r[r.length-1];("."===s||","===s||";"===s||"("===e[0][0]&&")"===s)&&(r=r.substring(0,r.length-1),a=s),n.push(o),n.push({component:yi,props:{href:r}}),a&&n.push(a),i=e.index+e[0].length,e=Ai.exec(t)}n.push(t.substring(i));const a=n.map((t=>"string"==typeof t?t:t.props.href)).join("");return t===a?n:(hi.error("Failed to reassemble the chunked text: "+t),t)},wi=function(){return function(t){(0,ai.Vn)(t,(t=>"text"===t.type),(function(t,e,n){const i=t.value.split(/(\{[a-z\-_.0-9]+\})/gi).map(((t,e,n)=>{const i=t.match(/^\{([a-z\-_.0-9]+)\}$/i);if(!i)return(0,oi.u)("text",t);const[,a]=i;return(0,oi.u)("element",{tagName:`#${a}`})}));n.children.splice(e,1,...i)}))}},Ei={name:"NcRichText",components:{NcReferenceList:bi},props:{text:{type:String,default:""},arguments:{type:Object,default:()=>({})},referenceLimit:{type:Number,default:0},references:{type:Object,default:null},markdownCssClasses:{type:Object,default:()=>({a:"rich-text--external-link",ol:"rich-text--ordered-list",ul:"rich-text--un-ordered-list",li:"rich-text--list-item",strong:"rich-text--strong",em:"rich-text--italic",h1:"rich-text--heading rich-text--heading-1",h2:"rich-text--heading rich-text--heading-2",h3:"rich-text--heading rich-text--heading-3",h4:"rich-text--heading rich-text--heading-4",h5:"rich-text--heading rich-text--heading-5",h6:"rich-text--heading rich-text--heading-6",hr:"rich-text--hr",table:"rich-text--table",pre:"rich-text--pre",code:"rich-text--code",blockquote:"rich-text--blockquote"})},useMarkdown:{type:Boolean,default:!1},autolink:{type:Boolean,default:!0}},methods:{renderPlaintext(t){const e=this,n=this.text.split(/(\{[a-z\-_.0-9]+\})/gi).map((function(n,i,a){const r=n.match(/^\{([a-z\-_.0-9]+)\}$/i);if(!r)return(({h:t,context:e},n)=>(e.autolink&&(n=xi(n)),Array.isArray(n)?n.map((e=>{if("string"==typeof e)return e;const{component:n,props:i}=e,a="NcLink"===n.name?void 0:"rich-text--component";return t(n,{props:i,class:a})})):n))({h:t,context:e},n);const o=r[1],s=e.arguments[o];if("object"==typeof s){const{component:e,props:n}=s;return t(e,{props:n,class:"rich-text--component"})}return s?t("span",{class:"rich-text--fallback"},s):n}));return t("div",{class:"rich-text--wrapper"},[t("div",{},n.flat()),this.referenceLimit>0?t("div",{class:"rich-text--reference-widget"},[t(bi,{props:{text:this.text,referenceData:this.references}})]):null])},renderMarkdown(t){const e=(0,si.l)().use(li.Z).use(Ci,{autolink:this.autolink,useMarkdown:this.useMarkdown}).use(ci.Z).use(di.Z,{handlers:{component:(t,e)=>t(e,e.component,{value:e.value})}}).use(wi).use(pi.Z,{target:"_blank",rel:["noopener noreferrer"]}).use(ui.Z,{createElement:(e,n,i)=>{if(i=null==i?void 0:i.map((t=>"string"==typeof t?t.replace(/&lt;/gim,"<"):t)),!e.startsWith("#"))return t(e,n,i);const a=this.arguments[e.slice(1)];return a?a.component?t(a.component,{attrs:n,props:a.props,class:"rich-text--component"},i):t("span",n,[a]):t("span",{attrs:n,class:"rich-text--fallback"},[`{${e.slice(1)}}`])},prefix:!1}).processSync(this.text.replace(/</gim,"&lt;").replace(/&gt;/gim,">")).result;return t("div",{class:"rich-text--wrapper rich-text--wrapper-markdown"},[e,this.referenceLimit>0?t("div",{class:"rich-text--reference-widget"},[t(bi,{props:{text:this.text,referenceData:this.references}})]):null])}},render(t){return this.useMarkdown?this.renderMarkdown(t):this.renderPlaintext(t)}},_i=((0,I.n)(Ei,null,null,!1,null,"5f33f45b",null,null).exports,(0,a.defineComponent)({name:"NcSavingIndicatorIcon",props:{size:{type:Number,default:20},name:{type:String,default:""},saving:{type:Boolean,default:!1,required:!1},error:{type:Boolean,default:!1,required:!1}},emits:["click"],computed:{indicatorColor(){return this.error?"var(--color-error)":this.saving?"var(--color-primary-element)":"none"}}}));var Bi=function(){var t=this,e=t._self._c;return t._self._setupProxy,e("span",{staticClass:"material-design-icon",attrs:{"aria-label":t.name,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},[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:{fill:t.indicatorColor,d:"m19 15a4 4 0 0 0-4 4 4 4 0 0 0 4 4 4 4 0 0 0 4-4 4 4 0 0 0-4-4z"}}),e("path",{attrs:{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}},[t.name?e("title",[t._v(t._s(t.name))]):t._e()])])])},ki=[];(0,I.n)(_i,Bi,ki,!1,null,null,null,null).exports;var Si=i(35380),Ti=i(67978),Ii={};Ii.styleTagTransform=k(),Ii.setAttributes=w(),Ii.insert=C().bind(null,"head"),Ii.domAPI=b(),Ii.insertStyleElement=_(),g()(Ti.Z,Ii),Ti.Z&&Ti.Z.locals&&Ti.Z.locals;const Ni={name:"NcSettingsInputText",props:{label:{type:String,required:!0},hint:{type:String,default:""},value:{type:String,default:""},disabled:{type:Boolean,default:!1},id:{type:String,default:()=>"settings-input-text-"+(0,W.G)(),validator:t=>""!==t.trim()}},emits:["update:value","input","submit","change"],data:()=>({submitTranslated:(0,Bt.t)("Submit")}),computed:{idSubmit(){return this.id+"-submit"}},methods:{onInput(t){this.$emit("input",t),this.$emit("update:value",t.target.value)},onSubmit(t){this.disabled||this.$emit("submit",t)},onChange(t){this.$emit("change",t)}}};var Li=function(){var t=this,e=t._self._c;return e("form",{ref:"form",attrs:{disabled:t.disabled},on:{submit:function(e){return e.preventDefault(),e.stopPropagation(),t.onSubmit.apply(null,arguments)}}},[e("div",{staticClass:"input-wrapper"},[e("label",{staticClass:"action-input__label",attrs:{for:t.id}},[t._v(t._s(t.label))]),e("input",{attrs:{id:t.id,type:"text",disabled:t.disabled},domProps:{value:t.value},on:{input:t.onInput,change:t.onChange}}),e("input",{staticClass:"action-input__submit",attrs:{id:t.idSubmit,type:"submit"},domProps:{value:t.submitTranslated}}),t.hint?e("p",{staticClass:"hint"},[t._v(" "+t._s(t.hint)+" ")]):t._e()])])},Pi=[];(0,I.n)(Ni,Li,Pi,!1,null,"5b140fb6",null,null).exports;var Mi=i(67912),Oi=i(48261),Ri={};Ri.styleTagTransform=k(),Ri.setAttributes=w(),Ri.insert=C().bind(null,"head"),Ri.domAPI=b(),Ri.insertStyleElement=_(),g()(Oi.Z,Ri),Oi.Z&&Oi.Z.locals&&Oi.Z.locals;var Di=i(95313);const ji={name:"NcSettingsSelectGroup",components:{NcSelect:Ge.Z},mixins:[Di.l],props:{label:{type:String,required:!0},placeholder:{type:String,default:""},id:{type:String,default:()=>"action-"+(0,W.G)(),validator:t=>""!==t.trim()},value:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1}},emits:["input","error"],data:()=>({groups:{},randId:(0,W.G)(),errorMessage:""}),computed:{hasError(){return""!==this.errorMessage},filteredValue(){return this.value.filter((t=>""!==t&&"string"==typeof t))},inputValue(){return this.filteredValue.map((t=>typeof this.groups[t]>"u"?{id:t,displayname:t}:this.groups[t]))},groupsArray(){return Object.values(this.groups).filter((t=>!this.value.includes(t.id)))}},watch:{value:{handler(){const t=Object.keys(this.groups);this.filteredValue.filter((e=>!t.includes(e))).forEach((t=>{this.loadGroup(t)}))},immediate:!0}},async mounted(){const t=`${appName}:${appVersion}/initialGroups`;let e=window.sessionStorage.getItem(t);e?(e=Object.fromEntries(JSON.parse(e).map((t=>[t.id,t]))),this.groups={...this.groups,...e}):(await this.loadGroup(""),window.sessionStorage.setItem(t,JSON.stringify(Object.values(this.groups))))},methods:{update(t){const e=t.map((t=>t.id));this.$emit("input",e)},async loadGroup(t){try{t="string"==typeof t?encodeURI(t):"";const e=await l.Z.get((0,r.generateOcsUrl)(`cloud/groups/details?search=${t}&limit=10`,2));if(""!==this.errorMessage&&window.setTimeout((()=>{this.errorMessage=""}),5e3),Object.keys(e.data.ocs.data.groups).length>0){const t=Object.fromEntries(e.data.ocs.data.groups.map((t=>[t.id,t])));return this.groups={...this.groups,...t},!0}}catch(t){this.$emit("error",t),this.errorMessage=(0,Bt.t)("Unable to search the group")}return!1},filterGroups:(t,e,n)=>`${e||""} ${t.id}`.toLocaleLowerCase().indexOf(n.toLocaleLowerCase())>-1,onSearch:(0,$n.debounce)((function(t){this.loadGroup(t)}),200)}};var Ui=function(){var t=this,e=t._self._c;return e("div",[t.label?e("label",{staticClass:"hidden-visually",attrs:{for:t.id}},[t._v(t._s(t.label))]):t._e(),e("NcSelect",{attrs:{value:t.inputValue,options:t.groupsArray,placeholder:t.placeholder||t.label,"filter-by":t.filterGroups,"input-id":t.id,limit:5,label:"displayname",multiple:!0,"close-on-select":!1,disabled:t.disabled},on:{input:t.update,search:t.onSearch}}),e("div",{directives:[{name:"show",rawName:"v-show",value:t.hasError,expression:"hasError"}],staticClass:"select-group-error"},[t._v(" "+t._s(t.errorMessage)+" ")])],1)},Gi=[];(0,I.n)(ji,Ui,Gi,!1,null,"5a35ccce",null,null).exports;var Wi=i(13888),Fi=i(32059),Zi={};Zi.styleTagTransform=k(),Zi.setAttributes=w(),Zi.insert=C().bind(null,"head"),Zi.domAPI=b(),Zi.insertStyleElement=_(),g()(Fi.Z,Zi),Fi.Z&&Fi.Z.locals&&Fi.Z.locals;const Yi={name:"NcUserBubbleDiv"};var zi=function(){return(0,this._self._c)("div",[this._t("trigger")],2)},$i=[];const Hi=(0,I.n)(Yi,zi,$i,!1,null,null,null,null).exports,Vi={name:"NcUserBubble",components:{NcAvatar:Wt.N,NcPopover:Be.Z,NcUserBubbleDiv:Hi},props:{avatarImage:{type:String,default:void 0},user:{type:String,default:void 0},displayName:{type:String,default:void 0},showUserStatus:{type:Boolean,default:!1},url:{type:String,default:void 0,validator:t=>{var e;try{return t=new URL(t,null!=(e=null==t?void 0:t.startsWith)&&e.call(t,"/")?window.location.href:void 0),!0}catch{return!1}}},open:{type:Boolean,default:!1},primary:{type:Boolean,default:!1},size:{type:Number,default:20},margin:{type:Number,default:2}},emits:["click","update:open"],computed:{isPopoverComponent(){return this.popoverEmpty?"NcUserBubbleDiv":"NcPopover"},isAvatarUrl(){if(!this.avatarImage)return!1;try{return!!new URL(this.avatarImage)}catch{return!1}},isCustomAvatar(){return!!this.avatarImage},hasUrl(){return this.url&&""!==this.url.trim()},isLinkComponent(){return this.hasUrl?"a":"div"},popoverEmpty(){return!("default"in this.$slots)},styles(){return{content:{height:this.size+"px",lineHeight:this.size+"px",borderRadius:this.size/2+"px"},avatar:{marginLeft:this.margin+"px"}}}},mounted(){!this.displayName&&!this.user&&a.default.util.warn("[NcUserBubble] At least `displayName` or `user` property should be set.")},methods:{onOpenChange(t){this.$emit("update:open",t)},onClick(t){this.$emit("click",t)}}};var qi=function(){var t=this,e=t._self._c;return e(t.isPopoverComponent,{tag:"component",staticClass:"user-bubble__wrapper",attrs:{trigger:"hover focus",shown:t.open},on:{"update:open":t.onOpenChange},scopedSlots:t._u([{key:"trigger",fn:function(){return[e(t.isLinkComponent,{tag:"component",staticClass:"user-bubble__content",class:{"user-bubble__content--primary":t.primary},style:t.styles.content,attrs:{href:t.hasUrl?t.url:null},on:{click:t.onClick}},[e("NcAvatar",{staticClass:"user-bubble__avatar",style:t.styles.avatar,attrs:{url:t.isCustomAvatar&&t.isAvatarUrl?t.avatarImage:void 0,"icon-class":t.isCustomAvatar&&!t.isAvatarUrl?t.avatarImage:void 0,user:t.user,"display-name":t.displayName,size:t.size-2*t.margin,"disable-tooltip":!0,"disable-menu":!0,"show-user-status":t.showUserStatus}}),e("span",{staticClass:"user-bubble__name"},[t._v(" "+t._s(t.displayName||t.user)+" ")]),t.$slots.name?e("span",{staticClass:"user-bubble__secondary"},[t._t("name")],2):t._e()],1)]},proxy:!0}],null,!0)},[t._t("default")],2)},Xi=[];(0,I.n)(Vi,qi,Xi,!1,null,"55ab76f1",null,null).exports;var Ji=i(64722),Ki=(i(85302),i(90318)),Qi=i(17593);i(40946),A.Z,M.Z,O.Z,R.Z,D.Z,z.Z,H.Z,V.Z,$.Z,et.Z,lt.Z,ct.Z,At.Z,mt.Z,Rt.Z,Dt.Z,jt.Z,Ut.Z,Gt.Z,Wt.N,Ft.Z,Zt.Z,c.Z,Yt.Z,zt.Z,$t.Z,Ht.Z,le.Z,ce.Z,de.Z,ue.Z,pe.Z,he.Z,ne.Z,be.Z,ye.N,Ce.Z,xe.Z,we.Z,yt.Z,De.N,p.Z,Ee.Z,_e.Z,Be.Z,ke.Z,Ge.Z,Si.Z,Mi.Z,Ji.Z,We.Z,Wi.Z,Symbol.toStringTag,Ki.X,Qi.X,qn.VTooltip,Symbol.toStringTag;var ta=i(11734);const ea={name:"ApiDashboardWidget",components:{NcAvatar:Wt.N,NcDashboardWidget:se,NcDashboardWidgetItem:ee,NcEmptyContent:ne.Z,NcButton:c.Z,CheckIcon:ta.default},props:{widget:{type:[Object,void 0],default:void 0},data:{type:[Object,void 0],default:void 0},loading:{type:Boolean,required:!0}},computed:{items(){return this.data?.items??[]},emptyContentMessage(){return this.data?.emptyContentMessage??""},halfEmptyContentMessage(){return this.data?.halfEmptyContentMessage??""},newButton(){return this.widget?.buttons?.find((t=>"new"===t.type))},moreButton(){return this.widget?.buttons?.find((t=>"more"===t.type))},setupButton(){return this.widget?.buttons?.find((t=>"setup"===t.type))},showMoreLabel(){return this.moreButton?.text},showMoreUrl(){return this.moreButton?.link}}};var na=i(51900);const ia=(0,na.Z)(ea,(function(){var t=this,e=t._self._c;return e("NcDashboardWidget",{attrs:{items:t.items,"show-more-label":t.showMoreLabel,"show-more-url":t.showMoreUrl,loading:t.loading,"show-items-and-empty-content":!!t.halfEmptyContentMessage,"half-empty-content-message":t.halfEmptyContentMessage},scopedSlots:t._u([{key:"default",fn:function(n){let{item:i}=n;return[e("NcDashboardWidgetItem",{attrs:{"target-url":i.link,"overlay-icon-url":i.overlayIconUrl?i.overlayIconUrl:"","main-text":i.title,"sub-text":i.subtitle},scopedSlots:t._u([{key:"avatar",fn:function(){return[i.iconUrl?[e("NcAvatar",{attrs:{size:44,url:i.iconUrl}})]:t._e()]},proxy:!0}],null,!0)})]}},{key:"empty-content",fn:function(){return[0===t.items.length?e("NcEmptyContent",{attrs:{description:t.emptyContentMessage},scopedSlots:t._u([{key:"icon",fn:function(){return[t.emptyContentMessage?e("CheckIcon",{attrs:{size:65}}):t._e()]},proxy:!0},{key:"action",fn:function(){return[t.setupButton?e("NcButton",{attrs:{href:t.setupButton.link}},[t._v("\n\t\t\t\t\t"+t._s(t.setupButton.text)+"\n\t\t\t\t")]):t._e()]},proxy:!0}],null,!1,4172361897)}):t._e()]},proxy:!0}])})}),[],!1,null,"d91c9686",null).exports;var aa=i(25108);const ra=(0,s.j)("dashboard","panels"),oa=(0,s.j)("dashboard","firstRun"),sa={weather:{text:t("dashboard","Weather"),icon:"icon-weather-status"},status:{text:t("dashboard","Status"),icon:"icon-user-status-online"}},la={name:"DashboardApp",components:{ApiDashboardWidget:ia,NcButton:c.Z,Draggable:u(),NcModal:p.Z,Pencil:h.default},mixins:[f],data:()=>({isAdmin:(0,o.ts)().isAdmin,timer:new Date,registeredStatus:[],callbacks:{},callbacksStatus:{},allCallbacksStatus:{},statusInfo:sa,enabledStatuses:(0,s.j)("dashboard","statuses"),panels:ra,firstRun:oa,displayName:(0,o.ts)()?.displayName,uid:(0,o.ts)()?.uid,layout:(0,s.j)("dashboard","layout").filter((t=>ra[t])),modal:!1,appStoreUrl:(0,r.generateUrl)("/settings/apps/dashboard"),statuses:{},apiWidgets:[],apiWidgetItems:{},loadingItems:!0}),computed:{greeting(){const e=this.timer.getHours();let n;n=e>=22||e<5?"night":e>=18?"evening":e>=12?"afternoon":"morning";const i={morning:{generic:t("dashboard","Good morning"),withName:t("dashboard","Good morning, {name}",{name:this.displayName},void 0,{escape:!1})},afternoon:{generic:t("dashboard","Good afternoon"),withName:t("dashboard","Good afternoon, {name}",{name:this.displayName},void 0,{escape:!1})},evening:{generic:t("dashboard","Good evening"),withName:t("dashboard","Good evening, {name}",{name:this.displayName},void 0,{escape:!1})},night:{generic:t("dashboard","Hello"),withName:t("dashboard","Hello, {name}",{name:this.displayName},void 0,{escape:!1})}};return{text:this.displayName&&this.uid!==this.displayName?i[n].withName:i[n].generic}},isActive(){return t=>this.layout.indexOf(t.id)>-1},isStatusActive(){return t=>!(t in this.enabledStatuses)||this.enabledStatuses[t]},sortedAllStatuses(){return Object.keys(this.allCallbacksStatus).slice().sort(this.sortStatuses)},sortedPanels(){return Object.values(this.panels).sort(((t,e)=>{const n=this.layout.indexOf(t.id),i=this.layout.indexOf(e.id);return-1===n||-1===i?i-n||t.id-e.id:n-i||t.id-e.id}))},sortedRegisteredStatus(){return this.registeredStatus.slice().sort(this.sortStatuses)}},watch:{callbacks(){this.rerenderPanels()},callbacksStatus(){for(const t in this.callbacksStatus){const e=this.$refs["status-"+t];this.statuses[t]&&this.statuses[t].mounted||(e?(this.callbacksStatus[t](e[0]),a.default.set(this.statuses,t,{mounted:!0})):aa.error("Failed to register panel in the frontend as no backend data was provided for "+t))}}},async created(){await this.fetchApiWidgets();const t=Object.values(this.apiWidgets).filter((t=>this.isApiWidgetV2(t.id))).map((t=>t.id));await Promise.all(t.map((t=>this.fetchApiWidgetItems([t],!0))));for(const t of Object.values(this.apiWidgets))t.reload_interval>0&&setInterval((async()=>{await this.fetchApiWidgetItems([t.id],!0)}),1e3*t.reload_interval)},mounted(){this.updateSkipLink(),window.addEventListener("scroll",this.handleScroll),setInterval((()=>{this.timer=new Date}),3e4),this.firstRun&&window.addEventListener("scroll",this.disableFirstrunHint)},destroyed(){window.removeEventListener("scroll",this.handleScroll)},methods:{register(t,e){a.default.set(this.callbacks,t,e)},registerStatus(t,e){a.default.set(this.allCallbacksStatus,t,e),this.isStatusActive(t)&&(this.registeredStatus.push(t),this.$nextTick((()=>{a.default.set(this.callbacksStatus,t,e)})))},rerenderPanels(){for(const t in this.callbacks){if(this.isApiWidgetV2(this.panels[t].id))continue;const e=this.$refs[t];-1!==this.layout.indexOf(t)&&(this.panels[t]&&this.panels[t].mounted||(e?(this.callbacks[t](e[0],{widget:this.panels[t]}),a.default.set(this.panels[t],"mounted",!0)):aa.error("Failed to register panel in the frontend as no backend data was provided for "+t)))}},saveLayout(){l.Z.post((0,r.generateUrl)("/apps/dashboard/layout"),{layout:this.layout.join(",")})},saveStatuses(){l.Z.post((0,r.generateUrl)("/apps/dashboard/statuses"),{statuses:JSON.stringify(this.enabledStatuses)})},showModal(){this.modal=!0,this.firstRun=!1},closeModal(){this.modal=!1},updateCheckbox(t,e){const n=this.layout.indexOf(t.id);!e&&n>-1?this.layout.splice(n,1):this.layout.push(t.id),a.default.set(this.panels[t.id],"mounted",!1),this.saveLayout(),this.$nextTick((()=>this.rerenderPanels()))},disableFirstrunHint(){window.removeEventListener("scroll",this.disableFirstrunHint),setTimeout((()=>{this.firstRun=!1}),1e3)},updateSkipLink(){document.getElementsByClassName("skip-navigation")[0].setAttribute("href","#app-dashboard")},updateStatusCheckbox(t,e){e?this.enableStatus(t):this.disableStatus(t)},enableStatus(t){this.enabledStatuses[t]=!0,this.registerStatus(t,this.allCallbacksStatus[t]),this.saveStatuses()},disableStatus(t){this.enabledStatuses[t]=!1;const e=this.registeredStatus.findIndex((e=>e===t));-1!==e&&(this.registeredStatus.splice(e,1),a.default.set(this.statuses,t,{mounted:!1}),this.$nextTick((()=>{a.default.delete(this.callbacksStatus,t)}))),this.saveStatuses()},sortStatuses(t,e){const n=t.toLowerCase(),i=e.toLowerCase();return n>i?1:n<i?-1:0},handleScroll(){window.scrollY>70?document.body.classList.add("dashboard--scrolled"):document.body.classList.remove("dashboard--scrolled")},async fetchApiWidgets(){const t=await l.Z.get((0,r.generateOcsUrl)("/apps/dashboard/api/v1/widgets"));this.apiWidgets=t.data.ocs.data},async fetchApiWidgetItems(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{const n=(0,r.generateOcsUrl)("/apps/dashboard/api/v2/widget-items"),i=new URLSearchParams(t.map((t=>["widgets[]",t]))),a=(await l.Z.get(`${n}?${i.toString()}`)).data.ocs.data;this.apiWidgetItems=e?Object.assign({},this.apiWidgetItems,a):a}finally{this.loadingItems=!1}},isApiWidgetV2(t){for(const e of Object.values(this.apiWidgets))if(e.id===t&&e.item_api_versions.includes(2))return!0;return!1}}},ca=la;var da=i(63500),ua={};ua.styleTagTransform=k(),ua.setAttributes=w(),ua.insert=C().bind(null,"head"),ua.domAPI=b(),ua.insertStyleElement=_(),g()(da.Z,ua),da.Z&&da.Z.locals&&da.Z.locals;var pa=i(1725),ha={};ha.styleTagTransform=k(),ha.setAttributes=w(),ha.insert=C().bind(null,"head"),ha.domAPI=b(),ha.insertStyleElement=_(),g()(pa.Z,ha),pa.Z&&pa.Z.locals&&pa.Z.locals;const fa=(0,na.Z)(ca,(function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"app-dashboard"}},[e("h2",[t._v(t._s(t.greeting.text))]),t._v(" "),e("ul",{staticClass:"statuses"},t._l(t.sortedRegisteredStatus,(function(t){return e("li",{key:t,attrs:{id:"status-"+t}},[e("div",{ref:"status-"+t,refInFor:!0})])})),0),t._v(" "),e("Draggable",t._b({staticClass:"panels",attrs:{handle:".panel--header"},on:{end:t.saveLayout},model:{value:t.layout,callback:function(e){t.layout=e},expression:"layout"}},"Draggable",{swapThreshold:.3,delay:500,delayOnTouchOnly:!0,touchStartThreshold:3},!1),[t._l(t.layout,(function(n){return[t.isApiWidgetV2(t.panels[n].id)?e("div",{key:`${t.panels[n].id}-v2`,staticClass:"panel"},[e("div",{staticClass:"panel--header"},[e("h2",[e("span",{class:t.apiWidgets[t.panels[n].id].icon_class,attrs:{"aria-labelledby":`panel-${t.panels[n].id}--header--icon--description`,"aria-hidden":"true",role:"img"}}),t._v("\n\t\t\t\t\t\t"+t._s(t.apiWidgets[t.panels[n].id].title)+"\n\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"hidden-visually",attrs:{id:`panel-${t.panels[n].id}--header--icon--description`}},[t._v("\n\t\t\t\t\t\t"+t._s(t.t("dashboard",'"{title} icon"',{title:t.apiWidgets[t.panels[n].id].title}))+"\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"panel--content"},[e("ApiDashboardWidget",{attrs:{widget:t.apiWidgets[t.panels[n].id],data:t.apiWidgetItems[t.panels[n].id],loading:t.loadingItems}})],1)]):e("div",{key:t.panels[n].id,staticClass:"panel"},[e("div",{staticClass:"panel--header"},[e("h2",[e("span",{class:t.panels[n].iconClass,attrs:{"aria-labelledby":`panel-${t.panels[n].id}--header--icon--description`,"aria-hidden":"true",role:"img"}}),t._v("\n\t\t\t\t\t\t"+t._s(t.panels[n].title)+"\n\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"hidden-visually",attrs:{id:`panel-${t.panels[n].id}--header--icon--description`}},[t._v(" "+t._s(t.t("dashboard",'"{title} icon"',{title:t.panels[n].title}))+" ")])]),t._v(" "),e("div",{staticClass:"panel--content",class:{loading:!t.panels[n].mounted}},[e("div",{ref:t.panels[n].id,refInFor:!0,attrs:{"data-id":t.panels[n].id}})])])]}))],2),t._v(" "),e("div",{staticClass:"footer"},[e("NcButton",{on:{click:t.showModal},scopedSlots:t._u([{key:"icon",fn:function(){return[e("Pencil",{attrs:{size:20}})]},proxy:!0}])},[t._v("\n\t\t\t"+t._s(t.t("dashboard","Customize"))+"\n\t\t")])],1),t._v(" "),t.modal?e("NcModal",{attrs:{size:"large"},on:{close:t.closeModal}},[e("div",{staticClass:"modal__content"},[e("h3",[t._v(t._s(t.t("dashboard","Edit widgets")))]),t._v(" "),e("ol",{staticClass:"panels"},t._l(t.sortedAllStatuses,(function(n){return e("li",{key:n,class:"panel-"+n},[e("input",{staticClass:"checkbox",attrs:{id:"status-checkbox-"+n,type:"checkbox"},domProps:{checked:t.isStatusActive(n)},on:{input:function(e){return t.updateStatusCheckbox(n,e.target.checked)}}}),t._v(" "),e("label",{attrs:{for:"status-checkbox-"+n}},[e("span",{class:t.statusInfo[n].icon,attrs:{"aria-hidden":"true"}}),t._v("\n\t\t\t\t\t\t"+t._s(t.statusInfo[n].text)+"\n\t\t\t\t\t")])])})),0),t._v(" "),e("Draggable",t._b({staticClass:"panels",attrs:{tag:"ol",handle:".draggable"},on:{end:t.saveLayout},model:{value:t.layout,callback:function(e){t.layout=e},expression:"layout"}},"Draggable",{swapThreshold:.3,delay:500,delayOnTouchOnly:!0,touchStartThreshold:3},!1),t._l(t.sortedPanels,(function(n){return e("li",{key:n.id,class:"panel-"+n.id},[e("input",{staticClass:"checkbox",attrs:{id:"panel-checkbox-"+n.id,type:"checkbox"},domProps:{checked:t.isActive(n)},on:{input:function(e){return t.updateCheckbox(n,e.target.checked)}}}),t._v(" "),e("label",{class:{draggable:t.isActive(n)},attrs:{for:"panel-checkbox-"+n.id}},[e("span",{class:n.iconClass,attrs:{"aria-hidden":"true"}}),t._v("\n\t\t\t\t\t\t"+t._s(n.title)+"\n\t\t\t\t\t")])])})),0),t._v(" "),t.isAdmin?e("a",{staticClass:"button",attrs:{href:t.appStoreUrl}},[t._v(t._s(t.t("dashboard","Get more widgets from the App Store")))]):t._e(),t._v(" "),t.statuses.weather&&t.isStatusActive("weather")?e("div",[e("h3",[t._v(t._s(t.t("dashboard","Weather service")))]),t._v(" "),e("p",[t._v("\n\t\t\t\t\t"+t._s(t.t("dashboard","For your privacy, the weather data is requested by your Nextcloud server on your behalf so the weather service receives no personal information."))+"\n\t\t\t\t")]),t._v(" "),e("p",{staticClass:"credits--end"},[e("a",{attrs:{href:"https://api.met.no/doc/TermsOfService",target:"_blank",rel:"noopener"}},[t._v(t._s(t.t("dashboard","Weather data from Met.no")))]),t._v(",\n\t\t\t\t\t"),e("a",{attrs:{href:"https://wiki.osmfoundation.org/wiki/Privacy_Policy",target:"_blank",rel:"noopener"}},[t._v(t._s(t.t("dashboard","geocoding with Nominatim")))]),t._v(",\n\t\t\t\t\t"),e("a",{attrs:{href:"https://www.opentopodata.org/#public-api",target:"_blank",rel:"noopener"}},[t._v(t._s(t.t("dashboard","elevation data from OpenTopoData")))]),t._v(".\n\t\t\t\t")])]):t._e()],1)]):t._e()],1)}),[],!1,null,"9fd44988",null).exports;var Aa=i(31352);i.nc=btoa((0,o.IH)()),a.default.directive("Tooltip",je.Z),a.default.prototype.t=Aa.Iu,window.OCA.Files||(window.OCA.Files={}),Object.assign(window.OCA.Files,{App:{fileList:{filesClient:OC.Files.getClient()}}},window.OCA.Files);const ma=new(a.default.extend(fa))({}).$mount("#app-content-vue");window.OCA.Dashboard={register:(t,e)=>ma.register(t,e),registerStatus:(t,e)=>ma.registerStatus(t,e)}},48261:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-5a35ccce] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.select-group-error[data-v-5a35ccce] {\n color: var(--color-error);\n font-size: 13px;\n padding-inline-start: var(--border-radius-large);\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/NcSettingsSelectGroup-0d38d76b.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,yBAAyB;EACzB,eAAe;EACf,gDAAgD;AAClD",sourcesContent:['@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-5a35ccce] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.select-group-error[data-v-5a35ccce] {\n color: var(--color-error);\n font-size: 13px;\n padding-inline-start: var(--border-radius-large);\n}\n'],sourceRoot:""}]);const s=o},63509:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-b5f9046e] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Marco Ambrosini <marcoambrosini@icloud.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nli.active[data-v-b5f9046e] {\n background-color: var(--color-background-hover);\n border-radius: 6px;\n padding: 0;\n}\n.action--disabled[data-v-b5f9046e] {\n pointer-events: none;\n opacity: .5;\n}\n.action--disabled[data-v-b5f9046e]:hover,\n.action--disabled[data-v-b5f9046e]:focus {\n cursor: default;\n opacity: .5;\n}\n.action--disabled *[data-v-b5f9046e] {\n opacity: 1 !important;\n}\n.action-radio[data-v-b5f9046e] {\n display: flex;\n align-items: flex-start;\n width: 100%;\n height: auto;\n margin: 0;\n padding: 0;\n cursor: pointer;\n white-space: nowrap;\n color: var(--color-main-text);\n border: 0;\n border-radius: 0;\n background-color: transparent;\n box-shadow: none;\n font-weight: 400;\n line-height: 44px;\n}\n.action-radio__radio[data-v-b5f9046e] {\n position: absolute;\n top: auto;\n left: -10000px;\n overflow: hidden;\n width: 1px;\n height: 1px;\n}\n.action-radio__label[data-v-b5f9046e] {\n display: flex;\n align-items: center;\n width: 100%;\n padding: 0 14px 0 0 !important;\n}\n.action-radio__label[data-v-b5f9046e]:before {\n margin: 0 14px !important;\n}\n.action-radio--disabled[data-v-b5f9046e],\n.action-radio--disabled .action-radio__label[data-v-b5f9046e] {\n cursor: pointer;\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-24f6c355.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;;;;;;;;;;;;;;;;;;;;;EAqBE;AACF;EACE,+CAA+C;EAC/C,kBAAkB;EAClB,UAAU;AACZ;AACA;EACE,oBAAoB;EACpB,WAAW;AACb;AACA;;EAEE,eAAe;EACf,WAAW;AACb;AACA;EACE,qBAAqB;AACvB;AACA;EACE,aAAa;EACb,uBAAuB;EACvB,WAAW;EACX,YAAY;EACZ,SAAS;EACT,UAAU;EACV,eAAe;EACf,mBAAmB;EACnB,6BAA6B;EAC7B,SAAS;EACT,gBAAgB;EAChB,6BAA6B;EAC7B,gBAAgB;EAChB,gBAAgB;EAChB,iBAAiB;AACnB;AACA;EACE,kBAAkB;EAClB,SAAS;EACT,cAAc;EACd,gBAAgB;EAChB,UAAU;EACV,WAAW;AACb;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,WAAW;EACX,8BAA8B;AAChC;AACA;EACE,yBAAyB;AAC3B;AACA;;EAEE,eAAe;AACjB",sourcesContent:['@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-b5f9046e] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Marco Ambrosini <marcoambrosini@icloud.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nli.active[data-v-b5f9046e] {\n background-color: var(--color-background-hover);\n border-radius: 6px;\n padding: 0;\n}\n.action--disabled[data-v-b5f9046e] {\n pointer-events: none;\n opacity: .5;\n}\n.action--disabled[data-v-b5f9046e]:hover,\n.action--disabled[data-v-b5f9046e]:focus {\n cursor: default;\n opacity: .5;\n}\n.action--disabled *[data-v-b5f9046e] {\n opacity: 1 !important;\n}\n.action-radio[data-v-b5f9046e] {\n display: flex;\n align-items: flex-start;\n width: 100%;\n height: auto;\n margin: 0;\n padding: 0;\n cursor: pointer;\n white-space: nowrap;\n color: var(--color-main-text);\n border: 0;\n border-radius: 0;\n background-color: transparent;\n box-shadow: none;\n font-weight: 400;\n line-height: 44px;\n}\n.action-radio__radio[data-v-b5f9046e] {\n position: absolute;\n top: auto;\n left: -10000px;\n overflow: hidden;\n width: 1px;\n height: 1px;\n}\n.action-radio__label[data-v-b5f9046e] {\n display: flex;\n align-items: center;\n width: 100%;\n padding: 0 14px 0 0 !important;\n}\n.action-radio__label[data-v-b5f9046e]:before {\n margin: 0 14px !important;\n}\n.action-radio--disabled[data-v-b5f9046e],\n.action-radio--disabled .action-radio__label[data-v-b5f9046e] {\n cursor: pointer;\n}\n'],sourceRoot:""}]);const s=o},95882:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-db4cc195] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n#app-settings[data-v-db4cc195] {\n margin-top: auto;\n padding: 3px;\n}\n#app-settings__header[data-v-db4cc195] {\n box-sizing: border-box;\n margin: 0 3px 3px;\n}\n#app-settings__header .settings-button[data-v-db4cc195] {\n display: flex;\n flex: 1 1 0;\n height: 44px;\n width: 100%;\n padding: 0 14px 0 0;\n margin: 0;\n background-color: var(--color-main-background);\n box-shadow: none;\n border: 0;\n border-radius: var(--border-radius-pill);\n text-align: left;\n font-weight: 400;\n font-size: 100%;\n color: var(--color-main-text);\n line-height: 44px;\n}\n#app-settings__header .settings-button[data-v-db4cc195]:hover,\n#app-settings__header .settings-button[data-v-db4cc195]:focus {\n background-color: var(--color-background-hover);\n}\n#app-settings__header .settings-button__icon[data-v-db4cc195] {\n width: 44px;\n height: 44px;\n min-width: 44px;\n}\n#app-settings__header .settings-button__label[data-v-db4cc195] {\n overflow: hidden;\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n#app-settings__content[data-v-db4cc195] {\n display: block;\n padding: 10px;\n margin-bottom: -3px;\n max-height: 300px;\n overflow-y: auto;\n box-sizing: border-box;\n}\n.slide-up-leave-active[data-v-db4cc195],\n.slide-up-enter-active[data-v-db4cc195] {\n transition-duration: var(--animation-slow);\n transition-property: max-height, padding;\n overflow-y: hidden !important;\n}\n.slide-up-enter[data-v-db4cc195],\n.slide-up-leave-to[data-v-db4cc195] {\n max-height: 0 !important;\n padding: 0 10px !important;\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-34dfc54e.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,gBAAgB;EAChB,YAAY;AACd;AACA;EACE,sBAAsB;EACtB,iBAAiB;AACnB;AACA;EACE,aAAa;EACb,WAAW;EACX,YAAY;EACZ,WAAW;EACX,mBAAmB;EACnB,SAAS;EACT,8CAA8C;EAC9C,gBAAgB;EAChB,SAAS;EACT,wCAAwC;EACxC,gBAAgB;EAChB,gBAAgB;EAChB,eAAe;EACf,6BAA6B;EAC7B,iBAAiB;AACnB;AACA;;EAEE,+CAA+C;AACjD;AACA;EACE,WAAW;EACX,YAAY;EACZ,eAAe;AACjB;AACA;EACE,gBAAgB;EAChB,eAAe;EACf,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,cAAc;EACd,aAAa;EACb,mBAAmB;EACnB,iBAAiB;EACjB,gBAAgB;EAChB,sBAAsB;AACxB;AACA;;EAEE,0CAA0C;EAC1C,wCAAwC;EACxC,6BAA6B;AAC/B;AACA;;EAEE,wBAAwB;EACxB,0BAA0B;AAC5B",sourcesContent:['@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-db4cc195] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n#app-settings[data-v-db4cc195] {\n margin-top: auto;\n padding: 3px;\n}\n#app-settings__header[data-v-db4cc195] {\n box-sizing: border-box;\n margin: 0 3px 3px;\n}\n#app-settings__header .settings-button[data-v-db4cc195] {\n display: flex;\n flex: 1 1 0;\n height: 44px;\n width: 100%;\n padding: 0 14px 0 0;\n margin: 0;\n background-color: var(--color-main-background);\n box-shadow: none;\n border: 0;\n border-radius: var(--border-radius-pill);\n text-align: left;\n font-weight: 400;\n font-size: 100%;\n color: var(--color-main-text);\n line-height: 44px;\n}\n#app-settings__header .settings-button[data-v-db4cc195]:hover,\n#app-settings__header .settings-button[data-v-db4cc195]:focus {\n background-color: var(--color-background-hover);\n}\n#app-settings__header .settings-button__icon[data-v-db4cc195] {\n width: 44px;\n height: 44px;\n min-width: 44px;\n}\n#app-settings__header .settings-button__label[data-v-db4cc195] {\n overflow: hidden;\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n#app-settings__content[data-v-db4cc195] {\n display: block;\n padding: 10px;\n margin-bottom: -3px;\n max-height: 300px;\n overflow-y: auto;\n box-sizing: border-box;\n}\n.slide-up-leave-active[data-v-db4cc195],\n.slide-up-enter-active[data-v-db4cc195] {\n transition-duration: var(--animation-slow);\n transition-property: max-height, padding;\n overflow-y: hidden !important;\n}\n.slide-up-enter[data-v-db4cc195],\n.slide-up-leave-to[data-v-db4cc195] {\n max-height: 0 !important;\n padding: 0 10px !important;\n}\n'],sourceRoot:""}]);const s=o},77036:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.nc-button-group-base > div {\n text-align: center;\n color: var(--color-text-maxcontrast);\n}\n.nc-button-group-base ul.nc-button-group-content {\n display: flex;\n justify-content: space-between;\n}\n.nc-button-group-base ul.nc-button-group-content li {\n flex: 1 1;\n}\n.nc-button-group-base ul.nc-button-group-content .action-button {\n padding: 0 !important;\n width: 100%;\n display: flex;\n justify-content: center;\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-5fa0ac5a.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,kBAAkB;EAClB,oCAAoC;AACtC;AACA;EACE,aAAa;EACb,8BAA8B;AAChC;AACA;EACE,SAAS;AACX;AACA;EACE,qBAAqB;EACrB,WAAW;EACX,aAAa;EACb,uBAAuB;AACzB",sourcesContent:['@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.nc-button-group-base > div {\n text-align: center;\n color: var(--color-text-maxcontrast);\n}\n.nc-button-group-base ul.nc-button-group-content {\n display: flex;\n justify-content: space-between;\n}\n.nc-button-group-base ul.nc-button-group-content li {\n flex: 1 1;\n}\n.nc-button-group-base ul.nc-button-group-content .action-button {\n padding: 0 !important;\n width: 100%;\n display: flex;\n justify-content: center;\n}\n'],sourceRoot:""}]);const s=o},44338:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-1efcbeee] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.dashboard-widget[data-v-1efcbeee] .empty-content {\n text-align: center;\n padding-top: 5vh;\n}\n.dashboard-widget[data-v-1efcbeee] .empty-content.half-screen {\n padding-top: 0;\n margin-bottom: 1vh;\n}\n.more[data-v-1efcbeee] {\n display: block;\n text-align: center;\n color: var(--color-text-maxcontrast);\n line-height: 60px;\n cursor: pointer;\n}\n.more[data-v-1efcbeee]:hover,\n.more[data-v-1efcbeee]:focus {\n background-color: var(--color-background-hover);\n border-radius: var(--border-radius-large);\n color: var(--color-main-text);\n}\n.item-list__entry[data-v-1efcbeee] {\n display: flex;\n align-items: flex-start;\n padding: 8px;\n}\n.item-list__entry .item-avatar[data-v-1efcbeee] {\n position: relative;\n margin-top: auto;\n margin-bottom: auto;\n background-color: var(--color-background-dark) !important;\n}\n.item-list__entry .item__details[data-v-1efcbeee] {\n padding-left: 8px;\n max-height: 44px;\n flex-grow: 1;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n}\n.item-list__entry .item__details h3[data-v-1efcbeee],\n.item-list__entry .item__details .message[data-v-1efcbeee] {\n white-space: nowrap;\n background-color: var(--color-background-dark);\n}\n.item-list__entry .item__details h3[data-v-1efcbeee] {\n font-size: 100%;\n margin: 0;\n}\n.item-list__entry .item__details .message[data-v-1efcbeee] {\n width: 80%;\n height: 15px;\n margin-top: 5px;\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-6416f636.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,kBAAkB;EAClB,gBAAgB;AAClB;AACA;EACE,cAAc;EACd,kBAAkB;AACpB;AACA;EACE,cAAc;EACd,kBAAkB;EAClB,oCAAoC;EACpC,iBAAiB;EACjB,eAAe;AACjB;AACA;;EAEE,+CAA+C;EAC/C,yCAAyC;EACzC,6BAA6B;AAC/B;AACA;EACE,aAAa;EACb,uBAAuB;EACvB,YAAY;AACd;AACA;EACE,kBAAkB;EAClB,gBAAgB;EAChB,mBAAmB;EACnB,yDAAyD;AAC3D;AACA;EACE,iBAAiB;EACjB,gBAAgB;EAChB,YAAY;EACZ,gBAAgB;EAChB,aAAa;EACb,sBAAsB;AACxB;AACA;;EAEE,mBAAmB;EACnB,8CAA8C;AAChD;AACA;EACE,eAAe;EACf,SAAS;AACX;AACA;EACE,UAAU;EACV,YAAY;EACZ,eAAe;AACjB",sourcesContent:['@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-1efcbeee] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.dashboard-widget[data-v-1efcbeee] .empty-content {\n text-align: center;\n padding-top: 5vh;\n}\n.dashboard-widget[data-v-1efcbeee] .empty-content.half-screen {\n padding-top: 0;\n margin-bottom: 1vh;\n}\n.more[data-v-1efcbeee] {\n display: block;\n text-align: center;\n color: var(--color-text-maxcontrast);\n line-height: 60px;\n cursor: pointer;\n}\n.more[data-v-1efcbeee]:hover,\n.more[data-v-1efcbeee]:focus {\n background-color: var(--color-background-hover);\n border-radius: var(--border-radius-large);\n color: var(--color-main-text);\n}\n.item-list__entry[data-v-1efcbeee] {\n display: flex;\n align-items: flex-start;\n padding: 8px;\n}\n.item-list__entry .item-avatar[data-v-1efcbeee] {\n position: relative;\n margin-top: auto;\n margin-bottom: auto;\n background-color: var(--color-background-dark) !important;\n}\n.item-list__entry .item__details[data-v-1efcbeee] {\n padding-left: 8px;\n max-height: 44px;\n flex-grow: 1;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n}\n.item-list__entry .item__details h3[data-v-1efcbeee],\n.item-list__entry .item__details .message[data-v-1efcbeee] {\n white-space: nowrap;\n background-color: var(--color-background-dark);\n}\n.item-list__entry .item__details h3[data-v-1efcbeee] {\n font-size: 100%;\n margin: 0;\n}\n.item-list__entry .item__details .message[data-v-1efcbeee] {\n width: 80%;\n height: 15px;\n margin-top: 5px;\n}\n'],sourceRoot:""}]);const s=o},67978:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-5b140fb6] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.input-wrapper[data-v-5b140fb6] {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n width: 100%;\n max-width: 400px;\n}\n.input-wrapper .action-input__label[data-v-5b140fb6] {\n margin-right: 12px;\n}\n.input-wrapper[data-v-5b140fb6]:disabled {\n cursor: default;\n}\n.input-wrapper .hint[data-v-5b140fb6] {\n color: var(--color-text-maxcontrast);\n margin-left: 8px;\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-6c47e88a.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,eAAe;EACf,WAAW;EACX,gBAAgB;AAClB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,eAAe;AACjB;AACA;EACE,oCAAoC;EACpC,gBAAgB;AAClB",sourcesContent:['@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-5b140fb6] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.input-wrapper[data-v-5b140fb6] {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n width: 100%;\n max-width: 400px;\n}\n.input-wrapper .action-input__label[data-v-5b140fb6] {\n margin-right: 12px;\n}\n.input-wrapper[data-v-5b140fb6]:disabled {\n cursor: default;\n}\n.input-wrapper .hint[data-v-5b140fb6] {\n color: var(--color-text-maxcontrast);\n margin-left: 8px;\n}\n'],sourceRoot:""}]);const s=o},80811:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n.material-design-icon[data-v-36ad47ca] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n#guest-content-vue[data-v-36ad47ca] {\n color: var(--color-main-text);\n background-color: var(--color-main-background);\n min-width: 0;\n border-radius: var(--border-radius-large);\n box-shadow: 0 0 10px var(--color-box-shadow);\n height: fit-content;\n padding: 15px;\n margin: 20px auto;\n}\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n#content.nc-guest-content {\n overflow: auto;\n margin-bottom: 0;\n height: calc(var(--body-height) + var(--body-container-margin));\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-8aa4712e.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,6BAA6B;EAC7B,8CAA8C;EAC9C,YAAY;EACZ,yCAAyC;EACzC,4CAA4C;EAC5C,mBAAmB;EACnB,aAAa;EACb,iBAAiB;AACnB;AACA;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,cAAc;EACd,gBAAgB;EAChB,+DAA+D;AACjE",sourcesContent:['@charset "UTF-8";\n.material-design-icon[data-v-36ad47ca] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n#guest-content-vue[data-v-36ad47ca] {\n color: var(--color-main-text);\n background-color: var(--color-main-background);\n min-width: 0;\n border-radius: var(--border-radius-large);\n box-shadow: 0 0 10px var(--color-box-shadow);\n height: fit-content;\n padding: 15px;\n margin: 20px auto;\n}\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n#content.nc-guest-content {\n overflow: auto;\n margin-bottom: 0;\n height: calc(var(--body-height) + var(--body-container-margin));\n}\n'],sourceRoot:""}]);const s=o},33797:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n.material-design-icon[data-v-b0b05af8] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nbutton[data-v-b0b05af8]:not(.button-vue),\ninput[data-v-b0b05af8]:not([type=range]),\ntextarea[data-v-b0b05af8] {\n margin: 0;\n padding: 7px 6px;\n cursor: text;\n color: var(--color-text-lighter);\n border: 1px solid var(--color-border-dark);\n border-radius: var(--border-radius);\n outline: none;\n background-color: var(--color-main-background);\n font-size: 13px;\n}\nbutton[data-v-b0b05af8]:not(.button-vue):not(:disabled):not(.primary):hover,\nbutton[data-v-b0b05af8]:not(.button-vue):not(:disabled):not(.primary):focus,\nbutton:not(.button-vue):not(:disabled):not(.primary).active[data-v-b0b05af8],\ninput[data-v-b0b05af8]:not([type=range]):not(:disabled):not(.primary):hover,\ninput[data-v-b0b05af8]:not([type=range]):not(:disabled):not(.primary):focus,\ninput:not([type=range]):not(:disabled):not(.primary).active[data-v-b0b05af8],\ntextarea[data-v-b0b05af8]:not(:disabled):not(.primary):hover,\ntextarea[data-v-b0b05af8]:not(:disabled):not(.primary):focus,\ntextarea:not(:disabled):not(.primary).active[data-v-b0b05af8] {\n border-color: var(--color-primary-element);\n outline: none;\n}\nbutton[data-v-b0b05af8]:not(.button-vue):not(:disabled):not(.primary):active,\ninput[data-v-b0b05af8]:not([type=range]):not(:disabled):not(.primary):active,\ntextarea[data-v-b0b05af8]:not(:disabled):not(.primary):active {\n color: var(--color-text-light);\n outline: none;\n background-color: var(--color-main-background);\n}\nbutton[data-v-b0b05af8]:not(.button-vue):disabled,\ninput[data-v-b0b05af8]:not([type=range]):disabled,\ntextarea[data-v-b0b05af8]:disabled {\n cursor: default;\n opacity: .5;\n color: var(--color-text-maxcontrast);\n background-color: var(--color-background-dark);\n}\nbutton[data-v-b0b05af8]:not(.button-vue):required,\ninput[data-v-b0b05af8]:not([type=range]):required,\ntextarea[data-v-b0b05af8]:required {\n box-shadow: none;\n}\nbutton[data-v-b0b05af8]:not(.button-vue):invalid,\ninput[data-v-b0b05af8]:not([type=range]):invalid,\ntextarea[data-v-b0b05af8]:invalid {\n border-color: var(--color-error);\n box-shadow: none !important;\n}\nbutton:not(.button-vue).primary[data-v-b0b05af8],\ninput:not([type=range]).primary[data-v-b0b05af8],\ntextarea.primary[data-v-b0b05af8] {\n cursor: pointer;\n color: var(--color-primary-element-text);\n border-color: var(--color-primary-element);\n background-color: var(--color-primary-element);\n}\nbutton:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):hover,\nbutton:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):focus,\nbutton:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):active,\ninput:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):hover,\ninput:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):focus,\ninput:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):active,\ntextarea.primary[data-v-b0b05af8]:not(:disabled):hover,\ntextarea.primary[data-v-b0b05af8]:not(:disabled):focus,\ntextarea.primary[data-v-b0b05af8]:not(:disabled):active {\n border-color: var(--color-primary-element-light);\n background-color: var(--color-primary-element-light);\n}\nbutton:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):active,\ninput:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):active,\ntextarea.primary[data-v-b0b05af8]:not(:disabled):active {\n color: var(--color-primary-element-text-dark);\n}\nbutton:not(.button-vue).primary[data-v-b0b05af8]:disabled,\ninput:not([type=range]).primary[data-v-b0b05af8]:disabled,\ntextarea.primary[data-v-b0b05af8]:disabled {\n cursor: default;\n color: var(--color-primary-element-text-dark);\n background-color: var(--color-primary-element);\n}\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Marco Ambrosini <marcoambrosini@icloud.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nli.active[data-v-b0b05af8] {\n background-color: var(--color-background-hover);\n border-radius: 6px;\n padding: 0;\n}\n.action--disabled[data-v-b0b05af8] {\n pointer-events: none;\n opacity: .5;\n}\n.action--disabled[data-v-b0b05af8]:hover,\n.action--disabled[data-v-b0b05af8]:focus {\n cursor: default;\n opacity: .5;\n}\n.action--disabled *[data-v-b0b05af8] {\n opacity: 1 !important;\n}\n.action-text-editable[data-v-b0b05af8] {\n display: flex;\n align-items: flex-start;\n width: 100%;\n height: auto;\n margin: 0;\n padding: 0;\n cursor: pointer;\n white-space: nowrap;\n color: var(--color-main-text);\n border: 0;\n border-radius: 0;\n background-color: transparent;\n box-shadow: none;\n font-weight: 400;\n line-height: 44px;\n}\n.action-text-editable > span[data-v-b0b05af8] {\n cursor: pointer;\n white-space: nowrap;\n}\n.action-text-editable__icon[data-v-b0b05af8] {\n min-width: 0;\n min-height: 0;\n padding: 22px 0 22px 44px;\n background-position: 14px center;\n background-size: 16px;\n}\n.action-text-editable[data-v-b0b05af8] .material-design-icon {\n width: 44px;\n height: 44px;\n opacity: 1;\n}\n.action-text-editable[data-v-b0b05af8] .material-design-icon .material-design-icon__svg {\n vertical-align: middle;\n}\n.action-text-editable__form[data-v-b0b05af8] {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n position: relative;\n margin: 4px 0;\n padding-right: 14px;\n}\n.action-text-editable__submit[data-v-b0b05af8] {\n position: absolute;\n left: -10000px;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n}\n.action-text-editable__label[data-v-b0b05af8] {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n right: 15px;\n bottom: 1px;\n width: 36px;\n height: 36px;\n box-sizing: border-box;\n margin: 0;\n padding: 7px 6px;\n border: 0;\n border-radius: 50%;\n background-color: var(--color-main-background);\n background-clip: padding-box;\n}\n.action-text-editable__label[data-v-b0b05af8],\n.action-text-editable__label *[data-v-b0b05af8] {\n cursor: pointer;\n}\n.action-text-editable__textarea[data-v-b0b05af8] {\n flex: 1 1 auto;\n color: inherit;\n border-color: var(--color-border-maxcontrast);\n min-height: 80px;\n max-height: 124px;\n min-width: 176px;\n width: 100% !important;\n margin: 0;\n}\n.action-text-editable__textarea[data-v-b0b05af8]:disabled {\n cursor: default;\n}\n.action-text-editable__textarea:not(:active):not(:hover):not(:focus):invalid + .action-text-editable__label[data-v-b0b05af8] {\n background-color: var(--color-error);\n}\n.action-text-editable__textarea:not(:active):not(:hover):not(:focus):not(:disabled) + .action-text-editable__label[data-v-b0b05af8]:active,\n.action-text-editable__textarea:not(:active):not(:hover):not(:focus):not(:disabled) + .action-text-editable__label[data-v-b0b05af8]:hover,\n.action-text-editable__textarea:not(:active):not(:hover):not(:focus):not(:disabled) + .action-text-editable__label[data-v-b0b05af8]:focus {\n background-color: var(--color-primary-element);\n color: var(--color-primary-element-text);\n}\n.action-text-editable__textarea:active:not(:disabled) + .action-text-editable__label[data-v-b0b05af8],\n.action-text-editable__textarea:hover:not(:disabled) + .action-text-editable__label[data-v-b0b05af8],\n.action-text-editable__textarea:focus:not(:disabled) + .action-text-editable__label[data-v-b0b05af8] {\n z-index: 2;\n border-color: var(--color-primary-element);\n border-left-color: transparent;\n}\nli:last-child > .action-text-editable[data-v-b0b05af8] {\n margin-bottom: 10px;\n}\nli:first-child > .action-text-editable[data-v-b0b05af8] {\n margin-top: 10px;\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-93ad846c.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;;;EAGE,SAAS;EACT,gBAAgB;EAChB,YAAY;EACZ,gCAAgC;EAChC,0CAA0C;EAC1C,mCAAmC;EACnC,aAAa;EACb,8CAA8C;EAC9C,eAAe;AACjB;AACA;;;;;;;;;EASE,0CAA0C;EAC1C,aAAa;AACf;AACA;;;EAGE,8BAA8B;EAC9B,aAAa;EACb,8CAA8C;AAChD;AACA;;;EAGE,eAAe;EACf,WAAW;EACX,oCAAoC;EACpC,8CAA8C;AAChD;AACA;;;EAGE,gBAAgB;AAClB;AACA;;;EAGE,gCAAgC;EAChC,2BAA2B;AAC7B;AACA;;;EAGE,eAAe;EACf,wCAAwC;EACxC,0CAA0C;EAC1C,8CAA8C;AAChD;AACA;;;;;;;;;EASE,gDAAgD;EAChD,oDAAoD;AACtD;AACA;;;EAGE,6CAA6C;AAC/C;AACA;;;EAGE,eAAe;EACf,6CAA6C;EAC7C,8CAA8C;AAChD;AACA;;;;;;;;;;;;;;;;;;;;;EAqBE;AACF;EACE,+CAA+C;EAC/C,kBAAkB;EAClB,UAAU;AACZ;AACA;EACE,oBAAoB;EACpB,WAAW;AACb;AACA;;EAEE,eAAe;EACf,WAAW;AACb;AACA;EACE,qBAAqB;AACvB;AACA;EACE,aAAa;EACb,uBAAuB;EACvB,WAAW;EACX,YAAY;EACZ,SAAS;EACT,UAAU;EACV,eAAe;EACf,mBAAmB;EACnB,6BAA6B;EAC7B,SAAS;EACT,gBAAgB;EAChB,6BAA6B;EAC7B,gBAAgB;EAChB,gBAAgB;EAChB,iBAAiB;AACnB;AACA;EACE,eAAe;EACf,mBAAmB;AACrB;AACA;EACE,YAAY;EACZ,aAAa;EACb,yBAAyB;EACzB,gCAAgC;EAChC,qBAAqB;AACvB;AACA;EACE,WAAW;EACX,YAAY;EACZ,UAAU;AACZ;AACA;EACE,sBAAsB;AACxB;AACA;EACE,aAAa;EACb,cAAc;EACd,sBAAsB;EACtB,kBAAkB;EAClB,aAAa;EACb,mBAAmB;AACrB;AACA;EACE,kBAAkB;EAClB,cAAc;EACd,SAAS;EACT,UAAU;EACV,WAAW;EACX,gBAAgB;AAClB;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,uBAAuB;EACvB,kBAAkB;EAClB,WAAW;EACX,WAAW;EACX,WAAW;EACX,YAAY;EACZ,sBAAsB;EACtB,SAAS;EACT,gBAAgB;EAChB,SAAS;EACT,kBAAkB;EAClB,8CAA8C;EAC9C,4BAA4B;AAC9B;AACA;;EAEE,eAAe;AACjB;AACA;EACE,cAAc;EACd,cAAc;EACd,6CAA6C;EAC7C,gBAAgB;EAChB,iBAAiB;EACjB,gBAAgB;EAChB,sBAAsB;EACtB,SAAS;AACX;AACA;EACE,eAAe;AACjB;AACA;EACE,oCAAoC;AACtC;AACA;;;EAGE,8CAA8C;EAC9C,wCAAwC;AAC1C;AACA;;;EAGE,UAAU;EACV,0CAA0C;EAC1C,8BAA8B;AAChC;AACA;EACE,mBAAmB;AACrB;AACA;EACE,gBAAgB;AAClB",sourcesContent:['@charset "UTF-8";\n.material-design-icon[data-v-b0b05af8] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nbutton[data-v-b0b05af8]:not(.button-vue),\ninput[data-v-b0b05af8]:not([type=range]),\ntextarea[data-v-b0b05af8] {\n margin: 0;\n padding: 7px 6px;\n cursor: text;\n color: var(--color-text-lighter);\n border: 1px solid var(--color-border-dark);\n border-radius: var(--border-radius);\n outline: none;\n background-color: var(--color-main-background);\n font-size: 13px;\n}\nbutton[data-v-b0b05af8]:not(.button-vue):not(:disabled):not(.primary):hover,\nbutton[data-v-b0b05af8]:not(.button-vue):not(:disabled):not(.primary):focus,\nbutton:not(.button-vue):not(:disabled):not(.primary).active[data-v-b0b05af8],\ninput[data-v-b0b05af8]:not([type=range]):not(:disabled):not(.primary):hover,\ninput[data-v-b0b05af8]:not([type=range]):not(:disabled):not(.primary):focus,\ninput:not([type=range]):not(:disabled):not(.primary).active[data-v-b0b05af8],\ntextarea[data-v-b0b05af8]:not(:disabled):not(.primary):hover,\ntextarea[data-v-b0b05af8]:not(:disabled):not(.primary):focus,\ntextarea:not(:disabled):not(.primary).active[data-v-b0b05af8] {\n border-color: var(--color-primary-element);\n outline: none;\n}\nbutton[data-v-b0b05af8]:not(.button-vue):not(:disabled):not(.primary):active,\ninput[data-v-b0b05af8]:not([type=range]):not(:disabled):not(.primary):active,\ntextarea[data-v-b0b05af8]:not(:disabled):not(.primary):active {\n color: var(--color-text-light);\n outline: none;\n background-color: var(--color-main-background);\n}\nbutton[data-v-b0b05af8]:not(.button-vue):disabled,\ninput[data-v-b0b05af8]:not([type=range]):disabled,\ntextarea[data-v-b0b05af8]:disabled {\n cursor: default;\n opacity: .5;\n color: var(--color-text-maxcontrast);\n background-color: var(--color-background-dark);\n}\nbutton[data-v-b0b05af8]:not(.button-vue):required,\ninput[data-v-b0b05af8]:not([type=range]):required,\ntextarea[data-v-b0b05af8]:required {\n box-shadow: none;\n}\nbutton[data-v-b0b05af8]:not(.button-vue):invalid,\ninput[data-v-b0b05af8]:not([type=range]):invalid,\ntextarea[data-v-b0b05af8]:invalid {\n border-color: var(--color-error);\n box-shadow: none !important;\n}\nbutton:not(.button-vue).primary[data-v-b0b05af8],\ninput:not([type=range]).primary[data-v-b0b05af8],\ntextarea.primary[data-v-b0b05af8] {\n cursor: pointer;\n color: var(--color-primary-element-text);\n border-color: var(--color-primary-element);\n background-color: var(--color-primary-element);\n}\nbutton:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):hover,\nbutton:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):focus,\nbutton:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):active,\ninput:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):hover,\ninput:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):focus,\ninput:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):active,\ntextarea.primary[data-v-b0b05af8]:not(:disabled):hover,\ntextarea.primary[data-v-b0b05af8]:not(:disabled):focus,\ntextarea.primary[data-v-b0b05af8]:not(:disabled):active {\n border-color: var(--color-primary-element-light);\n background-color: var(--color-primary-element-light);\n}\nbutton:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):active,\ninput:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):active,\ntextarea.primary[data-v-b0b05af8]:not(:disabled):active {\n color: var(--color-primary-element-text-dark);\n}\nbutton:not(.button-vue).primary[data-v-b0b05af8]:disabled,\ninput:not([type=range]).primary[data-v-b0b05af8]:disabled,\ntextarea.primary[data-v-b0b05af8]:disabled {\n cursor: default;\n color: var(--color-primary-element-text-dark);\n background-color: var(--color-primary-element);\n}\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Marco Ambrosini <marcoambrosini@icloud.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nli.active[data-v-b0b05af8] {\n background-color: var(--color-background-hover);\n border-radius: 6px;\n padding: 0;\n}\n.action--disabled[data-v-b0b05af8] {\n pointer-events: none;\n opacity: .5;\n}\n.action--disabled[data-v-b0b05af8]:hover,\n.action--disabled[data-v-b0b05af8]:focus {\n cursor: default;\n opacity: .5;\n}\n.action--disabled *[data-v-b0b05af8] {\n opacity: 1 !important;\n}\n.action-text-editable[data-v-b0b05af8] {\n display: flex;\n align-items: flex-start;\n width: 100%;\n height: auto;\n margin: 0;\n padding: 0;\n cursor: pointer;\n white-space: nowrap;\n color: var(--color-main-text);\n border: 0;\n border-radius: 0;\n background-color: transparent;\n box-shadow: none;\n font-weight: 400;\n line-height: 44px;\n}\n.action-text-editable > span[data-v-b0b05af8] {\n cursor: pointer;\n white-space: nowrap;\n}\n.action-text-editable__icon[data-v-b0b05af8] {\n min-width: 0;\n min-height: 0;\n padding: 22px 0 22px 44px;\n background-position: 14px center;\n background-size: 16px;\n}\n.action-text-editable[data-v-b0b05af8] .material-design-icon {\n width: 44px;\n height: 44px;\n opacity: 1;\n}\n.action-text-editable[data-v-b0b05af8] .material-design-icon .material-design-icon__svg {\n vertical-align: middle;\n}\n.action-text-editable__form[data-v-b0b05af8] {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n position: relative;\n margin: 4px 0;\n padding-right: 14px;\n}\n.action-text-editable__submit[data-v-b0b05af8] {\n position: absolute;\n left: -10000px;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n}\n.action-text-editable__label[data-v-b0b05af8] {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n right: 15px;\n bottom: 1px;\n width: 36px;\n height: 36px;\n box-sizing: border-box;\n margin: 0;\n padding: 7px 6px;\n border: 0;\n border-radius: 50%;\n background-color: var(--color-main-background);\n background-clip: padding-box;\n}\n.action-text-editable__label[data-v-b0b05af8],\n.action-text-editable__label *[data-v-b0b05af8] {\n cursor: pointer;\n}\n.action-text-editable__textarea[data-v-b0b05af8] {\n flex: 1 1 auto;\n color: inherit;\n border-color: var(--color-border-maxcontrast);\n min-height: 80px;\n max-height: 124px;\n min-width: 176px;\n width: 100% !important;\n margin: 0;\n}\n.action-text-editable__textarea[data-v-b0b05af8]:disabled {\n cursor: default;\n}\n.action-text-editable__textarea:not(:active):not(:hover):not(:focus):invalid + .action-text-editable__label[data-v-b0b05af8] {\n background-color: var(--color-error);\n}\n.action-text-editable__textarea:not(:active):not(:hover):not(:focus):not(:disabled) + .action-text-editable__label[data-v-b0b05af8]:active,\n.action-text-editable__textarea:not(:active):not(:hover):not(:focus):not(:disabled) + .action-text-editable__label[data-v-b0b05af8]:hover,\n.action-text-editable__textarea:not(:active):not(:hover):not(:focus):not(:disabled) + .action-text-editable__label[data-v-b0b05af8]:focus {\n background-color: var(--color-primary-element);\n color: var(--color-primary-element-text);\n}\n.action-text-editable__textarea:active:not(:disabled) + .action-text-editable__label[data-v-b0b05af8],\n.action-text-editable__textarea:hover:not(:disabled) + .action-text-editable__label[data-v-b0b05af8],\n.action-text-editable__textarea:focus:not(:disabled) + .action-text-editable__label[data-v-b0b05af8] {\n z-index: 2;\n border-color: var(--color-primary-element);\n border-left-color: transparent;\n}\nli:last-child > .action-text-editable[data-v-b0b05af8] {\n margin-bottom: 10px;\n}\nli:first-child > .action-text-editable[data-v-b0b05af8] {\n margin-top: 10px;\n}\n'],sourceRoot:""}]);const s=o},84338:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-8950be04] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.app-navigation-entry[data-v-8950be04] {\n position: relative;\n display: flex;\n flex-shrink: 0;\n flex-wrap: wrap;\n box-sizing: border-box;\n width: 100%;\n min-height: 44px;\n transition: background-color var(--animation-quick) ease-in-out;\n transition: background-color .2s ease-in-out;\n border-radius: var(--border-radius-pill);\n}\n.app-navigation-entry-wrapper[data-v-8950be04] {\n position: relative;\n display: flex;\n flex-shrink: 0;\n flex-wrap: wrap;\n box-sizing: border-box;\n width: 100%;\n}\n.app-navigation-entry-wrapper.app-navigation-entry--collapsible:not(.app-navigation-entry--opened) > ul[data-v-8950be04] {\n display: none;\n}\n.app-navigation-entry.active[data-v-8950be04] {\n background-color: var(--color-primary-element) !important;\n}\n.app-navigation-entry.active .app-navigation-entry-link[data-v-8950be04],\n.app-navigation-entry.active .app-navigation-entry-button[data-v-8950be04] {\n color: var(--color-primary-element-text) !important;\n}\n.app-navigation-entry[data-v-8950be04]:focus-within,\n.app-navigation-entry[data-v-8950be04]:hover {\n background-color: var(--color-background-hover);\n}\n.app-navigation-entry.active .app-navigation-entry__children[data-v-8950be04],\n.app-navigation-entry:focus-within .app-navigation-entry__children[data-v-8950be04],\n.app-navigation-entry:hover .app-navigation-entry__children[data-v-8950be04] {\n background-color: var(--color-main-background);\n}\n.app-navigation-entry.active .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],\n.app-navigation-entry.app-navigation-entry--deleted .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],\n.app-navigation-entry:focus .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],\n.app-navigation-entry:focus-within .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],\n.app-navigation-entry:hover .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04] {\n display: inline-block;\n}\n.app-navigation-entry.app-navigation-entry--deleted > ul[data-v-8950be04] {\n display: none;\n}\n.app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-link[data-v-8950be04],\n.app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-button[data-v-8950be04] {\n padding-right: 14px;\n}\n.app-navigation-entry .app-navigation-entry-link[data-v-8950be04],\n.app-navigation-entry .app-navigation-entry-button[data-v-8950be04] {\n z-index: 100;\n display: flex;\n overflow: hidden;\n flex: 1 1 0;\n box-sizing: border-box;\n min-height: 44px;\n padding: 0;\n white-space: nowrap;\n color: var(--color-main-text);\n background-repeat: no-repeat;\n background-position: 14px center;\n background-size: 16px 16px;\n line-height: 44px;\n}\n.app-navigation-entry .app-navigation-entry-link .app-navigation-entry-icon[data-v-8950be04],\n.app-navigation-entry .app-navigation-entry-button .app-navigation-entry-icon[data-v-8950be04] {\n display: flex;\n align-items: center;\n flex: 0 0 44px;\n justify-content: center;\n width: 44px;\n height: 44px;\n background-size: 16px 16px;\n background-repeat: no-repeat;\n background-position: 14px center;\n}\n.app-navigation-entry .app-navigation-entry-link .app-navigation-entry__name[data-v-8950be04],\n.app-navigation-entry .app-navigation-entry-button .app-navigation-entry__name[data-v-8950be04] {\n overflow: hidden;\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.app-navigation-entry .app-navigation-entry-link .editingContainer[data-v-8950be04],\n.app-navigation-entry .app-navigation-entry-button .editingContainer[data-v-8950be04] {\n width: calc(100% - 44px);\n margin: auto;\n}\n.app-navigation-entry__children[data-v-8950be04] {\n position: relative;\n display: flex;\n flex: 0 1 auto;\n flex-direction: column;\n width: 100%;\n gap: var(--default-grid-baseline, 4px);\n}\n.app-navigation-entry__children .app-navigation-entry[data-v-8950be04] {\n display: inline-flex;\n flex-wrap: wrap;\n padding-left: 16px;\n}\n.app-navigation-entry__deleted[data-v-8950be04] {\n display: inline-flex;\n flex: 1 1 0;\n padding-left: 30px !important;\n}\n.app-navigation-entry__deleted .app-navigation-entry__deleted-description[data-v-8950be04] {\n position: relative;\n overflow: hidden;\n flex: 1 1 0;\n white-space: nowrap;\n text-overflow: ellipsis;\n line-height: 44px;\n}\n.app-navigation-entry__utils[data-v-8950be04] {\n display: flex;\n min-width: 44px;\n align-items: center;\n flex: 0 1 auto;\n justify-content: flex-end;\n}\n.app-navigation-entry__utils.app-navigation-entry__utils--display-actions .action-item.app-navigation-entry__actions[data-v-8950be04] {\n display: inline-block;\n}\n.app-navigation-entry__utils .app-navigation-entry__counter-wrapper[data-v-8950be04] {\n margin-right: calc(var(--default-grid-baseline) * 3);\n display: flex;\n align-items: center;\n flex: 0 1 auto;\n}\n.app-navigation-entry__utils .action-item.app-navigation-entry__actions[data-v-8950be04] {\n display: none;\n}\n.app-navigation-entry--editing .app-navigation-entry-edit[data-v-8950be04] {\n z-index: 250;\n opacity: 1;\n}\n.app-navigation-entry--deleted .app-navigation-entry-deleted[data-v-8950be04] {\n z-index: 250;\n transform: translate(0);\n}\n.app-navigation-entry--pinned[data-v-8950be04] {\n order: 2;\n margin-top: auto;\n}\n.app-navigation-entry--pinned ~ .app-navigation-entry--pinned[data-v-8950be04] {\n margin-top: 0;\n}\n[data-themes*=highcontrast] .app-navigation-entry[data-v-8950be04]:active {\n background-color: var(--color-primary-element-light-hover) !important;\n}\n.app-navigation-new-item__name[data-v-8950be04] {\n overflow: hidden;\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n padding-left: 7px;\n font-size: 14px;\n}\n.newItemContainer[data-v-8950be04] {\n width: calc(100% - 44px);\n margin: auto;\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-93bc89ef.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,kBAAkB;EAClB,aAAa;EACb,cAAc;EACd,eAAe;EACf,sBAAsB;EACtB,WAAW;EACX,gBAAgB;EAChB,+DAA+D;EAC/D,4CAA4C;EAC5C,wCAAwC;AAC1C;AACA;EACE,kBAAkB;EAClB,aAAa;EACb,cAAc;EACd,eAAe;EACf,sBAAsB;EACtB,WAAW;AACb;AACA;EACE,aAAa;AACf;AACA;EACE,yDAAyD;AAC3D;AACA;;EAEE,mDAAmD;AACrD;AACA;;EAEE,+CAA+C;AACjD;AACA;;;EAGE,8CAA8C;AAChD;AACA;;;;;EAKE,qBAAqB;AACvB;AACA;EACE,aAAa;AACf;AACA;;EAEE,mBAAmB;AACrB;AACA;;EAEE,YAAY;EACZ,aAAa;EACb,gBAAgB;EAChB,WAAW;EACX,sBAAsB;EACtB,gBAAgB;EAChB,UAAU;EACV,mBAAmB;EACnB,6BAA6B;EAC7B,4BAA4B;EAC5B,gCAAgC;EAChC,0BAA0B;EAC1B,iBAAiB;AACnB;AACA;;EAEE,aAAa;EACb,mBAAmB;EACnB,cAAc;EACd,uBAAuB;EACvB,WAAW;EACX,YAAY;EACZ,0BAA0B;EAC1B,4BAA4B;EAC5B,gCAAgC;AAClC;AACA;;EAEE,gBAAgB;EAChB,eAAe;EACf,mBAAmB;EACnB,uBAAuB;AACzB;AACA;;EAEE,wBAAwB;EACxB,YAAY;AACd;AACA;EACE,kBAAkB;EAClB,aAAa;EACb,cAAc;EACd,sBAAsB;EACtB,WAAW;EACX,sCAAsC;AACxC;AACA;EACE,oBAAoB;EACpB,eAAe;EACf,kBAAkB;AACpB;AACA;EACE,oBAAoB;EACpB,WAAW;EACX,6BAA6B;AAC/B;AACA;EACE,kBAAkB;EAClB,gBAAgB;EAChB,WAAW;EACX,mBAAmB;EACnB,uBAAuB;EACvB,iBAAiB;AACnB;AACA;EACE,aAAa;EACb,eAAe;EACf,mBAAmB;EACnB,cAAc;EACd,yBAAyB;AAC3B;AACA;EACE,qBAAqB;AACvB;AACA;EACE,oDAAoD;EACpD,aAAa;EACb,mBAAmB;EACnB,cAAc;AAChB;AACA;EACE,aAAa;AACf;AACA;EACE,YAAY;EACZ,UAAU;AACZ;AACA;EACE,YAAY;EACZ,uBAAuB;AACzB;AACA;EACE,QAAQ;EACR,gBAAgB;AAClB;AACA;EACE,aAAa;AACf;AACA;EACE,qEAAqE;AACvE;AACA;EACE,gBAAgB;EAChB,eAAe;EACf,mBAAmB;EACnB,uBAAuB;EACvB,iBAAiB;EACjB,eAAe;AACjB;AACA;EACE,wBAAwB;EACxB,YAAY;AACd",sourcesContent:['@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-8950be04] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.app-navigation-entry[data-v-8950be04] {\n position: relative;\n display: flex;\n flex-shrink: 0;\n flex-wrap: wrap;\n box-sizing: border-box;\n width: 100%;\n min-height: 44px;\n transition: background-color var(--animation-quick) ease-in-out;\n transition: background-color .2s ease-in-out;\n border-radius: var(--border-radius-pill);\n}\n.app-navigation-entry-wrapper[data-v-8950be04] {\n position: relative;\n display: flex;\n flex-shrink: 0;\n flex-wrap: wrap;\n box-sizing: border-box;\n width: 100%;\n}\n.app-navigation-entry-wrapper.app-navigation-entry--collapsible:not(.app-navigation-entry--opened) > ul[data-v-8950be04] {\n display: none;\n}\n.app-navigation-entry.active[data-v-8950be04] {\n background-color: var(--color-primary-element) !important;\n}\n.app-navigation-entry.active .app-navigation-entry-link[data-v-8950be04],\n.app-navigation-entry.active .app-navigation-entry-button[data-v-8950be04] {\n color: var(--color-primary-element-text) !important;\n}\n.app-navigation-entry[data-v-8950be04]:focus-within,\n.app-navigation-entry[data-v-8950be04]:hover {\n background-color: var(--color-background-hover);\n}\n.app-navigation-entry.active .app-navigation-entry__children[data-v-8950be04],\n.app-navigation-entry:focus-within .app-navigation-entry__children[data-v-8950be04],\n.app-navigation-entry:hover .app-navigation-entry__children[data-v-8950be04] {\n background-color: var(--color-main-background);\n}\n.app-navigation-entry.active .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],\n.app-navigation-entry.app-navigation-entry--deleted .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],\n.app-navigation-entry:focus .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],\n.app-navigation-entry:focus-within .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],\n.app-navigation-entry:hover .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04] {\n display: inline-block;\n}\n.app-navigation-entry.app-navigation-entry--deleted > ul[data-v-8950be04] {\n display: none;\n}\n.app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-link[data-v-8950be04],\n.app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-button[data-v-8950be04] {\n padding-right: 14px;\n}\n.app-navigation-entry .app-navigation-entry-link[data-v-8950be04],\n.app-navigation-entry .app-navigation-entry-button[data-v-8950be04] {\n z-index: 100;\n display: flex;\n overflow: hidden;\n flex: 1 1 0;\n box-sizing: border-box;\n min-height: 44px;\n padding: 0;\n white-space: nowrap;\n color: var(--color-main-text);\n background-repeat: no-repeat;\n background-position: 14px center;\n background-size: 16px 16px;\n line-height: 44px;\n}\n.app-navigation-entry .app-navigation-entry-link .app-navigation-entry-icon[data-v-8950be04],\n.app-navigation-entry .app-navigation-entry-button .app-navigation-entry-icon[data-v-8950be04] {\n display: flex;\n align-items: center;\n flex: 0 0 44px;\n justify-content: center;\n width: 44px;\n height: 44px;\n background-size: 16px 16px;\n background-repeat: no-repeat;\n background-position: 14px center;\n}\n.app-navigation-entry .app-navigation-entry-link .app-navigation-entry__name[data-v-8950be04],\n.app-navigation-entry .app-navigation-entry-button .app-navigation-entry__name[data-v-8950be04] {\n overflow: hidden;\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.app-navigation-entry .app-navigation-entry-link .editingContainer[data-v-8950be04],\n.app-navigation-entry .app-navigation-entry-button .editingContainer[data-v-8950be04] {\n width: calc(100% - 44px);\n margin: auto;\n}\n.app-navigation-entry__children[data-v-8950be04] {\n position: relative;\n display: flex;\n flex: 0 1 auto;\n flex-direction: column;\n width: 100%;\n gap: var(--default-grid-baseline, 4px);\n}\n.app-navigation-entry__children .app-navigation-entry[data-v-8950be04] {\n display: inline-flex;\n flex-wrap: wrap;\n padding-left: 16px;\n}\n.app-navigation-entry__deleted[data-v-8950be04] {\n display: inline-flex;\n flex: 1 1 0;\n padding-left: 30px !important;\n}\n.app-navigation-entry__deleted .app-navigation-entry__deleted-description[data-v-8950be04] {\n position: relative;\n overflow: hidden;\n flex: 1 1 0;\n white-space: nowrap;\n text-overflow: ellipsis;\n line-height: 44px;\n}\n.app-navigation-entry__utils[data-v-8950be04] {\n display: flex;\n min-width: 44px;\n align-items: center;\n flex: 0 1 auto;\n justify-content: flex-end;\n}\n.app-navigation-entry__utils.app-navigation-entry__utils--display-actions .action-item.app-navigation-entry__actions[data-v-8950be04] {\n display: inline-block;\n}\n.app-navigation-entry__utils .app-navigation-entry__counter-wrapper[data-v-8950be04] {\n margin-right: calc(var(--default-grid-baseline) * 3);\n display: flex;\n align-items: center;\n flex: 0 1 auto;\n}\n.app-navigation-entry__utils .action-item.app-navigation-entry__actions[data-v-8950be04] {\n display: none;\n}\n.app-navigation-entry--editing .app-navigation-entry-edit[data-v-8950be04] {\n z-index: 250;\n opacity: 1;\n}\n.app-navigation-entry--deleted .app-navigation-entry-deleted[data-v-8950be04] {\n z-index: 250;\n transform: translate(0);\n}\n.app-navigation-entry--pinned[data-v-8950be04] {\n order: 2;\n margin-top: auto;\n}\n.app-navigation-entry--pinned ~ .app-navigation-entry--pinned[data-v-8950be04] {\n margin-top: 0;\n}\n[data-themes*=highcontrast] .app-navigation-entry[data-v-8950be04]:active {\n background-color: var(--color-primary-element-light-hover) !important;\n}\n.app-navigation-new-item__name[data-v-8950be04] {\n overflow: hidden;\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n padding-left: 7px;\n font-size: 14px;\n}\n.newItemContainer[data-v-8950be04] {\n width: calc(100% - 44px);\n margin: auto;\n}\n'],sourceRoot:""}]);const s=o},6677:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n.material-design-icon[data-v-1a960bef] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.resource[data-v-1a960bef] {\n display: flex;\n align-items: center;\n height: 44px;\n}\n.resource__button[data-v-1a960bef] {\n width: 100% !important;\n justify-content: flex-start !important;\n padding: 0 !important;\n}\n.resource__button[data-v-1a960bef] .button-vue__wrapper {\n justify-content: flex-start !important;\n}\n.resource__button[data-v-1a960bef] .button-vue__wrapper .button-vue__text {\n font-weight: 400 !important;\n margin-left: 2px !important;\n}\n.resource__icon[data-v-1a960bef] {\n width: 32px;\n height: 32px;\n background-color: var(--color-text-maxcontrast);\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.resource__icon img[data-v-1a960bef] {\n width: 16px;\n height: 16px;\n filter: var(--background-invert-if-dark);\n}\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-19300848] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.related-resources__header[data-v-19300848] {\n margin: 0 0 10px 46px;\n}\n.related-resources__header h5[data-v-19300848] {\n font-weight: 700;\n}\n.related-resources__header p[data-v-19300848] {\n color: var(--color-text-maxcontrast);\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-ab715d82.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,YAAY;AACd;AACA;EACE,sBAAsB;EACtB,sCAAsC;EACtC,qBAAqB;AACvB;AACA;EACE,sCAAsC;AACxC;AACA;EACE,2BAA2B;EAC3B,2BAA2B;AAC7B;AACA;EACE,WAAW;EACX,YAAY;EACZ,+CAA+C;EAC/C,kBAAkB;EAClB,aAAa;EACb,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,WAAW;EACX,YAAY;EACZ,wCAAwC;AAC1C;AACA;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,qBAAqB;AACvB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,oCAAoC;AACtC",sourcesContent:['@charset "UTF-8";\n.material-design-icon[data-v-1a960bef] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.resource[data-v-1a960bef] {\n display: flex;\n align-items: center;\n height: 44px;\n}\n.resource__button[data-v-1a960bef] {\n width: 100% !important;\n justify-content: flex-start !important;\n padding: 0 !important;\n}\n.resource__button[data-v-1a960bef] .button-vue__wrapper {\n justify-content: flex-start !important;\n}\n.resource__button[data-v-1a960bef] .button-vue__wrapper .button-vue__text {\n font-weight: 400 !important;\n margin-left: 2px !important;\n}\n.resource__icon[data-v-1a960bef] {\n width: 32px;\n height: 32px;\n background-color: var(--color-text-maxcontrast);\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.resource__icon img[data-v-1a960bef] {\n width: 16px;\n height: 16px;\n filter: var(--background-invert-if-dark);\n}\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-19300848] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.related-resources__header[data-v-19300848] {\n margin: 0 0 10px 46px;\n}\n.related-resources__header h5[data-v-19300848] {\n font-weight: 700;\n}\n.related-resources__header p[data-v-19300848] {\n color: var(--color-text-maxcontrast);\n}\n'],sourceRoot:""}]);const s=o},32059:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-55ab76f1] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.user-bubble__wrapper[data-v-55ab76f1] {\n display: inline-block;\n vertical-align: middle;\n min-width: 0;\n max-width: 100%;\n}\n.user-bubble__content[data-v-55ab76f1] {\n display: inline-flex;\n max-width: 100%;\n background-color: var(--color-background-dark);\n}\n.user-bubble__content--primary[data-v-55ab76f1] {\n color: var(--color-primary-element-text);\n background-color: var(--color-primary-element);\n}\n.user-bubble__content[data-v-55ab76f1] > :last-child {\n padding-right: 8px;\n}\n.user-bubble__avatar[data-v-55ab76f1] {\n align-self: center;\n}\n.user-bubble__name[data-v-55ab76f1] {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.user-bubble__name[data-v-55ab76f1],\n.user-bubble__secondary[data-v-55ab76f1] {\n padding: 0 0 0 4px;\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-c221fe05.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,qBAAqB;EACrB,sBAAsB;EACtB,YAAY;EACZ,eAAe;AACjB;AACA;EACE,oBAAoB;EACpB,eAAe;EACf,8CAA8C;AAChD;AACA;EACE,wCAAwC;EACxC,8CAA8C;AAChD;AACA;EACE,kBAAkB;AACpB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,gBAAgB;EAChB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;;EAEE,kBAAkB;AACpB",sourcesContent:['@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-55ab76f1] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.user-bubble__wrapper[data-v-55ab76f1] {\n display: inline-block;\n vertical-align: middle;\n min-width: 0;\n max-width: 100%;\n}\n.user-bubble__content[data-v-55ab76f1] {\n display: inline-flex;\n max-width: 100%;\n background-color: var(--color-background-dark);\n}\n.user-bubble__content--primary[data-v-55ab76f1] {\n color: var(--color-primary-element-text);\n background-color: var(--color-primary-element);\n}\n.user-bubble__content[data-v-55ab76f1] > :last-child {\n padding-right: 8px;\n}\n.user-bubble__avatar[data-v-55ab76f1] {\n align-self: center;\n}\n.user-bubble__name[data-v-55ab76f1] {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.user-bubble__name[data-v-55ab76f1],\n.user-bubble__secondary[data-v-55ab76f1] {\n padding: 0 0 0 4px;\n}\n'],sourceRoot:""}]);const s=o},24478:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-00e861ef] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.item-list__entry[data-v-00e861ef] {\n display: flex;\n align-items: flex-start;\n position: relative;\n padding: 8px;\n}\n.item-list__entry[data-v-00e861ef]:hover,\n.item-list__entry[data-v-00e861ef]:focus {\n background-color: var(--color-background-hover);\n border-radius: var(--border-radius-large);\n}\n.item-list__entry .item-avatar[data-v-00e861ef] {\n position: relative;\n margin-top: auto;\n margin-bottom: auto;\n}\n.item-list__entry .item__details[data-v-00e861ef] {\n padding-left: 8px;\n max-height: 44px;\n flex-grow: 1;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n}\n.item-list__entry .item__details h3[data-v-00e861ef],\n.item-list__entry .item__details .message[data-v-00e861ef] {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.item-list__entry .item__details .message span[data-v-00e861ef] {\n width: 10px;\n display: inline-block;\n margin-bottom: -3px;\n}\n.item-list__entry .item__details h3[data-v-00e861ef] {\n font-size: 100%;\n margin: 0;\n}\n.item-list__entry .item__details .message[data-v-00e861ef] {\n width: 100%;\n color: var(--color-text-maxcontrast);\n}\n.item-list__entry .item-icon[data-v-00e861ef] {\n position: relative;\n width: 14px;\n height: 14px;\n margin: 27px -3px 0 -7px;\n}\n.item-list__entry button.primary[data-v-00e861ef] {\n padding: 21px;\n margin: 0;\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-e7eadba7.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,aAAa;EACb,uBAAuB;EACvB,kBAAkB;EAClB,YAAY;AACd;AACA;;EAEE,+CAA+C;EAC/C,yCAAyC;AAC3C;AACA;EACE,kBAAkB;EAClB,gBAAgB;EAChB,mBAAmB;AACrB;AACA;EACE,iBAAiB;EACjB,gBAAgB;EAChB,YAAY;EACZ,gBAAgB;EAChB,aAAa;EACb,sBAAsB;AACxB;AACA;;EAEE,mBAAmB;EACnB,gBAAgB;EAChB,uBAAuB;AACzB;AACA;EACE,WAAW;EACX,qBAAqB;EACrB,mBAAmB;AACrB;AACA;EACE,eAAe;EACf,SAAS;AACX;AACA;EACE,WAAW;EACX,oCAAoC;AACtC;AACA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;EACZ,wBAAwB;AAC1B;AACA;EACE,aAAa;EACb,SAAS;AACX",sourcesContent:['@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-00e861ef] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.item-list__entry[data-v-00e861ef] {\n display: flex;\n align-items: flex-start;\n position: relative;\n padding: 8px;\n}\n.item-list__entry[data-v-00e861ef]:hover,\n.item-list__entry[data-v-00e861ef]:focus {\n background-color: var(--color-background-hover);\n border-radius: var(--border-radius-large);\n}\n.item-list__entry .item-avatar[data-v-00e861ef] {\n position: relative;\n margin-top: auto;\n margin-bottom: auto;\n}\n.item-list__entry .item__details[data-v-00e861ef] {\n padding-left: 8px;\n max-height: 44px;\n flex-grow: 1;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n}\n.item-list__entry .item__details h3[data-v-00e861ef],\n.item-list__entry .item__details .message[data-v-00e861ef] {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.item-list__entry .item__details .message span[data-v-00e861ef] {\n width: 10px;\n display: inline-block;\n margin-bottom: -3px;\n}\n.item-list__entry .item__details h3[data-v-00e861ef] {\n font-size: 100%;\n margin: 0;\n}\n.item-list__entry .item__details .message[data-v-00e861ef] {\n width: 100%;\n color: var(--color-text-maxcontrast);\n}\n.item-list__entry .item-icon[data-v-00e861ef] {\n position: relative;\n width: 14px;\n height: 14px;\n margin: 27px -3px 0 -7px;\n}\n.item-list__entry button.primary[data-v-00e861ef] {\n padding: 21px;\n margin: 0;\n}\n'],sourceRoot:""}]);const s=o},51345:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-91580127] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.app-navigation-entry__icon-bullet[data-v-91580127] {\n display: block;\n padding: 15px;\n}\n.app-navigation-entry__icon-bullet div[data-v-91580127] {\n width: 14px;\n height: 14px;\n cursor: pointer;\n transition: background .1s ease-in-out;\n border: none;\n border-radius: 50%;\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-fc61f2d8.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,cAAc;EACd,aAAa;AACf;AACA;EACE,WAAW;EACX,YAAY;EACZ,eAAe;EACf,sCAAsC;EACtC,YAAY;EACZ,kBAAkB;AACpB",sourcesContent:['@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-91580127] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.app-navigation-entry__icon-bullet[data-v-91580127] {\n display: block;\n padding: 15px;\n}\n.app-navigation-entry__icon-bullet div[data-v-91580127] {\n width: 14px;\n height: 14px;\n cursor: pointer;\n transition: background .1s ease-in-out;\n border: none;\n border-radius: 50%;\n}\n'],sourceRoot:""}]);const s=o},63500:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,"#app-dashboard[data-v-9fd44988]{width:100%;min-height:100%;background-size:cover;background-position:center center;background-repeat:no-repeat;background-attachment:fixed}#app-dashboard>h2[data-v-9fd44988]{color:var(--color-primary-element-text);text-align:center;font-size:32px;line-height:130%;padding:1rem 0}.panels[data-v-9fd44988]{width:auto;margin:auto;max-width:1800px;display:flex;justify-content:center;flex-direction:row;align-items:flex-start;flex-wrap:wrap}.panel[data-v-9fd44988],.panels>div[data-v-9fd44988]{width:320px;max-width:100%;margin:16px;align-self:stretch;background-color:var(--color-main-background-blur);-webkit-backdrop-filter:var(--filter-background-blur);backdrop-filter:var(--filter-background-blur);border-radius:var(--border-radius-rounded)}#body-user.theme--highcontrast .panel[data-v-9fd44988],#body-user.theme--highcontrast .panels>div[data-v-9fd44988]{border:2px solid var(--color-border)}.panel.sortable-ghost[data-v-9fd44988],.panels>div.sortable-ghost[data-v-9fd44988]{opacity:.1}.panel>.panel--header[data-v-9fd44988],.panels>div>.panel--header[data-v-9fd44988]{display:flex;z-index:1;top:50px;padding:16px;cursor:grab}.panel>.panel--header[data-v-9fd44988],.panel>.panel--header[data-v-9fd44988] *,.panels>div>.panel--header[data-v-9fd44988],.panels>div>.panel--header[data-v-9fd44988] *{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.panel>.panel--header[data-v-9fd44988]:active,.panels>div>.panel--header[data-v-9fd44988]:active{cursor:grabbing}.panel>.panel--header a[data-v-9fd44988],.panels>div>.panel--header a[data-v-9fd44988]{flex-grow:1}.panel>.panel--header>h2[data-v-9fd44988],.panels>div>.panel--header>h2[data-v-9fd44988]{display:block;align-items:center;flex-grow:1;margin:0;font-size:20px;line-height:24px;font-weight:bold;padding:16px 8px;height:56px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:grab}.panel>.panel--header>h2 span[data-v-9fd44988],.panels>div>.panel--header>h2 span[data-v-9fd44988]{background-size:32px;width:32px;height:32px;margin-right:16px;background-position:center;float:left;margin-top:-6px}.panel>.panel--content[data-v-9fd44988],.panels>div>.panel--content[data-v-9fd44988]{margin:0 16px 16px 16px;height:424px;overflow:visible}@media only screen and (max-width: 709px){.panel>.panel--content[data-v-9fd44988],.panels>div>.panel--content[data-v-9fd44988]{height:auto}}.footer[data-v-9fd44988]{display:flex;justify-content:center;transition:bottom var(--animation-slow) ease-in-out;padding:1rem 0}.edit-panels[data-v-9fd44988]{display:inline-block;margin:auto;background-position:16px center;padding:12px 16px;padding-left:36px;border-radius:var(--border-radius-pill);max-width:200px;opacity:1;text-align:center}.button[data-v-9fd44988],.button-vue[data-v-9fd44988],.edit-panels[data-v-9fd44988],.statuses[data-v-9fd44988] .action-item .action-item__menutoggle,.statuses[data-v-9fd44988] .action-item.action-item--open .action-item__menutoggle{background-color:var(--color-main-background-blur);-webkit-backdrop-filter:var(--filter-background-blur);backdrop-filter:var(--filter-background-blur);opacity:1 !important}.button[data-v-9fd44988]:hover,.button[data-v-9fd44988]:focus,.button[data-v-9fd44988]:active,.button-vue[data-v-9fd44988]:hover,.button-vue[data-v-9fd44988]:focus,.button-vue[data-v-9fd44988]:active,.edit-panels[data-v-9fd44988]:hover,.edit-panels[data-v-9fd44988]:focus,.edit-panels[data-v-9fd44988]:active,.statuses[data-v-9fd44988] .action-item .action-item__menutoggle:hover,.statuses[data-v-9fd44988] .action-item .action-item__menutoggle:focus,.statuses[data-v-9fd44988] .action-item .action-item__menutoggle:active,.statuses[data-v-9fd44988] .action-item.action-item--open .action-item__menutoggle:hover,.statuses[data-v-9fd44988] .action-item.action-item--open .action-item__menutoggle:focus,.statuses[data-v-9fd44988] .action-item.action-item--open .action-item__menutoggle:active{background-color:var(--color-background-hover) !important}.button[data-v-9fd44988]:focus-visible,.button-vue[data-v-9fd44988]:focus-visible,.edit-panels[data-v-9fd44988]:focus-visible,.statuses[data-v-9fd44988] .action-item .action-item__menutoggle:focus-visible,.statuses[data-v-9fd44988] .action-item.action-item--open .action-item__menutoggle:focus-visible{box-shadow:0 0 0 4px var(--color-main-background) !important;outline:2px solid var(--color-main-text) !important}.modal__content[data-v-9fd44988]{padding:32px 16px;text-align:center}.modal__content ol[data-v-9fd44988]{display:flex;flex-direction:row;justify-content:center;list-style-type:none;padding-bottom:16px}.modal__content li label[data-v-9fd44988]{position:relative;display:block;padding:48px 16px 14px 16px;margin:8px;width:140px;background-color:var(--color-background-hover);border:2px solid var(--color-main-background);border-radius:var(--border-radius-large);text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.modal__content li label span[data-v-9fd44988]{position:absolute;top:16px;width:24px;height:24px;background-size:24px}.modal__content li label[data-v-9fd44988]:hover{border-color:var(--color-primary-element)}.modal__content li:not(.panel-status) label span[data-v-9fd44988]{filter:var(--background-invert-if-dark)}.modal__content li input[type=checkbox].checkbox+label[data-v-9fd44988]:before{position:absolute;right:12px;top:16px}.modal__content li input:focus+label[data-v-9fd44988]{border-color:var(--color-primary-element)}.modal__content h3[data-v-9fd44988]{font-weight:bold}.modal__content h3[data-v-9fd44988]:not(:first-of-type){margin-top:64px}.modal__content .button[data-v-9fd44988]{display:inline-block;padding:10px 16px;margin:0}.modal__content p[data-v-9fd44988]{max-width:650px;margin:0 auto}.modal__content p a[data-v-9fd44988]:hover,.modal__content p a[data-v-9fd44988]:focus{border-bottom:2px solid var(--color-border)}.modal__content .credits--end[data-v-9fd44988]{padding-bottom:32px;color:var(--color-text-maxcontrast)}.modal__content .credits--end a[data-v-9fd44988]{color:var(--color-text-maxcontrast)}.flip-list-move[data-v-9fd44988]{transition:transform var(--animation-slow)}.statuses[data-v-9fd44988]{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap;margin-bottom:36px}.statuses>li[data-v-9fd44988]{margin:8px}","",{version:3,sources:["webpack://./apps/dashboard/src/DashboardApp.vue"],names:[],mappings:"AACA,gCACC,UAAA,CACA,eAAA,CACA,qBAAA,CACA,iCAAA,CACA,2BAAA,CACA,2BAAA,CAEA,mCACC,uCAAA,CACA,iBAAA,CACA,cAAA,CACA,gBAAA,CACA,cAAA,CAIF,yBACC,UAAA,CACA,WAAA,CACA,gBAAA,CACA,YAAA,CACA,sBAAA,CACA,kBAAA,CACA,sBAAA,CACA,cAAA,CAGD,qDACC,WAAA,CACA,cAAA,CACA,WAAA,CACA,kBAAA,CACA,kDAAA,CACA,qDAAA,CACA,6CAAA,CACA,0CAAA,CAEA,mHACC,oCAAA,CAGD,mFACE,UAAA,CAGF,mFACC,YAAA,CACA,SAAA,CACA,QAAA,CACA,YAAA,CACA,WAAA,CAEA,0KACC,0BAAA,CACA,wBAAA,CACA,uBAAA,CACA,qBAAA,CACA,oBAAA,CACA,gBAAA,CAGD,iGACC,eAAA,CAGD,uFACC,WAAA,CAGD,yFACC,aAAA,CACA,kBAAA,CACA,WAAA,CACA,QAAA,CACA,cAAA,CACA,gBAAA,CACA,gBAAA,CACA,gBAAA,CACA,WAAA,CACA,kBAAA,CACA,eAAA,CACA,sBAAA,CACA,WAAA,CACA,mGACC,oBAAA,CACA,UAAA,CACA,WAAA,CACA,iBAAA,CACA,0BAAA,CACA,UAAA,CACA,eAAA,CAKH,qFACC,uBAAA,CACA,YAAA,CAEA,gBAAA,CAID,0CACC,qFACC,WAAA,CAAA,CAKH,yBACC,YAAA,CACA,sBAAA,CACA,mDAAA,CACA,cAAA,CAGD,8BACC,oBAAA,CACA,WAAA,CACA,+BAAA,CACA,iBAAA,CACA,iBAAA,CACA,uCAAA,CACA,eAAA,CACA,SAAA,CACA,iBAAA,CAGD,wOAKC,kDAAA,CACA,qDAAA,CACA,6CAAA,CACA,oBAAA,CAEA,uxBAGC,yDAAA,CAED,8SACC,4DAAA,CACA,mDAAA,CAIF,iCACC,iBAAA,CACA,iBAAA,CAEA,oCACC,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,oBAAA,CACA,mBAAA,CAGA,0CACC,iBAAA,CACA,aAAA,CACA,2BAAA,CACA,UAAA,CACA,WAAA,CACA,8CAAA,CACA,6CAAA,CACA,wCAAA,CACA,eAAA,CACA,eAAA,CACA,sBAAA,CACA,kBAAA,CAEA,+CACC,iBAAA,CACA,QAAA,CACA,UAAA,CACA,WAAA,CACA,oBAAA,CAGD,gDACC,yCAAA,CAKF,kEACC,uCAAA,CAGD,+EACC,iBAAA,CACA,UAAA,CACA,QAAA,CAGD,sDACC,yCAAA,CAIF,oCACC,gBAAA,CAEA,wDACC,eAAA,CAKF,yCACC,oBAAA,CACA,iBAAA,CACA,QAAA,CAGD,mCACC,eAAA,CACA,aAAA,CAEA,sFAEC,2CAAA,CAIF,+CACC,mBAAA,CACA,mCAAA,CAEA,iDACC,mCAAA,CAKH,iCACC,0CAAA,CAGD,2BACC,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,cAAA,CACA,kBAAA,CAEA,8BACC,UAAA",sourcesContent:["\n#app-dashboard {\n\twidth: 100%;\n\tmin-height: 100%;\n\tbackground-size: cover;\n\tbackground-position: center center;\n\tbackground-repeat: no-repeat;\n\tbackground-attachment: fixed;\n\n\t> h2 {\n\t\tcolor: var(--color-primary-element-text);\n\t\ttext-align: center;\n\t\tfont-size: 32px;\n\t\tline-height: 130%;\n\t\tpadding: 1rem 0;\n\t}\n}\n\n.panels {\n\twidth: auto;\n\tmargin: auto;\n\tmax-width: 1800px;\n\tdisplay: flex;\n\tjustify-content: center;\n\tflex-direction: row;\n\talign-items: flex-start;\n\tflex-wrap: wrap;\n}\n\n.panel, .panels > div {\n\twidth: 320px;\n\tmax-width: 100%;\n\tmargin: 16px;\n\talign-self: stretch;\n\tbackground-color: var(--color-main-background-blur);\n\t-webkit-backdrop-filter: var(--filter-background-blur);\n\tbackdrop-filter: var(--filter-background-blur);\n\tborder-radius: var(--border-radius-rounded);\n\n\t#body-user.theme--highcontrast & {\n\t\tborder: 2px solid var(--color-border);\n\t}\n\n\t&.sortable-ghost {\n\t\t opacity: 0.1;\n\t}\n\n\t& > .panel--header {\n\t\tdisplay: flex;\n\t\tz-index: 1;\n\t\ttop: 50px;\n\t\tpadding: 16px;\n\t\tcursor: grab;\n\n\t\t&, ::v-deep * {\n\t\t\t-webkit-touch-callout: none;\n\t\t\t-webkit-user-select: none;\n\t\t\t-khtml-user-select: none;\n\t\t\t-moz-user-select: none;\n\t\t\t-ms-user-select: none;\n\t\t\tuser-select: none;\n\t\t}\n\n\t\t&:active {\n\t\t\tcursor: grabbing;\n\t\t}\n\n\t\ta {\n\t\t\tflex-grow: 1;\n\t\t}\n\n\t\t> h2 {\n\t\t\tdisplay: block;\n\t\t\talign-items: center;\n\t\t\tflex-grow: 1;\n\t\t\tmargin: 0;\n\t\t\tfont-size: 20px;\n\t\t\tline-height: 24px;\n\t\t\tfont-weight: bold;\n\t\t\tpadding: 16px 8px;\n\t\t\theight: 56px;\n\t\t\twhite-space: nowrap;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\tcursor: grab;\n\t\t\tspan {\n\t\t\t\tbackground-size: 32px;\n\t\t\t\twidth: 32px;\n\t\t\t\theight: 32px;\n\t\t\t\tmargin-right: 16px;\n\t\t\t\tbackground-position: center;\n\t\t\t\tfloat: left;\n\t\t\t\tmargin-top: -6px;\n\t\t\t}\n\t\t}\n\t}\n\n\t& > .panel--content {\n\t\tmargin: 0 16px 16px 16px;\n\t\theight: 424px;\n\t\t// We specifically do not want scrollbars inside widgets\n\t\toverflow: visible;\n\t}\n\n\t// No need to extend height of widgets if only one column is shown\n\t@media only screen and (max-width: 709px) {\n\t\t& > .panel--content {\n\t\t\theight: auto;\n\t\t}\n\t}\n}\n\n.footer {\n\tdisplay: flex;\n\tjustify-content: center;\n\ttransition: bottom var(--animation-slow) ease-in-out;\n\tpadding: 1rem 0;\n}\n\n.edit-panels {\n\tdisplay: inline-block;\n\tmargin:auto;\n\tbackground-position: 16px center;\n\tpadding: 12px 16px;\n\tpadding-left: 36px;\n\tborder-radius: var(--border-radius-pill);\n\tmax-width: 200px;\n\topacity: 1;\n\ttext-align: center;\n}\n\n.button,\n.button-vue,\n.edit-panels,\n.statuses ::v-deep .action-item .action-item__menutoggle,\n.statuses ::v-deep .action-item.action-item--open .action-item__menutoggle {\n\tbackground-color: var(--color-main-background-blur);\n\t-webkit-backdrop-filter: var(--filter-background-blur);\n\tbackdrop-filter: var(--filter-background-blur);\n\topacity: 1 !important;\n\n\t&:hover,\n\t&:focus,\n\t&:active {\n\t\tbackground-color: var(--color-background-hover)!important;\n\t}\n\t&:focus-visible {\n\t\tbox-shadow: 0 0 0 4px var(--color-main-background) !important;\n\t\toutline: 2px solid var(--color-main-text) !important;\n\t}\n}\n\n.modal__content {\n\tpadding: 32px 16px;\n\ttext-align: center;\n\n\tol {\n\t\tdisplay: flex;\n\t\tflex-direction: row;\n\t\tjustify-content: center;\n\t\tlist-style-type: none;\n\t\tpadding-bottom: 16px;\n\t}\n\tli {\n\t\tlabel {\n\t\t\tposition: relative;\n\t\t\tdisplay: block;\n\t\t\tpadding: 48px 16px 14px 16px;\n\t\t\tmargin: 8px;\n\t\t\twidth: 140px;\n\t\t\tbackground-color: var(--color-background-hover);\n\t\t\tborder: 2px solid var(--color-main-background);\n\t\t\tborder-radius: var(--border-radius-large);\n\t\t\ttext-align: left;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\twhite-space: nowrap;\n\n\t\t\tspan {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 16px;\n\t\t\t\twidth: 24px;\n\t\t\t\theight: 24px;\n\t\t\t\tbackground-size: 24px;\n\t\t\t}\n\n\t\t\t&:hover {\n\t\t\t\tborder-color: var(--color-primary-element);\n\t\t\t}\n\t\t}\n\n\t\t// Do not invert status icons\n\t\t&:not(.panel-status) label span {\n\t\t\tfilter: var(--background-invert-if-dark);\n\t\t}\n\n\t\tinput[type='checkbox'].checkbox + label:before {\n\t\t\tposition: absolute;\n\t\t\tright: 12px;\n\t\t\ttop: 16px;\n\t\t}\n\n\t\tinput:focus + label {\n\t\t\tborder-color: var(--color-primary-element);\n\t\t}\n\t}\n\n\th3 {\n\t\tfont-weight: bold;\n\n\t\t&:not(:first-of-type) {\n\t\t\tmargin-top: 64px;\n\t\t}\n\t}\n\n\t// Adjust design of 'Get more widgets' button\n\t.button {\n\t\tdisplay: inline-block;\n\t\tpadding: 10px 16px;\n\t\tmargin: 0;\n\t}\n\n\tp {\n\t\tmax-width: 650px;\n\t\tmargin: 0 auto;\n\n\t\ta:hover,\n\t\ta:focus {\n\t\t\tborder-bottom: 2px solid var(--color-border);\n\t\t}\n\t}\n\n\t.credits--end {\n\t\tpadding-bottom: 32px;\n\t\tcolor: var(--color-text-maxcontrast);\n\n\t\ta {\n\t\t\tcolor: var(--color-text-maxcontrast);\n\t\t}\n\t}\n}\n\n.flip-list-move {\n\ttransition: transform var(--animation-slow);\n}\n\n.statuses {\n\tdisplay: flex;\n\tflex-direction: row;\n\tjustify-content: center;\n\tflex-wrap: wrap;\n\tmargin-bottom: 36px;\n\n\t& > li {\n\t\tmargin: 8px;\n\t}\n}\n"],sourceRoot:""}]);const s=o},1725:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,"\nhtml, body {\n\tbackground-attachment: fixed;\n}\n#body-user #header {\n\tposition: fixed;\n}\n#content {\n\toverflow: auto;\n}\n","",{version:3,sources:["webpack://./apps/dashboard/src/DashboardApp.vue"],names:[],mappings:";AA4sBA;CACA,4BAAA;AACA;AAEA;CACA,eAAA;AACA;AAEA;CACA,cAAA;AACA",sourcesContent:["<template>\n\t<div id=\"app-dashboard\">\n\t\t<h2>{{ greeting.text }}</h2>\n\t\t<ul class=\"statuses\">\n\t\t\t<li v-for=\"status in sortedRegisteredStatus\"\n\t\t\t\t:id=\"'status-' + status\"\n\t\t\t\t:key=\"status\">\n\t\t\t\t<div :ref=\"'status-' + status\" />\n\t\t\t</li>\n\t\t</ul>\n\n\t\t<Draggable v-model=\"layout\"\n\t\t\tclass=\"panels\"\n\t\t\tv-bind=\"{swapThreshold: 0.30, delay: 500, delayOnTouchOnly: true, touchStartThreshold: 3}\"\n\t\t\thandle=\".panel--header\"\n\t\t\t@end=\"saveLayout\">\n\t\t\t<template v-for=\"panelId in layout\">\n\t\t\t\t<div v-if=\"isApiWidgetV2(panels[panelId].id)\"\n\t\t\t\t\t:key=\"`${panels[panelId].id}-v2`\"\n\t\t\t\t\tclass=\"panel\">\n\t\t\t\t\t<div class=\"panel--header\">\n\t\t\t\t\t\t<h2>\n\t\t\t\t\t\t\t<span :aria-labelledby=\"`panel-${panels[panelId].id}--header--icon--description`\"\n\t\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t\t\t:class=\"apiWidgets[panels[panelId].id].icon_class\"\n\t\t\t\t\t\t\t\trole=\"img\" />\n\t\t\t\t\t\t\t{{ apiWidgets[panels[panelId].id].title }}\n\t\t\t\t\t\t</h2>\n\t\t\t\t\t\t<span :id=\"`panel-${panels[panelId].id}--header--icon--description`\" class=\"hidden-visually\">\n\t\t\t\t\t\t\t{{ t('dashboard', '\"{title} icon\"', { title: apiWidgets[panels[panelId].id].title }) }}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"panel--content\">\n\t\t\t\t\t\t<ApiDashboardWidget :widget=\"apiWidgets[panels[panelId].id]\"\n\t\t\t\t\t\t\t:data=\"apiWidgetItems[panels[panelId].id]\"\n\t\t\t\t\t\t\t:loading=\"loadingItems\" />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div v-else :key=\"panels[panelId].id\" class=\"panel\">\n\t\t\t\t\t<div class=\"panel--header\">\n\t\t\t\t\t\t<h2>\n\t\t\t\t\t\t\t<span :aria-labelledby=\"`panel-${panels[panelId].id}--header--icon--description`\"\n\t\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t\t\t:class=\"panels[panelId].iconClass\"\n\t\t\t\t\t\t\t\trole=\"img\" />\n\t\t\t\t\t\t\t{{ panels[panelId].title }}\n\t\t\t\t\t\t</h2>\n\t\t\t\t\t\t<span :id=\"`panel-${panels[panelId].id}--header--icon--description`\" class=\"hidden-visually\"> {{ t('dashboard', '\"{title} icon\"', { title: panels[panelId].title }) }} </span>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"panel--content\" :class=\"{ loading: !panels[panelId].mounted }\">\n\t\t\t\t\t\t<div :ref=\"panels[panelId].id\" :data-id=\"panels[panelId].id\" />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</template>\n\t\t</Draggable>\n\n\t\t<div class=\"footer\">\n\t\t\t<NcButton @click=\"showModal\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<Pencil :size=\"20\" />\n\t\t\t\t</template>\n\t\t\t\t{{ t('dashboard', 'Customize') }}\n\t\t\t</NcButton>\n\t\t</div>\n\n\t\t<NcModal v-if=\"modal\" size=\"large\" @close=\"closeModal\">\n\t\t\t<div class=\"modal__content\">\n\t\t\t\t<h3>{{ t('dashboard', 'Edit widgets') }}</h3>\n\t\t\t\t<ol class=\"panels\">\n\t\t\t\t\t<li v-for=\"status in sortedAllStatuses\" :key=\"status\" :class=\"'panel-' + status\">\n\t\t\t\t\t\t<input :id=\"'status-checkbox-' + status\"\n\t\t\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t\t\tclass=\"checkbox\"\n\t\t\t\t\t\t\t:checked=\"isStatusActive(status)\"\n\t\t\t\t\t\t\t@input=\"updateStatusCheckbox(status, $event.target.checked)\">\n\t\t\t\t\t\t<label :for=\"'status-checkbox-' + status\">\n\t\t\t\t\t\t\t<span :class=\"statusInfo[status].icon\" aria-hidden=\"true\" />\n\t\t\t\t\t\t\t{{ statusInfo[status].text }}\n\t\t\t\t\t\t</label>\n\t\t\t\t\t</li>\n\t\t\t\t</ol>\n\t\t\t\t<Draggable v-model=\"layout\"\n\t\t\t\t\tclass=\"panels\"\n\t\t\t\t\ttag=\"ol\"\n\t\t\t\t\tv-bind=\"{swapThreshold: 0.30, delay: 500, delayOnTouchOnly: true, touchStartThreshold: 3}\"\n\t\t\t\t\thandle=\".draggable\"\n\t\t\t\t\t@end=\"saveLayout\">\n\t\t\t\t\t<li v-for=\"panel in sortedPanels\" :key=\"panel.id\" :class=\"'panel-' + panel.id\">\n\t\t\t\t\t\t<input :id=\"'panel-checkbox-' + panel.id\"\n\t\t\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t\t\tclass=\"checkbox\"\n\t\t\t\t\t\t\t:checked=\"isActive(panel)\"\n\t\t\t\t\t\t\t@input=\"updateCheckbox(panel, $event.target.checked)\">\n\t\t\t\t\t\t<label :for=\"'panel-checkbox-' + panel.id\" :class=\"{ draggable: isActive(panel) }\">\n\t\t\t\t\t\t\t<span :class=\"panel.iconClass\" aria-hidden=\"true\" />\n\t\t\t\t\t\t\t{{ panel.title }}\n\t\t\t\t\t\t</label>\n\t\t\t\t\t</li>\n\t\t\t\t</Draggable>\n\n\t\t\t\t<a v-if=\"isAdmin\" :href=\"appStoreUrl\" class=\"button\">{{ t('dashboard', 'Get more widgets from the App Store') }}</a>\n\n\t\t\t\t<div v-if=\"statuses.weather && isStatusActive('weather')\">\n\t\t\t\t\t<h3>{{ t('dashboard', 'Weather service') }}</h3>\n\t\t\t\t\t<p>\n\t\t\t\t\t\t{{ t('dashboard', 'For your privacy, the weather data is requested by your Nextcloud server on your behalf so the weather service receives no personal information.') }}\n\t\t\t\t\t</p>\n\t\t\t\t\t<p class=\"credits--end\">\n\t\t\t\t\t\t<a href=\"https://api.met.no/doc/TermsOfService\" target=\"_blank\" rel=\"noopener\">{{ t('dashboard', 'Weather data from Met.no') }}</a>,\n\t\t\t\t\t\t<a href=\"https://wiki.osmfoundation.org/wiki/Privacy_Policy\" target=\"_blank\" rel=\"noopener\">{{ t('dashboard', 'geocoding with Nominatim') }}</a>,\n\t\t\t\t\t\t<a href=\"https://www.opentopodata.org/#public-api\" target=\"_blank\" rel=\"noopener\">{{ t('dashboard', 'elevation data from OpenTopoData') }}</a>.\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</NcModal>\n\t</div>\n</template>\n\n<script>\nimport { generateUrl, generateOcsUrl } from '@nextcloud/router'\nimport { getCurrentUser } from '@nextcloud/auth'\nimport { loadState } from '@nextcloud/initial-state'\nimport axios from '@nextcloud/axios'\nimport NcButton from '@nextcloud/vue/dist/Components/NcButton.js'\nimport Draggable from 'vuedraggable'\nimport NcModal from '@nextcloud/vue/dist/Components/NcModal.js'\nimport Pencil from 'vue-material-design-icons/Pencil.vue'\nimport Vue from 'vue'\n\nimport isMobile from './mixins/isMobile.js'\nimport ApiDashboardWidget from './components/ApiDashboardWidget.vue'\n\nconst panels = loadState('dashboard', 'panels')\nconst firstRun = loadState('dashboard', 'firstRun')\n\nconst statusInfo = {\n\tweather: {\n\t\ttext: t('dashboard', 'Weather'),\n\t\ticon: 'icon-weather-status',\n\t},\n\tstatus: {\n\t\ttext: t('dashboard', 'Status'),\n\t\ticon: 'icon-user-status-online',\n\t},\n}\n\nexport default {\n\tname: 'DashboardApp',\n\tcomponents: {\n\t\tApiDashboardWidget,\n\t\tNcButton,\n\t\tDraggable,\n\t\tNcModal,\n\t\tPencil,\n\t},\n\tmixins: [\n\t\tisMobile,\n\t],\n\n\tdata() {\n\t\treturn {\n\t\t\tisAdmin: getCurrentUser().isAdmin,\n\t\t\ttimer: new Date(),\n\t\t\tregisteredStatus: [],\n\t\t\tcallbacks: {},\n\t\t\tcallbacksStatus: {},\n\t\t\tallCallbacksStatus: {},\n\t\t\tstatusInfo,\n\t\t\tenabledStatuses: loadState('dashboard', 'statuses'),\n\t\t\tpanels,\n\t\t\tfirstRun,\n\t\t\tdisplayName: getCurrentUser()?.displayName,\n\t\t\tuid: getCurrentUser()?.uid,\n\t\t\tlayout: loadState('dashboard', 'layout').filter((panelId) => panels[panelId]),\n\t\t\tmodal: false,\n\t\t\tappStoreUrl: generateUrl('/settings/apps/dashboard'),\n\t\t\tstatuses: {},\n\t\t\tapiWidgets: [],\n\t\t\tapiWidgetItems: {},\n\t\t\tloadingItems: true,\n\t\t}\n\t},\n\tcomputed: {\n\t\tgreeting() {\n\t\t\tconst time = this.timer.getHours()\n\n\t\t\t// Determine part of the day\n\t\t\tlet partOfDay\n\t\t\tif (time >= 22 || time < 5) {\n\t\t\t\tpartOfDay = 'night'\n\t\t\t} else if (time >= 18) {\n\t\t\t\tpartOfDay = 'evening'\n\t\t\t} else if (time >= 12) {\n\t\t\t\tpartOfDay = 'afternoon'\n\t\t\t} else {\n\t\t\t\tpartOfDay = 'morning'\n\t\t\t}\n\n\t\t\t// Define the greetings\n\t\t\tconst good = {\n\t\t\t\tmorning: {\n\t\t\t\t\tgeneric: t('dashboard', 'Good morning'),\n\t\t\t\t\twithName: t('dashboard', 'Good morning, {name}', { name: this.displayName }, undefined, { escape: false }),\n\t\t\t\t},\n\t\t\t\tafternoon: {\n\t\t\t\t\tgeneric: t('dashboard', 'Good afternoon'),\n\t\t\t\t\twithName: t('dashboard', 'Good afternoon, {name}', { name: this.displayName }, undefined, { escape: false }),\n\t\t\t\t},\n\t\t\t\tevening: {\n\t\t\t\t\tgeneric: t('dashboard', 'Good evening'),\n\t\t\t\t\twithName: t('dashboard', 'Good evening, {name}', { name: this.displayName }, undefined, { escape: false }),\n\t\t\t\t},\n\t\t\t\tnight: {\n\t\t\t\t\t// Don't use \"Good night\" as it's not a greeting\n\t\t\t\t\tgeneric: t('dashboard', 'Hello'),\n\t\t\t\t\twithName: t('dashboard', 'Hello, {name}', { name: this.displayName }, undefined, { escape: false }),\n\t\t\t\t},\n\t\t\t}\n\n\t\t\t// Figure out which greeting to show\n\t\t\tconst shouldShowName = this.displayName && this.uid !== this.displayName\n\t\t\treturn { text: shouldShowName ? good[partOfDay].withName : good[partOfDay].generic }\n\t\t},\n\n\t\tisActive() {\n\t\t\treturn (panel) => this.layout.indexOf(panel.id) > -1\n\t\t},\n\t\tisStatusActive() {\n\t\t\treturn (status) => !(status in this.enabledStatuses) || this.enabledStatuses[status]\n\t\t},\n\n\t\tsortedAllStatuses() {\n\t\t\treturn Object.keys(this.allCallbacksStatus).slice().sort(this.sortStatuses)\n\t\t},\n\t\tsortedPanels() {\n\t\t\treturn Object.values(this.panels).sort((a, b) => {\n\t\t\t\tconst indexA = this.layout.indexOf(a.id)\n\t\t\t\tconst indexB = this.layout.indexOf(b.id)\n\t\t\t\tif (indexA === -1 || indexB === -1) {\n\t\t\t\t\treturn indexB - indexA || a.id - b.id\n\t\t\t\t}\n\t\t\t\treturn indexA - indexB || a.id - b.id\n\t\t\t})\n\t\t},\n\t\tsortedRegisteredStatus() {\n\t\t\treturn this.registeredStatus.slice().sort(this.sortStatuses)\n\t\t},\n\t},\n\n\twatch: {\n\t\tcallbacks() {\n\t\t\tthis.rerenderPanels()\n\t\t},\n\t\tcallbacksStatus() {\n\t\t\tfor (const app in this.callbacksStatus) {\n\t\t\t\tconst element = this.$refs['status-' + app]\n\t\t\t\tif (this.statuses[app] && this.statuses[app].mounted) {\n\t\t\t\t\tcontinue\n\t\t\t\t}\n\t\t\t\tif (element) {\n\t\t\t\t\tthis.callbacksStatus[app](element[0])\n\t\t\t\t\tVue.set(this.statuses, app, { mounted: true })\n\t\t\t\t} else {\n\t\t\t\t\tconsole.error('Failed to register panel in the frontend as no backend data was provided for ' + app)\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t},\n\n\tasync created() {\n\t\tawait this.fetchApiWidgets()\n\n\t\tconst apiWidgetIdsToFetch = Object\n\t\t\t.values(this.apiWidgets)\n\t\t\t.filter(widget => this.isApiWidgetV2(widget.id))\n\t\t\t.map(widget => widget.id)\n\t\tawait Promise.all(apiWidgetIdsToFetch.map(id => this.fetchApiWidgetItems([id], true)))\n\n\t\tfor (const widget of Object.values(this.apiWidgets)) {\n\t\t\tif (widget.reload_interval > 0) {\n\t\t\t\tsetInterval(async () => {\n\t\t\t\t\tawait this.fetchApiWidgetItems([widget.id], true)\n\t\t\t\t}, widget.reload_interval * 1000)\n\t\t\t}\n\t\t}\n\t},\n\tmounted() {\n\t\tthis.updateSkipLink()\n\t\twindow.addEventListener('scroll', this.handleScroll)\n\n\t\tsetInterval(() => {\n\t\t\tthis.timer = new Date()\n\t\t}, 30000)\n\n\t\tif (this.firstRun) {\n\t\t\twindow.addEventListener('scroll', this.disableFirstrunHint)\n\t\t}\n\t},\n\tdestroyed() {\n\t\twindow.removeEventListener('scroll', this.handleScroll)\n\t},\n\n\tmethods: {\n\t\t/**\n\t\t * Method to register panels that will be called by the integrating apps\n\t\t *\n\t\t * @param {string} app The unique app id for the widget\n\t\t * @param {Function} callback The callback function to register a panel which gets the DOM element passed as parameter\n\t\t */\n\t\tregister(app, callback) {\n\t\t\tVue.set(this.callbacks, app, callback)\n\t\t},\n\t\tregisterStatus(app, callback) {\n\t\t\t// always save callbacks in case user enables the status later\n\t\t\tVue.set(this.allCallbacksStatus, app, callback)\n\t\t\t// register only if status is enabled or missing from config\n\t\t\tif (this.isStatusActive(app)) {\n\t\t\t\tthis.registeredStatus.push(app)\n\t\t\t\tthis.$nextTick(() => {\n\t\t\t\t\tVue.set(this.callbacksStatus, app, callback)\n\t\t\t\t})\n\t\t\t}\n\t\t},\n\t\trerenderPanels() {\n\t\t\tfor (const app in this.callbacks) {\n\t\t\t\t// TODO: Properly rerender v2 widgets\n\t\t\t\tif (this.isApiWidgetV2(this.panels[app].id)) {\n\t\t\t\t\tcontinue\n\t\t\t\t}\n\n\t\t\t\tconst element = this.$refs[app]\n\t\t\t\tif (this.layout.indexOf(app) === -1) {\n\t\t\t\t\tcontinue\n\t\t\t\t}\n\t\t\t\tif (this.panels[app] && this.panels[app].mounted) {\n\t\t\t\t\tcontinue\n\t\t\t\t}\n\t\t\t\tif (element) {\n\t\t\t\t\tthis.callbacks[app](element[0], {\n\t\t\t\t\t\twidget: this.panels[app],\n\t\t\t\t\t})\n\t\t\t\t\tVue.set(this.panels[app], 'mounted', true)\n\t\t\t\t} else {\n\t\t\t\t\tconsole.error('Failed to register panel in the frontend as no backend data was provided for ' + app)\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tsaveLayout() {\n\t\t\taxios.post(generateUrl('/apps/dashboard/layout'), {\n\t\t\t\tlayout: this.layout.join(','),\n\t\t\t})\n\t\t},\n\t\tsaveStatuses() {\n\t\t\taxios.post(generateUrl('/apps/dashboard/statuses'), {\n\t\t\t\tstatuses: JSON.stringify(this.enabledStatuses),\n\t\t\t})\n\t\t},\n\t\tshowModal() {\n\t\t\tthis.modal = true\n\t\t\tthis.firstRun = false\n\t\t},\n\t\tcloseModal() {\n\t\t\tthis.modal = false\n\t\t},\n\t\tupdateCheckbox(panel, currentValue) {\n\t\t\tconst index = this.layout.indexOf(panel.id)\n\t\t\tif (!currentValue && index > -1) {\n\t\t\t\tthis.layout.splice(index, 1)\n\n\t\t\t} else {\n\t\t\t\tthis.layout.push(panel.id)\n\t\t\t}\n\t\t\tVue.set(this.panels[panel.id], 'mounted', false)\n\t\t\tthis.saveLayout()\n\t\t\tthis.$nextTick(() => this.rerenderPanels())\n\t\t},\n\t\tdisableFirstrunHint() {\n\t\t\twindow.removeEventListener('scroll', this.disableFirstrunHint)\n\t\t\tsetTimeout(() => {\n\t\t\t\tthis.firstRun = false\n\t\t\t}, 1000)\n\t\t},\n\t\tupdateSkipLink() {\n\t\t\t// Make sure \"Skip to main content\" link points to the app content\n\t\t\tdocument.getElementsByClassName('skip-navigation')[0].setAttribute('href', '#app-dashboard')\n\t\t},\n\t\tupdateStatusCheckbox(app, checked) {\n\t\t\tif (checked) {\n\t\t\t\tthis.enableStatus(app)\n\t\t\t} else {\n\t\t\t\tthis.disableStatus(app)\n\t\t\t}\n\t\t},\n\t\tenableStatus(app) {\n\t\t\tthis.enabledStatuses[app] = true\n\t\t\tthis.registerStatus(app, this.allCallbacksStatus[app])\n\t\t\tthis.saveStatuses()\n\t\t},\n\t\tdisableStatus(app) {\n\t\t\tthis.enabledStatuses[app] = false\n\t\t\tconst i = this.registeredStatus.findIndex((s) => s === app)\n\t\t\tif (i !== -1) {\n\t\t\t\tthis.registeredStatus.splice(i, 1)\n\t\t\t\tVue.set(this.statuses, app, { mounted: false })\n\t\t\t\tthis.$nextTick(() => {\n\t\t\t\t\tVue.delete(this.callbacksStatus, app)\n\t\t\t\t})\n\t\t\t}\n\t\t\tthis.saveStatuses()\n\t\t},\n\t\tsortStatuses(a, b) {\n\t\t\tconst al = a.toLowerCase()\n\t\t\tconst bl = b.toLowerCase()\n\t\t\treturn al > bl\n\t\t\t\t? 1\n\t\t\t\t: al < bl\n\t\t\t\t\t? -1\n\t\t\t\t\t: 0\n\t\t},\n\t\thandleScroll() {\n\t\t\tif (window.scrollY > 70) {\n\t\t\t\tdocument.body.classList.add('dashboard--scrolled')\n\t\t\t} else {\n\t\t\t\tdocument.body.classList.remove('dashboard--scrolled')\n\t\t\t}\n\t\t},\n\t\tasync fetchApiWidgets() {\n\t\t\tconst response = await axios.get(generateOcsUrl('/apps/dashboard/api/v1/widgets'))\n\t\t\tthis.apiWidgets = response.data.ocs.data\n\t\t},\n\t\tasync fetchApiWidgetItems(widgetIds, merge = false) {\n\t\t\ttry {\n\t\t\t\tconst url = generateOcsUrl('/apps/dashboard/api/v2/widget-items')\n\t\t\t\tconst params = new URLSearchParams(widgetIds.map(id => ['widgets[]', id]))\n\t\t\t\tconst response = await axios.get(`${url}?${params.toString()}`)\n\t\t\t\tconst widgetItems = response.data.ocs.data\n\t\t\t\tif (merge) {\n\t\t\t\t\tthis.apiWidgetItems = Object.assign({}, this.apiWidgetItems, widgetItems)\n\t\t\t\t} else {\n\t\t\t\t\tthis.apiWidgetItems = widgetItems\n\t\t\t\t}\n\t\t\t} finally {\n\t\t\t\tthis.loadingItems = false\n\t\t\t}\n\t\t},\n\t\tisApiWidgetV2(id) {\n\t\t\tfor (const widget of Object.values(this.apiWidgets)) {\n\t\t\t\tif (widget.id === id && widget.item_api_versions.includes(2)) {\n\t\t\t\t\treturn true\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false\n\t\t},\n\t},\n}\n<\/script>\n\n<style lang=\"scss\" scoped>\n#app-dashboard {\n\twidth: 100%;\n\tmin-height: 100%;\n\tbackground-size: cover;\n\tbackground-position: center center;\n\tbackground-repeat: no-repeat;\n\tbackground-attachment: fixed;\n\n\t> h2 {\n\t\tcolor: var(--color-primary-element-text);\n\t\ttext-align: center;\n\t\tfont-size: 32px;\n\t\tline-height: 130%;\n\t\tpadding: 1rem 0;\n\t}\n}\n\n.panels {\n\twidth: auto;\n\tmargin: auto;\n\tmax-width: 1800px;\n\tdisplay: flex;\n\tjustify-content: center;\n\tflex-direction: row;\n\talign-items: flex-start;\n\tflex-wrap: wrap;\n}\n\n.panel, .panels > div {\n\twidth: 320px;\n\tmax-width: 100%;\n\tmargin: 16px;\n\talign-self: stretch;\n\tbackground-color: var(--color-main-background-blur);\n\t-webkit-backdrop-filter: var(--filter-background-blur);\n\tbackdrop-filter: var(--filter-background-blur);\n\tborder-radius: var(--border-radius-rounded);\n\n\t#body-user.theme--highcontrast & {\n\t\tborder: 2px solid var(--color-border);\n\t}\n\n\t&.sortable-ghost {\n\t\t opacity: 0.1;\n\t}\n\n\t& > .panel--header {\n\t\tdisplay: flex;\n\t\tz-index: 1;\n\t\ttop: 50px;\n\t\tpadding: 16px;\n\t\tcursor: grab;\n\n\t\t&, ::v-deep * {\n\t\t\t-webkit-touch-callout: none;\n\t\t\t-webkit-user-select: none;\n\t\t\t-khtml-user-select: none;\n\t\t\t-moz-user-select: none;\n\t\t\t-ms-user-select: none;\n\t\t\tuser-select: none;\n\t\t}\n\n\t\t&:active {\n\t\t\tcursor: grabbing;\n\t\t}\n\n\t\ta {\n\t\t\tflex-grow: 1;\n\t\t}\n\n\t\t> h2 {\n\t\t\tdisplay: block;\n\t\t\talign-items: center;\n\t\t\tflex-grow: 1;\n\t\t\tmargin: 0;\n\t\t\tfont-size: 20px;\n\t\t\tline-height: 24px;\n\t\t\tfont-weight: bold;\n\t\t\tpadding: 16px 8px;\n\t\t\theight: 56px;\n\t\t\twhite-space: nowrap;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\tcursor: grab;\n\t\t\tspan {\n\t\t\t\tbackground-size: 32px;\n\t\t\t\twidth: 32px;\n\t\t\t\theight: 32px;\n\t\t\t\tmargin-right: 16px;\n\t\t\t\tbackground-position: center;\n\t\t\t\tfloat: left;\n\t\t\t\tmargin-top: -6px;\n\t\t\t}\n\t\t}\n\t}\n\n\t& > .panel--content {\n\t\tmargin: 0 16px 16px 16px;\n\t\theight: 424px;\n\t\t// We specifically do not want scrollbars inside widgets\n\t\toverflow: visible;\n\t}\n\n\t// No need to extend height of widgets if only one column is shown\n\t@media only screen and (max-width: 709px) {\n\t\t& > .panel--content {\n\t\t\theight: auto;\n\t\t}\n\t}\n}\n\n.footer {\n\tdisplay: flex;\n\tjustify-content: center;\n\ttransition: bottom var(--animation-slow) ease-in-out;\n\tpadding: 1rem 0;\n}\n\n.edit-panels {\n\tdisplay: inline-block;\n\tmargin:auto;\n\tbackground-position: 16px center;\n\tpadding: 12px 16px;\n\tpadding-left: 36px;\n\tborder-radius: var(--border-radius-pill);\n\tmax-width: 200px;\n\topacity: 1;\n\ttext-align: center;\n}\n\n.button,\n.button-vue,\n.edit-panels,\n.statuses ::v-deep .action-item .action-item__menutoggle,\n.statuses ::v-deep .action-item.action-item--open .action-item__menutoggle {\n\tbackground-color: var(--color-main-background-blur);\n\t-webkit-backdrop-filter: var(--filter-background-blur);\n\tbackdrop-filter: var(--filter-background-blur);\n\topacity: 1 !important;\n\n\t&:hover,\n\t&:focus,\n\t&:active {\n\t\tbackground-color: var(--color-background-hover)!important;\n\t}\n\t&:focus-visible {\n\t\tbox-shadow: 0 0 0 4px var(--color-main-background) !important;\n\t\toutline: 2px solid var(--color-main-text) !important;\n\t}\n}\n\n.modal__content {\n\tpadding: 32px 16px;\n\ttext-align: center;\n\n\tol {\n\t\tdisplay: flex;\n\t\tflex-direction: row;\n\t\tjustify-content: center;\n\t\tlist-style-type: none;\n\t\tpadding-bottom: 16px;\n\t}\n\tli {\n\t\tlabel {\n\t\t\tposition: relative;\n\t\t\tdisplay: block;\n\t\t\tpadding: 48px 16px 14px 16px;\n\t\t\tmargin: 8px;\n\t\t\twidth: 140px;\n\t\t\tbackground-color: var(--color-background-hover);\n\t\t\tborder: 2px solid var(--color-main-background);\n\t\t\tborder-radius: var(--border-radius-large);\n\t\t\ttext-align: left;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\twhite-space: nowrap;\n\n\t\t\tspan {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 16px;\n\t\t\t\twidth: 24px;\n\t\t\t\theight: 24px;\n\t\t\t\tbackground-size: 24px;\n\t\t\t}\n\n\t\t\t&:hover {\n\t\t\t\tborder-color: var(--color-primary-element);\n\t\t\t}\n\t\t}\n\n\t\t// Do not invert status icons\n\t\t&:not(.panel-status) label span {\n\t\t\tfilter: var(--background-invert-if-dark);\n\t\t}\n\n\t\tinput[type='checkbox'].checkbox + label:before {\n\t\t\tposition: absolute;\n\t\t\tright: 12px;\n\t\t\ttop: 16px;\n\t\t}\n\n\t\tinput:focus + label {\n\t\t\tborder-color: var(--color-primary-element);\n\t\t}\n\t}\n\n\th3 {\n\t\tfont-weight: bold;\n\n\t\t&:not(:first-of-type) {\n\t\t\tmargin-top: 64px;\n\t\t}\n\t}\n\n\t// Adjust design of 'Get more widgets' button\n\t.button {\n\t\tdisplay: inline-block;\n\t\tpadding: 10px 16px;\n\t\tmargin: 0;\n\t}\n\n\tp {\n\t\tmax-width: 650px;\n\t\tmargin: 0 auto;\n\n\t\ta:hover,\n\t\ta:focus {\n\t\t\tborder-bottom: 2px solid var(--color-border);\n\t\t}\n\t}\n\n\t.credits--end {\n\t\tpadding-bottom: 32px;\n\t\tcolor: var(--color-text-maxcontrast);\n\n\t\ta {\n\t\t\tcolor: var(--color-text-maxcontrast);\n\t\t}\n\t}\n}\n\n.flip-list-move {\n\ttransition: transform var(--animation-slow);\n}\n\n.statuses {\n\tdisplay: flex;\n\tflex-direction: row;\n\tjustify-content: center;\n\tflex-wrap: wrap;\n\tmargin-bottom: 36px;\n\n\t& > li {\n\t\tmargin: 8px;\n\t}\n}\n</style>\n<style>\nhtml, body {\n\tbackground-attachment: fixed;\n}\n\n#body-user #header {\n\tposition: fixed;\n}\n\n#content {\n\toverflow: auto;\n}\n</style>\n"],sourceRoot:""}]);const s=o},31715:(t,e,n)=>{"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function r(){return r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},r.apply(this,arguments)}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),i.forEach((function(e){a(t,e,n[e])}))}return t}function s(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}n.r(e),n.d(e,{MultiDrag:()=>me,Sortable:()=>Dt,Swap:()=>re,default:()=>be});var l=s(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),c=s(/Edge/i),d=s(/firefox/i),u=s(/safari/i)&&!s(/chrome/i)&&!s(/android/i),p=s(/iP(ad|od|hone)/i),h=s(/chrome/i)&&s(/android/i),f={capture:!1,passive:!1};function A(t,e,n){t.addEventListener(e,n,!l&&f)}function m(t,e,n){t.removeEventListener(e,n,!l&&f)}function g(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(t){return!1}return!1}}function v(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function b(t,e,n,i){if(t){n=n||document;do{if(null!=e&&(">"===e[0]?t.parentNode===n&&g(t,e):g(t,e))||i&&t===n)return t;if(t===n)break}while(t=v(t))}return null}var y,C=/\s+/g;function x(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var i=(" "+t.className+" ").replace(C," ").replace(" "+e+" "," ");t.className=(i+(n?" "+e:"")).replace(C," ")}}function w(t,e,n){var i=t&&t.style;if(i){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in i||-1!==e.indexOf("webkit")||(e="-webkit-"+e),i[e]=n+("string"==typeof n?"":"px")}}function E(t,e){var n="";if("string"==typeof t)n=t;else do{var i=w(t,"transform");i&&"none"!==i&&(n=i+" "+n)}while(!e&&(t=t.parentNode));var a=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return a&&new a(n)}function _(t,e,n){if(t){var i=t.getElementsByTagName(e),a=0,r=i.length;if(n)for(;a<r;a++)n(i[a],a);return i}return[]}function B(){return document.scrollingElement||document.documentElement}function k(t,e,n,i,a){if(t.getBoundingClientRect||t===window){var r,o,s,c,d,u,p;if(t!==window&&t!==B()?(o=(r=t.getBoundingClientRect()).top,s=r.left,c=r.bottom,d=r.right,u=r.height,p=r.width):(o=0,s=0,c=window.innerHeight,d=window.innerWidth,u=window.innerHeight,p=window.innerWidth),(e||n)&&t!==window&&(a=a||t.parentNode,!l))do{if(a&&a.getBoundingClientRect&&("none"!==w(a,"transform")||n&&"static"!==w(a,"position"))){var h=a.getBoundingClientRect();o-=h.top+parseInt(w(a,"border-top-width")),s-=h.left+parseInt(w(a,"border-left-width")),c=o+r.height,d=s+r.width;break}}while(a=a.parentNode);if(i&&t!==window){var f=E(a||t),A=f&&f.a,m=f&&f.d;f&&(c=(o/=m)+(u/=m),d=(s/=A)+(p/=A))}return{top:o,left:s,bottom:c,right:d,width:p,height:u}}}function S(t,e,n){for(var i=P(t,!0),a=k(t)[e];i;){var r=k(i)[n];if(!("top"===n||"left"===n?a>=r:a<=r))return i;if(i===B())break;i=P(i,!1)}return!1}function T(t,e,n){for(var i=0,a=0,r=t.children;a<r.length;){if("none"!==r[a].style.display&&r[a]!==Dt.ghost&&r[a]!==Dt.dragged&&b(r[a],n.draggable,t,!1)){if(i===e)return r[a];i++}a++}return null}function I(t,e){for(var n=t.lastElementChild;n&&(n===Dt.ghost||"none"===w(n,"display")||e&&!g(n,e));)n=n.previousElementSibling;return n||null}function N(t,e){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Dt.clone||e&&!g(t,e)||n++;return n}function L(t){var e=0,n=0,i=B();if(t)do{var a=E(t),r=a.a,o=a.d;e+=t.scrollLeft*r,n+=t.scrollTop*o}while(t!==i&&(t=t.parentNode));return[e,n]}function P(t,e){if(!t||!t.getBoundingClientRect)return B();var n=t,i=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var a=w(n);if(n.clientWidth<n.scrollWidth&&("auto"==a.overflowX||"scroll"==a.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==a.overflowY||"scroll"==a.overflowY)){if(!n.getBoundingClientRect||n===document.body)return B();if(i||e)return n;i=!0}}}while(n=n.parentNode);return B()}function M(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}function O(t,e){return function(){if(!y){var n=arguments;1===n.length?t.call(this,n[0]):t.apply(this,n),y=setTimeout((function(){y=void 0}),e)}}}function R(t,e,n){t.scrollLeft+=e,t.scrollTop+=n}function D(t){var e=window.Polymer,n=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}function j(t,e){w(t,"position","absolute"),w(t,"top",e.top),w(t,"left",e.left),w(t,"width",e.width),w(t,"height",e.height)}function U(t){w(t,"position",""),w(t,"top",""),w(t,"left",""),w(t,"width",""),w(t,"height","")}var G="Sortable"+(new Date).getTime();var W=[],F={initializeByDefault:!0},Z={mount:function(t){for(var e in F)F.hasOwnProperty(e)&&!(e in t)&&(t[e]=F[e]);W.push(t)},pluginEvent:function(t,e,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var a=t+"Global";W.forEach((function(i){e[i.pluginName]&&(e[i.pluginName][a]&&e[i.pluginName][a](o({sortable:e},n)),e.options[i.pluginName]&&e[i.pluginName][t]&&e[i.pluginName][t](o({sortable:e},n)))}))},initializePlugins:function(t,e,n,i){for(var a in W.forEach((function(i){var a=i.pluginName;if(t.options[a]||i.initializeByDefault){var o=new i(t,e,t.options);o.sortable=t,o.options=t.options,t[a]=o,r(n,o.defaults)}})),t.options)if(t.options.hasOwnProperty(a)){var o=this.modifyOption(t,a,t.options[a]);void 0!==o&&(t.options[a]=o)}},getEventProperties:function(t,e){var n={};return W.forEach((function(i){"function"==typeof i.eventProperties&&r(n,i.eventProperties.call(e[i.pluginName],t))})),n},modifyOption:function(t,e,n){var i;return W.forEach((function(a){t[a.pluginName]&&a.optionListeners&&"function"==typeof a.optionListeners[e]&&(i=a.optionListeners[e].call(t[a.pluginName],n))})),i}};function Y(t){var e=t.sortable,n=t.rootEl,i=t.name,a=t.targetEl,r=t.cloneEl,s=t.toEl,d=t.fromEl,u=t.oldIndex,p=t.newIndex,h=t.oldDraggableIndex,f=t.newDraggableIndex,A=t.originalEvent,m=t.putSortable,g=t.extraEventProperties;if(e=e||n&&n[G]){var v,b=e.options,y="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||l||c?(v=document.createEvent("Event")).initEvent(i,!0,!0):v=new CustomEvent(i,{bubbles:!0,cancelable:!0}),v.to=s||n,v.from=d||n,v.item=a||n,v.clone=r,v.oldIndex=u,v.newIndex=p,v.oldDraggableIndex=h,v.newDraggableIndex=f,v.originalEvent=A,v.pullMode=m?m.lastPutMode:void 0;var C=o({},g,Z.getEventProperties(i,e));for(var x in C)v[x]=C[x];n&&n.dispatchEvent(v),b[y]&&b[y].call(e,v)}}var z=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,a=function(t,e){if(null==t)return{};var n,i,a=function(t,e){if(null==t)return{};var n,i,a={},r=Object.keys(t);for(i=0;i<r.length;i++)n=r[i],e.indexOf(n)>=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(i=0;i<r.length;i++)n=r[i],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}(n,["evt"]);Z.pluginEvent.bind(Dt)(t,e,o({dragEl:H,parentEl:V,ghostEl:q,rootEl:X,nextEl:J,lastDownEl:K,cloneEl:Q,cloneHidden:tt,dragStarted:ht,putSortable:ot,activeSortable:Dt.active,originalEvent:i,oldIndex:et,oldDraggableIndex:it,newIndex:nt,newDraggableIndex:at,hideGhostForTarget:Pt,unhideGhostForTarget:Mt,cloneNowHidden:function(){tt=!0},cloneNowShown:function(){tt=!1},dispatchSortableEvent:function(t){$({sortable:e,name:t,originalEvent:i})}},a))};function $(t){Y(o({putSortable:ot,cloneEl:Q,targetEl:H,rootEl:X,oldIndex:et,oldDraggableIndex:it,newIndex:nt,newDraggableIndex:at},t))}var H,V,q,X,J,K,Q,tt,et,nt,it,at,rt,ot,st,lt,ct,dt,ut,pt,ht,ft,At,mt,gt,vt=!1,bt=!1,yt=[],Ct=!1,xt=!1,wt=[],Et=!1,_t=[],Bt="undefined"!=typeof document,kt=p,St=c||l?"cssFloat":"float",Tt=Bt&&!h&&!p&&"draggable"in document.createElement("div"),It=function(){if(Bt){if(l)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Nt=function(t,e){var n=w(t),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),a=T(t,0,e),r=T(t,1,e),o=a&&w(a),s=r&&w(r),l=o&&parseInt(o.marginLeft)+parseInt(o.marginRight)+k(a).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+k(r).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(a&&o.float&&"none"!==o.float){var d="left"===o.float?"left":"right";return!r||"both"!==s.clear&&s.clear!==d?"horizontal":"vertical"}return a&&("block"===o.display||"flex"===o.display||"table"===o.display||"grid"===o.display||l>=i&&"none"===n[St]||r&&"none"===n[St]&&l+c>i)?"vertical":"horizontal"},Lt=function(t){function e(t,n){return function(i,a,r,o){var s=i.options.group.name&&a.options.group.name&&i.options.group.name===a.options.group.name;if(null==t&&(n||s))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return e(t(i,a,r,o),n)(i,a,r,o);var l=(n?i:a).options.group.name;return!0===t||"string"==typeof t&&t===l||t.join&&t.indexOf(l)>-1}}var n={},a=t.group;a&&"object"==i(a)||(a={name:a}),n.name=a.name,n.checkPull=e(a.pull,!0),n.checkPut=e(a.put),n.revertClone=a.revertClone,t.group=n},Pt=function(){!It&&q&&w(q,"display","none")},Mt=function(){!It&&q&&w(q,"display","")};Bt&&document.addEventListener("click",(function(t){if(bt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),bt=!1,!1}),!0);var Ot=function(t){if(H){t=t.touches?t.touches[0]:t;var e=(a=t.clientX,r=t.clientY,yt.some((function(t){if(!I(t)){var e=k(t),n=t[G].options.emptyInsertThreshold,i=a>=e.left-n&&a<=e.right+n,s=r>=e.top-n&&r<=e.bottom+n;return n&&i&&s?o=t:void 0}})),o);if(e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[G]._onDragOver(n)}}var a,r,o},Rt=function(t){H&&H.parentNode[G]._isOutsideThisEl(t.target)};function Dt(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=r({},e),t[G]=this;var n,i,a={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Nt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Dt.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var s in Z.initializePlugins(this,t,a),a)!(s in e)&&(e[s]=a[s]);for(var l in Lt(e),this)"_"===l.charAt(0)&&"function"==typeof this[l]&&(this[l]=this[l].bind(this));this.nativeDraggable=!e.forceFallback&&Tt,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?A(t,"pointerdown",this._onTapStart):(A(t,"mousedown",this._onTapStart),A(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(A(t,"dragover",this),A(t,"dragenter",this)),yt.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),r(this,(i=[],{captureAnimationState:function(){i=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==w(t,"display")&&t!==Dt.ghost){i.push({target:t,rect:k(t)});var e=o({},i[i.length-1].rect);if(t.thisAnimationDuration){var n=E(t,!0);n&&(e.top-=n.f,e.left-=n.e)}t.fromRect=e}}))},addAnimationState:function(t){i.push(t)},removeAnimationState:function(t){i.splice(function(t,e){for(var n in t)if(t.hasOwnProperty(n))for(var i in e)if(e.hasOwnProperty(i)&&e[i]===t[n][i])return Number(n);return-1}(i,{target:t}),1)},animateAll:function(t){var e=this;if(!this.options.animation)return clearTimeout(n),void("function"==typeof t&&t());var a=!1,r=0;i.forEach((function(t){var n=0,i=t.target,o=i.fromRect,s=k(i),l=i.prevFromRect,c=i.prevToRect,d=t.rect,u=E(i,!0);u&&(s.top-=u.f,s.left-=u.e),i.toRect=s,i.thisAnimationDuration&&M(l,s)&&!M(o,s)&&(d.top-s.top)/(d.left-s.left)==(o.top-s.top)/(o.left-s.left)&&(n=function(t,e,n,i){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*i.animation}(d,l,c,e.options)),M(s,o)||(i.prevFromRect=o,i.prevToRect=s,n||(n=e.options.animation),e.animate(i,d,s,n)),n&&(a=!0,r=Math.max(r,n),clearTimeout(i.animationResetTimer),i.animationResetTimer=setTimeout((function(){i.animationTime=0,i.prevFromRect=null,i.fromRect=null,i.prevToRect=null,i.thisAnimationDuration=null}),n),i.thisAnimationDuration=n)})),clearTimeout(n),a?n=setTimeout((function(){"function"==typeof t&&t()}),r):"function"==typeof t&&t(),i=[]},animate:function(t,e,n,i){if(i){w(t,"transition",""),w(t,"transform","");var a=E(this.el),r=a&&a.a,o=a&&a.d,s=(e.left-n.left)/(r||1),l=(e.top-n.top)/(o||1);t.animatingX=!!s,t.animatingY=!!l,w(t,"transform","translate3d("+s+"px,"+l+"px,0)"),function(t){t.offsetWidth}(t),w(t,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),w(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){w(t,"transition",""),w(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),i)}}}))}function jt(t,e,n,i,a,r,o,s){var d,u,p=t[G],h=p.options.onMove;return!window.CustomEvent||l||c?(d=document.createEvent("Event")).initEvent("move",!0,!0):d=new CustomEvent("move",{bubbles:!0,cancelable:!0}),d.to=e,d.from=t,d.dragged=n,d.draggedRect=i,d.related=a||e,d.relatedRect=r||k(e),d.willInsertAfter=s,d.originalEvent=o,t.dispatchEvent(d),h&&(u=h.call(p,d,o)),u}function Ut(t){t.draggable=!1}function Gt(){Et=!1}function Wt(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,i=0;n--;)i+=e.charCodeAt(n);return i.toString(36)}function Ft(t){return setTimeout(t,0)}function Zt(t){return clearTimeout(t)}Dt.prototype={constructor:Dt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(ft=null)},_getDirection:function(t,e){return"function"==typeof this.options.direction?this.options.direction.call(this,t,e,H):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,i=this.options,a=i.preventOnFilter,r=t.type,o=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,s=(o||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,c=i.filter;if(function(t){_t.length=0;for(var e=t.getElementsByTagName("input"),n=e.length;n--;){var i=e[n];i.checked&&_t.push(i)}}(n),!H&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||i.disabled||l.isContentEditable||(s=b(s,i.draggable,n,!1))&&s.animated||K===s)){if(et=N(s),it=N(s,i.draggable),"function"==typeof c){if(c.call(this,t,s,this))return $({sortable:e,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),z("filter",e,{evt:t}),void(a&&t.cancelable&&t.preventDefault())}else if(c&&(c=c.split(",").some((function(i){if(i=b(l,i.trim(),n,!1))return $({sortable:e,rootEl:i,name:"filter",targetEl:s,fromEl:n,toEl:n}),z("filter",e,{evt:t}),!0}))))return void(a&&t.cancelable&&t.preventDefault());i.handle&&!b(l,i.handle,n,!1)||this._prepareDragStart(t,o,s)}}},_prepareDragStart:function(t,e,n){var i,a=this,r=a.el,o=a.options,s=r.ownerDocument;if(n&&!H&&n.parentNode===r){var u=k(n);if(X=r,V=(H=n).parentNode,J=H.nextSibling,K=n,rt=o.group,Dt.dragged=H,st={target:H,clientX:(e||t).clientX,clientY:(e||t).clientY},ut=st.clientX-u.left,pt=st.clientY-u.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,H.style["will-change"]="all",i=function(){z("delayEnded",a,{evt:t}),Dt.eventCanceled?a._onDrop():(a._disableDelayedDragEvents(),!d&&a.nativeDraggable&&(H.draggable=!0),a._triggerDragStart(t,e),$({sortable:a,name:"choose",originalEvent:t}),x(H,o.chosenClass,!0))},o.ignore.split(",").forEach((function(t){_(H,t.trim(),Ut)})),A(s,"dragover",Ot),A(s,"mousemove",Ot),A(s,"touchmove",Ot),A(s,"mouseup",a._onDrop),A(s,"touchend",a._onDrop),A(s,"touchcancel",a._onDrop),d&&this.nativeDraggable&&(this.options.touchStartThreshold=4,H.draggable=!0),z("delayStart",this,{evt:t}),!o.delay||o.delayOnTouchOnly&&!e||this.nativeDraggable&&(c||l))i();else{if(Dt.eventCanceled)return void this._onDrop();A(s,"mouseup",a._disableDelayedDrag),A(s,"touchend",a._disableDelayedDrag),A(s,"touchcancel",a._disableDelayedDrag),A(s,"mousemove",a._delayedDragTouchMoveHandler),A(s,"touchmove",a._delayedDragTouchMoveHandler),o.supportPointer&&A(s,"pointermove",a._delayedDragTouchMoveHandler),a._dragStartTimer=setTimeout(i,o.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){H&&Ut(H),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;m(t,"mouseup",this._disableDelayedDrag),m(t,"touchend",this._disableDelayedDrag),m(t,"touchcancel",this._disableDelayedDrag),m(t,"mousemove",this._delayedDragTouchMoveHandler),m(t,"touchmove",this._delayedDragTouchMoveHandler),m(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?A(document,"pointermove",this._onTouchMove):A(document,e?"touchmove":"mousemove",this._onTouchMove):(A(H,"dragend",this),A(X,"dragstart",this._onDragStart));try{document.selection?Ft((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,e){if(vt=!1,X&&H){z("dragStarted",this,{evt:e}),this.nativeDraggable&&A(document,"dragover",Rt);var n=this.options;!t&&x(H,n.dragClass,!1),x(H,n.ghostClass,!0),Dt.active=this,t&&this._appendGhost(),$({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(lt){this._lastX=lt.clientX,this._lastY=lt.clientY,Pt();for(var t=document.elementFromPoint(lt.clientX,lt.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(lt.clientX,lt.clientY))!==e;)e=t;if(H.parentNode[G]._isOutsideThisEl(t),e)do{if(e[G]&&e[G]._onDragOver({clientX:lt.clientX,clientY:lt.clientY,target:t,rootEl:e})&&!this.options.dragoverBubble)break;t=e}while(e=e.parentNode);Mt()}},_onTouchMove:function(t){if(st){var e=this.options,n=e.fallbackTolerance,i=e.fallbackOffset,a=t.touches?t.touches[0]:t,r=q&&E(q,!0),o=q&&r&&r.a,s=q&&r&&r.d,l=kt&&gt&&L(gt),c=(a.clientX-st.clientX+i.x)/(o||1)+(l?l[0]-wt[0]:0)/(o||1),d=(a.clientY-st.clientY+i.y)/(s||1)+(l?l[1]-wt[1]:0)/(s||1);if(!Dt.active&&!vt){if(n&&Math.max(Math.abs(a.clientX-this._lastX),Math.abs(a.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(q){r?(r.e+=c-(ct||0),r.f+=d-(dt||0)):r={a:1,b:0,c:0,d:1,e:c,f:d};var u="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");w(q,"webkitTransform",u),w(q,"mozTransform",u),w(q,"msTransform",u),w(q,"transform",u),ct=c,dt=d,lt=a}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!q){var t=this.options.fallbackOnBody?document.body:X,e=k(H,!0,kt,!0,t),n=this.options;if(kt){for(gt=t;"static"===w(gt,"position")&&"none"===w(gt,"transform")&&gt!==document;)gt=gt.parentNode;gt!==document.body&&gt!==document.documentElement?(gt===document&&(gt=B()),e.top+=gt.scrollTop,e.left+=gt.scrollLeft):gt=B(),wt=L(gt)}x(q=H.cloneNode(!0),n.ghostClass,!1),x(q,n.fallbackClass,!0),x(q,n.dragClass,!0),w(q,"transition",""),w(q,"transform",""),w(q,"box-sizing","border-box"),w(q,"margin",0),w(q,"top",e.top),w(q,"left",e.left),w(q,"width",e.width),w(q,"height",e.height),w(q,"opacity","0.8"),w(q,"position",kt?"absolute":"fixed"),w(q,"zIndex","100000"),w(q,"pointerEvents","none"),Dt.ghost=q,t.appendChild(q),w(q,"transform-origin",ut/parseInt(q.style.width)*100+"% "+pt/parseInt(q.style.height)*100+"%")}},_onDragStart:function(t,e){var n=this,i=t.dataTransfer,a=n.options;z("dragStart",this,{evt:t}),Dt.eventCanceled?this._onDrop():(z("setupClone",this),Dt.eventCanceled||((Q=D(H)).draggable=!1,Q.style["will-change"]="",this._hideClone(),x(Q,this.options.chosenClass,!1),Dt.clone=Q),n.cloneId=Ft((function(){z("clone",n),Dt.eventCanceled||(n.options.removeCloneOnHide||X.insertBefore(Q,H),n._hideClone(),$({sortable:n,name:"clone"}))})),!e&&x(H,a.dragClass,!0),e?(bt=!0,n._loopId=setInterval(n._emulateDragOver,50)):(m(document,"mouseup",n._onDrop),m(document,"touchend",n._onDrop),m(document,"touchcancel",n._onDrop),i&&(i.effectAllowed="move",a.setData&&a.setData.call(n,i,H)),A(document,"drop",n),w(H,"transform","translateZ(0)")),vt=!0,n._dragStartId=Ft(n._dragStarted.bind(n,e,t)),A(document,"selectstart",n),ht=!0,u&&w(document.body,"user-select","none"))},_onDragOver:function(t){var e,n,i,a,r=this.el,s=t.target,l=this.options,c=l.group,d=Dt.active,u=rt===c,p=l.sort,h=ot||d,f=this,A=!1;if(!Et){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=b(s,l.draggable,r,!0),D("dragOver"),Dt.eventCanceled)return A;if(H.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||f._ignoreWhileAnimating===s)return U(!1);if(bt=!1,d&&!l.disabled&&(u?p||(i=!X.contains(H)):ot===this||(this.lastPutMode=rt.checkPull(this,d,H,t))&&c.checkPut(this,d,H,t))){if(a="vertical"===this._getDirection(t,s),e=k(H),D("dragOverValid"),Dt.eventCanceled)return A;if(i)return V=X,j(),this._hideClone(),D("revert"),Dt.eventCanceled||(J?X.insertBefore(H,J):X.appendChild(H)),U(!0);var m=I(r,l.draggable);if(!m||function(t,e,n){var i=k(I(n.el,n.options.draggable));return e?t.clientX>i.right+10||t.clientX<=i.right&&t.clientY>i.bottom&&t.clientX>=i.left:t.clientX>i.right&&t.clientY>i.top||t.clientX<=i.right&&t.clientY>i.bottom+10}(t,a,this)&&!m.animated){if(m===H)return U(!1);if(m&&r===t.target&&(s=m),s&&(n=k(s)),!1!==jt(X,r,H,e,s,n,t,!!s))return j(),r.appendChild(H),V=r,W(),U(!0)}else if(s.parentNode===r){n=k(s);var g,v,y,C=H.parentNode!==r,E=!function(t,e,n){var i=n?t.left:t.top,a=n?t.right:t.bottom,r=n?t.width:t.height,o=n?e.left:e.top,s=n?e.right:e.bottom,l=n?e.width:e.height;return i===o||a===s||i+r/2===o+l/2}(H.animated&&H.toRect||e,s.animated&&s.toRect||n,a),_=a?"top":"left",B=S(s,"top","top")||S(H,"top","top"),T=B?B.scrollTop:void 0;if(ft!==s&&(v=n[_],Ct=!1,xt=!E&&l.invertSwap||C),g=function(t,e,n,i,a,r,o,s){var l=i?t.clientY:t.clientX,c=i?n.height:n.width,d=i?n.top:n.left,u=i?n.bottom:n.right,p=!1;if(!o)if(s&&mt<c*a){if(!Ct&&(1===At?l>d+c*r/2:l<u-c*r/2)&&(Ct=!0),Ct)p=!0;else if(1===At?l<d+mt:l>u-mt)return-At}else if(l>d+c*(1-a)/2&&l<u-c*(1-a)/2)return function(t){return N(H)<N(t)?1:-1}(e);return(p=p||o)&&(l<d+c*r/2||l>u-c*r/2)?l>d+c/2?1:-1:0}(t,s,n,a,E?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,xt,ft===s),0!==g){var L=N(H);do{L-=g,y=V.children[L]}while(y&&("none"===w(y,"display")||y===q))}if(0===g||y===s)return U(!1);ft=s,At=g;var P=s.nextElementSibling,M=!1,O=jt(X,r,H,e,s,n,t,M=1===g);if(!1!==O)return 1!==O&&-1!==O||(M=1===O),Et=!0,setTimeout(Gt,30),j(),M&&!P?r.appendChild(H):s.parentNode.insertBefore(H,M?P:s),B&&R(B,0,T-B.scrollTop),V=H.parentNode,void 0===v||xt||(mt=Math.abs(v-k(s)[_])),W(),U(!0)}if(r.contains(H))return U(!1)}return!1}function D(l,c){z(l,f,o({evt:t,isOwner:u,axis:a?"vertical":"horizontal",revert:i,dragRect:e,targetRect:n,canSort:p,fromSortable:h,target:s,completed:U,onMove:function(n,i){return jt(X,r,H,e,n,k(n),t,i)},changed:W},c))}function j(){D("dragOverAnimationCapture"),f.captureAnimationState(),f!==h&&h.captureAnimationState()}function U(e){return D("dragOverCompleted",{insertion:e}),e&&(u?d._hideClone():d._showClone(f),f!==h&&(x(H,ot?ot.options.ghostClass:d.options.ghostClass,!1),x(H,l.ghostClass,!0)),ot!==f&&f!==Dt.active?ot=f:f===Dt.active&&ot&&(ot=null),h===f&&(f._ignoreWhileAnimating=s),f.animateAll((function(){D("dragOverAnimationComplete"),f._ignoreWhileAnimating=null})),f!==h&&(h.animateAll(),h._ignoreWhileAnimating=null)),(s===H&&!H.animated||s===r&&!s.animated)&&(ft=null),l.dragoverBubble||t.rootEl||s===document||(H.parentNode[G]._isOutsideThisEl(t.target),!e&&Ot(t)),!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),A=!0}function W(){nt=N(H),at=N(H,l.draggable),$({sortable:f,name:"change",toEl:r,newIndex:nt,newDraggableIndex:at,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){m(document,"mousemove",this._onTouchMove),m(document,"touchmove",this._onTouchMove),m(document,"pointermove",this._onTouchMove),m(document,"dragover",Ot),m(document,"mousemove",Ot),m(document,"touchmove",Ot)},_offUpEvents:function(){var t=this.el.ownerDocument;m(t,"mouseup",this._onDrop),m(t,"touchend",this._onDrop),m(t,"pointerup",this._onDrop),m(t,"touchcancel",this._onDrop),m(document,"selectstart",this)},_onDrop:function(t){var e=this.el,n=this.options;nt=N(H),at=N(H,n.draggable),z("drop",this,{evt:t}),V=H&&H.parentNode,nt=N(H),at=N(H,n.draggable),Dt.eventCanceled||(vt=!1,xt=!1,Ct=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Zt(this.cloneId),Zt(this._dragStartId),this.nativeDraggable&&(m(document,"drop",this),m(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),u&&w(document.body,"user-select",""),w(H,"transform",""),t&&(ht&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),q&&q.parentNode&&q.parentNode.removeChild(q),(X===V||ot&&"clone"!==ot.lastPutMode)&&Q&&Q.parentNode&&Q.parentNode.removeChild(Q),H&&(this.nativeDraggable&&m(H,"dragend",this),Ut(H),H.style["will-change"]="",ht&&!vt&&x(H,ot?ot.options.ghostClass:this.options.ghostClass,!1),x(H,this.options.chosenClass,!1),$({sortable:this,name:"unchoose",toEl:V,newIndex:null,newDraggableIndex:null,originalEvent:t}),X!==V?(nt>=0&&($({rootEl:V,name:"add",toEl:V,fromEl:X,originalEvent:t}),$({sortable:this,name:"remove",toEl:V,originalEvent:t}),$({rootEl:V,name:"sort",toEl:V,fromEl:X,originalEvent:t}),$({sortable:this,name:"sort",toEl:V,originalEvent:t})),ot&&ot.save()):nt!==et&&nt>=0&&($({sortable:this,name:"update",toEl:V,originalEvent:t}),$({sortable:this,name:"sort",toEl:V,originalEvent:t})),Dt.active&&(null!=nt&&-1!==nt||(nt=et,at=it),$({sortable:this,name:"end",toEl:V,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){z("nulling",this),X=H=V=q=J=Q=K=tt=st=lt=ht=nt=at=et=it=ft=At=ot=rt=Dt.dragged=Dt.ghost=Dt.clone=Dt.active=null,_t.forEach((function(t){t.checked=!0})),_t.length=ct=dt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":H&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,e=[],n=this.el.children,i=0,a=n.length,r=this.options;i<a;i++)b(t=n[i],r.draggable,this.el,!1)&&e.push(t.getAttribute(r.dataIdAttr)||Wt(t));return e},sort:function(t){var e={},n=this.el;this.toArray().forEach((function(t,i){var a=n.children[i];b(a,this.options.draggable,n,!1)&&(e[t]=a)}),this),t.forEach((function(t){e[t]&&(n.removeChild(e[t]),n.appendChild(e[t]))}))},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return b(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var n=this.options;if(void 0===e)return n[t];var i=Z.modifyOption(this,t,e);n[t]=void 0!==i?i:e,"group"===t&&Lt(n)},destroy:function(){z("destroy",this);var t=this.el;t[G]=null,m(t,"mousedown",this._onTapStart),m(t,"touchstart",this._onTapStart),m(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(m(t,"dragover",this),m(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),yt.splice(yt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!tt){if(z("hideClone",this),Dt.eventCanceled)return;w(Q,"display","none"),this.options.removeCloneOnHide&&Q.parentNode&&Q.parentNode.removeChild(Q),tt=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(tt){if(z("showClone",this),Dt.eventCanceled)return;X.contains(H)&&!this.options.group.revertClone?X.insertBefore(Q,H):J?X.insertBefore(Q,J):X.appendChild(Q),this.options.group.revertClone&&this.animate(H,Q),w(Q,"display",""),tt=!1}}else this._hideClone()}},Bt&&A(document,"touchmove",(function(t){(Dt.active||vt)&&t.cancelable&&t.preventDefault()})),Dt.utils={on:A,off:m,css:w,find:_,is:function(t,e){return!!b(t,e,t,!1)},extend:function(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},throttle:O,closest:b,toggleClass:x,clone:D,index:N,nextTick:Ft,cancelNextTick:Zt,detectDirection:Nt,getChild:T},Dt.get=function(t){return t[G]},Dt.mount=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e[0].constructor===Array&&(e=e[0]),e.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Dt.utils=o({},Dt.utils,t.utils)),Z.mount(t)}))},Dt.create=function(t,e){return new Dt(t,e)},Dt.version="1.10.2";var Yt,zt,$t,Ht,Vt,qt,Xt=[],Jt=!1;function Kt(){Xt.forEach((function(t){clearInterval(t.pid)})),Xt=[]}function Qt(){clearInterval(qt)}var te,ee=O((function(t,e,n,i){if(e.scroll){var a,r=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,s=e.scrollSensitivity,l=e.scrollSpeed,c=B(),d=!1;zt!==n&&(zt=n,Kt(),Yt=e.scroll,a=e.scrollFn,!0===Yt&&(Yt=P(n,!0)));var u=0,p=Yt;do{var h=p,f=k(h),A=f.top,m=f.bottom,g=f.left,v=f.right,b=f.width,y=f.height,C=void 0,x=void 0,E=h.scrollWidth,_=h.scrollHeight,S=w(h),T=h.scrollLeft,I=h.scrollTop;h===c?(C=b<E&&("auto"===S.overflowX||"scroll"===S.overflowX||"visible"===S.overflowX),x=y<_&&("auto"===S.overflowY||"scroll"===S.overflowY||"visible"===S.overflowY)):(C=b<E&&("auto"===S.overflowX||"scroll"===S.overflowX),x=y<_&&("auto"===S.overflowY||"scroll"===S.overflowY));var N=C&&(Math.abs(v-r)<=s&&T+b<E)-(Math.abs(g-r)<=s&&!!T),L=x&&(Math.abs(m-o)<=s&&I+y<_)-(Math.abs(A-o)<=s&&!!I);if(!Xt[u])for(var M=0;M<=u;M++)Xt[M]||(Xt[M]={});Xt[u].vx==N&&Xt[u].vy==L&&Xt[u].el===h||(Xt[u].el=h,Xt[u].vx=N,Xt[u].vy=L,clearInterval(Xt[u].pid),0==N&&0==L||(d=!0,Xt[u].pid=setInterval(function(){i&&0===this.layer&&Dt.active._onTouchMove(Vt);var e=Xt[this.layer].vy?Xt[this.layer].vy*l:0,n=Xt[this.layer].vx?Xt[this.layer].vx*l:0;"function"==typeof a&&"continue"!==a.call(Dt.dragged.parentNode[G],n,e,t,Vt,Xt[this.layer].el)||R(Xt[this.layer].el,n,e)}.bind({layer:u}),24))),u++}while(e.bubbleScroll&&p!==c&&(p=P(p,!1)));Jt=d}}),30),ne=function(t){var e=t.originalEvent,n=t.putSortable,i=t.dragEl,a=t.activeSortable,r=t.dispatchSortableEvent,o=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(e){var l=n||a;o();var c=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,d=document.elementFromPoint(c.clientX,c.clientY);s(),l&&!l.el.contains(d)&&(r("spill"),this.onSpill({dragEl:i,putSortable:n}))}};function ie(){}function ae(){}function re(){function t(){this.defaults={swapClass:"sortable-swap-highlight"}}return t.prototype={dragStart:function(t){var e=t.dragEl;te=e},dragOverValid:function(t){var e=t.completed,n=t.target,i=t.onMove,a=t.activeSortable,r=t.changed,o=t.cancel;if(a.options.swap){var s=this.sortable.el,l=this.options;if(n&&n!==s){var c=te;!1!==i(n)?(x(n,l.swapClass,!0),te=n):te=null,c&&c!==te&&x(c,l.swapClass,!1)}r(),e(!0),o()}},drop:function(t){var e,n,i,a,r,o,s=t.activeSortable,l=t.putSortable,c=t.dragEl,d=l||this.sortable,u=this.options;te&&x(te,u.swapClass,!1),te&&(u.swap||l&&l.options.swap)&&c!==te&&(d.captureAnimationState(),d!==s&&s.captureAnimationState(),n=te,r=(e=c).parentNode,o=n.parentNode,r&&o&&!r.isEqualNode(n)&&!o.isEqualNode(e)&&(i=N(e),a=N(n),r.isEqualNode(o)&&i<a&&a++,r.insertBefore(n,r.children[i]),o.insertBefore(e,o.children[a])),d.animateAll(),d!==s&&s.animateAll())},nulling:function(){te=null}},r(t,{pluginName:"swap",eventProperties:function(){return{swapItem:te}}})}ie.prototype={startIndex:null,dragStart:function(t){var e=t.oldDraggableIndex;this.startIndex=e},onSpill:function(t){var e=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var i=T(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(e,i):this.sortable.el.appendChild(e),this.sortable.animateAll(),n&&n.animateAll()},drop:ne},r(ie,{pluginName:"revertOnSpill"}),ae.prototype={onSpill:function(t){var e=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),n.animateAll()},drop:ne},r(ae,{pluginName:"removeOnSpill"});var oe,se,le,ce,de,ue=[],pe=[],he=!1,fe=!1,Ae=!1;function me(){function t(t){for(var e in this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this));t.options.supportPointer?A(document,"pointerup",this._deselectMultiDrag):(A(document,"mouseup",this._deselectMultiDrag),A(document,"touchend",this._deselectMultiDrag)),A(document,"keydown",this._checkKeyDown),A(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(e,n){var i="";ue.length&&se===t?ue.forEach((function(t,e){i+=(e?", ":"")+t.textContent})):i=n.textContent,e.setData("Text",i)}}}return t.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(t){var e=t.dragEl;le=e},delayEnded:function(){this.isMultiDrag=~ue.indexOf(le)},setupClone:function(t){var e=t.sortable,n=t.cancel;if(this.isMultiDrag){for(var i=0;i<ue.length;i++)pe.push(D(ue[i])),pe[i].sortableIndex=ue[i].sortableIndex,pe[i].draggable=!1,pe[i].style["will-change"]="",x(pe[i],this.options.selectedClass,!1),ue[i]===le&&x(pe[i],this.options.chosenClass,!1);e._hideClone(),n()}},clone:function(t){var e=t.sortable,n=t.rootEl,i=t.dispatchSortableEvent,a=t.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||ue.length&&se===e&&(ge(!0,n),i("clone"),a()))},showClone:function(t){var e=t.cloneNowShown,n=t.rootEl,i=t.cancel;this.isMultiDrag&&(ge(!1,n),pe.forEach((function(t){w(t,"display","")})),e(),de=!1,i())},hideClone:function(t){var e=this,n=(t.sortable,t.cloneNowHidden),i=t.cancel;this.isMultiDrag&&(pe.forEach((function(t){w(t,"display","none"),e.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)})),n(),de=!0,i())},dragStartGlobal:function(t){t.sortable,!this.isMultiDrag&&se&&se.multiDrag._deselectMultiDrag(),ue.forEach((function(t){t.sortableIndex=N(t)})),ue=ue.sort((function(t,e){return t.sortableIndex-e.sortableIndex})),Ae=!0},dragStarted:function(t){var e=this,n=t.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){ue.forEach((function(t){t!==le&&w(t,"position","absolute")}));var i=k(le,!1,!0,!0);ue.forEach((function(t){t!==le&&j(t,i)})),fe=!0,he=!0}n.animateAll((function(){fe=!1,he=!1,e.options.animation&&ue.forEach((function(t){U(t)})),e.options.sort&&ve()}))}},dragOver:function(t){var e=t.target,n=t.completed,i=t.cancel;fe&&~ue.indexOf(e)&&(n(!1),i())},revert:function(t){var e=t.fromSortable,n=t.rootEl,i=t.sortable,a=t.dragRect;ue.length>1&&(ue.forEach((function(t){i.addAnimationState({target:t,rect:fe?k(t):a}),U(t),t.fromRect=a,e.removeAnimationState(t)})),fe=!1,function(t,e){ue.forEach((function(n,i){var a=e.children[n.sortableIndex+(t?Number(i):0)];a?e.insertBefore(n,a):e.appendChild(n)}))}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(t){var e=t.sortable,n=t.isOwner,i=t.insertion,a=t.activeSortable,r=t.parentEl,o=t.putSortable,s=this.options;if(i){if(n&&a._hideClone(),he=!1,s.animation&&ue.length>1&&(fe||!n&&!a.options.sort&&!o)){var l=k(le,!1,!0,!0);ue.forEach((function(t){t!==le&&(j(t,l),r.appendChild(t))})),fe=!0}if(!n)if(fe||ve(),ue.length>1){var c=de;a._showClone(e),a.options.animation&&!de&&c&&pe.forEach((function(t){a.addAnimationState({target:t,rect:ce}),t.fromRect=ce,t.thisAnimationDuration=null}))}else a._showClone(e)}},dragOverAnimationCapture:function(t){var e=t.dragRect,n=t.isOwner,i=t.activeSortable;if(ue.forEach((function(t){t.thisAnimationDuration=null})),i.options.animation&&!n&&i.multiDrag.isMultiDrag){ce=r({},e);var a=E(le,!0);ce.top-=a.f,ce.left-=a.e}},dragOverAnimationComplete:function(){fe&&(fe=!1,ve())},drop:function(t){var e=t.originalEvent,n=t.rootEl,i=t.parentEl,a=t.sortable,r=t.dispatchSortableEvent,o=t.oldIndex,s=t.putSortable,l=s||this.sortable;if(e){var c=this.options,d=i.children;if(!Ae)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),x(le,c.selectedClass,!~ue.indexOf(le)),~ue.indexOf(le))ue.splice(ue.indexOf(le),1),oe=null,Y({sortable:a,rootEl:n,name:"deselect",targetEl:le,originalEvt:e});else{if(ue.push(le),Y({sortable:a,rootEl:n,name:"select",targetEl:le,originalEvt:e}),e.shiftKey&&oe&&a.el.contains(oe)){var u,p,h=N(oe),f=N(le);if(~h&&~f&&h!==f)for(f>h?(p=h,u=f):(p=f,u=h+1);p<u;p++)~ue.indexOf(d[p])||(x(d[p],c.selectedClass,!0),ue.push(d[p]),Y({sortable:a,rootEl:n,name:"select",targetEl:d[p],originalEvt:e}))}else oe=le;se=l}if(Ae&&this.isMultiDrag){if((i[G].options.sort||i!==n)&&ue.length>1){var A=k(le),m=N(le,":not(."+this.options.selectedClass+")");if(!he&&c.animation&&(le.thisAnimationDuration=null),l.captureAnimationState(),!he&&(c.animation&&(le.fromRect=A,ue.forEach((function(t){if(t.thisAnimationDuration=null,t!==le){var e=fe?k(t):A;t.fromRect=e,l.addAnimationState({target:t,rect:e})}}))),ve(),ue.forEach((function(t){d[m]?i.insertBefore(t,d[m]):i.appendChild(t),m++})),o===N(le))){var g=!1;ue.forEach((function(t){t.sortableIndex===N(t)||(g=!0)})),g&&r("update")}ue.forEach((function(t){U(t)})),l.animateAll()}se=l}(n===i||s&&"clone"!==s.lastPutMode)&&pe.forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))}},nullingGlobal:function(){this.isMultiDrag=Ae=!1,pe.length=0},destroyGlobal:function(){this._deselectMultiDrag(),m(document,"pointerup",this._deselectMultiDrag),m(document,"mouseup",this._deselectMultiDrag),m(document,"touchend",this._deselectMultiDrag),m(document,"keydown",this._checkKeyDown),m(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(!(void 0!==Ae&&Ae||se!==this.sortable||t&&b(t.target,this.options.draggable,this.sortable.el,!1)||t&&0!==t.button))for(;ue.length;){var e=ue[0];x(e,this.options.selectedClass,!1),ue.shift(),Y({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvt:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},r(t,{pluginName:"multiDrag",utils:{select:function(t){var e=t.parentNode[G];e&&e.options.multiDrag&&!~ue.indexOf(t)&&(se&&se!==e&&(se.multiDrag._deselectMultiDrag(),se=e),x(t,e.options.selectedClass,!0),ue.push(t))},deselect:function(t){var e=t.parentNode[G],n=ue.indexOf(t);e&&e.options.multiDrag&&~n&&(x(t,e.options.selectedClass,!1),ue.splice(n,1))}},eventProperties:function(){var t,e=this,n=[],i=[];return ue.forEach((function(t){var a;n.push({multiDragElement:t,index:t.sortableIndex}),a=fe&&t!==le?-1:fe?N(t,":not(."+e.options.selectedClass+")"):N(t),i.push({multiDragElement:t,index:a})})),{items:(t=ue,function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()),clones:[].concat(pe),oldIndicies:n,newIndicies:i}},optionListeners:{multiDragKey:function(t){return"ctrl"===(t=t.toLowerCase())?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})}function ge(t,e){pe.forEach((function(n,i){var a=e.children[n.sortableIndex+(t?Number(i):0)];a?e.insertBefore(n,a):e.appendChild(n)}))}function ve(){ue.forEach((function(t){t!==le&&t.parentNode&&t.parentNode.removeChild(t)}))}Dt.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?A(document,"dragover",this._handleAutoScroll):this.options.supportPointer?A(document,"pointermove",this._handleFallbackAutoScroll):e.touches?A(document,"touchmove",this._handleFallbackAutoScroll):A(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;this.options.dragOverBubble||e.rootEl||this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?m(document,"dragover",this._handleAutoScroll):(m(document,"pointermove",this._handleFallbackAutoScroll),m(document,"touchmove",this._handleFallbackAutoScroll),m(document,"mousemove",this._handleFallbackAutoScroll)),Qt(),Kt(),clearTimeout(y),y=void 0},nulling:function(){Vt=zt=Yt=Jt=qt=$t=Ht=null,Xt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var n=this,i=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(i,a);if(Vt=t,e||c||l||u){ee(t,this.options,r,e);var o=P(r,!0);!Jt||qt&&i===$t&&a===Ht||(qt&&Qt(),qt=setInterval((function(){var r=P(document.elementFromPoint(i,a),!0);r!==o&&(o=r,Kt()),ee(t,n.options,r,e)}),10),$t=i,Ht=a)}else{if(!this.options.bubbleScroll||P(r,!0)===B())return void Kt();ee(t,this.options,P(r,!1),!1)}}},r(t,{pluginName:"scroll",initializeByDefault:!0})}),Dt.mount(ae,ie);const be=Dt},9980:function(t,e,n){var i;"undefined"!=typeof self&&self,i=function(t){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var a=e[i]={i,l:!1,exports:{}};return t[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)n.d(i,a,function(e){return t[e]}.bind(null,a));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"01f9":function(t,e,n){"use strict";var i=n("2d00"),a=n("5ca1"),r=n("2aba"),o=n("32e9"),s=n("84f2"),l=n("41a0"),c=n("7f20"),d=n("38fd"),u=n("2b4c")("iterator"),p=!([].keys&&"next"in[].keys()),h="keys",f="values",A=function(){return this};t.exports=function(t,e,n,m,g,v,b){l(n,e,m);var y,C,x,w=function(t){if(!p&&t in k)return k[t];switch(t){case h:case f:return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",_=g==f,B=!1,k=t.prototype,S=k[u]||k["@@iterator"]||g&&k[g],T=S||w(g),I=g?_?w("entries"):T:void 0,N="Array"==e&&k.entries||S;if(N&&(x=d(N.call(new t)))!==Object.prototype&&x.next&&(c(x,E,!0),i||"function"==typeof x[u]||o(x,u,A)),_&&S&&S.name!==f&&(B=!0,T=function(){return S.call(this)}),i&&!b||!p&&!B&&k[u]||o(k,u,T),s[e]=T,s[E]=A,g)if(y={values:_?T:w(f),keys:v?T:w(h),entries:I},b)for(C in y)C in k||r(k,C,y[C]);else a(a.P+a.F*(p||B),e,y);return y}},"02f4":function(t,e,n){var i=n("4588"),a=n("be13");t.exports=function(t){return function(e,n){var r,o,s=String(a(e)),l=i(n),c=s.length;return l<0||l>=c?t?"":void 0:(r=s.charCodeAt(l))<55296||r>56319||l+1===c||(o=s.charCodeAt(l+1))<56320||o>57343?t?s.charAt(l):r:t?s.slice(l,l+2):o-56320+(r-55296<<10)+65536}}},"0390":function(t,e,n){"use strict";var i=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"0bfb":function(t,e,n){"use strict";var i=n("cb7c");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,n){var i=n("ce10"),a=n("e11e");t.exports=Object.keys||function(t){return i(t,a)}},1495:function(t,e,n){var i=n("86cc"),a=n("cb7c"),r=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){a(t);for(var n,o=r(e),s=o.length,l=0;s>l;)i.f(t,n=o[l++],e[n]);return t}},"214f":function(t,e,n){"use strict";n("b0c5");var i=n("2aba"),a=n("32e9"),r=n("79e5"),o=n("be13"),s=n("2b4c"),l=n("520a"),c=s("species"),d=!r((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),u=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var p=s(t),h=!r((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),f=h?!r((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[c]=function(){return n}),n[p](""),!e})):void 0;if(!h||!f||"replace"===t&&!d||"split"===t&&!u){var A=/./[p],m=n(o,p,""[t],(function(t,e,n,i,a){return e.exec===l?h&&!a?{done:!0,value:A.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}})),g=m[0],v=m[1];i(String.prototype,t,g),a(RegExp.prototype,p,2==e?function(t,e){return v.call(t,this,e)}:function(t){return v.call(t,this)})}}},"230e":function(t,e,n){var i=n("d3f4"),a=n("7726").document,r=i(a)&&i(a.createElement);t.exports=function(t){return r?a.createElement(t):{}}},"23c6":function(t,e,n){var i=n("2d95"),a=n("2b4c")("toStringTag"),r="Arguments"==i(function(){return arguments}());t.exports=function(t){var e,n,o;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),a))?n:r?i(e):"Object"==(o=i(e))&&"function"==typeof e.callee?"Arguments":o}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"2aba":function(t,e,n){var i=n("7726"),a=n("32e9"),r=n("69a8"),o=n("ca5a")("src"),s=n("fa5b"),l="toString",c=(""+s).split(l);n("8378").inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var l="function"==typeof n;l&&(r(n,"name")||a(n,"name",e)),t[e]!==n&&(l&&(r(n,o)||a(n,o,t[e]?""+t[e]:c.join(String(e)))),t===i?t[e]=n:s?t[e]?t[e]=n:a(t,e,n):(delete t[e],a(t,e,n)))})(Function.prototype,l,(function(){return"function"==typeof this&&this[o]||s.call(this)}))},"2aeb":function(t,e,n){var i=n("cb7c"),a=n("1495"),r=n("e11e"),o=n("613b")("IE_PROTO"),s=function(){},l="prototype",c=function(){var t,e=n("230e")("iframe"),i=r.length;for(e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;i--;)delete c[l][r[i]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[l]=i(t),n=new s,s[l]=null,n[o]=t):n=c(),void 0===e?n:a(n,e)}},"2b4c":function(t,e,n){var i=n("5537")("wks"),a=n("ca5a"),r=n("7726").Symbol,o="function"==typeof r;(t.exports=function(t){return i[t]||(i[t]=o&&r[t]||(o?r:a)("Symbol."+t))}).store=i},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2fdb":function(t,e,n){"use strict";var i=n("5ca1"),a=n("d2c8"),r="includes";i(i.P+i.F*n("5147")(r),"String",{includes:function(t){return!!~a(this,t,r).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(t,e,n){var i=n("86cc"),a=n("4630");t.exports=n("9e1e")?function(t,e,n){return i.f(t,e,a(1,n))}:function(t,e,n){return t[e]=n,t}},"38fd":function(t,e,n){var i=n("69a8"),a=n("4bf8"),r=n("613b")("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=a(t),i(t,r)?t[r]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},"41a0":function(t,e,n){"use strict";var i=n("2aeb"),a=n("4630"),r=n("7f20"),o={};n("32e9")(o,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=i(o,{next:a(1,n)}),r(t,e+" Iterator")}},"456d":function(t,e,n){var i=n("4bf8"),a=n("0d58");n("5eda")("keys",(function(){return function(t){return a(i(t))}}))},4588:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"4bf8":function(t,e,n){var i=n("be13");t.exports=function(t){return Object(i(t))}},5147:function(t,e,n){var i=n("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,!"/./"[t](e)}catch(t){}}return!0}},"520a":function(t,e,n){"use strict";var i,a,r=n("0bfb"),o=RegExp.prototype.exec,s=String.prototype.replace,l=o,c="lastIndex",d=(i=/a/,a=/b*/g,o.call(i,"a"),o.call(a,"a"),0!==i[c]||0!==a[c]),u=void 0!==/()??/.exec("")[1];(d||u)&&(l=function(t){var e,n,i,a,l=this;return u&&(n=new RegExp("^"+l.source+"$(?!\\s)",r.call(l))),d&&(e=l[c]),i=o.call(l,t),d&&i&&(l[c]=l.global?i.index+i[0].length:e),u&&i&&i.length>1&&s.call(i[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i}),t.exports=l},"52a7":function(t,e){e.f={}.propertyIsEnumerable},5537:function(t,e,n){var i=n("8378"),a=n("7726"),r="__core-js_shared__",o=a[r]||(a[r]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(t,e,n){var i=n("7726"),a=n("8378"),r=n("32e9"),o=n("2aba"),s=n("9b43"),l="prototype",c=function(t,e,n){var d,u,p,h,f=t&c.F,A=t&c.G,m=t&c.S,g=t&c.P,v=t&c.B,b=A?i:m?i[e]||(i[e]={}):(i[e]||{})[l],y=A?a:a[e]||(a[e]={}),C=y[l]||(y[l]={});for(d in A&&(n=e),n)p=((u=!f&&b&&void 0!==b[d])?b:n)[d],h=v&&u?s(p,i):g&&"function"==typeof p?s(Function.call,p):p,b&&o(b,d,p,t&c.U),y[d]!=p&&r(y,d,h),g&&C[d]!=p&&(C[d]=p)};i.core=a,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},"5eda":function(t,e,n){var i=n("5ca1"),a=n("8378"),r=n("79e5");t.exports=function(t,e){var n=(a.Object||{})[t]||Object[t],o={};o[t]=e(n),i(i.S+i.F*r((function(){n(1)})),"Object",o)}},"5f1b":function(t,e,n){"use strict";var i=n("23c6"),a=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw new TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==i(t))throw new TypeError("RegExp#exec called on incompatible receiver");return a.call(t,e)}},"613b":function(t,e,n){var i=n("5537")("keys"),a=n("ca5a");t.exports=function(t){return i[t]||(i[t]=a(t))}},"626a":function(t,e,n){var i=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},6762:function(t,e,n){"use strict";var i=n("5ca1"),a=n("c366")(!0);i(i.P,"Array",{includes:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},6821:function(t,e,n){var i=n("626a"),a=n("be13");t.exports=function(t){return i(a(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var i=n("d3f4");t.exports=function(t,e){if(!i(t))return t;var n,a;if(e&&"function"==typeof(n=t.toString)&&!i(a=n.call(t)))return a;if("function"==typeof(n=t.valueOf)&&!i(a=n.call(t)))return a;if(!e&&"function"==typeof(n=t.toString)&&!i(a=n.call(t)))return a;throw TypeError("Can't convert object to primitive value")}},7333:function(t,e,n){"use strict";var i=n("0d58"),a=n("2621"),r=n("52a7"),o=n("4bf8"),s=n("626a"),l=Object.assign;t.exports=!l||n("79e5")((function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=i}))?function(t,e){for(var n=o(t),l=arguments.length,c=1,d=a.f,u=r.f;l>c;)for(var p,h=s(arguments[c++]),f=d?i(h).concat(d(h)):i(h),A=f.length,m=0;A>m;)u.call(h,p=f[m++])&&(n[p]=h[p]);return n}:l},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var i=n("4588"),a=Math.max,r=Math.min;t.exports=function(t,e){return(t=i(t))<0?a(t+e,0):r(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"7f20":function(t,e,n){var i=n("86cc").f,a=n("69a8"),r=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!a(t=n?t:t.prototype,r)&&i(t,r,{configurable:!0,value:e})}},8378:function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"84f2":function(t,e){t.exports={}},"86cc":function(t,e,n){var i=n("cb7c"),a=n("c69a"),r=n("6a99"),o=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(i(t),e=r(e,!0),i(n),a)try{return o(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"9b43":function(t,e,n){var i=n("d8e8");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,a){return t.call(e,n,i,a)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var i=n("2b4c")("unscopables"),a=Array.prototype;null==a[i]&&n("32e9")(a,i,{}),t.exports=function(t){a[i][t]=!0}},"9def":function(t,e,n){var i=n("4588"),a=Math.min;t.exports=function(t){return t>0?a(i(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a352:function(e,n){e.exports=t},a481:function(t,e,n){"use strict";var i=n("cb7c"),a=n("4bf8"),r=n("9def"),o=n("4588"),s=n("0390"),l=n("5f1b"),c=Math.max,d=Math.min,u=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;n("214f")("replace",2,(function(t,e,n,f){return[function(i,a){var r=t(this),o=null==i?void 0:i[e];return void 0!==o?o.call(i,r,a):n.call(String(r),i,a)},function(t,e){var a=f(n,t,this,e);if(a.done)return a.value;var u=i(t),p=String(this),h="function"==typeof e;h||(e=String(e));var m=u.global;if(m){var g=u.unicode;u.lastIndex=0}for(var v=[];;){var b=l(u,p);if(null===b)break;if(v.push(b),!m)break;""===String(b[0])&&(u.lastIndex=s(p,r(u.lastIndex),g))}for(var y,C="",x=0,w=0;w<v.length;w++){b=v[w];for(var E=String(b[0]),_=c(d(o(b.index),p.length),0),B=[],k=1;k<b.length;k++)B.push(void 0===(y=b[k])?y:String(y));var S=b.groups;if(h){var T=[E].concat(B,_,p);void 0!==S&&T.push(S);var I=String(e.apply(void 0,T))}else I=A(E,p,_,B,S,e);_>=x&&(C+=p.slice(x,_)+I,x=_+E.length)}return C+p.slice(x)}];function A(t,e,i,r,o,s){var l=i+t.length,c=r.length,d=h;return void 0!==o&&(o=a(o),d=p),n.call(s,d,(function(n,a){var s;switch(a.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,i);case"'":return e.slice(l);case"<":s=o[a.slice(1,-1)];break;default:var d=+a;if(0===d)return n;if(d>c){var p=u(d/10);return 0===p?n:p<=c?void 0===r[p-1]?a.charAt(1):r[p-1]+a.charAt(1):n}s=r[d-1]}return void 0===s?"":s}))}}))},aae3:function(t,e,n){var i=n("d3f4"),a=n("2d95"),r=n("2b4c")("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[r])?!!e:"RegExp"==a(t))}},ac6a:function(t,e,n){for(var i=n("cadf"),a=n("0d58"),r=n("2aba"),o=n("7726"),s=n("32e9"),l=n("84f2"),c=n("2b4c"),d=c("iterator"),u=c("toStringTag"),p=l.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},f=a(h),A=0;A<f.length;A++){var m,g=f[A],v=h[g],b=o[g],y=b&&b.prototype;if(y&&(y[d]||s(y,d,p),y[u]||s(y,u,g),l[g]=p,v))for(m in i)y[m]||r(y,m,i[m],!0)}},b0c5:function(t,e,n){"use strict";var i=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},be13:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},c366:function(t,e,n){var i=n("6821"),a=n("9def"),r=n("77f1");t.exports=function(t){return function(e,n,o){var s,l=i(e),c=a(l.length),d=r(o,c);if(t&&n!=n){for(;c>d;)if((s=l[d++])!=s)return!0}else for(;c>d;d++)if((t||d in l)&&l[d]===n)return t||d||0;return!t&&-1}}},c649:function(t,e,n){"use strict";(function(t){n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return r})),n.d(e,"d",(function(){return l})),n("a481");var i,a,r="undefined"!=typeof window?window.console:t.console,o=/-(\w)/g,s=(i=function(t){return t.replace(o,(function(t,e){return e?e.toUpperCase():""}))},a=Object.create(null),function(t){return a[t]||(a[t]=i(t))});function l(t){null!==t.parentElement&&t.parentElement.removeChild(t)}function c(t,e,n){var i=0===n?t.children[0]:t.children[n-1].nextSibling;t.insertBefore(e,i)}}).call(this,n("c8ba"))},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},ca5a:function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},cadf:function(t,e,n){"use strict";var i=n("9c6c"),a=n("d53b"),r=n("84f2"),o=n("6821");t.exports=n("01f9")(Array,"Array",(function(t,e){this._t=o(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,a(1)):a(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},cb7c:function(t,e,n){var i=n("d3f4");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},ce10:function(t,e,n){var i=n("69a8"),a=n("6821"),r=n("c366")(!1),o=n("613b")("IE_PROTO");t.exports=function(t,e){var n,s=a(t),l=0,c=[];for(n in s)n!=o&&i(s,n)&&c.push(n);for(;e.length>l;)i(s,n=e[l++])&&(~r(c,n)||c.push(n));return c}},d2c8:function(t,e,n){var i=n("aae3"),a=n("be13");t.exports=function(t,e,n){if(i(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(a(t))}},d3f4:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},f559:function(t,e,n){"use strict";var i=n("5ca1"),a=n("9def"),r=n("d2c8"),o="startsWith",s=""[o];i(i.P+i.F*n("5147")(o),"String",{startsWith:function(t){var e=r(this,t,o),n=a(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),i=String(t);return s?s.call(e,i,n):e.slice(n,n+i.length)===i}})},f6fd:function(t,e){!function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(i){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})}(document)},f751:function(t,e,n){var i=n("5ca1");i(i.S+i.F,"Object",{assign:n("7333")})},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,n){var i=n("7726").document;t.exports=i&&i.documentElement},fb15:function(t,e,n){"use strict";var i;function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function r(t,e){if(t){if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}function o(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||r(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.r(e),"undefined"!=typeof window&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1])),n("f751"),n("f559"),n("ac6a"),n("cadf"),n("456d"),n("6762"),n("2fdb");var s=n("a352"),l=n.n(s),c=n("c649");function d(t,e){var n=this;this.$nextTick((function(){return n.$emit(t.toLowerCase(),e)}))}function u(t){var e=this;return function(n){null!==e.realList&&e["onDrag"+t](n),d.call(e,t,n)}}function p(t){return["transition-group","TransitionGroup"].includes(t)}function h(t,e,n){return t[n]||(e[n]?e[n]():void 0)}var f=["Start","Add","Remove","Update","End"],A=["Choose","Unchoose","Sort","Filter","Clone"],m=["Move"].concat(f,A).map((function(t){return"on"+t})),g=null,v={name:"draggable",inheritAttrs:!1,props:{options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(t){return t}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1}},render:function(t){var e=this.$slots.default;this.transitionMode=function(t){if(!t||1!==t.length)return!1;var e,n,i=(e=t,n=1,function(t){if(Array.isArray(t))return t}(e)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],i=!0,a=!1,r=void 0;try{for(var o,s=t[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!e||n.length!==e);i=!0);}catch(t){a=!0,r=t}finally{try{i||null==s.return||s.return()}finally{if(a)throw r}}return n}}(e,n)||r(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0].componentOptions;return!!i&&p(i.tag)}(e);var n=function(t,e,n){var i=0,a=0,r=h(e,n,"header");r&&(i=r.length,t=t?[].concat(o(r),o(t)):o(r));var s=h(e,n,"footer");return s&&(a=s.length,t=t?[].concat(o(t),o(s)):o(s)),{children:t,headerOffset:i,footerOffset:a}}(e,this.$slots,this.$scopedSlots),i=n.children,a=n.headerOffset,s=n.footerOffset;this.headerOffset=a,this.footerOffset=s;var l=function(t,e){var n=null,i=function(t,e){n=function(t,e,n){return void 0===n||((t=t||{})[e]=n),t}(n,t,e)};if(i("attrs",Object.keys(t).filter((function(t){return"id"===t||t.startsWith("data-")})).reduce((function(e,n){return e[n]=t[n],e}),{})),!e)return n;var a=e.on,r=e.props,o=e.attrs;return i("on",a),i("props",r),Object.assign(n.attrs,o),n}(this.$attrs,this.componentData);return t(this.getTag(),l,i)},created:function(){null!==this.list&&null!==this.value&&c.b.error("Value and list props are mutually exclusive! Please set one or another."),"div"!==this.element&&c.b.warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),void 0!==this.options&&c.b.warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var t=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase()&&!this.getIsFunctional(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var e={};f.forEach((function(n){e["on"+n]=u.call(t,n)})),A.forEach((function(n){e["on"+n]=d.bind(t,n)}));var n=Object.keys(this.$attrs).reduce((function(e,n){return e[Object(c.a)(n)]=t.$attrs[n],e}),{}),i=Object.assign({},this.options,n,e,{onMove:function(e,n){return t.onDragMove(e,n)}});!("draggable"in i)&&(i.draggable=">*"),this._sortable=new l.a(this.rootContainer,i),this.computeIndexes()},beforeDestroy:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(t){this.updateOptions(t)},deep:!0},$attrs:{handler:function(t){this.updateOptions(t)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getIsFunctional:function(){var t=this._vnode.fnOptions;return t&&t.functional},getTag:function(){return this.tag||this.element},updateOptions:function(t){for(var e in t){var n=Object(c.a)(e);-1===m.indexOf(n)&&this._sortable.option(n,t[e])}},getChildrenNodes:function(){if(this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var t=this.$slots.default;return this.transitionMode?t[0].child.$slots.default:t},computeIndexes:function(){var t=this;this.$nextTick((function(){t.visibleIndexes=function(t,e,n,i){if(!t)return[];var a=t.map((function(t){return t.elm})),r=e.length-i,s=o(e).map((function(t,e){return e>=r?a.length:a.indexOf(t)}));return n?s.filter((function(t){return-1!==t})):s}(t.getChildrenNodes(),t.rootContainer.children,t.transitionMode,t.footerOffset)}))},getUnderlyingVm:function(t){var e,n,i=(e=this.getChildrenNodes()||[],n=t,e.map((function(t){return t.elm})).indexOf(n));return-1===i?null:{index:i,element:this.realList[i]}},getUnderlyingPotencialDraggableComponent:function(t){var e=t.__vue__;return e&&e.$options&&p(e.$options._componentTag)?e.$parent:!("realList"in e)&&1===e.$children.length&&"realList"in e.$children[0]?e.$children[0]:e},emitChanges:function(t){var e=this;this.$nextTick((function(){e.$emit("change",t)}))},alterList:function(t){if(this.list)t(this.list);else{var e=o(this.value);t(e),this.$emit("input",e)}},spliceList:function(){var t=arguments;this.alterList((function(e){return e.splice.apply(e,o(t))}))},updatePosition:function(t,e){this.alterList((function(n){return n.splice(e,0,n.splice(t,1)[0])}))},getRelatedContextFromMoveEvent:function(t){var e=t.to,n=t.related,i=this.getUnderlyingPotencialDraggableComponent(e);if(!i)return{component:i};var a=i.realList,r={list:a,component:i};if(e!==n&&a&&i.getUnderlyingVm){var o=i.getUnderlyingVm(n);if(o)return Object.assign(o,r)}return r},getVmIndex:function(t){var e=this.visibleIndexes,n=e.length;return t>n-1?n:e[t]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(t){if(this.noTransitionOnDrag&&this.transitionMode){this.getChildrenNodes()[t].data=null;var e=this.getComponent();e.children=[],e.kept=void 0}},onDragStart:function(t){this.context=this.getUnderlyingVm(t.item),t.item._underlying_vm_=this.clone(this.context.element),g=t.item},onDragAdd:function(t){var e=t.item._underlying_vm_;if(void 0!==e){Object(c.d)(t.item);var n=this.getVmIndex(t.newIndex);this.spliceList(n,0,e),this.computeIndexes();var i={element:e,newIndex:n};this.emitChanges({added:i})}},onDragRemove:function(t){if(Object(c.c)(this.rootContainer,t.item,t.oldIndex),"clone"!==t.pullMode){var e=this.context.index;this.spliceList(e,1);var n={element:this.context.element,oldIndex:e};this.resetTransitionData(e),this.emitChanges({removed:n})}else Object(c.d)(t.clone)},onDragUpdate:function(t){Object(c.d)(t.item),Object(c.c)(t.from,t.item,t.oldIndex);var e=this.context.index,n=this.getVmIndex(t.newIndex);this.updatePosition(e,n);var i={element:this.context.element,oldIndex:e,newIndex:n};this.emitChanges({moved:i})},updateProperty:function(t,e){t.hasOwnProperty(e)&&(t[e]+=this.headerOffset)},computeFutureIndex:function(t,e){if(!t.element)return 0;var n=o(e.to.children).filter((function(t){return"none"!==t.style.display})),i=n.indexOf(e.related),a=t.component.getVmIndex(i);return-1===n.indexOf(g)&&e.willInsertAfter?a+1:a},onDragMove:function(t,e){var n=this.move;if(!n||!this.realList)return!0;var i=this.getRelatedContextFromMoveEvent(t),a=this.context,r=this.computeFutureIndex(i,t);return Object.assign(a,{futureIndex:r}),n(Object.assign({},t,{relatedContext:i,draggedContext:a}),e)},onDragEnd:function(){this.computeIndexes(),g=null}}};"undefined"!=typeof window&&"Vue"in window&&window.Vue.component("draggable",v);var b=v;e.default=b}}).default},t.exports=i(n(31715))},42761:t=>{"use strict";t.exports="data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTS00LTRoMjR2MjRILTRWLTR6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhzMy42IDggOCA4IDgtMy42IDgtOC0zLjYtOC04LTh6IiBmaWxsPSIjZWQ0ODRjIi8+PHBhdGggZD0iTTUgNi41aDZjLjggMCAxLjUuNyAxLjUgMS41cy0uNyAxLjUtMS41IDEuNUg1Yy0uOCAwLTEuNS0uNy0xLjUtMS41UzQuMiA2LjUgNSA2LjV6IiBmaWxsPSIjZmRmZmZmIi8+PC9zdmc+Cg=="},87210:t=>{"use strict";t.exports="data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTQuOCAxMS4yaDYuNFY0LjhINC44djYuNHpNOCAwQzMuNiAwIDAgMy42IDAgOHMzLjYgOCA4IDggOC0zLjYgOC04LTMuNi04LTgtOHoiIGZpbGw9IiM0OWIzODIiLz48L3N2Zz4K"},94659:t=>{"use strict";t.exports="data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTS00LTRoMjR2MjRILTR6Ii8+PHBhdGggZD0iTTYuOS4xQzMgLjYtLjEgNC0uMSA4YzAgNC40IDMuNiA4IDggOCA0IDAgNy40LTMgOC02LjktMS4yIDEuMy0yLjkgMi4xLTQuNyAyLjEtMy41IDAtNi40LTIuOS02LjQtNi40IDAtMS45LjgtMy42IDIuMS00Ljd6IiBmaWxsPSIjZjRhMzMxIi8+PC9zdmc+Cg=="},39896:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTE1LjQgMTYuNkwxMC44IDEybDQuNi00LjZMMTQgNmwtNiA2IDYgNiAxLjQtMS40eiIvPjwvc3ZnPg=="},76899:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTE4LjQgNy40TDE3IDZsLTYgNiA2IDYgMS40LTEuNC00LjYtNC42IDQuNi00LjZtLTYgMEwxMSA2bC02IDYgNiA2IDEuNC0xLjRMNy44IDEybDQuNi00LjZ6Ii8+PC9zdmc+"},88931:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTUuNiA3LjRMNyA2bDYgNi02IDYtMS40LTEuNCA0LjYtNC42LTQuNi00LjZtNiAwTDEzIDZsNiA2LTYgNi0xLjQtMS40IDQuNi00LjYtNC42LTQuNnoiLz48L3N2Zz4="},16556:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTguNiAxNi42bDQuNi00LjYtNC42LTQuNkwxMCA2bDYgNi02IDYtMS40LTEuNHoiLz48L3N2Zz4="}},i={};function a(t){var e=i[t];if(void 0!==e)return e.exports;var r=i[t]={id:t,loaded:!1,exports:{}};return n[t].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=n,e=[],a.O=(t,n,i,r)=>{if(!n){var o=1/0;for(d=0;d<e.length;d++){n=e[d][0],i=e[d][1],r=e[d][2];for(var s=!0,l=0;l<n.length;l++)(!1&r||o>=r)&&Object.keys(a.O).every((t=>a.O[t](n[l])))?n.splice(l--,1):(s=!1,r<o&&(o=r));if(s){e.splice(d--,1);var c=i();void 0!==c&&(t=c)}}return t}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[n,i,r]},a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var n in e)a.o(e,n)&&!a.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},a.e=()=>Promise.resolve(),a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),a.j=4773,(()=>{a.b=document.baseURI||self.location.href;var t={4773:0};a.O.j=e=>0===t[e];var e=(e,n)=>{var i,r,o=n[0],s=n[1],l=n[2],c=0;if(o.some((e=>0!==t[e]))){for(i in s)a.o(s,i)&&(a.m[i]=s[i]);if(l)var d=l(a)}for(e&&e(n);c<o.length;c++)r=o[c],a.o(t,r)&&t[r]&&t[r][0](),t[r]=0;return a.O(d)},n=self.webpackChunknextcloud=self.webpackChunknextcloud||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))})(),a.nc=void 0;var r=a.O(void 0,[7874],(()=>a(1412)));r=a.O(r)})();
-//# sourceMappingURL=dashboard-main.js.map?v=b26f1e3d05b37679e001 \ No newline at end of file
+(()=>{var e,n={88214:(e,n,i)=>{"use strict";var a=i(20144),r=i(79753),o=i(77958),s=i(43554),l=i(93664),c=i(62642),d=i(9980),u=i.n(d),p=i(6136),h=i(77531);const f={data(){return{isMobile:this._isMobile()}},beforeMount(){window.addEventListener("resize",this._onResize)},beforeDestroy(){window.removeEventListener("resize",this._onResize)},methods:{_onResize(){this.isMobile=this._isMobile()},_isMobile:()=>document.documentElement.clientWidth<768}};var A=i(63357),m=i(93379),g=i.n(m),v=i(7795),b=i.n(v),y=i(90569),C=i.n(y),x=i(3565),w=i.n(x),E=i(19216),_=i.n(E),B=i(44589),k=i.n(B),S=i(77036),T={};T.styleTagTransform=k(),T.setAttributes=w(),T.insert=C().bind(null,"head"),T.domAPI=b(),T.insertStyleElement=_(),g()(S.Z,T),S.Z&&S.Z.locals&&S.Z.locals;var I=i(76311);const N=(0,a.defineComponent)({name:"NcActionButtonGroup",props:{name:{required:!1,default:void 0,type:String}}});var L=function(){var t=this,e=t._self._c;return t._self._setupProxy,e("li",{staticClass:"nc-button-group-base"},[t.name?e("div",[t._v(" "+t._s(t.name)+" ")]):t._e(),e("ul",{staticClass:"nc-button-group-content"},[t._t("default")],2)])},P=[];(0,I.n)(N,L,P,!1,null,null,null,null).exports;var M=i(34791),O=i(56562),R=i(46187),D=i(80472),j=i(63509),U={};U.styleTagTransform=k(),U.setAttributes=w(),U.insert=C().bind(null,"head"),U.domAPI=b(),U.insertStyleElement=_(),g()(j.Z,U),j.Z&&j.Z.locals&&j.Z.locals;var G=i(66143),W=i(41070);const F={name:"NcActionRadio",mixins:[G.A],props:{id:{type:String,default:()=>"action-"+(0,W.G)(),validator:t=>""!==t.trim()},checked:{type:Boolean,default:!1},name:{type:String,required:!0},value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1}},emits:["update:checked","change"],computed:{isFocusable(){return!this.disabled}},methods:{toggleInput(t){this.$refs.label.click()},onChange(t){this.$emit("update:checked",this.$refs.radio.checked),this.$emit("change",t)}}};var Z=function(){var t=this,e=t._self._c;return e("li",{staticClass:"action",class:{"action--disabled":t.disabled}},[e("span",{staticClass:"action-radio"},[e("input",{ref:"radio",staticClass:"radio action-radio__radio",class:{focusable:t.isFocusable},attrs:{id:t.id,disabled:t.disabled,name:t.name,type:"radio"},domProps:{checked:t.checked,value:t.value},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.preventDefault(),t.toggleInput.apply(null,arguments))},change:t.onChange}}),e("label",{ref:"label",staticClass:"action-radio__label",attrs:{for:t.id}},[t._v(t._s(t.text))]),t._e()],2)])},Y=[];(0,I.n)(F,Z,Y,!1,null,"b5f9046e",null,null).exports;var z=i(86653),$=i(4888),H=i(68763),V=i(41748),q=i(33797),X={};X.styleTagTransform=k(),X.setAttributes=w(),X.insert=C().bind(null,"head"),X.domAPI=b(),X.insertStyleElement=_(),g()(q.Z,X),q.Z&&q.Z.locals&&q.Z.locals;var J=i(5008);const K={name:"NcActionTextEditable",components:{ArrowRight:i(89497).A},mixins:[J.A],props:{id:{type:String,default:()=>"action-"+(0,W.G)(),validator:t=>""!==t.trim()},disabled:{type:Boolean,default:!1},value:{type:String,default:""}},emits:["input","update:value","submit"],computed:{isFocusable(){return!this.disabled},computedId:()=>(0,W.G)()},methods:{onInput(t){this.$emit("input",t),this.$emit("update:value",t.target.value)},onSubmit(t){if(t.preventDefault(),t.stopPropagation(),this.disabled)return!1;this.$emit("submit",t)}}};var Q=function(){var t=this,e=t._self._c;return e("li",{staticClass:"action",class:{"action--disabled":t.disabled}},[e("span",{staticClass:"action-text-editable",on:{click:t.onClick}},[t._t("icon",(function(){return[e("span",{staticClass:"action-text-editable__icon",class:[t.isIconUrl?"action-text-editable__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?`url(${t.icon})`:null}})]})),e("form",{ref:"form",staticClass:"action-text-editable__form",attrs:{disabled:t.disabled},on:{submit:function(e){return e.preventDefault(),t.onSubmit.apply(null,arguments)}}},[e("input",{staticClass:"action-text-editable__submit",attrs:{id:t.id,type:"submit"}}),t.name?e("label",{staticClass:"action-text-editable__name",attrs:{for:t.computedId}},[t._v(" "+t._s(t.name)+" ")]):t._e(),e("textarea",t._b({class:["action-text-editable__textarea",{focusable:t.isFocusable}],attrs:{id:t.computedId,disabled:t.disabled},domProps:{value:t.value},on:{input:t.onInput}},"textarea",t.$attrs,!1)),e("label",{directives:[{name:"show",rawName:"v-show",value:!t.disabled,expression:"!disabled"}],staticClass:"action-text-editable__label",attrs:{for:t.id}},[e("ArrowRight",{attrs:{size:20}})],1)])],2)])},tt=[];(0,I.n)(K,Q,tt,!1,null,"b0b05af8",null,null).exports;var et=i(67397);const nt={name:"NcAppContentDetails"};var it=function(){return(0,this._self._c)("div",{staticClass:"app-content-details"},[this._t("default")],2)},at=[];(0,I.n)(nt,it,at,!1,null,null,null,null).exports;const rt={name:"NcAppContentList",props:{selection:{type:Boolean,default:!1},showDetails:{type:Boolean,default:!1}}};var ot=function(){var t=this;return(0,t._self._c)("div",{staticClass:"app-content-list",class:{selection:t.selection,showdetails:t.showDetails}},[t._t("default")],2)},st=[];(0,I.n)(rt,ot,st,!1,null,null,null,null).exports;var lt=i(95372),ct=i(82002),dt=i(51345),ut={};ut.styleTagTransform=k(),ut.setAttributes=w(),ut.insert=C().bind(null,"head"),ut.domAPI=b(),ut.insertStyleElement=_(),g()(dt.Z,ut),dt.Z&&dt.Z.locals&&dt.Z.locals;const pt={name:"NcAppNavigationIconBullet",props:{color:{type:String,required:!0,validator:t=>/^#?([0-9A-F]{3}){1,2}$/i.test(t)}},emits:["click"],computed:{formattedColor(){return this.color.startsWith("#")?this.color:"#"+this.color}},methods:{onClick(t){this.$emit("click",t)}}};var ht=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-navigation-entry__icon-bullet",on:{click:t.onClick}},[e("div",{style:{backgroundColor:t.formattedColor}})])},ft=[];(0,I.n)(pt,ht,ft,!1,null,"91580127",null,null).exports;var At=i(28505),mt=i(36065),gt=i(84338),vt={};vt.styleTagTransform=k(),vt.setAttributes=w(),vt.insert=C().bind(null,"head"),vt.domAPI=b(),vt.insertStyleElement=_(),g()(gt.Z,vt),gt.Z&&gt.Z.locals&&gt.Z.locals;var bt=i(68604),yt=i(20435);const Ct={name:"NcAppNavigationNewItem",components:{NcInputConfirmCancel:bt.N,NcLoadingIcon:yt.Z},props:{name:{type:String,required:!0},icon:{type:String,default:""},loading:{type:Boolean,default:!1},editLabel:{type:String,default:""},editPlaceholder:{type:String,default:""}},emits:["new-item"],data:()=>({newItemValue:"",newItemActive:!1}),methods:{handleNewItem(){this.loading||(this.newItemActive=!0,this.$nextTick((()=>{this.$refs.newItemInput.focusInput()})))},cancelNewItem(){this.newItemActive=!1},handleNewItemDone(){this.$emit("new-item",this.newItemValue),this.newItemValue="",this.newItemActive=!1}}};var xt=function(){var t=this,e=t._self._c;return e("li",{staticClass:"app-navigation-entry",class:{"app-navigation-entry--newItemActive":t.newItemActive}},[e("button",{staticClass:"app-navigation-entry-button",on:{click:t.handleNewItem}},[e("span",{staticClass:"app-navigation-entry-icon",class:{[t.icon]:!t.loading}},[t.loading?e("NcLoadingIcon"):t._t("icon")],2),t.newItemActive?t._e():e("span",{staticClass:"app-navigation-new-item__name",attrs:{title:t.name}},[t._v(" "+t._s(t.name)+" ")]),t.newItemActive?e("span",{staticClass:"newItemContainer"},[e("NcInputConfirmCancel",{ref:"newItemInput",attrs:{placeholder:""!==t.editPlaceholder?t.editPlaceholder:t.name},on:{cancel:t.cancelNewItem,confirm:t.handleNewItemDone},model:{value:t.newItemValue,callback:function(e){t.newItemValue=e},expression:"newItemValue"}})],1):t._e()])])},wt=[];(0,I.n)(Ct,xt,wt,!1,null,"8950be04",null,null).exports;var Et=i(95882),_t={};_t.styleTagTransform=k(),_t.setAttributes=w(),_t.insert=C().bind(null,"head"),_t.domAPI=b(),_t.insertStyleElement=_(),g()(Et.Z,_t),Et.Z&&Et.Z.locals&&Et.Z.locals;var Bt=i(80081),kt=i(84722),St=(i(50337),i(95573),i(12917),i(42515),i(52925));const Tt={name:"CogIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var It=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon cog-icon",attrs:{"aria-hidden":!t.title,"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,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Nt=[];const Lt=(0,I.n)(Tt,It,Nt,!1,null,null,null,null).exports,Pt={directives:{ClickOutside:St.hs},components:{Cog:Lt},mixins:[kt.Z],props:{name:{type:String,required:!1,default:(0,Bt.t)("Settings")}},data:()=>({open:!1}),computed:{clickOutsideConfig(){return[this.closeMenu,this.clickOutsideOptions]},ariaLabel:()=>(0,Bt.t)("Open settings menu")},methods:{toggleMenu(){this.open=!this.open},closeMenu(){this.open=!1}}};var Mt=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.clickOutsideConfig,expression:"clickOutsideConfig"}],class:{open:t.open},attrs:{id:"app-settings"}},[e("div",{attrs:{id:"app-settings__header"}},[e("button",{staticClass:"settings-button",attrs:{type:"button","aria-expanded":t.open?"true":"false","aria-controls":"app-settings__content","aria-label":t.ariaLabel},on:{click:t.toggleMenu}},[e("Cog",{staticClass:"settings-button__icon",attrs:{size:20}}),e("span",{staticClass:"settings-button__label"},[t._v(t._s(t.name))])],1)]),e("transition",{attrs:{name:"slide-up"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],attrs:{id:"app-settings__content"}},[t._t("default")],2)])],1)},Ot=[];(0,I.n)(Pt,Mt,Ot,!1,null,"db4cc195",null,null).exports;var Rt=i(87875),Dt=i(77219),jt=i(56956),Ut=i(55188),Gt=i(98445),Wt=i(35858),Ft=i(36402),Zt=i(49231),Yt=i(19642),zt=i(37776),$t=i(73743),Ht=i(93182),Vt=i(44338),qt={};qt.styleTagTransform=k(),qt.setAttributes=w(),qt.insert=C().bind(null,"head"),qt.domAPI=b(),qt.insertStyleElement=_(),g()(Vt.Z,qt),Vt.Z&&Vt.Z.locals&&Vt.Z.locals;var Xt=i(24478),Jt={};Jt.styleTagTransform=k(),Jt.setAttributes=w(),Jt.insert=C().bind(null,"head"),Jt.domAPI=b(),Jt.insertStyleElement=_(),g()(Xt.Z,Jt),Xt.Z&&Xt.Z.locals&&Xt.Z.locals;const Kt={name:"NcDashboardWidgetItem",components:{NcAvatar:Wt.N,NcActions:$.Z,NcActionButton:A.Z},props:{id:{type:[String,Number],default:void 0},targetUrl:{type:String,default:void 0},avatarUrl:{type:String,default:void 0},avatarUsername:{type:String,default:void 0},avatarIsNoUser:{type:Boolean,default:!1},overlayIconUrl:{type:String,default:void 0},mainText:{type:String,required:!0},subText:{type:String,default:""},itemMenu:{type:Object,default:()=>({})},forceMenu:{type:Boolean,default:!0}},data:()=>({hovered:!1}),computed:{item(){return{id:this.id,targetUrl:this.targetUrl,avatarUrl:this.avatarUrl,avatarUsername:this.avatarUsername,overlayIconUrl:this.overlayIconUrl,mainText:this.mainText,subText:this.subText}},gotMenu(){return 0!==Object.keys(this.itemMenu).length||!!this.$slots.actions},gotOverlayIcon(){return this.overlayIconUrl&&""!==this.overlayIconUrl}},methods:{onLinkClick(t){t.target.closest(".action-item")&&t.preventDefault()}}};var Qt=function(){var t=this,e=t._self._c;return e("div",{on:{mouseover:function(e){t.hovered=!0},mouseleave:function(e){t.hovered=!1}}},[e(t.targetUrl?"a":"div",{tag:"component",class:{"item-list__entry":!0,"item-list__entry--has-actions-menu":t.gotMenu},attrs:{href:t.targetUrl||void 0,target:t.targetUrl?"_blank":void 0},on:{click:t.onLinkClick}},[t._t("avatar",(function(){return[e("NcAvatar",{staticClass:"item-avatar",attrs:{size:44,url:t.avatarUrl,user:t.avatarUsername,"is-no-user":t.avatarIsNoUser,"show-user-status":!t.gotOverlayIcon}})]}),{avatarUrl:t.avatarUrl,avatarUsername:t.avatarUsername}),t.overlayIconUrl?e("img",{staticClass:"item-icon",attrs:{alt:"",src:t.overlayIconUrl}}):t._e(),e("div",{staticClass:"item__details"},[e("h3",{attrs:{title:t.mainText}},[t._v(" "+t._s(t.mainText)+" ")]),e("span",{staticClass:"message",attrs:{title:t.subText}},[t._v(" "+t._s(t.subText)+" ")])]),t.gotMenu?e("NcActions",{attrs:{"force-menu":t.forceMenu}},[t._t("actions",(function(){return t._l(t.itemMenu,(function(n,i){return e("NcActionButton",{key:i,attrs:{icon:n.icon,"close-after-click":!0},on:{click:function(e){return e.preventDefault(),e.stopPropagation(),t.$emit(i,t.item)}}},[t._v(" "+t._s(n.text)+" ")])}))}))],2):t._e()],2)],1)},te=[];const ee=(0,I.n)(Kt,Qt,te,!1,null,"00e861ef",null,null).exports;var ne=i(22175),ie=i(69753);const ae={name:"NcDashboardWidget",components:{NcAvatar:Wt.N,NcDashboardWidgetItem:ee,NcEmptyContent:ne.Z,Check:ie.C},props:{items:{type:Array,default:()=>[]},showMoreUrl:{type:String,default:""},showMoreLabel:{type:String,default:(0,Bt.t)("More items …")},loading:{type:Boolean,default:!1},itemMenu:{type:Object,default:()=>({})},showItemsAndEmptyContent:{type:Boolean,default:!1},emptyContentMessage:{type:String,default:""},halfEmptyContentMessage:{type:String,default:""}},computed:{handlers(){const t={};for(const e in this.itemMenu)t[e]=t=>{this.$emit(e,t)};return t},displayedItems(){const t=this.showMoreUrl&&this.items.length>=this.maxItemNumber?this.maxItemNumber-1:this.maxItemNumber;return this.items.slice(0,t)},showHalfEmptyContentArea(){return this.showItemsAndEmptyContent&&this.halfEmptyContentString&&0!==this.items.length},halfEmptyContentString(){return this.halfEmptyContentMessage||this.emptyContentMessage},maxItemNumber(){return this.showItemsAndEmptyContent?5:7},showMore(){return this.showMoreUrl&&this.items.length>=this.maxItemNumber}}};var re=function(){var t=this,e=t._self._c;return e("div",{staticClass:"dashboard-widget"},[t.showHalfEmptyContentArea?e("NcEmptyContent",{staticClass:"half-screen",attrs:{description:t.halfEmptyContentString},scopedSlots:t._u([{key:"icon",fn:function(){return[t._t("halfEmptyContentIcon",(function(){return[e("Check")]}))]},proxy:!0}],null,!0)}):t._e(),e("ul",t._l(t.displayedItems,(function(n){return e("li",{key:n.id},[t._t("default",(function(){return[e("NcDashboardWidgetItem",t._g(t._b({attrs:{"item-menu":t.itemMenu}},"NcDashboardWidgetItem",n,!1),t.handlers))]}),{item:n})],2)})),0),t.loading?e("div",t._l(7,(function(n){return e("div",{key:n,staticClass:"item-list__entry"},[e("NcAvatar",{staticClass:"item-avatar",attrs:{size:44}}),t._m(0,!0)],1)})),0):0===t.items.length?t._t("empty-content",(function(){return[t.emptyContentMessage?e("NcEmptyContent",{attrs:{description:t.emptyContentMessage},scopedSlots:t._u([{key:"icon",fn:function(){return[t._t("emptyContentIcon")]},proxy:!0}],null,!0)}):t._e()]})):t.showMore?e("a",{staticClass:"more",attrs:{href:t.showMoreUrl,target:"_blank",tabindex:"0"}},[t._v(" "+t._s(t.showMoreLabel)+" ")]):t._e()],2)},oe=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"item__details"},[e("h3",[t._v(" ")]),e("p",{staticClass:"message"},[t._v("   ")])])}];const se=(0,I.n)(ae,re,oe,!1,null,"1efcbeee",null,null).exports;var le=i(97947),ce=i(74742),de=i(37008),ue=i(93757),pe=i(6318),he=i(78573),fe=i(80811),Ae={};Ae.styleTagTransform=k(),Ae.setAttributes=w(),Ae.insert=C().bind(null,"head"),Ae.domAPI=b(),Ae.insertStyleElement=_(),g()(fe.Z,Ae),fe.Z&&fe.Z.locals&&fe.Z.locals;const me={name:"NcGuestContent",mounted(){document.getElementById("content").classList.add("nc-guest-content")},destroyed(){document.getElementById("content").classList.remove("nc-guest-content")}};var ge=function(){return(0,this._self._c)("div",{attrs:{id:"guest-content-vue"}},[this._t("default")],2)},ve=[];(0,I.n)(me,ge,ve,!1,null,"36ad47ca",null,null).exports;var be=i(93815),ye=i(40873),Ce=i(64865),xe=i(48741),we=i(88175),Ee=i(6156),_e=i(16972),Be=i(34246),ke=i(34854),Se=i(6677),Te={};Te.styleTagTransform=k(),Te.setAttributes=w(),Te.insert=C().bind(null,"head"),Te.domAPI=b(),Te.insertStyleElement=_(),g()(Se.Z,Te),Se.Z&&Se.Z.locals&&Se.Z.locals;var Ie=i(25108);const Ne={name:"NcResource",components:{NcButton:c.Z},props:{icon:{type:String,required:!0},name:{type:String,required:!0},url:{type:String,required:!0}},data(){return{labelTranslated:(0,Bt.t)('Open link to "{resourceName}"',{resourceName:this.name})}},methods:{t:Bt.t}};var Le=function(){var t=this,e=t._self._c;return e("li",{staticClass:"resource"},[e("NcButton",{staticClass:"resource__button",attrs:{"aria-label":t.labelTranslated,type:"tertiary",href:t.url},scopedSlots:t._u([{key:"icon",fn:function(){return[e("div",{staticClass:"resource__icon"},[e("img",{attrs:{src:t.icon}})])]},proxy:!0}])},[t._v(" "+t._s(t.name)+" ")])],1)},Pe=[];const Me={name:"NcRelatedResourcesPanel",components:{NcResource:(0,I.n)(Ne,Le,Pe,!1,null,"1a960bef",null,null).exports},props:{providerId:{type:String,default:null},itemId:{type:[String,Number],default:null},resourceType:{type:String,default:null},limit:{type:Number,default:null},fileInfo:{type:Object,default:null},header:{type:String,default:(0,Bt.t)("Related resources")},description:{type:String,default:(0,Bt.t)("Anything shared with the same group of people will show up here")},primary:{type:Boolean,default:!1}},emits:["has-error","has-resources"],data(){var t;return{appEnabled:void 0!==(null==(t=null==OC?void 0:OC.appswebroots)?void 0:t.related_resources),loading:!1,error:null,resources:[]}},computed:{isVisible(){var t;return!this.loading&&(null!=(t=this.error)?t:this.resources.length>0)},subline(){return this.error?(0,Bt.t)("Error getting related resources. Please contact your system administrator if you have any questions."):this.description},hasResourceInfo(){return null!==this.providerId&&null!==this.itemId||null!==this.fileInfo},isFiles(){var t;return void 0!==(null==(t=this.fileInfo)?void 0:t.id)},url(){let t=null,e=null;return this.isFiles?(t="files",e=this.fileInfo.id):(t=this.providerId,e=this.itemId),(0,r.generateOcsUrl)("/apps/related_resources/related/{providerId}?itemId={itemId}&resourceType={resourceType}&limit={limit}&format=json",{providerId:t,itemId:e,resourceType:this.resourceType,limit:this.limit})}},watch:{providerId(){this.fetchRelatedResources()},itemId(){this.fetchRelatedResources()},fileInfo(){this.fetchRelatedResources()},error(t){this.$emit("has-error",!!t)},resources(t){this.$emit("has-resources",t.length>0)}},created(){this.fetchRelatedResources()},methods:{t:Bt.t,async fetchRelatedResources(){var t;if(this.appEnabled&&this.hasResourceInfo){this.loading=!0,this.error=null,this.resources=[];try{const e=await l.Z.get(this.url);this.resources=null==(t=e.data.ocs)?void 0:t.data}catch(t){this.error=t,Ie.error(t)}finally{this.loading=!1}}}}};var Oe=function(){var t=this,e=t._self._c;return t.appEnabled&&t.isVisible?e("div",{staticClass:"related-resources"},[e("div",{staticClass:"related-resources__header"},[e("h5",[t._v(t._s(t.header))]),e("p",[t._v(t._s(t.subline))])]),t._l(t.resources,(function(t){return e("NcResource",{key:t.itemId,staticClass:"related-resources__entry",attrs:{icon:t.icon,name:t.title,url:t.url}})}))],2):t._e()},Re=[];(0,I.n)(Me,Oe,Re,!1,null,"19300848",null,null).exports;var De=i(22663),je=(i(29774),i(79845)),Ue=i(93911),Ge=(i(37762),i(19664)),We=i(49368),Fe=i(35676),Ze=i(69183),Ye=i(79033),ze=i(60545),$e=i(25108);window._vue_richtext_widgets||(window._vue_richtext_widgets={}),window._registerWidget=(t,e,n=(t=>{}))=>{window._vue_richtext_widgets[t]?$e.error("Widget for id "+t+" already registered"):window._vue_richtext_widgets[t]={id:t,callback:e,onDestroy:n}};const He={name:"NcReferenceWidget",props:{reference:{type:Object,required:!0}},data:()=>({compact:3}),computed:{hasCustomWidget(){return(t=>!!window._vue_richtext_widgets[t])(this.reference.richObjectType)},noAccess(){return this.reference&&!this.reference.accessible},descriptionStyle(){if(0===this.compact)return{display:"none"};const t=this.compact<4?this.compact:3;return{lineClamp:t,webkitLineClamp:t}},compactLink(){const t=this.reference.openGraphObject.link;return t?t.startsWith("https://")?t.substring(8):t.startsWith("http://")?t.substring(7):t:""}},mounted(){this.renderWidget(),this.observer=new ResizeObserver((t=>{t[0].contentRect.width<450?this.compact=0:t[0].contentRect.width<550?this.compact=1:t[0].contentRect.width<650?this.compact=2:this.compact=3})),this.observer.observe(this.$el)},beforeDestroy(){this.observer.disconnect(),((t,e)=>{"open-graph"!==t&&window._vue_richtext_widgets[t]&&window._vue_richtext_widgets[t].onDestroy(e)})(this.reference.richObjectType,this.$el)},methods:{renderWidget(){var t;this.$refs.customWidget&&(this.$refs.customWidget.innerHTML=""),"open-graph"!==(null==(t=null==this?void 0:this.reference)?void 0:t.richObjectType)&&this.$nextTick((()=>{((t,{richObjectType:e,richObject:n,accessible:i})=>{if("open-graph"!==e){if(!window._vue_richtext_widgets[e])return void $e.error("Widget for rich object type "+e+" not registered");window._vue_richtext_widgets[e].callback(t,{richObjectType:e,richObject:n,accessible:i})}})(this.$refs.customWidget,this.reference)}))}}};var Ve=function(){var t=this,e=t._self._c;return e("div",[t.reference&&t.hasCustomWidget?e("div",{staticClass:"widget-custom"},[e("div",{ref:"customWidget"})]):!t.noAccess&&t.reference&&t.reference.openGraphObject&&!t.hasCustomWidget?e("a",{staticClass:"widget-default",attrs:{href:t.reference.openGraphObject.link,rel:"noopener noreferrer",target:"_blank"}},[t.reference.openGraphObject.thumb?e("img",{staticClass:"widget-default--image",attrs:{src:t.reference.openGraphObject.thumb}}):t._e(),e("div",{staticClass:"widget-default--details"},[e("p",{staticClass:"widget-default--name"},[t._v(t._s(t.reference.openGraphObject.name))]),e("p",{staticClass:"widget-default--description",style:t.descriptionStyle},[t._v(t._s(t.reference.openGraphObject.description))]),e("p",{staticClass:"widget-default--link"},[t._v(t._s(t.compactLink))])])]):t._e()])},qe=[];const Xe=(0,I.n)(He,Ve,qe,!1,null,"b1c5a80f",null,null).exports;window._vue_richtext_custom_picker_elements||(window._vue_richtext_custom_picker_elements={});const Je=t=>!!window._vue_richtext_custom_picker_elements[t];window._registerCustomPickerElement=(t,e,n=(t=>{}),i="large")=>{window._vue_richtext_custom_picker_elements[t]?$e.error("Custom reference picker element for id "+t+" already registered"):window._vue_richtext_custom_picker_elements[t]={id:t,callback:e,onDestroy:n,size:i}};const Ke={name:"NcCustomPickerElement",props:{provider:{type:Object,required:!0}},emits:["cancel","submit"],data(){return{isRegistered:Je(this.provider.id),renderResult:null}},mounted(){this.isRegistered&&this.renderElement()},beforeDestroy(){this.isRegistered&&((t,e,n)=>{window._vue_richtext_custom_picker_elements[t]&&window._vue_richtext_custom_picker_elements[t].onDestroy(e,n)})(this.provider.id,this.$el,this.renderResult)},methods:{renderElement(){this.$refs.domElement&&(this.$refs.domElement.innerHTML="");const t=((t,{providerId:e,accessible:n})=>{if(window._vue_richtext_custom_picker_elements[e])return window._vue_richtext_custom_picker_elements[e].callback(t,{providerId:e,accessible:n});$e.error("Custom reference picker element for reference provider ID "+e+" not registered")})(this.$refs.domElement,{providerId:this.provider.id,accessible:!1});Promise.resolve(t).then((t=>{var e,n;this.renderResult=t,null!=(e=this.renderResult.object)&&e._isVue&&null!=(n=this.renderResult.object)&&n.$on&&(this.renderResult.object.$on("submit",this.onSubmit),this.renderResult.object.$on("cancel",this.onCancel)),this.renderResult.element.addEventListener("submit",(t=>{this.onSubmit(t.detail)})),this.renderResult.element.addEventListener("cancel",this.onCancel)}))},onSubmit(t){this.$emit("submit",t)},onCancel(){this.$emit("cancel")}}};var Qe=function(){return(0,this._self._c)("div",{ref:"domElement"})},tn=[];const en=(0,I.n)(Ke,Qe,tn,!1,null,"cf695ff9",null,null).exports,nn="any-link",an={id:nn,title:(0,Bt.t)("Any link"),icon_url:(0,r.imagePath)("core","filetypes/link.svg")};function rn(){return window._vue_richtext_reference_providers.filter((t=>{const e=!!t.search_providers_ids&&t.search_providers_ids.length>0||Je(t.id);return e||$e.debug("[smart picker]",t.id,"reference provider is discoverable but does not have any related search provider or custom picker component registered"),e}))}function on(t,e=null){const n=rn(),i=t.replace(/[/\-\\^$*+?.()|[\]{}]/g,"\\$&"),a=new RegExp(i,"i"),r=function(t){const e=window._vue_richtext_reference_provider_timestamps;return t.sort(((t,e)=>t.order===e.order?0:t.order>e.order?1:-1)).sort(((t,n)=>{const i=e[t.id],a=e[n.id];return i===a?0:void 0===a?-1:void 0===i?1:i>a?-1:1}))}(n).filter((t=>t.title.match(a))),o=e?r.slice(0,e):r;return(""===t||0===o.length)&&o.push(an),o}window._vue_richtext_reference_providers||(window._vue_richtext_reference_providers=(0,s.j)("core","reference-provider-list",[])),window._vue_richtext_reference_provider_timestamps||(window._vue_richtext_reference_provider_timestamps=(0,s.j)("core","reference-provider-timestamps",{}));let sn=0;function ln(t,e){return function(){const n=this,i=arguments;clearTimeout(sn),sn=setTimeout((function(){t.apply(n,i)}),e||0)}}function cn(t){try{return!!new URL(t)}catch{return!1}}const dn={name:"LinkVariantIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var un=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon link-variant-icon",attrs:{"aria-hidden":!t.title,"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:"M10.59,13.41C11,13.8 11,14.44 10.59,14.83C10.2,15.22 9.56,15.22 9.17,14.83C7.22,12.88 7.22,9.71 9.17,7.76V7.76L12.71,4.22C14.66,2.27 17.83,2.27 19.78,4.22C21.73,6.17 21.73,9.34 19.78,11.29L18.29,12.78C18.3,11.96 18.17,11.14 17.89,10.36L18.36,9.88C19.54,8.71 19.54,6.81 18.36,5.64C17.19,4.46 15.29,4.46 14.12,5.64L10.59,9.17C9.41,10.34 9.41,12.24 10.59,13.41M13.41,9.17C13.8,8.78 14.44,8.78 14.83,9.17C16.78,11.12 16.78,14.29 14.83,16.24V16.24L11.29,19.78C9.34,21.73 6.17,21.73 4.22,19.78C2.27,17.83 2.27,14.66 4.22,12.71L5.71,11.22C5.7,12.04 5.83,12.86 6.11,13.65L5.64,14.12C4.46,15.29 4.46,17.19 5.64,18.36C6.81,19.54 8.71,19.54 9.88,18.36L13.41,14.83C14.59,13.66 14.59,11.76 13.41,10.59C13,10.2 13,9.56 13.41,9.17Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},pn=[];const hn=(0,I.n)(dn,un,pn,!1,null,null,null,null).exports,fn={name:"NcProviderList",components:{NcSelect:Ge.Z,NcHighlight:ye.N,NcEmptyContent:ne.Z,LinkVariantIcon:hn},emits:["select-provider","submit"],data:()=>({selectedProvider:null,query:"",multiselectPlaceholder:(0,Bt.t)("Select provider"),providerIconAlt:(0,Bt.t)("Provider icon")}),computed:{options(){const t=[];return""!==this.query&&cn(this.query)&&t.push({id:this.query,title:this.query,isLink:!0}),t.push(...on(this.query)),t}},methods:{focus(){setTimeout((()=>{var t,e,n;null==(n=null==(e=null==(t=this.$refs["provider-select"])?void 0:t.$el)?void 0:e.querySelector("#provider-select-input"))||n.focus()}),300)},onProviderSelected(t){null!==t&&(t.isLink?this.$emit("submit",t.title):this.$emit("select-provider",t),this.selectedProvider=null)},onSearch(t,e){this.query=t}}};var An=function(){var t=this,e=t._self._c;return e("div",{staticClass:"provider-list"},[e("NcSelect",{ref:"provider-select",staticClass:"provider-list--select",attrs:{"input-id":"provider-select-input",label:"title",placeholder:t.multiselectPlaceholder,options:t.options,"append-to-body":!1,"clear-search-on-select":!0,"clear-search-on-blur":()=>!1,filterable:!1},on:{search:t.onSearch,input:t.onProviderSelected},scopedSlots:t._u([{key:"option",fn:function(n){return[n.isLink?e("div",{staticClass:"provider"},[e("LinkVariantIcon",{staticClass:"link-icon",attrs:{size:20}}),e("span",[t._v(t._s(n.title))])],1):e("div",{staticClass:"provider"},[e("img",{staticClass:"provider-icon",attrs:{src:n.icon_url,alt:t.providerIconAlt}}),e("NcHighlight",{staticClass:"option-text",attrs:{search:t.query,text:n.title}})],1)]}}]),model:{value:t.selectedProvider,callback:function(e){t.selectedProvider=e},expression:"selectedProvider"}}),e("NcEmptyContent",{staticClass:"provider-list--empty-content",scopedSlots:t._u([{key:"icon",fn:function(){return[e("LinkVariantIcon")]},proxy:!0}])})],1)},mn=[];const gn=(0,I.n)(fn,An,mn,!1,null,"9d850ea5",null,null).exports,vn={name:"NcRawLinkInput",components:{LinkVariantIcon:hn,NcEmptyContent:ne.Z,NcLoadingIcon:yt.Z,NcReferenceWidget:Xe,NcTextField:We.Z},props:{provider:{type:Object,required:!0}},emits:["submit"],data:()=>({inputValue:"",loading:!1,reference:null,abortController:null,inputPlaceholder:(0,Bt.t)("Enter link")}),computed:{isLinkValid(){return cn(this.inputValue)}},methods:{focus(){var t;null==(t=this.$refs["url-input"].$el.getElementsByTagName("input")[0])||t.focus()},onSubmit(t){const e=t.target.value;this.isLinkValid&&this.$emit("submit",e)},onClear(){this.inputValue="",this.reference=null},onInput(){this.reference=null,this.abortController&&this.abortController.abort(),this.isLinkValid&&ln((()=>{this.updateReference()}),500)()},updateReference(){this.loading=!0,this.abortController=new AbortController,l.Z.get((0,r.generateOcsUrl)("references/resolve",2)+"?reference="+encodeURIComponent(this.inputValue),{signal:this.abortController.signal}).then((t=>{this.reference=t.data.ocs.data.references[this.inputValue]})).catch((t=>{$e.error(t)})).then((()=>{this.loading=!1}))}}};var bn=function(){var t=this,e=t._self._c;return e("div",{staticClass:"raw-link"},[e("div",{staticClass:"input-wrapper"},[e("NcTextField",{ref:"url-input",attrs:{value:t.inputValue,"show-trailing-button":""!==t.inputValue,label:t.inputPlaceholder},on:{"update:value":[function(e){t.inputValue=e},t.onInput],"trailing-button-click":t.onClear},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.onSubmit.apply(null,arguments)}}},[t.loading?e("NcLoadingIcon",{attrs:{size:16}}):e("LinkVariantIcon",{attrs:{size:16}})],1)],1),null!==t.reference?e("NcReferenceWidget",{staticClass:"reference-widget",attrs:{reference:t.reference}}):e("NcEmptyContent",{staticClass:"raw-link--empty-content",scopedSlots:t._u([{key:"icon",fn:function(){return[t.provider.icon_url?e("img",{staticClass:"provider-icon",attrs:{src:t.provider.icon_url}}):e("LinkVariantIcon")]},proxy:!0}])})],1)},yn=[];const Cn=(0,I.n)(vn,bn,yn,!1,null,"d0ba247a",null,null).exports,xn={name:"NcSearchResult",components:{NcHighlight:ye.N},props:{entry:{type:Object,required:!0},query:{type:String,required:!0}}};var wn=function(){var t=this,e=t._self._c;return e("div",{staticClass:"result"},[t.entry.icon?e("div",{staticClass:"result--icon-class",class:{[t.entry.icon]:!0,rounded:t.entry.rounded}}):e("img",{staticClass:"result--image",class:{rounded:t.entry.rounded},attrs:{src:t.entry.thumbnailUrl}}),e("div",{staticClass:"result--content"},[e("span",{staticClass:"result--content--name"},[e("NcHighlight",{attrs:{search:t.query,text:t.entry.title}})],1),e("span",{staticClass:"result--content--subline"},[e("NcHighlight",{attrs:{search:t.query,text:t.entry.subline}})],1)])])},En=[];const _n=(0,I.n)(xn,wn,En,!1,null,"7a394a58",null,null).exports,Bn={name:"NcSearch",components:{LinkVariantIcon:hn,DotsHorizontalIcon:Fe.D,NcEmptyContent:ne.Z,NcSelect:Ge.Z,NcSearchResult:_n},props:{provider:{type:Object,required:!0},showEmptyContent:{type:Boolean,default:!0},searchPlaceholder:{type:String,default:null}},emits:["submit"],data:()=>({searchQuery:"",selectedResult:null,resultsBySearchProvider:{},searching:!1,searchingMoreOf:null,abortController:null,noOptionsText:(0,Bt.t)("Start typing to search"),providerIconAlt:(0,Bt.t)("Provider icon")}),computed:{mySearchPlaceholder(){return this.searchPlaceholder||(0,Bt.t)("Search")},searchProviderIds(){return this.provider.search_providers_ids},options(){if(""===this.searchQuery)return[];const t=[];return cn(this.searchQuery)&&t.push(this.rawLinkEntry),t.push(...this.formattedSearchResults),t},rawLinkEntry(){return{id:"rawLinkEntry",resourceUrl:this.searchQuery,isRawLink:!0}},formattedSearchResults(){const t=[];return this.searchProviderIds.forEach((e=>{if(this.resultsBySearchProvider[e].entries.length>0){(this.searchProviderIds.length>1||this.resultsBySearchProvider[e].entries.length>1)&&t.push({id:"groupTitle-"+e,name:this.resultsBySearchProvider[e].name,isCustomGroupTitle:!0,providerId:e});const n=this.resultsBySearchProvider[e].entries.map(((t,n)=>({id:"provider-"+e+"-entry-"+n,...t})));t.push(...n),this.resultsBySearchProvider[e].isPaginated&&t.push({id:"moreOf-"+e,name:this.resultsBySearchProvider[e].name,isMore:!0,providerId:e,isLoading:this.searchingMoreOf===e})}})),t}},mounted(){this.resetResults()},beforeDestroy(){this.cancelSearchRequests()},methods:{t:Bt.t,resetResults(){const t={};this.searchProviderIds.forEach((e=>{t[e]={entries:[]}})),this.resultsBySearchProvider=t},focus(){setTimeout((()=>{var t,e,n;null==(n=null==(e=null==(t=this.$refs["search-select"])?void 0:t.$el)?void 0:e.querySelector("#search-select-input"))||n.focus()}),300)},cancelSearchRequests(){this.abortController&&this.abortController.abort()},onSearchInput(t,e){this.searchQuery=t,ln((()=>{this.updateSearch()}),500)()},onSelectResultSelected(t){null!==t&&(t.resourceUrl?(this.cancelSearchRequests(),this.$emit("submit",t.resourceUrl)):t.isMore&&this.searchMoreOf(t.providerId).then((()=>{this.selectedResult=null})))},searchMoreOf(t){return this.searchingMoreOf=t,this.cancelSearchRequests(),this.searchProviders(t)},updateSearch(){if(this.cancelSearchRequests(),this.resetResults(),""!==this.searchQuery)return this.searchProviders();this.searching=!1},searchProviders(t=null){var e,n;this.abortController=new AbortController,this.searching=!0;const i=null===t?[...this.searchProviderIds].map((t=>this.searchOneProvider(t))):[this.searchOneProvider(t,null!=(n=null==(e=this.resultsBySearchProvider[t])?void 0:e.cursor)?n:null)];return Promise.allSettled(i).then((t=>{t.find((t=>"rejected"===t.status&&("CanceledError"===t.reason.name||"ERR_CANCELED"===t.reason.code)))||(this.searching=!1,this.searchingMoreOf=null)}))},searchOneProvider(t,e=null){const n=null===e?(0,r.generateOcsUrl)("search/providers/{providerId}/search?term={term}&limit={limit}",{providerId:t,term:this.searchQuery,limit:5}):(0,r.generateOcsUrl)("search/providers/{providerId}/search?term={term}&limit={limit}&cursor={cursor}",{providerId:t,term:this.searchQuery,limit:5,cursor:e});return l.Z.get(n,{signal:this.abortController.signal}).then((e=>{const n=e.data.ocs.data;this.resultsBySearchProvider[t].name=n.name,this.resultsBySearchProvider[t].cursor=n.cursor,this.resultsBySearchProvider[t].isPaginated=n.isPaginated,this.resultsBySearchProvider[t].entries.push(...n.entries)}))}}};var kn=function(){var t=this,e=t._self._c;return e("div",{staticClass:"smart-picker-search",class:{"with-empty-content":t.showEmptyContent}},[e("NcSelect",{ref:"search-select",staticClass:"smart-picker-search--select",attrs:{"input-id":"search-select-input",label:"name",placeholder:t.mySearchPlaceholder,options:t.options,"append-to-body":!1,"close-on-select":!1,"clear-search-on-select":!1,"clear-search-on-blur":()=>!1,"reset-focus-on-options-change":!1,filterable:!1,autoscroll:!0,"reset-on-options-change":!1,loading:t.searching},on:{search:t.onSearchInput,input:t.onSelectResultSelected},scopedSlots:t._u([{key:"option",fn:function(n){return[n.isRawLink?e("div",{staticClass:"custom-option"},[e("LinkVariantIcon",{staticClass:"option-simple-icon",attrs:{size:20}}),e("span",{staticClass:"option-text"},[t._v(" "+t._s(t.t("Raw link {options}",{options:n.resourceUrl}))+" ")])],1):n.resourceUrl?e("NcSearchResult",{staticClass:"search-result",attrs:{entry:n,query:t.searchQuery}}):n.isCustomGroupTitle?e("span",{staticClass:"custom-option group-name"},[t.provider.icon_url?e("img",{staticClass:"provider-icon group-name-icon",attrs:{src:t.provider.icon_url}}):t._e(),e("span",{staticClass:"option-text"},[e("strong",[t._v(t._s(n.name))])])]):n.isMore?e("span",{class:{"custom-option":!0}},[n.isLoading?e("span",{staticClass:"option-simple-icon icon-loading-small"}):e("DotsHorizontalIcon",{staticClass:"option-simple-icon",attrs:{size:20}}),e("span",{staticClass:"option-text"},[t._v(" "+t._s(t.t('Load more "{options}"',{options:n.name}))+" ")])],1):t._e()]}},{key:"no-options",fn:function(){return[t._v(" "+t._s(t.noOptionsText)+" ")]},proxy:!0}]),model:{value:t.selectedResult,callback:function(e){t.selectedResult=e},expression:"selectedResult"}}),t.showEmptyContent?e("NcEmptyContent",{staticClass:"smart-picker-search--empty-content",scopedSlots:t._u([{key:"icon",fn:function(){return[t.provider.icon_url?e("img",{staticClass:"provider-icon",attrs:{alt:t.providerIconAlt,src:t.provider.icon_url}}):e("LinkVariantIcon")]},proxy:!0}],null,!1,2922132592)}):t._e()],1)},Sn=[];const Tn=(0,I.n)(Bn,kn,Sn,!1,null,"97d196f0",null,null).exports,In={providerList:1,standardLinkInput:2,searchInput:3,customElement:4},Nn={name:"NcReferencePicker",components:{NcCustomPickerElement:en,NcProviderList:gn,NcRawLinkInput:Cn,NcSearch:Tn},props:{initialProvider:{type:Object,default:()=>null},width:{type:Number,default:null},focusOnCreate:{type:Boolean,default:!0}},emits:["cancel","cancel-raw-link","cancel-search","provider-selected","submit"],data(){return{MODES:In,selectedProvider:this.initialProvider}},computed:{mode(){return null===this.selectedProvider?In.providerList:Je(this.selectedProvider.id)?In.customElement:this.selectedProvider.search_providers_ids?In.searchInput:In.standardLinkInput},pickerWrapperStyle(){return{width:this.width?this.width+"px":void 0}}},mounted(){this.focusOnCreate&&(this.initialProvider?setTimeout((()=>{var t;null==(t=this.$refs["url-input"])||t.focus()}),300):this.$nextTick((()=>{var t;null==(t=this.$refs["provider-list"])||t.focus()})))},methods:{onEscapePressed(){null!==this.selectedProvider?this.deselectProvider():this.cancelProviderSelection()},onProviderSelected(t){this.selectedProvider=t,this.$emit("provider-selected",t),this.$nextTick((()=>{var t;null==(t=this.$refs["url-input"])||t.focus()}))},cancelCustomElement(){this.deselectProvider()},cancelSearch(){var t;this.$emit("cancel-search",null==(t=this.selectedProvider)?void 0:t.title),this.deselectProvider()},cancelRawLinkInput(){var t;this.$emit("cancel-raw-link",null==(t=this.selectedProvider)?void 0:t.title),this.deselectProvider()},cancelProviderSelection(){this.$emit("cancel")},submitLink(t){null!==this.selectedProvider&&function(t){const e=Math.floor(Date.now()/1e3),n={timestamp:e},i=(0,r.generateOcsUrl)("references/provider/{providerId}",{providerId:t});l.Z.put(i,n).then((n=>{window._vue_richtext_reference_provider_timestamps[t]=e}))}(this.selectedProvider.id),this.$emit("submit",t),this.deselectProvider()},deselectProvider(){this.selectedProvider=null,this.$emit("provider-selected",null),setTimeout((()=>{var t;null==(t=this.$refs["provider-list"])||t.focus()}),300)}}};var Ln=function(){var t=this,e=t._self._c;return e("div",{staticClass:"reference-picker",style:t.pickerWrapperStyle,attrs:{tabindex:"-1"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:(e.stopPropagation(),e.preventDefault(),t.onEscapePressed.apply(null,arguments))}}},[t.mode===t.MODES.providerList?e("NcProviderList",{ref:"provider-list",on:{"select-provider":t.onProviderSelected,submit:t.submitLink,cancel:t.cancelProviderSelection}}):t.mode===t.MODES.standardLinkInput?e("NcRawLinkInput",{ref:"url-input",attrs:{provider:t.selectedProvider},on:{submit:t.submitLink,cancel:t.cancelRawLinkInput}}):t.mode===t.MODES.searchInput?e("NcSearch",{ref:"url-input",attrs:{provider:t.selectedProvider},on:{cancel:t.cancelSearch,submit:t.submitLink}}):t.mode===t.MODES.customElement?e("div",{staticClass:"custom-element-wrapper"},[e("NcCustomPickerElement",{attrs:{provider:t.selectedProvider},on:{submit:t.submitLink,cancel:t.cancelCustomElement}})],1):t._e()],1)},Pn=[];const Mn={name:"NcReferencePickerModal",components:{NcReferencePicker:(0,I.n)(Nn,Ln,Pn,!1,null,"aa77d0d3",null,null).exports,NcModal:p.Z,NcButton:c.Z,ArrowLeftIcon:Ye.A,CloseIcon:ze.C},props:{initialProvider:{type:Object,default:()=>null},focusOnCreate:{type:Boolean,default:!0},isInsideViewer:{type:Boolean,default:!1}},emits:["cancel","submit"],data(){return{show:!0,selectedProvider:this.initialProvider,backButtonTitle:(0,Bt.t)("Back to provider selection"),closeButtonTitle:(0,Bt.t)("Close"),closeButtonLabel:(0,Bt.t)("Close Smart Picker")}},computed:{isProviderSelected(){return null!==this.selectedProvider},showBackButton(){return null===this.initialProvider&&this.isProviderSelected},modalSize(){var t;return this.isProviderSelected&&Je(this.selectedProvider.id)?null!=(t=(t=>{var e;const n=null==(e=window._vue_richtext_custom_picker_elements[t])?void 0:e.size;return["small","normal","large","full"].includes(n)?n:null})(this.selectedProvider.id))?t:"large":"normal"},showModalName(){return!this.isProviderSelected||!Je(this.selectedProvider.id)},modalName(){return this.isProviderSelected?this.selectedProvider.title:(0,Bt.t)("Smart Picker")}},mounted(){if(this.isInsideViewer){const t=this.$refs.modal_content;(0,Ze.j8)("viewer:trapElements:changed",t)}},methods:{onCancel(){this.show=!1,this.$emit("cancel")},onSubmit(t){this.show=!1,this.$emit("submit",t)},onProviderSelect(t){this.selectedProvider=t,null===t&&null!==this.initialProvider&&this.onCancel()},onBackClicked(){this.$refs.referencePicker.deselectProvider()}}};var On=function(){var t=this,e=t._self._c;return t.show?e("NcModal",{staticClass:"reference-picker-modal",attrs:{size:t.modalSize,"can-close":!1},on:{close:t.onCancel}},[e("div",{ref:"modal_content",staticClass:"reference-picker-modal--content"},[t.showBackButton?e("NcButton",{staticClass:"back-button",attrs:{"aria-label":t.backButtonTitle,title:t.backButtonTitle},on:{click:t.onBackClicked},scopedSlots:t._u([{key:"icon",fn:function(){return[e("ArrowLeftIcon")]},proxy:!0}],null,!1,3001860362)}):t._e(),e("NcButton",{staticClass:"close-button",attrs:{"aria-label":t.closeButtonLabel,title:t.closeButtonTitle,type:"tertiary"},on:{click:t.onCancel},scopedSlots:t._u([{key:"icon",fn:function(){return[e("CloseIcon")]},proxy:!0}],null,!1,2491825086)}),t.showModalName?e("h2",[t._v(" "+t._s(t.modalName)+" ")]):t._e(),e("NcReferencePicker",{ref:"referencePicker",attrs:{"initial-provider":t.initialProvider,"focus-on-create":t.focusOnCreate},on:{"provider-selected":t.onProviderSelect,submit:t.onSubmit,cancel:t.onCancel}})],1)]):t._e()},Rn=[];const Dn=(0,I.n)(Mn,On,Rn,!1,null,"3f1a4ac7",null,null).exports;var jn=i(25108),Un=i(19755);if(Array.prototype.find||(Array.prototype.find=function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),i=n.length>>>0,a=arguments[1],r=0;r<i;r++)if(e=n[r],t.call(a,e,r,n))return e}),window&&"function"!=typeof window.CustomEvent){function ga(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}void 0!==window.Event&&(ga.prototype=window.Event.prototype),window.CustomEvent=ga}class Gn{constructor(t){this.tribute=t,this.tribute.events=this}static keys(){return[{key:9,value:"TAB"},{key:8,value:"DELETE"},{key:13,value:"ENTER"},{key:27,value:"ESCAPE"},{key:32,value:"SPACE"},{key:38,value:"UP"},{key:40,value:"DOWN"}]}bind(t){t.boundKeydown=this.keydown.bind(t,this),t.boundKeyup=this.keyup.bind(t,this),t.boundInput=this.input.bind(t,this),t.addEventListener("keydown",t.boundKeydown,!1),t.addEventListener("keyup",t.boundKeyup,!1),t.addEventListener("input",t.boundInput,!1)}unbind(t){t.removeEventListener("keydown",t.boundKeydown,!1),t.removeEventListener("keyup",t.boundKeyup,!1),t.removeEventListener("input",t.boundInput,!1),delete t.boundKeydown,delete t.boundKeyup,delete t.boundInput}keydown(t,e){t.shouldDeactivate(e)&&(t.tribute.isActive=!1,t.tribute.hideMenu());let n=this;t.commandEvent=!1,Gn.keys().forEach((i=>{i.key===e.keyCode&&(t.commandEvent=!0,t.callbacks()[i.value.toLowerCase()](e,n))}))}input(t,e){t.inputEvent=!0,t.keyup.call(this,t,e)}click(t,e){let n=t.tribute;if(n.menu&&n.menu.contains(e.target)){let t=e.target;for(e.preventDefault(),e.stopPropagation();"li"!==t.nodeName.toLowerCase();)if(t=t.parentNode,!t||t===n.menu)throw new Error("cannot find the <li> container for the click");n.selectItemAtIndex(t.getAttribute("data-index"),e),n.hideMenu()}else n.current.element&&!n.current.externalTrigger&&(n.current.externalTrigger=!1,setTimeout((()=>n.hideMenu())))}keyup(t,e){if(t.inputEvent&&(t.inputEvent=!1),t.updateSelection(this),27!==e.keyCode){if(!t.tribute.allowSpaces&&t.tribute.hasTrailingSpace)return t.tribute.hasTrailingSpace=!1,t.commandEvent=!0,void t.callbacks().space(e,this);if(!t.tribute.isActive)if(t.tribute.autocompleteMode)t.callbacks().triggerChar(e,this,"");else{let n=t.getKeyCode(t,this,e);if(isNaN(n)||!n)return;let i=t.tribute.triggers().find((t=>t.charCodeAt(0)===n));void 0!==i&&t.callbacks().triggerChar(e,this,i)}t.tribute.current.mentionText.length<t.tribute.current.collection.menuShowMinLength||((t.tribute.current.trigger||t.tribute.autocompleteMode)&&!1===t.commandEvent||t.tribute.isActive&&8===e.keyCode)&&t.tribute.showMenuFor(this,!0)}}shouldDeactivate(t){if(!this.tribute.isActive)return!1;if(0===this.tribute.current.mentionText.length){let e=!1;return Gn.keys().forEach((n=>{t.keyCode===n.key&&(e=!0)})),!e}return!1}getKeyCode(t,e,n){let i=t.tribute,a=i.range.getTriggerInfo(!1,i.hasTrailingSpace,!0,i.allowSpaces,i.autocompleteMode);return!!a&&a.mentionTriggerChar.charCodeAt(0)}updateSelection(t){this.tribute.current.element=t;let e=this.tribute.range.getTriggerInfo(!1,this.tribute.hasTrailingSpace,!0,this.tribute.allowSpaces,this.tribute.autocompleteMode);e&&(this.tribute.current.selectedPath=e.mentionSelectedPath,this.tribute.current.mentionText=e.mentionText,this.tribute.current.selectedOffset=e.mentionSelectedOffset)}callbacks(){return{triggerChar:(t,e,n)=>{let i=this.tribute;i.current.trigger=n;let a=i.collection.find((t=>t.trigger===n));i.current.collection=a,i.current.mentionText.length>=i.current.collection.menuShowMinLength&&i.inputEvent&&i.showMenuFor(e,!0)},enter:(t,e)=>{this.tribute.isActive&&this.tribute.current.filteredItems&&(t.preventDefault(),t.stopPropagation(),setTimeout((()=>{this.tribute.selectItemAtIndex(this.tribute.menuSelected,t),this.tribute.hideMenu()}),0))},escape:(t,e)=>{this.tribute.isActive&&(t.preventDefault(),t.stopPropagation(),this.tribute.isActive=!1,this.tribute.hideMenu())},tab:(t,e)=>{this.callbacks().enter(t,e)},space:(t,e)=>{this.tribute.isActive&&(this.tribute.spaceSelectsMatch?this.callbacks().enter(t,e):this.tribute.allowSpaces||(t.stopPropagation(),setTimeout((()=>{this.tribute.hideMenu(),this.tribute.isActive=!1}),0)))},up:(t,e)=>{if(this.tribute.isActive&&this.tribute.current.filteredItems){t.preventDefault(),t.stopPropagation();let e=this.tribute.current.filteredItems.length,n=this.tribute.menuSelected;e>n&&n>0?(this.tribute.menuSelected--,this.setActiveLi()):0===n&&(this.tribute.menuSelected=e-1,this.setActiveLi(),this.tribute.menu.scrollTop=this.tribute.menu.scrollHeight)}},down:(t,e)=>{if(this.tribute.isActive&&this.tribute.current.filteredItems){t.preventDefault(),t.stopPropagation();let e=this.tribute.current.filteredItems.length-1,n=this.tribute.menuSelected;e>n?(this.tribute.menuSelected++,this.setActiveLi()):e===n&&(this.tribute.menuSelected=0,this.setActiveLi(),this.tribute.menu.scrollTop=0)}},delete:(t,e)=>{this.tribute.isActive&&this.tribute.current.mentionText.length<1?this.tribute.hideMenu():this.tribute.isActive&&this.tribute.showMenuFor(e)}}}setActiveLi(t){let e=this.tribute.menu.querySelectorAll("li"),n=e.length>>>0;t&&(this.tribute.menuSelected=parseInt(t));for(let t=0;t<n;t++){let n=e[t];if(t===this.tribute.menuSelected){n.classList.add(this.tribute.current.collection.selectClass);let t=n.getBoundingClientRect(),e=this.tribute.menu.getBoundingClientRect();if(t.bottom>e.bottom){let n=t.bottom-e.bottom;this.tribute.menu.scrollTop+=n}else if(t.top<e.top){let n=e.top-t.top;this.tribute.menu.scrollTop-=n}}else n.classList.remove(this.tribute.current.collection.selectClass)}}getFullHeight(t,e){let n=t.getBoundingClientRect().height;if(e){let e=t.currentStyle||window.getComputedStyle(t);return n+parseFloat(e.marginTop)+parseFloat(e.marginBottom)}return n}}class Wn{constructor(t){this.tribute=t,this.tribute.menuEvents=this,this.menu=this.tribute.menu}bind(t){this.menuClickEvent=this.tribute.events.click.bind(null,this),this.menuContainerScrollEvent=this.debounce((()=>{this.tribute.isActive&&this.tribute.showMenuFor(this.tribute.current.element,!1)}),300,!1),this.windowResizeEvent=this.debounce((()=>{this.tribute.isActive&&this.tribute.range.positionMenuAtCaret(!0)}),300,!1),this.tribute.range.getDocument().addEventListener("MSPointerDown",this.menuClickEvent,!1),this.tribute.range.getDocument().addEventListener("mousedown",this.menuClickEvent,!1),window.addEventListener("resize",this.windowResizeEvent),this.menuContainer?this.menuContainer.addEventListener("scroll",this.menuContainerScrollEvent,!1):window.addEventListener("scroll",this.menuContainerScrollEvent)}unbind(t){this.tribute.range.getDocument().removeEventListener("mousedown",this.menuClickEvent,!1),this.tribute.range.getDocument().removeEventListener("MSPointerDown",this.menuClickEvent,!1),window.removeEventListener("resize",this.windowResizeEvent),this.menuContainer?this.menuContainer.removeEventListener("scroll",this.menuContainerScrollEvent,!1):window.removeEventListener("scroll",this.menuContainerScrollEvent)}debounce(t,e,n){var i;return()=>{var a=this,r=arguments,o=n&&!i;clearTimeout(i),i=setTimeout((()=>{i=null,n||t.apply(a,r)}),e),o&&t.apply(a,r)}}}class Fn{constructor(t){this.tribute=t,this.tribute.range=this}getDocument(){let t;return this.tribute.current.collection&&(t=this.tribute.current.collection.iframe),t?t.contentWindow.document:document}positionMenuAtCaret(t){let e,n=this.tribute.current,i=this.getTriggerInfo(!1,this.tribute.hasTrailingSpace,!0,this.tribute.allowSpaces,this.tribute.autocompleteMode);if(void 0!==i){if(!this.tribute.positionMenu)return void(this.tribute.menu.style.cssText="display: block;");e=this.isContentEditable(n.element)?this.getContentEditableCaretPosition(i.mentionPosition):this.getTextAreaOrInputUnderlinePosition(this.tribute.current.element,i.mentionPosition),this.tribute.menu.style.cssText=`top: ${e.top}px;\n left: ${e.left}px;\n right: ${e.right}px;\n bottom: ${e.bottom}px;\n position: absolute;\n display: block;`,"auto"===e.left&&(this.tribute.menu.style.left="auto"),"auto"===e.top&&(this.tribute.menu.style.top="auto"),t&&this.scrollIntoView(),window.setTimeout((()=>{let n={width:this.tribute.menu.offsetWidth,height:this.tribute.menu.offsetHeight},i=this.isMenuOffScreen(e,n),a=window.innerWidth>n.width&&(i.left||i.right),r=window.innerHeight>n.height&&(i.top||i.bottom);(a||r)&&(this.tribute.menu.style.cssText="display: none",this.positionMenuAtCaret(t))}),0)}else this.tribute.menu.style.cssText="display: none"}get menuContainerIsBody(){return this.tribute.menuContainer===document.body||!this.tribute.menuContainer}selectElement(t,e,n){let i,a=t;if(e)for(var r=0;r<e.length;r++){if(a=a.childNodes[e[r]],void 0===a)return;for(;a.length<n;)n-=a.length,a=a.nextSibling;0!==a.childNodes.length||a.length||(a=a.previousSibling)}let o=this.getWindowSelection();i=this.getDocument().createRange(),i.setStart(a,n),i.setEnd(a,n),i.collapse(!0);try{o.removeAllRanges()}catch(t){}o.addRange(i),t.focus()}replaceTriggerText(t,e,n,i,a){let r=this.getTriggerInfo(!0,n,e,this.tribute.allowSpaces,this.tribute.autocompleteMode);if(void 0!==r){let e=this.tribute.current,n=new CustomEvent("tribute-replaced",{detail:{item:a,instance:e,context:r,event:i}});if(this.isContentEditable(e.element)){t+="string"==typeof this.tribute.replaceTextSuffix?this.tribute.replaceTextSuffix:" ";let e=r.mentionPosition+r.mentionText.length;this.tribute.autocompleteMode||(e+=r.mentionTriggerChar.length),this.pasteHtml(t,r.mentionPosition,e)}else{let e=this.tribute.current.element,n="string"==typeof this.tribute.replaceTextSuffix?this.tribute.replaceTextSuffix:" ";t+=n;let i=r.mentionPosition,a=r.mentionPosition+r.mentionText.length+n.length;this.tribute.autocompleteMode||(a+=r.mentionTriggerChar.length-1),e.value=e.value.substring(0,i)+t+e.value.substring(a,e.value.length),e.selectionStart=i+t.length,e.selectionEnd=i+t.length}e.element.dispatchEvent(new CustomEvent("input",{bubbles:!0})),e.element.dispatchEvent(n)}}pasteHtml(t,e,n){let i,a;a=this.getWindowSelection(),i=this.getDocument().createRange(),i.setStart(a.anchorNode,e),i.setEnd(a.anchorNode,n),i.deleteContents();let r=this.getDocument().createElement("div");r.innerHTML=t;let o,s,l=this.getDocument().createDocumentFragment();for(;o=r.firstChild;)s=l.appendChild(o);i.insertNode(l),s&&(i=i.cloneRange(),i.setStartAfter(s),i.collapse(!0),a.removeAllRanges(),a.addRange(i))}getWindowSelection(){return this.tribute.collection.iframe?this.tribute.collection.iframe.contentWindow.getSelection():window.getSelection()}getNodePositionInParent(t){if(null===t.parentNode)return 0;for(var e=0;e<t.parentNode.childNodes.length;e++)if(t.parentNode.childNodes[e]===t)return e}getContentEditableSelectedPath(t){let e,n=this.getWindowSelection(),i=n.anchorNode,a=[];if(null!=i){let t,r=i.contentEditable;for(;null!==i&&"true"!==r;)t=this.getNodePositionInParent(i),a.push(t),i=i.parentNode,null!==i&&(r=i.contentEditable);return a.reverse(),e=n.getRangeAt(0).startOffset,{selected:i,path:a,offset:e}}}getTextPrecedingCurrentSelection(){let t=this.tribute.current,e="";if(this.isContentEditable(t.element)){let t=this.getWindowSelection().anchorNode;if(null!=t){let n=t.textContent,i=this.getWindowSelection().getRangeAt(0).startOffset;n&&i>=0&&(e=n.substring(0,i))}}else{let t=this.tribute.current.element;if(t){let n=t.selectionStart;t.value&&n>=0&&(e=t.value.substring(0,n))}}return e}getLastWordInText(t){let e=(t=t.replace(/\u00A0/g," ")).split(/\s+/);return e[e.length-1].trim()}getTriggerInfo(t,e,n,i,a){let r,o,s,l=this.tribute.current;if(this.isContentEditable(l.element)){let t=this.getContentEditableSelectedPath(l);t&&(r=t.selected,o=t.path,s=t.offset)}else r=this.tribute.current.element;let c=this.getTextPrecedingCurrentSelection(),d=this.getLastWordInText(c);if(a)return{mentionPosition:c.length-d.length,mentionText:d,mentionSelectedElement:r,mentionSelectedPath:o,mentionSelectedOffset:s};if(null!=c){let a,l=-1;if(this.tribute.collection.forEach((t=>{let e=t.trigger,i=t.requireLeadingSpace?this.lastIndexWithLeadingSpace(c,e):c.lastIndexOf(e);i>l&&(l=i,a=e,n=t.requireLeadingSpace)})),l>=0&&(0===l||!n||/[\xA0\s]/g.test(c.substring(l-1,l)))){let n=c.substring(l+a.length,c.length);a=c.substring(l,l+a.length);let d=n.substring(0,1),u=n.length>0&&(" "===d||" "===d);e&&(n=n.trim());let p=i?/[^\S ]/g:/[\xA0\s]/g;if(this.tribute.hasTrailingSpace=p.test(n),!u&&(t||!p.test(n)))return{mentionPosition:l,mentionText:n,mentionSelectedElement:r,mentionSelectedPath:o,mentionSelectedOffset:s,mentionTriggerChar:a}}}}lastIndexWithLeadingSpace(t,e){let n=t.split("").reverse().join(""),i=-1;for(let a=0,r=t.length;a<r;a++){let r=a===t.length-1,o=/\s/.test(n[a+1]),s=!0;for(let t=e.length-1;t>=0;t--)if(e[t]!==n[a-t]){s=!1;break}if(s&&(r||o)){i=t.length-1-a;break}}return i}isContentEditable(t){return"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName}isMenuOffScreen(t,e){let n=window.innerWidth,i=window.innerHeight,a=document.documentElement,r=(window.pageXOffset||a.scrollLeft)-(a.clientLeft||0),o=(window.pageYOffset||a.scrollTop)-(a.clientTop||0),s="number"==typeof t.top?t.top:o+i-t.bottom-e.height,l="number"==typeof t.right?t.right:t.left+e.width,c="number"==typeof t.bottom?t.bottom:t.top+e.height,d="number"==typeof t.left?t.left:r+n-t.right-e.width;return{top:s<Math.floor(o),right:l>Math.ceil(r+n),bottom:c>Math.ceil(o+i),left:d<Math.floor(r)}}getMenuDimensions(){let t={width:null,height:null};return this.tribute.menu.style.cssText="top: 0px;\n left: 0px;\n position: fixed;\n display: block;\n visibility; hidden;",t.width=this.tribute.menu.offsetWidth,t.height=this.tribute.menu.offsetHeight,this.tribute.menu.style.cssText="display: none;",t}getTextAreaOrInputUnderlinePosition(t,e,n){let i=null!==window.mozInnerScreenX,a=this.getDocument().createElement("div");a.id="input-textarea-caret-position-mirror-div",this.getDocument().body.appendChild(a);let r=a.style,o=window.getComputedStyle?getComputedStyle(t):t.currentStyle;r.whiteSpace="pre-wrap","INPUT"!==t.nodeName&&(r.wordWrap="break-word"),r.position="absolute",r.visibility="hidden",["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing"].forEach((t=>{r[t]=o[t]})),i?(r.width=parseInt(o.width)-2+"px",t.scrollHeight>parseInt(o.height)&&(r.overflowY="scroll")):r.overflow="hidden",a.textContent=t.value.substring(0,e),"INPUT"===t.nodeName&&(a.textContent=a.textContent.replace(/\s/g," "));let s=this.getDocument().createElement("span");s.textContent=t.value.substring(e)||".",a.appendChild(s);let l=t.getBoundingClientRect(),c=document.documentElement,d=(window.pageXOffset||c.scrollLeft)-(c.clientLeft||0),u=(window.pageYOffset||c.scrollTop)-(c.clientTop||0),p=0,h=0;this.menuContainerIsBody&&(p=l.top,h=l.left);let f={top:p+u+s.offsetTop+parseInt(o.borderTopWidth)+parseInt(o.fontSize)-t.scrollTop,left:h+d+s.offsetLeft+parseInt(o.borderLeftWidth)},A=window.innerWidth,m=window.innerHeight,g=this.getMenuDimensions(),v=this.isMenuOffScreen(f,g);v.right&&(f.right=A-f.left,f.left="auto");let b=this.tribute.menuContainer?this.tribute.menuContainer.offsetHeight:this.getDocument().body.offsetHeight;if(v.bottom){let t=b-(m-(this.tribute.menuContainer?this.tribute.menuContainer.getBoundingClientRect():this.getDocument().body.getBoundingClientRect()).top);f.bottom=t+(m-l.top-s.offsetTop),f.top="auto"}return v=this.isMenuOffScreen(f,g),v.left&&(f.left=A>g.width?d+A-g.width:d,delete f.right),v.top&&(f.top=m>g.height?u+m-g.height:u,delete f.bottom),this.getDocument().body.removeChild(a),f}getContentEditableCaretPosition(t){let e,n=this.getWindowSelection();e=this.getDocument().createRange(),e.setStart(n.anchorNode,t),e.setEnd(n.anchorNode,t),e.collapse(!1);let i=e.getBoundingClientRect(),a=document.documentElement,r=(window.pageXOffset||a.scrollLeft)-(a.clientLeft||0),o=(window.pageYOffset||a.scrollTop)-(a.clientTop||0),s={left:i.left+r,top:i.top+i.height+o},l=window.innerWidth,c=window.innerHeight,d=this.getMenuDimensions(),u=this.isMenuOffScreen(s,d);u.right&&(s.left="auto",s.right=l-i.left-r);let p=this.tribute.menuContainer?this.tribute.menuContainer.offsetHeight:this.getDocument().body.offsetHeight;if(u.bottom){let t=p-(c-(this.tribute.menuContainer?this.tribute.menuContainer.getBoundingClientRect():this.getDocument().body.getBoundingClientRect()).top);s.top="auto",s.bottom=t+(c-i.top)}return u=this.isMenuOffScreen(s,d),u.left&&(s.left=l>d.width?r+l-d.width:r,delete s.right),u.top&&(s.top=c>d.height?o+c-d.height:o,delete s.bottom),this.menuContainerIsBody||(s.left=s.left?s.left-this.tribute.menuContainer.offsetLeft:s.left,s.top=s.top?s.top-this.tribute.menuContainer.offsetTop:s.top),s}scrollIntoView(t){let e,n=this.menu;if(void 0===n)return;for(;void 0===e||0===e.height;)if(e=n.getBoundingClientRect(),0===e.height&&(n=n.childNodes[0],void 0===n||!n.getBoundingClientRect))return;let i=e.top,a=i+e.height;if(i<0)window.scrollTo(0,window.pageYOffset+e.top-20);else if(a>window.innerHeight){let t=window.pageYOffset+e.top-20;t-window.pageYOffset>100&&(t=window.pageYOffset+100);let n=window.pageYOffset-(window.innerHeight-a);n>t&&(n=t),window.scrollTo(0,n)}}}class Zn{constructor(t){this.tribute=t,this.tribute.search=this}simpleFilter(t,e){return e.filter((e=>this.test(t,e)))}test(t,e){return null!==this.match(t,e)}match(t,e,n){n=n||{},e.length;let i=n.pre||"",a=n.post||"",r=n.caseSensitive&&e||e.toLowerCase();if(n.skip)return{rendered:e,score:0};t=n.caseSensitive&&t||t.toLowerCase();let o=this.traverse(r,t,0,0,[]);return o?{rendered:this.render(e,o.cache,i,a),score:o.score}:null}traverse(t,e,n,i,a){if(e.length===i)return{score:this.calculateScore(a),cache:a.slice()};if(t.length===n||e.length-i>t.length-n)return;let r,o,s=e[i],l=t.indexOf(s,n);for(;l>-1;){if(a.push(l),o=this.traverse(t,e,l+1,i+1,a),a.pop(),!o)return r;(!r||r.score<o.score)&&(r=o),l=t.indexOf(s,l+1)}return r}calculateScore(t){let e=0,n=1;return t.forEach(((i,a)=>{a>0&&(t[a-1]+1===i?n+=n+1:n=1),e+=n})),e}render(t,e,n,i){var a=t.substring(0,e[0]);return e.forEach(((r,o)=>{a+=n+t[r]+i+t.substring(r+1,e[o+1]?e[o+1]:t.length)})),a}filter(t,e,n){return n=n||{},e.reduce(((e,i,a,r)=>{let o=i;n.extract&&(o=n.extract(i),o||(o=""));let s=this.match(t,o,n);return null!=s&&(e[e.length]={string:s.rendered,score:s.score,index:a,original:i}),e}),[]).sort(((t,e)=>e.score-t.score||t.index-e.index))}}class Yn{constructor({values:t=null,iframe:e=null,selectClass:n="highlight",containerClass:i="tribute-container",itemClass:a="",trigger:r="@",autocompleteMode:o=!1,selectTemplate:s=null,menuItemTemplate:l=null,lookup:c="key",fillAttr:d="value",collection:u=null,menuContainer:p=null,noMatchTemplate:h=null,requireLeadingSpace:f=!0,allowSpaces:A=!1,replaceTextSuffix:m=null,positionMenu:g=!0,spaceSelectsMatch:v=!1,searchOpts:b={},menuItemLimit:y=null,menuShowMinLength:C=0}){if(this.autocompleteMode=o,this.menuSelected=0,this.current={},this.inputEvent=!1,this.isActive=!1,this.menuContainer=p,this.allowSpaces=A,this.replaceTextSuffix=m,this.positionMenu=g,this.hasTrailingSpace=!1,this.spaceSelectsMatch=v,this.autocompleteMode&&(r="",A=!1),t)this.collection=[{trigger:r,iframe:e,selectClass:n,containerClass:i,itemClass:a,selectTemplate:(s||Yn.defaultSelectTemplate).bind(this),menuItemTemplate:(l||Yn.defaultMenuItemTemplate).bind(this),noMatchTemplate:(t=>"string"==typeof t?""===t.trim()?null:t:"function"==typeof t?t.bind(this):h||function(){return"<li>No Match Found!</li>"}.bind(this))(h),lookup:c,fillAttr:d,values:t,requireLeadingSpace:f,searchOpts:b,menuItemLimit:y,menuShowMinLength:C}];else{if(!u)throw new Error("[Tribute] No collection specified.");this.autocompleteMode&&jn.warn("Tribute in autocomplete mode does not work for collections"),this.collection=u.map((t=>({trigger:t.trigger||r,iframe:t.iframe||e,selectClass:t.selectClass||n,containerClass:t.containerClass||i,itemClass:t.itemClass||a,selectTemplate:(t.selectTemplate||Yn.defaultSelectTemplate).bind(this),menuItemTemplate:(t.menuItemTemplate||Yn.defaultMenuItemTemplate).bind(this),noMatchTemplate:(t=>"string"==typeof t?""===t.trim()?null:t:"function"==typeof t?t.bind(this):h||function(){return"<li>No Match Found!</li>"}.bind(this))(h),lookup:t.lookup||c,fillAttr:t.fillAttr||d,values:t.values,requireLeadingSpace:t.requireLeadingSpace,searchOpts:t.searchOpts||b,menuItemLimit:t.menuItemLimit||y,menuShowMinLength:t.menuShowMinLength||C})))}new Fn(this),new Gn(this),new Wn(this),new Zn(this)}get isActive(){return this._isActive}set isActive(t){if(this._isActive!=t&&(this._isActive=t,this.current.element)){let e=new CustomEvent(`tribute-active-${t}`);this.current.element.dispatchEvent(e)}}static defaultSelectTemplate(t){return void 0===t?`${this.current.collection.trigger}${this.current.mentionText}`:this.range.isContentEditable(this.current.element)?'<span class="tribute-mention">'+(this.current.collection.trigger+t.original[this.current.collection.fillAttr])+"</span>":this.current.collection.trigger+t.original[this.current.collection.fillAttr]}static defaultMenuItemTemplate(t){return t.string}static inputTypes(){return["TEXTAREA","INPUT"]}triggers(){return this.collection.map((t=>t.trigger))}attach(t){if(!t)throw new Error("[Tribute] Must pass in a DOM node or NodeList.");if(void 0!==Un&&t instanceof Un&&(t=t.get()),t.constructor===NodeList||t.constructor===HTMLCollection||t.constructor===Array){let n=t.length;for(var e=0;e<n;++e)this._attach(t[e])}else this._attach(t)}_attach(t){t.hasAttribute("data-tribute")&&jn.warn("Tribute was already bound to "+t.nodeName),this.ensureEditable(t),this.events.bind(t),t.setAttribute("data-tribute",!0)}ensureEditable(t){if(-1===Yn.inputTypes().indexOf(t.nodeName)){if(!t.contentEditable)throw new Error("[Tribute] Cannot bind to "+t.nodeName);t.contentEditable=!0}}createMenu(t){let e=this.range.getDocument().createElement("div"),n=this.range.getDocument().createElement("ul");return e.className=t,e.appendChild(n),this.menuContainer?this.menuContainer.appendChild(e):this.range.getDocument().body.appendChild(e)}showMenuFor(t,e){if(this.isActive&&this.current.element===t&&this.current.mentionText===this.currentMentionTextSnapshot)return;this.currentMentionTextSnapshot=this.current.mentionText,this.menu||(this.menu=this.createMenu(this.current.collection.containerClass),t.tributeMenu=this.menu,this.menuEvents.bind(this.menu)),this.isActive=!0,this.menuSelected=0,this.current.mentionText||(this.current.mentionText="");const n=t=>{if(!this.isActive)return;let n=this.search.filter(this.current.mentionText,t,{pre:this.current.collection.searchOpts.pre||"<span>",post:this.current.collection.searchOpts.post||"</span>",skip:this.current.collection.searchOpts.skip,extract:t=>{if("string"==typeof this.current.collection.lookup)return t[this.current.collection.lookup];if("function"==typeof this.current.collection.lookup)return this.current.collection.lookup(t,this.current.mentionText);throw new Error("Invalid lookup attribute, lookup must be string or function.")}});this.current.collection.menuItemLimit&&(n=n.slice(0,this.current.collection.menuItemLimit)),this.current.filteredItems=n;let i=this.menu.querySelector("ul");if(this.range.positionMenuAtCaret(e),!n.length){let t=new CustomEvent("tribute-no-match",{detail:this.menu});return this.current.element.dispatchEvent(t),void("function"==typeof this.current.collection.noMatchTemplate&&!this.current.collection.noMatchTemplate()||!this.current.collection.noMatchTemplate?this.hideMenu():"function"==typeof this.current.collection.noMatchTemplate?i.innerHTML=this.current.collection.noMatchTemplate():i.innerHTML=this.current.collection.noMatchTemplate)}i.innerHTML="";let a=this.range.getDocument().createDocumentFragment();n.forEach(((t,e)=>{let n=this.range.getDocument().createElement("li");n.setAttribute("data-index",e),n.className=this.current.collection.itemClass,n.addEventListener("mousemove",(t=>{let[e,n]=this._findLiTarget(t.target);0!==t.movementY&&this.events.setActiveLi(n)})),this.menuSelected===e&&n.classList.add(this.current.collection.selectClass),n.innerHTML=this.current.collection.menuItemTemplate(t),a.appendChild(n)})),i.appendChild(a)};"function"==typeof this.current.collection.values?this.current.collection.values(this.current.mentionText,n):n(this.current.collection.values)}_findLiTarget(t){if(!t)return[];const e=t.getAttribute("data-index");return e?[t,e]:this._findLiTarget(t.parentNode)}showMenuForCollection(t,e){t!==document.activeElement&&this.placeCaretAtEnd(t),this.current.collection=this.collection[e||0],this.current.externalTrigger=!0,this.current.element=t,t.isContentEditable?this.insertTextAtCursor(this.current.collection.trigger):this.insertAtCaret(t,this.current.collection.trigger),this.showMenuFor(t)}placeCaretAtEnd(t){if(t.focus(),void 0!==window.getSelection&&void 0!==document.createRange){var e=document.createRange();e.selectNodeContents(t),e.collapse(!1);var n=window.getSelection();n.removeAllRanges(),n.addRange(e)}else if(void 0!==document.body.createTextRange){var i=document.body.createTextRange();i.moveToElementText(t),i.collapse(!1),i.select()}}insertTextAtCursor(t){var e,n;(n=(e=window.getSelection()).getRangeAt(0)).deleteContents();var i=document.createTextNode(t);n.insertNode(i),n.selectNodeContents(i),n.collapse(!1),e.removeAllRanges(),e.addRange(n)}insertAtCaret(t,e){var n=t.scrollTop,i=t.selectionStart,a=t.value.substring(0,i),r=t.value.substring(t.selectionEnd,t.value.length);t.value=a+e+r,i+=e.length,t.selectionStart=i,t.selectionEnd=i,t.focus(),t.scrollTop=n}hideMenu(){this.menu&&(this.menu.style.cssText="display: none;",this.isActive=!1,this.menuSelected=0,this.current={})}selectItemAtIndex(t,e){if("number"!=typeof(t=parseInt(t))||isNaN(t))return;let n=this.current.filteredItems[t],i=this.current.collection.selectTemplate(n);null!==i&&this.replaceText(i,e,n)}replaceText(t,e,n){this.range.replaceTriggerText(t,!0,!0,e,n)}_append(t,e,n){if("function"==typeof t.values)throw new Error("Unable to append to values, as it is a function.");t.values=n?e:t.values.concat(e)}append(t,e,n){let i=parseInt(t);if("number"!=typeof i)throw new Error("please provide an index for the collection to update.");let a=this.collection[i];this._append(a,e,n)}appendCurrent(t,e){if(!this.isActive)throw new Error("No active state. Please use append instead and pass an index.");this._append(this.current.collection,t,e)}detach(t){if(!t)throw new Error("[Tribute] Must pass in a DOM node or NodeList.");if(void 0!==Un&&t instanceof Un&&(t=t.get()),t.constructor===NodeList||t.constructor===HTMLCollection||t.constructor===Array){let n=t.length;for(var e=0;e<n;++e)this._detach(t[e])}else this._detach(t)}_detach(t){this.events.unbind(t),t.tributeMenu&&this.menuEvents.unbind(t.tributeMenu),setTimeout((()=>{t.removeAttribute("data-tribute"),this.isActive=!1,t.tributeMenu&&t.tributeMenu.remove()}))}}const zn=Yn;var $n=i(20296),Hn=i(42639),Vn=i(3181),qn=i(73045),Xn=i(25108);const Jn={name:"NcAutoCompleteResult",props:{title:{type:String,required:!0},subline:{type:String,default:null},id:{type:String,default:null},icon:{type:String,required:!0},iconUrl:{type:String,default:null},source:{type:String,required:!0},status:{type:[Object,Array],default:()=>({})}},computed:{avatarUrl(){return this.iconUrl?this.iconUrl:this.id&&"users"===this.source?this.getAvatarUrl(this.id,44):null},haveStatus(){var t,e,n;return(null==(t=this.status)?void 0:t.icon)||(null==(e=this.status)?void 0:e.status)&&"offline"!==(null==(n=this.status)?void 0:n.status)}},methods:{getAvatarUrl:(t,e)=>(0,r.generateUrl)("/avatar/{user}/{size}",{user:t,size:e})}};var Kn=function(){var t=this,e=t._self._c;return e("div",{staticClass:"autocomplete-result"},[e("div",{staticClass:"autocomplete-result__icon",class:[t.icon,"autocomplete-result__icon--"+(t.avatarUrl?"with-avatar":"")],style:t.avatarUrl?{backgroundImage:`url(${t.avatarUrl})`}:null},[t.haveStatus?e("div",{staticClass:"autocomplete-result__status",class:[`autocomplete-result__status--${t.status&&t.status.icon?"icon":t.status.status}`]},[t._v(" "+t._s(t.status&&t.status.icon||"")+" ")]):t._e()]),e("span",{staticClass:"autocomplete-result__content"},[e("span",{staticClass:"autocomplete-result__title",attrs:{title:t.title}},[t._v(" "+t._s(t.title)+" ")]),t.subline?e("span",{staticClass:"autocomplete-result__subline"},[t._v(" "+t._s(t.subline)+" ")]):t._e()])])},Qn=[];const ti=(0,I.n)(Jn,Kn,Qn,!1,null,"25cf09d8",null,null).exports,ei={name:"NcRichContenteditable",directives:{tooltip:qn.VTooltip},mixins:[De.r],props:{value:{type:String,default:"",required:!0},placeholder:{type:String,default:(0,Bt.t)("Write a message …")},autoComplete:{type:Function,default:()=>[]},menuContainer:{type:Element,default:()=>document.body},multiline:{type:Boolean,default:!1},contenteditable:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},maxlength:{type:Number,default:null},emojiAutocomplete:{type:Boolean,default:!0},linkAutocomplete:{type:Boolean,default:!0}},emits:["submit","paste","update:value","smart-picker-submit"],data(){return{textSmiles:[],tribute:null,autocompleteOptions:{allowSpaces:!0,fillAttr:"id",lookup:t=>`${t.id} ${t.title}`,menuContainer:this.menuContainer,menuItemTemplate:t=>this.renderComponentHtml(t.original,ti),noMatchTemplate:()=>'<span class="hidden"></span>',selectTemplate:t=>{var e;return this.genSelectTemplate(null==(e=null==t?void 0:t.original)?void 0:e.id)},values:this.debouncedAutoComplete},emojiOptions:{trigger:":",lookup:(t,e)=>e,menuContainer:this.menuContainer,menuItemTemplate:t=>this.textSmiles.includes(t.original)?t.original:`<span class="tribute-container-emoji__item__emoji">${t.original.native}</span> :${t.original.short_name}`,noMatchTemplate:()=>(0,Bt.t)("No emoji found"),selectTemplate:t=>this.textSmiles.includes(t.original)?t.original:((0,Ue.R)(t.original),t.original.native),values:(t,e)=>{const n=(0,Ue.K)(t);this.textSmiles.includes(":"+t)&&n.unshift(":"+t),e(n)},containerClass:"tribute-container-emoji",itemClass:"tribute-container-emoji__item"},linkOptions:{trigger:"/",lookup:(t,e)=>e,menuContainer:this.menuContainer,menuItemTemplate:t=>`<img class="tribute-container-link__item__icon" src="${t.original.icon_url}"> <span class="tribute-container-link__item__title">${t.original.title}</span>`,noMatchTemplate:()=>(0,Bt.t)("No link provider found"),selectTemplate:this.getLink,values:(t,e)=>e(on(t)),containerClass:"tribute-container-link",itemClass:"tribute-container-link__item"},localValue:this.value,isComposing:!1}},computed:{isEmptyValue(){return!this.localValue||this.localValue&&""===this.localValue.trim()},isFF:()=>!!navigator.userAgent.match(/firefox/i),isOverMaxlength(){return!(this.isEmptyValue||!this.maxlength)&&function(t,{countAnsiEscapeCodes:e=!1}={}){return""===t?0:(e||(t=(0,Hn.Z)(t)),""===t?0:t.match((0,Vn.Z)()).length)}(this.localValue)>this.maxlength},tooltipString(){return this.isOverMaxlength?{content:(0,Bt.t)("Message limit of {count} characters reached",{count:this.maxlength}),shown:!0,trigger:"manual"}:null},canEdit(){return this.contenteditable&&!this.disabled},listeners(){const t={...this.$listeners};return delete t.paste,t}},watch:{value(){const t=this.$refs.contenteditable.innerHTML;this.value.trim()!==this.parseContent(t).trim()&&this.updateContent(this.value)}},mounted(){this.textSmiles=[],["d","D","p","P","s","S","x","X",")","(","|","/"].forEach((t=>{this.textSmiles.push(":"+t),this.textSmiles.push(":-"+t)})),this.autocompleteTribute=new zn(this.autocompleteOptions),this.autocompleteTribute.attach(this.$el),this.emojiAutocomplete&&(this.emojiTribute=new zn(this.emojiOptions),this.emojiTribute.attach(this.$el)),this.linkAutocomplete&&(this.linkTribute=new zn(this.linkOptions),this.linkTribute.attach(this.$el)),this.updateContent(this.value),this.$refs.contenteditable.contentEditable=this.canEdit},beforeDestroy(){this.autocompleteTribute&&this.autocompleteTribute.detach(this.$el),this.emojiTribute&&this.emojiTribute.detach(this.$el),this.linkTribute&&this.linkTribute.detach(this.$el)},methods:{focus(){this.$refs.contenteditable.focus()},getLink(t){return async function(t=null,e){return await new Promise(((n,i)=>{var r;const o=document.createElement("div");o.id="referencePickerModal",document.body.append(o);const s=null===t?null:null!=(r=function(t){return t===nn?an:rn().find((e=>e.id===t))}(t))?r:null,l=new(a.default.extend(Dn))({propsData:{initialProvider:s,isInsideViewer:e}}).$mount(o);l.$on("cancel",(()=>{l.$destroy(),i(new Error("User cancellation"))})),l.$on("submit",(t=>{l.$destroy(),n(t)}))}))}(t.original.id).then((t=>{const e=document.getElementById("tmp-smart-picker-result-node"),n={result:t,insertText:!0};if(this.$emit("smart-picker-submit",n),n.insertText){const n=document.createTextNode(t);e.replaceWith(n),this.setCursorAfter(n),this.updateValue(this.$refs.contenteditable.innerHTML)}else e.remove()})).catch((t=>{Xn.debug("Smart picker promise rejected:",t);const e=document.getElementById("tmp-smart-picker-result-node");this.setCursorAfter(e),e.remove()})),'<span id="tmp-smart-picker-result-node"></span>'},setCursorAfter(t){const e=document.createRange();e.setEndAfter(t),e.collapse();const n=window.getSelection();n.removeAllRanges(),n.addRange(e)},onInput(t){this.updateValue(t.target.innerHTML)},onPaste(t){if(!this.canEdit)return;t.preventDefault();const e=t.clipboardData;if(this.$emit("paste",t),0!==e.files.length||!Object.values(e.items).find((t=>null==t?void 0:t.type.startsWith("text"))))return;const n=e.getData("text"),i=window.getSelection();if(!i.rangeCount)return void this.updateValue(n);const a=i.getRangeAt(0);i.deleteFromDocument(),a.insertNode(document.createTextNode(n));const r=document.createRange();r.setStart(t.target,a.endOffset),r.collapse(!0),i.removeAllRanges(),i.addRange(r),this.updateValue(this.$refs.contenteditable.innerHTML)},updateValue(t){const e=this.parseContent(t);this.localValue=e,this.$emit("update:value",e)},updateContent(t){const e=this.renderContent(t);this.$refs.contenteditable.innerHTML=e,this.localValue=t},onDelete(t){if(!this.isFF||!window.getSelection||!this.canEdit)return;const e=window.getSelection(),n=t.target;if(!e.isCollapsed||!e.rangeCount)return;const i=e.getRangeAt(e.rangeCount-1);if(3===i.commonAncestorContainer.nodeType&&i.startOffset>0)return;const a=document.createRange();if(e.anchorNode!==n)a.selectNodeContents(n),a.setEndBefore(e.anchorNode);else{if(!(e.anchorOffset>0))return;a.setEnd(n,e.anchorOffset)}a.setStart(n,a.endOffset-1);const r=a.cloneContents().lastChild;r&&"false"===r.contentEditable&&(a.deleteContents(),t.preventDefault())},onEnter(t){this.multiline||this.isOverMaxlength||this.autocompleteTribute.isActive||this.emojiTribute.isActive||this.linkTribute.isActive||this.isComposing||(t.preventDefault(),t.stopPropagation(),this.$emit("submit",t))},onCtrlEnter(t){this.isOverMaxlength||this.$emit("submit",t)},debouncedAutoComplete:$n((async function(t,e){this.autoComplete(t,e)}),100),onKeyUp(t){t.stopImmediatePropagation()}}};var ni=function(){var t=this;return(0,t._self._c)("div",t._g({directives:[{name:"tooltip",rawName:"v-tooltip",value:t.tooltipString,expression:"tooltipString"}],ref:"contenteditable",staticClass:"rich-contenteditable__input",class:{"rich-contenteditable__input--empty":t.isEmptyValue,"rich-contenteditable__input--multiline":t.multiline,"rich-contenteditable__input--overflow":t.isOverMaxlength,"rich-contenteditable__input--disabled":t.disabled},attrs:{contenteditable:t.canEdit,placeholder:t.placeholder,"aria-placeholder":t.placeholder,"aria-multiline":"true",role:"textbox"},on:{input:t.onInput,compositionstart:function(e){t.isComposing=!0},compositionend:function(e){t.isComposing=!1},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"delete",[8,46],e.key,["Backspace","Delete","Del"])?null:t.onDelete.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:t.onEnter.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||!e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.stopPropagation(),e.preventDefault(),t.onCtrlEnter.apply(null,arguments))}],paste:t.onPaste,"!keyup":function(e){return e.stopPropagation(),e.preventDefault(),t.onKeyUp.apply(null,arguments)}}},t.listeners))},ii=[];(0,I.n)(ei,ni,ii,!1,null,"599f92d5",null,null).exports;var ai=i(21623),ri=i(61170),oi=i(90630),si=i(42977),li=i(81049),ci=i(25739),di=i(39685),ui=i(66875),pi=i(72090),hi=i(25108);const fi=/(\s|^)(https?:\/\/)((?:[-A-Z0-9+_]+\.)+[-A-Z]+(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\s|$)/gi,Ai=/(\s|\(|^)((https?:\/\/)((?:[-A-Z0-9+_]+\.)+[-A-Z0-9]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\s|\)|$)/gi,mi={name:"NcReferenceList",components:{NcReferenceWidget:Xe},props:{text:{type:String,default:""},referenceData:{type:Object,default:null},limit:{type:Number,default:1}},data:()=>({references:null,loading:!0}),computed:{isVisible(){return this.loading||this.displayedReferences},values(){return this.referenceData?this.referenceData:this.references?Object.values(this.references):[]},firstReference(){var t;return null!=(t=this.values[0])?t:null},displayedReferences(){return this.values.slice(0,this.limit)}},watch:{text:"fetch"},mounted(){this.fetch()},methods:{fetch(){this.loading=!0,this.referenceData?this.loading=!1:new RegExp(fi).exec(this.text)?this.resolve().then((t=>{this.references=t.data.ocs.data.references,this.loading=!1})).catch((t=>{hi.error("Failed to extract references",t),this.loading=!1})):this.loading=!1},resolve(){const t=new RegExp(fi).exec(this.text.trim());return 1===this.limit&&t?l.Z.get((0,r.generateOcsUrl)("references/resolve",2)+`?reference=${encodeURIComponent(t[0])}`):l.Z.post((0,r.generateOcsUrl)("references/extract",2),{text:this.text,resolve:!0,limit:this.limit})}}};var gi=function(){var t=this,e=t._self._c;return t.isVisible?e("div",{staticClass:"widgets--list",class:{"icon-loading":t.loading}},t._l(t.displayedReferences,(function(t){var n;return e("div",{key:null==(n=null==t?void 0:t.openGraphObject)?void 0:n.id},[e("NcReferenceWidget",{attrs:{reference:t}})],1)})),0):t._e()},vi=[];const bi=(0,I.n)(mi,gi,vi,!1,null,"bd1fbb02",null,null).exports,yi={name:"NcLink",props:{href:{type:String,required:!0}},render(t){return t("a",{attrs:{href:this.href,rel:"noopener noreferrer",target:"_blank",class:"rich-text--external-link"}},[this.href.trim()])}},Ci=function({autolink:t,useMarkdown:e}){return function(n){!e||!t||(0,ai.Vn)(n,(t=>"text"===t.type),((t,e,n)=>{let i=xi(t.value);return i=i.map((t=>"string"==typeof t?(0,oi.u)("text",t):(0,oi.u)("link",{url:t.props.href},[(0,oi.u)("text",t.props.href)]))).filter((t=>t)),n.children.splice(e,1,...i.flat()),[ri.AM,e+i.flat().length]}))}},xi=t=>{let e=Ai.exec(t);const n=[];let i=0;for(;null!==e;){let a,r=e[2],o=t.substring(i,e.index+e[1].length);" "===r[0]&&(o+=r[0],r=r.substring(1).trim());const s=r[r.length-1];("."===s||","===s||";"===s||"("===e[0][0]&&")"===s)&&(r=r.substring(0,r.length-1),a=s),n.push(o),n.push({component:yi,props:{href:r}}),a&&n.push(a),i=e.index+e[0].length,e=Ai.exec(t)}n.push(t.substring(i));const a=n.map((t=>"string"==typeof t?t:t.props.href)).join("");return t===a?n:(hi.error("Failed to reassemble the chunked text: "+t),t)},wi=function(){return function(t){(0,ai.Vn)(t,(t=>"text"===t.type),(function(t,e,n){const i=t.value.split(/(\{[a-z\-_.0-9]+\})/gi).map(((t,e,n)=>{const i=t.match(/^\{([a-z\-_.0-9]+)\}$/i);if(!i)return(0,oi.u)("text",t);const[,a]=i;return(0,oi.u)("element",{tagName:`#${a}`})}));n.children.splice(e,1,...i)}))}},Ei={name:"NcRichText",components:{NcReferenceList:bi},props:{text:{type:String,default:""},arguments:{type:Object,default:()=>({})},referenceLimit:{type:Number,default:0},references:{type:Object,default:null},markdownCssClasses:{type:Object,default:()=>({a:"rich-text--external-link",ol:"rich-text--ordered-list",ul:"rich-text--un-ordered-list",li:"rich-text--list-item",strong:"rich-text--strong",em:"rich-text--italic",h1:"rich-text--heading rich-text--heading-1",h2:"rich-text--heading rich-text--heading-2",h3:"rich-text--heading rich-text--heading-3",h4:"rich-text--heading rich-text--heading-4",h5:"rich-text--heading rich-text--heading-5",h6:"rich-text--heading rich-text--heading-6",hr:"rich-text--hr",table:"rich-text--table",pre:"rich-text--pre",code:"rich-text--code",blockquote:"rich-text--blockquote"})},useMarkdown:{type:Boolean,default:!1},autolink:{type:Boolean,default:!0}},methods:{renderPlaintext(t){const e=this,n=this.text.split(/(\{[a-z\-_.0-9]+\})/gi).map((function(n,i,a){const r=n.match(/^\{([a-z\-_.0-9]+)\}$/i);if(!r)return(({h:t,context:e},n)=>(e.autolink&&(n=xi(n)),Array.isArray(n)?n.map((e=>{if("string"==typeof e)return e;const{component:n,props:i}=e,a="NcLink"===n.name?void 0:"rich-text--component";return t(n,{props:i,class:a})})):n))({h:t,context:e},n);const o=r[1],s=e.arguments[o];if("object"==typeof s){const{component:e,props:n}=s;return t(e,{props:n,class:"rich-text--component"})}return s?t("span",{class:"rich-text--fallback"},s):n}));return t("div",{class:"rich-text--wrapper"},[t("div",{},n.flat()),this.referenceLimit>0?t("div",{class:"rich-text--reference-widget"},[t(bi,{props:{text:this.text,referenceData:this.references}})]):null])},renderMarkdown(t){const e=(0,si.l)().use(li.Z).use(Ci,{autolink:this.autolink,useMarkdown:this.useMarkdown}).use(ci.Z).use(di.Z,{handlers:{component:(t,e)=>t(e,e.component,{value:e.value})}}).use(wi).use(pi.Z,{target:"_blank",rel:["noopener noreferrer"]}).use(ui.Z,{createElement:(e,n,i)=>{if(i=null==i?void 0:i.map((t=>"string"==typeof t?t.replace(/&lt;/gim,"<"):t)),!e.startsWith("#"))return t(e,n,i);const a=this.arguments[e.slice(1)];return a?a.component?t(a.component,{attrs:n,props:a.props,class:"rich-text--component"},i):t("span",n,[a]):t("span",{attrs:n,class:"rich-text--fallback"},[`{${e.slice(1)}}`])},prefix:!1}).processSync(this.text.replace(/</gim,"&lt;").replace(/&gt;/gim,">")).result;return t("div",{class:"rich-text--wrapper rich-text--wrapper-markdown"},[e,this.referenceLimit>0?t("div",{class:"rich-text--reference-widget"},[t(bi,{props:{text:this.text,referenceData:this.references}})]):null])}},render(t){return this.useMarkdown?this.renderMarkdown(t):this.renderPlaintext(t)}},_i=((0,I.n)(Ei,null,null,!1,null,"5f33f45b",null,null).exports,(0,a.defineComponent)({name:"NcSavingIndicatorIcon",props:{size:{type:Number,default:20},name:{type:String,default:""},saving:{type:Boolean,default:!1,required:!1},error:{type:Boolean,default:!1,required:!1}},emits:["click"],computed:{indicatorColor(){return this.error?"var(--color-error)":this.saving?"var(--color-primary-element)":"none"}}}));var Bi=function(){var t=this,e=t._self._c;return t._self._setupProxy,e("span",{staticClass:"material-design-icon",attrs:{"aria-label":t.name,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},[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:{fill:t.indicatorColor,d:"m19 15a4 4 0 0 0-4 4 4 4 0 0 0 4 4 4 4 0 0 0 4-4 4 4 0 0 0-4-4z"}}),e("path",{attrs:{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}},[t.name?e("title",[t._v(t._s(t.name))]):t._e()])])])},ki=[];(0,I.n)(_i,Bi,ki,!1,null,null,null,null).exports;var Si=i(35380),Ti=i(67978),Ii={};Ii.styleTagTransform=k(),Ii.setAttributes=w(),Ii.insert=C().bind(null,"head"),Ii.domAPI=b(),Ii.insertStyleElement=_(),g()(Ti.Z,Ii),Ti.Z&&Ti.Z.locals&&Ti.Z.locals;const Ni={name:"NcSettingsInputText",props:{label:{type:String,required:!0},hint:{type:String,default:""},value:{type:String,default:""},disabled:{type:Boolean,default:!1},id:{type:String,default:()=>"settings-input-text-"+(0,W.G)(),validator:t=>""!==t.trim()}},emits:["update:value","input","submit","change"],data:()=>({submitTranslated:(0,Bt.t)("Submit")}),computed:{idSubmit(){return this.id+"-submit"}},methods:{onInput(t){this.$emit("input",t),this.$emit("update:value",t.target.value)},onSubmit(t){this.disabled||this.$emit("submit",t)},onChange(t){this.$emit("change",t)}}};var Li=function(){var t=this,e=t._self._c;return e("form",{ref:"form",attrs:{disabled:t.disabled},on:{submit:function(e){return e.preventDefault(),e.stopPropagation(),t.onSubmit.apply(null,arguments)}}},[e("div",{staticClass:"input-wrapper"},[e("label",{staticClass:"action-input__label",attrs:{for:t.id}},[t._v(t._s(t.label))]),e("input",{attrs:{id:t.id,type:"text",disabled:t.disabled},domProps:{value:t.value},on:{input:t.onInput,change:t.onChange}}),e("input",{staticClass:"action-input__submit",attrs:{id:t.idSubmit,type:"submit"},domProps:{value:t.submitTranslated}}),t.hint?e("p",{staticClass:"hint"},[t._v(" "+t._s(t.hint)+" ")]):t._e()])])},Pi=[];(0,I.n)(Ni,Li,Pi,!1,null,"5b140fb6",null,null).exports;var Mi=i(67912),Oi=i(48261),Ri={};Ri.styleTagTransform=k(),Ri.setAttributes=w(),Ri.insert=C().bind(null,"head"),Ri.domAPI=b(),Ri.insertStyleElement=_(),g()(Oi.Z,Ri),Oi.Z&&Oi.Z.locals&&Oi.Z.locals;var Di=i(94588);const ji={name:"NcSettingsSelectGroup",components:{NcSelect:Ge.Z},mixins:[Di.l],props:{label:{type:String,required:!0},placeholder:{type:String,default:""},id:{type:String,default:()=>"action-"+(0,W.G)(),validator:t=>""!==t.trim()},value:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1}},emits:["input","error"],data:()=>({groups:{},randId:(0,W.G)(),errorMessage:""}),computed:{hasError(){return""!==this.errorMessage},filteredValue(){return this.value.filter((t=>""!==t&&"string"==typeof t))},inputValue(){return this.filteredValue.map((t=>typeof this.groups[t]>"u"?{id:t,displayname:t}:this.groups[t]))},groupsArray(){return Object.values(this.groups).filter((t=>!this.value.includes(t.id)))}},watch:{value:{handler(){const t=Object.keys(this.groups);this.filteredValue.filter((e=>!t.includes(e))).forEach((t=>{this.loadGroup(t)}))},immediate:!0}},async mounted(){const t=`${appName}:${appVersion}/initialGroups`;let e=window.sessionStorage.getItem(t);e?(e=Object.fromEntries(JSON.parse(e).map((t=>[t.id,t]))),this.groups={...this.groups,...e}):(await this.loadGroup(""),window.sessionStorage.setItem(t,JSON.stringify(Object.values(this.groups))))},methods:{update(t){const e=t.map((t=>t.id));this.$emit("input",e)},async loadGroup(t){try{t="string"==typeof t?encodeURI(t):"";const e=await l.Z.get((0,r.generateOcsUrl)(`cloud/groups/details?search=${t}&limit=10`,2));if(""!==this.errorMessage&&window.setTimeout((()=>{this.errorMessage=""}),5e3),Object.keys(e.data.ocs.data.groups).length>0){const t=Object.fromEntries(e.data.ocs.data.groups.map((t=>[t.id,t])));return this.groups={...this.groups,...t},!0}}catch(t){this.$emit("error",t),this.errorMessage=(0,Bt.t)("Unable to search the group")}return!1},filterGroups:(t,e,n)=>`${e||""} ${t.id}`.toLocaleLowerCase().indexOf(n.toLocaleLowerCase())>-1,onSearch:(0,$n.debounce)((function(t){this.loadGroup(t)}),200)}};var Ui=function(){var t=this,e=t._self._c;return e("div",[t.label?e("label",{staticClass:"hidden-visually",attrs:{for:t.id}},[t._v(t._s(t.label))]):t._e(),e("NcSelect",{attrs:{value:t.inputValue,options:t.groupsArray,placeholder:t.placeholder||t.label,"filter-by":t.filterGroups,"input-id":t.id,limit:5,label:"displayname",multiple:!0,"close-on-select":!1,disabled:t.disabled},on:{input:t.update,search:t.onSearch}}),e("div",{directives:[{name:"show",rawName:"v-show",value:t.hasError,expression:"hasError"}],staticClass:"select-group-error"},[t._v(" "+t._s(t.errorMessage)+" ")])],1)},Gi=[];(0,I.n)(ji,Ui,Gi,!1,null,"5a35ccce",null,null).exports;var Wi=i(13888),Fi=i(32059),Zi={};Zi.styleTagTransform=k(),Zi.setAttributes=w(),Zi.insert=C().bind(null,"head"),Zi.domAPI=b(),Zi.insertStyleElement=_(),g()(Fi.Z,Zi),Fi.Z&&Fi.Z.locals&&Fi.Z.locals;const Yi={name:"NcUserBubbleDiv"};var zi=function(){return(0,this._self._c)("div",[this._t("trigger")],2)},$i=[];const Hi=(0,I.n)(Yi,zi,$i,!1,null,null,null,null).exports,Vi={name:"NcUserBubble",components:{NcAvatar:Wt.N,NcPopover:Be.Z,NcUserBubbleDiv:Hi},props:{avatarImage:{type:String,default:void 0},user:{type:String,default:void 0},displayName:{type:String,default:void 0},showUserStatus:{type:Boolean,default:!1},url:{type:String,default:void 0,validator:t=>{var e;try{return t=new URL(t,null!=(e=null==t?void 0:t.startsWith)&&e.call(t,"/")?window.location.href:void 0),!0}catch{return!1}}},open:{type:Boolean,default:!1},primary:{type:Boolean,default:!1},size:{type:Number,default:20},margin:{type:Number,default:2}},emits:["click","update:open"],computed:{isPopoverComponent(){return this.popoverEmpty?"NcUserBubbleDiv":"NcPopover"},isAvatarUrl(){if(!this.avatarImage)return!1;try{return!!new URL(this.avatarImage)}catch{return!1}},isCustomAvatar(){return!!this.avatarImage},hasUrl(){return this.url&&""!==this.url.trim()},isLinkComponent(){return this.hasUrl?"a":"div"},popoverEmpty(){return!("default"in this.$slots)},styles(){return{content:{height:this.size+"px",lineHeight:this.size+"px",borderRadius:this.size/2+"px"},avatar:{marginLeft:this.margin+"px"}}}},mounted(){!this.displayName&&!this.user&&a.default.util.warn("[NcUserBubble] At least `displayName` or `user` property should be set.")},methods:{onOpenChange(t){this.$emit("update:open",t)},onClick(t){this.$emit("click",t)}}};var qi=function(){var t=this,e=t._self._c;return e(t.isPopoverComponent,{tag:"component",staticClass:"user-bubble__wrapper",attrs:{trigger:"hover focus",shown:t.open},on:{"update:open":t.onOpenChange},scopedSlots:t._u([{key:"trigger",fn:function(){return[e(t.isLinkComponent,{tag:"component",staticClass:"user-bubble__content",class:{"user-bubble__content--primary":t.primary},style:t.styles.content,attrs:{href:t.hasUrl?t.url:null},on:{click:t.onClick}},[e("NcAvatar",{staticClass:"user-bubble__avatar",style:t.styles.avatar,attrs:{url:t.isCustomAvatar&&t.isAvatarUrl?t.avatarImage:void 0,"icon-class":t.isCustomAvatar&&!t.isAvatarUrl?t.avatarImage:void 0,user:t.user,"display-name":t.displayName,size:t.size-2*t.margin,"disable-tooltip":!0,"disable-menu":!0,"show-user-status":t.showUserStatus}}),e("span",{staticClass:"user-bubble__name"},[t._v(" "+t._s(t.displayName||t.user)+" ")]),t.$slots.name?e("span",{staticClass:"user-bubble__secondary"},[t._t("name")],2):t._e()],1)]},proxy:!0}],null,!0)},[t._t("default")],2)},Xi=[];(0,I.n)(Vi,qi,Xi,!1,null,"55ab76f1",null,null).exports;var Ji=i(64722),Ki=(i(85302),i(90318)),Qi=i(17593);i(40946),A.Z,M.Z,O.Z,R.Z,D.Z,z.Z,H.Z,V.Z,$.Z,et.Z,lt.Z,ct.Z,At.Z,mt.Z,Rt.Z,Dt.Z,jt.Z,Ut.Z,Gt.Z,Wt.N,Ft.Z,Zt.Z,c.Z,Yt.Z,zt.Z,$t.Z,Ht.Z,le.Z,ce.Z,de.Z,ue.Z,pe.Z,he.Z,ne.Z,be.Z,ye.N,Ce.Z,xe.Z,we.Z,yt.Z,De.N,p.Z,Ee.Z,_e.Z,Be.Z,ke.Z,Ge.Z,Si.Z,Mi.Z,Ji.Z,We.Z,Wi.Z,Symbol.toStringTag,Ki.X,Qi.X,qn.VTooltip,Symbol.toStringTag;var ta=i(11734);const ea={name:"ApiDashboardWidget",components:{NcAvatar:Wt.N,NcDashboardWidget:se,NcDashboardWidgetItem:ee,NcEmptyContent:ne.Z,NcButton:c.Z,CheckIcon:ta.default},props:{widget:{type:[Object,void 0],default:void 0},data:{type:[Object,void 0],default:void 0},loading:{type:Boolean,required:!0}},computed:{items(){return this.data?.items??[]},emptyContentMessage(){return this.data?.emptyContentMessage??""},halfEmptyContentMessage(){return this.data?.halfEmptyContentMessage??""},newButton(){return this.widget?.buttons?.find((t=>"new"===t.type))},moreButton(){return this.widget?.buttons?.find((t=>"more"===t.type))},setupButton(){return this.widget?.buttons?.find((t=>"setup"===t.type))},showMoreLabel(){return this.moreButton?.text},showMoreUrl(){return this.moreButton?.link}}};var na=i(51900);const ia=(0,na.Z)(ea,(function(){var t=this,e=t._self._c;return e("NcDashboardWidget",{attrs:{items:t.items,"show-more-label":t.showMoreLabel,"show-more-url":t.showMoreUrl,loading:t.loading,"show-items-and-empty-content":!!t.halfEmptyContentMessage,"half-empty-content-message":t.halfEmptyContentMessage},scopedSlots:t._u([{key:"default",fn:function(n){let{item:i}=n;return[e("NcDashboardWidgetItem",{attrs:{"target-url":i.link,"overlay-icon-url":i.overlayIconUrl?i.overlayIconUrl:"","main-text":i.title,"sub-text":i.subtitle},scopedSlots:t._u([{key:"avatar",fn:function(){return[i.iconUrl?[e("NcAvatar",{attrs:{size:44,url:i.iconUrl}})]:t._e()]},proxy:!0}],null,!0)})]}},{key:"empty-content",fn:function(){return[0===t.items.length?e("NcEmptyContent",{attrs:{description:t.emptyContentMessage},scopedSlots:t._u([{key:"icon",fn:function(){return[t.emptyContentMessage?e("CheckIcon",{attrs:{size:65}}):t._e()]},proxy:!0},{key:"action",fn:function(){return[t.setupButton?e("NcButton",{attrs:{href:t.setupButton.link}},[t._v("\n\t\t\t\t\t"+t._s(t.setupButton.text)+"\n\t\t\t\t")]):t._e()]},proxy:!0}],null,!1,4172361897)}):t._e()]},proxy:!0}])})}),[],!1,null,"d91c9686",null).exports;var aa=i(25108);const ra=(0,s.j)("dashboard","panels"),oa=(0,s.j)("dashboard","firstRun"),sa={weather:{text:t("dashboard","Weather"),icon:"icon-weather-status"},status:{text:t("dashboard","Status"),icon:"icon-user-status-online"}},la={name:"DashboardApp",components:{ApiDashboardWidget:ia,NcButton:c.Z,Draggable:u(),NcModal:p.Z,Pencil:h.default},mixins:[f],data:()=>({isAdmin:(0,o.ts)().isAdmin,timer:new Date,registeredStatus:[],callbacks:{},callbacksStatus:{},allCallbacksStatus:{},statusInfo:sa,enabledStatuses:(0,s.j)("dashboard","statuses"),panels:ra,firstRun:oa,displayName:(0,o.ts)()?.displayName,uid:(0,o.ts)()?.uid,layout:(0,s.j)("dashboard","layout").filter((t=>ra[t])),modal:!1,appStoreUrl:(0,r.generateUrl)("/settings/apps/dashboard"),statuses:{},apiWidgets:[],apiWidgetItems:{},loadingItems:!0}),computed:{greeting(){const e=this.timer.getHours();let n;n=e>=22||e<5?"night":e>=18?"evening":e>=12?"afternoon":"morning";const i={morning:{generic:t("dashboard","Good morning"),withName:t("dashboard","Good morning, {name}",{name:this.displayName},void 0,{escape:!1})},afternoon:{generic:t("dashboard","Good afternoon"),withName:t("dashboard","Good afternoon, {name}",{name:this.displayName},void 0,{escape:!1})},evening:{generic:t("dashboard","Good evening"),withName:t("dashboard","Good evening, {name}",{name:this.displayName},void 0,{escape:!1})},night:{generic:t("dashboard","Hello"),withName:t("dashboard","Hello, {name}",{name:this.displayName},void 0,{escape:!1})}};return{text:this.displayName&&this.uid!==this.displayName?i[n].withName:i[n].generic}},isActive(){return t=>this.layout.indexOf(t.id)>-1},isStatusActive(){return t=>!(t in this.enabledStatuses)||this.enabledStatuses[t]},sortedAllStatuses(){return Object.keys(this.allCallbacksStatus).slice().sort(this.sortStatuses)},sortedPanels(){return Object.values(this.panels).sort(((t,e)=>{const n=this.layout.indexOf(t.id),i=this.layout.indexOf(e.id);return-1===n||-1===i?i-n||t.id-e.id:n-i||t.id-e.id}))},sortedRegisteredStatus(){return this.registeredStatus.slice().sort(this.sortStatuses)}},watch:{callbacks(){this.rerenderPanels()},callbacksStatus(){for(const t in this.callbacksStatus){const e=this.$refs["status-"+t];this.statuses[t]&&this.statuses[t].mounted||(e?(this.callbacksStatus[t](e[0]),a.default.set(this.statuses,t,{mounted:!0})):aa.error("Failed to register panel in the frontend as no backend data was provided for "+t))}}},async created(){await this.fetchApiWidgets();const t=Object.values(this.apiWidgets).filter((t=>this.isApiWidgetV2(t.id))).map((t=>t.id));await Promise.all(t.map((t=>this.fetchApiWidgetItems([t],!0))));for(const t of Object.values(this.apiWidgets))t.reload_interval>0&&setInterval((async()=>{await this.fetchApiWidgetItems([t.id],!0)}),1e3*t.reload_interval)},mounted(){this.updateSkipLink(),window.addEventListener("scroll",this.handleScroll),setInterval((()=>{this.timer=new Date}),3e4),this.firstRun&&window.addEventListener("scroll",this.disableFirstrunHint)},destroyed(){window.removeEventListener("scroll",this.handleScroll)},methods:{register(t,e){a.default.set(this.callbacks,t,e)},registerStatus(t,e){a.default.set(this.allCallbacksStatus,t,e),this.isStatusActive(t)&&(this.registeredStatus.push(t),this.$nextTick((()=>{a.default.set(this.callbacksStatus,t,e)})))},rerenderPanels(){for(const t in this.callbacks){if(this.isApiWidgetV2(this.panels[t].id))continue;const e=this.$refs[t];-1!==this.layout.indexOf(t)&&(this.panels[t]&&this.panels[t].mounted||(e?(this.callbacks[t](e[0],{widget:this.panels[t]}),a.default.set(this.panels[t],"mounted",!0)):aa.error("Failed to register panel in the frontend as no backend data was provided for "+t)))}},saveLayout(){l.Z.post((0,r.generateUrl)("/apps/dashboard/layout"),{layout:this.layout.join(",")})},saveStatuses(){l.Z.post((0,r.generateUrl)("/apps/dashboard/statuses"),{statuses:JSON.stringify(this.enabledStatuses)})},showModal(){this.modal=!0,this.firstRun=!1},closeModal(){this.modal=!1},updateCheckbox(t,e){const n=this.layout.indexOf(t.id);!e&&n>-1?this.layout.splice(n,1):this.layout.push(t.id),a.default.set(this.panels[t.id],"mounted",!1),this.saveLayout(),this.$nextTick((()=>this.rerenderPanels()))},disableFirstrunHint(){window.removeEventListener("scroll",this.disableFirstrunHint),setTimeout((()=>{this.firstRun=!1}),1e3)},updateSkipLink(){document.getElementsByClassName("skip-navigation")[0].setAttribute("href","#app-dashboard")},updateStatusCheckbox(t,e){e?this.enableStatus(t):this.disableStatus(t)},enableStatus(t){this.enabledStatuses[t]=!0,this.registerStatus(t,this.allCallbacksStatus[t]),this.saveStatuses()},disableStatus(t){this.enabledStatuses[t]=!1;const e=this.registeredStatus.findIndex((e=>e===t));-1!==e&&(this.registeredStatus.splice(e,1),a.default.set(this.statuses,t,{mounted:!1}),this.$nextTick((()=>{a.default.delete(this.callbacksStatus,t)}))),this.saveStatuses()},sortStatuses(t,e){const n=t.toLowerCase(),i=e.toLowerCase();return n>i?1:n<i?-1:0},handleScroll(){window.scrollY>70?document.body.classList.add("dashboard--scrolled"):document.body.classList.remove("dashboard--scrolled")},async fetchApiWidgets(){const t=await l.Z.get((0,r.generateOcsUrl)("/apps/dashboard/api/v1/widgets"));this.apiWidgets=t.data.ocs.data},async fetchApiWidgetItems(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{const n=(0,r.generateOcsUrl)("/apps/dashboard/api/v2/widget-items"),i=new URLSearchParams(t.map((t=>["widgets[]",t]))),a=(await l.Z.get(`${n}?${i.toString()}`)).data.ocs.data;this.apiWidgetItems=e?Object.assign({},this.apiWidgetItems,a):a}finally{this.loadingItems=!1}},isApiWidgetV2(t){for(const e of Object.values(this.apiWidgets))if(e.id===t&&e.item_api_versions.includes(2))return!0;return!1}}},ca=la;var da=i(63500),ua={};ua.styleTagTransform=k(),ua.setAttributes=w(),ua.insert=C().bind(null,"head"),ua.domAPI=b(),ua.insertStyleElement=_(),g()(da.Z,ua),da.Z&&da.Z.locals&&da.Z.locals;var pa=i(1725),ha={};ha.styleTagTransform=k(),ha.setAttributes=w(),ha.insert=C().bind(null,"head"),ha.domAPI=b(),ha.insertStyleElement=_(),g()(pa.Z,ha),pa.Z&&pa.Z.locals&&pa.Z.locals;const fa=(0,na.Z)(ca,(function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"app-dashboard"}},[e("h2",[t._v(t._s(t.greeting.text))]),t._v(" "),e("ul",{staticClass:"statuses"},t._l(t.sortedRegisteredStatus,(function(t){return e("li",{key:t,attrs:{id:"status-"+t}},[e("div",{ref:"status-"+t,refInFor:!0})])})),0),t._v(" "),e("Draggable",t._b({staticClass:"panels",attrs:{handle:".panel--header"},on:{end:t.saveLayout},model:{value:t.layout,callback:function(e){t.layout=e},expression:"layout"}},"Draggable",{swapThreshold:.3,delay:500,delayOnTouchOnly:!0,touchStartThreshold:3},!1),[t._l(t.layout,(function(n){return[t.isApiWidgetV2(t.panels[n].id)?e("div",{key:`${t.panels[n].id}-v2`,staticClass:"panel"},[e("div",{staticClass:"panel--header"},[e("h2",[e("span",{class:t.apiWidgets[t.panels[n].id].icon_class,attrs:{"aria-labelledby":`panel-${t.panels[n].id}--header--icon--description`,"aria-hidden":"true",role:"img"}}),t._v("\n\t\t\t\t\t\t"+t._s(t.apiWidgets[t.panels[n].id].title)+"\n\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"hidden-visually",attrs:{id:`panel-${t.panels[n].id}--header--icon--description`}},[t._v("\n\t\t\t\t\t\t"+t._s(t.t("dashboard",'"{title} icon"',{title:t.apiWidgets[t.panels[n].id].title}))+"\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"panel--content"},[e("ApiDashboardWidget",{attrs:{widget:t.apiWidgets[t.panels[n].id],data:t.apiWidgetItems[t.panels[n].id],loading:t.loadingItems}})],1)]):e("div",{key:t.panels[n].id,staticClass:"panel"},[e("div",{staticClass:"panel--header"},[e("h2",[e("span",{class:t.panels[n].iconClass,attrs:{"aria-labelledby":`panel-${t.panels[n].id}--header--icon--description`,"aria-hidden":"true",role:"img"}}),t._v("\n\t\t\t\t\t\t"+t._s(t.panels[n].title)+"\n\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"hidden-visually",attrs:{id:`panel-${t.panels[n].id}--header--icon--description`}},[t._v(" "+t._s(t.t("dashboard",'"{title} icon"',{title:t.panels[n].title}))+" ")])]),t._v(" "),e("div",{staticClass:"panel--content",class:{loading:!t.panels[n].mounted}},[e("div",{ref:t.panels[n].id,refInFor:!0,attrs:{"data-id":t.panels[n].id}})])])]}))],2),t._v(" "),e("div",{staticClass:"footer"},[e("NcButton",{on:{click:t.showModal},scopedSlots:t._u([{key:"icon",fn:function(){return[e("Pencil",{attrs:{size:20}})]},proxy:!0}])},[t._v("\n\t\t\t"+t._s(t.t("dashboard","Customize"))+"\n\t\t")])],1),t._v(" "),t.modal?e("NcModal",{attrs:{size:"large"},on:{close:t.closeModal}},[e("div",{staticClass:"modal__content"},[e("h3",[t._v(t._s(t.t("dashboard","Edit widgets")))]),t._v(" "),e("ol",{staticClass:"panels"},t._l(t.sortedAllStatuses,(function(n){return e("li",{key:n,class:"panel-"+n},[e("input",{staticClass:"checkbox",attrs:{id:"status-checkbox-"+n,type:"checkbox"},domProps:{checked:t.isStatusActive(n)},on:{input:function(e){return t.updateStatusCheckbox(n,e.target.checked)}}}),t._v(" "),e("label",{attrs:{for:"status-checkbox-"+n}},[e("span",{class:t.statusInfo[n].icon,attrs:{"aria-hidden":"true"}}),t._v("\n\t\t\t\t\t\t"+t._s(t.statusInfo[n].text)+"\n\t\t\t\t\t")])])})),0),t._v(" "),e("Draggable",t._b({staticClass:"panels",attrs:{tag:"ol",handle:".draggable"},on:{end:t.saveLayout},model:{value:t.layout,callback:function(e){t.layout=e},expression:"layout"}},"Draggable",{swapThreshold:.3,delay:500,delayOnTouchOnly:!0,touchStartThreshold:3},!1),t._l(t.sortedPanels,(function(n){return e("li",{key:n.id,class:"panel-"+n.id},[e("input",{staticClass:"checkbox",attrs:{id:"panel-checkbox-"+n.id,type:"checkbox"},domProps:{checked:t.isActive(n)},on:{input:function(e){return t.updateCheckbox(n,e.target.checked)}}}),t._v(" "),e("label",{class:{draggable:t.isActive(n)},attrs:{for:"panel-checkbox-"+n.id}},[e("span",{class:n.iconClass,attrs:{"aria-hidden":"true"}}),t._v("\n\t\t\t\t\t\t"+t._s(n.title)+"\n\t\t\t\t\t")])])})),0),t._v(" "),t.isAdmin?e("a",{staticClass:"button",attrs:{href:t.appStoreUrl}},[t._v(t._s(t.t("dashboard","Get more widgets from the App Store")))]):t._e(),t._v(" "),t.statuses.weather&&t.isStatusActive("weather")?e("div",[e("h3",[t._v(t._s(t.t("dashboard","Weather service")))]),t._v(" "),e("p",[t._v("\n\t\t\t\t\t"+t._s(t.t("dashboard","For your privacy, the weather data is requested by your Nextcloud server on your behalf so the weather service receives no personal information."))+"\n\t\t\t\t")]),t._v(" "),e("p",{staticClass:"credits--end"},[e("a",{attrs:{href:"https://api.met.no/doc/TermsOfService",target:"_blank",rel:"noopener"}},[t._v(t._s(t.t("dashboard","Weather data from Met.no")))]),t._v(",\n\t\t\t\t\t"),e("a",{attrs:{href:"https://wiki.osmfoundation.org/wiki/Privacy_Policy",target:"_blank",rel:"noopener"}},[t._v(t._s(t.t("dashboard","geocoding with Nominatim")))]),t._v(",\n\t\t\t\t\t"),e("a",{attrs:{href:"https://www.opentopodata.org/#public-api",target:"_blank",rel:"noopener"}},[t._v(t._s(t.t("dashboard","elevation data from OpenTopoData")))]),t._v(".\n\t\t\t\t")])]):t._e()],1)]):t._e()],1)}),[],!1,null,"9fd44988",null).exports;var Aa=i(31352);i.nc=btoa((0,o.IH)()),a.default.directive("Tooltip",je.Z),a.default.prototype.t=Aa.Iu,window.OCA.Files||(window.OCA.Files={}),Object.assign(window.OCA.Files,{App:{fileList:{filesClient:OC.Files.getClient()}}},window.OCA.Files);const ma=new(a.default.extend(fa))({}).$mount("#app-content-vue");window.OCA.Dashboard={register:(t,e)=>ma.register(t,e),registerStatus:(t,e)=>ma.registerStatus(t,e)}},48261:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-5a35ccce] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.select-group-error[data-v-5a35ccce] {\n color: var(--color-error);\n font-size: 13px;\n padding-inline-start: var(--border-radius-large);\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/NcSettingsSelectGroup-0d38d76b.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,yBAAyB;EACzB,eAAe;EACf,gDAAgD;AAClD",sourcesContent:['@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-5a35ccce] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.select-group-error[data-v-5a35ccce] {\n color: var(--color-error);\n font-size: 13px;\n padding-inline-start: var(--border-radius-large);\n}\n'],sourceRoot:""}]);const s=o},63509:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-b5f9046e] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Marco Ambrosini <marcoambrosini@icloud.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nli.active[data-v-b5f9046e] {\n background-color: var(--color-background-hover);\n border-radius: 6px;\n padding: 0;\n}\n.action--disabled[data-v-b5f9046e] {\n pointer-events: none;\n opacity: .5;\n}\n.action--disabled[data-v-b5f9046e]:hover,\n.action--disabled[data-v-b5f9046e]:focus {\n cursor: default;\n opacity: .5;\n}\n.action--disabled *[data-v-b5f9046e] {\n opacity: 1 !important;\n}\n.action-radio[data-v-b5f9046e] {\n display: flex;\n align-items: flex-start;\n width: 100%;\n height: auto;\n margin: 0;\n padding: 0;\n cursor: pointer;\n white-space: nowrap;\n color: var(--color-main-text);\n border: 0;\n border-radius: 0;\n background-color: transparent;\n box-shadow: none;\n font-weight: 400;\n line-height: 44px;\n}\n.action-radio__radio[data-v-b5f9046e] {\n position: absolute;\n top: auto;\n left: -10000px;\n overflow: hidden;\n width: 1px;\n height: 1px;\n}\n.action-radio__label[data-v-b5f9046e] {\n display: flex;\n align-items: center;\n width: 100%;\n padding: 0 14px 0 0 !important;\n}\n.action-radio__label[data-v-b5f9046e]:before {\n margin: 0 14px !important;\n}\n.action-radio--disabled[data-v-b5f9046e],\n.action-radio--disabled .action-radio__label[data-v-b5f9046e] {\n cursor: pointer;\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-24f6c355.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;;;;;;;;;;;;;;;;;;;;;EAqBE;AACF;EACE,+CAA+C;EAC/C,kBAAkB;EAClB,UAAU;AACZ;AACA;EACE,oBAAoB;EACpB,WAAW;AACb;AACA;;EAEE,eAAe;EACf,WAAW;AACb;AACA;EACE,qBAAqB;AACvB;AACA;EACE,aAAa;EACb,uBAAuB;EACvB,WAAW;EACX,YAAY;EACZ,SAAS;EACT,UAAU;EACV,eAAe;EACf,mBAAmB;EACnB,6BAA6B;EAC7B,SAAS;EACT,gBAAgB;EAChB,6BAA6B;EAC7B,gBAAgB;EAChB,gBAAgB;EAChB,iBAAiB;AACnB;AACA;EACE,kBAAkB;EAClB,SAAS;EACT,cAAc;EACd,gBAAgB;EAChB,UAAU;EACV,WAAW;AACb;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,WAAW;EACX,8BAA8B;AAChC;AACA;EACE,yBAAyB;AAC3B;AACA;;EAEE,eAAe;AACjB",sourcesContent:['@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-b5f9046e] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Marco Ambrosini <marcoambrosini@icloud.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nli.active[data-v-b5f9046e] {\n background-color: var(--color-background-hover);\n border-radius: 6px;\n padding: 0;\n}\n.action--disabled[data-v-b5f9046e] {\n pointer-events: none;\n opacity: .5;\n}\n.action--disabled[data-v-b5f9046e]:hover,\n.action--disabled[data-v-b5f9046e]:focus {\n cursor: default;\n opacity: .5;\n}\n.action--disabled *[data-v-b5f9046e] {\n opacity: 1 !important;\n}\n.action-radio[data-v-b5f9046e] {\n display: flex;\n align-items: flex-start;\n width: 100%;\n height: auto;\n margin: 0;\n padding: 0;\n cursor: pointer;\n white-space: nowrap;\n color: var(--color-main-text);\n border: 0;\n border-radius: 0;\n background-color: transparent;\n box-shadow: none;\n font-weight: 400;\n line-height: 44px;\n}\n.action-radio__radio[data-v-b5f9046e] {\n position: absolute;\n top: auto;\n left: -10000px;\n overflow: hidden;\n width: 1px;\n height: 1px;\n}\n.action-radio__label[data-v-b5f9046e] {\n display: flex;\n align-items: center;\n width: 100%;\n padding: 0 14px 0 0 !important;\n}\n.action-radio__label[data-v-b5f9046e]:before {\n margin: 0 14px !important;\n}\n.action-radio--disabled[data-v-b5f9046e],\n.action-radio--disabled .action-radio__label[data-v-b5f9046e] {\n cursor: pointer;\n}\n'],sourceRoot:""}]);const s=o},95882:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-db4cc195] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n#app-settings[data-v-db4cc195] {\n margin-top: auto;\n padding: 3px;\n}\n#app-settings__header[data-v-db4cc195] {\n box-sizing: border-box;\n margin: 0 3px 3px;\n}\n#app-settings__header .settings-button[data-v-db4cc195] {\n display: flex;\n flex: 1 1 0;\n height: 44px;\n width: 100%;\n padding: 0 14px 0 0;\n margin: 0;\n background-color: var(--color-main-background);\n box-shadow: none;\n border: 0;\n border-radius: var(--border-radius-pill);\n text-align: left;\n font-weight: 400;\n font-size: 100%;\n color: var(--color-main-text);\n line-height: 44px;\n}\n#app-settings__header .settings-button[data-v-db4cc195]:hover,\n#app-settings__header .settings-button[data-v-db4cc195]:focus {\n background-color: var(--color-background-hover);\n}\n#app-settings__header .settings-button__icon[data-v-db4cc195] {\n width: 44px;\n height: 44px;\n min-width: 44px;\n}\n#app-settings__header .settings-button__label[data-v-db4cc195] {\n overflow: hidden;\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n#app-settings__content[data-v-db4cc195] {\n display: block;\n padding: 10px;\n margin-bottom: -3px;\n max-height: 300px;\n overflow-y: auto;\n box-sizing: border-box;\n}\n.slide-up-leave-active[data-v-db4cc195],\n.slide-up-enter-active[data-v-db4cc195] {\n transition-duration: var(--animation-slow);\n transition-property: max-height, padding;\n overflow-y: hidden !important;\n}\n.slide-up-enter[data-v-db4cc195],\n.slide-up-leave-to[data-v-db4cc195] {\n max-height: 0 !important;\n padding: 0 10px !important;\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-34dfc54e.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,gBAAgB;EAChB,YAAY;AACd;AACA;EACE,sBAAsB;EACtB,iBAAiB;AACnB;AACA;EACE,aAAa;EACb,WAAW;EACX,YAAY;EACZ,WAAW;EACX,mBAAmB;EACnB,SAAS;EACT,8CAA8C;EAC9C,gBAAgB;EAChB,SAAS;EACT,wCAAwC;EACxC,gBAAgB;EAChB,gBAAgB;EAChB,eAAe;EACf,6BAA6B;EAC7B,iBAAiB;AACnB;AACA;;EAEE,+CAA+C;AACjD;AACA;EACE,WAAW;EACX,YAAY;EACZ,eAAe;AACjB;AACA;EACE,gBAAgB;EAChB,eAAe;EACf,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,cAAc;EACd,aAAa;EACb,mBAAmB;EACnB,iBAAiB;EACjB,gBAAgB;EAChB,sBAAsB;AACxB;AACA;;EAEE,0CAA0C;EAC1C,wCAAwC;EACxC,6BAA6B;AAC/B;AACA;;EAEE,wBAAwB;EACxB,0BAA0B;AAC5B",sourcesContent:['@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-db4cc195] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n#app-settings[data-v-db4cc195] {\n margin-top: auto;\n padding: 3px;\n}\n#app-settings__header[data-v-db4cc195] {\n box-sizing: border-box;\n margin: 0 3px 3px;\n}\n#app-settings__header .settings-button[data-v-db4cc195] {\n display: flex;\n flex: 1 1 0;\n height: 44px;\n width: 100%;\n padding: 0 14px 0 0;\n margin: 0;\n background-color: var(--color-main-background);\n box-shadow: none;\n border: 0;\n border-radius: var(--border-radius-pill);\n text-align: left;\n font-weight: 400;\n font-size: 100%;\n color: var(--color-main-text);\n line-height: 44px;\n}\n#app-settings__header .settings-button[data-v-db4cc195]:hover,\n#app-settings__header .settings-button[data-v-db4cc195]:focus {\n background-color: var(--color-background-hover);\n}\n#app-settings__header .settings-button__icon[data-v-db4cc195] {\n width: 44px;\n height: 44px;\n min-width: 44px;\n}\n#app-settings__header .settings-button__label[data-v-db4cc195] {\n overflow: hidden;\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n#app-settings__content[data-v-db4cc195] {\n display: block;\n padding: 10px;\n margin-bottom: -3px;\n max-height: 300px;\n overflow-y: auto;\n box-sizing: border-box;\n}\n.slide-up-leave-active[data-v-db4cc195],\n.slide-up-enter-active[data-v-db4cc195] {\n transition-duration: var(--animation-slow);\n transition-property: max-height, padding;\n overflow-y: hidden !important;\n}\n.slide-up-enter[data-v-db4cc195],\n.slide-up-leave-to[data-v-db4cc195] {\n max-height: 0 !important;\n padding: 0 10px !important;\n}\n'],sourceRoot:""}]);const s=o},77036:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.nc-button-group-base > div {\n text-align: center;\n color: var(--color-text-maxcontrast);\n}\n.nc-button-group-base ul.nc-button-group-content {\n display: flex;\n justify-content: space-between;\n}\n.nc-button-group-base ul.nc-button-group-content li {\n flex: 1 1;\n}\n.nc-button-group-base ul.nc-button-group-content .action-button {\n padding: 0 !important;\n width: 100%;\n display: flex;\n justify-content: center;\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-5fa0ac5a.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,kBAAkB;EAClB,oCAAoC;AACtC;AACA;EACE,aAAa;EACb,8BAA8B;AAChC;AACA;EACE,SAAS;AACX;AACA;EACE,qBAAqB;EACrB,WAAW;EACX,aAAa;EACb,uBAAuB;AACzB",sourcesContent:['@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.nc-button-group-base > div {\n text-align: center;\n color: var(--color-text-maxcontrast);\n}\n.nc-button-group-base ul.nc-button-group-content {\n display: flex;\n justify-content: space-between;\n}\n.nc-button-group-base ul.nc-button-group-content li {\n flex: 1 1;\n}\n.nc-button-group-base ul.nc-button-group-content .action-button {\n padding: 0 !important;\n width: 100%;\n display: flex;\n justify-content: center;\n}\n'],sourceRoot:""}]);const s=o},44338:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-1efcbeee] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.dashboard-widget[data-v-1efcbeee] .empty-content {\n text-align: center;\n padding-top: 5vh;\n}\n.dashboard-widget[data-v-1efcbeee] .empty-content.half-screen {\n padding-top: 0;\n margin-bottom: 1vh;\n}\n.more[data-v-1efcbeee] {\n display: block;\n text-align: center;\n color: var(--color-text-maxcontrast);\n line-height: 60px;\n cursor: pointer;\n}\n.more[data-v-1efcbeee]:hover,\n.more[data-v-1efcbeee]:focus {\n background-color: var(--color-background-hover);\n border-radius: var(--border-radius-large);\n color: var(--color-main-text);\n}\n.item-list__entry[data-v-1efcbeee] {\n display: flex;\n align-items: flex-start;\n padding: 8px;\n}\n.item-list__entry .item-avatar[data-v-1efcbeee] {\n position: relative;\n margin-top: auto;\n margin-bottom: auto;\n background-color: var(--color-background-dark) !important;\n}\n.item-list__entry .item__details[data-v-1efcbeee] {\n padding-left: 8px;\n max-height: 44px;\n flex-grow: 1;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n}\n.item-list__entry .item__details h3[data-v-1efcbeee],\n.item-list__entry .item__details .message[data-v-1efcbeee] {\n white-space: nowrap;\n background-color: var(--color-background-dark);\n}\n.item-list__entry .item__details h3[data-v-1efcbeee] {\n font-size: 100%;\n margin: 0;\n}\n.item-list__entry .item__details .message[data-v-1efcbeee] {\n width: 80%;\n height: 15px;\n margin-top: 5px;\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-6416f636.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,kBAAkB;EAClB,gBAAgB;AAClB;AACA;EACE,cAAc;EACd,kBAAkB;AACpB;AACA;EACE,cAAc;EACd,kBAAkB;EAClB,oCAAoC;EACpC,iBAAiB;EACjB,eAAe;AACjB;AACA;;EAEE,+CAA+C;EAC/C,yCAAyC;EACzC,6BAA6B;AAC/B;AACA;EACE,aAAa;EACb,uBAAuB;EACvB,YAAY;AACd;AACA;EACE,kBAAkB;EAClB,gBAAgB;EAChB,mBAAmB;EACnB,yDAAyD;AAC3D;AACA;EACE,iBAAiB;EACjB,gBAAgB;EAChB,YAAY;EACZ,gBAAgB;EAChB,aAAa;EACb,sBAAsB;AACxB;AACA;;EAEE,mBAAmB;EACnB,8CAA8C;AAChD;AACA;EACE,eAAe;EACf,SAAS;AACX;AACA;EACE,UAAU;EACV,YAAY;EACZ,eAAe;AACjB",sourcesContent:['@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-1efcbeee] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.dashboard-widget[data-v-1efcbeee] .empty-content {\n text-align: center;\n padding-top: 5vh;\n}\n.dashboard-widget[data-v-1efcbeee] .empty-content.half-screen {\n padding-top: 0;\n margin-bottom: 1vh;\n}\n.more[data-v-1efcbeee] {\n display: block;\n text-align: center;\n color: var(--color-text-maxcontrast);\n line-height: 60px;\n cursor: pointer;\n}\n.more[data-v-1efcbeee]:hover,\n.more[data-v-1efcbeee]:focus {\n background-color: var(--color-background-hover);\n border-radius: var(--border-radius-large);\n color: var(--color-main-text);\n}\n.item-list__entry[data-v-1efcbeee] {\n display: flex;\n align-items: flex-start;\n padding: 8px;\n}\n.item-list__entry .item-avatar[data-v-1efcbeee] {\n position: relative;\n margin-top: auto;\n margin-bottom: auto;\n background-color: var(--color-background-dark) !important;\n}\n.item-list__entry .item__details[data-v-1efcbeee] {\n padding-left: 8px;\n max-height: 44px;\n flex-grow: 1;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n}\n.item-list__entry .item__details h3[data-v-1efcbeee],\n.item-list__entry .item__details .message[data-v-1efcbeee] {\n white-space: nowrap;\n background-color: var(--color-background-dark);\n}\n.item-list__entry .item__details h3[data-v-1efcbeee] {\n font-size: 100%;\n margin: 0;\n}\n.item-list__entry .item__details .message[data-v-1efcbeee] {\n width: 80%;\n height: 15px;\n margin-top: 5px;\n}\n'],sourceRoot:""}]);const s=o},67978:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-5b140fb6] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.input-wrapper[data-v-5b140fb6] {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n width: 100%;\n max-width: 400px;\n}\n.input-wrapper .action-input__label[data-v-5b140fb6] {\n margin-right: 12px;\n}\n.input-wrapper[data-v-5b140fb6]:disabled {\n cursor: default;\n}\n.input-wrapper .hint[data-v-5b140fb6] {\n color: var(--color-text-maxcontrast);\n margin-left: 8px;\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-6c47e88a.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,eAAe;EACf,WAAW;EACX,gBAAgB;AAClB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,eAAe;AACjB;AACA;EACE,oCAAoC;EACpC,gBAAgB;AAClB",sourcesContent:['@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-5b140fb6] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.input-wrapper[data-v-5b140fb6] {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n width: 100%;\n max-width: 400px;\n}\n.input-wrapper .action-input__label[data-v-5b140fb6] {\n margin-right: 12px;\n}\n.input-wrapper[data-v-5b140fb6]:disabled {\n cursor: default;\n}\n.input-wrapper .hint[data-v-5b140fb6] {\n color: var(--color-text-maxcontrast);\n margin-left: 8px;\n}\n'],sourceRoot:""}]);const s=o},80811:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n.material-design-icon[data-v-36ad47ca] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n#guest-content-vue[data-v-36ad47ca] {\n color: var(--color-main-text);\n background-color: var(--color-main-background);\n min-width: 0;\n border-radius: var(--border-radius-large);\n box-shadow: 0 0 10px var(--color-box-shadow);\n height: fit-content;\n padding: 15px;\n margin: 20px auto;\n}\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n#content.nc-guest-content {\n overflow: auto;\n margin-bottom: 0;\n height: calc(var(--body-height) + var(--body-container-margin));\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-8aa4712e.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,6BAA6B;EAC7B,8CAA8C;EAC9C,YAAY;EACZ,yCAAyC;EACzC,4CAA4C;EAC5C,mBAAmB;EACnB,aAAa;EACb,iBAAiB;AACnB;AACA;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,cAAc;EACd,gBAAgB;EAChB,+DAA+D;AACjE",sourcesContent:['@charset "UTF-8";\n.material-design-icon[data-v-36ad47ca] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n#guest-content-vue[data-v-36ad47ca] {\n color: var(--color-main-text);\n background-color: var(--color-main-background);\n min-width: 0;\n border-radius: var(--border-radius-large);\n box-shadow: 0 0 10px var(--color-box-shadow);\n height: fit-content;\n padding: 15px;\n margin: 20px auto;\n}\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n#content.nc-guest-content {\n overflow: auto;\n margin-bottom: 0;\n height: calc(var(--body-height) + var(--body-container-margin));\n}\n'],sourceRoot:""}]);const s=o},33797:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n.material-design-icon[data-v-b0b05af8] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nbutton[data-v-b0b05af8]:not(.button-vue),\ninput[data-v-b0b05af8]:not([type=range]),\ntextarea[data-v-b0b05af8] {\n margin: 0;\n padding: 7px 6px;\n cursor: text;\n color: var(--color-text-lighter);\n border: 1px solid var(--color-border-dark);\n border-radius: var(--border-radius);\n outline: none;\n background-color: var(--color-main-background);\n font-size: 13px;\n}\nbutton[data-v-b0b05af8]:not(.button-vue):not(:disabled):not(.primary):hover,\nbutton[data-v-b0b05af8]:not(.button-vue):not(:disabled):not(.primary):focus,\nbutton:not(.button-vue):not(:disabled):not(.primary).active[data-v-b0b05af8],\ninput[data-v-b0b05af8]:not([type=range]):not(:disabled):not(.primary):hover,\ninput[data-v-b0b05af8]:not([type=range]):not(:disabled):not(.primary):focus,\ninput:not([type=range]):not(:disabled):not(.primary).active[data-v-b0b05af8],\ntextarea[data-v-b0b05af8]:not(:disabled):not(.primary):hover,\ntextarea[data-v-b0b05af8]:not(:disabled):not(.primary):focus,\ntextarea:not(:disabled):not(.primary).active[data-v-b0b05af8] {\n border-color: var(--color-primary-element);\n outline: none;\n}\nbutton[data-v-b0b05af8]:not(.button-vue):not(:disabled):not(.primary):active,\ninput[data-v-b0b05af8]:not([type=range]):not(:disabled):not(.primary):active,\ntextarea[data-v-b0b05af8]:not(:disabled):not(.primary):active {\n color: var(--color-text-light);\n outline: none;\n background-color: var(--color-main-background);\n}\nbutton[data-v-b0b05af8]:not(.button-vue):disabled,\ninput[data-v-b0b05af8]:not([type=range]):disabled,\ntextarea[data-v-b0b05af8]:disabled {\n cursor: default;\n opacity: .5;\n color: var(--color-text-maxcontrast);\n background-color: var(--color-background-dark);\n}\nbutton[data-v-b0b05af8]:not(.button-vue):required,\ninput[data-v-b0b05af8]:not([type=range]):required,\ntextarea[data-v-b0b05af8]:required {\n box-shadow: none;\n}\nbutton[data-v-b0b05af8]:not(.button-vue):invalid,\ninput[data-v-b0b05af8]:not([type=range]):invalid,\ntextarea[data-v-b0b05af8]:invalid {\n border-color: var(--color-error);\n box-shadow: none !important;\n}\nbutton:not(.button-vue).primary[data-v-b0b05af8],\ninput:not([type=range]).primary[data-v-b0b05af8],\ntextarea.primary[data-v-b0b05af8] {\n cursor: pointer;\n color: var(--color-primary-element-text);\n border-color: var(--color-primary-element);\n background-color: var(--color-primary-element);\n}\nbutton:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):hover,\nbutton:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):focus,\nbutton:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):active,\ninput:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):hover,\ninput:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):focus,\ninput:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):active,\ntextarea.primary[data-v-b0b05af8]:not(:disabled):hover,\ntextarea.primary[data-v-b0b05af8]:not(:disabled):focus,\ntextarea.primary[data-v-b0b05af8]:not(:disabled):active {\n border-color: var(--color-primary-element-light);\n background-color: var(--color-primary-element-light);\n}\nbutton:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):active,\ninput:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):active,\ntextarea.primary[data-v-b0b05af8]:not(:disabled):active {\n color: var(--color-primary-element-text-dark);\n}\nbutton:not(.button-vue).primary[data-v-b0b05af8]:disabled,\ninput:not([type=range]).primary[data-v-b0b05af8]:disabled,\ntextarea.primary[data-v-b0b05af8]:disabled {\n cursor: default;\n color: var(--color-primary-element-text-dark);\n background-color: var(--color-primary-element);\n}\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Marco Ambrosini <marcoambrosini@icloud.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nli.active[data-v-b0b05af8] {\n background-color: var(--color-background-hover);\n border-radius: 6px;\n padding: 0;\n}\n.action--disabled[data-v-b0b05af8] {\n pointer-events: none;\n opacity: .5;\n}\n.action--disabled[data-v-b0b05af8]:hover,\n.action--disabled[data-v-b0b05af8]:focus {\n cursor: default;\n opacity: .5;\n}\n.action--disabled *[data-v-b0b05af8] {\n opacity: 1 !important;\n}\n.action-text-editable[data-v-b0b05af8] {\n display: flex;\n align-items: flex-start;\n width: 100%;\n height: auto;\n margin: 0;\n padding: 0;\n cursor: pointer;\n white-space: nowrap;\n color: var(--color-main-text);\n border: 0;\n border-radius: 0;\n background-color: transparent;\n box-shadow: none;\n font-weight: 400;\n line-height: 44px;\n}\n.action-text-editable > span[data-v-b0b05af8] {\n cursor: pointer;\n white-space: nowrap;\n}\n.action-text-editable__icon[data-v-b0b05af8] {\n min-width: 0;\n min-height: 0;\n padding: 22px 0 22px 44px;\n background-position: 14px center;\n background-size: 16px;\n}\n.action-text-editable[data-v-b0b05af8] .material-design-icon {\n width: 44px;\n height: 44px;\n opacity: 1;\n}\n.action-text-editable[data-v-b0b05af8] .material-design-icon .material-design-icon__svg {\n vertical-align: middle;\n}\n.action-text-editable__form[data-v-b0b05af8] {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n position: relative;\n margin: 4px 0;\n padding-right: 14px;\n}\n.action-text-editable__submit[data-v-b0b05af8] {\n position: absolute;\n left: -10000px;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n}\n.action-text-editable__label[data-v-b0b05af8] {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n right: 15px;\n bottom: 1px;\n width: 36px;\n height: 36px;\n box-sizing: border-box;\n margin: 0;\n padding: 7px 6px;\n border: 0;\n border-radius: 50%;\n background-color: var(--color-main-background);\n background-clip: padding-box;\n}\n.action-text-editable__label[data-v-b0b05af8],\n.action-text-editable__label *[data-v-b0b05af8] {\n cursor: pointer;\n}\n.action-text-editable__textarea[data-v-b0b05af8] {\n flex: 1 1 auto;\n color: inherit;\n border-color: var(--color-border-maxcontrast);\n min-height: 80px;\n max-height: 124px;\n min-width: 176px;\n width: 100% !important;\n margin: 0;\n}\n.action-text-editable__textarea[data-v-b0b05af8]:disabled {\n cursor: default;\n}\n.action-text-editable__textarea:not(:active):not(:hover):not(:focus):invalid + .action-text-editable__label[data-v-b0b05af8] {\n background-color: var(--color-error);\n}\n.action-text-editable__textarea:not(:active):not(:hover):not(:focus):not(:disabled) + .action-text-editable__label[data-v-b0b05af8]:active,\n.action-text-editable__textarea:not(:active):not(:hover):not(:focus):not(:disabled) + .action-text-editable__label[data-v-b0b05af8]:hover,\n.action-text-editable__textarea:not(:active):not(:hover):not(:focus):not(:disabled) + .action-text-editable__label[data-v-b0b05af8]:focus {\n background-color: var(--color-primary-element);\n color: var(--color-primary-element-text);\n}\n.action-text-editable__textarea:active:not(:disabled) + .action-text-editable__label[data-v-b0b05af8],\n.action-text-editable__textarea:hover:not(:disabled) + .action-text-editable__label[data-v-b0b05af8],\n.action-text-editable__textarea:focus:not(:disabled) + .action-text-editable__label[data-v-b0b05af8] {\n z-index: 2;\n border-color: var(--color-primary-element);\n border-left-color: transparent;\n}\nli:last-child > .action-text-editable[data-v-b0b05af8] {\n margin-bottom: 10px;\n}\nli:first-child > .action-text-editable[data-v-b0b05af8] {\n margin-top: 10px;\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-93ad846c.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;;;EAGE,SAAS;EACT,gBAAgB;EAChB,YAAY;EACZ,gCAAgC;EAChC,0CAA0C;EAC1C,mCAAmC;EACnC,aAAa;EACb,8CAA8C;EAC9C,eAAe;AACjB;AACA;;;;;;;;;EASE,0CAA0C;EAC1C,aAAa;AACf;AACA;;;EAGE,8BAA8B;EAC9B,aAAa;EACb,8CAA8C;AAChD;AACA;;;EAGE,eAAe;EACf,WAAW;EACX,oCAAoC;EACpC,8CAA8C;AAChD;AACA;;;EAGE,gBAAgB;AAClB;AACA;;;EAGE,gCAAgC;EAChC,2BAA2B;AAC7B;AACA;;;EAGE,eAAe;EACf,wCAAwC;EACxC,0CAA0C;EAC1C,8CAA8C;AAChD;AACA;;;;;;;;;EASE,gDAAgD;EAChD,oDAAoD;AACtD;AACA;;;EAGE,6CAA6C;AAC/C;AACA;;;EAGE,eAAe;EACf,6CAA6C;EAC7C,8CAA8C;AAChD;AACA;;;;;;;;;;;;;;;;;;;;;EAqBE;AACF;EACE,+CAA+C;EAC/C,kBAAkB;EAClB,UAAU;AACZ;AACA;EACE,oBAAoB;EACpB,WAAW;AACb;AACA;;EAEE,eAAe;EACf,WAAW;AACb;AACA;EACE,qBAAqB;AACvB;AACA;EACE,aAAa;EACb,uBAAuB;EACvB,WAAW;EACX,YAAY;EACZ,SAAS;EACT,UAAU;EACV,eAAe;EACf,mBAAmB;EACnB,6BAA6B;EAC7B,SAAS;EACT,gBAAgB;EAChB,6BAA6B;EAC7B,gBAAgB;EAChB,gBAAgB;EAChB,iBAAiB;AACnB;AACA;EACE,eAAe;EACf,mBAAmB;AACrB;AACA;EACE,YAAY;EACZ,aAAa;EACb,yBAAyB;EACzB,gCAAgC;EAChC,qBAAqB;AACvB;AACA;EACE,WAAW;EACX,YAAY;EACZ,UAAU;AACZ;AACA;EACE,sBAAsB;AACxB;AACA;EACE,aAAa;EACb,cAAc;EACd,sBAAsB;EACtB,kBAAkB;EAClB,aAAa;EACb,mBAAmB;AACrB;AACA;EACE,kBAAkB;EAClB,cAAc;EACd,SAAS;EACT,UAAU;EACV,WAAW;EACX,gBAAgB;AAClB;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,uBAAuB;EACvB,kBAAkB;EAClB,WAAW;EACX,WAAW;EACX,WAAW;EACX,YAAY;EACZ,sBAAsB;EACtB,SAAS;EACT,gBAAgB;EAChB,SAAS;EACT,kBAAkB;EAClB,8CAA8C;EAC9C,4BAA4B;AAC9B;AACA;;EAEE,eAAe;AACjB;AACA;EACE,cAAc;EACd,cAAc;EACd,6CAA6C;EAC7C,gBAAgB;EAChB,iBAAiB;EACjB,gBAAgB;EAChB,sBAAsB;EACtB,SAAS;AACX;AACA;EACE,eAAe;AACjB;AACA;EACE,oCAAoC;AACtC;AACA;;;EAGE,8CAA8C;EAC9C,wCAAwC;AAC1C;AACA;;;EAGE,UAAU;EACV,0CAA0C;EAC1C,8BAA8B;AAChC;AACA;EACE,mBAAmB;AACrB;AACA;EACE,gBAAgB;AAClB",sourcesContent:['@charset "UTF-8";\n.material-design-icon[data-v-b0b05af8] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nbutton[data-v-b0b05af8]:not(.button-vue),\ninput[data-v-b0b05af8]:not([type=range]),\ntextarea[data-v-b0b05af8] {\n margin: 0;\n padding: 7px 6px;\n cursor: text;\n color: var(--color-text-lighter);\n border: 1px solid var(--color-border-dark);\n border-radius: var(--border-radius);\n outline: none;\n background-color: var(--color-main-background);\n font-size: 13px;\n}\nbutton[data-v-b0b05af8]:not(.button-vue):not(:disabled):not(.primary):hover,\nbutton[data-v-b0b05af8]:not(.button-vue):not(:disabled):not(.primary):focus,\nbutton:not(.button-vue):not(:disabled):not(.primary).active[data-v-b0b05af8],\ninput[data-v-b0b05af8]:not([type=range]):not(:disabled):not(.primary):hover,\ninput[data-v-b0b05af8]:not([type=range]):not(:disabled):not(.primary):focus,\ninput:not([type=range]):not(:disabled):not(.primary).active[data-v-b0b05af8],\ntextarea[data-v-b0b05af8]:not(:disabled):not(.primary):hover,\ntextarea[data-v-b0b05af8]:not(:disabled):not(.primary):focus,\ntextarea:not(:disabled):not(.primary).active[data-v-b0b05af8] {\n border-color: var(--color-primary-element);\n outline: none;\n}\nbutton[data-v-b0b05af8]:not(.button-vue):not(:disabled):not(.primary):active,\ninput[data-v-b0b05af8]:not([type=range]):not(:disabled):not(.primary):active,\ntextarea[data-v-b0b05af8]:not(:disabled):not(.primary):active {\n color: var(--color-text-light);\n outline: none;\n background-color: var(--color-main-background);\n}\nbutton[data-v-b0b05af8]:not(.button-vue):disabled,\ninput[data-v-b0b05af8]:not([type=range]):disabled,\ntextarea[data-v-b0b05af8]:disabled {\n cursor: default;\n opacity: .5;\n color: var(--color-text-maxcontrast);\n background-color: var(--color-background-dark);\n}\nbutton[data-v-b0b05af8]:not(.button-vue):required,\ninput[data-v-b0b05af8]:not([type=range]):required,\ntextarea[data-v-b0b05af8]:required {\n box-shadow: none;\n}\nbutton[data-v-b0b05af8]:not(.button-vue):invalid,\ninput[data-v-b0b05af8]:not([type=range]):invalid,\ntextarea[data-v-b0b05af8]:invalid {\n border-color: var(--color-error);\n box-shadow: none !important;\n}\nbutton:not(.button-vue).primary[data-v-b0b05af8],\ninput:not([type=range]).primary[data-v-b0b05af8],\ntextarea.primary[data-v-b0b05af8] {\n cursor: pointer;\n color: var(--color-primary-element-text);\n border-color: var(--color-primary-element);\n background-color: var(--color-primary-element);\n}\nbutton:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):hover,\nbutton:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):focus,\nbutton:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):active,\ninput:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):hover,\ninput:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):focus,\ninput:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):active,\ntextarea.primary[data-v-b0b05af8]:not(:disabled):hover,\ntextarea.primary[data-v-b0b05af8]:not(:disabled):focus,\ntextarea.primary[data-v-b0b05af8]:not(:disabled):active {\n border-color: var(--color-primary-element-light);\n background-color: var(--color-primary-element-light);\n}\nbutton:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):active,\ninput:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):active,\ntextarea.primary[data-v-b0b05af8]:not(:disabled):active {\n color: var(--color-primary-element-text-dark);\n}\nbutton:not(.button-vue).primary[data-v-b0b05af8]:disabled,\ninput:not([type=range]).primary[data-v-b0b05af8]:disabled,\ntextarea.primary[data-v-b0b05af8]:disabled {\n cursor: default;\n color: var(--color-primary-element-text-dark);\n background-color: var(--color-primary-element);\n}\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Marco Ambrosini <marcoambrosini@icloud.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nli.active[data-v-b0b05af8] {\n background-color: var(--color-background-hover);\n border-radius: 6px;\n padding: 0;\n}\n.action--disabled[data-v-b0b05af8] {\n pointer-events: none;\n opacity: .5;\n}\n.action--disabled[data-v-b0b05af8]:hover,\n.action--disabled[data-v-b0b05af8]:focus {\n cursor: default;\n opacity: .5;\n}\n.action--disabled *[data-v-b0b05af8] {\n opacity: 1 !important;\n}\n.action-text-editable[data-v-b0b05af8] {\n display: flex;\n align-items: flex-start;\n width: 100%;\n height: auto;\n margin: 0;\n padding: 0;\n cursor: pointer;\n white-space: nowrap;\n color: var(--color-main-text);\n border: 0;\n border-radius: 0;\n background-color: transparent;\n box-shadow: none;\n font-weight: 400;\n line-height: 44px;\n}\n.action-text-editable > span[data-v-b0b05af8] {\n cursor: pointer;\n white-space: nowrap;\n}\n.action-text-editable__icon[data-v-b0b05af8] {\n min-width: 0;\n min-height: 0;\n padding: 22px 0 22px 44px;\n background-position: 14px center;\n background-size: 16px;\n}\n.action-text-editable[data-v-b0b05af8] .material-design-icon {\n width: 44px;\n height: 44px;\n opacity: 1;\n}\n.action-text-editable[data-v-b0b05af8] .material-design-icon .material-design-icon__svg {\n vertical-align: middle;\n}\n.action-text-editable__form[data-v-b0b05af8] {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n position: relative;\n margin: 4px 0;\n padding-right: 14px;\n}\n.action-text-editable__submit[data-v-b0b05af8] {\n position: absolute;\n left: -10000px;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n}\n.action-text-editable__label[data-v-b0b05af8] {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n right: 15px;\n bottom: 1px;\n width: 36px;\n height: 36px;\n box-sizing: border-box;\n margin: 0;\n padding: 7px 6px;\n border: 0;\n border-radius: 50%;\n background-color: var(--color-main-background);\n background-clip: padding-box;\n}\n.action-text-editable__label[data-v-b0b05af8],\n.action-text-editable__label *[data-v-b0b05af8] {\n cursor: pointer;\n}\n.action-text-editable__textarea[data-v-b0b05af8] {\n flex: 1 1 auto;\n color: inherit;\n border-color: var(--color-border-maxcontrast);\n min-height: 80px;\n max-height: 124px;\n min-width: 176px;\n width: 100% !important;\n margin: 0;\n}\n.action-text-editable__textarea[data-v-b0b05af8]:disabled {\n cursor: default;\n}\n.action-text-editable__textarea:not(:active):not(:hover):not(:focus):invalid + .action-text-editable__label[data-v-b0b05af8] {\n background-color: var(--color-error);\n}\n.action-text-editable__textarea:not(:active):not(:hover):not(:focus):not(:disabled) + .action-text-editable__label[data-v-b0b05af8]:active,\n.action-text-editable__textarea:not(:active):not(:hover):not(:focus):not(:disabled) + .action-text-editable__label[data-v-b0b05af8]:hover,\n.action-text-editable__textarea:not(:active):not(:hover):not(:focus):not(:disabled) + .action-text-editable__label[data-v-b0b05af8]:focus {\n background-color: var(--color-primary-element);\n color: var(--color-primary-element-text);\n}\n.action-text-editable__textarea:active:not(:disabled) + .action-text-editable__label[data-v-b0b05af8],\n.action-text-editable__textarea:hover:not(:disabled) + .action-text-editable__label[data-v-b0b05af8],\n.action-text-editable__textarea:focus:not(:disabled) + .action-text-editable__label[data-v-b0b05af8] {\n z-index: 2;\n border-color: var(--color-primary-element);\n border-left-color: transparent;\n}\nli:last-child > .action-text-editable[data-v-b0b05af8] {\n margin-bottom: 10px;\n}\nli:first-child > .action-text-editable[data-v-b0b05af8] {\n margin-top: 10px;\n}\n'],sourceRoot:""}]);const s=o},84338:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-8950be04] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.app-navigation-entry[data-v-8950be04] {\n position: relative;\n display: flex;\n flex-shrink: 0;\n flex-wrap: wrap;\n box-sizing: border-box;\n width: 100%;\n min-height: 44px;\n transition: background-color var(--animation-quick) ease-in-out;\n transition: background-color .2s ease-in-out;\n border-radius: var(--border-radius-pill);\n}\n.app-navigation-entry-wrapper[data-v-8950be04] {\n position: relative;\n display: flex;\n flex-shrink: 0;\n flex-wrap: wrap;\n box-sizing: border-box;\n width: 100%;\n}\n.app-navigation-entry-wrapper.app-navigation-entry--collapsible:not(.app-navigation-entry--opened) > ul[data-v-8950be04] {\n display: none;\n}\n.app-navigation-entry.active[data-v-8950be04] {\n background-color: var(--color-primary-element) !important;\n}\n.app-navigation-entry.active .app-navigation-entry-link[data-v-8950be04],\n.app-navigation-entry.active .app-navigation-entry-button[data-v-8950be04] {\n color: var(--color-primary-element-text) !important;\n}\n.app-navigation-entry[data-v-8950be04]:focus-within,\n.app-navigation-entry[data-v-8950be04]:hover {\n background-color: var(--color-background-hover);\n}\n.app-navigation-entry.active .app-navigation-entry__children[data-v-8950be04],\n.app-navigation-entry:focus-within .app-navigation-entry__children[data-v-8950be04],\n.app-navigation-entry:hover .app-navigation-entry__children[data-v-8950be04] {\n background-color: var(--color-main-background);\n}\n.app-navigation-entry.active .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],\n.app-navigation-entry.app-navigation-entry--deleted .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],\n.app-navigation-entry:focus .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],\n.app-navigation-entry:focus-within .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],\n.app-navigation-entry:hover .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04] {\n display: inline-block;\n}\n.app-navigation-entry.app-navigation-entry--deleted > ul[data-v-8950be04] {\n display: none;\n}\n.app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-link[data-v-8950be04],\n.app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-button[data-v-8950be04] {\n padding-right: 14px;\n}\n.app-navigation-entry .app-navigation-entry-link[data-v-8950be04],\n.app-navigation-entry .app-navigation-entry-button[data-v-8950be04] {\n z-index: 100;\n display: flex;\n overflow: hidden;\n flex: 1 1 0;\n box-sizing: border-box;\n min-height: 44px;\n padding: 0;\n white-space: nowrap;\n color: var(--color-main-text);\n background-repeat: no-repeat;\n background-position: 14px center;\n background-size: 16px 16px;\n line-height: 44px;\n}\n.app-navigation-entry .app-navigation-entry-link .app-navigation-entry-icon[data-v-8950be04],\n.app-navigation-entry .app-navigation-entry-button .app-navigation-entry-icon[data-v-8950be04] {\n display: flex;\n align-items: center;\n flex: 0 0 44px;\n justify-content: center;\n width: 44px;\n height: 44px;\n background-size: 16px 16px;\n background-repeat: no-repeat;\n background-position: 14px center;\n}\n.app-navigation-entry .app-navigation-entry-link .app-navigation-entry__name[data-v-8950be04],\n.app-navigation-entry .app-navigation-entry-button .app-navigation-entry__name[data-v-8950be04] {\n overflow: hidden;\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.app-navigation-entry .app-navigation-entry-link .editingContainer[data-v-8950be04],\n.app-navigation-entry .app-navigation-entry-button .editingContainer[data-v-8950be04] {\n width: calc(100% - 44px);\n margin: auto;\n}\n.app-navigation-entry__children[data-v-8950be04] {\n position: relative;\n display: flex;\n flex: 0 1 auto;\n flex-direction: column;\n width: 100%;\n gap: var(--default-grid-baseline, 4px);\n}\n.app-navigation-entry__children .app-navigation-entry[data-v-8950be04] {\n display: inline-flex;\n flex-wrap: wrap;\n padding-left: 16px;\n}\n.app-navigation-entry__deleted[data-v-8950be04] {\n display: inline-flex;\n flex: 1 1 0;\n padding-left: 30px !important;\n}\n.app-navigation-entry__deleted .app-navigation-entry__deleted-description[data-v-8950be04] {\n position: relative;\n overflow: hidden;\n flex: 1 1 0;\n white-space: nowrap;\n text-overflow: ellipsis;\n line-height: 44px;\n}\n.app-navigation-entry__utils[data-v-8950be04] {\n display: flex;\n min-width: 44px;\n align-items: center;\n flex: 0 1 auto;\n justify-content: flex-end;\n}\n.app-navigation-entry__utils.app-navigation-entry__utils--display-actions .action-item.app-navigation-entry__actions[data-v-8950be04] {\n display: inline-block;\n}\n.app-navigation-entry__utils .app-navigation-entry__counter-wrapper[data-v-8950be04] {\n margin-right: calc(var(--default-grid-baseline) * 3);\n display: flex;\n align-items: center;\n flex: 0 1 auto;\n}\n.app-navigation-entry__utils .action-item.app-navigation-entry__actions[data-v-8950be04] {\n display: none;\n}\n.app-navigation-entry--editing .app-navigation-entry-edit[data-v-8950be04] {\n z-index: 250;\n opacity: 1;\n}\n.app-navigation-entry--deleted .app-navigation-entry-deleted[data-v-8950be04] {\n z-index: 250;\n transform: translate(0);\n}\n.app-navigation-entry--pinned[data-v-8950be04] {\n order: 2;\n margin-top: auto;\n}\n.app-navigation-entry--pinned ~ .app-navigation-entry--pinned[data-v-8950be04] {\n margin-top: 0;\n}\n[data-themes*=highcontrast] .app-navigation-entry[data-v-8950be04]:active {\n background-color: var(--color-primary-element-light-hover) !important;\n}\n.app-navigation-new-item__name[data-v-8950be04] {\n overflow: hidden;\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n padding-left: 7px;\n font-size: 14px;\n}\n.newItemContainer[data-v-8950be04] {\n width: calc(100% - 44px);\n margin: auto;\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-93bc89ef.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,kBAAkB;EAClB,aAAa;EACb,cAAc;EACd,eAAe;EACf,sBAAsB;EACtB,WAAW;EACX,gBAAgB;EAChB,+DAA+D;EAC/D,4CAA4C;EAC5C,wCAAwC;AAC1C;AACA;EACE,kBAAkB;EAClB,aAAa;EACb,cAAc;EACd,eAAe;EACf,sBAAsB;EACtB,WAAW;AACb;AACA;EACE,aAAa;AACf;AACA;EACE,yDAAyD;AAC3D;AACA;;EAEE,mDAAmD;AACrD;AACA;;EAEE,+CAA+C;AACjD;AACA;;;EAGE,8CAA8C;AAChD;AACA;;;;;EAKE,qBAAqB;AACvB;AACA;EACE,aAAa;AACf;AACA;;EAEE,mBAAmB;AACrB;AACA;;EAEE,YAAY;EACZ,aAAa;EACb,gBAAgB;EAChB,WAAW;EACX,sBAAsB;EACtB,gBAAgB;EAChB,UAAU;EACV,mBAAmB;EACnB,6BAA6B;EAC7B,4BAA4B;EAC5B,gCAAgC;EAChC,0BAA0B;EAC1B,iBAAiB;AACnB;AACA;;EAEE,aAAa;EACb,mBAAmB;EACnB,cAAc;EACd,uBAAuB;EACvB,WAAW;EACX,YAAY;EACZ,0BAA0B;EAC1B,4BAA4B;EAC5B,gCAAgC;AAClC;AACA;;EAEE,gBAAgB;EAChB,eAAe;EACf,mBAAmB;EACnB,uBAAuB;AACzB;AACA;;EAEE,wBAAwB;EACxB,YAAY;AACd;AACA;EACE,kBAAkB;EAClB,aAAa;EACb,cAAc;EACd,sBAAsB;EACtB,WAAW;EACX,sCAAsC;AACxC;AACA;EACE,oBAAoB;EACpB,eAAe;EACf,kBAAkB;AACpB;AACA;EACE,oBAAoB;EACpB,WAAW;EACX,6BAA6B;AAC/B;AACA;EACE,kBAAkB;EAClB,gBAAgB;EAChB,WAAW;EACX,mBAAmB;EACnB,uBAAuB;EACvB,iBAAiB;AACnB;AACA;EACE,aAAa;EACb,eAAe;EACf,mBAAmB;EACnB,cAAc;EACd,yBAAyB;AAC3B;AACA;EACE,qBAAqB;AACvB;AACA;EACE,oDAAoD;EACpD,aAAa;EACb,mBAAmB;EACnB,cAAc;AAChB;AACA;EACE,aAAa;AACf;AACA;EACE,YAAY;EACZ,UAAU;AACZ;AACA;EACE,YAAY;EACZ,uBAAuB;AACzB;AACA;EACE,QAAQ;EACR,gBAAgB;AAClB;AACA;EACE,aAAa;AACf;AACA;EACE,qEAAqE;AACvE;AACA;EACE,gBAAgB;EAChB,eAAe;EACf,mBAAmB;EACnB,uBAAuB;EACvB,iBAAiB;EACjB,eAAe;AACjB;AACA;EACE,wBAAwB;EACxB,YAAY;AACd",sourcesContent:['@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-8950be04] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.app-navigation-entry[data-v-8950be04] {\n position: relative;\n display: flex;\n flex-shrink: 0;\n flex-wrap: wrap;\n box-sizing: border-box;\n width: 100%;\n min-height: 44px;\n transition: background-color var(--animation-quick) ease-in-out;\n transition: background-color .2s ease-in-out;\n border-radius: var(--border-radius-pill);\n}\n.app-navigation-entry-wrapper[data-v-8950be04] {\n position: relative;\n display: flex;\n flex-shrink: 0;\n flex-wrap: wrap;\n box-sizing: border-box;\n width: 100%;\n}\n.app-navigation-entry-wrapper.app-navigation-entry--collapsible:not(.app-navigation-entry--opened) > ul[data-v-8950be04] {\n display: none;\n}\n.app-navigation-entry.active[data-v-8950be04] {\n background-color: var(--color-primary-element) !important;\n}\n.app-navigation-entry.active .app-navigation-entry-link[data-v-8950be04],\n.app-navigation-entry.active .app-navigation-entry-button[data-v-8950be04] {\n color: var(--color-primary-element-text) !important;\n}\n.app-navigation-entry[data-v-8950be04]:focus-within,\n.app-navigation-entry[data-v-8950be04]:hover {\n background-color: var(--color-background-hover);\n}\n.app-navigation-entry.active .app-navigation-entry__children[data-v-8950be04],\n.app-navigation-entry:focus-within .app-navigation-entry__children[data-v-8950be04],\n.app-navigation-entry:hover .app-navigation-entry__children[data-v-8950be04] {\n background-color: var(--color-main-background);\n}\n.app-navigation-entry.active .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],\n.app-navigation-entry.app-navigation-entry--deleted .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],\n.app-navigation-entry:focus .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],\n.app-navigation-entry:focus-within .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],\n.app-navigation-entry:hover .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04] {\n display: inline-block;\n}\n.app-navigation-entry.app-navigation-entry--deleted > ul[data-v-8950be04] {\n display: none;\n}\n.app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-link[data-v-8950be04],\n.app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-button[data-v-8950be04] {\n padding-right: 14px;\n}\n.app-navigation-entry .app-navigation-entry-link[data-v-8950be04],\n.app-navigation-entry .app-navigation-entry-button[data-v-8950be04] {\n z-index: 100;\n display: flex;\n overflow: hidden;\n flex: 1 1 0;\n box-sizing: border-box;\n min-height: 44px;\n padding: 0;\n white-space: nowrap;\n color: var(--color-main-text);\n background-repeat: no-repeat;\n background-position: 14px center;\n background-size: 16px 16px;\n line-height: 44px;\n}\n.app-navigation-entry .app-navigation-entry-link .app-navigation-entry-icon[data-v-8950be04],\n.app-navigation-entry .app-navigation-entry-button .app-navigation-entry-icon[data-v-8950be04] {\n display: flex;\n align-items: center;\n flex: 0 0 44px;\n justify-content: center;\n width: 44px;\n height: 44px;\n background-size: 16px 16px;\n background-repeat: no-repeat;\n background-position: 14px center;\n}\n.app-navigation-entry .app-navigation-entry-link .app-navigation-entry__name[data-v-8950be04],\n.app-navigation-entry .app-navigation-entry-button .app-navigation-entry__name[data-v-8950be04] {\n overflow: hidden;\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.app-navigation-entry .app-navigation-entry-link .editingContainer[data-v-8950be04],\n.app-navigation-entry .app-navigation-entry-button .editingContainer[data-v-8950be04] {\n width: calc(100% - 44px);\n margin: auto;\n}\n.app-navigation-entry__children[data-v-8950be04] {\n position: relative;\n display: flex;\n flex: 0 1 auto;\n flex-direction: column;\n width: 100%;\n gap: var(--default-grid-baseline, 4px);\n}\n.app-navigation-entry__children .app-navigation-entry[data-v-8950be04] {\n display: inline-flex;\n flex-wrap: wrap;\n padding-left: 16px;\n}\n.app-navigation-entry__deleted[data-v-8950be04] {\n display: inline-flex;\n flex: 1 1 0;\n padding-left: 30px !important;\n}\n.app-navigation-entry__deleted .app-navigation-entry__deleted-description[data-v-8950be04] {\n position: relative;\n overflow: hidden;\n flex: 1 1 0;\n white-space: nowrap;\n text-overflow: ellipsis;\n line-height: 44px;\n}\n.app-navigation-entry__utils[data-v-8950be04] {\n display: flex;\n min-width: 44px;\n align-items: center;\n flex: 0 1 auto;\n justify-content: flex-end;\n}\n.app-navigation-entry__utils.app-navigation-entry__utils--display-actions .action-item.app-navigation-entry__actions[data-v-8950be04] {\n display: inline-block;\n}\n.app-navigation-entry__utils .app-navigation-entry__counter-wrapper[data-v-8950be04] {\n margin-right: calc(var(--default-grid-baseline) * 3);\n display: flex;\n align-items: center;\n flex: 0 1 auto;\n}\n.app-navigation-entry__utils .action-item.app-navigation-entry__actions[data-v-8950be04] {\n display: none;\n}\n.app-navigation-entry--editing .app-navigation-entry-edit[data-v-8950be04] {\n z-index: 250;\n opacity: 1;\n}\n.app-navigation-entry--deleted .app-navigation-entry-deleted[data-v-8950be04] {\n z-index: 250;\n transform: translate(0);\n}\n.app-navigation-entry--pinned[data-v-8950be04] {\n order: 2;\n margin-top: auto;\n}\n.app-navigation-entry--pinned ~ .app-navigation-entry--pinned[data-v-8950be04] {\n margin-top: 0;\n}\n[data-themes*=highcontrast] .app-navigation-entry[data-v-8950be04]:active {\n background-color: var(--color-primary-element-light-hover) !important;\n}\n.app-navigation-new-item__name[data-v-8950be04] {\n overflow: hidden;\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n padding-left: 7px;\n font-size: 14px;\n}\n.newItemContainer[data-v-8950be04] {\n width: calc(100% - 44px);\n margin: auto;\n}\n'],sourceRoot:""}]);const s=o},6677:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n.material-design-icon[data-v-1a960bef] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.resource[data-v-1a960bef] {\n display: flex;\n align-items: center;\n height: 44px;\n}\n.resource__button[data-v-1a960bef] {\n width: 100% !important;\n justify-content: flex-start !important;\n padding: 0 !important;\n}\n.resource__button[data-v-1a960bef] .button-vue__wrapper {\n justify-content: flex-start !important;\n}\n.resource__button[data-v-1a960bef] .button-vue__wrapper .button-vue__text {\n font-weight: 400 !important;\n margin-left: 2px !important;\n}\n.resource__icon[data-v-1a960bef] {\n width: 32px;\n height: 32px;\n background-color: var(--color-text-maxcontrast);\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.resource__icon img[data-v-1a960bef] {\n width: 16px;\n height: 16px;\n filter: var(--background-invert-if-dark);\n}\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-19300848] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.related-resources__header[data-v-19300848] {\n margin: 0 0 10px 46px;\n}\n.related-resources__header h5[data-v-19300848] {\n font-weight: 700;\n}\n.related-resources__header p[data-v-19300848] {\n color: var(--color-text-maxcontrast);\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-ab715d82.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,YAAY;AACd;AACA;EACE,sBAAsB;EACtB,sCAAsC;EACtC,qBAAqB;AACvB;AACA;EACE,sCAAsC;AACxC;AACA;EACE,2BAA2B;EAC3B,2BAA2B;AAC7B;AACA;EACE,WAAW;EACX,YAAY;EACZ,+CAA+C;EAC/C,kBAAkB;EAClB,aAAa;EACb,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,WAAW;EACX,YAAY;EACZ,wCAAwC;AAC1C;AACA;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,qBAAqB;AACvB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,oCAAoC;AACtC",sourcesContent:['@charset "UTF-8";\n.material-design-icon[data-v-1a960bef] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.resource[data-v-1a960bef] {\n display: flex;\n align-items: center;\n height: 44px;\n}\n.resource__button[data-v-1a960bef] {\n width: 100% !important;\n justify-content: flex-start !important;\n padding: 0 !important;\n}\n.resource__button[data-v-1a960bef] .button-vue__wrapper {\n justify-content: flex-start !important;\n}\n.resource__button[data-v-1a960bef] .button-vue__wrapper .button-vue__text {\n font-weight: 400 !important;\n margin-left: 2px !important;\n}\n.resource__icon[data-v-1a960bef] {\n width: 32px;\n height: 32px;\n background-color: var(--color-text-maxcontrast);\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.resource__icon img[data-v-1a960bef] {\n width: 16px;\n height: 16px;\n filter: var(--background-invert-if-dark);\n}\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-19300848] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.related-resources__header[data-v-19300848] {\n margin: 0 0 10px 46px;\n}\n.related-resources__header h5[data-v-19300848] {\n font-weight: 700;\n}\n.related-resources__header p[data-v-19300848] {\n color: var(--color-text-maxcontrast);\n}\n'],sourceRoot:""}]);const s=o},32059:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-55ab76f1] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.user-bubble__wrapper[data-v-55ab76f1] {\n display: inline-block;\n vertical-align: middle;\n min-width: 0;\n max-width: 100%;\n}\n.user-bubble__content[data-v-55ab76f1] {\n display: inline-flex;\n max-width: 100%;\n background-color: var(--color-background-dark);\n}\n.user-bubble__content--primary[data-v-55ab76f1] {\n color: var(--color-primary-element-text);\n background-color: var(--color-primary-element);\n}\n.user-bubble__content[data-v-55ab76f1] > :last-child {\n padding-right: 8px;\n}\n.user-bubble__avatar[data-v-55ab76f1] {\n align-self: center;\n}\n.user-bubble__name[data-v-55ab76f1] {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.user-bubble__name[data-v-55ab76f1],\n.user-bubble__secondary[data-v-55ab76f1] {\n padding: 0 0 0 4px;\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-c221fe05.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,qBAAqB;EACrB,sBAAsB;EACtB,YAAY;EACZ,eAAe;AACjB;AACA;EACE,oBAAoB;EACpB,eAAe;EACf,8CAA8C;AAChD;AACA;EACE,wCAAwC;EACxC,8CAA8C;AAChD;AACA;EACE,kBAAkB;AACpB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,gBAAgB;EAChB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;;EAEE,kBAAkB;AACpB",sourcesContent:['@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-55ab76f1] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.user-bubble__wrapper[data-v-55ab76f1] {\n display: inline-block;\n vertical-align: middle;\n min-width: 0;\n max-width: 100%;\n}\n.user-bubble__content[data-v-55ab76f1] {\n display: inline-flex;\n max-width: 100%;\n background-color: var(--color-background-dark);\n}\n.user-bubble__content--primary[data-v-55ab76f1] {\n color: var(--color-primary-element-text);\n background-color: var(--color-primary-element);\n}\n.user-bubble__content[data-v-55ab76f1] > :last-child {\n padding-right: 8px;\n}\n.user-bubble__avatar[data-v-55ab76f1] {\n align-self: center;\n}\n.user-bubble__name[data-v-55ab76f1] {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.user-bubble__name[data-v-55ab76f1],\n.user-bubble__secondary[data-v-55ab76f1] {\n padding: 0 0 0 4px;\n}\n'],sourceRoot:""}]);const s=o},24478:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-00e861ef] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.item-list__entry[data-v-00e861ef] {\n display: flex;\n align-items: flex-start;\n position: relative;\n padding: 8px;\n}\n.item-list__entry[data-v-00e861ef]:hover,\n.item-list__entry[data-v-00e861ef]:focus {\n background-color: var(--color-background-hover);\n border-radius: var(--border-radius-large);\n}\n.item-list__entry .item-avatar[data-v-00e861ef] {\n position: relative;\n margin-top: auto;\n margin-bottom: auto;\n}\n.item-list__entry .item__details[data-v-00e861ef] {\n padding-left: 8px;\n max-height: 44px;\n flex-grow: 1;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n}\n.item-list__entry .item__details h3[data-v-00e861ef],\n.item-list__entry .item__details .message[data-v-00e861ef] {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.item-list__entry .item__details .message span[data-v-00e861ef] {\n width: 10px;\n display: inline-block;\n margin-bottom: -3px;\n}\n.item-list__entry .item__details h3[data-v-00e861ef] {\n font-size: 100%;\n margin: 0;\n}\n.item-list__entry .item__details .message[data-v-00e861ef] {\n width: 100%;\n color: var(--color-text-maxcontrast);\n}\n.item-list__entry .item-icon[data-v-00e861ef] {\n position: relative;\n width: 14px;\n height: 14px;\n margin: 27px -3px 0 -7px;\n}\n.item-list__entry button.primary[data-v-00e861ef] {\n padding: 21px;\n margin: 0;\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-e7eadba7.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,aAAa;EACb,uBAAuB;EACvB,kBAAkB;EAClB,YAAY;AACd;AACA;;EAEE,+CAA+C;EAC/C,yCAAyC;AAC3C;AACA;EACE,kBAAkB;EAClB,gBAAgB;EAChB,mBAAmB;AACrB;AACA;EACE,iBAAiB;EACjB,gBAAgB;EAChB,YAAY;EACZ,gBAAgB;EAChB,aAAa;EACb,sBAAsB;AACxB;AACA;;EAEE,mBAAmB;EACnB,gBAAgB;EAChB,uBAAuB;AACzB;AACA;EACE,WAAW;EACX,qBAAqB;EACrB,mBAAmB;AACrB;AACA;EACE,eAAe;EACf,SAAS;AACX;AACA;EACE,WAAW;EACX,oCAAoC;AACtC;AACA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;EACZ,wBAAwB;AAC1B;AACA;EACE,aAAa;EACb,SAAS;AACX",sourcesContent:['@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-00e861ef] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.item-list__entry[data-v-00e861ef] {\n display: flex;\n align-items: flex-start;\n position: relative;\n padding: 8px;\n}\n.item-list__entry[data-v-00e861ef]:hover,\n.item-list__entry[data-v-00e861ef]:focus {\n background-color: var(--color-background-hover);\n border-radius: var(--border-radius-large);\n}\n.item-list__entry .item-avatar[data-v-00e861ef] {\n position: relative;\n margin-top: auto;\n margin-bottom: auto;\n}\n.item-list__entry .item__details[data-v-00e861ef] {\n padding-left: 8px;\n max-height: 44px;\n flex-grow: 1;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n}\n.item-list__entry .item__details h3[data-v-00e861ef],\n.item-list__entry .item__details .message[data-v-00e861ef] {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.item-list__entry .item__details .message span[data-v-00e861ef] {\n width: 10px;\n display: inline-block;\n margin-bottom: -3px;\n}\n.item-list__entry .item__details h3[data-v-00e861ef] {\n font-size: 100%;\n margin: 0;\n}\n.item-list__entry .item__details .message[data-v-00e861ef] {\n width: 100%;\n color: var(--color-text-maxcontrast);\n}\n.item-list__entry .item-icon[data-v-00e861ef] {\n position: relative;\n width: 14px;\n height: 14px;\n margin: 27px -3px 0 -7px;\n}\n.item-list__entry button.primary[data-v-00e861ef] {\n padding: 21px;\n margin: 0;\n}\n'],sourceRoot:""}]);const s=o},51345:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,'@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-91580127] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.app-navigation-entry__icon-bullet[data-v-91580127] {\n display: block;\n padding: 15px;\n}\n.app-navigation-entry__icon-bullet div[data-v-91580127] {\n width: 14px;\n height: 14px;\n cursor: pointer;\n transition: background .1s ease-in-out;\n border: none;\n border-radius: 50%;\n}\n',"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/index-fc61f2d8.css"],names:[],mappings:"AAAA,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;EAoBE;AACF;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,cAAc;EACd,aAAa;AACf;AACA;EACE,WAAW;EACX,YAAY;EACZ,eAAe;EACf,sCAAsC;EACtC,YAAY;EACZ,kBAAkB;AACpB",sourcesContent:['@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n.material-design-icon[data-v-91580127] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.app-navigation-entry__icon-bullet[data-v-91580127] {\n display: block;\n padding: 15px;\n}\n.app-navigation-entry__icon-bullet div[data-v-91580127] {\n width: 14px;\n height: 14px;\n cursor: pointer;\n transition: background .1s ease-in-out;\n border: none;\n border-radius: 50%;\n}\n'],sourceRoot:""}]);const s=o},63500:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,"#app-dashboard[data-v-9fd44988]{width:100%;min-height:100%;background-size:cover;background-position:center center;background-repeat:no-repeat;background-attachment:fixed}#app-dashboard>h2[data-v-9fd44988]{color:var(--color-primary-element-text);text-align:center;font-size:32px;line-height:130%;padding:1rem 0}.panels[data-v-9fd44988]{width:auto;margin:auto;max-width:1800px;display:flex;justify-content:center;flex-direction:row;align-items:flex-start;flex-wrap:wrap}.panel[data-v-9fd44988],.panels>div[data-v-9fd44988]{width:320px;max-width:100%;margin:16px;align-self:stretch;background-color:var(--color-main-background-blur);-webkit-backdrop-filter:var(--filter-background-blur);backdrop-filter:var(--filter-background-blur);border-radius:var(--border-radius-rounded)}#body-user.theme--highcontrast .panel[data-v-9fd44988],#body-user.theme--highcontrast .panels>div[data-v-9fd44988]{border:2px solid var(--color-border)}.panel.sortable-ghost[data-v-9fd44988],.panels>div.sortable-ghost[data-v-9fd44988]{opacity:.1}.panel>.panel--header[data-v-9fd44988],.panels>div>.panel--header[data-v-9fd44988]{display:flex;z-index:1;top:50px;padding:16px;cursor:grab}.panel>.panel--header[data-v-9fd44988],.panel>.panel--header[data-v-9fd44988] *,.panels>div>.panel--header[data-v-9fd44988],.panels>div>.panel--header[data-v-9fd44988] *{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.panel>.panel--header[data-v-9fd44988]:active,.panels>div>.panel--header[data-v-9fd44988]:active{cursor:grabbing}.panel>.panel--header a[data-v-9fd44988],.panels>div>.panel--header a[data-v-9fd44988]{flex-grow:1}.panel>.panel--header>h2[data-v-9fd44988],.panels>div>.panel--header>h2[data-v-9fd44988]{display:block;align-items:center;flex-grow:1;margin:0;font-size:20px;line-height:24px;font-weight:bold;padding:16px 8px;height:56px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:grab}.panel>.panel--header>h2 span[data-v-9fd44988],.panels>div>.panel--header>h2 span[data-v-9fd44988]{background-size:32px;width:32px;height:32px;margin-right:16px;background-position:center;float:left;margin-top:-6px}.panel>.panel--content[data-v-9fd44988],.panels>div>.panel--content[data-v-9fd44988]{margin:0 16px 16px 16px;height:424px;overflow:visible}@media only screen and (max-width: 709px){.panel>.panel--content[data-v-9fd44988],.panels>div>.panel--content[data-v-9fd44988]{height:auto}}.footer[data-v-9fd44988]{display:flex;justify-content:center;transition:bottom var(--animation-slow) ease-in-out;padding:1rem 0}.edit-panels[data-v-9fd44988]{display:inline-block;margin:auto;background-position:16px center;padding:12px 16px;padding-left:36px;border-radius:var(--border-radius-pill);max-width:200px;opacity:1;text-align:center}.button[data-v-9fd44988],.button-vue[data-v-9fd44988],.edit-panels[data-v-9fd44988],.statuses[data-v-9fd44988] .action-item .action-item__menutoggle,.statuses[data-v-9fd44988] .action-item.action-item--open .action-item__menutoggle{background-color:var(--color-main-background-blur);-webkit-backdrop-filter:var(--filter-background-blur);backdrop-filter:var(--filter-background-blur);opacity:1 !important}.button[data-v-9fd44988]:hover,.button[data-v-9fd44988]:focus,.button[data-v-9fd44988]:active,.button-vue[data-v-9fd44988]:hover,.button-vue[data-v-9fd44988]:focus,.button-vue[data-v-9fd44988]:active,.edit-panels[data-v-9fd44988]:hover,.edit-panels[data-v-9fd44988]:focus,.edit-panels[data-v-9fd44988]:active,.statuses[data-v-9fd44988] .action-item .action-item__menutoggle:hover,.statuses[data-v-9fd44988] .action-item .action-item__menutoggle:focus,.statuses[data-v-9fd44988] .action-item .action-item__menutoggle:active,.statuses[data-v-9fd44988] .action-item.action-item--open .action-item__menutoggle:hover,.statuses[data-v-9fd44988] .action-item.action-item--open .action-item__menutoggle:focus,.statuses[data-v-9fd44988] .action-item.action-item--open .action-item__menutoggle:active{background-color:var(--color-background-hover) !important}.button[data-v-9fd44988]:focus-visible,.button-vue[data-v-9fd44988]:focus-visible,.edit-panels[data-v-9fd44988]:focus-visible,.statuses[data-v-9fd44988] .action-item .action-item__menutoggle:focus-visible,.statuses[data-v-9fd44988] .action-item.action-item--open .action-item__menutoggle:focus-visible{box-shadow:0 0 0 4px var(--color-main-background) !important;outline:2px solid var(--color-main-text) !important}.modal__content[data-v-9fd44988]{padding:32px 16px;text-align:center}.modal__content ol[data-v-9fd44988]{display:flex;flex-direction:row;justify-content:center;list-style-type:none;padding-bottom:16px}.modal__content li label[data-v-9fd44988]{position:relative;display:block;padding:48px 16px 14px 16px;margin:8px;width:140px;background-color:var(--color-background-hover);border:2px solid var(--color-main-background);border-radius:var(--border-radius-large);text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.modal__content li label span[data-v-9fd44988]{position:absolute;top:16px;width:24px;height:24px;background-size:24px}.modal__content li label[data-v-9fd44988]:hover{border-color:var(--color-primary-element)}.modal__content li:not(.panel-status) label span[data-v-9fd44988]{filter:var(--background-invert-if-dark)}.modal__content li input[type=checkbox].checkbox+label[data-v-9fd44988]:before{position:absolute;right:12px;top:16px}.modal__content li input:focus+label[data-v-9fd44988]{border-color:var(--color-primary-element)}.modal__content h3[data-v-9fd44988]{font-weight:bold}.modal__content h3[data-v-9fd44988]:not(:first-of-type){margin-top:64px}.modal__content .button[data-v-9fd44988]{display:inline-block;padding:10px 16px;margin:0}.modal__content p[data-v-9fd44988]{max-width:650px;margin:0 auto}.modal__content p a[data-v-9fd44988]:hover,.modal__content p a[data-v-9fd44988]:focus{border-bottom:2px solid var(--color-border)}.modal__content .credits--end[data-v-9fd44988]{padding-bottom:32px;color:var(--color-text-maxcontrast)}.modal__content .credits--end a[data-v-9fd44988]{color:var(--color-text-maxcontrast)}.flip-list-move[data-v-9fd44988]{transition:transform var(--animation-slow)}.statuses[data-v-9fd44988]{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap;margin-bottom:36px}.statuses>li[data-v-9fd44988]{margin:8px}","",{version:3,sources:["webpack://./apps/dashboard/src/DashboardApp.vue"],names:[],mappings:"AACA,gCACC,UAAA,CACA,eAAA,CACA,qBAAA,CACA,iCAAA,CACA,2BAAA,CACA,2BAAA,CAEA,mCACC,uCAAA,CACA,iBAAA,CACA,cAAA,CACA,gBAAA,CACA,cAAA,CAIF,yBACC,UAAA,CACA,WAAA,CACA,gBAAA,CACA,YAAA,CACA,sBAAA,CACA,kBAAA,CACA,sBAAA,CACA,cAAA,CAGD,qDACC,WAAA,CACA,cAAA,CACA,WAAA,CACA,kBAAA,CACA,kDAAA,CACA,qDAAA,CACA,6CAAA,CACA,0CAAA,CAEA,mHACC,oCAAA,CAGD,mFACE,UAAA,CAGF,mFACC,YAAA,CACA,SAAA,CACA,QAAA,CACA,YAAA,CACA,WAAA,CAEA,0KACC,0BAAA,CACA,wBAAA,CACA,uBAAA,CACA,qBAAA,CACA,oBAAA,CACA,gBAAA,CAGD,iGACC,eAAA,CAGD,uFACC,WAAA,CAGD,yFACC,aAAA,CACA,kBAAA,CACA,WAAA,CACA,QAAA,CACA,cAAA,CACA,gBAAA,CACA,gBAAA,CACA,gBAAA,CACA,WAAA,CACA,kBAAA,CACA,eAAA,CACA,sBAAA,CACA,WAAA,CACA,mGACC,oBAAA,CACA,UAAA,CACA,WAAA,CACA,iBAAA,CACA,0BAAA,CACA,UAAA,CACA,eAAA,CAKH,qFACC,uBAAA,CACA,YAAA,CAEA,gBAAA,CAID,0CACC,qFACC,WAAA,CAAA,CAKH,yBACC,YAAA,CACA,sBAAA,CACA,mDAAA,CACA,cAAA,CAGD,8BACC,oBAAA,CACA,WAAA,CACA,+BAAA,CACA,iBAAA,CACA,iBAAA,CACA,uCAAA,CACA,eAAA,CACA,SAAA,CACA,iBAAA,CAGD,wOAKC,kDAAA,CACA,qDAAA,CACA,6CAAA,CACA,oBAAA,CAEA,uxBAGC,yDAAA,CAED,8SACC,4DAAA,CACA,mDAAA,CAIF,iCACC,iBAAA,CACA,iBAAA,CAEA,oCACC,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,oBAAA,CACA,mBAAA,CAGA,0CACC,iBAAA,CACA,aAAA,CACA,2BAAA,CACA,UAAA,CACA,WAAA,CACA,8CAAA,CACA,6CAAA,CACA,wCAAA,CACA,eAAA,CACA,eAAA,CACA,sBAAA,CACA,kBAAA,CAEA,+CACC,iBAAA,CACA,QAAA,CACA,UAAA,CACA,WAAA,CACA,oBAAA,CAGD,gDACC,yCAAA,CAKF,kEACC,uCAAA,CAGD,+EACC,iBAAA,CACA,UAAA,CACA,QAAA,CAGD,sDACC,yCAAA,CAIF,oCACC,gBAAA,CAEA,wDACC,eAAA,CAKF,yCACC,oBAAA,CACA,iBAAA,CACA,QAAA,CAGD,mCACC,eAAA,CACA,aAAA,CAEA,sFAEC,2CAAA,CAIF,+CACC,mBAAA,CACA,mCAAA,CAEA,iDACC,mCAAA,CAKH,iCACC,0CAAA,CAGD,2BACC,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,cAAA,CACA,kBAAA,CAEA,8BACC,UAAA",sourcesContent:["\n#app-dashboard {\n\twidth: 100%;\n\tmin-height: 100%;\n\tbackground-size: cover;\n\tbackground-position: center center;\n\tbackground-repeat: no-repeat;\n\tbackground-attachment: fixed;\n\n\t> h2 {\n\t\tcolor: var(--color-primary-element-text);\n\t\ttext-align: center;\n\t\tfont-size: 32px;\n\t\tline-height: 130%;\n\t\tpadding: 1rem 0;\n\t}\n}\n\n.panels {\n\twidth: auto;\n\tmargin: auto;\n\tmax-width: 1800px;\n\tdisplay: flex;\n\tjustify-content: center;\n\tflex-direction: row;\n\talign-items: flex-start;\n\tflex-wrap: wrap;\n}\n\n.panel, .panels > div {\n\twidth: 320px;\n\tmax-width: 100%;\n\tmargin: 16px;\n\talign-self: stretch;\n\tbackground-color: var(--color-main-background-blur);\n\t-webkit-backdrop-filter: var(--filter-background-blur);\n\tbackdrop-filter: var(--filter-background-blur);\n\tborder-radius: var(--border-radius-rounded);\n\n\t#body-user.theme--highcontrast & {\n\t\tborder: 2px solid var(--color-border);\n\t}\n\n\t&.sortable-ghost {\n\t\t opacity: 0.1;\n\t}\n\n\t& > .panel--header {\n\t\tdisplay: flex;\n\t\tz-index: 1;\n\t\ttop: 50px;\n\t\tpadding: 16px;\n\t\tcursor: grab;\n\n\t\t&, ::v-deep * {\n\t\t\t-webkit-touch-callout: none;\n\t\t\t-webkit-user-select: none;\n\t\t\t-khtml-user-select: none;\n\t\t\t-moz-user-select: none;\n\t\t\t-ms-user-select: none;\n\t\t\tuser-select: none;\n\t\t}\n\n\t\t&:active {\n\t\t\tcursor: grabbing;\n\t\t}\n\n\t\ta {\n\t\t\tflex-grow: 1;\n\t\t}\n\n\t\t> h2 {\n\t\t\tdisplay: block;\n\t\t\talign-items: center;\n\t\t\tflex-grow: 1;\n\t\t\tmargin: 0;\n\t\t\tfont-size: 20px;\n\t\t\tline-height: 24px;\n\t\t\tfont-weight: bold;\n\t\t\tpadding: 16px 8px;\n\t\t\theight: 56px;\n\t\t\twhite-space: nowrap;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\tcursor: grab;\n\t\t\tspan {\n\t\t\t\tbackground-size: 32px;\n\t\t\t\twidth: 32px;\n\t\t\t\theight: 32px;\n\t\t\t\tmargin-right: 16px;\n\t\t\t\tbackground-position: center;\n\t\t\t\tfloat: left;\n\t\t\t\tmargin-top: -6px;\n\t\t\t}\n\t\t}\n\t}\n\n\t& > .panel--content {\n\t\tmargin: 0 16px 16px 16px;\n\t\theight: 424px;\n\t\t// We specifically do not want scrollbars inside widgets\n\t\toverflow: visible;\n\t}\n\n\t// No need to extend height of widgets if only one column is shown\n\t@media only screen and (max-width: 709px) {\n\t\t& > .panel--content {\n\t\t\theight: auto;\n\t\t}\n\t}\n}\n\n.footer {\n\tdisplay: flex;\n\tjustify-content: center;\n\ttransition: bottom var(--animation-slow) ease-in-out;\n\tpadding: 1rem 0;\n}\n\n.edit-panels {\n\tdisplay: inline-block;\n\tmargin:auto;\n\tbackground-position: 16px center;\n\tpadding: 12px 16px;\n\tpadding-left: 36px;\n\tborder-radius: var(--border-radius-pill);\n\tmax-width: 200px;\n\topacity: 1;\n\ttext-align: center;\n}\n\n.button,\n.button-vue,\n.edit-panels,\n.statuses ::v-deep .action-item .action-item__menutoggle,\n.statuses ::v-deep .action-item.action-item--open .action-item__menutoggle {\n\tbackground-color: var(--color-main-background-blur);\n\t-webkit-backdrop-filter: var(--filter-background-blur);\n\tbackdrop-filter: var(--filter-background-blur);\n\topacity: 1 !important;\n\n\t&:hover,\n\t&:focus,\n\t&:active {\n\t\tbackground-color: var(--color-background-hover)!important;\n\t}\n\t&:focus-visible {\n\t\tbox-shadow: 0 0 0 4px var(--color-main-background) !important;\n\t\toutline: 2px solid var(--color-main-text) !important;\n\t}\n}\n\n.modal__content {\n\tpadding: 32px 16px;\n\ttext-align: center;\n\n\tol {\n\t\tdisplay: flex;\n\t\tflex-direction: row;\n\t\tjustify-content: center;\n\t\tlist-style-type: none;\n\t\tpadding-bottom: 16px;\n\t}\n\tli {\n\t\tlabel {\n\t\t\tposition: relative;\n\t\t\tdisplay: block;\n\t\t\tpadding: 48px 16px 14px 16px;\n\t\t\tmargin: 8px;\n\t\t\twidth: 140px;\n\t\t\tbackground-color: var(--color-background-hover);\n\t\t\tborder: 2px solid var(--color-main-background);\n\t\t\tborder-radius: var(--border-radius-large);\n\t\t\ttext-align: left;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\twhite-space: nowrap;\n\n\t\t\tspan {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 16px;\n\t\t\t\twidth: 24px;\n\t\t\t\theight: 24px;\n\t\t\t\tbackground-size: 24px;\n\t\t\t}\n\n\t\t\t&:hover {\n\t\t\t\tborder-color: var(--color-primary-element);\n\t\t\t}\n\t\t}\n\n\t\t// Do not invert status icons\n\t\t&:not(.panel-status) label span {\n\t\t\tfilter: var(--background-invert-if-dark);\n\t\t}\n\n\t\tinput[type='checkbox'].checkbox + label:before {\n\t\t\tposition: absolute;\n\t\t\tright: 12px;\n\t\t\ttop: 16px;\n\t\t}\n\n\t\tinput:focus + label {\n\t\t\tborder-color: var(--color-primary-element);\n\t\t}\n\t}\n\n\th3 {\n\t\tfont-weight: bold;\n\n\t\t&:not(:first-of-type) {\n\t\t\tmargin-top: 64px;\n\t\t}\n\t}\n\n\t// Adjust design of 'Get more widgets' button\n\t.button {\n\t\tdisplay: inline-block;\n\t\tpadding: 10px 16px;\n\t\tmargin: 0;\n\t}\n\n\tp {\n\t\tmax-width: 650px;\n\t\tmargin: 0 auto;\n\n\t\ta:hover,\n\t\ta:focus {\n\t\t\tborder-bottom: 2px solid var(--color-border);\n\t\t}\n\t}\n\n\t.credits--end {\n\t\tpadding-bottom: 32px;\n\t\tcolor: var(--color-text-maxcontrast);\n\n\t\ta {\n\t\t\tcolor: var(--color-text-maxcontrast);\n\t\t}\n\t}\n}\n\n.flip-list-move {\n\ttransition: transform var(--animation-slow);\n}\n\n.statuses {\n\tdisplay: flex;\n\tflex-direction: row;\n\tjustify-content: center;\n\tflex-wrap: wrap;\n\tmargin-bottom: 36px;\n\n\t& > li {\n\t\tmargin: 8px;\n\t}\n}\n"],sourceRoot:""}]);const s=o},1725:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(87537),a=n.n(i),r=n(23645),o=n.n(r)()(a());o.push([t.id,"\nhtml, body {\n\tbackground-attachment: fixed;\n}\n#body-user #header {\n\tposition: fixed;\n}\n#content {\n\toverflow: auto;\n}\n","",{version:3,sources:["webpack://./apps/dashboard/src/DashboardApp.vue"],names:[],mappings:";AA4sBA;CACA,4BAAA;AACA;AAEA;CACA,eAAA;AACA;AAEA;CACA,cAAA;AACA",sourcesContent:["<template>\n\t<div id=\"app-dashboard\">\n\t\t<h2>{{ greeting.text }}</h2>\n\t\t<ul class=\"statuses\">\n\t\t\t<li v-for=\"status in sortedRegisteredStatus\"\n\t\t\t\t:id=\"'status-' + status\"\n\t\t\t\t:key=\"status\">\n\t\t\t\t<div :ref=\"'status-' + status\" />\n\t\t\t</li>\n\t\t</ul>\n\n\t\t<Draggable v-model=\"layout\"\n\t\t\tclass=\"panels\"\n\t\t\tv-bind=\"{swapThreshold: 0.30, delay: 500, delayOnTouchOnly: true, touchStartThreshold: 3}\"\n\t\t\thandle=\".panel--header\"\n\t\t\t@end=\"saveLayout\">\n\t\t\t<template v-for=\"panelId in layout\">\n\t\t\t\t<div v-if=\"isApiWidgetV2(panels[panelId].id)\"\n\t\t\t\t\t:key=\"`${panels[panelId].id}-v2`\"\n\t\t\t\t\tclass=\"panel\">\n\t\t\t\t\t<div class=\"panel--header\">\n\t\t\t\t\t\t<h2>\n\t\t\t\t\t\t\t<span :aria-labelledby=\"`panel-${panels[panelId].id}--header--icon--description`\"\n\t\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t\t\t:class=\"apiWidgets[panels[panelId].id].icon_class\"\n\t\t\t\t\t\t\t\trole=\"img\" />\n\t\t\t\t\t\t\t{{ apiWidgets[panels[panelId].id].title }}\n\t\t\t\t\t\t</h2>\n\t\t\t\t\t\t<span :id=\"`panel-${panels[panelId].id}--header--icon--description`\" class=\"hidden-visually\">\n\t\t\t\t\t\t\t{{ t('dashboard', '\"{title} icon\"', { title: apiWidgets[panels[panelId].id].title }) }}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"panel--content\">\n\t\t\t\t\t\t<ApiDashboardWidget :widget=\"apiWidgets[panels[panelId].id]\"\n\t\t\t\t\t\t\t:data=\"apiWidgetItems[panels[panelId].id]\"\n\t\t\t\t\t\t\t:loading=\"loadingItems\" />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div v-else :key=\"panels[panelId].id\" class=\"panel\">\n\t\t\t\t\t<div class=\"panel--header\">\n\t\t\t\t\t\t<h2>\n\t\t\t\t\t\t\t<span :aria-labelledby=\"`panel-${panels[panelId].id}--header--icon--description`\"\n\t\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t\t\t:class=\"panels[panelId].iconClass\"\n\t\t\t\t\t\t\t\trole=\"img\" />\n\t\t\t\t\t\t\t{{ panels[panelId].title }}\n\t\t\t\t\t\t</h2>\n\t\t\t\t\t\t<span :id=\"`panel-${panels[panelId].id}--header--icon--description`\" class=\"hidden-visually\"> {{ t('dashboard', '\"{title} icon\"', { title: panels[panelId].title }) }} </span>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"panel--content\" :class=\"{ loading: !panels[panelId].mounted }\">\n\t\t\t\t\t\t<div :ref=\"panels[panelId].id\" :data-id=\"panels[panelId].id\" />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</template>\n\t\t</Draggable>\n\n\t\t<div class=\"footer\">\n\t\t\t<NcButton @click=\"showModal\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<Pencil :size=\"20\" />\n\t\t\t\t</template>\n\t\t\t\t{{ t('dashboard', 'Customize') }}\n\t\t\t</NcButton>\n\t\t</div>\n\n\t\t<NcModal v-if=\"modal\" size=\"large\" @close=\"closeModal\">\n\t\t\t<div class=\"modal__content\">\n\t\t\t\t<h3>{{ t('dashboard', 'Edit widgets') }}</h3>\n\t\t\t\t<ol class=\"panels\">\n\t\t\t\t\t<li v-for=\"status in sortedAllStatuses\" :key=\"status\" :class=\"'panel-' + status\">\n\t\t\t\t\t\t<input :id=\"'status-checkbox-' + status\"\n\t\t\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t\t\tclass=\"checkbox\"\n\t\t\t\t\t\t\t:checked=\"isStatusActive(status)\"\n\t\t\t\t\t\t\t@input=\"updateStatusCheckbox(status, $event.target.checked)\">\n\t\t\t\t\t\t<label :for=\"'status-checkbox-' + status\">\n\t\t\t\t\t\t\t<span :class=\"statusInfo[status].icon\" aria-hidden=\"true\" />\n\t\t\t\t\t\t\t{{ statusInfo[status].text }}\n\t\t\t\t\t\t</label>\n\t\t\t\t\t</li>\n\t\t\t\t</ol>\n\t\t\t\t<Draggable v-model=\"layout\"\n\t\t\t\t\tclass=\"panels\"\n\t\t\t\t\ttag=\"ol\"\n\t\t\t\t\tv-bind=\"{swapThreshold: 0.30, delay: 500, delayOnTouchOnly: true, touchStartThreshold: 3}\"\n\t\t\t\t\thandle=\".draggable\"\n\t\t\t\t\t@end=\"saveLayout\">\n\t\t\t\t\t<li v-for=\"panel in sortedPanels\" :key=\"panel.id\" :class=\"'panel-' + panel.id\">\n\t\t\t\t\t\t<input :id=\"'panel-checkbox-' + panel.id\"\n\t\t\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t\t\tclass=\"checkbox\"\n\t\t\t\t\t\t\t:checked=\"isActive(panel)\"\n\t\t\t\t\t\t\t@input=\"updateCheckbox(panel, $event.target.checked)\">\n\t\t\t\t\t\t<label :for=\"'panel-checkbox-' + panel.id\" :class=\"{ draggable: isActive(panel) }\">\n\t\t\t\t\t\t\t<span :class=\"panel.iconClass\" aria-hidden=\"true\" />\n\t\t\t\t\t\t\t{{ panel.title }}\n\t\t\t\t\t\t</label>\n\t\t\t\t\t</li>\n\t\t\t\t</Draggable>\n\n\t\t\t\t<a v-if=\"isAdmin\" :href=\"appStoreUrl\" class=\"button\">{{ t('dashboard', 'Get more widgets from the App Store') }}</a>\n\n\t\t\t\t<div v-if=\"statuses.weather && isStatusActive('weather')\">\n\t\t\t\t\t<h3>{{ t('dashboard', 'Weather service') }}</h3>\n\t\t\t\t\t<p>\n\t\t\t\t\t\t{{ t('dashboard', 'For your privacy, the weather data is requested by your Nextcloud server on your behalf so the weather service receives no personal information.') }}\n\t\t\t\t\t</p>\n\t\t\t\t\t<p class=\"credits--end\">\n\t\t\t\t\t\t<a href=\"https://api.met.no/doc/TermsOfService\" target=\"_blank\" rel=\"noopener\">{{ t('dashboard', 'Weather data from Met.no') }}</a>,\n\t\t\t\t\t\t<a href=\"https://wiki.osmfoundation.org/wiki/Privacy_Policy\" target=\"_blank\" rel=\"noopener\">{{ t('dashboard', 'geocoding with Nominatim') }}</a>,\n\t\t\t\t\t\t<a href=\"https://www.opentopodata.org/#public-api\" target=\"_blank\" rel=\"noopener\">{{ t('dashboard', 'elevation data from OpenTopoData') }}</a>.\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</NcModal>\n\t</div>\n</template>\n\n<script>\nimport { generateUrl, generateOcsUrl } from '@nextcloud/router'\nimport { getCurrentUser } from '@nextcloud/auth'\nimport { loadState } from '@nextcloud/initial-state'\nimport axios from '@nextcloud/axios'\nimport NcButton from '@nextcloud/vue/dist/Components/NcButton.js'\nimport Draggable from 'vuedraggable'\nimport NcModal from '@nextcloud/vue/dist/Components/NcModal.js'\nimport Pencil from 'vue-material-design-icons/Pencil.vue'\nimport Vue from 'vue'\n\nimport isMobile from './mixins/isMobile.js'\nimport ApiDashboardWidget from './components/ApiDashboardWidget.vue'\n\nconst panels = loadState('dashboard', 'panels')\nconst firstRun = loadState('dashboard', 'firstRun')\n\nconst statusInfo = {\n\tweather: {\n\t\ttext: t('dashboard', 'Weather'),\n\t\ticon: 'icon-weather-status',\n\t},\n\tstatus: {\n\t\ttext: t('dashboard', 'Status'),\n\t\ticon: 'icon-user-status-online',\n\t},\n}\n\nexport default {\n\tname: 'DashboardApp',\n\tcomponents: {\n\t\tApiDashboardWidget,\n\t\tNcButton,\n\t\tDraggable,\n\t\tNcModal,\n\t\tPencil,\n\t},\n\tmixins: [\n\t\tisMobile,\n\t],\n\n\tdata() {\n\t\treturn {\n\t\t\tisAdmin: getCurrentUser().isAdmin,\n\t\t\ttimer: new Date(),\n\t\t\tregisteredStatus: [],\n\t\t\tcallbacks: {},\n\t\t\tcallbacksStatus: {},\n\t\t\tallCallbacksStatus: {},\n\t\t\tstatusInfo,\n\t\t\tenabledStatuses: loadState('dashboard', 'statuses'),\n\t\t\tpanels,\n\t\t\tfirstRun,\n\t\t\tdisplayName: getCurrentUser()?.displayName,\n\t\t\tuid: getCurrentUser()?.uid,\n\t\t\tlayout: loadState('dashboard', 'layout').filter((panelId) => panels[panelId]),\n\t\t\tmodal: false,\n\t\t\tappStoreUrl: generateUrl('/settings/apps/dashboard'),\n\t\t\tstatuses: {},\n\t\t\tapiWidgets: [],\n\t\t\tapiWidgetItems: {},\n\t\t\tloadingItems: true,\n\t\t}\n\t},\n\tcomputed: {\n\t\tgreeting() {\n\t\t\tconst time = this.timer.getHours()\n\n\t\t\t// Determine part of the day\n\t\t\tlet partOfDay\n\t\t\tif (time >= 22 || time < 5) {\n\t\t\t\tpartOfDay = 'night'\n\t\t\t} else if (time >= 18) {\n\t\t\t\tpartOfDay = 'evening'\n\t\t\t} else if (time >= 12) {\n\t\t\t\tpartOfDay = 'afternoon'\n\t\t\t} else {\n\t\t\t\tpartOfDay = 'morning'\n\t\t\t}\n\n\t\t\t// Define the greetings\n\t\t\tconst good = {\n\t\t\t\tmorning: {\n\t\t\t\t\tgeneric: t('dashboard', 'Good morning'),\n\t\t\t\t\twithName: t('dashboard', 'Good morning, {name}', { name: this.displayName }, undefined, { escape: false }),\n\t\t\t\t},\n\t\t\t\tafternoon: {\n\t\t\t\t\tgeneric: t('dashboard', 'Good afternoon'),\n\t\t\t\t\twithName: t('dashboard', 'Good afternoon, {name}', { name: this.displayName }, undefined, { escape: false }),\n\t\t\t\t},\n\t\t\t\tevening: {\n\t\t\t\t\tgeneric: t('dashboard', 'Good evening'),\n\t\t\t\t\twithName: t('dashboard', 'Good evening, {name}', { name: this.displayName }, undefined, { escape: false }),\n\t\t\t\t},\n\t\t\t\tnight: {\n\t\t\t\t\t// Don't use \"Good night\" as it's not a greeting\n\t\t\t\t\tgeneric: t('dashboard', 'Hello'),\n\t\t\t\t\twithName: t('dashboard', 'Hello, {name}', { name: this.displayName }, undefined, { escape: false }),\n\t\t\t\t},\n\t\t\t}\n\n\t\t\t// Figure out which greeting to show\n\t\t\tconst shouldShowName = this.displayName && this.uid !== this.displayName\n\t\t\treturn { text: shouldShowName ? good[partOfDay].withName : good[partOfDay].generic }\n\t\t},\n\n\t\tisActive() {\n\t\t\treturn (panel) => this.layout.indexOf(panel.id) > -1\n\t\t},\n\t\tisStatusActive() {\n\t\t\treturn (status) => !(status in this.enabledStatuses) || this.enabledStatuses[status]\n\t\t},\n\n\t\tsortedAllStatuses() {\n\t\t\treturn Object.keys(this.allCallbacksStatus).slice().sort(this.sortStatuses)\n\t\t},\n\t\tsortedPanels() {\n\t\t\treturn Object.values(this.panels).sort((a, b) => {\n\t\t\t\tconst indexA = this.layout.indexOf(a.id)\n\t\t\t\tconst indexB = this.layout.indexOf(b.id)\n\t\t\t\tif (indexA === -1 || indexB === -1) {\n\t\t\t\t\treturn indexB - indexA || a.id - b.id\n\t\t\t\t}\n\t\t\t\treturn indexA - indexB || a.id - b.id\n\t\t\t})\n\t\t},\n\t\tsortedRegisteredStatus() {\n\t\t\treturn this.registeredStatus.slice().sort(this.sortStatuses)\n\t\t},\n\t},\n\n\twatch: {\n\t\tcallbacks() {\n\t\t\tthis.rerenderPanels()\n\t\t},\n\t\tcallbacksStatus() {\n\t\t\tfor (const app in this.callbacksStatus) {\n\t\t\t\tconst element = this.$refs['status-' + app]\n\t\t\t\tif (this.statuses[app] && this.statuses[app].mounted) {\n\t\t\t\t\tcontinue\n\t\t\t\t}\n\t\t\t\tif (element) {\n\t\t\t\t\tthis.callbacksStatus[app](element[0])\n\t\t\t\t\tVue.set(this.statuses, app, { mounted: true })\n\t\t\t\t} else {\n\t\t\t\t\tconsole.error('Failed to register panel in the frontend as no backend data was provided for ' + app)\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t},\n\n\tasync created() {\n\t\tawait this.fetchApiWidgets()\n\n\t\tconst apiWidgetIdsToFetch = Object\n\t\t\t.values(this.apiWidgets)\n\t\t\t.filter(widget => this.isApiWidgetV2(widget.id))\n\t\t\t.map(widget => widget.id)\n\t\tawait Promise.all(apiWidgetIdsToFetch.map(id => this.fetchApiWidgetItems([id], true)))\n\n\t\tfor (const widget of Object.values(this.apiWidgets)) {\n\t\t\tif (widget.reload_interval > 0) {\n\t\t\t\tsetInterval(async () => {\n\t\t\t\t\tawait this.fetchApiWidgetItems([widget.id], true)\n\t\t\t\t}, widget.reload_interval * 1000)\n\t\t\t}\n\t\t}\n\t},\n\tmounted() {\n\t\tthis.updateSkipLink()\n\t\twindow.addEventListener('scroll', this.handleScroll)\n\n\t\tsetInterval(() => {\n\t\t\tthis.timer = new Date()\n\t\t}, 30000)\n\n\t\tif (this.firstRun) {\n\t\t\twindow.addEventListener('scroll', this.disableFirstrunHint)\n\t\t}\n\t},\n\tdestroyed() {\n\t\twindow.removeEventListener('scroll', this.handleScroll)\n\t},\n\n\tmethods: {\n\t\t/**\n\t\t * Method to register panels that will be called by the integrating apps\n\t\t *\n\t\t * @param {string} app The unique app id for the widget\n\t\t * @param {Function} callback The callback function to register a panel which gets the DOM element passed as parameter\n\t\t */\n\t\tregister(app, callback) {\n\t\t\tVue.set(this.callbacks, app, callback)\n\t\t},\n\t\tregisterStatus(app, callback) {\n\t\t\t// always save callbacks in case user enables the status later\n\t\t\tVue.set(this.allCallbacksStatus, app, callback)\n\t\t\t// register only if status is enabled or missing from config\n\t\t\tif (this.isStatusActive(app)) {\n\t\t\t\tthis.registeredStatus.push(app)\n\t\t\t\tthis.$nextTick(() => {\n\t\t\t\t\tVue.set(this.callbacksStatus, app, callback)\n\t\t\t\t})\n\t\t\t}\n\t\t},\n\t\trerenderPanels() {\n\t\t\tfor (const app in this.callbacks) {\n\t\t\t\t// TODO: Properly rerender v2 widgets\n\t\t\t\tif (this.isApiWidgetV2(this.panels[app].id)) {\n\t\t\t\t\tcontinue\n\t\t\t\t}\n\n\t\t\t\tconst element = this.$refs[app]\n\t\t\t\tif (this.layout.indexOf(app) === -1) {\n\t\t\t\t\tcontinue\n\t\t\t\t}\n\t\t\t\tif (this.panels[app] && this.panels[app].mounted) {\n\t\t\t\t\tcontinue\n\t\t\t\t}\n\t\t\t\tif (element) {\n\t\t\t\t\tthis.callbacks[app](element[0], {\n\t\t\t\t\t\twidget: this.panels[app],\n\t\t\t\t\t})\n\t\t\t\t\tVue.set(this.panels[app], 'mounted', true)\n\t\t\t\t} else {\n\t\t\t\t\tconsole.error('Failed to register panel in the frontend as no backend data was provided for ' + app)\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tsaveLayout() {\n\t\t\taxios.post(generateUrl('/apps/dashboard/layout'), {\n\t\t\t\tlayout: this.layout.join(','),\n\t\t\t})\n\t\t},\n\t\tsaveStatuses() {\n\t\t\taxios.post(generateUrl('/apps/dashboard/statuses'), {\n\t\t\t\tstatuses: JSON.stringify(this.enabledStatuses),\n\t\t\t})\n\t\t},\n\t\tshowModal() {\n\t\t\tthis.modal = true\n\t\t\tthis.firstRun = false\n\t\t},\n\t\tcloseModal() {\n\t\t\tthis.modal = false\n\t\t},\n\t\tupdateCheckbox(panel, currentValue) {\n\t\t\tconst index = this.layout.indexOf(panel.id)\n\t\t\tif (!currentValue && index > -1) {\n\t\t\t\tthis.layout.splice(index, 1)\n\n\t\t\t} else {\n\t\t\t\tthis.layout.push(panel.id)\n\t\t\t}\n\t\t\tVue.set(this.panels[panel.id], 'mounted', false)\n\t\t\tthis.saveLayout()\n\t\t\tthis.$nextTick(() => this.rerenderPanels())\n\t\t},\n\t\tdisableFirstrunHint() {\n\t\t\twindow.removeEventListener('scroll', this.disableFirstrunHint)\n\t\t\tsetTimeout(() => {\n\t\t\t\tthis.firstRun = false\n\t\t\t}, 1000)\n\t\t},\n\t\tupdateSkipLink() {\n\t\t\t// Make sure \"Skip to main content\" link points to the app content\n\t\t\tdocument.getElementsByClassName('skip-navigation')[0].setAttribute('href', '#app-dashboard')\n\t\t},\n\t\tupdateStatusCheckbox(app, checked) {\n\t\t\tif (checked) {\n\t\t\t\tthis.enableStatus(app)\n\t\t\t} else {\n\t\t\t\tthis.disableStatus(app)\n\t\t\t}\n\t\t},\n\t\tenableStatus(app) {\n\t\t\tthis.enabledStatuses[app] = true\n\t\t\tthis.registerStatus(app, this.allCallbacksStatus[app])\n\t\t\tthis.saveStatuses()\n\t\t},\n\t\tdisableStatus(app) {\n\t\t\tthis.enabledStatuses[app] = false\n\t\t\tconst i = this.registeredStatus.findIndex((s) => s === app)\n\t\t\tif (i !== -1) {\n\t\t\t\tthis.registeredStatus.splice(i, 1)\n\t\t\t\tVue.set(this.statuses, app, { mounted: false })\n\t\t\t\tthis.$nextTick(() => {\n\t\t\t\t\tVue.delete(this.callbacksStatus, app)\n\t\t\t\t})\n\t\t\t}\n\t\t\tthis.saveStatuses()\n\t\t},\n\t\tsortStatuses(a, b) {\n\t\t\tconst al = a.toLowerCase()\n\t\t\tconst bl = b.toLowerCase()\n\t\t\treturn al > bl\n\t\t\t\t? 1\n\t\t\t\t: al < bl\n\t\t\t\t\t? -1\n\t\t\t\t\t: 0\n\t\t},\n\t\thandleScroll() {\n\t\t\tif (window.scrollY > 70) {\n\t\t\t\tdocument.body.classList.add('dashboard--scrolled')\n\t\t\t} else {\n\t\t\t\tdocument.body.classList.remove('dashboard--scrolled')\n\t\t\t}\n\t\t},\n\t\tasync fetchApiWidgets() {\n\t\t\tconst response = await axios.get(generateOcsUrl('/apps/dashboard/api/v1/widgets'))\n\t\t\tthis.apiWidgets = response.data.ocs.data\n\t\t},\n\t\tasync fetchApiWidgetItems(widgetIds, merge = false) {\n\t\t\ttry {\n\t\t\t\tconst url = generateOcsUrl('/apps/dashboard/api/v2/widget-items')\n\t\t\t\tconst params = new URLSearchParams(widgetIds.map(id => ['widgets[]', id]))\n\t\t\t\tconst response = await axios.get(`${url}?${params.toString()}`)\n\t\t\t\tconst widgetItems = response.data.ocs.data\n\t\t\t\tif (merge) {\n\t\t\t\t\tthis.apiWidgetItems = Object.assign({}, this.apiWidgetItems, widgetItems)\n\t\t\t\t} else {\n\t\t\t\t\tthis.apiWidgetItems = widgetItems\n\t\t\t\t}\n\t\t\t} finally {\n\t\t\t\tthis.loadingItems = false\n\t\t\t}\n\t\t},\n\t\tisApiWidgetV2(id) {\n\t\t\tfor (const widget of Object.values(this.apiWidgets)) {\n\t\t\t\tif (widget.id === id && widget.item_api_versions.includes(2)) {\n\t\t\t\t\treturn true\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false\n\t\t},\n\t},\n}\n<\/script>\n\n<style lang=\"scss\" scoped>\n#app-dashboard {\n\twidth: 100%;\n\tmin-height: 100%;\n\tbackground-size: cover;\n\tbackground-position: center center;\n\tbackground-repeat: no-repeat;\n\tbackground-attachment: fixed;\n\n\t> h2 {\n\t\tcolor: var(--color-primary-element-text);\n\t\ttext-align: center;\n\t\tfont-size: 32px;\n\t\tline-height: 130%;\n\t\tpadding: 1rem 0;\n\t}\n}\n\n.panels {\n\twidth: auto;\n\tmargin: auto;\n\tmax-width: 1800px;\n\tdisplay: flex;\n\tjustify-content: center;\n\tflex-direction: row;\n\talign-items: flex-start;\n\tflex-wrap: wrap;\n}\n\n.panel, .panels > div {\n\twidth: 320px;\n\tmax-width: 100%;\n\tmargin: 16px;\n\talign-self: stretch;\n\tbackground-color: var(--color-main-background-blur);\n\t-webkit-backdrop-filter: var(--filter-background-blur);\n\tbackdrop-filter: var(--filter-background-blur);\n\tborder-radius: var(--border-radius-rounded);\n\n\t#body-user.theme--highcontrast & {\n\t\tborder: 2px solid var(--color-border);\n\t}\n\n\t&.sortable-ghost {\n\t\t opacity: 0.1;\n\t}\n\n\t& > .panel--header {\n\t\tdisplay: flex;\n\t\tz-index: 1;\n\t\ttop: 50px;\n\t\tpadding: 16px;\n\t\tcursor: grab;\n\n\t\t&, ::v-deep * {\n\t\t\t-webkit-touch-callout: none;\n\t\t\t-webkit-user-select: none;\n\t\t\t-khtml-user-select: none;\n\t\t\t-moz-user-select: none;\n\t\t\t-ms-user-select: none;\n\t\t\tuser-select: none;\n\t\t}\n\n\t\t&:active {\n\t\t\tcursor: grabbing;\n\t\t}\n\n\t\ta {\n\t\t\tflex-grow: 1;\n\t\t}\n\n\t\t> h2 {\n\t\t\tdisplay: block;\n\t\t\talign-items: center;\n\t\t\tflex-grow: 1;\n\t\t\tmargin: 0;\n\t\t\tfont-size: 20px;\n\t\t\tline-height: 24px;\n\t\t\tfont-weight: bold;\n\t\t\tpadding: 16px 8px;\n\t\t\theight: 56px;\n\t\t\twhite-space: nowrap;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\tcursor: grab;\n\t\t\tspan {\n\t\t\t\tbackground-size: 32px;\n\t\t\t\twidth: 32px;\n\t\t\t\theight: 32px;\n\t\t\t\tmargin-right: 16px;\n\t\t\t\tbackground-position: center;\n\t\t\t\tfloat: left;\n\t\t\t\tmargin-top: -6px;\n\t\t\t}\n\t\t}\n\t}\n\n\t& > .panel--content {\n\t\tmargin: 0 16px 16px 16px;\n\t\theight: 424px;\n\t\t// We specifically do not want scrollbars inside widgets\n\t\toverflow: visible;\n\t}\n\n\t// No need to extend height of widgets if only one column is shown\n\t@media only screen and (max-width: 709px) {\n\t\t& > .panel--content {\n\t\t\theight: auto;\n\t\t}\n\t}\n}\n\n.footer {\n\tdisplay: flex;\n\tjustify-content: center;\n\ttransition: bottom var(--animation-slow) ease-in-out;\n\tpadding: 1rem 0;\n}\n\n.edit-panels {\n\tdisplay: inline-block;\n\tmargin:auto;\n\tbackground-position: 16px center;\n\tpadding: 12px 16px;\n\tpadding-left: 36px;\n\tborder-radius: var(--border-radius-pill);\n\tmax-width: 200px;\n\topacity: 1;\n\ttext-align: center;\n}\n\n.button,\n.button-vue,\n.edit-panels,\n.statuses ::v-deep .action-item .action-item__menutoggle,\n.statuses ::v-deep .action-item.action-item--open .action-item__menutoggle {\n\tbackground-color: var(--color-main-background-blur);\n\t-webkit-backdrop-filter: var(--filter-background-blur);\n\tbackdrop-filter: var(--filter-background-blur);\n\topacity: 1 !important;\n\n\t&:hover,\n\t&:focus,\n\t&:active {\n\t\tbackground-color: var(--color-background-hover)!important;\n\t}\n\t&:focus-visible {\n\t\tbox-shadow: 0 0 0 4px var(--color-main-background) !important;\n\t\toutline: 2px solid var(--color-main-text) !important;\n\t}\n}\n\n.modal__content {\n\tpadding: 32px 16px;\n\ttext-align: center;\n\n\tol {\n\t\tdisplay: flex;\n\t\tflex-direction: row;\n\t\tjustify-content: center;\n\t\tlist-style-type: none;\n\t\tpadding-bottom: 16px;\n\t}\n\tli {\n\t\tlabel {\n\t\t\tposition: relative;\n\t\t\tdisplay: block;\n\t\t\tpadding: 48px 16px 14px 16px;\n\t\t\tmargin: 8px;\n\t\t\twidth: 140px;\n\t\t\tbackground-color: var(--color-background-hover);\n\t\t\tborder: 2px solid var(--color-main-background);\n\t\t\tborder-radius: var(--border-radius-large);\n\t\t\ttext-align: left;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\twhite-space: nowrap;\n\n\t\t\tspan {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 16px;\n\t\t\t\twidth: 24px;\n\t\t\t\theight: 24px;\n\t\t\t\tbackground-size: 24px;\n\t\t\t}\n\n\t\t\t&:hover {\n\t\t\t\tborder-color: var(--color-primary-element);\n\t\t\t}\n\t\t}\n\n\t\t// Do not invert status icons\n\t\t&:not(.panel-status) label span {\n\t\t\tfilter: var(--background-invert-if-dark);\n\t\t}\n\n\t\tinput[type='checkbox'].checkbox + label:before {\n\t\t\tposition: absolute;\n\t\t\tright: 12px;\n\t\t\ttop: 16px;\n\t\t}\n\n\t\tinput:focus + label {\n\t\t\tborder-color: var(--color-primary-element);\n\t\t}\n\t}\n\n\th3 {\n\t\tfont-weight: bold;\n\n\t\t&:not(:first-of-type) {\n\t\t\tmargin-top: 64px;\n\t\t}\n\t}\n\n\t// Adjust design of 'Get more widgets' button\n\t.button {\n\t\tdisplay: inline-block;\n\t\tpadding: 10px 16px;\n\t\tmargin: 0;\n\t}\n\n\tp {\n\t\tmax-width: 650px;\n\t\tmargin: 0 auto;\n\n\t\ta:hover,\n\t\ta:focus {\n\t\t\tborder-bottom: 2px solid var(--color-border);\n\t\t}\n\t}\n\n\t.credits--end {\n\t\tpadding-bottom: 32px;\n\t\tcolor: var(--color-text-maxcontrast);\n\n\t\ta {\n\t\t\tcolor: var(--color-text-maxcontrast);\n\t\t}\n\t}\n}\n\n.flip-list-move {\n\ttransition: transform var(--animation-slow);\n}\n\n.statuses {\n\tdisplay: flex;\n\tflex-direction: row;\n\tjustify-content: center;\n\tflex-wrap: wrap;\n\tmargin-bottom: 36px;\n\n\t& > li {\n\t\tmargin: 8px;\n\t}\n}\n</style>\n<style>\nhtml, body {\n\tbackground-attachment: fixed;\n}\n\n#body-user #header {\n\tposition: fixed;\n}\n\n#content {\n\toverflow: auto;\n}\n</style>\n"],sourceRoot:""}]);const s=o},31715:(t,e,n)=>{"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function r(){return r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},r.apply(this,arguments)}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),i.forEach((function(e){a(t,e,n[e])}))}return t}function s(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}n.r(e),n.d(e,{MultiDrag:()=>me,Sortable:()=>Dt,Swap:()=>re,default:()=>be});var l=s(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),c=s(/Edge/i),d=s(/firefox/i),u=s(/safari/i)&&!s(/chrome/i)&&!s(/android/i),p=s(/iP(ad|od|hone)/i),h=s(/chrome/i)&&s(/android/i),f={capture:!1,passive:!1};function A(t,e,n){t.addEventListener(e,n,!l&&f)}function m(t,e,n){t.removeEventListener(e,n,!l&&f)}function g(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(t){return!1}return!1}}function v(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function b(t,e,n,i){if(t){n=n||document;do{if(null!=e&&(">"===e[0]?t.parentNode===n&&g(t,e):g(t,e))||i&&t===n)return t;if(t===n)break}while(t=v(t))}return null}var y,C=/\s+/g;function x(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var i=(" "+t.className+" ").replace(C," ").replace(" "+e+" "," ");t.className=(i+(n?" "+e:"")).replace(C," ")}}function w(t,e,n){var i=t&&t.style;if(i){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in i||-1!==e.indexOf("webkit")||(e="-webkit-"+e),i[e]=n+("string"==typeof n?"":"px")}}function E(t,e){var n="";if("string"==typeof t)n=t;else do{var i=w(t,"transform");i&&"none"!==i&&(n=i+" "+n)}while(!e&&(t=t.parentNode));var a=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return a&&new a(n)}function _(t,e,n){if(t){var i=t.getElementsByTagName(e),a=0,r=i.length;if(n)for(;a<r;a++)n(i[a],a);return i}return[]}function B(){return document.scrollingElement||document.documentElement}function k(t,e,n,i,a){if(t.getBoundingClientRect||t===window){var r,o,s,c,d,u,p;if(t!==window&&t!==B()?(o=(r=t.getBoundingClientRect()).top,s=r.left,c=r.bottom,d=r.right,u=r.height,p=r.width):(o=0,s=0,c=window.innerHeight,d=window.innerWidth,u=window.innerHeight,p=window.innerWidth),(e||n)&&t!==window&&(a=a||t.parentNode,!l))do{if(a&&a.getBoundingClientRect&&("none"!==w(a,"transform")||n&&"static"!==w(a,"position"))){var h=a.getBoundingClientRect();o-=h.top+parseInt(w(a,"border-top-width")),s-=h.left+parseInt(w(a,"border-left-width")),c=o+r.height,d=s+r.width;break}}while(a=a.parentNode);if(i&&t!==window){var f=E(a||t),A=f&&f.a,m=f&&f.d;f&&(c=(o/=m)+(u/=m),d=(s/=A)+(p/=A))}return{top:o,left:s,bottom:c,right:d,width:p,height:u}}}function S(t,e,n){for(var i=P(t,!0),a=k(t)[e];i;){var r=k(i)[n];if(!("top"===n||"left"===n?a>=r:a<=r))return i;if(i===B())break;i=P(i,!1)}return!1}function T(t,e,n){for(var i=0,a=0,r=t.children;a<r.length;){if("none"!==r[a].style.display&&r[a]!==Dt.ghost&&r[a]!==Dt.dragged&&b(r[a],n.draggable,t,!1)){if(i===e)return r[a];i++}a++}return null}function I(t,e){for(var n=t.lastElementChild;n&&(n===Dt.ghost||"none"===w(n,"display")||e&&!g(n,e));)n=n.previousElementSibling;return n||null}function N(t,e){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Dt.clone||e&&!g(t,e)||n++;return n}function L(t){var e=0,n=0,i=B();if(t)do{var a=E(t),r=a.a,o=a.d;e+=t.scrollLeft*r,n+=t.scrollTop*o}while(t!==i&&(t=t.parentNode));return[e,n]}function P(t,e){if(!t||!t.getBoundingClientRect)return B();var n=t,i=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var a=w(n);if(n.clientWidth<n.scrollWidth&&("auto"==a.overflowX||"scroll"==a.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==a.overflowY||"scroll"==a.overflowY)){if(!n.getBoundingClientRect||n===document.body)return B();if(i||e)return n;i=!0}}}while(n=n.parentNode);return B()}function M(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}function O(t,e){return function(){if(!y){var n=arguments;1===n.length?t.call(this,n[0]):t.apply(this,n),y=setTimeout((function(){y=void 0}),e)}}}function R(t,e,n){t.scrollLeft+=e,t.scrollTop+=n}function D(t){var e=window.Polymer,n=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}function j(t,e){w(t,"position","absolute"),w(t,"top",e.top),w(t,"left",e.left),w(t,"width",e.width),w(t,"height",e.height)}function U(t){w(t,"position",""),w(t,"top",""),w(t,"left",""),w(t,"width",""),w(t,"height","")}var G="Sortable"+(new Date).getTime();var W=[],F={initializeByDefault:!0},Z={mount:function(t){for(var e in F)F.hasOwnProperty(e)&&!(e in t)&&(t[e]=F[e]);W.push(t)},pluginEvent:function(t,e,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var a=t+"Global";W.forEach((function(i){e[i.pluginName]&&(e[i.pluginName][a]&&e[i.pluginName][a](o({sortable:e},n)),e.options[i.pluginName]&&e[i.pluginName][t]&&e[i.pluginName][t](o({sortable:e},n)))}))},initializePlugins:function(t,e,n,i){for(var a in W.forEach((function(i){var a=i.pluginName;if(t.options[a]||i.initializeByDefault){var o=new i(t,e,t.options);o.sortable=t,o.options=t.options,t[a]=o,r(n,o.defaults)}})),t.options)if(t.options.hasOwnProperty(a)){var o=this.modifyOption(t,a,t.options[a]);void 0!==o&&(t.options[a]=o)}},getEventProperties:function(t,e){var n={};return W.forEach((function(i){"function"==typeof i.eventProperties&&r(n,i.eventProperties.call(e[i.pluginName],t))})),n},modifyOption:function(t,e,n){var i;return W.forEach((function(a){t[a.pluginName]&&a.optionListeners&&"function"==typeof a.optionListeners[e]&&(i=a.optionListeners[e].call(t[a.pluginName],n))})),i}};function Y(t){var e=t.sortable,n=t.rootEl,i=t.name,a=t.targetEl,r=t.cloneEl,s=t.toEl,d=t.fromEl,u=t.oldIndex,p=t.newIndex,h=t.oldDraggableIndex,f=t.newDraggableIndex,A=t.originalEvent,m=t.putSortable,g=t.extraEventProperties;if(e=e||n&&n[G]){var v,b=e.options,y="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||l||c?(v=document.createEvent("Event")).initEvent(i,!0,!0):v=new CustomEvent(i,{bubbles:!0,cancelable:!0}),v.to=s||n,v.from=d||n,v.item=a||n,v.clone=r,v.oldIndex=u,v.newIndex=p,v.oldDraggableIndex=h,v.newDraggableIndex=f,v.originalEvent=A,v.pullMode=m?m.lastPutMode:void 0;var C=o({},g,Z.getEventProperties(i,e));for(var x in C)v[x]=C[x];n&&n.dispatchEvent(v),b[y]&&b[y].call(e,v)}}var z=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,a=function(t,e){if(null==t)return{};var n,i,a=function(t,e){if(null==t)return{};var n,i,a={},r=Object.keys(t);for(i=0;i<r.length;i++)n=r[i],e.indexOf(n)>=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(i=0;i<r.length;i++)n=r[i],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}(n,["evt"]);Z.pluginEvent.bind(Dt)(t,e,o({dragEl:H,parentEl:V,ghostEl:q,rootEl:X,nextEl:J,lastDownEl:K,cloneEl:Q,cloneHidden:tt,dragStarted:ht,putSortable:ot,activeSortable:Dt.active,originalEvent:i,oldIndex:et,oldDraggableIndex:it,newIndex:nt,newDraggableIndex:at,hideGhostForTarget:Pt,unhideGhostForTarget:Mt,cloneNowHidden:function(){tt=!0},cloneNowShown:function(){tt=!1},dispatchSortableEvent:function(t){$({sortable:e,name:t,originalEvent:i})}},a))};function $(t){Y(o({putSortable:ot,cloneEl:Q,targetEl:H,rootEl:X,oldIndex:et,oldDraggableIndex:it,newIndex:nt,newDraggableIndex:at},t))}var H,V,q,X,J,K,Q,tt,et,nt,it,at,rt,ot,st,lt,ct,dt,ut,pt,ht,ft,At,mt,gt,vt=!1,bt=!1,yt=[],Ct=!1,xt=!1,wt=[],Et=!1,_t=[],Bt="undefined"!=typeof document,kt=p,St=c||l?"cssFloat":"float",Tt=Bt&&!h&&!p&&"draggable"in document.createElement("div"),It=function(){if(Bt){if(l)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Nt=function(t,e){var n=w(t),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),a=T(t,0,e),r=T(t,1,e),o=a&&w(a),s=r&&w(r),l=o&&parseInt(o.marginLeft)+parseInt(o.marginRight)+k(a).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+k(r).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(a&&o.float&&"none"!==o.float){var d="left"===o.float?"left":"right";return!r||"both"!==s.clear&&s.clear!==d?"horizontal":"vertical"}return a&&("block"===o.display||"flex"===o.display||"table"===o.display||"grid"===o.display||l>=i&&"none"===n[St]||r&&"none"===n[St]&&l+c>i)?"vertical":"horizontal"},Lt=function(t){function e(t,n){return function(i,a,r,o){var s=i.options.group.name&&a.options.group.name&&i.options.group.name===a.options.group.name;if(null==t&&(n||s))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return e(t(i,a,r,o),n)(i,a,r,o);var l=(n?i:a).options.group.name;return!0===t||"string"==typeof t&&t===l||t.join&&t.indexOf(l)>-1}}var n={},a=t.group;a&&"object"==i(a)||(a={name:a}),n.name=a.name,n.checkPull=e(a.pull,!0),n.checkPut=e(a.put),n.revertClone=a.revertClone,t.group=n},Pt=function(){!It&&q&&w(q,"display","none")},Mt=function(){!It&&q&&w(q,"display","")};Bt&&document.addEventListener("click",(function(t){if(bt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),bt=!1,!1}),!0);var Ot=function(t){if(H){t=t.touches?t.touches[0]:t;var e=(a=t.clientX,r=t.clientY,yt.some((function(t){if(!I(t)){var e=k(t),n=t[G].options.emptyInsertThreshold,i=a>=e.left-n&&a<=e.right+n,s=r>=e.top-n&&r<=e.bottom+n;return n&&i&&s?o=t:void 0}})),o);if(e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[G]._onDragOver(n)}}var a,r,o},Rt=function(t){H&&H.parentNode[G]._isOutsideThisEl(t.target)};function Dt(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=r({},e),t[G]=this;var n,i,a={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Nt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Dt.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var s in Z.initializePlugins(this,t,a),a)!(s in e)&&(e[s]=a[s]);for(var l in Lt(e),this)"_"===l.charAt(0)&&"function"==typeof this[l]&&(this[l]=this[l].bind(this));this.nativeDraggable=!e.forceFallback&&Tt,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?A(t,"pointerdown",this._onTapStart):(A(t,"mousedown",this._onTapStart),A(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(A(t,"dragover",this),A(t,"dragenter",this)),yt.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),r(this,(i=[],{captureAnimationState:function(){i=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==w(t,"display")&&t!==Dt.ghost){i.push({target:t,rect:k(t)});var e=o({},i[i.length-1].rect);if(t.thisAnimationDuration){var n=E(t,!0);n&&(e.top-=n.f,e.left-=n.e)}t.fromRect=e}}))},addAnimationState:function(t){i.push(t)},removeAnimationState:function(t){i.splice(function(t,e){for(var n in t)if(t.hasOwnProperty(n))for(var i in e)if(e.hasOwnProperty(i)&&e[i]===t[n][i])return Number(n);return-1}(i,{target:t}),1)},animateAll:function(t){var e=this;if(!this.options.animation)return clearTimeout(n),void("function"==typeof t&&t());var a=!1,r=0;i.forEach((function(t){var n=0,i=t.target,o=i.fromRect,s=k(i),l=i.prevFromRect,c=i.prevToRect,d=t.rect,u=E(i,!0);u&&(s.top-=u.f,s.left-=u.e),i.toRect=s,i.thisAnimationDuration&&M(l,s)&&!M(o,s)&&(d.top-s.top)/(d.left-s.left)==(o.top-s.top)/(o.left-s.left)&&(n=function(t,e,n,i){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*i.animation}(d,l,c,e.options)),M(s,o)||(i.prevFromRect=o,i.prevToRect=s,n||(n=e.options.animation),e.animate(i,d,s,n)),n&&(a=!0,r=Math.max(r,n),clearTimeout(i.animationResetTimer),i.animationResetTimer=setTimeout((function(){i.animationTime=0,i.prevFromRect=null,i.fromRect=null,i.prevToRect=null,i.thisAnimationDuration=null}),n),i.thisAnimationDuration=n)})),clearTimeout(n),a?n=setTimeout((function(){"function"==typeof t&&t()}),r):"function"==typeof t&&t(),i=[]},animate:function(t,e,n,i){if(i){w(t,"transition",""),w(t,"transform","");var a=E(this.el),r=a&&a.a,o=a&&a.d,s=(e.left-n.left)/(r||1),l=(e.top-n.top)/(o||1);t.animatingX=!!s,t.animatingY=!!l,w(t,"transform","translate3d("+s+"px,"+l+"px,0)"),function(t){t.offsetWidth}(t),w(t,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),w(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){w(t,"transition",""),w(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),i)}}}))}function jt(t,e,n,i,a,r,o,s){var d,u,p=t[G],h=p.options.onMove;return!window.CustomEvent||l||c?(d=document.createEvent("Event")).initEvent("move",!0,!0):d=new CustomEvent("move",{bubbles:!0,cancelable:!0}),d.to=e,d.from=t,d.dragged=n,d.draggedRect=i,d.related=a||e,d.relatedRect=r||k(e),d.willInsertAfter=s,d.originalEvent=o,t.dispatchEvent(d),h&&(u=h.call(p,d,o)),u}function Ut(t){t.draggable=!1}function Gt(){Et=!1}function Wt(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,i=0;n--;)i+=e.charCodeAt(n);return i.toString(36)}function Ft(t){return setTimeout(t,0)}function Zt(t){return clearTimeout(t)}Dt.prototype={constructor:Dt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(ft=null)},_getDirection:function(t,e){return"function"==typeof this.options.direction?this.options.direction.call(this,t,e,H):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,i=this.options,a=i.preventOnFilter,r=t.type,o=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,s=(o||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,c=i.filter;if(function(t){_t.length=0;for(var e=t.getElementsByTagName("input"),n=e.length;n--;){var i=e[n];i.checked&&_t.push(i)}}(n),!H&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||i.disabled||l.isContentEditable||(s=b(s,i.draggable,n,!1))&&s.animated||K===s)){if(et=N(s),it=N(s,i.draggable),"function"==typeof c){if(c.call(this,t,s,this))return $({sortable:e,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),z("filter",e,{evt:t}),void(a&&t.cancelable&&t.preventDefault())}else if(c&&(c=c.split(",").some((function(i){if(i=b(l,i.trim(),n,!1))return $({sortable:e,rootEl:i,name:"filter",targetEl:s,fromEl:n,toEl:n}),z("filter",e,{evt:t}),!0}))))return void(a&&t.cancelable&&t.preventDefault());i.handle&&!b(l,i.handle,n,!1)||this._prepareDragStart(t,o,s)}}},_prepareDragStart:function(t,e,n){var i,a=this,r=a.el,o=a.options,s=r.ownerDocument;if(n&&!H&&n.parentNode===r){var u=k(n);if(X=r,V=(H=n).parentNode,J=H.nextSibling,K=n,rt=o.group,Dt.dragged=H,st={target:H,clientX:(e||t).clientX,clientY:(e||t).clientY},ut=st.clientX-u.left,pt=st.clientY-u.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,H.style["will-change"]="all",i=function(){z("delayEnded",a,{evt:t}),Dt.eventCanceled?a._onDrop():(a._disableDelayedDragEvents(),!d&&a.nativeDraggable&&(H.draggable=!0),a._triggerDragStart(t,e),$({sortable:a,name:"choose",originalEvent:t}),x(H,o.chosenClass,!0))},o.ignore.split(",").forEach((function(t){_(H,t.trim(),Ut)})),A(s,"dragover",Ot),A(s,"mousemove",Ot),A(s,"touchmove",Ot),A(s,"mouseup",a._onDrop),A(s,"touchend",a._onDrop),A(s,"touchcancel",a._onDrop),d&&this.nativeDraggable&&(this.options.touchStartThreshold=4,H.draggable=!0),z("delayStart",this,{evt:t}),!o.delay||o.delayOnTouchOnly&&!e||this.nativeDraggable&&(c||l))i();else{if(Dt.eventCanceled)return void this._onDrop();A(s,"mouseup",a._disableDelayedDrag),A(s,"touchend",a._disableDelayedDrag),A(s,"touchcancel",a._disableDelayedDrag),A(s,"mousemove",a._delayedDragTouchMoveHandler),A(s,"touchmove",a._delayedDragTouchMoveHandler),o.supportPointer&&A(s,"pointermove",a._delayedDragTouchMoveHandler),a._dragStartTimer=setTimeout(i,o.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){H&&Ut(H),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;m(t,"mouseup",this._disableDelayedDrag),m(t,"touchend",this._disableDelayedDrag),m(t,"touchcancel",this._disableDelayedDrag),m(t,"mousemove",this._delayedDragTouchMoveHandler),m(t,"touchmove",this._delayedDragTouchMoveHandler),m(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?A(document,"pointermove",this._onTouchMove):A(document,e?"touchmove":"mousemove",this._onTouchMove):(A(H,"dragend",this),A(X,"dragstart",this._onDragStart));try{document.selection?Ft((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,e){if(vt=!1,X&&H){z("dragStarted",this,{evt:e}),this.nativeDraggable&&A(document,"dragover",Rt);var n=this.options;!t&&x(H,n.dragClass,!1),x(H,n.ghostClass,!0),Dt.active=this,t&&this._appendGhost(),$({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(lt){this._lastX=lt.clientX,this._lastY=lt.clientY,Pt();for(var t=document.elementFromPoint(lt.clientX,lt.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(lt.clientX,lt.clientY))!==e;)e=t;if(H.parentNode[G]._isOutsideThisEl(t),e)do{if(e[G]&&e[G]._onDragOver({clientX:lt.clientX,clientY:lt.clientY,target:t,rootEl:e})&&!this.options.dragoverBubble)break;t=e}while(e=e.parentNode);Mt()}},_onTouchMove:function(t){if(st){var e=this.options,n=e.fallbackTolerance,i=e.fallbackOffset,a=t.touches?t.touches[0]:t,r=q&&E(q,!0),o=q&&r&&r.a,s=q&&r&&r.d,l=kt&&gt&&L(gt),c=(a.clientX-st.clientX+i.x)/(o||1)+(l?l[0]-wt[0]:0)/(o||1),d=(a.clientY-st.clientY+i.y)/(s||1)+(l?l[1]-wt[1]:0)/(s||1);if(!Dt.active&&!vt){if(n&&Math.max(Math.abs(a.clientX-this._lastX),Math.abs(a.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(q){r?(r.e+=c-(ct||0),r.f+=d-(dt||0)):r={a:1,b:0,c:0,d:1,e:c,f:d};var u="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");w(q,"webkitTransform",u),w(q,"mozTransform",u),w(q,"msTransform",u),w(q,"transform",u),ct=c,dt=d,lt=a}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!q){var t=this.options.fallbackOnBody?document.body:X,e=k(H,!0,kt,!0,t),n=this.options;if(kt){for(gt=t;"static"===w(gt,"position")&&"none"===w(gt,"transform")&&gt!==document;)gt=gt.parentNode;gt!==document.body&&gt!==document.documentElement?(gt===document&&(gt=B()),e.top+=gt.scrollTop,e.left+=gt.scrollLeft):gt=B(),wt=L(gt)}x(q=H.cloneNode(!0),n.ghostClass,!1),x(q,n.fallbackClass,!0),x(q,n.dragClass,!0),w(q,"transition",""),w(q,"transform",""),w(q,"box-sizing","border-box"),w(q,"margin",0),w(q,"top",e.top),w(q,"left",e.left),w(q,"width",e.width),w(q,"height",e.height),w(q,"opacity","0.8"),w(q,"position",kt?"absolute":"fixed"),w(q,"zIndex","100000"),w(q,"pointerEvents","none"),Dt.ghost=q,t.appendChild(q),w(q,"transform-origin",ut/parseInt(q.style.width)*100+"% "+pt/parseInt(q.style.height)*100+"%")}},_onDragStart:function(t,e){var n=this,i=t.dataTransfer,a=n.options;z("dragStart",this,{evt:t}),Dt.eventCanceled?this._onDrop():(z("setupClone",this),Dt.eventCanceled||((Q=D(H)).draggable=!1,Q.style["will-change"]="",this._hideClone(),x(Q,this.options.chosenClass,!1),Dt.clone=Q),n.cloneId=Ft((function(){z("clone",n),Dt.eventCanceled||(n.options.removeCloneOnHide||X.insertBefore(Q,H),n._hideClone(),$({sortable:n,name:"clone"}))})),!e&&x(H,a.dragClass,!0),e?(bt=!0,n._loopId=setInterval(n._emulateDragOver,50)):(m(document,"mouseup",n._onDrop),m(document,"touchend",n._onDrop),m(document,"touchcancel",n._onDrop),i&&(i.effectAllowed="move",a.setData&&a.setData.call(n,i,H)),A(document,"drop",n),w(H,"transform","translateZ(0)")),vt=!0,n._dragStartId=Ft(n._dragStarted.bind(n,e,t)),A(document,"selectstart",n),ht=!0,u&&w(document.body,"user-select","none"))},_onDragOver:function(t){var e,n,i,a,r=this.el,s=t.target,l=this.options,c=l.group,d=Dt.active,u=rt===c,p=l.sort,h=ot||d,f=this,A=!1;if(!Et){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=b(s,l.draggable,r,!0),D("dragOver"),Dt.eventCanceled)return A;if(H.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||f._ignoreWhileAnimating===s)return U(!1);if(bt=!1,d&&!l.disabled&&(u?p||(i=!X.contains(H)):ot===this||(this.lastPutMode=rt.checkPull(this,d,H,t))&&c.checkPut(this,d,H,t))){if(a="vertical"===this._getDirection(t,s),e=k(H),D("dragOverValid"),Dt.eventCanceled)return A;if(i)return V=X,j(),this._hideClone(),D("revert"),Dt.eventCanceled||(J?X.insertBefore(H,J):X.appendChild(H)),U(!0);var m=I(r,l.draggable);if(!m||function(t,e,n){var i=k(I(n.el,n.options.draggable));return e?t.clientX>i.right+10||t.clientX<=i.right&&t.clientY>i.bottom&&t.clientX>=i.left:t.clientX>i.right&&t.clientY>i.top||t.clientX<=i.right&&t.clientY>i.bottom+10}(t,a,this)&&!m.animated){if(m===H)return U(!1);if(m&&r===t.target&&(s=m),s&&(n=k(s)),!1!==jt(X,r,H,e,s,n,t,!!s))return j(),r.appendChild(H),V=r,W(),U(!0)}else if(s.parentNode===r){n=k(s);var g,v,y,C=H.parentNode!==r,E=!function(t,e,n){var i=n?t.left:t.top,a=n?t.right:t.bottom,r=n?t.width:t.height,o=n?e.left:e.top,s=n?e.right:e.bottom,l=n?e.width:e.height;return i===o||a===s||i+r/2===o+l/2}(H.animated&&H.toRect||e,s.animated&&s.toRect||n,a),_=a?"top":"left",B=S(s,"top","top")||S(H,"top","top"),T=B?B.scrollTop:void 0;if(ft!==s&&(v=n[_],Ct=!1,xt=!E&&l.invertSwap||C),g=function(t,e,n,i,a,r,o,s){var l=i?t.clientY:t.clientX,c=i?n.height:n.width,d=i?n.top:n.left,u=i?n.bottom:n.right,p=!1;if(!o)if(s&&mt<c*a){if(!Ct&&(1===At?l>d+c*r/2:l<u-c*r/2)&&(Ct=!0),Ct)p=!0;else if(1===At?l<d+mt:l>u-mt)return-At}else if(l>d+c*(1-a)/2&&l<u-c*(1-a)/2)return function(t){return N(H)<N(t)?1:-1}(e);return(p=p||o)&&(l<d+c*r/2||l>u-c*r/2)?l>d+c/2?1:-1:0}(t,s,n,a,E?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,xt,ft===s),0!==g){var L=N(H);do{L-=g,y=V.children[L]}while(y&&("none"===w(y,"display")||y===q))}if(0===g||y===s)return U(!1);ft=s,At=g;var P=s.nextElementSibling,M=!1,O=jt(X,r,H,e,s,n,t,M=1===g);if(!1!==O)return 1!==O&&-1!==O||(M=1===O),Et=!0,setTimeout(Gt,30),j(),M&&!P?r.appendChild(H):s.parentNode.insertBefore(H,M?P:s),B&&R(B,0,T-B.scrollTop),V=H.parentNode,void 0===v||xt||(mt=Math.abs(v-k(s)[_])),W(),U(!0)}if(r.contains(H))return U(!1)}return!1}function D(l,c){z(l,f,o({evt:t,isOwner:u,axis:a?"vertical":"horizontal",revert:i,dragRect:e,targetRect:n,canSort:p,fromSortable:h,target:s,completed:U,onMove:function(n,i){return jt(X,r,H,e,n,k(n),t,i)},changed:W},c))}function j(){D("dragOverAnimationCapture"),f.captureAnimationState(),f!==h&&h.captureAnimationState()}function U(e){return D("dragOverCompleted",{insertion:e}),e&&(u?d._hideClone():d._showClone(f),f!==h&&(x(H,ot?ot.options.ghostClass:d.options.ghostClass,!1),x(H,l.ghostClass,!0)),ot!==f&&f!==Dt.active?ot=f:f===Dt.active&&ot&&(ot=null),h===f&&(f._ignoreWhileAnimating=s),f.animateAll((function(){D("dragOverAnimationComplete"),f._ignoreWhileAnimating=null})),f!==h&&(h.animateAll(),h._ignoreWhileAnimating=null)),(s===H&&!H.animated||s===r&&!s.animated)&&(ft=null),l.dragoverBubble||t.rootEl||s===document||(H.parentNode[G]._isOutsideThisEl(t.target),!e&&Ot(t)),!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),A=!0}function W(){nt=N(H),at=N(H,l.draggable),$({sortable:f,name:"change",toEl:r,newIndex:nt,newDraggableIndex:at,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){m(document,"mousemove",this._onTouchMove),m(document,"touchmove",this._onTouchMove),m(document,"pointermove",this._onTouchMove),m(document,"dragover",Ot),m(document,"mousemove",Ot),m(document,"touchmove",Ot)},_offUpEvents:function(){var t=this.el.ownerDocument;m(t,"mouseup",this._onDrop),m(t,"touchend",this._onDrop),m(t,"pointerup",this._onDrop),m(t,"touchcancel",this._onDrop),m(document,"selectstart",this)},_onDrop:function(t){var e=this.el,n=this.options;nt=N(H),at=N(H,n.draggable),z("drop",this,{evt:t}),V=H&&H.parentNode,nt=N(H),at=N(H,n.draggable),Dt.eventCanceled||(vt=!1,xt=!1,Ct=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Zt(this.cloneId),Zt(this._dragStartId),this.nativeDraggable&&(m(document,"drop",this),m(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),u&&w(document.body,"user-select",""),w(H,"transform",""),t&&(ht&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),q&&q.parentNode&&q.parentNode.removeChild(q),(X===V||ot&&"clone"!==ot.lastPutMode)&&Q&&Q.parentNode&&Q.parentNode.removeChild(Q),H&&(this.nativeDraggable&&m(H,"dragend",this),Ut(H),H.style["will-change"]="",ht&&!vt&&x(H,ot?ot.options.ghostClass:this.options.ghostClass,!1),x(H,this.options.chosenClass,!1),$({sortable:this,name:"unchoose",toEl:V,newIndex:null,newDraggableIndex:null,originalEvent:t}),X!==V?(nt>=0&&($({rootEl:V,name:"add",toEl:V,fromEl:X,originalEvent:t}),$({sortable:this,name:"remove",toEl:V,originalEvent:t}),$({rootEl:V,name:"sort",toEl:V,fromEl:X,originalEvent:t}),$({sortable:this,name:"sort",toEl:V,originalEvent:t})),ot&&ot.save()):nt!==et&&nt>=0&&($({sortable:this,name:"update",toEl:V,originalEvent:t}),$({sortable:this,name:"sort",toEl:V,originalEvent:t})),Dt.active&&(null!=nt&&-1!==nt||(nt=et,at=it),$({sortable:this,name:"end",toEl:V,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){z("nulling",this),X=H=V=q=J=Q=K=tt=st=lt=ht=nt=at=et=it=ft=At=ot=rt=Dt.dragged=Dt.ghost=Dt.clone=Dt.active=null,_t.forEach((function(t){t.checked=!0})),_t.length=ct=dt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":H&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,e=[],n=this.el.children,i=0,a=n.length,r=this.options;i<a;i++)b(t=n[i],r.draggable,this.el,!1)&&e.push(t.getAttribute(r.dataIdAttr)||Wt(t));return e},sort:function(t){var e={},n=this.el;this.toArray().forEach((function(t,i){var a=n.children[i];b(a,this.options.draggable,n,!1)&&(e[t]=a)}),this),t.forEach((function(t){e[t]&&(n.removeChild(e[t]),n.appendChild(e[t]))}))},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return b(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var n=this.options;if(void 0===e)return n[t];var i=Z.modifyOption(this,t,e);n[t]=void 0!==i?i:e,"group"===t&&Lt(n)},destroy:function(){z("destroy",this);var t=this.el;t[G]=null,m(t,"mousedown",this._onTapStart),m(t,"touchstart",this._onTapStart),m(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(m(t,"dragover",this),m(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),yt.splice(yt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!tt){if(z("hideClone",this),Dt.eventCanceled)return;w(Q,"display","none"),this.options.removeCloneOnHide&&Q.parentNode&&Q.parentNode.removeChild(Q),tt=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(tt){if(z("showClone",this),Dt.eventCanceled)return;X.contains(H)&&!this.options.group.revertClone?X.insertBefore(Q,H):J?X.insertBefore(Q,J):X.appendChild(Q),this.options.group.revertClone&&this.animate(H,Q),w(Q,"display",""),tt=!1}}else this._hideClone()}},Bt&&A(document,"touchmove",(function(t){(Dt.active||vt)&&t.cancelable&&t.preventDefault()})),Dt.utils={on:A,off:m,css:w,find:_,is:function(t,e){return!!b(t,e,t,!1)},extend:function(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},throttle:O,closest:b,toggleClass:x,clone:D,index:N,nextTick:Ft,cancelNextTick:Zt,detectDirection:Nt,getChild:T},Dt.get=function(t){return t[G]},Dt.mount=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e[0].constructor===Array&&(e=e[0]),e.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Dt.utils=o({},Dt.utils,t.utils)),Z.mount(t)}))},Dt.create=function(t,e){return new Dt(t,e)},Dt.version="1.10.2";var Yt,zt,$t,Ht,Vt,qt,Xt=[],Jt=!1;function Kt(){Xt.forEach((function(t){clearInterval(t.pid)})),Xt=[]}function Qt(){clearInterval(qt)}var te,ee=O((function(t,e,n,i){if(e.scroll){var a,r=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,s=e.scrollSensitivity,l=e.scrollSpeed,c=B(),d=!1;zt!==n&&(zt=n,Kt(),Yt=e.scroll,a=e.scrollFn,!0===Yt&&(Yt=P(n,!0)));var u=0,p=Yt;do{var h=p,f=k(h),A=f.top,m=f.bottom,g=f.left,v=f.right,b=f.width,y=f.height,C=void 0,x=void 0,E=h.scrollWidth,_=h.scrollHeight,S=w(h),T=h.scrollLeft,I=h.scrollTop;h===c?(C=b<E&&("auto"===S.overflowX||"scroll"===S.overflowX||"visible"===S.overflowX),x=y<_&&("auto"===S.overflowY||"scroll"===S.overflowY||"visible"===S.overflowY)):(C=b<E&&("auto"===S.overflowX||"scroll"===S.overflowX),x=y<_&&("auto"===S.overflowY||"scroll"===S.overflowY));var N=C&&(Math.abs(v-r)<=s&&T+b<E)-(Math.abs(g-r)<=s&&!!T),L=x&&(Math.abs(m-o)<=s&&I+y<_)-(Math.abs(A-o)<=s&&!!I);if(!Xt[u])for(var M=0;M<=u;M++)Xt[M]||(Xt[M]={});Xt[u].vx==N&&Xt[u].vy==L&&Xt[u].el===h||(Xt[u].el=h,Xt[u].vx=N,Xt[u].vy=L,clearInterval(Xt[u].pid),0==N&&0==L||(d=!0,Xt[u].pid=setInterval(function(){i&&0===this.layer&&Dt.active._onTouchMove(Vt);var e=Xt[this.layer].vy?Xt[this.layer].vy*l:0,n=Xt[this.layer].vx?Xt[this.layer].vx*l:0;"function"==typeof a&&"continue"!==a.call(Dt.dragged.parentNode[G],n,e,t,Vt,Xt[this.layer].el)||R(Xt[this.layer].el,n,e)}.bind({layer:u}),24))),u++}while(e.bubbleScroll&&p!==c&&(p=P(p,!1)));Jt=d}}),30),ne=function(t){var e=t.originalEvent,n=t.putSortable,i=t.dragEl,a=t.activeSortable,r=t.dispatchSortableEvent,o=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(e){var l=n||a;o();var c=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,d=document.elementFromPoint(c.clientX,c.clientY);s(),l&&!l.el.contains(d)&&(r("spill"),this.onSpill({dragEl:i,putSortable:n}))}};function ie(){}function ae(){}function re(){function t(){this.defaults={swapClass:"sortable-swap-highlight"}}return t.prototype={dragStart:function(t){var e=t.dragEl;te=e},dragOverValid:function(t){var e=t.completed,n=t.target,i=t.onMove,a=t.activeSortable,r=t.changed,o=t.cancel;if(a.options.swap){var s=this.sortable.el,l=this.options;if(n&&n!==s){var c=te;!1!==i(n)?(x(n,l.swapClass,!0),te=n):te=null,c&&c!==te&&x(c,l.swapClass,!1)}r(),e(!0),o()}},drop:function(t){var e,n,i,a,r,o,s=t.activeSortable,l=t.putSortable,c=t.dragEl,d=l||this.sortable,u=this.options;te&&x(te,u.swapClass,!1),te&&(u.swap||l&&l.options.swap)&&c!==te&&(d.captureAnimationState(),d!==s&&s.captureAnimationState(),n=te,r=(e=c).parentNode,o=n.parentNode,r&&o&&!r.isEqualNode(n)&&!o.isEqualNode(e)&&(i=N(e),a=N(n),r.isEqualNode(o)&&i<a&&a++,r.insertBefore(n,r.children[i]),o.insertBefore(e,o.children[a])),d.animateAll(),d!==s&&s.animateAll())},nulling:function(){te=null}},r(t,{pluginName:"swap",eventProperties:function(){return{swapItem:te}}})}ie.prototype={startIndex:null,dragStart:function(t){var e=t.oldDraggableIndex;this.startIndex=e},onSpill:function(t){var e=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var i=T(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(e,i):this.sortable.el.appendChild(e),this.sortable.animateAll(),n&&n.animateAll()},drop:ne},r(ie,{pluginName:"revertOnSpill"}),ae.prototype={onSpill:function(t){var e=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),n.animateAll()},drop:ne},r(ae,{pluginName:"removeOnSpill"});var oe,se,le,ce,de,ue=[],pe=[],he=!1,fe=!1,Ae=!1;function me(){function t(t){for(var e in this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this));t.options.supportPointer?A(document,"pointerup",this._deselectMultiDrag):(A(document,"mouseup",this._deselectMultiDrag),A(document,"touchend",this._deselectMultiDrag)),A(document,"keydown",this._checkKeyDown),A(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(e,n){var i="";ue.length&&se===t?ue.forEach((function(t,e){i+=(e?", ":"")+t.textContent})):i=n.textContent,e.setData("Text",i)}}}return t.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(t){var e=t.dragEl;le=e},delayEnded:function(){this.isMultiDrag=~ue.indexOf(le)},setupClone:function(t){var e=t.sortable,n=t.cancel;if(this.isMultiDrag){for(var i=0;i<ue.length;i++)pe.push(D(ue[i])),pe[i].sortableIndex=ue[i].sortableIndex,pe[i].draggable=!1,pe[i].style["will-change"]="",x(pe[i],this.options.selectedClass,!1),ue[i]===le&&x(pe[i],this.options.chosenClass,!1);e._hideClone(),n()}},clone:function(t){var e=t.sortable,n=t.rootEl,i=t.dispatchSortableEvent,a=t.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||ue.length&&se===e&&(ge(!0,n),i("clone"),a()))},showClone:function(t){var e=t.cloneNowShown,n=t.rootEl,i=t.cancel;this.isMultiDrag&&(ge(!1,n),pe.forEach((function(t){w(t,"display","")})),e(),de=!1,i())},hideClone:function(t){var e=this,n=(t.sortable,t.cloneNowHidden),i=t.cancel;this.isMultiDrag&&(pe.forEach((function(t){w(t,"display","none"),e.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)})),n(),de=!0,i())},dragStartGlobal:function(t){t.sortable,!this.isMultiDrag&&se&&se.multiDrag._deselectMultiDrag(),ue.forEach((function(t){t.sortableIndex=N(t)})),ue=ue.sort((function(t,e){return t.sortableIndex-e.sortableIndex})),Ae=!0},dragStarted:function(t){var e=this,n=t.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){ue.forEach((function(t){t!==le&&w(t,"position","absolute")}));var i=k(le,!1,!0,!0);ue.forEach((function(t){t!==le&&j(t,i)})),fe=!0,he=!0}n.animateAll((function(){fe=!1,he=!1,e.options.animation&&ue.forEach((function(t){U(t)})),e.options.sort&&ve()}))}},dragOver:function(t){var e=t.target,n=t.completed,i=t.cancel;fe&&~ue.indexOf(e)&&(n(!1),i())},revert:function(t){var e=t.fromSortable,n=t.rootEl,i=t.sortable,a=t.dragRect;ue.length>1&&(ue.forEach((function(t){i.addAnimationState({target:t,rect:fe?k(t):a}),U(t),t.fromRect=a,e.removeAnimationState(t)})),fe=!1,function(t,e){ue.forEach((function(n,i){var a=e.children[n.sortableIndex+(t?Number(i):0)];a?e.insertBefore(n,a):e.appendChild(n)}))}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(t){var e=t.sortable,n=t.isOwner,i=t.insertion,a=t.activeSortable,r=t.parentEl,o=t.putSortable,s=this.options;if(i){if(n&&a._hideClone(),he=!1,s.animation&&ue.length>1&&(fe||!n&&!a.options.sort&&!o)){var l=k(le,!1,!0,!0);ue.forEach((function(t){t!==le&&(j(t,l),r.appendChild(t))})),fe=!0}if(!n)if(fe||ve(),ue.length>1){var c=de;a._showClone(e),a.options.animation&&!de&&c&&pe.forEach((function(t){a.addAnimationState({target:t,rect:ce}),t.fromRect=ce,t.thisAnimationDuration=null}))}else a._showClone(e)}},dragOverAnimationCapture:function(t){var e=t.dragRect,n=t.isOwner,i=t.activeSortable;if(ue.forEach((function(t){t.thisAnimationDuration=null})),i.options.animation&&!n&&i.multiDrag.isMultiDrag){ce=r({},e);var a=E(le,!0);ce.top-=a.f,ce.left-=a.e}},dragOverAnimationComplete:function(){fe&&(fe=!1,ve())},drop:function(t){var e=t.originalEvent,n=t.rootEl,i=t.parentEl,a=t.sortable,r=t.dispatchSortableEvent,o=t.oldIndex,s=t.putSortable,l=s||this.sortable;if(e){var c=this.options,d=i.children;if(!Ae)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),x(le,c.selectedClass,!~ue.indexOf(le)),~ue.indexOf(le))ue.splice(ue.indexOf(le),1),oe=null,Y({sortable:a,rootEl:n,name:"deselect",targetEl:le,originalEvt:e});else{if(ue.push(le),Y({sortable:a,rootEl:n,name:"select",targetEl:le,originalEvt:e}),e.shiftKey&&oe&&a.el.contains(oe)){var u,p,h=N(oe),f=N(le);if(~h&&~f&&h!==f)for(f>h?(p=h,u=f):(p=f,u=h+1);p<u;p++)~ue.indexOf(d[p])||(x(d[p],c.selectedClass,!0),ue.push(d[p]),Y({sortable:a,rootEl:n,name:"select",targetEl:d[p],originalEvt:e}))}else oe=le;se=l}if(Ae&&this.isMultiDrag){if((i[G].options.sort||i!==n)&&ue.length>1){var A=k(le),m=N(le,":not(."+this.options.selectedClass+")");if(!he&&c.animation&&(le.thisAnimationDuration=null),l.captureAnimationState(),!he&&(c.animation&&(le.fromRect=A,ue.forEach((function(t){if(t.thisAnimationDuration=null,t!==le){var e=fe?k(t):A;t.fromRect=e,l.addAnimationState({target:t,rect:e})}}))),ve(),ue.forEach((function(t){d[m]?i.insertBefore(t,d[m]):i.appendChild(t),m++})),o===N(le))){var g=!1;ue.forEach((function(t){t.sortableIndex===N(t)||(g=!0)})),g&&r("update")}ue.forEach((function(t){U(t)})),l.animateAll()}se=l}(n===i||s&&"clone"!==s.lastPutMode)&&pe.forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))}},nullingGlobal:function(){this.isMultiDrag=Ae=!1,pe.length=0},destroyGlobal:function(){this._deselectMultiDrag(),m(document,"pointerup",this._deselectMultiDrag),m(document,"mouseup",this._deselectMultiDrag),m(document,"touchend",this._deselectMultiDrag),m(document,"keydown",this._checkKeyDown),m(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(!(void 0!==Ae&&Ae||se!==this.sortable||t&&b(t.target,this.options.draggable,this.sortable.el,!1)||t&&0!==t.button))for(;ue.length;){var e=ue[0];x(e,this.options.selectedClass,!1),ue.shift(),Y({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvt:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},r(t,{pluginName:"multiDrag",utils:{select:function(t){var e=t.parentNode[G];e&&e.options.multiDrag&&!~ue.indexOf(t)&&(se&&se!==e&&(se.multiDrag._deselectMultiDrag(),se=e),x(t,e.options.selectedClass,!0),ue.push(t))},deselect:function(t){var e=t.parentNode[G],n=ue.indexOf(t);e&&e.options.multiDrag&&~n&&(x(t,e.options.selectedClass,!1),ue.splice(n,1))}},eventProperties:function(){var t,e=this,n=[],i=[];return ue.forEach((function(t){var a;n.push({multiDragElement:t,index:t.sortableIndex}),a=fe&&t!==le?-1:fe?N(t,":not(."+e.options.selectedClass+")"):N(t),i.push({multiDragElement:t,index:a})})),{items:(t=ue,function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()),clones:[].concat(pe),oldIndicies:n,newIndicies:i}},optionListeners:{multiDragKey:function(t){return"ctrl"===(t=t.toLowerCase())?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})}function ge(t,e){pe.forEach((function(n,i){var a=e.children[n.sortableIndex+(t?Number(i):0)];a?e.insertBefore(n,a):e.appendChild(n)}))}function ve(){ue.forEach((function(t){t!==le&&t.parentNode&&t.parentNode.removeChild(t)}))}Dt.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?A(document,"dragover",this._handleAutoScroll):this.options.supportPointer?A(document,"pointermove",this._handleFallbackAutoScroll):e.touches?A(document,"touchmove",this._handleFallbackAutoScroll):A(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;this.options.dragOverBubble||e.rootEl||this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?m(document,"dragover",this._handleAutoScroll):(m(document,"pointermove",this._handleFallbackAutoScroll),m(document,"touchmove",this._handleFallbackAutoScroll),m(document,"mousemove",this._handleFallbackAutoScroll)),Qt(),Kt(),clearTimeout(y),y=void 0},nulling:function(){Vt=zt=Yt=Jt=qt=$t=Ht=null,Xt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var n=this,i=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(i,a);if(Vt=t,e||c||l||u){ee(t,this.options,r,e);var o=P(r,!0);!Jt||qt&&i===$t&&a===Ht||(qt&&Qt(),qt=setInterval((function(){var r=P(document.elementFromPoint(i,a),!0);r!==o&&(o=r,Kt()),ee(t,n.options,r,e)}),10),$t=i,Ht=a)}else{if(!this.options.bubbleScroll||P(r,!0)===B())return void Kt();ee(t,this.options,P(r,!1),!1)}}},r(t,{pluginName:"scroll",initializeByDefault:!0})}),Dt.mount(ae,ie);const be=Dt},9980:function(t,e,n){var i;"undefined"!=typeof self&&self,i=function(t){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var a=e[i]={i,l:!1,exports:{}};return t[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)n.d(i,a,function(e){return t[e]}.bind(null,a));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"01f9":function(t,e,n){"use strict";var i=n("2d00"),a=n("5ca1"),r=n("2aba"),o=n("32e9"),s=n("84f2"),l=n("41a0"),c=n("7f20"),d=n("38fd"),u=n("2b4c")("iterator"),p=!([].keys&&"next"in[].keys()),h="keys",f="values",A=function(){return this};t.exports=function(t,e,n,m,g,v,b){l(n,e,m);var y,C,x,w=function(t){if(!p&&t in k)return k[t];switch(t){case h:case f:return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",_=g==f,B=!1,k=t.prototype,S=k[u]||k["@@iterator"]||g&&k[g],T=S||w(g),I=g?_?w("entries"):T:void 0,N="Array"==e&&k.entries||S;if(N&&(x=d(N.call(new t)))!==Object.prototype&&x.next&&(c(x,E,!0),i||"function"==typeof x[u]||o(x,u,A)),_&&S&&S.name!==f&&(B=!0,T=function(){return S.call(this)}),i&&!b||!p&&!B&&k[u]||o(k,u,T),s[e]=T,s[E]=A,g)if(y={values:_?T:w(f),keys:v?T:w(h),entries:I},b)for(C in y)C in k||r(k,C,y[C]);else a(a.P+a.F*(p||B),e,y);return y}},"02f4":function(t,e,n){var i=n("4588"),a=n("be13");t.exports=function(t){return function(e,n){var r,o,s=String(a(e)),l=i(n),c=s.length;return l<0||l>=c?t?"":void 0:(r=s.charCodeAt(l))<55296||r>56319||l+1===c||(o=s.charCodeAt(l+1))<56320||o>57343?t?s.charAt(l):r:t?s.slice(l,l+2):o-56320+(r-55296<<10)+65536}}},"0390":function(t,e,n){"use strict";var i=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"0bfb":function(t,e,n){"use strict";var i=n("cb7c");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,n){var i=n("ce10"),a=n("e11e");t.exports=Object.keys||function(t){return i(t,a)}},1495:function(t,e,n){var i=n("86cc"),a=n("cb7c"),r=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){a(t);for(var n,o=r(e),s=o.length,l=0;s>l;)i.f(t,n=o[l++],e[n]);return t}},"214f":function(t,e,n){"use strict";n("b0c5");var i=n("2aba"),a=n("32e9"),r=n("79e5"),o=n("be13"),s=n("2b4c"),l=n("520a"),c=s("species"),d=!r((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),u=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var p=s(t),h=!r((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),f=h?!r((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[c]=function(){return n}),n[p](""),!e})):void 0;if(!h||!f||"replace"===t&&!d||"split"===t&&!u){var A=/./[p],m=n(o,p,""[t],(function(t,e,n,i,a){return e.exec===l?h&&!a?{done:!0,value:A.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}})),g=m[0],v=m[1];i(String.prototype,t,g),a(RegExp.prototype,p,2==e?function(t,e){return v.call(t,this,e)}:function(t){return v.call(t,this)})}}},"230e":function(t,e,n){var i=n("d3f4"),a=n("7726").document,r=i(a)&&i(a.createElement);t.exports=function(t){return r?a.createElement(t):{}}},"23c6":function(t,e,n){var i=n("2d95"),a=n("2b4c")("toStringTag"),r="Arguments"==i(function(){return arguments}());t.exports=function(t){var e,n,o;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),a))?n:r?i(e):"Object"==(o=i(e))&&"function"==typeof e.callee?"Arguments":o}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"2aba":function(t,e,n){var i=n("7726"),a=n("32e9"),r=n("69a8"),o=n("ca5a")("src"),s=n("fa5b"),l="toString",c=(""+s).split(l);n("8378").inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var l="function"==typeof n;l&&(r(n,"name")||a(n,"name",e)),t[e]!==n&&(l&&(r(n,o)||a(n,o,t[e]?""+t[e]:c.join(String(e)))),t===i?t[e]=n:s?t[e]?t[e]=n:a(t,e,n):(delete t[e],a(t,e,n)))})(Function.prototype,l,(function(){return"function"==typeof this&&this[o]||s.call(this)}))},"2aeb":function(t,e,n){var i=n("cb7c"),a=n("1495"),r=n("e11e"),o=n("613b")("IE_PROTO"),s=function(){},l="prototype",c=function(){var t,e=n("230e")("iframe"),i=r.length;for(e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;i--;)delete c[l][r[i]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[l]=i(t),n=new s,s[l]=null,n[o]=t):n=c(),void 0===e?n:a(n,e)}},"2b4c":function(t,e,n){var i=n("5537")("wks"),a=n("ca5a"),r=n("7726").Symbol,o="function"==typeof r;(t.exports=function(t){return i[t]||(i[t]=o&&r[t]||(o?r:a)("Symbol."+t))}).store=i},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2fdb":function(t,e,n){"use strict";var i=n("5ca1"),a=n("d2c8"),r="includes";i(i.P+i.F*n("5147")(r),"String",{includes:function(t){return!!~a(this,t,r).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(t,e,n){var i=n("86cc"),a=n("4630");t.exports=n("9e1e")?function(t,e,n){return i.f(t,e,a(1,n))}:function(t,e,n){return t[e]=n,t}},"38fd":function(t,e,n){var i=n("69a8"),a=n("4bf8"),r=n("613b")("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=a(t),i(t,r)?t[r]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},"41a0":function(t,e,n){"use strict";var i=n("2aeb"),a=n("4630"),r=n("7f20"),o={};n("32e9")(o,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=i(o,{next:a(1,n)}),r(t,e+" Iterator")}},"456d":function(t,e,n){var i=n("4bf8"),a=n("0d58");n("5eda")("keys",(function(){return function(t){return a(i(t))}}))},4588:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"4bf8":function(t,e,n){var i=n("be13");t.exports=function(t){return Object(i(t))}},5147:function(t,e,n){var i=n("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,!"/./"[t](e)}catch(t){}}return!0}},"520a":function(t,e,n){"use strict";var i,a,r=n("0bfb"),o=RegExp.prototype.exec,s=String.prototype.replace,l=o,c="lastIndex",d=(i=/a/,a=/b*/g,o.call(i,"a"),o.call(a,"a"),0!==i[c]||0!==a[c]),u=void 0!==/()??/.exec("")[1];(d||u)&&(l=function(t){var e,n,i,a,l=this;return u&&(n=new RegExp("^"+l.source+"$(?!\\s)",r.call(l))),d&&(e=l[c]),i=o.call(l,t),d&&i&&(l[c]=l.global?i.index+i[0].length:e),u&&i&&i.length>1&&s.call(i[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i}),t.exports=l},"52a7":function(t,e){e.f={}.propertyIsEnumerable},5537:function(t,e,n){var i=n("8378"),a=n("7726"),r="__core-js_shared__",o=a[r]||(a[r]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(t,e,n){var i=n("7726"),a=n("8378"),r=n("32e9"),o=n("2aba"),s=n("9b43"),l="prototype",c=function(t,e,n){var d,u,p,h,f=t&c.F,A=t&c.G,m=t&c.S,g=t&c.P,v=t&c.B,b=A?i:m?i[e]||(i[e]={}):(i[e]||{})[l],y=A?a:a[e]||(a[e]={}),C=y[l]||(y[l]={});for(d in A&&(n=e),n)p=((u=!f&&b&&void 0!==b[d])?b:n)[d],h=v&&u?s(p,i):g&&"function"==typeof p?s(Function.call,p):p,b&&o(b,d,p,t&c.U),y[d]!=p&&r(y,d,h),g&&C[d]!=p&&(C[d]=p)};i.core=a,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},"5eda":function(t,e,n){var i=n("5ca1"),a=n("8378"),r=n("79e5");t.exports=function(t,e){var n=(a.Object||{})[t]||Object[t],o={};o[t]=e(n),i(i.S+i.F*r((function(){n(1)})),"Object",o)}},"5f1b":function(t,e,n){"use strict";var i=n("23c6"),a=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw new TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==i(t))throw new TypeError("RegExp#exec called on incompatible receiver");return a.call(t,e)}},"613b":function(t,e,n){var i=n("5537")("keys"),a=n("ca5a");t.exports=function(t){return i[t]||(i[t]=a(t))}},"626a":function(t,e,n){var i=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},6762:function(t,e,n){"use strict";var i=n("5ca1"),a=n("c366")(!0);i(i.P,"Array",{includes:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},6821:function(t,e,n){var i=n("626a"),a=n("be13");t.exports=function(t){return i(a(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var i=n("d3f4");t.exports=function(t,e){if(!i(t))return t;var n,a;if(e&&"function"==typeof(n=t.toString)&&!i(a=n.call(t)))return a;if("function"==typeof(n=t.valueOf)&&!i(a=n.call(t)))return a;if(!e&&"function"==typeof(n=t.toString)&&!i(a=n.call(t)))return a;throw TypeError("Can't convert object to primitive value")}},7333:function(t,e,n){"use strict";var i=n("0d58"),a=n("2621"),r=n("52a7"),o=n("4bf8"),s=n("626a"),l=Object.assign;t.exports=!l||n("79e5")((function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=i}))?function(t,e){for(var n=o(t),l=arguments.length,c=1,d=a.f,u=r.f;l>c;)for(var p,h=s(arguments[c++]),f=d?i(h).concat(d(h)):i(h),A=f.length,m=0;A>m;)u.call(h,p=f[m++])&&(n[p]=h[p]);return n}:l},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var i=n("4588"),a=Math.max,r=Math.min;t.exports=function(t,e){return(t=i(t))<0?a(t+e,0):r(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"7f20":function(t,e,n){var i=n("86cc").f,a=n("69a8"),r=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!a(t=n?t:t.prototype,r)&&i(t,r,{configurable:!0,value:e})}},8378:function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"84f2":function(t,e){t.exports={}},"86cc":function(t,e,n){var i=n("cb7c"),a=n("c69a"),r=n("6a99"),o=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(i(t),e=r(e,!0),i(n),a)try{return o(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"9b43":function(t,e,n){var i=n("d8e8");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,a){return t.call(e,n,i,a)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var i=n("2b4c")("unscopables"),a=Array.prototype;null==a[i]&&n("32e9")(a,i,{}),t.exports=function(t){a[i][t]=!0}},"9def":function(t,e,n){var i=n("4588"),a=Math.min;t.exports=function(t){return t>0?a(i(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a352:function(e,n){e.exports=t},a481:function(t,e,n){"use strict";var i=n("cb7c"),a=n("4bf8"),r=n("9def"),o=n("4588"),s=n("0390"),l=n("5f1b"),c=Math.max,d=Math.min,u=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;n("214f")("replace",2,(function(t,e,n,f){return[function(i,a){var r=t(this),o=null==i?void 0:i[e];return void 0!==o?o.call(i,r,a):n.call(String(r),i,a)},function(t,e){var a=f(n,t,this,e);if(a.done)return a.value;var u=i(t),p=String(this),h="function"==typeof e;h||(e=String(e));var m=u.global;if(m){var g=u.unicode;u.lastIndex=0}for(var v=[];;){var b=l(u,p);if(null===b)break;if(v.push(b),!m)break;""===String(b[0])&&(u.lastIndex=s(p,r(u.lastIndex),g))}for(var y,C="",x=0,w=0;w<v.length;w++){b=v[w];for(var E=String(b[0]),_=c(d(o(b.index),p.length),0),B=[],k=1;k<b.length;k++)B.push(void 0===(y=b[k])?y:String(y));var S=b.groups;if(h){var T=[E].concat(B,_,p);void 0!==S&&T.push(S);var I=String(e.apply(void 0,T))}else I=A(E,p,_,B,S,e);_>=x&&(C+=p.slice(x,_)+I,x=_+E.length)}return C+p.slice(x)}];function A(t,e,i,r,o,s){var l=i+t.length,c=r.length,d=h;return void 0!==o&&(o=a(o),d=p),n.call(s,d,(function(n,a){var s;switch(a.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,i);case"'":return e.slice(l);case"<":s=o[a.slice(1,-1)];break;default:var d=+a;if(0===d)return n;if(d>c){var p=u(d/10);return 0===p?n:p<=c?void 0===r[p-1]?a.charAt(1):r[p-1]+a.charAt(1):n}s=r[d-1]}return void 0===s?"":s}))}}))},aae3:function(t,e,n){var i=n("d3f4"),a=n("2d95"),r=n("2b4c")("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[r])?!!e:"RegExp"==a(t))}},ac6a:function(t,e,n){for(var i=n("cadf"),a=n("0d58"),r=n("2aba"),o=n("7726"),s=n("32e9"),l=n("84f2"),c=n("2b4c"),d=c("iterator"),u=c("toStringTag"),p=l.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},f=a(h),A=0;A<f.length;A++){var m,g=f[A],v=h[g],b=o[g],y=b&&b.prototype;if(y&&(y[d]||s(y,d,p),y[u]||s(y,u,g),l[g]=p,v))for(m in i)y[m]||r(y,m,i[m],!0)}},b0c5:function(t,e,n){"use strict";var i=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},be13:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},c366:function(t,e,n){var i=n("6821"),a=n("9def"),r=n("77f1");t.exports=function(t){return function(e,n,o){var s,l=i(e),c=a(l.length),d=r(o,c);if(t&&n!=n){for(;c>d;)if((s=l[d++])!=s)return!0}else for(;c>d;d++)if((t||d in l)&&l[d]===n)return t||d||0;return!t&&-1}}},c649:function(t,e,n){"use strict";(function(t){n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return r})),n.d(e,"d",(function(){return l})),n("a481");var i,a,r="undefined"!=typeof window?window.console:t.console,o=/-(\w)/g,s=(i=function(t){return t.replace(o,(function(t,e){return e?e.toUpperCase():""}))},a=Object.create(null),function(t){return a[t]||(a[t]=i(t))});function l(t){null!==t.parentElement&&t.parentElement.removeChild(t)}function c(t,e,n){var i=0===n?t.children[0]:t.children[n-1].nextSibling;t.insertBefore(e,i)}}).call(this,n("c8ba"))},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},ca5a:function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},cadf:function(t,e,n){"use strict";var i=n("9c6c"),a=n("d53b"),r=n("84f2"),o=n("6821");t.exports=n("01f9")(Array,"Array",(function(t,e){this._t=o(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,a(1)):a(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},cb7c:function(t,e,n){var i=n("d3f4");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},ce10:function(t,e,n){var i=n("69a8"),a=n("6821"),r=n("c366")(!1),o=n("613b")("IE_PROTO");t.exports=function(t,e){var n,s=a(t),l=0,c=[];for(n in s)n!=o&&i(s,n)&&c.push(n);for(;e.length>l;)i(s,n=e[l++])&&(~r(c,n)||c.push(n));return c}},d2c8:function(t,e,n){var i=n("aae3"),a=n("be13");t.exports=function(t,e,n){if(i(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(a(t))}},d3f4:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},f559:function(t,e,n){"use strict";var i=n("5ca1"),a=n("9def"),r=n("d2c8"),o="startsWith",s=""[o];i(i.P+i.F*n("5147")(o),"String",{startsWith:function(t){var e=r(this,t,o),n=a(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),i=String(t);return s?s.call(e,i,n):e.slice(n,n+i.length)===i}})},f6fd:function(t,e){!function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(i){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})}(document)},f751:function(t,e,n){var i=n("5ca1");i(i.S+i.F,"Object",{assign:n("7333")})},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,n){var i=n("7726").document;t.exports=i&&i.documentElement},fb15:function(t,e,n){"use strict";var i;function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function r(t,e){if(t){if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}function o(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||r(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.r(e),"undefined"!=typeof window&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1])),n("f751"),n("f559"),n("ac6a"),n("cadf"),n("456d"),n("6762"),n("2fdb");var s=n("a352"),l=n.n(s),c=n("c649");function d(t,e){var n=this;this.$nextTick((function(){return n.$emit(t.toLowerCase(),e)}))}function u(t){var e=this;return function(n){null!==e.realList&&e["onDrag"+t](n),d.call(e,t,n)}}function p(t){return["transition-group","TransitionGroup"].includes(t)}function h(t,e,n){return t[n]||(e[n]?e[n]():void 0)}var f=["Start","Add","Remove","Update","End"],A=["Choose","Unchoose","Sort","Filter","Clone"],m=["Move"].concat(f,A).map((function(t){return"on"+t})),g=null,v={name:"draggable",inheritAttrs:!1,props:{options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(t){return t}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1}},render:function(t){var e=this.$slots.default;this.transitionMode=function(t){if(!t||1!==t.length)return!1;var e,n,i=(e=t,n=1,function(t){if(Array.isArray(t))return t}(e)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],i=!0,a=!1,r=void 0;try{for(var o,s=t[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!e||n.length!==e);i=!0);}catch(t){a=!0,r=t}finally{try{i||null==s.return||s.return()}finally{if(a)throw r}}return n}}(e,n)||r(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0].componentOptions;return!!i&&p(i.tag)}(e);var n=function(t,e,n){var i=0,a=0,r=h(e,n,"header");r&&(i=r.length,t=t?[].concat(o(r),o(t)):o(r));var s=h(e,n,"footer");return s&&(a=s.length,t=t?[].concat(o(t),o(s)):o(s)),{children:t,headerOffset:i,footerOffset:a}}(e,this.$slots,this.$scopedSlots),i=n.children,a=n.headerOffset,s=n.footerOffset;this.headerOffset=a,this.footerOffset=s;var l=function(t,e){var n=null,i=function(t,e){n=function(t,e,n){return void 0===n||((t=t||{})[e]=n),t}(n,t,e)};if(i("attrs",Object.keys(t).filter((function(t){return"id"===t||t.startsWith("data-")})).reduce((function(e,n){return e[n]=t[n],e}),{})),!e)return n;var a=e.on,r=e.props,o=e.attrs;return i("on",a),i("props",r),Object.assign(n.attrs,o),n}(this.$attrs,this.componentData);return t(this.getTag(),l,i)},created:function(){null!==this.list&&null!==this.value&&c.b.error("Value and list props are mutually exclusive! Please set one or another."),"div"!==this.element&&c.b.warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),void 0!==this.options&&c.b.warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var t=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase()&&!this.getIsFunctional(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var e={};f.forEach((function(n){e["on"+n]=u.call(t,n)})),A.forEach((function(n){e["on"+n]=d.bind(t,n)}));var n=Object.keys(this.$attrs).reduce((function(e,n){return e[Object(c.a)(n)]=t.$attrs[n],e}),{}),i=Object.assign({},this.options,n,e,{onMove:function(e,n){return t.onDragMove(e,n)}});!("draggable"in i)&&(i.draggable=">*"),this._sortable=new l.a(this.rootContainer,i),this.computeIndexes()},beforeDestroy:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(t){this.updateOptions(t)},deep:!0},$attrs:{handler:function(t){this.updateOptions(t)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getIsFunctional:function(){var t=this._vnode.fnOptions;return t&&t.functional},getTag:function(){return this.tag||this.element},updateOptions:function(t){for(var e in t){var n=Object(c.a)(e);-1===m.indexOf(n)&&this._sortable.option(n,t[e])}},getChildrenNodes:function(){if(this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var t=this.$slots.default;return this.transitionMode?t[0].child.$slots.default:t},computeIndexes:function(){var t=this;this.$nextTick((function(){t.visibleIndexes=function(t,e,n,i){if(!t)return[];var a=t.map((function(t){return t.elm})),r=e.length-i,s=o(e).map((function(t,e){return e>=r?a.length:a.indexOf(t)}));return n?s.filter((function(t){return-1!==t})):s}(t.getChildrenNodes(),t.rootContainer.children,t.transitionMode,t.footerOffset)}))},getUnderlyingVm:function(t){var e,n,i=(e=this.getChildrenNodes()||[],n=t,e.map((function(t){return t.elm})).indexOf(n));return-1===i?null:{index:i,element:this.realList[i]}},getUnderlyingPotencialDraggableComponent:function(t){var e=t.__vue__;return e&&e.$options&&p(e.$options._componentTag)?e.$parent:!("realList"in e)&&1===e.$children.length&&"realList"in e.$children[0]?e.$children[0]:e},emitChanges:function(t){var e=this;this.$nextTick((function(){e.$emit("change",t)}))},alterList:function(t){if(this.list)t(this.list);else{var e=o(this.value);t(e),this.$emit("input",e)}},spliceList:function(){var t=arguments;this.alterList((function(e){return e.splice.apply(e,o(t))}))},updatePosition:function(t,e){this.alterList((function(n){return n.splice(e,0,n.splice(t,1)[0])}))},getRelatedContextFromMoveEvent:function(t){var e=t.to,n=t.related,i=this.getUnderlyingPotencialDraggableComponent(e);if(!i)return{component:i};var a=i.realList,r={list:a,component:i};if(e!==n&&a&&i.getUnderlyingVm){var o=i.getUnderlyingVm(n);if(o)return Object.assign(o,r)}return r},getVmIndex:function(t){var e=this.visibleIndexes,n=e.length;return t>n-1?n:e[t]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(t){if(this.noTransitionOnDrag&&this.transitionMode){this.getChildrenNodes()[t].data=null;var e=this.getComponent();e.children=[],e.kept=void 0}},onDragStart:function(t){this.context=this.getUnderlyingVm(t.item),t.item._underlying_vm_=this.clone(this.context.element),g=t.item},onDragAdd:function(t){var e=t.item._underlying_vm_;if(void 0!==e){Object(c.d)(t.item);var n=this.getVmIndex(t.newIndex);this.spliceList(n,0,e),this.computeIndexes();var i={element:e,newIndex:n};this.emitChanges({added:i})}},onDragRemove:function(t){if(Object(c.c)(this.rootContainer,t.item,t.oldIndex),"clone"!==t.pullMode){var e=this.context.index;this.spliceList(e,1);var n={element:this.context.element,oldIndex:e};this.resetTransitionData(e),this.emitChanges({removed:n})}else Object(c.d)(t.clone)},onDragUpdate:function(t){Object(c.d)(t.item),Object(c.c)(t.from,t.item,t.oldIndex);var e=this.context.index,n=this.getVmIndex(t.newIndex);this.updatePosition(e,n);var i={element:this.context.element,oldIndex:e,newIndex:n};this.emitChanges({moved:i})},updateProperty:function(t,e){t.hasOwnProperty(e)&&(t[e]+=this.headerOffset)},computeFutureIndex:function(t,e){if(!t.element)return 0;var n=o(e.to.children).filter((function(t){return"none"!==t.style.display})),i=n.indexOf(e.related),a=t.component.getVmIndex(i);return-1===n.indexOf(g)&&e.willInsertAfter?a+1:a},onDragMove:function(t,e){var n=this.move;if(!n||!this.realList)return!0;var i=this.getRelatedContextFromMoveEvent(t),a=this.context,r=this.computeFutureIndex(i,t);return Object.assign(a,{futureIndex:r}),n(Object.assign({},t,{relatedContext:i,draggedContext:a}),e)},onDragEnd:function(){this.computeIndexes(),g=null}}};"undefined"!=typeof window&&"Vue"in window&&window.Vue.component("draggable",v);var b=v;e.default=b}}).default},t.exports=i(n(31715))},42761:t=>{"use strict";t.exports="data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTS00LTRoMjR2MjRILTRWLTR6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhzMy42IDggOCA4IDgtMy42IDgtOC0zLjYtOC04LTh6IiBmaWxsPSIjZWQ0ODRjIi8+PHBhdGggZD0iTTUgNi41aDZjLjggMCAxLjUuNyAxLjUgMS41cy0uNyAxLjUtMS41IDEuNUg1Yy0uOCAwLTEuNS0uNy0xLjUtMS41UzQuMiA2LjUgNSA2LjV6IiBmaWxsPSIjZmRmZmZmIi8+PC9zdmc+Cg=="},87210:t=>{"use strict";t.exports="data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTQuOCAxMS4yaDYuNFY0LjhINC44djYuNHpNOCAwQzMuNiAwIDAgMy42IDAgOHMzLjYgOCA4IDggOC0zLjYgOC04LTMuNi04LTgtOHoiIGZpbGw9IiM0OWIzODIiLz48L3N2Zz4K"},94659:t=>{"use strict";t.exports="data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTS00LTRoMjR2MjRILTR6Ii8+PHBhdGggZD0iTTYuOS4xQzMgLjYtLjEgNC0uMSA4YzAgNC40IDMuNiA4IDggOCA0IDAgNy40LTMgOC02LjktMS4yIDEuMy0yLjkgMi4xLTQuNyAyLjEtMy41IDAtNi40LTIuOS02LjQtNi40IDAtMS45LjgtMy42IDIuMS00Ljd6IiBmaWxsPSIjZjRhMzMxIi8+PC9zdmc+Cg=="},39896:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTE1LjQgMTYuNkwxMC44IDEybDQuNi00LjZMMTQgNmwtNiA2IDYgNiAxLjQtMS40eiIvPjwvc3ZnPg=="},76899:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTE4LjQgNy40TDE3IDZsLTYgNiA2IDYgMS40LTEuNC00LjYtNC42IDQuNi00LjZtLTYgMEwxMSA2bC02IDYgNiA2IDEuNC0xLjRMNy44IDEybDQuNi00LjZ6Ii8+PC9zdmc+"},88931:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTUuNiA3LjRMNyA2bDYgNi02IDYtMS40LTEuNCA0LjYtNC42LTQuNi00LjZtNiAwTDEzIDZsNiA2LTYgNi0xLjQtMS40IDQuNi00LjYtNC42LTQuNnoiLz48L3N2Zz4="},16556:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTguNiAxNi42bDQuNi00LjYtNC42LTQuNkwxMCA2bDYgNi02IDYtMS40LTEuNHoiLz48L3N2Zz4="}},i={};function a(t){var e=i[t];if(void 0!==e)return e.exports;var r=i[t]={id:t,loaded:!1,exports:{}};return n[t].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=n,e=[],a.O=(t,n,i,r)=>{if(!n){var o=1/0;for(d=0;d<e.length;d++){n=e[d][0],i=e[d][1],r=e[d][2];for(var s=!0,l=0;l<n.length;l++)(!1&r||o>=r)&&Object.keys(a.O).every((t=>a.O[t](n[l])))?n.splice(l--,1):(s=!1,r<o&&(o=r));if(s){e.splice(d--,1);var c=i();void 0!==c&&(t=c)}}return t}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[n,i,r]},a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var n in e)a.o(e,n)&&!a.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},a.e=()=>Promise.resolve(),a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),a.j=4773,(()=>{a.b=document.baseURI||self.location.href;var t={4773:0};a.O.j=e=>0===t[e];var e=(e,n)=>{var i,r,o=n[0],s=n[1],l=n[2],c=0;if(o.some((e=>0!==t[e]))){for(i in s)a.o(s,i)&&(a.m[i]=s[i]);if(l)var d=l(a)}for(e&&e(n);c<o.length;c++)r=o[c],a.o(t,r)&&t[r]&&t[r][0](),t[r]=0;return a.O(d)},n=self.webpackChunknextcloud=self.webpackChunknextcloud||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))})(),a.nc=void 0;var r=a.O(void 0,[7874],(()=>a(88214)));r=a.O(r)})();
+//# sourceMappingURL=dashboard-main.js.map?v=d2e27739aa4e8a7f3aa4 \ No newline at end of file