aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dashboard/js/dashboard.js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-03-31 12:34:13 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-03-31 12:34:13 +0200
commit11437223e9a279e34c187a29887956046c39beb3 (patch)
treefb38af787e7cdea462e2d2fd8b49b98bbe365d3e /apps/dashboard/js/dashboard.js
parent3e624dc39966f54c6d418eee2e8141fc5c21f751 (diff)
downloadnextcloud-server-11437223e9a279e34c187a29887956046c39beb3.tar.gz
nextcloud-server-11437223e9a279e34c187a29887956046c39beb3.zip
Compile node
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/dashboard/js/dashboard.js')
-rw-r--r--apps/dashboard/js/dashboard.js24
1 files changed, 23 insertions, 1 deletions
diff --git a/apps/dashboard/js/dashboard.js b/apps/dashboard/js/dashboard.js
index 61040a7911c..5156adb51e4 100644
--- a/apps/dashboard/js/dashboard.js
+++ b/apps/dashboard/js/dashboard.js
@@ -234,5 +234,27 @@ r.VTooltip.options.defaultTemplate='<div class="vue-tooltip" role="tooltip" data
* @author owenm <owen23355@gmail.com>
* @license MIT
*/
-function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}function a(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function c(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.r(t),n.d(t,"MultiDrag",(function(){return bt})),n.d(t,"Sortable",(function(){return ze})),n.d(t,"Swap",(function(){return ct}));function l(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var u=l(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),m=l(/Edge/i),p=l(/firefox/i),d=l(/safari/i)&&!l(/chrome/i)&&!l(/android/i),f=l(/iP(ad|od|hone)/i),A=l(/chrome/i)&&l(/android/i),g={capture:!1,passive:!1};function h(e,t,n){e.addEventListener(t,n,!u&&g)}function v(e,t,n){e.removeEventListener(t,n,!u&&g)}function b(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function y(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function C(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&b(e,t):b(e,t))||r&&e===n)return e;if(e===n)break}while(e=y(e))}return null}var w,E=/\s+/g;function x(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(E," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(E," ")}}function k(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function T(e,t){var n="";if("string"==typeof e)n=e;else do{var r=k(e,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function S(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,i=r.length;if(n)for(;o<i;o++)n(r[o],o);return r}return[]}function M(){var e=document.scrollingElement;return e||document.documentElement}function j(e,t,n,r,o){if(e.getBoundingClientRect||e===window){var i,s,a,c,l,m,p;if(e!==window&&e!==M()?(s=(i=e.getBoundingClientRect()).top,a=i.left,c=i.bottom,l=i.right,m=i.height,p=i.width):(s=0,a=0,c=window.innerHeight,l=window.innerWidth,m=window.innerHeight,p=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!u))do{if(o&&o.getBoundingClientRect&&("none"!==k(o,"transform")||n&&"static"!==k(o,"position"))){var d=o.getBoundingClientRect();s-=d.top+parseInt(k(o,"border-top-width")),a-=d.left+parseInt(k(o,"border-left-width")),c=s+i.height,l=a+i.width;break}}while(o=o.parentNode);if(r&&e!==window){var f=T(o||e),A=f&&f.a,g=f&&f.d;f&&(c=(s/=g)+(m/=g),l=(a/=A)+(p/=A))}return{top:s,left:a,bottom:c,right:l,width:p,height:m}}}function P(e,t,n){for(var r=O(e,!0),o=j(e)[t];r;){var i=j(r)[n];if(!("top"===n||"left"===n?o>=i:o<=i))return r;if(r===M())break;r=O(r,!1)}return!1}function B(e,t,n){for(var r=0,o=0,i=e.children;o<i.length;){if("none"!==i[o].style.display&&i[o]!==ze.ghost&&i[o]!==ze.dragged&&C(i[o],n.draggable,e,!1)){if(r===t)return i[o];r++}o++}return null}function _(e,t){for(var n=e.lastElementChild;n&&(n===ze.ghost||"none"===k(n,"display")||t&&!b(n,t));)n=n.previousElementSibling;return n||null}function I(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===ze.clone||t&&!b(e,t)||n++;return n}function N(e){var t=0,n=0,r=M();if(e)do{var o=T(e),i=o.a,s=o.d;t+=e.scrollLeft*i,n+=e.scrollTop*s}while(e!==r&&(e=e.parentNode));return[t,n]}function O(e,t){if(!e||!e.getBoundingClientRect)return M();var n=e,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=k(n);if(n.clientWidth<n.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!n.getBoundingClientRect||n===document.body)return M();if(r||t)return n;r=!0}}}while(n=n.parentNode);return M()}function D(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function L(e,t){return function(){if(!w){var n=arguments,r=this;1===n.length?e.call(r,n[0]):e.apply(r,n),w=setTimeout((function(){w=void 0}),t)}}}function F(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function R(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function z(e,t){k(e,"position","absolute"),k(e,"top",t.top),k(e,"left",t.left),k(e,"width",t.width),k(e,"height",t.height)}function U(e){k(e,"position",""),k(e,"top",""),k(e,"left",""),k(e,"width",""),k(e,"height","")}var $="Sortable"+(new Date).getTime();function G(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==k(e,"display")&&e!==ze.ghost){t.push({target:e,rect:j(e)});var n=s({},t[t.length-1].rect);if(e.thisAnimationDuration){var r=T(e,!0);r&&(n.top-=r.f,n.left-=r.e)}e.fromRect=n}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n);return-1}(t,{target:e}),1)},animateAll:function(n){var r=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof n&&n());var o=!1,i=0;t.forEach((function(e){var t=0,n=e.target,s=n.fromRect,a=j(n),c=n.prevFromRect,l=n.prevToRect,u=e.rect,m=T(n,!0);m&&(a.top-=m.f,a.left-=m.e),n.toRect=a,n.thisAnimationDuration&&D(c,a)&&!D(s,a)&&(u.top-a.top)/(u.left-a.left)==(s.top-a.top)/(s.left-a.left)&&(t=function(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}(u,c,l,r.options)),D(a,s)||(n.prevFromRect=s,n.prevToRect=a,t||(t=r.options.animation),r.animate(n,u,a,t)),t&&(o=!0,i=Math.max(i,t),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),t),n.thisAnimationDuration=t)})),clearTimeout(e),o?e=setTimeout((function(){"function"==typeof n&&n()}),i):"function"==typeof n&&n(),t=[]},animate:function(e,t,n,r){if(r){k(e,"transition",""),k(e,"transform","");var o=T(this.el),i=o&&o.a,s=o&&o.d,a=(t.left-n.left)/(i||1),c=(t.top-n.top)/(s||1);e.animatingX=!!a,e.animatingY=!!c,k(e,"transform","translate3d("+a+"px,"+c+"px,0)"),function(e){e.offsetWidth}(e),k(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),k(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){k(e,"transition",""),k(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),r)}}}}var Q=[],Y={initializeByDefault:!0},H={mount:function(e){for(var t in Y)Y.hasOwnProperty(t)&&!(t in e)&&(e[t]=Y[t]);Q.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var o=e+"Global";Q.forEach((function(r){t[r.pluginName]&&(t[r.pluginName][o]&&t[r.pluginName][o](s({sortable:t},n)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](s({sortable:t},n)))}))},initializePlugins:function(e,t,n,r){for(var o in Q.forEach((function(r){var o=r.pluginName;if(e.options[o]||r.initializeByDefault){var s=new r(e,t,e.options);s.sortable=e,s.options=e.options,e[o]=s,i(n,s.defaults)}})),e.options)if(e.options.hasOwnProperty(o)){var s=this.modifyOption(e,o,e.options[o]);void 0!==s&&(e.options[o]=s)}},getEventProperties:function(e,t){var n={};return Q.forEach((function(r){"function"==typeof r.eventProperties&&i(n,r.eventProperties.call(t[r.pluginName],e))})),n},modifyOption:function(e,t,n){var r;return Q.forEach((function(o){e[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[t]&&(r=o.optionListeners[t].call(e[o.pluginName],n))})),r}};function W(e){var t=e.sortable,n=e.rootEl,r=e.name,o=e.targetEl,i=e.cloneEl,a=e.toEl,c=e.fromEl,l=e.oldIndex,p=e.newIndex,d=e.oldDraggableIndex,f=e.newDraggableIndex,A=e.originalEvent,g=e.putSortable,h=e.extraEventProperties;if(t=t||n&&n[$]){var v,b=t.options,y="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||u||m?(v=document.createEvent("Event")).initEvent(r,!0,!0):v=new CustomEvent(r,{bubbles:!0,cancelable:!0}),v.to=a||n,v.from=c||n,v.item=o||n,v.clone=i,v.oldIndex=l,v.newIndex=p,v.oldDraggableIndex=d,v.newDraggableIndex=f,v.originalEvent=A,v.pullMode=g?g.lastPutMode:void 0;var C=s({},h,H.getEventProperties(r,t));for(var w in C)v[w]=C[w];n&&n.dispatchEvent(v),b[y]&&b[y].call(t,v)}}var V=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,o=a(n,["evt"]);H.pluginEvent.bind(ze)(e,t,s({dragEl:Z,parentEl:q,ghostEl:J,rootEl:K,nextEl:ee,lastDownEl:te,cloneEl:ne,cloneHidden:re,dragStarted:ge,putSortable:le,activeSortable:ze.active,originalEvent:r,oldIndex:oe,oldDraggableIndex:se,newIndex:ie,newDraggableIndex:ae,hideGhostForTarget:De,unhideGhostForTarget:Le,cloneNowHidden:function(){re=!0},cloneNowShown:function(){re=!1},dispatchSortableEvent:function(e){X({sortable:t,name:e,originalEvent:r})}},o))};function X(e){W(s({putSortable:le,cloneEl:ne,targetEl:Z,rootEl:K,oldIndex:oe,oldDraggableIndex:se,newIndex:ie,newDraggableIndex:ae},e))}var Z,q,J,K,ee,te,ne,re,oe,ie,se,ae,ce,le,ue,me,pe,de,fe,Ae,ge,he,ve,be,ye,Ce=!1,we=!1,Ee=[],xe=!1,ke=!1,Te=[],Se=!1,Me=[],je="undefined"!=typeof document,Pe=f,Be=m||u?"cssFloat":"float",_e=je&&!A&&!f&&"draggable"in document.createElement("div"),Ie=function(){if(je){if(u)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),Ne=function(e,t){var n=k(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=B(e,0,t),i=B(e,1,t),s=o&&k(o),a=i&&k(i),c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+j(o).width,l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+j(i).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&s.float&&"none"!==s.float){var u="left"===s.float?"left":"right";return!i||"both"!==a.clear&&a.clear!==u?"horizontal":"vertical"}return o&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||c>=r&&"none"===n[Be]||i&&"none"===n[Be]&&c+l>r)?"vertical":"horizontal"},Oe=function(e){function t(e,n){return function(r,o,i,s){var a=r.options.group.name&&o.options.group.name&&r.options.group.name===o.options.group.name;if(null==e&&(n||a))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(r,o,i,s),n)(r,o,i,s);var c=(n?r:o).options.group.name;return!0===e||"string"==typeof e&&e===c||e.join&&e.indexOf(c)>-1}}var n={},o=e.group;o&&"object"==r(o)||(o={name:o}),n.name=o.name,n.checkPull=t(o.pull,!0),n.checkPut=t(o.put),n.revertClone=o.revertClone,e.group=n},De=function(){!Ie&&J&&k(J,"display","none")},Le=function(){!Ie&&J&&k(J,"display","")};je&&document.addEventListener("click",(function(e){if(we)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),we=!1,!1}),!0);var Fe=function(e){if(Z){e=e.touches?e.touches[0]:e;var t=(o=e.clientX,i=e.clientY,Ee.some((function(e){if(!_(e)){var t=j(e),n=e[$].options.emptyInsertThreshold,r=o>=t.left-n&&o<=t.right+n,a=i>=t.top-n&&i<=t.bottom+n;return n&&r&&a?s=e:void 0}})),s);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[$]._onDragOver(n)}}var o,i,s},Re=function(e){Z&&Z.parentNode[$]._isOutsideThisEl(e.target)};function ze(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=i({},t),e[$]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Ne(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==ze.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var r in H.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var o in Oe(t),this)"_"===o.charAt(0)&&"function"==typeof this[o]&&(this[o]=this[o].bind(this));this.nativeDraggable=!t.forceFallback&&_e,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?h(e,"pointerdown",this._onTapStart):(h(e,"mousedown",this._onTapStart),h(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(h(e,"dragover",this),h(e,"dragenter",this)),Ee.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),i(this,G())}function Ue(e,t,n,r,o,i,s,a){var c,l,p=e[$],d=p.options.onMove;return!window.CustomEvent||u||m?(c=document.createEvent("Event")).initEvent("move",!0,!0):c=new CustomEvent("move",{bubbles:!0,cancelable:!0}),c.to=t,c.from=e,c.dragged=n,c.draggedRect=r,c.related=o||t,c.relatedRect=i||j(t),c.willInsertAfter=a,c.originalEvent=s,e.dispatchEvent(c),d&&(l=d.call(p,c,s)),l}function $e(e){e.draggable=!1}function Ge(){Se=!1}function Qe(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function Ye(e){return setTimeout(e,0)}function He(e){return clearTimeout(e)}ze.prototype={constructor:ze,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(he=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,Z):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,o=r.preventOnFilter,i=e.type,s=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,a=(s||e).target,c=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||a,l=r.filter;if(function(e){Me.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var r=t[n];r.checked&&Me.push(r)}}(n),!Z&&!(/mousedown|pointerdown/.test(i)&&0!==e.button||r.disabled||c.isContentEditable||(a=C(a,r.draggable,n,!1))&&a.animated||te===a)){if(oe=I(a),se=I(a,r.draggable),"function"==typeof l){if(l.call(this,e,a,this))return X({sortable:t,rootEl:c,name:"filter",targetEl:a,toEl:n,fromEl:n}),V("filter",t,{evt:e}),void(o&&e.cancelable&&e.preventDefault())}else if(l&&(l=l.split(",").some((function(r){if(r=C(c,r.trim(),n,!1))return X({sortable:t,rootEl:r,name:"filter",targetEl:a,fromEl:n,toEl:n}),V("filter",t,{evt:e}),!0}))))return void(o&&e.cancelable&&e.preventDefault());r.handle&&!C(c,r.handle,n,!1)||this._prepareDragStart(e,s,a)}}},_prepareDragStart:function(e,t,n){var r,o=this,i=o.el,s=o.options,a=i.ownerDocument;if(n&&!Z&&n.parentNode===i){var c=j(n);if(K=i,q=(Z=n).parentNode,ee=Z.nextSibling,te=n,ce=s.group,ze.dragged=Z,ue={target:Z,clientX:(t||e).clientX,clientY:(t||e).clientY},fe=ue.clientX-c.left,Ae=ue.clientY-c.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,Z.style["will-change"]="all",r=function(){V("delayEnded",o,{evt:e}),ze.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!p&&o.nativeDraggable&&(Z.draggable=!0),o._triggerDragStart(e,t),X({sortable:o,name:"choose",originalEvent:e}),x(Z,s.chosenClass,!0))},s.ignore.split(",").forEach((function(e){S(Z,e.trim(),$e)})),h(a,"dragover",Fe),h(a,"mousemove",Fe),h(a,"touchmove",Fe),h(a,"mouseup",o._onDrop),h(a,"touchend",o._onDrop),h(a,"touchcancel",o._onDrop),p&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Z.draggable=!0),V("delayStart",this,{evt:e}),!s.delay||s.delayOnTouchOnly&&!t||this.nativeDraggable&&(m||u))r();else{if(ze.eventCanceled)return void this._onDrop();h(a,"mouseup",o._disableDelayedDrag),h(a,"touchend",o._disableDelayedDrag),h(a,"touchcancel",o._disableDelayedDrag),h(a,"mousemove",o._delayedDragTouchMoveHandler),h(a,"touchmove",o._delayedDragTouchMoveHandler),s.supportPointer&&h(a,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(r,s.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Z&&$e(Z),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;v(e,"mouseup",this._disableDelayedDrag),v(e,"touchend",this._disableDelayedDrag),v(e,"touchcancel",this._disableDelayedDrag),v(e,"mousemove",this._delayedDragTouchMoveHandler),v(e,"touchmove",this._delayedDragTouchMoveHandler),v(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?h(document,"pointermove",this._onTouchMove):h(document,t?"touchmove":"mousemove",this._onTouchMove):(h(Z,"dragend",this),h(K,"dragstart",this._onDragStart));try{document.selection?Ye((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(Ce=!1,K&&Z){V("dragStarted",this,{evt:t}),this.nativeDraggable&&h(document,"dragover",Re);var n=this.options;!e&&x(Z,n.dragClass,!1),x(Z,n.ghostClass,!0),ze.active=this,e&&this._appendGhost(),X({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(me){this._lastX=me.clientX,this._lastY=me.clientY,De();for(var e=document.elementFromPoint(me.clientX,me.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(me.clientX,me.clientY))!==t;)t=e;if(Z.parentNode[$]._isOutsideThisEl(e),t)do{if(t[$]){if(t[$]._onDragOver({clientX:me.clientX,clientY:me.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Le()}},_onTouchMove:function(e){if(ue){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,o=e.touches?e.touches[0]:e,i=J&&T(J,!0),s=J&&i&&i.a,a=J&&i&&i.d,c=Pe&&ye&&N(ye),l=(o.clientX-ue.clientX+r.x)/(s||1)+(c?c[0]-Te[0]:0)/(s||1),u=(o.clientY-ue.clientY+r.y)/(a||1)+(c?c[1]-Te[1]:0)/(a||1);if(!ze.active&&!Ce){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(J){i?(i.e+=l-(pe||0),i.f+=u-(de||0)):i={a:1,b:0,c:0,d:1,e:l,f:u};var m="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");k(J,"webkitTransform",m),k(J,"mozTransform",m),k(J,"msTransform",m),k(J,"transform",m),pe=l,de=u,me=o}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!J){var e=this.options.fallbackOnBody?document.body:K,t=j(Z,!0,Pe,!0,e),n=this.options;if(Pe){for(ye=e;"static"===k(ye,"position")&&"none"===k(ye,"transform")&&ye!==document;)ye=ye.parentNode;ye!==document.body&&ye!==document.documentElement?(ye===document&&(ye=M()),t.top+=ye.scrollTop,t.left+=ye.scrollLeft):ye=M(),Te=N(ye)}x(J=Z.cloneNode(!0),n.ghostClass,!1),x(J,n.fallbackClass,!0),x(J,n.dragClass,!0),k(J,"transition",""),k(J,"transform",""),k(J,"box-sizing","border-box"),k(J,"margin",0),k(J,"top",t.top),k(J,"left",t.left),k(J,"width",t.width),k(J,"height",t.height),k(J,"opacity","0.8"),k(J,"position",Pe?"absolute":"fixed"),k(J,"zIndex","100000"),k(J,"pointerEvents","none"),ze.ghost=J,e.appendChild(J),k(J,"transform-origin",fe/parseInt(J.style.width)*100+"% "+Ae/parseInt(J.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,o=n.options;V("dragStart",this,{evt:e}),ze.eventCanceled?this._onDrop():(V("setupClone",this),ze.eventCanceled||((ne=R(Z)).draggable=!1,ne.style["will-change"]="",this._hideClone(),x(ne,this.options.chosenClass,!1),ze.clone=ne),n.cloneId=Ye((function(){V("clone",n),ze.eventCanceled||(n.options.removeCloneOnHide||K.insertBefore(ne,Z),n._hideClone(),X({sortable:n,name:"clone"}))})),!t&&x(Z,o.dragClass,!0),t?(we=!0,n._loopId=setInterval(n._emulateDragOver,50)):(v(document,"mouseup",n._onDrop),v(document,"touchend",n._onDrop),v(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",o.setData&&o.setData.call(n,r,Z)),h(document,"drop",n),k(Z,"transform","translateZ(0)")),Ce=!0,n._dragStartId=Ye(n._dragStarted.bind(n,t,e)),h(document,"selectstart",n),ge=!0,d&&k(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,r,o,i=this.el,a=e.target,c=this.options,l=c.group,u=ze.active,m=ce===l,p=c.sort,d=le||u,f=this,A=!1;if(!Se){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=C(a,c.draggable,i,!0),D("dragOver"),ze.eventCanceled)return A;if(Z.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||f._ignoreWhileAnimating===a)return R(!1);if(we=!1,u&&!c.disabled&&(m?p||(r=!K.contains(Z)):le===this||(this.lastPutMode=ce.checkPull(this,u,Z,e))&&l.checkPut(this,u,Z,e))){if(o="vertical"===this._getDirection(e,a),t=j(Z),D("dragOverValid"),ze.eventCanceled)return A;if(r)return q=K,L(),this._hideClone(),D("revert"),ze.eventCanceled||(ee?K.insertBefore(Z,ee):K.appendChild(Z)),R(!0);var g=_(i,c.draggable);if(!g||function(e,t,n){var r=j(_(n.el,n.options.draggable));return t?e.clientX>r.right+10||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+10}(e,o,this)&&!g.animated){if(g===Z)return R(!1);if(g&&i===e.target&&(a=g),a&&(n=j(a)),!1!==Ue(K,i,Z,t,a,n,e,!!a))return L(),i.appendChild(Z),q=i,z(),R(!0)}else if(a.parentNode===i){n=j(a);var h,v,b,y=Z.parentNode!==i,w=!function(e,t,n){var r=n?e.left:e.top,o=n?e.right:e.bottom,i=n?e.width:e.height,s=n?t.left:t.top,a=n?t.right:t.bottom,c=n?t.width:t.height;return r===s||o===a||r+i/2===s+c/2}(Z.animated&&Z.toRect||t,a.animated&&a.toRect||n,o),E=o?"top":"left",T=P(a,"top","top")||P(Z,"top","top"),S=T?T.scrollTop:void 0;if(he!==a&&(v=n[E],xe=!1,ke=!w&&c.invertSwap||y),0!==(h=function(e,t,n,r,o,i,s,a){var c=r?e.clientY:e.clientX,l=r?n.height:n.width,u=r?n.top:n.left,m=r?n.bottom:n.right,p=!1;if(!s)if(a&&be<l*o){if(!xe&&(1===ve?c>u+l*i/2:c<m-l*i/2)&&(xe=!0),xe)p=!0;else if(1===ve?c<u+be:c>m-be)return-ve}else if(c>u+l*(1-o)/2&&c<m-l*(1-o)/2)return function(e){return I(Z)<I(e)?1:-1}(t);if((p=p||s)&&(c<u+l*i/2||c>m-l*i/2))return c>u+l/2?1:-1;return 0}(e,a,n,o,w?1:c.swapThreshold,null==c.invertedSwapThreshold?c.swapThreshold:c.invertedSwapThreshold,ke,he===a))){var M=I(Z);do{M-=h,b=q.children[M]}while(b&&("none"===k(b,"display")||b===J))}if(0===h||b===a)return R(!1);he=a,ve=h;var B=a.nextElementSibling,N=!1,O=Ue(K,i,Z,t,a,n,e,N=1===h);if(!1!==O)return 1!==O&&-1!==O||(N=1===O),Se=!0,setTimeout(Ge,30),L(),N&&!B?i.appendChild(Z):a.parentNode.insertBefore(Z,N?B:a),T&&F(T,0,S-T.scrollTop),q=Z.parentNode,void 0===v||ke||(be=Math.abs(v-j(a)[E])),z(),R(!0)}if(i.contains(Z))return R(!1)}return!1}function D(c,l){V(c,f,s({evt:e,isOwner:m,axis:o?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:p,fromSortable:d,target:a,completed:R,onMove:function(n,r){return Ue(K,i,Z,t,n,j(n),e,r)},changed:z},l))}function L(){D("dragOverAnimationCapture"),f.captureAnimationState(),f!==d&&d.captureAnimationState()}function R(t){return D("dragOverCompleted",{insertion:t}),t&&(m?u._hideClone():u._showClone(f),f!==d&&(x(Z,le?le.options.ghostClass:u.options.ghostClass,!1),x(Z,c.ghostClass,!0)),le!==f&&f!==ze.active?le=f:f===ze.active&&le&&(le=null),d===f&&(f._ignoreWhileAnimating=a),f.animateAll((function(){D("dragOverAnimationComplete"),f._ignoreWhileAnimating=null})),f!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(a===Z&&!Z.animated||a===i&&!a.animated)&&(he=null),c.dragoverBubble||e.rootEl||a===document||(Z.parentNode[$]._isOutsideThisEl(e.target),!t&&Fe(e)),!c.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),A=!0}function z(){ie=I(Z),ae=I(Z,c.draggable),X({sortable:f,name:"change",toEl:i,newIndex:ie,newDraggableIndex:ae,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){v(document,"mousemove",this._onTouchMove),v(document,"touchmove",this._onTouchMove),v(document,"pointermove",this._onTouchMove),v(document,"dragover",Fe),v(document,"mousemove",Fe),v(document,"touchmove",Fe)},_offUpEvents:function(){var e=this.el.ownerDocument;v(e,"mouseup",this._onDrop),v(e,"touchend",this._onDrop),v(e,"pointerup",this._onDrop),v(e,"touchcancel",this._onDrop),v(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;ie=I(Z),ae=I(Z,n.draggable),V("drop",this,{evt:e}),q=Z&&Z.parentNode,ie=I(Z),ae=I(Z,n.draggable),ze.eventCanceled||(Ce=!1,ke=!1,xe=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),He(this.cloneId),He(this._dragStartId),this.nativeDraggable&&(v(document,"drop",this),v(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),d&&k(document.body,"user-select",""),k(Z,"transform",""),e&&(ge&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),J&&J.parentNode&&J.parentNode.removeChild(J),(K===q||le&&"clone"!==le.lastPutMode)&&ne&&ne.parentNode&&ne.parentNode.removeChild(ne),Z&&(this.nativeDraggable&&v(Z,"dragend",this),$e(Z),Z.style["will-change"]="",ge&&!Ce&&x(Z,le?le.options.ghostClass:this.options.ghostClass,!1),x(Z,this.options.chosenClass,!1),X({sortable:this,name:"unchoose",toEl:q,newIndex:null,newDraggableIndex:null,originalEvent:e}),K!==q?(ie>=0&&(X({rootEl:q,name:"add",toEl:q,fromEl:K,originalEvent:e}),X({sortable:this,name:"remove",toEl:q,originalEvent:e}),X({rootEl:q,name:"sort",toEl:q,fromEl:K,originalEvent:e}),X({sortable:this,name:"sort",toEl:q,originalEvent:e})),le&&le.save()):ie!==oe&&ie>=0&&(X({sortable:this,name:"update",toEl:q,originalEvent:e}),X({sortable:this,name:"sort",toEl:q,originalEvent:e})),ze.active&&(null!=ie&&-1!==ie||(ie=oe,ae=se),X({sortable:this,name:"end",toEl:q,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){V("nulling",this),K=Z=q=J=ee=ne=te=re=ue=me=ge=ie=ae=oe=se=he=ve=le=ce=ze.dragged=ze.ghost=ze.clone=ze.active=null,Me.forEach((function(e){e.checked=!0})),Me.length=pe=de=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":Z&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,r=0,o=n.length,i=this.options;r<o;r++)C(e=n[r],i.draggable,this.el,!1)&&t.push(e.getAttribute(i.dataIdAttr)||Qe(e));return t},sort:function(e){var t={},n=this.el;this.toArray().forEach((function(e,r){var o=n.children[r];C(o,this.options.draggable,n,!1)&&(t[e]=o)}),this),e.forEach((function(e){t[e]&&(n.removeChild(t[e]),n.appendChild(t[e]))}))},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return C(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];var r=H.modifyOption(this,e,t);n[e]=void 0!==r?r:t,"group"===e&&Oe(n)},destroy:function(){V("destroy",this);var e=this.el;e[$]=null,v(e,"mousedown",this._onTapStart),v(e,"touchstart",this._onTapStart),v(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(v(e,"dragover",this),v(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Ee.splice(Ee.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!re){if(V("hideClone",this),ze.eventCanceled)return;k(ne,"display","none"),this.options.removeCloneOnHide&&ne.parentNode&&ne.parentNode.removeChild(ne),re=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(re){if(V("showClone",this),ze.eventCanceled)return;K.contains(Z)&&!this.options.group.revertClone?K.insertBefore(ne,Z):ee?K.insertBefore(ne,ee):K.appendChild(ne),this.options.group.revertClone&&this.animate(Z,ne),k(ne,"display",""),re=!1}}else this._hideClone()}},je&&h(document,"touchmove",(function(e){(ze.active||Ce)&&e.cancelable&&e.preventDefault()})),ze.utils={on:h,off:v,css:k,find:S,is:function(e,t){return!!C(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},throttle:L,closest:C,toggleClass:x,clone:R,index:I,nextTick:Ye,cancelNextTick:He,detectDirection:Ne,getChild:B},ze.get=function(e){return e[$]},ze.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(ze.utils=s({},ze.utils,e.utils)),H.mount(e)}))},ze.create=function(e,t){return new ze(e,t)},ze.version="1.10.2";var We,Ve,Xe,Ze,qe,Je,Ke=[],et=!1;function tt(){Ke.forEach((function(e){clearInterval(e.pid)})),Ke=[]}function nt(){clearInterval(Je)}var rt,ot=L((function(e,t,n,r){if(t.scroll){var o,i=(e.touches?e.touches[0]:e).clientX,s=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,c=t.scrollSpeed,l=M(),u=!1;Ve!==n&&(Ve=n,tt(),We=t.scroll,o=t.scrollFn,!0===We&&(We=O(n,!0)));var m=0,p=We;do{var d=p,f=j(d),A=f.top,g=f.bottom,h=f.left,v=f.right,b=f.width,y=f.height,C=void 0,w=void 0,E=d.scrollWidth,x=d.scrollHeight,T=k(d),S=d.scrollLeft,P=d.scrollTop;d===l?(C=b<E&&("auto"===T.overflowX||"scroll"===T.overflowX||"visible"===T.overflowX),w=y<x&&("auto"===T.overflowY||"scroll"===T.overflowY||"visible"===T.overflowY)):(C=b<E&&("auto"===T.overflowX||"scroll"===T.overflowX),w=y<x&&("auto"===T.overflowY||"scroll"===T.overflowY));var B=C&&(Math.abs(v-i)<=a&&S+b<E)-(Math.abs(h-i)<=a&&!!S),_=w&&(Math.abs(g-s)<=a&&P+y<x)-(Math.abs(A-s)<=a&&!!P);if(!Ke[m])for(var I=0;I<=m;I++)Ke[I]||(Ke[I]={});Ke[m].vx==B&&Ke[m].vy==_&&Ke[m].el===d||(Ke[m].el=d,Ke[m].vx=B,Ke[m].vy=_,clearInterval(Ke[m].pid),0==B&&0==_||(u=!0,Ke[m].pid=setInterval(function(){r&&0===this.layer&&ze.active._onTouchMove(qe);var t=Ke[this.layer].vy?Ke[this.layer].vy*c:0,n=Ke[this.layer].vx?Ke[this.layer].vx*c:0;"function"==typeof o&&"continue"!==o.call(ze.dragged.parentNode[$],n,t,e,qe,Ke[this.layer].el)||F(Ke[this.layer].el,n,t)}.bind({layer:m}),24))),m++}while(t.bubbleScroll&&p!==l&&(p=O(p,!1)));et=u}}),30),it=function(e){var t=e.originalEvent,n=e.putSortable,r=e.dragEl,o=e.activeSortable,i=e.dispatchSortableEvent,s=e.hideGhostForTarget,a=e.unhideGhostForTarget;if(t){var c=n||o;s();var l=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(l.clientX,l.clientY);a(),c&&!c.el.contains(u)&&(i("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function st(){}function at(){}function ct(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;rt=t},dragOverValid:function(e){var t=e.completed,n=e.target,r=e.onMove,o=e.activeSortable,i=e.changed,s=e.cancel;if(o.options.swap){var a=this.sortable.el,c=this.options;if(n&&n!==a){var l=rt;!1!==r(n)?(x(n,c.swapClass,!0),rt=n):rt=null,l&&l!==rt&&x(l,c.swapClass,!1)}i(),t(!0),s()}},drop:function(e){var t=e.activeSortable,n=e.putSortable,r=e.dragEl,o=n||this.sortable,i=this.options;rt&&x(rt,i.swapClass,!1),rt&&(i.swap||n&&n.options.swap)&&r!==rt&&(o.captureAnimationState(),o!==t&&t.captureAnimationState(),function(e,t){var n,r,o=e.parentNode,i=t.parentNode;if(!o||!i||o.isEqualNode(t)||i.isEqualNode(e))return;n=I(e),r=I(t),o.isEqualNode(i)&&n<r&&r++;o.insertBefore(t,o.children[n]),i.insertBefore(e,i.children[r])}(r,rt),o.animateAll(),o!==t&&t.animateAll())},nulling:function(){rt=null}},i(e,{pluginName:"swap",eventProperties:function(){return{swapItem:rt}}})}st.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var r=B(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(t,r):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:it},i(st,{pluginName:"revertOnSpill"}),at.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:it},i(at,{pluginName:"removeOnSpill"});var lt,ut,mt,pt,dt,ft=[],At=[],gt=!1,ht=!1,vt=!1;function bt(){function e(e){for(var t in this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this));e.options.supportPointer?h(document,"pointerup",this._deselectMultiDrag):(h(document,"mouseup",this._deselectMultiDrag),h(document,"touchend",this._deselectMultiDrag)),h(document,"keydown",this._checkKeyDown),h(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(t,n){var r="";ft.length&&ut===e?ft.forEach((function(e,t){r+=(t?", ":"")+e.textContent})):r=n.textContent,t.setData("Text",r)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(e){var t=e.dragEl;mt=t},delayEnded:function(){this.isMultiDrag=~ft.indexOf(mt)},setupClone:function(e){var t=e.sortable,n=e.cancel;if(this.isMultiDrag){for(var r=0;r<ft.length;r++)At.push(R(ft[r])),At[r].sortableIndex=ft[r].sortableIndex,At[r].draggable=!1,At[r].style["will-change"]="",x(At[r],this.options.selectedClass,!1),ft[r]===mt&&x(At[r],this.options.chosenClass,!1);t._hideClone(),n()}},clone:function(e){var t=e.sortable,n=e.rootEl,r=e.dispatchSortableEvent,o=e.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||ft.length&&ut===t&&(yt(!0,n),r("clone"),o()))},showClone:function(e){var t=e.cloneNowShown,n=e.rootEl,r=e.cancel;this.isMultiDrag&&(yt(!1,n),At.forEach((function(e){k(e,"display","")})),t(),dt=!1,r())},hideClone:function(e){var t=this,n=(e.sortable,e.cloneNowHidden),r=e.cancel;this.isMultiDrag&&(At.forEach((function(e){k(e,"display","none"),t.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)})),n(),dt=!0,r())},dragStartGlobal:function(e){e.sortable;!this.isMultiDrag&&ut&&ut.multiDrag._deselectMultiDrag(),ft.forEach((function(e){e.sortableIndex=I(e)})),ft=ft.sort((function(e,t){return e.sortableIndex-t.sortableIndex})),vt=!0},dragStarted:function(e){var t=this,n=e.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){ft.forEach((function(e){e!==mt&&k(e,"position","absolute")}));var r=j(mt,!1,!0,!0);ft.forEach((function(e){e!==mt&&z(e,r)})),ht=!0,gt=!0}n.animateAll((function(){ht=!1,gt=!1,t.options.animation&&ft.forEach((function(e){U(e)})),t.options.sort&&Ct()}))}},dragOver:function(e){var t=e.target,n=e.completed,r=e.cancel;ht&&~ft.indexOf(t)&&(n(!1),r())},revert:function(e){var t=e.fromSortable,n=e.rootEl,r=e.sortable,o=e.dragRect;ft.length>1&&(ft.forEach((function(e){r.addAnimationState({target:e,rect:ht?j(e):o}),U(e),e.fromRect=o,t.removeAnimationState(e)})),ht=!1,function(e,t){ft.forEach((function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,r=e.insertion,o=e.activeSortable,i=e.parentEl,s=e.putSortable,a=this.options;if(r){if(n&&o._hideClone(),gt=!1,a.animation&&ft.length>1&&(ht||!n&&!o.options.sort&&!s)){var c=j(mt,!1,!0,!0);ft.forEach((function(e){e!==mt&&(z(e,c),i.appendChild(e))})),ht=!0}if(!n)if(ht||Ct(),ft.length>1){var l=dt;o._showClone(t),o.options.animation&&!dt&&l&&At.forEach((function(e){o.addAnimationState({target:e,rect:pt}),e.fromRect=pt,e.thisAnimationDuration=null}))}else o._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,r=e.activeSortable;if(ft.forEach((function(e){e.thisAnimationDuration=null})),r.options.animation&&!n&&r.multiDrag.isMultiDrag){pt=i({},t);var o=T(mt,!0);pt.top-=o.f,pt.left-=o.e}},dragOverAnimationComplete:function(){ht&&(ht=!1,Ct())},drop:function(e){var t=e.originalEvent,n=e.rootEl,r=e.parentEl,o=e.sortable,i=e.dispatchSortableEvent,s=e.oldIndex,a=e.putSortable,c=a||this.sortable;if(t){var l=this.options,u=r.children;if(!vt)if(l.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),x(mt,l.selectedClass,!~ft.indexOf(mt)),~ft.indexOf(mt))ft.splice(ft.indexOf(mt),1),lt=null,W({sortable:o,rootEl:n,name:"deselect",targetEl:mt,originalEvt:t});else{if(ft.push(mt),W({sortable:o,rootEl:n,name:"select",targetEl:mt,originalEvt:t}),t.shiftKey&&lt&&o.el.contains(lt)){var m,p,d=I(lt),f=I(mt);if(~d&&~f&&d!==f)for(f>d?(p=d,m=f):(p=f,m=d+1);p<m;p++)~ft.indexOf(u[p])||(x(u[p],l.selectedClass,!0),ft.push(u[p]),W({sortable:o,rootEl:n,name:"select",targetEl:u[p],originalEvt:t}))}else lt=mt;ut=c}if(vt&&this.isMultiDrag){if((r[$].options.sort||r!==n)&&ft.length>1){var A=j(mt),g=I(mt,":not(."+this.options.selectedClass+")");if(!gt&&l.animation&&(mt.thisAnimationDuration=null),c.captureAnimationState(),!gt&&(l.animation&&(mt.fromRect=A,ft.forEach((function(e){if(e.thisAnimationDuration=null,e!==mt){var t=ht?j(e):A;e.fromRect=t,c.addAnimationState({target:e,rect:t})}}))),Ct(),ft.forEach((function(e){u[g]?r.insertBefore(e,u[g]):r.appendChild(e),g++})),s===I(mt))){var h=!1;ft.forEach((function(e){e.sortableIndex===I(e)||(h=!0)})),h&&i("update")}ft.forEach((function(e){U(e)})),c.animateAll()}ut=c}(n===r||a&&"clone"!==a.lastPutMode)&&At.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=vt=!1,At.length=0},destroyGlobal:function(){this._deselectMultiDrag(),v(document,"pointerup",this._deselectMultiDrag),v(document,"mouseup",this._deselectMultiDrag),v(document,"touchend",this._deselectMultiDrag),v(document,"keydown",this._checkKeyDown),v(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==vt&&vt||ut!==this.sortable||e&&C(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;ft.length;){var t=ft[0];x(t,this.options.selectedClass,!1),ft.shift(),W({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},i(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[$];t&&t.options.multiDrag&&!~ft.indexOf(e)&&(ut&&ut!==t&&(ut.multiDrag._deselectMultiDrag(),ut=t),x(e,t.options.selectedClass,!0),ft.push(e))},deselect:function(e){var t=e.parentNode[$],n=ft.indexOf(e);t&&t.options.multiDrag&&~n&&(x(e,t.options.selectedClass,!1),ft.splice(n,1))}},eventProperties:function(){var e=this,t=[],n=[];return ft.forEach((function(r){var o;t.push({multiDragElement:r,index:r.sortableIndex}),o=ht&&r!==mt?-1:ht?I(r,":not(."+e.options.selectedClass+")"):I(r),n.push({multiDragElement:r,index:o})})),{items:c(ft),clones:[].concat(At),oldIndicies:t,newIndicies:n}},optionListeners:{multiDragKey:function(e){return"ctrl"===(e=e.toLowerCase())?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}function yt(e,t){At.forEach((function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}function Ct(){ft.forEach((function(e){e!==mt&&e.parentNode&&e.parentNode.removeChild(e)}))}ze.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?h(document,"dragover",this._handleAutoScroll):this.options.supportPointer?h(document,"pointermove",this._handleFallbackAutoScroll):t.touches?h(document,"touchmove",this._handleFallbackAutoScroll):h(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):(v(document,"pointermove",this._handleFallbackAutoScroll),v(document,"touchmove",this._handleFallbackAutoScroll),v(document,"mousemove",this._handleFallbackAutoScroll)),nt(),tt(),clearTimeout(w),w=void 0},nulling:function(){qe=Ve=We=et=Je=Xe=Ze=null,Ke.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,r=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,i=document.elementFromPoint(r,o);if(qe=e,t||m||u||d){ot(e,this.options,i,t);var s=O(i,!0);!et||Je&&r===Xe&&o===Ze||(Je&&nt(),Je=setInterval((function(){var i=O(document.elementFromPoint(r,o),!0);i!==s&&(s=i,tt()),ot(e,n.options,i,t)}),10),Xe=r,Ze=o)}else{if(!this.options.bubbleScroll||O(i,!0)===M())return void tt();ot(e,this.options,O(i,!1),!1)}}},i(e,{pluginName:"scroll",initializeByDefault:!0})}),ze.mount(at,st),t.default=ze},function(e,t,n){e.exports=n(185)},function(e,t,n){"use strict";var r=n(11),o=n(117),i=n(186),s=n(123);function a(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var c=a(n(120));c.Axios=i,c.create=function(e){return a(s(c.defaults,e))},c.Cancel=n(124),c.CancelToken=n(199),c.isCancel=n(119),c.all=function(e){return Promise.all(e)},c.spread=n(200),c.isAxiosError=n(201),e.exports=c,e.exports.default=c},function(e,t,n){"use strict";var r=n(11),o=n(118),i=n(187),s=n(188),a=n(123);function c(e){this.defaults=e,this.interceptors={request:new i,response:new i}}c.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=a(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[s,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},c.prototype.getUri=function(e){return e=a(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(a(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,n,r){return this.request(a(r||{},{method:e,url:t,data:n}))}})),e.exports=c},function(e,t,n){"use strict";var r=n(11);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,n){"use strict";var r=n(11),o=n(189),i=n(119),s=n(120);function a(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return a(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||s.adapter)(e).then((function(t){return a(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(a(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var r=n(11);e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},function(e,t,n){"use strict";var r=n(11);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},function(e,t,n){"use strict";var r=n(122);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,n){"use strict";var r=n(11);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,s){var a=[];a.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(o)&&a.push("path="+o),r.isString(i)&&a.push("domain="+i),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(195),o=n(196);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(11),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,s={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(s[t]&&o.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([n]):s[t]?s[t]+", "+n:n}})),s):s}},function(e,t,n){"use strict";var r=n(11);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r=n(124);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},function(e,t,n){"use strict";var r=n(3),o=n(84).indexOf,i=n(88),s=[].indexOf,a=!!s&&1/[1].indexOf(1,-0)<0,c=i("indexOf");r({target:"Array",proto:!0,forced:a||!c},{indexOf:function(e){return a?s.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,n,r){"use strict";r.r(n);var o=r(9),i=r(13),s=r(21),a=r(125),c=r.n(a),l=r(127),u=r.n(l),m=r(18),p=r.n(m),d=r(4),f={data:function(){return{isMobile:this._isMobile()}},beforeMount:function(){window.addEventListener("resize",this._onResize)},beforeDestroy:function(){window.removeEventListener("resize",this._onResize)},methods:{_onResize:function(){this.isMobile=this._isMobile()},_isMobile:function(){return document.documentElement.clientWidth<768}}},A=function(e){return Object(d.generateFilePath)("dashboard","","img/")+e},g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return"default"===e?n&&"backgroundColor"!==n?Object(d.generateUrl)("/apps/theming/image/background")+"?v="+window.OCA.Theming.cacheBuster:window.OCA.Accessibility&&"dark"===window.OCA.Accessibility.theme?A("eduardo-neves-pedra-azul.jpg"):A("kamil-porembinski-clouds.jpg"):"custom"===e?Object(d.generateUrl)("/apps/dashboard/background")+"?v="+t:A(e)};function h(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function v(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){h(i,r,o,s,a,"next",e)}function a(e){h(i,r,o,s,a,"throw",e)}s(void 0)}))}}var b=Object(i.loadState)("dashboard","shippedBackgrounds"),y={name:"BackgroundSettings",props:{background:{type:String,default:"default"},themingDefaultBackground:{type:String,default:""}},data:function(){return{backgroundImage:Object(d.generateUrl)("/apps/dashboard/background")+"?v="+Date.now(),loading:!1}},computed:{shippedBackgrounds:function(){return Object.keys(b).map((function(e){return{name:e,url:A(e),preview:A("previews/"+e),details:b[e]}}))}},methods:{update:function(e){var t=this;return v(regeneratorRuntime.mark((function n(){var r,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r="custom"===e.type||"default"===e.type?e.type:e.value,t.backgroundImage=g(r,e.version,t.themingDefaultBackground),"color"!==e.type&&("default"!==e.type||"backgroundColor"!==t.themingDefaultBackground)){n.next=6;break}return t.$emit("update:background",e),t.loading=!1,n.abrupt("return");case 6:(o=new Image).onload=function(){t.$emit("update:background",e),t.loading=!1},o.src=t.backgroundImage;case 9:case"end":return n.stop()}}),n)})))()},setDefault:function(){var e=this;return v(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading="default",t.next=3,p.a.post(Object(d.generateUrl)("/apps/dashboard/background/default"));case 3:n=t.sent,e.update(n.data);case 5:case"end":return t.stop()}}),t)})))()},setShipped:function(e){var t=this;return v(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t.loading=e,n.next=3,p.a.post(Object(d.generateUrl)("/apps/dashboard/background/shipped"),{value:e});case 3:r=n.sent,t.update(r.data);case 5:case"end":return n.stop()}}),n)})))()},setFile:function(e){var t=this;return v(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t.loading="custom",n.next=3,p.a.post(Object(d.generateUrl)("/apps/dashboard/background/custom"),{value:e});case 3:r=n.sent,t.update(r.data);case 5:case"end":return n.stop()}}),n)})))()},pickColor:function(){var e=this;return v(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading="color",n=OCA&&OCA.Theming?OCA.Theming.color:"#0082c9",t.next=4,p.a.post(Object(d.generateUrl)("/apps/dashboard/background/color"),{value:n});case 4:r=t.sent,e.update(r.data);case 6:case"end":return t.stop()}}),t)})))()},pickFile:function(){var e=this;window.OC.dialogs.filepicker(t("dashboard","Insert from {productName}",{productName:OC.theme.name}),(function(t,n){n===OC.dialogs.FILEPICKER_TYPE_CHOOSE&&e.setFile(t)}),!1,["image/png","image/gif","image/jpeg","image/svg"],!0,OC.dialogs.FILEPICKER_TYPE_CHOOSE)}}},C=r(48),w=r.n(C),E=r(76),x={insert:"head",singleton:!1};w()(E.a,x),E.a.locals;function k(e,t,n,r,o,i,s,a){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),s?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=c):o&&(c=a?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var m=l.beforeCreate;l.beforeCreate=m?[].concat(m,c):[c]}return{exports:e,options:l}}var T=k(y,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"background-selector"},[n("button",{staticClass:"background filepicker",class:{active:"custom"===e.background},attrs:{tabindex:"0"},on:{click:e.pickFile}},[e._v("\n\t\t"+e._s(e.t("dashboard","Pick from Files"))+"\n\t")]),e._v(" "),n("button",{staticClass:"background default",class:{"icon-loading":"default"===e.loading,active:"default"===e.background},attrs:{tabindex:"0"},on:{click:e.setDefault}},[e._v("\n\t\t"+e._s(e.t("dashboard","Default images"))+"\n\t")]),e._v(" "),n("button",{staticClass:"background color",class:{active:"custom"===e.background},attrs:{tabindex:"0"},on:{click:e.pickColor}},[e._v("\n\t\t"+e._s(e.t("dashboard","Plain background"))+"\n\t")]),e._v(" "),e._l(e.shippedBackgrounds,(function(t){return n("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.details.attribution,expression:"shippedBackground.details.attribution"}],key:t.name,staticClass:"background",class:{"icon-loading":e.loading===t.name,active:e.background===t.name},style:{"background-image":"url("+t.preview+")"},attrs:{tabindex:"0"},on:{click:function(n){return e.setShipped(t.name)}}})}))],2)}),[],!1,null,"e4c3a7ca",null).exports,S=Object(i.loadState)("dashboard","panels"),M=Object(i.loadState)("dashboard","firstRun"),j=Object(i.loadState)("dashboard","background"),P=Object(i.loadState)("dashboard","themingDefaultBackground"),B=Object(i.loadState)("dashboard","version"),_=Object(i.loadState)("dashboard","shippedBackgrounds"),I={weather:{text:t("dashboard","Weather"),icon:"icon-weather-status"},status:{text:t("dashboard","Status"),icon:"icon-user-status-online"}},N={name:"App",components:{Modal:c.a,Draggable:u.a,BackgroundSettings:T},mixins:[f],data:function(){var e,t;return{isAdmin:Object(s.getCurrentUser)().isAdmin,timer:new Date,registeredStatus:[],callbacks:{},callbacksStatus:{},allCallbacksStatus:{},statusInfo:I,enabledStatuses:Object(i.loadState)("dashboard","statuses"),panels:S,firstRun:M,displayName:null===(e=Object(s.getCurrentUser)())||void 0===e?void 0:e.displayName,uid:null===(t=Object(s.getCurrentUser)())||void 0===t?void 0:t.uid,layout:Object(i.loadState)("dashboard","layout").filter((function(e){return S[e]})),modal:!1,appStoreUrl:Object(d.generateUrl)("/settings/apps/dashboard"),statuses:{},background:j,themingDefaultBackground:P,version:B}},computed:{backgroundImage:function(){return g(this.background,this.version,this.themingDefaultBackground)},backgroundStyle:function(){return"default"===this.background&&"backgroundColor"===this.themingDefaultBackground||this.background.match(/#[0-9A-Fa-f]{6}/g)?null:{backgroundImage:"url(".concat(this.backgroundImage,")")}},greeting:function(){var e,n=this.timer.getHours();e=n>=22||n<5?"night":n>=18?"evening":n>=12?"afternoon":"morning";var r={morning:{generic:t("dashboard","Good morning"),withName:t("dashboard","Good morning, {name}",{name:this.displayName})},afternoon:{generic:t("dashboard","Good afternoon"),withName:t("dashboard","Good afternoon, {name}",{name:this.displayName})},evening:{generic:t("dashboard","Good evening"),withName:t("dashboard","Good evening, {name}",{name:this.displayName})},night:{generic:t("dashboard","Hello"),withName:t("dashboard","Hello, {name}",{name:this.displayName})}};return{text:this.displayName&&this.uid!==this.displayName?r[e].withName:r[e].generic}},isActive:function(){var e=this;return function(t){return e.layout.indexOf(t.id)>-1}},isStatusActive:function(){var e=this;return function(t){return!(t in e.enabledStatuses)||e.enabledStatuses[t]}},sortedAllStatuses:function(){return Object.keys(this.allCallbacksStatus).slice().sort(this.sortStatuses)},sortedPanels:function(){var e=this;return Object.values(this.panels).sort((function(t,n){var r=e.layout.indexOf(t.id),o=e.layout.indexOf(n.id);return-1===r||-1===o?o-r||t.id-n.id:r-o||t.id-n.id}))},sortedRegisteredStatus:function(){return this.registeredStatus.slice().sort(this.sortStatuses)}},watch:{callbacks:function(){this.rerenderPanels()},callbacksStatus:function(){for(var e in this.callbacksStatus){var t=this.$refs["status-"+e];this.statuses[e]&&this.statuses[e].mounted||(t?(this.callbacksStatus[e](t[0]),o.default.set(this.statuses,e,{mounted:!0})):console.error("Failed to register panel in the frontend as no backend data was provided for "+e))}}},mounted:function(){var e=this;this.updateGlobalStyles(),this.updateSkipLink(),window.addEventListener("scroll",this.handleScroll),setInterval((function(){e.timer=new Date}),3e4),this.firstRun&&window.addEventListener("scroll",this.disableFirstrunHint)},destroyed:function(){window.removeEventListener("scroll",this.handleScroll)},methods:{register:function(e,t){o.default.set(this.callbacks,e,t)},registerStatus:function(e,t){var n=this;o.default.set(this.allCallbacksStatus,e,t),this.isStatusActive(e)&&(this.registeredStatus.push(e),this.$nextTick((function(){o.default.set(n.callbacksStatus,e,t)})))},rerenderPanels:function(){for(var e in this.callbacks){var t=this.$refs[e];-1!==this.layout.indexOf(e)&&(this.panels[e]&&this.panels[e].mounted||(t?(this.callbacks[e](t[0],{widget:this.panels[e]}),o.default.set(this.panels[e],"mounted",!0)):console.error("Failed to register panel in the frontend as no backend data was provided for "+e)))}},saveLayout:function(){p.a.post(Object(d.generateUrl)("/apps/dashboard/layout"),{layout:this.layout.join(",")})},saveStatuses:function(){p.a.post(Object(d.generateUrl)("/apps/dashboard/statuses"),{statuses:JSON.stringify(this.enabledStatuses)})},showModal:function(){this.modal=!0,this.firstRun=!1},closeModal:function(){this.modal=!1},updateCheckbox:function(e,t){var n=this,r=this.layout.indexOf(e.id);!t&&r>-1?this.layout.splice(r,1):this.layout.push(e.id),o.default.set(this.panels[e.id],"mounted",!1),this.saveLayout(),this.$nextTick((function(){return n.rerenderPanels()}))},disableFirstrunHint:function(){var e=this;window.removeEventListener("scroll",this.disableFirstrunHint),setTimeout((function(){e.firstRun=!1}),1e3)},updateBackground:function(e){this.background="custom"===e.type||"default"===e.type?e.type:e.value,this.version=e.version,this.updateGlobalStyles()},updateGlobalStyles:function(){document.body.setAttribute("data-dashboard-background",this.background),window.OCA.Theming.inverted&&document.body.classList.add("dashboard--inverted"),"dark"===(_[this.background]?_[this.background].theming:"light")?document.body.classList.add("dashboard--dark"):document.body.classList.remove("dashboard--dark")},updateSkipLink:function(){document.getElementsByClassName("skip-navigation")[0].setAttribute("href","#app-dashboard")},updateStatusCheckbox:function(e,t){t?this.enableStatus(e):this.disableStatus(e)},enableStatus:function(e){this.enabledStatuses[e]=!0,this.registerStatus(e,this.allCallbacksStatus[e]),this.saveStatuses()},disableStatus:function(e){var t=this;this.enabledStatuses[e]=!1;var n=this.registeredStatus.findIndex((function(t){return t===e}));-1!==n&&(this.registeredStatus.splice(n,1),o.default.set(this.statuses,e,{mounted:!1}),this.$nextTick((function(){o.default.delete(t.callbacksStatus,e)}))),this.saveStatuses()},sortStatuses:function(e,t){var n=e.toLowerCase(),r=t.toLowerCase();return n>r?1:n<r?-1:0},handleScroll:function(){window.scrollY>70?document.body.classList.add("dashboard--scrolled"):document.body.classList.remove("dashboard--scrolled")}}},O=r(77),D={insert:"head",singleton:!1},L=(w()(O.a,D),O.a.locals,k(N,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{style:e.backgroundStyle,attrs:{id:"app-dashboard"}},[n("h2",[e._v(e._s(e.greeting.text))]),e._v(" "),n("ul",{staticClass:"statuses"},e._l(e.sortedRegisteredStatus,(function(e){return n("div",{key:e,attrs:{id:"status-"+e}},[n("div",{ref:"status-"+e,refInFor:!0})])})),0),e._v(" "),n("Draggable",{staticClass:"panels",attrs:{handle:".panel--header"},on:{end:e.saveLayout},model:{value:e.layout,callback:function(t){e.layout=t},expression:"layout"}},e._l(e.layout,(function(t){return n("div",{key:e.panels[t].id,staticClass:"panel"},[n("div",{staticClass:"panel--header"},[n("h2",{class:e.panels[t].iconClass},[e._v("\n\t\t\t\t\t"+e._s(e.panels[t].title)+"\n\t\t\t\t")])]),e._v(" "),n("div",{staticClass:"panel--content",class:{loading:!e.panels[t].mounted}},[n("div",{ref:e.panels[t].id,refInFor:!0,attrs:{"data-id":e.panels[t].id}})])])})),0),e._v(" "),n("div",{staticClass:"footer"},[n("a",{staticClass:"edit-panels icon-rename",attrs:{tabindex:"0"},on:{click:e.showModal,keyup:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.showModal(t)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:e.showModal(t)}]}},[e._v(e._s(e.t("dashboard","Customize")))])]),e._v(" "),e.modal?n("Modal",{on:{close:e.closeModal}},[n("div",{staticClass:"modal__content"},[n("h3",[e._v(e._s(e.t("dashboard","Edit widgets")))]),e._v(" "),n("ol",{staticClass:"panels"},e._l(e.sortedAllStatuses,(function(t){return n("li",{key:t},[n("input",{staticClass:"checkbox",attrs:{id:"status-checkbox-"+t,type:"checkbox"},domProps:{checked:e.isStatusActive(t)},on:{input:function(n){return e.updateStatusCheckbox(t,n.target.checked)}}}),e._v(" "),n("label",{class:e.statusInfo[t].icon,attrs:{for:"status-checkbox-"+t}},[e._v("\n\t\t\t\t\t\t"+e._s(e.statusInfo[t].text)+"\n\t\t\t\t\t")])])})),0),e._v(" "),n("Draggable",{staticClass:"panels",attrs:{tag:"ol",handle:".draggable"},on:{end:e.saveLayout},model:{value:e.layout,callback:function(t){e.layout=t},expression:"layout"}},e._l(e.sortedPanels,(function(t){return n("li",{key:t.id},[n("input",{staticClass:"checkbox",attrs:{id:"panel-checkbox-"+t.id,type:"checkbox"},domProps:{checked:e.isActive(t)},on:{input:function(n){return e.updateCheckbox(t,n.target.checked)}}}),e._v(" "),n("label",{class:e.isActive(t)?"draggable "+t.iconClass:t.iconClass,attrs:{for:"panel-checkbox-"+t.id}},[e._v("\n\t\t\t\t\t\t"+e._s(t.title)+"\n\t\t\t\t\t")])])})),0),e._v(" "),e.isAdmin?n("a",{staticClass:"button",attrs:{href:e.appStoreUrl}},[e._v(e._s(e.t("dashboard","Get more widgets from the app store")))]):e._e(),e._v(" "),n("h3",[e._v(e._s(e.t("dashboard","Change background image")))]),e._v(" "),n("BackgroundSettings",{attrs:{background:e.background,"theming-default-background":e.themingDefaultBackground},on:{"update:background":e.updateBackground}}),e._v(" "),n("h3",[e._v(e._s(e.t("dashboard","Weather service")))]),e._v(" "),n("p",[e._v("\n\t\t\t\t"+e._s(e.t("dashboard","For your privacy, the weather data is requested by your Nextcloud server on your behalf so the weather service receives no personal information."))+"\n\t\t\t")]),e._v(" "),n("p",{staticClass:"credits--end"},[n("a",{attrs:{href:"https://api.met.no/doc/TermsOfService",target:"_blank",rel:"noopener"}},[e._v(e._s(e.t("dashboard","Weather data from Met.no")))]),e._v(",\n\t\t\t\t"),n("a",{attrs:{href:"https://wiki.osmfoundation.org/wiki/Privacy_Policy",target:"_blank",rel:"noopener"}},[e._v(e._s(e.t("dashboard","geocoding with Nominatim")))]),e._v(",\n\t\t\t\t"),n("a",{attrs:{href:"https://www.opentopodata.org/#public-api",target:"_blank",rel:"noopener"}},[e._v(e._s(e.t("dashboard","elevation data from OpenTopoData")))]),e._v(".\n\t\t\t")])],1)]):e._e()],1)}),[],!1,null,"23d084c5",null).exports),F=r(74),R=r(128),z=r.n(R);r.nc=btoa(Object(s.getRequestToken)()),r.p=Object(d.generateFilePath)("dashboard","","js/"),o.default.directive("Tooltip",z.a),o.default.prototype.t=F.translate,Object.assign(window.OCA.Files,{App:{fileList:{filesClient:OC.Files.getClient()}}},window.OCA.Files);var U=new(o.default.extend(L))({}).$mount("#app-content-vue");window.OCA.Dashboard={register:function(e,t){return U.register(e,t)},registerStatus:function(e,t){return U.registerStatus(e,t)}}}]);
+function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}function a(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function c(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.r(t),n.d(t,"MultiDrag",(function(){return bt})),n.d(t,"Sortable",(function(){return ze})),n.d(t,"Swap",(function(){return ct}));function l(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var u=l(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),m=l(/Edge/i),p=l(/firefox/i),d=l(/safari/i)&&!l(/chrome/i)&&!l(/android/i),f=l(/iP(ad|od|hone)/i),A=l(/chrome/i)&&l(/android/i),g={capture:!1,passive:!1};function h(e,t,n){e.addEventListener(t,n,!u&&g)}function v(e,t,n){e.removeEventListener(t,n,!u&&g)}function b(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function y(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function C(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&b(e,t):b(e,t))||r&&e===n)return e;if(e===n)break}while(e=y(e))}return null}var w,E=/\s+/g;function x(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(E," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(E," ")}}function k(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function T(e,t){var n="";if("string"==typeof e)n=e;else do{var r=k(e,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function S(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,i=r.length;if(n)for(;o<i;o++)n(r[o],o);return r}return[]}function M(){var e=document.scrollingElement;return e||document.documentElement}function j(e,t,n,r,o){if(e.getBoundingClientRect||e===window){var i,s,a,c,l,m,p;if(e!==window&&e!==M()?(s=(i=e.getBoundingClientRect()).top,a=i.left,c=i.bottom,l=i.right,m=i.height,p=i.width):(s=0,a=0,c=window.innerHeight,l=window.innerWidth,m=window.innerHeight,p=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!u))do{if(o&&o.getBoundingClientRect&&("none"!==k(o,"transform")||n&&"static"!==k(o,"position"))){var d=o.getBoundingClientRect();s-=d.top+parseInt(k(o,"border-top-width")),a-=d.left+parseInt(k(o,"border-left-width")),c=s+i.height,l=a+i.width;break}}while(o=o.parentNode);if(r&&e!==window){var f=T(o||e),A=f&&f.a,g=f&&f.d;f&&(c=(s/=g)+(m/=g),l=(a/=A)+(p/=A))}return{top:s,left:a,bottom:c,right:l,width:p,height:m}}}function P(e,t,n){for(var r=O(e,!0),o=j(e)[t];r;){var i=j(r)[n];if(!("top"===n||"left"===n?o>=i:o<=i))return r;if(r===M())break;r=O(r,!1)}return!1}function B(e,t,n){for(var r=0,o=0,i=e.children;o<i.length;){if("none"!==i[o].style.display&&i[o]!==ze.ghost&&i[o]!==ze.dragged&&C(i[o],n.draggable,e,!1)){if(r===t)return i[o];r++}o++}return null}function _(e,t){for(var n=e.lastElementChild;n&&(n===ze.ghost||"none"===k(n,"display")||t&&!b(n,t));)n=n.previousElementSibling;return n||null}function I(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===ze.clone||t&&!b(e,t)||n++;return n}function N(e){var t=0,n=0,r=M();if(e)do{var o=T(e),i=o.a,s=o.d;t+=e.scrollLeft*i,n+=e.scrollTop*s}while(e!==r&&(e=e.parentNode));return[t,n]}function O(e,t){if(!e||!e.getBoundingClientRect)return M();var n=e,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=k(n);if(n.clientWidth<n.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!n.getBoundingClientRect||n===document.body)return M();if(r||t)return n;r=!0}}}while(n=n.parentNode);return M()}function D(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function L(e,t){return function(){if(!w){var n=arguments,r=this;1===n.length?e.call(r,n[0]):e.apply(r,n),w=setTimeout((function(){w=void 0}),t)}}}function F(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function R(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function z(e,t){k(e,"position","absolute"),k(e,"top",t.top),k(e,"left",t.left),k(e,"width",t.width),k(e,"height",t.height)}function U(e){k(e,"position",""),k(e,"top",""),k(e,"left",""),k(e,"width",""),k(e,"height","")}var $="Sortable"+(new Date).getTime();function G(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==k(e,"display")&&e!==ze.ghost){t.push({target:e,rect:j(e)});var n=s({},t[t.length-1].rect);if(e.thisAnimationDuration){var r=T(e,!0);r&&(n.top-=r.f,n.left-=r.e)}e.fromRect=n}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n);return-1}(t,{target:e}),1)},animateAll:function(n){var r=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof n&&n());var o=!1,i=0;t.forEach((function(e){var t=0,n=e.target,s=n.fromRect,a=j(n),c=n.prevFromRect,l=n.prevToRect,u=e.rect,m=T(n,!0);m&&(a.top-=m.f,a.left-=m.e),n.toRect=a,n.thisAnimationDuration&&D(c,a)&&!D(s,a)&&(u.top-a.top)/(u.left-a.left)==(s.top-a.top)/(s.left-a.left)&&(t=function(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}(u,c,l,r.options)),D(a,s)||(n.prevFromRect=s,n.prevToRect=a,t||(t=r.options.animation),r.animate(n,u,a,t)),t&&(o=!0,i=Math.max(i,t),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),t),n.thisAnimationDuration=t)})),clearTimeout(e),o?e=setTimeout((function(){"function"==typeof n&&n()}),i):"function"==typeof n&&n(),t=[]},animate:function(e,t,n,r){if(r){k(e,"transition",""),k(e,"transform","");var o=T(this.el),i=o&&o.a,s=o&&o.d,a=(t.left-n.left)/(i||1),c=(t.top-n.top)/(s||1);e.animatingX=!!a,e.animatingY=!!c,k(e,"transform","translate3d("+a+"px,"+c+"px,0)"),function(e){e.offsetWidth}(e),k(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),k(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){k(e,"transition",""),k(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),r)}}}}var Q=[],Y={initializeByDefault:!0},H={mount:function(e){for(var t in Y)Y.hasOwnProperty(t)&&!(t in e)&&(e[t]=Y[t]);Q.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var o=e+"Global";Q.forEach((function(r){t[r.pluginName]&&(t[r.pluginName][o]&&t[r.pluginName][o](s({sortable:t},n)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](s({sortable:t},n)))}))},initializePlugins:function(e,t,n,r){for(var o in Q.forEach((function(r){var o=r.pluginName;if(e.options[o]||r.initializeByDefault){var s=new r(e,t,e.options);s.sortable=e,s.options=e.options,e[o]=s,i(n,s.defaults)}})),e.options)if(e.options.hasOwnProperty(o)){var s=this.modifyOption(e,o,e.options[o]);void 0!==s&&(e.options[o]=s)}},getEventProperties:function(e,t){var n={};return Q.forEach((function(r){"function"==typeof r.eventProperties&&i(n,r.eventProperties.call(t[r.pluginName],e))})),n},modifyOption:function(e,t,n){var r;return Q.forEach((function(o){e[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[t]&&(r=o.optionListeners[t].call(e[o.pluginName],n))})),r}};function W(e){var t=e.sortable,n=e.rootEl,r=e.name,o=e.targetEl,i=e.cloneEl,a=e.toEl,c=e.fromEl,l=e.oldIndex,p=e.newIndex,d=e.oldDraggableIndex,f=e.newDraggableIndex,A=e.originalEvent,g=e.putSortable,h=e.extraEventProperties;if(t=t||n&&n[$]){var v,b=t.options,y="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||u||m?(v=document.createEvent("Event")).initEvent(r,!0,!0):v=new CustomEvent(r,{bubbles:!0,cancelable:!0}),v.to=a||n,v.from=c||n,v.item=o||n,v.clone=i,v.oldIndex=l,v.newIndex=p,v.oldDraggableIndex=d,v.newDraggableIndex=f,v.originalEvent=A,v.pullMode=g?g.lastPutMode:void 0;var C=s({},h,H.getEventProperties(r,t));for(var w in C)v[w]=C[w];n&&n.dispatchEvent(v),b[y]&&b[y].call(t,v)}}var V=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,o=a(n,["evt"]);H.pluginEvent.bind(ze)(e,t,s({dragEl:Z,parentEl:q,ghostEl:J,rootEl:K,nextEl:ee,lastDownEl:te,cloneEl:ne,cloneHidden:re,dragStarted:ge,putSortable:le,activeSortable:ze.active,originalEvent:r,oldIndex:oe,oldDraggableIndex:se,newIndex:ie,newDraggableIndex:ae,hideGhostForTarget:De,unhideGhostForTarget:Le,cloneNowHidden:function(){re=!0},cloneNowShown:function(){re=!1},dispatchSortableEvent:function(e){X({sortable:t,name:e,originalEvent:r})}},o))};function X(e){W(s({putSortable:le,cloneEl:ne,targetEl:Z,rootEl:K,oldIndex:oe,oldDraggableIndex:se,newIndex:ie,newDraggableIndex:ae},e))}var Z,q,J,K,ee,te,ne,re,oe,ie,se,ae,ce,le,ue,me,pe,de,fe,Ae,ge,he,ve,be,ye,Ce=!1,we=!1,Ee=[],xe=!1,ke=!1,Te=[],Se=!1,Me=[],je="undefined"!=typeof document,Pe=f,Be=m||u?"cssFloat":"float",_e=je&&!A&&!f&&"draggable"in document.createElement("div"),Ie=function(){if(je){if(u)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),Ne=function(e,t){var n=k(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=B(e,0,t),i=B(e,1,t),s=o&&k(o),a=i&&k(i),c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+j(o).width,l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+j(i).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&s.float&&"none"!==s.float){var u="left"===s.float?"left":"right";return!i||"both"!==a.clear&&a.clear!==u?"horizontal":"vertical"}return o&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||c>=r&&"none"===n[Be]||i&&"none"===n[Be]&&c+l>r)?"vertical":"horizontal"},Oe=function(e){function t(e,n){return function(r,o,i,s){var a=r.options.group.name&&o.options.group.name&&r.options.group.name===o.options.group.name;if(null==e&&(n||a))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(r,o,i,s),n)(r,o,i,s);var c=(n?r:o).options.group.name;return!0===e||"string"==typeof e&&e===c||e.join&&e.indexOf(c)>-1}}var n={},o=e.group;o&&"object"==r(o)||(o={name:o}),n.name=o.name,n.checkPull=t(o.pull,!0),n.checkPut=t(o.put),n.revertClone=o.revertClone,e.group=n},De=function(){!Ie&&J&&k(J,"display","none")},Le=function(){!Ie&&J&&k(J,"display","")};je&&document.addEventListener("click",(function(e){if(we)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),we=!1,!1}),!0);var Fe=function(e){if(Z){e=e.touches?e.touches[0]:e;var t=(o=e.clientX,i=e.clientY,Ee.some((function(e){if(!_(e)){var t=j(e),n=e[$].options.emptyInsertThreshold,r=o>=t.left-n&&o<=t.right+n,a=i>=t.top-n&&i<=t.bottom+n;return n&&r&&a?s=e:void 0}})),s);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[$]._onDragOver(n)}}var o,i,s},Re=function(e){Z&&Z.parentNode[$]._isOutsideThisEl(e.target)};function ze(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=i({},t),e[$]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Ne(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==ze.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var r in H.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var o in Oe(t),this)"_"===o.charAt(0)&&"function"==typeof this[o]&&(this[o]=this[o].bind(this));this.nativeDraggable=!t.forceFallback&&_e,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?h(e,"pointerdown",this._onTapStart):(h(e,"mousedown",this._onTapStart),h(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(h(e,"dragover",this),h(e,"dragenter",this)),Ee.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),i(this,G())}function Ue(e,t,n,r,o,i,s,a){var c,l,p=e[$],d=p.options.onMove;return!window.CustomEvent||u||m?(c=document.createEvent("Event")).initEvent("move",!0,!0):c=new CustomEvent("move",{bubbles:!0,cancelable:!0}),c.to=t,c.from=e,c.dragged=n,c.draggedRect=r,c.related=o||t,c.relatedRect=i||j(t),c.willInsertAfter=a,c.originalEvent=s,e.dispatchEvent(c),d&&(l=d.call(p,c,s)),l}function $e(e){e.draggable=!1}function Ge(){Se=!1}function Qe(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function Ye(e){return setTimeout(e,0)}function He(e){return clearTimeout(e)}ze.prototype={constructor:ze,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(he=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,Z):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,o=r.preventOnFilter,i=e.type,s=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,a=(s||e).target,c=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||a,l=r.filter;if(function(e){Me.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var r=t[n];r.checked&&Me.push(r)}}(n),!Z&&!(/mousedown|pointerdown/.test(i)&&0!==e.button||r.disabled||c.isContentEditable||(a=C(a,r.draggable,n,!1))&&a.animated||te===a)){if(oe=I(a),se=I(a,r.draggable),"function"==typeof l){if(l.call(this,e,a,this))return X({sortable:t,rootEl:c,name:"filter",targetEl:a,toEl:n,fromEl:n}),V("filter",t,{evt:e}),void(o&&e.cancelable&&e.preventDefault())}else if(l&&(l=l.split(",").some((function(r){if(r=C(c,r.trim(),n,!1))return X({sortable:t,rootEl:r,name:"filter",targetEl:a,fromEl:n,toEl:n}),V("filter",t,{evt:e}),!0}))))return void(o&&e.cancelable&&e.preventDefault());r.handle&&!C(c,r.handle,n,!1)||this._prepareDragStart(e,s,a)}}},_prepareDragStart:function(e,t,n){var r,o=this,i=o.el,s=o.options,a=i.ownerDocument;if(n&&!Z&&n.parentNode===i){var c=j(n);if(K=i,q=(Z=n).parentNode,ee=Z.nextSibling,te=n,ce=s.group,ze.dragged=Z,ue={target:Z,clientX:(t||e).clientX,clientY:(t||e).clientY},fe=ue.clientX-c.left,Ae=ue.clientY-c.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,Z.style["will-change"]="all",r=function(){V("delayEnded",o,{evt:e}),ze.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!p&&o.nativeDraggable&&(Z.draggable=!0),o._triggerDragStart(e,t),X({sortable:o,name:"choose",originalEvent:e}),x(Z,s.chosenClass,!0))},s.ignore.split(",").forEach((function(e){S(Z,e.trim(),$e)})),h(a,"dragover",Fe),h(a,"mousemove",Fe),h(a,"touchmove",Fe),h(a,"mouseup",o._onDrop),h(a,"touchend",o._onDrop),h(a,"touchcancel",o._onDrop),p&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Z.draggable=!0),V("delayStart",this,{evt:e}),!s.delay||s.delayOnTouchOnly&&!t||this.nativeDraggable&&(m||u))r();else{if(ze.eventCanceled)return void this._onDrop();h(a,"mouseup",o._disableDelayedDrag),h(a,"touchend",o._disableDelayedDrag),h(a,"touchcancel",o._disableDelayedDrag),h(a,"mousemove",o._delayedDragTouchMoveHandler),h(a,"touchmove",o._delayedDragTouchMoveHandler),s.supportPointer&&h(a,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(r,s.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Z&&$e(Z),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;v(e,"mouseup",this._disableDelayedDrag),v(e,"touchend",this._disableDelayedDrag),v(e,"touchcancel",this._disableDelayedDrag),v(e,"mousemove",this._delayedDragTouchMoveHandler),v(e,"touchmove",this._delayedDragTouchMoveHandler),v(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?h(document,"pointermove",this._onTouchMove):h(document,t?"touchmove":"mousemove",this._onTouchMove):(h(Z,"dragend",this),h(K,"dragstart",this._onDragStart));try{document.selection?Ye((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(Ce=!1,K&&Z){V("dragStarted",this,{evt:t}),this.nativeDraggable&&h(document,"dragover",Re);var n=this.options;!e&&x(Z,n.dragClass,!1),x(Z,n.ghostClass,!0),ze.active=this,e&&this._appendGhost(),X({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(me){this._lastX=me.clientX,this._lastY=me.clientY,De();for(var e=document.elementFromPoint(me.clientX,me.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(me.clientX,me.clientY))!==t;)t=e;if(Z.parentNode[$]._isOutsideThisEl(e),t)do{if(t[$]){if(t[$]._onDragOver({clientX:me.clientX,clientY:me.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Le()}},_onTouchMove:function(e){if(ue){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,o=e.touches?e.touches[0]:e,i=J&&T(J,!0),s=J&&i&&i.a,a=J&&i&&i.d,c=Pe&&ye&&N(ye),l=(o.clientX-ue.clientX+r.x)/(s||1)+(c?c[0]-Te[0]:0)/(s||1),u=(o.clientY-ue.clientY+r.y)/(a||1)+(c?c[1]-Te[1]:0)/(a||1);if(!ze.active&&!Ce){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(J){i?(i.e+=l-(pe||0),i.f+=u-(de||0)):i={a:1,b:0,c:0,d:1,e:l,f:u};var m="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");k(J,"webkitTransform",m),k(J,"mozTransform",m),k(J,"msTransform",m),k(J,"transform",m),pe=l,de=u,me=o}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!J){var e=this.options.fallbackOnBody?document.body:K,t=j(Z,!0,Pe,!0,e),n=this.options;if(Pe){for(ye=e;"static"===k(ye,"position")&&"none"===k(ye,"transform")&&ye!==document;)ye=ye.parentNode;ye!==document.body&&ye!==document.documentElement?(ye===document&&(ye=M()),t.top+=ye.scrollTop,t.left+=ye.scrollLeft):ye=M(),Te=N(ye)}x(J=Z.cloneNode(!0),n.ghostClass,!1),x(J,n.fallbackClass,!0),x(J,n.dragClass,!0),k(J,"transition",""),k(J,"transform",""),k(J,"box-sizing","border-box"),k(J,"margin",0),k(J,"top",t.top),k(J,"left",t.left),k(J,"width",t.width),k(J,"height",t.height),k(J,"opacity","0.8"),k(J,"position",Pe?"absolute":"fixed"),k(J,"zIndex","100000"),k(J,"pointerEvents","none"),ze.ghost=J,e.appendChild(J),k(J,"transform-origin",fe/parseInt(J.style.width)*100+"% "+Ae/parseInt(J.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,o=n.options;V("dragStart",this,{evt:e}),ze.eventCanceled?this._onDrop():(V("setupClone",this),ze.eventCanceled||((ne=R(Z)).draggable=!1,ne.style["will-change"]="",this._hideClone(),x(ne,this.options.chosenClass,!1),ze.clone=ne),n.cloneId=Ye((function(){V("clone",n),ze.eventCanceled||(n.options.removeCloneOnHide||K.insertBefore(ne,Z),n._hideClone(),X({sortable:n,name:"clone"}))})),!t&&x(Z,o.dragClass,!0),t?(we=!0,n._loopId=setInterval(n._emulateDragOver,50)):(v(document,"mouseup",n._onDrop),v(document,"touchend",n._onDrop),v(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",o.setData&&o.setData.call(n,r,Z)),h(document,"drop",n),k(Z,"transform","translateZ(0)")),Ce=!0,n._dragStartId=Ye(n._dragStarted.bind(n,t,e)),h(document,"selectstart",n),ge=!0,d&&k(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,r,o,i=this.el,a=e.target,c=this.options,l=c.group,u=ze.active,m=ce===l,p=c.sort,d=le||u,f=this,A=!1;if(!Se){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=C(a,c.draggable,i,!0),D("dragOver"),ze.eventCanceled)return A;if(Z.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||f._ignoreWhileAnimating===a)return R(!1);if(we=!1,u&&!c.disabled&&(m?p||(r=!K.contains(Z)):le===this||(this.lastPutMode=ce.checkPull(this,u,Z,e))&&l.checkPut(this,u,Z,e))){if(o="vertical"===this._getDirection(e,a),t=j(Z),D("dragOverValid"),ze.eventCanceled)return A;if(r)return q=K,L(),this._hideClone(),D("revert"),ze.eventCanceled||(ee?K.insertBefore(Z,ee):K.appendChild(Z)),R(!0);var g=_(i,c.draggable);if(!g||function(e,t,n){var r=j(_(n.el,n.options.draggable));return t?e.clientX>r.right+10||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+10}(e,o,this)&&!g.animated){if(g===Z)return R(!1);if(g&&i===e.target&&(a=g),a&&(n=j(a)),!1!==Ue(K,i,Z,t,a,n,e,!!a))return L(),i.appendChild(Z),q=i,z(),R(!0)}else if(a.parentNode===i){n=j(a);var h,v,b,y=Z.parentNode!==i,w=!function(e,t,n){var r=n?e.left:e.top,o=n?e.right:e.bottom,i=n?e.width:e.height,s=n?t.left:t.top,a=n?t.right:t.bottom,c=n?t.width:t.height;return r===s||o===a||r+i/2===s+c/2}(Z.animated&&Z.toRect||t,a.animated&&a.toRect||n,o),E=o?"top":"left",T=P(a,"top","top")||P(Z,"top","top"),S=T?T.scrollTop:void 0;if(he!==a&&(v=n[E],xe=!1,ke=!w&&c.invertSwap||y),0!==(h=function(e,t,n,r,o,i,s,a){var c=r?e.clientY:e.clientX,l=r?n.height:n.width,u=r?n.top:n.left,m=r?n.bottom:n.right,p=!1;if(!s)if(a&&be<l*o){if(!xe&&(1===ve?c>u+l*i/2:c<m-l*i/2)&&(xe=!0),xe)p=!0;else if(1===ve?c<u+be:c>m-be)return-ve}else if(c>u+l*(1-o)/2&&c<m-l*(1-o)/2)return function(e){return I(Z)<I(e)?1:-1}(t);if((p=p||s)&&(c<u+l*i/2||c>m-l*i/2))return c>u+l/2?1:-1;return 0}(e,a,n,o,w?1:c.swapThreshold,null==c.invertedSwapThreshold?c.swapThreshold:c.invertedSwapThreshold,ke,he===a))){var M=I(Z);do{M-=h,b=q.children[M]}while(b&&("none"===k(b,"display")||b===J))}if(0===h||b===a)return R(!1);he=a,ve=h;var B=a.nextElementSibling,N=!1,O=Ue(K,i,Z,t,a,n,e,N=1===h);if(!1!==O)return 1!==O&&-1!==O||(N=1===O),Se=!0,setTimeout(Ge,30),L(),N&&!B?i.appendChild(Z):a.parentNode.insertBefore(Z,N?B:a),T&&F(T,0,S-T.scrollTop),q=Z.parentNode,void 0===v||ke||(be=Math.abs(v-j(a)[E])),z(),R(!0)}if(i.contains(Z))return R(!1)}return!1}function D(c,l){V(c,f,s({evt:e,isOwner:m,axis:o?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:p,fromSortable:d,target:a,completed:R,onMove:function(n,r){return Ue(K,i,Z,t,n,j(n),e,r)},changed:z},l))}function L(){D("dragOverAnimationCapture"),f.captureAnimationState(),f!==d&&d.captureAnimationState()}function R(t){return D("dragOverCompleted",{insertion:t}),t&&(m?u._hideClone():u._showClone(f),f!==d&&(x(Z,le?le.options.ghostClass:u.options.ghostClass,!1),x(Z,c.ghostClass,!0)),le!==f&&f!==ze.active?le=f:f===ze.active&&le&&(le=null),d===f&&(f._ignoreWhileAnimating=a),f.animateAll((function(){D("dragOverAnimationComplete"),f._ignoreWhileAnimating=null})),f!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(a===Z&&!Z.animated||a===i&&!a.animated)&&(he=null),c.dragoverBubble||e.rootEl||a===document||(Z.parentNode[$]._isOutsideThisEl(e.target),!t&&Fe(e)),!c.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),A=!0}function z(){ie=I(Z),ae=I(Z,c.draggable),X({sortable:f,name:"change",toEl:i,newIndex:ie,newDraggableIndex:ae,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){v(document,"mousemove",this._onTouchMove),v(document,"touchmove",this._onTouchMove),v(document,"pointermove",this._onTouchMove),v(document,"dragover",Fe),v(document,"mousemove",Fe),v(document,"touchmove",Fe)},_offUpEvents:function(){var e=this.el.ownerDocument;v(e,"mouseup",this._onDrop),v(e,"touchend",this._onDrop),v(e,"pointerup",this._onDrop),v(e,"touchcancel",this._onDrop),v(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;ie=I(Z),ae=I(Z,n.draggable),V("drop",this,{evt:e}),q=Z&&Z.parentNode,ie=I(Z),ae=I(Z,n.draggable),ze.eventCanceled||(Ce=!1,ke=!1,xe=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),He(this.cloneId),He(this._dragStartId),this.nativeDraggable&&(v(document,"drop",this),v(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),d&&k(document.body,"user-select",""),k(Z,"transform",""),e&&(ge&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),J&&J.parentNode&&J.parentNode.removeChild(J),(K===q||le&&"clone"!==le.lastPutMode)&&ne&&ne.parentNode&&ne.parentNode.removeChild(ne),Z&&(this.nativeDraggable&&v(Z,"dragend",this),$e(Z),Z.style["will-change"]="",ge&&!Ce&&x(Z,le?le.options.ghostClass:this.options.ghostClass,!1),x(Z,this.options.chosenClass,!1),X({sortable:this,name:"unchoose",toEl:q,newIndex:null,newDraggableIndex:null,originalEvent:e}),K!==q?(ie>=0&&(X({rootEl:q,name:"add",toEl:q,fromEl:K,originalEvent:e}),X({sortable:this,name:"remove",toEl:q,originalEvent:e}),X({rootEl:q,name:"sort",toEl:q,fromEl:K,originalEvent:e}),X({sortable:this,name:"sort",toEl:q,originalEvent:e})),le&&le.save()):ie!==oe&&ie>=0&&(X({sortable:this,name:"update",toEl:q,originalEvent:e}),X({sortable:this,name:"sort",toEl:q,originalEvent:e})),ze.active&&(null!=ie&&-1!==ie||(ie=oe,ae=se),X({sortable:this,name:"end",toEl:q,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){V("nulling",this),K=Z=q=J=ee=ne=te=re=ue=me=ge=ie=ae=oe=se=he=ve=le=ce=ze.dragged=ze.ghost=ze.clone=ze.active=null,Me.forEach((function(e){e.checked=!0})),Me.length=pe=de=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":Z&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,r=0,o=n.length,i=this.options;r<o;r++)C(e=n[r],i.draggable,this.el,!1)&&t.push(e.getAttribute(i.dataIdAttr)||Qe(e));return t},sort:function(e){var t={},n=this.el;this.toArray().forEach((function(e,r){var o=n.children[r];C(o,this.options.draggable,n,!1)&&(t[e]=o)}),this),e.forEach((function(e){t[e]&&(n.removeChild(t[e]),n.appendChild(t[e]))}))},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return C(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];var r=H.modifyOption(this,e,t);n[e]=void 0!==r?r:t,"group"===e&&Oe(n)},destroy:function(){V("destroy",this);var e=this.el;e[$]=null,v(e,"mousedown",this._onTapStart),v(e,"touchstart",this._onTapStart),v(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(v(e,"dragover",this),v(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Ee.splice(Ee.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!re){if(V("hideClone",this),ze.eventCanceled)return;k(ne,"display","none"),this.options.removeCloneOnHide&&ne.parentNode&&ne.parentNode.removeChild(ne),re=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(re){if(V("showClone",this),ze.eventCanceled)return;K.contains(Z)&&!this.options.group.revertClone?K.insertBefore(ne,Z):ee?K.insertBefore(ne,ee):K.appendChild(ne),this.options.group.revertClone&&this.animate(Z,ne),k(ne,"display",""),re=!1}}else this._hideClone()}},je&&h(document,"touchmove",(function(e){(ze.active||Ce)&&e.cancelable&&e.preventDefault()})),ze.utils={on:h,off:v,css:k,find:S,is:function(e,t){return!!C(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},throttle:L,closest:C,toggleClass:x,clone:R,index:I,nextTick:Ye,cancelNextTick:He,detectDirection:Ne,getChild:B},ze.get=function(e){return e[$]},ze.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(ze.utils=s({},ze.utils,e.utils)),H.mount(e)}))},ze.create=function(e,t){return new ze(e,t)},ze.version="1.10.2";var We,Ve,Xe,Ze,qe,Je,Ke=[],et=!1;function tt(){Ke.forEach((function(e){clearInterval(e.pid)})),Ke=[]}function nt(){clearInterval(Je)}var rt,ot=L((function(e,t,n,r){if(t.scroll){var o,i=(e.touches?e.touches[0]:e).clientX,s=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,c=t.scrollSpeed,l=M(),u=!1;Ve!==n&&(Ve=n,tt(),We=t.scroll,o=t.scrollFn,!0===We&&(We=O(n,!0)));var m=0,p=We;do{var d=p,f=j(d),A=f.top,g=f.bottom,h=f.left,v=f.right,b=f.width,y=f.height,C=void 0,w=void 0,E=d.scrollWidth,x=d.scrollHeight,T=k(d),S=d.scrollLeft,P=d.scrollTop;d===l?(C=b<E&&("auto"===T.overflowX||"scroll"===T.overflowX||"visible"===T.overflowX),w=y<x&&("auto"===T.overflowY||"scroll"===T.overflowY||"visible"===T.overflowY)):(C=b<E&&("auto"===T.overflowX||"scroll"===T.overflowX),w=y<x&&("auto"===T.overflowY||"scroll"===T.overflowY));var B=C&&(Math.abs(v-i)<=a&&S+b<E)-(Math.abs(h-i)<=a&&!!S),_=w&&(Math.abs(g-s)<=a&&P+y<x)-(Math.abs(A-s)<=a&&!!P);if(!Ke[m])for(var I=0;I<=m;I++)Ke[I]||(Ke[I]={});Ke[m].vx==B&&Ke[m].vy==_&&Ke[m].el===d||(Ke[m].el=d,Ke[m].vx=B,Ke[m].vy=_,clearInterval(Ke[m].pid),0==B&&0==_||(u=!0,Ke[m].pid=setInterval(function(){r&&0===this.layer&&ze.active._onTouchMove(qe);var t=Ke[this.layer].vy?Ke[this.layer].vy*c:0,n=Ke[this.layer].vx?Ke[this.layer].vx*c:0;"function"==typeof o&&"continue"!==o.call(ze.dragged.parentNode[$],n,t,e,qe,Ke[this.layer].el)||F(Ke[this.layer].el,n,t)}.bind({layer:m}),24))),m++}while(t.bubbleScroll&&p!==l&&(p=O(p,!1)));et=u}}),30),it=function(e){var t=e.originalEvent,n=e.putSortable,r=e.dragEl,o=e.activeSortable,i=e.dispatchSortableEvent,s=e.hideGhostForTarget,a=e.unhideGhostForTarget;if(t){var c=n||o;s();var l=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(l.clientX,l.clientY);a(),c&&!c.el.contains(u)&&(i("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function st(){}function at(){}function ct(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;rt=t},dragOverValid:function(e){var t=e.completed,n=e.target,r=e.onMove,o=e.activeSortable,i=e.changed,s=e.cancel;if(o.options.swap){var a=this.sortable.el,c=this.options;if(n&&n!==a){var l=rt;!1!==r(n)?(x(n,c.swapClass,!0),rt=n):rt=null,l&&l!==rt&&x(l,c.swapClass,!1)}i(),t(!0),s()}},drop:function(e){var t=e.activeSortable,n=e.putSortable,r=e.dragEl,o=n||this.sortable,i=this.options;rt&&x(rt,i.swapClass,!1),rt&&(i.swap||n&&n.options.swap)&&r!==rt&&(o.captureAnimationState(),o!==t&&t.captureAnimationState(),function(e,t){var n,r,o=e.parentNode,i=t.parentNode;if(!o||!i||o.isEqualNode(t)||i.isEqualNode(e))return;n=I(e),r=I(t),o.isEqualNode(i)&&n<r&&r++;o.insertBefore(t,o.children[n]),i.insertBefore(e,i.children[r])}(r,rt),o.animateAll(),o!==t&&t.animateAll())},nulling:function(){rt=null}},i(e,{pluginName:"swap",eventProperties:function(){return{swapItem:rt}}})}st.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var r=B(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(t,r):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:it},i(st,{pluginName:"revertOnSpill"}),at.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:it},i(at,{pluginName:"removeOnSpill"});var lt,ut,mt,pt,dt,ft=[],At=[],gt=!1,ht=!1,vt=!1;function bt(){function e(e){for(var t in this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this));e.options.supportPointer?h(document,"pointerup",this._deselectMultiDrag):(h(document,"mouseup",this._deselectMultiDrag),h(document,"touchend",this._deselectMultiDrag)),h(document,"keydown",this._checkKeyDown),h(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(t,n){var r="";ft.length&&ut===e?ft.forEach((function(e,t){r+=(t?", ":"")+e.textContent})):r=n.textContent,t.setData("Text",r)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(e){var t=e.dragEl;mt=t},delayEnded:function(){this.isMultiDrag=~ft.indexOf(mt)},setupClone:function(e){var t=e.sortable,n=e.cancel;if(this.isMultiDrag){for(var r=0;r<ft.length;r++)At.push(R(ft[r])),At[r].sortableIndex=ft[r].sortableIndex,At[r].draggable=!1,At[r].style["will-change"]="",x(At[r],this.options.selectedClass,!1),ft[r]===mt&&x(At[r],this.options.chosenClass,!1);t._hideClone(),n()}},clone:function(e){var t=e.sortable,n=e.rootEl,r=e.dispatchSortableEvent,o=e.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||ft.length&&ut===t&&(yt(!0,n),r("clone"),o()))},showClone:function(e){var t=e.cloneNowShown,n=e.rootEl,r=e.cancel;this.isMultiDrag&&(yt(!1,n),At.forEach((function(e){k(e,"display","")})),t(),dt=!1,r())},hideClone:function(e){var t=this,n=(e.sortable,e.cloneNowHidden),r=e.cancel;this.isMultiDrag&&(At.forEach((function(e){k(e,"display","none"),t.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)})),n(),dt=!0,r())},dragStartGlobal:function(e){e.sortable;!this.isMultiDrag&&ut&&ut.multiDrag._deselectMultiDrag(),ft.forEach((function(e){e.sortableIndex=I(e)})),ft=ft.sort((function(e,t){return e.sortableIndex-t.sortableIndex})),vt=!0},dragStarted:function(e){var t=this,n=e.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){ft.forEach((function(e){e!==mt&&k(e,"position","absolute")}));var r=j(mt,!1,!0,!0);ft.forEach((function(e){e!==mt&&z(e,r)})),ht=!0,gt=!0}n.animateAll((function(){ht=!1,gt=!1,t.options.animation&&ft.forEach((function(e){U(e)})),t.options.sort&&Ct()}))}},dragOver:function(e){var t=e.target,n=e.completed,r=e.cancel;ht&&~ft.indexOf(t)&&(n(!1),r())},revert:function(e){var t=e.fromSortable,n=e.rootEl,r=e.sortable,o=e.dragRect;ft.length>1&&(ft.forEach((function(e){r.addAnimationState({target:e,rect:ht?j(e):o}),U(e),e.fromRect=o,t.removeAnimationState(e)})),ht=!1,function(e,t){ft.forEach((function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,r=e.insertion,o=e.activeSortable,i=e.parentEl,s=e.putSortable,a=this.options;if(r){if(n&&o._hideClone(),gt=!1,a.animation&&ft.length>1&&(ht||!n&&!o.options.sort&&!s)){var c=j(mt,!1,!0,!0);ft.forEach((function(e){e!==mt&&(z(e,c),i.appendChild(e))})),ht=!0}if(!n)if(ht||Ct(),ft.length>1){var l=dt;o._showClone(t),o.options.animation&&!dt&&l&&At.forEach((function(e){o.addAnimationState({target:e,rect:pt}),e.fromRect=pt,e.thisAnimationDuration=null}))}else o._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,r=e.activeSortable;if(ft.forEach((function(e){e.thisAnimationDuration=null})),r.options.animation&&!n&&r.multiDrag.isMultiDrag){pt=i({},t);var o=T(mt,!0);pt.top-=o.f,pt.left-=o.e}},dragOverAnimationComplete:function(){ht&&(ht=!1,Ct())},drop:function(e){var t=e.originalEvent,n=e.rootEl,r=e.parentEl,o=e.sortable,i=e.dispatchSortableEvent,s=e.oldIndex,a=e.putSortable,c=a||this.sortable;if(t){var l=this.options,u=r.children;if(!vt)if(l.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),x(mt,l.selectedClass,!~ft.indexOf(mt)),~ft.indexOf(mt))ft.splice(ft.indexOf(mt),1),lt=null,W({sortable:o,rootEl:n,name:"deselect",targetEl:mt,originalEvt:t});else{if(ft.push(mt),W({sortable:o,rootEl:n,name:"select",targetEl:mt,originalEvt:t}),t.shiftKey&&lt&&o.el.contains(lt)){var m,p,d=I(lt),f=I(mt);if(~d&&~f&&d!==f)for(f>d?(p=d,m=f):(p=f,m=d+1);p<m;p++)~ft.indexOf(u[p])||(x(u[p],l.selectedClass,!0),ft.push(u[p]),W({sortable:o,rootEl:n,name:"select",targetEl:u[p],originalEvt:t}))}else lt=mt;ut=c}if(vt&&this.isMultiDrag){if((r[$].options.sort||r!==n)&&ft.length>1){var A=j(mt),g=I(mt,":not(."+this.options.selectedClass+")");if(!gt&&l.animation&&(mt.thisAnimationDuration=null),c.captureAnimationState(),!gt&&(l.animation&&(mt.fromRect=A,ft.forEach((function(e){if(e.thisAnimationDuration=null,e!==mt){var t=ht?j(e):A;e.fromRect=t,c.addAnimationState({target:e,rect:t})}}))),Ct(),ft.forEach((function(e){u[g]?r.insertBefore(e,u[g]):r.appendChild(e),g++})),s===I(mt))){var h=!1;ft.forEach((function(e){e.sortableIndex===I(e)||(h=!0)})),h&&i("update")}ft.forEach((function(e){U(e)})),c.animateAll()}ut=c}(n===r||a&&"clone"!==a.lastPutMode)&&At.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=vt=!1,At.length=0},destroyGlobal:function(){this._deselectMultiDrag(),v(document,"pointerup",this._deselectMultiDrag),v(document,"mouseup",this._deselectMultiDrag),v(document,"touchend",this._deselectMultiDrag),v(document,"keydown",this._checkKeyDown),v(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==vt&&vt||ut!==this.sortable||e&&C(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;ft.length;){var t=ft[0];x(t,this.options.selectedClass,!1),ft.shift(),W({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},i(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[$];t&&t.options.multiDrag&&!~ft.indexOf(e)&&(ut&&ut!==t&&(ut.multiDrag._deselectMultiDrag(),ut=t),x(e,t.options.selectedClass,!0),ft.push(e))},deselect:function(e){var t=e.parentNode[$],n=ft.indexOf(e);t&&t.options.multiDrag&&~n&&(x(e,t.options.selectedClass,!1),ft.splice(n,1))}},eventProperties:function(){var e=this,t=[],n=[];return ft.forEach((function(r){var o;t.push({multiDragElement:r,index:r.sortableIndex}),o=ht&&r!==mt?-1:ht?I(r,":not(."+e.options.selectedClass+")"):I(r),n.push({multiDragElement:r,index:o})})),{items:c(ft),clones:[].concat(At),oldIndicies:t,newIndicies:n}},optionListeners:{multiDragKey:function(e){return"ctrl"===(e=e.toLowerCase())?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}function yt(e,t){At.forEach((function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}function Ct(){ft.forEach((function(e){e!==mt&&e.parentNode&&e.parentNode.removeChild(e)}))}ze.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?h(document,"dragover",this._handleAutoScroll):this.options.supportPointer?h(document,"pointermove",this._handleFallbackAutoScroll):t.touches?h(document,"touchmove",this._handleFallbackAutoScroll):h(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):(v(document,"pointermove",this._handleFallbackAutoScroll),v(document,"touchmove",this._handleFallbackAutoScroll),v(document,"mousemove",this._handleFallbackAutoScroll)),nt(),tt(),clearTimeout(w),w=void 0},nulling:function(){qe=Ve=We=et=Je=Xe=Ze=null,Ke.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,r=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,i=document.elementFromPoint(r,o);if(qe=e,t||m||u||d){ot(e,this.options,i,t);var s=O(i,!0);!et||Je&&r===Xe&&o===Ze||(Je&&nt(),Je=setInterval((function(){var i=O(document.elementFromPoint(r,o),!0);i!==s&&(s=i,tt()),ot(e,n.options,i,t)}),10),Xe=r,Ze=o)}else{if(!this.options.bubbleScroll||O(i,!0)===M())return void tt();ot(e,this.options,O(i,!1),!1)}}},i(e,{pluginName:"scroll",initializeByDefault:!0})}),ze.mount(at,st),t.default=ze},function(e,t,n){e.exports=n(185)},function(e,t,n){"use strict";var r=n(11),o=n(117),i=n(186),s=n(123);function a(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var c=a(n(120));c.Axios=i,c.create=function(e){return a(s(c.defaults,e))},c.Cancel=n(124),c.CancelToken=n(199),c.isCancel=n(119),c.all=function(e){return Promise.all(e)},c.spread=n(200),c.isAxiosError=n(201),e.exports=c,e.exports.default=c},function(e,t,n){"use strict";var r=n(11),o=n(118),i=n(187),s=n(188),a=n(123);function c(e){this.defaults=e,this.interceptors={request:new i,response:new i}}c.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=a(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[s,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},c.prototype.getUri=function(e){return e=a(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(a(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,n,r){return this.request(a(r||{},{method:e,url:t,data:n}))}})),e.exports=c},function(e,t,n){"use strict";var r=n(11);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,n){"use strict";var r=n(11),o=n(189),i=n(119),s=n(120);function a(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return a(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||s.adapter)(e).then((function(t){return a(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(a(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var r=n(11);e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},function(e,t,n){"use strict";var r=n(11);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},function(e,t,n){"use strict";var r=n(122);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,n){"use strict";var r=n(11);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,s){var a=[];a.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(o)&&a.push("path="+o),r.isString(i)&&a.push("domain="+i),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(195),o=n(196);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(11),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,s={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(s[t]&&o.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([n]):s[t]?s[t]+", "+n:n}})),s):s}},function(e,t,n){"use strict";var r=n(11);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r=n(124);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},function(e,t,n){"use strict";var r=n(3),o=n(84).indexOf,i=n(88),s=[].indexOf,a=!!s&&1/[1].indexOf(1,-0)<0,c=i("indexOf");r({target:"Array",proto:!0,forced:a||!c},{indexOf:function(e){return a?s.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,n,r){"use strict";r.r(n);var o=r(9),i=r(13),s=r(21),a=r(125),c=r.n(a),l=r(127),u=r.n(l),m=r(18),p=r.n(m),d=r(4),f={data:function(){return{isMobile:this._isMobile()}},beforeMount:function(){window.addEventListener("resize",this._onResize)},beforeDestroy:function(){window.removeEventListener("resize",this._onResize)},methods:{_onResize:function(){this.isMobile=this._isMobile()},_isMobile:function(){return document.documentElement.clientWidth<768}}},A=function(e){return Object(d.generateFilePath)("dashboard","","img/")+e},g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return"default"===e?n&&"backgroundColor"!==n?Object(d.generateUrl)("/apps/theming/image/background")+"?v="+window.OCA.Theming.cacheBuster:window.OCA.Accessibility&&"dark"===window.OCA.Accessibility.theme?A("eduardo-neves-pedra-azul.jpg"):A("kamil-porembinski-clouds.jpg"):"custom"===e?Object(d.generateUrl)("/apps/dashboard/background")+"?v="+t:A(e)};function h(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function v(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){h(i,r,o,s,a,"next",e)}function a(e){h(i,r,o,s,a,"throw",e)}s(void 0)}))}}var b=Object(i.loadState)("dashboard","shippedBackgrounds"),y={name:"BackgroundSettings",props:{background:{type:String,default:"default"},themingDefaultBackground:{type:String,default:""}},data:function(){return{backgroundImage:Object(d.generateUrl)("/apps/dashboard/background")+"?v="+Date.now(),loading:!1}},computed:{shippedBackgrounds:function(){return Object.keys(b).map((function(e){return{name:e,url:A(e),preview:A("previews/"+e),details:b[e]}}))}},methods:{update:function(e){var t=this;return v(regeneratorRuntime.mark((function n(){var r,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r="custom"===e.type||"default"===e.type?e.type:e.value,t.backgroundImage=g(r,e.version,t.themingDefaultBackground),"color"!==e.type&&("default"!==e.type||"backgroundColor"!==t.themingDefaultBackground)){n.next=6;break}return t.$emit("update:background",e),t.loading=!1,n.abrupt("return");case 6:(o=new Image).onload=function(){t.$emit("update:background",e),t.loading=!1},o.src=t.backgroundImage;case 9:case"end":return n.stop()}}),n)})))()},setDefault:function(){var e=this;return v(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading="default",t.next=3,p.a.post(Object(d.generateUrl)("/apps/dashboard/background/default"));case 3:n=t.sent,e.update(n.data);case 5:case"end":return t.stop()}}),t)})))()},setShipped:function(e){var t=this;return v(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t.loading=e,n.next=3,p.a.post(Object(d.generateUrl)("/apps/dashboard/background/shipped"),{value:e});case 3:r=n.sent,t.update(r.data);case 5:case"end":return n.stop()}}),n)})))()},setFile:function(e){var t=this;return v(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t.loading="custom",n.next=3,p.a.post(Object(d.generateUrl)("/apps/dashboard/background/custom"),{value:e});case 3:r=n.sent,t.update(r.data);case 5:case"end":return n.stop()}}),n)})))()},pickColor:function(){var e=this;return v(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading="color",n=OCA&&OCA.Theming?OCA.Theming.color:"#0082c9",t.next=4,p.a.post(Object(d.generateUrl)("/apps/dashboard/background/color"),{value:n});case 4:r=t.sent,e.update(r.data);case 6:case"end":return t.stop()}}),t)})))()},pickFile:function(){var e=this;window.OC.dialogs.filepicker(t("dashboard","Insert from {productName}",{productName:OC.theme.name}),(function(t,n){n===OC.dialogs.FILEPICKER_TYPE_CHOOSE&&e.setFile(t)}),!1,["image/png","image/gif","image/jpeg","image/svg"],!0,OC.dialogs.FILEPICKER_TYPE_CHOOSE)}}},C=r(48),w=r.n(C),E=r(76),x={insert:"head",singleton:!1};w()(E.a,x),E.a.locals;function k(e,t,n,r,o,i,s,a){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),s?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=c):o&&(c=a?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var m=l.beforeCreate;l.beforeCreate=m?[].concat(m,c):[c]}return{exports:e,options:l}}var T=k(y,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"background-selector"},[n("button",{staticClass:"background filepicker",class:{active:"custom"===e.background},attrs:{tabindex:"0"},on:{click:e.pickFile}},[e._v("\n\t\t"+e._s(e.t("dashboard","Pick from Files"))+"\n\t")]),e._v(" "),n("button",{staticClass:"background default",class:{"icon-loading":"default"===e.loading,active:"default"===e.background},attrs:{tabindex:"0"},on:{click:e.setDefault}},[e._v("\n\t\t"+e._s(e.t("dashboard","Default images"))+"\n\t")]),e._v(" "),n("button",{staticClass:"background color",class:{active:"custom"===e.background},attrs:{tabindex:"0"},on:{click:e.pickColor}},[e._v("\n\t\t"+e._s(e.t("dashboard","Plain background"))+"\n\t")]),e._v(" "),e._l(e.shippedBackgrounds,(function(t){return n("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.details.attribution,expression:"shippedBackground.details.attribution"}],key:t.name,staticClass:"background",class:{"icon-loading":e.loading===t.name,active:e.background===t.name},style:{"background-image":"url("+t.preview+")"},attrs:{tabindex:"0"},on:{click:function(n){return e.setShipped(t.name)}}})}))],2)}),[],!1,null,"e4c3a7ca",null).exports,S=Object(i.loadState)("dashboard","panels"),M=Object(i.loadState)("dashboard","firstRun"),j=Object(i.loadState)("dashboard","background"),P=Object(i.loadState)("dashboard","themingDefaultBackground"),B=Object(i.loadState)("dashboard","version"),_=Object(i.loadState)("dashboard","shippedBackgrounds"),I={weather:{text:t("dashboard","Weather"),icon:"icon-weather-status"},status:{text:t("dashboard","Status"),icon:"icon-user-status-online"}},N={name:"App",components:{Modal:c.a,Draggable:u.a,BackgroundSettings:T},mixins:[f],data:function(){var e,t;return{isAdmin:Object(s.getCurrentUser)().isAdmin,timer:new Date,registeredStatus:[],callbacks:{},callbacksStatus:{},allCallbacksStatus:{},statusInfo:I,enabledStatuses:Object(i.loadState)("dashboard","statuses"),panels:S,firstRun:M,displayName:null===(e=Object(s.getCurrentUser)())||void 0===e?void 0:e.displayName,uid:null===(t=Object(s.getCurrentUser)())||void 0===t?void 0:t.uid,layout:Object(i.loadState)("dashboard","layout").filter((function(e){return S[e]})),modal:!1,appStoreUrl:Object(d.generateUrl)("/settings/apps/dashboard"),statuses:{},background:j,themingDefaultBackground:P,version:B}},computed:{backgroundImage:function(){return g(this.background,this.version,this.themingDefaultBackground)},backgroundStyle:function(){return"default"===this.background&&"backgroundColor"===this.themingDefaultBackground||this.background.match(/#[0-9A-Fa-f]{6}/g)?null:{backgroundImage:"url(".concat(this.backgroundImage,")")}},greeting:function(){var e,n=this.timer.getHours();e=n>=22||n<5?"night":n>=18?"evening":n>=12?"afternoon":"morning";var r={morning:{generic:t("dashboard","Good morning"),withName:t("dashboard","Good morning, {name}",{name:this.displayName})},afternoon:{generic:t("dashboard","Good afternoon"),withName:t("dashboard","Good afternoon, {name}",{name:this.displayName})},evening:{generic:t("dashboard","Good evening"),withName:t("dashboard","Good evening, {name}",{name:this.displayName})},night:{generic:t("dashboard","Hello"),withName:t("dashboard","Hello, {name}",{name:this.displayName})}};return{text:this.displayName&&this.uid!==this.displayName?r[e].withName:r[e].generic}},isActive:function(){var e=this;return function(t){return e.layout.indexOf(t.id)>-1}},isStatusActive:function(){var e=this;return function(t){return!(t in e.enabledStatuses)||e.enabledStatuses[t]}},sortedAllStatuses:function(){return Object.keys(this.allCallbacksStatus).slice().sort(this.sortStatuses)},sortedPanels:function(){var e=this;return Object.values(this.panels).sort((function(t,n){var r=e.layout.indexOf(t.id),o=e.layout.indexOf(n.id);return-1===r||-1===o?o-r||t.id-n.id:r-o||t.id-n.id}))},sortedRegisteredStatus:function(){return this.registeredStatus.slice().sort(this.sortStatuses)}},watch:{callbacks:function(){this.rerenderPanels()},callbacksStatus:function(){for(var e in this.callbacksStatus){var t=this.$refs["status-"+e];this.statuses[e]&&this.statuses[e].mounted||(t?(this.callbacksStatus[e](t[0]),o.default.set(this.statuses,e,{mounted:!0})):console.error("Failed to register panel in the frontend as no backend data was provided for "+e))}}},mounted:function(){var e=this;this.updateGlobalStyles(),this.updateSkipLink(),window.addEventListener("scroll",this.handleScroll),setInterval((function(){e.timer=new Date}),3e4),this.firstRun&&window.addEventListener("scroll",this.disableFirstrunHint)},destroyed:function(){window.removeEventListener("scroll",this.handleScroll)},methods:{register:function(e,t){o.default.set(this.callbacks,e,t)},registerStatus:function(e,t){var n=this;o.default.set(this.allCallbacksStatus,e,t),this.isStatusActive(e)&&(this.registeredStatus.push(e),this.$nextTick((function(){o.default.set(n.callbacksStatus,e,t)})))},rerenderPanels:function(){for(var e in this.callbacks){var t=this.$refs[e];-1!==this.layout.indexOf(e)&&(this.panels[e]&&this.panels[e].mounted||(t?(this.callbacks[e](t[0],{widget:this.panels[e]}),o.default.set(this.panels[e],"mounted",!0)):console.error("Failed to register panel in the frontend as no backend data was provided for "+e)))}},saveLayout:function(){p.a.post(Object(d.generateUrl)("/apps/dashboard/layout"),{layout:this.layout.join(",")})},saveStatuses:function(){p.a.post(Object(d.generateUrl)("/apps/dashboard/statuses"),{statuses:JSON.stringify(this.enabledStatuses)})},showModal:function(){this.modal=!0,this.firstRun=!1},closeModal:function(){this.modal=!1},updateCheckbox:function(e,t){var n=this,r=this.layout.indexOf(e.id);!t&&r>-1?this.layout.splice(r,1):this.layout.push(e.id),o.default.set(this.panels[e.id],"mounted",!1),this.saveLayout(),this.$nextTick((function(){return n.rerenderPanels()}))},disableFirstrunHint:function(){var e=this;window.removeEventListener("scroll",this.disableFirstrunHint),setTimeout((function(){e.firstRun=!1}),1e3)},updateBackground:function(e){this.background="custom"===e.type||"default"===e.type?e.type:e.value,this.version=e.version,this.updateGlobalStyles()},updateGlobalStyles:function(){document.body.setAttribute("data-dashboard-background",this.background),window.OCA.Theming.inverted&&document.body.classList.add("dashboard--inverted"),"dark"===(_[this.background]?_[this.background].theming:"light")?document.body.classList.add("dashboard--dark"):document.body.classList.remove("dashboard--dark")},updateSkipLink:function(){document.getElementsByClassName("skip-navigation")[0].setAttribute("href","#app-dashboard")},updateStatusCheckbox:function(e,t){t?this.enableStatus(e):this.disableStatus(e)},enableStatus:function(e){this.enabledStatuses[e]=!0,this.registerStatus(e,this.allCallbacksStatus[e]),this.saveStatuses()},disableStatus:function(e){var t=this;this.enabledStatuses[e]=!1;var n=this.registeredStatus.findIndex((function(t){return t===e}));-1!==n&&(this.registeredStatus.splice(n,1),o.default.set(this.statuses,e,{mounted:!1}),this.$nextTick((function(){o.default.delete(t.callbacksStatus,e)}))),this.saveStatuses()},sortStatuses:function(e,t){var n=e.toLowerCase(),r=t.toLowerCase();return n>r?1:n<r?-1:0},handleScroll:function(){window.scrollY>70?document.body.classList.add("dashboard--scrolled"):document.body.classList.remove("dashboard--scrolled")}}},O=r(77),D={insert:"head",singleton:!1},L=(w()(O.a,D),O.a.locals,k(N,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{style:e.backgroundStyle,attrs:{id:"app-dashboard"}},[n("h2",[e._v(e._s(e.greeting.text))]),e._v(" "),n("ul",{staticClass:"statuses"},e._l(e.sortedRegisteredStatus,(function(e){return n("div",{key:e,attrs:{id:"status-"+e}},[n("div",{ref:"status-"+e,refInFor:!0})])})),0),e._v(" "),n("Draggable",{staticClass:"panels",attrs:{handle:".panel--header"},on:{end:e.saveLayout},model:{value:e.layout,callback:function(t){e.layout=t},expression:"layout"}},e._l(e.layout,(function(t){return n("div",{key:e.panels[t].id,staticClass:"panel"},[n("div",{staticClass:"panel--header"},[n("h2",{class:e.panels[t].iconClass},[e._v("\n\t\t\t\t\t"+e._s(e.panels[t].title)+"\n\t\t\t\t")])]),e._v(" "),n("div",{staticClass:"panel--content",class:{loading:!e.panels[t].mounted}},[n("div",{ref:e.panels[t].id,refInFor:!0,attrs:{"data-id":e.panels[t].id}})])])})),0),e._v(" "),n("div",{staticClass:"footer"},[n("a",{staticClass:"edit-panels icon-rename",attrs:{tabindex:"0"},on:{click:e.showModal,keyup:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.showModal(t)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:e.showModal(t)}]}},[e._v(e._s(e.t("dashboard","Customize")))])]),e._v(" "),e.modal?n("Modal",{on:{close:e.closeModal}},[n("div",{staticClass:"modal__content"},[n("h3",[e._v(e._s(e.t("dashboard","Edit widgets")))]),e._v(" "),n("ol",{staticClass:"panels"},e._l(e.sortedAllStatuses,(function(t){return n("li",{key:t},[n("input",{staticClass:"checkbox",attrs:{id:"status-checkbox-"+t,type:"checkbox"},domProps:{checked:e.isStatusActive(t)},on:{input:function(n){return e.updateStatusCheckbox(t,n.target.checked)}}}),e._v(" "),n("label",{class:e.statusInfo[t].icon,attrs:{for:"status-checkbox-"+t}},[e._v("\n\t\t\t\t\t\t"+e._s(e.statusInfo[t].text)+"\n\t\t\t\t\t")])])})),0),e._v(" "),n("Draggable",{staticClass:"panels",attrs:{tag:"ol",handle:".draggable"},on:{end:e.saveLayout},model:{value:e.layout,callback:function(t){e.layout=t},expression:"layout"}},e._l(e.sortedPanels,(function(t){return n("li",{key:t.id},[n("input",{staticClass:"checkbox",attrs:{id:"panel-checkbox-"+t.id,type:"checkbox"},domProps:{checked:e.isActive(t)},on:{input:function(n){return e.updateCheckbox(t,n.target.checked)}}}),e._v(" "),n("label",{class:e.isActive(t)?"draggable "+t.iconClass:t.iconClass,attrs:{for:"panel-checkbox-"+t.id}},[e._v("\n\t\t\t\t\t\t"+e._s(t.title)+"\n\t\t\t\t\t")])])})),0),e._v(" "),e.isAdmin?n("a",{staticClass:"button",attrs:{href:e.appStoreUrl}},[e._v(e._s(e.t("dashboard","Get more widgets from the app store")))]):e._e(),e._v(" "),n("h3",[e._v(e._s(e.t("dashboard","Change background image")))]),e._v(" "),n("BackgroundSettings",{attrs:{background:e.background,"theming-default-background":e.themingDefaultBackground},on:{"update:background":e.updateBackground}}),e._v(" "),n("h3",[e._v(e._s(e.t("dashboard","Weather service")))]),e._v(" "),n("p",[e._v("\n\t\t\t\t"+e._s(e.t("dashboard","For your privacy, the weather data is requested by your Nextcloud server on your behalf so the weather service receives no personal information."))+"\n\t\t\t")]),e._v(" "),n("p",{staticClass:"credits--end"},[n("a",{attrs:{href:"https://api.met.no/doc/TermsOfService",target:"_blank",rel:"noopener"}},[e._v(e._s(e.t("dashboard","Weather data from Met.no")))]),e._v(",\n\t\t\t\t"),n("a",{attrs:{href:"https://wiki.osmfoundation.org/wiki/Privacy_Policy",target:"_blank",rel:"noopener"}},[e._v(e._s(e.t("dashboard","geocoding with Nominatim")))]),e._v(",\n\t\t\t\t"),n("a",{attrs:{href:"https://www.opentopodata.org/#public-api",target:"_blank",rel:"noopener"}},[e._v(e._s(e.t("dashboard","elevation data from OpenTopoData")))]),e._v(".\n\t\t\t")])],1)]):e._e()],1)}),[],!1,null,"23d084c5",null).exports),F=r(74),R=r(128),z=r.n(R);
+/**
+ * @copyright Copyright (c) 2016 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/>.
+ *
+ */
+r.nc=btoa(Object(s.getRequestToken)()),r.p=Object(d.generateFilePath)("dashboard","","js/"),o.default.directive("Tooltip",z.a),o.default.prototype.t=F.translate,Object.assign(window.OCA.Files,{App:{fileList:{filesClient:OC.Files.getClient()}}},window.OCA.Files);var U=new(o.default.extend(L))({}).$mount("#app-content-vue");window.OCA.Dashboard={register:function(e,t){return U.register(e,t)},registerStatus:function(e,t){return U.registerStatus(e,t)}}}]);
//# sourceMappingURL=dashboard.js.map \ No newline at end of file