nextcloud/apps/settings/js/vue-settings-personal-secur...

1019 lines
1.4 MiB
JavaScript
Raw Normal View History

!function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/js/",n(n.s=579)}([function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(14))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var o=n(0),r=n(40),i=n(6),a=n(41),s=n(57),c=n(99),l=r("wks"),u=o.Symbol,d=c?u:u&&u.withoutSetter||a;t.exports=function(t){return i(l,t)&&(s||"string"==typeof l[t])||(s&&i(u,t)?l[t]=u[t]:l[t]=d("Symbol."+t)),l[t]}},function(t,e,n){var o=n(0),r=n(23).f,i=n(12),a=n(10),s=n(49),c=n(97),l=n(47);t.exports=function(t,e){var n,u,d,p,f,m=t.target,A=t.global,h=t.stat;if(n=A?o:h?o[m]||s(m,{}):(o[m]||{}).prototype)for(u in e){if(p=e[u],d=t.noTargetGet?(f=r(n,u))&&f.value:n[u],!l(A?u:m+(h?".":"#")+u,t.forced)&&void 0!==d){if(typeof p==typeof d)continue;c(p,d)}(t.sham||d&&d.sham)&&i(p,"sham",!0),a(n,u,p,t)}}},function(t,e,n){var o=n(5);t.exports=function(t){if(!o(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var o=n(1);t.exports=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var o=n(7),r=n(81),i=n(4),a=n(30),s=Object.defineProperty;e.f=o?s:function(t,e,n){if(i(t),e=a(e,!0),i(n),r)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){"use strict";var o=n(110),r=Object.prototype.toString;function i(t){return"[object Array]"===r.call(t)}function a(t){return void 0===t}function s(t){return null!==t&&"object"==typeof t}function c(t){if("[object Object]"!==r.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function l(t){return"[object Function]"===r.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),i(t))for(var n=0,o=t.length;n<o;n++)e.call(null,t[n],n,t);else for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.call(null,t[r],r,t)}t.exports={isArray:i,isArrayBuffer:function(t){return"[object ArrayBuffer]"===r.call(t)},isBuffer:function(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:s,isPlainObject:c,isUndefined:a,isDate:function(t){return"[object Date]"===r.call(t)},isFile:function(t){return"[object File]"===r.call(t)},isBlob:function(t){return"[object Blob]"===r.call(t)},isFunction:l,isStream:function(t){return s(t)&&l(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchPara
/*!
* Vue.js v2.6.12
* (c) 2014-2020 Evan You
* Released under the MIT License.
*/
var o=Object.freeze({});function r(t){return null==t}function i(t){return null!=t}function a(t){return!0===t}function s(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function c(t){return null!==t&&"object"==typeof t}var l=Object.prototype.toString;function u(t){return"[object Object]"===l.call(t)}function d(t){return"[object RegExp]"===l.call(t)}function p(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function f(t){return i(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function m(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===l?JSON.stringify(t,null,2):String(t)}function A(t){var e=parseFloat(t);return isNaN(e)?t:e}function h(t,e){for(var n=Object.create(null),o=t.split(","),r=0;r<o.length;r++)n[o[r]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}h("slot,component",!0);var g=h("key,ref,slot,slot-scope,is");function v(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function C(t,e){return b.call(t,e)}function y(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var x=/-(\w)/g,w=y((function(t){return t.replace(x,(function(t,e){return e?e.toUpperCase():""}))})),k=y((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),_=/\B([A-Z])/g,B=y((function(t){return t.replace(_,"-$1").toLowerCase()}));var E=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var o=arguments.length;return o?o>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function S(t,e){e=e||0;for(var n=t.length-e,o=new Array(n);n--;)o[n]=t[n+e];return o}function T(t,e){for(var n in e)t[n]=e[n];return t}function M(t){for(var e={},n=0;n<t.length;n++)t[n]&&T(e,t[n]);return e}function P(t,e,n){}var $=function(t,e,n){return!1},N=function(t){return t};function I(t,e){if(t===e)return!0;var n=c(t),o=c(e);if(!n||!o)return!n&&!o&&String(t)===String(e);try{var r=Array.isArray(t),i=Array.isArray(e);if(r&&i)return t.length===e.length&&t.every((function(t,n){return I(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(r||i)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(n){return I(t[n],e[n])}))}catch(t){return!1}}function j(t,e){for(var n=0;n<t.length;n++)if(I(t[n],e))return n;return-1}function O(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var D=["component","directive","filter"],L=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],F={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:$,isReservedAttr:$,isUnknownElement:$,getTagNamespace:P,parsePlatformTagName:N,mustUseProp:$,async:!0,_lifecycleHooks:L},U=/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 R(t,e,n,o){Object.defineProperty(t,e,{value:n,enumerable:!!o,writable:!0,configurable:!0})}var z=new RegExp("[^"+U.source+".$_\\d]");var G,W="__proto__"in{},Y="undefined"!=typeof window,H="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Q=H&&WXEnvironment.platform.toLowerCase(),V=Y&&window.navigator.userAgent.toLowerCase(),q=V&&/msie|trident/.test(V),K=V&&V.indexOf("msie 9.0")>0,J=V&&V.indexOf("edge/")>0,X=(V&&V.indexOf("android"),V&&/iphone|ipad|ipod|ios/.test(V)||"ios"===Q),Z=(V&&/chrome\/\d+/.test(V),V&&/phantomjs/.test(V),V&&V.match(/firefox\/(\d+)/)),tt={}.watch,et=!1;if(Y)try{var nt={};Object.defineProperty(nt,"passive",{get:function(){et=!0}}),window.addEventListener("test-passive",null,nt)}catch(t){}var ot=function(){return void 0===G&&(G=!Y&&!H&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),G},rt=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function it(t){return"function"==t
/**!
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.16.1
* @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&&"undefined"!=typeof navigator,o=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var r=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),o))}};function i(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function s(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),n=e.overflow,o=e.overflowX,r=e.overflowY;return/(auto|scroll|overlay)/.test(n+r+o)?t:c(s(t))}function l(t){return t&&t.referenceNode?t.referenceNode:t}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function p(t){return 11===t?u:10===t?d:u||d}function f(t){if(!t)return document.documentElement;for(var e=p(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var o=n&&n.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?f(n):n:t?t.ownerDocument.documentElement:document.documentElement}function m(t){return null!==t.parentNode?m(t.parentNode):t}function A(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,o=n?t:e,r=n?e:t,i=document.createRange();i.setStart(o,0),i.setEnd(r,0);var a,s,c=i.commonAncestorContainer;if(t!==c&&e!==c||o.contains(r))return"BODY"===(s=(a=c).nodeName)||"HTML"!==s&&f(a.firstElementChild)!==a?f(c):c;var l=m(t);return l.host?A(l.host,e):A(t,m(e).host)}function h(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",o=t.nodeName;if("BODY"===o||"HTML"===o){var r=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||r;return i[n]}return t[n]}function g(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=h(e,"top"),r=h(e,"left"),i=n?-1:1;return t.top+=o*i,t.bottom+=o*i,t.left+=r*i,t.right+=r*i,t}function v(t,e){var n="x"===e?"Left":"Top",o="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+o+"Width"])}function b(t,e,n,o){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],p(10)?parseInt(n["offset"+t])+parseInt(o["margin"+("Height"===t?"Top":"Left")])+parseInt(o["margin"+("Height"===t?"Bottom":"Right")]):0)}function C(t){var e=t.body,n=t.documentElement,o=p(10)&&getComputedStyle(n);return{height:b("Height",e,n,o),width:b("Width",e,n,o)}}var y=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},x=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),w=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},k=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};function _(t){return k({},t,{right:t.left+t.width,bottom:t.top+t.height})}function B(t){var e={};try{if(p(10)){e=t.getBoundingClientRect();var n=h(t,"top"),o=h(t,"left");e.top+=n,e.left+=o,e.bottom+=n,e.right+=o}else e=t.getBoundingClientRect()}catch(t){}var r={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?C(t.ownerDocument):{},s=i.width||t.clientWidth||r.width,c=i.height||t.clientHeight||r.height,l=t.offsetWidth-s,u=t.offsetHeight-c;if(l||u){var d=a(t);l-=v(d,"x"),u-
/**
* @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/>.
*
*/
o.VTooltip.options.defaultTemplate='<div class="vue-tooltip" role="tooltip" data-v-'.concat("e08a231",'><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'),o.VTooltip.options.defaultHtml=!1,e.default=o.VTooltip},function(t,e,n){"use strict";var o=n(0),r=n.n(o),i=n(1),a=n.n(i)()(r.a);a.push([t.i,".vue-tooltip[data-v-e08a231]{position:absolute;z-index:100000;right:auto;left:auto;display:block;margin:0;margin-top:-3px;padding:10px 0;text-align:left;text-align:start;opacity:0;line-height:1.6;line-break:auto;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.vue-tooltip[data-v-e08a231][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-e08a231][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-e08a231][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-e08a231][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-e08a231][aria-hidden='true']{visibility:hidden;transition:opacity .15s, visibility .15s;opacity:0}.vue-tooltip[data-v-e08a231][aria-hidden='false']{visibility:visible;transition:opacity .15s;opacity:1}.vue-tooltip[data-v-e08a231] .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-e08a231] .tooltip-arrow{position:absolute;z-index:1;width:0;height:0;margin:0;border-style:solid;border-color:var(--color-main-background)}\n","",{version:3,sources:["webpack://./index.scss"],names:[],mappings:"AAeA,6BACC,iBAAkB,CAClB,cAAe,CACf,UAAW,CACX,SAAU,CACV,aAAc,CACd,QAAS,CAET,eAAgB,CAChB,cAAe,CACf,eAAgB,CAChB,gBAAiB,CACjB,SAAU,CACV,eAAgB,CAEhB,eAAgB,CAChB,sDAAuD,CAhBxD,gEAqBG,QAAS,CACT,YAAa,CACb,eAAgB,CAChB,6BA1Be,CA2Bf,8BAA+B,CAC/B,+BAAgC,CAChC,6BAA8B,CA3BjC,mEAkCG,KAAM,CACN,YAAa,CACb,eAAgB,CAChB,6BAvCe,CAwCf,4BAA6B,CAC7B,8BAA+B,CAC/B,6BAA8B,CAxCjC,kEA+CG,UAAW,CACX,cAAe,CACf,aAAc,CACd,6BAAsD,CACtD,4BAA6B,CAC7B,+BAAgC,CAChC,6BAA8B,CArDjC,iEA4DG,SAAU,CACV,cAAe,CACf,aAAc,CACd,6BAjEe,CAkEf,4BAA6B,CAC7B,8BAA+B,CAC/B,+BAAgC,CAlEnC,iDAwEE,iBAAkB,CAClB,wCAAyC,CACzC,SAAU,CA1EZ,kDA6EE,kBAAmB,CACnB,uBAAwB,CACxB,SAAU,CA/EZ,4CAoFE,eAAgB,CAChB,eAAgB,CAChB,iBAAkB,CAClB,4BAA6B,CAC7B,kCAAmC,CACnC,6CAA8C,CAzFhD,4CA8FE,iBAAkB,CAClB,SAAU,CACV,OAAQ,CACR,QAAS,CACT,QAAS,CACT,kBAAmB,CACnB,yCAA0C",sourcesContent:["$scope_version:\"e08a231\"; @import 'variables';\n/**\n* @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>\n* @copyright Copyright (c) 2016, Robin Appelman <robin@icewind.nl>\n* @copyright Copyright (c) 2016, Jan-Christoph Borchardt <hey@jancborchardt.net>\n* @copyright Copyright (c) 2016, Erik Pellikka <erik@pellikka.org>\n* @copyright Copyright (c) 2015, Vincent Petry <pvince81@owncloud.com>\n*\n* Bootstrap v3.3.5 (http://getbootstrap.com)\n* Copyright 2011-2015 Twitter, Inc.\n* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n*/\n\n$arrow-width: 10px;\n\n.vue-tooltip[data-v-#{$scope_version}] {\n\tposition: absolute;\n\tz-index: 100000;\n\tright: auto;\n\tleft: auto;\n\tdisplay: block;\n\tmargin: 0;\n\t/* default to top */\n\tmargin-top: -3px;\n\tpadding: 10px 0;\n\ttext-align: left;\n\ttext-align: start;\n\topacity: 0;\n\tline-height: 1.6;\n\n\tline-break: auto;\n\tfilter: drop-shadow(0 1px 10px var(--color-box-shadow));\n\n\t// TOP\n\t&[x-placement^='top'] {\n\t\t.tooltip-arrow {\n\t\t\tbottom: 0;\n\t\t\tmargin-top: 0;\n\t\t\tmargin-bottom: 0;\n\t\t\tborder-width: $arrow-width $
/**
* @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/>.
*
*/e.a={before:function(){this.$slots.default&&""!==this.text.trim()||(r.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(t,e){t.exports=o(217)},function(t,e){t.exports=o(213)},function(t,e){t.exports=o(278)},function(t,e,n){"use strict";var o=n(12);e.a={methods:{n:o.a,t:o.b}}},function(t,e){t.exports=o(282)},function(t,e,n){"use strict";var o=n(0),r=n.n(o),i=n(1),a=n.n(i)()(r.a);a.push([t.i,".mention-bubble--primary .mention-bubble__content[data-v-724f9d58]{color:var(--color-primary-text);background-color:var(--color-primary-element)}.mention-bubble__wrapper[data-v-724f9d58]{max-width:150px;height:18px;vertical-align:text-bottom;display:inline-flex;align-items:center}.mention-bubble__content[data-v-724f9d58]{display:inline-flex;overflow:hidden;align-items:center;max-width:100%;height:20px;-webkit-user-select:none;user-select:none;padding-right:6px;padding-left:2px;border-radius:10px;background-color:var(--color-background-dark)}.mention-bubble__icon[data-v-724f9d58]{position:relative;width:16px;height:16px;border-radius:8px;background-color:var(--color-background-darker);background-repeat:no-repeat;background-position:center;background-size:12px}.mention-bubble__icon--with-avatar[data-v-724f9d58]{color:inherit;background-size:cover}.mention-bubble__title[data-v-724f9d58]{overflow:hidden;margin-left:2px;white-space:nowrap;text-overflow:ellipsis}.mention-bubble__title[data-v-724f9d58]::before{content:attr(title)}.mention-bubble__select[data-v-724f9d58]{position:absolute;z-index:-1;left:-1000px}\n","",{version:3,sources:["webpack://./MentionBubble.vue"],names:[],mappings:"AAsGC,mEACC,+BAAgC,CAChC,6CAA8C,CAC9C,0CAGA,eAXsB,CAatB,WAAwC,CACxC,0BAA2B,CAC3B,mBAAoB,CACpB,kBAAmB,CACnB,0CAGA,mBAAoB,CACpB,eAAgB,CAChB,kBAAmB,CACnB,cAAe,CACf,WAzBkB,CA0BlB,wBAAyB,CACzB,gBAAiB,CACjB,iBAAkC,CAClC,gBA3BkB,CA4BlB,kBAAiC,CACjC,6CAA8C,CAC9C,uCAGA,iBAAkB,CAClB,UAjCuD,CAkCvD,WAlCuD,CAmCvD,iBAAsC,CACtC,+CAAgD,CAChD,2BAA4B,CAC5B,0BAA2B,CAC3B,oBAA0D,CAE1D,oDACC,aAAc,CACd,qBAAsB,CACtB,wCAID,eAAgB,CAChB,eAlDkB,CAmDlB,kBAAmB,CACnB,sBAAuB,CAJvB,gDAOC,mBAAoB,CACpB,yCAKD,iBAAkB,CAClB,UAAW,CACX,YAAa",sourcesContent:["$scope_version:\"e08a231\"; @import 'variables';\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n$bubble-height: 20px;\n$bubble-max-width: 150px;\n$bubble-padding: 2px;\n$bubble-avatar-size: $bubble-height - 2 * $bubble-padding;\n\n.mention-bubble {\n\t&--primary &__content {\n\t\tcolor: var(--color-primary-text);\n\t\tbackground-color: var(--color-primary-element);\n\t}\n\n\t&__wrapper {\n\t\tmax-width: $bubble-max-width;\n\t\t// Align with text\n\t\theight: $bubble-height - $bubble-padding;\n\t\tvertical-align: text-bottom;\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t}\n\n\t&__content {\n\t\tdisplay: inline-flex;\n\t\toverflow: hidden;\n\t\talign-items: center;\n\t\tmax-width: 100%;\n\t\theight: $bubble-height ;\n\t\t-webkit-user-select: none;\n\t\tuser-select: none;\n\t\tpadding-right: $bubble-padding * 3;\n\t\tpadding-left: $bubble-padding;\n\t\tborder-radius: $bubble-height / 2;\n\t\tbackground-color: var(--color-background-dark);\n\t}\n\n\t&__icon {\n\t\tposition: relative;\n\t\twidth: $bubble-avatar-size;\n\t\theight: $bubble-avatar-size;\n\t\tborder-radius: $bubble-avatar-size / 2;\n\t\tbackground-color: var(--color-background-darker);\n\t\tbackground-repeat: no-repeat;\n\t\tbackground-position: center;\n\t\tbackground-size: $bubble-avatar-size - 2 * $bubble-padding;\n\n\t\t&--with-avatar {\n\t\t\tcolor: inherit;\n\t\t\tbackground-size: cover;\n\t\t}\n\t}\n\n\t&__title {\n\t\toverflow: hidden;\n\t\tmargin-left: $b
/**
* @copyright Copyright (c) 2020 Georg Ehrke <georg-nextcloud@ehrke.email>
*
* @author Georg Ehrke <georg-nextcloud@ehrke.email>
*
* @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 f={data:function(){return{hasStatus:!1,userStatus:{status:null,message:null,icon:null}}},methods:{fetchUserStatus:function(t){var e,n=this;return(e=regeneratorRuntime.mark((function e(){var o,r,i,a,s,p,f,m,A;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(u.getCapabilities)(),Object.prototype.hasOwnProperty.call(o,"user_status")&&o.user_status.enabled){e.next=3;break}return e.abrupt("return");case 3:if(Object(d.getCurrentUser)()){e.next=5;break}return e.abrupt("return");case 5:return e.prev=5,e.next=8,c.a.get(Object(l.generateOcsUrl)("apps/user_status/api/v1",2)+"statuses/".concat(encodeURIComponent(t)));case 8:r=e.sent,i=r.data,a=i.ocs.data,s=a.status,p=a.message,f=a.icon,n.userStatus.status=s,n.userStatus.message=p||"",n.userStatus.icon=f||"",n.hasStatus=!0,e.next=22;break;case 17:if(e.prev=17,e.t0=e.catch(5),404!==e.t0.response.status||0!==(null===(m=e.t0.response.data.ocs)||void 0===m||null===(A=m.data)||void 0===A?void 0:A.length)){e.next=21;break}return e.abrupt("return");case 21:console.error(e.t0);case 22:case"end":return e.stop()}}),e,null,[[5,17]])})),function(){var t=this,n=arguments;return new Promise((function(o,r){var i=e.apply(t,n);function a(t){p(i,o,r,a,s,"next",t)}function s(t){p(i,o,r,a,s,"throw",t)}a(void 0)}))})()}}};
/**
* @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(t,e){t.exports=o(214)},function(t,e,n){"use strict";n.r(e);var o=n(26);
/**
* @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/>.
*
*/e.default=o.a},function(t,e){t.exports=o(279)},function(t,e,n){"use strict";n(39),n(6),n(17),n(18),n(19);var o=n(38),r=(n(15),function(t,e){for(var n=t.$parent;n;){if(n.$options.name===e)return n;n=n.$parent}});e.a={mixins:[o.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(t){return!1}}},methods:{onClick:function(t){if(this.$emit("click",t),this.closeAfterClick){var e=r(this,"Actions");e&&e.closeMenu&&e.closeMenu()}}}}},function(t,e,n){"use strict";n(30),n(15),n(98);var o=n(5),r=n.n(o);e.a=function(t,e,n){if(void 0!==t)for(var o=t.length-1;o>=0;o--){var i=t[o],a=!i.componentOptions&&i.tag&&-1===e.indexOf(i.tag),s=!!i.componentOptions&&"string"==typeof i.componentOptions.tag,c=s&&-1===e.indexOf(i.componentOptions.tag);(a||!s||c)&&((a||c)&&r.a.util.warn("".concat(a?i.tag:i.componentOptions.tag," is not allowed inside the ").concat(n.$options.name," component"),n),t.splice(o,1))}}},function(t,e){t.exports=o(130)},function(t,e){t.exports=o(215)},function(t,e,n){"use strict";var o=n(0),r=n.n(o),i=n(1),a=n.n(i)()(r.a);a.push([t.i,"\nbutton.menuitem[data-v-a7ced2f4] {\n\ttext-align: left;\n}\nbutton.menuitem *[data-v-a7ced2f4] {\n\tcursor: pointer;\n}\nbutton.menuitem[data-v-a7ced2f4]:disabled {\n\topacity: 0.5 !important;\n\tcursor: default;\n}\nbutton.menuitem:disabled *[data-v-a7ced2f4] {\n\tcursor: default;\n}\n.menuitem.active[data-v-a7ced2f4] {\n\tbox-shadow: inset 2px 0 var(--color-primary);\n\tborder-radius: 0;\n}\n","",{version:3,sources:["webpack://./PopoverMenuItem.vue"],names:[],mappings:";AA4HA;CACA,gBAAA;AACA;AAEA;CACA,eAAA;AACA;AAEA;CACA,uBAAA;CACA,eAAA;AACA;AAEA;CACA,eAAA;AACA;AAEA;CACA,4CAAA;CACA,gBAAA;AACA",sourcesContent:['\x3c!--\n - @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>\n -\n - @author John Molakvoæ <skjnldsv@protonmail.com>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n --\x3e\n\n<template>\n\t<li class="popover__menuitem">\n\t\t\x3c!-- If item.href is set, a link will be directly used --\x3e\n\t\t<a v-if="item.href"\n\t\t\t:href="(item.href) ? item.href : \'#\' "\n\t\t\t:target="(item.target) ? item.target : \'\' "\n\t\t\t:download="item.download"\n\t\t\tclass="focusable"\n\t\t\trel="noreferrer noopener"\n\t\t\t@click="action">\n\t\t\t<span v-if="!iconIsUrl" :class="item.icon" />\n\t\t\t<img v-else :src="item.icon">\n\t\t\t<p v-if="item.text && item.longtext">\n\t\t\t\t<strong class="menuitem-text">\n\t\t\t\t\t{{ item.text }}\n\t\t\t\t</strong><br>\n\t\t\t\t<span class="menuitem-text-detail">\n\t\t\t\t\t{{ item.longtext }}\n\t\t\t\t</span>\n\t\t\t</p>\n\t\t\t<span v-else-if="item.text">\n\t\t\t\t{{ item.text }}\n\t\t\t</span>\n\t\t\t<p v-else-if="item.longtext">\n\t\t\t\t{{ item.longtext }}\n\t\t\t</p>\n\t\t</a>\n\n\t\t\x3c!-- If item.input is set instead, an put will be used --\x3e\n\t\t<span v-else-if="item.input" class="menuitem" :class="{active: item.active}">\n\t\t\t\x3c!-- does not show if input is checkbox --\x3e\n\t\t\t<span v-if="item.input !== \'checkbox\'" :class="item.icon" />\n\n\t\t\t\x3c!-- only shows if input is text --\x3e\n\t\t\t<form v-if="item.input === \'text\'"\n\t\t\t\t:class="item.input"\n\t\t\t\t@submit.prevent="item.action">\n\t\t\t\t<input :type="item.input"\n\t\t\t\t\t:val
/**
* @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 o(t,e,n){this.r=t,this.g=e,this.b=n}function r(t,e,n){var r=[];r.push(e);for(var i=function(t,e){var n=new Array(3);return n[0]=(e[1].r-e[0].r)/t,n[1]=(e[1].g-e[0].g)/t,n[2]=(e[1].b-e[0].b)/t,n}(t,[e,n]),a=1;a<t;a++){var s=parseInt(e.r+i[0]*a,10),c=parseInt(e.g+i[1]*a,10),l=parseInt(e.b+i[2]*a,10);r.push(new o(s,c,l))}return r}n(30),e.a=function(t){t||(t=6);var e=new o(182,70,157),n=new o(221,203,85),i=new o(0,130,201),a=r(t,e,n),s=r(t,n,i),c=r(t,i,e);return a.concat(s).concat(c)}},function(t,e,n){"use strict";var o=n(0),r=n.n(o),i=n(1),a=n.n(i),s=n(4),c=n.n(s),l=n(8),u=n(9),d=n(10),p=n(11),f=a()(r.a),m=c()(l.a),A=c()(u.a),h=c()(d.a),g=c()(p.a);f.push([t.i,'@font-face{font-family:"iconfont-vue-e08a231";src:url('+m+");src:url("+m+') format("embedded-opentype"),url('+A+') format("woff"),url('+h+') format("truetype"),url('+g+') format("svg")}.icon[data-v-1bfc7bfe]{font-style:normal;font-weight:400}.icon.arrow-left-double[data-v-1bfc7bfe]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.arrow-left[data-v-1bfc7bfe]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.arrow-right-double[data-v-1bfc7bfe]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.arrow-right[data-v-1bfc7bfe]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.breadcrumb[data-v-1bfc7bfe]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.checkmark[data-v-1bfc7bfe]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.close[data-v-1bfc7bfe]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.confirm[data-v-1bfc7bfe]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.info[data-v-1bfc7bfe]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.menu[data-v-1bfc7bfe]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.more[data-v-1bfc7bfe]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.pause[data-v-1bfc7bfe]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.play[data-v-1bfc7bfe]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.triangle-s[data-v-1bfc7bfe]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.user-status-away[data-v-1bfc7bfe]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.user-status-dnd[data-v-1bfc7bfe]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.user-status-invisible[data-v-1bfc7bfe]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.user-status-online[data-v-1bfc7bfe]:before{font-family:"iconfont-vue-e08a231";content:""}.avatardiv[data-v-1bfc7bfe]{position:relative;display:inline-block}.avatardiv--unknown[data-v-1bfc7bfe]{position:relative;background-color:var(--color-text-maxcontrast)}.avatardiv[data-v-1bfc7bfe]:not(.avatardiv--unknown){background-color:#fff !important;box-shadow:0 0 5px rgba(0,0,0,0.05) inset}body.theme--dark .avatardiv[data-v-1bfc7bfe]:not(.avatardiv--unknown){background-color:#000 !important}.avatardiv--with-menu[data-v-1bfc7bfe]{cursor:pointer}.avatardiv--with-menu[data-v-1bfc7bfe] .trigger{position:absolute;top:0;left:0}.avatardiv--with-menu .icon-more[data-v-1bfc7bfe]{display:flex;cursor:pointer;opacity:0;background:none;font-size:18px;align-items:center;justify-content:center}.avatardiv--with-menu .icon-more[data-v-1bfc7bfe]:before{font-family:"iconfont-vue-e08a231";font-style:normal;font-weight:400;content:""}.avatardiv--with-menu .icon-more[data-v-1bfc7bfe]::before{display:block}.avatardiv--with-menu:focus .icon-more[data-v-1bfc7bfe],.avatardiv--with-menu:hover .icon-more[data-v-1bfc7bfe]{opacity:1}.avatardiv--with-menu:focus img[data-v-1bfc7bfe],.avatardiv--with-menu:hover img[data-v-1bfc7bfe]{opacity:0.3}.avatardiv--with-menu .icon-more[data-v-1bfc7bfe],.avatardiv--with-menu img[data-v-1bfc7bfe]{transition:opacity var(--animation-quick)}.avatardiv>.unknown[data-v-1bfc7bfe]{position:absolute;top:0;left:0;display:block;width:100%;text-align:center;font-weight:normal;color:var(--color-main-background)}.avatardiv img[data-v-1bfc7bfe]{width:100%;height:100%;object-fit:cover}.avatardiv .avatardiv__status[data-v-1b
/**
* @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/>.
*
*/e.a=function(t,e){for(var n=[],o=0,r=t.toLowerCase().indexOf(e.toLowerCase(),o),i=0;r>-1&&i<t.length;)o=r+e.length,n.push({start:r,end:o}),r=t.toLowerCase().indexOf(e.toLowerCase(),r+1),i++;return n}},function(t,e,n){"use strict";n.r(e);var o=n(81);
/**
* @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/>.
*
*/e.default=o.a},function(t,e,n){"use strict";n.r(e),n(95),n(16),n(90),n(13),n(100),n(31),n(51),n(105),n(85),n(106);var o=n(68);function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s={name:"Highlight",props:{text:{type:String,default:""},search:{type:String,default:""},highlight:{type:Array,default:function(){return[]}}},computed:{ranges:function(){var t=this,e=[];return this.search||0!==this.highlight.length?(e=this.highlight.length>0?this.highlight:Object(o.a)(this.text,this.search)).reduce((function(e,n){return n.start<t.text.length&&n.end>0&&e.push({start:n.start<0?0:n.start,end:n.end>t.text.length?t.text.length:n.end}),e}),[]):e},chunks:function(){if(0===this.ranges.length)return[{start:0,end:this.text.length,highlight:!1,text:this.text}];for(var t=[],e=0,n=0;e<this.text.length;){var o=this.ranges[n];o.start!==e?(t.push({start:e,end:o.start,highlight:!1,text:this.text.substr(e,o.start-e)}),e=o.start):(t.push(i(i({},o),{},{highlight:!0,text:this.text.substr(o.start,o.end-o.start)})),n++,e=o.end,n>=this.ranges.length&&e<this.text.length&&(t.push({start:e,end:this.text.length,highlight:!1,text:this.text.substr(e,this.text.length-e)}),e=this.text.length))}return t}},render:function(t){return this.ranges.length?t("span",{},this.chunks.map((function(e){return e.highlight?t("strong",{},e.text):e.text}))):t("span",{},this.text)}},c=n(3),l=n(74),u=n.n(l),d=Object(c.a)(s,void 0,void 0,!1,null,null,null);"function"==typeof u.a&&u()(d);var p=d.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/>.
*
*/e.default=p},function(t,e,n){"use strict";function o(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return s=t.done,t},e:function(t){c=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}
/**
* @copyright Copyright (c) 2020 Georg Ehrke <georg-nextcloud@ehrke.email>
*
* @author Georg Ehrke <georg-nextcloud@ehrke.email>
*
* @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/>.
*
*/n.r(e),n(40),n(6),n(15),n(52),n(17),n(31),n(37),n(46),n(18),n(19),e.default={props:{excludeClickOutsideClasses:{type:String|Array,default:function(){return[]}}},methods:{clickOutsideMiddleware:function(t){var e=Array.isArray(this.excludeClickOutsideClasses)?this.excludeClickOutsideClasses:[this.excludeClickOutsideClasses];return 0===e.length||!this.hasNodeOrAnyParentClass(t.target,e)},hasNodeOrAnyParentClass:function(t,e){var n,r=o(e);try{for(r.s();!(n=r.n()).done;){var i,a=n.value;if(null!=t&&null!==(i=t.classList)&&void 0!==i&&i.contains(a))return!0}}catch(t){r.e(t)}finally{r.f()}return!!t.parentElement&&this.hasNodeOrAnyParentClass(t.parentElement,e)}}}},function(t,e,n){"use strict";n.r(e),
/**
* @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/>.
*
*/
e.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(t,e,n){"use strict";n.r(e),n(6),n(25),n(39),n(17),n(18),n(19);var o={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(t){return!t.input||-1!==["text","checkbox"].indexOf(t.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(t){return!1}}},methods:{action:function(t){this.item.action&&this.item.action(t)}}},r=n(2),i=n.n(r),a=n(53),s=(i()(a.a,{insert:"head",singleton:!1}),a.a.locals,n(54)),c=(i()(s.a,{insert:"head",singleton:!1}),s.a.locals,n(3)),l={name:"PopoverMenu",components:{PopoverMenuItem:Object(c.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"popover__menuitem"},[t.item.href?n("a",{staticClass:"focusable",attrs:{href:t.item.href?t.item.href:"#",target:t.item.target?t.item.target:"",download:t.item.download,rel:"noreferrer noopener"},on:{click:t.action}},[t.iconIsUrl?n("img",{attrs:{src:t.item.icon}}):n("span",{class:t.item.icon}),t._v(" "),t.item.text&&t.item.longtext?n("p",[n("strong",{staticClass:"menuitem-text"},[t._v("\n\t\t\t\t"+t._s(t.item.text)+"\n\t\t\t")]),n("br"),t._v(" "),n("span",{staticClass:"menuitem-text-detail"},[t._v("\n\t\t\t\t"+t._s(t.item.longtext)+"\n\t\t\t")])]):t.item.text?n("span",[t._v("\n\t\t\t"+t._s(t.item.text)+"\n\t\t")]):t.item.longtext?n("p",[t._v("\n\t\t\t"+t._s(t.item.longtext)+"\n\t\t")]):t._e()]):t.item.input?n("span",{staticClass:"menuitem",class:{active:t.item.active}},["checkbox"!==t.item.input?n("span",{class:t.item.icon}):t._e(),t._v(" "),"text"===t.item.input?n("form",{class:t.item.input,on:{submit:function(e){return e.preventDefault(),t.item.action(e)}}},[n("input",{attrs:{type:t.item.input,placeholder:t.item.text,required:""},domProps:{value:t.item.value}}),t._v(" "),n("input",{staticClass:"icon-confirm",attrs:{type:"submit",value:""}})]):["checkbox"===t.item.input?n("input",{directives:[{name:"model",rawName:"v-model",value:t.item.model,expression:"item.model"}],class:t.item.input,attrs:{id:t.key,type:"checkbox"},domProps:{checked:Array.isArray(t.item.model)?t._i(t.item.model,null)>-1:t.item.model},on:{change:[function(e){var n=t.item.model,o=e.target,r=!!o.checked;if(Array.isArray(n)){var i=t._i(n,null);o.checked?i<0&&t.$set(t.item,"model",n.concat([null])):i>-1&&t.$set(t.item,"model",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.item,"model",r)},t.item.action]}}):"radio"===t.item.input?n("input",{directives:[{name:"model",rawName:"v-model",value:t.item.model,expression:"item.model"}],class:t.item.input,attrs:{id:t.key,type:"radio"},domProps:{checked:t._q(t.item.model,null)},on:{change:[function(e){return t.$set(t.item,"model",null)},t.item.action]}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.item.model,expression:"item.model"}],class:t.item.input,attrs:{id:t.key,type:t.item.input},domProps:{value:t.item.model},on:{change:t.item.action,input:function(e){e.target.composing||t.$set(t.item,"model",e.target.value)}}}),t._v(" "),n("label",{attrs:{for:t.key},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.item.action(e)}}},[t._v("\n\t\t\t\t"+t._s(t.item.text)+"\n\t\t\t")])]],2):t.item.action?n("button",{staticClass:"menuitem focusable",class:{active:t.item.active},attrs:{disabled:t.item.disabled},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.item.action(e)}}},[n("span",{class:t.item.icon}),t._v(" "),t.item.text&&t.item.longtext?n("p",[n("strong",{staticClass:"menuitem-text"},[t._v("\n\t\t\t\t"+t._s(t.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/>.
*
*/e.default=m},function(t,e){},function(t,e){t.exports=o(288)},function(t,e,n){"use strict";n.r(e),n(58),n(29),n(86),n(101),n(102),n(30),n(13),n(57),n(59),n(6);var o=n(82),r=n(41),i=n(73),a=n(34),s=n(27),c=n(36),l=n.n(c),u=n(14),d=n(22),p=n(80),f=n(45),m=n(26);function A(t,e,n,o,r,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(o,r)}function h(t){return function(){var e=this,n=arguments;return new Promise((function(o,r){var i=t.apply(e,n);function a(t){A(i,o,r,a,s,"next",t)}function s(t){A(i,o,r,a,s,"throw",t)}a(void 0)}))}}var g=Object(o.getBuilder)("nextcloud").persist().build();function v(t){var e=g.getItem("user-has-avatar."+t);return"string"==typeof e?Boolean(e):null}function b(t,e){t&&g.setItem("user-has-avatar."+t,e)}var C={name:"Avatar",directives:{tooltip:d.default,ClickOutside:r.directive},components:{Popover:m.a,PopoverMenu:i.default},mixins:[f.e],props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,default:void 0},showUserStatus:{type:Boolean,default:!0},showUserStatusCompact:{type:Boolean,default:!0},preloadedUserStatus:{type:Object,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(t){switch(t){case"positive":case"negative":case"neutral":return!0}return!1}},statusColor:{type:[Number,String],default:null,validator:function(t){return/^([a-f0-9]{3}){1,2}$/i.test(t)}},menuPosition:{type:String,default:"center"},menuContainer:{type:String,default:"body"}},data:function(){return{avatarUrlLoaded:null,avatarSrcSetLoaded:null,userDoesNotExist:!1,isAvatarLoaded:!1,isMenuLoaded:!1,contactsMenuLoading:!1,contactsMenuActions:[],contactsMenuOpenState:!1}},computed:{canDisplayUserStatus:function(){return this.showUserStatus&&this.hasStatus&&["online","away","dnd"].includes(this.userStatus.status)},showUserStatusIconOnAvatar:function(){return this.showUserStatus&&this.showUserStatusCompact&&this.hasStatus&&"dnd"!==this.userStatus.status&&this.userStatus.icon},getUserIdentifier:function(){return this.isDisplayNameDefined?this.displayName:this.isUserDefined?this.user:""},isUserDefined:function(){return void 0!==this.user},isDisplayNameDefined:function(){return void 0!==this.displayName},isUrlDefined:function(){return void 0!==this.url},hasMenu:function(){var t;return!this.disableMenu&&(this.isMenuLoaded?this.menu.length>0:!(this.user===(null===(t=Object(a.getCurrentUser)())||void 0===t?void 0:t.uid)||this.userDoesNotExist||this.url))},shouldShowPlaceholder:function(){return this.allowPlaceholder&&this.userDoesNotExist},avatarStyle:function(){var t={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 e=Object(p.default)(this.getUserIdentifier);t.backgroundColor="rgb("+e.r+", "+e.g+", "+e.b+")"}return t},tooltip:function(){return!this.disableTooltip&&(this.tooltipMessage?this.tooltipMessage:this.displayName)},initials:function(){var t;if(this.shouldShowPlaceholder){var e=this.getUserIdentifier,n=e.indexOf(" ");""===e?t="?":(t=String.fromCodePoint(e.codePointAt(0)),-1!==n&&(t=t.concat(String.fromCodePoint(e.codePointAt(n+1)))))}return t.toUpperCase()},menu:function(){var t,e,n,o=this.contactsMenuActions.map((function(t){return{href:t.hyperlink,icon:t.icon,longtext:t.title}}));return this.showUserStatus&&(this.userStatus.icon||this.userStatus.message)?[{href:"#",icon:"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><text x='0' y='14' font-size='14'>".concat((t=this.userStatus.icon,e=document.createTextNode(t),n=document.createElement("p"),n.appendChild(e),n.innerHTML),"</text></svg>"),text:"".concat(this.userStatus.message)}].concat(o):o}},watch:{url:function(){this.userDoesNotExist=!1,this.loadAvatar
/**
* @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/>.
*
*/e.default=S},function(t,e){t.exports=o(293)},function(t,e){t.exports=o(289)},function(t,e,n){"use strict";
/**
* @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/>.
*
*/e.a=function(t){t.mounted?Array.isArray(t.mounted)||(t.mounted=[t.mounted]):t.mounted=[],t.mounted.push((function(){this.$el.setAttribute("data-v-".concat("e08a231"),"")}))}},function(t,e,n){"use strict";n.r(e),n(89),n(16),n(24);var o=n(77),r=n.n(o),i=n(63);e.default=function(t){var e=t.toLowerCase();return null===e.match(/^([0-9a-f]{4}-?){8}$/)&&(e=r()(e)),e=e.replace(/[^0-9a-f]/g,""),Object(i.a)(6)[function(t,e){for(var n=0,o=[],r=0;r<t.length;r++)o.push(parseInt(t.charAt(r),16)%16);for(var i in o)n+=o[i];return parseInt(parseInt(n,10)%18,10)}(e)]}},function(t,e,n){"use strict";n(30),n(51),n(31),n(37),n(6),n(46),n(17),n(18),n(19),n(52),n(40),n(15);var o=n(22),r=n(33),i=n(50),a=n(12),s=n(47);function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}var l=["ActionButton","ActionCheckbox","ActionInput","ActionLink","ActionRadio","ActionRouter","ActionSeparator","ActionText","ActionTextEditable"],u={name:"Actions",directives:{tooltip:o.default},components:{Popover:s.default,VNodes:{functional:!0,render:function(t,e){return e.props.vnodes}}},props:{open:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},menuTitle:{type:String,default:null},primary:{type:Boolean,default:!1},defaultIcon:{type:String,default:"action-item__menutoggle--default-icon"},ariaLabel:{type:String,default:Object(a.b)("Actions")},placement:{type:String,default:"bottom"},boundariesElement:{type:Element,default:function(){return document.querySelector("body")}},container:{type:String,default:"body"},disabled:{type:Boolean,default:!1}},data:function(){return{actions:[],opened:this.open,focusIndex:0,randomId:"menu-"+Object(r.a)(),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 t=this.firstActionVNode.componentOptions.tag;if("ActionLink"===t)return{is:"a",href:this.firstAction.href,target:this.firstAction.target,"aria-label":this.firstAction.ariaLabel};if("ActionRouter"===t)return{is:"router-link",to:this.firstAction.to,exact:this.firstAction.exact,"aria-label":this.firstAction.ariaLabel};if("ActionButton"===t)return{is:"button","aria-label":this.firstAction.ariaLabel}}return null},firstActionEvent:function(){var t,e,n;return null===(t=this.firstActionVNode)||void 0===t||null===(e=t.componentOptions)||void 0===e||null===(n=e.listeners)||void 0===n?void 0:n.click},firstActionEventBinding:function(){return this.firstActionEvent?"click":null},firstActionIconSlot:function(){var t,e;return null===(t=this.firstAction)||void 0===t||null===(e=t.$slots)||void 0===e?void 0:e.icon},firstActionClass:function(){var t=this.firstActionVNode&&this.firstActionVNode.data.staticClass,e=this.firstActionVNode&&this.firstActionVNode.data.class;return"".concat(t," ").concat(e)},iconSlotIsPopulated:function(){return!!this.$slots.icon}},watch:{open:function(t){t!==this.opened&&(this.opened=t)}},beforeMount:function(){this.initActions(),Object(i.a)(this.$slots.default,l,this)},beforeUpdate:function(){this.initActions(),Object(i.a)(this.$slots.default,l,this)},methods:{openMenu:function(t){this.opened||(this.opened=!0,this.$emit("update:open",!0),this.$emit("open"),this.onOpen(t))},closeMenu:function(t){this.opened&&(this.opened=!1,this.$emit("update:open",!1),this.$emit("close"),this.opened=!1,this.focusIndex=0,this.$refs.menuButton.focus())},onOpen:function(t){var e=this;this.$nextTick((function(){e.focusFirstAction(t)}))},onMouseFocusAction:function(t){if(document.activeElement!==t.target){var e=t.target.closest("li");if(e){var n=e.querySelector(".focusable");if(n){var o=function(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"
/**
* @copyright Copyright (c) 2020 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/>.
*
*/e.default=m},function(t,e,n){"use strict";n(29),n(13),n(57),n(40),n(31),n(37),n(6),n(46),n(17),n(18),n(19);var o=n(108),r=n.n(o),i=(n(15),n(75),n(16),n(95),n(70)),a=n(68),s={name:"EllipsisedOption",components:{Highlight:i.default},props:{option:{type:[String,Object],required:!0,default:""},label:{type:String,default:""},search:{type:String,default:""},name:{type:String,default:""}},computed:{needsTruncate:function(){return this.name&&this.name.length>=10},split:function(){return this.name.length-Math.min(Math.floor(this.name.length/2),10)},part1:function(){return this.needsTruncate?this.name.substr(0,this.split):this.name},part2:function(){return this.needsTruncate?this.name.substr(this.split):""},highlight1:function(){return this.search?Object(a.a)(this.name,this.search):[]},highlight2:function(){var t=this;return this.highlight1.map((function(e){return{start:e.start-t.split,end:e.end-t.split}}))}}},c=n(2),l=n.n(c),u=n(93),d=(l()(u.a,{insert:"head",singleton:!1}),u.a.locals,n(3)),p=Object(d.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"name-parts",attrs:{title:t.name}},[n("Highlight",{staticClass:"name-parts__first",attrs:{text:t.part1,search:t.search,highlight:t.highlight1}}),t._v(" "),t.part2?n("Highlight",{staticClass:"name-parts__last",attrs:{text:t.part2,search:t.search,highlight:t.highlight2}}):t._e()],1)}),[],!1,null,"f855c4b8",null).exports,f=n(42),m=n(96),A=n(22);function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var g={name:"Multiselect",components:{EllipsisedOption:p,ListItemIcon:m.default,VueMultiselect:r.a},directives:{tooltip:A.default},mixins:[f.a],inheritAttrs:!1,props:{value:{default:function(){return[]}},multiple:{type:Boolean,default:!1},limit:{type:Number,default:99999},label:{type:String,default:""},trackBy:{type:String,default:""},options:{type:Array,required:!0},userSelect:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},autoLimit:{type:Boolean,default:!0},tagWidth:{type:Number,default:150,validator:function(t){return t>0}}},data:function(){return{elWidth:0}},computed:{maxOptions:function(){if(this.autoLimit&&this.elWidth>0&&0!==this.tagWidth){var t=Math.floor(this.elWidth/this.tagWidth);return t>0?t:1}return this.limit?this.limit:9999},limitString:function(){return"+".concat(this.value.length-this.maxOptions)},localValue:{get:function(){return this.trackBy&&this.options&&"object"!==h(this.value)&&this.options[this.value]?this.options[this.value]:this.value},set:function(t){this.$emit("update:value",t),this.$emit("change",t)}}},watch:{value:function(){this.updateWidth()}},mounted:function(){this.updateWidth(),window.addEventListener("resize",this.updateWidth)},beforeDestroy:function(){window.removeEventListener("resize",this.updateWidth)},methods:{getOptionLabel:function(t){var e;return String(null===(e=this.$refs.VueMultiselect)||void 0===e?void 0:e.getOptionLabel(t))},formatLimitTitle:function(t){var e=this;if(Array.isArray(t)&&t.length>0){var n=t;return"object"===h(t[0])&&(n=t.map((function(t){return t[e.label]}))),n.slice(this.maxOptions).join(", ")}return""},updateWidth:function(){this.$el&&this.$el.querySelector(".multiselect__tags-wrap")&&(this.elWidth=this.$el.querySelector(".multiselect__tags-wrap").offsetWidth-10)}}},v=n(94),b=n.n(v),C=Object(d.a)(g,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("VueMultiselect",t._g(t._b({ref:"VueMultiselect",class:[{"icon-loading-small":t.loading},t.multiple?"multiselect--multiple":"multiselect--single"],attrs:{options:t.options,limit:t.maxOptions,"close-on-select":!t.multiple,multiple:t.multiple,label:t.label,"track-by":t.trackBy,"tag-placeholder":"create"},scopedSlots:t._u([{key:"option",fn:function(e){return[t.userSelect&&!t.$scopedSlots.option?n("ListItemIcon",t._b({attrs:{title:e.option[t.label],search:e.search}},"ListItemIcon",e.option,!1)):t.$scopedSlots.option?t._t("option",null,null,e):n("
/**
* @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(o.a)(r.a),e.default=r.a},function(t,e){t.exports=o(303)},function(t,e){t.exports=o(426)},function(t,e,n){"use strict";n.r(e);var o=n(99);
/**
* @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/>.
*
*/e.default=o.a},function(t,e){},function(t,e,n){"use strict";var o=n(0),r=n.n(o),i=n(1),a=n.n(i),s=n(4),c=n.n(s),l=n(8),u=n(9),d=n(10),p=n(11),f=a()(r.a),m=c()(l.a),A=c()(u.a),h=c()(d.a),g=c()(p.a);f.push([t.i,'@font-face{font-family:"iconfont-vue-e08a231";src:url('+m+");src:url("+m+') format("embedded-opentype"),url('+A+') format("woff"),url('+h+') format("truetype"),url('+g+') format("svg")}.icon{font-style:normal;font-weight:400}.icon.arrow-left-double:before{font-family:"iconfont-vue-e08a231";content:""}.icon.arrow-left:before{font-family:"iconfont-vue-e08a231";content:""}.icon.arrow-right-double:before{font-family:"iconfont-vue-e08a231";content:""}.icon.arrow-right:before{font-family:"iconfont-vue-e08a231";content:""}.icon.breadcrumb:before{font-family:"iconfont-vue-e08a231";content:""}.icon.checkmark:before{font-family:"iconfont-vue-e08a231";content:""}.icon.close:before{font-family:"iconfont-vue-e08a231";content:""}.icon.confirm:before{font-family:"iconfont-vue-e08a231";content:""}.icon.info:before{font-family:"iconfont-vue-e08a231";content:""}.icon.menu:before{font-family:"iconfont-vue-e08a231";content:""}.icon.more:before{font-family:"iconfont-vue-e08a231";content:""}.icon.pause:before{font-family:"iconfont-vue-e08a231";content:""}.icon.play:before{font-family:"iconfont-vue-e08a231";content:""}.icon.triangle-s:before{font-family:"iconfont-vue-e08a231";content:""}.icon.user-status-away:before{font-family:"iconfont-vue-e08a231";content:""}.icon.user-status-dnd:before{font-family:"iconfont-vue-e08a231";content:""}.icon.user-status-invisible:before{font-family:"iconfont-vue-e08a231";content:""}.icon.user-status-online:before{font-family:"iconfont-vue-e08a231";content:""}.mx-icon-left:before,.mx-icon-right:before,.mx-icon-double-left:before,.mx-icon-double-right:before,.mx-icon-double-left:after,.mx-icon-double-right:after{content:\'\';position:relative;top:-1px;display:inline-block;width:10px;height:10px;vertical-align:middle;border-style:solid;border-color:currentColor;border-width:2px 0 0 2px;border-radius:1px;box-sizing:border-box;transform-origin:center;transform:rotate(-45deg) scale(0.7)}.mx-icon-double-left:after{left:-4px}.mx-icon-double-right:before{left:4px}.mx-icon-right:before,.mx-icon-double-right:before,.mx-icon-double-right:after{transform:rotate(135deg) scale(0.7)}.mx-btn{box-sizing:border-box;line-height:1;font-size:14px;font-weight:500;padding:7px 15px;margin:0;cursor:pointer;background-color:transparent;outline:none;border:1px solid rgba(0,0,0,0.1);border-radius:4px;color:#73879c;white-space:nowrap}.mx-btn:hover{border-color:#1284e7;color:#1284e7}.mx-btn-text{border:0;padding:0 4px;text-align:left;line-height:inherit}.mx-scrollbar{height:100%}.mx-scrollbar:hover .mx-scrollbar-track{opacity:1}.mx-scrollbar-wrap{height:100%;overflow-x:hidden;overflow-y:auto}.mx-scrollbar-track{position:absolute;top:2px;right:2px;bottom:2px;width:6px;z-index:1;border-radius:4px;opacity:0;transition:opacity 0.24s ease-out}.mx-scrollbar-track .mx-scrollbar-thumb{position:absolute;width:100%;height:0;cursor:pointer;border-radius:inherit;background-color:rgba(144,147,153,0.3);transition:background-color 0.3s}.mx-zoom-in-down-enter-active,.mx-zoom-in-down-leave-active{opacity:1;transform:scaleY(1);transition:transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);transform-origin:center top}.mx-zoom-in-down-enter,.mx-zoom-in-down-leave-to{opacity:0;transform:scaleY(0)}.mx-datepicker{position:relative;display:inline-block;width:210px}.mx-datepicker svg{width:1em;height:1em;vertical-align:-0.15em;fill:currentColor;overflow:hidden}.mx-datepicker-range{width:320px}.mx-datepicker-inline{width:auto}.mx-input-wrapper{position:relative}.mx-input-wrapper .mx-icon-clear{display:none}.mx-input-wrapper:hover .mx-icon-clear{display:block}.mx-input-wrapper:hover .mx-icon-clear+.mx-icon-calendar{display:none}.mx-input{display:inline-block;box-sizing:border-box;width:100%;height:34px;padding:6px 30px;padding-left:10px;font-size:14px;line-height:1.4;
/**
* @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 o={inserted:function(t){t.focus()}};e.default=o},function(t,e,n){"use strict";n.r(e),n.d(e,"directive",(function(){return i}));var o=n(48),r=n.n(o),i=function(t,e){var n;!0===(null===(n=e.value)||void 0===n?void 0:n.linkify)&&(t.innerHTML=r()(e.value.text,{defaultProtocol:"https"}))};e.default=i},function(t,e,n){"use strict";n.r(e);var o=n(79),r=(n(29),n(109)),i=n.n(r),a=n(69),s=n(110),c=n(42),l=n(12),u=n(22);
/**
* @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 d(t,e){var n,o,r,i=e;this.start=function(){r=!0,o=new Date,n=setTimeout(t,i)},this.pause=function(){r=!1,clearTimeout(n),i-=new Date-o},this.clear=function(){r=!1,clearTimeout(n),i=0},this.getTimeLeft=function(){return r&&(this.pause(),this.start()),i},this.getStateRunning=function(){return r},this.start()}var p={name:"Modal",components:{Actions:a.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(t){return-1!==["normal","large","full"].indexOf(t)}},canClose:{type:Boolean,default:!0},dark:{type:Boolean,default:!1},container:{type:String,default:"body"}},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(t){this.slideshowTimeout&&(t?this.slideshowTimeout.pause():this.slideshowTimeout.start())}},beforeMount:function(){window.addEventListener("keydown",this.handleKeydown)},beforeDestroy:function(){window.removeEventListener("keydown",this.handleKeydown),this.mc.off("swipeleft swiperight"),this.mc.destroy()},mounted:function(){var t=this;this.showModal=!0,this.handleMouseMove(),this.mc=new i.a(this.$refs.mask),this.mc.on("swipeleft swiperight",(function(e){t.handleSwipe(e)})),"body"===this.container?document.body.insertBefore(this.$el,document.body.lastChild):document.querySelector(this.container).appendChild(this.$el)},destroyed:function(){this.$el.remove()},methods:{previous:function(t){this.hasPrevious&&(t&&this.resetSlideshow(),this.$emit("previous",t))},next:function(t){this.hasNext&&(t&&this.resetSlideshow(),this.$emit("next",t))},close:function(t){var e=this;this.canClose&&(this.showModal=!1,setTimeout((function(){e.$emit("close",t)}),300))},handleKeydown:function(t){switch(t.keyCode){case 37:this.previous(t);break;case 13:case 39:this.next(t);break;case 27:this.close(t)}},handleSwipe:function(t){this.enableSwipe&&("swipeleft"===t.type?this.next(t):"swiperight"===t.type&&this.previous(t))},handleMouseMove:function(){var t=this;this.clearViewDelay>0&&(this.clearView=!1,clearTimeout(this.clearViewTimeout),this.clearViewTimeout=setTimeout((function(){t.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 t=this;this.playing=!0,this.hasNext?this.slideshowTimeout=new d((function(){t.next(),t.handleSlideshow()}),this.slideshowDelay):(this.playing=!1,this.clearSlideshowTimeout())},clearSlideshowTimeout:function(){this.slideshowTimeout&&this.slideshowTimeout.clear()}}},f=n(2),m=n.n(f),A=n(119),h=(m()(A.a,{insert:"head",singleton:!1}),A.a.locals,n(3)),g=n(120),v=n.n(g),b=Object(h.a)(p,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"fade"}},[n("div",{ref:"mask",staticClass:"modal-mask",class:{"modal-mask--dark":t.dark},on:{click:t.handleMouseMove,mousemove:t.handleMouseMove,touchmove:t.handleMouseMove}},[n("transition",{attrs:{name:"fade-visibility"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:!t.clearView,expression:"!clearView"}],staticClass:"modal-header",class:{invisible:t.clearView}},[""!==t.title.trim()?n("div",{staticClass:"modal-title"},[t._v("\n\t\t\t\t\t"+t._s(t.title)+"\n\t\t\t\t")]):t._e(),t._v(" "),n("div",{staticC
/**
* @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(o.a)(C),e.default=C},function(t,e,n){"use strict";n.r(e),n(39),n(6),n(17),n(18),n(19),n(62);var o={name:"ActionLink",mixins:[n(49).a],props:{href:{type:String,default:"#",required:!0,validator:function(t){try{return new URL(t)}catch(e){return t.startsWith("#")||t.startsWith("/")}}},download:{type:String,default:null},target:{type:String,default:"_self",validator:function(t){return["_blank","_self","_parent","_top"].indexOf(t)>-1}}}},r=n(2),i=n.n(r),a=n(113),s=(i()(a.a,{insert:"head",singleton:!1}),a.a.locals,n(3)),c=n(114),l=n.n(c),u=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"action"},[n("a",{staticClass:"action-link focusable",attrs:{download:t.download,href:t.href,"aria-label":t.ariaLabel,target:t.target,rel:"noreferrer noopener"},on:{click:t.onClick}},[t._t("icon",[n("span",{staticClass:"action-link__icon",class:[t.isIconUrl?"action-link__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?"url("+t.icon+")":null}})]),t._v(" "),t.title?n("p",[n("strong",{staticClass:"action-link__title"},[t._v("\n\t\t\t\t"+t._s(t.title)+"\n\t\t\t")]),t._v(" "),n("br"),t._v(" "),n("span",{staticClass:"action-link__longtext",domProps:{textContent:t._s(t.text)}})]):t.isLongText?n("p",{staticClass:"action-link__longtext",domProps:{textContent:t._s(t.text)}}):n("span",{staticClass:"action-link__text"},[t._v(t._s(t.text))]),t._v(" "),t._e()],2)])}),[],!1,null,"aee1c25a",null);"function"==typeof l.a&&l()(u);var d=u.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/>.
*
*/e.default=d},function(t,e,n){"use strict";n.r(e);var o={name:"ActionRouter",mixins:[n(49).a],props:{to:{type:[String,Object],default:"",required:!0},exact:{type:Boolean,default:!1}}},r=n(2),i=n.n(r),a=n(115),s=(i()(a.a,{insert:"head",singleton:!1}),a.a.locals,n(3)),c=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"action"},[n("router-link",{staticClass:"action-router focusable",attrs:{to:t.to,exact:t.exact,"aria-label":t.ariaLabel,rel:"noreferrer noopener"},nativeOn:{click:function(e){return t.onClick(e)}}},[t._t("icon",[n("span",{staticClass:"action-router__icon",class:[t.isIconUrl?"action-router__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?"url("+t.icon+")":null}})]),t._v(" "),t.title?n("p",[n("strong",{staticClass:"action-router__title"},[t._v("\n\t\t\t\t"+t._s(t.title)+"\n\t\t\t")]),t._v(" "),n("br"),t._v(" "),n("span",{staticClass:"action-router__longtext",domProps:{textContent:t._s(t.text)}})]):t.isLongText?n("p",{staticClass:"action-router__longtext",domProps:{textContent:t._s(t.text)}}):n("span",{staticClass:"action-router__text"},[t._v(t._s(t.text))]),t._v(" "),t._e()],2)],1)}),[],!1,null,"196b3c3e",null).exports;e.default=c},function(t,e,n){"use strict";n.r(e);var o={name:"Breadcrumb",components:{Actions:n(69).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(t){this.$emit("update:open",t)},dropped:function(t){return this.disableDrop||(this.$emit("dropped",t,this.to||this.href),this.$parent.$emit("dropped",t,this.to||this.href),this.hovering=!1),!1},dragEnter:function(t){this.disableDrop||(this.hovering=!0)},dragLeave:function(t){this.disableDrop||t.target.contains(t.relatedTarget)||this.$refs.crumb.contains(t.relatedTarget)||(this.hovering=!1)}}},r=n(2),i=n.n(r),a=n(123),s=(i()(a.a,{insert:"head",singleton:!1}),a.a.locals,n(3)),c=n(124),l=n.n(c),u=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"crumb",staticClass:"crumb",class:{"crumb--with-action":t.$slots.default,"crumb--hovered":t.hovering},attrs:{draggable:"false"},on:{dragstart:function(t){t.preventDefault()},drop:function(e){return e.preventDefault(),t.dropped(e)},dragover:function(t){t.preventDefault()},dragenter:t.dragEnter,dragleave:t.dragLeave}},[t.title||t.icon?n(t.tag,{tag:"element",attrs:{to:t.to,href:t.href}},[t.icon?n("span",{staticClass:"icon",class:t.icon}):n("span",[t._v(t._s(t.title))])]):t._e(),t._v(" "),n("Actions",{ref:"actions",attrs:{"force-menu":t.forceMenu,open:t.open},on:{"update:open":t.onOpenChange}},[t._t("default")],2)],1)}),[],!1,null,"7d9c1e9f",null);"function"==typeof l.a&&l()(u);var d=u.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/>.
*
*/e.default=d},function(t,e,n){"use strict";n.r(e);var o=n(79),r=(n(29),n(135)),i={name:"DatetimePicker",components:{DatePicker:n.n(r).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,default:function(){var t={date:"YYYY-MM-DD",datetime:"YYYY-MM-DD H:mm:ss",year:"YYYY",month:"YYYY-MM",time:"H:mm:ss",week:"w"};return t[this.type]||t.date}},formatter:{type:Object,default:function(){return null}},value:{default:function(){return new Date}}},methods:{handleSelectYear:function(t){var e=this.$refs.datepicker.currentValue;if(e)try{var n=new Date(new Date(e).setFullYear(t));this.$refs.datepicker.selectDate(n)}catch(n){console.error("Invalid value",e,t)}},handleSelectMonth:function(t){var e=this.$refs.datepicker.currentValue;if(e)try{var n=new Date(new Date(e).setMonth(t));this.$refs.datepicker.selectDate(n)}catch(n){console.error("Invalid value",e,t)}}}},a=n(3),s=n(111),c=n.n(s),l=Object(a.a)(i,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("DatePicker",t._g(t._b({ref:"datepicker",attrs:{clearable:t.clearable,"minute-step":t.minuteStep,format:t.format,formatter:t.formatter,type:t.type,value:t.value,"append-to-body":!1},on:{"select-year":t.handleSelectYear,"select-month":t.handleSelectMonth,"update:value":function(e){return t.$emit("update:value",t.value)}},scopedSlots:t._u([t._l(t.$scopedSlots,(function(e,n){return{key:n,fn:function(e){return[t._t(n,null,null,e)]}}}))],null,!0)},"DatePicker",t.$attrs,!1),t.$listeners))}),[],!1,null,null,null);"function"==typeof c.a&&c()(l);var u=l.exports,d=n(2),p=n.n(d),f=n(112);p()(f.a,{insert:"head",singleton:!1}),f.a.locals,
/**
* @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(o.a)(u),e.default=u},function(t,e,n){"use strict";var o={name:"AppNavigationToggle",props:{open:{type:Boolean,required:!0}},methods:{toggleNavigation:function(){this.$emit("update:open",!this.open)}}},r=n(2),i=n.n(r),a=n(116),s=(i()(a.a,{insert:"head",singleton:!1}),a.a.locals,n(3)),c=Object(s.a)(o,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("a",{staticClass:"app-navigation-toggle",attrs:{href:"#","aria-expanded":t.open?"true":"false","aria-controls":"app-navigation-vue"},on:{click:function(e){return e.preventDefault(),t.toggleNavigation(e)},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.preventDefault(),t.toggleNavigation(e))}}})}),[],!1,null,"6069ba79",null);e.a=c.exports},function(t,e){t.exports=o(439)},function(t,e,n){"use strict";var o=n(0),r=n.n(o),i=n(1),a=n.n(i)()(r.a);a.push([t.i,"li.active[data-v-395fa6ac]{background-color:var(--color-background-hover)}.action--disabled[data-v-395fa6ac]{pointer-events:none;opacity:.5}.action--disabled[data-v-395fa6ac]:hover,.action--disabled[data-v-395fa6ac]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-395fa6ac]{opacity:1 !important}.action-checkbox[data-v-395fa6ac]{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-395fa6ac]{position:absolute;top:auto;left:-10000px;overflow:hidden;width:1px;height:1px}.action-checkbox__checkbox:focus+.action-checkbox__label[data-v-395fa6ac]{opacity:1}.action-checkbox__label[data-v-395fa6ac]{display:flex;align-items:center;width:100%;padding:0 !important;padding-right:14px !important;opacity:.7}.action-checkbox__label[data-v-395fa6ac]::before{margin:0 14px 0 !important}.action-checkbox--disabled[data-v-395fa6ac],.action-checkbox--disabled .action-checkbox__label[data-v-395fa6ac]{cursor:pointer}.action-checkbox:not(.action-checkbox--disabled):hover .action-checkbox__label[data-v-395fa6ac],.action-checkbox:not(.action-checkbox--disabled):focus .action-checkbox__label[data-v-395fa6ac]{opacity:1}\n","",{version:3,sources:["webpack://./../../assets/action.scss","webpack://./../../assets/variables.scss","webpack://./ActionCheckbox.vue"],names:[],mappings:"AAwBC,2BAEE,8CAA+C,CAC/C,mCAMD,mBAAoB,CACpB,UCQmB,CDVpB,kFAIE,cAAe,CACf,UCKkB,CDVpB,qCAQE,oBAAqB,CEiHxB,kCACC,YAAa,CACb,sBAAuB,CAEvB,UAAW,CACX,WAAY,CACZ,QAAS,CACT,SAAU,CAEV,cAAe,CACf,kBAAmB,CAEnB,4BAA6B,CAC7B,QAAS,CACT,eAAgB,CAChB,4BAA6B,CAC7B,eAAgB,CAEhB,kBAAmB,CACnB,gBDnJoB,CCsJpB,4CACC,iBAAkB,CAClB,QAAS,CACT,aAAc,CAEd,eAAgB,CAEhB,SAAU,CACV,UAAW,CARX,0EAUC,SD7Ia,CC8Ib,yCAID,YAAa,CACb,kBAAmB,CAEnB,UAAW,CACX,oBAAqB,CACrB,6BAAsC,CAEtC,UD1JiB,CCkJjB,iDAYC,0BAA2B,CAC3B,gHAMA,cAAe,CAvDlB,gMA8DG,SD3Ka",sourcesContent:["/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Marco Ambrosini <marcoambrosini@pm.me>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\n@mixin action-active {\n\tli {\n\t\t&.active {\n\t\t\tbackground-color: var(--color-background-hover);\n\t\t}\n\t}\n}\n\n@mixin action--disabled {\n\t.action--disabled {\n\t\tpointer-events: none;\n\
/**
* @copyright Copyright (c) 2020 Greta Doci <gretadoci@gmail.com>
*
* @author 2020 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/>.
*
*/e.default=o.a},function(t,e,n){"use strict";n.r(e);var o=n(69),r=n(127),i=n(128),a=n(22),s=n(42),c=(n(28),n(221),n(51),n(90),n(15),n(13),n(5)),l=n.n(c),u=function(t){return t&&"string"==typeof t&&""!==t.trim()},d=function(t){return u(t)&&-1===t.indexOf(" ")},p={name:"AppSidebarTabs",props:{active:{type:String,default:""}},data:function(){return{tabs:[],activeTab:"",children:[]}},computed:{hasMultipleTabs:function(){return this.tabs.length>1},currentTabIndex:function(){var t=this;return this.tabs.findIndex((function(e){return e.id===t.activeTab}))}},watch:{active:function(t){t!==this.activeTab&&this.updateActive()},children:function(){this.updateTabs()}},mounted:function(){this.updateTabs(),this.children=this.$children},methods:{setActive:function(t){this.activeTab=t,this.$emit("update:active",this.activeTab)},focusPreviousTab:function(){this.currentTabIndex>0&&this.setActive(this.tabs[this.currentTabIndex-1].id),this.focusActiveTab()},focusNextTab:function(){this.currentTabIndex<this.tabs.length-1&&this.setActive(this.tabs[this.currentTabIndex+1].id),this.focusActiveTab()},focusFirstTab:function(){this.setActive(this.tabs[0].id),this.focusActiveTab()},focusLastTab:function(){this.setActive(this.tabs[this.tabs.length-1].id),this.focusActiveTab()},focusActiveTab:function(){this.$el.querySelector("#"+this.activeTab).focus()},focusActiveTabContent:function(){this.$el.querySelector("#tab-"+this.activeTab).focus()},updateActive:function(){var t=this;this.activeTab=this.active&&-1!==this.tabs.findIndex((function(e){return e.id===t.active}))?this.active:this.tabs.length>0?this.tabs[0].id:""},updateTabs:function(){if(this.$slots.default){var t=this.$slots.default.filter((function(t){return t.tag||t.text.trim()})),e=[],n=t.reduce((function(t,n){var o=n.componentInstance;return u(null==o?void 0:o.name)&&d(null==o?void 0:o.id)&&d(null==o?void 0:o.icon)?t.push(o):e.push(n),t}),[]);0!==n.length&&n.length!==t.length&&(l.a.util.warn("Mixing tabs and non-tab-content is not possible."),e.map((function(t){return console.debug("Ignoring invalid tab",t)}))),this.tabs=n.sort((function(t,e){var n=t.order||0,o=e.order||0;return n===o?OC.Util.naturalSortCompare(t.name,e.name):n-o})),this.tabs.length>0&&this.updateActive()}else this.tabs=[]}}},f=n(2),m=n.n(f),A=n(165),h=(m()(A.a,{insert:"head",singleton:!1}),A.a.locals,n(3)),g=Object(h.a)(p,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-sidebar-tabs"},[t.hasMultipleTabs?n("nav",{staticClass:"app-sidebar-tabs__nav",on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])||"button"in e&&0!==e.button||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.preventDefault(),t.focusPreviousTab(e))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"right",39,e.key,["Right","ArrowRight"])||"button"in e&&2!==e.button||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.preventDefault(),t.focusNextTab(e))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"tab",9,e.key,"Tab")||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.preventDefault(),t.focusActiveTabContent(e))},function(e){return e.type.indexOf("key")||33===e.keyCode?e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.preventDefault(),t.focusFirstTab(e)):null},function(e){return e.type.indexOf("key")||34===e.keyCode?e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.preventDefault(),t.focusLastTab(e)):null}]}},[n("ul",t._l(t.tabs,(function(e){return n("li",{key:e.id,staticClass:"app-sidebar-tabs__tab"},[n("a",{class:{active:t.activeTab===e.id},attrs:{id:e.id,"aria-controls":"tab-"+e.id,"aria-selected":t.activeTab===e.id,"data-id":e.id,href:"#tab-"+e.id,tabindex:t.activeTab===e.id?null:-1,role:"tab"},on:{click:function(n){return n.preventDefault(),t.setActive(e.id)}}},[n("span",{staticClass:"app-sidebar-tabs__tab-icon",class:e.icon}),t._v("\n\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t")])])})),0)]):t._e(),t._v(" "),n("div",{staticClass:"app-sidebar-tabs__content",class:{"app-sidebar-tabs__content--multiple":t.hasMultipleTabs}},[t._t("default")],2)
/*
* @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/>.
*/e.default=B},function(t,e,n){"use strict";n.r(e),n(58),n(29),n(30),n(28),n(89),n(16),n(187),n(185),n(62),n(59),n(6);var o=n(189),r=n.n(o),i=n(103),a=n.n(i),s=n(190),c=n.n(s),l=n(12),u=n(14),d={name:"AutoCompleteResult",props:{label:{type:String,required:!0},subline:{type:String,default:null},id:{type:String,default:null},icon:{type:String,required:!0},source:{type:String,required:!0},status:{type:[Object,Array],default:function(){return{}}}},computed:{avatarUrl:function(){return this.id&&"users"===this.source?this.getAvatarUrl(this.id,44):null},haveStatus:function(){var t,e;return(null===(t=this.status)||void 0===t?void 0:t.icon)||(null===(e=this.status)||void 0===e?void 0:e.status)}},methods:{getAvatarUrl:function(t,e){return Object(u.generateUrl)("/avatar/{user}/{size}",{user:t,size:e})}}},p=n(2),f=n.n(p),m=n(177),A=(f()(m.a,{insert:"head",singleton:!1}),m.a.locals,n(3)),h=Object(A.a)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"autocomplete-result"},[n("div",{staticClass:"autocomplete-result__icon",class:[t.icon,"autocomplete-result__icon--"+(t.avatarUrl?"with-avatar":"")],style:t.avatarUrl?{backgroundImage:"url("+t.avatarUrl+")"}:null},[t.haveStatus?n("div",{staticClass:"autocomplete-result__status",class:["autocomplete-result__status--"+(t.status&&t.status.icon?"icon":t.status.status)]},[t._v("\n\t\t\t"+t._s(t.status&&t.status.icon||"")+"\n\t\t")]):t._e()]),t._v(" "),n("span",{staticClass:"autocomplete-result__content"},[n("span",{staticClass:"autocomplete-result__title"},[t._v("\n\t\t\t"+t._s(t.label)+"\n\t\t")]),t._v(" "),t.subline?n("span",{staticClass:"autocomplete-result__subline"},[t._v("\n\t\t\t"+t._s(t.subline)+"\n\t\t")]):t._e()])])}),[],!1,null,"9f912582",null).exports;function g(t,e,n,o,r,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(o,r)}var v={name:"RichContenteditable",mixins:[n(60).default],props:{value:{type:String,default:"",required:!0},placeholder:{type:String,default:Object(l.b)("Write message, @ to mention someone ")},autoComplete:{type:Function,required:!0},menuContainer:{type:Element,default:function(){return document.body}},multiline:{type:Boolean,default:!1},contenteditable:{type:Boolean,default:!0},maxlength:{type:Number,default:null}},data:function(){var t=this;return{tribute:null,options:{fillAttr:"id",lookup:function(t){return"".concat(t.id," ").concat(t.label)},menuContainer:this.menuContainer,menuItemTemplate:function(e){return t.renderComponentHtml(e.original,h)},noMatchTemplate:function(){return'<span class="hidden"></span>'},selectTemplate:function(e){var n;return t.genSelectTemplate(null==e||null===(n=e.original)||void 0===n?void 0:n.id)},values:this.debouncedAutoComplete},localValue:this.value}},computed:{isEmptyValue:function(){return!this.localValue||this.localValue&&""===this.localValue.trim()},isFF:function(){return!!navigator.userAgent.match(/firefox/i)},isOverMaxlength:function(){return!(this.isEmptyValue||!this.maxlength)&&c()(this.localValue)>this.maxlength},tooltip:function(){return this.isOverMaxlength?{content:Object(l.b)("Message limit of {count} characters reached",{count:this.maxlength}),show:!0,trigger:"manual"}:null}},watch:{value:function(){var t=this.$refs.contenteditable.innerHTML;this.value.trim()!==this.parseContent(t).trim()&&this.updateContent(this.value)}},mounted:function(){this.tribute=new r.a(this.options),this.tribute.attach(this.$el),this.updateContent(this.value),this.$refs.contenteditable.contentEditable=this.contenteditable},beforeDestroy:function(){this.tribute&&this.tribute.detach(this.$el)},methods:{onInput:function(t){this.updateValue(t.target.innerHTML)},onPaste:function(t){t.preventDefault();var e=t.clipboardData;if(this.$emit("paste",t),0===e.files.length&&Object.values(e.items).find((function(t){return null==t?void 0:t.type.startsWith("text")}))){var n=e.getData("text"),o=window.getSelection();o.rangeCount||this.updateValue(n);var r=this.parseContent(n),i=o.getRangeAt(0);o.deleteFromDocument(),i.insertNode(document.createTextNode(r));var a=doc
/**
* @copyright Copyright (c) 2020 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/>.
*
*/e.default=k},function(t,e,n){"use strict";n.r(e);var o=n(41),r=n(81),i=n(99),a={name:"AppNavigationIconCollapsible",props:{open:{type:Boolean,default:!0}},methods:{onClick:function(t){this.$emit("click",t)}}},s=n(2),c=n.n(s),l=n(154),u=(c()(l.a,{insert:"head",singleton:!1}),l.a.locals,n(3)),d=Object(u.a)(a,(function(){var t=this.$createElement;return(this._self._c||t)("button",{staticClass:"icon-collapse",class:{"icon-collapse--rotated":this.open},on:{click:this.onClick}})}),[],!1,null,"4e54d078",null).exports,p=n(35),f=n(126),m={name:"AppNavigationItem",components:{Actions:r.a,ActionButton:i.a,AppNavigationIconCollapsible:d,InputConfirmCancel:f.a},directives:{ClickOutside:o.directive},mixins:[p.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},menuPlacement:{type:String,default:"bottom"}},data:function(){return{editingValue:"",opened:this.open,editingActive:!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(t){this.opened=t}},methods:{onMenuToggle:function(t){this.$emit("update:menuOpen",t)},toggleCollapse:function(){this.opened=!this.opened,this.$emit("update:open",this.opened)},onClick:function(t){this.$emit("click",t)},handleEdit:function(){var t=this;this.editingValue=this.title,this.editingActive=!0,this.onMenuToggle(!1),this.$nextTick((function(){t.$refs.editingInput.focusInput()}))},cancelEditing:function(){this.editingActive=!1},handleEditingDone:function(){this.$emit("update:title",this.editingValue),this.editingValue="",this.editingActive=!1},handleUndo:function(){this.$emit("undo")}}},A=n(155),h=(c()(A.a,{insert:"head",singleton:!1}),A.a.locals,n(156)),g=n.n(h),v=Object(u.a)(m,(function(){var t,e=this,n=e.$createElement,o=e._self._c||n;return o("nav-element",e._b({staticClass:"app-navigation-entry",class:{"app-navigation-entry--no-icon":!e.isIconShown,"app-navigation-entry--opened":e.opened,"app-navigation-entry--pinned":e.pinned,"app-navigation-entry--editing":e.editingActive,"app-navigation-entry--deleted":e.undo,"app-navigation-entry--collapsible":e.collapsible,active:e.isActive}},"nav-element",e.navElement,!1),[e.undo?e._e():o("a",{staticClass:"app-navigation-entry-link",attrs:{href:"#"},on:{click:e.onClick}},[o("div",{staticClass:"app-navigation-entry-icon",class:(t={"icon-loading-small":e.loading},t[e.icon]=e.icon&&e.isIconShown,t)},[e.loading?e._e():e._t("icon")],2),e._v(" "),e.editingActive?e._e():o("span",{staticClass:"app-navigation-entry__title",attrs:{title:e.title}},[e._v("\n\t\t\t"+e._s(e.title)+"\n\t\t")]),e._v(" "),e.editingActive?o("div",{staticClass:"editingContainer"},[o("InputConfirmCancel",{ref:"editingInput",attrs:{placeholder:""!==e.editPlaceholder?e.editPlaceholder:e.title},on:{cancel:e.cancelEditing,confirm:e.handleEditingDone},model:{value:e.editingValue,callback:function(t){e.editingValue=t},expression:"editingValue"}})],1):e._e()]),e._v(" "),e.collapsible?o("AppNavigationIconCollapsible",{attrs:{open:e.opened},on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.toggleCollapse(t)}}}):e._e(),e._v(" "),e.undo?o("div",{staticClass:"app-n
/**
* @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/>.
*
*/e.default=b},function(t,e,n){"use strict";n.r(e),n(28),n(29);var o=n(38),r=n(33),i={name:"ActionCheckbox",mixins:[o.a],props:{id:{type:String,default:function(){return"action-"+Object(r.a)()},validator:function(t){return""!==t.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(t){this.$refs.label.click()},onChange:function(t){this.$emit("update:checked",this.$refs.checkbox.checked),this.$emit("change",t),this.$refs.checkbox.checked?this.$emit("check"):this.$emit("uncheck")}}},a=n(2),s=n.n(a),c=n(136),l=(s()(c.a,{insert:"head",singleton:!1}),c.a.locals,n(3)),u=n(137),d=n.n(u),p=Object(l.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"action",class:{"action--disabled":t.disabled}},[n("span",{staticClass:"action-checkbox"},[n("input",{ref:"checkbox",staticClass:"checkbox action-checkbox__checkbox",class:{focusable:t.isFocusable},attrs:{id:t.id,disabled:t.disabled,type:"checkbox"},domProps:{checked:t.checked,value:t.value},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.preventDefault(),t.checkInput(e))},change:t.onChange}}),t._v(" "),n("label",{ref:"label",staticClass:"action-checkbox__label",attrs:{for:t.id}},[t._v(t._s(t.text))]),t._v(" "),t._e()],2)])}),[],!1,null,"395fa6ac",null);"function"==typeof d.a&&d()(p);var f=p.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/>.
*
*/e.default=f},function(t,e,n){"use strict";n.r(e),n(28),n(29),n(39),n(6),n(17),n(18),n(19);var o=n(38),r=n(33),i=n(133),a=n(107),s={name:"ActionInput",components:{DatetimePicker:i.default,Multiselect:a.default},mixins:[o.a],props:{id:{type:String,default:function(){return"action-"+Object(r.a)()},validator:function(t){return""!==t.trim()}},icon:{type:String,default:"",required:!0},type:{type:String,default:"text",validator:function(t){return["date","datetime-local","month","multiselect","number","password","search","tel","text","time","url","week","color","email"].indexOf(t)>-1}},value:{type:[String,Date,Number],default:""},disabled:{type:Boolean,default:!1}},computed:{isIconUrl:function(){try{return new URL(this.icon)}catch(t){return!1}},isMultiselectType:function(){return"multiselect"===this.type},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(t){this.$emit("input",t),this.$emit("update:value",t.target?t.target.value:t)},onSubmit:function(t){if(t.preventDefault(),t.stopPropagation(),this.disabled)return!1;this.$emit("submit",t)},onChange:function(t){this.$emit("change",t)}}},c=n(2),l=n.n(c),u=n(138),d=(l()(u.a,{insert:"head",singleton:!1}),u.a.locals,n(3)),p=n(139),f=n.n(p),m=Object(d.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"action",class:{"action--disabled":t.disabled}},[n("span",{staticClass:"action-input",class:{"action-input--picker":t.isDatePickerType,"action-input-picker--disabled":t.disabled},on:{mouseleave:t.onLeave}},[t._t("icon",[n("span",{staticClass:"action-input__icon",class:[t.isIconUrl?"action-input__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?"url("+t.icon+")":null}})]),t._v(" "),n("form",{ref:"form",staticClass:"action-input__form",attrs:{disabled:t.disabled},on:{submit:function(e){return e.preventDefault(),t.onSubmit(e)}}},[t.isDatePickerType?n("DatetimePicker",t._b({ref:"datetimepicker",staticClass:"action-input__picker",attrs:{value:t.value,placeholder:t.text,disabled:t.disabled,type:t.isDatePickerType,"input-class":["mx-input",{focusable:t.isFocusable}]},on:{input:t.onInput,change:t.onChange}},"DatetimePicker",t.$attrs,!1)):t.isMultiselectType?n("Multiselect",t._g(t._b({staticClass:"action-input__multi",class:{focusable:t.isFocusable},attrs:{value:t.value,placeholder:t.text,disabled:t.disabled}},"Multiselect",t.$attrs,!1),t.$listeners)):[n("input",{staticClass:"action-input__submit",attrs:{id:t.id,type:"submit"}}),t._v(" "),n("input",t._b({staticClass:"action-input__input",class:{focusable:t.isFocusable},attrs:{type:t.type,placeholder:t.text,disabled:t.disabled},domProps:{value:t.value},on:{input:t.onInput,change:t.onChange}},"input",t.$attrs,!1)),t._v(" "),n("label",{directives:[{name:"show",rawName:"v-show",value:!t.disabled,expression:"!disabled"}],staticClass:"action-input__label",attrs:{for:t.id}})]],2)],2)])}),[],!1,null,"46fb3421",null);"function"==typeof f.a&&f()(m);var A=m.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/>.
*
*/e.default=A},function(t,e,n){"use strict";n.r(e),n(28),n(29);var o=n(38),r=n(33),i={name:"ActionRadio",mixins:[o.a],props:{id:{type:String,default:function(){return"action-"+Object(r.a)()},validator:function(t){return""!==t.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(t){this.$refs.label.click()},onChange:function(t){this.$emit("update:checked",this.$refs.radio.checked),this.$emit("change",t)}}},a=n(2),s=n.n(a),c=n(140),l=(s()(c.a,{insert:"head",singleton:!1}),c.a.locals,n(3)),u=n(141),d=n.n(u),p=Object(l.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"action",class:{"action--disabled":t.disabled}},[n("span",{staticClass:"action-radio"},[n("input",{ref:"radio",staticClass:"radio action-radio__radio",class:{focusable:t.isFocusable},attrs:{id:t.id,disabled:t.disabled,name:t.name,type:"radio"},domProps:{checked:t.checked,value:t.value},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.preventDefault(),t.toggleInput(e))},change:t.onChange}}),t._v(" "),n("label",{ref:"label",staticClass:"action-radio__label",attrs:{for:t.id}},[t._v(t._s(t.text))]),t._v(" "),t._e()],2)])}),[],!1,null,"047cd0d4",null);"function"==typeof d.a&&d()(p);var f=p.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/>.
*
*/e.default=f},function(t,e,n){"use strict";n.r(e);var o=n(2),r=n.n(o),i=n(142),a=(r()(i.a,{insert:"head",singleton:!1}),i.a.locals,n(3)),s=Object(a.a)({name:"ActionSeparator"},(function(){var t=this.$createElement;return(this._self._c||t)("li",{staticClass:"action action-separator action--disabled"})}),[],!1,null,"5339ba06",null).exports;e.default=s},function(t,e,n){"use strict";n.r(e);var o={name:"ActionText",mixins:[n(49).a]},r=n(2),i=n.n(r),a=n(143),s=(i()(a.a,{insert:"head",singleton:!1}),a.a.locals,n(3)),c=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"action"},[n("span",{staticClass:"action-text",on:{click:t.onClick}},[t._t("icon",[""!==t.icon?n("span",{staticClass:"action-text__icon",class:[t.isIconUrl?"action-text__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?"url("+t.icon+")":null}}):t._e()]),t._v(" "),t.title?n("p",[n("strong",{staticClass:"action-text__title"},[t._v("\n\t\t\t\t"+t._s(t.title)+"\n\t\t\t")]),t._v(" "),n("br"),t._v(" "),n("span",{staticClass:"action-text__longtext",domProps:{textContent:t._s(t.text)}})]):t.isLongText?n("p",{staticClass:"action-text__longtext",domProps:{textContent:t._s(t.text)}}):n("span",{staticClass:"action-text__text"},[t._v(t._s(t.text))]),t._v(" "),t._e()],2)])}),[],!1,null,"90adea72",null).exports;e.default=c},function(t,e,n){"use strict";n.r(e),n(28);var o=n(49),r=n(33),i={name:"ActionTextEditable",mixins:[o.a],props:{id:{type:String,default:function(){return"action-"+Object(r.a)()},validator:function(t){return""!==t.trim()}},disabled:{type:Boolean,default:!1},value:{type:String,default:""}},computed:{isFocusable:function(){return!this.disabled}},methods:{onInput:function(t){this.$emit("input",t),this.$emit("update:value",t.target.value)},onSubmit:function(t){if(t.preventDefault(),t.stopPropagation(),this.disabled)return!1;this.$emit("submit",t)}}},a=n(2),s=n.n(a),c=n(144),l=(s()(c.a,{insert:"head",singleton:!1}),c.a.locals,n(3)),u=n(145),d=n.n(u),p=Object(l.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"action",class:{"action--disabled":t.disabled}},[n("span",{staticClass:"action-text-editable",on:{click:t.onClick}},[n("span",{staticClass:"action-text-editable__icon",class:[t.isIconUrl?"action-text-editable__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?"url("+t.icon+")":null}}),t._v(" "),n("form",{ref:"form",staticClass:"action-text-editable__form",attrs:{disabled:t.disabled},on:{submit:function(e){return e.preventDefault(),t.onSubmit(e)}}},[n("input",{staticClass:"action-text-editable__submit",attrs:{id:t.id,type:"submit"}}),t._v(" "),t.title?n("strong",{staticClass:"action-text__title"},[t._v("\n\t\t\t\t"+t._s(t.title)+"\n\t\t\t")]):t._e(),t._v(" "),n("textarea",t._b({class:["action-text-editable__textarea",{focusable:t.isFocusable}],attrs:{disabled:t.disabled},domProps:{value:t.value},on:{input:t.onInput}},"textarea",t.$attrs,!1)),t._v(" "),n("label",{directives:[{name:"show",rawName:"v-show",value:!t.disabled,expression:"!disabled"}],staticClass:"action-text-editable__label",attrs:{for:t.id}})])])])}),[],!1,null,"a3150afa",null);"function"==typeof d.a&&d()(p);var f=p.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/>.
*
*/e.default=f},function(t,e,n){"use strict";n.r(e);var o=n(109),r=n.n(o),i=n(27),a={name:"AppContent",props:{allowSwipeNavigation:{type:Boolean,default:!0}},mounted:function(){this.allowSwipeNavigation&&(this.mc=new r.a(this.$el,{cssProps:{userSelect:"text"}}),this.mc.on("swipeleft swiperight",this.handleSwipe))},beforeDestroy:function(){this.mc.off("swipeleft swiperight",this.handleSwipe)},methods:{handleSwipe:function(t){var e=t.srcEvent.pageX-t.deltaX,n=Math.abs(t.deltaX)>70;n&&e<40?Object(i.emit)("toggle-navigation",{open:!0}):n&&e<340&&Object(i.emit)("toggle-navigation",{open:!1})}}},s=n(2),c=n.n(s),l=n(146),u=(c()(l.a,{insert:"head",singleton:!1}),l.a.locals,n(3)),d=Object(u.a)(a,(function(){var t=this.$createElement;return(this._self._c||t)("main",{staticClass:"app-content no-snapper",attrs:{id:"app-content-vue"}},[this._t("default")],2)}),[],!1,null,"2c9fa664",null).exports;e.default=d},function(t,e,n){"use strict";n.r(e);var o=n(27),r=n(134),i=n(35),a={name:"AppNavigation",components:{AppNavigationToggle:r.a},mixins:[i.default],data:function(){return{open:!0}},watch:{isMobile:function(){this.open=!this.isMobile}},mounted:function(){Object(o.subscribe)("toggle-navigation",this.toggleNavigationByEventBus),Object(o.emit)("navigation-toggled",{open:this.open})},unmounted:function(){this.mc.off("swipeleft swiperight"),this.mc.destroy(),Object(o.unsubscribe)("toggle-navigation",this.toggleNavigationByEventBus)},methods:{toggleNavigation:function(t){var e=this;this.open=void 0===t?!this.open:t;var n=getComputedStyle(document.body),r=parseInt(n.getPropertyValue("--animation-quick"))||100;setTimeout((function(){Object(o.emit)("navigation-toggled",{open:e.open})}),1.5*r)},toggleNavigationByEventBus:function(t){var e=t.open;this.toggleNavigation(e)}}},s=n(2),c=n.n(s),l=n(147),u=(c()(l.a,{insert:"head",singleton:!1}),l.a.locals,n(3)),d=n(148),p=n.n(d),f=Object(u.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-navigation",class:{"app-navigation--close":!t.open},attrs:{id:"app-navigation-vue",role:"navigation"}},[n("AppNavigationToggle",{attrs:{open:t.open},on:{"update:open":t.toggleNavigation}}),t._v(" "),t._t("default"),t._v(" "),n("ul",{staticClass:"app-navigation__list"},[t._t("list")],2),t._v(" "),t._t("footer")],2)}),[],!1,null,"9f64425c",null);"function"==typeof p.a&&p()(f);var m=f.exports;
/**
* @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/>.
*/e.default=m},function(t,e,n){"use strict";n.r(e);var o={name:"AppNavigationCaption",props:{title:{type:String,required:!0}}},r=n(2),i=n.n(r),a=n(149),s=(i()(a.a,{insert:"head",singleton:!1}),a.a.locals,n(3)),c=Object(s.a)(o,(function(){var t=this.$createElement;return(this._self._c||t)("li",{staticClass:"app-navigation-caption"},[this._v("\n\t"+this._s(this.title)+"\n")])}),[],!1,null,"46add67c",null).exports;e.default=c},function(t,e,n){"use strict";n.r(e);var o={name:"AppNavigationCounter",props:{highlighted:{type:Boolean,default:!1}}},r=n(2),i=n.n(r),a=n(150),s=(i()(a.a,{insert:"head",singleton:!1}),a.a.locals,n(3)),c=n(151),l=n.n(c),u=Object(s.a)(o,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"app-navigation-entry__counter",class:{"app-navigation-entry__counter--highlighted":this.highlighted}},[this._t("default")],2)}),[],!1,null,"03f63035",null);"function"==typeof l.a&&l()(u);var d=u.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/>.
*
*/e.default=d},function(t,e,n){"use strict";n.r(e),n(62);var o={name:"AppNavigationIconBullet",props:{color:{type:String,required:!0,validator:function(t){return/^#?([0-9A-F]{3}){1,2}$/i.test(t)}}},computed:{formattedColor:function(){return this.color.startsWith("#")?this.color:"#"+this.color}},methods:{onClick:function(t){this.$emit("click",t)}}},r=n(2),i=n.n(r),a=n(152),s=(i()(a.a,{insert:"head",singleton:!1}),a.a.locals,n(3)),c=n(153),l=n.n(c),u=Object(s.a)(o,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"app-navigation-entry__icon-bullet",on:{click:this.onClick}},[e("div",{style:{backgroundColor:this.formattedColor}})])}),[],!1,null,"8f9e955c",null);"function"==typeof l.a&&l()(u);var d=u.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/>.
*
*/e.default=d},function(t,e,n){"use strict";n.r(e);var o={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}}},r=n(2),i=n.n(r),a=n(157),s=(i()(a.a,{insert:"head",singleton:!1}),a.a.locals,n(3)),c=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-navigation-new"},[n("button",{class:t.buttonClass,attrs:{id:t.buttonId,type:"button",disabled:t.disabled},on:{click:function(e){return t.$emit("click")}}},[t._v("\n\t\t"+t._s(t.text)+"\n\t")])])}),[],!1,null,"ecee326e",null).exports;e.default=c},function(t,e,n){"use strict";n.r(e);var o=n(41),r=n(35),i={name:"AppNavigationNewItem",components:{InputConfirmCancel:n(126).a},directives:{ClickOutside:o.directive},mixins:[r.default],props:{title:{type:String,required:!0},icon:{type:String,default:""},loading:{type:Boolean,default:!1},editLabel:{type:String,default:""},editPlaceholder:{type:String,default:""}},data:function(){return{newItemValue:"",newItemActive:!1}},methods:{handleNewItem:function(){var t=this;this.loading||(this.newItemActive=!0,this.$nextTick((function(){t.$refs.newItemInput.focusInput()})))},cancelNewItem:function(){this.newItemActive=!1},handleNewItemDone:function(){this.$emit("new-item",this.newItemValue),this.newItemValue="",this.newItemActive=!1}}},a=n(2),s=n.n(a),c=n(158),l=(s()(c.a,{insert:"head",singleton:!1}),c.a.locals,n(3)),u=n(159),d=n.n(u),p=Object(l.a)(i,(function(){var t,e=this,n=e.$createElement,o=e._self._c||n;return o("li",{staticClass:"app-navigation-entry",class:{"app-navigation-entry--newItemActive":e.newItemActive}},[o("div",{staticClass:"app-navigation-entry-div",on:{click:e.handleNewItem}},[o("div",{staticClass:"app-navigation-entry-icon",class:(t={"icon-loading-small":e.loading},t[e.icon]=!e.loading,t)},[e.loading?e._e():e._t("icon")],2),e._v(" "),e.newItemActive?e._e():o("span",{staticClass:"app-navigation-new-item__title",attrs:{title:e.title}},[e._v("\n\t\t\t"+e._s(e.title)+"\n\t\t")]),e._v(" "),e.newItemActive?o("div",{staticClass:"newItemContainer"},[o("InputConfirmCancel",{ref:"newItemInput",attrs:{placeholder:""!==e.editPlaceholder?e.editPlaceholder:e.title},on:{cancel:e.cancelNewItem,confirm:e.handleNewItemDone},model:{value:e.newItemValue,callback:function(t){e.newItemValue=t},expression:"newItemValue"}})],1):e._e()])])}),[],!1,null,null,null);"function"==typeof d.a&&d()(p);var f=p.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/>.
*
*/e.default=f},function(t,e,n){"use strict";n.r(e);var o=n(41),r=n(12),i=n(45),a={directives:{ClickOutside:o.directive},mixins:[i.a],props:{title:{type:String,required:!1,default:Object(r.b)("Settings")}},data:function(){return{open:!1,clickOutsideConfig:{handler:this.closeMenu,middleware:this.clickOutsideMiddleware}}},methods:{toggleMenu:function(){this.open=!this.open},closeMenu:function(){this.open=!1}}},s=n(2),c=n.n(s),l=n(160),u=(c()(l.a,{insert:"head",singleton:!1}),l.a.locals,n(3)),d=Object(u.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.clickOutsideConfig,expression:"clickOutsideConfig"}],class:{open:t.open},attrs:{id:"app-settings"}},[n("div",{attrs:{id:"app-settings-header"}},[n("button",{staticClass:"settings-button",on:{click:t.toggleMenu}},[t._v("\n\t\t\t"+t._s(t.title)+"\n\t\t")])]),t._v(" "),n("transition",{attrs:{name:"slide-up"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],attrs:{id:"app-settings-content"}},[t._t("default")],2)])],1)}),[],!1,null,"73c43fbe",null).exports;e.default=d},function(t,e,n){"use strict";n.r(e);var o=n(2),r=n.n(o),i=n(161),a=(r()(i.a,{insert:"head",singleton:!1}),i.a.locals,n(3)),s=Object(a.a)({name:"AppNavigationSpacer"},(function(){var t=this.$createElement;return(this._self._c||t)("li",{staticClass:"app-navigation-spacer"})}),[],!1,null,"42195cc8",null).exports;e.default=s},function(t,e,n){"use strict";n.r(e),n(24),n(16);var o={name:"AppSettingsSection",props:{title:{type:String,required:!0}},computed:{id:function(){return"settings-section_"+this.title.replace(/\s+/g,"")}}},r=n(2),i=n.n(r),a=n(164),s=(i()(a.a,{insert:"head",singleton:!1}),a.a.locals,n(3)),c=Object(s.a)(o,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"app-settings-section",attrs:{id:this.id}},[e("h3",{staticClass:"app-settings-section__title",attrs:{id:this.title}},[this._v("\n\t\t"+this._s(this.title)+"\n\t")]),this._v(" "),this._t("default")],2)}),[],!1,null,"0e33da14",null).exports;e.default=c},function(t,e,n){"use strict";n.r(e),n(29);var o={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}},methods:{onScroll:function(t){this.$el.scrollHeight-this.$el.scrollTop===this.$el.clientHeight&&this.$emit("bottomReached",t),this.$emit("scroll",t)}}},r=n(2),i=n.n(r),a=n(169),s=(i()(a.a,{insert:"head",singleton:!1}),a.a.locals,n(3)),c=Object(s.a)(o,(function(){var t=this.$createElement;return(this._self._c||t)("section",{staticClass:"app-sidebar__tab",class:{"app-sidebar__tab--active":this.isActive},attrs:{id:"tab-"+this.id,"aria-hidden":!this.isActive,"aria-labelledby":this.id,tabindex:"0",role:"tabpanel"},on:{scroll:this.onScroll}},[this._t("default")],2)}),[],!1,null,"ea6a5b0c",null).exports;e.default=c},function(t,e,n){"use strict";n.r(e),n(13),n(6),n(25);var o=n(188),r=n(63),i=n(42),a=n(47),s={name:"ColorPicker",components:{Chrome:o.Chrome,Popover:a.default},mixins:[i.a],props:{value:{type:String,required:!0}},data:function(){var t=this;return{currentColor:this.value,advanced:!1,palette:Object(r.a)(4).map((function(e){return"#"+t.rgbToHex(e.r)+t.rgbToHex(e.g)+t.rgbToHex(e.b)})),open:!0}},watch:{value:function(t){this.currentColor=t}},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(t){"string"!=typeof t&&(t=this.currentColor.hex),this.currentColor=t,this.$emit("close"),this.$emit("update:value",t),this.$emit("input",t)},rgbToHex:function(t){var e=t.toString(16);return 1===e.length?"0"+e:e}}},c=n(2),l=n.n(c),u=n(172),d=(l()(u.a,{insert:"head",singleton:!1}),u.a.locals,n(3)),p=n(173),f=n.n(p),m=Object(d.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Popover",t._g(t._b({scopedS
/**
* @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/>.
*
*/e.default=A},function(t,e,n){"use strict";n.r(e);var o={props:{appName:{type:String,required:!0}}},r=n(2),i=n.n(r),a=n(174),s=(i()(a.a,{insert:"head",singleton:!1}),a.a.locals,n(3)),c=n(175),l=n.n(c),u=Object(s.a)(o,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"content",class:"app-"+this.appName.toLowerCase(),attrs:{id:"content-vue"}},[this._t("default")],2)}),[],!1,null,"07b3675a",null);"function"==typeof l.a&&l()(u);var d=u.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/>.
*/e.default=d},function(t,e,n){"use strict";n.r(e),n(31),n(37);var o={name:"SettingsSection",components:{},mixins:[n(42).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}}},r=n(2),i=n.n(r),a=n(181),s=(i()(a.a,{insert:"head",singleton:!1}),a.a.locals,n(3)),c=n(182),l=n.n(c),u=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"settings-section"},[n("h2",{staticClass:"settings-section__title"},[t._v("\n\t\t"+t._s(t.title)+"\n\t\t"),t.hasDocUrl?n("a",{staticClass:"settings-section__info",attrs:{href:t.docUrl,role:"",title:t.t("External documentation for {title}",{title:t.title})}}):t._e()]),t._v(" "),t.hasDescription?n("p",{staticClass:"settings-section__desc"},[t._v("\n\t\t"+t._s(t.description)+"\n\t")]):t._e(),t._v(" "),t._t("default")],2)}),[],!1,null,"41759dcb",null);"function"==typeof l.a&&l()(u);var d=u.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/>.
*
*/e.default=d},function(t,e,n){"use strict";n.r(e),n(39),n(6),n(17),n(18),n(19),n(29),n(28);var o=n(47),r=n(76),i={name:"UserBubble",components:{Popover:o.default,Avatar:r.default},props:{avatarImage:{type:String,default:void 0},user:{type:String,default:void 0},displayName:{type:String,required:!0},showUserStatus:{type:Boolean,default:!1},url:{type:String,default:void 0,validator:function(t){try{return!!(t=new URL(t))}catch(t){return!1}}},open:{type:Boolean,default:!1},primary:{type:Boolean,default:!1},size:{type:Number,default:20},margin:{type:Number,default:2}},computed:{isPopoverComponent:function(){return this.popoverEmpty?"div":"Popover"},isAvatarUrl:function(){if(!this.avatarImage)return!1;try{return!!new URL(this.avatarImage)}catch(t){return!1}},isCustomAvatar:function(){return!!this.avatarImage},isLinkComponent:function(){return this.url&&""!==this.url.trim()?{is:"a",href:this.url}:{is:"div"}},popoverEmpty:function(){return!("default"in this.$slots)},styles:function(){return{content:{height:this.size+"px",lineHeight:this.size+"px",borderRadius:this.size/2+"px"},avatar:{marginLeft:this.margin+"px"}}}},methods:{onOpenChange:function(t){this.$emit("update:open",t)},onClick:function(t){this.$emit("click",t)}}},a=n(2),s=n.n(a),c=n(183),l=(s()(c.a,{insert:"head",singleton:!1}),c.a.locals,n(3)),u=n(184),d=n.n(u),p=Object(l.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.isPopoverComponent,{tag:"Popover",staticClass:"user-bubble__wrapper",attrs:{trigger:"hover focus",open:t.open},on:{"update:open":t.onOpenChange}},[n("div",t._b({staticClass:"user-bubble__content",class:t.primary?"user-bubble__content--primary":"",style:t.styles.content,attrs:{slot:"trigger"},on:{click:t.onClick},slot:"trigger"},"div",t.isLinkComponent,!1),[n("Avatar",t._b({staticClass:"user-bubble__avatar",style:t.styles.avatar,attrs:{url:t.isCustomAvatar&&t.isAvatarUrl?t.avatarImage:void 0,"icon-class":t.isCustomAvatar&&!t.isAvatarUrl?t.avatarImage:void 0,user:t.user,"display-name":t.displayName,size:t.size-2*t.margin,"disable-tooltip":!0,"disable-menu":!0}},"Avatar",t.$props,!1)),t._v(" "),n("span",{staticClass:"user-bubble__title"},[t._v("\n\t\t\t"+t._s(t.displayName||t.user)+"\n\t\t")]),t._v(" "),t.$slots.title?n("span",{staticClass:"user-bubble__secondary"},[t._t("title")],2):t._e()],1),t._v(" "),t._t("default")],2)}),[],!1,null,"28b47c60",null);"function"==typeof d.a&&d()(p);var f=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/>.
*
*/e.default=f},function(t,e,n){"use strict";n.r(e),n(58),n(29),n(13),n(51),n(187),n(59),n(6);var o=n(42),r=n(107),i=n(36),a=n.n(i),s=n(14);function c(t,e,n,o,r,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(o,r)}
/**
* @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(t){var e=function t(e){var n={};if(1===e.nodeType){if(e.attributes.length>0){n["@attributes"]={};for(var o=0;o<e.attributes.length;o++){var r=e.attributes.item(o);n["@attributes"][r.nodeName]=r.nodeValue}}}else 3===e.nodeType&&(n=e.nodeValue);if(e.hasChildNodes())for(var i=0;i<e.childNodes.length;i++){var a=e.childNodes.item(i),s=a.nodeName;if(void 0===n[s])n[s]=t(a);else{if(void 0===n[s].push){var c=n[s];n[s]=[],n[s].push(c)}n[s].push(t(a))}}return n}(function(t){var e=null;try{e=(new DOMParser).parseFromString(t,"text/xml")}catch(t){console.error("Failed to parse xml document",t)}return e}(t))["d:multistatus"]["d:response"],n=[];for(var o in e){var r=e[o]["d:propstat"];"HTTP/1.1 200 OK"===r["d:status"]["#text"]&&n.push({id:parseInt(r["d:prop"]["oc:id"]["#text"]),displayName:r["d:prop"]["oc:display-name"]["#text"],canAssign:"true"===r["d:prop"]["oc:can-assign"]["#text"],userAssignable:"true"===r["d:prop"]["oc:user-assignable"]["#text"],userVisible:"true"===r["d:prop"]["oc:user-visible"]["#text"]})}return n},u=function(){var t,e=(t=regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!window.NextcloudVueDocs){t.next=2;break}return t.abrupt("return",Promise.resolve(l(window.NextcloudVueDocs.tags)));case 2:return t.next=4,a()({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 e=t.sent,t.abrupt("return",l(e.data));case 6:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(o,r){var i=t.apply(e,n);function a(t){c(i,o,r,a,s,"next",t)}function s(t){c(i,o,r,a,s,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}(),d=n(12);function p(t,e,n,o,r,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(o,r)}var f={name:"MultiselectTags",components:{Multiselect:r.default},mixins:[o.a],props:{label:{type:String,default:Object(d.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 t,e=this;return(t=regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,u();case 3:n=t.sent,e.tags=n,t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),console.error("Loading systemtags failed",t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})),function(){var e=this,n=arguments;return new Promise((function(o,r){var i=t.apply(e,n);function a(t){p(i,o,r,a,s,"next",t)}function s(t){p(i,o,r,a,s,"throw",t)}a(void 0)}))})()},methods:{getValueObject:function(){var t=this;return 0===this.tags.length?[]:this.multiple?this.value.filter((function(t){return""!==t})).map((function(e){return t.tags.find((function(t){return t.id===e}))})):this.tags.find((function(e){return e.id===t.value}))},update:function(t){this.multiple?this.$emit("input",t.map((function(t){return t.id}))):null===t?this.$emit("input",null):this.$emit("input",t.id)},tagLabel:function(t){var e=t.displayName,n=t.userVisible,o=t.userAssignable;return!1===n?Object(d.b)("{tag} (invisible)",{tag:e}):!1===o?Object(d.b)("{tag} (restricted)",{tag:e}):e}}},m=n(3),A=n(176),h=n.n(A),g=Object(m.a)(f,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Multiselect",{attrs:{value:t.inputValue,options:t.tags,"options-limit":5,placeholder:t.label,"track-by":"id","custom-label":t.tagLabel,multiple:t.multiple,"close-on-select":t.multiple,"tag-width":60,disabled:t.disabled},on:{input:t.update},scopedSlots:t._u([{key:"option",fn:function(e){return[t._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/>.
*/e.default=v},function(t,e,n){"use strict";n.r(e);var o=n(3),r=Object(o.a)({name:"AppContentDetails"},(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"app-content-details"},[this._t("default")],2)}),[],!1,null,null,null).exports;e.default=r},function(t,e,n){"use strict";n.r(e);var o={name:"AppContentList",props:{selection:{type:Boolean,default:!1},showDetails:{type:Boolean,default:!1}}},r=n(3),i=Object(r.a)(o,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"app-content-list",class:{selection:this.selection,showdetails:this.showDetails}},[this._t("default")],2)}),[],!1,null,null,null).exports;e.default=i},function(e,n,o){"use strict";o.r(n),o(13),o(51),o(85),o(98),o(24),o(16),o(86),o(186),o(30),o(31),o(37),o(6),o(46),o(17),o(18),o(19),o(52),o(40),o(15);var r=o(129),i=o(35),a=o(103),s=o.n(a);function c(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}var u={name:"AppSettingsDialog",components:{Modal:r.default},mixins:[i.default],props:{open:{type:Boolean,required:!0},showNavigation:{type:Boolean,default:!1},container:{type:String,default:"body"}},data:function(){return{selectedSection:"",linkClicked:!1,addedScrollListener:!1,scroller:null}},computed:{hasNavigation:function(){return!(this.isMobile||!this.showNavigation)},settingsNavigationAriaLabel:function(){return t("Settings navigation")}},mounted:function(){this.selectedSection=this.$slots.default[0].componentOptions.propsData.title},updated:function(){this.$refs.settingsScroller&&(this.scroller=this.$refs.settingsScroller,this.addedScrollListener||(this.scroller.addEventListener("scroll",this.handleScroll),this.addedScrollListener=!0))},methods:{getSettingsNavigation:function(t){var e=t.filter((function(t){return t.componentOptions})).map((function(t){var e;return null===(e=t.componentOptions.propsData)||void 0===e?void 0:e.title}));return e.forEach((function(t,n){var o=c(e);if(o.splice(n,1),-1!==o.indexOf(t))throw new Error("Duplicate section title found: ".concat(t,". Settings navigation sections must have unique section titles."))})),e},handleSettingsNavigationClick:function(t){var e=this;this.linkClicked=!0,document.getElementById("settings-section_"+t.replace(/\s+/g,"")).scrollIntoView({behavior:"smooth",inline:"nearest"}),this.selectedSection=t,setTimeout((function(){e.linkClicked=!1}),1e3)},handleCloseModal:function(){this.$emit("update:open",!1),this.scroller.removeEventListener("scroll",this.handleScroll),this.addedScrollListener=!1,this.scroller.scrollTop=0},handleScroll:function(){this.linkClicked||this.unfocusNavigationItem()},unfocusNavigationItem:s()((function(){this.selectedSection="",document.activeElement.className.includes("navigation-list__link")&&document.activeElement.blur()}),300),handleLinkKeydown:function(t,e){"Enter"===t.code&&this.handleSettingsNavigationClick(e)}},render:function(t){var e=this,n=function(n){return t("li",{},[t("a",{class:{"navigation-list__link":!0,"navigation-list__link--active":n===e.selectedSection},attrs:{role:"tab","aria-selected":n===e.selectedSection,tabindex:"0"},on:{click:function(){return e.handleSettingsNavigationClick(n)},keydown:function(){return e.handleLinkKeydown(event,n)}}},n)])};return this.open?t("Modal",{attrs:{container:this.container},on:{close:function(){e.handleCloseModal()}}},[t("div",{attrs:{class:"app-settings"}},[].concat(c(e.hasNavigation?[t("div",{attrs:{class:"app-s
/**
* @copyright Copyright (c) 2020 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/>.
*
*/n.default=v},function(t,e,n){"use strict";n.r(e),n(13),n(90),n(85),n(86),n(186),n(40);var o=n(5),r=n.n(o),i=n(103),a=n.n(i),s=n(69),c=n(131),l=n(130),u=n(50),d=n(132),p=n(27),f={name:"Breadcrumbs",components:{Actions:s.default,ActionRouter:c.default,ActionLink:l.default,Breadcrumb:d.default},props:{rootIcon:{type:String,default:"icon-home"}},data:function(){return{hiddenCrumbs:[],hiddenIndices:[],menuBreadcrumbProps:{title:"",forceMenu:!0,disableDrop:!0,open:!1}}},beforeMount:function(){Object(u.a)(this.$slots.default,["Breadcrumb"],this)},beforeUpdate:function(){Object(u.a)(this.$slots.default,["Breadcrumb"],this)},created:function(){var t=this;window.addEventListener("resize",a()((function(){t.handleWindowResize()}),100)),Object(p.subscribe)("navigation-toggled",this.delayedResize)},mounted:function(){this.handleWindowResize()},updated:function(){var t=this;this.$nextTick((function(){t.handleWindowResize()}))},beforeDestroy:function(){window.removeEventListener("resize",this.handleWindowResize),Object(p.unsubscribe)("navigation-toggled",this.delayedResize)},methods:{closeActions:function(t){this.$refs.actionsBreadcrumb.$el.contains(t.relatedTarget)||(this.menuBreadcrumbProps.open=!1)},delayedResize:function(){var t=this;this.$nextTick((function(){t.handleWindowResize()}))},handleWindowResize:function(){var t=this.$slots.default||[];if(this.$refs.container){var e=t.length,n=[],o=this.$refs.container.offsetWidth,r=this.getTotalWidth(t)-o;r+=r>0?51:0;for(var i=0,a=Math.floor(e/2);r>0&&i<e-2;){var s=a+(i%2?i+1:i)/2*Math.pow(-1,i+e%2);r-=this.getWidth(t[s].elm),n.push(s),i++}this.arraysEqual(this.hiddenIndices,n.sort((function(t,e){return t-e})))||(this.hiddenCrumbs=n.map((function(e){return t[e]})),this.hiddenIndices=n)}},arraysEqual:function(t,e){if(t.length!==e.length)return!1;if(t===e)return!0;if(null===t||null===e)return!1;for(var n=0;n<t.length;++n)if(t[n]!==e[n])return!1;return!0},getTotalWidth:function(t){var e=this;return t.reduce((function(t,n,o){return t+e.getWidth(n.elm)}),0)},getWidth:function(t){if(!t.classList)return 0;var e=t.classList.contains("crumb--hidden");t.classList.remove("crumb--hidden");var n=t.offsetWidth;return e&&t.classList.add("crumb--hidden"),n},preventDefault:function(t){return t.preventDefault&&t.preventDefault(),!1},dragStart:function(t){return this.preventDefault(t)},dropped:function(t,e,n){return n||this.$emit("dropped",t,e),this.menuBreadcrumbProps.open=!1,document.querySelectorAll(".crumb").forEach((function(t){t.classList.remove("crumb--hovered")})),this.preventDefault(t)},dragOver:function(t){return this.preventDefault(t)},dragEnter:function(t,e){if(!e&&t.target.closest){var n=t.target.closest(".crumb");n.classList&&n.classList.contains("crumb")&&(document.querySelectorAll(".crumb").forEach((function(t){t.classList.remove("crumb--hovered")})),n.classList.add("crumb--hovered"))}},dragLeave:function(t,e){if(!e&&!t.target.contains(t.relatedTarget)&&t.target.closest){var n=t.target.closest(".crumb");if(n.contains(t.relatedTarget))return;n.classList&&n.classList.contains("crumb")&&n.classList.remove("crumb--hovered")}},addCrumbs:function(t,e){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;e.forEach((function(e,r){e.elm&&e.elm.classList&&(n.hiddenIndices.includes(r+o)?e.elm.classList.add("crumb--hidden"):e.elm.classList.remove("crumb--hidden")),t.push(e)}))}},render:function(t){var e=this,n=this.$slots.default||[];if(0!==n.length){r.a.set(n[0].componentOptions.propsData,"icon",this.rootIcon);var o=[],i=this.hiddenCrumbs.length?n.slice(0,Math.round(n.length/2)):n;this.addCrumbs(o,i),this.hiddenCrumbs.length&&o.push(t("Breadcrumb",{class:"dropdown",props:this.menuBreadcrumbProps,ref:"actionsBreadcrumb",key:"actions-breadcrumb-1",nativeOn:{dragstart:this.dragStart,dragenter:function(){e.menuBreadcrumbProps.open=!0},dragleave:this.closeActions},on:{"update:open":function(t){e.menuBreadcrumbProps.open=t}}},this.hiddenCrumbs.map((function(n){var o=n.componentOptions.propsData.to,r=n.componentOptions.propsData.href,i=n.componentOptions.propsData.disableDrop,a="ActionLin
/**
* @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/>.
*
*/e.default=y},function(t,e){t.exports=o(427)},,,,,,,,,,,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"ActionButton",(function(){return r.default})),n.d(e,"ActionCheckbox",(function(){return i.default})),n.d(e,"ActionInput",(function(){return a.default})),n.d(e,"ActionLink",(function(){return s.default})),n.d(e,"ActionRadio",(function(){return c.default})),n.d(e,"ActionRouter",(function(){return l.default})),n.d(e,"Actions",(function(){return u.default})),n.d(e,"ActionSeparator",(function(){return d.default})),n.d(e,"ActionText",(function(){return p.default})),n.d(e,"ActionTextEditable",(function(){return f.default})),n.d(e,"AppContent",(function(){return m.default})),n.d(e,"AppContentDetails",(function(){return A.default})),n.d(e,"AppContentList",(function(){return h.default})),n.d(e,"AppNavigation",(function(){return g.default})),n.d(e,"AppNavigationCaption",(function(){return v.default})),n.d(e,"AppNavigationCounter",(function(){return b.default})),n.d(e,"AppNavigationIconBullet",(function(){return C.default})),n.d(e,"AppNavigationItem",(function(){return y.default})),n.d(e,"AppNavigationNew",(function(){return x.default})),n.d(e,"AppNavigationNewItem",(function(){return w.default})),n.d(e,"AppNavigationSettings",(function(){return k.default})),n.d(e,"AppNavigationSpacer",(function(){return _.default})),n.d(e,"AppSettingsDialog",(function(){return B.default})),n.d(e,"AppSettingsSection",(function(){return E.default})),n.d(e,"AppSidebar",(function(){return S.default})),n.d(e,"AppSidebarTab",(function(){return T.default})),n.d(e,"Avatar",(function(){return M.default})),n.d(e,"Breadcrumb",(function(){return P.default})),n.d(e,"Breadcrumbs",(function(){return $.default})),n.d(e,"ColorPicker",(function(){return N.default})),n.d(e,"Content",(function(){return I.default})),n.d(e,"DatetimePicker",(function(){return j.default})),n.d(e,"EmptyContent",(function(){return O.default})),n.d(e,"ListItemIcon",(function(){return D.default})),n.d(e,"Modal",(function(){return L.default})),n.d(e,"Multiselect",(function(){return F.default})),n.d(e,"MultiselectTags",(function(){return U.default})),n.d(e,"Popover",(function(){return R.default})),n.d(e,"PopoverMenu",(function(){return z.default})),n.d(e,"RichContenteditable",(function(){return G.default})),n.d(e,"SettingsSection",(function(){return W.default})),n.d(e,"UserBubble",(function(){return Y.default})),n.d(e,"Focus",(function(){return H.default})),n.d(e,"Linkify",(function(){return Q.default})),n.d(e,"Tooltip",(function(){return V.default})),n.d(e,"excludeClickOutsideClasses",(function(){return q.a})),n.d(e,"isFullscreen",(function(){return q.b})),n.d(e,"isMobile",(function(){return q.c})),n.d(e,"richEditor",(function(){return q.d})),n.d(e,"userStatus",(function(){return q.e}));var o={};n.r(o),n.d(o,"ActionButton",(function(){return r.default})),n.d(o,"ActionCheckbox",(function(){return i.default})),n.d(o,"ActionInput",(function(){return a.default})),n.d(o,"ActionLink",(function(){return s.default})),n.d(o,"ActionRadio",(function(){return c.default})),n.d(o,"ActionRouter",(function(){return l.default})),n.d(o,"Actions",(function(){return u.default})),n.d(o,"ActionSeparator",(function(){return d.default})),n.d(o,"ActionText",(function(){return p.default})),n.d(o,"ActionTextEditable",(function(){return f.default})),n.d(o,"AppContent",(function(){return m.default})),n.d(o,"AppContentDetails",(function(){return A.default})),n.d(o,"AppContentList",(function(){return h.default})),n.d(o,"AppNavigation",(function(){return g.default})),n.d(o,"AppNavigationCaption",(function(){return v.default})),n.d(o,"AppNavigationCounter",(function(){return b.default})),n.d(o,"AppNavigationIconBullet",(function(){return C.default})),n.d(o,"AppNavigationItem",(function(){return y.default})),n.d(o,"AppNavigationNew",(function(){return x.default})),n.d(o,"AppNavigationNewItem",(function(){return w.default})),n.d(o,"AppNavigationSettings",(function(){return k.default})),n.d(o,"AppNavigationSpacer",(function(){return _.default})),n.d(o,"AppSettingsDialog",(function(){return B.default})),n.d(o,"AppSettingsSect
/**
* @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 X(t){Object.values(o).forEach((function(e){t.component(e.name,e)}))}"undefined"!=typeof window&&window.Vue&&X(window.Vue),e.default=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?K(Object(n),!0).forEach((function(e){J(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({install:X},o)}])}))},,,,,,,,,,,,function(t,e,n){t.exports=function(){var t="undefined"!=typeof window,e="undefined"!=typeof navigator,n=t&&("ontouchstart"in window||e&&navigator.msMaxTouchPoints>0)?["touchstart"]:["click"];function o(t){var e=t.event,n=t.handler;(0,t.middleware)(e)&&n(e)}function r(t,e){var r=function(t){var e="function"==typeof t;if(!e&&"object"!=typeof t)throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:e?t:t.handler,middleware:t.middleware||function(t){return t},events:t.events||n,isActive:!(!1===t.isActive),detectIframe:!(!1===t.detectIframe)}}(e.value),i=r.handler,a=r.middleware,s=r.detectIframe;if(r.isActive){if(t["__v-click-outside"]=r.events.map((function(e){return{event:e,srcTarget:document.documentElement,handler:function(e){return function(t){var e=t.el,n=t.event,r=t.handler,i=t.middleware,a=n.path||n.composedPath&&n.composedPath();(a?a.indexOf(e)<0:!e.contains(n.target))&&o({event:n,handler:r,middleware:i})}({el:t,event:e,handler:i,middleware:a})}}})),s){var c={event:"blur",srcTarget:window,handler:function(e){return function(t){var e=t.el,n=t.event,r=t.handler,i=t.middleware;setTimeout((function(){var t=document.activeElement;t&&"IFRAME"===t.tagName&&!e.contains(t)&&o({event:n,handler:r,middleware:i})}),0)}({el:t,event:e,handler:i,middleware:a})}};t["__v-click-outside"]=[].concat(t["__v-click-outside"],[c])}t["__v-click-outside"].forEach((function(e){var n=e.event,o=e.srcTarget,r=e.handler;return setTimeout((function(){t["__v-click-outside"]&&o.addEventListener(n,r,!1)}),0)}))}}function i(t){(t["__v-click-outside"]||[]).forEach((function(t){return t.srcTarget.removeEventListener(t.event,t.handler,!1)})),delete t["__v-click-outside"]}var a=t?{bind:r,update:function(t,e){var n=e.value,o=e.oldValue;JSON.stringify(n)!==JSON.stringify(o)&&(i(t),r(t,{value:n}))},unbind:i}:{};return{install:function(t){t.directive("click-outside",a)},directive:a}}()},function(t,e,n){t.exports=n(304).default},function(t,e,n){"use strict";var o=n(3),r=n(60),i=n(27),a=n(13),s=n(17),c=n(56),l=n(46),u=n(38)("splice"),d=Math.max,p=Math.min;o({target:"Array",proto:!0,forced:!u},{splice:function(t,e){var n,o,u,f,m,A,h=s(this),g=a(h.length),v=r(t,g),b=arguments.length;if(0===b?n=o=0:1===b?(n=0,o=g-v):(n=b-2,o=p(d(i(e),0),g-v)),g+n-o>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=c(h,o),f=0;f<o;f++)(m=v+f)in h&&l(u,f,h[m]);if(u.length=o,n<o){for(f=v;f<g-o;f++)A=f+n,(m=f+o)in h?h[A]=h[m]:delete h[A];for(f=g;f>g-o+n;f--)delete h[f-1]}else if(n>o)for(f=g-o;f>v;f--)A=f+n-1,(m=f+o-1)in h?h[A]=h[m]:delete h[A];for(f=0;f<n;f++)h[f+v]=arguments[f+2];return h.length=g-o+n,u}})},function(t,e,n){"use strict";var o=n(7),r=n(0),i=n(47),a=n(10),s=n(6),c=n(20),l=n(107),u=n(30),d=n(1),p=n(32),f=n(44).f,m=n(23).f,A=n(8).f,h=n(164).trim,g=r.Number,v=g.prototype,b="Number"==c(p(v)),C=function(t){var e,n,o,r,i,a,s,c,l=u(t,!1);if("string"==typeof l&&l.length>2)if(43===(e=(l=h(l)).charCodeAt(0))||45===e){if(88===(n=l.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(l.charCodeAt(1)){case 66:case 98:o=2,r=49;break;case 79:case 111:o=8,r=55;break;default:return+l}for(a=(i=l.slice(2)).length,s=0;s<a;s++)if((c=i.charCodeAt(s))<48||c>r)return NaN;return parseInt(i,o)}return+l};if(i("Number",!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var y,x=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof x&&(b?d((function(){v.valueOf.call(n)})):"Number"!=c(n))?l(new g(C(e)),n,x):C(e)},w=o?f(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isN
/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/var o=/["'&<>]/;t.exports=function(t){var e,n=""+t,r=o.exec(n);if(!r)return n;var i="",a=0,s=0;for(a=r.index;a<n.length;a++){switch(n.charCodeAt(a)){case 34:e="&quot;";break;case 38:e="&amp;";break;case 39:e="&#39;";break;case 60:e="&lt;";break;case 62:e="&gt;";break;default:continue}s!==a&&(i+=n.substring(s,a)),s=a+1,i+=e}return s!==a?i+n.substring(s,a):i}},function(t,e,n){"use strict";var o,r=n(3),i=n(23).f,a=n(13),s=n(264),c=n(18),l=n(265),u=n(24),d="".startsWith,p=Math.min,f=l("startsWith");r({target:"String",proto:!0,forced:!!(u||f||(o=i(String.prototype,"startsWith"),!o||o.writable))&&!f},{startsWith:function(t){var e=String(c(this));s(t);var n=a(p(arguments.length>1?arguments[1]:void 0,e.length)),o=String(t);return d?d.call(e,o,n):e.slice(n,n+o.length)===o}})},function(t,e,n){"use strict";var o=n(87),r=n(153),i=n(4),a=n(18),s=n(220),c=n(106),l=n(13),u=n(88),d=n(90),p=n(105).UNSUPPORTED_Y,f=[].push,m=Math.min;o("split",2,(function(t,e,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var o=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===t)return[o];if(!r(t))return e.call(o,t,i);for(var s,c,l,u=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),m=0,A=new RegExp(t.source,p+"g");(s=d.call(A,o))&&!((c=A.lastIndex)>m&&(u.push(o.slice(m,s.index)),s.length>1&&s.index<o.length&&f.apply(u,s.slice(1)),l=s[0].length,m=c,u.length>=i));)A.lastIndex===s.index&&A.lastIndex++;return m===o.length?!l&&A.test("")||u.push(""):u.push(o.slice(m)),u.length>i?u.slice(0,i):u}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var r=a(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,r,n):o.call(String(r),e,n)},function(t,r){var a=n(o,t,this,r,o!==e);if(a.done)return a.value;var d=i(t),f=String(this),A=s(d,RegExp),h=d.unicode,g=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(p?"g":"y"),v=new A(p?"^(?:"+d.source+")":d,g),b=void 0===r?4294967295:r>>>0;if(0===b)return[];if(0===f.length)return null===u(v,f)?[f]:[];for(var C=0,y=0,x=[];y<f.length;){v.lastIndex=p?0:y;var w,k=u(v,p?f.slice(y):f);if(null===k||(w=m(l(v.lastIndex+(p?y:0)),f.length))===C)y=c(f,y,h);else{if(x.push(f.slice(C,y)),x.length===b)return x;for(var _=1;_<=k.length-1;_++)if(x.push(k[_]),x.length===b)return x;y=C=w}}return x.push(f.slice(C)),x}]}),p)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCapabilities=function(){try{return(0,o.loadState)("core","capabilities")}catch(t){return console.debug("Could not find capabilities initial state fall back to _oc_capabilities"),"_oc_capabilities"in window?window._oc_capabilities:{}}};var o=n(84)},function(t,e,n){var o=n(7),r=n(0),i=n(47),a=n(107),s=n(8).f,c=n(44).f,l=n(153),u=n(91),d=n(105),p=n(10),f=n(1),m=n(19).set,A=n(108),h=n(2)("match"),g=r.RegExp,v=g.prototype,b=/a/g,C=/a/g,y=new g(b)!==b,x=d.UNSUPPORTED_Y;if(o&&i("RegExp",!y||x||f((function(){return C[h]=!1,g(b)!=b||g(C)==C||"/a/i"!=g(b,"i")})))){for(var w=function(t,e){var n,o=this instanceof w,r=l(t),i=void 0===e;if(!o&&r&&t.constructor===w&&i)return t;y?r&&!i&&(t=t.source):t instanceof w&&(i&&(e=u.call(t)),t=t.source),x&&(n=!!e&&e.indexOf("y")>-1)&&(e=e.replace(/y/g,""));var s=a(y?new g(t,e):g(t,e),o?this:v,w);return x&&n&&m(s,{sticky:n}),s},k=function(t){t in w||s(w,t,{configurable:!0,get:function(){return g[t]},set:function(e){g[t]=e}})},_=c(g),B=0;_.length>B;)k(_[B++]);v.constructor=w,w.prototype=v,p(r,"RegExp",w)}A("RegExp")},function(t,e,n){"use strict";var o=n(3),r=n(343),i=n(17),a=n(13),s=n(27),c=n(56);o({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=i(this),n=a(e.length),o=c(e,0);return o.length=r(o,e,e,n,0,void 0===t?1:s(t)),o}})},function(t,e,n){"use strict";var o=n(3),r=n(344).left,i=n(71),a=n(33),s=n(53);o({target:"Array",proto:!0,forced:!i("reduce")||!s&&a>79&&a<83},{reduce:function(t){retu
/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
t.exports=function(t){return null!=t&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},function(t,e,n){"use strict";var o={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!o.call({1:2},1);e.f=i?function(t){var e=r(this,t);return!!e&&e.enumerable}:o},function(t,e,n){var o=n(31),r=n(68),i=o.document,a=r(i)&&r(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},function(t,e,n){var o=n(31),r=n(141),i=n(86),a=n(161),s=n(229),c=n(321),l=c.get,u=c.enforce,d=String(String).split("String");(t.exports=function(t,e,n,s){var c=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||r(n,"name",e),u(n).source=d.join("string"==typeof e?e:"")),t!==o?(c?!p&&t[e]&&(l=!0):delete t[e],l?t[e]=n:r(t,e,n)):l?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},function(t,e,n){var o,r,i,a=n(322),s=n(31),c=n(68),l=n(141),u=n(86),d=n(323),p=n(234),f=s.WeakMap;if(a){var m=new f,A=m.get,h=m.has,g=m.set;o=function(t,e){return g.call(m,t,e),e},r=function(t){return A.call(m,t)||{}},i=function(t){return h.call(m,t)}}else{var v=d("state");p[v]=!0,o=function(t,e){return l(t,v,e),e},r=function(t){return u(t,v)?t[v]:{}},i=function(t){return u(t,v)}}t.exports={set:o,get:r,has:i,enforce:function(t){return i(t)?r(t):o(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=r(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){var o=n(31),r=n(229),i=o.WeakMap;t.exports="function"==typeof i&&/native code/.test(r(i))},function(t,e,n){var o=n(231),r=n(233),i=o("keys");t.exports=function(t){return i[t]||(i[t]=r(t))}},function(t,e,n){var o=n(86),r=n(325),i=n(154),a=n(160);t.exports=function(t,e){for(var n=r(e),s=a.f,c=i.f,l=0;l<n.length;l++){var u=n[l];o(t,u)||s(t,u,c(e,u))}}},function(t,e,n){var o=n(235),r=n(327),i=n(330),a=n(228);t.exports=o("Reflect","ownKeys")||function(t){var e=r.f(a(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e,n){var o=n(31);t.exports=o},function(t,e,n){var o=n(236),r=n(238).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return o(t,r)}},function(t,e,n){var o=n(156),r=n(142),i=n(329),a=function(t){return function(e,n,a){var s,c=o(e),l=r(c.length),u=i(a,l);if(t&&n!=n){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e,n){var o=n(237),r=Math.max,i=Math.min;t.exports=function(t,e){var n=o(t);return n<0?r(n+e,0):i(n,e)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var o=n(36),r=/#|\.prototype\./,i=function(t,e){var n=s[a(t)];return n==l||n!=c&&("function"==typeof e?o(e):!!e)},a=i.normalize=function(t){return String(t).replace(r,".").toLowerCase()},s=i.data={},c=i.NATIVE="N",l=i.POLYFILL="P";t.exports=i},function(t,e,n){var o=n(333);t.exports=function(t,e,n){if(o(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,o){return t.call(e,n,o)};case 3:return function(n,o,r){return t.call(e,n,o,r)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,n){var o=n(242);t.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var o=n(235);t.exports=o("navigator","userAgent")||""},function(t,e,n){var o=n(236),r=n(238);t.exports=Object.keys||function(t){return o(t,r)}},function(t,e,n){var o=n(338);t.exports=function(t){if(o(t))throw TypeError("The method doesn't accept regular expressions");return t}},function(t,e,n){var o=n(68),r=n(157),i=n(103)("match");t.exports=function(t){var e;return o(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==r(t))}},function(t,e,n){var o=n(103)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[o]=!1,"/./"[t](e)}catch(t){}}re
/*!
* vue-qrcode v1.0.2
* https://fengyuanchen.github.io/vue-qrcode
*
* Copyright 2018-present Chen Fengyuan
* Released under the MIT license
*
* Date: 2020-01-18T06:04:33.222Z
*/
t.exports=function(){"use strict";function t(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}var e=function(t,e){return t(e={exports:{}},e.exports),e.exports}((function(e,n){e.exports=function e(n,o,r){function i(s,c){if(!o[s]){if(!n[s]){if(!c&&t)return t();if(a)return a(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var u=o[s]={exports:{}};n[s][0].call(u.exports,(function(t){return i(n[s][1][t]||t)}),u,u.exports,e,n,o,r)}return o[s].exports}for(var a=t,s=0;s<r.length;s++)i(r[s]);return i}({1:[function(t,e,n){e.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},{}],2:[function(t,e,n){var o=t("./utils").getSymbolSize;n.getRowColCoords=function(t){if(1===t)return[];for(var e=Math.floor(t/7)+2,n=o(t),r=145===n?26:2*Math.ceil((n-13)/(2*e-2)),i=[n-7],a=1;a<e-1;a++)i[a]=i[a-1]-r;return i.push(6),i.reverse()},n.getPositions=function(t){for(var e=[],o=n.getRowColCoords(t),r=o.length,i=0;i<r;i++)for(var a=0;a<r;a++)0===i&&0===a||0===i&&a===r-1||i===r-1&&0===a||e.push([o[i],o[a]]);return e}},{"./utils":21}],3:[function(t,e,n){var o=t("./mode"),r=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function i(t){this.mode=o.ALPHANUMERIC,this.data=t}i.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){var e;for(e=0;e+2<=this.data.length;e+=2){var n=45*r.indexOf(this.data[e]);n+=r.indexOf(this.data[e+1]),t.put(n,11)}this.data.length%2&&t.put(r.indexOf(this.data[e]),6)},e.exports=i},{"./mode":14}],4:[function(t,e,n){function o(){this.buffer=[],this.length=0}o.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var n=0;n<e;n++)this.putBit(1==(t>>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},e.exports=o},{}],5:[function(t,e,n){var o=t("../utils/buffer");function r(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=o.alloc(t*t),this.reservedBit=o.alloc(t*t)}r.prototype.set=function(t,e,n,o){var r=t*this.size+e;this.data[r]=n,o&&(this.reservedBit[r]=!0)},r.prototype.get=function(t,e){return this.data[t*this.size+e]},r.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n},r.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]},e.exports=r},{"../utils/buffer":28}],6:[function(t,e,n){var o=t("../utils/buffer"),r=t("./mode");function i(t){this.mode=r.BYTE,this.data=o.from(t)}i.getBitsLength=function(t){return 8*t},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){for(var e=0,n=this.data.length;e<n;e++)t.put(this.data[e],8)},e.exports=i},{"../utils/buffer":28,"./mode":14}],7:[function(t,e,n){var o=t("./error-correction-level"),r=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],i=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,105
/*! Hammer.JS - v2.0.7 - 2016-04-22
* http://hammerjs.github.io/
*
* Copyright (c) 2016 Jorik Tangelder;
* Licensed under the MIT license */!function(r,i,a,s){"use strict";var c,l=["","webkit","Moz","MS","ms","o"],u=i.createElement("div"),d=Math.round,p=Math.abs,f=Date.now;function m(t,e,n){return setTimeout(y(t,n),e)}function A(t,e,n){return!!Array.isArray(t)&&(h(t,n[e],n),!0)}function h(t,e,n){var o;if(t)if(t.forEach)t.forEach(e,n);else if(void 0!==t.length)for(o=0;o<t.length;)e.call(n,t[o],o,t),o++;else for(o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function g(t,e,n){var o="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",i=r.console&&(r.console.warn||r.console.log);return i&&i.call(r.console,o,n),t.apply(this,arguments)}}c="function"!=typeof Object.assign?function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var o=arguments[n];if(null!=o)for(var r in o)o.hasOwnProperty(r)&&(e[r]=o[r])}return e}:Object.assign;var v=g((function(t,e,n){for(var o=Object.keys(e),r=0;r<o.length;)(!n||n&&void 0===t[o[r]])&&(t[o[r]]=e[o[r]]),r++;return t}),"extend","Use `assign`."),b=g((function(t,e){return v(t,e,!0)}),"merge","Use `assign`.");function C(t,e,n){var o,r=e.prototype;(o=t.prototype=Object.create(r)).constructor=t,o._super=r,n&&c(o,n)}function y(t,e){return function(){return t.apply(e,arguments)}}function x(t,e){return"function"==typeof t?t.apply(e&&e[0]||void 0,e):t}function w(t,e){return void 0===t?e:t}function k(t,e,n){h(S(e),(function(e){t.addEventListener(e,n,!1)}))}function _(t,e,n){h(S(e),(function(e){t.removeEventListener(e,n,!1)}))}function B(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function E(t,e){return t.indexOf(e)>-1}function S(t){return t.trim().split(/\s+/g)}function T(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var o=0;o<t.length;){if(n&&t[o][n]==e||!n&&t[o]===e)return o;o++}return-1}function M(t){return Array.prototype.slice.call(t,0)}function P(t,e,n){for(var o=[],r=[],i=0;i<t.length;){var a=e?t[i][e]:t[i];T(r,a)<0&&o.push(t[i]),r[i]=a,i++}return n&&(o=e?o.sort((function(t,n){return t[e]>n[e]})):o.sort()),o}function $(t,e){for(var n,o,r=e[0].toUpperCase()+e.slice(1),i=0;i<l.length;){if((o=(n=l[i])?n+r:e)in t)return o;i++}}var N=1;function I(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||r}var j="ontouchstart"in r,O=void 0!==$(r,"PointerEvent"),D=j&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),L=["x","y"],F=["clientX","clientY"];function U(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){x(t.options.enable,[t])&&n.handler(e)},this.init()}function R(t,e,n){var o=n.pointers.length,r=n.changedPointers.length,i=1&e&&o-r==0,a=12&e&&o-r==0;n.isFirst=!!i,n.isFinal=!!a,i&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,o=e.pointers,r=o.length;n.firstInput||(n.firstInput=z(e));r>1&&!n.firstMultiple?n.firstMultiple=z(e):1===r&&(n.firstMultiple=!1);var i=n.firstInput,a=n.firstMultiple,s=a?a.center:i.center,c=e.center=G(o);e.timeStamp=f(),e.deltaTime=e.timeStamp-i.timeStamp,e.angle=Q(s,c),e.distance=H(s,c),function(t,e){var n=e.center,o=t.offsetDelta||{},r=t.prevDelta||{},i=t.prevInput||{};1!==e.eventType&&4!==i.eventType||(r=t.prevDelta={x:i.deltaX||0,y:i.deltaY||0},o=t.offsetDelta={x:n.x,y:n.y});e.deltaX=r.x+(n.x-o.x),e.deltaY=r.y+(n.y-o.y)}(n,e),e.offsetDirection=Y(e.deltaX,e.deltaY);var l=W(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=l.x,e.overallVelocityY=l.y,e.overallVelocity=p(l.x)>p(l.y)?l.x:l.y,e.scale=a?(u=a.pointers,d=o,H(d[0],d[1],F)/H(u[0],u[1],F)):1,e.rotation=a?function(t,e){return Q(e[1],e[0],F)+Q(t[1],t[0],F)}(a.pointers,o):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,o,r,i,a=t.lastInterval||e,s=e.timeStamp-a.timeStamp;if(8!=e.eventType&&(s>25||void 0===a.velocity)){var c
/*!
* clipboard.js v2.0.8
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/
t.exports=function(){return e={134:function(t,e,n){"use strict";n.d(e,{default:function(){return m}}),e=n(279);var o=n.n(e),r=(e=n(370),n.n(e)),i=(e=n(817),n.n(e));function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var c=function(){function t(e){!function(e){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this),this.resolveOptions(e),this.initSelection()}var e,n;return e=t,(n=[{key:"resolveOptions",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"createFakeElement",value:function(){var t="rtl"===document.documentElement.getAttribute("dir");return this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px",t=window.pageYOffset||document.documentElement.scrollTop,this.fakeElem.style.top="".concat(t,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var t=this,e=this.createFakeElement();this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(e),this.selectedText=i()(e),this.copyText(),this.removeFake()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=i()(this.target),this.copyText()}},{key:"copyText",value:function(){var t;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==a(t)||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}])&&s(e.prototype,n),t}();function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d(t,e)
/**
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @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/>.
*
*/
o.nc=btoa(OC.requestToken),i.default.use(s.a),i.default.use(c.default,{defaultHtml:!1}),i.default.prototype.t=t;new(i.default.extend(D))({propsData:{tokens:Object(r.loadState)("settings","app_tokens"),canCreateToken:Object(r.loadState)("settings","can_create_app_token")}}).$mount("#security-authtokens")}]);
//# sourceMappingURL=vue-settings-personal-security.js.map?v=a41c5b2bbd1d387e0528