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

1019 lines
1.3 MiB
JavaScript
Raw Normal View History

!function(t){var n={};function e(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:o})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(e.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(o,i,function(n){return t[n]}.bind(null,i));return o},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="/js/",e(e.s=578)}([function(t,n,e){(function(n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,e(9))},function(t,n,e){var o=e(0),i=e(25).f,r=e(15),a=e(16),s=e(54),c=e(113),l=e(82);t.exports=function(t,n){var e,u,f,d,p,A=t.target,h=t.global,m=t.stat;if(e=h?o:m?o[A]||s(A,{}):(o[A]||{}).prototype)for(u in n){if(d=n[u],f=t.noTargetGet?(p=i(e,u))&&p.value:e[u],!l(h?u:A+(m?".":"#")+u,t.forced)&&void 0!==f){if(typeof d==typeof f)continue;c(d,f)}(t.sham||f&&f.sham)&&r(d,"sham",!0),a(e,u,d,t)}}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var o=e(0),i=e(43),r=e(5),a=e(64),s=e(65),c=e(116),l=i("wks"),u=o.Symbol,f=c?u:u&&u.withoutSetter||a;t.exports=function(t){return r(l,t)&&(s||"string"==typeof l[t])||(s&&r(u,t)?l[t]=u[t]:l[t]=f("Symbol."+t)),l[t]}},function(t,n,e){var o=e(7);t.exports=function(t){if(!o(t))throw TypeError(String(t)+" is not an object");return t}},function(t,n,e){var o=e(14),i={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,n){return i.call(o(t),n)}},function(t,n,e){var o=e(2);t.exports=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){"use strict";var o=e(138),i=Object.prototype.toString;function r(t){return"[object Array]"===i.call(t)}function a(t){return void 0===t}function s(t){return null!==t&&"object"==typeof t}function c(t){if("[object Object]"!==i.call(t))return!1;var n=Object.getPrototypeOf(t);return null===n||n===Object.prototype}function l(t){return"[object Function]"===i.call(t)}function u(t,n){if(null!=t)if("object"!=typeof t&&(t=[t]),r(t))for(var e=0,o=t.length;e<o;e++)n.call(null,t[e],e,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&n.call(null,t[i],i,t)}t.exports={isArray:r,isArrayBuffer:function(t){return"[object ArrayBuffer]"===i.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]"===i.call(t)},isFile:function(t){return"[object File]"===i.call(t)},isBlob:function(t){return"[object Blob]"===i.call(t)},isFunction:l,isStream:function(t){return s(t)&&l(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document
/*!
* Vue.js v2.6.12
* (c) 2014-2020 Evan You
* Released under the MIT License.
*/
var o=Object.freeze({});function i(t){return null==t}function r(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 f(t){return"[object RegExp]"===l.call(t)}function d(t){var n=parseFloat(String(t));return n>=0&&Math.floor(n)===n&&isFinite(t)}function p(t){return r(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function A(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===l?JSON.stringify(t,null,2):String(t)}function h(t){var n=parseFloat(t);return isNaN(n)?t:n}function m(t,n){for(var e=Object.create(null),o=t.split(","),i=0;i<o.length;i++)e[o[i]]=!0;return n?function(t){return e[t.toLowerCase()]}:function(t){return e[t]}}m("slot,component",!0);var g=m("key,ref,slot,slot-scope,is");function v(t,n){if(t.length){var e=t.indexOf(n);if(e>-1)return t.splice(e,1)}}var b=Object.prototype.hasOwnProperty;function C(t,n){return b.call(t,n)}function y(t){var n=Object.create(null);return function(e){return n[e]||(n[e]=t(e))}}var x=/-(\w)/g,w=y((function(t){return t.replace(x,(function(t,n){return n?n.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,n){return t.bind(n)}:function(t,n){function e(e){var o=arguments.length;return o?o>1?t.apply(n,arguments):t.call(n,e):t.call(n)}return e._length=t.length,e};function S(t,n){n=n||0;for(var e=t.length-n,o=new Array(e);e--;)o[e]=t[e+n];return o}function T(t,n){for(var e in n)t[e]=n[e];return t}function $(t){for(var n={},e=0;e<t.length;e++)t[e]&&T(n,t[e]);return n}function O(t,n,e){}var I=function(t,n,e){return!1},M=function(t){return t};function N(t,n){if(t===n)return!0;var e=c(t),o=c(n);if(!e||!o)return!e&&!o&&String(t)===String(n);try{var i=Array.isArray(t),r=Array.isArray(n);if(i&&r)return t.length===n.length&&t.every((function(t,e){return N(t,n[e])}));if(t instanceof Date&&n instanceof Date)return t.getTime()===n.getTime();if(i||r)return!1;var a=Object.keys(t),s=Object.keys(n);return a.length===s.length&&a.every((function(e){return N(t[e],n[e])}))}catch(t){return!1}}function D(t,n){for(var e=0;e<t.length;e++)if(N(t[e],n))return e;return-1}function P(t){var n=!1;return function(){n||(n=!0,t.apply(this,arguments))}}var L=["component","directive","filter"],j=["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:I,isReservedAttr:I,isUnknownElement:I,getTagNamespace:O,parsePlatformTagName:M,mustUseProp:I,async:!0,_lifecycleHooks:j},R=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function U(t,n,e,o){Object.defineProperty(t,n,{value:e,enumerable:!!o,writable:!0,configurable:!0})}var z=new RegExp("[^"+R.source+".$_\\d]");var G,W="__proto__"in{},Y="undefined"!=typeof window,H="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,V=H&&WXEnvironment.platform.toLowerCase(),Q=Y&&window.navigator.userAgent.toLowerCase(),q=Q&&/msie|trident/.test(Q),K=Q&&Q.indexOf("msie 9.0")>0,J=Q&&Q.indexOf("edge/")>0,Z=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===V),X=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),tt={}.watch,nt=!1;if(Y)try{var et={};Object.defineProperty(et,"passive",{get:function(){nt=!0}}),window.addEventListener("test-passive",null,et)}catch(t){}var ot=function(){return void 0===G&&(G=!Y&&!H&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),G},it=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function rt(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 e="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var t=["Edge","Trident","Firefox"],n=0;n<t.length;n+=1)if(e&&navigator.userAgent.indexOf(t[n])>=0)return 1;return 0}();var i=e&&window.Promise?function(t){var n=!1;return function(){n||(n=!0,window.Promise.resolve().then((function(){n=!1,t()})))}}:function(t){var n=!1;return function(){n||(n=!0,setTimeout((function(){n=!1,t()}),o))}};function r(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,n){if(1!==t.nodeType)return[];var e=t.ownerDocument.defaultView.getComputedStyle(t,null);return n?e[n]:e}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 n=a(t),e=n.overflow,o=n.overflowX,i=n.overflowY;return/(auto|scroll|overlay)/.test(e+i+o)?t:c(s(t))}function l(t){return t&&t.referenceNode?t.referenceNode:t}var u=e&&!(!window.MSInputMethodContext||!document.documentMode),f=e&&/MSIE 10/.test(navigator.userAgent);function d(t){return 11===t?u:10===t?f:u||f}function p(t){if(!t)return document.documentElement;for(var n=d(10)?document.body:null,e=t.offsetParent||null;e===n&&t.nextElementSibling;)e=(t=t.nextElementSibling).offsetParent;var o=e&&e.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(e.nodeName)&&"static"===a(e,"position")?p(e):e:t?t.ownerDocument.documentElement:document.documentElement}function A(t){return null!==t.parentNode?A(t.parentNode):t}function h(t,n){if(!(t&&t.nodeType&&n&&n.nodeType))return document.documentElement;var e=t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING,o=e?t:n,i=e?n:t,r=document.createRange();r.setStart(o,0),r.setEnd(i,0);var a,s,c=r.commonAncestorContainer;if(t!==c&&n!==c||o.contains(i))return"BODY"===(s=(a=c).nodeName)||"HTML"!==s&&p(a.firstElementChild)!==a?p(c):c;var l=A(t);return l.host?h(l.host,n):h(t,A(n).host)}function m(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",e="top"===n?"scrollTop":"scrollLeft",o=t.nodeName;if("BODY"===o||"HTML"===o){var i=t.ownerDocument.documentElement,r=t.ownerDocument.scrollingElement||i;return r[e]}return t[e]}function g(t,n){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=m(n,"top"),i=m(n,"left"),r=e?-1:1;return t.top+=o*r,t.bottom+=o*r,t.left+=i*r,t.right+=i*r,t}function v(t,n){var e="x"===n?"Left":"Top",o="Left"===e?"Right":"Bottom";return parseFloat(t["border"+e+"Width"])+parseFloat(t["border"+o+"Width"])}function b(t,n,e,o){return Math.max(n["offset"+t],n["scroll"+t],e["client"+t],e["offset"+t],e["scroll"+t],d(10)?parseInt(e["offset"+t])+parseInt(o["margin"+("Height"===t?"Top":"Left")])+parseInt(o["margin"+("Height"===t?"Bottom":"Right")]):0)}function C(t){var n=t.body,e=t.documentElement,o=d(10)&&getComputedStyle(e);return{height:b("Height",n,e,o),width:b("Width",n,e,o)}}var y=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")},x=function(){function t(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(n,e,o){return e&&t(n.prototype,e),o&&t(n,o),n}}(),w=function(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t},k=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t};function _(t){return k({},t,{right:t.left+t.width,bottom:t.top+t.height})}function B(t){var n={};try{if(d(10)){n=t.getBoundingClientRect();var e=m(t,"top"),o=m(t,"left");n.top+=e,n.left+=o,n.bottom+=e,n.right+=o}else n=t.getBoundingClientRect()}catch(t){}var i={left:n.left,top:n.top,width:n.right-n.left,height:n.bottom-n.top},r="HTML"===t.nodeName?C(t.ownerDocument):{},s=r.width||t.clientWidth||i.width,c=r.height||t.clientHeight||i.height,l=t.offsetWidth-s,u=t.offsetHeight-c;if(l||u){var f=a(t);l-=v(f,"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("9737fff",'><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'),o.VTooltip.options.defaultHtml=!1,n.default=o.VTooltip},function(t,n){t.exports=o(306)},function(t,n,e){"use strict";var o=e(0),i=e.n(o),r=e(1),a=e.n(r)()(i.a);a.push([t.i,".vue-tooltip[data-v-9737fff]{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-9737fff][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-9737fff][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-9737fff][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-9737fff][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-9737fff][aria-hidden='true']{visibility:hidden;transition:opacity .15s, visibility .15s;opacity:0}.vue-tooltip[data-v-9737fff][aria-hidden='false']{visibility:visible;transition:opacity .15s;opacity:1}.vue-tooltip[data-v-9737fff] .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-9737fff] .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:\"9737fff\"; @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
/**
* @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/>.
*
*/n.a={before:function(){this.$slots.default&&""!==this.text.trim()||(i.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,n){t.exports=o(316)},function(t,n){t.exports=o(313)},function(t,n){t.exports=o(370)},function(t,n){t.exports=o(375)},function(t,n,e){"use strict";var o=e(0),i=e.n(o),r=e(1),a=e.n(r)()(i.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:\"9737fff\"; @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: $bubble-padding;\n\t\twhite-space: nowrap;\n\t\ttext-overflow: ellipsis;
/**
* @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 p={data:function(){return{hasStatus:!1,userStatus:{status:null,message:null,icon:null}}},methods:{fetchUserStatus:function(t){var n,e=this;return(n=regeneratorRuntime.mark((function n(){var o,i,r,a,s,d,p,A,h;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(o=Object(u.getCapabilities)(),Object.prototype.hasOwnProperty.call(o,"user_status")&&o.user_status.enabled){n.next=3;break}return n.abrupt("return");case 3:if(Object(f.getCurrentUser)()){n.next=5;break}return n.abrupt("return");case 5:return n.prev=5,n.next=8,c.a.get(Object(l.generateOcsUrl)("apps/user_status/api/v1",2)+"statuses/".concat(encodeURIComponent(t)));case 8:i=n.sent,r=i.data,a=r.ocs.data,s=a.status,d=a.message,p=a.icon,e.userStatus.status=s,e.userStatus.message=d||"",e.userStatus.icon=p||"",e.hasStatus=!0,n.next=22;break;case 17:if(n.prev=17,n.t0=n.catch(5),404!==n.t0.response.status||0!==(null===(A=n.t0.response.data.ocs)||void 0===A||null===(h=A.data)||void 0===h?void 0:h.length)){n.next=21;break}return n.abrupt("return");case 21:console.error(n.t0);case 22:case"end":return n.stop()}}),n,null,[[5,17]])})),function(){var t=this,e=arguments;return new Promise((function(o,i){var r=n.apply(t,e);function a(t){d(r,o,i,a,s,"next",t)}function s(t){d(r,o,i,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,n){t.exports=o(314)},function(t,n,e){"use strict";e.r(n);var o=e(28);
/**
* @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/>.
*
*/n.default=o.a},function(t,n){t.exports=o(372)},function(t,n,e){"use strict";e(16),e(6),e(17),e(18),e(40);var o=e(39),i=(e(14),function(t,n){for(var e=t.$parent;e;){if(e.$options.name===n)return e;e=e.$parent}});n.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 n=i(this,"Actions");n&&n.closeMenu&&n.closeMenu()}}}}},function(t,n,e){"use strict";e(35),e(14),e(101);var o=e(5),i=e.n(o);n.a=function(t,n,e){if(void 0!==t)for(var o=t.length-1;o>=0;o--){var r=t[o],a=!r.componentOptions&&r.tag&&-1===n.indexOf(r.tag),s=!!r.componentOptions&&"string"==typeof r.componentOptions.tag,c=s&&-1===n.indexOf(r.componentOptions.tag);(a||!s||c)&&((a||c)&&i.a.util.warn("".concat(a?r.tag:r.componentOptions.tag," is not allowed inside the ").concat(e.$options.name," component"),e),t.splice(o,1))}}},function(t,n){t.exports=o(317)},function(t,n){t.exports=o(315)},function(t,n,e){"use strict";var o=e(0),i=e.n(o),r=e(1),a=e.n(r)()(i.a);a.push([t.i,"\nbutton.menuitem[data-v-febed9b6] {\n\ttext-align: left;\n}\nbutton.menuitem *[data-v-febed9b6] {\n\tcursor: pointer;\n}\nbutton.menuitem[data-v-febed9b6]:disabled {\n\topacity: 0.5 !important;\n\tcursor: default;\n}\nbutton.menuitem:disabled *[data-v-febed9b6] {\n\tcursor: default;\n}\n.menuitem.active[data-v-febed9b6] {\n\tbox-shadow: inset 2px 0 var(--color-primary);\n\tborder-radius: 0;\n}\n","",{version:3,sources:["webpack://./PopoverMenuItem.vue"],names:[],mappings:";AAmLA;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:va
/**
* @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,n,e){this.r=t,this.g=n,this.b=e}function i(t,n,e){var i=[];i.push(n);for(var r=function(t,n){var e=new Array(3);return e[0]=(n[1].r-n[0].r)/t,e[1]=(n[1].g-n[0].g)/t,e[2]=(n[1].b-n[0].b)/t,e}(t,[n,e]),a=1;a<t;a++){var s=parseInt(n.r+r[0]*a,10),c=parseInt(n.g+r[1]*a,10),l=parseInt(n.b+r[2]*a,10);i.push(new o(s,c,l))}return i}e(35),n.a=function(t){t||(t=6);var n=new o(182,70,157),e=new o(221,203,85),r=new o(0,130,201),a=i(t,n,e),s=i(t,e,r),c=i(t,r,n);return a.concat(s).concat(c)}},function(t,n,e){"use strict";var o=e(0),i=e.n(o),r=e(1),a=e.n(r),s=e(4),c=e.n(s),l=e(8),u=e(9),f=e(10),d=e(11),p=a()(i.a),A=c()(l.a),h=c()(u.a),m=c()(f.a),g=c()(d.a);p.push([t.i,'@font-face{font-family:"iconfont-vue-9737fff";src:url('+A+");src:url("+A+') format("embedded-opentype"),url('+h+') format("woff"),url('+m+') format("truetype"),url('+g+') format("svg")}.icon[data-v-5baa2f3a]{font-style:normal;font-weight:400}.icon.arrow-left-double[data-v-5baa2f3a]:before{font-family:"iconfont-vue-9737fff";content:""}.icon.arrow-left[data-v-5baa2f3a]:before{font-family:"iconfont-vue-9737fff";content:""}.icon.arrow-right-double[data-v-5baa2f3a]:before{font-family:"iconfont-vue-9737fff";content:""}.icon.arrow-right[data-v-5baa2f3a]:before{font-family:"iconfont-vue-9737fff";content:""}.icon.breadcrumb[data-v-5baa2f3a]:before{font-family:"iconfont-vue-9737fff";content:""}.icon.checkmark[data-v-5baa2f3a]:before{font-family:"iconfont-vue-9737fff";content:""}.icon.close[data-v-5baa2f3a]:before{font-family:"iconfont-vue-9737fff";content:""}.icon.confirm[data-v-5baa2f3a]:before{font-family:"iconfont-vue-9737fff";content:""}.icon.info[data-v-5baa2f3a]:before{font-family:"iconfont-vue-9737fff";content:""}.icon.menu[data-v-5baa2f3a]:before{font-family:"iconfont-vue-9737fff";content:""}.icon.more[data-v-5baa2f3a]:before{font-family:"iconfont-vue-9737fff";content:""}.icon.pause[data-v-5baa2f3a]:before{font-family:"iconfont-vue-9737fff";content:""}.icon.play[data-v-5baa2f3a]:before{font-family:"iconfont-vue-9737fff";content:""}.icon.triangle-s[data-v-5baa2f3a]:before{font-family:"iconfont-vue-9737fff";content:""}.icon.user-status-away[data-v-5baa2f3a]:before{font-family:"iconfont-vue-9737fff";content:""}.icon.user-status-dnd[data-v-5baa2f3a]:before{font-family:"iconfont-vue-9737fff";content:""}.icon.user-status-invisible[data-v-5baa2f3a]:before{font-family:"iconfont-vue-9737fff";content:""}.icon.user-status-online[data-v-5baa2f3a]:before{font-family:"iconfont-vue-9737fff";content:""}.avatardiv[data-v-5baa2f3a]{position:relative;display:inline-block}.avatardiv--unknown[data-v-5baa2f3a]{position:relative;background-color:var(--color-text-maxcontrast)}.avatardiv[data-v-5baa2f3a]: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-5baa2f3a]:not(.avatardiv--unknown){background-color:#000 !important}.avatardiv--with-menu[data-v-5baa2f3a]{cursor:pointer}.avatardiv--with-menu[data-v-5baa2f3a] .trigger{position:absolute;top:0;left:0}.avatardiv--with-menu .icon-more[data-v-5baa2f3a]{display:flex;cursor:pointer;opacity:0;background:none;font-size:18px;align-items:center;justify-content:center}.avatardiv--with-menu .icon-more[data-v-5baa2f3a]:before{font-family:"iconfont-vue-9737fff";font-style:normal;font-weight:400;content:""}.avatardiv--with-menu .icon-more[data-v-5baa2f3a]::before{display:block}.avatardiv--with-menu:focus .icon-more[data-v-5baa2f3a],.avatardiv--with-menu:hover .icon-more[data-v-5baa2f3a]{opacity:1}.avatardiv--with-menu:focus img[data-v-5baa2f3a],.avatardiv--with-menu:hover img[data-v-5baa2f3a]{opacity:0.3}.avatardiv--with-menu .icon-more[data-v-5baa2f3a],.avatardiv--with-menu img[data-v-5baa2f3a]{transition:opacity var(--animation-quick)}.avatardiv>.unknown[data-v-5baa2f3a]{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-5baa2f3a]{width:100%;height:100%;object-fit:cover}.avatardiv .avatardiv__status[data-v-5b
/**
* @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/>.
*
*/n.a=function(t,n){for(var e=[],o=0,i=t.toLowerCase().indexOf(n.toLowerCase(),o),r=0;i>-1&&r<t.length;)o=i+n.length,e.push({start:i,end:o}),i=t.toLowerCase().indexOf(n.toLowerCase(),i+1),r++;return e}},function(t,n){t.exports=o(319)},function(t,n){t.exports=o(320)},function(t,n,e){"use strict";e.r(n);var o=e(85);
/**
* @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/>.
*
*/n.default=o.a},function(t,n,e){"use strict";e.r(n),e(15),e(98),e(93),e(24),e(69),e(31),e(51),e(71),e(27),e(72);var o=e(70);function i(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,o)}return e}function r(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?i(Object(e),!0).forEach((function(n){a(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):i(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function a(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,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,n=[];return this.search||0!==this.highlight.length?(n=this.highlight.length>0?this.highlight:Object(o.a)(this.text,this.search)).reduce((function(n,e){return e.start<t.text.length&&e.end>0&&n.push({start:e.start<0?0:e.start,end:e.end>t.text.length?t.text.length:e.end}),n}),[]):n},chunks:function(){if(0===this.ranges.length)return[{start:0,end:this.text.length,highlight:!1,text:this.text}];for(var t=[],n=0,e=0;n<this.text.length;){var o=this.ranges[e];o.start!==n?(t.push({start:n,end:o.start,highlight:!1,text:this.text.substr(n,o.start-n)}),n=o.start):(t.push(r(r({},o),{},{highlight:!0,text:this.text.substr(o.start,o.end-o.start)})),e++,n=o.end,e>=this.ranges.length&&n<this.text.length&&(t.push({start:n,end:this.text.length,highlight:!1,text:this.text.substr(n,this.text.length-n)}),n=this.text.length))}return t}},render:function(t){return this.ranges.length?t("span",{},this.chunks.map((function(n){return n.highlight?t("strong",{},n.text):n.text}))):t("span",{},this.text)}},c=e(3),l=e(78),u=e.n(l),f=Object(c.a)(s,void 0,void 0,!1,null,null,null);"function"==typeof u.a&&u()(f);var d=f.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/>.
*
*/n.default=d},function(t,n,e){"use strict";function o(t,n){var e;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(e=function(t,n){if(t){if("string"==typeof t)return i(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?i(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var o=0,r=function(){};return{s:r,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:r}}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(){e=t[Symbol.iterator]()},n:function(){var t=e.next();return s=t.done,t},e:function(t){c=!0,a=t},f:function(){try{s||null==e.return||e.return()}finally{if(c)throw a}}}}function i(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,o=new Array(n);e<n;e++)o[e]=t[e];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/>.
*
*/e.r(n),e(41),e(6),e(14),e(52),e(17),e(31),e(38),e(46),e(16),e(18),n.default={props:{excludeClickOutsideClasses:{type:String|Array,default:function(){return[]}}},methods:{clickOutsideMiddleware:function(t){var n=Array.isArray(this.excludeClickOutsideClasses)?this.excludeClickOutsideClasses:[this.excludeClickOutsideClasses];return 0===n.length||!this.hasNodeOrAnyParentClass(t.target,n)},hasNodeOrAnyParentClass:function(t,n){var e,i=o(n);try{for(i.s();!(e=i.n()).done;){var r,a=e.value;if(null!=t&&null!==(r=t.classList)&&void 0!==r&&r.contains(a))return!0}}catch(t){i.e(t)}finally{i.f()}return!!t.parentElement&&this.hasNodeOrAnyParentClass(t.parentElement,n)}}}},function(t,n,e){"use strict";e.r(n),
/**
* @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/>.
*
*/
n.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,n,e){"use strict";e.r(n),e(6),e(26),e(16),e(17),e(18),e(40);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)}}},i=e(2),r=e.n(i),a=e(53),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(54)),c=(r()(s.a,{insert:"head",singleton:!1}),s.a.locals,e(3)),l={name:"PopoverMenu",components:{PopoverMenuItem:Object(c.a)(o,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("li",{staticClass:"popover__menuitem"},[t.item.href?e("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?e("img",{attrs:{src:t.item.icon}}):e("span",{class:t.item.icon}),t._v(" "),t.item.text&&t.item.longtext?e("p",[e("strong",{staticClass:"menuitem-text"},[t._v("\n\t\t\t\t"+t._s(t.item.text)+"\n\t\t\t")]),e("br"),t._v(" "),e("span",{staticClass:"menuitem-text-detail"},[t._v("\n\t\t\t\t"+t._s(t.item.longtext)+"\n\t\t\t")])]):t.item.text?e("span",[t._v("\n\t\t\t"+t._s(t.item.text)+"\n\t\t")]):t.item.longtext?e("p",[t._v("\n\t\t\t"+t._s(t.item.longtext)+"\n\t\t")]):t._e()]):t.item.input?e("span",{staticClass:"menuitem",class:{active:t.item.active}},["checkbox"!==t.item.input?e("span",{class:t.item.icon}):t._e(),t._v(" "),"text"===t.item.input?e("form",{class:t.item.input,on:{submit:function(n){return n.preventDefault(),t.item.action(n)}}},[e("input",{attrs:{type:t.item.input,placeholder:t.item.text,required:""},domProps:{value:t.item.value}}),t._v(" "),e("input",{staticClass:"icon-confirm",attrs:{type:"submit",value:""}})]):["checkbox"===t.item.input?e("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(n){var e=t.item.model,o=n.target,i=!!o.checked;if(Array.isArray(e)){var r=t._i(e,null);o.checked?r<0&&t.$set(t.item,"model",e.concat([null])):r>-1&&t.$set(t.item,"model",e.slice(0,r).concat(e.slice(r+1)))}else t.$set(t.item,"model",i)},t.item.action]}}):"radio"===t.item.input?e("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(n){return t.$set(t.item,"model",null)},t.item.action]}}):e("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(n){n.target.composing||t.$set(t.item,"model",n.target.value)}}}),t._v(" "),e("label",{attrs:{for:t.key},on:{click:function(n){return n.stopPropagation(),n.preventDefault(),t.item.action(n)}}},[t._v("\n\t\t\t\t"+t._s(t.item.text)+"\n\t\t\t")])]],2):t.item.action?e("button",{staticClass:"menuitem focusable",class:{active:t.item.active},attrs:{disabled:t.item.disabled},on:{click:function(n){return n.stopPropagation(),n.preventDefault(),t.item.action(n)}}},[e("span",{class:t.item.icon}),t._v(" "),t.item.text&&t.item.longtext?e("p",[e("strong",{staticClass:"menuitem-text"},[t._v("\n\t\t\t\t"+t._s(t.item.text)+"\n\t\t\t")]),e("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/>.
*
*/n.default=A},function(t,n){},function(t,n){t.exports=o(381)},function(t,n,e){"use strict";e.r(n),e(58),e(30),e(89),e(103),e(104),e(35),e(24),e(57),e(6),e(59);var o=e(86),i=e(42),r=e(77),a=e(34),s=e(29),c=e(37),l=e.n(c),u=e(13),f=e(21),d=e(84),p=e(45),A=e(28);function h(t,n,e,o,i,r,a){try{var s=t[r](a),c=s.value}catch(t){return void e(t)}s.done?n(c):Promise.resolve(c).then(o,i)}function m(t){return function(){var n=this,e=arguments;return new Promise((function(o,i){var r=t.apply(n,e);function a(t){h(r,o,i,a,s,"next",t)}function s(t){h(r,o,i,a,s,"throw",t)}a(void 0)}))}}var g=Object(o.getBuilder)("nextcloud").persist().build();function v(t){var n=g.getItem("user-has-avatar."+t);return"string"==typeof n?Boolean(n):null}function b(t,n){t&&g.setItem("user-has-avatar."+t,n)}var C={name:"Avatar",directives:{tooltip:f.default,ClickOutside:i.directive},components:{Popover:A.a,PopoverMenu:r.default},mixins:[p.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 n=Object(d.default)(this.getUserIdentifier);t.backgroundColor="rgb("+n.r+", "+n.g+", "+n.b+")"}return t},tooltip:function(){return!this.disableTooltip&&(this.tooltipMessage?this.tooltipMessage:this.displayName)},initials:function(){var t;if(this.shouldShowPlaceholder){var n=this.getUserIdentifier,e=n.indexOf(" ");""===n?t="?":(t=String.fromCodePoint(n.codePointAt(0)),-1!==e&&(t=t.concat(String.fromCodePoint(n.codePointAt(e+1)))))}return t.toUpperCase()},menu:function(){var t,n,e,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,n=document.createTextNode(t),e=document.createElement("p"),e.appendChild(n),e.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/>.
*
*/n.default=S},function(t,n){t.exports=o(386)},function(t,n){t.exports=o(382)},function(t,n,e){"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/>.
*
*/n.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("9737fff"),"")}))}},function(t,n,e){"use strict";e.r(n),e(15),e(92),e(25);var o=e(81),i=e.n(o),r=e(64);n.default=function(t){var n=t.toLowerCase();return null===n.match(/^([0-9a-f]{4}-?){8}$/)&&(n=i()(n)),n=n.replace(/[^0-9a-f]/g,""),Object(r.a)(6)[function(t,n){for(var e=0,o=[],i=0;i<t.length;i++)o.push(parseInt(t.charAt(i),16)%16);for(var r in o)e+=o[r];return parseInt(parseInt(e,10)%18,10)}(n)]}},function(t,n,e){"use strict";e(22),e(51),e(69),e(31),e(71),e(27),e(72),e(38),e(6),e(46),e(16),e(17),e(18),e(52),e(41),e(14);var o=e(21),i=e(33),r=e(50),a=e(12),s=e(47);function c(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,o=new Array(n);e<n;e++)o[e]=t[e];return o}function l(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,o)}return e}function u(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?l(Object(e),!0).forEach((function(n){f(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):l(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function f(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var d=["ActionButton","ActionCheckbox","ActionInput","ActionLink","ActionRadio","ActionRouter","ActionSeparator","ActionText","ActionTextEditable"],p={name:"Actions",directives:{tooltip:o.default},components:{Popover:s.default,VNodes:{functional:!0,render:function(t,n){return n.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(i.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 u(u({is:"a",href:this.firstAction.href,target:this.firstAction.target,"aria-label":this.firstAction.ariaLabel},this.firstAction.$attrs),this.firstAction.$props);if("ActionRouter"===t)return u(u({is:"router-link",to:this.firstAction.to,exact:this.firstAction.exact,"aria-label":this.firstAction.ariaLabel},this.firstAction.$attrs),this.firstAction.$props);if("ActionButton"===t)return u(u({is:"button","aria-label":this.firstAction.ariaLabel},this.firstAction.$attrs),this.firstAction.$props)}return null},firstActionEvent:function(){var t,n,e;return null===(t=this.firstActionVNode)||void 0===t||null===(n=t.componentOptions)||void 0===n||null===(e=n.listeners)||void 0===e?void 0:e.click},firstActionEventBinding:function(){return this.firstActionEvent?"click":null},firstActionIconSlot:function(){var t,n;return null===(t=this.firstAction)||void 0===t||null===(n=t.$slots)||void 0===n?void 0:n.icon},firstActionClass:function(){return((this.firstActionVNode&&this.firstActionVNode.data.staticClass)+" "+(this.firstActionVNode&&this.firstActionVNode.data.class)).trim()},iconSlotIsPopulated:function(){return!!this.$slots.icon}},watch:{open:function(t){t!==this.opened&&(this.opened=t)}},beforeMount:function()
/**
* @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/>.
*
*/n.default=A},function(t,n,e){"use strict";e(30),e(24),e(57),e(41),e(31),e(38),e(6),e(46),e(16),e(17),e(18);var o=e(108),i=e.n(o),r=(e(14),e(15),e(79),e(98),e(74)),a=e(70),s={name:"EllipsisedOption",components:{Highlight:r.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(n){return{start:n.start-t.split,end:n.end-t.split}}))}}},c=e(2),l=e.n(c),u=e(96),f=(l()(u.a,{insert:"head",singleton:!1}),u.a.locals,e(3)),d=Object(f.a)(s,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"name-parts",attrs:{title:t.name}},[e("Highlight",{staticClass:"name-parts__first",attrs:{text:t.part1,search:t.search,highlight:t.highlight1}}),t._v(" "),t.part2?e("Highlight",{staticClass:"name-parts__last",attrs:{text:t.part2,search:t.search,highlight:t.highlight2}}):t._e()],1)}),[],!1,null,"f855c4b8",null).exports,p=e(61),A=e(99),h=e(21);function m(t){return(m="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:d,ListItemIcon:A.default,VueMultiselect:i.a},directives:{tooltip:h.default},mixins:[p.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"!==m(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 n;return String(null===(n=this.$refs.VueMultiselect)||void 0===n?void 0:n.getOptionLabel(t))},formatLimitTitle:function(t){var n=this;if(Array.isArray(t)&&t.length>0){var e=t;return"object"===m(t[0])&&(e=t.map((function(t){return t[n.label]}))),e.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=e(97),b=e.n(v),C=Object(f.a)(g,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("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(n){return[t.userSelect&&!t.$scopedSlots.option?e("ListItemIcon",t._b({attrs:{title:n.option[t.label],search:n.search}},"ListItemIcon",n.option,!1)):t.$scopedSlots.option?t._t("option",null,null,n):e("
/**
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
Object(o.a)(i.a),n.default=i.a},function(t,n){t.exports=o(393)},function(t,n){t.exports=o(484)},function(t,n,e){"use strict";e.r(n);var o=e(102);
/**
* @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/>.
*
*/n.default=o.a},function(t,n){},function(t,n,e){"use strict";var o=e(0),i=e.n(o),r=e(1),a=e.n(r),s=e(4),c=e.n(s),l=e(8),u=e(9),f=e(10),d=e(11),p=a()(i.a),A=c()(l.a),h=c()(u.a),m=c()(f.a),g=c()(d.a);p.push([t.i,'@font-face{font-family:"iconfont-vue-9737fff";src:url('+A+");src:url("+A+') format("embedded-opentype"),url('+h+') format("woff"),url('+m+') format("truetype"),url('+g+') format("svg")}.icon{font-style:normal;font-weight:400}.icon.arrow-left-double:before{font-family:"iconfont-vue-9737fff";content:""}.icon.arrow-left:before{font-family:"iconfont-vue-9737fff";content:""}.icon.arrow-right-double:before{font-family:"iconfont-vue-9737fff";content:""}.icon.arrow-right:before{font-family:"iconfont-vue-9737fff";content:""}.icon.breadcrumb:before{font-family:"iconfont-vue-9737fff";content:""}.icon.checkmark:before{font-family:"iconfont-vue-9737fff";content:""}.icon.close:before{font-family:"iconfont-vue-9737fff";content:""}.icon.confirm:before{font-family:"iconfont-vue-9737fff";content:""}.icon.info:before{font-family:"iconfont-vue-9737fff";content:""}.icon.menu:before{font-family:"iconfont-vue-9737fff";content:""}.icon.more:before{font-family:"iconfont-vue-9737fff";content:""}.icon.pause:before{font-family:"iconfont-vue-9737fff";content:""}.icon.play:before{font-family:"iconfont-vue-9737fff";content:""}.icon.triangle-s:before{font-family:"iconfont-vue-9737fff";content:""}.icon.user-status-away:before{font-family:"iconfont-vue-9737fff";content:""}.icon.user-status-dnd:before{font-family:"iconfont-vue-9737fff";content:""}.icon.user-status-invisible:before{font-family:"iconfont-vue-9737fff";content:""}.icon.user-status-online:before{font-family:"iconfont-vue-9737fff";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()}};n.default=o},function(t,n,e){"use strict";e.r(n),e.d(n,"directive",(function(){return r}));var o=e(48),i=e.n(o),r=function(t,n){var e;!0===(null===(e=n.value)||void 0===e?void 0:e.linkify)&&(t.innerHTML=i()(n.value.text,{defaultProtocol:"https"}))};n.default=r},function(t,n,e){"use strict";e.r(n);var o=e(83),i=(e(30),e(109)),r=e.n(i),a=e(73),s=e(110),c=e(61),l=e(12),u=e(21);
/**
* @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 f(t,n){var e,o,i,r=n;this.start=function(){i=!0,o=new Date,e=setTimeout(t,r)},this.pause=function(){i=!1,clearTimeout(e),r-=new Date-o},this.clear=function(){i=!1,clearTimeout(e),r=0},this.getTimeLeft=function(){return i&&(this.pause(),this.start()),r},this.getStateRunning=function(){return i},this.start()}var d={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 r.a(this.$refs.mask),this.mc.on("swipeleft swiperight",(function(n){t.handleSwipe(n)})),"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 n=this;this.canClose&&(this.showModal=!1,setTimeout((function(){n.$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 f((function(){t.next(),t.handleSlideshow()}),this.slideshowDelay):(this.playing=!1,this.clearSlideshowTimeout())},clearSlideshowTimeout:function(){this.slideshowTimeout&&this.slideshowTimeout.clear()}}},p=e(2),A=e.n(p),h=e(119),m=(A()(h.a,{insert:"head",singleton:!1}),h.a.locals,e(3)),g=e(120),v=e.n(g),b=Object(m.a)(d,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("transition",{attrs:{name:"fade"}},[e("div",{ref:"mask",staticClass:"modal-mask",class:{"modal-mask--dark":t.dark},on:{click:t.handleMouseMove,mousemove:t.handleMouseMove,touchmove:t.handleMouseMove}},[e("transition",{attrs:{name:"fade-visibility"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:!t.clearView,expression:"!clearView"}],staticClass:"modal-header",class:{invisible:t.clearView}},[""!==t.title.trim()?e("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(" "),e("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),n.default=C},function(t,n,e){"use strict";e.r(n),e(16),e(6),e(17),e(18),e(40),e(63);var o={name:"ActionLink",mixins:[e(49).a],props:{href:{type:String,default:"#",required:!0,validator:function(t){try{return new URL(t)}catch(n){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}}}},i=e(2),r=e.n(i),a=e(113),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(3)),c=e(114),l=e.n(c),u=Object(s.a)(o,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("li",{staticClass:"action"},[e("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",[e("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?e("p",[e("strong",{staticClass:"action-link__title"},[t._v("\n\t\t\t\t"+t._s(t.title)+"\n\t\t\t")]),t._v(" "),e("br"),t._v(" "),e("span",{staticClass:"action-link__longtext",domProps:{textContent:t._s(t.text)}})]):t.isLongText?e("p",{staticClass:"action-link__longtext",domProps:{textContent:t._s(t.text)}}):e("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 f=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/>.
*
*/n.default=f},function(t,n,e){"use strict";e.r(n);var o={name:"ActionRouter",mixins:[e(49).a],props:{to:{type:[String,Object],default:"",required:!0},exact:{type:Boolean,default:!1}}},i=e(2),r=e.n(i),a=e(115),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(3)),c=Object(s.a)(o,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("li",{staticClass:"action"},[e("router-link",{staticClass:"action-router focusable",attrs:{to:t.to,exact:t.exact,"aria-label":t.ariaLabel,rel:"noreferrer noopener"},nativeOn:{click:function(n){return t.onClick(n)}}},[t._t("icon",[e("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?e("p",[e("strong",{staticClass:"action-router__title"},[t._v("\n\t\t\t\t"+t._s(t.title)+"\n\t\t\t")]),t._v(" "),e("br"),t._v(" "),e("span",{staticClass:"action-router__longtext",domProps:{textContent:t._s(t.text)}})]):t.isLongText?e("p",{staticClass:"action-router__longtext",domProps:{textContent:t._s(t.text)}}):e("span",{staticClass:"action-router__text"},[t._v(t._s(t.text))]),t._v(" "),t._e()],2)],1)}),[],!1,null,"196b3c3e",null).exports;n.default=c},function(t,n,e){"use strict";e.r(n);var o={name:"Breadcrumb",components:{Actions:e(73).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)}}},i=e(2),r=e.n(i),a=e(123),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(3)),c=e(124),l=e.n(c),u=Object(s.a)(o,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("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(n){return n.preventDefault(),t.dropped(n)},dragover:function(t){t.preventDefault()},dragenter:t.dragEnter,dragleave:t.dragLeave}},[t.title||t.icon?e(t.tag,{tag:"element",attrs:{to:t.to,href:t.href}},[t.icon?e("span",{staticClass:"icon",class:t.icon}):e("span",[t._v(t._s(t.title))])]):t._e(),t._v(" "),e("Actions",{ref:"actions",attrs:{"force-menu":t.forceMenu,open:t.open},on:{"update:open":t.onOpenChange}},[t._t("default")],2)],1)}),[],!1,null,"38b147c2",null);"function"==typeof l.a&&l()(u);var f=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/>.
*
*/n.default=f},function(t,n,e){"use strict";e.r(n);var o=e(83),i=(e(30),e(135)),r={name:"DatetimePicker",components:{DatePicker:e.n(i).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}},appendToBody:{type:Boolean,default:!1},showWeekNumber:{type:Boolean,default:!1}},methods:{handleSelectYear:function(t){var n=this.$refs.datepicker.currentValue;if(n)try{var e=new Date(new Date(n).setFullYear(t));this.$refs.datepicker.selectDate(e)}catch(e){console.error("Invalid value",n,t)}},handleSelectMonth:function(t){var n=this.$refs.datepicker.currentValue;if(n)try{var e=new Date(new Date(n).setMonth(t));this.$refs.datepicker.selectDate(e)}catch(e){console.error("Invalid value",n,t)}}}},a=e(3),s=e(111),c=e.n(s),l=Object(a.a)(r,(function(){var t=this,n=t.$createElement;return(t._self._c||n)("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":t.appendToBody,"show-week-number":t.showWeekNumber,"popup-class":{"show-week-number":t.showWeekNumber}},on:{"select-year":t.handleSelectYear,"select-month":t.handleSelectMonth,"update:value":function(n){return t.$emit("update:value",t.value)}},scopedSlots:t._u([t._l(t.$scopedSlots,(function(n,e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}}))],null,!0)},"DatePicker",t.$attrs,!1),t.$listeners))}),[],!1,null,null,null);"function"==typeof c.a&&c()(l);var u=l.exports,f=e(2),d=e.n(f),p=e(112);d()(p.a,{insert:"head",singleton:!1}),p.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),n.default=u},function(t,n,e){"use strict";var o={name:"AppNavigationToggle",props:{open:{type:Boolean,required:!0}},methods:{toggleNavigation:function(){this.$emit("update:open",!this.open)}}},i=e(2),r=e.n(i),a=e(116),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(3)),c=Object(s.a)(o,(function(){var t=this,n=t.$createElement;return(t._self._c||n)("a",{staticClass:"app-navigation-toggle",attrs:{href:"#","aria-expanded":t.open?"true":"false","aria-controls":"app-navigation-vue"},on:{click:function(n){return n.preventDefault(),t.toggleNavigation(n)},keydown:function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"space",32,n.key,[" ","Spacebar"])||n.ctrlKey||n.shiftKey||n.altKey||n.metaKey?null:(n.preventDefault(),t.toggleNavigation(n))}}})}),[],!1,null,"6069ba79",null);n.a=c.exports},function(t,n){t.exports=o(497)},function(t,n,e){"use strict";var o=e(0),i=e.n(o),r=e(1),a=e.n(r)()(i.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/>.
*
*/n.default=o.a},function(t,n,e){"use strict";e.r(n);var o=e(73),i=e(127),r=e(128),a=e(21),s=(e(22),e(221),e(51),e(93),e(14),e(24),e(5)),c=e.n(s),l=function(t){return t&&"string"==typeof t&&""!==t.trim()},u=function(t){return l(t)&&-1===t.indexOf(" ")},f={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(n){return n.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(n){return n.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()})),n=[],e=t.reduce((function(t,e){var o=e.componentInstance;return l(null==o?void 0:o.name)&&u(null==o?void 0:o.id)&&u(null==o?void 0:o.icon)?t.push(o):n.push(e),t}),[]);0!==e.length&&e.length!==t.length&&(c.a.util.warn("Mixing tabs and non-tab-content is not possible."),n.map((function(t){return console.debug("Ignoring invalid tab",t)}))),this.tabs=e.sort((function(t,n){var e=t.order||0,o=n.order||0;return e===o?OC.Util.naturalSortCompare(t.name,n.name):e-o})),this.tabs.length>0&&this.updateActive()}else this.tabs=[]}}},d=e(2),p=e.n(d),A=e(165),h=(p()(A.a,{insert:"head",singleton:!1}),A.a.locals,e(3)),m=Object(h.a)(f,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"app-sidebar-tabs"},[t.hasMultipleTabs?e("nav",{staticClass:"app-sidebar-tabs__nav",on:{keydown:[function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"left",37,n.key,["Left","ArrowLeft"])||"button"in n&&0!==n.button||n.ctrlKey||n.shiftKey||n.altKey||n.metaKey?null:(n.preventDefault(),t.focusPreviousTab(n))},function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"right",39,n.key,["Right","ArrowRight"])||"button"in n&&2!==n.button||n.ctrlKey||n.shiftKey||n.altKey||n.metaKey?null:(n.preventDefault(),t.focusNextTab(n))},function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"tab",9,n.key,"Tab")||n.ctrlKey||n.shiftKey||n.altKey||n.metaKey?null:(n.preventDefault(),t.focusActiveTabContent(n))},function(n){return n.type.indexOf("key")||33===n.keyCode?n.ctrlKey||n.shiftKey||n.altKey||n.metaKey?null:(n.preventDefault(),t.focusFirstTab(n)):null},function(n){return n.type.indexOf("key")||34===n.keyCode?n.ctrlKey||n.shiftKey||n.altKey||n.metaKey?null:(n.preventDefault(),t.focusLastTab(n)):null}]}},[e("ul",t._l(t.tabs,(function(n){return e("li",{key:n.id,staticClass:"app-sidebar-tabs__tab"},[e("a",{class:{active:t.activeTab===n.id},attrs:{id:n.id,"aria-controls":"tab-"+n.id,"aria-selected":t.activeTab===n.id,"data-id":n.id,href:"#tab-"+n.id,tabindex:t.activeTab===n.id?null:-1,role:"tab"},on:{click:function(e){return e.preventDefault(),t.setActive(n.id)}}},[e("span",{staticClass:"app-sidebar-tabs__tab-icon",class:n.icon}),t._v("\n\t\t\t\t\t"+t._s(n.name)+"\n\t\t\t\t")])])})),0)]):t._e(),t._v(" "),e("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/>.
*/n.default=B},function(t,n,e){"use strict";e.r(n),e(58),e(30),e(35),e(22),e(15),e(92),e(187),e(185),e(63),e(6),e(59);var o=e(189),i=e.n(o),r=e(105),a=e.n(r),s=e(190),c=e.n(s),l=e(12),u=e(13),f={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,n;return(null===(t=this.status)||void 0===t?void 0:t.icon)||(null===(n=this.status)||void 0===n?void 0:n.status)}},methods:{getAvatarUrl:function(t,n){return Object(u.generateUrl)("/avatar/{user}/{size}",{user:t,size:n})}}},d=e(2),p=e.n(d),A=e(177),h=(p()(A.a,{insert:"head",singleton:!1}),A.a.locals,e(3)),m=Object(h.a)(f,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"autocomplete-result"},[e("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?e("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(" "),e("span",{staticClass:"autocomplete-result__content"},[e("span",{staticClass:"autocomplete-result__title"},[t._v("\n\t\t\t"+t._s(t.label)+"\n\t\t")]),t._v(" "),t.subline?e("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,n,e,o,i,r,a){try{var s=t[r](a),c=s.value}catch(t){return void e(t)}s.done?n(c):Promise.resolve(c).then(o,i)}var v={name:"RichContenteditable",mixins:[e(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(n){return t.renderComponentHtml(n.original,m)},noMatchTemplate:function(){return'<span class="hidden"></span>'},selectTemplate:function(n){var e;return t.genSelectTemplate(null==n||null===(e=n.original)||void 0===e?void 0:e.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 i.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 n=t.clipboardData;if(this.$emit("paste",t),0===n.files.length&&Object.values(n.items).find((function(t){return null==t?void 0:t.type.startsWith("text")}))){var e=n.getData("text"),o=window.getSelection();o.rangeCount||this.updateValue(e);var i=this.parseContent(e),r=o.getRangeAt(0);o.deleteFromDocument(),r.insertNode(document.createTextNode(i));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/>.
*
*/n.default=k},function(t,n,e){"use strict";e.r(n);var o=e(42),i=e(85),r=e(102),a={name:"AppNavigationIconCollapsible",props:{open:{type:Boolean,default:!0}},methods:{onClick:function(t){this.$emit("click",t)}}},s=e(2),c=e.n(s),l=e(154),u=(c()(l.a,{insert:"head",singleton:!1}),l.a.locals,e(3)),f=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,d=e(36),p=e(126),A={name:"AppNavigationItem",components:{Actions:i.a,ActionButton:r.a,AppNavigationIconCollapsible:f,InputConfirmCancel:p.a},directives:{ClickOutside:o.directive},mixins:[d.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")}}},h=e(155),m=(c()(h.a,{insert:"head",singleton:!1}),h.a.locals,e(156)),g=e.n(m),v=Object(u.a)(A,(function(){var t,n=this,e=n.$createElement,o=n._self._c||e;return o("nav-element",n._b({staticClass:"app-navigation-entry",class:{"app-navigation-entry--no-icon":!n.isIconShown,"app-navigation-entry--opened":n.opened,"app-navigation-entry--pinned":n.pinned,"app-navigation-entry--editing":n.editingActive,"app-navigation-entry--deleted":n.undo,"app-navigation-entry--collapsible":n.collapsible,active:n.isActive}},"nav-element",n.navElement,!1),[n.undo?n._e():o("a",{staticClass:"app-navigation-entry-link",attrs:{href:"#"},on:{click:n.onClick}},[o("div",{staticClass:"app-navigation-entry-icon",class:(t={"icon-loading-small":n.loading},t[n.icon]=n.icon&&n.isIconShown,t)},[n.loading?n._e():n._t("icon")],2),n._v(" "),n.editingActive?n._e():o("span",{staticClass:"app-navigation-entry__title",attrs:{title:n.title}},[n._v("\n\t\t\t"+n._s(n.title)+"\n\t\t")]),n._v(" "),n.editingActive?o("div",{staticClass:"editingContainer"},[o("InputConfirmCancel",{ref:"editingInput",attrs:{placeholder:""!==n.editPlaceholder?n.editPlaceholder:n.title},on:{cancel:n.cancelEditing,confirm:n.handleEditingDone},model:{value:n.editingValue,callback:function(t){n.editingValue=t},expression:"editingValue"}})],1):n._e()]),n._v(" "),n.collapsible?o("AppNavigationIconCollapsible",{attrs:{open:n.opened},on:{click:function(t){return t.preventDefault(),t.stopPropagation(),n.toggleCollapse(t)}}}):n._e(),n._v(" "),n.undo?o("div",{staticClass:"app-
/**
* @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/>.
*
*/n.default=b},function(t,n,e){"use strict";e.r(n),e(22),e(30);var o=e(39),i=e(33),r={name:"ActionCheckbox",mixins:[o.a],props:{id:{type:String,default:function(){return"action-"+Object(i.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=e(2),s=e.n(a),c=e(136),l=(s()(c.a,{insert:"head",singleton:!1}),c.a.locals,e(3)),u=e(137),f=e.n(u),d=Object(l.a)(r,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("li",{staticClass:"action",class:{"action--disabled":t.disabled}},[e("span",{staticClass:"action-checkbox"},[e("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(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"enter",13,n.key,"Enter")||n.ctrlKey||n.shiftKey||n.altKey||n.metaKey?null:(n.preventDefault(),t.checkInput(n))},change:t.onChange}}),t._v(" "),e("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 f.a&&f()(d);var p=d.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/>.
*
*/n.default=p},function(t,n,e){"use strict";e.r(n),e(22),e(30),e(16),e(6),e(17),e(18),e(40);var o=e(39),i=e(33),r=e(133),a=e(107),s={name:"ActionInput",components:{DatetimePicker:r.default,Multiselect:a.default},mixins:[o.a],props:{id:{type:String,default:function(){return"action-"+Object(i.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=e(2),l=e.n(c),u=e(138),f=(l()(u.a,{insert:"head",singleton:!1}),u.a.locals,e(3)),d=e(139),p=e.n(d),A=Object(f.a)(s,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("li",{staticClass:"action",class:{"action--disabled":t.disabled}},[e("span",{staticClass:"action-input",class:{"action-input--picker":t.isDatePickerType,"action-input-picker--disabled":t.disabled},on:{mouseleave:t.onLeave}},[t._t("icon",[e("span",{staticClass:"action-input__icon",class:[t.isIconUrl?"action-input__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?"url("+t.icon+")":null}})]),t._v(" "),e("form",{ref:"form",staticClass:"action-input__form",attrs:{disabled:t.disabled},on:{submit:function(n){return n.preventDefault(),t.onSubmit(n)}}},[t.isDatePickerType?e("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?e("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)):[e("input",{staticClass:"action-input__submit",attrs:{id:t.id,type:"submit"}}),t._v(" "),e("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(" "),e("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 p.a&&p()(A);var h=A.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/>.
*
*/n.default=h},function(t,n,e){"use strict";e.r(n),e(22),e(30);var o=e(39),i=e(33),r={name:"ActionRadio",mixins:[o.a],props:{id:{type:String,default:function(){return"action-"+Object(i.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=e(2),s=e.n(a),c=e(140),l=(s()(c.a,{insert:"head",singleton:!1}),c.a.locals,e(3)),u=e(141),f=e.n(u),d=Object(l.a)(r,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("li",{staticClass:"action",class:{"action--disabled":t.disabled}},[e("span",{staticClass:"action-radio"},[e("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(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"enter",13,n.key,"Enter")||n.ctrlKey||n.shiftKey||n.altKey||n.metaKey?null:(n.preventDefault(),t.toggleInput(n))},change:t.onChange}}),t._v(" "),e("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 f.a&&f()(d);var p=d.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/>.
*
*/n.default=p},function(t,n,e){"use strict";e.r(n);var o=e(2),i=e.n(o),r=e(142),a=(i()(r.a,{insert:"head",singleton:!1}),r.a.locals,e(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;n.default=s},function(t,n,e){"use strict";e.r(n);var o={name:"ActionText",mixins:[e(49).a]},i=e(2),r=e.n(i),a=e(143),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(3)),c=Object(s.a)(o,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("li",{staticClass:"action"},[e("span",{staticClass:"action-text",on:{click:t.onClick}},[t._t("icon",[""!==t.icon?e("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?e("p",[e("strong",{staticClass:"action-text__title"},[t._v("\n\t\t\t\t"+t._s(t.title)+"\n\t\t\t")]),t._v(" "),e("br"),t._v(" "),e("span",{staticClass:"action-text__longtext",domProps:{textContent:t._s(t.text)}})]):t.isLongText?e("p",{staticClass:"action-text__longtext",domProps:{textContent:t._s(t.text)}}):e("span",{staticClass:"action-text__text"},[t._v(t._s(t.text))]),t._v(" "),t._e()],2)])}),[],!1,null,"90adea72",null).exports;n.default=c},function(t,n,e){"use strict";e.r(n),e(22);var o=e(49),i=e(33),r={name:"ActionTextEditable",mixins:[o.a],props:{id:{type:String,default:function(){return"action-"+Object(i.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=e(2),s=e.n(a),c=e(144),l=(s()(c.a,{insert:"head",singleton:!1}),c.a.locals,e(3)),u=e(145),f=e.n(u),d=Object(l.a)(r,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("li",{staticClass:"action",class:{"action--disabled":t.disabled}},[e("span",{staticClass:"action-text-editable",on:{click:t.onClick}},[e("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(" "),e("form",{ref:"form",staticClass:"action-text-editable__form",attrs:{disabled:t.disabled},on:{submit:function(n){return n.preventDefault(),t.onSubmit(n)}}},[e("input",{staticClass:"action-text-editable__submit",attrs:{id:t.id,type:"submit"}}),t._v(" "),t.title?e("strong",{staticClass:"action-text__title"},[t._v("\n\t\t\t\t"+t._s(t.title)+"\n\t\t\t")]):t._e(),t._v(" "),e("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(" "),e("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 f.a&&f()(d);var p=d.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/>.
*
*/n.default=p},function(t,n,e){"use strict";e.r(n);var o=e(109),i=e.n(o),r=e(29),a={name:"AppContent",props:{allowSwipeNavigation:{type:Boolean,default:!0}},mounted:function(){this.allowSwipeNavigation&&(this.mc=new i.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 n=t.srcEvent.pageX-t.deltaX,e=Math.abs(t.deltaX)>70;e&&n<40?Object(r.emit)("toggle-navigation",{open:!0}):e&&n<340&&Object(r.emit)("toggle-navigation",{open:!1})}}},s=e(2),c=e.n(s),l=e(146),u=(c()(l.a,{insert:"head",singleton:!1}),l.a.locals,e(3)),f=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;n.default=f},function(t,n,e){"use strict";e.r(n);var o=e(29),i=e(134),r=e(36),a={name:"AppNavigation",components:{AppNavigationToggle:i.a},mixins:[r.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 n=this;this.open=void 0===t?!this.open:t;var e=getComputedStyle(document.body),i=parseInt(e.getPropertyValue("--animation-quick"))||100;setTimeout((function(){Object(o.emit)("navigation-toggled",{open:n.open})}),1.5*i)},toggleNavigationByEventBus:function(t){var n=t.open;this.toggleNavigation(n)}}},s=e(2),c=e.n(s),l=e(147),u=(c()(l.a,{insert:"head",singleton:!1}),l.a.locals,e(3)),f=e(148),d=e.n(f),p=Object(u.a)(a,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"app-navigation",class:{"app-navigation--close":!t.open},attrs:{id:"app-navigation-vue",role:"navigation"}},[e("AppNavigationToggle",{attrs:{open:t.open},on:{"update:open":t.toggleNavigation}}),t._v(" "),t._t("default"),t._v(" "),e("ul",{staticClass:"app-navigation__list"},[t._t("list")],2),t._v(" "),t._t("footer")],2)}),[],!1,null,"9f64425c",null);"function"==typeof d.a&&d()(p);var A=p.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/>.
*/n.default=A},function(t,n,e){"use strict";e.r(n);var o={name:"AppNavigationCaption",props:{title:{type:String,required:!0}}},i=e(2),r=e.n(i),a=e(149),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(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;n.default=c},function(t,n,e){"use strict";e.r(n);var o={name:"AppNavigationCounter",props:{highlighted:{type:Boolean,default:!1}}},i=e(2),r=e.n(i),a=e(150),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(3)),c=e(151),l=e.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,"794921ed",null);"function"==typeof l.a&&l()(u);var f=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/>.
*
*/n.default=f},function(t,n,e){"use strict";e.r(n),e(63);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)}}},i=e(2),r=e.n(i),a=e(152),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(3)),c=e(153),l=e.n(c),u=Object(s.a)(o,(function(){var t=this.$createElement,n=this._self._c||t;return n("div",{staticClass:"app-navigation-entry__icon-bullet",on:{click:this.onClick}},[n("div",{style:{backgroundColor:this.formattedColor}})])}),[],!1,null,"8f9e955c",null);"function"==typeof l.a&&l()(u);var f=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/>.
*
*/n.default=f},function(t,n,e){"use strict";e.r(n);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}}},i=e(2),r=e.n(i),a=e(157),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(3)),c=Object(s.a)(o,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"app-navigation-new"},[e("button",{class:t.buttonClass,attrs:{id:t.buttonId,type:"button",disabled:t.disabled},on:{click:function(n){return t.$emit("click")}}},[t._v("\n\t\t"+t._s(t.text)+"\n\t")])])}),[],!1,null,"ecee326e",null).exports;n.default=c},function(t,n,e){"use strict";e.r(n);var o=e(42),i=e(36),r={name:"AppNavigationNewItem",components:{InputConfirmCancel:e(126).a},directives:{ClickOutside:o.directive},mixins:[i.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=e(2),s=e.n(a),c=e(158),l=(s()(c.a,{insert:"head",singleton:!1}),c.a.locals,e(3)),u=e(159),f=e.n(u),d=Object(l.a)(r,(function(){var t,n=this,e=n.$createElement,o=n._self._c||e;return o("li",{staticClass:"app-navigation-entry",class:{"app-navigation-entry--newItemActive":n.newItemActive}},[o("div",{staticClass:"app-navigation-entry-div",on:{click:n.handleNewItem}},[o("div",{staticClass:"app-navigation-entry-icon",class:(t={"icon-loading-small":n.loading},t[n.icon]=!n.loading,t)},[n.loading?n._e():n._t("icon")],2),n._v(" "),n.newItemActive?n._e():o("span",{staticClass:"app-navigation-new-item__title",attrs:{title:n.title}},[n._v("\n\t\t\t"+n._s(n.title)+"\n\t\t")]),n._v(" "),n.newItemActive?o("div",{staticClass:"newItemContainer"},[o("InputConfirmCancel",{ref:"newItemInput",attrs:{placeholder:""!==n.editPlaceholder?n.editPlaceholder:n.title},on:{cancel:n.cancelNewItem,confirm:n.handleNewItemDone},model:{value:n.newItemValue,callback:function(t){n.newItemValue=t},expression:"newItemValue"}})],1):n._e()])])}),[],!1,null,null,null);"function"==typeof f.a&&f()(d);var p=d.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/>.
*
*/n.default=p},function(t,n,e){"use strict";e.r(n);var o=e(42),i=e(12),r=e(45),a={directives:{ClickOutside:o.directive},mixins:[r.a],props:{title:{type:String,required:!1,default:Object(i.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=e(2),c=e.n(s),l=e(160),u=(c()(l.a,{insert:"head",singleton:!1}),l.a.locals,e(3)),f=Object(u.a)(a,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.clickOutsideConfig,expression:"clickOutsideConfig"}],class:{open:t.open},attrs:{id:"app-settings"}},[e("div",{attrs:{id:"app-settings-header"}},[e("button",{staticClass:"settings-button",on:{click:t.toggleMenu}},[t._v("\n\t\t\t"+t._s(t.title)+"\n\t\t")])]),t._v(" "),e("transition",{attrs:{name:"slide-up"}},[e("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;n.default=f},function(t,n,e){"use strict";e.r(n);var o=e(2),i=e.n(o),r=e(161),a=(i()(r.a,{insert:"head",singleton:!1}),r.a.locals,e(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;n.default=s},function(t,n,e){"use strict";e.r(n),e(15),e(25);var o={name:"AppSettingsSection",props:{title:{type:String,required:!0}},computed:{id:function(){return"settings-section_"+this.title.replace(/\s+/g,"")}}},i=e(2),r=e.n(i),a=e(164),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(3)),c=Object(s.a)(o,(function(){var t=this.$createElement,n=this._self._c||t;return n("div",{staticClass:"app-settings-section",attrs:{id:this.id}},[n("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;n.default=c},function(t,n,e){"use strict";e.r(n),e(30);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)}}},i=e(2),r=e.n(i),a=e(169),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(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;n.default=c},function(t,n,e){"use strict";e.r(n),e(24),e(6),e(26);var o=e(188),i=e(64),r=e(61),a=e(47),s={name:"ColorPicker",components:{Chrome:o.Chrome,Popover:a.default},mixins:[r.a],props:{value:{type:String,required:!0}},data:function(){var t=this;return{currentColor:this.value,advanced:!1,palette:Object(i.a)(4).map((function(n){return"#"+t.rgbToHex(n.r)+t.rgbToHex(n.g)+t.rgbToHex(n.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 n=t.toString(16);return 1===n.length?"0"+n:n}}},c=e(2),l=e.n(c),u=e(172),f=(l()(u.a,{insert:"head",singleton:!1}),u.a.locals,e(3)),d=e(173),p=e.n(d),A=Object(f.a)(s,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("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/>.
*
*/n.default=h},function(t,n,e){"use strict";e.r(n);var o={props:{appName:{type:String,required:!0}}},i=e(2),r=e.n(i),a=e(174),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(3)),c=e(175),l=e.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 f=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/>.
*/n.default=f},function(t,n,e){"use strict";e.r(n),e(31),e(38);var o=e(12),i={name:"SettingsSection",components:{},props:{title:{type:String,required:!0},description:{type:String,default:""},docUrl:{type:String,default:""}},data:function(){return{docTitleTranslated:Object(o.b)("External documentation for {title}",{title:this.title})}},computed:{hasDescription:function(){return this.description.length>0},hasDocUrl:function(){return this.docUrl.length>0}}},r=e(2),a=e.n(r),s=e(181),c=(a()(s.a,{insert:"head",singleton:!1}),s.a.locals,e(3)),l=e(182),u=e.n(l),f=Object(c.a)(i,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"settings-section"},[e("h2",{staticClass:"settings-section__title"},[t._v("\n\t\t"+t._s(t.title)+"\n\t\t"),t.hasDocUrl?e("a",{staticClass:"settings-section__info",attrs:{href:t.docUrl,role:"",title:t.docTitleTranslated}}):t._e()]),t._v(" "),t.hasDescription?e("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,"a6966ee2",null);"function"==typeof u.a&&u()(f);var d=f.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/>.
*
*/n.default=d},function(t,n,e){"use strict";e.r(n),e(16),e(6),e(17),e(18),e(40),e(30),e(22);var o=e(47),i=e(80),r={name:"UserBubble",components:{Popover:o.default,Avatar:i.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=e(2),s=e.n(a),c=e(183),l=(s()(c.a,{insert:"head",singleton:!1}),c.a.locals,e(3)),u=e(184),f=e.n(u),d=Object(l.a)(r,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e(t.isPopoverComponent,{tag:"Popover",staticClass:"user-bubble__wrapper",attrs:{trigger:"hover focus",open:t.open},on:{"update:open":t.onOpenChange}},[e("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),[e("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(" "),e("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?e("span",{staticClass:"user-bubble__secondary"},[t._t("title")],2):t._e()],1),t._v(" "),t._t("default")],2)}),[],!1,null,"28b47c60",null);"function"==typeof f.a&&f()(d);var p=d.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/>.
*
*/n.default=p},function(t,n,e){"use strict";e.r(n),e(58),e(30),e(24),e(51),e(187),e(6),e(59);var o=e(61),i=e(107),r=e(37),a=e.n(r),s=e(13);function c(t,n,e,o,i,r,a){try{var s=t[r](a),c=s.value}catch(t){return void e(t)}s.done?n(c):Promise.resolve(c).then(o,i)}
/**
* @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 n=function t(n){var e={};if(1===n.nodeType){if(n.attributes.length>0){e["@attributes"]={};for(var o=0;o<n.attributes.length;o++){var i=n.attributes.item(o);e["@attributes"][i.nodeName]=i.nodeValue}}}else 3===n.nodeType&&(e=n.nodeValue);if(n.hasChildNodes())for(var r=0;r<n.childNodes.length;r++){var a=n.childNodes.item(r),s=a.nodeName;if(void 0===e[s])e[s]=t(a);else{if(void 0===e[s].push){var c=e[s];e[s]=[],e[s].push(c)}e[s].push(t(a))}}return e}(function(t){var n=null;try{n=(new DOMParser).parseFromString(t,"text/xml")}catch(t){console.error("Failed to parse xml document",t)}return n}(t))["d:multistatus"]["d:response"],e=[];for(var o in n){var i=n[o]["d:propstat"];"HTTP/1.1 200 OK"===i["d:status"]["#text"]&&e.push({id:parseInt(i["d:prop"]["oc:id"]["#text"]),displayName:i["d:prop"]["oc:display-name"]["#text"],canAssign:"true"===i["d:prop"]["oc:can-assign"]["#text"],userAssignable:"true"===i["d:prop"]["oc:user-assignable"]["#text"],userVisible:"true"===i["d:prop"]["oc:user-visible"]["#text"]})}return e},u=function(){var t,n=(t=regeneratorRuntime.mark((function t(){var n;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 n=t.sent,t.abrupt("return",l(n.data));case 6:case"end":return t.stop()}}),t)})),function(){var n=this,e=arguments;return new Promise((function(o,i){var r=t.apply(n,e);function a(t){c(r,o,i,a,s,"next",t)}function s(t){c(r,o,i,a,s,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}(),f=e(12);function d(t,n,e,o,i,r,a){try{var s=t[r](a),c=s.value}catch(t){return void e(t)}s.done?n(c):Promise.resolve(c).then(o,i)}var p={name:"MultiselectTags",components:{Multiselect:i.default},mixins:[o.a],props:{label:{type:String,default:Object(f.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,n=this;return(t=regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,u();case 3:e=t.sent,n.tags=e,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 n=this,e=arguments;return new Promise((function(o,i){var r=t.apply(n,e);function a(t){d(r,o,i,a,s,"next",t)}function s(t){d(r,o,i,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(n){return t.tags.find((function(t){return t.id===n}))})):this.tags.find((function(n){return n.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 n=t.displayName,e=t.userVisible,o=t.userAssignable;return!1===e?Object(f.b)("{tag} (invisible)",{tag:n}):!1===o?Object(f.b)("{tag} (restricted)",{tag:n}):n}}},A=e(3),h=e(176),m=e.n(h),g=Object(A.a)(p,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("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(n){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/>.
*/n.default=v},function(t,n,e){"use strict";e.r(n);var o=e(3),i=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;n.default=i},function(t,n,e){"use strict";e.r(n);var o={name:"AppContentList",props:{selection:{type:Boolean,default:!1},showDetails:{type:Boolean,default:!1}}},i=e(3),r=Object(i.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;n.default=r},function(n,e,o){"use strict";o.r(e),o(24),o(51),o(27),o(101),o(15),o(25),o(89),o(186),o(35),o(31),o(38),o(6),o(46),o(16),o(17),o(18),o(52),o(41),o(14);var i=o(129),r=o(36),a=o(105),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,n){if(t){if("string"==typeof t)return l(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?l(t,n):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,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,o=new Array(n);e<n;e++)o[e]=t[e];return o}var u={name:"AppSettingsDialog",components:{Modal:i.default},mixins:[r.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 n=t.filter((function(t){return t.componentOptions})).map((function(t){var n;return null===(n=t.componentOptions.propsData)||void 0===n?void 0:n.title}));return n.forEach((function(t,e){var o=c(n);if(o.splice(e,1),-1!==o.indexOf(t))throw new Error("Duplicate section title found: ".concat(t,". Settings navigation sections must have unique section titles."))})),n},handleSettingsNavigationClick:function(t){var n=this;this.linkClicked=!0,document.getElementById("settings-section_"+t.replace(/\s+/g,"")).scrollIntoView({behavior:"smooth",inline:"nearest"}),this.selectedSection=t,setTimeout((function(){n.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,n){"Enter"===t.code&&this.handleSettingsNavigationClick(n)}},render:function(t){var n=this,e=function(e){return t("li",{},[t("a",{class:{"navigation-list__link":!0,"navigation-list__link--active":e===n.selectedSection},attrs:{role:"tab","aria-selected":e===n.selectedSection,tabindex:"0"},on:{click:function(){return n.handleSettingsNavigationClick(e)},keydown:function(){return n.handleLinkKeydown(event,e)}}},e)])};return this.open?t("Modal",{attrs:{container:this.container},on:{close:function(){n.handleCloseModal()}}},[t("div",{attrs:{class:"app-settings"}},[].concat(c(n.hasNavigation?[t("div",{attrs:{class:"app-
/**
* @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/>.
*
*/e.default=v},function(t,n,e){"use strict";e.r(n),e(24),e(93),e(27),e(89),e(186),e(41),e(35);var o=e(5),i=e.n(o),r=e(105),a=e.n(r),s=e(73),c=e(131),l=e(130),u=e(50),f=e(132),d=e(29),p={name:"Breadcrumbs",components:{Actions:s.default,ActionRouter:c.default,ActionLink:l.default,Breadcrumb:f.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(d.subscribe)("navigation-toggled",this.delayedResize)},mounted:function(){this.handleWindowResize()},updated:function(){this.delayedResize(),this.delayedHideCrumbs()},beforeDestroy:function(){window.removeEventListener("resize",this.handleWindowResize),Object(d.unsubscribe)("navigation-toggled",this.delayedResize)},methods:{delayedHideCrumbs:function(){var t=this;this.$nextTick((function(){var n=t.$slots.default||[];t.hideCrumbs(n)}))},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 n=t.length,e=[],o=this.$refs.container.offsetWidth,i=this.getTotalWidth(t)-o;i+=i>0?51:0;for(var r=0,a=Math.floor(n/2);i>0&&r<n-2;){var s=a+(r%2?r+1:r)/2*Math.pow(-1,r+n%2);i-=this.getWidth(t[s].elm),e.push(s),r++}this.arraysEqual(this.hiddenIndices,e.sort((function(t,n){return t-n})))||(this.hiddenCrumbs=e.map((function(n){return t[n]})),this.hiddenIndices=e)}},arraysEqual:function(t,n){if(t.length!==n.length)return!1;if(t===n)return!0;if(null===t||null===n)return!1;for(var e=0;e<t.length;++e)if(t[e]!==n[e])return!1;return!0},getTotalWidth:function(t){var n=this;return t.reduce((function(t,e,o){return t+n.getWidth(e.elm)}),0)},getWidth:function(t){if(!t.classList)return 0;var n=t.classList.contains("crumb--hidden");t.style.minWidth="auto",t.classList.remove("crumb--hidden");var e=t.offsetWidth;return n&&t.classList.add("crumb--hidden"),t.style.minWidth="",e},preventDefault:function(t){return t.preventDefault&&t.preventDefault(),!1},dragStart:function(t){return this.preventDefault(t)},dropped:function(t,n,e){return e||this.$emit("dropped",t,n),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,n){if(!n&&t.target.closest){var e=t.target.closest(".crumb");e.classList&&e.classList.contains("crumb")&&(document.querySelectorAll(".crumb").forEach((function(t){t.classList.remove("crumb--hovered")})),e.classList.add("crumb--hovered"))}},dragLeave:function(t,n){if(!n&&!t.target.contains(t.relatedTarget)&&t.target.closest){var e=t.target.closest(".crumb");if(e.contains(t.relatedTarget))return;e.classList&&e.classList.contains("crumb")&&e.classList.remove("crumb--hovered")}},hideCrumbs:function(t){var n=this,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;t.forEach((function(t,o){var i;null!=t&&null!==(i=t.elm)&&void 0!==i&&i.classList&&(n.hiddenIndices.includes(o+e)?t.elm.classList.add("crumb--hidden"):t.elm.classList.remove("crumb--hidden"))}))}},render:function(t){var n=this,e=this.$slots.default||[];if(0!==e.length){i.a.set(e[0].componentOptions.propsData,"icon",this.rootIcon);var o=[],r=this.hiddenCrumbs.length?e.slice(0,Math.round(e.length/2)):e;o=o.concat(r),this.hideCrumbs(r),this.hiddenCrumbs.length&&o.push(t("Breadcrumb",{class:"dropdown",props:this.menuBreadcrumbProps,ref:"actionsBreadcrumb",key:"actions-breadcrumb-1",nativeOn:{dragstart:this.dragStart,dragenter:function(){n.menuBreadcrumbProps.open=!0},dragleave:this.closeActions},on:{"update:open":function(t){n.menuBreadcru
/**
* @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/>.
*
*/n.default=y},function(t,n){t.exports=o(485)},,,,,,,,,,,,,,,function(t,n,e){"use strict";e.r(n),e.d(n,"ActionButton",(function(){return i.default})),e.d(n,"ActionCheckbox",(function(){return r.default})),e.d(n,"ActionInput",(function(){return a.default})),e.d(n,"ActionLink",(function(){return s.default})),e.d(n,"ActionRadio",(function(){return c.default})),e.d(n,"ActionRouter",(function(){return l.default})),e.d(n,"Actions",(function(){return u.default})),e.d(n,"ActionSeparator",(function(){return f.default})),e.d(n,"ActionText",(function(){return d.default})),e.d(n,"ActionTextEditable",(function(){return p.default})),e.d(n,"AppContent",(function(){return A.default})),e.d(n,"AppContentDetails",(function(){return h.default})),e.d(n,"AppContentList",(function(){return m.default})),e.d(n,"AppNavigation",(function(){return g.default})),e.d(n,"AppNavigationCaption",(function(){return v.default})),e.d(n,"AppNavigationCounter",(function(){return b.default})),e.d(n,"AppNavigationIconBullet",(function(){return C.default})),e.d(n,"AppNavigationItem",(function(){return y.default})),e.d(n,"AppNavigationNew",(function(){return x.default})),e.d(n,"AppNavigationNewItem",(function(){return w.default})),e.d(n,"AppNavigationSettings",(function(){return k.default})),e.d(n,"AppNavigationSpacer",(function(){return _.default})),e.d(n,"AppSettingsDialog",(function(){return B.default})),e.d(n,"AppSettingsSection",(function(){return E.default})),e.d(n,"AppSidebar",(function(){return S.default})),e.d(n,"AppSidebarTab",(function(){return T.default})),e.d(n,"Avatar",(function(){return $.default})),e.d(n,"Breadcrumb",(function(){return O.default})),e.d(n,"Breadcrumbs",(function(){return I.default})),e.d(n,"ColorPicker",(function(){return M.default})),e.d(n,"Content",(function(){return N.default})),e.d(n,"DatetimePicker",(function(){return D.default})),e.d(n,"EmptyContent",(function(){return P.default})),e.d(n,"ListItemIcon",(function(){return L.default})),e.d(n,"Modal",(function(){return j.default})),e.d(n,"Multiselect",(function(){return F.default})),e.d(n,"MultiselectTags",(function(){return R.default})),e.d(n,"Popover",(function(){return U.default})),e.d(n,"PopoverMenu",(function(){return z.default})),e.d(n,"RichContenteditable",(function(){return G.default})),e.d(n,"SettingsSection",(function(){return W.default})),e.d(n,"UserBubble",(function(){return Y.default})),e.d(n,"Focus",(function(){return H.default})),e.d(n,"Linkify",(function(){return V.default})),e.d(n,"Tooltip",(function(){return Q.default})),e.d(n,"excludeClickOutsideClasses",(function(){return q.a})),e.d(n,"isFullscreen",(function(){return q.b})),e.d(n,"isMobile",(function(){return q.c})),e.d(n,"richEditor",(function(){return q.d})),e.d(n,"userStatus",(function(){return q.e}));var o={};e.r(o),e.d(o,"ActionButton",(function(){return i.default})),e.d(o,"ActionCheckbox",(function(){return r.default})),e.d(o,"ActionInput",(function(){return a.default})),e.d(o,"ActionLink",(function(){return s.default})),e.d(o,"ActionRadio",(function(){return c.default})),e.d(o,"ActionRouter",(function(){return l.default})),e.d(o,"Actions",(function(){return u.default})),e.d(o,"ActionSeparator",(function(){return f.default})),e.d(o,"ActionText",(function(){return d.default})),e.d(o,"ActionTextEditable",(function(){return p.default})),e.d(o,"AppContent",(function(){return A.default})),e.d(o,"AppContentDetails",(function(){return h.default})),e.d(o,"AppContentList",(function(){return m.default})),e.d(o,"AppNavigation",(function(){return g.default})),e.d(o,"AppNavigationCaption",(function(){return v.default})),e.d(o,"AppNavigationCounter",(function(){return b.default})),e.d(o,"AppNavigationIconBullet",(function(){return C.default})),e.d(o,"AppNavigationItem",(function(){return y.default})),e.d(o,"AppNavigationNew",(function(){return x.default})),e.d(o,"AppNavigationNewItem",(function(){return w.default})),e.d(o,"AppNavigationSettings",(function(){return k.default})),e.d(o,"AppNavigationSpacer",(function(){return _.default})),e.d(o,"AppSettingsDialog",(function(){return B.default})),e.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 Z(t){Object.values(o).forEach((function(n){t.component(n.name,n)}))}"undefined"!=typeof window&&window.Vue&&Z(window.Vue),n.default=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?K(Object(e),!0).forEach((function(n){J(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):K(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({install:Z},o)}])}))},,function(t,n,e){t.exports=function(){var t="undefined"!=typeof window,n="undefined"!=typeof navigator,e=t&&("ontouchstart"in window||n&&navigator.msMaxTouchPoints>0)?["touchstart"]:["click"];function o(t){var n=t.event,e=t.handler;(0,t.middleware)(n)&&e(n)}function i(t,n){var i=function(t){var n="function"==typeof t;if(!n&&"object"!=typeof t)throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:n?t:t.handler,middleware:t.middleware||function(t){return t},events:t.events||e,isActive:!(!1===t.isActive),detectIframe:!(!1===t.detectIframe)}}(n.value),r=i.handler,a=i.middleware,s=i.detectIframe;if(i.isActive){if(t["__v-click-outside"]=i.events.map((function(n){return{event:n,srcTarget:document.documentElement,handler:function(n){return function(t){var n=t.el,e=t.event,i=t.handler,r=t.middleware,a=e.path||e.composedPath&&e.composedPath();(a?a.indexOf(n)<0:!n.contains(e.target))&&o({event:e,handler:i,middleware:r})}({el:t,event:n,handler:r,middleware:a})}}})),s){var c={event:"blur",srcTarget:window,handler:function(n){return function(t){var n=t.el,e=t.event,i=t.handler,r=t.middleware;setTimeout((function(){var t=document.activeElement;t&&"IFRAME"===t.tagName&&!n.contains(t)&&o({event:e,handler:i,middleware:r})}),0)}({el:t,event:n,handler:r,middleware:a})}};t["__v-click-outside"]=[].concat(t["__v-click-outside"],[c])}t["__v-click-outside"].forEach((function(n){var e=n.event,o=n.srcTarget,i=n.handler;return setTimeout((function(){t["__v-click-outside"]&&o.addEventListener(e,i,!1)}),0)}))}}function r(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:i,update:function(t,n){var e=n.value,o=n.oldValue;JSON.stringify(e)!==JSON.stringify(o)&&(r(t),i(t,{value:e}))},unbind:r}:{};return{install:function(t){t.directive("click-outside",a)},directive:a}}()},function(t,n,e){"use strict";var o=e(1),i=e(61).map;o({target:"Array",proto:!0,forced:!e(59)("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,n,e){t.exports=e(394).default},function(t,n,e){"use strict";var o=e(1),i=e(69),r=e(31),a=e(13),s=e(14),c=e(70),l=e(56),u=e(59)("splice"),f=Math.max,d=Math.min;o({target:"Array",proto:!0,forced:!u},{splice:function(t,n){var e,o,u,p,A,h,m=s(this),g=a(m.length),v=i(t,g),b=arguments.length;if(0===b?e=o=0:1===b?(e=0,o=g-v):(e=b-2,o=d(f(r(n),0),g-v)),g+e-o>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=c(m,o),p=0;p<o;p++)(A=v+p)in m&&l(u,p,m[A]);if(u.length=o,e<o){for(p=v;p<g-o;p++)h=p+e,(A=p+o)in m?m[h]=m[A]:delete m[h];for(p=g;p>g-o+e;p--)delete m[p-1]}else if(e>o)for(p=g-o;p>v;p--)h=p+e-1,(A=p+o-1)in m?m[h]=m[A]:delete m[h];for(p=0;p<e;p++)m[p+v]=arguments[p+2];return m.length=g-o+e,u}})},function(t,n,e){"use strict";var o=e(6),i=e(0),r=e(82),a=e(16),s=e(5),c=e(27),l=e(321),u=e(35),f=e(2),d=e(68),p=e(49).f,A=e(25).f,h=e(12).f,m=e(215).trim,g=i.Number,v=g.prototype,b="Number"==c(d(v)),C=function(t){var n,e,o,i,r,a,s,c,l=u(t,!1);if("string"==typeof l&&l.length>2)if(43===(n=(l=m(l)).charCodeAt(0))||45===n){if(88===(e=l.charCodeAt(2))||120===e)return NaN}else if(48===n){switch(l.charCodeAt(1)){case 66:case 98:o=2,i=49;break;case 79:case 111:o=8,i=55;break;default:return+l}for(a=(r=l.slice(2)).length,s=0;s<a;s++)if((c=r.charCodeAt(s))<48||c>i)return NaN;return parseInt(r,o)}return+l};if(r("Number",!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var y,x=function(t){var n=arguments.length<1?0:t,e=this;return e instanceof x&&(b?f((func
/*!
* 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 n,e=""+t,i=o.exec(e);if(!i)return e;var r="",a=0,s=0;for(a=i.index;a<e.length;a++){switch(e.charCodeAt(a)){case 34:n="&quot;";break;case 38:n="&amp;";break;case 39:n="&#39;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}s!==a&&(r+=e.substring(s,a)),s=a+1,r+=n}return s!==a?r+e.substring(s,a):r}},function(t,n,e){"use strict";var o,i=e(1),r=e(25).f,a=e(13),s=e(366),c=e(20),l=e(367),u=e(32),f="".startsWith,d=Math.min,p=l("startsWith");i({target:"String",proto:!0,forced:!!(u||p||(o=r(String.prototype,"startsWith"),!o||o.writable))&&!p},{startsWith:function(t){var n=String(c(this));s(t);var e=a(d(arguments.length>1?arguments[1]:void 0,n.length)),o=String(t);return f?f.call(n,o,e):n.slice(e,e+o.length)===o}})},function(t,n,e){"use strict";var o=e(102),i=e(203),r=e(4),a=e(20),s=e(325),c=e(124),l=e(13),u=e(103),f=e(66),d=e(123).UNSUPPORTED_Y,p=[].push,A=Math.min;o("split",2,(function(t,n,e){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,e){var o=String(a(this)),r=void 0===e?4294967295:e>>>0;if(0===r)return[];if(void 0===t)return[o];if(!i(t))return n.call(o,t,r);for(var s,c,l,u=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),A=0,h=new RegExp(t.source,d+"g");(s=f.call(h,o))&&!((c=h.lastIndex)>A&&(u.push(o.slice(A,s.index)),s.length>1&&s.index<o.length&&p.apply(u,s.slice(1)),l=s[0].length,A=c,u.length>=r));)h.lastIndex===s.index&&h.lastIndex++;return A===o.length?!l&&h.test("")||u.push(""):u.push(o.slice(A)),u.length>r?u.slice(0,r):u}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,e){var i=a(this),r=null==n?void 0:n[t];return void 0!==r?r.call(n,i,e):o.call(String(i),n,e)},function(t,i){var a=e(o,t,this,i,o!==n);if(a.done)return a.value;var f=r(t),p=String(this),h=s(f,RegExp),m=f.unicode,g=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(d?"g":"y"),v=new h(d?"^(?:"+f.source+")":f,g),b=void 0===i?4294967295:i>>>0;if(0===b)return[];if(0===p.length)return null===u(v,p)?[p]:[];for(var C=0,y=0,x=[];y<p.length;){v.lastIndex=d?0:y;var w,k=u(v,d?p.slice(y):p);if(null===k||(w=A(l(v.lastIndex+(d?y:0)),p.length))===C)y=c(p,y,m);else{if(x.push(p.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(p.slice(C)),x}]}),d)},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.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=e(98)},function(t,n,e){var o=e(6),i=e(0),r=e(82),a=e(321),s=e(12).f,c=e(49).f,l=e(203),u=e(106),f=e(123),d=e(16),p=e(2),A=e(26).enforce,h=e(324),m=e(3)("match"),g=i.RegExp,v=g.prototype,b=/a/g,C=/a/g,y=new g(b)!==b,x=f.UNSUPPORTED_Y;if(o&&r("RegExp",!y||x||p((function(){return C[m]=!1,g(b)!=b||g(C)==C||"/a/i"!=g(b,"i")})))){for(var w=function(t,n){var e,o=this instanceof w,i=l(t),r=void 0===n;if(!o&&i&&t.constructor===w&&r)return t;y?i&&!r&&(t=t.source):t instanceof w&&(r&&(n=u.call(t)),t=t.source),x&&(e=!!n&&n.indexOf("y")>-1)&&(n=n.replace(/y/g,""));var s=a(y?new g(t,n):g(t,n),o?this:v,w);x&&e&&(A(s).sticky=!0);return s},k=function(t){t in w||s(w,t,{configurable:!0,get:function(){return g[t]},set:function(n){g[t]=n}})},_=c(g),B=0;_.length>B;)k(_[B++]);v.constructor=w,w.prototype=v,d(i,"RegExp",w)}h("RegExp")},function(t,n,e){"use strict";var o=e(1),i=e(435),r=e(14),a=e(13),s=e(31),c=e(70);o({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,n=r(this),e=a(n.length),o=c(n,0);return o.length=i(o,n,n,e,0,void 0===t?1:s(t)),o}})},function(t,n,e){"use strict";var o=e(1),i=e(436).left,r=e(84),a=e(39),s=e(163);o({target:"Array",proto:!0,forced:!r("reduce")||!s&&a>79&&a<83},{reduce:functi
/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
t.exports=function(t){return null!=t&&(e(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&e(t.slice(0,0))}(t)||!!t._isBuffer)}},function(t,n,e){"use strict";var o={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,r=i&&!o.call({1:2},1);n.f=r?function(t){var n=i(this,t);return!!n&&n.enumerable}:o},function(t,n,e){var o=e(34),i=e(80),r=o.document,a=i(r)&&i(r.createElement);t.exports=function(t){return a?r.createElement(t):{}}},function(t,n,e){var o=e(34),i=e(165),r=e(100),a=e(211),s=e(334),c=e(413),l=c.get,u=c.enforce,f=String(String).split("String");(t.exports=function(t,n,e,s){var c=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof e&&("string"!=typeof n||r(e,"name")||i(e,"name",n),u(e).source=f.join("string"==typeof n?n:"")),t!==o?(c?!d&&t[n]&&(l=!0):delete t[n],l?t[n]=e:i(t,n,e)):l?t[n]=e:a(n,e)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},function(t,n,e){var o,i,r,a=e(414),s=e(34),c=e(80),l=e(165),u=e(100),f=e(415),d=e(339),p=s.WeakMap;if(a){var A=new p,h=A.get,m=A.has,g=A.set;o=function(t,n){return g.call(A,t,n),n},i=function(t){return h.call(A,t)||{}},r=function(t){return m.call(A,t)}}else{var v=f("state");d[v]=!0,o=function(t,n){return l(t,v,n),n},i=function(t){return u(t,v)?t[v]:{}},r=function(t){return u(t,v)}}t.exports={set:o,get:i,has:r,enforce:function(t){return r(t)?i(t):o(t,{})},getterFor:function(t){return function(n){var e;if(!c(n)||(e=i(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}}},function(t,n,e){var o=e(34),i=e(334),r=o.WeakMap;t.exports="function"==typeof r&&/native code/.test(i(r))},function(t,n,e){var o=e(336),i=e(338),r=o("keys");t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,n,e){var o=e(100),i=e(417),r=e(204),a=e(210);t.exports=function(t,n){for(var e=i(n),s=a.f,c=r.f,l=0;l<e.length;l++){var u=e[l];o(t,u)||s(t,u,c(n,u))}}},function(t,n,e){var o=e(340),i=e(419),r=e(422),a=e(333);t.exports=o("Reflect","ownKeys")||function(t){var n=i.f(a(t)),e=r.f;return e?n.concat(e(t)):n}},function(t,n,e){var o=e(34);t.exports=o},function(t,n,e){var o=e(341),i=e(343).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return o(t,i)}},function(t,n,e){var o=e(206),i=e(166),r=e(421),a=function(t){return function(n,e,a){var s,c=o(n),l=i(c.length),u=r(a,l);if(t&&e!=e){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===e)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,n,e){var o=e(342),i=Math.max,r=Math.min;t.exports=function(t,n){var e=o(t);return e<0?i(e+n,0):r(e,n)}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var o=e(38),i=/#|\.prototype\./,r=function(t,n){var e=s[a(t)];return e==l||e!=c&&("function"==typeof n?o(n):!!n)},a=r.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=r.data={},c=r.NATIVE="N",l=r.POLYFILL="P";t.exports=r},function(t,n,e){var o=e(425);t.exports=function(t,n,e){if(o(t),void 0===n)return t;switch(e){case 0:return function(){return t.call(n)};case 1:return function(e){return t.call(n,e)};case 2:return function(e,o){return t.call(n,e,o)};case 3:return function(e,o,i){return t.call(n,e,o,i)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,n,e){var o=e(347);t.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,e){var o=e(340);t.exports=o("navigator","userAgent")||""},function(t,n,e){var o=e(341),i=e(343);t.exports=Object.keys||function(t){return o(t,i)}},function(t,n,e){var o=e(430);t.exports=function(t){if(o(t))throw TypeError("The method doesn't accept regular expressions");return t}},function(t,n,e){var o=e(80),i=e(207),r=e(122)("match");t.exports=function(t){var n;return o(t)&&(void 0!==(n=t[r])?!!n:"RegExp"==i(t))}},function(t,n,e){var o=e(122)("match");t.exports=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[o]=!1,"/./"[t](n)}catch(t){}
/*!
* 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 n=function(t,n){return t(n={exports:{}},n.exports),n.exports}((function(n,e){n.exports=function n(e,o,i){function r(s,c){if(!o[s]){if(!e[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:{}};e[s][0].call(u.exports,(function(t){return r(e[s][1][t]||t)}),u,u.exports,n,e,o,i)}return o[s].exports}for(var a=t,s=0;s<i.length;s++)r(i[s]);return r}({1:[function(t,n,e){n.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},{}],2:[function(t,n,e){var o=t("./utils").getSymbolSize;e.getRowColCoords=function(t){if(1===t)return[];for(var n=Math.floor(t/7)+2,e=o(t),i=145===e?26:2*Math.ceil((e-13)/(2*n-2)),r=[e-7],a=1;a<n-1;a++)r[a]=r[a-1]-i;return r.push(6),r.reverse()},e.getPositions=function(t){for(var n=[],o=e.getRowColCoords(t),i=o.length,r=0;r<i;r++)for(var a=0;a<i;a++)0===r&&0===a||0===r&&a===i-1||r===i-1&&0===a||n.push([o[r],o[a]]);return n}},{"./utils":21}],3:[function(t,n,e){var o=t("./mode"),i=["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 r(t){this.mode=o.ALPHANUMERIC,this.data=t}r.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(t){var n;for(n=0;n+2<=this.data.length;n+=2){var e=45*i.indexOf(this.data[n]);e+=i.indexOf(this.data[n+1]),t.put(e,11)}this.data.length%2&&t.put(i.indexOf(this.data[n]),6)},n.exports=r},{"./mode":14}],4:[function(t,n,e){function o(){this.buffer=[],this.length=0}o.prototype={get:function(t){var n=Math.floor(t/8);return 1==(this.buffer[n]>>>7-t%8&1)},put:function(t,n){for(var e=0;e<n;e++)this.putBit(1==(t>>>n-e-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),t&&(this.buffer[n]|=128>>>this.length%8),this.length++}},n.exports=o},{}],5:[function(t,n,e){var o=t("../utils/buffer");function i(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)}i.prototype.set=function(t,n,e,o){var i=t*this.size+n;this.data[i]=e,o&&(this.reservedBit[i]=!0)},i.prototype.get=function(t,n){return this.data[t*this.size+n]},i.prototype.xor=function(t,n,e){this.data[t*this.size+n]^=e},i.prototype.isReserved=function(t,n){return this.reservedBit[t*this.size+n]},n.exports=i},{"../utils/buffer":28}],6:[function(t,n,e){var o=t("../utils/buffer"),i=t("./mode");function r(t){this.mode=i.BYTE,this.data=o.from(t)}r.getBitsLength=function(t){return 8*t},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(t){for(var n=0,e=this.data.length;n<e;n++)t.put(this.data[n],8)},n.exports=r},{"../utils/buffer":28,"./mode":14}],7:[function(t,n,e){var o=t("./error-correction-level"),i=[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],r=[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(i,r,a,s){"use strict";var c,l=["","webkit","Moz","MS","ms","o"],u=r.createElement("div"),f=Math.round,d=Math.abs,p=Date.now;function A(t,n,e){return setTimeout(y(t,e),n)}function h(t,n,e){return!!Array.isArray(t)&&(m(t,e[n],e),!0)}function m(t,n,e){var o;if(t)if(t.forEach)t.forEach(n,e);else if(void 0!==t.length)for(o=0;o<t.length;)n.call(e,t[o],o,t),o++;else for(o in t)t.hasOwnProperty(o)&&n.call(e,t[o],o,t)}function g(t,n,e){var o="DEPRECATED METHOD: "+n+"\n"+e+" AT \n";return function(){var n=new Error("get-stack-trace"),e=n&&n.stack?n.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",r=i.console&&(i.console.warn||i.console.log);return r&&r.call(i.console,o,e),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 n=Object(t),e=1;e<arguments.length;e++){var o=arguments[e];if(null!=o)for(var i in o)o.hasOwnProperty(i)&&(n[i]=o[i])}return n}:Object.assign;var v=g((function(t,n,e){for(var o=Object.keys(n),i=0;i<o.length;)(!e||e&&void 0===t[o[i]])&&(t[o[i]]=n[o[i]]),i++;return t}),"extend","Use `assign`."),b=g((function(t,n){return v(t,n,!0)}),"merge","Use `assign`.");function C(t,n,e){var o,i=n.prototype;(o=t.prototype=Object.create(i)).constructor=t,o._super=i,e&&c(o,e)}function y(t,n){return function(){return t.apply(n,arguments)}}function x(t,n){return"function"==typeof t?t.apply(n&&n[0]||void 0,n):t}function w(t,n){return void 0===t?n:t}function k(t,n,e){m(S(n),(function(n){t.addEventListener(n,e,!1)}))}function _(t,n,e){m(S(n),(function(n){t.removeEventListener(n,e,!1)}))}function B(t,n){for(;t;){if(t==n)return!0;t=t.parentNode}return!1}function E(t,n){return t.indexOf(n)>-1}function S(t){return t.trim().split(/\s+/g)}function T(t,n,e){if(t.indexOf&&!e)return t.indexOf(n);for(var o=0;o<t.length;){if(e&&t[o][e]==n||!e&&t[o]===n)return o;o++}return-1}function $(t){return Array.prototype.slice.call(t,0)}function O(t,n,e){for(var o=[],i=[],r=0;r<t.length;){var a=n?t[r][n]:t[r];T(i,a)<0&&o.push(t[r]),i[r]=a,r++}return e&&(o=n?o.sort((function(t,e){return t[n]>e[n]})):o.sort()),o}function I(t,n){for(var e,o,i=n[0].toUpperCase()+n.slice(1),r=0;r<l.length;){if((o=(e=l[r])?e+i:n)in t)return o;r++}}var M=1;function N(t){var n=t.ownerDocument||t;return n.defaultView||n.parentWindow||i}var D="ontouchstart"in i,P=void 0!==I(i,"PointerEvent"),L=D&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),j=["x","y"],F=["clientX","clientY"];function R(t,n){var e=this;this.manager=t,this.callback=n,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(n){x(t.options.enable,[t])&&e.handler(n)},this.init()}function U(t,n,e){var o=e.pointers.length,i=e.changedPointers.length,r=1&n&&o-i==0,a=12&n&&o-i==0;e.isFirst=!!r,e.isFinal=!!a,r&&(t.session={}),e.eventType=n,function(t,n){var e=t.session,o=n.pointers,i=o.length;e.firstInput||(e.firstInput=z(n));i>1&&!e.firstMultiple?e.firstMultiple=z(n):1===i&&(e.firstMultiple=!1);var r=e.firstInput,a=e.firstMultiple,s=a?a.center:r.center,c=n.center=G(o);n.timeStamp=p(),n.deltaTime=n.timeStamp-r.timeStamp,n.angle=V(s,c),n.distance=H(s,c),function(t,n){var e=n.center,o=t.offsetDelta||{},i=t.prevDelta||{},r=t.prevInput||{};1!==n.eventType&&4!==r.eventType||(i=t.prevDelta={x:r.deltaX||0,y:r.deltaY||0},o=t.offsetDelta={x:e.x,y:e.y});n.deltaX=i.x+(e.x-o.x),n.deltaY=i.y+(e.y-o.y)}(e,n),n.offsetDirection=Y(n.deltaX,n.deltaY);var l=W(n.deltaTime,n.deltaX,n.deltaY);n.overallVelocityX=l.x,n.overallVelocityY=l.y,n.overallVelocity=d(l.x)>d(l.y)?l.x:l.y,n.scale=a?(u=a.pointers,f=o,H(f[0],f[1],F)/H(u[0],u[1],F)):1,n.rotation=a?function(t,n){return V(n[1],n[0],F)+V(t[1],t[0],F)}(a.pointers,o):0,n.maxPointers=e.prevInput?n.pointers.length>e.prevInput.maxPointers?n.pointers.length:e.prevInput.maxPointers:n.pointers.length,function(t,n){var e,o,i,r,a=t.lastInterval||n,s=n.timeStamp-a.timeStamp;if(8!=n.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 n={134:function(t,n,e){"use strict";e.d(n,{default:function(){return A}}),n=e(279);var o=e.n(n),i=(n=e(370),e.n(n)),r=(n=e(817),e.n(n));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,n){for(var e=0;e<n.length;e++){var o=n[e];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(n){!function(n){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}(this),this.resolveOptions(n),this.initSelection()}var n,e;return n=t,(e=[{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,n=this.createFakeElement();this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(n),this.selectedText=r()(n),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=r()(this.target),this.copyText()}},{key:"copyText",value:function(){var t;try{t=document.execCommand(this.action)}catch(n){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(n.prototype,e),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,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function f(t,n)
/**
* @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),r.default.use(s.a),r.default.use(c.default,{defaultHtml:!1}),r.default.prototype.t=t;new(r.default.extend(L))({propsData:{tokens:Object(i.loadState)("settings","app_tokens"),canCreateToken:Object(i.loadState)("settings","can_create_app_token")}}).$mount("#security-authtokens")}]);
//# sourceMappingURL=vue-settings-personal-security.js.map?v=daacc0548946037b4708