You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nextcloud/dist/user_status-menu.js

3 lines
20 KiB
JavaScript

/*! For license information please see user_status-menu.js.LICENSE.txt */
(()=>{var s,e,a,r={86419:(s,e,a)=>{"use strict";var r=a(20144),n=a(77958),o=a(69183),u=a(74628),i=a(20296),c=a.n(i),d=a(93664),l=a(79753),m=a(84387),p=a(25108);const g={name:"UserStatus",components:{NcButton:u.Z,SetStatusModal:()=>Promise.all([a.e(7874),a.e(8299)]).then(a.bind(a,21124))},mixins:[m.Z],props:{inline:{type:Boolean,default:!1}},data:()=>({heartbeatInterval:null,isAway:!1,isModalOpen:!1,mouseMoveListener:null,setAwayTimeout:null}),mounted(){this.$store.dispatch("loadStatusFromInitialState"),OC.config.session_keepalive&&(this.heartbeatInterval=setInterval(this._backgroundHeartbeat.bind(this),3e5),this.setAwayTimeout=()=>{this.isAway=!0},this.mouseMoveListener=c()((()=>{const s=this.isAway;this.isAway=!1,clearTimeout(this.setAwayTimeout),setTimeout(this.setAwayTimeout,12e4),s&&this._backgroundHeartbeat()}),2e3,!0),window.addEventListener("mousemove",this.mouseMoveListener,{capture:!0,passive:!0}),this._backgroundHeartbeat()),(0,o.Ld)("user_status:status.updated",this.handleUserStatusUpdated)},beforeDestroy(){window.removeEventListener("mouseMove",this.mouseMoveListener),clearInterval(this.heartbeatInterval),(0,o.r1)("user_status:status.updated",this.handleUserStatusUpdated)},methods:{openModal(){this.isModalOpen=!0},closeModal(){this.isModalOpen=!1},async _backgroundHeartbeat(){try{const s=await(async s=>{const t=(0,l.generateOcsUrl)("apps/user_status/api/v1/heartbeat?format=json");return(await d.Z.put(t,{status:s?"away":"online"})).data.ocs.data})(this.isAway);s?.userId?this.$store.dispatch("setStatusFromHeartbeat",s):await this.$store.dispatch("reFetchStatusFromServer")}catch(s){p.debug("Failed sending heartbeat, got: "+s.response?.status)}},handleUserStatusUpdated(s){OC.getCurrentUser().uid===s.userId&&this.$store.dispatch("setStatusFromObject",{status:s.status,icon:s.icon,message:s.message})}}};var h=a(93379),b=a.n(h),j=a(7795),f=a.n(j),v=a(90569),A=a.n(v),y=a(3565),w=a.n(y),k=a(19216),S=a.n(k),C=a(44589),I=a.n(C),_=a(34882),O={};O.styleTagTransform=I(),O.setAttributes=w(),O.insert=A().bind(null,"head"),O.domAPI=f(),O.insertStyleElement=S(),b()(_.Z,O),_.Z&&_.Z.locals&&_.Z.locals;const M=(0,a(51900).Z)(g,(function(){var s=this,t=s._self._c;return t(s.inline?"div":"li",{tag:"component"},[s.inline?t("NcButton",{attrs:{icon:s.statusIcon},on:{click:function(t){return t.stopPropagation(),s.openModal.apply(null,arguments)}},scopedSlots:s._u([{key:"icon",fn:function(){return[t("span",{staticClass:"user-status-icon",class:s.statusIcon,attrs:{"aria-hidden":"true"}})]},proxy:!0}])},[s._v("\n\t\t"+s._s(s.visibleMessage)+"\n\t")]):t("button",{staticClass:"user-status-menu-item",on:{click:function(t){return t.stopPropagation(),s.openModal.apply(null,arguments)}}},[t("span",{staticClass:"user-status-icon",class:s.statusIcon,attrs:{"aria-hidden":"true"}}),s._v("\n\t\t"+s._s(s.visibleMessage)+"\n\t")]),s._v(" "),s.isModalOpen?t("SetStatusModal",{on:{close:s.closeModal}}):s._e()],1)}),[],!1,null,"798bb70c",null).exports;var x=a(20629);const U={state:{predefinedStatuses:[]},mutations:{addPredefinedStatus(s,t){s.predefinedStatuses=[...s.predefinedStatuses,t]}},getters:{statusesHaveLoaded:s=>s.predefinedStatuses.length>0},actions:{async loadAllPredefinedStatuses(s){let{state:t,commit:e}=s;if(t.predefinedStatuses.length>0)return;const a=await(async()=>{const s=(0,l.generateOcsUrl)("apps/user_status/api/v1/predefined_statuses?format=json");return(await d.Z.get(s)).data.ocs.data})();for(const s of a)e("addPredefinedStatus",s)}}};var z=a(43554),P=a(64039),T=a(80351),F=a.n(T);const D=s=>{if(null===s)return null;const t=(0,P.n)();if("period"===s.type)return t.setSeconds(t.getSeconds()+s.time),Math.floor(t.getTime()/1e3);if("end-of"===s.type)switch(s.time){case"day":case"week":return Number(F()(t).endOf(s.time).format("X"))}return"_time"===s.type?s.time:null},E={state:{status:null,statusIsUserDefined:null,message:null,icon:null,clearAt:null,messageIsPredefined:null,messageId:null},mutations:{setStatus(s,t){let{statusType:e}=t;s.status=e,s.statusIsUserDefined=!0},setPredefinedMessage(s,t){let{messageId:e,clearAt:a,message:r,icon:n}=t;s.messageId=e,s.messageIsPredefined=!0,s.message=r,s.icon=n,s.clearAt=a},setCustomMessage(s,t){let{message:e,icon:a,clearAt:r}=t;s.messageId=null,s.messageIsPredefined=!1,s.message=e,s.icon=a,s.clearAt=r},clearMessage(s){s.messageId=null,s.messageIsPredefined=!1,s.message=null,s.icon=null,s.clearAt=null},loadStatusFromServer(s,t){let{status:e,statusIsUserDefined:a,message:r,icon:n,clearAt:o,messageIsPredefined:u,messageId:i}=t;s.status=e,s.message=r,s.icon=n,void 0!==a&&(s.statusIsUserDefined=a),void 0!==o&&(s.clearAt=o),void 0!==u&&(s.messageIsPredefined=u),void 0!==i&&(s.messageId=i)}},getters:{},actions:{async setStatus(s,t){let{commit:e,state:a}=s,{statusType:r}=t;await(async s=>{const t=(0,l.generateOcsUrl)("apps/user_status/api/v1/user_status/status");await d.Z.put(t,{statusType:s})})(r),e("setStatus",{statusType:r}),(0,o.j8)("user_status:status.updated",{status:a.status,message:a.message,icon:a.icon,clearAt:a.clearAt,userId:(0,n.ts)()?.uid})},async setStatusFromObject(s,t){let{commit:e,state:a}=s;e("loadStatusFromServer",t)},async setPredefinedMessage(s,t){let{commit:e,rootState:a,state:r}=s,{messageId:u,clearAt:i}=t;const c=D(i);await async function(s){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const e=(0,l.generateOcsUrl)("apps/user_status/api/v1/user_status/message/predefined?format=json");await d.Z.put(e,{messageId:s,clearAt:t})}(u,c);const m=a.predefinedStatuses.predefinedStatuses.find((s=>s.id===u)),{message:p,icon:g}=m;e("setPredefinedMessage",{messageId:u,clearAt:c,message:p,icon:g}),(0,o.j8)("user_status:status.updated",{status:r.status,message:r.message,icon:r.icon,clearAt:r.clearAt,userId:(0,n.ts)()?.uid})},async setCustomMessage(s,t){let{commit:e,state:a}=s,{message:r,icon:u,clearAt:i}=t;const c=D(i);await async function(s){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const a=(0,l.generateOcsUrl)("apps/user_status/api/v1/user_status/message/custom?format=json");await d.Z.put(a,{message:s,statusIcon:t,clearAt:e})}(r,u,c),e("setCustomMessage",{message:r,icon:u,clearAt:c}),(0,o.j8)("user_status:status.updated",{status:a.status,message:a.message,icon:a.icon,clearAt:a.clearAt,userId:(0,n.ts)()?.uid})},async clearMessage(s){let{commit:t,state:e}=s;await(async()=>{const s=(0,l.generateOcsUrl)("apps/user_status/api/v1/user_status/message?format=json");await d.Z.delete(s)})(),t("clearMessage"),(0,o.j8)("user_status:status.updated",{status:e.status,message:e.message,icon:e.icon,clearAt:e.clearAt,userId:(0,n.ts)()?.uid})},async reFetchStatusFromServer(s){let{commit:t}=s;t("loadStatusFromServer",await(async()=>{const s=(0,l.generateOcsUrl)("apps/user_status/api/v1/user_status");return(await d.Z.get(s)).data.ocs.data})())},async setStatusFromHeartbeat(s,t){let{commit:e}=s;e("loadStatusFromServer",t)},loadStatusFromInitialState(s){let{commit:t}=s;t("loadStatusFromServer",(0,z.j)("user_status","status"))}}},Z={state:{status:null,statusIsUserDefined:null,message:null,icon:null,clearAt:null,messageIsPredefined:null,messageId:null},mutations:{loadBackupStatusFromServer(s,t){let{status:e,statusIsUserDefined:a,message:r,icon:n,clearAt:o,messageIsPredefined:u,messageId:i}=t;s.status=e,s.message=r,s.icon=n,void 0!==a&&(s.statusIsUserDefined=a),void 0!==o&&(s.clearAt=o),void 0!==u&&(s.messageIsPredefined=u),void 0!==i&&(s.messageId=i)}},getters:{},actions:{async fetchBackupFromServer(s){let{commit:t}=s;try{t("loadBackupStatusFromServer",await(async s=>{const t=(0,l.generateOcsUrl)("apps/user_status/api/v1/statuses/{userId}",{userId:"_"+s});return(await d.Z.get(t)).data.ocs.data})((0,n.ts)()?.uid))}catch(s){}},async revertBackupFromServer(s,t){let{commit:e}=s,{messageId:a}=t;const r=await(async s=>{const t=(0,l.generateOcsUrl)("apps/user_status/api/v1/user_status/revert/{messageId}",{messageId:s});return(await d.Z.delete(t)).data.ocs.data})(a);r&&(e("loadBackupStatusFromServer",{}),e("loadStatusFromServer",r),(0,o.j8)("user_status:status.updated",{status:r.status,message:r.message,icon:r.icon,clearAt:r.clearAt,userId:(0,n.ts)()?.uid}))}}};r.default.use(x.ZP);const $=new x.yh({modules:{predefinedStatuses:U,userStatus:E,userBackupStatus:Z},strict:!0});a.nc=btoa((0,n.IH)()),r.default.prototype.t=t,r.default.prototype.$t=t;const B=()=>{const s=document.getElementById("user_status-menu-entry");new r.default({el:s,render:s=>s(M),store:$})};document.getElementById("user_status-menu-entry")?B():(0,o.Ld)("core:user-menu:mounted",B),document.addEventListener("DOMContentLoaded",(function(){OCA.Dashboard&&OCA.Dashboard.registerStatus("status",(s=>new(r.default.extend(M))({propsData:{inline:!0},store:$}).$mount(s)))}))},84387:(s,t,e)=>{"use strict";e.d(t,{Z:()=>o});var a=e(20629),r=e(64024),n=e(25108);const o={computed:{...(0,a.rn)({statusType:s=>s.userStatus.status,statusIsUserDefined:s=>s.userStatus.statusIsUserDefined,customIcon:s=>s.userStatus.icon,customMessage:s=>s.userStatus.message}),visibleMessage(){if(this.customIcon&&this.customMessage)return`${this.customIcon} ${this.customMessage}`;if(this.customMessage)return this.customMessage;if(this.statusIsUserDefined)switch(this.statusType){case"online":return this.$t("user_status","Online");case"away":case"busy":return this.$t("user_status","Away");case"dnd":return this.$t("user_status","Do not disturb");case"invisible":return this.$t("user_status","Invisible");case"offline":return this.$t("user_status","Offline")}return this.$t("user_status","Set status")},statusIcon(){switch(this.statusType){case"online":return"icon-user-status-online";case"away":case"busy":return"icon-user-status-away";case"dnd":return"icon-user-status-dnd";case"invisible":case"offline":return"icon-user-status-invisible"}return""}},methods:{async changeStatus(s){try{await this.$store.dispatch("setStatus",{statusType:s})}catch(s){(0,r.x2)(this.$t("user_status","There was an error saving the new status")),n.debug(s)}}}}},64039:(s,t,e)=>{"use strict";e.d(t,{n:()=>a});const a=()=>new Date},34882:(s,t,e)=>{"use strict";e.d(t,{Z:()=>u});var a=e(87537),r=e.n(a),n=e(23645),o=e.n(n)()(r());o.push([s.id,".user-status-menu-item[data-v-798bb70c]{width:auto;min-width:44px;height:44px;margin:0;border:0;border-radius:var(--border-radius-pill);background-color:var(--color-main-background-blur);font-size:inherit;font-weight:normal;-webkit-backdrop-filter:var(--background-blur);backdrop-filter:var(--background-blur)}.user-status-menu-item[data-v-798bb70c]:active,.user-status-menu-item[data-v-798bb70c]:hover,.user-status-menu-item[data-v-798bb70c]:focus-visible{background-color:var(--color-background-hover)}.user-status-menu-item[data-v-798bb70c]:focus-visible{box-shadow:0 0 0 4px var(--color-main-background) !important;outline:2px solid var(--color-main-text) !important}.user-status-icon[data-v-798bb70c]{width:16px;height:16px;margin-right:10px;opacity:1 !important;background-size:16px;vertical-align:middle !important}","",{version:3,sources:["webpack://./apps/user_status/src/UserStatus.vue"],names:[],mappings:"AACA,wCACC,UAAA,CACA,cAAA,CACA,WAAA,CACA,QAAA,CACA,QAAA,CACA,uCAAA,CACA,kDAAA,CACA,iBAAA,CACA,kBAAA,CAEA,8CAAA,CACA,sCAAA,CAEA,mJAGC,8CAAA,CAED,sDACC,4DAAA,CACA,mDAAA,CAIF,mCACC,UAAA,CACA,WAAA,CACA,iBAAA,CACA,oBAAA,CACA,oBAAA,CACA,gCAAA",sourcesContent:["\n.user-status-menu-item {\n\twidth: auto;\n\tmin-width: 44px;\n\theight: 44px;\n\tmargin: 0;\n\tborder: 0;\n\tborder-radius: var(--border-radius-pill);\n\tbackground-color: var(--color-main-background-blur);\n\tfont-size: inherit;\n\tfont-weight: normal;\n\n\t-webkit-backdrop-filter: var(--background-blur);\n\tbackdrop-filter: var(--background-blur);\n\n\t&:active,\n\t&:hover,\n\t&:focus-visible {\n\t\tbackground-color: var(--color-background-hover);\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.user-status-icon {\n\twidth: 16px;\n\theight: 16px;\n\tmargin-right: 10px;\n\topacity: 1 !important;\n\tbackground-size: 16px;\n\tvertical-align: middle !important;\n}\n"],sourceRoot:""}]);const u=o},46700:(s,t,e)=>{var a={"./af":42786,"./af.js":42786,"./ar":30867,"./ar-dz":14130,"./ar-dz.js":14130,"./ar-kw":96135,"./ar-kw.js":96135,"./ar-ly":56440,"./ar-ly.js":56440,"./ar-ma":47702,"./ar-ma.js":47702,"./ar-sa":16040,"./ar-sa.js":16040,"./ar-tn":37100,"./ar-tn.js":37100,"./ar.js":30867,"./az":31083,"./az.js":31083,"./be":9808,"./be.js":9808,"./bg":68338,"./bg.js":68338,"./bm":67438,"./bm.js":67438,"./bn":8905,"./bn-bd":76225,"./bn-bd.js":76225,"./bn.js":8905,"./bo":11560,"./bo.js":11560,"./br":1278,"./br.js":1278,"./bs":80622,"./bs.js":80622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":50877,"./cv.js":50877,"./cy":47373,"./cy.js":47373,"./da":24780,"./da.js":24780,"./de":59740,"./de-at":60217,"./de-at.js":60217,"./de-ch":60894,"./de-ch.js":60894,"./de.js":59740,"./dv":5300,"./dv.js":5300,"./el":50837,"./el.js":50837,"./en-au":78348,"./en-au.js":78348,"./en-ca":77925,"./en-ca.js":77925,"./en-gb":22243,"./en-gb.js":22243,"./en-ie":46436,"./en-ie.js":46436,"./en-il":47207,"./en-il.js":47207,"./en-in":44175,"./en-in.js":44175,"./en-nz":76319,"./en-nz.js":76319,"./en-sg":31662,"./en-sg.js":31662,"./eo":92915,"./eo.js":92915,"./es":55655,"./es-do":55251,"./es-do.js":55251,"./es-mx":96112,"./es-mx.js":96112,"./es-us":71146,"./es-us.js":71146,"./es.js":55655,"./et":5603,"./et.js":5603,"./eu":77763,"./eu.js":77763,"./fa":76959,"./fa.js":76959,"./fi":11897,"./fi.js":11897,"./fil":42549,"./fil.js":42549,"./fo":94694,"./fo.js":94694,"./fr":94470,"./fr-ca":63049,"./fr-ca.js":63049,"./fr-ch":52330,"./fr-ch.js":52330,"./fr.js":94470,"./fy":5044,"./fy.js":5044,"./ga":29295,"./ga.js":29295,"./gd":2101,"./gd.js":2101,"./gl":38794,"./gl.js":38794,"./gom-deva":27884,"./gom-deva.js":27884,"./gom-latn":23168,"./gom-latn.js":23168,"./gu":95349,"./gu.js":95349,"./he":24206,"./he.js":24206,"./hi":30094,"./hi.js":30094,"./hr":30316,"./hr.js":30316,"./hu":22138,"./hu.js":22138,"./hy-am":11423,"./hy-am.js":11423,"./id":29218,"./id.js":29218,"./is":90135,"./is.js":90135,"./it":90626,"./it-ch":10150,"./it-ch.js":10150,"./it.js":90626,"./ja":39183,"./ja.js":39183,"./jv":24286,"./jv.js":24286,"./ka":12105,"./ka.js":12105,"./kk":47772,"./kk.js":47772,"./km":18758,"./km.js":18758,"./kn":79282,"./kn.js":79282,"./ko":33730,"./ko.js":33730,"./ku":1408,"./ku.js":1408,"./ky":33291,"./ky.js":33291,"./lb":36841,"./lb.js":36841,"./lo":55466,"./lo.js":55466,"./lt":57010,"./lt.js":57010,"./lv":37595,"./lv.js":37595,"./me":39861,"./me.js":39861,"./mi":35493,"./mi.js":35493,"./mk":95966,"./mk.js":95966,"./ml":87341,"./ml.js":87341,"./mn":5115,"./mn.js":5115,"./mr":10370,"./mr.js":10370,"./ms":9847,"./ms-my":41237,"./ms-my.js":41237,"./ms.js":9847,"./mt":72126,"./mt.js":72126,"./my":56165,"./my.js":56165,"./nb":64924,"./nb.js":64924,"./ne":16744,"./ne.js":16744,"./nl":93901,"./nl-be":59814,"./nl-be.js":59814,"./nl.js":93901,"./nn":83877,"./nn.js":83877,"./oc-lnc":92135,"./oc-lnc.js":92135,"./pa-in":15858,"./pa-in.js":15858,"./pl":64495,"./pl.js":64495,"./pt":89520,"./pt-br":57971,"./pt-br.js":57971,"./pt.js":89520,"./ro":96459,"./ro.js":96459,"./ru":21793,"./ru.js":21793,"./sd":40950,"./sd.js":40950,"./se":10490,"./se.js":10490,"./si":90124,"./si.js":90124,"./sk":64249,"./sk.js":64249,"./sl":14985,"./sl.js":14985,"./sq":51104,"./sq.js":51104,"./sr":49131,"./sr-cyrl":79915,"./sr-cyrl.js":79915,"./sr.js":49131,"./ss":85893,"./ss.js":85893,"./sv":98760,"./sv.js":98760,"./sw":91172,"./sw.js":91172,"./ta":27333,"./ta.js":27333,"./te":23110,"./te.js":23110,"./tet":52095,"./tet.js":52095,"./tg":27321,"./tg.js":27321,"./th":9041,"./th.js":9041,"./tk":19005,"./tk.js":19005,"./tl-ph":75768,"./tl-ph.js":75768,"./tlh":89444,"./tlh.js":89444,"./tr":72397,"./tr.js":72397,"./tzl":28254,"./tzl.js":28254,"./tzm":51106,"./tzm-latn":30699,"./tzm-latn.js":30699,"./tzm.js":51106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":67691,"./uk.js":67691,"./ur":13795,"./ur.js":13795,"./uz":6791,"./uz-latn":60588,"./uz-latn.js":60588,"./uz.js":6791,"./vi":65666,"./vi.js":65666,"./x-pseudo":14378,"./x-pseudo.js":14378,"./yo":75805,"./yo.js":75805,"./zh-cn":83839,"./zh-cn.js":83839,"./zh-hk":55726,"./zh-hk.js":55726,"./zh-mo":99807,"./zh-mo.js":99807,"./zh-tw":74152,"./zh-tw.js":74152};function r(s){var t=n(s);return e(t)}function n(s){if(!e.o(a,s)){var t=new Error("Cannot find module '"+s+"'");throw t.code="MODULE_NOT_FOUND",t}return a[s]}r.keys=function(){return Object.keys(a)},r.resolve=n,s.exports=r,r.id=46700}},n={};function o(s){var t=n[s];if(void 0!==t)return t.exports;var e=n[s]={id:s,loaded:!1,exports:{}};return r[s].call(e.exports,e,e.exports,o),e.loaded=!0,e.exports}o.m=r,s=[],o.O=(t,e,a,r)=>{if(!e){var n=1/0;for(d=0;d<s.length;d++){e=s[d][0],a=s[d][1],r=s[d][2];for(var u=!0,i=0;i<e.length;i++)(!1&r||n>=r)&&Object.keys(o.O).every((s=>o.O[s](e[i])))?e.splice(i--,1):(u=!1,r<n&&(n=r));if(u){s.splice(d--,1);var c=a();void 0!==c&&(t=c)}}return t}r=r||0;for(var d=s.length;d>0&&s[d-1][2]>r;d--)s[d]=s[d-1];s[d]=[e,a,r]},o.n=s=>{var t=s&&s.__esModule?()=>s.default:()=>s;return o.d(t,{a:t}),t},o.d=(s,t)=>{for(var e in t)o.o(t,e)&&!o.o(s,e)&&Object.defineProperty(s,e,{enumerable:!0,get:t[e]})},o.f={},o.e=s=>Promise.all(Object.keys(o.f).reduce(((t,e)=>(o.f[e](s,t),t)),[])),o.u=s=>(8299===s?"user-status-modal":s)+"-"+s+".js?v="+{2048:"78a82614529a3cefcde7",4180:"fe82f3a2dac70d6b82bc",8299:"5039d92e0500d4d5786c"}[s],o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(s){if("object"==typeof window)return window}}(),o.o=(s,t)=>Object.prototype.hasOwnProperty.call(s,t),e={},a="nextcloud:",o.l=(s,t,r,n)=>{if(e[s])e[s].push(t);else{var u,i;if(void 0!==r)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var l=c[d];if(l.getAttribute("src")==s||l.getAttribute("data-webpack")==a+r){u=l;break}}u||(i=!0,(u=document.createElement("script")).charset="utf-8",u.timeout=120,o.nc&&u.setAttribute("nonce",o.nc),u.setAttribute("data-webpack",a+r),u.src=s),e[s]=[t];var m=(t,a)=>{u.onerror=u.onload=null,clearTimeout(p);var r=e[s];if(delete e[s],u.parentNode&&u.parentNode.removeChild(u),r&&r.forEach((s=>s(a))),t)return t(a)},p=setTimeout(m.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=m.bind(null,u.onerror),u.onload=m.bind(null,u.onload),i&&document.head.appendChild(u)}},o.r=s=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},o.nmd=s=>(s.paths=[],s.children||(s.children=[]),s),o.j=2613,(()=>{var s;o.g.importScripts&&(s=o.g.location+"");var t=o.g.document;if(!s&&t&&(t.currentScript&&(s=t.currentScript.src),!s)){var e=t.getElementsByTagName("script");if(e.length)for(var a=e.length-1;a>-1&&!s;)s=e[a--].src}if(!s)throw new Error("Automatic publicPath is not supported in this browser");s=s.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=s})(),(()=>{o.b=document.baseURI||self.location.href;var s={2613:0};o.f.j=(t,e)=>{var a=o.o(s,t)?s[t]:void 0;if(0!==a)if(a)e.push(a[2]);else{var r=new Promise(((e,r)=>a=s[t]=[e,r]));e.push(a[2]=r);var n=o.p+o.u(t),u=new Error;o.l(n,(e=>{if(o.o(s,t)&&(0!==(a=s[t])&&(s[t]=void 0),a)){var r=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src;u.message="Loading chunk "+t+" failed.\n("+r+": "+n+")",u.name="ChunkLoadError",u.type=r,u.request=n,a[1](u)}}),"chunk-"+t,t)}},o.O.j=t=>0===s[t];var t=(t,e)=>{var a,r,n=e[0],u=e[1],i=e[2],c=0;if(n.some((t=>0!==s[t]))){for(a in u)o.o(u,a)&&(o.m[a]=u[a]);if(i)var d=i(o)}for(t&&t(e);c<n.length;c++)r=n[c],o.o(s,r)&&s[r]&&s[r][0](),s[r]=0;return o.O(d)},e=self.webpackChunknextcloud=self.webpackChunknextcloud||[];e.forEach(t.bind(null,0)),e.push=t.bind(null,e.push.bind(e))})(),o.nc=void 0;var u=o.O(void 0,[7874],(()=>o(86419)));u=o.O(u)})();
//# sourceMappingURL=user_status-menu.js.map?v=8798470ceb944f099047