(()=>{var e,n={20092:(e,n,a)=>{"use strict";var o=a(21777),i=a(53334),r=a(94849),s=a(85471),l=a(63814),c=a(32981),d=a(65043),u=a(70995),p=a(432),h=a.n(p),f=a(46015),g=a(39853),v=a(2413);const m={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}};a(12535);var b=a(18503),A=a(94847),y=a(75625),C=a(14681),x=a(10435),w=a(69321),S=a(30339),_=a(573),k=a(32619),D=a(15502),E=a(73010),O=a(276),I=a(97839),N=a(47611),T=a(10363),M=a(3167),P=a(89332),B=a(25535),j=a(48637),L=a(27345),W=a(41907),F=a(2216),R=a(42115),$=a(90650),U=a(542),G=a(44346),H=a(14727),X=a(54859),z=a(18608),V=a(26359),Y=a(65714),K=a(93191),q=a(34065),Q=a(72350),J=a(86297),Z=a(41264),tt=a(29302),et=a(75929),nt=a(75334),at=a(95291),ot=a(8216),it=a(15828),rt=a(78349),st=a(24801),lt=a(25521),ct=a(59045),dt=a(28326),ut=a(94427),pt=a(85087),ht=a(65027),ft=a(26517),gt=a(14490),vt=a(87146),mt=a(6880),bt=a(13100),At=a(59892),yt=a(40083),Ct=a(3942),xt=a(8385),wt=a(74484),St=a(39822),_t=a(23982),kt=a(27207),Dt=a(41946),Et=(a(73933),a(43562),a(71144)),Ot=a(22297),It=(a(61338),a(94632)),Nt=a(67422),Tt=a(79587),Mt=a(39899),Pt=a(64202),Bt=a(20863),jt=a(27157),Lt=a(51437),Wt=a(23610),Ft=(a(23020),a(53429),a(94205),a(95462),a(16343),a(29928),a(99646),a(42892)),Rt=a(65842),$t=(a(75105),a(92471),a(16406),a(2508));b.A,A.N,y.A,C.N,x.N,w.A,S.N,_.A,D.A,E.A,O.N,k.N,I.N,N.A,T.A,M.N,P.N,B.A,j.N,L.A,W.A,F.N,R.N,$.N,U.A,G.N,H.A,X.N,z.A,kt.N,V.N,Y.N,K.N,u.A,q.N,Q.N,J.N,Z.N,tt.N,et.N,nt.N,at.N,ot.A,it.A,rt.N,st.N,lt.A,ct.N,dt.A,ut.A,pt.A,ht.N,ft.N,gt.N,vt.N,mt.N,bt.N,At.A,_t.N,f.A,yt.A,Ct.N,xt.N,wt.N,St.N,kt.a,Dt.N,It.N,Et.N,Nt.N,Tt.N,Mt.N,Pt.N,Bt.N,Ot.N,jt.N,Lt.N,g.N,Wt.A,Symbol.toStringTag,Ft.u,Rt.u,$t.yw,Symbol.toStringTag;var Ut=a(54373);const Gt={name:"ApiDashboardWidget",components:{NcAvatar:V.N,NcDashboardWidget:et.N,NcDashboardWidgetItem:nt.N,NcEmptyContent:dt.A,NcButton:u.A,CheckIcon:Ut.A},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 Ht=a(14486);const Xt=(0,Ht.A)(Gt,(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:a}=n;return[e("NcDashboardWidgetItem",{attrs:{"target-url":a.link,"overlay-icon-url":a.overlayIconUrl?a.overlayIconUrl:"","main-text":a.title,"sub-text":a.subtitle},scopedSlots:t._u([{key:"avatar",fn:function(){return[a.iconUrl?[e("NcAvatar",{attrs:{size:44,url:a.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,"5de638ed",null).exports,zt=(0,c.C)("dashboard","panels"),Vt=(0,c.C)("dashboard","firstRun"),Yt={weather:{text:t("dashboard","Weather"),icon:"icon-weather-status"},status:{text:t("dashboard","Status")}},Kt={name:"DashboardApp",components:{ApiDashboardWidget:Xt,NcButton:u.A,Draggable:h(),NcModal:f.A,Pencil:v.A,NcUserStatusIcon:g.N},mixins:[m],data:()=>({isAdmin:(0,o.HW)().isAdmin,timer:new Date,registeredStatus:[],callbacks:{},callbacksStatus:{},allCallbacksStatus:{},statusInfo:Yt,enabledStatuses:(0,c.C)("dashboard","statuses"),panels:zt,firstRun:Vt,displayName:(0,o.HW)()?.displayName,uid:(0,o.HW)()?.uid,layout:(0,c.C)("dashboard","layout").filter((t=>zt[t])),modal:!1,appStoreUrl:(0,l.Jv)("/settings/apps/dashboard"),appStoreEnabled:(0,c.C)("dashboard","appStoreEnabled",!0),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 a={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?a[n].withName:a[n].generic}},isActive(){return t=>this.layout.indexOf(t.id)>-1},isStatusActive(){return t=>-1!==this.enabledStatuses.findIndex((e=>e===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),a=this.layout.indexOf(e.id);return-1===n||-1===a?a-n||t.id-e.id:n-a||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]),s.Ay.set(this.statuses,t,{mounted:!0})):console.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){s.Ay.set(this.callbacks,t,e)},registerStatus(t,e){s.Ay.set(this.allCallbacksStatus,t,e),this.isStatusActive(t)&&(this.registeredStatus.push(t),this.$nextTick((()=>{s.Ay.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]}),s.Ay.set(this.panels[t],"mounted",!0)):console.error("Failed to register panel in the frontend as no backend data was provided for "+t)))}},saveLayout(){d.Ay.post((0,l.KT)("/apps/dashboard/api/v3/layout"),{layout:this.layout})},saveStatuses(){d.Ay.post((0,l.KT)("/apps/dashboard/api/v3/statuses"),{statuses: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),s.Ay.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.push(t),this.registerStatus(t,this.allCallbacksStatus[t]),this.saveStatuses()},disableStatus(t){const e=this.enabledStatuses.findIndex((e=>e===t));-1!==e&&this.enabledStatuses.splice(e,1);const n=this.registeredStatus.findIndex((e=>e===t));-1!==n&&(this.registeredStatus.splice(n,1),s.Ay.set(this.statuses,t,{mounted:!1}),this.$nextTick((()=>{s.Ay.delete(this.callbacksStatus,t)}))),this.saveStatuses()},sortStatuses(t,e){const n=t.toLowerCase(),a=e.toLowerCase();return n>a?1:n70?document.body.classList.add("dashboard--scrolled"):document.body.classList.remove("dashboard--scrolled")},async fetchApiWidgets(){const t=await d.Ay.get((0,l.KT)("/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,l.KT)("/apps/dashboard/api/v2/widget-items"),a=new URLSearchParams(t.map((t=>["widgets[]",t]))),o=(await d.Ay.get(`${n}?${a.toString()}`)).data.ocs.data;this.apiWidgetItems=e?Object.assign({},this.apiWidgetItems,o):o}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}}};var qt=a(85072),Qt=a.n(qt),Jt=a(97825),Zt=a.n(Jt),te=a(77659),ee=a.n(te),ne=a(55056),ae=a.n(ne),oe=a(10540),ie=a.n(oe),re=a(41113),se=a.n(re),le=a(34013),ce={};ce.styleTagTransform=se(),ce.setAttributes=ae(),ce.insert=ee().bind(null,"head"),ce.domAPI=Zt(),ce.insertStyleElement=ie(),Qt()(le.A,ce),le.A&&le.A.locals&&le.A.locals;var de=a(75610),ue={};ue.styleTagTransform=se(),ue.setAttributes=ae(),ue.insert=ee().bind(null,"head"),ue.domAPI=Zt(),ue.insertStyleElement=ie(),Qt()(de.A,ue),de.A&&de.A.locals&&de.A.locals;const pe=(0,Ht.A)(Kt,(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",[t.apiWidgets[t.panels[n].id].icon_url?e("img",{attrs:{alt:t.apiWidgets[t.panels[n].id].title+" icon",src:t.apiWidgets[t.panels[n].id].icon_url,"aria-hidden":"true"}}):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("h2",[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}},["status"===n?e("NcUserStatusIcon",{attrs:{status:"online","aria-hidden":"true"}}):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")],1)])})),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}},[n.iconUrl?e("img",{attrs:{alt:n.title+" icon",src:n.iconUrl,"aria-hidden":"true"}}):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&&t.appStoreEnabled?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("h2",[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,"2b7874c0",null).exports;a.nc=(0,o.aV)(),s.Ay.directive("Tooltip",r.A),s.Ay.prototype.t=i.Tl;const he=new(s.Ay.extend(pe))({}).$mount("#app-content-vue");window.OCA.Dashboard={register:(t,e)=>he.register(t,e),registerStatus:(t,e)=>he.registerStatus(t,e)}},34013:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var a=n(71354),o=n.n(a),i=n(76314),r=n.n(i)()(o());r.push([t.id,"#app-dashboard[data-v-2b7874c0]{width:100%;min-height:100%;background-size:cover;background-position:center center;background-repeat:no-repeat;background-attachment:fixed}#app-dashboard>h2[data-v-2b7874c0]{color:var(--color-background-plain-text);text-align:center;font-size:32px;line-height:130%;padding:1rem 0}.panels[data-v-2b7874c0]{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-2b7874c0],.panels>div[data-v-2b7874c0]{--color-text-maxcontrast: var(--color-text-maxcontrast-background-blur, var(--color-main-text));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-container-large)}#body-user.theme--highcontrast .panel[data-v-2b7874c0],#body-user.theme--highcontrast .panels>div[data-v-2b7874c0]{border:2px solid var(--color-border)}.panel.sortable-ghost[data-v-2b7874c0],.panels>div.sortable-ghost[data-v-2b7874c0]{opacity:.1}.panel>.panel--header[data-v-2b7874c0],.panels>div>.panel--header[data-v-2b7874c0]{display:flex;z-index:1;top:50px;padding:16px;cursor:grab}.panel>.panel--header[data-v-2b7874c0],.panel>.panel--header[data-v-2b7874c0] *,.panels>div>.panel--header[data-v-2b7874c0],.panels>div>.panel--header[data-v-2b7874c0] *{-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-2b7874c0]:active,.panels>div>.panel--header[data-v-2b7874c0]:active{cursor:grabbing}.panel>.panel--header a[data-v-2b7874c0],.panels>div>.panel--header a[data-v-2b7874c0]{flex-grow:1}.panel>.panel--header>h2[data-v-2b7874c0],.panels>div>.panel--header>h2[data-v-2b7874c0]{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 img[data-v-2b7874c0],.panel>.panel--header>h2 span[data-v-2b7874c0],.panels>div>.panel--header>h2 img[data-v-2b7874c0],.panels>div>.panel--header>h2 span[data-v-2b7874c0]{background-size:32px;width:32px;height:32px;background-position:center;float:left;margin-top:-6px;margin-inline:6px 16px}.panel>.panel--header>h2 img[data-v-2b7874c0],.panels>div>.panel--header>h2 img[data-v-2b7874c0]{filter:var(--background-invert-if-dark)}.panel>.panel--content[data-v-2b7874c0],.panels>div>.panel--content[data-v-2b7874c0]{margin:0 16px 16px 16px;height:424px;overflow:visible}@media only screen and (max-width: 709px){.panel>.panel--content[data-v-2b7874c0],.panels>div>.panel--content[data-v-2b7874c0]{height:auto}}.footer[data-v-2b7874c0]{display:flex;justify-content:center;transition:bottom var(--animation-slow) ease-in-out;padding:1rem 0}.edit-panels[data-v-2b7874c0]{display:inline-block;margin:auto;background-position:16px center;padding:12px 16px;padding-inline-start:36px;border-radius:var(--border-radius-pill);max-width:200px;opacity:1;text-align:center}.button[data-v-2b7874c0],.button-vue[data-v-2b7874c0],.edit-panels[data-v-2b7874c0],.statuses[data-v-2b7874c0] .action-item .action-item__menutoggle,.statuses[data-v-2b7874c0] .action-item.action-item--open .action-item__menutoggle{--color-text-maxcontrast: var(--color-text-maxcontrast-background-blur, var(--color-main-text));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-2b7874c0]:hover,.button[data-v-2b7874c0]:focus,.button[data-v-2b7874c0]:active,.button-vue[data-v-2b7874c0]:hover,.button-vue[data-v-2b7874c0]:focus,.button-vue[data-v-2b7874c0]:active,.edit-panels[data-v-2b7874c0]:hover,.edit-panels[data-v-2b7874c0]:focus,.edit-panels[data-v-2b7874c0]:active,.statuses[data-v-2b7874c0] .action-item .action-item__menutoggle:hover,.statuses[data-v-2b7874c0] .action-item .action-item__menutoggle:focus,.statuses[data-v-2b7874c0] .action-item .action-item__menutoggle:active,.statuses[data-v-2b7874c0] .action-item.action-item--open .action-item__menutoggle:hover,.statuses[data-v-2b7874c0] .action-item.action-item--open .action-item__menutoggle:focus,.statuses[data-v-2b7874c0] .action-item.action-item--open .action-item__menutoggle:active{background-color:var(--color-background-hover) !important}.button[data-v-2b7874c0]:focus-visible,.button-vue[data-v-2b7874c0]:focus-visible,.edit-panels[data-v-2b7874c0]:focus-visible,.statuses[data-v-2b7874c0] .action-item .action-item__menutoggle:focus-visible,.statuses[data-v-2b7874c0] .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-2b7874c0]{padding:32px 16px;text-align:center}.modal__content ol[data-v-2b7874c0]{display:flex;flex-direction:row;justify-content:center;list-style-type:none;padding-bottom:16px}.modal__content li label[data-v-2b7874c0]{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:start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.modal__content li label img[data-v-2b7874c0],.modal__content li label span[data-v-2b7874c0]{position:absolute;top:16px;width:24px;height:24px;background-size:24px}.modal__content li label img[data-v-2b7874c0]{filter:var(--background-invert-if-dark)}.modal__content li label[data-v-2b7874c0]:hover{border-color:var(--color-primary-element)}.modal__content li:not(.panel-status) label span[data-v-2b7874c0]{filter:var(--background-invert-if-dark)}.modal__content li input[type=checkbox].checkbox+label[data-v-2b7874c0]:before{position:absolute;inset-inline-end:12px;top:16px}.modal__content li input:focus+label[data-v-2b7874c0]{border-color:var(--color-primary-element)}.modal__content h2[data-v-2b7874c0]{font-weight:bold;margin-top:12px}.modal__content .button[data-v-2b7874c0]{display:inline-block;padding:10px 16px;margin:0}.modal__content p[data-v-2b7874c0]{max-width:650px;margin:0 auto}.modal__content p a[data-v-2b7874c0]:hover,.modal__content p a[data-v-2b7874c0]:focus{border-bottom:2px solid var(--color-border)}.modal__content .credits--end[data-v-2b7874c0]{padding-bottom:32px;color:var(--color-text-maxcontrast)}.modal__content .credits--end a[data-v-2b7874c0]{color:var(--color-text-maxcontrast)}.flip-list-move[data-v-2b7874c0]{transition:transform var(--animation-slow)}.statuses[data-v-2b7874c0]{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap;margin-bottom:36px}.statuses>li[data-v-2b7874c0]{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,mCAEC,wCAAA,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,qDAEC,+FAAA,CAEA,WAAA,CACA,cAAA,CACA,WAAA,CACA,kBAAA,CACA,kDAAA,CACA,qDAAA,CACA,6CAAA,CACA,kDAAA,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,CAEA,oMAEC,oBAAA,CACA,UAAA,CACA,WAAA,CACA,0BAAA,CACA,UAAA,CACA,eAAA,CACA,sBAAA,CAGD,iGACC,uCAAA,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,yBAAA,CACA,uCAAA,CACA,eAAA,CACA,SAAA,CACA,iBAAA,CAGD,wOAMC,+FAAA,CAEA,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,gBAAA,CACA,eAAA,CACA,sBAAA,CACA,kBAAA,CAEA,6FAEC,iBAAA,CACA,QAAA,CACA,UAAA,CACA,WAAA,CACA,oBAAA,CAGD,8CACC,uCAAA,CAGD,gDACC,yCAAA,CAKF,kEACC,uCAAA,CAGD,+EACC,iBAAA,CACA,qBAAA,CACA,QAAA,CAGD,sDACC,yCAAA,CAIF,oCACC,gBAAA,CACA,eAAA,CAID,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",sourceRoot:""}]);const s=r},75610:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var a=n(71354),o=n.n(a),i=n(76314),r=n.n(i)()(o());r.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:";AA8uBA;CACA,4BAAA;AACA;AAEA;CACA,eAAA;AACA;AAEA;CACA,cAAA;AACA",sourcesContent:['\x3c!--\n - SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n --\x3e\n\n\n