nextcloud/apps/updatenotification/js/updatenotification.js

790 lines
830 KiB
JavaScript
Raw Normal View History

!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.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 a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));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=347)}([function(e,t,n){var r=n(2),a=n(23).f,i=n(16),o=n(9),s=n(80),c=n(133),l=n(41);e.exports=function(e,t){var n,u,p,d,f,h=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[h]||s(h,{}):(r[h]||{}).prototype)for(u in t){if(d=t[u],p=e.noTargetGet?(f=a(n,u))&&f.value:n[u],!l(m?u:h+(v?".":"#")+u,e.forced)&&void 0!==p){if(typeof d==typeof p)continue;c(d,p)}(e.sham||p&&p.sham)&&i(d,"sham",!0),o(n,u,d,e)}}},function(e,t,n){var r=n(2),a=n(79),i=n(7),o=n(55),s=n(82),c=n(132),l=a("wks"),u=r.Symbol,p=c?u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(s&&i(u,e)?l[e]=u[e]:l[e]=p("Symbol."+e)),l[e]}},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(11))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(3);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(5);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(4),a=n(131),i=n(6),o=n(36),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=o(t,!0),i(n),a)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(2),a=n(16),i=n(7),o=n(80),s=n(83),c=n(19),l=c.get,u=c.enforce,p=String(String).split("String");(e.exports=function(e,t,n,s){var c=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||a(n,"name",t),u(n).source=p.join("string"==typeof t?t:"")),e!==r?(c?!d&&e[t]&&(l=!0):delete e[t],l?e[t]=n:a(e,t,n)):l?e[t]=n:o(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},function(e,t,n){"use strict";var r=n(173),a=Object.prototype.toString;function i(e){return"[object Array]"===a.call(e)}function o(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function c(e){return"[object Function]"===a.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<r;n++)t.call(null,e[n],n,e);else for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.call(null,e[a],a,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===a.call(e)},isBuffer:function(e){return null!==e&&!o(e)&&null!==e.constructor&&!o(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isUndefined:o,isDate:
/*!
* Vue.js v2.6.11
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
var r=Object.freeze({});function a(e){return null==e}function i(e){return null!=e}function o(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function c(e){return null!==e&&"object"==typeof e}var l=Object.prototype.toString;function u(e){return"[object Object]"===l.call(e)}function p(e){return"[object RegExp]"===l.call(e)}function d(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return i(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function h(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){for(var n=Object.create(null),r=e.split(","),a=0;a<r.length;a++)n[r[a]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}v("slot,component",!0);var g=v("key,ref,slot,slot-scope,is");function b(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var A=Object.prototype.hasOwnProperty;function y(e,t){return A.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,_=x((function(e){return e.replace(w,(function(e,t){return t?t.toUpperCase():""}))})),C=x((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),k=/\B([A-Z])/g,T=x((function(e){return e.replace(k,"-$1").toLowerCase()}));var E=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 M(e,t){for(var n in t)e[n]=t[n];return e}function O(e){for(var t={},n=0;n<e.length;n++)e[n]&&M(t,e[n]);return t}function I(e,t,n){}var N=function(e,t,n){return!1},L=function(e){return e};function D(e,t){if(e===t)return!0;var n=c(e),r=c(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var a=Array.isArray(e),i=Array.isArray(t);if(a&&i)return e.length===t.length&&e.every((function(e,n){return D(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(a||i)return!1;var o=Object.keys(e),s=Object.keys(t);return o.length===s.length&&o.every((function(n){return D(e[n],t[n])}))}catch(e){return!1}}function P(e,t){for(var n=0;n<e.length;n++)if(D(e[n],t))return n;return-1}function j(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var B=["component","directive","filter"],F=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],R={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:N,isReservedAttr:N,isUnknownElement:N,getTagNamespace:I,parsePlatformTagName:L,mustUseProp:N,async:!0,_lifecycleHooks:F},$=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function U(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var z=new RegExp("[^"+$.source+".$_\\d]");var V,Y="__proto__"in{},H="undefined"!=typeof window,G="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Q=G&&WXEnvironment.platform.toLowerCase(),W=H&&window.navigator.userAgent.toLowerCase(),q=W&&/msie|trident/.test(W),Z=W&&W.indexOf("msie 9.0")>0,X=W&&W.indexOf("edge/")>0,K=(W&&W.indexOf("android"),W&&/iphone|ipad|ipod|ios/.test(W)||"ios"===Q),J=(W&&/chrome\/\d+/.test(W),W&&/phantomjs/.test(W),W&&W.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===V&&(V=!H&&!G&&void 0!==e&&(e.process&&"server"===e.process.env.VUE_ENV)),V},ae=H&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ie(e){return"function"==t
/**
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/
r.VTooltip.options.defaultTemplate='<div class="vue-tooltip" role="tooltip" data-v-'.concat("e1f55ce",'><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'),r.VTooltip.options.defaultHtml=!1,t.default=r.VTooltip},function(e,t){e.exports=n(232)},function(e,t){e.exports=n(233)},function(e,t,n){"use strict";n(12),n(28);var r=n(5),a=n.n(r);
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/t.a={before:function(){this.$slots.default&&""!==this.text.trim()||(a.a.util.warn("".concat(this.$options.name," cannot be empty and requires a meaningful text content"),this),this.$destroy(),this.$el.remove())},beforeUpdate:function(){this.text=this.getText()},data:function(){return{text:this.getText()}},computed:{isLongText:function(){return this.text&&this.text.trim().length>20}},methods:{getText:function(){return this.$slots.default?this.$slots.default[0].text.trim():""}}}},function(e,t,n){"use strict";n(4),n(21),n(23),n(30),t.a=function(e){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,e||5)}},function(e,t){e.exports=n(59)},function(e,t){e.exports=n(91)},function(e,t){e.exports=n(143)},function(e,t){e.exports=n(61)},function(e,t){e.exports=n(236)},function(e,t){e.exports=n(147)},function(e,t){e.exports=n(237)},function(e,t){e.exports=n(152)},function(e,t,n){"use strict";n(18),n(4),n(19),n(20),n(24);var r=n(16),a=(n(12),function(e,t){for(var n=e.$parent;n;){if(n.$options.name===t)return n;n=n.$parent}});t.a={mixins:[r.a],props:{icon:{type:String,default:""},title:{type:String,default:""},closeAfterClick:{type:Boolean,default:!1},ariaLabel:{type:String,default:""}},computed:{isIconUrl:function(){try{return new URL(this.icon)}catch(e){return!1}}},methods:{onClick:function(e){if(this.$emit("click",e),this.closeAfterClick){var t=a(this,"Actions");t&&t.closeMenu&&t.closeMenu()}}}}},function(e,t){e.exports=n(242)},function(e,t){e.exports=n(247)},function(e,t,n){var r=n(67);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("640a212a",r,!0,{})},function(e,t){e.exports=n(98)},function(e,t,n){"use strict";n(25),n(15),n(65),n(12);var r=n(5),a=n.n(r);t.a=function(e,t,n){if(void 0!==e)for(var r=e.length-1;r>=0;r--){var i=e[r],o=!i.componentOptions&&i.tag&&-1===t.indexOf(i.tag),s=!!i.componentOptions&&"string"==typeof i.componentOptions.tag,c=s&&-1===t.indexOf(i.componentOptions.tag);(o||!s||c)&&((o||c)&&a.a.util.warn("".concat(o?i.tag:i.componentOptions.tag," is not allowed inside the ").concat(n.$options.name," component"),n),e.splice(r,1))}}},function(e,t,n){"use strict";var r=n(6);t.a={methods:{n:r.a,t:r.b}}},function(e,t){e.exports=n(249)},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){},function(e,t,n){"use strict";n.r(t);var r=n(43);
/**
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/t.default=r.a},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";n(25),n(46),n(15);var r=n(14),a=n(13),i=n(17),o=(n(64),function(e){var t=e.getBoundingClientRect(),n=document.documentElement.clientHeight,r=document.documentElement.clientWidth,a=Object.assign({});return a.top=t.top<0,a.left=t.left<0,a.bottom=t.bottom>n,a.right=t.right>r,a.any=a.top||a.left||a.bottom||a.right,a.all=a.top&&a.left&&a.bottom&&a.right,a.offsetY=a.top?t.top:a.bottom?t.bottom-n:0,a.offsetX=a.left?t.left:a.right?t.right-r:0,a}),s=n(31),c=n(6),l=["ActionButton","ActionCheckbox","ActionInput","ActionLink","ActionRadio","ActionRouter","ActionSeparator","ActionText","ActionTextEditable"],u={name:"Actions",directives:{ClickOutside:r.directive,tooltip:a.default},props:{open:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},menuAlign:{type:String,default:"center",validator:function(e){return["left","center","right"].indexOf(e)>-1}},defaultIcon:{type:String,default:"action-item__menutoggle--default-icon"},ariaLabel:{type:String,default:Object(c.b)("Actions")}},data:function(){return{actions:[],opened:this.open,focusIndex:0,randomId:"menu-"+Object(i.a)(),offsetX:0,offsetY:0,offsetYArrow:0,rotateArrow:!1,children:this.$children}},computed:{hasMultipleActions:function(){return this.actions.length>1},isValidSingleAction:function(){return 1===this.actions.length&&null!==this.firstActionElement},firstActionVNode:function(){return this.actions[0]},firstAction:function(){return this.children[0]?this.children[0]:{}},firstActionBinding:function(){if(this.firstActionVNode&&this.firstActionVNode.componentOptions){var e=this.firstActionVNode.componentOptions.tag;if("ActionLink"===e)return{is:"a",href:this.firstAction.href,target
/**
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/t.a=function(e){e.mounted?Array.isArray(e.mounted)||(e.mounted=[e.mounted]):e.mounted=[],e.mounted.push((function(){this.$el.setAttribute("data-v-".concat("e1f55ce"),"")}))}},function(e,t){e.exports=n(250)},function(e,t){e.exports=n(156)},function(e,t,n){var r=n(127);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("75b9f902",r,!0,{})},function(e,t,n){var r=n(129);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("9ee2a826",r,!0,{})},function(e,t,n){"use strict";
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/
function r(e,t,n){this.r=e,this.g=t,this.b=n}function a(e,t,n){var a=[];a.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]),o=1;o<e;o++){var s=parseInt(t.r+i[0]*o,10),c=parseInt(t.g+i[1]*o,10),l=parseInt(t.b+i[2]*o,10);a.push(new r(s,c,l))}return a}n(25),t.a=function(e){e||(e=6);var t=new r(182,70,157),n=new r(221,203,85),i=new r(0,130,201),o=a(e,t,n),s=a(e,n,i),c=a(e,i,t);return o.concat(s).concat(c)}},function(e,t){},function(e,t,n){"use strict";n.r(t),n(15),n(18),n(4),n(23),n(19),n(20),n(24);var r={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(e){return!e.input||-1!==["text","checkbox"].indexOf(e.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(e){return!1}}},methods:{action:function(e){this.item.action&&this.item.action(e)}}},a=(n(72),n(74),n(0)),i={name:"PopoverMenu",components:{PopoverMenuItem:Object(a.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",[e.item.href?n("a",{staticClass:"focusable",attrs:{href:e.item.href?e.item.href:"#",target:e.item.target?e.item.target:"",download:e.item.download,rel:"noreferrer noopener"},on:{click:e.action}},[e.iconIsUrl?n("img",{attrs:{src:e.item.icon}}):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()]):e.item.input?n("span",{staticClass:"menuitem",class:{active:e.item.active}},["checkbox"!==e.item.input?n("span",{class:e.item.icon}):e._e(),e._v(" "),"text"===e.item.input?n("form",{class:e.item.input,on:{submit:function(t){return t.preventDefault(),e.item.action(t)}}},[n("input",{attrs:{type:e.item.input,placeholder:e.item.text,required:""},domProps:{value:e.item.value}}),e._v(" "),n("input",{staticClass:"icon-confirm",attrs:{type:"submit",value:""}})]):["checkbox"===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:"checkbox"},domProps:{checked:Array.isArray(e.item.model)?e._i(e.item.model,null)>-1:e.item.model},on:{change:[function(t){var n=e.item.model,r=t.target,a=!!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",a)},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
/**
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/t.default=l},function(e,t){e.exports=n(251)},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),a=n(51),i=n(52),o=n.n(i),s=n(13),c=(n(21),n(85),n(30),n(63)),l=n.n(c),u=n(49);function p(e,t,n,r,a,i,o){try{var s=e[i](o),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,a)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var i=e.apply(t,n);function o(e){p(i,r,a,o,s,"next",e)}function s(e){p(i,r,a,o,s,"throw",e)}o(void 0)}))}}var f={name:"Avatar",directives:{tooltip:s.default,ClickOutside:r.directive},components:{PopoverMenu:a.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(u.a)(6)[function(e,t){for(var n=0,r=[],a=0;a<e.length;a++)r.push(parseInt(e.charAt(a),16)%16);for(var i in r)n+=r[i];return parseInt(parseInt(n,10)%18,10)}(t)]}(this.getUserIdentifier);e.backgroundColor="rgb("+t.r+", "+t.g+", "+t.b+")"}return e},tooltip:function(){return!this.disableTooltip&&(this.tooltipMessage?this.tooltipMessage:this.displayName)},initials:function(){return this.shouldShowPlaceholder?this.getUserIdentifier.charAt(0).toUpperCase():"?"},menu:function(){return this.contactsMenuActions.map((function(e){return{href:e.hyperlink,icon:e.icon,text:e.title}}))}},watch:{url:function(){this.userDoesNotExist=!1,this.loadAvatarUrl()},user:function(){this.userDoesNotExist=!1,this.isMenuLoaded=!1,this.loadAvatarUrl()}},mounted:function(){this.loadAvatarUrl()},methods:{toggleMenu:function(){var e=this;return d(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.hasMenu){t.next=2;break}return t.abrupt("return");case 2:if(e.contactsMenuOpenState){t.next=5;break}return t.next=5,e.fetchContactsMenu();case 5:e.contactsMenuOpenState=!e.contactsMenuOpenState;case 6:case"end":return t.stop()}}),t)})))()},closeMenu:function(){this.contactsMenuOpenState=!1},fetchContactsMenu:function(){var e=this;return d(regeneratorRuntime.mark((function t(){var n,r,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,n=encodeURIComponent(e.user),t.next=4,o.a.post(OC.generateUrl("contactsmenu/findOne"),"shareType=0&shareWith=".concat(n));case 4:r=t.sent,a=r.data,e.contactsMenuActions=a.topAction?[a.topAction].concat(a.actions):a.actions,t.next=12;break;case 9:t.prev=9,t.t0=t.catch(0),e.contactsMenuOpenState=
/**
* @copyright Copyright (c) 2018 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/t.default=b},function(e,t){},function(e,t){},function(e,t,n){var r=n(149);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("619ae60e",r,!0,{})},function(e,t,n){var r=n(151);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("315ade54",r,!0,{})},function(e,t,n){var r=n(153);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("781fc789",r,!0,{})},function(e,t,n){var r=n(155);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("5383cf7b",r,!0,{})},function(e,t,n){var r=n(159);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("1f1302d4",r,!0,{})},function(e,t,n){var r=n(161);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("2efb16ed",r,!0,{})},function(e,t,n){"use strict";n.r(t);var r={name:"Popover",components:{VPopover:n(3).VPopover}},a=(n(128),n(0)),i=n(55),o=n.n(i),s=Object(a.a)(r,(function(){var e=this.$createElement,t=this._self._c||e;return t("VPopover",this._g(this._b({staticClass:"popover"},"VPopover",this.$attrs,!1),this.$listeners),[this._t("trigger"),this._v(" "),t("template",{slot:"popover"},[this._t("default")],2)],2)}),[],!1,null,"71f013aa",null);"function"==typeof o.a&&o()(s);var c=s.exports;
/**
* @copyright Copyright (c) 2019 Marco Ambrosini <marcoambrosini@pm.me>
*
* @author Marco Ambrosini <marcoambrosini@pm.me>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/t.default=c},function(e,t){e.exports=n(303)},function(e,t){e.exports=n(306)},function(e,t){e.exports=n(307)},function(e,t,n){"use strict";var r=n(29);n.n(r).a},function(e,t,n){var r=n(1),a=n(7),i=n(8),o=n(9),s=n(10),c=n(11);t=r(!1);var l=a(i),u=a(o),p=a(s),d=a(c);t.push([e.i,'@font-face{font-family:"iconfont-vue-e1f55ce";src:url('+l+");src:url("+l+') format("embedded-opentype"),url('+u+') format("woff"),url('+p+') format("truetype"),url('+d+') format("svg")}.icon[data-v-7b368b0c]{font-style:normal;font-weight:400}.icon.arrow-left-double[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.arrow-left[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.arrow-right-double[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.arrow-right[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.breadcrumb[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.checkmark[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.close[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.confirm[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.info[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.menu[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.more[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.pause[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.play[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.triangle-s[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.action-item[data-v-7b368b0c]{position:relative;display:inline-block}.action-item--single[data-v-7b368b0c]:hover,.action-item--single[data-v-7b368b0c]:focus,.action-item--single[data-v-7b368b0c]:active,.action-item__menutoggle[data-v-7b368b0c]:hover,.action-item__menutoggle[data-v-7b368b0c]:focus,.action-item__menutoggle[data-v-7b368b0c]:active{border-radius:22px;background-color:rgba(127,127,127,0.25) !important;opacity:1}.action-item.action-item--open .action-item__menutoggle[data-v-7b368b0c]{opacity:1;border-radius:22px;background-color:rgba(127,127,127,0.25)}.action-item--single[data-v-7b368b0c],.action-item__menutoggle[data-v-7b368b0c]{box-sizing:border-box;width:44px;height:44px;margin:0;padding:14px;cursor:pointer;border:none;background-color:transparent}.action-item__menutoggle[data-v-7b368b0c]{display:flex;align-items:center;justify-content:center;opacity:.7}.action-item__menutoggle[data-v-7b368b0c]:before{content:\'\'}.action-item__menutoggle--default-icon[data-v-7b368b0c]{font-size:16px}.action-item__menutoggle--default-icon[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";font-style:normal;font-weight:400;content:""}.action-item--single[data-v-7b368b0c]{opacity:.7}.action-item--single[data-v-7b368b0c]:hover,.action-item--single[data-v-7b368b0c]:focus,.action-item--single[data-v-7b368b0c]:active{opacity:1}.action-item--single>[hidden][data-v-7b368b0c]{display:none}.action-item--multiple[data-v-7b368b0c]{position:relative}.action-item__menu[data-v-7b368b0c]{position:absolute;z-index:110;right:50%;display:none;margin-bottom:10px;margin-top:-5px;transform:translateX(50%);color:var(--color-main-text);border-radius:var(--border-radius);background-color:var(--color-main-background);filter:drop-shadow(0 1px 3px var(--color-box-shadow))}.action-item__menu ul[data-v-7b368b0c]>:not(li){display:none}.action-item__menu.open[data-v-7b368b0c]{display:block}.action-item__menu .action-item__menu_arrow[data-v-7b368b0c]{position:absolute;right:50%;bottom:100%;width:0;height:0;margin-right:-9px;content:\' \';pointer-events:none;border:solid transparent;border-width:9px;border-bottom-color:var(--color-main-background)}.action-item__menu.menu-right[data-v-7b368b0c]{right:0;left:auto;transform:none}.action-item__menu.menu-right .action-item__menu_arrow[data-v-7b368b0c]{right:13px;margin-right
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/t.default=r.a},function(e,t,n){var r=n(197);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("29367d98",r,!0,{})},function(e,t,n){var r=n(199);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("4a42cc32",r,!0,{})},function(e,t,n){var r=n(201);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("2dfaf5b6",r,!0,{})},function(e,t,n){var r=n(203);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("8c7fefd2",r,!0,{})},function(e,t,n){var r=n(205);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("09e576c0",r,!0,{})},function(e,t,n){var r=n(207);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("16f9a7fd",r,!0,{})},function(e,t,n){var r=n(209);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("3a89e615",r,!0,{})},function(e,t,n){var r=n(211);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("1732c148",r,!0,{})},function(e,t,n){var r=n(213);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("358576b8",r,!0,{})},function(e,t,n){var r=n(215);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("334af9b1",r,!0,{})},function(e,t,n){var r=n(217);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("7d8c014f",r,!0,{})},function(e,t,n){var r=n(219);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("637134c2",r,!0,{})},function(e,t,n){var r=n(221);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("3029bde6",r,!0,{})},function(e,t,n){var r=n(223);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("361fd107",r,!0,{})},function(e,t,n){var r=n(225);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("77494b70",r,!0,{})},function(e,t,n){var r=n(227);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("1e3ece15",r,!0,{})},function(e,t,n){"use strict";n.r(t),n.d(t,"directive",(function(){return r}));
/**
* @copyright Copyright (c) 2019 Georg Ehrke
*
* @author Georg Ehrke <oc.list@georgehrke.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/
var r={inserted:function(e){e.focus()}};t.default=r},function(e,t,n){var r=n(230);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("45aebdd4",r,!0,{})},function(e,t,n){var r=n(232);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("4dd3631b",r,!0,{})},function(e,t,n){var r=n(234);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("d7dc05bc",r,!0,{})},function(e,t,n){var r=n(239);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("704815e4",r,!0,{})},function(e,t,n){var r=n(241);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("68ca4235",r,!0,{})},function(e,t,n){var r=n(243);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("6e72f645",r,!0,{})},function(e,t,n){var r=n(246);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("2c80b26e",r,!0,{})},function(e,t,n){var r=n(248);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(2).default)("fb56f796",r,!0,{})},function(e,t,n){"use strict";n.r(t);var r=n(44),a=(n(84),n(122),n(156),n(18),n(71),n(22),n(121),n(33),n(4),n(19),n(20),n(21),n(123),n(45)),i=n.n(a),o=n(53),s=(n(157),n(23),n(30),{methods:{highlightText:function(e,t){return t.length?e.replace(new RegExp(t,"gi"),"<strong>".concat(t,"</strong>")):e}}}),c={name:"AvatarSelectOption",components:{Avatar:o.default},mixins:[s],props:{desc:{type:String,default:""},displayName:{type:String,required:!0},icon:{type:String,default:""},user:{type:String,default:""},isNoUser:{type:Boolean,default:!1},search:{type:String,default:""}},computed:{highlightedDisplayName:function(){return this.highlightText(i()(this.displayName),this.search)},highlightedDesc:function(){return this.highlightText(i()(this.desc),this.search)}}},l=(n(158),n(0)),u=n(81),p=n.n(u),d=Object(l.a)(c,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"option"},[n("Avatar",{staticClass:"option__avatar",attrs:{"display-name":e.displayName,user:e.user,"is-no-user":e.isNoUser,"disable-menu":!0,"disable-tooltip":!0}}),e._v(" "),n("div",{staticClass:"option__desc"},[n("span",{staticClass:"option__desc--lineone",domProps:{innerHTML:e._s(e.highlightedDisplayName)}}),e._v(" "),""!==e.desc?n("span",{staticClass:"option__desc--linetwo",domProps:{innerHTML:e._s(e.highlightedDesc)}}):e._e()]),e._v(" "),""!==e.icon?n("span",{staticClass:"icon option__icon",class:e.icon}):e._e()],1)}),[],!1,null,"808e3c40",null);"function"==typeof p.a&&p()(d);var f=d.exports,h=(n(12),{name:"EllipsisedOption",mixins:[s],props:{option:{type:[String,Object],required:!0,default:""},label:{type:String,default:""},search:{type:String,default:""}},computed:{name:function(){return this.$parent.getOptionLabel(this.option)},needsTruncate:function(){return this.name&&this.name.length>=10},part1:function(){if(this.needsTruncate){var e=Math.min(Math.floor(this.name.length/2),10);return this.name.substr(0,this.name.length-e)}return this.name},part2:function(){if(this.needsTruncate){var e=Math.min(Math.floor(this.name.length/2),10);return this.name.substr(this.name.length-e)}return""},highlightedPart1:function(){return this.highlightText(i()(this.part1),this.search)},highlightedPart2:function(){return this.highlightText(i()(this.part2),this.search)}}}),m=(n(160),Object(l.a)(h,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"name-parts",attrs:{title:e.name}},[n("span",{staticClass:"name-parts__first",domProps:{innerHTML:e._s(e.highlightedPart1)}}),e._v(" "),e.part2?n("span",{staticClass:"name-parts__last",domProps:{innerHTML:e._s(e.highlightedPart2)}}):e._e()])}),[],!1,null,"2d5d34b0",null).exports),v=n(32),g=n(13),b=n(125);function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var y={name:"Multiselect",componen
/**
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/
Object(r.a)(C),t.default=C},function(e,t,n){"use strict";n.r(t);var r={name:"Breadcrumb",components:{Actions:n(38).default},props:{title:{type:String,required:!0},to:{type:String,default:void 0},href:{type:String,default:void 0},icon:{type:String,default:""},disableDrop:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},open:{type:Boolean,default:!1}},data:function(){return{hovering:!1}},computed:{tag:function(){return this.to?"router-link":"a"}},methods:{onOpenChange:function(e){this.$emit("update:open",e)},dropped:function(e){return!this.disableDrop&&(this.$emit("dropped",e,this.to||this.href),this.$parent.$emit("dropped",e,this.to||this.href),this.hovering=!1,!1)},dragEnter:function(e){this.disableDrop||(this.hovering=!0)},dragLeave:function(e){this.disableDrop||e.target.contains(e.relatedTarget)||this.$refs.crumb.contains(e.relatedTarget)||(this.hovering=!1)}}},a=(n(154),n(0)),i=n(80),o=n.n(i),s=Object(a.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"crumb",staticClass:"crumb",class:{"crumb--with-action":e.$slots.default,"crumb--hovered":e.hovering},attrs:{draggable:"false"},on:{dragstart:function(e){e.preventDefault()},drop:function(t){return t.preventDefault(),e.dropped(t)},dragover:function(e){e.preventDefault()},dragenter:e.dragEnter,dragleave:e.dragLeave}},[e.title||e.icon?n(e.tag,{tag:"element",attrs:{to:e.to,href:e.href}},[e.icon?n("span",{staticClass:"icon",class:e.icon}):n("span",[e._v(e._s(e.title))])]):e._e(),e._v(" "),n("Actions",{ref:"actions",attrs:{"force-menu":e.forceMenu,open:e.open},on:{"update:open":e.onOpenChange}},[e._t("default")],2)],1)}),[],!1,null,"7d9c1e9f",null);"function"==typeof o.a&&o()(s);var c=s.exports;
/**
* @copyright Copyright (c) 2020 Raimund Schlüßler <raimund.schluessler@mailbox.org>
*
* @author Raimund Schlüßler <raimund.schluessler@mailbox.org>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/t.default=c},function(e,t,n){"use strict";n.r(t);var r=n(44),a=(n(33),n(124)),i={name:"DatetimePicker",components:{DatePicker:n.n(a).a},inheritAttrs:!1,props:{clearable:{type:Boolean,default:function(){return!1}},minuteStep:{type:Number,default:function(){return 10}},type:{type:String,default:"date"},format:{type:[String,Object],default:function(){var e={date:"YYYY-MM-DD",datetime:"YYYY-MM-DD H:mm:ss",year:"YYYY",month:"YYYY-MM",time:"H:mm:ss",week:"w"};return e[this.type]||e.date}},value:{default:function(){return new Date}}},methods:{handleSelectYear:function(e){var t=this.$refs.datepicker.currentValue;if(t)try{var n=new Date(new Date(t).setFullYear(e));this.$refs.datepicker.selectDate(n)}catch(n){console.error("Invalid value",t,e)}},handleSelectMonth:function(e){var t=this.$refs.datepicker.currentValue;if(t)try{var n=new Date(new Date(t).setMonth(e));this.$refs.datepicker.selectDate(n)}catch(n){console.error("Invalid value",t,e)}}}},o=n(0),s=n(78),c=n.n(s),l=Object(o.a)(i,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("DatePicker",e._g(e._b({ref:"datepicker",attrs:{clearable:e.clearable,"minute-step":e.minuteStep,format:e.format,type:e.type,value:e.value,"append-to-body":!1},on:{"select-year":e.handleSelectYear,"select-month":e.handleSelectMonth,"update:value":function(t){return e.$emit("update:value",e.value)}},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)},"DatePicker",e.$attrs,!1),e.$listeners))}),[],!1,null,null,null);"function"==typeof c.a&&c()(l);var u=l.exports;n(146),
/**
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/
Object(r.a)(u),t.default=u},function(e,t,n){"use strict";n.r(t),n(15),n(18),n(4),n(19),n(120),n(20),n(24);var r={name:"ActionLink",mixins:[n(26).a],props:{href:{type:String,default:"#",required:!0,validator:function(e){try{return new URL(e)}catch(t){return e.startsWith("#")||e.startsWith("/")}}},download:{type:String,default:null},target:{type:String,default:"_self",validator:function(e){return["_blank","_self","_parent","_top"].indexOf(e)>-1}}}},a=(n(148),n(0)),i=n(79),o=n.n(i),s=Object(a.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",[n("a",{staticClass:"action-link focusable",attrs:{download:e.download,href:e.href,"aria-label":e.ariaLabel,target:e.target,rel:"noreferrer noopener"},on:{click:e.onClick}},[n("span",{staticClass:"action-link__icon",class:[e.isIconUrl?"action-link__icon--url":e.icon],style:{backgroundImage:e.isIconUrl?"url("+e.icon+")":null}}),e._v(" "),e.title?n("p",[n("strong",{staticClass:"action-link__title"},[e._v("\n\t\t\t\t"+e._s(e.title)+"\n\t\t\t")]),e._v(" "),n("br"),e._v(" "),n("span",{staticClass:"action-link__longtext",domProps:{textContent:e._s(e.text)}})]):e.isLongText?n("p",{staticClass:"action-link__longtext",domProps:{textContent:e._s(e.text)}}):n("span",{staticClass:"action-link__text"},[e._v(e._s(e.text))]),e._v(" "),e._e()],2)])}),[],!1,null,"2460fb77",null);"function"==typeof o.a&&o()(s);var c=s.exports;
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/t.default=c},function(e,t,n){"use strict";n.r(t);var r={name:"ActionRouter",mixins:[n(26).a],props:{to:{type:[String,Object],default:"",required:!0},exact:{type:Boolean,default:!1}}},a=(n(150),n(0)),i=Object(a.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",[n("router-link",{staticClass:"action-router focusable",attrs:{to:e.to,exact:e.exact,"aria-label":e.ariaLabel,rel:"noreferrer noopener"}},[n("span",{staticClass:"action-router__icon",class:[e.isIconUrl?"action-router__icon--url":e.icon],style:{backgroundImage:e.isIconUrl?"url("+e.icon+")":null}}),e._v(" "),e.title?n("p",[n("strong",{staticClass:"action-router__title"},[e._v("\n\t\t\t\t"+e._s(e.title)+"\n\t\t\t")]),e._v(" "),n("br"),e._v(" "),n("span",{staticClass:"action-router__longtext",domProps:{textContent:e._s(e.text)}})]):e.isLongText?n("p",{staticClass:"action-router__longtext",domProps:{textContent:e._s(e.text)}}):n("span",{staticClass:"action-router__text"},[e._v(e._s(e.text))]),e._v(" "),e._e()],2)],1)}),[],!1,null,"7dea1b0e",null).exports;t.default=i},function(e,t,n){"use strict";n.r(t);var r=n(5),a=new(n.n(r).a)({data:function(){return{isMobile:!1}},watch:{isMobile:function(e){this.$emit("changed",e)}},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(){a.$on("changed",this.onIsMobileChanged),this.isMobile=a.isMobile},beforeDestroy:function(){a.$off("changed",this.onIsMobileChanged)},methods:{onIsMobileChanged:function(e){this.isMobile=e}}}},function(e,t){e.exports=n(321)},function(e,t){e.exports=n(322)},function(e,t){e.exports=n(323)},function(e,t){e.exports=n(324)},function(e,t){e.exports=n(346)},function(e,t){e.exports=n(326)},function(e,t,n){"use strict";var r=n(47);n.n(r).a},function(e,t,n){(t=n(1)(!1)).push([e.i,"li.active[data-v-33ba3302]{box-shadow:inset 4px 0 var(--color-primary)}.action--disabled[data-v-33ba3302]{pointer-events:none;opacity:.5}.action--disabled[data-v-33ba3302]:hover,.action--disabled[data-v-33ba3302]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-33ba3302]{opacity:1 !important}.action-button[data-v-33ba3302]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;padding-right:14px;cursor:pointer;white-space:nowrap;opacity:.7;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:normal;line-height:44px}.action-button[data-v-33ba3302]:hover,.action-button[data-v-33ba3302]:focus{opacity:1}.action-button>span[data-v-33ba3302]{cursor:pointer;white-space:nowrap}.action-button__icon[data-v-33ba3302]{width:44px;height:44px;opacity:1;background-position:14px center;background-size:16px}.action-button p[data-v-33ba3302]{width:150px;padding:7px 0;margin:auto;cursor:pointer;text-align:left;line-height:1.6em}.action-button__longtext[data-v-33ba3302]{cursor:pointer;white-space:pre-wrap}.action-button__title[data-v-33ba3302]{font-weight:bold}\n",""]),e.exports=t},function(e,t,n){"use strict";var r=n(48);n.n(r).a},function(e,t,n){(t=n(1)(!1)).push([e.i,".popover[data-v-71f013aa]{padding:0px !important}\n",""]),e.exports=t},function(e,t,n){"use strict";n.r(t),n.d(t,"AppNavigationSpacer",(function(){return a}));var r=(n(152),n(0)),a=Object(r.a)({name:"AppNavigationToggle",methods:{emitClick:function(){this.$emit("click")}}},(function(){var e=this,t=e.$createElement;return(e._self._c||t)("a",{attrs:{id:"app-navigation-toggle",tabindex:"0",href:"#"},on:{click:function(t){return t.preventDefault(),e.emitClick(t)},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.emitClick(t))}}})}),[],!1,null,"338280f2",null).exports;t.default=a},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/
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(e,t,n){"use strict";n.r(t);var r=n(14),a=n(43),i=n(70),o={name:"AppNavigationIconCollapsible",props:{open:{type:Boolean,default:!0}},methods:{onClick:function(e){this.$emit("click",e)}}},s=(n(218),n(0)),c=Object(s.a)(o,(function(){var e=this.$createElement;return(this._self._c||e)("button",{staticClass:"icon-collapse",class:{"icon-collapse--rotated":this.open},on:{click:this.onClick}})}),[],!1,null,"24528cd0",null).exports,l=n(119),u={name:"AppNavigationItem",components:{Actions:a.a,ActionButton:i.a,AppNavigationIconCollapsible:c},directives:{ClickOutside:r.directive},mixins:[l.default],props:{title:{type:String,required:!0},icon:{type:String,default:""},loading:{type:Boolean,default:!1},to:{type:[String,Object],default:""},exact:{type:Boolean,default:!1},allowCollapse:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},editLabel:{type:String,default:""},editPlaceholder:{type:String,default:""},pinned:{type:Boolean,default:!1},undo:{type:Boolean,default:!1},open:{type:Boolean,default:!1},menuOpen:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},menuIcon:{type:String,default:void 0}},data:function(){return{newTitle:"",opened:this.open,editing:!1}},computed:{collapsible:function(){return this.allowCollapse&&!!this.$slots.default},isIconShown:function(){return!this.collapsible||this.collapsible&&!this.isMobile},canHaveChildren:function(){return"AppNavigationItem"!==this.$parent.$options._componentTag},hasChildren:function(){return!!this.$slots.default},hasUtils:function(){return!this.editing&&!!(this.$slots.actions||this.$slots.counter||this.editable||this.undo)},navElement:function(){return this.to?{is:"router-link",tag:"li",to:this.to,exact:this.exact}:{is:"li"}},isActive:function(){return this.to&&this.$route===this.to}},watch:{open:function(e){this.opened=e}},methods:{onMenuToggle:function(e){this.$emit("update:menuOpen",e)},toggleCollapse:function(){this.opened=!this.opened,this.$emit("update:open",this.opened)},onClick:function(e){this.$emit("click",e)},handleEdit:function(){var e=this;this.newTitle=this.title,this.editing=!0,this.onMenuToggle(!1),this.$nextTick((function(){e.$refs.inputTitle.focus()}))},cancelEdit:function(){this.editing=!1},handleRename:function(){this.$emit("update:title",this.newTitle),this.newTitle="",this.editing=!1},handleUndo:function(){this.$emit("undo")}}},p=(n(220),n(137)),d=n.n(p),f=Object(s.a)(u,(function(){var e,t=this,n=t.$createElement,r=t._self._c||n;return r("nav-element",t._b({staticClass:"app-navigation-entry",class:{"app-navigation-entry--no-icon":!t.isIconShown,"app-navigation-entry--opened":t.opened,"app-navigation-entry--pinned":t.pinned,"app-navigation-entry--editing":t.editing,"app-navigation-entry--deleted":t.undo,"app-navigation-entry--collapsible":t.collapsible,active:t.isActive},attrs:{title:t.title}},"nav-element",t.navElement,!1),[t.undo||t.editing?t._e():r("a",{staticClass:"app-navigation-entry-link",attrs:{href:"#"},on:{click:t.onClick}},[r("div",{staticClass:"app-navigation-entry-icon",class:(e={"icon-loading-small":t.loading},e[t.icon]=t.icon&&t.isIconShown,e)},[t.loading?t._e():t._t("icon")],2),t._v(" "),r("span",{staticClass:"app-navigation-entry__title"},[t._v(t._s(t.title))])]),t._v(" "),t.collapsible?r("AppNavigationIconCollapsible",{attrs:{open:t.opened},on:{click:function(e){return e.preventDefault(),e.stopPropagation(),t.toggleCollapse(e)}}}):t._e(),t._v(" "),t.undo?r("div",{staticClass:"app-navigation-entry__deleted"},[r("div",{staticClass:"app-navigation-entry__deleted-description"},[t._v("\n\t\t\t"+t._s(t.title)+"\n\t\t")])]):t._e(),t._v(" "),t.hasUtils?r("div",{staticClass:"app-navigation-entry__utils"},[t._t("counter"),t._v(" "),r("Actions",{attrs:{"menu-align":"righ
/**
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/t.default=h},function(e,t,n){"use strict";n.r(t);var r=n(44),a=(n(15),n(33),n(83)),i=n.n(a),o=n(38),s=n(88),c=n(32),l=n(6),u=n(13);
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/function p(e,t){var n,r,a,i=t;this.start=function(){a=!0,r=new Date,n=setTimeout(e,i)},this.pause=function(){a=!1,clearTimeout(n),i-=new Date-r},this.clear=function(){a=!1,clearTimeout(n),i=0},this.getTimeLeft=function(){return a&&(this.pause(),this.start()),i},this.getStateRunning=function(){return a},this.start()}var d={name:"Modal",components:{Actions:o.default,ActionButton:s.default},directives:{tooltip:u.default},mixins:[c.a],props:{title:{type:String,default:""},hasPrevious:{type:Boolean,default:!1},hasNext:{type:Boolean,default:!1},outTransition:{type:Boolean,default:!1},enableSlideshow:{type:Boolean,default:!1},clearViewDelay:{type:Number,default:5e3},slideshowDelay:{type:Number,default:3e3},slideshowPaused:{type:Boolean,default:!1},enableSwipe:{type:Boolean,default:!0},spreadNavigation:{type:Boolean,default:!1},size:{type:String,default:"normal",validator:function(e){return-1!==["normal","large","full"].indexOf(e)}},canClose:{type:Boolean,default:!0},dark:{type:Boolean,default:!1}},data:function(){return{mc:null,showModal:!1,clearView:!1,clearViewTimeout:null,playing:!1,slideshowTimeout:null}},computed:{modalTransitionName:function(){return"modal-".concat(this.outTransition?"out":"in")},playPauseTitle:function(){return this.playing?Object(l.b)("Pause slideshow"):Object(l.b)("Start slideshow")}},watch:{slideshowPaused:function(e){this.slideshowTimeout&&(e?this.slideshowTimeout.pause():this.slideshowTimeout.start())}},beforeMount:function(){window.addEventListener("keydown",this.handleKeydown)},beforeDestroy:function(){window.removeEventListener("keydown",this.handleKeydown)},mounted:function(){var e=this;this.showModal=!0,this.handleMouseMove(),this.mc=new i.a(this.$refs.mask),this.mc.on("swipeleft swiperight",(function(t){e.handleSwipe(t)})),document.body.insertBefore(this.$el,document.body.lastChild)},unmounted:function(){this.mc.off("swipeleft swiperight"),this.mc.destroy()},methods:{previous:function(e){this.hasPrevious&&(e&&this.resetSlideshow(),this.$emit("previous",e))},next:function(e){this.hasNext&&(e&&this.resetSlideshow(),this.$emit("next",e))},close:function(e){var t=this;this.canClose&&(this.showModal=!1,setTimeout((function(){t.$emit("close",e)}),300))},handleKeydown:function(e){switch(e.keyCode){case 37:this.previous(e);break;case 13:case 39:this.next(e);break;case 27:this.close(e)}},handleSwipe:function(e){this.enableSwipe&&("swipeleft"===e.type?this.next(e):"swiperight"===e.type&&this.previous(e))},handleMouseMove:function(){var e=this;this.clearViewDelay>0&&(this.clearView=!1,clearTimeout(this.clearViewTimeout),this.clearViewTimeout=setTimeout((function(){e.clearView=!0}),this.clearViewDelay))},togglePlayPause:function(){this.playing=!this.playing,this.playing?this.handleSlideshow():this.clearSlideshowTimeout()},resetSlideshow:function(){this.playing=!this.playing,this.clearSlideshowTimeout(),this.$nextTick((function(){this.togglePlayPause()}))},handleSlideshow:function(){var e=this;this.playing=!0,this.hasNext?this.slideshowTimeout=new p((function(){e.next(),e.handleSlideshow()}),this.slideshowDelay):(this.playing=!1,this.clearSlideshowTimeout())},clearSlideshowTimeout:function(){this.slideshowTimeout&&this.slideshowTimeout.clear()}}},f=(n(242),n(0)),h=n(142),m=n.n(h),v=Object(f.a)(d,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[n("div",{ref:"mask",staticClass:"modal-mask",class:{"modal-mask--dark":e.dark},on:{click:e.handleMouseMove,mousemove:e.handleMouseMove,touchmove:e.handleMouseMove}},[n("transition",{attrs:{name:"fade-visibility"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:!e.clearView,expression:"!clearView"}],staticClass:"modal-header",class:{invisible:e.clearView}},[""!==e.title.trim()?n("div",{staticClass:"modal-title"},[e._v("\n\t\t\t\t\t"+e._s(e.title)+"\n\t\t\t\t")]):e._e(),e._v(" "),n("div",{staticClass:"icons-menu"},[e.hasNext&&e.enableSlideshow?n("button",{directives:[{name:"tooltip",rawName:"v-tooltip.auto",value:e.playPauseTitle,expression:"playPauseTitle",modifiers:{auto:!0}}],staticClass:"play-paus
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/Object(r.a)(g),t.default=g},function(e,t,n){"use strict";n.r(t),n(46),n(244),n(22),n(33),n(4),n(68),n(69);var r=n(32),a=n(114),i=n(52),o=n.n(i),s=n(166);function c(e,t,n,r,a,i,o){try{var s=e[i](o),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,a)}
/**
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/var l=function(e){var t=function e(t){var n={};if(1===t.nodeType){if(t.attributes.length>0){n["@attributes"]={};for(var r=0;r<t.attributes.length;r++){var a=t.attributes.item(r);n["@attributes"][a.nodeName]=a.nodeValue}}}else 3===t.nodeType&&(n=t.nodeValue);if(t.hasChildNodes())for(var i=0;i<t.childNodes.length;i++){var o=t.childNodes.item(i),s=o.nodeName;if(void 0===n[s])n[s]=e(o);else{if(void 0===n[s].push){var c=n[s];n[s]=[],n[s].push(c)}n[s].push(e(o))}}return n}(function(e){var t=null;try{t=(new DOMParser).parseFromString(e,"text/xml")}catch(e){console.error("Failed to parse xml document",e)}return t}(e))["d:multistatus"]["d:response"],n=[];for(var r in t){var a=t[r]["d:propstat"];"HTTP/1.1 200 OK"===a["d:status"]["#text"]&&n.push({id:parseInt(a["d:prop"]["oc:id"]["#text"]),displayName:a["d:prop"]["oc:display-name"]["#text"],canAssign:"true"===a["d:prop"]["oc:can-assign"]["#text"],userAssignable:"true"===a["d:prop"]["oc:user-assignable"]["#text"],userVisible:"true"===a["d:prop"]["oc:user-visible"]["#text"]})}return n},u=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!window.NextcloudVueDocs){e.next=2;break}return e.abrupt("return",Promise.resolve(l(window.NextcloudVueDocs.tags)));case 2:return e.next=4,o()({method:"PROPFIND",url:Object(s.generateRemoteUrl)("dav")+"/systemtags/",data:'<?xml version="1.0"?>\n\t\t\t\t\t<d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">\n\t\t\t\t\t <d:prop>\n\t\t\t\t\t\t<oc:id />\n\t\t\t\t\t\t<oc:display-name />\n\t\t\t\t\t\t<oc:user-visible />\n\t\t\t\t\t\t<oc:user-assignable />\n\t\t\t\t\t\t<oc:can-assign />\n\t\t\t\t\t </d:prop>\n\t\t\t\t\t</d:propfind>'});case 4:return t=e.sent,e.abrupt("return",l(t.data));case 6:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,a){var i=e.apply(t,n);function o(e){c(i,r,a,o,s,"next",e)}function s(e){c(i,r,a,o,s,"throw",e)}o(void 0)}))});return function(){return t.apply(this,arguments)}}(),p=n(6);function d(e,t,n,r,a,i,o){try{var s=e[i](o),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,a)}var f={name:"MultiselectTags",components:{Multiselect:a.default},mixins:[r.a],props:{label:{type:String,default:Object(p.b)("Select a tag")},value:{type:[Number,Array],required:!0},disabled:{type:Boolean,default:!1},multiple:{type:Boolean,default:!0}},data:function(){return{tags:[]}},computed:{inputValue:function(){return this.getValueObject()}},beforeCreate:function(){var e,t=this;return(e=regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,u();case 3:n=e.sent,t.tags=n,e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.error("Loading systemtags failed",e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var i=e.apply(t,n);function o(e){d(i,r,a,o,s,"next",e)}function s(e){d(i,r,a,o,s,"throw",e)}o(void 0)}))})()},methods:{getValueObject:function(){var e=this;return 0===this.tags.length?[]:this.multiple?this.value.filter((function(e){return""!==e})).map((function(t){return e.tags.find((function(e){return e.id===t}))})):this.tags.find((function(t){return t.id===e.value}))},update:function(e){this.multiple?this.$emit("input",e.map((function(e){return e.id}))):null===e?this.$emit("input",null):this.$emit("input",e.id)},tagLabel:function(e){var t=e.displayName,n=e.userVisible,r=e.userAssignable;return!1===n?Object(p.b)("{tag} (invisible)",{tag:t}):!1===r?Object(p.b)("{tag} (restricted)",{tag:t}):t}}},h=n(0),m=n(143),v=n.n(m),g=Object(h.a)(f,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Multiselect",{attrs:{value:e.inputValue,options:e.tags,"options-limit":5,placeholder:e.label,"track-by":"id","custom-label":e.tagLabel,multiple:e.multiple,"close-on-select":e.multiple,"tag-width":60,disabled:e.disabled},on:{input:e.update},scopedSlots:e._u([{key:"option",fn:function(t){return[e._v("
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*/t.default=b},function(e,t,n){"use strict";n.r(t);var r={props:{buttonId:{type:String,required:!1,default:""},buttonClass:{type:[String,Array,Object],required:!1,default:""},disabled:{type:Boolean,required:!1,default:!1},text:{type:String,required:!0}}},a=(n(222),n(0)),i=Object(a.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-navigation-new"},[n("button",{class:e.buttonClass,attrs:{id:e.buttonId,type:"button",disabled:e.disabled},on:{click:function(t){return e.$emit("click")}}},[e._v("\n\t\t"+e._s(e.text)+"\n\t")])])}),[],!1,null,"ecee326e",null).exports;t.default=i},function(e,t,n){"use strict";n.r(t),n(18),n(4),n(19),n(20),n(24);var r=n(62),a=n(53),i={name:"UserBubble",components:{Popover:r.default,Avatar:a.default},props:{avatarImage:{type:String,default:""},user:{type:String,default:""},displayName:{type:String,required:!0},url:{type:String,default:""},open:{type:Boolean,default:!1},primary:{type:Boolean,default:!1}},computed:{isUserAvatar:function(){return!this.avatarImage},isIconUrl:function(){try{return new URL(this.avatarImage),!0}catch(e){return!1}},componentType:function(){return this.url?"div":"a"},linkOrNot:function(){return""!==this.url?{is:"a",href:this.url}:{is:"div"}},popoverEmpty:function(){return void 0===this.$slots.default}},methods:{onOpenChange:function(e){this.$emit("update:open",e)}}},o=(n(247),n(0)),s=n(145),c=n.n(s),l=Object(o.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Popover",{staticClass:"user-bubble-popover",attrs:{trigger:"hover focus",open:e.open,disabled:e.popoverEmpty},on:{"update:open":e.onOpenChange}},[n("div",e._b({staticClass:"user-bubble",class:e.primary?"user-bubble-primary":"",attrs:{slot:"trigger"},slot:"trigger"},"div",e.linkOrNot,!1),[n("Avatar",{staticClass:"avatar",attrs:{url:!e.isUserAvatar&&e.isIconUrl?e.avatarImage:void 0,"icon-class":e.isUserAvatar||e.isIconUrl?void 0:e.avatarImage,user:e.isUserAvatar?e.user:void 0,"display-name":e.isUserAvatar?e.displayName:void 0,size:16,"disable-tooltip":!0,"disable-menu":!0}}),e._v(" "),n("h6",{staticClass:"user"},[e._v("\n\t\t\t"+e._s(e.displayName?e.displayName:e.user)+"\n\t\t")])],1),e._v(" "),e._t("default")],2)}),[],!1,null,"69b40e95",null);"function"==typeof c.a&&c()(l);var u=l.exports;
/**
* @copyright Copyright (c) 2019 Marco Ambrosini <marcoambrosini@pm.me>
*
* @author Marco Ambrosini <marcoambrosini@pm.me>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/t.default=u},function(e,t,n){"use strict";n.r(t),n(33),n(28);var r=n(16),a=n(17),i={name:"ActionCheckbox",mixins:[r.a],props:{id:{type:String,default:function(){return"action-"+Object(a.a)()},validator:function(e){return""!==e.trim()}},checked:{type:Boolean,default:!1},value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1}},computed:{isFocusable:function(){return!this.disabled}},methods:{checkInput:function(e){this.$refs.label.click()},onChange:function(e){this.$emit("update:checked",this.$refs.checkbox.checked),this.$emit("change",e),this.$refs.checkbox.checked?this.$emit("check"):this.$emit("uncheck")}}},o=(n(196),n(0)),s=n(131),c=n.n(s),l=Object(o.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{class:{"action--disabled":e.disabled}},[n("span",{staticClass:"action-checkbox"},[n("input",{ref:"checkbox",staticClass:"checkbox action-checkbox__checkbox",class:{focusable:e.isFocusable},attrs:{id:e.id,disabled:e.disabled,type:"checkbox"},domProps:{checked:e.checked,value:e.value},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.checkInput(t))},change:e.onChange}}),e._v(" "),n("label",{ref:"label",staticClass:"action-checkbox__label",attrs:{for:e.id}},[e._v(e._s(e.text))]),e._v(" "),e._e()],2)])}),[],!1,null,"3470f069",null);"function"==typeof c.a&&c()(l);var u=l.exports;
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/t.default=u},function(e,t,n){"use strict";n.r(t);var r={props:{appName:{type:String,required:!0}}},a=n(0),i=n(141),o=n.n(i),s=Object(a.a)(r,(function(){var e=this.$createElement;return(this._self._c||e)("div",{class:"app-"+this.appName,attrs:{id:"content"}},[this._t("default")],2)}),[],!1,null,null,null);"function"==typeof o.a&&o()(s);var c=s.exports;
/*
* @copyright 2018 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2018 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @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 <http://www.gnu.org/licenses/>.
*/t.default=c},function(e,t,n){"use strict";n.r(t),n(33);var r={name:"AppSidebarTab",props:{id:{type:String,required:!0},name:{type:String,required:!0},icon:{type:String,required:!0},order:{type:Number,default:0}},computed:{isActive:function(){return this.$parent.activeTab===this.id}}},a=(n(233),n(0)),i=Object(a.a)(r,(function(){var e=this.$createElement;return(this._self._c||e)("section",{directives:[{name:"show",rawName:"v-show",value:this.isActive,expression:"isActive"}],attrs:{id:"tab-"+this.id,"aria-hidden":!this.isActive,"aria-labelledby":this.name,tabindex:"0",role:"tabpanel"}},[this._t("default")],2)}),[],!1,null,"6c2d947c",null).exports;t.default=i},function(e,t,n){"use strict";n.r(t),n(46),n(228),n(15),n(12),n(28);var r=n(5),a=n.n(r),i=n(38),o=n(105),s=n(32),c=function(e){return e&&"string"==typeof e&&""!==e.trim()&&-1===e.indexOf(" ")},l={name:"AppSidebar",components:{Actions:i.default},directives:{focus:o.default},mixins:[s.a],props:{active:{type:String,default:""},title:{type:String,default:"",required:!0},titleEditable:{type:Boolean,default:!1},titlePlaceholder:{type:String,default:""},subtitle:{type:String,default:""},background:{type:String,default:""},starred:{type:Boolean,default:null},starLoading:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1}},data:function(){return{tabs:[],activeTab:"",isStarred:this.starred,children:[]}},computed:{canStar:function(){return null!==this.isStarred},hasFigure:function(){return this.$slots.header||this.background},hasMultipleTabs:function(){return this.tabs.length>1},hasFigureClickListener:function(){return this.$listeners["figure-click"]},currentTabIndex:function(){var e=this;return this.tabs.findIndex((function(t){return t.id===e.activeTab}))}},watch:{active:function(e){e!==this.activeTab&&this.updateActive()},starred:function(){this.isStarred=this.starred},children:function(){this.updateTabs()}},mounted:function(){this.updateTabs(),this.children=this.$children},methods:{closeSidebar:function(e){this.$emit("close",e)},onFigureClick:function(e){this.$emit("figure-click",e)},setActive:function(e){var t=e.target.closest("a").dataset.id;this.activeTab=t,this.$emit("update:active",t)},focusPreviousTab:function(){this.currentTabIndex>0&&(this.activeTab=this.tabs[this.currentTabIndex-1].id,this.$emit("update:active",this.activeTab)),this.focusActiveTab()},focusNextTab:function(){this.currentTabIndex<this.tabs.length-1&&(this.activeTab=this.tabs[this.currentTabIndex+1].id,this.$emit("update:active",this.activeTab)),this.focusActiveTab()},focusFirstTab:function(){this.activeTab=this.tabs[0].id,this.$emit("update:active",this.activeTab),this.focusActiveTab()},focusLastTab:function(){this.activeTab=this.tabs[this.tabs.length-1].id,this.$emit("update:active",this.activeTab),this.focusActiveTab()},focusActiveTab:function(){this.$el.querySelector("#"+this.activeTab).focus()},focusActiveTabContent:function(){this.$el.querySelector("#tab-"+this.activeTab).focus()},updateActive:function(){var e=this;this.activeTab=this.active&&-1!==this.tabs.findIndex((function(t){return t.id===e.active}))?this.active:this.tabs.length>0?this.tabs[0].id:""},toggleStarred:function(){this.isStarred=!this.isStarred,this.$emit("update:starred",this.isStarred)},updateTabs:function(){var e=this.$children.filter((function(e){return e.name&&"string"==typeof e.name&&c(e.id)&&c(e.icon)}));0!==e.length&&e.length!==this.$children.length&&a.a.util.warn("Mixing tabs and non-tab-content is not possible."),this.tabs=e.sort((function(e,t){var n=e.order||0,r=t.order||0;return n===r?OC.Util.naturalSortCompare(e.name,t.name):n-r})),this.tabs.length>0&&this.updateActive()},onTitleInput:function(e){this.$emit("input-title",e),this.$emit("update:title",e.target.value)},onSubmitTitle:function(e){this.$emit("submit-title",e)},onDismissEditing:function(){this.$emit("dismiss-editing")}}},u=(n(229),n(231),n(0)),p=n(138),d=n.n(p),f=Object(u.a)(l,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"slide-right"}},[n("aside",{attrs:{id:"app-sid
/*
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @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 <http://www.gnu.org/licenses/>.
*/t.default=h},function(e,t,n){"use strict";n.r(t);var r=(n(226),n(0)),a=Object(r.a)({name:"AppNavigationSpacer"},(function(){var e=this.$createElement;return(this._self._c||e)("li",{staticClass:"app-navigation-spacer"})}),[],!1,null,"42195cc8",null).exports;t.default=a},function(e,t,n){"use strict";n.r(t);var r=n(14),a=n(6),i={directives:{ClickOutside:r.directive},props:{title:{type:String,required:!1,default:Object(a.b)("Settings")}},data:function(){return{open:!1}},methods:{toggleMenu:function(){this.open=!this.open},closeMenu:function(){this.open=!1}}},o=(n(224),n(0)),s=Object(o.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeMenu,expression:"closeMenu"}],class:{open:e.open},attrs:{id:"app-settings"}},[n("div",{attrs:{id:"app-settings-header"}},[n("button",{staticClass:"settings-button",on:{click:e.toggleMenu}},[e._v("\n\t\t\t"+e._s(e.title)+"\n\t\t")])]),e._v(" "),n("transition",{attrs:{name:"slide-up"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.open,expression:"open"}],attrs:{id:"app-settings-content"}},[e._t("default")],2)])],1)}),[],!1,null,"0af177d6",null).exports;t.default=s},function(e,t,n){"use strict";n.r(t),n(15),n(18),n(4),n(19),n(28),n(20),n(24);var r=n(16),a=n(17),i={name:"ActionInput",components:{DatetimePicker:n(116).default},mixins:[r.a],props:{id:{type:String,default:function(){return"action-"+Object(a.a)()},validator:function(e){return""!==e.trim()}},icon:{type:String,default:"",required:!0},type:{type:String,default:"text",validator:function(e){return["date","datetime-local","month","number","password","search","tel","text","time","url","week"].indexOf(e)>-1}},value:{type:String,default:""},disabled:{type:Boolean,default:!1}},computed:{isIconUrl:function(){try{return new URL(this.icon)}catch(e){return!1}},isDatePickerType:function(){switch(this.type){case"date":case"month":case"time":return this.type;case"datetime-local":return"datetime"}return!1},isFocusable:function(){return!this.disabled}},methods:{onLeave:function(){this.$refs.datetimepicker&&this.$refs.datetimepicker.$refs.datepicker&&this.$refs.datetimepicker.$refs.datepicker.closePopup()},onInput:function(e){this.$emit("input",e),this.$emit("update:value",e.target?e.target.value:e)},onSubmit:function(e){if(e.preventDefault(),e.stopPropagation(),this.disabled)return!1;this.$emit("submit",e)},onChange:function(e){this.$emit("change",e)}}},o=(n(198),n(0)),s=n(132),c=n.n(s),l=Object(o.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{class:{"action--disabled":e.disabled}},[n("span",{staticClass:"action-input",class:{"action-input--picker":e.isDatePickerType,"action-input-picker--disabled":e.disabled},on:{mouseleave:e.onLeave}},[n("span",{staticClass:"action-input__icon",class:[e.isIconUrl?"action-input__icon--url":e.icon],style:{backgroundImage:e.isIconUrl?"url("+e.icon+")":null}}),e._v(" "),n("form",{ref:"form",staticClass:"action-input__form",attrs:{disabled:e.disabled},on:{submit:function(t){return t.preventDefault(),e.onSubmit(t)}}},[e.isDatePickerType?n("DatetimePicker",e._b({ref:"datetimepicker",staticClass:"action-input__picker",attrs:{value:e.value,placeholder:e.text,disabled:e.disabled,type:e.isDatePickerType,"input-class":["mx-input",{focusable:e.isFocusable}]},on:{input:e.onInput,change:e.onChange}},"DatetimePicker",e.$attrs,!1)):[n("input",{staticClass:"action-input__submit",attrs:{id:e.id,type:"submit"}}),e._v(" "),n("input",e._b({staticClass:"action-input__input",class:{focusable:e.isFocusable},attrs:{type:e.type,placeholder:e.text,disabled:e.disabled},domProps:{value:e.value},on:{input:e.onInput,change:e.onChange}},"input",e.$attrs,!1)),e._v(" "),n("label",{directives:[{name:"show",rawName:"v-show",value:!e.disabled,expression:"!disabled"}],staticClass:"action-input__label",attrs:{for:e.id}})]],2)])])}),[],!1,null,"29ded998",null);"function"==typeof c.a&&c()(l);var u=l.exports;
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/t.default=u},function(e,t,n){"use strict";n.r(t),n(84),n(122);var r={name:"SettingsSection",components:{},mixins:[n(32).a],props:{title:{type:String,required:!0},description:{type:String,default:""},docUrl:{type:String,default:""}},computed:{hasDescription:function(){return this.description.length>0},hasDocUrl:function(){return this.docUrl.length>0}}},a=(n(245),n(0)),i=n(144),o=n.n(i),s=Object(a.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"settings-section"},[n("h2",{staticClass:"settings-section__title"},[e._v("\n\t\t"+e._s(e.title)+"\n\t\t"),e.hasDocUrl?n("a",{staticClass:"settings-section__info",attrs:{href:e.docUrl,role:"",title:e.t("External documentation for {title}",{title:e.title})}}):e._e()]),e._v(" "),e.hasDescription?n("p",{staticClass:"settings-section__desc"},[e._v("\n\t\t"+e._s(e.description)+"\n\t")]):e._e(),e._v(" "),e._t("default")],2)}),[],!1,null,"41759dcb",null);"function"==typeof o.a&&o()(s);var c=s.exports;
/**
* @copyright Copyright (c) 2019 Greta Doci <gretadoci@gmail.com>
*
* @author Greta Doci <gretadoci@gmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/t.default=c},function(e,t,n){"use strict";n.r(t),n(22),n(4),n(23);var r=n(165),a=n(49),i=n(32),o=n(62),s={name:"ColorPicker",components:{Chrome:r.Chrome,Popover:o.default},mixins:[i.a],props:{value:{type:String,required:!0}},data:function(){var e=this;return{currentColor:this.value,advanced:!1,palette:Object(a.a)(4).map((function(t){return"#"+e.rgbToHex(t.r)+e.rgbToHex(t.g)+e.rgbToHex(t.b)})),open:!0}},watch:{value:function(e){this.currentColor=e}},methods:{handleConfirm:function(){this.$emit("close"),this.$emit("submit",this.currentColor),this.advanced=!1},handleBack:function(){this.advanced=!1},handleMoreSettings:function(){this.advanced=!0},pickColor:function(e){"string"!=typeof e&&(e=this.currentColor.hex),this.currentColor=e,this.$emit("close"),this.$emit("update:value",e),this.$emit("input",e)},rgbToHex:function(e){var t=e.toString(16);return 1===t.length?"0"+t:t}}},c=(n(240),n(0)),l=n(140),u=n.n(l),p=Object(c.a)(s,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Popover",e._g(e._b({scopedSlots:e._u([{key:"trigger",fn:function(){return[e._t("default")]},proxy:!0}],null,!0)},"Popover",e.$attrs,!1),e.$listeners),[e._v(" "),n("div",{staticClass:"color-picker"},[n("transition",{attrs:{name:"slide",mode:"out-in"}},[e.advanced?e._e():n("div",{staticClass:"color-picker-simple"},e._l(e.palette,(function(t,r){return n("button",{key:r,staticClass:"color-picker-simple-color-circle",class:{"color-picker-simple-color-circle--active":t===e.currentColor},style:{"background-color":t},on:{click:function(n){return e.pickColor(t)}}})})),0),e._v(" "),e.advanced?n("Chrome",{staticClass:"color-picker-advanced",attrs:{"disable-alpha":!0,"disable-fields":!0},on:{input:e.pickColor},model:{value:e.currentColor,callback:function(t){e.currentColor=t},expression:"currentColor"}}):e._e()],1),e._v(" "),n("div",{staticClass:"color-picker-navigation"},[e.advanced?n("button",{staticClass:"color-picker-navigation-button back",on:{click:e.handleBack}}):e._e(),e._v(" "),e.advanced?e._e():n("button",{staticClass:"color-picker-navigation-button more-settings",on:{click:e.handleMoreSettings}}),e._v(" "),e.advanced?n("button",{staticClass:"color-picker-navigation-button confirm",on:{click:e.handleConfirm}},[e._v("\n\t\t\t\t"+e._s(e.t("Choose"))+"\n\t\t\t")]):e._e()])],1)])}),[],!1,null,"68aa5324",null);"function"==typeof u.a&&u()(p);var d=p.exports;
/**
* @copyright Copyright (c) 2019 Marco Ambrosini <marcoambrosini@pm.me>
*
* @author Marco Ambrosini <marcoambrosini@pm.me>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/t.default=d},function(e,t,n){"use strict";n.r(t),n(120);var r={name:"AppNavigationIconBullet",props:{color:{type:String,required:!0,validator:function(e){return/^#?([0-9A-F]{3}){1,2}$/i.test(e)}}},computed:{formattedColor:function(){return this.color.startsWith("#")?this.color:"#"+this.color}},methods:{onClick:function(e){this.$emit("click",e)}}},a=(n(216),n(0)),i=n(136),o=n.n(i),s=Object(a.a)(r,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"app-navigation-entry__icon-bullet",on:{click:this.onClick}},[t("div",{style:{backgroundColor:this.formattedColor}})])}),[],!1,null,"6d4e6158",null);"function"==typeof o.a&&o()(s);var c=s.exports;
/**
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/t.default=c},function(e,t,n){"use strict";n.r(t);var r={name:"AppNavigationCounter",props:{highlighted:{type:Boolean,default:!1}}},a=(n(214),n(0)),i=n(135),o=n.n(i),s=Object(a.a)(r,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"app-navigation-entry__counter",class:{"app-navigation-entry__counter--highlighted":this.highlighted}},[this._t("default")],2)}),[],!1,null,"03f63035",null);"function"==typeof o.a&&o()(s);var c=s.exports;
/**
* @copyright Copyright (c) 2019 Marco Ambrosini <marcoambrosini@pm.me>
*
* @author Marco Ambrosini <marcoambrosini@pm.me>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/t.default=c},function(e,t,n){"use strict";n.r(t);var r={name:"AppNavigationCaption",props:{title:{type:String,required:!0}}},a=(n(212),n(0)),i=Object(a.a)(r,(function(){var e=this.$createElement;return(this._self._c||e)("li",{staticClass:"app-navigation-caption"},[this._v("\n\t"+this._s(this.title)+"\n")])}),[],!1,null,"46add67c",null).exports;t.default=i},function(e,t,n){"use strict";n.r(t);var r=(n(210),n(0)),a=Object(r.a)({name:"AppNavigation"},(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"vue",attrs:{id:"app-navigation"}},[this._t("default")],2)}),[],!1,null,"058349d0",null).exports;t.default=a},function(e,t,n){"use strict";n.r(t);var r={name:"AppContentList",props:{selection:{type:Boolean,default:!1},showDetails:{type:Boolean,default:!1}}},a=n(0),i=Object(a.a)(r,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"app-content-list",class:{selection:this.selection,showdetails:this.showDetails}},[this._t("default")],2)}),[],!1,null,null,null).exports;t.default=i},function(e,t,n){"use strict";n.r(t);var r=n(0),a=Object(r.a)({name:"AppContentDetails"},(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"app-content-details"},[this._t("default")],2)}),[],!1,null,null,null).exports;t.default=a},function(e,t,n){"use strict";n.r(t);var r=n(83),a=n.n(r),i={name:"AppContent",components:{AppNavigationToggle:n(130).default},data:function(){return{opened:!1}},mounted:function(){var e=this;this.mc=new a.a(this.$el,{cssProps:{userSelect:"text"}}),this.mc.on("swipeleft swiperight",(function(t){e.handleSwipe(t)}))},unmounted:function(){this.mc.off("swipeleft swiperight"),this.mc.destroy()},methods:{toggleNavigation:function(e){this.opened=e||!this.opened,this.opened?document.body.classList.add("nav-open"):document.body.classList.remove("nav-open")},handleSwipe:function(e){var t=e.srcEvent.pageX-e.deltaX,n=Math.abs(e.deltaX)>70;n&&t<40?this.toggleNavigation(!0):this.opened&&n&&t<340&&this.toggleNavigation(!1)}}},o=(n(208),n(0)),s=Object(o.a)(i,(function(){var e=this.$createElement,t=this._self._c||e;return t("main",{staticClass:"no-snapper",style:this.opened?"transform: translateX(300px)":"",attrs:{id:"app-content"}},[t("AppNavigationToggle",{attrs:{"aria-expanded":this.opened,"aria-controls":"app-navigation"},on:{click:this.toggleNavigation}}),this._v(" "),this._t("default")],2)}),[],!1,null,"5210b8b7",null).exports;t.default=s},function(e,t,n){"use strict";n.r(t),n(28);var r=n(26),a=n(17),i={name:"ActionTextEditable",mixins:[r.a],props:{id:{type:String,default:function(){return"action-"+Object(a.a)()},validator:function(e){return""!==e.trim()}},disabled:{type:Boolean,default:!1},value:{type:String,default:""}},computed:{isFocusable:function(){return!this.disabled}},methods:{onInput:function(e){this.$emit("input",e),this.$emit("update:value",e.target.value)},onSubmit:function(e){if(e.preventDefault(),e.stopPropagation(),this.disabled)return!1;this.$emit("submit",e)}}},o=(n(206),n(0)),s=n(134),c=n.n(s),l=Object(o.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{class:{"action--disabled":e.disabled}},[n("span",{staticClass:"action-text-editable"},[n("span",{staticClass:"action-text-editable__icon",class:[e.isIconUrl?"action-text-editable__icon--url":e.icon],style:{backgroundImage:e.isIconUrl?"url("+e.icon+")":null}}),e._v(" "),n("form",{ref:"form",staticClass:"action-text-editable__form",attrs:{disabled:e.disabled},on:{submit:function(t){return t.preventDefault(),e.onSubmit(t)}}},[n("input",{staticClass:"action-text-editable__submit",attrs:{id:e.id,type:"submit"}}),e._v(" "),e.title?n("strong",{staticClass:"action-text__title"},[e._v("\n\t\t\t\t"+e._s(e.title)+"\n\t\t\t")]):e._e(),e._v(" "),n("textarea",e._b({class:["action-text-editable__textarea",{focusable:e.isFocusable}],attrs:{disabled:e.disabled},domProps:{value:e.value},on:{input:e.onInput}},"textarea",e.$attrs,!1)),e._v(" "),n("label",{directives:[{name:"show",rawName:"v-show",value:!e.disabled,expression:"!disabled"}],staticClass:"action-text-edita
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/t.default=u},function(e,t,n){"use strict";n.r(t);var r={name:"ActionText",mixins:[n(26).a]},a=(n(204),n(0)),i=Object(a.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",[n("span",{staticClass:"action-text"},[""!==e.icon?n("span",{staticClass:"action-text__icon",class:[e.isIconUrl?"action-text__icon--url":e.icon],style:{backgroundImage:e.isIconUrl?"url("+e.icon+")":null}}):e._e(),e._v(" "),e.title?n("p",[n("strong",{staticClass:"action-text__title"},[e._v("\n\t\t\t\t"+e._s(e.title)+"\n\t\t\t")]),e._v(" "),n("br"),e._v(" "),n("span",{staticClass:"action-text__longtext",domProps:{textContent:e._s(e.text)}})]):e.isLongText?n("p",{staticClass:"action-text__longtext",domProps:{textContent:e._s(e.text)}}):n("span",{staticClass:"action-text__text"},[e._v(e._s(e.text))]),e._v(" "),e._e()],2)])}),[],!1,null,"7ecb157c",null).exports;t.default=i},function(e,t,n){"use strict";n.r(t);var r=(n(202),n(0)),a=Object(r.a)({name:"ActionSeparator"},(function(){var e=this.$createElement;return(this._self._c||e)("li",{staticClass:"action-separator action--disabled"})}),[],!1,null,"0b38861b",null).exports;t.default=a},function(e,t,n){"use strict";n.r(t),n(33),n(28);var r=n(16),a=n(17),i={name:"ActionRadio",mixins:[r.a],props:{id:{type:String,default:function(){return"action-"+Object(a.a)()},validator:function(e){return""!==e.trim()}},checked:{type:Boolean,default:!1},name:{type:String,required:!0},value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1}},computed:{isFocusable:function(){return!this.disabled}},methods:{toggleInput:function(e){this.$refs.label.click()},onChange:function(e){this.$emit("update:checked",this.$refs.radio.checked),this.$emit("change",e)}}},o=(n(200),n(0)),s=n(133),c=n.n(s),l=Object(o.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{class:{"action--disabled":e.disabled}},[n("span",{staticClass:"action-radio"},[n("input",{ref:"radio",staticClass:"radio action-radio__radio",class:{focusable:e.isFocusable},attrs:{id:e.id,disabled:e.disabled,name:e.name,type:"radio"},domProps:{checked:e.checked,value:e.value},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.toggleInput(t))},change:e.onChange}}),e._v(" "),n("label",{ref:"label",staticClass:"action-radio__label",attrs:{for:e.id}},[e._v(e._s(e.text))]),e._v(" "),e._e()],2)])}),[],!1,null,"3e7b4049",null);"function"==typeof c.a&&c()(l);var u=l.exports;
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/t.default=u},function(e,t,n){"use strict";n.r(t),n(167),n(235),n(22),n(236),n(121),n(237),n(168);var r=n(5),a=n.n(r),i=n(164),o=n.n(i),s=n(38),c=n(118),l=n(117),u=n(31),p=n(115),d={name:"Breadcrumbs",components:{Actions:s.default,ActionRouter:c.default,ActionLink:l.default,Breadcrumb:p.default},props:{rootIcon:{type:String,default:"icon-home"}},data:function(){return{hiddenCrumbs:[],hiddenIndices:[]}},beforeMount:function(){Object(u.a)(this.$slots.default,["Breadcrumb"],this)},beforeUpdate:function(){Object(u.a)(this.$slots.default,["Breadcrumb"],this)},created:function(){var e=this;window.addEventListener("resize",o()((function(){e.handleWindowResize()}),100))},mounted:function(){this.handleWindowResize()},updated:function(){var e=this;this.$nextTick((function(){e.handleWindowResize()}))},beforeDestroy:function(){window.removeEventListener("resize",this.handleWindowResize)},methods:{closeActions:function(e){this.$refs.actionsBreadcrumb.$el.contains(e.relatedTarget)||(this.$refs.actionsBreadcrumb.$refs.actions.opened=!1)},handleWindowResize:function(){var e=this.$slots.default||[];if(this.$refs.container){var t=e.length,n=[],r=this.$refs.container.offsetWidth,a=this.getTotalWidth(e)-r;a+=a>0?51:0;for(var i=0,o=Math.floor(t/2);a>0&&i<t-2;){var s=o+(i%2?i+1:i)/2*Math.pow(-1,i+t%2);a-=this.getWidth(e[s].elm),n.push(s),i++}this.arraysEqual(this.hiddenIndices,n.sort((function(e,t){return e-t})))||(this.hiddenCrumbs=n.map((function(t){return e[t]})),this.hiddenIndices=n)}},arraysEqual:function(e,t){if(e.length!==t.length)return!1;if(e===t)return!0;if(null===e||null===t)return!1;for(var n=0;n<e.length;++n)if(e[n]!==t[n])return!1;return!0},getTotalWidth:function(e){var t=this;return e.reduce((function(e,n,r){return e+t.getWidth(n.elm)}),0)},getWidth:function(e){if(!e.classList)return 0;var t=e.classList.contains("crumb--hidden");e.classList.remove("crumb--hidden");var n=e.offsetWidth;return t&&e.classList.add("crumb--hidden"),n},preventDefault:function(e){return e.preventDefault&&e.preventDefault(),!1},dragStart:function(e){return this.preventDefault(e)},dropped:function(e,t,n){return n||this.$emit("dropped",e,t),this.$refs.actionsBreadcrumb.$refs.actions.opened=!1,document.querySelectorAll(".crumb").forEach((function(e){e.classList.remove("crumb--hovered")})),this.preventDefault(e)},dragOver:function(e){return this.preventDefault(e)},dragEnter:function(e,t){if(!t&&e.target.closest){var n=e.target.closest(".crumb");n.classList&&n.classList.contains("crumb")&&(document.querySelectorAll(".crumb").forEach((function(e){e.classList.remove("crumb--hovered")})),n.classList.add("crumb--hovered"))}},dragLeave:function(e,t){if(!t&&!e.target.contains(e.relatedTarget)&&e.target.closest){var n=e.target.closest(".crumb");if(n.contains(e.relatedTarget))return;n.classList&&n.classList.contains("crumb")&&n.classList.remove("crumb--hovered")}},addCrumbs:function(e,t){var n=this;t.forEach((function(t,r){t.elm&&t.elm.classList&&(n.hiddenCrumbs.includes(t)?t.elm.classList.add("crumb--hidden"):t.elm.classList.remove("crumb--hidden")),e.push(t)}))}},render:function(e){var t=this,n=this.$slots.default||[];if(0!==n.length){a.a.set(n[0].componentOptions.propsData,"icon",this.rootIcon);var r=[],i=this.hiddenCrumbs.length?n.slice(0,Math.round(n.length/2)):n;this.addCrumbs(r,i),this.hiddenCrumbs.length&&r.push(e("Breadcrumb",{class:"dropdown",props:{title:"",forceMenu:!0,disableDrop:!0,hideable:!1},ref:"actionsBreadcrumb",key:"actions-breadcrumb-1",nativeOn:{dragstart:this.dragStart,dragenter:function(){t.$refs.actionsBreadcrumb.$refs.actions.opened=!0},dragleave:this.closeActions}},this.hiddenCrumbs.map((function(n){var r=n.componentOptions.propsData.to,a=n.componentOptions.propsData.href,i=n.componentOptions.propsData.disableDrop,o="ActionLink",s=a;return r&&(o="ActionRouter",s=r),e(o,{class:"crumb",props:{to:r,href:a,icon:"icon-folder"},attrs:{draggable:!1},nativeOn:{dragstart:t.dragStart,drop:function(e){return t.dropped(e,s,i)},dragover:t.dragOver,dragenter:function(e){return t.dragEnter(e,i)},dragleave:function(e){return t.dragLeave(e,i)}}},n.comp
/**
* @copyright Copyright (c) 2020 Raimund Schlüßler <raimund.schluessler@mailbox.org>
*
* @author Raimund Schlüßler <raimund.schluessler@mailbox.org>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/t.default=g},function(e,t,n){"use strict";var r=n(89);n.n(r).a},function(e,t,n){(t=n(1)(!1)).push([e.i,"li.active[data-v-3470f069]{box-shadow:inset 4px 0 var(--color-primary)}.action--disabled[data-v-3470f069]{pointer-events:none;opacity:.5}.action--disabled[data-v-3470f069]:hover,.action--disabled[data-v-3470f069]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-3470f069]{opacity:1 !important}.action-checkbox[data-v-3470f069]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:normal;line-height:44px}.action-checkbox__checkbox[data-v-3470f069]{position:absolute;top:auto;left:-10000px;overflow:hidden;width:1px;height:1px}.action-checkbox__checkbox:focus+.action-checkbox__label[data-v-3470f069]{opacity:1}.action-checkbox__label[data-v-3470f069]{display:flex;align-items:center;width:100%;padding:0 !important;padding-right:14px !important;opacity:.7}.action-checkbox__label[data-v-3470f069]::before{margin:0 14px 0 !important}.action-checkbox--disabled[data-v-3470f069],.action-checkbox--disabled .action-checkbox__label[data-v-3470f069]{cursor:pointer}.action-checkbox:not(.action-checkbox--disabled):hover .action-checkbox__label[data-v-3470f069],.action-checkbox:not(.action-checkbox--disabled):focus .action-checkbox__label[data-v-3470f069]{opacity:1}\n",""]),e.exports=t},function(e,t,n){"use strict";var r=n(90);n.n(r).a},function(e,t,n){var r=n(1),a=n(7),i=n(8),o=n(9),s=n(10),c=n(11);t=r(!1);var l=a(i),u=a(o),p=a(s),d=a(c);t.push([e.i,'@font-face{font-family:"iconfont-vue-e1f55ce";src:url('+l+");src:url("+l+') format("embedded-opentype"),url('+u+') format("woff"),url('+p+') format("truetype"),url('+d+') format("svg")}.icon[data-v-29ded998]{font-style:normal;font-weight:400}.icon.arrow-left-double[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.arrow-left[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.arrow-right-double[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.arrow-right[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.breadcrumb[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.checkmark[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.close[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.confirm[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.info[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.menu[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.more[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.pause[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.play[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.triangle-s[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}button[data-v-29ded998],input[data-v-29ded998]:not([type=\'range\']),textarea[data-v-29ded998]{margin:0;padding:7px 6px;cursor:text;color:var(--color-text-lighter);border:1px solid var(--color-border-dark);border-radius:var(--border-radius);outline:none;background-color:var(--color-main-background);font-size:13px}button[data-v-29ded998]:not(:disabled):not(.primary):hover,button[data-v-29ded998]:not(:disabled):not(.primary):focus,button:not(:disabled):not(.primary).active[data-v-29ded998],input[data-v-29ded998]:not([type=\'range\']):not(:disabled):not(.primary):hover,input[data-v-29ded998]:not([type=\'range\']):not(:disabled):not(.primary):focus,input:not([type=\'range\']):not(:disabled):not(.primary).active[data-v-29ded998],textarea[data-v-29ded998]:not(:disabled):not(.primary):hover,textarea[data-v-29ded998]:not(:disabled):not(.primary):focus,textarea:not(:disabled):not(.primary).active[data-v-29ded998]{border-color:var(--color-primary-element);outline:none}butt
/**
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
/**
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/function G(e){Object.values(r).forEach((function(t){e.component(t.name,t)}))}"undefined"!=typeof window&&window.Vue&&G(window.Vue),t.default=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(n),!0).forEach((function(t){H(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({install:G},r)}])},function(e,t,n){"use strict";(function(e){for(
/**!
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.15.0
* @license
* Copyright (c) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
var n="undefined"!=typeof window&&"undefined"!=typeof document,r=["Edge","Trident","Firefox"],a=0,i=0;i<r.length;i+=1)if(n&&navigator.userAgent.indexOf(r[i])>=0){a=1;break}var o=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),a))}};function s(e){return e&&"[object Function]"==={}.toString.call(e)}function c(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function l(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function u(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=c(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/(auto|scroll|overlay)/.test(n+a+r)?e:u(l(e))}var p=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function f(e){return 11===e?p:10===e?d:p||d}function h(e){if(!e)return document.documentElement;for(var t=f(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===c(n,"position")?h(n):n:e?e.ownerDocument.documentElement:document.documentElement}function m(e){return null!==e.parentNode?m(e.parentNode):e}function v(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,a=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(a,0);var o,s,c=i.commonAncestorContainer;if(e!==c&&t!==c||r.contains(a))return"BODY"===(s=(o=c).nodeName)||"HTML"!==s&&h(o.firstElementChild)!==o?h(c):c;var l=m(e);return l.host?v(l.host,t):v(e,m(t).host)}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var a=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||a;return i[n]}return e[n]}function b(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(t,"top"),a=g(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=a*i,e.right+=a*i,e}function A(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+r+"Width"],10)}function y(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],f(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function x(e){var t=e.body,n=e.documentElement,r=f(10)&&getComputedStyle(n);return{height:y("Height",t,n,r),width:y("Width",t,n,r)}}var w=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},_=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),C=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function T(e){return k({},e,{right:e.left+e.width,bottom:e.top+e.height})}function E(e){var t={};try{if(f(10)){t=e.getBoundingClientRect();var n=g(e,"top"),r=g(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var a={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?x(e.ownerDocument):{},o=i.width||e.clientWidth||a.right-a.left,s=i.height||e.clientHeight||a.bottom-a.top,l=e.offsetWidth-o,u=e.offsetHeight-s;if(l||u){var p=c(e);l-=A(p,"x"),u-=A(p,"y"),a.width-=l,a.height-=u}return T(a)}function S(e,t){var n=arguments.length>2&&void 0!==a
/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/var r=/["'&<>]/;e.exports=function(e){var t,n=""+e,a=r.exec(n);if(!a)return n;var i="",o=0,s=0;for(o=a.index;o<n.length;o++){switch(n.charCodeAt(o)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#39;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}s!==o&&(i+=n.substring(s,o)),s=o+1,i+=t}return s!==o?i+n.substring(s,o):i}},function(e,t,n){"use strict";n(252),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(275))&&r.__esModule?r:{default:r},i=n(292);var o=a.default.create({headers:{requesttoken:(0,i.getRequestToken)()}}),s=Object.assign(o,{CancelToken:a.default.CancelToken,isCancel:a.default.isCancel});(0,i.onRequestTokenUpdate)((function(e){return o.defaults.headers.requesttoken=e}));var c=s;t.default=c},function(e,t,n){var r=n(253),a=n(272);r({target:"Object",stat:!0,forced:Object.assign!==a},{assign:a})},function(e,t,n){var r=n(22),a=n(157).f,i=n(65),o=n(256),s=n(103),c=n(263),l=n(271);e.exports=function(e,t){var n,u,p,d,f,h=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[h]||s(h,{}):(r[h]||{}).prototype)for(u in t){if(d=t[u],p=e.noTargetGet?(f=a(n,u))&&f.value:n[u],!l(m?u:h+(v?".":"#")+u,e.forced)&&void 0!==p){if(typeof d==typeof p)continue;c(d,p)}(e.sham||p&&p.sham)&&i(d,"sham",!0),o(n,u,d,e)}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(22),a=n(64),i=r.document,o=a(i)&&a(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){var r=n(22),a=n(65),i=n(50),o=n(103),s=n(166),c=n(257),l=c.get,u=c.enforce,p=String(String).split("String");(e.exports=function(e,t,n,s){var c=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||a(n,"name",t),u(n).source=p.join("string"==typeof t?t:"")),e!==r?(c?!d&&e[t]&&(l=!0):delete e[t],l?e[t]=n:a(e,t,n)):l?e[t]=n:o(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},function(e,t,n){var r,a,i,o=n(258),s=n(22),c=n(64),l=n(65),u=n(50),p=n(259),d=n(168),f=s.WeakMap;if(o){var h=new f,m=h.get,v=h.has,g=h.set;r=function(e,t){return g.call(h,e,t),t},a=function(e){return m.call(h,e)||{}},i=function(e){return v.call(h,e)}}else{var b=p("state");d[b]=!0,r=function(e,t){return l(e,b,t),t},a=function(e){return u(e,b)?e[b]:{}},i=function(e){return u(e,b)}}e.exports={set:r,get:a,has:i,enforce:function(e){return i(e)?a(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=a(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(22),a=n(166),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(a(i))},function(e,t,n){var r=n(260),a=n(262),i=r("keys");e.exports=function(e){return i[e]||(i[e]=a(e))}},function(e,t,n){var r=n(261),a=n(167);(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.4",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!1},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t,n){var r=n(50),a=n(264),i=n(157),o=n(164);e.exports=function(e,t){for(var n=a(t),s=o.f,c=i.f,l=0;l<n.length;l++){var u=n[l];r(e,u)||s(e,u,c(t,u))}}},function(e,t,n){var r=n(265),a=n(267),i=n(172),o=n(165);e.exports=r("Reflect","ownKeys")||function(e){var t=a.f(o(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(266),a=n(22),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(a[e]):r[e]&&r[e][t]||a[e]&&a[e][t]}},function(e,t,n){var r=n(22);e.exports=r},function(e,t,n){var r=n(169),a=n(171).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},function(e,t,n){var r=n(102),a=n(269),i=n(270),o=function(e){return function(t,n,o){var s,c=r(t),l=a(c.length),u=i(o,l);if(e&&n!=n){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}}
/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,n){var r=n(0),a=n(149);r({target:"Object",stat:!0,forced:Object.assign!==a},{assign:a})},function(e,t,n){"use strict";var r=n(0),a=n(87),i=n(40),o=n(14),s=n(18),c=n(95),l=n(47),u=n(45),p=n(17),d=u("splice"),f=p("splice",{ACCESSORS:!0,0:0,1:2}),h=Math.max,m=Math.min;r({target:"Array",proto:!0,forced:!d||!f},{splice:function(e,t){var n,r,u,p,d,f,v=s(this),g=o(v.length),b=a(e,g),A=arguments.length;if(0===A?n=r=0:1===A?(n=0,r=g-b):(n=A-2,r=m(h(i(t),0),g-b)),g+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=c(v,r),p=0;p<r;p++)(d=b+p)in v&&l(u,p,v[d]);if(u.length=r,n<r){for(p=b;p<g-r;p++)f=p+n,(d=p+r)in v?v[f]=v[d]:delete v[f];for(p=g;p>g-r+n;p--)delete v[p-1]}else if(n>r)for(p=g-r;p>b;p--)f=p+n-1,(d=p+r-1)in v?v[f]=v[d]:delete v[f];for(p=0;p<n;p++)v[p+b]=arguments[p+2];return v.length=g-r+n,u}})},function(e,t,n){"use strict";var r,a,i,o,s=n(0),c=n(25),l=n(2),u=n(26),p=n(309),d=n(9),f=n(97),h=n(27),m=n(106),v=n(5),g=n(44),b=n(46),A=n(20),y=n(83),x=n(105),w=n(183),_=n(310),C=n(186).set,k=n(311),T=n(312),E=n(313),S=n(188),M=n(314),O=n(19),I=n(41),N=n(1),L=n(96),D=N("species"),P="Promise",j=O.get,B=O.set,F=O.getterFor(P),R=p,$=l.TypeError,U=l.document,z=l.process,V=u("fetch"),Y=S.f,H=Y,G="process"==A(z),Q=!!(U&&U.createEvent&&l.dispatchEvent),W=I(P,(function(){if(!(y(R)!==String(R))){if(66===L)return!0;if(!G&&"function"!=typeof PromiseRejectionEvent)return!0}if(c&&!R.prototype.finally)return!0;if(L>=51&&/native code/.test(R))return!1;var e=R.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[D]=t,!(e.then((function(){}))instanceof t)})),q=W||!w((function(e){R.all(e).catch((function(){}))})),Z=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},X=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;k((function(){for(var a=t.value,i=1==t.state,o=0;r.length>o;){var s,c,l,u=r[o++],p=i?u.ok:u.fail,d=u.resolve,f=u.reject,h=u.domain;try{p?(i||(2===t.rejection&&te(e,t),t.rejection=1),!0===p?s=a:(h&&h.enter(),s=p(a),h&&(h.exit(),l=!0)),s===u.promise?f($("Promise-chain cycle")):(c=Z(s))?c.call(s,d,f):d(s)):f(a)}catch(e){h&&!l&&h.exit(),f(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&J(e,t)}))}},K=function(e,t,n){var r,a;Q?((r=U.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),l.dispatchEvent(r)):r={promise:t,reason:n},(a=l["on"+e])?a(r):"unhandledrejection"===e&&E("Unhandled promise rejection",n)},J=function(e,t){C.call(l,(function(){var n,r=t.value;if(ee(t)&&(n=M((function(){G?z.emit("unhandledRejection",r,e):K("unhandledrejection",e,r)})),t.rejection=G||ee(t)?2:1,n.error))throw n.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){C.call(l,(function(){G?z.emit("rejectionHandled",e):K("rejectionhandled",e,t.value)}))},ne=function(e,t,n,r){return function(a){e(t,n,a,r)}},re=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,X(e,t,!0))},ae=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw $("Promise can't be resolved itself");var a=Z(n);a?k((function(){var r={done:!1};try{a.call(n,ne(ae,e,r,t),ne(re,e,r,t))}catch(n){re(e,r,n,t)}})):(t.value=n,t.state=1,X(e,t,!1))}catch(n){re(e,{done:!1},n,t)}}};W&&(R=function(e){b(this,R,P),g(e),r.call(this);var t=j(this);try{e(ne(ae,this,t),ne(re,this,t))}catch(e){re(this,t,e)}},(r=function(e){B(this,{type:P,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=f(R.prototype,{then:function(e,t){var n=F(this),r=Y(_(this,R));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=G?z.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&X(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r,t=j(e);this.promise=e,this.resolve=ne(ae,e,t),this.reject=ne(re,e,t)},S.f=Y=function(e){return e===R||e===i?new a(e):H(e)},c||"function"!=typeof p||(o=p.prototype.then,d(p.prototype,"
/*! Hammer.JS - v2.0.7 - 2016-04-22
* http://hammerjs.github.io/
*
* Copyright (c) 2016 Jorik Tangelder;
* Licensed under the MIT license */!function(a,i,o,s){"use strict";var c,l=["","webkit","Moz","MS","ms","o"],u=i.createElement("div"),p=Math.round,d=Math.abs,f=Date.now;function h(e,t,n){return setTimeout(x(e,n),t)}function m(e,t,n){return!!Array.isArray(e)&&(v(e,n[t],n),!0)}function v(e,t,n){var r;if(e)if(e.forEach)e.forEach(t,n);else if(void 0!==e.length)for(r=0;r<e.length;)t.call(n,e[r],r,e),r++;else for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e)}function g(e,t,n){var r="DEPRECATED METHOD: "+t+"\n"+n+" AT \n";return function(){var t=new Error("get-stack-trace"),n=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",i=a.console&&(a.console.warn||a.console.log);return i&&i.call(a.console,r,n),e.apply(this,arguments)}}c="function"!=typeof Object.assign?function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var a in r)r.hasOwnProperty(a)&&(t[a]=r[a])}return t}:Object.assign;var b=g((function(e,t,n){for(var r=Object.keys(t),a=0;a<r.length;)(!n||n&&void 0===e[r[a]])&&(e[r[a]]=t[r[a]]),a++;return e}),"extend","Use `assign`."),A=g((function(e,t){return b(e,t,!0)}),"merge","Use `assign`.");function y(e,t,n){var r,a=t.prototype;(r=e.prototype=Object.create(a)).constructor=e,r._super=a,n&&c(r,n)}function x(e,t){return function(){return e.apply(t,arguments)}}function w(e,t){return"function"==typeof e?e.apply(t&&t[0]||void 0,t):e}function _(e,t){return void 0===e?t:e}function C(e,t,n){v(S(t),(function(t){e.addEventListener(t,n,!1)}))}function k(e,t,n){v(S(t),(function(t){e.removeEventListener(t,n,!1)}))}function T(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function E(e,t){return e.indexOf(t)>-1}function S(e){return e.trim().split(/\s+/g)}function M(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var r=0;r<e.length;){if(n&&e[r][n]==t||!n&&e[r]===t)return r;r++}return-1}function O(e){return Array.prototype.slice.call(e,0)}function I(e,t,n){for(var r=[],a=[],i=0;i<e.length;){var o=t?e[i][t]:e[i];M(a,o)<0&&r.push(e[i]),a[i]=o,i++}return n&&(r=t?r.sort((function(e,n){return e[t]>n[t]})):r.sort()),r}function N(e,t){for(var n,r,a=t[0].toUpperCase()+t.slice(1),i=0;i<l.length;){if((r=(n=l[i])?n+a:t)in e)return r;i++}}var L=1;function D(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||a}var P="ontouchstart"in a,j=void 0!==N(a,"PointerEvent"),B=P&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),F=["x","y"],R=["clientX","clientY"];function $(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){w(e.options.enable,[e])&&n.handler(t)},this.init()}function U(e,t,n){var r=n.pointers.length,a=n.changedPointers.length,i=1&t&&r-a==0,o=12&t&&r-a==0;n.isFirst=!!i,n.isFinal=!!o,i&&(e.session={}),n.eventType=t,function(e,t){var n=e.session,r=t.pointers,a=r.length;n.firstInput||(n.firstInput=z(t));a>1&&!n.firstMultiple?n.firstMultiple=z(t):1===a&&(n.firstMultiple=!1);var i=n.firstInput,o=n.firstMultiple,s=o?o.center:i.center,c=t.center=V(r);t.timeStamp=f(),t.deltaTime=t.timeStamp-i.timeStamp,t.angle=Q(s,c),t.distance=G(s,c),function(e,t){var n=t.center,r=e.offsetDelta||{},a=e.prevDelta||{},i=e.prevInput||{};1!==t.eventType&&4!==i.eventType||(a=e.prevDelta={x:i.deltaX||0,y:i.deltaY||0},r=e.offsetDelta={x:n.x,y:n.y});t.deltaX=a.x+(n.x-r.x),t.deltaY=a.y+(n.y-r.y)}(n,t),t.offsetDirection=H(t.deltaX,t.deltaY);var l=Y(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=l.x,t.overallVelocityY=l.y,t.overallVelocity=d(l.x)>d(l.y)?l.x:l.y,t.scale=o?(u=o.pointers,p=r,G(p[0],p[1],R)/G(u[0],u[1],R)):1,t.rotation=o?function(e,t){return Q(t[1],t[0],R)+Q(e[1],e[0],R)}(o.pointers,r):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,function(e,t){var n,r,a,i,o=e.lastInterval||t,s=t.timeStamp-o.timeStamp;if(8!=t.eventType&&(s>25||void 0===o.velocity)){var c
/**
* @copyright Copyright (c) 2018 Joas Schilling <coding@schilljs.com>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/
i.default.mixin({methods:{t:function(e,t,n,r,a){return OC.L10N.translate(e,t,n,r,a)},n:function(e,t,n,r,a,i){return OC.L10N.translatePlural(e,t,n,r,a,i)}}}),new i.default({el:"#updatenotification",render:function(e){return e(d)}})}]);
//# sourceMappingURL=updatenotification.js.map