From 7820e836992c2442c896591dc15848e6f0478ec7 Mon Sep 17 00:00:00 2001 From: Gary Kim Date: Fri, 12 Jun 2020 20:29:36 +0800 Subject: [PATCH] Add user input for link share labels Signed-off-by: Gary Kim --- .../js/dist/files_sharing_tab.js | 2 +- .../lib/Controller/ShareAPIController.php | 3 ++ .../src/components/SharingEntryLink.vue | 50 ++++++++++++++++++- apps/files_sharing/src/mixins/SharesMixin.js | 1 + apps/files_sharing/src/models/Share.js | 26 ++++++++-- 5 files changed, 76 insertions(+), 6 deletions(-) diff --git a/apps/files_sharing/js/dist/files_sharing_tab.js b/apps/files_sharing/js/dist/files_sharing_tab.js index dfaffceab3c67..d6805448ca151 100644 --- a/apps/files_sharing/js/dist/files_sharing_tab.js +++ b/apps/files_sharing/js/dist/files_sharing_tab.js @@ -1 +1 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/js/",n(n.s=313)}([function(e,t,n){var r=n(2),o=n(80),i=n(4),a=n(57),s=n(82),c=n(141),l=o("wks"),A=r.Symbol,u=c?A:A&&A.withoutSetter||a;e.exports=function(e){return i(l,e)||(s&&i(A,e)?l[e]=A[e]:l[e]=u("Symbol."+e)),l[e]}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(18))},function(e,t,n){var r=n(6);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(2),o=n(49).f,i=n(13),a=n(11),s=n(67),c=n(142),l=n(60);e.exports=function(e,t){var n,A,u,d,p,f=e.target,m=e.global,h=e.stat;if(n=m?r:h?r[f]||s(f,{}):(r[f]||{}).prototype)for(A in t){if(d=t[A],u=e.noTargetGet?(p=o(n,A))&&p.value:n[A],!l(m?A:f+(h?".":"#")+A,e.forced)&&void 0!==u){if(typeof d==typeof u)continue;c(d,u)}(e.sham||u&&u.sham)&&i(d,"sham",!0),a(n,A,d,e)}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";var r=n(128),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function c(e){return"[object Function]"===o.call(e)}function l(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return i(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function f(e){return null==e?"":Array.isArray(e)||A(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o-1)return e.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function b(e,t){return y.call(e,t)}function x(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var w=/-(\w)/g,M=x((function(e){return e.replace(w,(function(e,t){return t?t.toUpperCase():""}))})),T=x((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),E=/\B([A-Z])/g,C=x((function(e){return e.replace(E,"-$1").toLowerCase()}));var I=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function S(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function _(e,t){for(var n in t)e[n]=t[n];return e}function B(e){for(var t={},n=0;n0,X=V&&V.indexOf("edge/")>0,$=(V&&V.indexOf("android"),V&&/iphone|ipad|ipod|ios/.test(V)||"ios"===W),q=(V&&/chrome\/\d+/.test(V),V&&/phantomjs/.test(V),V&&V.match(/firefox\/(\d+)/)),ee={}.watch,te=!1;if(H)try{var ne={};Object.defineProperty(ne,"passive",{get:function(){te=!0}}),window.addEventListener("test-passive",null,ne)}catch(e){}var re=function(){return void 0===F&&(F=!H&&!Z&&void 0!==e&&(e.process&&"server"===e.process.env.VUE_ENV)),F},oe=H&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ie(e){return"function"==typeof e&&/native code/.test(e.toString())}var ae,se="undefined"!=typeof Symbol&&ie(Symbol)&&"undefined"!=typeof Reflect&&ie(Reflect.ownKeys);ae="undefined"!=typeof Set&&ie(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ce=N,le=0,Ae=function(){this.id=le++,this.subs=[]};Ae.prototype.addSub=function(e){this.subs.push(e)},Ae.prototype.removeSub=function(e){v(this.subs,e)},Ae.prototype.depend=function(){Ae.target&&Ae.target.addDep(this)},Ae.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(i&&!b(o,"default"))a=!1;else if(""===a||a===C(e)){var c=Ge(String,o.type);(c<0||s0&&(At((c=e(c,(n||"")+"_"+r))[0])&&At(A)&&(u[l]=ge(A.text+c[0].text),c.shift()),u.push.apply(u,c)):s(c)?At(A)?u[l]=ge(A.text+c):""!==c&&u.push(ge(c)):At(c)&&At(A)?u[l]=ge(A.text+c.text):(a(t._isVList)&&i(c.tag)&&o(c.key)&&i(n)&&(c.key="__vlist"+n+"_"+r+"__"),u.push(c)));return u}(e):void 0}function At(e){return i(e)&&i(e.text)&&!1===e.isComment}function ut(e,t){if(e){for(var n=Object.create(null),r=se?Reflect.ownKeys(e):Object.keys(e),o=0;o0,a=e?!!e.$stable:!i,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==r&&s===n.$key&&!i&&!n.$hasNormal)return n;for(var c in o={},e)e[c]&&"$"!==c[0]&&(o[c]=mt(t,c,e[c]))}else o={};for(var l in t)l in o||(o[l]=ht(t,l));return e&&Object.isExtensible(e)&&(e._normalized=o),G(o,"$stable",a),G(o,"$key",s),G(o,"$hasNormal",i),o}function mt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:lt(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function ht(e,t){return function(){return e[t]}}function gt(e,t){var n,r,o,a,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,o=e.length;rdocument.createEvent("Event").timeStamp&&(cn=function(){return ln.now()})}function An(){var e,t;for(sn=cn(),on=!0,en.sort((function(e,t){return e.id-t.id})),an=0;anan&&en[n].id>e.id;)n--;en.splice(n+1,0,e)}else en.push(e);rn||(rn=!0,tt(An))}}(this)},dn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||c(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Ye(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},dn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},dn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},dn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var pn={enumerable:!0,configurable:!0,get:N,set:N};function fn(e,t,n){pn.get=function(){return this[t][n]},pn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,pn)}function mn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[];e.$parent&&Me(!1);var i=function(i){o.push(i);var a=Re(i,t,n,e);Ce(r,i,a),i in e||fn(e,"_props",i)};for(var a in t)i(a);Me(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?N:I(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;A(t=e._data="function"==typeof t?function(e,t){de();try{return e.call(t,t)}catch(e){return Ye(e,t,"data()"),{}}finally{pe()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,o=(e.$options.methods,n.length);for(;o--;){var i=n[o];0,r&&b(r,i)||(a=void 0,36!==(a=(i+"").charCodeAt(0))&&95!==a&&fn(e,"_data",i))}var a;Ee(t,!0)}(e):Ee(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=re();for(var o in t){var i=t[o],a="function"==typeof i?i:i.get;0,r||(n[o]=new dn(e,a||N,N,hn)),o in e||gn(e,o,i)}}(e,t.computed),t.watch&&t.watch!==ee&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!u(e)&&e.test(t)}function In(e,t){var n=e.cache,r=e.keys,o=e._vnode;for(var i in n){var a=n[i];if(a){var s=En(a.componentOptions);s&&!t(s)&&Sn(n,i,r,o)}}}function Sn(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,v(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=xn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Pe(wn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Vt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,o=n&&n.context;e.$slots=dt(t._renderChildren,o),e.$scopedSlots=r,e._c=function(t,n,r,o){return Qt(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return Qt(e,t,n,r,o,!0)};var i=n&&n.data;Ce(e,"$attrs",i&&i.attrs||r,null,!0),Ce(e,"$listeners",t._parentListeners||r,null,!0)}(t),qt(t,"beforeCreate"),function(e){var t=ut(e.$options.inject,e);t&&(Me(!1),Object.keys(t).forEach((function(n){Ce(e,n,t[n])})),Me(!0))}(t),mn(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),qt(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(Mn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Ie,e.prototype.$delete=Se,e.prototype.$watch=function(e,t,n){if(A(t))return bn(this,e,t,n);(n=n||{}).user=!0;var r=new dn(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){Ye(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(Mn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var o=0,i=e.length;o1?S(n):n;for(var r=S(arguments,1),o='event handler for "'+e+'"',i=0,a=n.length;iparseInt(this.max)&&Sn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return Q}};Object.defineProperty(e,"config",t),e.util={warn:ce,extend:_,mergeOptions:Pe,defineReactive:Ce},e.set=Ie,e.delete=Se,e.nextTick=tt,e.observable=function(e){return Ee(e),e},e.options=Object.create(null),j.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,_(e.options.components,Bn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=S(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Pe(this.options,e),this}}(e),Tn(e),function(e){j.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&A(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}(Mn),Object.defineProperty(Mn.prototype,"$isServer",{get:re}),Object.defineProperty(Mn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Mn,"FunctionalRenderContext",{value:kt}),Mn.version="2.6.11";var Nn=h("style,class"),kn=h("input,textarea,option,select,progress"),Dn=h("contenteditable,draggable,spellcheck"),Ln=h("events,caret,typing,plaintext-only"),On=h("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Pn="http://www.w3.org/1999/xlink",jn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Rn=function(e){return jn(e)?e.slice(6,e.length):""},Qn=function(e){return null==e||!1===e};function Un(e){for(var t=e.data,n=e,r=e;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Gn(r.data,t));for(;i(n=n.parent);)n&&n.data&&(t=Gn(t,n.data));return function(e,t){if(i(e)||i(t))return Yn(e,Fn(t));return""}(t.staticClass,t.class)}function Gn(e,t){return{staticClass:Yn(e.staticClass,t.staticClass),class:i(e.class)?[e.class,t.class]:t.class}}function Yn(e,t){return e?t?e+" "+t:e:t||""}function Fn(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,o=e.length;r-1?dr(e,t,n):On(t)?Qn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Dn(t)?e.setAttribute(t,function(e,t){return Qn(t)||"false"===t?"false":"contenteditable"===e&&Ln(t)?t:"true"}(t,n)):jn(t)?Qn(n)?e.removeAttributeNS(Pn,Rn(t)):e.setAttributeNS(Pn,t,n):dr(e,t,n)}function dr(e,t,n){if(Qn(n))e.removeAttribute(t);else{if(J&&!K&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var pr={create:Ar,update:Ar};function fr(e,t){var n=t.elm,r=t.data,a=e.data;if(!(o(r.staticClass)&&o(r.class)&&(o(a)||o(a.staticClass)&&o(a.class)))){var s=Un(t),c=n._transitionClasses;i(c)&&(s=Yn(s,Fn(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var mr,hr={create:fr,update:fr};function gr(e,t,n){var r=mr;return function o(){var i=t.apply(null,arguments);null!==i&&br(e,o,n,r)}}var vr=We&&!(q&&Number(q[1])<=53);function yr(e,t,n,r){if(vr){var o=sn,i=t;t=i._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=o||e.timeStamp<=0||e.target.ownerDocument!==document)return i.apply(this,arguments)}}mr.addEventListener(e,t,te?{capture:n,passive:r}:n)}function br(e,t,n,r){(r||mr).removeEventListener(e,t._wrapper||t,n)}function xr(e,t){if(!o(e.data.on)||!o(t.data.on)){var n=t.data.on||{},r=e.data.on||{};mr=t.elm,function(e){if(i(e.__r)){var t=J?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}i(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(n),at(n,r,yr,br,gr,t.context),mr=void 0}}var wr,Mr={create:xr,update:xr};function Tr(e,t){if(!o(e.data.domProps)||!o(t.data.domProps)){var n,r,a=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(n in i(c.__ob__)&&(c=t.data.domProps=_({},c)),s)n in c||(a[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=r;var l=o(r)?"":String(r);Er(a,l)&&(a.value=l)}else if("innerHTML"===n&&Zn(a.tagName)&&o(a.innerHTML)){(wr=wr||document.createElement("div")).innerHTML=""+r+"";for(var A=wr.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;A.firstChild;)a.appendChild(A.firstChild)}else if(r!==s[n])try{a[n]=r}catch(e){}}}}function Er(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(i(r)){if(r.number)return m(n)!==m(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var Cr={create:Tr,update:Tr},Ir=x((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function Sr(e){var t=_r(e.style);return e.staticStyle?_(e.staticStyle,t):t}function _r(e){return Array.isArray(e)?B(e):"string"==typeof e?Ir(e):e}var Br,Nr=/^--/,kr=/\s*!important$/,Dr=function(e,t,n){if(Nr.test(t))e.style.setProperty(t,n);else if(kr.test(n))e.style.setProperty(C(t),n.replace(kr,""),"important");else{var r=Or(t);if(Array.isArray(n))for(var o=0,i=n.length;o-1?t.split(Rr).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Ur(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Rr).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Gr(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&_(t,Yr(e.name||"v")),_(t,e),t}return"string"==typeof e?Yr(e):void 0}}var Yr=x((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Fr=H&&!K,zr="transition",Hr="transitionend",Zr="animation",Wr="animationend";Fr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(zr="WebkitTransition",Hr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Zr="WebkitAnimation",Wr="webkitAnimationEnd"));var Vr=H?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Jr(e){Vr((function(){Vr(e)}))}function Kr(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Qr(e,t))}function Xr(e,t){e._transitionClasses&&v(e._transitionClasses,t),Ur(e,t)}function $r(e,t,n){var r=eo(e,t),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s="transition"===o?Hr:Wr,c=0,l=function(){e.removeEventListener(s,A),n()},A=function(t){t.target===e&&++c>=a&&l()};setTimeout((function(){c0&&(n="transition",A=a,u=i.length):"animation"===t?l>0&&(n="animation",A=l,u=c.length):u=(n=(A=Math.max(a,l))>0?a>l?"transition":"animation":null)?"transition"===n?i.length:c.length:0,{type:n,timeout:A,propCount:u,hasTransform:"transition"===n&&qr.test(r[zr+"Property"])}}function to(e,t){for(;e.length1}function so(e,t){!0!==t.data.show&&ro(t)}var co=function(e){var t,n,r={},c=e.modules,l=e.nodeOps;for(t=0;tf?y(e,o(n[g+1])?null:n[g+1].elm,n,p,g,r):p>g&&x(t,d,f)}(d,h,g,n,A):i(g)?(i(e.text)&&l.setTextContent(d,""),y(d,null,g,0,g.length-1,n)):i(h)?x(h,0,h.length-1):i(e.text)&&l.setTextContent(d,""):e.text!==t.text&&l.setTextContent(d,t.text),i(f)&&i(p=f.hook)&&i(p=p.postpatch)&&p(e,t)}}}function E(e,t,n){if(a(n)&&i(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r-1,a.selected!==i&&(a.selected=i);else if(L(fo(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}}function po(e,t){return t.every((function(t){return!L(t,e)}))}function fo(e){return"_value"in e?e._value:e.value}function mo(e){e.target.composing=!0}function ho(e){e.target.composing&&(e.target.composing=!1,go(e.target,"input"))}function go(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function vo(e){return!e.componentInstance||e.data&&e.data.transition?e:vo(e.componentInstance._vnode)}var yo={model:lo,show:{bind:function(e,t,n){var r=t.value,o=(n=vo(n)).data&&n.data.transition,i=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&o?(n.data.show=!0,ro(n,(function(){e.style.display=i}))):e.style.display=r?i:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=vo(n)).data&&n.data.transition?(n.data.show=!0,r?ro(n,(function(){e.style.display=e.__vOriginalDisplay})):oo(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,o){o||(e.style.display=e.__vOriginalDisplay)}}},bo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function xo(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?xo(zt(t.children)):e}function wo(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var o=n._parentListeners;for(var i in o)t[M(i)]=o[i];return t}function Mo(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var To=function(e){return e.tag||Ft(e)},Eo=function(e){return"show"===e.name},Co={name:"transition",props:bo,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(To)).length){0;var r=this.mode;0;var o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var i=xo(o);if(!i)return o;if(this._leaving)return Mo(e,o);var a="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?a+"comment":a+i.tag:s(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var c=(i.data||(i.data={})).transition=wo(this),l=this._vnode,A=xo(l);if(i.data.directives&&i.data.directives.some(Eo)&&(i.data.show=!0),A&&A.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(i,A)&&!Ft(A)&&(!A.componentInstance||!A.componentInstance._vnode.isComment)){var u=A.data.transition=_({},c);if("out-in"===r)return this._leaving=!0,st(u,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),Mo(e,o);if("in-out"===r){if(Ft(i))return l;var d,p=function(){d()};st(c,"afterEnter",p),st(c,"enterCancelled",p),st(u,"delayLeave",(function(e){d=e}))}}return o}}},Io=_({tag:String,moveClass:String},bo);function So(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function _o(e){e.data.newPos=e.elm.getBoundingClientRect()}function Bo(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,o=t.top-n.top;if(r||o){e.data.moved=!0;var i=e.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}delete Io.mode;var No={Transition:Co,TransitionGroup:{props:Io,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var o=Kt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,o(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=wo(this),s=0;s-1?Vn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Vn[e]=/HTMLUnknownElement/.test(t.toString())},_(Mn.options.directives,yo),_(Mn.options.components,No),Mn.prototype.__patch__=H?co:N,Mn.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=he),qt(e,"beforeMount"),r=function(){e._update(e._render(),n)},new dn(e,r,N,{before:function(){e._isMounted&&!e._isDestroyed&&qt(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,qt(e,"mounted")),e}(this,e=e&&H?function(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}(e):void 0,t)},H&&setTimeout((function(){Q.devtools&&oe&&oe.emit("init",Mn)}),0),t.default=Mn}.call(this,n(18),n(171).setImmediate)},function(e,t,n){"use strict";n(59),n(147),n(19),n(20),n(32),n(26),Object.defineProperty(t,"__esModule",{value:!0}),t.getRootUrl=t.generateFilePath=t.imagePath=t.generateUrl=t.generateOcsUrl=t.generateRemoteUrl=t.linkTo=void 0;t.linkTo=function(e,t){return r(e,"",t)};t.generateRemoteUrl=function(e){return window.location.protocol+"//"+window.location.host+function(e){return o()+"/remote.php/"+e}(e)};t.generateOcsUrl=function(e,t){return t=2!==t?1:2,window.location.protocol+"//"+window.location.host+o()+"/ocs/v"+t+".php/"+e+"/"};t.generateUrl=function(e,t,n){var r=Object.assign({escape:!0,noRewrite:!1},n||{}),i=function(e,t){return t=t||{},e.replace(/{([^{}]*)}/g,(function(e,n){var o=t[n];return r.escape?"string"==typeof o||"number"==typeof o?encodeURIComponent(o.toString()):encodeURIComponent(e):"string"==typeof o||"number"==typeof o?o.toString():e}))};return"/"!==e.charAt(0)&&(e="/"+e),!0!==OC.config.modRewriteWorking||r.noRewrite?o()+"/index.php"+i(e,t||{}):o()+i(e,t||{})};t.imagePath=function(e,t){return-1===t.indexOf(".")?r(e,"img",t+".svg"):r(e,"img",t)};var r=function(e,t,n){var r=-1!==OC.coreApps.indexOf(e),i=o();return"php"!==n.substring(n.length-3)||r?"php"===n.substring(n.length-3)||r?(i+="settings"!==e&&"core"!==e&&"search"!==e||"ajax"!==t?"/":"/index.php/",r||(i+="apps/"),""!==e&&(i+=e+="/"),t&&(i+=t+"/"),i+=n):(i=OC.appswebroots[e],t&&(i+="/"+t+"/"),"/"!==i.substring(i.length-1)&&(i+="/"),i+=n):(i+="/index.php/apps/"+e,"index.php"!==n&&(i+="/",t&&(i+=encodeURI(t+"/")),i+=n)),i};t.generateFilePath=r;var o=function(){return OC.webroot};t.getRootUrl=o},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(18))},function(e,t,n){var r=n(41),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(66),o=n(11),i=n(170);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(e,t,n){"use strict";var r=n(5),o=n(61);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){var r=n(24);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r,o,i,a=n(169),s=n(2),c=n(6),l=n(13),A=n(4),u=n(58),d=n(40),p=s.WeakMap;if(a){var f=new p,m=f.get,h=f.has,g=f.set;r=function(e,t){return g.call(f,e,t),t},o=function(e){return m.call(f,e)||{}},i=function(e){return h.call(f,e)}}else{var v=u("state");d[v]=!0,r=function(e,t){return l(e,v,t),t},o=function(e){return A(e,v)?e[v]:{}},i=function(e){return A(e,v)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(50),o=n(24);e.exports=function(e){return r(o(e))}},function(e,t,n){"use strict";var r=n(91),o=n(3),i=n(21),a=n(17),s=n(41),c=n(24),l=n(104),A=n(93),u=Math.max,d=Math.min,p=Math.floor,f=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n,r){var h=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=r.REPLACE_KEEPS_$0,v=h?"$":"$0";return[function(n,r){var o=c(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!h&&g||"string"==typeof r&&-1===r.indexOf(v)){var i=n(t,e,this,r);if(i.done)return i.value}var c=o(e),p=String(this),f="function"==typeof r;f||(r=String(r));var m=c.global;if(m){var b=c.unicode;c.lastIndex=0}for(var x=[];;){var w=A(c,p);if(null===w)break;if(x.push(w),!m)break;""===String(w[0])&&(c.lastIndex=l(p,a(c.lastIndex),b))}for(var M,T="",E=0,C=0;C=E&&(T+=p.slice(E,S)+D,E=S+I.length)}return T+p.slice(E)}];function y(e,n,r,o,a,s){var c=r+e.length,l=o.length,A=m;return void 0!==a&&(a=i(a),A=f),t.call(s,A,(function(t,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(c);case"<":s=a[i.slice(1,-1)];break;default:var A=+i;if(0===A)return t;if(A>l){var u=p(A/10);return 0===u?t:u<=l?void 0===o[u-1]?i.charAt(1):o[u-1]+i.charAt(1):t}s=o[A-1]}return void 0===s?"":s}))}}))},function(e,t,n){"use strict";var r=n(25),o=n(175),i=n(33),a=n(22),s=n(75),c=a.set,l=a.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(e,t){c(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t,n){var r=n(143),o=n(2),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t){e.exports=!1},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(8),o=n(1),i=n(4),a=Object.defineProperty,s={},c=function(e){throw e};e.exports=function(e,t){if(i(s,e))return s[e];t||(t={});var n=[][e],l=!!i(t,"ACCESSORS")&&t.ACCESSORS,A=i(t,0)?t[0]:c,u=i(t,1)?t[1]:void 0;return s[e]=!!n&&!o((function(){if(l&&!r)return!0;var e={length:-1};l?a(e,1,{enumerable:!0,get:c}):e[1]=1,n.call(e,A,u)}))}},function(e,t,n){"use strict";var r=n(11),o=n(3),i=n(1),a=n(87),s=RegExp.prototype,c=s.toString,l=i((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),A="toString"!=c.name;(l||A)&&r(RegExp.prototype,"toString",(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in s)?a.call(e):n)}),{unsafe:!0})},function(e,t){e.exports={}},function(e,t,n){var r=n(9).f,o=n(4),i=n(0)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){"use strict";var r=n(92).charAt,o=n(22),i=n(75),a=o.set,s=o.getterFor("String Iterator");i(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=s(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(37);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=53)}([function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):o&&(c=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var A=l.render;l.render=function(e,t){return c.call(t),A(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,c):[c]}return{exports:e,options:l}}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r,o,i=e[1]||"",a=e[3];if(!a)return i;if(t&&"function"==typeof btoa){var s=(n=a,r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),"/*# ".concat(o," */")),c=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[i].concat(c).concat([s]).join("\n")}return[i].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;in.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o
'),r.VTooltip.options.defaultHtml=!1,t.default=r.VTooltip},function(e,t){e.exports=n(173)},function(e,t){e.exports=n(59)},,,function(e,t){e.exports=n(27)},function(e,t){e.exports=n(35)},function(e,t){e.exports=n(44)},function(e,t){e.exports=n(20)},function(e,t){e.exports=n(145)},function(e,t){e.exports=n(32)},function(e,t){e.exports=n(76)},function(e,t){e.exports=n(63)},,,,,function(e,t){e.exports=n(26)},,,function(e,t){e.exports=n(96)},function(e,t,n){var r=n(73);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("1f2ec49f",r,!0,{})},function(e,t,n){var r=n(75);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("9c561116",r,!0,{})},function(e,t,n){var r=n(77);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("93093140",r,!0,{})},,,function(e,t,n){var r=n(87);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("2e9b7708",r,!0,{})},function(e,t,n){var r=n(41);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("941c791e",r,!0,{})},function(e,t,n){(t=n(1)(!1)).push([e.i,".vue-tooltip[data-v-e1f55ce]{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;white-space:normal;text-decoration:none;letter-spacing:normal;word-spacing:normal;text-transform:none;word-wrap:normal;word-break:normal;opacity:0;text-shadow:none;font-family:'Nunito', 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;font-size:12px;font-weight:normal;font-style:normal;line-height:1.6;line-break:auto;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.vue-tooltip[data-v-e1f55ce][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-e1f55ce][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-e1f55ce][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-e1f55ce][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-e1f55ce][aria-hidden='true']{visibility:hidden;transition:opacity .15s, visibility .15s;opacity:0}.vue-tooltip[data-v-e1f55ce][aria-hidden='false']{visibility:visible;transition:opacity .15s;opacity:1}.vue-tooltip[data-v-e1f55ce] .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-e1f55ce] .tooltip-arrow{position:absolute;z-index:1;width:0;height:0;margin:0;border-style:solid;border-color:var(--color-main-background)}\n",""]),e.exports=t},function(e,t){},,,,,,,function(e,t,n){"use strict";function r(e,t,n){this.r=e,this.g=t,this.b=n}function o(e,t,n){var o=[];o.push(t);for(var i=function(e,t){var n=new Array(3);return n[0]=(t[1].r-t[0].r)/e,n[1]=(t[1].g-t[0].g)/e,n[2]=(t[1].b-t[0].b)/e,n}(e,[t,n]),a=1;a-1:e.item.model},on:{change:[function(t){var n=e.item.model,r=t.target,o=!!r.checked;if(Array.isArray(n)){var i=e._i(n,null);r.checked?i<0&&e.$set(e.item,"model",n.concat([null])):i>-1&&e.$set(e.item,"model",n.slice(0,i).concat(n.slice(i+1)))}else e.$set(e.item,"model",o)},e.item.action]}}):"radio"===e.item.input?n("input",{directives:[{name:"model",rawName:"v-model",value:e.item.model,expression:"item.model"}],class:e.item.input,attrs:{id:e.key,type:"radio"},domProps:{checked:e._q(e.item.model,null)},on:{change:[function(t){return e.$set(e.item,"model",null)},e.item.action]}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.item.model,expression:"item.model"}],class:e.item.input,attrs:{id:e.key,type:e.item.input},domProps:{value:e.item.model},on:{change:e.item.action,input:function(t){t.target.composing||e.$set(e.item,"model",t.target.value)}}}),e._v(" "),n("label",{attrs:{for:e.key},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.item.action(t)}}},[e._v("\n\t\t\t\t"+e._s(e.item.text)+"\n\t\t\t")])]],2):e.item.action?n("button",{staticClass:"menuitem focusable",class:{active:e.item.active},attrs:{disabled:e.item.disabled},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.item.action(t)}}},[n("span",{class:e.item.icon}),e._v(" "),e.item.text&&e.item.longtext?n("p",[n("strong",{staticClass:"menuitem-text"},[e._v("\n\t\t\t\t"+e._s(e.item.text)+"\n\t\t\t")]),n("br"),e._v(" "),n("span",{staticClass:"menuitem-text-detail"},[e._v("\n\t\t\t\t"+e._s(e.item.longtext)+"\n\t\t\t")])]):e.item.text?n("span",[e._v("\n\t\t\t"+e._s(e.item.text)+"\n\t\t")]):e.item.longtext?n("p",[e._v("\n\t\t\t"+e._s(e.item.longtext)+"\n\t\t")]):e._e()]):n("span",{staticClass:"menuitem",class:{active:e.item.active}},[n("span",{class:e.item.icon}),e._v(" "),e.item.text&&e.item.longtext?n("p",[n("strong",{staticClass:"menuitem-text"},[e._v("\n\t\t\t\t"+e._s(e.item.text)+"\n\t\t\t")]),n("br"),e._v(" "),n("span",{staticClass:"menuitem-text-detail"},[e._v("\n\t\t\t\t"+e._s(e.item.longtext)+"\n\t\t\t")])]):e.item.text?n("span",[e._v("\n\t\t\t"+e._s(e.item.text)+"\n\t\t")]):e.item.longtext?n("p",[e._v("\n\t\t\t"+e._s(e.item.longtext)+"\n\t\t")]):e._e()])])}),[],!1,null,"75ab886e",null).exports},props:{menu:{type:Array,default:function(){return[{href:"https://nextcloud.com",icon:"icon-links",text:"Nextcloud"}]},required:!0}}},a=(n(76),n(42)),s=n.n(a),c=Object(o.a)(i,(function(){var e=this.$createElement,t=this._self._c||e;return t("ul",this._l(this.menu,(function(e,n){return t("PopoverMenuItem",{key:n,attrs:{item:e}})})),1)}),[],!1,null,"81c2afc0",null);"function"==typeof s.a&&s()(c);var l=c.exports;t.default=l},function(e,t){e.exports=n(12)},function(e,t,n){"use strict";n.r(t),n(25),n(71),n(22),n(33),n(4),n(68),n(69);var r=n(14),o=n(51),i=n(52),a=n.n(i),s=n(13),c=(n(21),n(85),n(30),n(63)),l=n.n(c),A=n(49);function u(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){u(i,r,o,a,s,"next",e)}function s(e){u(i,r,o,a,s,"throw",e)}a(void 0)}))}}var p={name:"Avatar",directives:{tooltip:s.default,ClickOutside:r.directive},components:{PopoverMenu:o.default},props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,default:void 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(e){switch(e){case"positive":case"negative":case"neutral":return!0}return!1}},statusColor:{type:[Number,String],default:null,validator:function(e){return/^([a-f0-9]{3}){1,2}$/i.test(e)}},menuPosition:{type:String,default:"center"}},data:function(){return{avatarUrlLoaded:null,avatarSrcSetLoaded:null,userDoesNotExist:!1,isAvatarLoaded:!1,isMenuLoaded:!1,contactsMenuActions:[],contactsMenuOpenState:!1}},computed:{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(){return!this.disableMenu&&(this.isMenuLoaded?this.menu.length>0:!(this.user===OC.getCurrentUser().uid||this.userDoesNotExist||this.url))},shouldShowPlaceholder:function(){return this.allowPlaceholder&&this.userDoesNotExist},avatarStyle:function(){var e={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=function(e){var t=e.toLowerCase();return null===t.match(/^([0-9a-f]{4}-?){8}$/)&&(t=l()(t)),t=t.replace(/[^0-9a-f]/g,""),Object(A.a)(6)[function(e,t){for(var n=0,r=[],o=0;o16,"icon-loading-small":!e.isAvatarLoaded&&e.size<=16,"avatardiv--unknown":e.userDoesNotExist,"avatardiv--with-menu":e.hasMenu},style:e.avatarStyle,on:{click:e.toggleMenu}},[e.iconClass?n("div",{staticClass:"avatar-class-icon",class:e.iconClass}):e.isAvatarLoaded&&!e.userDoesNotExist?n("img",{attrs:{src:e.avatarUrlLoaded,srcset:e.avatarSrcSetLoaded}}):e._e(),e._v(" "),e.hasMenu?n("div",{staticClass:"icon-more"}):e._e(),e._v(" "),e.status?n("div",{staticClass:"avatardiv__status",class:"avatardiv__status--"+e.status,style:{backgroundColor:"#"+e.statusColor}},["neutral"===e.status?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"11",viewBox:"0 0 3.175 2.91"}},[n("path",{style:{fill:"#"+e.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"}})]):e._e()]):e._e(),e._v(" "),e.userDoesNotExist?n("div",{staticClass:"unknown"},[e._v("\n\t\t"+e._s(e.initials)+"\n\t")]):e._e(),e._v(" "),e.hasMenu?n("div",{directives:[{name:"show",rawName:"v-show",value:e.contactsMenuOpenState,expression:"contactsMenuOpenState"}],staticClass:"popovermenu",class:"menu-"+e.menuPosition},[n("PopoverMenu",{attrs:{"is-open":e.contactsMenuOpenState,menu:e.menu}})],1):e._e()])}),[],!1,null,"d7d60d02",null);"function"==typeof h.a&&h()(g);var v=g.exports;t.default=v},,,,,,,,,,function(e,t){e.exports=n(237)},,,,,function(e,t){e.exports=n(239)},function(e,t){e.exports=n(244)},,function(e,t){e.exports=n(229)},function(e,t,n){"use strict";var r=n(34);n.n(r).a},function(e,t,n){(t=n(1)(!1)).push([e.i,"\nbutton.menuitem[data-v-75ab886e] {\n\ttext-align: left;\n}\nbutton.menuitem *[data-v-75ab886e] {\n\tcursor: pointer;\n}\nbutton.menuitem[data-v-75ab886e]:disabled {\n\topacity: 0.5 !important;\n\tcursor: default;\n}\nbutton.menuitem:disabled *[data-v-75ab886e] {\n\tcursor: default;\n}\n.menuitem.active[data-v-75ab886e] {\n\tbox-shadow: inset 2px 0 var(--color-primary);\n\tborder-radius: 0;\n}\n",""]),e.exports=t},function(e,t,n){"use strict";var r=n(35);n.n(r).a},function(e,t,n){(t=n(1)(!1)).push([e.i,"li[data-v-75ab886e]{display:flex;flex:0 0 auto}li.hidden[data-v-75ab886e]{display:none}li>button[data-v-75ab886e],li>a[data-v-75ab886e],li>.menuitem[data-v-75ab886e]{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-75ab886e],li>button span[class*=' icon-'][data-v-75ab886e],li>button[class^='icon-'][data-v-75ab886e],li>button[class*=' icon-'][data-v-75ab886e],li>a span[class^='icon-'][data-v-75ab886e],li>a span[class*=' icon-'][data-v-75ab886e],li>a[class^='icon-'][data-v-75ab886e],li>a[class*=' icon-'][data-v-75ab886e],li>.menuitem span[class^='icon-'][data-v-75ab886e],li>.menuitem span[class*=' icon-'][data-v-75ab886e],li>.menuitem[class^='icon-'][data-v-75ab886e],li>.menuitem[class*=' icon-'][data-v-75ab886e]{min-width:0;min-height:0;background-position:14px center;background-size:16px}li>button span[class^='icon-'][data-v-75ab886e],li>button span[class*=' icon-'][data-v-75ab886e],li>a span[class^='icon-'][data-v-75ab886e],li>a span[class*=' icon-'][data-v-75ab886e],li>.menuitem span[class^='icon-'][data-v-75ab886e],li>.menuitem span[class*=' icon-'][data-v-75ab886e]{padding:22px 0 22px 44px}li>button:not([class^='icon-']):not([class*='icon-'])>span[data-v-75ab886e]:not([class^='icon-']):not([class*='icon-']):first-child,li>button:not([class^='icon-']):not([class*='icon-'])>input[data-v-75ab886e]:not([class^='icon-']):not([class*='icon-']):first-child,li>button:not([class^='icon-']):not([class*='icon-'])>form[data-v-75ab886e]:not([class^='icon-']):not([class*='icon-']):first-child,li>a:not([class^='icon-']):not([class*='icon-'])>span[data-v-75ab886e]:not([class^='icon-']):not([class*='icon-']):first-child,li>a:not([class^='icon-']):not([class*='icon-'])>input[data-v-75ab886e]:not([class^='icon-']):not([class*='icon-']):first-child,li>a:not([class^='icon-']):not([class*='icon-'])>form[data-v-75ab886e]:not([class^='icon-']):not([class*='icon-']):first-child,li>.menuitem:not([class^='icon-']):not([class*='icon-'])>span[data-v-75ab886e]:not([class^='icon-']):not([class*='icon-']):first-child,li>.menuitem:not([class^='icon-']):not([class*='icon-'])>input[data-v-75ab886e]:not([class^='icon-']):not([class*='icon-']):first-child,li>.menuitem:not([class^='icon-']):not([class*='icon-'])>form[data-v-75ab886e]:not([class^='icon-']):not([class*='icon-']):first-child{margin-left:44px}li>button[class^='icon-'][data-v-75ab886e],li>button[class*=' icon-'][data-v-75ab886e],li>a[class^='icon-'][data-v-75ab886e],li>a[class*=' icon-'][data-v-75ab886e],li>.menuitem[class^='icon-'][data-v-75ab886e],li>.menuitem[class*=' icon-'][data-v-75ab886e]{padding:0 14px 0 44px}li>button[data-v-75ab886e]:not(:disabled):hover,li>button[data-v-75ab886e]:not(:disabled):focus,li>button:not(:disabled).active[data-v-75ab886e],li>a[data-v-75ab886e]:not(:disabled):hover,li>a[data-v-75ab886e]:not(:disabled):focus,li>a:not(:disabled).active[data-v-75ab886e],li>.menuitem[data-v-75ab886e]:not(:disabled):hover,li>.menuitem[data-v-75ab886e]:not(:disabled):focus,li>.menuitem:not(:disabled).active[data-v-75ab886e]{opacity:1 !important}li>button.action[data-v-75ab886e],li>a.action[data-v-75ab886e],li>.menuitem.action[data-v-75ab886e]{padding:inherit !important}li>button>span[data-v-75ab886e],li>a>span[data-v-75ab886e],li>.menuitem>span[data-v-75ab886e]{cursor:pointer;white-space:nowrap}li>button>p[data-v-75ab886e],li>a>p[data-v-75ab886e],li>.menuitem>p[data-v-75ab886e]{width:150px;line-height:1.6em;padding:8px 0;white-space:normal}li>button>select[data-v-75ab886e],li>a>select[data-v-75ab886e],li>.menuitem>select[data-v-75ab886e]{margin:0;margin-left:6px}li>button[data-v-75ab886e]:not(:empty),li>a[data-v-75ab886e]:not(:empty),li>.menuitem[data-v-75ab886e]:not(:empty){padding-right:14px !important}li>button>img[data-v-75ab886e],li>a>img[data-v-75ab886e],li>.menuitem>img[data-v-75ab886e]{width:16px;padding:14px}li>button>input.radio+label[data-v-75ab886e],li>button>input.checkbox+label[data-v-75ab886e],li>a>input.radio+label[data-v-75ab886e],li>a>input.checkbox+label[data-v-75ab886e],li>.menuitem>input.radio+label[data-v-75ab886e],li>.menuitem>input.checkbox+label[data-v-75ab886e]{padding:0 !important;width:100%}li>button>input.checkbox+label[data-v-75ab886e]::before,li>a>input.checkbox+label[data-v-75ab886e]::before,li>.menuitem>input.checkbox+label[data-v-75ab886e]::before{margin:-2px 13px 0}li>button>input.radio+label[data-v-75ab886e]::before,li>a>input.radio+label[data-v-75ab886e]::before,li>.menuitem>input.radio+label[data-v-75ab886e]::before{margin:-2px 12px 0}li>button>input[data-v-75ab886e]:not([type=radio]):not([type=checkbox]):not([type=image]),li>a>input[data-v-75ab886e]:not([type=radio]):not([type=checkbox]):not([type=image]),li>.menuitem>input[data-v-75ab886e]:not([type=radio]):not([type=checkbox]):not([type=image]){width:150px}li>button form[data-v-75ab886e],li>a form[data-v-75ab886e],li>.menuitem form[data-v-75ab886e]{display:flex;flex:1 1 auto}li>button form[data-v-75ab886e]:not(:first-child),li>a form[data-v-75ab886e]:not(:first-child),li>.menuitem form[data-v-75ab886e]:not(:first-child){margin-left:5px}li>button>span.hidden+form[data-v-75ab886e],li>button>span[style*='display:none']+form[data-v-75ab886e],li>a>span.hidden+form[data-v-75ab886e],li>a>span[style*='display:none']+form[data-v-75ab886e],li>.menuitem>span.hidden+form[data-v-75ab886e],li>.menuitem>span[style*='display:none']+form[data-v-75ab886e]{margin-left:0}li>button input[data-v-75ab886e],li>a input[data-v-75ab886e],li>.menuitem input[data-v-75ab886e]{min-width:44px;max-height:40px;margin:2px 0;flex:1 1 auto}li>button input[data-v-75ab886e]:not(:first-child),li>a input[data-v-75ab886e]:not(:first-child),li>.menuitem input[data-v-75ab886e]:not(:first-child){margin-left:5px}li:not(.hidden):not([style*='display:none']):first-of-type>button>form[data-v-75ab886e],li:not(.hidden):not([style*='display:none']):first-of-type>button>input[data-v-75ab886e],li:not(.hidden):not([style*='display:none']):first-of-type>a>form[data-v-75ab886e],li:not(.hidden):not([style*='display:none']):first-of-type>a>input[data-v-75ab886e],li:not(.hidden):not([style*='display:none']):first-of-type>.menuitem>form[data-v-75ab886e],li:not(.hidden):not([style*='display:none']):first-of-type>.menuitem>input[data-v-75ab886e]{margin-top:12px}li:not(.hidden):not([style*='display:none']):last-of-type>button>form[data-v-75ab886e],li:not(.hidden):not([style*='display:none']):last-of-type>button>input[data-v-75ab886e],li:not(.hidden):not([style*='display:none']):last-of-type>a>form[data-v-75ab886e],li:not(.hidden):not([style*='display:none']):last-of-type>a>input[data-v-75ab886e],li:not(.hidden):not([style*='display:none']):last-of-type>.menuitem>form[data-v-75ab886e],li:not(.hidden):not([style*='display:none']):last-of-type>.menuitem>input[data-v-75ab886e]{margin-bottom:12px}li>button[data-v-75ab886e]{padding:0}li>button span[data-v-75ab886e]{opacity:1}\n",""]),e.exports=t},function(e,t,n){"use strict";var r=n(36);n.n(r).a},function(e,t,n){(t=n(1)(!1)).push([e.i,"ul[data-v-81c2afc0]{display:flex;flex-direction:column}\n",""]),e.exports=t},,,,,,,,function(e,t){e.exports=n(245)},function(e,t,n){"use strict";var r=n(39);n.n(r).a},function(e,t,n){var r=n(1),o=n(7),i=n(8),a=n(9),s=n(10),c=n(11);t=r(!1);var l=o(i),A=o(a),u=o(s),d=o(c);t.push([e.i,'@font-face{font-family:"iconfont-vue-e1f55ce";src:url('+l+");src:url("+l+') format("embedded-opentype"),url('+A+') format("woff"),url('+u+') format("truetype"),url('+d+') format("svg")}.icon[data-v-d7d60d02]{font-style:normal;font-weight:400}.icon.arrow-left-double[data-v-d7d60d02]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.arrow-left[data-v-d7d60d02]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.arrow-right-double[data-v-d7d60d02]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.arrow-right[data-v-d7d60d02]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.breadcrumb[data-v-d7d60d02]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.checkmark[data-v-d7d60d02]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.close[data-v-d7d60d02]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.confirm[data-v-d7d60d02]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.info[data-v-d7d60d02]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.menu[data-v-d7d60d02]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.more[data-v-d7d60d02]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.pause[data-v-d7d60d02]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.play[data-v-d7d60d02]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.triangle-s[data-v-d7d60d02]:before{font-family:"iconfont-vue-e1f55ce";content:""}.avatardiv[data-v-d7d60d02]{position:relative;display:inline-block}.avatardiv--unknown[data-v-d7d60d02]{position:relative;background-color:var(--color-text-maxcontrast)}.avatardiv--with-menu[data-v-d7d60d02]{cursor:pointer}.avatardiv--with-menu .icon-more[data-v-d7d60d02]{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-d7d60d02]:before{font-family:"iconfont-vue-e1f55ce";font-style:normal;font-weight:400;content:""}.avatardiv--with-menu .icon-more[data-v-d7d60d02]::before{display:block}.avatardiv--with-menu:focus .icon-more[data-v-d7d60d02],.avatardiv--with-menu:hover .icon-more[data-v-d7d60d02]{opacity:1}.avatardiv--with-menu:focus img[data-v-d7d60d02],.avatardiv--with-menu:hover img[data-v-d7d60d02]{opacity:0}.avatardiv--with-menu .icon-more[data-v-d7d60d02],.avatardiv--with-menu img[data-v-d7d60d02]{transition:opacity var(--animation-quick)}.avatardiv>.unknown[data-v-d7d60d02]{position:absolute;top:0;left:0;display:block;width:100%;text-align:center;color:var(--color-main-background)}.avatardiv img[data-v-d7d60d02]{width:100%;height:100%}.avatardiv .avatardiv__status[data-v-d7d60d02]{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-d7d60d02]{border-radius:50%;background-color:var(--color-success)}.avatardiv .avatardiv__status--negative[data-v-d7d60d02]{background-color:var(--color-error)}.avatardiv .avatardiv__status--neutral[data-v-d7d60d02]{border:none;background-color:transparent !important}.avatardiv .avatardiv__status--neutral svg[data-v-d7d60d02]{position:absolute;top:-3px;left:-2px}.avatardiv .avatardiv__status--neutral svg path[data-v-d7d60d02]{fill:#aaa}.avatardiv .popovermenu-wrapper[data-v-d7d60d02]{position:relative;display:inline-block}.avatardiv .popovermenu[data-v-d7d60d02]{display:block;margin:0;font-size:14px}.avatar-class-icon[data-v-d7d60d02]{border-radius:50%;background-color:var(--color-background-darker)}\n',""]),e.exports=t}])},function(e,t){e.exports={}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(73);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r,o=n(3),i=n(149),a=n(70),s=n(40),c=n(150),l=n(81),A=n(58),u=A("IE_PROTO"),d=function(){},p=function(e){return"