nextcloud/apps/settings/js/vue-0.js

1128 lines
619 KiB
JavaScript
Raw Normal View History

(window.webpackJsonpSettings=window.webpackJsonpSettings||[]).push([[0],[function(t,e,n){var i=n(2),a=n(137),o=n(11),r=n(140),s=n(141),c=n(179),l=a("wks"),A=i.Symbol,u=c?A:A&&A.withoutSetter||r;t.exports=function(t){return o(l,t)||(s&&o(A,t)?l[t]=A[t]:l[t]=u("Symbol."+t)),l[t]}},function(t,e,n){var i=n(2),a=n(32).f,o=n(24),r=n(20),s=n(138),c=n(180),l=n(88);t.exports=function(t,e){var n,A,u,d,f,p=t.target,h=t.global,v=t.stat;if(n=h?i:v?i[p]||s(p,{}):(i[p]||{}).prototype)for(A in e){if(d=e[A],u=t.noTargetGet?(f=a(n,A))&&f.value:n[A],!l(h?A:p+(v?".":"#")+A,t.forced)&&void 0!==u){if(typeof d==typeof u)continue;c(d,u)}(t.sham||u&&u.sham)&&o(d,"sham",!0),r(n,A,d,t)}}},function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")()}).call(this,n(13))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},,,,,function(t,e,n){var i=n(3);t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var i=n(15);t.exports=function(t){if(!i(t))throw TypeError(String(t)+" is not an object");return t}},,function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},,,,function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},,,function(t,e,n){var i=n(8),a=n(178),o=n(9),r=n(55),s=Object.defineProperty;e.f=i?s:function(t,e,n){if(o(t),e=r(e,!0),o(n),a)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},,function(t,e,n){var i=n(2),a=n(24),o=n(11),r=n(138),s=n(142),c=n(31),l=c.get,A=c.enforce,u=String(String).split("String");(t.exports=function(t,e,n,s){var c=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||a(n,"name",e),A(n).source=u.join("string"==typeof e?e:"")),t!==i?(c?!d&&t[e]&&(l=!0):delete t[e],l?t[e]=n:a(t,e,n)):l?t[e]=n:r(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},function(t,e,n){var i=n(87),a=n(33);t.exports=function(t){return i(a(t))}},,,function(t,e,n){var i=n(8),a=n(18),o=n(49);t.exports=i?function(t,e,n){return a.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(57),a=Math.min;t.exports=function(t){return t>0?a(i(t),9007199254740991):0}},function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")()}).call(this,n(13))},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var i=n(33);t.exports=function(t){return Object(i(t))}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},,function(t,e,n){var i,a,o,r=n(355),s=n(2),c=n(15),l=n(24),A=n(11),u=n(84),d=n(85),f=s.WeakMap;if(r){var p=new f,h=p.get,v=p.has,g=p.set;i=function(t,e){return g.call(p,t,e),e},a=function(t){return h.call(p,t)||{}},o=function(t){return v.call(p,t)}}else{var b=u("state");d[b]=!0,i=function(t,e){return l(t,b,e),e},a=function(t){return A(t,b)?t[b]:{}},o=function(t){return A(t,b)}}t.exports={set:i,get:a,has:o,enforce:function(t){return o(t)?a(t):i(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=a(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){var i=n(8),a=n(86),o=n(49),r=n(21),s=n(55),c=n(11),l=n(178),A=Object.getOwnPropertyDescriptor;e.f=i?A:function(t,e){if(t=r(t),e=s(e,!0),l)try{return A(t,e)}catch(t){}if(c(t,e))return o(!a.f.call(t,e),t[e])}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var i=n(8),a=n(3),o=n(11),r=Object.defineProperty,s={},c=function(t){throw t};t.exports=function(t,e){if(o(s,t))return s[t];e||(e={});var n=[
/**
* @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/>.
*
*/
i.VTooltip.options.defaultTemplate='<div class="vue-tooltip" role="tooltip" data-v-'.concat("e729b2c",'><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'),i.VTooltip.options.defaultHtml=!1,e.default=i.VTooltip},function(t,e){t.exports=i(175)},function(t,e,n){"use strict";n(6),n(24);var i=n(5),a=n.n(i);
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/e.a={before:function(){this.$slots.default&&""!==this.text.trim()||(a.a.util.warn("".concat(this.$options.name," cannot be empty and requires a meaningful text content"),this),this.$destroy(),this.$el.remove())},beforeUpdate:function(){this.text=this.getText()},data:function(){return{text:this.getText()}},computed:{isLongText:function(){return this.text&&this.text.trim().length>20}},methods:{getText:function(){return this.$slots.default?this.$slots.default[0].text.trim():""}}}},function(t,e){t.exports=i(325)},function(t,e){t.exports=i(135)},function(t,e){t.exports=i(176)},function(t,e){t.exports=i(326)},function(t,e){t.exports=i(327)},function(t,e){t.exports=i(328)},function(t,e){t.exports=i(329)},function(t,e,n){"use strict";n(3),n(13),n(20),n(21),e.a=function(t){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,t||5)}},function(t,e){t.exports=i(330)},function(t,e){t.exports=i(331)},function(t,e,n){"use strict";n(16),n(3),n(17),n(18),n(23);var i=n(14),a=(n(6),function(t,e){for(var n=t.$parent;n;){if(n.$options.name===e)return n;n=n.$parent}});e.a={mixins:[i.a],props:{icon:{type:String,default:""},title:{type:String,default:""},closeAfterClick:{type:Boolean,default:!1}},computed:{isIconUrl:function(){try{return new URL(this.icon)}catch(t){return!1}}},methods:{onClick:function(t){if(this.$emit("click",t),this.closeAfterClick){var e=a(this,"Actions");e&&e.closeMenu&&e.closeMenu()}}}}},function(t,e){t.exports=i(332)},function(t,e,n){var i=n(63);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("6d914181",i,!0,{})},function(t,e,n){var i=n(65);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("2fc216d3",i,!0,{})},function(t,e,n){var i=n(67);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("b619cfa6",i,!0,{})},function(t,e){t.exports=i(338)},function(t,e,n){var i=n(77);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("0a304400",i,!0,{})},function(t,e,n){var i=n(80);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("9be9793c",i,!0,{})},function(t,e){},function(t,e,n){"use strict";
/**
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/e.a=function(t){t.mounted?Array.isArray(t.mounted)||(t.mounted=[t.mounted]):t.mounted=[],t.mounted.push((function(){this.$el.setAttribute("data-v-".concat("e729b2c"),"")}))}},function(t,e,n){"use strict";n(26),n(49),n(19);var i=n(15),a=n(12),o=n(22),r=(n(74),function(t){var e=t.getBoundingClientRect(),n=document.documentElement.clientHeight,i=document.documentElement.clientWidth,a=Object.assign({});return a.top=e.top<0,a.left=e.left<0,a.bottom=e.bottom>n,a.right=e.right>i,a.any=a.top||a.left||a.bottom||a.right,a.all=a.top&&a.left&&a.bottom&&a.right,a.offsetY=a.top?e.top:a.bottom?e.bottom-n:0,a.offsetX=a.left?e.left:a.right?e.right-i:0,a}),s=(n(71),n(75),n(6),n(72),n(5)),c=n.n(s),l=function(t,e,n){void 0!==t&&t.forEach((function(i,a){var o=!i.componentOptions&&i.tag&&-1===e.indexOf(i.tag),r=!!i.componentOptions&&"string"==typeof i.componentOptions.tag&&-1===e.indexOf(i.componentOptions.tag);(o||r)&&(c.a.util.warn("".concat(o?i.tag:i.componentOptions.tag," is not allowed inside the ").concat(n.$options.name," component"),n),t.splice(a,1))}))},A=["ActionButton","ActionCheckbox","ActionInput","ActionLink","ActionRadio","ActionRouter","ActionSeparator","ActionText","ActionTextEditable"],u={name:"Actions",directives:{ClickOutside:i.directive,tooltip:a.default},props:{open:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},menuAlign:{type:String,default:"center",validator:function(t){return["left","center","right"].indexOf(t)>-1}},defaultIcon:{type:String,default:"action-item__menutoggle--default-icon"}},data:function(){return{actions:[],opened:this.open,focusIndex:0,randomId:"menu-"+Object(o.a)(),offsetX:0,offsetY:0,offsetYArrow:0,rotateArrow:!1,children:this.$children}},computed:{hasMultipleActions:function(){return this.actions.length>1},isValidSingleAction:function(){return 1===this.actions.length&&null!==this.firstActionElement},firstActionVNode:function(){return this.actions[0]},firstAction:function(){return this.children[0]?this.children[0]:{}},firstActionBinding:function(){if(this.firstActionVNode&&this.firstActionVNode.componentOptions){var t=this.firstActionVNode.componentOptions.tag;if("ActionLink"===t)return{is:"a",href:this.firstAction.href,target:this.firstAction.target};if("ActionRouter"===t)return{is:"router-link",to:this.firstAction.to,exact:this.firstAction.exact};if("ActionButton"===t)return{is:"button"}}return null},firstActionEvent:function(){return this.firstActionVNode&&this.firstActionVNode.componentOptions&&this.firstActionVNode.componentOptions.listeners&&this.firstActionVNode.componentOptions.listeners.click},firstActionEventBinding:function(){return this.firstActionEvent?"click":null},firstActionClass:function(){var t=this.firstActionVNode&&this.firstActionVNode.data.staticClass,e=this.firstActionVNode&&this.firstActionVNode.data.class;return"".concat(t," ").concat(e)}},watch:{open:function(t){var e=this;this.opened=t,this.opened&&this.$nextTick((function(){e.onOpen()}))}},beforeMount:function(){this.initActions(),l(this.$slots.default,A,this)},beforeUpdate:function(){this.initActions(),l(this.$slots.default,A,this)},methods:{toggleMenu:function(t){var e=this;this.opened=!this.opened,this.opened?(this.$nextTick((function(){e.onOpen(),e.focusFirstAction()})),this.$emit("open",t)):(this.offsetX=0,this.offsetY=0,this.offsetYArrow=0,this.rotateArrow=!1),this.$emit("update:open",this.opened)},closeMenu:function(t){this.opened&&(this.$emit("update:open",!1),this.$emit("close",t)),this.opened=!1,this.offsetX=0,this.offsetY=0,this.offsetYArrow=0,this.rotateArrow=!1},onOpen:function(){if(this.offsetX=0,this.offsetY=0,this.offsetYArrow=0,this.rotateArrow=!1,"center"===this.menuAlign){var t=r(this.$refs.menu);(t.left||t.right)&&(this.offsetX=t.offsetX>0?Math.round(t.offsetX)+5:Math.round(t.offsetX)-5),t.bottom&&(this.offsetY=0-Math.round(this.$refs.menu.clientHeight)-42,this.offsetYArrow=Math.round(this.$refs.menu.clientHeight)+18,this.rotateArrow=!0)}},onMouseFocusAction:function(t){if(document.activeElement!==t.target){var e=t.target.closest("li");if(e){var n=e.querySelector(".focusable");if(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/>.
*
*/
function i(t,e,n){this.r=t,this.g=e,this.b=n}function a(t,e,n){var a=[];a.push(e);for(var o=function(t,e){var n=new Array(3);return n[0]=(e[1].r-e[0].r)/t,n[1]=(e[1].g-e[0].g)/t,n[2]=(e[1].b-e[0].b)/t,n}(t,[e,n]),r=1;r<t;r++){var s=parseInt(e.r+o[0]*r,10),c=parseInt(e.g+o[1]*r,10),l=parseInt(e.b+o[2]*r,10);a.push(new i(s,c,l))}return a}n(26),e.a=function(t){t||(t=6);var e=new i(182,70,157),n=new i(221,203,85),o=new i(0,130,201),r=a(t,e,n),s=a(t,n,o),c=a(t,o,e);return r.concat(s).concat(c)}},function(t,e){},function(t,e){},function(t,e,n){"use strict";n.r(e),n(19),n(16),n(3),n(20),n(17),n(18),n(23);var i={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)}}},a=(n(62),n(64),n(0)),o={name:"PopoverMenu",components:{PopoverMenuItem:Object(a.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",[t.item.href?n("a",{staticClass:"focusable",attrs:{href:t.item.href?t.item.href:"#",target:t.item.target?t.item.target:"",download:t.item.download,rel:"noreferrer noopener"},on:{click:t.action}},[t.iconIsUrl?n("img",{attrs:{src:t.item.icon}}):n("span",{class:t.item.icon}),t._v(" "),t.item.text&&t.item.longtext?n("p",[n("strong",{staticClass:"menuitem-text"},[t._v("\n\t\t\t\t"+t._s(t.item.text)+"\n\t\t\t")]),n("br"),t._v(" "),n("span",{staticClass:"menuitem-text-detail"},[t._v("\n\t\t\t\t"+t._s(t.item.longtext)+"\n\t\t\t")])]):t.item.text?n("span",[t._v("\n\t\t\t"+t._s(t.item.text)+"\n\t\t")]):t.item.longtext?n("p",[t._v("\n\t\t\t"+t._s(t.item.longtext)+"\n\t\t")]):t._e()]):t.item.input?n("span",{staticClass:"menuitem",class:{active:t.item.active}},["checkbox"!==t.item.input?n("span",{class:t.item.icon}):t._e(),t._v(" "),"text"===t.item.input?n("form",{class:t.item.input,on:{submit:function(e){return e.preventDefault(),t.item.action(e)}}},[n("input",{attrs:{type:t.item.input,placeholder:t.item.text,required:""},domProps:{value:t.item.value}}),t._v(" "),n("input",{staticClass:"icon-confirm",attrs:{type:"submit",value:""}})]):["checkbox"===t.item.input?n("input",{directives:[{name:"model",rawName:"v-model",value:t.item.model,expression:"item.model"}],class:t.item.input,attrs:{id:t.key,type:"checkbox"},domProps:{checked:Array.isArray(t.item.model)?t._i(t.item.model,null)>-1:t.item.model},on:{change:[function(e){var n=t.item.model,i=e.target,a=!!i.checked;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&t.$set(t.item,"model",n.concat([null])):o>-1&&t.$set(t.item,"model",n.slice(0,o).concat(n.slice(o+1)))}else t.$set(t.item,"model",a)},t.item.action]}}):"radio"===t.item.input?n("input",{directives:[{name:"model",rawName:"v-model",value:t.item.model,expression:"item.model"}],class:t.item.input,attrs:{id:t.key,type:"radio"},domProps:{checked:t._q(t.item.model,null)},on:{change:[function(e){return t.$set(t.item,"model",null)},t.item.action]}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.item.model,expression:"item.model"}],class:t.item.input,attrs:{id:t.key,type:t.item.input},domProps:{value:t.item.model},on:{change:t.item.action,input:function(e){e.target.composing||t.$set(t.item,"model",e.target.value)}}}),t._v(" "),n("label",{attrs:{for:t.key},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.item.action(e)}}},[t._v("\n\t\t\t\t"+t._s(t.item.text)+"\n\t\t\t")])]],2):t.item.action?n("button",{staticClass:"menuitem focusable",class:{active:t.item.active},attrs:{disabled:t.item.disabled},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.item.action(e)}}},[n("span",{class:t.item.icon}),t._v(" "),t.item.text&&t.item.longtext?n("p",[n("strong",{staticClass:"menuitem-text"},[t._v("\n\t\t\t\t"+t._s(t.item.text)+"\n
/**
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
e.default=l},function(t,e){t.exports=i(30)},function(t,e){t.exports=i(340)},function(t,e,n){"use strict";n.r(e),n(26),n(61),n(46),n(30),n(3),n(59),n(60);var i=n(15),a=n(44),o=n(45),r=n.n(o),s=n(12),c=(n(13),n(78),n(21),n(57)),l=n.n(c),A=n(41);function u(t,e,n,i,a,o,r){try{var s=t[o](r),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(i,a)}var d,f,p={name:"Avatar",directives:{tooltip:s.default,ClickOutside:i.directive},components:{PopoverMenu:a.PopoverMenu},props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,default:void 0},isGuest:{type:Boolean,default:!1},displayName:{type:String,default:void 0},size:{type:Number,default:32},allowPlaceholder:{type:Boolean,default:!0},disableTooltip:{type:Boolean,default:!1},disableMenu:{type:Boolean,default:!1},tooltipMessage:{type:String,default:null},isNoUser:{type:Boolean,default:!1},status:{type:String,default:null,validator:function(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"}},data:function(){return{avatarUrlLoaded:null,avatarSrcSetLoaded:null,userDoesNotExist:!1,isAvatarLoaded:!1,isMenuLoaded:!1,contactsMenuActions:[],contactsMenuOpenState:!1}},computed:{getUserIdentifier:function(){return this.isDisplayNameDefined?this.displayName:this.isUserDefined?this.user:""},isUserDefined:function(){return void 0!==this.user},isDisplayNameDefined:function(){return void 0!==this.displayName},isUrlDefined:function(){return void 0!==this.url},hasMenu:function(){return!this.disableMenu&&(this.isMenuLoaded?this.menu.length>0:!(this.user===OC.getCurrentUser().uid||this.userDoesNotExist||this.url))},shouldShowPlaceholder:function(){return this.allowPlaceholder&&this.userDoesNotExist},avatarStyle:function(){var t={width:this.size+"px",height:this.size+"px",lineHeight:this.size+"px",fontSize:Math.round(.55*this.size)+"px"};if(!this.iconClass&&!this.avatarSrcSetLoaded){var e=function(t){var e=t.toLowerCase();return null===e.match(/^([0-9a-f]{4}-?){8}$/)&&(e=l()(e)),e=e.replace(/[^0-9a-f]/g,""),Object(A.a)(6)[function(t,e){for(var n=0,i=[],a=0;a<t.length;a++)i.push(parseInt(t.charAt(a),16)%16);for(var o in i)n+=i[o];return parseInt(parseInt(n,10)%18,10)}(e)]}(this.getUserIdentifier);t.backgroundColor="rgb("+e.r+", "+e.g+", "+e.b+")"}return t},tooltip:function(){return!this.disableTooltip&&(this.tooltipMessage?this.tooltipMessage:this.displayName)},initials:function(){return this.shouldShowPlaceholder?this.getUserIdentifier.charAt(0).toUpperCase():"?"},menu:function(){return this.contactsMenuActions.map((function(t){return{href:t.hyperlink,icon:t.icon,text:t.title}}))}},watch:{url:function(){this.userDoesNotExist=!1,this.loadAvatarUrl()},user:function(){this.userDoesNotExist=!1,this.isMenuLoaded=!1,this.loadAvatarUrl()}},mounted:function(){this.loadAvatarUrl()},methods:{toggleMenu:function(){this.hasMenu&&(this.contactsMenuOpenState=!this.contactsMenuOpenState,this.contactsMenuOpenState&&this.fetchContactsMenu())},closeMenu:function(){this.contactsMenuOpenState=!1},fetchContactsMenu:(d=regeneratorRuntime.mark((function t(){var e,n,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e=encodeURIComponent(this.user),t.next=4,r.a.post(OC.generateUrl("contactsmenu/findOne"),"shareType=0&shareWith=".concat(e));case 4:n=t.sent,i=n.data,this.contactsMenuActions=[i.topAction].concat(i.actions),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(0),this.contactsMenuOpenState=!1;case 12:this.isMenuLoaded=!0;case 13:case"end":return t.stop()}}),t,this,[[0,9]])})),f=function(){var t=this,e=arguments;return new Promise((function(n,i){var a=d.apply(t,e);function o(t){u(a,n,i,o,r,"next",t)}function r(t){u(a,n,i,o,r,"throw",t)}o(void 0)}))},function(){return f.apply(this,arguments)}),loadAvatarUrl:function(){var t=this;if(this.isAvatarLoaded=!1,!this.isUrlDefined&&(!this.isUserDefined||this.isNoUser))return this.isAvatarLoaded=!0,v
/**
* @copyright Copyright (c) 2018 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
e.default=m},function(t,e,n){"use strict";var i={name:"ActionButton",mixins:[n(25).a],props:{disabled:{type:Boolean,default:!1}},computed:{isFocusable:function(){return!this.disabled}}},a=(n(112),n(0)),o=n(50),r=n.n(o),s=Object(a.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{class:{"action--disabled":t.disabled}},[n("button",{staticClass:"action-button",class:{focusable:t.isFocusable},on:{click:t.onClick}},[n("span",{staticClass:"action-button__icon",class:[t.isIconUrl?"action-button__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?"url("+t.icon+")":null}}),t._v(" "),t.title?n("p",[n("strong",{staticClass:"action-button__title"},[t._v("\n\t\t\t\t"+t._s(t.title)+"\n\t\t\t")]),t._v(" "),n("br"),t._v(" "),n("span",{staticClass:"action-button__longtext",domProps:{textContent:t._s(t.text)}})]):t.isLongText?n("p",{staticClass:"action-button__longtext",domProps:{textContent:t._s(t.text)}}):n("span",{staticClass:"action-button__text"},[t._v(t._s(t.text))]),t._v(" "),t._e()],2)])}),[],!1,null,"42604de1",null);"function"==typeof r.a&&r()(s),e.a=s.exports},function(t,e){t.exports=i(333)},function(t,e){},function(t,e){},function(t,e,n){var i=n(135);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("a39cae00",i,!0,{})},function(t,e,n){var i=n(141);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("05387ef8",i,!0,{})},function(t,e,n){var i=n(143);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("a375d0ac",i,!0,{})},function(t,e,n){"use strict";n.r(e);var i=n(35);n.d(e,"Actions",(function(){return i.a})),
/**
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
e.default=i.a},function(t,e,n){"use strict";n.r(e);var i={name:"Popover",components:{VPopover:n(4).VPopover}},a=(n(114),n(0)),o=n(51),r=n.n(o),s=Object(a.a)(i,(function(){var t=this.$createElement,e=this._self._c||t;return e("VPopover",this._g(this._b({staticClass:"popover"},"VPopover",this.$attrs,!1),this.$listeners),[this._t("trigger"),this._v(" "),e("template",{slot:"popover"},[this._t("default")],2)],2)}),[],!1,null,"f4d0a772",null);"function"==typeof r.a&&r()(s);var c=s.exports;n.d(e,"Popover",(function(){return c})),
/**
* @copyright Copyright (c) 2019 Marco Ambrosini <marcoambrosini@pm.me>
*
* @author Marco Ambrosini <marcoambrosini@pm.me>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
e.default=c},function(t,e){t.exports=i(341)},function(t,e){t.exports=i(366)},function(t,e){t.exports=i(342)},function(t,e){t.exports=i(343)},function(t,e){t.exports=i(344)},function(t,e,n){"use strict";var i=n(27);n.n(i).a},function(t,e,n){(e=n(1)(!1)).push([t.i,"\nbutton.menuitem[data-v-8dc4efb0] {\n\ttext-align: left;\n}\nbutton.menuitem *[data-v-8dc4efb0] {\n\tcursor: pointer;\n}\nbutton.menuitem[data-v-8dc4efb0]:disabled {\n\topacity: 0.5 !important;\n\tcursor: default;\n}\nbutton.menuitem:disabled *[data-v-8dc4efb0] {\n\tcursor: default;\n}\n.menuitem.active[data-v-8dc4efb0] {\n\tbox-shadow: inset 2px 0 var(--color-primary);\n\tborder-radius: 0;\n}\n",""]),t.exports=e},function(t,e,n){"use strict";var i=n(28);n.n(i).a},function(t,e,n){(e=n(1)(!1)).push([t.i,"li[data-v-8dc4efb0]{display:flex;flex:0 0 auto}li.hidden[data-v-8dc4efb0]{display:none}li>button[data-v-8dc4efb0],li>a[data-v-8dc4efb0],li>.menuitem[data-v-8dc4efb0]{cursor:pointer;line-height:44px;border:0;border-radius:0;background-color:transparent;display:flex;align-items:flex-start;height:auto;margin:0;padding:0;font-weight:normal;box-shadow:none;width:100%;color:var(--color-main-text);white-space:nowrap;opacity:.7}li>button span[class^='icon-'][data-v-8dc4efb0],li>button span[class*=' icon-'][data-v-8dc4efb0],li>button[class^='icon-'][data-v-8dc4efb0],li>button[class*=' icon-'][data-v-8dc4efb0],li>a span[class^='icon-'][data-v-8dc4efb0],li>a span[class*=' icon-'][data-v-8dc4efb0],li>a[class^='icon-'][data-v-8dc4efb0],li>a[class*=' icon-'][data-v-8dc4efb0],li>.menuitem span[class^='icon-'][data-v-8dc4efb0],li>.menuitem span[class*=' icon-'][data-v-8dc4efb0],li>.menuitem[class^='icon-'][data-v-8dc4efb0],li>.menuitem[class*=' icon-'][data-v-8dc4efb0]{min-width:0;min-height:0;background-position:14px center;background-size:16px}li>button span[class^='icon-'][data-v-8dc4efb0],li>button span[class*=' icon-'][data-v-8dc4efb0],li>a span[class^='icon-'][data-v-8dc4efb0],li>a span[class*=' icon-'][data-v-8dc4efb0],li>.menuitem span[class^='icon-'][data-v-8dc4efb0],li>.menuitem span[class*=' icon-'][data-v-8dc4efb0]{padding:22px 0 22px 44px}li>button:not([class^='icon-']):not([class*='icon-'])>span[data-v-8dc4efb0]:not([class^='icon-']):not([class*='icon-']):first-child,li>button:not([class^='icon-']):not([class*='icon-'])>input[data-v-8dc4efb0]:not([class^='icon-']):not([class*='icon-']):first-child,li>button:not([class^='icon-']):not([class*='icon-'])>form[data-v-8dc4efb0]:not([class^='icon-']):not([class*='icon-']):first-child,li>a:not([class^='icon-']):not([class*='icon-'])>span[data-v-8dc4efb0]:not([class^='icon-']):not([class*='icon-']):first-child,li>a:not([class^='icon-']):not([class*='icon-'])>input[data-v-8dc4efb0]:not([class^='icon-']):not([class*='icon-']):first-child,li>a:not([class^='icon-']):not([class*='icon-'])>form[data-v-8dc4efb0]:not([class^='icon-']):not([class*='icon-']):first-child,li>.menuitem:not([class^='icon-']):not([class*='icon-'])>span[data-v-8dc4efb0]:not([class^='icon-']):not([class*='icon-']):first-child,li>.menuitem:not([class^='icon-']):not([class*='icon-'])>input[data-v-8dc4efb0]:not([class^='icon-']):not([class*='icon-']):first-child,li>.menuitem:not([class^='icon-']):not([class*='icon-'])>form[data-v-8dc4efb0]:not([class^='icon-']):not([class*='icon-']):first-child{margin-left:44px}li>button[class^='icon-'][data-v-8dc4efb0],li>button[class*=' icon-'][data-v-8dc4efb0],li>a[class^='icon-'][data-v-8dc4efb0],li>a[class*=' icon-'][data-v-8dc4efb0],li>.menuitem[class^='icon-'][data-v-8dc4efb0],li>.menuitem[class*=' icon-'][data-v-8dc4efb0]{padding:0 14px 0 44px}li>button[data-v-8dc4efb0]:not(:disabled):hover,li>button[data-v-8dc4efb0]:not(:disabled):focus,li>button:not(:disabled).active[data-v-8dc4efb0],li>a[data-v-8dc4efb0]:not(:disabled):hover,li>a[data-v-8dc4efb0]:not(:disabled):focus,li>a:not(:disabled).active[data-v-8dc4efb0],li>.menuitem[data-v-8dc4efb0]:not(:disabled):hover,li>.menuitem[data-v-8dc4efb0]:not(:disabled):focus,li>.menuitem:not(:disabled).active[data-v-8dc4efb0]{opacity:1 !important}li>button.action[data-v-8dc4efb0
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
e.default=i.a},function(t,e,n){var i=n(176);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("1369e34b",i,!0,{})},function(t,e,n){var i=n(178);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("8b8428ba",i,!0,{})},function(t,e,n){var i=n(180);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("ede0e406",i,!0,{})},function(t,e,n){var i=n(182);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("30f5de4e",i,!0,{})},function(t,e,n){var i=n(184);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("766647a2",i,!0,{})},function(t,e,n){var i=n(186);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("4ec64a44",i,!0,{})},function(t,e,n){var i=n(188);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("66fabc51",i,!0,{})},function(t,e,n){var i=n(190);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("19f30fef",i,!0,{})},function(t,e,n){var i=n(192);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("55b308c7",i,!0,{})},function(t,e,n){var i=n(194);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("03aa2e93",i,!0,{})},function(t,e,n){var i=n(196);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("2ebdb218",i,!0,{})},function(t,e,n){var i=n(198);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("0a84af6e",i,!0,{})},function(t,e,n){var i=n(200);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("168620f4",i,!0,{})},function(t,e,n){var i=n(202);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("7cd7396a",i,!0,{})},function(t,e,n){var i=n(204);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("927661a8",i,!0,{})},function(t,e,n){var i=n(206);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("3890adfa",i,!0,{})},function(t,e,n){var i=n(208);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("56fb5cfa",i,!0,{})},function(t,e,n){var i=n(210);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("3899c9e9",i,!0,{})},function(t,e,n){"use strict";n.r(e),n.d(e,"directive",(function(){return i}));
/**
* @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 i={inserted:function(t){t.focus()}};e.default=i},function(t,e,n){var i=n(213);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("694e6f44",i,!0,{})},function(t,e,n){var i=n(215);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("4dd3631b",i,!0,{})},function(t,e,n){var i=n(217);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("0a4af55c",i,!0,{})},function(t,e,n){var i=n(219);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("614ce5e5",i,!0,{})},function(t,e,n){var i=n(222);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("1451be5d",i,!0,{})},function(t,e,n){var i=n(224);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("2027e7d5",i,!0,{})},function(t,e,n){"use strict";n.r(e);var i=n(34),a=(n(130),n(136),n(137),n(16),n(61),n(46),n(138),n(30),n(3),n(17),n(18),n(13),n(110),n(36)),o=n.n(a),r=n(47),s=(n(139),n(20),n(21),{methods:{highlightText:function(t,e){return e.length?t.replace(new RegExp(e,"gi"),"<strong>".concat(e,"</strong>")):t}}}),c={name:"AvatarSelectOption",components:{Avatar:r.default},mixins:[s],props:{desc:{type:String,default:""},displayName:{type:String,required:!0},icon:{type:String,default:""},user:{type:String,default:""},isNoUser:{type:Boolean,default:!1},search:{type:String,default:""}},computed:{highlightedDisplayName:function(){return this.highlightText(o()(this.displayName),this.search)},highlightedDesc:function(){return this.highlightText(o()(this.desc),this.search)}}},l=(n(140),n(0)),A=n(69),u=n.n(A),d=Object(l.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"option"},[n("Avatar",{staticClass:"option__avatar",attrs:{"display-name":t.displayName,user:t.user,"is-no-user":t.isNoUser,"disable-menu":!0,"disable-tooltip":!0}}),t._v(" "),n("div",{staticClass:"option__desc"},[n("span",{staticClass:"option__desc--lineone",domProps:{innerHTML:t._s(t.highlightedDisplayName)}}),t._v(" "),""!==t.desc?n("span",{staticClass:"option__desc--linetwo",domProps:{innerHTML:t._s(t.highlightedDesc)}}):t._e()]),t._v(" "),""!==t.icon?n("span",{staticClass:"icon option__icon",class:t.icon}):t._e()],1)}),[],!1,null,"30d8da34",null);"function"==typeof u.a&&u()(d);var f=d.exports,p=(n(6),{name:"EllipsisedOption",mixins:[s],props:{option:{type:[String,Object],required:!0,default:""},label:{type:String,default:""},search:{type:String,default:""}},computed:{name:function(){return this.$parent.getOptionLabel(this.option)},needsTruncate:function(){return this.name&&this.name.length>=10},part1:function(){if(this.needsTruncate){var t=Math.min(Math.floor(this.name.length/2),10);return this.name.substr(0,this.name.length-t)}return this.name},part2:function(){if(this.needsTruncate){var t=Math.min(Math.floor(this.name.length/2),10);return this.name.substr(this.name.length-t)}return""},highlightedPart1:function(){return this.highlightText(o()(this.part1),this.search)},highlightedPart2:function(){return this.highlightText(o()(this.part2),this.search)}}}),h=(n(142),Object(l.a)(p,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"name-parts",attrs:{title:t.name}},[n("span",{staticClass:"name-parts__first",domProps:{innerHTML:t._s(t.highlightedPart1)}}),t._v(" "),t.part2?n("span",{staticClass:"name-parts__last",domProps:{innerHTML:t._s(t.highlightedPart2)}}):t._e()])}),[],!1,null,"c4325954",null).exports),v=n(12),g=n(111);function b(t){return(b="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 m={name:"Multiselect",components:{AvatarSelectOption:f,EllipsisedOption:h,VueMultiselect:n.n(g).a},directives:{tooltip:v.default},inheritAttrs:!1,props:{value:{default:function(){return[]}},multiple:{type:Boolean,default:!1},limit:{type:Number,default:99999},label:{type:String,default:""},trackBy:{type:Stri
/**
* @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(i.a)(_),e.default=_},function(t,e,n){"use strict";n.r(e);var i=n(34),a=n(58),o=n.n(a);o.a.components.CalendarPanel.components.PanelTime.methods.stringifyText=function(t){return t},o.a.methods.displayPopup=function(){var t=this.$el.querySelector(".mx-datepicker-popup");t&&!t.classList.contains("popovermenu")&&(t.className+=" popovermenu menu-center open")};var r={name:"DatetimePicker",components:{DatePicker:o.a},inheritAttrs:!1,props:{value:{default:function(){return new Date}}},methods:{handleSelectYear:function(t){var e=this.$refs.datepicker.currentValue;if(e)try{var n=new Date(new Date(e).setFullYear(t));this.$refs.datepicker.selectDate(n)}catch(n){console.error("Invalid value",e,t)}},handleSelectMonth:function(t){var e=this.$refs.datepicker.currentValue;if(e)try{var n=new Date(new Date(e).setMonth(t));this.$refs.datepicker.selectDate(n)}catch(n){console.error("Invalid value",e,t)}}}},s=n(0),c=n(68),l=n.n(c),A=Object(s.a)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("DatePicker",t._g(t._b({ref:"datepicker",attrs:{clearable:!1,"minute-step":10,value:t.value},on:{"select-year":t.handleSelectYear,"select-month":t.handleSelectMonth,"update:value":function(e){return t.$emit("update:value",t.value)}},scopedSlots:t._u([t._l(t.$scopedSlots,(function(e,n){return{key:n,fn:function(e){return[t._t(n,null,null,e)]}}}))],null,!0)},"DatePicker",t.$attrs,!1),t.$listeners))}),[],!1,null,null,null);"function"==typeof l.a&&l()(A);var u=A.exports;n(132),n.d(e,"DatetimePicker",(function(){return u})),
/**
* @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(i.a)(u),e.default=u},function(t,e,n){"use strict";n.r(e);var i=n(5),a=new(n.n(i).a)({data:function(){return{isMobile:!1}},watch:{isMobile:function(t){this.$emit("changed",t)}},created:function(){window.addEventListener("resize",this.handleWindowResize),this.handleWindowResize()},beforeDestroy:function(){window.removeEventListener("resize",this.handleWindowResize)},methods:{handleWindowResize:function(){this.isMobile=document.documentElement.clientWidth<1024}}});e.default={data:function(){return{isMobile:!1}},mounted:function(){a.$on("changed",this.onIsMobileChanged),this.isMobile=a.isMobile},beforeDestroy:function(){a.$off("changed",this.onIsMobileChanged)},methods:{onIsMobileChanged:function(t){this.isMobile=t}}}},function(t,e){t.exports=i(347)},function(t,e){t.exports=i(348)},function(t,e,n){"use strict";var i=n(39);n.n(i).a},function(t,e,n){(e=n(1)(!1)).push([t.i,"li.active[data-v-42604de1]{box-shadow:inset 4px 0 var(--color-primary)}.action--disabled[data-v-42604de1]{pointer-events:none;opacity:.5}.action--disabled[data-v-42604de1]:hover,.action--disabled[data-v-42604de1]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-42604de1]{opacity:1 !important}.action-button[data-v-42604de1]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;padding-right:14px;cursor:pointer;white-space:nowrap;opacity:.7;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:normal;line-height:44px}.action-button[data-v-42604de1]:hover,.action-button[data-v-42604de1]:focus{opacity:1}.action-button>span[data-v-42604de1]{cursor:pointer;white-space:nowrap}.action-button__icon[data-v-42604de1]{width:44px;height:44px;opacity:1;background-position:14px center;background-size:16px}.action-button p[data-v-42604de1]{width:150px;padding:7px 0;margin:auto;cursor:pointer;text-align:left;line-height:1.6em}.action-button__longtext[data-v-42604de1]{cursor:pointer;white-space:pre-wrap}.action-button__title[data-v-42604de1]{font-weight:bold}\n",""]),t.exports=e},function(t,e,n){"use strict";var i=n(40);n.n(i).a},function(t,e,n){(e=n(1)(!1)).push([t.i,".popover[data-v-f4d0a772]{padding:0px !important}\n",""]),t.exports=e},function(t,e,n){"use strict";n.r(e);var i=(n(134),n(0)),a=Object(i.a)({name:"AppNavigationToggle",methods:{emitClick:function(){this.$emit("click")}}},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("a",{attrs:{id:"app-navigation-toggle",tabindex:"0",href:"#"},on:{click:function(e){return e.preventDefault(),t.emitClick(e)},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.preventDefault(),t.emitClick(e))}}})}),[],!1,null,"d9538ec8",null).exports;n.d(e,"AppNavigationSpacer",(function(){return a})),
/**
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
e.default=a},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){t.exports=i(349)},function(t,e){t.exports=i(377)},function(t,e,n){var i=n(133);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("600615ea",i,!0,{})},function(t,e,n){var i=n(1),a=n(7),o=n(8),r=n(9),s=n(10),c=n(11);e=i(!1);var l=a(o),A=a(r),u=a(s),d=a(c);e.push([t.i,'@font-face{font-family:"iconfont-vue-e729b2c";src:url('+l+");src:url("+l+') format("embedded-opentype"),url('+A+') format("woff"),url('+u+') format("truetype"),url('+d+') format("svg")}.icon{font-style:normal;font-weight:400}.icon.arrow-left-double:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.arrow-left:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.arrow-right-double:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.arrow-right:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.checkmark:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.close:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.confirm:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.menu:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.more:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.pause:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.play:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.triangle-s:before{font-family:"iconfont-vue-e729b2c";content:""}.mx-datepicker[data-v-e729b2c]{width:210px;color:inherit;user-select:none;position:relative;display:inline-block}.mx-datepicker[data-v-e729b2c].disabled{opacity:.7;cursor:not-allowed}.mx-datepicker[data-v-e729b2c] .mx-input-wrapper .mx-input{width:100%}.mx-datepicker[data-v-e729b2c] .mx-input-wrapper .mx-input-append{position:absolute;top:0;right:0;width:30px;height:100%;padding:6px;background-color:var(--color-main-background);background-clip:content-box}.mx-datepicker[data-v-e729b2c] .mx-input-wrapper .mx-input-append .mx-input-icon{display:inline-block;font-style:normal;text-align:center;cursor:pointer}.mx-datepicker[data-v-e729b2c] .mx-input-wrapper .mx-input-append .mx-clear-wrapper{display:none}.mx-datepicker[data-v-e729b2c] .mx-input-wrapper .mx-input-append .mx-calendar-icon{stroke-width:8px;stroke:currentColor;fill:currentColor;width:100%;height:100%;color:var(--color-text-lighter)}.mx-datepicker[data-v-e729b2c] .mx-datepicker-popup{box-shadow:none;background-color:var(--color-main-background);position:absolute;margin-top:1px;margin-bottom:1px;z-index:1000}.mx-datepicker[data-v-e729b2c] .mx-range-wrapper{display:flex;overflow:hidden}.mx-datepicker[data-v-e729b2c] .mx-range-wrapper .mx-calendar:first-child{box-shadow:var(--color-border) 1px 0px !important}.mx-datepicker[data-v-e729b2c] .mx-range-wrapper .mx-calendar-content .mx-panel .cell.actived{border-radius:var(--border-radius) 0 0 var(--border-radius)}.mx-datepicker[data-v-e729b2c] .mx-range-wrapper .mx-calendar-content .mx-panel .cell.inrange+.cell.actived{border-radius:0 var(--border-radius) var(--border-radius) 0}.mx-datepicker[data-v-e729b2c] .mx-shortcuts-wrapper{display:flex;justify-content:space-evenly;padding:5px;border-bottom:1px solid var(--color-border)}.mx-datepicker[data-v-e729b2c] .mx-shortcuts-wrapper .mx-shortcuts{font-weight:normal}.mx-datepicker[data-v-e729b2c] .mx-calendar{font:inherit;color:var(--color-main-text);padding:5px;width:234px}.mx-datepicker[data-v-e729b2c] .mx-calendar-header{padding:0 4px;margin-bottom:4px;text-align:center;overflow:hidden;display:flex;align-items:center;justify-content:space-between}.mx-datepicker[data-v-e729b2c] .mx-calendar-header>a{text-decoration:none;cursor:pointer;color:var(--color-text-lighter);padding:7px 10px;margin:0 auto;border-radius:32px;height:32px;line-height:20px;min-width:32px}.mx-datepicker[data-v-e729b2c] .mx-calendar-header>a:hover,.mx-datepicker[data-v-e729b2c] .mx-calendar-header>a:focus{opacity:
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
e.default={data:function(){return{isFullscreen:this._isFullscreen()}},beforeMount:function(){window.addEventListener("resize",this._onResize)},beforeDestroy:function(){window.removeEventListener("resize",this._onResize)},methods:{_onResize:function(){this.isFullscreen=this._isFullscreen()},_isFullscreen:function(){return window.outerHeight===screen.height}}}},function(t,e,n){"use strict";n.r(e);var i=n(15),a=n(35),o=n(48),r={name:"AppNavigationIconCollapsible",props:{open:{type:Boolean,default:!0}},methods:{onClick:function(t){this.$emit("click",t)}}},s=(n(201),n(0)),c=Object(s.a)(r,(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,"39375008",null).exports,l=n(109),A={name:"AppNavigationItem",components:{Actions:a.a,ActionButton:o.a,AppNavigationIconCollapsible:c},directives:{ClickOutside:i.directive},mixins:[l.default],props:{title:{type:String,required:!0},icon:{type:String,default:""},loading:{type:Boolean,default:!1},to:{type:[String,Object],default:""},exact:{type:Boolean,default:!1},allowCollapse:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},editLabel:{type:String,default:""},editPlaceholder:{type:String,default:""},pinned:{type:Boolean,default:!1},undo:{type:Boolean,default:!1},open:{type:Boolean,default:!1},menuOpen:{type:Boolean,default:!1},menuIcon:{type:String,default:void 0}},data:function(){return{newTitle:"",opened:this.open,menuOpened:this.menuOpen,editing:!1}},computed:{collapsible:function(){return this.allowCollapse&&!!this.$slots.default},isIconShown:function(){return!this.collapsible||this.collapsible&&!this.isMobile},canHaveChildren:function(){return"AppNavigationItem"!==this.$parent.$options._componentTag},hasChildren:function(){return!!this.$slots.default},hasUtils:function(){return!this.editing&&!!(this.$slots.actions||this.$slots.counter||this.editable||this.undo)},navElement:function(){return this.to?{is:"router-link",tag:"li",to:this.to,exact:this.exact}:{is:"li"}}},watch:{open:function(t){this.opened=t},menuOpen:function(t){this.menuOpened=t}},methods:{onMenuToggle:function(t){this.menuOpened=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.newTitle=this.title,this.editing=!0,this.onMenuToggle(!1),this.$nextTick((function(){t.$refs.inputTitle.focus()}))},cancelEdit:function(){this.editing=!1},handleRename:function(){this.$emit("update:title",this.newTitle),this.newTitle="",this.editing=!1},handleUndo:function(){this.$emit("undo")}}},u=(n(203),n(124)),d=n.n(u),f=Object(s.a)(A,(function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("nav-element",e._b({staticClass:"app-navigation-entry",class:{"app-navigation-entry--no-icon":!e.isIconShown,"app-navigation-entry--opened":e.opened,"app-navigation-entry--pinned":e.pinned,"app-navigation-entry--editing":e.editing,"app-navigation-entry--deleted":e.undo,"app-navigation-entry--collapsible":e.collapsible},attrs:{title:e.title}},"nav-element",e.navElement,!1),[e.undo||e.editing?e._e():i("a",{staticClass:"app-navigation-entry-link",attrs:{href:"#"},on:{click:e.onClick}},[i("div",{staticClass:"app-navigation-entry-icon",class:(t={"icon-loading-small":e.loading},t[e.icon]=e.icon&&e.isIconShown,t)},[e.loading?e._e():e._t("icon")],2),e._v(" "),i("span",{staticClass:"app-navigation-entry__title"},[e._v(e._s(e.title))])]),e._v(" "),e.collapsible?i("AppNavigationIconCollapsible",{attrs:{open:e.opened},on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.toggleCollapse(t)}}}):e._e(),e._v(" "),e.undo?i("div",{staticClass:"app-navigation-entry__deleted"},[i("div",{staticClass:"app-navigation-entry__deleted-description"},[e._v("\n\t\t\t"+e._s(e.title)+"\n\t\t")])]):e._e(),e._v(" "),e.hasUtils?i("div",{staticClass:"app-navigation-entry__utils"},[e._t("counter"),e._v(" "),i("Actions",{attrs:{"menu-align":"right",open:e.menuOpened,"default-
/**
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
e.default=p},function(e,n,i){"use strict";i.r(n);var a=i(34),o=(i(19),i(30),i(73)),r=i.n(o),s=i(55),c=i(81),l=i(12);
/**
* @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 A(t,e){var n,i,a,o=e;this.start=function(){a=!0,i=new Date,n=setTimeout(t,o)},this.pause=function(){a=!1,clearTimeout(n),o-=new Date-i},this.clear=function(){a=!1,clearTimeout(n),o=0},this.getTimeLeft=function(){return a&&(this.pause(),this.start()),o},this.getStateRunning=function(){return a},this.start()}var u={name:"Modal",components:{Actions:s.default,ActionButton:c.default},directives:{tooltip:l.default},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}},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?t("core","Pause slideshow"):t("core","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)},mounted:function(){var t=this;this.showModal=!0,this.handleMouseMove(),this.mc=new r.a(this.$refs.mask),this.mc.on("swipeleft swiperight",(function(e){t.handleSwipe(e)})),document.body.insertBefore(this.$el,document.body.lastChild)},unmounted:function(){this.mc.off("swipeleft swiperight"),this.mc.destroy()},methods:{previous:function(t){this.hasPrevious&&(t&&this.resetSlideshow(),this.$emit("previous",t))},next:function(t){this.hasNext&&(t&&this.resetSlideshow(),this.$emit("next",t))},close:function(t){var e=this;this.canClose&&(this.showModal=!1,setTimeout((function(){e.$emit("close",t)}),300))},handleKeydown:function(t){switch(t.keyCode){case 37:this.previous(t);break;case 13:case 39:this.next(t);break;case 27:this.close(t)}},handleSwipe:function(t){this.enableSwipe&&("swipeleft"===t.type?this.next(t):"swiperight"===t.type&&this.previous(t))},handleMouseMove:function(){var t=this;this.clearViewDelay>0&&(this.clearView=!1,clearTimeout(this.clearViewTimeout),this.clearViewTimeout=setTimeout((function(){t.clearView=!0}),this.clearViewDelay))},togglePlayPause:function(){this.playing=!this.playing,this.playing?this.handleSlideshow():this.clearSlideshowTimeout()},resetSlideshow:function(){this.playing=!this.playing,this.clearSlideshowTimeout(),this.$nextTick((function(){this.togglePlayPause()}))},handleSlideshow:function(){var t=this;this.playing=!0,this.hasNext?this.slideshowTimeout=new A((function(){t.next(),t.handleSlideshow()}),this.slideshowDelay):(this.playing=!1,this.clearSlideshowTimeout())},clearSlideshowTimeout:function(){this.slideshowTimeout&&this.slideshowTimeout.clear()}}},d=(i(218),i(0)),f=i(126),p=i.n(f),h=Object(d.a)(u,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"fade"}},[n("div",{ref:"mask",staticClass:"modal-mask",class:{"modal-mask--dark":t.dark},on:{click:t.handleMouseMove,mousemove:t.handleMouseMove,touchmove:t.handleMouseMove}},[n("transition",{attrs:{name:"fade-visibility"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:!t.clearView,expression:"!clearView"}],staticClass:"modal-header",class:{invisible:t.clearView}},[""!==t.title.trim()?n("div",{staticClass:"modal-title"},[t._v("\n\t\t\t\t\t"+t._s(t.title)+"\n\t\t\t\t")]):t._e(),t._v(" "),n("div",{staticClass:"icons-menu"},[t.hasNext&&t.enableSlideshow?n("button",{directives:[{name:"tooltip",rawName:"v-tooltip.auto",value:t.playPauseTitle,expression:"playPauseTitle",modifiers:{auto:!0}}],staticClass:"play-pause",class:{"play-pau
/**
* @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(a.a)(v),n.default=v},function(e,n,i){"use strict";i.r(n),i(49),i(220),i(46),i(30),i(3),i(59),i(13),i(21),i(60);var a=i(107),o=i(45),r=i.n(o),s=i(146);function c(t,e,n,i,a,o,r){try{var s=t[o](r),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(i,a)}
/**
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/var l=function(t){var e=function t(e){var n={};if(1===e.nodeType){if(e.attributes.length>0){n["@attributes"]={};for(var i=0;i<e.attributes.length;i++){var a=e.attributes.item(i);n["@attributes"][a.nodeName]=a.nodeValue}}}else 3===e.nodeType&&(n=e.nodeValue);if(e.hasChildNodes())for(var o=0;o<e.childNodes.length;o++){var r=e.childNodes.item(o),s=r.nodeName;if(void 0===n[s])n[s]=t(r);else{if(void 0===n[s].push){var c=n[s];n[s]=[],n[s].push(c)}n[s].push(t(r))}}return n}(function(t){var e=null;try{e=(new DOMParser).parseFromString(t,"text/xml")}catch(t){console.error("Failed to parse xml document",t)}return e}(t))["d:multistatus"]["d:response"],n=[];for(var i in e){var a=e[i]["d:propstat"];"HTTP/1.1 200 OK"===a["d:status"]["#text"]&&n.push({id:parseInt(a["d:prop"]["oc:id"]["#text"]),displayName:a["d:prop"]["oc:display-name"]["#text"],canAssign:"true"===a["d:prop"]["oc:can-assign"]["#text"],userAssignable:"true"===a["d:prop"]["oc:user-assignable"]["#text"],userVisible:"true"===a["d:prop"]["oc:user-visible"]["#text"]})}return n},A=function(){var t,e=(t=regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!window.NextcloudVueDocs){t.next=2;break}return t.abrupt("return",Promise.resolve(l(window.NextcloudVueDocs.tags)));case 2:return t.next=4,r()({method:"PROPFIND",url:Object(s.generateRemoteUrl)("dav")+"/systemtags/",data:'<?xml version="1.0"?>\n\t\t\t\t\t<d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">\n\t\t\t\t\t <d:prop>\n\t\t\t\t\t\t<oc:id />\n\t\t\t\t\t\t<oc:display-name />\n\t\t\t\t\t\t<oc:user-visible />\n\t\t\t\t\t\t<oc:user-assignable />\n\t\t\t\t\t\t<oc:can-assign />\n\t\t\t\t\t </d:prop>\n\t\t\t\t\t</d:propfind>'});case 4:return e=t.sent,t.abrupt("return",l(e.data));case 6:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,a){var o=t.apply(e,n);function r(t){c(o,i,a,r,s,"next",t)}function s(t){c(o,i,a,r,s,"throw",t)}r(void 0)}))});return function(){return e.apply(this,arguments)}}();function u(t,e,n,i,a,o,r){try{var s=t[o](r),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(i,a)}var d,f,p={name:"MultiselectTags",components:{Multiselect:a.Multiselect},props:{label:{type:String,default:t("systemtags","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:(d=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,A();case 3:e=t.sent,this.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,this,[[0,7]])})),f=function(){var t=this,e=arguments;return new Promise((function(n,i){var a=d.apply(t,e);function o(t){u(a,n,i,o,r,"next",t)}function r(t){u(a,n,i,o,r,"throw",t)}o(void 0)}))},function(){return f.apply(this,arguments)}),methods:{getValueObject:function(){var t=this;return 0===this.tags.length?[]:this.multiple?this.value.filter((function(t){return""!==t})).map((function(e){return t.tags.find((function(t){return t.id===e}))})):this.tags.find((function(e){return e.id===t.value}))},update:function(t){this.multiple?this.$emit("input",t.map((function(t){return t.id}))):null===t?this.$emit("input",null):this.$emit("input",t.id)},tagLabel:function(e){var n=e.displayName,i=e.userVisible,a=e.userAssignable;return!1===i?t("systemtags","%s (invisible)").replace("%s",n):!1===a?t("systemtags","%s (restricted)").replace("%s",n):n}}},h=i(0),v=i(127),g=i.n(v),b=Object(h.a)(p,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Multiselect",{attrs:{value:t.inputValue,options:t.tags,"options-limit":5,placeholder:t.label,"track-by":"id","custom-label":t.tagLabel,multiple:t.multiple,"close-on-select":t.multiple,"tag-width":60,disabled:t.disabled},on:{input:t.update},scopedSlots:t._u([{key:"option",fn:fun
/**
* @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=m},function(t,e,n){"use strict";n.r(e),n(30),n(24);var i=n(14),a=n(22),o={name:"ActionCheckbox",mixins:[i.a],props:{id:{type:String,default:function(){return"action-"+Object(a.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")}}},r=(n(175),n(0)),s=n(117),c=n.n(s),l=Object(r.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{class:{"action--disabled":t.disabled}},[n("span",{staticClass:"action-checkbox"},[n("input",{ref:"checkbox",staticClass:"checkbox action-checkbox__checkbox",class:{focusable:t.isFocusable},attrs:{id:t.id,disabled:t.disabled,type:"checkbox"},domProps:{checked:t.checked,value:t.value},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.preventDefault(),t.checkInput(e))},change:t.onChange}}),t._v(" "),n("label",{ref:"label",staticClass:"action-checkbox__label",attrs:{for:t.id}},[t._v(t._s(t.text))]),t._v(" "),t._e()],2)])}),[],!1,null,"e8e451cc",null);"function"==typeof c.a&&c()(l);var A=l.exports;n.d(e,"ActionCheckbox",(function(){return A})),
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
e.default=A},function(t,e,n){"use strict";n.r(e),n(19),n(16),n(3),n(17),n(24),n(18),n(23);var i=n(14),a=n(22),o={name:"ActionInput",components:{DatetimePicker:n(108).default},mixins:[i.a],props:{id:{type:String,default:function(){return"action-"+Object(a.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","number","password","search","tel","text","time","url","week"].indexOf(t)>-1}},value:{type:String,default:""},disabled:{type:Boolean,default:!1}},computed:{isIconUrl:function(){try{return new URL(this.icon)}catch(t){return!1}},isDatePickerType:function(){switch(this.type){case"date":case"month":case"time":return this.type;case"datetime-local":return"datetime"}return!1},isFocusable:function(){return!this.disabled}},methods:{onLeave:function(){this.$refs.datetimepicker&&this.$refs.datetimepicker.$refs.datepicker&&this.$refs.datetimepicker.$refs.datepicker.closePopup()},onInput:function(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)}}},r=(n(177),n(0)),s=n(118),c=n.n(s),l=Object(r.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{class:{"action--disabled":t.disabled}},[n("span",{staticClass:"action-input",class:{"action-input--picker":t.isDatePickerType,"action-input-picker--disabled":t.disabled},on:{mouseleave:t.onLeave}},[n("span",{staticClass:"action-input__icon",class:[t.isIconUrl?"action-input__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?"url("+t.icon+")":null}}),t._v(" "),n("form",{ref:"form",staticClass:"action-input__form",attrs:{disabled:t.disabled},on:{submit:function(e){return e.preventDefault(),t.onSubmit(e)}}},[t.isDatePickerType?n("DatetimePicker",t._b({ref:"datetimepicker",staticClass:"action-input__picker",attrs:{value:t.value,placeholder:t.text,disabled:t.disabled,type:t.isDatePickerType,"input-class":["mx-input",{focusable:t.isFocusable}]},on:{input:t.onInput,change:t.onChange}},"DatetimePicker",t.$attrs,!1)):[n("input",{staticClass:"action-input__submit",attrs:{id:t.id,type:"submit"}}),t._v(" "),n("input",t._b({staticClass:"action-input__input",class:{focusable:t.isFocusable},attrs:{type:t.type,placeholder:t.text,disabled:t.disabled},domProps:{value:t.value},on:{input:t.onInput,change:t.onChange}},"input",t.$attrs,!1)),t._v(" "),n("label",{directives:[{name:"show",rawName:"v-show",value:!t.disabled,expression:"!disabled"}],staticClass:"action-input__label",attrs:{for:t.id}})]],2)])])}),[],!1,null,"e093ae26",null);"function"==typeof c.a&&c()(l);var A=l.exports;n.d(e,"ActionInput",(function(){return A})),
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
e.default=A},function(t,e,n){"use strict";n.r(e),n(19),n(16),n(3),n(17),n(131),n(18),n(23);var i={name:"ActionLink",mixins:[n(25).a],props:{href:{type:String,default:"#",required:!0,validator:function(t){try{return new URL(t)}catch(e){return t.startsWith("#")||t.startsWith("/")}}},download:{type:String,default:null},target:{type:String,default:"_self",validator:function(t){return["_blank","_self","_parent","_top"].indexOf(t)>-1}}}},a=(n(179),n(0)),o=n(119),r=n.n(o),s=Object(a.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",[n("a",{staticClass:"action-link focusable",attrs:{download:t.download,href:t.href,target:t.target,rel:"noreferrer noopener"},on:{click:t.onClick}},[n("span",{staticClass:"action-link__icon",class:[t.isIconUrl?"action-link__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?"url("+t.icon+")":null}}),t._v(" "),t.title?n("p",[n("strong",{staticClass:"action-link__title"},[t._v("\n\t\t\t\t"+t._s(t.title)+"\n\t\t\t")]),t._v(" "),n("br"),t._v(" "),n("span",{staticClass:"action-link__longtext",domProps:{textContent:t._s(t.text)}})]):t.isLongText?n("p",{staticClass:"action-link__longtext",domProps:{textContent:t._s(t.text)}}):n("span",{staticClass:"action-link__text"},[t._v(t._s(t.text))]),t._v(" "),t._e()],2)])}),[],!1,null,"84686d94",null);"function"==typeof r.a&&r()(s);var c=s.exports;n.d(e,"ActionLink",(function(){return c})),
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
e.default=c},function(t,e,n){"use strict";n.r(e),n(30),n(24);var i=n(14),a=n(22),o={name:"ActionRadio",mixins:[i.a],props:{id:{type:String,default:function(){return"action-"+Object(a.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)}}},r=(n(181),n(0)),s=n(120),c=n.n(s),l=Object(r.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{class:{"action--disabled":t.disabled}},[n("span",{staticClass:"action-radio"},[n("input",{ref:"radio",staticClass:"radio action-radio__radio",class:{focusable:t.isFocusable},attrs:{id:t.id,disabled:t.disabled,name:t.name,type:"radio"},domProps:{checked:t.checked,value:t.value},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.preventDefault(),t.toggleInput(e))},change:t.onChange}}),t._v(" "),n("label",{ref:"label",staticClass:"action-radio__label",attrs:{for:t.id}},[t._v(t._s(t.text))]),t._v(" "),t._e()],2)])}),[],!1,null,"2f82ba38",null);"function"==typeof c.a&&c()(l);var A=l.exports;n.d(e,"ActionRadio",(function(){return A})),
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
e.default=A},function(t,e,n){"use strict";n.r(e);var i={name:"ActionRouter",mixins:[n(25).a],props:{to:{type:[String,Object],default:"",required:!0},exact:{type:Boolean,default:!1}}},a=(n(183),n(0)),o=Object(a.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",[n("router-link",{staticClass:"action-router focusable",attrs:{to:t.to,exact:t.exact,rel:"noreferrer noopener"}},[n("span",{staticClass:"action-router__icon",class:[t.isIconUrl?"action-router__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?"url("+t.icon+")":null}}),t._v(" "),t.title?n("p",[n("strong",{staticClass:"action-router__title"},[t._v("\n\t\t\t\t"+t._s(t.title)+"\n\t\t\t")]),t._v(" "),n("br"),t._v(" "),n("span",{staticClass:"action-router__longtext",domProps:{textContent:t._s(t.text)}})]):t.isLongText?n("p",{staticClass:"action-router__longtext",domProps:{textContent:t._s(t.text)}}):n("span",{staticClass:"action-router__text"},[t._v(t._s(t.text))]),t._v(" "),t._e()],2)],1)}),[],!1,null,"3bf6846c",null).exports;n.d(e,"ActionRouter",(function(){return o})),
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
e.default=o},function(t,e,n){"use strict";n.r(e);var i=(n(185),n(0)),a=Object(i.a)({name:"ActionSeparator"},(function(){var t=this.$createElement;return(this._self._c||t)("li",{staticClass:"action-separator action--disabled"})}),[],!1,null,"1656306f",null).exports;n.d(e,"ActionSeparator",(function(){return a})),
/**
* @copyright Copyright (c) 2019 Nextcloud et al.
*
* @author Kristof Hamann
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
e.default=a},function(t,e,n){"use strict";n.r(e);var i={name:"ActionText",mixins:[n(25).a]},a=(n(187),n(0)),o=Object(a.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",[n("span",{staticClass:"action-text"},[""!==t.icon?n("span",{staticClass:"action-text__icon",class:[t.isIconUrl?"action-text__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?"url("+t.icon+")":null}}):t._e(),t._v(" "),t.title?n("p",[n("strong",{staticClass:"action-text__title"},[t._v("\n\t\t\t\t"+t._s(t.title)+"\n\t\t\t")]),t._v(" "),n("br"),t._v(" "),n("span",{staticClass:"action-text__longtext",domProps:{textContent:t._s(t.text)}})]):t.isLongText?n("p",{staticClass:"action-text__longtext",domProps:{textContent:t._s(t.text)}}):n("span",{staticClass:"action-text__text"},[t._v(t._s(t.text))]),t._v(" "),t._e()],2)])}),[],!1,null,"8b05f97c",null).exports;n.d(e,"ActionText",(function(){return o})),
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
e.default=o},function(t,e,n){"use strict";n.r(e),n(24);var i=n(25),a=n(22),o={name:"ActionTextEditable",mixins:[i.a],props:{id:{type:String,default:function(){return"action-"+Object(a.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)}}},r=(n(189),n(0)),s=n(121),c=n.n(s),l=Object(r.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{class:{"action--disabled":t.disabled}},[n("span",{staticClass:"action-text-editable"},[n("span",{staticClass:"action-text-editable__icon",class:[t.isIconUrl?"action-text-editable__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?"url("+t.icon+")":null}}),t._v(" "),n("form",{ref:"form",staticClass:"action-text-editable__form",attrs:{disabled:t.disabled},on:{submit:function(e){return e.preventDefault(),t.onSubmit(e)}}},[n("input",{staticClass:"action-text-editable__submit",attrs:{id:t.id,type:"submit"}}),t._v(" "),t.title?n("strong",{staticClass:"action-text__title"},[t._v("\n\t\t\t\t"+t._s(t.title)+"\n\t\t\t")]):t._e(),t._v(" "),n("textarea",t._b({class:["action-text-editable__textarea",{focusable:t.isFocusable}],attrs:{disabled:t.disabled},domProps:{value:t.value},on:{input:t.onInput}},"textarea",t.$attrs,!1)),t._v(" "),n("label",{directives:[{name:"show",rawName:"v-show",value:!t.disabled,expression:"!disabled"}],staticClass:"action-text-editable__label",attrs:{for:t.id}})])])])}),[],!1,null,"43b509b7",null);"function"==typeof c.a&&c()(l);var A=l.exports;n.d(e,"ActionTextEditable",(function(){return A})),
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
e.default=A},function(t,e,n){"use strict";n.r(e);var i=n(73),a=n.n(i),o={name:"AppContent",components:{AppNavigationToggle:n(116).default},data:function(){return{opened:!1}},mounted:function(){var t=this;this.mc=new a.a(this.$el,{cssProps:{userSelect:"text"}}),this.mc.on("swipeleft swiperight",(function(e){t.handleSwipe(e)}))},unmounted:function(){this.mc.off("swipeleft swiperight"),this.mc.destroy()},methods:{toggleNavigation:function(t){this.opened=t||!this.opened,this.opened?document.body.classList.add("nav-open"):document.body.classList.remove("nav-open")},handleSwipe:function(t){var e=t.srcEvent.pageX-t.deltaX,n=Math.abs(t.deltaX)>70;n&&e<40?this.toggleNavigation(!0):this.opened&&n&&e<340&&this.toggleNavigation(!1)}}},r=(n(191),n(0)),s=Object(r.a)(o,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"no-snapper",style:this.opened?"transform: translateX(300px)":"",attrs:{id:"app-content"}},[e("AppNavigationToggle",{attrs:{"aria-expanded":this.opened,"aria-controls":"app-navigation"},on:{click:this.toggleNavigation}}),this._v(" "),this._t("default")],2)}),[],!1,null,"0fe2f738",null).exports;n.d(e,"AppContent",(function(){return s})),
/*
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
e.default=s},function(t,e,n){"use strict";n.r(e);var i=n(0),a=Object(i.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.d(e,"AppContentDetails",(function(){return a})),
/*
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
e.default=a},function(t,e,n){"use strict";n.r(e);var i={name:"AppContentList",props:{selection:{type:Boolean,default:!1},showDetails:{type:Boolean,default:!1}}},a=n(0),o=Object(a.a)(i,(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.d(e,"AppContentList",(function(){return o})),
/*
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
e.default=o},function(t,e,n){"use strict";n.r(e);var i=(n(193),n(0)),a=Object(i.a)({name:"AppNavigation"},(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"vue",attrs:{id:"app-navigation"}},[this._t("default")],2)}),[],!1,null,"104b2b10",null).exports;n.d(e,"AppNavigation",(function(){return a})),
/**
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
e.default=a},function(t,e,n){"use strict";n.r(e);var i={name:"AppNavigationCaption",props:{title:{type:String,required:!0}}},a=(n(195),n(0)),o=Object(a.a)(i,(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,"779383f0",null).exports;n.d(e,"AppNavigationCaption",(function(){return o})),e.default=o},function(t,e,n){"use strict";n.r(e);var i={name:"AppNavigationCounter",props:{highlighted:{type:Boolean,default:!1}}},a=(n(197),n(0)),o=n(122),r=n.n(o),s=Object(a.a)(i,(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,"c278d69a",null);"function"==typeof r.a&&r()(s);var c=s.exports;n.d(e,"AppNavigationCounter",(function(){return c})),
/**
* @copyright Copyright (c) 2019 Marco Ambrosini <marcoambrosini@pm.me>
*
* @author Marco Ambrosini <marcoambrosini@pm.me>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
e.default=c},function(t,e,n){"use strict";n.r(e),n(131);var i={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)}}},a=(n(199),n(0)),o=n(123),r=n.n(o),s=Object(a.a)(i,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"app-navigation-entry__icon-bullet",on:{click:this.onClick}},[e("div",{style:{backgroundColor:this.formattedColor}})])}),[],!1,null,"03654f22",null);"function"==typeof r.a&&r()(s);var c=s.exports;n.d(e,"AppNavigationIconBullet",(function(){return c})),
/**
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
e.default=c},function(t,e,n){"use strict";n.r(e);var i={props:{buttonId:{type:String,required:!1,default:""},buttonClass:{type:[String,Array,Object],required:!1,default:""},disabled:{type:Boolean,required:!1,default:!1},text:{type:String,required:!0}}},a=(n(205),n(0)),o=Object(a.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-navigation-new"},[n("button",{class:t.buttonClass,attrs:{id:t.buttonId,type:"button",disabled:t.disabled},on:{click:function(e){return t.$emit("click")}}},[t._v("\n\t\t"+t._s(t.text)+"\n\t")])])}),[],!1,null,"15885669",null).exports;n.d(e,"AppNavigationNew",(function(){return o})),
/*
* @copyright 2018 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2018 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
e.default=o},function(e,n,i){"use strict";i.r(n);var a={directives:{ClickOutside:i(15).directive},props:{title:{type:String,required:!1,default:t("core","Settings")}},data:function(){return{open:!1}},methods:{toggleMenu:function(){this.open=!this.open},closeMenu:function(){this.open=!1}}},o=(i(207),i(0)),r=Object(o.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.closeMenu,expression:"closeMenu"}],class:{open:t.open},attrs:{id:"app-settings"}},[n("div",{attrs:{id:"app-settings-header"}},[n("button",{staticClass:"settings-button",on:{click:t.toggleMenu}},[t._v("\n\t\t\t"+t._s(t.title)+"\n\t\t")])]),t._v(" "),n("transition",{attrs:{name:"slide-up"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],attrs:{id:"app-settings-content"}},[t._t("default")],2)])],1)}),[],!1,null,"7dc165a0",null).exports;i.d(n,"AppNavigationSettings",(function(){return r})),
/*
* @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=r},function(t,e,n){"use strict";n.r(e);var i=(n(209),n(0)),a=Object(i.a)({name:"AppNavigationSpacer"},(function(){var t=this.$createElement;return(this._self._c||t)("li",{staticClass:"app-navigation-spacer"})}),[],!1,null,"1c49eb12",null).exports;n.d(e,"AppNavigationSpacer",(function(){return a})),
/**
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
e.default=a},function(t,e,n){"use strict";n.r(e),n(49),n(211),n(19),n(6),n(24);var i=n(5),a=n.n(i),o=n(55),r=n(100),s=function(t){return t&&"string"==typeof t&&""!==t.trim()&&-1===t.indexOf(" ")},c={name:"AppSidebar",components:{Actions:o.default},directives:{focus:r.default},props:{active:{type:String,default:""},title:{type:String,default:"",required:!0},titleEditable:{type:Boolean,default:!1},titlePlaceholder:{type:String,default:""},subtitle:{type:String,default:""},background:{type:String,default:""},starred:{type:Boolean,default:null},starLoading:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1}},data:function(){return{tabs:[],activeTab:"",isStarred:this.starred,children:[]}},computed:{canStar:function(){return null!==this.isStarred},hasFigure:function(){return this.$slots.header||this.background},hasMultipleTabs:function(){return this.tabs.length>1},hasFigureClickListener:function(){return this.$listeners["figure-click"]},currentTabIndex:function(){var t=this;return this.tabs.findIndex((function(e){return e.id===t.activeTab}))}},watch:{active:function(t){t!==this.activeTab&&this.updateActive()},starred:function(){this.isStarred=this.starred},children:function(){this.updateTabs()}},mounted:function(){this.updateTabs(),this.children=this.$children},methods:{closeSidebar:function(t){this.$emit("close",t)},onFigureClick:function(t){this.$emit("figure-click",t)},setActive:function(t){var e=t.target.closest("a").dataset.id;this.activeTab=e,this.$emit("update:active",e)},focusPreviousTab:function(){this.currentTabIndex>0&&(this.activeTab=this.tabs[this.currentTabIndex-1].id,this.$emit("update:active",this.activeTab)),this.focusActiveTab()},focusNextTab:function(){this.currentTabIndex<this.tabs.length-1&&(this.activeTab=this.tabs[this.currentTabIndex+1].id,this.$emit("update:active",this.activeTab)),this.focusActiveTab()},focusFirstTab:function(){this.activeTab=this.tabs[0].id,this.$emit("update:active",this.activeTab),this.focusActiveTab()},focusLastTab:function(){this.activeTab=this.tabs[this.tabs.length-1].id,this.$emit("update:active",this.activeTab),this.focusActiveTab()},focusActiveTab:function(){this.$el.querySelector("#"+this.activeTab).focus()},focusActiveTabContent:function(){this.$el.querySelector("#tab-"+this.activeTab).focus()},updateActive:function(){var t=this;this.activeTab=this.active&&-1!==this.tabs.findIndex((function(e){return e.id===t.active}))?this.active:this.tabs.length>0?this.tabs[0].id:""},toggleStarred:function(){this.isStarred=!this.isStarred,this.$emit("update:starred",this.isStarred)},updateTabs:function(){var t=this.$children.filter((function(t){return t.name&&"string"==typeof t.name&&s(t.id)&&s(t.icon)}));0!==t.length&&t.length!==this.$children.length&&a.a.util.warn("Mixing tabs and non-tab-content is not possible."),this.tabs=t.sort((function(t,e){var n=t.order||0,i=e.order||0;return n===i?OC.Util.naturalSortCompare(t.name,e.name):n-i})),this.tabs.length>0&&this.updateActive()},onTitleInput:function(t){this.$emit("input-title",t),this.$emit("update:title",t.target.value)},onSubmitTitle:function(t){this.$emit("submit-title",t)},onDismissEditing:function(){this.$emit("dismiss-editing")}}},l=(n(212),n(214),n(0)),A=n(125),u=n.n(A),d=Object(l.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"slide-right"}},[n("aside",{attrs:{id:"app-sidebar"}},[n("header",{staticClass:"app-sidebar-header",class:{"app-sidebar-header--with-figure":t.hasFigure,"app-sidebar-header--compact":t.compact}},[n("a",{staticClass:"app-sidebar__close icon-close",attrs:{href:"#",title:t.t("core","close")},on:{click:function(e){return e.preventDefault(),t.closeSidebar(e)}}}),t._v(" "),t.hasFigure?n("div",{staticClass:"app-sidebar-header__figure",class:{"app-sidebar-header__figure--with-action":t.hasFigureClickListener},style:{backgroundImage:"url("+t.background+")"},on:{click:t.onFigureClick}},[t._t("header")],2):t._e(),t._v(" "),n("div",{staticClass:"app-sidebar-header__desc",class:{"app-sidebar-header__desc--with-star":t.canStar,
/*
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
e.default=f},function(t,e,n){"use strict";n.r(e),n(6),n(30),n(13),n(21);var i={name:"AppSidebarTab",props:{name:{type:String,default:"",required:!0},icon:{type:String,default:"",required:!0},order:{type:Number,default:0,required:!1}},computed:{id:function(){return this.name.toLowerCase().replace(/ /g,"-")},isActive:function(){return this.$parent.activeTab===this.id}}},a=(n(216),n(0)),o=Object(a.a)(i,(function(){var t=this.$createElement;return(this._self._c||t)("section",{directives:[{name:"show",rawName:"v-show",value:this.isActive,expression:"isActive"}],attrs:{id:"tab-"+this.id,"aria-hidden":!this.isActive,"aria-labelledby":this.name,tabindex:"0",role:"tabpanel"}},[this._t("default")],2)}),[],!1,null,"3f1c0b76",null).exports;n.d(e,"AppSidebarTab",(function(){return o})),
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
e.default=o},function(t,e,n){"use strict";n.r(e);var i={props:{appName:{type:String,required:!0}}},a=n(0),o=Object(a.a)(i,(function(){var t=this.$createElement;return(this._self._c||t)("div",{class:"app-"+this.appName,attrs:{id:"content"}},[this._t("default")],2)}),[],!1,null,null,null).exports;n.d(e,"Content",(function(){return o})),
/*
* @copyright 2018 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2018 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
e.default=o},function(t,e,n){"use strict";n.r(e),n(46),n(3),n(20);var i=n(147),a=n(41),o=n(56),r={name:"ColorPicker",components:{Chrome:i.Chrome,Popover:o.default},props:{value:{type:String,required:!0}},data:function(){var t=this;return{currentColor:this.value,advanced:!1,palette:Object(a.a)(4).map((function(e){return"#"+t.rgbToHex(e.r)+t.rgbToHex(e.g)+t.rgbToHex(e.b)})),open:!0}},watch:{value:function(t){this.currentColor=t}},methods:{handleConfirm:function(){this.$emit("close"),this.$emit("submit",this.currentColor),this.advanced=!1},handleBack:function(){this.advanced=!1},handleMoreSettings:function(){this.advanced=!0},pickColor:function(t){"string"!=typeof t&&(t=this.currentColor.hex),this.currentColor=t,this.$emit("close"),this.$emit("update:value",t),this.$emit("input",t)},rgbToHex:function(t){var e=t.toString(16);return 1===e.length?"0"+e:e}}},s=(n(221),n(0)),c=n(128),l=n.n(c),A=Object(s.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Popover",t._g(t._b({scopedSlots:t._u([{key:"trigger",fn:function(){return[t._t("default")]},proxy:!0}],null,!0)},"Popover",t.$attrs,!1),t.$listeners),[t._v(" "),n("div",{staticClass:"color-picker"},[n("transition",{attrs:{name:"slide",mode:"out-in"}},[t.advanced?t._e():n("div",{staticClass:"color-picker-simple"},t._l(t.palette,(function(e,i){return n("button",{key:i,staticClass:"color-picker-simple-color-circle",class:{"color-picker-simple-color-circle--active":e===t.currentColor},style:{"background-color":e},on:{click:function(n){return t.pickColor(e)}}})})),0),t._v(" "),t.advanced?n("Chrome",{staticClass:"color-picker-advanced",attrs:{"disable-alpha":!0,"disable-fields":!0},on:{input:t.pickColor},model:{value:t.currentColor,callback:function(e){t.currentColor=e},expression:"currentColor"}}):t._e()],1),t._v(" "),n("div",{staticClass:"color-picker-navigation"},[t.advanced?n("button",{staticClass:"color-picker-navigation-button back",on:{click:t.handleBack}}):t._e(),t._v(" "),t.advanced?t._e():n("button",{staticClass:"color-picker-navigation-button more-settings",on:{click:t.handleMoreSettings}}),t._v(" "),t.advanced?n("button",{staticClass:"color-picker-navigation-button confirm",on:{click:t.handleConfirm}},[t._v("\n\t\t\t\t"+t._s(t.t("core","Choose"))+"\n\t\t\t")]):t._e()])],1)])}),[],!1,null,"2b63fc66",null);"function"==typeof l.a&&l()(A);var u=A.exports;n.d(e,"ColorPicker",(function(){return u})),
/**
* @copyright Copyright (c) 2019 Marco Ambrosini <marcoambrosini@pm.me>
*
* @author Marco Ambrosini <marcoambrosini@pm.me>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
e.default=u},function(t,e,n){"use strict";n.r(e),n(16),n(3),n(17),n(18),n(23);var i=n(56),a=n(47),o={name:"UserBubble",components:{Popover:i.Popover,Avatar:a.Avatar},props:{avatarImage:{type:String,default:""},user:{type:String,default:""},displayName:{type:String,required:!0},url:{type:String,default:""},open:{type:Boolean,default:!1},primary:{type:Boolean,default:!1}},computed:{isUserAvatar:function(){return!this.avatarImage},isIconUrl:function(){try{return new URL(this.avatarImage),!0}catch(t){return!1}},componentType:function(){return this.url?"div":"a"},linkOrNot:function(){return""!==this.url?{is:"a",href:this.url}:{is:"div"}},popoverEmpty:function(){return void 0===this.$slots.default}},methods:{onOpenChange:function(t){this.$emit("update:open",t)}}},r=(n(223),n(0)),s=n(129),c=n.n(s),l=Object(r.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Popover",{staticClass:"user-bubble-popover",attrs:{trigger:"hover focus",open:t.open,disabled:t.popoverEmpty},on:{"update:open":t.onOpenChange}},[n("div",t._b({staticClass:"user-bubble",class:t.primary?"user-bubble-primary":"",attrs:{slot:"trigger"},slot:"trigger"},"div",t.linkOrNot,!1),[n("Avatar",{staticClass:"avatar",attrs:{url:!t.isUserAvatar&&t.isIconUrl?t.avatarImage:void 0,"icon-class":t.isUserAvatar||t.isIconUrl?void 0:t.avatarImage,user:t.isUserAvatar?t.user:void 0,"display-name":t.isUserAvatar?t.displayName:void 0,size:16,"disable-tooltip":!0,"disable-menu":!0}}),t._v(" "),n("h6",{staticClass:"user"},[t._v("\n\t\t\t"+t._s(t.displayName?t.displayName:t.user)+"\n\t\t")])],1),t._v(" "),t._t("default")],2)}),[],!1,null,"67f6fb81",null);"function"==typeof c.a&&c()(l);var A=l.exports;n.d(e,"UserBubble",(function(){return A})),
/**
* @copyright Copyright (c) 2019 Marco Ambrosini <marcoambrosini@pm.me>
*
* @author Marco Ambrosini <marcoambrosini@pm.me>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
e.default=A},function(t,e,n){"use strict";var i=n(82);n.n(i).a},function(t,e,n){(e=n(1)(!1)).push([t.i,"li.active[data-v-e8e451cc]{box-shadow:inset 4px 0 var(--color-primary)}.action--disabled[data-v-e8e451cc]{pointer-events:none;opacity:.5}.action--disabled[data-v-e8e451cc]:hover,.action--disabled[data-v-e8e451cc]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-e8e451cc]{opacity:1 !important}.action-checkbox[data-v-e8e451cc]{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-e8e451cc]{position:absolute;top:auto;left:-10000px;overflow:hidden;width:1px;height:1px}.action-checkbox__checkbox:focus+.action-checkbox__label[data-v-e8e451cc]{opacity:1}.action-checkbox__label[data-v-e8e451cc]{display:flex;align-items:center;width:100%;padding:0 !important;padding-right:14px !important;opacity:.7}.action-checkbox__label[data-v-e8e451cc]::before{margin:0 14px 0 !important}.action-checkbox--disabled[data-v-e8e451cc],.action-checkbox--disabled .action-checkbox__label[data-v-e8e451cc]{cursor:pointer}.action-checkbox:not(.action-checkbox--disabled):hover .action-checkbox__label[data-v-e8e451cc],.action-checkbox:not(.action-checkbox--disabled):focus .action-checkbox__label[data-v-e8e451cc]{opacity:1}\n",""]),t.exports=e},function(t,e,n){"use strict";var i=n(83);n.n(i).a},function(t,e,n){var i=n(1),a=n(7),o=n(8),r=n(9),s=n(10),c=n(11);e=i(!1);var l=a(o),A=a(r),u=a(s),d=a(c);e.push([t.i,'@font-face{font-family:"iconfont-vue-e729b2c";src:url('+l+");src:url("+l+') format("embedded-opentype"),url('+A+') format("woff"),url('+u+') format("truetype"),url('+d+') format("svg")}.icon[data-v-e093ae26]{font-style:normal;font-weight:400}.icon.arrow-left-double[data-v-e093ae26]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.arrow-left[data-v-e093ae26]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.arrow-right-double[data-v-e093ae26]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.arrow-right[data-v-e093ae26]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.checkmark[data-v-e093ae26]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.close[data-v-e093ae26]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.confirm[data-v-e093ae26]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.menu[data-v-e093ae26]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.more[data-v-e093ae26]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.pause[data-v-e093ae26]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.play[data-v-e093ae26]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.triangle-s[data-v-e093ae26]:before{font-family:"iconfont-vue-e729b2c";content:""}button[data-v-e093ae26],input[data-v-e093ae26]:not([type=\'range\']),textarea[data-v-e093ae26]{margin:0;padding:7px 6px;cursor:text;color:var(--color-text-lighter);border:1px solid var(--color-border-dark);border-radius:var(--border-radius);outline:none;background-color:var(--color-main-background);font-size:13px}button[data-v-e093ae26]:not(:disabled):not(.primary):hover,button[data-v-e093ae26]:not(:disabled):not(.primary):focus,button:not(:disabled):not(.primary).active[data-v-e093ae26],input[data-v-e093ae26]:not([type=\'range\']):not(:disabled):not(.primary):hover,input[data-v-e093ae26]:not([type=\'range\']):not(:disabled):not(.primary):focus,input:not([type=\'range\']):not(:disabled):not(.primary).active[data-v-e093ae26],textarea[data-v-e093ae26]:not(:disabled):not(.primary):hover,textarea[data-v-e093ae26]:not(:disabled):not(.primary):focus,textarea:not(:disabled):not(.primary).active[data-v-e093ae26]{border-color:var(--color-primary-element);outline:none}button[data-v-e093ae26]:not(:disabled):not(.primary):active,input[data-v-e093ae26]:not([type=\'range\']):not(:disabled):not(.primary):active,textarea[data-v-e093ae26]:not(:disabled)
/**
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/function Y(t){Object.values(i).forEach((function(e){t.component(e.name,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/>.
*
*/n.d(e,"ActionButton",(function(){return a.default})),n.d(e,"ActionCheckbox",(function(){return o.default})),n.d(e,"ActionInput",(function(){return r.default})),n.d(e,"ActionLink",(function(){return s.default})),n.d(e,"ActionRadio",(function(){return c.default})),n.d(e,"ActionRouter",(function(){return l.default})),n.d(e,"ActionSeparator",(function(){return A.default})),n.d(e,"ActionText",(function(){return u.default})),n.d(e,"ActionTextEditable",(function(){return d.default})),n.d(e,"Actions",(function(){return f.default})),n.d(e,"AppContent",(function(){return p.default})),n.d(e,"AppContentDetails",(function(){return h.default})),n.d(e,"AppContentList",(function(){return v.default})),n.d(e,"AppNavigation",(function(){return g.default})),n.d(e,"AppNavigationCaption",(function(){return b.default})),n.d(e,"AppNavigationCounter",(function(){return m.default})),n.d(e,"AppNavigationIconBullet",(function(){return x.default})),n.d(e,"AppNavigationItem",(function(){return y.default})),n.d(e,"AppNavigationNew",(function(){return w.default})),n.d(e,"AppNavigationSettings",(function(){return _.default})),n.d(e,"AppNavigationSpacer",(function(){return C.default})),n.d(e,"AppSidebar",(function(){return M.default})),n.d(e,"AppSidebarTab",(function(){return B.default})),n.d(e,"Avatar",(function(){return E.default})),n.d(e,"Content",(function(){return I.default})),n.d(e,"DatetimePicker",(function(){return T.default})),n.d(e,"Modal",(function(){return k.default})),n.d(e,"Multiselect",(function(){return D.default})),n.d(e,"MultiselectTags",(function(){return S.default})),n.d(e,"Popover",(function(){return N.default})),n.d(e,"PopoverMenu",(function(){return O.default})),n.d(e,"ColorPicker",(function(){return L.default})),n.d(e,"UserBubble",(function(){return j.default})),n.d(e,"Focus",(function(){return Q.default})),n.d(e,"Tooltip",(function(){return G.default})),n.d(e,"isFullscreen",(function(){return R.default})),n.d(e,"isMobile",(function(){return U.default})),"undefined"!=typeof window&&window.Vue&&Y(window.Vue),e.default=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?F(Object(n),!0).forEach((function(e){P(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({install:Y},i)}])},e.exports=a()},,,,,,,,,function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var a=(r=i,s=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(c," */")),o=i.sources.map((function(t){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(t," */")}));return[n].concat(o).concat([a]).join("\n")}var r,s,c;return[n].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i=0;i<t.length;i++){var a=[].concat(t[i]);n&&(a[2]?a[2]="".concat(n," and ").concat(a[2]):a[2]=n),e.push(a)}},e}},function(t,e,n){"use strict";function i(t,e){for(var n=[],i={},a=0;a<e.length;a++){var o=e[a],r=o[0],s={id:t+":"+a,css:o[1],media:o[2],sourceMap:o[3]};i[r]?i[r].parts.push(s):n.push(i[r]={id:r,parts:[s]})}return n}n.r(e),n.d(e,"default",(function(){return p}));var a="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!a)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},r=a&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,l=!1,A=function(){},u=null,d="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,n,a){l=n,u=a||{};var r=i(t,e);return h(r),function(e){for(var n=[],a=0;a<r.length;a++){var s=r[a];(c=o[s.id]).refs--,n.p
/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/var i=/["'&<>]/;t.exports=function(t){var e,n=""+t,a=i.exec(n);if(!a)return n;var o="",r=0,s=0;for(r=a.index;r<n.length;r++){switch(n.charCodeAt(r)){case 34:e="&quot;";break;case 38:e="&amp;";break;case 39:e="&#39;";break;case 60:e="&lt;";break;case 62:e="&gt;";break;default:continue}s!==r&&(o+=n.substring(s,r)),s=r+1,o+=e}return s!==r?o+n.substring(s,r):o}},function(t,e,n){"use strict";var i=n(1),a=n(51).map,o=n(63),r=n(34),s=o("map"),c=r("map");i({target:"Array",proto:!0,forced:!s||!c},{map:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var i,a,o,r,s;i=n(364),a=n(204).utf8,o=n(365),r=n(204).bin,(s=function(t,e){t.constructor==String?t=e&&"binary"===e.encoding?r.stringToBytes(t):a.stringToBytes(t):o(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||(t=t.toString());for(var n=i.bytesToWords(t),c=8*t.length,l=1732584193,A=-271733879,u=-1732584194,d=271733878,f=0;f<n.length;f++)n[f]=16711935&(n[f]<<8|n[f]>>>24)|4278255360&(n[f]<<24|n[f]>>>8);n[c>>>5]|=128<<c%32,n[14+(c+64>>>9<<4)]=c;var p=s._ff,h=s._gg,v=s._hh,g=s._ii;for(f=0;f<n.length;f+=16){var b=l,m=A,x=u,y=d;l=p(l,A,u,d,n[f+0],7,-680876936),d=p(d,l,A,u,n[f+1],12,-389564586),u=p(u,d,l,A,n[f+2],17,606105819),A=p(A,u,d,l,n[f+3],22,-1044525330),l=p(l,A,u,d,n[f+4],7,-176418897),d=p(d,l,A,u,n[f+5],12,1200080426),u=p(u,d,l,A,n[f+6],17,-1473231341),A=p(A,u,d,l,n[f+7],22,-45705983),l=p(l,A,u,d,n[f+8],7,1770035416),d=p(d,l,A,u,n[f+9],12,-1958414417),u=p(u,d,l,A,n[f+10],17,-42063),A=p(A,u,d,l,n[f+11],22,-1990404162),l=p(l,A,u,d,n[f+12],7,1804603682),d=p(d,l,A,u,n[f+13],12,-40341101),u=p(u,d,l,A,n[f+14],17,-1502002290),l=h(l,A=p(A,u,d,l,n[f+15],22,1236535329),u,d,n[f+1],5,-165796510),d=h(d,l,A,u,n[f+6],9,-1069501632),u=h(u,d,l,A,n[f+11],14,643717713),A=h(A,u,d,l,n[f+0],20,-373897302),l=h(l,A,u,d,n[f+5],5,-701558691),d=h(d,l,A,u,n[f+10],9,38016083),u=h(u,d,l,A,n[f+15],14,-660478335),A=h(A,u,d,l,n[f+4],20,-405537848),l=h(l,A,u,d,n[f+9],5,568446438),d=h(d,l,A,u,n[f+14],9,-1019803690),u=h(u,d,l,A,n[f+3],14,-187363961),A=h(A,u,d,l,n[f+8],20,1163531501),l=h(l,A,u,d,n[f+13],5,-1444681467),d=h(d,l,A,u,n[f+2],9,-51403784),u=h(u,d,l,A,n[f+7],14,1735328473),l=v(l,A=h(A,u,d,l,n[f+12],20,-1926607734),u,d,n[f+5],4,-378558),d=v(d,l,A,u,n[f+8],11,-2022574463),u=v(u,d,l,A,n[f+11],16,1839030562),A=v(A,u,d,l,n[f+14],23,-35309556),l=v(l,A,u,d,n[f+1],4,-1530992060),d=v(d,l,A,u,n[f+4],11,1272893353),u=v(u,d,l,A,n[f+7],16,-155497632),A=v(A,u,d,l,n[f+10],23,-1094730640),l=v(l,A,u,d,n[f+13],4,681279174),d=v(d,l,A,u,n[f+0],11,-358537222),u=v(u,d,l,A,n[f+3],16,-722521979),A=v(A,u,d,l,n[f+6],23,76029189),l=v(l,A,u,d,n[f+9],4,-640364487),d=v(d,l,A,u,n[f+12],11,-421815835),u=v(u,d,l,A,n[f+15],16,530742520),l=g(l,A=v(A,u,d,l,n[f+2],23,-995338651),u,d,n[f+0],6,-198630844),d=g(d,l,A,u,n[f+7],10,1126891415),u=g(u,d,l,A,n[f+14],15,-1416354905),A=g(A,u,d,l,n[f+5],21,-57434055),l=g(l,A,u,d,n[f+12],6,1700485571),d=g(d,l,A,u,n[f+3],10,-1894986606),u=g(u,d,l,A,n[f+10],15,-1051523),A=g(A,u,d,l,n[f+1],21,-2054922799),l=g(l,A,u,d,n[f+8],6,1873313359),d=g(d,l,A,u,n[f+15],10,-30611744),u=g(u,d,l,A,n[f+6],15,-1560198380),A=g(A,u,d,l,n[f+13],21,1309151649),l=g(l,A,u,d,n[f+4],6,-145523070),d=g(d,l,A,u,n[f+11],10,-1120210379),u=g(u,d,l,A,n[f+2],15,718787259),A=g(A,u,d,l,n[f+9],21,-343485551),l=l+b>>>0,A=A+m>>>0,u=u+x>>>0,d=d+y>>>0}return i.endian([l,A,u,d])})._ff=function(t,e,n,i,a,o,r){var s=t+(e&n|~e&i)+(a>>>0)+r;return(s<<o|s>>>32-o)+e},s._gg=function(t,e,n,i,a,o,r){var s=t+(e&i|n&~i)+(a>>>0)+r;return(s<<o|s>>>32-o)+e},s._hh=function(t,e,n,i,a,o,r){var s=t+(e^n^i)+(a>>>0)+r;return(s<<o|s>>>32-o)+e},s._ii=function(t,e,n,i,a,o,r){var s=t+(n^(e|~i))+(a>>>0)+r;return(s<<o|s>>>32-o)+e},s._blocksize=16,s._digestsize=16,t.exports=function(t,e){if(null==t)throw new Error("Illegal argument "+t);var n=i.wordsToBytes(s(t,e));return e&&e.asBytes?n:e&&e.asString?r.bytesToString(n):i.bytesToHex(n)}},function(t,e,n){"use strict";var i,a,o,r,s=n(1),c=n(38),l=n(2),A=n(39),u=n(367),d=n(20),f=n(199),p=n(50),h=n(205),v=n(15),g=n(89),b=n(154),m=n(27),x=n(142),y=n(368),w=n(369),_=n(370),C=n(206).s
/*! Hammer.JS - v2.0.7 - 2016-04-22
* http://hammerjs.github.io/
*
* Copyright (c) 2016 Jorik Tangelder;
* Licensed under the MIT license */!function(a,o,r,s){"use strict";var c,l=["","webkit","Moz","MS","ms","o"],A=o.createElement("div"),u="function",d=Math.round,f=Math.abs,p=Date.now;function h(t,e,n){return setTimeout(w(t,n),e)}function v(t,e,n){return!!Array.isArray(t)&&(g(t,n[e],n),!0)}function g(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==s)for(i=0;i<t.length;)e.call(n,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)}function b(t,e,n){var i="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=a.console&&(a.console.warn||a.console.log);return o&&o.call(a.console,i,n),t.apply(this,arguments)}}c="function"!=typeof Object.assign?function(t){if(t===s||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(i!==s&&null!==i)for(var a in i)i.hasOwnProperty(a)&&(e[a]=i[a])}return e}:Object.assign;var m=b((function(t,e,n){for(var i=Object.keys(e),a=0;a<i.length;)(!n||n&&t[i[a]]===s)&&(t[i[a]]=e[i[a]]),a++;return t}),"extend","Use `assign`."),x=b((function(t,e){return m(t,e,!0)}),"merge","Use `assign`.");function y(t,e,n){var i,a=e.prototype;(i=t.prototype=Object.create(a)).constructor=t,i._super=a,n&&c(i,n)}function w(t,e){return function(){return t.apply(e,arguments)}}function _(t,e){return typeof t==u?t.apply(e&&e[0]||s,e):t}function C(t,e){return t===s?e:t}function M(t,e,n){g(T(e),(function(e){t.addEventListener(e,n,!1)}))}function B(t,e,n){g(T(e),(function(e){t.removeEventListener(e,n,!1)}))}function E(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function I(t,e){return t.indexOf(e)>-1}function T(t){return t.trim().split(/\s+/g)}function k(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function D(t){return Array.prototype.slice.call(t,0)}function S(t,e,n){for(var i=[],a=[],o=0;o<t.length;){var r=e?t[o][e]:t[o];k(a,r)<0&&i.push(t[o]),a[o]=r,o++}return n&&(i=e?i.sort((function(t,n){return t[e]>n[e]})):i.sort()),i}function N(t,e){for(var n,i,a=e[0].toUpperCase()+e.slice(1),o=0;o<l.length;){if((i=(n=l[o])?n+a:e)in t)return i;o++}return s}var O=1;function L(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||a}var j="ontouchstart"in a,Q=N(a,"PointerEvent")!==s,G=j&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),R=25,U=1,F=2,P=4,Y=8,z=1,H=2,Z=4,W=8,V=16,$=H|Z,X=W|V,J=$|X,K=["x","y"],q=["clientX","clientY"];function tt(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){_(t.options.enable,[t])&&n.handler(e)},this.init()}function et(t,e,n){var i=n.pointers.length,a=n.changedPointers.length,o=e&U&&i-a==0,r=e&(P|Y)&&i-a==0;n.isFirst=!!o,n.isFinal=!!r,o&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,i=e.pointers,a=i.length;n.firstInput||(n.firstInput=nt(e));a>1&&!n.firstMultiple?n.firstMultiple=nt(e):1===a&&(n.firstMultiple=!1);var o=n.firstInput,r=n.firstMultiple,c=r?r.center:o.center,l=e.center=it(i);e.timeStamp=p(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=st(c,l),e.distance=rt(c,l),function(t,e){var n=e.center,i=t.offsetDelta||{},a=t.prevDelta||{},o=t.prevInput||{};e.eventType!==U&&o.eventType!==P||(a=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y});e.deltaX=a.x+(n.x-i.x),e.deltaY=a.y+(n.y-i.y)}(n,e),e.offsetDirection=ot(e.deltaX,e.deltaY);var A=at(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=A.x,e.overallVelocityY=A.y,e.overallVelocity=f(A.x)>f(A.y)?A.x:A.y,e.scale=r?(u=r.pointers,d=i,rt(d[0],d[1],q)/rt(u[0],u[1],q)):1,e.rotation=r?function(t,e){return st(e[1],e[0],q)+st(t[1],t[0],q)}(r.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,i,a,o,r=t.lastInterval||e
/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
t.exports=function(t){return null!=t&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},function(t,e,n){window,t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var a=e[i]={i:i,l:!1,exports:{}};return t[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=3)}([function(t,e,n){var i;!function(a){"use strict";var o={},r=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,s=/\d\d?/,c=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,l=/\[([^]*?)\]/gm,A=function(){};function u(t,e){for(var n=[],i=0,a=t.length;i<a;i++)n.push(t[i].substr(0,e));return n}function d(t){return function(e,n,i){var a=i[t].indexOf(n.charAt(0).toUpperCase()+n.substr(1).toLowerCase());~a&&(e.month=a)}}function f(t,e){for(t=String(t),e=e||2;t.length<e;)t="0"+t;return t}var p=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],h=["January","February","March","April","May","June","July","August","September","October","November","December"],v=u(h,3),g=u(p,3);o.i18n={dayNamesShort:g,dayNames:p,monthNamesShort:v,monthNames:h,amPm:["am","pm"],DoFn:function(t){return t+["th","st","nd","rd"][t%10>3?0:(t-t%10!=10)*t%10]}};var b={D:function(t){return t.getDate()},DD:function(t){return f(t.getDate())},Do:function(t,e){return e.DoFn(t.getDate())},d:function(t){return t.getDay()},dd:function(t){return f(t.getDay())},ddd:function(t,e){return e.dayNamesShort[t.getDay()]},dddd:function(t,e){return e.dayNames[t.getDay()]},M:function(t){return t.getMonth()+1},MM:function(t){return f(t.getMonth()+1)},MMM:function(t,e){return e.monthNamesShort[t.getMonth()]},MMMM:function(t,e){return e.monthNames[t.getMonth()]},YY:function(t){return String(t.getFullYear()).substr(2)},YYYY:function(t){return f(t.getFullYear(),4)},h:function(t){return t.getHours()%12||12},hh:function(t){return f(t.getHours()%12||12)},H:function(t){return t.getHours()},HH:function(t){return f(t.getHours())},m:function(t){return t.getMinutes()},mm:function(t){return f(t.getMinutes())},s:function(t){return t.getSeconds()},ss:function(t){return f(t.getSeconds())},S:function(t){return Math.round(t.getMilliseconds()/100)},SS:function(t){return f(Math.round(t.getMilliseconds()/10),2)},SSS:function(t){return f(t.getMilliseconds(),3)},a:function(t,e){return t.getHours()<12?e.amPm[0]:e.amPm[1]},A:function(t,e){return t.getHours()<12?e.amPm[0].toUpperCase():e.amPm[1].toUpperCase()},ZZ:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+f(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)}},m={D:[s,function(t,e){t.day=e}],Do:[new RegExp(s.source+c.source),function(t,e){t.day=parseInt(e,10)}],M:[s,function(t,e){t.month=e-1}],YY:[s,function(t,e){var n=+(""+(new Date).getFullYear()).substr(0,2);t.year=""+(e>68?n-1:n)+e}],h:[s,function(t,e){t.hour=e}],m:[s,function(t,e){t.minute=e}],s:[s,function(t,e){t.second=e}],YYYY:[/\d{4}/,function(t,e){t.year=e}],S:[/\d/,function(t,e){t.millisecond=100*e}],SS:[/\d{2}/,function(t,e){t.millisecond=10*e}],SSS:[/\d{3}/,function(t,e){t.millisecond=e}],d:[s,A],ddd:[c,A],MMM:[c,d("monthNamesShort")],MMMM:[c,d("monthNames")],a:[c,function(t,e,n){var i=e.toLowerCase();i===n.amPm[0]?t.isPm=!1:i===n.amPm[1]&&(t.isPm=!0)}],ZZ:[/([\+\-]\d\d:?\d\d|Z)/,function(t,e){"Z"===e&&(e="+00:00");var n,i=(e+"").match(/([\+\-]|\d\d)/gi);i&&(n=60*i[1]+parseInt(i[2],10),t.timezoneOffset="+"===i[0]?n:-n)}]};m.dd=m.d,m.dddd=m.ddd,m.DD=m.D,m.mm=m.m,m.hh=m.H=m.HH=m.h,m.MM=m.M,m.ss=m.s,m.A=m.a,o.masks={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",shortTime:
/**
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
e.default=a},134:function(t,e,n){"use strict";var i=n(52);n.n(i).a},135:function(t,e,n){var i=n(1),a=n(7),o=n(8),r=n(9),s=n(10),c=n(11);e=i(!1);var l=a(o),A=a(r),u=a(s),d=a(c);e.push([t.i,'@font-face{font-family:"iconfont-vue-e729b2c";src:url('+l+");src:url("+l+') format("embedded-opentype"),url('+A+') format("woff"),url('+u+') format("truetype"),url('+d+') format("svg")}.icon[data-v-d9538ec8]{font-style:normal;font-weight:400}.icon.arrow-left-double[data-v-d9538ec8]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.arrow-left[data-v-d9538ec8]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.arrow-right-double[data-v-d9538ec8]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.arrow-right[data-v-d9538ec8]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.checkmark[data-v-d9538ec8]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.close[data-v-d9538ec8]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.confirm[data-v-d9538ec8]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.menu[data-v-d9538ec8]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.more[data-v-d9538ec8]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.pause[data-v-d9538ec8]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.play[data-v-d9538ec8]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.triangle-s[data-v-d9538ec8]:before{font-family:"iconfont-vue-e729b2c";content:""}#app-navigation-toggle[data-v-d9538ec8]{display:none;position:fixed;z-index:1050;left:0;width:44px;height:44px;padding:14px;cursor:pointer;opacity:0.6;font-size:16px;line-height:17px}#app-navigation-toggle[data-v-d9538ec8]:before{font-family:"iconfont-vue-e729b2c";font-style:normal;font-weight:400;content:""}#app-navigation-toggle[data-v-d9538ec8]:hover,#app-navigation-toggle[data-v-d9538ec8]:focus{opacity:1}@media only screen and (max-width: 768px){#app-navigation-toggle[data-v-d9538ec8]{display:inline-block !important}}\n',""]),t.exports=e},160:function(t,e,n){"use strict";n.r(e);var i=n(73),a=n.n(i),o={name:"AppContent",components:{AppNavigationToggle:n(116).default},data:function(){return{opened:!1}},mounted:function(){var t=this;this.mc=new a.a(this.$el,{cssProps:{userSelect:"text"}}),this.mc.on("swipeleft swiperight",(function(e){t.handleSwipe(e)}))},unmounted:function(){this.mc.off("swipeleft swiperight"),this.mc.destroy()},methods:{toggleNavigation:function(t){this.opened=t||!this.opened,this.opened?document.body.classList.add("nav-open"):document.body.classList.remove("nav-open")},handleSwipe:function(t){var e=t.srcEvent.pageX-t.deltaX,n=Math.abs(t.deltaX)>70;n&&e<40?this.toggleNavigation(!0):this.opened&&n&&e<340&&this.toggleNavigation(!1)}}},r=(n(191),n(0)),s=Object(r.a)(o,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"no-snapper",style:this.opened?"transform: translateX(300px)":"",attrs:{id:"app-content"}},[e("AppNavigationToggle",{attrs:{"aria-expanded":this.opened,"aria-controls":"app-navigation"},on:{click:this.toggleNavigation}}),this._v(" "),this._t("default")],2)}),[],!1,null,"0fe2f738",null).exports;n.d(e,"AppContent",(function(){return s})),
/*
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
e.default=s},191:function(t,e,n){"use strict";var i=n(90);n.n(i).a},192:function(t,e,n){(e=n(1)(!1)).push([t.i,"#app-content[data-v-0fe2f738]{z-index:1000;background-color:var(--color-main-background);position:relative;flex-basis:100vw;min-height:100%;transition:transform var(--animation-quick)}\n",""]),t.exports=e},2:function(t,e,n){"use strict";function i(t,e){for(var n=[],i={},a=0;a<e.length;a++){var o=e[a],r=o[0],s={id:t+":"+a,css:o[1],media:o[2],sourceMap:o[3]};i[r]?i[r].parts.push(s):n.push(i[r]={id:r,parts:[s]})}return n}n.r(e),n.d(e,"default",(function(){return p}));var a="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!a)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},r=a&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,l=!1,A=function(){},u=null,d="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,n,a){l=n,u=a||{};var r=i(t,e);return h(r),function(e){for(var n=[],a=0;a<r.length;a++){var s=r[a];(c=o[s.id]).refs--,n.push(c)}for(e?h(r=i(t,e)):r=[],a=0;a<n.length;a++){var c;if(0===(c=n[a]).refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete o[c.id]}}}}function h(t){for(var e=0;e<t.length;e++){var n=t[e],i=o[n.id];if(i){i.refs++;for(var a=0;a<i.parts.length;a++)i.parts[a](n.parts[a]);for(;a<n.parts.length;a++)i.parts.push(g(n.parts[a]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var r=[];for(a=0;a<n.parts.length;a++)r.push(g(n.parts[a]));o[n.id]={id:n.id,refs:1,parts:r}}}}function v(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function g(t){var e,n,i=document.querySelector("style["+d+'~="'+t.id+'"]');if(i){if(l)return A;i.parentNode.removeChild(i)}if(f){var a=c++;i=s||(s=v()),e=x.bind(null,i,a,!1),n=x.bind(null,i,a,!0)}else i=v(),e=function(t,e){var n=e.css,i=e.media,a=e.sourceMap;if(i&&t.setAttribute("media",i),u.ssrId&&t.setAttribute(d,e.id),a&&(n+="\n/*# sourceURL="+a.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}var b,m=(b=[],function(t,e){return b[t]=e,b.filter(Boolean).join("\n")});function x(t,e,n,i){var a=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=m(e,a);else{var o=document.createTextNode(a),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}},52:function(t,e,n){var i=n(135);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("a39cae00",i,!0,{})},7:function(t,e,n){"use strict";t.exports=function(t,e){return e||(e={}),"string"!=typeof(t=t&&t.__esModule?t.default:t)?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},73:function(t,e){t.exports=n(345)},8:function(t,e,n){"use strict";n.r(e),e.default="data:application/vnd.ms-fontobject;base64,qgoAAOAJAAABAAIAAAAAAAIABQMAAAAAAAABQJABAAAAAExQAAAAABAAAAAAAAAAAAAAAAAAAAEAAAAAXdAwqQAAAAAAAAAAAAAAAAAAAAAAACgAAGkAYwBvAG4AZgBvAG4AdAAtAHYAdQBlAC0AZQA3ADIAOQBiADIAYwAAAAAAABYAAFYAZQByAHMAaQBvAG4AIAAxAC4AMAAAKAAAaQBjAG8AbgBmAG8AbgB0AC0AdgB1AGUALQBlADcAMgA5AGIAMgBjAAAAAAABAAAACgCAAAMAIE9TLzJ045CJAAAArAAAAGBjbWFwAA3rsgAAAQwAAAFCZ2x5ZrP154sAAAJQAAADgGhlYWQm7B17AAAF0AAAADZoaGVhJxwTgAAABggAAAAkaG10eBOI//8AAAYsAAAAHmxvY2EFNAW+AAAGTAAAABxtYXhwARoAVwAABmgAAAAgbmFtZQ9QtN0AAAaIAAACpnBvc3TeHIDjAAAJMAAAALAABBOIAZAABQAADGUNrAAAArwMZQ2sAAAJYAD1BQoAAAIABQMAAAAAAAAAAAAAEAAAAAAAAAAAAAAAUGZFZABA6gHqDBOIAAABwhOIAAAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQAAAAAAPAADAAEAAAAcAAQAIAAAAAQABAABAADqDP//AADqAf//FgAAAQ
/**
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
e.default=a},193:function(t,e,n){"use strict";var i=n(91);n.n(i).a},194:function(t,e,n){(e=n(1)(!1)).push([t.i,"#app-navigation[data-v-104b2b10]{will-change:transform;transition:transform var(--animation-quick);width:300px;position:fixed;top:50px;left:0;z-index:500;overflow-y:auto;overflow-x:hidden;height:calc(100% - 50px);box-sizing:border-box;background-color:var(--color-main-background);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:1px solid var(--color-border);display:flex;flex-direction:column;flex-grow:0;flex-shrink:0}ul[data-v-104b2b10]{position:relative;height:100%;width:inherit;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;display:flex;flex-direction:column}@media only screen and (max-width: 1024px){.nav-open #app-navigation[data-v-104b2b10]{transform:translateX(0)}}\n",""]),t.exports=e},2:function(t,e,n){"use strict";function i(t,e){for(var n=[],i={},a=0;a<e.length;a++){var o=e[a],r=o[0],s={id:t+":"+a,css:o[1],media:o[2],sourceMap:o[3]};i[r]?i[r].parts.push(s):n.push(i[r]={id:r,parts:[s]})}return n}n.r(e),n.d(e,"default",(function(){return p}));var a="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!a)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},r=a&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,l=!1,A=function(){},u=null,d="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,n,a){l=n,u=a||{};var r=i(t,e);return h(r),function(e){for(var n=[],a=0;a<r.length;a++){var s=r[a];(c=o[s.id]).refs--,n.push(c)}for(e?h(r=i(t,e)):r=[],a=0;a<n.length;a++){var c;if(0===(c=n[a]).refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete o[c.id]}}}}function h(t){for(var e=0;e<t.length;e++){var n=t[e],i=o[n.id];if(i){i.refs++;for(var a=0;a<i.parts.length;a++)i.parts[a](n.parts[a]);for(;a<n.parts.length;a++)i.parts.push(g(n.parts[a]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var r=[];for(a=0;a<n.parts.length;a++)r.push(g(n.parts[a]));o[n.id]={id:n.id,refs:1,parts:r}}}}function v(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function g(t){var e,n,i=document.querySelector("style["+d+'~="'+t.id+'"]');if(i){if(l)return A;i.parentNode.removeChild(i)}if(f){var a=c++;i=s||(s=v()),e=x.bind(null,i,a,!1),n=x.bind(null,i,a,!0)}else i=v(),e=function(t,e){var n=e.css,i=e.media,a=e.sourceMap;if(i&&t.setAttribute("media",i),u.ssrId&&t.setAttribute(d,e.id),a&&(n+="\n/*# sourceURL="+a.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}var b,m=(b=[],function(t,e){return b[t]=e,b.filter(Boolean).join("\n")});function x(t,e,n,i){var a=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=m(e,a);else{var o=document.createTextNode(a),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}},91:function(t,e,n){var i=n(194);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("03aa2e93",i,!0,{})}})},function(t,e,n){window,t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var a=e[i]={i:i,l:!1,exports:{}};return t[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)retu
/**
* @copyright Copyright (c) 2019 Marco Ambrosini <marcoambrosini@pm.me>
*
* @author Marco Ambrosini <marcoambrosini@pm.me>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
e.default=c},197:function(t,e,n){"use strict";var i=n(93);n.n(i).a},198:function(t,e,n){(e=n(1)(!1)).push([t.i,".app-navigation-entry__counter[data-v-c278d69a]{overflow:hidden;max-width:44px;margin:4px;padding:0 4px;text-align:center;text-overflow:ellipsis;line-height:1em}.app-navigation-entry__counter--highlighted[data-v-c278d69a]{padding:4px 6px;color:var(--color-primary-text);border-radius:10px;background-color:var(--color-primary)}\n",""]),t.exports=e},2:function(t,e,n){"use strict";function i(t,e){for(var n=[],i={},a=0;a<e.length;a++){var o=e[a],r=o[0],s={id:t+":"+a,css:o[1],media:o[2],sourceMap:o[3]};i[r]?i[r].parts.push(s):n.push(i[r]={id:r,parts:[s]})}return n}n.r(e),n.d(e,"default",(function(){return p}));var a="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!a)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},r=a&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,l=!1,A=function(){},u=null,d="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,n,a){l=n,u=a||{};var r=i(t,e);return h(r),function(e){for(var n=[],a=0;a<r.length;a++){var s=r[a];(c=o[s.id]).refs--,n.push(c)}for(e?h(r=i(t,e)):r=[],a=0;a<n.length;a++){var c;if(0===(c=n[a]).refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete o[c.id]}}}}function h(t){for(var e=0;e<t.length;e++){var n=t[e],i=o[n.id];if(i){i.refs++;for(var a=0;a<i.parts.length;a++)i.parts[a](n.parts[a]);for(;a<n.parts.length;a++)i.parts.push(g(n.parts[a]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var r=[];for(a=0;a<n.parts.length;a++)r.push(g(n.parts[a]));o[n.id]={id:n.id,refs:1,parts:r}}}}function v(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function g(t){var e,n,i=document.querySelector("style["+d+'~="'+t.id+'"]');if(i){if(l)return A;i.parentNode.removeChild(i)}if(f){var a=c++;i=s||(s=v()),e=x.bind(null,i,a,!1),n=x.bind(null,i,a,!0)}else i=v(),e=function(t,e){var n=e.css,i=e.media,a=e.sourceMap;if(i&&t.setAttribute("media",i),u.ssrId&&t.setAttribute(d,e.id),a&&(n+="\n/*# sourceURL="+a.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}var b,m=(b=[],function(t,e){return b[t]=e,b.filter(Boolean).join("\n")});function x(t,e,n,i){var a=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=m(e,a);else{var o=document.createTextNode(a),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}},93:function(t,e,n){var i=n(198);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("0a84af6e",i,!0,{})}})},function(t,e,n){window,t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var a=e[i]={i:i,l:!1,exports:{}};return t[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)n.d(i,a,function(e){return t[e]}.bind(null,a));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=149)}([function
/**
* @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/>.
*
*/
i.VTooltip.options.defaultTemplate='<div class="vue-tooltip" role="tooltip" data-v-'.concat("e729b2c",'><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'),i.VTooltip.options.defaultHtml=!1,e.default=i.VTooltip},function(t,e){t.exports=n(175)},function(t,e,n){"use strict";n(6),n(24);var i=n(5),a=n.n(i);
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/e.a={before:function(){this.$slots.default&&""!==this.text.trim()||(a.a.util.warn("".concat(this.$options.name," cannot be empty and requires a meaningful text content"),this),this.$destroy(),this.$el.remove())},beforeUpdate:function(){this.text=this.getText()},data:function(){return{text:this.getText()}},computed:{isLongText:function(){return this.text&&this.text.trim().length>20}},methods:{getText:function(){return this.$slots.default?this.$slots.default[0].text.trim():""}}}},function(t,e){t.exports=n(325)},function(t,e){t.exports=n(135)},function(t,e){t.exports=n(176)},function(t,e){t.exports=n(326)},function(t,e){t.exports=n(327)},function(t,e){t.exports=n(328)},function(t,e){t.exports=n(329)},function(t,e,n){"use strict";n(3),n(13),n(20),n(21),e.a=function(t){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,t||5)}},function(t,e){t.exports=n(330)},function(t,e){t.exports=n(331)},function(t,e,n){"use strict";n(16),n(3),n(17),n(18),n(23);var i=n(14),a=(n(6),function(t,e){for(var n=t.$parent;n;){if(n.$options.name===e)return n;n=n.$parent}});e.a={mixins:[i.a],props:{icon:{type:String,default:""},title:{type:String,default:""},closeAfterClick:{type:Boolean,default:!1}},computed:{isIconUrl:function(){try{return new URL(this.icon)}catch(t){return!1}}},methods:{onClick:function(t){if(this.$emit("click",t),this.closeAfterClick){var e=a(this,"Actions");e&&e.closeMenu&&e.closeMenu()}}}}},function(t,e){t.exports=n(332)},,,,,function(t,e,n){var i=n(77);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(2).default)("0a304400",i,!0,{})},,,,function(t,e,n){"use strict";n(26),n(49),n(19);var i=n(15),a=n(12),o=n(22),r=(n(74),function(t){var e=t.getBoundingClientRect(),n=document.documentElement.clientHeight,i=document.documentElement.clientWidth,a=Object.assign({});return a.top=e.top<0,a.left=e.left<0,a.bottom=e.bottom>n,a.right=e.right>i,a.any=a.top||a.left||a.bottom||a.right,a.all=a.top&&a.left&&a.bottom&&a.right,a.offsetY=a.top?e.top:a.bottom?e.bottom-n:0,a.offsetX=a.left?e.left:a.right?e.right-i:0,a}),s=(n(71),n(75),n(6),n(72),n(5)),c=n.n(s),l=function(t,e,n){void 0!==t&&t.forEach((function(i,a){var o=!i.componentOptions&&i.tag&&-1===e.indexOf(i.tag),r=!!i.componentOptions&&"string"==typeof i.componentOptions.tag&&-1===e.indexOf(i.componentOptions.tag);(o||r)&&(c.a.util.warn("".concat(o?i.tag:i.componentOptions.tag," is not allowed inside the ").concat(n.$options.name," component"),n),t.splice(a,1))}))},A=["ActionButton","ActionCheckbox","ActionInput","ActionLink","ActionRadio","ActionRouter","ActionSeparator","ActionText","ActionTextEditable"],u={name:"Actions",directives:{ClickOutside:i.directive,tooltip:a.default},props:{open:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},menuAlign:{type:String,default:"center",validator:function(t){return["left","center","right"].indexOf(t)>-1}},defaultIcon:{type:String,default:"action-item__menutoggle--default-icon"}},data:function(){return{actions:[],opened:this.open,focusIndex:0,randomId:"menu-"+Object(o.a)(),offsetX:0,offsetY:0,offsetYArrow:0,rotateArrow:!1,children:this.$children}},computed:{hasMultipleActions:function(){return this.actions.length>1},isValidSingleAction:function(){return 1===this.actions.length&&null!==this.firstActionElement},firstActionVNode:function(){return this.actions[0]},firstAction:function(){return this.children[0]?this.children[0]:{}},firstActionBinding:function(){if(this.firstActionVNode&&this.firstActionVNode.componentOptions){var t=this.firstActionVNode.componentOptions.tag;if("ActionLink"===t)return{is:"a",href:this.firstAction.href,target:this.firstAction.target};if("ActionRouter"===t)return{is:"router-link",to:this.firstAction.to,exact:this.firstAction.exact};if("ActionButton"===t)return{is:"button"}}return null},firstActionEvent:function(){return this.firstActionVNode&&this.firstActionVNode.componentOptions&&this.firstActionVNode.componentOptions.listeners&&this.firstActionVNode.componentOptions.listeners.click},firstActionEventBinding:function(){return this.firstActionEvent?"click":null},firstAct
/**
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
e.default=p},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var i=n(95);n.n(i).a},function(t,e,n){var i=n(1),a=n(7),o=n(8),r=n(9),s=n(10),c=n(11);e=i(!1);var l=a(o),A=a(r),u=a(s),d=a(c);e.push([t.i,'@font-face{font-family:"iconfont-vue-e729b2c";src:url('+l+");src:url("+l+') format("embedded-opentype"),url('+A+') format("woff"),url('+u+') format("truetype"),url('+d+') format("svg")}.icon[data-v-39375008]{font-style:normal;font-weight:400}.icon.arrow-left-double[data-v-39375008]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.arrow-left[data-v-39375008]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.arrow-right-double[data-v-39375008]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.arrow-right[data-v-39375008]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.checkmark[data-v-39375008]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.close[data-v-39375008]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.confirm[data-v-39375008]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.menu[data-v-39375008]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.more[data-v-39375008]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.pause[data-v-39375008]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.play[data-v-39375008]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.triangle-s[data-v-39375008]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon-collapse[data-v-39375008]{position:absolute;z-index:105;width:44px;height:44px;margin:0;padding:0;transition:opacity var(--animation-quick) ease-in-out;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);color:black;border:none;border-radius:0;outline:none !important;background-color:transparent;box-shadow:none;font-size:18px}.icon-collapse[data-v-39375008]:before{font-family:"iconfont-vue-e729b2c";font-style:normal;font-weight:400;content:""}.icon-collapse[data-v-39375008]:hover{color:var(--color-primary)}.icon-collapse--rotated[data-v-39375008]{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);color:var(--color-main-text)}.icon-collapse--rotated[data-v-39375008]:hover{color:var(--color-primary)}\n',""]),t.exports=e},function(t,e,n){"use strict";var i=n(96);n.n(i).a},function(t,e,n){var i=n(1),a=n(7),o=n(8),r=n(9),s=n(10),c=n(11);e=i(!1);var l=a(o),A=a(r),u=a(s),d=a(c);e.push([t.i,'@font-face{font-family:"iconfont-vue-e729b2c";src:url('+l+");src:url("+l+') format("embedded-opentype"),url('+A+') format("woff"),url('+u+') format("truetype"),url('+d+') format("svg")}.icon[data-v-014c488f]{font-style:normal;font-weight:400}.icon.arrow-left-double[data-v-014c488f]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.arrow-left[data-v-014c488f]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.arrow-right-double[data-v-014c488f]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.arrow-right[data-v-014c488f]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.checkmark[data-v-014c488f]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.close[data-v-014c488f]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.confirm[data-v-014c488f]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.menu[data-v-014c488f]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.more[data-v-014c488f]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.pause[data-v-014c488f]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.play[data-v-014c488f]:before{font-family:"iconfont-vue-e729b2c";content:""}.icon.triangle-s[data-v-014c488f]:before{font-family:"iconfont-vue-e729b2c";content:""}.app-navigation-entry[data-v-014c488f]{position:relative;display:flex;flex-shrink:0;flex-wrap:wrap;order:1;box-sizing:border-box;width:100%;min-height:44px}.app-navigation-entry.active[data-v-014c488f],.app-navigation-entry a[data-v-014c488f]:hover,.app-navigation-entry a[data-v-
/*
* @copyright 2018 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2018 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
e.default=o}})},function(t,e,n){(function(e){
/**
* vue-local-storage v0.6.0
* (c) 2017 Alexander Avakov
* @license MIT
*/
t.exports=function(){"use strict";var t=function(){this._properties={},this._namespace="",this._isSupported=!0},n={namespace:{}};n.namespace.get=function(){return this._namespace},n.namespace.set=function(t){this._namespace=t?t+".":""},t.prototype._getLsKey=function(t){return""+this._namespace+t},t.prototype._lsSet=function(t,e,n){var i=this._getLsKey(t),a=n&&[Array,Object].includes(n)?JSON.stringify(e):e;window.localStorage.setItem(i,a)},t.prototype._lsGet=function(t){var e=this._getLsKey(t);return window.localStorage[e]},t.prototype.get=function(t,e,n){if(void 0===e&&(e=null),void 0===n&&(n=String),!this._isSupported)return null;if(this._lsGet(t)){var i=n;for(var a in this._properties)if(a===t){i=this._properties[a].type;break}return this._process(i,this._lsGet(t))}return null!==e?e:null},t.prototype.set=function(t,e){if(!this._isSupported)return null;for(var n in this._properties){var i=this._properties[n].type;if(n===t)return this._lsSet(t,e,i),e}return this._lsSet(t,e),e},t.prototype.remove=function(t){return this._isSupported?window.localStorage.removeItem(t):null},t.prototype.addProperty=function(t,e,n){void 0===n&&(n=void 0),e=e||String,this._properties[t]={type:e},this._lsGet(t)||null===n||this._lsSet(t,n,e)},t.prototype._process=function(t,e){switch(t){case Boolean:return"true"===e;case Number:return parseFloat(e);case Array:try{var n=JSON.parse(e);return Array.isArray(n)?n:[]}catch(t){return[]}case Object:try{return JSON.parse(e)}catch(t){return{}}default:return e}},Object.defineProperties(t.prototype,n);var i=new t;return{install:function(t,n){if(void 0===n&&(n={}),void 0===e||!(e.server||e.SERVER_BUILD||e.env&&"server"===e.env.VUE_ENV)){var a=!0;try{var o="__vue-localstorage-test__";window.localStorage.setItem(o,o),window.localStorage.removeItem(o)}catch(t){a=!1,i._isSupported=!1,console.error("Local storage is not supported")}var r=n.name||"localStorage",s=n.bind;n.namespace&&(i.namespace=n.namespace),t.mixin({beforeCreate:function(){var e=this;a&&this.$options[r]&&Object.keys(this.$options[r]).forEach((function(n){var a=e.$options[r][n],o=[a.type,a.default],c=o[0],l=o[1];if(i.addProperty(n,c,l),Object.getOwnPropertyDescriptor(i,n))t.config.silent||console.log(n+": is already defined and will be reused");else{var A={get:function(){return t.localStorage.get(n,l)},set:function(e){return t.localStorage.set(n,e)},configurable:!0};Object.defineProperty(i,n,A),t.util.defineReactive(i,n,l)}(s||a.bind)&&!1!==a.bind&&(e.$options.computed=e.$options.computed||{},e.$options.computed[n]||(e.$options.computed[n]={get:function(){return t.localStorage[n]},set:function(e){t.localStorage[n]=e}}))}))}}),t[r]=i,t.prototype["$"+r]=i}}}}()}).call(this,n(67))}]]);
//# sourceMappingURL=vue-0.js.map?v=532dc963c1b6d30bea66