(window.textWebpackJsonp=window.textWebpackJsonp||[]).push([[187],{212:function(A,t,e){"use strict";var n=e(7),i=e(2),a=e(56),o=e(12),r=e(4),s=e(19),c=e(112),u=e(33),d=e(0),l=e(31),g=e(104).f,f=e(54).f,v=e(8).f,M=e(195).trim,I=i.Number,p=I.prototype,m="Number"==s(l(p)),b=function(A){var t,e,n,i,a,o,r,s,c=u(A,!1);if("string"==typeof c&&c.length>2)if(43===(t=(c=M(c)).charCodeAt(0))||45===t){if(88===(e=c.charCodeAt(2))||120===e)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+c}for(o=(a=c.slice(2)).length,r=0;ri)return NaN;return parseInt(a,n)}return+c};if(a("Number",!I(" 0o1")||!I("0b1")||I("+0x1"))){for(var E,B=function(A){var t=arguments.length<1?0:A,e=this;return e instanceof B&&(m?d((function(){p.valueOf.call(e)})):"Number"!=s(e))?c(new I(b(t)),e,B):b(t)},y=n?g(I):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),T=0;y.length>T;T++)r(I,E=y[T])&&!r(B,E)&&v(B,E,f(I,E));B.prototype=p,p.constructor=B,o(i,"Number",B)}},374:function(A,t,e){(function(A){var n,i,a,o;function r(A){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(A)}window,o=function(){return function(A){var t={};function e(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return A[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=A,e.c=t,e.d=function(A,t,n){e.o(A,t)||Object.defineProperty(A,t,{enumerable:!0,get:n})},e.r=function(A){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},e.t=function(A,t){if(1&t&&(A=e(A)),8&t)return A;if(4&t&&"object"==r(A)&&A&&A.__esModule)return A;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:A}),2&t&&"string"!=typeof A)for(var i in A)e.d(n,i,function(t){return A[t]}.bind(null,i));return n},e.n=function(A){var t=A&&A.__esModule?function(){return A.default}:function(){return A};return e.d(t,"a",t),t},e.o=function(A,t){return Object.prototype.hasOwnProperty.call(A,t)},e.p="/dist/",e(e.s=71)}([function(A,t,e){"use strict";function n(A,t,e,n,i,a,o,r){var s,c="function"==typeof A?A.options:A;if(t&&(c.render=t,c.staticRenderFns=e,c._compiled=!0),n&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),o?(s=function(A){(A=A||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(A=__VUE_SSR_CONTEXT__),i&&i.call(this,A),A&&A._registeredComponents&&A._registeredComponents.add(o)},c._ssrRegister=s):i&&(s=r?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),s)if(c.functional){c._injectStyles=s;var u=c.render;c.render=function(A,t){return s.call(t),u(A,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,s):[s]}return{exports:A,options:c}}e.d(t,"a",(function(){return n}))},function(A,t,e){"use strict";A.exports=function(A){var t=[];return t.toString=function(){return this.map((function(t){var e=function(A,t){var e,n,i,a=A[1]||"",o=A[3];if(!o)return a;if(t&&"function"==typeof btoa){var r=(e=o,n=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(n),"/*# ".concat(i," */")),s=o.sources.map((function(A){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(A," */")}));return[a].concat(s).concat([r]).join("\n")}return[a].join("\n")}(t,A);return t[2]?"@media ".concat(t[2]," {").concat(e,"}"):e})).join("")},t.i=function(A,e,n){"string"==typeof A&&(A=[[null,A,""]]);var i={};if(n)for(var a=0;ae.parts.length&&(n.parts.length=e.parts.length)}else{var o=[];for(i=0;i * * @author Julius Härtl * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ n.VTooltip.options.defaultTemplate=''),n.VTooltip.options.defaultHtml=!1,t.default=n.VTooltip},function(A,t){A.exports=e(103)},function(A,t){A.exports=e(53)},,function(A,t){A.exports=e(11)},,function(A,t){A.exports=e(210)},function(A,t){A.exports=e(57)},,,function(A,t){A.exports=e(212)},,function(A,t){A.exports=e(188)},function(A,t){A.exports=e(29)},function(A,t){A.exports=e(109)},,,,function(A,t){A.exports=e(102)},function(A,t){A.exports=e(216)},function(A,t){A.exports=e(217)},,function(A,t,e){var n=e(96);"string"==typeof n&&(n=[[A.i,n,""]]),n.locals&&(A.exports=n.locals),(0,e(2).default)("2c4a49e8",n,!0,{})},function(A,t,e){var n=e(98);"string"==typeof n&&(n=[[A.i,n,""]]),n.locals&&(A.exports=n.locals),(0,e(2).default)("482a1b4c",n,!0,{})},function(A,t,e){var n=e(100);"string"==typeof n&&(n=[[A.i,n,""]]),n.locals&&(A.exports=n.locals),(0,e(2).default)("93093140",n,!0,{})},,function(A,t){A.exports=e(218)},function(A,t,e){"use strict";e.r(t);var n=e(5),i=new(e.n(n).a)({data:function(){return{isMobile:!1}},watch:{isMobile:function(A){this.$emit("changed",A)}},created:function(){window.addEventListener("resize",this.handleWindowResize),this.handleWindowResize()},beforeDestroy:function(){window.removeEventListener("resize",this.handleWindowResize)},methods:{handleWindowResize:function(){this.isMobile=document.documentElement.clientWidth<1024}}});t.default={data:function(){return{isMobile:!1}},mounted:function(){i.$on("changed",this.onIsMobileChanged),this.isMobile=i.isMobile},beforeDestroy:function(){i.$off("changed",this.onIsMobileChanged)},methods:{onIsMobileChanged:function(A){this.isMobile=A}}}},function(A,t){A.exports=e(662)},function(A,t,e){"use strict";e.d(t,"a",(function(){return n.default})),e.d(t,"b",(function(){return i.default})),e.d(t,"c",(function(){return a.default})),e.d(t,"d",(function(){return l}));var n=e(62),i=e(63),a=e(46),o=(e(3),e(59),e(60),e(32)),r=e.n(o),s=e(23),c=e(72),u=e(33);function d(A,t,e,n,i,a,o){try{var r=A[a](o),s=r.value}catch(A){return void e(A)}r.done?t(s):Promise.resolve(s).then(n,i)} /** * @copyright Copyright (c) 2020 Georg Ehrke * * @author Georg Ehrke * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */var l={data:function(){return{hasStatus:!1,userStatus:{status:null,message:null,icon:null}}},methods:{fetchUserStatus:function(A){var t,e=this;return(t=regeneratorRuntime.mark((function t(){var n,i,a,o,d,l,g,f,v;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=Object(c.getCapabilities)(),Object.prototype.hasOwnProperty.call(n,"user_status")&&n.user_status.enabled){t.next=3;break}return t.abrupt("return");case 3:if(Object(u.getCurrentUser)()){t.next=5;break}return t.abrupt("return");case 5:return t.prev=5,t.next=8,r.a.get(Object(s.generateOcsUrl)("apps/user_status/api/v1",2)+"statuses/".concat(encodeURIComponent(A)));case 8:i=t.sent,a=i.data,o=a.ocs.data,d=o.status,l=o.message,g=o.icon,e.userStatus.status=d,e.userStatus.message=l||"",e.userStatus.icon=g||"",e.hasStatus=!0,t.next=22;break;case 17:if(t.prev=17,t.t0=t.catch(5),404!==t.t0.response.status||0!==(null===(f=t.t0.response.data.ocs)||void 0===f||null===(v=f.data)||void 0===v?void 0:v.length)){t.next=21;break}return t.abrupt("return");case 21:console.error(t.t0);case 22:case"end":return t.stop()}}),t,null,[[5,17]])})),function(){var A=this,e=arguments;return new Promise((function(n,i){var a=t.apply(A,e);function o(A){d(a,n,i,o,r,"next",A)}function r(A){d(a,n,i,o,r,"throw",A)}o(void 0)}))})()}}}; /** * @copyright Copyright (c) 2018 John Molakvoæ * * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */},function(A,t,e){var n=e(106);"string"==typeof n&&(n=[[A.i,n,""]]),n.locals&&(A.exports=n.locals),(0,e(2).default)("5b45b125",n,!0,{})},,function(A,t){A.exports=e(219)},,function(A,t){},,function(A,t,e){var n=e(56);"string"==typeof n&&(n=[[A.i,n,""]]),n.locals&&(A.exports=n.locals),(0,e(2).default)("941c791e",n,!0,{})},function(A,t,e){(t=e(1)(!1)).push([A.i,".vue-tooltip[data-v-6f23729]{position:absolute;z-index:100000;right:auto;left:auto;display:block;margin:0;margin-top:-3px;padding:10px 0;text-align:left;text-align:start;opacity:0;line-height:1.6;line-break:auto;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.vue-tooltip[data-v-6f23729][x-placement^='top'] .tooltip-arrow{bottom:0;margin-top:0;margin-bottom:0;border-width:10px 10px 0 10px;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-6f23729][x-placement^='bottom'] .tooltip-arrow{top:0;margin-top:0;margin-bottom:0;border-width:0 10px 10px 10px;border-top-color:transparent;border-right-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-6f23729][x-placement^='right'] .tooltip-arrow{right:100%;margin-right:0;margin-left:0;border-width:10px 10px 10px 0;border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-6f23729][x-placement^='left'] .tooltip-arrow{left:100%;margin-right:0;margin-left:0;border-width:10px 0 10px 10px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent}.vue-tooltip[data-v-6f23729][aria-hidden='true']{visibility:hidden;transition:opacity .15s, visibility .15s;opacity:0}.vue-tooltip[data-v-6f23729][aria-hidden='false']{visibility:visible;transition:opacity .15s;opacity:1}.vue-tooltip[data-v-6f23729] .tooltip-inner{max-width:350px;padding:5px 8px;text-align:center;color:var(--color-main-text);border-radius:var(--border-radius);background-color:var(--color-main-background)}.vue-tooltip[data-v-6f23729] .tooltip-arrow{position:absolute;z-index:1;width:0;height:0;margin:0;border-style:solid;border-color:var(--color-main-background)}\n",""]),A.exports=t},function(A,t,e){"use strict"; /** * @copyright Copyright (c) 2019 John Molakvoæ * * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ function n(A,t,e){this.r=A,this.g=t,this.b=e}function i(A,t,e){var i=[];i.push(t);for(var a=function(A,t){var e=new Array(3);return e[0]=(t[1].r-t[0].r)/A,e[1]=(t[1].g-t[0].g)/A,e[2]=(t[1].b-t[0].b)/A,e}(A,[t,e]),o=1;o=A.length?{done:!0}:{done:!1,value:A[n++]}},e:function(A){throw A},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,r=!0,s=!1;return{s:function(){e=A[Symbol.iterator]()},n:function(){var A=e.next();return r=A.done,A},e:function(A){s=!0,o=A},f:function(){try{r||null==e.return||e.return()}finally{if(s)throw o}}}}function i(A,t){(null==t||t>A.length)&&(t=A.length);for(var e=0,n=new Array(t);e * * @author Georg Ehrke * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */e.r(t),e(25),e(38),e(45),e(51),e(8),e(39),e(7),e(3),e(12),e(9),e(10),t.default={props:{excludeClickOutsideClasses:{type:String|Array,default:function(){return[]}}},methods:{clickOutsideMiddleware:function(A){var t=Array.isArray(this.excludeClickOutsideClasses)?this.excludeClickOutsideClasses:[this.excludeClickOutsideClasses];return 0===t.length||!this.hasNodeOrAnyParentClass(A.target,t)},hasNodeOrAnyParentClass:function(A,t){var e,i=n(t);try{for(i.s();!(e=i.n()).done;){var a=e.value;if(A.classList.contains(a))return!0}}catch(A){i.e(A)}finally{i.f()}return!!A.parentElement&&this.hasNodeOrAnyParentClass(A.parentElement,t)}}}},function(A,t,e){"use strict";e.r(t), /** * @copyright Copyright (c) 2019 John Molakvoæ * * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ t.default={data:function(){return{isFullscreen:this._isFullscreen()}},beforeMount:function(){window.addEventListener("resize",this._onResize)},beforeDestroy:function(){window.removeEventListener("resize",this._onResize)},methods:{_onResize:function(){this.isFullscreen=this._isFullscreen()},_isFullscreen:function(){return window.outerHeight===screen.height}}}},,,,,function(A,t,e){"use strict";e.r(t),e(20),e(8),e(3),e(12),e(9),e(10),e(31);var n={name:"PopoverMenuItem",props:{item:{type:Object,required:!0,default:function(){return{key:"nextcloud-link",href:"https://nextcloud.com",icon:"icon-links",text:"Nextcloud"}},validator:function(A){return!A.input||-1!==["text","checkbox"].indexOf(A.input)}}},computed:{key:function(){return this.item.key?this.item.key:Math.round(16*Math.random()*1e6).toString(16)},iconIsUrl:function(){try{return new URL(this.item.icon),!0}catch(A){return!1}}},methods:{action:function(A){this.item.action&&this.item.action(A)}}},i=(e(95),e(97),e(0)),a={name:"PopoverMenu",components:{PopoverMenuItem:Object(i.a)(n,(function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("li",[A.item.href?e("a",{staticClass:"focusable",attrs:{href:A.item.href?A.item.href:"#",target:A.item.target?A.item.target:"",download:A.item.download,rel:"noreferrer noopener"},on:{click:A.action}},[A.iconIsUrl?e("img",{attrs:{src:A.item.icon}}):e("span",{class:A.item.icon}),A._v(" "),A.item.text&&A.item.longtext?e("p",[e("strong",{staticClass:"menuitem-text"},[A._v("\n\t\t\t\t"+A._s(A.item.text)+"\n\t\t\t")]),e("br"),A._v(" "),e("span",{staticClass:"menuitem-text-detail"},[A._v("\n\t\t\t\t"+A._s(A.item.longtext)+"\n\t\t\t")])]):A.item.text?e("span",[A._v("\n\t\t\t"+A._s(A.item.text)+"\n\t\t")]):A.item.longtext?e("p",[A._v("\n\t\t\t"+A._s(A.item.longtext)+"\n\t\t")]):A._e()]):A.item.input?e("span",{staticClass:"menuitem",class:{active:A.item.active}},["checkbox"!==A.item.input?e("span",{class:A.item.icon}):A._e(),A._v(" "),"text"===A.item.input?e("form",{class:A.item.input,on:{submit:function(t){return t.preventDefault(),A.item.action(t)}}},[e("input",{attrs:{type:A.item.input,placeholder:A.item.text,required:""},domProps:{value:A.item.value}}),A._v(" "),e("input",{staticClass:"icon-confirm",attrs:{type:"submit",value:""}})]):["checkbox"===A.item.input?e("input",{directives:[{name:"model",rawName:"v-model",value:A.item.model,expression:"item.model"}],class:A.item.input,attrs:{id:A.key,type:"checkbox"},domProps:{checked:Array.isArray(A.item.model)?A._i(A.item.model,null)>-1:A.item.model},on:{change:[function(t){var e=A.item.model,n=t.target,i=!!n.checked;if(Array.isArray(e)){var a=A._i(e,null);n.checked?a<0&&A.$set(A.item,"model",e.concat([null])):a>-1&&A.$set(A.item,"model",e.slice(0,a).concat(e.slice(a+1)))}else A.$set(A.item,"model",i)},A.item.action]}}):"radio"===A.item.input?e("input",{directives:[{name:"model",rawName:"v-model",value:A.item.model,expression:"item.model"}],class:A.item.input,attrs:{id:A.key,type:"radio"},domProps:{checked:A._q(A.item.model,null)},on:{change:[function(t){return A.$set(A.item,"model",null)},A.item.action]}}):e("input",{directives:[{name:"model",rawName:"v-model",value:A.item.model,expression:"item.model"}],class:A.item.input,attrs:{id:A.key,type:A.item.input},domProps:{value:A.item.model},on:{change:A.item.action,input:function(t){t.target.composing||A.$set(A.item,"model",t.target.value)}}}),A._v(" "),e("label",{attrs:{for:A.key},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),A.item.action(t)}}},[A._v("\n\t\t\t\t"+A._s(A.item.text)+"\n\t\t\t")])]],2):A.item.action?e("button",{staticClass:"menuitem focusable",class:{active:A.item.active},attrs:{disabled:A.item.disabled},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),A.item.action(t)}}},[e("span",{class:A.item.icon}),A._v(" "),A.item.text&&A.item.longtext?e("p",[e("strong",{staticClass:"menuitem-text"},[A._v("\n\t\t\t\t"+A._s(A.item.text)+"\n\t\t\t")]),e("br"),A._v(" "),e("span",{staticClass:"menuitem-text-detail"},[A._v("\n\t\t\t\t"+A._s(A.item.longtext)+"\n\t\t\t")])]):A.item.text?e("span",[A._v("\n\t\t\t"+A._s(A.item.text)+"\n\t\t")]):A.item.longtext?e("p",[A._v("\n\t\t\t"+A._s(A.item.longtext)+"\n\t\t")]):A._e()]):e("span",{staticClass:"menuitem",class:{active:A.item.active}},[e("span",{class:A.item.icon}),A._v(" "),A.item.text&&A.item.longtext?e("p",[e("strong",{staticClass:"menuitem-text"},[A._v("\n\t\t\t\t"+A._s(A.item.text)+"\n\t\t\t")]),e("br"),A._v(" "),e("span",{staticClass:"menuitem-text-detail"},[A._v("\n\t\t\t\t"+A._s(A.item.longtext)+"\n\t\t\t")])]):A.item.text?e("span",[A._v("\n\t\t\t"+A._s(A.item.text)+"\n\t\t")]):A.item.longtext?e("p",[A._v("\n\t\t\t"+A._s(A.item.longtext)+"\n\t\t")]):A._e()])])}),[],!1,null,"3ad7b73b",null).exports},props:{menu:{type:Array,default:function(){return[{href:"https://nextcloud.com",icon:"icon-links",text:"Nextcloud"}]},required:!0}}},o=(e(99),e(53)),r=e.n(o),s=Object(i.a)(a,(function(){var A=this.$createElement,t=this._self._c||A;return t("ul",this._l(this.menu,(function(A,e){return t("PopoverMenuItem",{key:e,attrs:{item:A}})})),1)}),[],!1,null,"81c2afc0",null);"function"==typeof r.a&&r()(s);var c=s.exports; /** * @copyright Copyright (c) 2018 John Molakvoæ * * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */t.default=c},,,function(A,t,e){"use strict";e.r(t),e(26),e(86),e(80),e(11),e(29),e(3),e(59),e(60);var n=e(47),i=e(68),a=e(33),o=e(32),r=e.n(o),s=e(23),c=e(19),u=e(77),d=e(48);function l(A,t,e,n,i,a,o){try{var r=A[a](o),s=r.value}catch(A){return void e(A)}r.done?t(s):Promise.resolve(s).then(n,i)}function g(A){return function(){var t=this,e=arguments;return new Promise((function(n,i){var a=A.apply(t,e);function o(A){l(a,n,i,o,r,"next",A)}function r(A){l(a,n,i,o,r,"throw",A)}o(void 0)}))}}var f={name:"Avatar",directives:{tooltip:c.default,ClickOutside:n.directive},components:{PopoverMenu:i.default},mixins:[d.d],props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,default:void 0},showUserStatus:{type:Boolean,default:!0},isGuest:{type:Boolean,default:!1},displayName:{type:String,default:void 0},size:{type:Number,default:32},allowPlaceholder:{type:Boolean,default:!0},disableTooltip:{type:Boolean,default:!1},disableMenu:{type:Boolean,default:!1},tooltipMessage:{type:String,default:null},isNoUser:{type:Boolean,default:!1},status:{type:String,default:null,validator:function(A){switch(A){case"positive":case"negative":case"neutral":return!0}return!1}},statusColor:{type:[Number,String],default:null,validator:function(A){return/^([a-f0-9]{3}){1,2}$/i.test(A)}},menuPosition:{type:String,default:"center"}},data:function(){return{avatarUrlLoaded:null,avatarSrcSetLoaded:null,userDoesNotExist:!1,isAvatarLoaded:!1,isMenuLoaded:!1,contactsMenuActions:[],contactsMenuOpenState:!1}},computed:{canDisplayUserStatus:function(){return this.showUserStatus&&this.hasStatus&&["online","away","dnd"].includes(this.userStatus.status)},getUserIdentifier:function(){return this.isDisplayNameDefined?this.displayName:this.isUserDefined?this.user:""},isUserDefined:function(){return void 0!==this.user},isDisplayNameDefined:function(){return void 0!==this.displayName},isUrlDefined:function(){return void 0!==this.url},hasMenu:function(){var A;return!this.disableMenu&&(this.isMenuLoaded?this.menu.length>0:!(this.user===(null===(A=Object(a.getCurrentUser)())||void 0===A?void 0:A.uid)||this.userDoesNotExist||this.url))},shouldShowPlaceholder:function(){return this.allowPlaceholder&&this.userDoesNotExist},avatarStyle:function(){var A={width:this.size+"px",height:this.size+"px",lineHeight:this.size+"px",fontSize:Math.round(.55*this.size)+"px"};if(!this.iconClass&&!this.avatarSrcSetLoaded){var t=Object(u.default)(this.getUserIdentifier);A.backgroundColor="rgb("+t.r+", "+t.g+", "+t.b+")"}return A},tooltip:function(){return!this.disableTooltip&&(this.tooltipMessage?this.tooltipMessage:this.displayName)},initials:function(){return this.shouldShowPlaceholder?this.getUserIdentifier.charAt(0).toUpperCase():"?"},menu:function(){var A,t,e,n=this.contactsMenuActions.map((function(A){return{href:A.hyperlink,icon:A.icon,text:A.title}}));return this.showUserStatus&&(this.userStatus.icon||this.userStatus.message)?[{href:"#",icon:"data:image/svg+xml;utf8,".concat((A=this.userStatus.icon,t=document.createTextNode(A),e=document.createElement("p"),e.appendChild(t),e.innerHTML),""),text:"".concat(this.userStatus.message)}].concat(n):n}},watch:{url:function(){this.userDoesNotExist=!1,this.loadAvatarUrl()},user:function(){this.userDoesNotExist=!1,this.isMenuLoaded=!1,this.loadAvatarUrl()}},mounted:function(){this.loadAvatarUrl(),this.showUserStatus&&this.user&&!this.isNoUser&&this.fetchUserStatus(this.user)},methods:{toggleMenu:function(){var A=this;return g(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(A.hasMenu){t.next=2;break}return t.abrupt("return");case 2:if(A.contactsMenuOpenState){t.next=5;break}return t.next=5,A.fetchContactsMenu();case 5:A.contactsMenuOpenState=!A.contactsMenuOpenState;case 6:case"end":return t.stop()}}),t)})))()},closeMenu:function(){this.contactsMenuOpenState=!1},fetchContactsMenu:function(){var A=this;return g(regeneratorRuntime.mark((function t(){var e,n,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e=encodeURIComponent(A.user),t.next=4,r.a.post(Object(s.generateUrl)("contactsmenu/findOne"),"shareType=0&shareWith=".concat(e));case 4:n=t.sent,i=n.data,A.contactsMenuActions=i.topAction?[i.topAction].concat(i.actions):i.actions,t.next=12;break;case 9:t.prev=9,t.t0=t.catch(0),A.contactsMenuOpenState=!1;case 12:A.isMenuLoaded=!0;case 13:case"end":return t.stop()}}),t,null,[[0,9]])})))()},loadAvatarUrl:function(){var A=this;if(this.isAvatarLoaded=!1,!this.isUrlDefined&&(!this.isUserDefined||this.isNoUser))return this.isAvatarLoaded=!0,void(this.userDoesNotExist=!0);var t=function(t,e){var n,i="/avatar/{user}/{size}";A.isGuest&&(i="/avatar/guest/{user}/{size}");var o=Object(s.generateUrl)(i,{user:t,size:e});return t===(null===(n=Object(a.getCurrentUser)())||void 0===n?void 0:n.uid)&&"undefined"!=typeof oc_userconfig&&(o+="?v="+oc_userconfig.avatar.version),o},e=t(this.user,this.size);this.isUrlDefined&&(e=this.url);var n=[e+" 1x",t(this.user,2*this.size)+" 2x",t(this.user,4*this.size)+" 4x"].join(", "),i=new Image;i.onload=function(){A.avatarUrlLoaded=e,A.isUrlDefined||(A.avatarSrcSetLoaded=n),A.isAvatarLoaded=!0},i.onerror=function(){A.userDoesNotExist=!0,A.isAvatarLoaded=!0},this.isUrlDefined||(i.srcset=n),i.src=e}}},v=(e(105),e(0)),M=e(61),I=e.n(M),p=Object(v.a)(f,(function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:A.tooltip,expression:"tooltip"},{name:"click-outside",rawName:"v-click-outside",value:A.closeMenu,expression:"closeMenu"}],staticClass:"avatardiv popovermenu-wrapper",class:{"avatardiv--unknown":A.userDoesNotExist,"avatardiv--with-menu":A.hasMenu},style:A.avatarStyle,on:{click:A.toggleMenu}},[A.iconClass?e("div",{staticClass:"avatar-class-icon",class:A.iconClass}):A.isAvatarLoaded&&!A.userDoesNotExist?e("img",{attrs:{src:A.avatarUrlLoaded,srcset:A.avatarSrcSetLoaded,alt:""}}):A._e(),A._v(" "),A.hasMenu?e("div",{staticClass:"icon-more"}):A._e(),A._v(" "),A.canDisplayUserStatus?e("div",{staticClass:"avatardiv__user-status",class:"avatardiv__user-status--"+A.userStatus.status}):A.status?e("div",{staticClass:"avatardiv__status",class:"avatardiv__status--"+A.status,style:{backgroundColor:"#"+A.statusColor}},["neutral"===A.status?e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"11",viewBox:"0 0 3.175 2.91"}},[e("path",{style:{fill:"#"+A.statusColor},attrs:{d:"M3.21 3.043H.494l.679-1.177.68-1.176.678 1.176z",stroke:"#fff","stroke-width":".265","stroke-linecap":"square"}})]):A._e()]):A._e(),A._v(" "),A.userDoesNotExist?e("div",{staticClass:"unknown"},[A._v("\n\t\t"+A._s(A.initials)+"\n\t")]):A._e(),A._v(" "),A.hasMenu?e("div",{directives:[{name:"show",rawName:"v-show",value:A.contactsMenuOpenState,expression:"contactsMenuOpenState"}],staticClass:"popovermenu",class:"menu-"+A.menuPosition},[e("PopoverMenu",{attrs:{"is-open":A.contactsMenuOpenState,menu:A.menu}})],1):A._e()])}),[],!1,null,"74e16dde",null);"function"==typeof I.a&&I()(p);var m=p.exports; /** * @copyright Copyright (c) 2018 Julius Härtl * * @author Julius Härtl * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */t.default=m},function(A,t){A.exports=e(670)},function(A,t){A.exports=e(671)},,,,function(A,t,e){"use strict";e.r(t),e(21),e(101),e(37);var n=e(73),i=e.n(n),a=e(57);t.default=function(A){var t=A.toLowerCase();return null===t.match(/^([0-9a-f]{4}-?){8}$/)&&(t=i()(t)),t=t.replace(/[^0-9a-f]/g,""),Object(a.a)(6)[function(A,t){for(var e=0,n=[],i=0;ibutton[data-v-3ad7b73b],li>a[data-v-3ad7b73b],li>.menuitem[data-v-3ad7b73b]{cursor:pointer;line-height:44px;border:0;border-radius:0;background-color:transparent;display:flex;align-items:flex-start;height:auto;margin:0;padding:0;font-weight:normal;box-shadow:none;width:100%;color:var(--color-main-text);white-space:nowrap;opacity:.7}li>button span[class^='icon-'][data-v-3ad7b73b],li>button span[class*=' icon-'][data-v-3ad7b73b],li>button[class^='icon-'][data-v-3ad7b73b],li>button[class*=' icon-'][data-v-3ad7b73b],li>a span[class^='icon-'][data-v-3ad7b73b],li>a span[class*=' icon-'][data-v-3ad7b73b],li>a[class^='icon-'][data-v-3ad7b73b],li>a[class*=' icon-'][data-v-3ad7b73b],li>.menuitem span[class^='icon-'][data-v-3ad7b73b],li>.menuitem span[class*=' icon-'][data-v-3ad7b73b],li>.menuitem[class^='icon-'][data-v-3ad7b73b],li>.menuitem[class*=' icon-'][data-v-3ad7b73b]{min-width:0;min-height:0;background-position:14px center;background-size:16px}li>button span[class^='icon-'][data-v-3ad7b73b],li>button span[class*=' icon-'][data-v-3ad7b73b],li>a span[class^='icon-'][data-v-3ad7b73b],li>a span[class*=' icon-'][data-v-3ad7b73b],li>.menuitem span[class^='icon-'][data-v-3ad7b73b],li>.menuitem span[class*=' icon-'][data-v-3ad7b73b]{padding:22px 0 22px 44px}li>button:not([class^='icon-']):not([class*='icon-'])>span[data-v-3ad7b73b]:not([class^='icon-']):not([class*='icon-']):first-child,li>button:not([class^='icon-']):not([class*='icon-'])>input[data-v-3ad7b73b]:not([class^='icon-']):not([class*='icon-']):first-child,li>button:not([class^='icon-']):not([class*='icon-'])>form[data-v-3ad7b73b]:not([class^='icon-']):not([class*='icon-']):first-child,li>a:not([class^='icon-']):not([class*='icon-'])>span[data-v-3ad7b73b]:not([class^='icon-']):not([class*='icon-']):first-child,li>a:not([class^='icon-']):not([class*='icon-'])>input[data-v-3ad7b73b]:not([class^='icon-']):not([class*='icon-']):first-child,li>a:not([class^='icon-']):not([class*='icon-'])>form[data-v-3ad7b73b]:not([class^='icon-']):not([class*='icon-']):first-child,li>.menuitem:not([class^='icon-']):not([class*='icon-'])>span[data-v-3ad7b73b]:not([class^='icon-']):not([class*='icon-']):first-child,li>.menuitem:not([class^='icon-']):not([class*='icon-'])>input[data-v-3ad7b73b]:not([class^='icon-']):not([class*='icon-']):first-child,li>.menuitem:not([class^='icon-']):not([class*='icon-'])>form[data-v-3ad7b73b]:not([class^='icon-']):not([class*='icon-']):first-child{margin-left:44px}li>button[class^='icon-'][data-v-3ad7b73b],li>button[class*=' icon-'][data-v-3ad7b73b],li>a[class^='icon-'][data-v-3ad7b73b],li>a[class*=' icon-'][data-v-3ad7b73b],li>.menuitem[class^='icon-'][data-v-3ad7b73b],li>.menuitem[class*=' icon-'][data-v-3ad7b73b]{padding:0 14px 0 44px}li>button[data-v-3ad7b73b]:not(:disabled):hover,li>button[data-v-3ad7b73b]:not(:disabled):focus,li>button:not(:disabled).active[data-v-3ad7b73b],li>a[data-v-3ad7b73b]:not(:disabled):hover,li>a[data-v-3ad7b73b]:not(:disabled):focus,li>a:not(:disabled).active[data-v-3ad7b73b],li>.menuitem[data-v-3ad7b73b]:not(:disabled):hover,li>.menuitem[data-v-3ad7b73b]:not(:disabled):focus,li>.menuitem:not(:disabled).active[data-v-3ad7b73b]{opacity:1 !important}li>button.action[data-v-3ad7b73b],li>a.action[data-v-3ad7b73b],li>.menuitem.action[data-v-3ad7b73b]{padding:inherit !important}li>button>span[data-v-3ad7b73b],li>a>span[data-v-3ad7b73b],li>.menuitem>span[data-v-3ad7b73b]{cursor:pointer;white-space:nowrap}li>button>p[data-v-3ad7b73b],li>a>p[data-v-3ad7b73b],li>.menuitem>p[data-v-3ad7b73b]{width:150px;line-height:1.6em;padding:8px 0;white-space:normal}li>button>select[data-v-3ad7b73b],li>a>select[data-v-3ad7b73b],li>.menuitem>select[data-v-3ad7b73b]{margin:0;margin-left:6px}li>button[data-v-3ad7b73b]:not(:empty),li>a[data-v-3ad7b73b]:not(:empty),li>.menuitem[data-v-3ad7b73b]:not(:empty){padding-right:14px !important}li>button>img[data-v-3ad7b73b],li>a>img[data-v-3ad7b73b],li>.menuitem>img[data-v-3ad7b73b]{width:44px;padding:14px}li>button>input.radio+label[data-v-3ad7b73b],li>button>input.checkbox+label[data-v-3ad7b73b],li>a>input.radio+label[data-v-3ad7b73b],li>a>input.checkbox+label[data-v-3ad7b73b],li>.menuitem>input.radio+label[data-v-3ad7b73b],li>.menuitem>input.checkbox+label[data-v-3ad7b73b]{padding:0 !important;width:100%}li>button>input.checkbox+label[data-v-3ad7b73b]::before,li>a>input.checkbox+label[data-v-3ad7b73b]::before,li>.menuitem>input.checkbox+label[data-v-3ad7b73b]::before{margin:-2px 13px 0}li>button>input.radio+label[data-v-3ad7b73b]::before,li>a>input.radio+label[data-v-3ad7b73b]::before,li>.menuitem>input.radio+label[data-v-3ad7b73b]::before{margin:-2px 12px 0}li>button>input[data-v-3ad7b73b]:not([type=radio]):not([type=checkbox]):not([type=image]),li>a>input[data-v-3ad7b73b]:not([type=radio]):not([type=checkbox]):not([type=image]),li>.menuitem>input[data-v-3ad7b73b]:not([type=radio]):not([type=checkbox]):not([type=image]){width:150px}li>button form[data-v-3ad7b73b],li>a form[data-v-3ad7b73b],li>.menuitem form[data-v-3ad7b73b]{display:flex;flex:1 1 auto}li>button form[data-v-3ad7b73b]:not(:first-child),li>a form[data-v-3ad7b73b]:not(:first-child),li>.menuitem form[data-v-3ad7b73b]:not(:first-child){margin-left:5px}li>button>span.hidden+form[data-v-3ad7b73b],li>button>span[style*='display:none']+form[data-v-3ad7b73b],li>a>span.hidden+form[data-v-3ad7b73b],li>a>span[style*='display:none']+form[data-v-3ad7b73b],li>.menuitem>span.hidden+form[data-v-3ad7b73b],li>.menuitem>span[style*='display:none']+form[data-v-3ad7b73b]{margin-left:0}li>button input[data-v-3ad7b73b],li>a input[data-v-3ad7b73b],li>.menuitem input[data-v-3ad7b73b]{min-width:44px;max-height:40px;margin:2px 0;flex:1 1 auto}li>button input[data-v-3ad7b73b]:not(:first-child),li>a input[data-v-3ad7b73b]:not(:first-child),li>.menuitem input[data-v-3ad7b73b]:not(:first-child){margin-left:5px}li:not(.hidden):not([style*='display:none']):first-of-type>button>form[data-v-3ad7b73b],li:not(.hidden):not([style*='display:none']):first-of-type>button>input[data-v-3ad7b73b],li:not(.hidden):not([style*='display:none']):first-of-type>a>form[data-v-3ad7b73b],li:not(.hidden):not([style*='display:none']):first-of-type>a>input[data-v-3ad7b73b],li:not(.hidden):not([style*='display:none']):first-of-type>.menuitem>form[data-v-3ad7b73b],li:not(.hidden):not([style*='display:none']):first-of-type>.menuitem>input[data-v-3ad7b73b]{margin-top:12px}li:not(.hidden):not([style*='display:none']):last-of-type>button>form[data-v-3ad7b73b],li:not(.hidden):not([style*='display:none']):last-of-type>button>input[data-v-3ad7b73b],li:not(.hidden):not([style*='display:none']):last-of-type>a>form[data-v-3ad7b73b],li:not(.hidden):not([style*='display:none']):last-of-type>a>input[data-v-3ad7b73b],li:not(.hidden):not([style*='display:none']):last-of-type>.menuitem>form[data-v-3ad7b73b],li:not(.hidden):not([style*='display:none']):last-of-type>.menuitem>input[data-v-3ad7b73b]{margin-bottom:12px}li>button[data-v-3ad7b73b]{padding:0}li>button span[data-v-3ad7b73b]{opacity:1}\n",""]),A.exports=t},function(A,t,e){"use strict";var n=e(43);e.n(n).a},function(A,t,e){(t=e(1)(!1)).push([A.i,"ul[data-v-81c2afc0]{display:flex;flex-direction:column}\n",""]),A.exports=t},function(A,t){A.exports=e(676)},,,,function(A,t,e){"use strict";var n=e(49);e.n(n).a},function(A,t,e){var n=e(1),i=e(13),a=e(14),o=e(15),r=e(16),s=e(17);t=n(!1);var c=i(a),u=i(o),d=i(r),l=i(s);t.push([A.i,'@font-face{font-family:"iconfont-vue-6f23729";src:url('+c+");src:url("+c+') format("embedded-opentype"),url('+u+') format("woff"),url('+d+') format("truetype"),url('+l+') format("svg")}.icon[data-v-74e16dde]{font-style:normal;font-weight:400}.icon.arrow-left-double[data-v-74e16dde]:before{font-family:"iconfont-vue-6f23729";content:""}.icon.arrow-left[data-v-74e16dde]:before{font-family:"iconfont-vue-6f23729";content:""}.icon.arrow-right-double[data-v-74e16dde]:before{font-family:"iconfont-vue-6f23729";content:""}.icon.arrow-right[data-v-74e16dde]:before{font-family:"iconfont-vue-6f23729";content:""}.icon.breadcrumb[data-v-74e16dde]:before{font-family:"iconfont-vue-6f23729";content:""}.icon.checkmark[data-v-74e16dde]:before{font-family:"iconfont-vue-6f23729";content:""}.icon.close[data-v-74e16dde]:before{font-family:"iconfont-vue-6f23729";content:""}.icon.confirm[data-v-74e16dde]:before{font-family:"iconfont-vue-6f23729";content:""}.icon.info[data-v-74e16dde]:before{font-family:"iconfont-vue-6f23729";content:""}.icon.menu[data-v-74e16dde]:before{font-family:"iconfont-vue-6f23729";content:""}.icon.more[data-v-74e16dde]:before{font-family:"iconfont-vue-6f23729";content:""}.icon.pause[data-v-74e16dde]:before{font-family:"iconfont-vue-6f23729";content:""}.icon.play[data-v-74e16dde]:before{font-family:"iconfont-vue-6f23729";content:""}.icon.triangle-s[data-v-74e16dde]:before{font-family:"iconfont-vue-6f23729";content:""}.icon.user-status-away[data-v-74e16dde]:before{font-family:"iconfont-vue-6f23729";content:""}.icon.user-status-dnd[data-v-74e16dde]:before{font-family:"iconfont-vue-6f23729";content:""}.icon.user-status-invisible[data-v-74e16dde]:before{font-family:"iconfont-vue-6f23729";content:""}.icon.user-status-online[data-v-74e16dde]:before{font-family:"iconfont-vue-6f23729";content:""}.avatardiv[data-v-74e16dde]{position:relative;display:inline-block}.avatardiv--unknown[data-v-74e16dde]{position:relative;background-color:var(--color-text-maxcontrast)}.avatardiv[data-v-74e16dde]:not(.avatardiv--unknown){background-color:#fff !important;box-shadow:0 0 5px rgba(0,0,0,0.05) inset}.avatardiv--with-menu[data-v-74e16dde]{cursor:pointer}.avatardiv--with-menu .icon-more[data-v-74e16dde]{position:absolute;top:0;left:0;display:flex;align-items:center;justify-content:center;width:inherit;height:inherit;cursor:pointer;opacity:0;background:none;font-size:18px}.avatardiv--with-menu .icon-more[data-v-74e16dde]:before{font-family:"iconfont-vue-6f23729";font-style:normal;font-weight:400;content:""}.avatardiv--with-menu .icon-more[data-v-74e16dde]::before{display:block}.avatardiv--with-menu:focus .icon-more[data-v-74e16dde],.avatardiv--with-menu:hover .icon-more[data-v-74e16dde]{opacity:1}.avatardiv--with-menu:focus img[data-v-74e16dde],.avatardiv--with-menu:hover img[data-v-74e16dde]{opacity:0}.avatardiv--with-menu .icon-more[data-v-74e16dde],.avatardiv--with-menu img[data-v-74e16dde]{transition:opacity var(--animation-quick)}.avatardiv>.unknown[data-v-74e16dde]{position:absolute;top:0;left:0;display:block;width:100%;text-align:center;font-weight:normal;color:var(--color-main-background)}.avatardiv img[data-v-74e16dde]{width:100%;height:100%}.avatardiv .avatardiv__status[data-v-74e16dde]{position:absolute;top:22px;left:22px;width:10px;height:10px;border:1px solid rgba(255,255,255,0.5);background-clip:content-box}.avatardiv .avatardiv__status--positive[data-v-74e16dde]{border-radius:50%;background-color:var(--color-success)}.avatardiv .avatardiv__status--negative[data-v-74e16dde]{background-color:var(--color-error)}.avatardiv .avatardiv__status--neutral[data-v-74e16dde]{border:none;background-color:transparent !important}.avatardiv .avatardiv__status--neutral svg[data-v-74e16dde]{position:absolute;top:-3px;left:-2px}.avatardiv .avatardiv__status--neutral svg path[data-v-74e16dde]{fill:#aaa}.avatardiv .avatardiv__user-status[data-v-74e16dde]{position:absolute;right:-5px;bottom:-5px;height:16px;width:16px;line-height:14px;font-size:14px;border:1px solid var(--color-main-background);background-color:var(--color-main-background);border-radius:50%}.avatardiv .avatardiv__user-status--online[data-v-74e16dde]{color:#49b382}.avatardiv .avatardiv__user-status--online[data-v-74e16dde]:before{font-family:"iconfont-vue-6f23729";font-style:normal;font-weight:400;content:""}.avatardiv .avatardiv__user-status--dnd[data-v-74e16dde]{background-color:#ffffff;color:#ed484c}.avatardiv .avatardiv__user-status--dnd[data-v-74e16dde]:before{font-family:"iconfont-vue-6f23729";font-style:normal;font-weight:400;content:""}.avatardiv .avatardiv__user-status--away[data-v-74e16dde]{color:#f4a331}.avatardiv .avatardiv__user-status--away[data-v-74e16dde]:before{font-family:"iconfont-vue-6f23729";font-style:normal;font-weight:400;content:""}.avatardiv .popovermenu-wrapper[data-v-74e16dde]{position:relative;display:inline-block}.avatardiv .popovermenu[data-v-74e16dde]{display:block;margin:0;font-size:14px}.avatar-class-icon[data-v-74e16dde]{border-radius:50%;background-color:var(--color-background-darker);height:100%}\n',""]),A.exports=t}])},"object"==r(t)&&"object"==r(A)?A.exports=o():(i=[],void 0===(a="function"==typeof(n=o)?n.apply(t,i):n)||(A.exports=a))}).call(this,e(182)(A))},375:function(A,t,e){var n,i,a,o=e(2),r=e(0),s=e(19),c=e(35),u=e(121),d=e(63),l=e(376),g=o.location,f=o.setImmediate,v=o.clearImmediate,M=o.process,I=o.MessageChannel,p=o.Dispatch,m=0,b={},E=function(A){if(b.hasOwnProperty(A)){var t=b[A];delete b[A],t()}},B=function(A){return function(){E(A)}},y=function(A){E(A.data)},T=function(A){o.postMessage(A+"",g.protocol+"//"+g.host)};f&&v||(f=function(A){for(var t=[],e=1;arguments.length>e;)t.push(arguments[e++]);return b[++m]=function(){("function"==typeof A?A:Function(A)).apply(void 0,t)},n(m),m},v=function(A){delete b[A]},"process"==s(M)?n=function(A){M.nextTick(B(A))}:p&&p.now?n=function(A){p.now(B(A))}:I&&!l?(a=(i=new I).port2,i.port1.onmessage=y,n=c(a.postMessage,a,1)):!o.addEventListener||"function"!=typeof postMessage||o.importScripts||r(T)||"file:"===g.protocol?n="onreadystatechange"in d("script")?function(A){u.appendChild(d("script")).onreadystatechange=function(){u.removeChild(this),E(A)}}:function(A){setTimeout(B(A),0)}:(n=T,o.addEventListener("message",y,!1))),A.exports={set:f,clear:v}},376:function(A,t,e){var n=e(118);A.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},377:function(A,t,e){"use strict";var n=e(107),i=function(A){var t,e;this.promise=new A((function(A,n){if(void 0!==t||void 0!==e)throw TypeError("Bad Promise constructor");t=A,e=n})),this.resolve=n(t),this.reject=n(e)};A.exports.f=function(A){return new i(A)}},378:function(A,t){var e={utf8:{stringToBytes:function(A){return e.bin.stringToBytes(unescape(encodeURIComponent(A)))},bytesToString:function(A){return decodeURIComponent(escape(e.bin.bytesToString(A)))}},bin:{stringToBytes:function(A){for(var t=[],e=0;e0)?["touchstart"]:["click"];function n(A){var t=A.event,e=A.handler;(0,A.middleware)(t)&&e(t)}function i(A,t){var i=function(A){var t="function"==typeof A;if(!t&&"object"!=a(A))throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:t?A:A.handler,middleware:A.middleware||function(A){return A},events:A.events||e,isActive:!(!1===A.isActive),detectIframe:!(!1===A.detectIframe)}}(t.value),o=i.handler,r=i.middleware,s=i.detectIframe;if(i.isActive){if(A["__v-click-outside"]=i.events.map((function(t){return{event:t,srcTarget:document.documentElement,handler:function(t){return function(A){var t=A.el,e=A.event,i=A.handler,a=A.middleware,o=e.path||e.composedPath&&e.composedPath();(o?o.indexOf(t)<0:!t.contains(e.target))&&n({event:e,handler:i,middleware:a})}({el:A,event:t,handler:o,middleware:r})}}})),s){var c={event:"blur",srcTarget:window,handler:function(t){return function(A){var t=A.el,e=A.event,i=A.handler,a=A.middleware;setTimeout((function(){var A=document.activeElement;"IFRAME"!==A.tagName||t.contains(A)||n({event:e,handler:i,middleware:a})}),0)}({el:A,event:t,handler:o,middleware:r})}};A["__v-click-outside"]=[].concat(A["__v-click-outside"],[c])}A["__v-click-outside"].forEach((function(t){var e=t.event,n=t.srcTarget,i=t.handler;return setTimeout((function(){A["__v-click-outside"]&&n.addEventListener(e,i,!1)}),0)}))}}function o(A){(A["__v-click-outside"]||[]).forEach((function(A){return A.srcTarget.removeEventListener(A.event,A.handler,!1)})),delete A["__v-click-outside"]}var r=A?{bind:i,update:function(A,t){var e=t.value,n=t.oldValue;JSON.stringify(e)!==JSON.stringify(n)&&(o(A),i(A,{value:e}))},unbind:o}:{};return{install:function(A){A.directive("click-outside",r)},directive:r}}))},663:function(A,t,e){"use strict";var n,i,a,o,r=e(10),s=e(34),c=e(2),u=e(22),d=e(664),l=e(12),g=e(113),f=e(32),v=e(125),M=e(5),I=e(107),p=e(58),m=e(19),b=e(64),E=e(72),B=e(111),y=e(665),T=e(375).set,h=e(666),x=e(667),w=e(668),C=e(377),N=e(669),D=e(21),Q=e(56),S=e(1),z=e(71),L=S("species"),Y="Promise",U=D.get,O=D.set,j=D.getterFor(Y),k=d,H=c.TypeError,G=c.document,Z=c.process,F=u("fetch"),R=C.f,J=R,X="process"==m(Z),P=!!(G&&G.createEvent&&c.dispatchEvent),W=Q(Y,(function(){if(!(b(k)!==String(k))){if(66===z)return!0;if(!X&&"function"!=typeof PromiseRejectionEvent)return!0}if(s&&!k.prototype.finally)return!0;if(z>=51&&/native code/.test(k))return!1;var A=k.resolve(1),t=function(A){A((function(){}),(function(){}))};return(A.constructor={})[L]=t,!(A.then((function(){}))instanceof t)})),_=W||!B((function(A){k.all(A).catch((function(){}))})),V=function(A){var t;return!(!M(A)||"function"!=typeof(t=A.then))&&t},K=function(A,t,e){if(!t.notified){t.notified=!0;var n=t.reactions;h((function(){for(var i=t.value,a=1==t.state,o=0;n.length>o;){var r,s,c,u=n[o++],d=a?u.ok:u.fail,l=u.resolve,g=u.reject,f=u.domain;try{d?(a||(2===t.rejection&&tA(A,t),t.rejection=1),!0===d?r=i:(f&&f.enter(),r=d(i),f&&(f.exit(),c=!0)),r===u.promise?g(H("Promise-chain cycle")):(s=V(r))?s.call(r,l,g):l(r)):g(i)}catch(A){f&&!c&&f.exit(),g(A)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&$(A,t)}))}},q=function(A,t,e){var n,i;P?((n=G.createEvent("Event")).promise=t,n.reason=e,n.initEvent(A,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:e},(i=c["on"+A])?i(n):"unhandledrejection"===A&&w("Unhandled promise rejection",e)},$=function(A,t){T.call(c,(function(){var e,n=t.value;if(AA(t)&&(e=N((function(){X?Z.emit("unhandledRejection",n,A):q("unhandledrejection",A,n)})),t.rejection=X||AA(t)?2:1,e.error))throw e.value}))},AA=function(A){return 1!==A.rejection&&!A.parent},tA=function(A,t){T.call(c,(function(){X?Z.emit("rejectionHandled",A):q("rejectionhandled",A,t.value)}))},eA=function(A,t,e,n){return function(i){A(t,e,i,n)}},nA=function(A,t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,K(A,t,!0))},iA=function A(t,e,n,i){if(!e.done){e.done=!0,i&&(e=i);try{if(t===n)throw H("Promise can't be resolved itself");var a=V(n);a?h((function(){var i={done:!1};try{a.call(n,eA(A,t,i,e),eA(nA,t,i,e))}catch(A){nA(t,i,A,e)}})):(e.value=n,e.state=1,K(t,e,!1))}catch(A){nA(t,{done:!1},A,e)}}};W&&(k=function(A){p(this,k,Y),I(A),n.call(this);var t=U(this);try{A(eA(iA,this,t),eA(nA,this,t))}catch(A){nA(this,t,A)}},(n=function(A){O(this,{type:Y,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=g(k.prototype,{then:function(A,t){var e=j(this),n=R(y(this,k));return n.ok="function"!=typeof A||A,n.fail="function"==typeof t&&t,n.domain=X?Z.domain:void 0,e.parent=!0,e.reactions.push(n),0!=e.state&&K(this,e,!1),n.promise},catch:function(A){return this.then(void 0,A)}}),i=function(){var A=new n,t=U(A);this.promise=A,this.resolve=eA(iA,A,t),this.reject=eA(nA,A,t)},C.f=R=function(A){return A===k||A===a?new i(A):J(A)},s||"function"!=typeof d||(o=d.prototype.then,l(d.prototype,"then",(function(A,t){var e=this;return new k((function(A,t){o.call(e,A,t)})).then(A,t)}),{unsafe:!0}),"function"==typeof F&&r({global:!0,enumerable:!0,forced:!0},{fetch:function(A){return x(k,F.apply(c,arguments))}}))),r({global:!0,wrap:!0,forced:W},{Promise:k}),f(k,Y,!1,!0),v(Y),a=u(Y),r({target:Y,stat:!0,forced:W},{reject:function(A){var t=R(this);return t.reject.call(void 0,A),t.promise}}),r({target:Y,stat:!0,forced:s||W},{resolve:function(A){return x(s&&this===a?k:this,A)}}),r({target:Y,stat:!0,forced:_},{all:function(A){var t=this,e=R(t),n=e.resolve,i=e.reject,a=N((function(){var e=I(t.resolve),a=[],o=0,r=1;E(A,(function(A){var s=o++,c=!1;a.push(void 0),r++,e.call(t,A).then((function(A){c||(c=!0,a[s]=A,--r||n(a))}),i)})),--r||n(a)}));return a.error&&i(a.value),e.promise},race:function(A){var t=this,e=R(t),n=e.reject,i=N((function(){var i=I(t.resolve);E(A,(function(A){i.call(t,A).then(e.resolve,n)}))}));return i.error&&n(i.value),e.promise}})},664:function(A,t,e){var n=e(2);A.exports=n.Promise},665:function(A,t,e){var n=e(6),i=e(107),a=e(1)("species");A.exports=function(A,t){var e,o=n(A).constructor;return void 0===o||null==(e=n(o)[a])?t:i(e)}},666:function(A,t,e){var n,i,a,o,r,s,c,u,d=e(2),l=e(54).f,g=e(19),f=e(375).set,v=e(376),M=d.MutationObserver||d.WebKitMutationObserver,I=d.process,p=d.Promise,m="process"==g(I),b=l(d,"queueMicrotask"),E=b&&b.value;E||(n=function(){var A,t;for(m&&(A=I.domain)&&A.exit();i;){t=i.fn,i=i.next;try{t()}catch(A){throw i?o():a=void 0,A}}a=void 0,A&&A.enter()},m?o=function(){I.nextTick(n)}:M&&!v?(r=!0,s=document.createTextNode(""),new M(n).observe(s,{characterData:!0}),o=function(){s.data=r=!r}):p&&p.resolve?(c=p.resolve(void 0),u=c.then,o=function(){u.call(c,n)}):o=function(){f.call(d,n)}),A.exports=E||function(A){var t={fn:A,next:void 0};a&&(a.next=t),i||(i=t,o()),a=t}},667:function(A,t,e){var n=e(6),i=e(5),a=e(377);A.exports=function(A,t){if(n(A),i(t)&&t.constructor===A)return t;var e=a.f(A);return(0,e.resolve)(t),e.promise}},668:function(A,t,e){var n=e(2);A.exports=function(A,t){var e=n.console;e&&e.error&&(1===arguments.length?e.error(A):e.error(A,t))}},669:function(A,t){A.exports=function(A){try{return{error:!1,value:A()}}catch(A){return{error:!0,value:A}}}},670:function(A,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCapabilities=function(){try{return(0,n.loadState)("core","capabilities")}catch(A){return console.debug("Could not find capabilities initial state fall back to _oc_capabilities"),"_oc_capabilities"in window?window._oc_capabilities:{}}};var n=e(48)},671:function(A,t,e){var n,i,a,o,r;n=e(672),i=e(378).utf8,a=e(673),o=e(378).bin,(r=function A(t,e){t.constructor==String?t=e&&"binary"===e.encoding?o.stringToBytes(t):i.stringToBytes(t):a(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||t.constructor===Uint8Array||(t=t.toString());for(var r=n.bytesToWords(t),s=8*t.length,c=1732584193,u=-271733879,d=-1732584194,l=271733878,g=0;g>>24)|4278255360&(r[g]<<24|r[g]>>>8);r[s>>>5]|=128<>>9<<4)]=s;var f=A._ff,v=A._gg,M=A._hh,I=A._ii;for(g=0;g>>0,u=u+m>>>0,d=d+b>>>0,l=l+E>>>0}return n.endian([c,u,d,l])})._ff=function(A,t,e,n,i,a,o){var r=A+(t&e|~t&n)+(i>>>0)+o;return(r<>>32-a)+t},r._gg=function(A,t,e,n,i,a,o){var r=A+(t&n|e&~n)+(i>>>0)+o;return(r<>>32-a)+t},r._hh=function(A,t,e,n,i,a,o){var r=A+(t^e^n)+(i>>>0)+o;return(r<>>32-a)+t},r._ii=function(A,t,e,n,i,a,o){var r=A+(e^(t|~n))+(i>>>0)+o;return(r<>>32-a)+t},r._blocksize=16,r._digestsize=16,A.exports=function(A,t){if(null==A)throw new Error("Illegal argument "+A);var e=n.wordsToBytes(r(A,t));return t&&t.asBytes?e:t&&t.asString?o.bytesToString(e):n.bytesToHex(e)}},672:function(A,t){var e,n;e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(A,t){return A<>>32-t},rotr:function(A,t){return A<<32-t|A>>>t},endian:function(A){if(A.constructor==Number)return 16711935&n.rotl(A,8)|4278255360&n.rotl(A,24);for(var t=0;t0;A--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(A){for(var t=[],e=0,n=0;e>>5]|=A[e]<<24-n%32;return t},wordsToBytes:function(A){for(var t=[],e=0;e<32*A.length;e+=8)t.push(A[e>>>5]>>>24-e%32&255);return t},bytesToHex:function(A){for(var t=[],e=0;e>>4).toString(16)),t.push((15&A[e]).toString(16));return t.join("")},hexToBytes:function(A){for(var t=[],e=0;e>>6*(3-a)&63)):t.push("=");return t.join("")},base64ToBytes:function(A){A=A.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],n=0,i=0;n>>6-2*i);return t}},A.exports=n},673:function(A,t){function e(A){return!!A.constructor&&"function"==typeof A.constructor.isBuffer&&A.constructor.isBuffer(A)} /*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT */ A.exports=function(A){return null!=A&&(e(A)||function(A){return"function"==typeof A.readFloatLE&&"function"==typeof A.slice&&e(A.slice(0,0))}(A)||!!A._isBuffer)}},674:function(A,t,e){"use strict";var n=e(10),i=e(36),a=e(20),o=e(70),r=[].join,s=i!=Object,c=o("join",",");n({target:"Array",proto:!0,forced:s||!c},{join:function(A){return r.call(a(this),void 0===A?",":A)}})},675:function(A,t,e){"use strict";var n=e(10),i=e(66).includes,a=e(119);n({target:"Array",proto:!0,forced:!e(30)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(A){return i(this,A,arguments.length>1?arguments[1]:void 0)}}),a("includes")},676:function(A,t,e){"use strict";var n=e(126),i=e(6),a=e(15),o=e(24),r=e(127),s=e(128);n("match",1,(function(A,t,e){return[function(t){var e=o(this),n=null==t?void 0:t[A];return void 0!==n?n.call(t,e):new RegExp(t)[A](String(e))},function(A){var n=e(t,A,this);if(n.done)return n.value;var o=i(A),c=String(this);if(!o.global)return s(o,c);var u=o.unicode;o.lastIndex=0;for(var d,l=[],g=0;null!==(d=s(o,c));){var f=String(d[0]);l[g]=f,""===f&&(o.lastIndex=r(c,a(o.lastIndex),u)),g++}return 0===g?null:l}]}))}}]); //# sourceMappingURL=vendors~editor-collab~editor-guest.js.map?v=b3df4da38fe4a6f0b74c