diff options
author | dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> | 2020-05-10 19:52:27 +0000 |
---|---|---|
committer | npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com> | 2020-05-11 06:56:25 +0000 |
commit | 8f8de7f6d057bef1c7fca2f3c77a44ef7b5a1437 (patch) | |
tree | 3ddfe048e7f4c146e738181e8bcca14bb2ea6b79 /apps/updatenotification/js/updatenotification.js | |
parent | 7957b09f5be9460cd47dcef54e2ed2df43d9da87 (diff) | |
download | nextcloud-server-8f8de7f6d057bef1c7fca2f3c77a44ef7b5a1437.tar.gz nextcloud-server-8f8de7f6d057bef1c7fca2f3c77a44ef7b5a1437.zip |
Bump vue-loader from 15.9.1 to 15.9.2
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.9.1 to 15.9.2.
- [Release notes](https://github.com/vuejs/vue-loader/releases)
- [Changelog](https://github.com/vuejs/vue-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-loader/compare/v15.9.1...v15.9.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Diffstat (limited to 'apps/updatenotification/js/updatenotification.js')
-rw-r--r-- | apps/updatenotification/js/updatenotification.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/updatenotification/js/updatenotification.js b/apps/updatenotification/js/updatenotification.js index 2ecd0b03e47..626b51009b0 100644 --- a/apps/updatenotification/js/updatenotification.js +++ b/apps/updatenotification/js/updatenotification.js @@ -766,7 +766,7 @@ e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeo * http://hammerjs.github.io/ * * Copyright (c) 2016 Jorik Tangelder; - * Licensed under the MIT license */!function(a,i,o,s){"use strict";var c,l=["","webkit","Moz","MS","ms","o"],u=i.createElement("div"),p=Math.round,d=Math.abs,f=Date.now;function h(e,t,n){return setTimeout(x(e,n),t)}function m(e,t,n){return!!Array.isArray(e)&&(v(e,n[t],n),!0)}function v(e,t,n){var r;if(e)if(e.forEach)e.forEach(t,n);else if(void 0!==e.length)for(r=0;r<e.length;)t.call(n,e[r],r,e),r++;else for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e)}function g(e,t,n){var r="DEPRECATED METHOD: "+t+"\n"+n+" AT \n";return function(){var t=new Error("get-stack-trace"),n=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",i=a.console&&(a.console.warn||a.console.log);return i&&i.call(a.console,r,n),e.apply(this,arguments)}}c="function"!=typeof Object.assign?function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var a in r)r.hasOwnProperty(a)&&(t[a]=r[a])}return t}:Object.assign;var b=g((function(e,t,n){for(var r=Object.keys(t),a=0;a<r.length;)(!n||n&&void 0===e[r[a]])&&(e[r[a]]=t[r[a]]),a++;return e}),"extend","Use `assign`."),A=g((function(e,t){return b(e,t,!0)}),"merge","Use `assign`.");function y(e,t,n){var r,a=t.prototype;(r=e.prototype=Object.create(a)).constructor=e,r._super=a,n&&c(r,n)}function x(e,t){return function(){return e.apply(t,arguments)}}function w(e,t){return"function"==typeof e?e.apply(t&&t[0]||void 0,t):e}function _(e,t){return void 0===e?t:e}function C(e,t,n){v(S(t),(function(t){e.addEventListener(t,n,!1)}))}function k(e,t,n){v(S(t),(function(t){e.removeEventListener(t,n,!1)}))}function T(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function E(e,t){return e.indexOf(t)>-1}function S(e){return e.trim().split(/\s+/g)}function M(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var r=0;r<e.length;){if(n&&e[r][n]==t||!n&&e[r]===t)return r;r++}return-1}function O(e){return Array.prototype.slice.call(e,0)}function I(e,t,n){for(var r=[],a=[],i=0;i<e.length;){var o=t?e[i][t]:e[i];M(a,o)<0&&r.push(e[i]),a[i]=o,i++}return n&&(r=t?r.sort((function(e,n){return e[t]>n[t]})):r.sort()),r}function N(e,t){for(var n,r,a=t[0].toUpperCase()+t.slice(1),i=0;i<l.length;){if((r=(n=l[i])?n+a:t)in e)return r;i++}}var L=1;function D(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||a}var P="ontouchstart"in a,j=void 0!==N(a,"PointerEvent"),B=P&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),F=["x","y"],R=["clientX","clientY"];function $(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){w(e.options.enable,[e])&&n.handler(t)},this.init()}function U(e,t,n){var r=n.pointers.length,a=n.changedPointers.length,i=1&t&&r-a==0,o=12&t&&r-a==0;n.isFirst=!!i,n.isFinal=!!o,i&&(e.session={}),n.eventType=t,function(e,t){var n=e.session,r=t.pointers,a=r.length;n.firstInput||(n.firstInput=z(t));a>1&&!n.firstMultiple?n.firstMultiple=z(t):1===a&&(n.firstMultiple=!1);var i=n.firstInput,o=n.firstMultiple,s=o?o.center:i.center,c=t.center=V(r);t.timeStamp=f(),t.deltaTime=t.timeStamp-i.timeStamp,t.angle=Q(s,c),t.distance=G(s,c),function(e,t){var n=t.center,r=e.offsetDelta||{},a=e.prevDelta||{},i=e.prevInput||{};1!==t.eventType&&4!==i.eventType||(a=e.prevDelta={x:i.deltaX||0,y:i.deltaY||0},r=e.offsetDelta={x:n.x,y:n.y});t.deltaX=a.x+(n.x-r.x),t.deltaY=a.y+(n.y-r.y)}(n,t),t.offsetDirection=H(t.deltaX,t.deltaY);var l=Y(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=l.x,t.overallVelocityY=l.y,t.overallVelocity=d(l.x)>d(l.y)?l.x:l.y,t.scale=o?(u=o.pointers,p=r,G(p[0],p[1],R)/G(u[0],u[1],R)):1,t.rotation=o?function(e,t){return Q(t[1],t[0],R)+Q(e[1],e[0],R)}(o.pointers,r):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,function(e,t){var n,r,a,i,o=e.lastInterval||t,s=t.timeStamp-o.timeStamp;if(8!=t.eventType&&(s>25||void 0===o.velocity)){var c=t.deltaX-o.deltaX,l=t.deltaY-o.deltaY,u=Y(s,c,l);r=u.x,a=u.y,n=d(u.x)>d(u.y)?u.x:u.y,i=H(c,l),e.lastInterval=t}else n=o.velocity,r=o.velocityX,a=o.velocityY,i=o.direction;t.velocity=n,t.velocityX=r,t.velocityY=a,t.direction=i}(n,t);var u,p;var h=e.element;T(t.srcEvent.target,h)&&(h=t.srcEvent.target);t.target=h}(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function z(e){for(var t=[],n=0;n<e.pointers.length;)t[n]={clientX:p(e.pointers[n].clientX),clientY:p(e.pointers[n].clientY)},n++;return{timeStamp:f(),pointers:t,center:V(t),deltaX:e.deltaX,deltaY:e.deltaY}}function V(e){var t=e.length;if(1===t)return{x:p(e[0].clientX),y:p(e[0].clientY)};for(var n=0,r=0,a=0;a<t;)n+=e[a].clientX,r+=e[a].clientY,a++;return{x:p(n/t),y:p(r/t)}}function Y(e,t,n){return{x:t/e||0,y:n/e||0}}function H(e,t){return e===t?1:d(e)>=d(t)?e<0?2:4:t<0?8:16}function G(e,t,n){n||(n=F);var r=t[n[0]]-e[n[0]],a=t[n[1]]-e[n[1]];return Math.sqrt(r*r+a*a)}function Q(e,t,n){n||(n=F);var r=t[n[0]]-e[n[0]],a=t[n[1]]-e[n[1]];return 180*Math.atan2(a,r)/Math.PI}$.prototype={handler:function(){},init:function(){this.evEl&&C(this.element,this.evEl,this.domHandler),this.evTarget&&C(this.target,this.evTarget,this.domHandler),this.evWin&&C(D(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&k(this.element,this.evEl,this.domHandler),this.evTarget&&k(this.target,this.evTarget,this.domHandler),this.evWin&&k(D(this.element),this.evWin,this.domHandler)}};var W={mousedown:1,mousemove:2,mouseup:4};function q(){this.evEl="mousedown",this.evWin="mousemove mouseup",this.pressed=!1,$.apply(this,arguments)}y(q,$,{handler:function(e){var t=W[e.type];1&t&&0===e.button&&(this.pressed=!0),2&t&&1!==e.which&&(t=4),this.pressed&&(4&t&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:"mouse",srcEvent:e}))}});var Z={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},X={2:"touch",3:"pen",4:"mouse",5:"kinect"},K="pointerdown",J="pointermove pointerup pointercancel";function ee(){this.evEl=K,this.evWin=J,$.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}a.MSPointerEvent&&!a.PointerEvent&&(K="MSPointerDown",J="MSPointerMove MSPointerUp MSPointerCancel"),y(ee,$,{handler:function(e){var t=this.store,n=!1,r=e.type.toLowerCase().replace("ms",""),a=Z[r],i=X[e.pointerType]||e.pointerType,o="touch"==i,s=M(t,e.pointerId,"pointerId");1&a&&(0===e.button||o)?s<0&&(t.push(e),s=t.length-1):12&a&&(n=!0),s<0||(t[s]=e,this.callback(this.manager,a,{pointers:t,changedPointers:[e],pointerType:i,srcEvent:e}),n&&t.splice(s,1))}});var te={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function ne(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,$.apply(this,arguments)}function re(e,t){var n=O(e.touches),r=O(e.changedTouches);return 12&t&&(n=I(n.concat(r),"identifier",!0)),[n,r]}y(ne,$,{handler:function(e){var t=te[e.type];if(1===t&&(this.started=!0),this.started){var n=re.call(this,e,t);12&t&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:e})}}});var ae={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function ie(){this.evTarget="touchstart touchmove touchend touchcancel",this.targetIds={},$.apply(this,arguments)}function oe(e,t){var n=O(e.touches),r=this.targetIds;if(3&t&&1===n.length)return r[n[0].identifier]=!0,[n,n];var a,i,o=O(e.changedTouches),s=[],c=this.target;if(i=n.filter((function(e){return T(e.target,c)})),1===t)for(a=0;a<i.length;)r[i[a].identifier]=!0,a++;for(a=0;a<o.length;)r[o[a].identifier]&&s.push(o[a]),12&t&&delete r[o[a].identifier],a++;return s.length?[I(i.concat(s),"identifier",!0),s]:void 0}y(ie,$,{handler:function(e){var t=ae[e.type],n=oe.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:e})}});function se(){$.apply(this,arguments);var e=x(this.handler,this);this.touch=new ie(this.manager,e),this.mouse=new q(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}function ce(e,t){1&e?(this.primaryTouch=t.changedPointers[0].identifier,le.call(this,t)):12&e&&le.call(this,t)}function le(e){var t=e.changedPointers[0];if(t.identifier===this.primaryTouch){var n={x:t.clientX,y:t.clientY};this.lastTouches.push(n);var r=this.lastTouches;setTimeout((function(){var e=r.indexOf(n);e>-1&&r.splice(e,1)}),2500)}}function ue(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var a=this.lastTouches[r],i=Math.abs(t-a.x),o=Math.abs(n-a.y);if(i<=25&&o<=25)return!0}return!1}y(se,$,{handler:function(e,t,n){var r="touch"==n.pointerType,a="mouse"==n.pointerType;if(!(a&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(r)ce.call(this,t,n);else if(a&&ue.call(this,n))return;this.callback(e,t,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var pe=N(u.style,"touchAction"),de=void 0!==pe,fe=function(){if(!de)return!1;var e={},t=a.CSS&&a.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){e[n]=!t||a.CSS.supports("touch-action",n)})),e}();function he(e,t){this.manager=e,this.set(t)}he.prototype={set:function(e){"compute"==e&&(e=this.compute()),de&&this.manager.element.style&&fe[e]&&(this.manager.element.style[pe]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return v(this.manager.recognizers,(function(t){w(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))})),function(e){if(E(e,"none"))return"none";var t=E(e,"pan-x"),n=E(e,"pan-y");if(t&&n)return"none";if(t||n)return t?"pan-x":"pan-y";if(E(e,"manipulation"))return"manipulation";return"auto"}(e.join(" "))},preventDefaults:function(e){var t=e.srcEvent,n=e.offsetDirection;if(this.manager.session.prevented)t.preventDefault();else{var r=this.actions,a=E(r,"none")&&!fe.none,i=E(r,"pan-y")&&!fe["pan-y"],o=E(r,"pan-x")&&!fe["pan-x"];if(a){var s=1===e.pointers.length,c=e.distance<2,l=e.deltaTime<250;if(s&&c&&l)return}if(!o||!i)return a||i&&6&n||o&&24&n?this.preventSrc(t):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};function me(e){this.options=c({},this.defaults,e||{}),this.id=L++,this.manager=null,this.options.enable=_(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function ve(e){return 16&e?"cancel":8&e?"end":4&e?"move":2&e?"start":""}function ge(e){return 16==e?"down":8==e?"up":2==e?"left":4==e?"right":""}function be(e,t){var n=t.manager;return n?n.get(e):e}function Ae(){me.apply(this,arguments)}function ye(){Ae.apply(this,arguments),this.pX=null,this.pY=null}function xe(){Ae.apply(this,arguments)}function we(){me.apply(this,arguments),this._timer=null,this._input=null}function _e(){Ae.apply(this,arguments)}function Ce(){Ae.apply(this,arguments)}function ke(){me.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Te(e,t){return(t=t||{}).recognizers=_(t.recognizers,Te.defaults.preset),new Ee(e,t)}me.prototype={defaults:{},set:function(e){return c(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(m(e,"recognizeWith",this))return this;var t=this.simultaneous;return t[(e=be(e,this)).id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return m(e,"dropRecognizeWith",this)||(e=be(e,this),delete this.simultaneous[e.id]),this},requireFailure:function(e){if(m(e,"requireFailure",this))return this;var t=this.requireFail;return-1===M(t,e=be(e,this))&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(m(e,"dropRequireFailure",this))return this;e=be(e,this);var t=M(this.requireFail,e);return t>-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var t=this,n=this.state;function r(n){t.manager.emit(n,e)}n<8&&r(t.options.event+ve(n)),r(t.options.event),e.additionalEvent&&r(e.additionalEvent),n>=8&&r(t.options.event+ve(n))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=32},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(33&this.requireFail[e].state))return!1;e++}return!0},recognize:function(e){var t=c({},e);if(!w(this.options.enable,[this,t]))return this.reset(),void(this.state=32);56&this.state&&(this.state=1),this.state=this.process(t),30&this.state&&this.tryEmit(t)},process:function(e){},getTouchAction:function(){},reset:function(){}},y(Ae,me,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,r=6&t,a=this.attrTest(e);return r&&(8&n||!a)?16|t:r||a?4&n?8|t:2&t?4|t:2:32}}),y(ye,Ae,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var e=this.options.direction,t=[];return 6&e&&t.push("pan-y"),24&e&&t.push("pan-x"),t},directionTest:function(e){var t=this.options,n=!0,r=e.distance,a=e.direction,i=e.deltaX,o=e.deltaY;return a&t.direction||(6&t.direction?(a=0===i?1:i<0?2:4,n=i!=this.pX,r=Math.abs(e.deltaX)):(a=0===o?1:o<0?8:16,n=o!=this.pY,r=Math.abs(e.deltaY))),e.direction=a,n&&r>t.threshold&&a&t.direction},attrTest:function(e){return Ae.prototype.attrTest.call(this,e)&&(2&this.state||!(2&this.state)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=ge(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),y(xe,Ae,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||2&this.state)},emit:function(e){if(1!==e.scale){var t=e.scale<1?"in":"out";e.additionalEvent=this.options.event+t}this._super.emit.call(this,e)}}),y(we,me,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance<t.threshold,a=e.deltaTime>t.time;if(this._input=e,!r||!n||12&e.eventType&&!a)this.reset();else if(1&e.eventType)this.reset(),this._timer=h((function(){this.state=8,this.tryEmit()}),t.time,this);else if(4&e.eventType)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(e){8===this.state&&(e&&4&e.eventType?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),y(_e,Ae,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||2&this.state)}}),y(Ce,Ae,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return ye.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return 30&n?t=e.overallVelocity:6&n?t=e.overallVelocityX:24&n&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&d(t)>this.options.velocity&&4&e.eventType},emit:function(e){var t=ge(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),y(ke,me,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance<t.threshold,a=e.deltaTime<t.time;if(this.reset(),1&e.eventType&&0===this.count)return this.failTimeout();if(r&&a&&n){if(4!=e.eventType)return this.failTimeout();var i=!this.pTime||e.timeStamp-this.pTime<t.interval,o=!this.pCenter||G(this.pCenter,e.center)<t.posThreshold;if(this.pTime=e.timeStamp,this.pCenter=e.center,o&&i?this.count+=1:this.count=1,this._input=e,0===this.count%t.taps)return this.hasRequireFailures()?(this._timer=h((function(){this.state=8,this.tryEmit()}),t.interval,this),2):8}return 32},failTimeout:function(){return this._timer=h((function(){this.state=32}),this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Te.VERSION="2.0.7",Te.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[_e,{enable:!1}],[xe,{enable:!1},["rotate"]],[Ce,{direction:6}],[ye,{direction:6},["swipe"]],[ke],[ke,{event:"doubletap",taps:2},["tap"]],[we]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function Ee(e,t){var n;this.options=c({},Te.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=new((n=this).options.inputClass||(j?ee:B?ie:P?se:q))(n,U),this.touchAction=new he(this,this.options.touchAction),Se(this,!0),v(this.options.recognizers,(function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])}),this)}function Se(e,t){var n,r=e.element;r.style&&(v(e.options.cssProps,(function(a,i){n=N(r.style,i),t?(e.oldCssProps[n]=r.style[n],r.style[n]=a):r.style[n]=e.oldCssProps[n]||""})),t||(e.oldCssProps={}))}Ee.prototype={set:function(e){return c(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?2:1},recognize:function(e){var t=this.session;if(!t.stopped){var n;this.touchAction.preventDefaults(e);var r=this.recognizers,a=t.curRecognizer;(!a||a&&8&a.state)&&(a=t.curRecognizer=null);for(var i=0;i<r.length;)n=r[i],2===t.stopped||a&&n!=a&&!n.canRecognizeWith(a)?n.reset():n.recognize(e),!a&&14&n.state&&(a=t.curRecognizer=n),i++}},get:function(e){if(e instanceof me)return e;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(m(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(m(e,"remove",this))return this;if(e=this.get(e)){var t=this.recognizers,n=M(t,e);-1!==n&&(t.splice(n,1),this.touchAction.update())}return this},on:function(e,t){if(void 0!==e&&void 0!==t){var n=this.handlers;return v(S(e),(function(e){n[e]=n[e]||[],n[e].push(t)})),this}},off:function(e,t){if(void 0!==e){var n=this.handlers;return v(S(e),(function(e){t?n[e]&&n[e].splice(M(n[e],t),1):delete n[e]})),this}},emit:function(e,t){this.options.domEvents&&function(e,t){var n=i.createEvent("Event");n.initEvent(e,!0,!0),n.gesture=t,t.target.dispatchEvent(n)}(e,t);var n=this.handlers[e]&&this.handlers[e].slice();if(n&&n.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var r=0;r<n.length;)n[r](t),r++}},destroy:function(){this.element&&Se(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},c(Te,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:Ee,Input:$,TouchAction:he,TouchInput:ie,MouseInput:q,PointerEventInput:ee,TouchMouseInput:se,SingleTouchInput:ne,Recognizer:me,AttrRecognizer:Ae,Tap:ke,Pan:ye,Swipe:Ce,Pinch:xe,Rotate:_e,Press:we,on:C,off:k,each:v,merge:A,extend:b,assign:c,inherit:y,bindFn:x,prefixed:N}),(void 0!==a?a:"undefined"!=typeof self?self:{}).Hammer=Te,void 0===(r=function(){return Te}.call(t,n,t,e))||(e.exports=r)}(window,document)},function(e,t,n){"use strict";var r=n(0),a=n(2),i=n(26),o=n(25),s=n(4),c=n(81),l=n(131),u=n(3),p=n(7),d=n(61),f=n(5),h=n(6),m=n(18),v=n(13),g=n(36),b=n(30),A=n(31),y=n(42),x=n(39),w=n(319),_=n(88),C=n(23),k=n(8),T=n(57),E=n(16),S=n(9),M=n(78),O=n(56),I=n(37),N=n(55),L=n(1),D=n(189),P=n(190),j=n(27),B=n(19),F=n(32).forEach,R=O("hidden"),$=L("toPrimitive"),U=B.set,z=B.getterFor("Symbol"),V=Object.prototype,Y=a.Symbol,H=i("JSON","stringify"),G=C.f,Q=k.f,W=w.f,q=T.f,Z=M("symbols"),X=M("op-symbols"),K=M("string-to-symbol-registry"),J=M("symbol-to-string-registry"),ee=M("wks"),te=a.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=s&&u((function(){return 7!=A(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=G(V,t);r&&delete V[t],Q(e,t,n),r&&e!==V&&Q(V,t,r)}:Q,ae=function(e,t){var n=Z[e]=A(Y.prototype);return U(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},ie=l?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof Y},oe=function(e,t,n){e===V&&oe(X,t,n),h(e);var r=g(t,!0);return h(n),p(Z,r)?(n.enumerable?(p(e,R)&&e[R][r]&&(e[R][r]=!1),n=A(n,{enumerable:b(0,!1)})):(p(e,R)||Q(e,R,b(1,{})),e[R][r]=!0),re(e,r,n)):Q(e,r,n)},se=function(e,t){h(e);var n=v(t),r=y(n).concat(pe(n));return F(r,(function(t){s&&!ce.call(n,t)||oe(e,t,n[t])})),e},ce=function(e){var t=g(e,!0),n=q.call(this,t);return!(this===V&&p(Z,t)&&!p(X,t))&&(!(n||!p(this,t)||!p(Z,t)||p(this,R)&&this[R][t])||n)},le=function(e,t){var n=v(e),r=g(t,!0);if(n!==V||!p(Z,r)||p(X,r)){var a=G(n,r);return!a||!p(Z,r)||p(n,R)&&n[R][r]||(a.enumerable=!0),a}},ue=function(e){var t=W(v(e)),n=[];return F(t,(function(e){p(Z,e)||p(I,e)||n.push(e)})),n},pe=function(e){var t=e===V,n=W(t?X:v(e)),r=[];return F(n,(function(e){!p(Z,e)||t&&!p(V,e)||r.push(Z[e])})),r};(c||(S((Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=N(e),n=function(e){this===V&&n.call(X,e),p(this,R)&&p(this[R],t)&&(this[R][t]=!1),re(this,t,b(1,e))};return s&&ne&&re(V,t,{configurable:!0,set:n}),ae(t,e)}).prototype,"toString",(function(){return z(this).tag})),S(Y,"withoutSetter",(function(e){return ae(N(e),e)})),T.f=ce,k.f=oe,C.f=le,x.f=w.f=ue,_.f=pe,D.f=function(e){return ae(L(e),e)},s&&(Q(Y.prototype,"description",{configurable:!0,get:function(){return z(this).description}}),o||S(V,"propertyIsEnumerable",ce,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:Y}),F(y(ee),(function(e){P(e)})),r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=String(e);if(p(K,t))return K[t];var n=Y(t);return K[t]=n,J[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(p(J,e))return J[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(e,t){return void 0===t?A(e):se(A(e),t)},defineProperty:oe,defineProperties:se,getOwnPropertyDescriptor:le}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ue,getOwnPropertySymbols:pe}),r({target:"Object",stat:!0,forced:u((function(){_.f(1)}))},{getOwnPropertySymbols:function(e){return _.f(m(e))}}),H)&&r({target:"JSON",stat:!0,forced:!c||u((function(){var e=Y();return"[null]"!=H([e])||"{}"!=H({a:e})||"{}"!=H(Object(e))}))},{stringify:function(e,t,n){for(var r,a=[e],i=1;arguments.length>i;)a.push(arguments[i++]);if(r=t,(f(t)||void 0!==e)&&!ie(e))return d(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ie(t))return t}),a[1]=t,H.apply(null,a)}});Y.prototype[$]||E(Y.prototype,$,Y.prototype.valueOf),j(Y,"Symbol"),I[R]=!0},function(e,t,n){var r=n(13),a=n(39).f,i={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==i.call(e)?function(e){try{return a(e)}catch(e){return o.slice()}}(e):a(r(e))}},function(e,t,n){"use strict";var r=n(98),a=n(6),i=n(14),o=n(21),s=n(153),c=n(99);r("match",1,(function(e,t,n){return[function(t){var n=o(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var o=a(e),l=String(this);if(!o.global)return c(o,l);var u=o.unicode;o.lastIndex=0;for(var p,d=[],f=0;null!==(p=c(o,l));){var h=String(p[0]);d[f]=h,""===h&&(o.lastIndex=s(l,i(o.lastIndex),u)),f++}return 0===f?null:d}]}))},function(e,t,n){"use strict";var r,a=n(0),i=n(23).f,o=n(14),s=n(191),c=n(21),l=n(193),u=n(25),p="".startsWith,d=Math.min,f=l("startsWith");a({target:"String",proto:!0,forced:!!(u||f||(r=i(String.prototype,"startsWith"),!r||r.writable))&&!f},{startsWith:function(e){var t=String(c(this));s(e);var n=o(d(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return p?p.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";var r=n(0),a=n(5),i=n(61),o=n(86),s=n(14),c=n(13),l=n(47),u=n(1),p=n(45),d=n(17),f=p("slice"),h=d("slice",{ACCESSORS:!0,0:0,1:2}),m=u("species"),v=[].slice,g=Math.max;r({target:"Array",proto:!0,forced:!f||!h},{slice:function(e,t){var n,r,u,p=c(this),d=s(p.length),f=o(e,d),h=o(void 0===t?d:t,d);if(i(p)&&("function"!=typeof(n=p.constructor)||n!==Array&&!i(n.prototype)?a(n)&&null===(n=n[m])&&(n=void 0):n=void 0,n===Array||void 0===n))return v.call(p,f,h);for(r=new(void 0===n?Array:n)(g(h-f,0)),u=0;f<h;f++,u++)f in p&&l(r,u,p[f]);return r.length=u,r}})},function(e,t,n){"use strict";var r=n(0),a=n(4),i=n(2),o=n(7),s=n(5),c=n(8).f,l=n(132),u=i.Symbol;if(a&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var p={},d=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof d?new u(e):void 0===e?u():u(e);return""===e&&(p[t]=!0),t};l(d,u);var f=d.prototype=u.prototype;f.constructor=d;var h=f.toString,m="Symbol(test)"==String(u("test")),v=/^Symbol\((.*)\)[^)]+$/;c(f,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=h.call(e);if(o(p,e))return"";var n=m?t.slice(7,-1):t.replace(v,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:d})}},function(e,t,n){"use strict";var r=n(98),a=n(6),i=n(21),o=n(325),s=n(99);r("search",1,(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=a(e),c=String(this),l=i.lastIndex;o(l,0)||(i.lastIndex=0);var u=s(i,c);return o(i.lastIndex,l)||(i.lastIndex=l),null===u?-1:u.index}]}))},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=60)}([function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(49)("wks"),a=n(30),i=n(0).Symbol,o="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=o&&i[e]||(o?i:a)("Symbol."+e))}).store=r},function(e,t,n){var r=n(5);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){var r=n(0),a=n(10),i=n(8),o=n(6),s=n(11),c=function(e,t,n){var l,u,p,d,f=e&c.F,h=e&c.G,m=e&c.S,v=e&c.P,g=e&c.B,b=h?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,A=h?a:a[t]||(a[t]={}),y=A.prototype||(A.prototype={});for(l in h&&(n=t),n)p=((u=!f&&b&&void 0!==b[l])?b:n)[l],d=g&&u?s(p,r):v&&"function"==typeof p?s(Function.call,p):p,b&&o(b,l,p,e&c.U),A[l]!=p&&i(A,l,d),v&&y[l]!=p&&(y[l]=p)};r.core=a,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){e.exports=!n(7)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(0),a=n(8),i=n(12),o=n(30)("src"),s=Function.toString,c=(""+s).split("toString");n(10).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var l="function"==typeof n;l&&(i(n,"name")||a(n,"name",t)),e[t]!==n&&(l&&(i(n,o)||a(n,o,e[t]?""+e[t]:c.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:a(e,t,n):(delete e[t],a(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[o]||s.call(this)}))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(13),a=n(25);e.exports=n(4)?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(14);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(2),a=n(41),i=n(29),o=Object.defineProperty;t.f=n(4)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),a)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports={}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";var r=n(7);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){var r=n(23),a=n(16);e.exports=function(e){return r(a(e))}},function(e,t,n){var r=n(53),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},function(e,t,n){var r=n(11),a=n(23),i=n(28),o=n(19),s=n(64);e.exports=function(e,t){var n=1==e,c=2==e,l=3==e,u=4==e,p=6==e,d=5==e||p,f=t||s;return function(t,s,h){for(var m,v,g=i(t),b=a(g),A=r(s,h,3),y=o(b.length),x=0,w=n?f(t,y):c?f(t,0):void 0;y>x;x++)if((d||x in b)&&(v=A(m=b[x],x,g),e))if(n)w[x]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return x;case 2:w.push(m)}else if(u)return!1;return p?-1:l||u?u:w}}},function(e,t,n){var r=n(5),a=n(0).document,i=r(a)&&r(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(9);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){e.exports=!1},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(13).f,a=n(12),i=n(1)("toStringTag");e.exports=function(e,t,n){e&&!a(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(49)("keys"),a=n(30);e.exports=function(e){return r[e]||(r[e]=a(e))}},function(e,t,n){var r=n(16);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(5);e.exports=function(e,t){if(!r(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!r(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){"use strict";var r=n(0),a=n(12),i=n(9),o=n(67),s=n(29),c=n(7),l=n(77).f,u=n(45).f,p=n(13).f,d=n(51).trim,f=r.Number,h=f,m=f.prototype,v="Number"==i(n(44)(m)),g="trim"in String.prototype,b=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){var n,r,a,i=(t=g?t.trim():d(t,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:r=2,a=49;break;case 79:case 111:r=8,a=55;break;default:return+t}for(var o,c=t.slice(2),l=0,u=c.length;l<u;l++)if((o=c.charCodeAt(l))<48||o>a)return NaN;return parseInt(c,r)}}return+t};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof f&&(v?c((function(){m.valueOf.call(n)})):"Number"!=i(n))?o(new h(b(t)),n,f):b(t)};for(var A,y=n(4)?l(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;y.length>x;x++)a(h,A=y[x])&&!a(f,A)&&p(f,A,u(h,A));f.prototype=m,m.constructor=f,n(6)(r,"Number",f)}},function(e,t,n){"use strict";function r(e){return!(0===e||(!Array.isArray(e)||0!==e.length)&&e)}function a(e,t,n,r){return e.filter((function(e){return function(e,t){return void 0===e&&(e="undefined"),null===e&&(e="null"),!1===e&&(e="false"),-1!==e.toString().toLowerCase().indexOf(t.trim())}(r(e,n),t)}))}function i(e){return e.filter((function(e){return!e.$isLabel}))}function o(e,t){return function(n){return n.reduce((function(n,r){return r[e]&&r[e].length?(n.push({$groupLabel:r[t],$isLabel:!0}),n.concat(r[e])):n}),[])}}function s(e,t,r,i,o){return function(s){return s.map((function(s){var c;if(!s[r])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];var l=a(s[r],e,t,o);return l.length?(c={},n.i(d.a)(c,i,s[i]),n.i(d.a)(c,r,l),c):[]}))}}var c=n(59),l=n(54),u=(n.n(l),n(95)),p=(n.n(u),n(31)),d=(n.n(p),n(58)),f=n(91),h=(n.n(f),n(98)),m=(n.n(h),n(92)),v=(n.n(m),n(88)),g=(n.n(v),n(97)),b=(n.n(g),n(89)),A=(n.n(b),n(96)),y=(n.n(A),n(93)),x=(n.n(y),n(90)),w=(n.n(x),function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce((function(e,t){return t(e)}),e)}});t.a={data:function(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},value:{type:null,default:function(){return[]}},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default:function(e,t){return r(e)?"":t?e[t]:e}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default:function(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1}},mounted:function(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue:function(){return this.value||0===this.value?Array.isArray(this.value)?this.value:[this.value]:[]},filteredOptions:function(){var e=this.search||"",t=e.toLowerCase().trim(),n=this.options.concat();return n=this.internalSearch?this.groupValues?this.filterAndFlat(n,t,this.label):a(n,t,this.label,this.customLabel):this.groupValues?o(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(function(e){return function(){return!e.apply(void 0,arguments)}}(this.isSelected)):n,this.taggable&&t.length&&!this.isExistingOption(t)&&("bottom"===this.tagPosition?n.push({isTag:!0,label:e}):n.unshift({isTag:!0,label:e})),n.slice(0,this.optionsLimit)},valueKeys:function(){var e=this;return this.trackBy?this.internalValue.map((function(t){return t[e.trackBy]})):this.internalValue},optionKeys:function(){var e=this;return(this.groupValues?this.flatAndStrip(this.options):this.options).map((function(t){return e.customLabel(t,e.label).toString().toLowerCase()}))},currentOptionLabel:function(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:function(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("input",this.multiple?[]:null))},search:function(){this.$emit("search-change",this.search,this.id)}},methods:{getValue:function(){return this.multiple?this.internalValue:0===this.internalValue.length?null:this.internalValue[0]},filterAndFlat:function(e,t,n){return w(s(t,n,this.groupValues,this.groupLabel,this.customLabel),o(this.groupValues,this.groupLabel))(e)},flatAndStrip:function(e){return w(o(this.groupValues,this.groupLabel),i)(e)},updateSearch:function(e){this.search=e},isExistingOption:function(e){return!!this.options&&this.optionKeys.indexOf(e)>-1},isSelected:function(e){var t=this.trackBy?e[this.trackBy]:e;return this.valueKeys.indexOf(t)>-1},isOptionDisabled:function(e){return!!e.$isDisabled},getOptionLabel:function(e){if(r(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;var t=this.customLabel(e,this.label);return r(t)?"":t},select:function(e,t){if(e.$isLabel&&this.groupSelect)this.selectGroup(e);else if(!(-1!==this.blockKeys.indexOf(t)||this.disabled||e.$isDisabled||e.$isLabel)&&(!this.max||!this.multiple||this.internalValue.length!==this.max)&&("Tab"!==t||this.pointerDirty)){if(e.isTag)this.$emit("tag",e.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(e))return void("Tab"!==t&&this.removeElement(e));this.$emit("select",e,this.id),this.multiple?this.$emit("input",this.internalValue.concat([e]),this.id):this.$emit("input",e,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup:function(e){var t=this,n=this.options.find((function(n){return n[t.groupLabel]===e.$groupLabel}));if(n)if(this.wholeGroupSelected(n)){this.$emit("remove",n[this.groupValues],this.id);var r=this.internalValue.filter((function(e){return-1===n[t.groupValues].indexOf(e)}));this.$emit("input",r,this.id)}else{var a=n[this.groupValues].filter((function(e){return!(t.isOptionDisabled(e)||t.isSelected(e))}));this.$emit("select",a,this.id),this.$emit("input",this.internalValue.concat(a),this.id)}},wholeGroupSelected:function(e){var t=this;return e[this.groupValues].every((function(e){return t.isSelected(e)||t.isOptionDisabled(e)}))},wholeGroupDisabled:function(e){return e[this.groupValues].every(this.isOptionDisabled)},removeElement:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!this.disabled&&!e.$isDisabled){if(!this.allowEmpty&&this.internalValue.length<=1)return void this.deactivate();var r="object"===n.i(c.a)(e)?this.valueKeys.indexOf(e[this.trackBy]):this.valueKeys.indexOf(e);if(this.$emit("remove",e,this.id),this.multiple){var a=this.internalValue.slice(0,r).concat(this.internalValue.slice(r+1));this.$emit("input",a,this.id)}else this.$emit("input",null,this.id);this.closeOnSelect&&t&&this.deactivate()}},removeLastElement:function(){-1===this.blockKeys.indexOf("Delete")&&0===this.search.length&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate:function(){var e=this;this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&0===this.pointer&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.$nextTick((function(){return e.$refs.search.focus()}))):this.$el.focus(),this.$emit("open",this.id))},deactivate:function(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search.blur():this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle:function(){this.isOpen?this.deactivate():this.activate()},adjustPosition:function(){if("undefined"!=typeof window){var e=this.$el.getBoundingClientRect().top,t=window.innerHeight-this.$el.getBoundingClientRect().bottom;t>this.maxHeight||t>e||"below"===this.openDirection||"bottom"===this.openDirection?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(t-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(e-40,this.maxHeight))}}}}},function(e,t,n){"use strict";var r=n(54),a=(n.n(r),n(31));n.n(a),t.a={data:function(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition:function(){return this.pointer*this.optionHeight},visibleElements:function(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions:function(){this.pointerAdjust()},isOpen:function(){this.pointerDirty=!1}},methods:{optionHighlight:function(e,t){return{"multiselect__option--highlight":e===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(t)}},groupHighlight:function(e,t){var n=this;if(!this.groupSelect)return["multiselect__option--group","multiselect__option--disabled"];var r=this.options.find((function(e){return e[n.groupLabel]===t.$groupLabel}));return r&&!this.wholeGroupDisabled(r)?["multiselect__option--group",{"multiselect__option--highlight":e===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(r)}]:"multiselect__option--disabled"},addPointerElement:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Enter",t=e.key;this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],t),this.pointerReset()},pointerForward:function(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward:function(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset:function(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust:function(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet:function(e){this.pointer=e,this.pointerDirty=!0}}}},function(e,t,n){"use strict";var r=n(36),a=n(74),i=n(15),o=n(18);e.exports=n(72)(Array,"Array",(function(e,t){this._t=o(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,a(1)):a(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var r=n(31),a=(n.n(r),n(32)),i=n(33);t.a={name:"vue-multiselect",mixins:[a.a,i.a],props:{name:{type:String,default:""},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:function(e){return"and ".concat(e," more")}},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{isSingleLabelVisible:function(){return(this.singleValue||0===this.singleValue)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible:function(){return!(this.internalValue.length||this.searchable&&this.isOpen)},visibleValues:function(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue:function(){return this.internalValue[0]},deselectLabelText:function(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText:function(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText:function(){return this.showLabels?this.selectLabel:""},selectGroupLabelText:function(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText:function(){return this.showLabels?this.selectedLabel:""},inputStyle:function(){if(this.searchable||this.multiple&&this.value&&this.value.length)return this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}},contentStyle:function(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove:function(){return"above"===this.openDirection||"top"===this.openDirection||"below"!==this.openDirection&&"bottom"!==this.openDirection&&"above"===this.preferredOpenDirection},showSearchInput:function(){return this.searchable&&(!this.hasSingleSelectedSlot||!this.visibleSingleValue&&0!==this.visibleSingleValue||this.isOpen)}}}},function(e,t,n){var r=n(1)("unscopables"),a=Array.prototype;null==a[r]&&n(8)(a,r,{}),e.exports=function(e){a[r][e]=!0}},function(e,t,n){var r=n(18),a=n(19),i=n(85);e.exports=function(e){return function(t,n,o){var s,c=r(t),l=a(c.length),u=i(o,l);if(e&&n!=n){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(9),a=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?n:i?r(t):"Object"==(o=r(t))&&"function"==typeof t.callee?"Arguments":o}},function(e,t,n){"use strict";var r=n(2);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){var r=n(0).document;e.exports=r&&r.documentElement},function(e,t,n){e.exports=!n(4)&&!n(7)((function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(9);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){"use strict";function r(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=a(t),this.reject=a(n)}var a=n(14);e.exports.f=function(e){return new r(e)}},function(e,t,n){var r=n(2),a=n(76),i=n(22),o=n(27)("IE_PROTO"),s=function(){},c=function(){var e,t=n(21)("iframe"),r=i.length;for(t.style.display="none",n(40).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c.prototype[i[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[o]=e):n=c(),void 0===t?n:a(n,t)}},function(e,t,n){var r=n(79),a=n(25),i=n(18),o=n(29),s=n(12),c=n(41),l=Object.getOwnPropertyDescriptor;t.f=n(4)?l:function(e,t){if(e=i(e),t=o(t,!0),c)try{return l(e,t)}catch(e){}if(s(e,t))return a(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(12),a=n(18),i=n(37)(!1),o=n(27)("IE_PROTO");e.exports=function(e,t){var n,s=a(e),c=0,l=[];for(n in s)n!=o&&r(s,n)&&l.push(n);for(;t.length>c;)r(s,n=t[c++])&&(~i(l,n)||l.push(n));return l}},function(e,t,n){var r=n(46),a=n(22);e.exports=Object.keys||function(e){return r(e,a)}},function(e,t,n){var r=n(2),a=n(5),i=n(43);e.exports=function(e,t){if(r(e),a(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var r=n(10),a=n(0),i=a["__core-js_shared__"]||(a["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(24)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(2),a=n(14),i=n(1)("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||null==(n=r(o)[i])?t:a(n)}},function(e,t,n){var r=n(3),a=n(16),i=n(7),o=n(84),s="["+o+"]",c=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),u=function(e,t,n){var a={},s=i((function(){return!!o[e]()||"
"!="
"[e]()})),c=a[e]=s?t(p):o[e];n&&(a[n]=c),r(r.P+r.F*s,"String",a)},p=u.trim=function(e,t){return e=String(a(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(l,"")),e};e.exports=u},function(e,t,n){var r,a,i,o=n(11),s=n(68),c=n(40),l=n(21),u=n(0),p=u.process,d=u.setImmediate,f=u.clearImmediate,h=u.MessageChannel,m=u.Dispatch,v=0,g={},b=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},A=function(e){b.call(e.data)};d&&f||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++v]=function(){s("function"==typeof e?e:Function(e),t)},r(v),v},f=function(e){delete g[e]},"process"==n(9)(p)?r=function(e){p.nextTick(o(b,e,1))}:m&&m.now?r=function(e){m.now(o(b,e,1))}:h?(i=(a=new h).port2,a.port1.onmessage=A,r=o(i.postMessage,i,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",A,!1)):r="onreadystatechange"in l("script")?function(e){c.appendChild(l("script")).onreadystatechange=function(){c.removeChild(this),b.call(e)}}:function(e){setTimeout(o(b,e,1),0)}),e.exports={set:d,clear:f}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){"use strict";var r=n(3),a=n(20)(5),i=!0;"find"in[]&&Array(1).find((function(){i=!1})),r(r.P+r.F*i,"Array",{find:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),n(36)("find")},function(e,t,n){"use strict";var r,a,i,o,s=n(24),c=n(0),l=n(11),u=n(38),p=n(3),d=n(5),f=n(14),h=n(61),m=n(66),v=n(50),g=n(52).set,b=n(75)(),A=n(43),y=n(80),x=n(86),w=n(48),_=c.TypeError,C=c.process,k=C&&C.versions,T=k&&k.v8||"",E=c.Promise,S="process"==u(C),M=function(){},O=a=A.f,I=!!function(){try{var e=E.resolve(1),t=(e.constructor={})[n(1)("species")]=function(e){e(M,M)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(M)instanceof t&&0!==T.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(e){}}(),N=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},L=function(e,t){if(!e._n){e._n=!0;var n=e._c;b((function(){for(var r=e._v,a=1==e._s,i=0;n.length>i;)!function(t){var n,i,o,s=a?t.ok:t.fail,c=t.resolve,l=t.reject,u=t.domain;try{s?(a||(2==e._h&&j(e),e._h=1),!0===s?n=r:(u&&u.enter(),n=s(r),u&&(u.exit(),o=!0)),n===t.promise?l(_("Promise-chain cycle")):(i=N(n))?i.call(n,c,l):c(n)):l(r)}catch(e){u&&!o&&u.exit(),l(e)}}(n[i++]);e._c=[],e._n=!1,t&&!e._h&&D(e)}))}},D=function(e){g.call(c,(function(){var t,n,r,a=e._v,i=P(e);if(i&&(t=y((function(){S?C.emit("unhandledRejection",a,e):(n=c.onunhandledrejection)?n({promise:e,reason:a}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",a)})),e._h=S||P(e)?2:1),e._a=void 0,i&&t.e)throw t.v}))},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},j=function(e){g.call(c,(function(){var t;S?C.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})}))},B=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),L(t,!0))},F=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(t=N(e))?b((function(){var r={_w:n,_d:!1};try{t.call(e,l(F,r,1),l(B,r,1))}catch(e){B.call(r,e)}})):(n._v=e,n._s=1,L(n,!1))}catch(e){B.call({_w:n,_d:!1},e)}}};I||(E=function(e){h(this,E,"Promise","_h"),f(e),r.call(this);try{e(l(F,this,1),l(B,this,1))}catch(e){B.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(81)(E.prototype,{then:function(e,t){var n=O(v(this,E));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=S?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&L(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=l(F,e,1),this.reject=l(B,e,1)},A.f=O=function(e){return e===E||e===o?new i(e):a(e)}),p(p.G+p.W+p.F*!I,{Promise:E}),n(26)(E,"Promise"),n(83)("Promise"),o=n(10).Promise,p(p.S+p.F*!I,"Promise",{reject:function(e){var t=O(this);return(0,t.reject)(e),t.promise}}),p(p.S+p.F*(s||!I),"Promise",{resolve:function(e){return w(s&&this===o?E:this,e)}}),p(p.S+p.F*!(I&&n(73)((function(e){E.all(e).catch(M)}))),"Promise",{all:function(e){var t=this,n=O(t),r=n.resolve,a=n.reject,i=y((function(){var n=[],i=0,o=1;m(e,!1,(function(e){var s=i++,c=!1;n.push(void 0),o++,t.resolve(e).then((function(e){c||(c=!0,n[s]=e,--o||r(n))}),a)})),--o||r(n)}));return i.e&&a(i.v),n.promise},race:function(e){var t=this,n=O(t),r=n.reject,a=y((function(){m(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return a.e&&r(a.v),n.promise}})},function(e,t,n){"use strict";var r=n(3),a=n(10),i=n(0),o=n(50),s=n(48);r(r.P+r.R,"Promise",{finally:function(e){var t=o(this,a.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}})},function(e,t,n){"use strict";var r=n(35),a=n(101),i=function(e){n(99)},o=n(100)(r.a,a.a,!1,i,null,null);t.a=o.exports},function(e,t,n){"use strict";t.a=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";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 a(e){return(a="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}t.a=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(34),a=(n.n(r),n(55)),i=(n.n(a),n(56)),o=(n.n(i),n(57)),s=n(32),c=n(33);n.d(t,"Multiselect",(function(){return o.a})),n.d(t,"multiselectMixin",(function(){return s.a})),n.d(t,"pointerMixin",(function(){return c.a})),t.default=o.a},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(14),a=n(28),i=n(23),o=n(19);e.exports=function(e,t,n,s,c){r(t);var l=a(e),u=i(l),p=o(l.length),d=c?p-1:0,f=c?-1:1;if(n<2)for(;;){if(d in u){s=u[d],d+=f;break}if(d+=f,c?d<0:p<=d)throw TypeError("Reduce of empty array with no initial value")}for(;c?d>=0:p>d;d+=f)d in u&&(s=t(s,u[d],d,l));return s}},function(e,t,n){var r=n(5),a=n(42),i=n(1)("species");e.exports=function(e){var t;return a(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!a(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var r=n(63);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){"use strict";var r=n(8),a=n(6),i=n(7),o=n(16),s=n(1);e.exports=function(e,t,n){var c=s(e),l=n(o,c,""[e]),u=l[0],p=l[1];i((function(){var t={};return t[c]=function(){return 7},7!=""[e](t)}))&&(a(String.prototype,e,u),r(RegExp.prototype,c,2==t?function(e,t){return p.call(e,this,t)}:function(e){return p.call(e,this)}))}},function(e,t,n){var r=n(11),a=n(70),i=n(69),o=n(2),s=n(19),c=n(87),l={},u={};(t=e.exports=function(e,t,n,p,d){var f,h,m,v,g=d?function(){return e}:c(e),b=r(n,p,t?2:1),A=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(i(g)){for(f=s(e.length);f>A;A++)if((v=t?b(o(h=e[A])[0],h[1]):b(e[A]))===l||v===u)return v}else for(m=g.call(e);!(h=m.next()).done;)if((v=a(m,b,h.value,t))===l||v===u)return v}).BREAK=l,t.RETURN=u},function(e,t,n){var r=n(5),a=n(82).set;e.exports=function(e,t,n){var i,o=t.constructor;return o!==n&&"function"==typeof o&&(i=o.prototype)!==n.prototype&&r(i)&&a&&a(e,i),e}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(15),a=n(1)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[a]===e)}},function(e,t,n){var r=n(2);e.exports=function(e,t,n,a){try{return a?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){"use strict";var r=n(44),a=n(25),i=n(26),o={};n(8)(o,n(1)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(o,{next:a(1,n)}),i(e,t+" Iterator")}},function(e,t,n){"use strict";var r=n(24),a=n(3),i=n(6),o=n(8),s=n(15),c=n(71),l=n(26),u=n(78),p=n(1)("iterator"),d=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,n,h,m,v,g){c(n,t,h);var b,A,y,x=function(e){if(!d&&e in k)return k[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",_="values"==m,C=!1,k=e.prototype,T=k[p]||k["@@iterator"]||m&&k[m],E=T||x(m),S=m?_?x("entries"):E:void 0,M="Array"==t&&k.entries||T;if(M&&(y=u(M.call(new e)))!==Object.prototype&&y.next&&(l(y,w,!0),r||"function"==typeof y[p]||o(y,p,f)),_&&T&&"values"!==T.name&&(C=!0,E=function(){return T.call(this)}),r&&!g||!d&&!C&&k[p]||o(k,p,E),s[t]=E,s[w]=f,m)if(b={values:_?E:x("values"),keys:v?E:x("keys"),entries:S},g)for(A in b)A in k||i(k,A,b[A]);else a(a.P+a.F*(d||C),t,b);return b}},function(e,t,n){var r=n(1)("iterator"),a=!1;try{var i=[7][r]();i.return=function(){a=!0},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var i=[7],o=i[r]();o.next=function(){return{done:n=!0}},i[r]=function(){return o},e(i)}catch(e){}return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(0),a=n(52).set,i=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,c="process"==n(9)(o);e.exports=function(){var e,t,n,l=function(){var r,a;for(c&&(r=o.domain)&&r.exit();e;){a=e.fn,e=e.next;try{a()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(c)n=function(){o.nextTick(l)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(l)}}else n=function(){a.call(r,l)};else{var p=!0,d=document.createTextNode("");new i(l).observe(d,{characterData:!0}),n=function(){d.data=p=!p}}return function(r){var a={fn:r,next:void 0};t&&(t.next=a),e||(e=a,n()),t=a}}},function(e,t,n){var r=n(13),a=n(2),i=n(47);e.exports=n(4)?Object.defineProperties:function(e,t){a(e);for(var n,o=i(t),s=o.length,c=0;s>c;)r.f(e,n=o[c++],t[n]);return e}},function(e,t,n){var r=n(46),a=n(22).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},function(e,t,n){var r=n(12),a=n(28),i=n(27)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=a(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(6);e.exports=function(e,t,n){for(var a in t)r(e,a,t[a],n);return e}},function(e,t,n){var r=n(5),a=n(2),i=function(e,t){if(a(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(11)(Function.call,n(45).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){"use strict";var r=n(0),a=n(13),i=n(4),o=n(1)("species");e.exports=function(e){var t=r[e];i&&t&&!t[o]&&a.f(t,o,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(e,t,n){var r=n(53),a=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?a(e+t,0):i(e,t)}},function(e,t,n){var r=n(0).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){var r=n(38),a=n(1)("iterator"),i=n(15);e.exports=n(10).getIteratorMethod=function(e){if(null!=e)return e[a]||e["@@iterator"]||i[r(e)]}},function(e,t,n){"use strict";var r=n(3),a=n(20)(2);r(r.P+r.F*!n(17)([].filter,!0),"Array",{filter:function(e){return a(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(3),a=n(37)(!1),i=[].indexOf,o=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(o||!n(17)(i)),"Array",{indexOf:function(e){return o?i.apply(this,arguments)||0:a(this,e,arguments[1])}})},function(e,t,n){var r=n(3);r(r.S,"Array",{isArray:n(42)})},function(e,t,n){"use strict";var r=n(3),a=n(20)(1);r(r.P+r.F*!n(17)([].map,!0),"Array",{map:function(e){return a(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(3),a=n(62);r(r.P+r.F*!n(17)([].reduce,!0),"Array",{reduce:function(e){return a(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){var r=Date.prototype,a=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(6)(r,"toString",(function(){var e=i.call(this);return e==e?a.call(this):"Invalid Date"}))},function(e,t,n){n(4)&&"g"!=/./g.flags&&n(13).f(RegExp.prototype,"flags",{configurable:!0,get:n(39)})},function(e,t,n){n(65)("search",1,(function(e,t,n){return[function(n){"use strict";var r=e(this),a=null==n?void 0:n[t];return void 0!==a?a.call(n,r):new RegExp(n)[t](String(r))},n]}))},function(e,t,n){"use strict";n(94);var r=n(2),a=n(39),i=n(4),o=/./.toString,s=function(e){n(6)(RegExp.prototype,"toString",e,!0)};n(7)((function(){return"/a/b"!=o.call({source:"a",flags:"b"})}))?s((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?a.call(e):void 0)})):"toString"!=o.name&&s((function(){return o.call(this)}))},function(e,t,n){"use strict";n(51)("trim",(function(e){return function(){return e(this,3)}}))},function(e,t,n){for(var r=n(34),a=n(47),i=n(6),o=n(0),s=n(8),c=n(15),l=n(1),u=l("iterator"),p=l("toStringTag"),d=c.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=a(f),m=0;m<h.length;m++){var v,g=h[m],b=f[g],A=o[g],y=A&&A.prototype;if(y&&(y[u]||s(y,u,d),y[p]||s(y,p,g),c[g]=d,b))for(v in r)y[v]||i(y,v,r[v],!0)}},function(e,t){},function(e,t){e.exports=function(e,t,n,r,a,i){var o,s=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(o=e,s=e.default);var l,u="function"==typeof s?s.options:s;if(t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),a&&(u._scopeId=a),i?(l=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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},u._ssrRegister=l):r&&(l=r),l){var p=u.functional,d=p?u.render:u.beforeCreate;p?(u._injectStyles=l,u.render=function(e,t){return l.call(t),d(e,t)}):u.beforeCreate=d?[].concat(d,l):[l]}return{esModule:o,exports:s,options:u}}},function(e,t,n){"use strict";var r={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"multiselect",class:{"multiselect--active":e.isOpen,"multiselect--disabled":e.disabled,"multiselect--above":e.isAbove},attrs:{tabindex:e.searchable?-1:e.tabindex},on:{focus:function(t){e.activate()},blur:function(t){!e.searchable&&e.deactivate()},keydown:[function(t){return"button"in t||!e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?t.target!==t.currentTarget?null:(t.preventDefault(),void e.pointerForward()):null},function(t){return"button"in t||!e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?t.target!==t.currentTarget?null:(t.preventDefault(),void e.pointerBackward()):null}],keypress:function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")&&e._k(t.keyCode,"tab",9,t.key,"Tab")?null:(t.stopPropagation(),t.target!==t.currentTarget?null:void e.addPointerElement(t))},keyup:function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,"Escape"))return null;e.deactivate()}}},[e._t("caret",[n("div",{staticClass:"multiselect__select",on:{mousedown:function(t){t.preventDefault(),t.stopPropagation(),e.toggle()}}})],{toggle:e.toggle}),e._v(" "),e._t("clear",null,{search:e.search}),e._v(" "),n("div",{ref:"tags",staticClass:"multiselect__tags"},[e._t("selection",[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visibleValues.length>0,expression:"visibleValues.length > 0"}],staticClass:"multiselect__tags-wrap"},[e._l(e.visibleValues,(function(t,r){return[e._t("tag",[n("span",{key:r,staticClass:"multiselect__tag"},[n("span",{domProps:{textContent:e._s(e.getOptionLabel(t))}}),e._v(" "),n("i",{staticClass:"multiselect__tag-icon",attrs:{"aria-hidden":"true",tabindex:"1"},on:{keypress:function(n){if(!("button"in n)&&e._k(n.keyCode,"enter",13,n.key,"Enter"))return null;n.preventDefault(),e.removeElement(t)},mousedown:function(n){n.preventDefault(),e.removeElement(t)}}})])],{option:t,search:e.search,remove:e.removeElement})]}))],2),e._v(" "),e.internalValue&&e.internalValue.length>e.limit?[e._t("limit",[n("strong",{staticClass:"multiselect__strong",domProps:{textContent:e._s(e.limitText(e.internalValue.length-e.limit))}})])]:e._e()],{search:e.search,remove:e.removeElement,values:e.visibleValues,isOpen:e.isOpen}),e._v(" "),n("transition",{attrs:{name:"multiselect__loading"}},[e._t("loading",[n("div",{directives:[{name:"show",rawName:"v-show",value:e.loading,expression:"loading"}],staticClass:"multiselect__spinner"})])],2),e._v(" "),e.searchable?n("input",{ref:"search",staticClass:"multiselect__input",style:e.inputStyle,attrs:{name:e.name,id:e.id,type:"text",autocomplete:"nope",placeholder:e.placeholder,disabled:e.disabled,tabindex:e.tabindex},domProps:{value:e.search},on:{input:function(t){e.updateSearch(t.target.value)},focus:function(t){t.preventDefault(),e.activate()},blur:function(t){t.preventDefault(),e.deactivate()},keyup:function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,"Escape"))return null;e.deactivate()},keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.preventDefault(),e.pointerForward()},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.preventDefault(),e.pointerBackward()},function(t){if(!("button"in t)&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete"]))return null;t.stopPropagation(),e.removeLastElement()}],keypress:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?(t.preventDefault(),t.stopPropagation(),t.target!==t.currentTarget?null:void e.addPointerElement(t)):null}}}):e._e(),e._v(" "),e.isSingleLabelVisible?n("span",{staticClass:"multiselect__single",on:{mousedown:function(t){return t.preventDefault(),e.toggle(t)}}},[e._t("singleLabel",[[e._v(e._s(e.currentOptionLabel))]],{option:e.singleValue})],2):e._e(),e._v(" "),e.isPlaceholderVisible?n("span",{staticClass:"multiselect__placeholder",on:{mousedown:function(t){return t.preventDefault(),e.toggle(t)}}},[e._t("placeholder",[e._v("\n "+e._s(e.placeholder)+"\n ")])],2):e._e()],2),e._v(" "),n("transition",{attrs:{name:"multiselect"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isOpen,expression:"isOpen"}],ref:"list",staticClass:"multiselect__content-wrapper",style:{maxHeight:e.optimizedHeight+"px"},attrs:{tabindex:"-1"},on:{focus:e.activate,mousedown:function(e){e.preventDefault()}}},[n("ul",{staticClass:"multiselect__content",style:e.contentStyle},[e._t("beforeList"),e._v(" "),e.multiple&&e.max===e.internalValue.length?n("li",[n("span",{staticClass:"multiselect__option"},[e._t("maxElements",[e._v("Maximum of "+e._s(e.max)+" options selected. First remove a selected option to select another.")])],2)]):e._e(),e._v(" "),!e.max||e.internalValue.length<e.max?e._l(e.filteredOptions,(function(t,r){return n("li",{key:r,staticClass:"multiselect__element"},[t&&(t.$isLabel||t.$isDisabled)?e._e():n("span",{staticClass:"multiselect__option",class:e.optionHighlight(r,t),attrs:{"data-select":t&&t.isTag?e.tagPlaceholder:e.selectLabelText,"data-selected":e.selectedLabelText,"data-deselect":e.deselectLabelText},on:{click:function(n){n.stopPropagation(),e.select(t)},mouseenter:function(t){if(t.target!==t.currentTarget)return null;e.pointerSet(r)}}},[e._t("option",[n("span",[e._v(e._s(e.getOptionLabel(t)))])],{option:t,search:e.search})],2),e._v(" "),t&&(t.$isLabel||t.$isDisabled)?n("span",{staticClass:"multiselect__option",class:e.groupHighlight(r,t),attrs:{"data-select":e.groupSelect&&e.selectGroupLabelText,"data-deselect":e.groupSelect&&e.deselectGroupLabelText},on:{mouseenter:function(t){if(t.target!==t.currentTarget)return null;e.groupSelect&&e.pointerSet(r)},mousedown:function(n){n.preventDefault(),e.selectGroup(t)}}},[e._t("option",[n("span",[e._v(e._s(e.getOptionLabel(t)))])],{option:t,search:e.search})],2):e._e()])})):e._e(),e._v(" "),n("li",{directives:[{name:"show",rawName:"v-show",value:e.showNoResults&&0===e.filteredOptions.length&&e.search&&!e.loading,expression:"showNoResults && (filteredOptions.length === 0 && search && !loading)"}]},[n("span",{staticClass:"multiselect__option"},[e._t("noResult",[e._v("No elements found. Consider changing the search query.")],{search:e.search})],2)]),e._v(" "),n("li",{directives:[{name:"show",rawName:"v-show",value:e.showNoOptions&&0===e.options.length&&!e.search&&!e.loading,expression:"showNoOptions && (options.length === 0 && !search && !loading)"}]},[n("span",{staticClass:"multiselect__option"},[e._t("noOptions",[e._v("List is empty.")])],2)]),e._v(" "),e._t("afterList")],2)])])],2)},staticRenderFns:[]};t.a=r}])},function(e,t,n){n(190)("iterator")},function(e,t,n){var r=n(4),a=n(2),i=n(41),o=n(100),s=n(8).f,c=n(39).f,l=n(192),u=n(94),p=n(144),d=n(9),f=n(3),h=n(19).set,m=n(105),v=n(1)("match"),g=a.RegExp,b=g.prototype,A=/a/g,y=/a/g,x=new g(A)!==A,w=p.UNSUPPORTED_Y;if(r&&i("RegExp",!x||w||f((function(){return y[v]=!1,g(A)!=A||g(y)==y||"/a/i"!=g(A,"i")})))){for(var _=function(e,t){var n,r=this instanceof _,a=l(e),i=void 0===t;if(!r&&a&&e.constructor===_&&i)return e;x?a&&!i&&(e=e.source):e instanceof _&&(i&&(t=u.call(e)),e=e.source),w&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var s=o(x?new g(e,t):g(e,t),r?this:b,_);return w&&n&&h(s,{sticky:n}),s},C=function(e){e in _||s(_,e,{configurable:!0,get:function(){return g[e]},set:function(t){g[e]=t}})},k=c(g),T=0;k.length>T;)C(k[T++]);b.constructor=_,_.prototype=b,d(a,"RegExp",_)}m("RegExp")},function(e,t){function n(e,t,n){var r,a,i,o,s;function c(){var l=Date.now()-o;l<t&&l>=0?r=setTimeout(c,t-l):(r=null,n||(s=e.apply(i,a),i=a=null))}null==t&&(t=100);var l=function(){i=this,a=arguments,o=Date.now();var l=n&&!r;return r||(r=setTimeout(c,t)),l&&(s=e.apply(i,a),i=a=null),s};return l.clear=function(){r&&(clearTimeout(r),r=null)},l.flush=function(){r&&(s=e.apply(i,a),i=a=null,clearTimeout(r),r=null)},l}n.debounce=n,e.exports=n},function(e,t,n){(function(t){"undefined"!=typeof self&&self,e.exports=function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=22)}([function(e,t){function n(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var a=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(r);return[n].concat(r.sources.map((function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"}))).concat([a]).join("\n")}return[n].join("\n")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},a=0;a<this.length;a++){var i=this[a][0];"number"==typeof i&&(r[i]=!0)}for(a=0;a<e.length;a++){var o=e[a];"number"==typeof o[0]&&r[o[0]]||(n&&!o[2]?o[2]=n:n&&(o[2]="("+o[2]+") and ("+n+")"),t.push(o))}},t}},function(e,t,n){function r(e){for(var t=0;t<e.length;t++){var n=e[t],r=u[n.id];if(r){r.refs++;for(var a=0;a<r.parts.length;a++)r.parts[a](n.parts[a]);for(;a<n.parts.length;a++)r.parts.push(i(n.parts[a]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var o=[];for(a=0;a<n.parts.length;a++)o.push(i(n.parts[a]));u[n.id]={id:n.id,refs:1,parts:o}}}}function a(){var e=document.createElement("style");return e.type="text/css",p.appendChild(e),e}function i(e){var t,n,r=document.querySelector("style["+g+'~="'+e.id+'"]');if(r){if(h)return m;r.parentNode.removeChild(r)}if(b){var i=f++;r=d||(d=a()),t=o.bind(null,r,i,!1),n=o.bind(null,r,i,!0)}else r=a(),t=s.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}function o(e,t,n,r){var a=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=A(t,a);else{var i=document.createTextNode(a),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(i,o[t]):e.appendChild(i)}}function s(e,t){var n=t.css,r=t.media,a=t.sourceMap;if(r&&e.setAttribute("media",r),v.ssrId&&e.setAttribute(g,t.id),a&&(n+="\n/*# sourceURL="+a.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var l=n(26),u={},p=c&&(document.head||document.getElementsByTagName("head")[0]),d=null,f=0,h=!1,m=function(){},v=null,g="data-vue-ssr-id",b="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n,a){h=n,v=a||{};var i=l(e,t);return r(i),function(t){for(var n=[],a=0;a<i.length;a++){var o=i[a];(s=u[o.id]).refs--,n.push(s)}for(t?r(i=l(e,t)):i=[],a=0;a<n.length;a++){var s;if(0===(s=n[a]).refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete u[s.id]}}}};var A=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=function(e,t,n,r,a,i){var o,s=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(o=e,s=e.default);var l,u="function"==typeof s?s.options:s;if(t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),a&&(u._scopeId=a),i?(l=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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},u._ssrRegister=l):r&&(l=r),l){var p=u.functional,d=p?u.render:u.beforeCreate;p?(u._injectStyles=l,u.render=function(e,t){return l.call(t),d(e,t)}):u.beforeCreate=d?[].concat(d,l):[l]}return{esModule:o,exports:s,options:u}}},function(e,t,n){"use strict";function r(e,t){var n,r=e&&e.a;!(n=e&&e.hsl?(0,a.default)(e.hsl):e&&e.hex&&e.hex.length>0?(0,a.default)(e.hex):e&&e.hsv?(0,a.default)(e.hsv):e&&e.rgba?(0,a.default)(e.rgba):e&&e.rgb?(0,a.default)(e.rgb):(0,a.default)(e))||void 0!==n._a&&null!==n._a||n.setAlpha(r||1);var i=n.toHsl(),o=n.toHsv();return 0===i.s&&(o.h=i.h=e.h||e.hsl&&e.hsl.h||t||0),{hsl:i,hex:n.toHexString().toUpperCase(),hex8:n.toHex8String().toUpperCase(),rgba:n.toRgb(),hsv:o,oldHue:e.h||t||i.h,source:e.source,a:e.a||n.getAlpha()}}Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){return e&&e.__esModule?e:{default:e}}(n(27));t.default={props:["value"],data:function(){return{val:r(this.value)}},computed:{colors:{get:function(){return this.val},set:function(e){this.val=e,this.$emit("input",e)}}},watch:{value:function(e){this.val=r(e)}},methods:{colorChange:function(e,t){this.oldHue=this.colors.hsl.h,this.colors=r(e,t||this.oldHue)},isValidHex:function(e){return(0,a.default)(e).isValid()},simpleCheckForValidColor:function(e){for(var t=["r","g","b","a","h","s","l","v"],n=0,r=0,a=0;a<t.length;a++){var i=t[a];e[i]&&(n++,isNaN(e[i])||r++)}if(n===r)return e},paletteUpperCase:function(e){return e.map((function(e){return e.toUpperCase()}))},isTransparent:function(e){return 0===(0,a.default)(e).getAlpha()}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(30),s=!1,c=function(e){s||n(28)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/common/EditableInput.vue",t.default=l.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(14),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(45),s=!1,c=function(e){s||n(43)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/common/Hue.vue",t.default=l.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(59),s=!1,c=function(e){s||n(55)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/common/Saturation.vue",t.default=l.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(65),s=!1,c=function(e){s||n(60)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/common/Alpha.vue",t.default=l.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(19),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(64),s=!1,c=function(e){s||n(62)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/common/Checkboard.vue",t.default=l.exports},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(3)),i=r(n(4)),o=["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#CCCCCC","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"];t.default={name:"Compact",mixins:[a.default],props:{palette:{type:Array,default:function(){return o}}},components:{"ed-in":i.default},computed:{pick:function(){return this.colors.hex.toUpperCase()}},methods:{handlerClick:function(e){this.colorChange({hex:e,source:"hex"})}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"editableInput",props:{label:String,labelText:String,desc:String,value:[String,Number],max:Number,min:Number,arrowOffset:{type:Number,default:1}},computed:{val:{get:function(){return this.value},set:function(e){if(!(void 0!==this.max&&+e>this.max))return e;this.$refs.input.value=this.max}},labelId:function(){return"input__label__"+this.label+"__"+Math.random().toString().slice(2,5)},labelSpanText:function(){return this.labelText||this.label}},methods:{update:function(e){this.handleChange(e.target.value)},handleChange:function(e){var t={};t[this.label]=e,(void 0===t.hex&&void 0===t["#"]||e.length>5)&&this.$emit("change",t)},handleKeyDown:function(e){var t=this.val,n=Number(t);if(n){var r=this.arrowOffset||1;38===e.keyCode&&(t=n+r,this.handleChange(t),e.preventDefault()),40===e.keyCode&&(t=n-r,this.handleChange(t),e.preventDefault())}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(3)),a=["#FFFFFF","#F2F2F2","#E6E6E6","#D9D9D9","#CCCCCC","#BFBFBF","#B3B3B3","#A6A6A6","#999999","#8C8C8C","#808080","#737373","#666666","#595959","#4D4D4D","#404040","#333333","#262626","#0D0D0D","#000000"];t.default={name:"Grayscale",mixins:[r.default],props:{palette:{type:Array,default:function(){return a}}},components:{},computed:{pick:function(){return this.colors.hex.toUpperCase()}},methods:{handlerClick:function(e){this.colorChange({hex:e,source:"hex"})}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(4)),i=r(n(3));t.default={name:"Material",mixins:[i.default],components:{"ed-in":a.default},methods:{onChange:function(e){e&&(e.hex?this.isValidHex(e.hex)&&this.colorChange({hex:e.hex,source:"hex"}):(e.r||e.g||e.b)&&this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}))}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(3)),i=r(n(5));t.default={name:"Slider",mixins:[a.default],props:{swatches:{type:Array,default:function(){return[".80",".65",".50",".35",".20"]}}},components:{hue:i.default},computed:{activeOffset:function(){var e=this.swatches.includes("0"),t=this.swatches.includes("1"),n=this.colors.hsl;return Math.round(100*n.s)/100==.5?Math.round(100*n.l)/100:e&&0===n.l?0:t&&1===n.l?1:-1}},methods:{hueChange:function(e){this.colorChange(e)},handleSwClick:function(e,t){this.colorChange({h:this.colors.hsl.h,s:.5,l:t,source:"hsl"})}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"Hue",props:{value:Object,direction:{type:String,default:"horizontal"}},data:function(){return{oldHue:0,pullDirection:""}},computed:{colors:function(){var e=this.value.hsl.h;return 0!==e&&e-this.oldHue>0&&(this.pullDirection="right"),0!==e&&e-this.oldHue<0&&(this.pullDirection="left"),this.oldHue=e,this.value},directionClass:function(){return{"vc-hue--horizontal":"horizontal"===this.direction,"vc-hue--vertical":"vertical"===this.direction}},pointerTop:function(){return"vertical"===this.direction?0===this.colors.hsl.h&&"right"===this.pullDirection?0:-100*this.colors.hsl.h/360+100+"%":0},pointerLeft:function(){return"vertical"===this.direction?0:0===this.colors.hsl.h&&"right"===this.pullDirection?"100%":100*this.colors.hsl.h/360+"%"}},methods:{handleChange:function(e,t){!t&&e.preventDefault();var n,r=this.$refs.container,a=r.clientWidth,i=r.clientHeight,o=r.getBoundingClientRect().left+window.pageXOffset,s=r.getBoundingClientRect().top+window.pageYOffset,c=(e.pageX||(e.touches?e.touches[0].pageX:0))-o,l=(e.pageY||(e.touches?e.touches[0].pageY:0))-s;"vertical"===this.direction?(n=l<0?360:l>i?0:360*(-100*l/i+100)/100,this.colors.hsl.h!==n&&this.$emit("change",{h:n,s:this.colors.hsl.s,l:this.colors.hsl.l,a:this.colors.hsl.a,source:"hsl"})):(n=c<0?0:c>a?360:100*c/a*360/100,this.colors.hsl.h!==n&&this.$emit("change",{h:n,s:this.colors.hsl.s,l:this.colors.hsl.l,a:this.colors.hsl.a,source:"hsl"}))},handleMouseDown:function(e){this.handleChange(e,!0),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp:function(e){this.unbindEventListeners()},unbindEventListeners:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(50)),i=r(n(3)),o=["red","pink","purple","deepPurple","indigo","blue","lightBlue","cyan","teal","green","lightGreen","lime","yellow","amber","orange","deepOrange","brown","blueGrey","black"],s=["900","700","500","300","100"],c=function(){var e=[];return o.forEach((function(t){var n=[];"black"===t.toLowerCase()||"white"===t.toLowerCase()?n=n.concat(["#000000","#FFFFFF"]):s.forEach((function(e){var r=a.default[t][e];n.push(r.toUpperCase())})),e.push(n)})),e}();t.default={name:"Swatches",mixins:[i.default],props:{palette:{type:Array,default:function(){return c}}},computed:{pick:function(){return this.colors.hex}},methods:{equal:function(e){return e.toLowerCase()===this.colors.hex.toLowerCase()},handlerClick:function(e){this.colorChange({hex:e,source:"hex"})}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(3)),i=r(n(4)),o=r(n(6)),s=r(n(5)),c=r(n(7));t.default={name:"Photoshop",mixins:[a.default],props:{head:{type:String,default:"Color Picker"},disableFields:{type:Boolean,default:!1},hasResetButton:{type:Boolean,default:!1},acceptLabel:{type:String,default:"OK"},cancelLabel:{type:String,default:"Cancel"},resetLabel:{type:String,default:"Reset"},newLabel:{type:String,default:"new"},currentLabel:{type:String,default:"current"}},components:{saturation:o.default,hue:s.default,alpha:c.default,"ed-in":i.default},data:function(){return{currentColor:"#FFF"}},computed:{hsv:function(){var e=this.colors.hsv;return{h:e.h.toFixed(),s:(100*e.s).toFixed(),v:(100*e.v).toFixed()}},hex:function(){var e=this.colors.hex;return e&&e.replace("#","")}},created:function(){this.currentColor=this.colors.hex},methods:{childChange:function(e){this.colorChange(e)},inputChange:function(e){e&&(e["#"]?this.isValidHex(e["#"])&&this.colorChange({hex:e["#"],source:"hex"}):e.r||e.g||e.b||e.a?this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}):(e.h||e.s||e.v)&&this.colorChange({h:e.h||this.colors.hsv.h,s:e.s/100||this.colors.hsv.s,v:e.v/100||this.colors.hsv.v,source:"hsv"}))},clickCurrentColor:function(){this.colorChange({hex:this.currentColor,source:"hex"})},handleAccept:function(){this.$emit("ok")},handleCancel:function(){this.$emit("cancel")},handleReset:function(){this.$emit("reset")}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(57)),i=r(n(58));t.default={name:"Saturation",props:{value:Object},computed:{colors:function(){return this.value},bgColor:function(){return"hsl("+this.colors.hsv.h+", 100%, 50%)"},pointerTop:function(){return-100*this.colors.hsv.v+1+100+"%"},pointerLeft:function(){return 100*this.colors.hsv.s+"%"}},methods:{throttle:(0,i.default)((function(e,t){e(t)}),20,{leading:!0,trailing:!1}),handleChange:function(e,t){!t&&e.preventDefault();var n=this.$refs.container,r=n.clientWidth,i=n.clientHeight,o=n.getBoundingClientRect().left+window.pageXOffset,s=n.getBoundingClientRect().top+window.pageYOffset,c=e.pageX||(e.touches?e.touches[0].pageX:0),l=e.pageY||(e.touches?e.touches[0].pageY:0),u=(0,a.default)(c-o,0,r),p=(0,a.default)(l-s,0,i),d=u/r,f=(0,a.default)(-p/i+1,0,1);this.throttle(this.onChange,{h:this.colors.hsv.h,s:d,v:f,a:this.colors.hsv.a,source:"hsva"})},onChange:function(e){this.$emit("change",e)},handleMouseDown:function(e){window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp:function(e){this.unbindEventListeners()},unbindEventListeners:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(8));t.default={name:"Alpha",props:{value:Object,onChange:Function},components:{checkboard:r.default},computed:{colors:function(){return this.value},gradientColor:function(){var e=this.colors.rgba,t=[e.r,e.g,e.b].join(",");return"linear-gradient(to right, rgba("+t+", 0) 0%, rgba("+t+", 1) 100%)"}},methods:{handleChange:function(e,t){!t&&e.preventDefault();var n,r=this.$refs.container,a=r.clientWidth,i=r.getBoundingClientRect().left+window.pageXOffset,o=(e.pageX||(e.touches?e.touches[0].pageX:0))-i;n=o<0?0:o>a?1:Math.round(100*o/a)/100,this.colors.a!==n&&this.$emit("change",{h:this.colors.hsl.h,s:this.colors.hsl.s,l:this.colors.hsl.l,a:n,source:"rgba"})},handleMouseDown:function(e){this.handleChange(e,!0),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp:function(){this.unbindEventListeners()},unbindEventListeners:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}}},function(e,t,n){"use strict";function r(e,t,n){var r=e+","+t+","+n;if(a[r])return a[r];var i=function(e,t,n){if("undefined"==typeof document)return null;var r=document.createElement("canvas");r.width=r.height=2*n;var a=r.getContext("2d");return a?(a.fillStyle=e,a.fillRect(0,0,r.width,r.height),a.fillStyle=t,a.fillRect(0,0,n,n),a.translate(n,n),a.fillRect(0,0,n,n),r.toDataURL()):null}(e,t,n);return a[r]=i,i}Object.defineProperty(t,"__esModule",{value:!0});var a={};t.default={name:"Checkboard",props:{size:{type:[Number,String],default:8},white:{type:String,default:"#fff"},grey:{type:String,default:"#e6e6e6"}},computed:{bgStyle:function(){return{"background-image":"url("+r(this.white,this.grey,this.size)+")"}}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(3)),i=r(n(4)),o=r(n(6)),s=r(n(5)),c=r(n(7)),l=r(n(8)),u=["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF","rgba(0,0,0,0)"];t.default={name:"Sketch",mixins:[a.default],components:{saturation:o.default,hue:s.default,alpha:c.default,"ed-in":i.default,checkboard:l.default},props:{presetColors:{type:Array,default:function(){return u}},disableAlpha:{type:Boolean,default:!1},disableFields:{type:Boolean,default:!1}},computed:{hex:function(){return(this.colors.a<1?this.colors.hex8:this.colors.hex).replace("#","")},activeColor:function(){var e=this.colors.rgba;return"rgba("+[e.r,e.g,e.b,e.a].join(",")+")"}},methods:{handlePreset:function(e){this.colorChange({hex:e,source:"hex"})},childChange:function(e){this.colorChange(e)},inputChange:function(e){e&&(e.hex?this.isValidHex(e.hex)&&this.colorChange({hex:e.hex,source:"hex"}):(e.r||e.g||e.b||e.a)&&this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}))}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(3)),i=r(n(4)),o=r(n(6)),s=r(n(5)),c=r(n(7)),l=r(n(8));t.default={name:"Chrome",mixins:[a.default],props:{disableAlpha:{type:Boolean,default:!1},disableFields:{type:Boolean,default:!1}},components:{saturation:o.default,hue:s.default,alpha:c.default,"ed-in":i.default,checkboard:l.default},data:function(){return{fieldsIndex:0,highlight:!1}},computed:{hsl:function(){var e=this.colors.hsl,t=e.h,n=e.s,r=e.l;return{h:t.toFixed(),s:(100*n).toFixed()+"%",l:(100*r).toFixed()+"%"}},activeColor:function(){var e=this.colors.rgba;return"rgba("+[e.r,e.g,e.b,e.a].join(",")+")"},hasAlpha:function(){return this.colors.a<1}},methods:{childChange:function(e){this.colorChange(e)},inputChange:function(e){if(e)if(e.hex)this.isValidHex(e.hex)&&this.colorChange({hex:e.hex,source:"hex"});else if(e.r||e.g||e.b||e.a)this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"});else if(e.h||e.s||e.l){var t=e.s?e.s.replace("%","")/100:this.colors.hsl.s,n=e.l?e.l.replace("%","")/100:this.colors.hsl.l;this.colorChange({h:e.h||this.colors.hsl.h,s:t,l:n,source:"hsl"})}},toggleViews:function(){this.fieldsIndex>=2?this.fieldsIndex=0:this.fieldsIndex++},showHighlight:function(){this.highlight=!0},hideHighlight:function(){this.highlight=!1}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var a=r(n(23)),i=r(n(32)),o=r(n(36)),s=r(n(40)),c=r(n(47)),l=r(n(52)),u=r(n(67)),p=r(n(71)),d=r(n(7)),f=r(n(8)),h=r(n(4)),m=r(n(5)),v=r(n(6)),g=r(n(3)),b={version:"2.7.1",Compact:a.default,Grayscale:i.default,Material:o.default,Slider:s.default,Swatches:c.default,Photoshop:l.default,Sketch:u.default,Chrome:p.default,Alpha:d.default,Checkboard:f.default,EditableInput:h.default,Hue:m.default,Saturation:v.default,ColorMixin:g.default};e.exports=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(31),s=!1,c=function(e){s||n(24)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/Compact.vue",t.default=l.exports},function(e,t,n){var r=n(25);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("6ce8a5a8",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-compact {\n padding-top: 5px;\n padding-left: 5px;\n width: 245px;\n border-radius: 2px;\n box-sizing: border-box;\n box-shadow: 0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16);\n background-color: #fff;\n}\n.vc-compact-colors {\n overflow: hidden;\n padding: 0;\n margin: 0;\n}\n.vc-compact-color-item {\n list-style: none;\n width: 15px;\n height: 15px;\n float: left;\n margin-right: 5px;\n margin-bottom: 5px;\n position: relative;\n cursor: pointer;\n}\n.vc-compact-color-item--white {\n box-shadow: inset 0 0 0 1px #ddd;\n}\n.vc-compact-color-item--white .vc-compact-dot {\n background: #000;\n}\n.vc-compact-dot {\n position: absolute;\n top: 5px;\n right: 5px;\n bottom: 5px;\n left: 5px;\n border-radius: 50%;\n opacity: 1;\n background: #fff;\n}\n",""])},function(e,t){e.exports=function(e,t){for(var n=[],r={},a=0;a<t.length;a++){var i=t[a],o=i[0],s={id:e+":"+a,css:i[1],media:i[2],sourceMap:i[3]};r[o]?r[o].parts.push(s):n.push(r[o]={id:o,parts:[s]})}return n}},function(e,t,n){var r;!function(a){function i(e,t){if(t=t||{},(e=e||"")instanceof i)return e;if(!(this instanceof i))return new i(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,a=null,i=null,o=!1,s=!1;return"string"==typeof e&&(e=function(e){e=e.replace(L,"").replace(D,"").toLowerCase();var t,n=!1;if($[e])e=$[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=z.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=z.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=z.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=z.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=z.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=z.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=z.hex8.exec(e))?{r:E(t[1]),g:E(t[2]),b:E(t[3]),a:I(t[4]),format:n?"name":"hex8"}:(t=z.hex6.exec(e))?{r:E(t[1]),g:E(t[2]),b:E(t[3]),format:n?"name":"hex"}:(t=z.hex4.exec(e))?{r:E(t[1]+""+t[1]),g:E(t[2]+""+t[2]),b:E(t[3]+""+t[3]),a:I(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=z.hex3.exec(e))&&{r:E(t[1]+""+t[1]),g:E(t[2]+""+t[2]),b:E(t[3]+""+t[3]),format:n?"name":"hex"}}(e)),"object"==typeof e&&(N(e.r)&&N(e.g)&&N(e.b)?(t=function(e,t,n){return{r:255*k(e,255),g:255*k(t,255),b:255*k(n,255)}}(e.r,e.g,e.b),o=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):N(e.h)&&N(e.s)&&N(e.v)?(r=M(e.s),a=M(e.v),t=c(e.h,r,a),o=!0,s="hsv"):N(e.h)&&N(e.s)&&N(e.l)&&(r=M(e.s),i=M(e.l),t=function(e,t,n){function r(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var a,i,o;if(e=k(e,360),t=k(t,100),n=k(n,100),0===t)a=i=o=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;a=r(c,s,e+1/3),i=r(c,s,e),o=r(c,s,e-1/3)}return{r:255*a,g:255*i,b:255*o}}(e.h,r,i),o=!0,s="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=C(n),{ok:o,format:e.format||s,r:B(255,F(t.r,0)),g:B(255,F(t.g,0)),b:B(255,F(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=j(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=j(this._r)),this._g<1&&(this._g=j(this._g)),this._b<1&&(this._b=j(this._b)),this._ok=n.ok,this._tc_id=P++}function o(e,t,n){e=k(e,255),t=k(t,255),n=k(n,255);var r,a,i=F(e,t,n),o=B(e,t,n),s=(i+o)/2;if(i==o)r=a=0;else{var c=i-o;switch(a=s>.5?c/(2-i-o):c/(i+o),i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:a,l:s}}function s(e,t,n){e=k(e,255),t=k(t,255),n=k(n,255);var r,a,i=F(e,t,n),o=B(e,t,n),s=i,c=i-o;if(a=0===i?0:c/i,i==o)r=0;else{switch(i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:a,v:s}}function c(e,t,n){e=6*k(e,360),t=k(t,100),n=k(n,100);var r=a.floor(e),i=e-r,o=n*(1-t),s=n*(1-i*t),c=n*(1-(1-i)*t),l=r%6;return{r:255*[n,s,o,o,c,n][l],g:255*[c,n,n,s,o,o][l],b:255*[o,o,c,n,n,s][l]}}function l(e,t,n,r){var a=[S(j(e).toString(16)),S(j(t).toString(16)),S(j(n).toString(16))];return r&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function u(e,t,n,r){return[S(O(r)),S(j(e).toString(16)),S(j(t).toString(16)),S(j(n).toString(16))].join("")}function p(e,t){t=0===t?0:t||10;var n=i(e).toHsl();return n.s-=t/100,n.s=T(n.s),i(n)}function d(e,t){t=0===t?0:t||10;var n=i(e).toHsl();return n.s+=t/100,n.s=T(n.s),i(n)}function f(e){return i(e).desaturate(100)}function h(e,t){t=0===t?0:t||10;var n=i(e).toHsl();return n.l+=t/100,n.l=T(n.l),i(n)}function m(e,t){t=0===t?0:t||10;var n=i(e).toRgb();return n.r=F(0,B(255,n.r-j(-t/100*255))),n.g=F(0,B(255,n.g-j(-t/100*255))),n.b=F(0,B(255,n.b-j(-t/100*255))),i(n)}function v(e,t){t=0===t?0:t||10;var n=i(e).toHsl();return n.l-=t/100,n.l=T(n.l),i(n)}function g(e,t){var n=i(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,i(n)}function b(e){var t=i(e).toHsl();return t.h=(t.h+180)%360,i(t)}function A(e){var t=i(e).toHsl(),n=t.h;return[i(e),i({h:(n+120)%360,s:t.s,l:t.l}),i({h:(n+240)%360,s:t.s,l:t.l})]}function y(e){var t=i(e).toHsl(),n=t.h;return[i(e),i({h:(n+90)%360,s:t.s,l:t.l}),i({h:(n+180)%360,s:t.s,l:t.l}),i({h:(n+270)%360,s:t.s,l:t.l})]}function x(e){var t=i(e).toHsl(),n=t.h;return[i(e),i({h:(n+72)%360,s:t.s,l:t.l}),i({h:(n+216)%360,s:t.s,l:t.l})]}function w(e,t,n){t=t||6,n=n||30;var r=i(e).toHsl(),a=360/n,o=[i(e)];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,o.push(i(r));return o}function _(e,t){t=t||6;for(var n=i(e).toHsv(),r=n.h,a=n.s,o=n.v,s=[],c=1/t;t--;)s.push(i({h:r,s:a,v:o})),o=(o+c)%1;return s}function C(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function k(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=B(t,F(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),a.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function T(e){return B(1,F(0,e))}function E(e){return parseInt(e,16)}function S(e){return 1==e.length?"0"+e:""+e}function M(e){return e<=1&&(e=100*e+"%"),e}function O(e){return a.round(255*parseFloat(e)).toString(16)}function I(e){return E(e)/255}function N(e){return!!z.CSS_UNIT.exec(e)}var L=/^\s+/,D=/\s+$/,P=0,j=a.round,B=a.min,F=a.max,R=a.random;i.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:a.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:a.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:a.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=C(e),this._roundA=j(100*this._a)/100,this},toHsv:function(){var e=s(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=s(this._r,this._g,this._b),t=j(360*e.h),n=j(100*e.s),r=j(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=o(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=o(this._r,this._g,this._b),t=j(360*e.h),n=j(100*e.s),r=j(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return l(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,a){var i=[S(j(e).toString(16)),S(j(t).toString(16)),S(j(n).toString(16)),S(O(r))];return a&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:j(this._r),g:j(this._g),b:j(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+j(this._r)+", "+j(this._g)+", "+j(this._b)+")":"rgba("+j(this._r)+", "+j(this._g)+", "+j(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:j(100*k(this._r,255))+"%",g:j(100*k(this._g,255))+"%",b:j(100*k(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+j(100*k(this._r,255))+"%, "+j(100*k(this._g,255))+"%, "+j(100*k(this._b,255))+"%)":"rgba("+j(100*k(this._r,255))+"%, "+j(100*k(this._g,255))+"%, "+j(100*k(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(U[l(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+u(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var a=i(e);n="#"+u(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return i(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(h,arguments)},brighten:function(){return this._applyModification(m,arguments)},darken:function(){return this._applyModification(v,arguments)},desaturate:function(){return this._applyModification(p,arguments)},saturate:function(){return this._applyModification(d,arguments)},greyscale:function(){return this._applyModification(f,arguments)},spin:function(){return this._applyModification(g,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(w,arguments)},complement:function(){return this._applyCombination(b,arguments)},monochromatic:function(){return this._applyCombination(_,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(A,arguments)},tetrad:function(){return this._applyCombination(y,arguments)}},i.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:M(e[r]));e=n}return i(e,t)},i.equals=function(e,t){return!(!e||!t)&&i(e).toRgbString()==i(t).toRgbString()},i.random=function(){return i.fromRatio({r:R(),g:R(),b:R()})},i.mix=function(e,t,n){n=0===n?0:n||50;var r=i(e).toRgb(),a=i(t).toRgb(),o=n/100;return i({r:(a.r-r.r)*o+r.r,g:(a.g-r.g)*o+r.g,b:(a.b-r.b)*o+r.b,a:(a.a-r.a)*o+r.a})},i.readability=function(e,t){var n=i(e),r=i(t);return(a.max(n.getLuminance(),r.getLuminance())+.05)/(a.min(n.getLuminance(),r.getLuminance())+.05)},i.isReadable=function(e,t,n){var r,a,o=i.readability(e,t);switch(a=!1,(r=function(e){var t,n;return"AA"!==(t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==t&&(t="AA"),"small"!==(n=(e.size||"small").toLowerCase())&&"large"!==n&&(n="small"),{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":a=o>=4.5;break;case"AAlarge":a=o>=3;break;case"AAAsmall":a=o>=7}return a},i.mostReadable=function(e,t,n){var r,a,o,s,c=null,l=0;a=(n=n||{}).includeFallbackColors,o=n.level,s=n.size;for(var u=0;u<t.length;u++)(r=i.readability(e,t[u]))>l&&(l=r,c=i(t[u]));return i.isReadable(e,c,{level:o,size:s})||!a?c:(n.includeFallbackColors=!1,i.mostReadable(e,["#fff","#000"],n))};var $=i.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},U=i.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}($),z=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",n="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();void 0!==e&&e.exports?e.exports=i:void 0!==(r=function(){return i}.call(t,n,t,e))&&(e.exports=r)}(Math)},function(e,t,n){var r=n(29);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("0f73e73c",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-editable-input {\n position: relative;\n}\n.vc-input__input {\n padding: 0;\n border: 0;\n outline: none;\n}\n.vc-input__label {\n text-transform: capitalize;\n}\n",""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-editable-input"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.val,expression:"val"}],ref:"input",staticClass:"vc-input__input",attrs:{"aria-labelledby":e.labelId},domProps:{value:e.val},on:{keydown:e.handleKeyDown,input:[function(t){t.target.composing||(e.val=t.target.value)},e.update]}}),e._v(" "),n("span",{staticClass:"vc-input__label",attrs:{for:e.label,id:e.labelId}},[e._v(e._s(e.labelSpanText))]),e._v(" "),n("span",{staticClass:"vc-input__desc"},[e._v(e._s(e.desc))])])};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-compact",attrs:{role:"application","aria-label":"Compact color picker"}},[n("ul",{staticClass:"vc-compact-colors",attrs:{role:"listbox"}},e._l(e.paletteUpperCase(e.palette),(function(t){return n("li",{key:t,staticClass:"vc-compact-color-item",class:{"vc-compact-color-item--white":"#FFFFFF"===t},style:{background:t},attrs:{role:"option","aria-label":"color:"+t,"aria-selected":t===e.pick},on:{click:function(n){e.handlerClick(t)}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t===e.pick,expression:"c === pick"}],staticClass:"vc-compact-dot"})])})))])};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(35),s=!1,c=function(e){s||n(33)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/Grayscale.vue",t.default=l.exports},function(e,t,n){var r=n(34);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("21ddbb74",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-grayscale {\n width: 125px;\n border-radius: 2px;\n box-shadow: 0 2px 15px rgba(0,0,0,.12), 0 2px 10px rgba(0,0,0,.16);\n background-color: #fff;\n}\n.vc-grayscale-colors {\n border-radius: 2px;\n overflow: hidden;\n padding: 0;\n margin: 0;\n}\n.vc-grayscale-color-item {\n list-style: none;\n width: 25px;\n height: 25px;\n float: left;\n position: relative;\n cursor: pointer;\n}\n.vc-grayscale-color-item--white .vc-grayscale-dot {\n background: #000;\n}\n.vc-grayscale-dot {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 6px;\n height: 6px;\n margin: -3px 0 0 -2px;\n border-radius: 50%;\n opacity: 1;\n background: #fff;\n}\n",""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-grayscale",attrs:{role:"application","aria-label":"Grayscale color picker"}},[n("ul",{staticClass:"vc-grayscale-colors",attrs:{role:"listbox"}},e._l(e.paletteUpperCase(e.palette),(function(t){return n("li",{key:t,staticClass:"vc-grayscale-color-item",class:{"vc-grayscale-color-item--white":"#FFFFFF"==t},style:{background:t},attrs:{role:"option","aria-label":"Color:"+t,"aria-selected":t===e.pick},on:{click:function(n){e.handlerClick(t)}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t===e.pick,expression:"c === pick"}],staticClass:"vc-grayscale-dot"})])})))])};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(12),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(39),s=!1,c=function(e){s||n(37)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/Material.vue",t.default=l.exports},function(e,t,n){var r=n(38);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("1ff3af73",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,'\n.vc-material {\n width: 98px;\n height: 98px;\n padding: 16px;\n font-family: "Roboto";\n position: relative;\n border-radius: 2px;\n box-shadow: 0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16);\n background-color: #fff;\n}\n.vc-material .vc-input__input {\n width: 100%;\n margin-top: 12px;\n font-size: 15px;\n color: #333;\n height: 30px;\n}\n.vc-material .vc-input__label {\n position: absolute;\n top: 0;\n left: 0;\n font-size: 11px;\n color: #999;\n text-transform: capitalize;\n}\n.vc-material-hex {\n border-bottom-width: 2px;\n border-bottom-style: solid;\n}\n.vc-material-split {\n display: flex;\n margin-right: -10px;\n padding-top: 11px;\n}\n.vc-material-third {\n flex: 1;\n padding-right: 10px;\n}\n',""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-material",attrs:{role:"application","aria-label":"Material color picker"}},[n("ed-in",{staticClass:"vc-material-hex",style:{borderColor:e.colors.hex},attrs:{label:"hex"},on:{change:e.onChange},model:{value:e.colors.hex,callback:function(t){e.$set(e.colors,"hex",t)},expression:"colors.hex"}}),e._v(" "),n("div",{staticClass:"vc-material-split"},[n("div",{staticClass:"vc-material-third"},[n("ed-in",{attrs:{label:"r"},on:{change:e.onChange},model:{value:e.colors.rgba.r,callback:function(t){e.$set(e.colors.rgba,"r",t)},expression:"colors.rgba.r"}})],1),e._v(" "),n("div",{staticClass:"vc-material-third"},[n("ed-in",{attrs:{label:"g"},on:{change:e.onChange},model:{value:e.colors.rgba.g,callback:function(t){e.$set(e.colors.rgba,"g",t)},expression:"colors.rgba.g"}})],1),e._v(" "),n("div",{staticClass:"vc-material-third"},[n("ed-in",{attrs:{label:"b"},on:{change:e.onChange},model:{value:e.colors.rgba.b,callback:function(t){e.$set(e.colors.rgba,"b",t)},expression:"colors.rgba.b"}})],1)])],1)};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(13),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(46),s=!1,c=function(e){s||n(41)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/Slider.vue",t.default=l.exports},function(e,t,n){var r=n(42);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("7982aa43",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-slider {\n position: relative;\n width: 410px;\n}\n.vc-slider-hue-warp {\n height: 12px;\n position: relative;\n}\n.vc-slider-hue-warp .vc-hue-picker {\n width: 14px;\n height: 14px;\n border-radius: 6px;\n transform: translate(-7px, -2px);\n background-color: rgb(248, 248, 248);\n box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);\n}\n.vc-slider-swatches {\n display: flex;\n margin-top: 20px;\n}\n.vc-slider-swatch {\n margin-right: 1px;\n flex: 1;\n width: 20%;\n}\n.vc-slider-swatch:first-child {\n margin-right: 1px;\n}\n.vc-slider-swatch:first-child .vc-slider-swatch-picker {\n border-radius: 2px 0px 0px 2px;\n}\n.vc-slider-swatch:last-child {\n margin-right: 0;\n}\n.vc-slider-swatch:last-child .vc-slider-swatch-picker {\n border-radius: 0px 2px 2px 0px;\n}\n.vc-slider-swatch-picker {\n cursor: pointer;\n height: 12px;\n}\n.vc-slider-swatch:nth-child(n) .vc-slider-swatch-picker.vc-slider-swatch-picker--active {\n transform: scaleY(1.8);\n border-radius: 3.6px/2px;\n}\n.vc-slider-swatch-picker--white {\n box-shadow: inset 0 0 0 1px #ddd;\n}\n.vc-slider-swatch-picker--active.vc-slider-swatch-picker--white {\n box-shadow: inset 0 0 0 0.6px #ddd;\n}\n",""])},function(e,t,n){var r=n(44);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("7c5f1a1c",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-hue {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n border-radius: 2px;\n}\n.vc-hue--horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n}\n.vc-hue--vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n}\n.vc-hue-container {\n cursor: pointer;\n margin: 0 2px;\n position: relative;\n height: 100%;\n}\n.vc-hue-pointer {\n z-index: 2;\n position: absolute;\n}\n.vc-hue-picker {\n cursor: pointer;\n margin-top: 1px;\n width: 4px;\n border-radius: 1px;\n height: 8px;\n box-shadow: 0 0 2px rgba(0, 0, 0, .6);\n background: #fff;\n transform: translateX(-2px) ;\n}\n",""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["vc-hue",e.directionClass]},[n("div",{ref:"container",staticClass:"vc-hue-container",attrs:{role:"slider","aria-valuenow":e.colors.hsl.h,"aria-valuemin":"0","aria-valuemax":"360"},on:{mousedown:e.handleMouseDown,touchmove:e.handleChange,touchstart:e.handleChange}},[n("div",{staticClass:"vc-hue-pointer",style:{top:e.pointerTop,left:e.pointerLeft},attrs:{role:"presentation"}},[n("div",{staticClass:"vc-hue-picker"})])])])};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-slider",attrs:{role:"application","aria-label":"Slider color picker"}},[n("div",{staticClass:"vc-slider-hue-warp"},[n("hue",{on:{change:e.hueChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1),e._v(" "),n("div",{staticClass:"vc-slider-swatches",attrs:{role:"group"}},e._l(e.swatches,(function(t,r){return n("div",{key:r,staticClass:"vc-slider-swatch",attrs:{"data-index":r,"aria-label":"color:"+e.colors.hex,role:"button"},on:{click:function(n){e.handleSwClick(r,t)}}},[n("div",{staticClass:"vc-slider-swatch-picker",class:{"vc-slider-swatch-picker--active":t==e.activeOffset,"vc-slider-swatch-picker--white":"1"===t},style:{background:"hsl("+e.colors.hsl.h+", 50%, "+100*t+"%)"}})])})))])};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(15),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(51),s=!1,c=function(e){s||n(48)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/Swatches.vue",t.default=l.exports},function(e,t,n){var r=n(49);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("10f839a2",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-swatches {\n width: 320px;\n height: 240px;\n overflow-y: scroll;\n background-color: #fff;\n box-shadow: 0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16);\n}\n.vc-swatches-box {\n padding: 16px 0 6px 16px;\n overflow: hidden;\n}\n.vc-swatches-color-group {\n padding-bottom: 10px;\n width: 40px;\n float: left;\n margin-right: 10px;\n}\n.vc-swatches-color-it {\n box-sizing: border-box;\n width: 40px;\n height: 24px;\n cursor: pointer;\n background: #880e4f;\n margin-bottom: 1px;\n overflow: hidden;\n -ms-border-radius: 2px 2px 0 0;\n -moz-border-radius: 2px 2px 0 0;\n -o-border-radius: 2px 2px 0 0;\n -webkit-border-radius: 2px 2px 0 0;\n border-radius: 2px 2px 0 0;\n}\n.vc-swatches-color--white {\n border: 1px solid #DDD;\n}\n.vc-swatches-pick {\n fill: rgb(255, 255, 255);\n margin-left: 8px;\n display: block;\n}\n.vc-swatches-color--white .vc-swatches-pick {\n fill: rgb(51, 51, 51);\n}\n",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"red",(function(){return r})),n.d(t,"pink",(function(){return a})),n.d(t,"purple",(function(){return i})),n.d(t,"deepPurple",(function(){return o})),n.d(t,"indigo",(function(){return s})),n.d(t,"blue",(function(){return c})),n.d(t,"lightBlue",(function(){return l})),n.d(t,"cyan",(function(){return u})),n.d(t,"teal",(function(){return p})),n.d(t,"green",(function(){return d})),n.d(t,"lightGreen",(function(){return f})),n.d(t,"lime",(function(){return h})),n.d(t,"yellow",(function(){return m})),n.d(t,"amber",(function(){return v})),n.d(t,"orange",(function(){return g})),n.d(t,"deepOrange",(function(){return b})),n.d(t,"brown",(function(){return A})),n.d(t,"grey",(function(){return y})),n.d(t,"blueGrey",(function(){return x})),n.d(t,"darkText",(function(){return w})),n.d(t,"lightText",(function(){return _})),n.d(t,"darkIcons",(function(){return C})),n.d(t,"lightIcons",(function(){return k})),n.d(t,"white",(function(){return T})),n.d(t,"black",(function(){return E}));var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},a={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},i={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},o={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},s={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},c={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},l={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},u={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},p={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},d={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},f={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},h={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},m={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},v={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},g={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},b={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},A={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},y={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},x={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},w={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},_={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},C={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},k={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},T="#ffffff",E="#000000";t.default={red:r,pink:a,purple:i,deepPurple:o,indigo:s,blue:c,lightBlue:l,cyan:u,teal:p,green:d,lightGreen:f,lime:h,yellow:m,amber:v,orange:g,deepOrange:b,brown:A,grey:y,blueGrey:x,darkText:w,lightText:_,darkIcons:C,lightIcons:k,white:T,black:E}},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-swatches",attrs:{role:"application","aria-label":"Swatches color picker","data-pick":e.pick}},[n("div",{staticClass:"vc-swatches-box",attrs:{role:"listbox"}},e._l(e.palette,(function(t,r){return n("div",{key:r,staticClass:"vc-swatches-color-group"},e._l(t,(function(t){return n("div",{key:t,class:["vc-swatches-color-it",{"vc-swatches-color--white":"#FFFFFF"===t}],style:{background:t},attrs:{role:"option","aria-label":"Color:"+t,"aria-selected":e.equal(t),"data-color":t},on:{click:function(n){e.handlerClick(t)}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.equal(t),expression:"equal(c)"}],staticClass:"vc-swatches-pick"},[n("svg",{staticStyle:{width:"24px",height:"24px"},attrs:{viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}})])])])})))})))])};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(16),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(66),s=!1,c=function(e){s||n(53)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/Photoshop.vue",t.default=l.exports},function(e,t,n){var r=n(54);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("080365d4",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,'\n.vc-photoshop {\n background: #DCDCDC;\n border-radius: 4px;\n box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15);\n box-sizing: initial;\n width: 513px;\n font-family: Roboto;\n}\n.vc-photoshop__disable-fields {\n width: 390px;\n}\n.vc-ps-head {\n background-image: linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%);\n border-bottom: 1px solid #B1B1B1;\n box-shadow: inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02);\n height: 23px;\n line-height: 24px;\n border-radius: 4px 4px 0 0;\n font-size: 13px;\n color: #4D4D4D;\n text-align: center;\n}\n.vc-ps-body {\n padding: 15px;\n display: flex;\n}\n.vc-ps-saturation-wrap {\n width: 256px;\n height: 256px;\n position: relative;\n border: 2px solid #B3B3B3;\n border-bottom: 2px solid #F0F0F0;\n overflow: hidden;\n}\n.vc-ps-saturation-wrap .vc-saturation-circle {\n width: 12px;\n height: 12px;\n}\n.vc-ps-hue-wrap {\n position: relative;\n height: 256px;\n width: 19px;\n margin-left: 10px;\n border: 2px solid #B3B3B3;\n border-bottom: 2px solid #F0F0F0;\n}\n.vc-ps-hue-pointer {\n position: relative;\n}\n.vc-ps-hue-pointer--left,\n.vc-ps-hue-pointer--right {\n position: absolute;\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 5px 0 5px 8px;\n border-color: transparent transparent transparent #555;\n}\n.vc-ps-hue-pointer--left:after,\n.vc-ps-hue-pointer--right:after {\n content: "";\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 4px 0 4px 6px;\n border-color: transparent transparent transparent #fff;\n position: absolute;\n top: 1px;\n left: 1px;\n transform: translate(-8px, -5px);\n}\n.vc-ps-hue-pointer--left {\n transform: translate(-13px, -4px);\n}\n.vc-ps-hue-pointer--right {\n transform: translate(20px, -4px) rotate(180deg);\n}\n.vc-ps-controls {\n width: 180px;\n margin-left: 10px;\n display: flex;\n}\n.vc-ps-controls__disable-fields {\n width: auto;\n}\n.vc-ps-actions {\n margin-left: 20px;\n flex: 1;\n}\n.vc-ps-ac-btn {\n cursor: pointer;\n background-image: linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%);\n border: 1px solid #878787;\n border-radius: 2px;\n height: 20px;\n box-shadow: 0 1px 0 0 #EAEAEA;\n font-size: 14px;\n color: #000;\n line-height: 20px;\n text-align: center;\n margin-bottom: 10px;\n}\n.vc-ps-previews {\n width: 60px;\n}\n.vc-ps-previews__swatches {\n border: 1px solid #B3B3B3;\n border-bottom: 1px solid #F0F0F0;\n margin-bottom: 2px;\n margin-top: 1px;\n}\n.vc-ps-previews__pr-color {\n height: 34px;\n box-shadow: inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000;\n}\n.vc-ps-previews__label {\n font-size: 14px;\n color: #000;\n text-align: center;\n}\n.vc-ps-fields {\n padding-top: 5px;\n padding-bottom: 9px;\n width: 80px;\n position: relative;\n}\n.vc-ps-fields .vc-input__input {\n margin-left: 40%;\n width: 40%;\n height: 18px;\n border: 1px solid #888888;\n box-shadow: inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC;\n margin-bottom: 5px;\n font-size: 13px;\n padding-left: 3px;\n margin-right: 10px;\n}\n.vc-ps-fields .vc-input__label, .vc-ps-fields .vc-input__desc {\n top: 0;\n text-transform: uppercase;\n font-size: 13px;\n height: 18px;\n line-height: 22px;\n position: absolute;\n}\n.vc-ps-fields .vc-input__label {\n left: 0;\n width: 34px;\n}\n.vc-ps-fields .vc-input__desc {\n right: 0;\n width: 0;\n}\n.vc-ps-fields__divider {\n height: 5px;\n}\n.vc-ps-fields__hex .vc-input__input {\n margin-left: 20%;\n width: 80%;\n height: 18px;\n border: 1px solid #888888;\n box-shadow: inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC;\n margin-bottom: 6px;\n font-size: 13px;\n padding-left: 3px;\n}\n.vc-ps-fields__hex .vc-input__label {\n position: absolute;\n top: 0;\n left: 0;\n width: 14px;\n text-transform: uppercase;\n font-size: 13px;\n height: 18px;\n line-height: 22px;\n}\n',""])},function(e,t,n){var r=n(56);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("b5380e52",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-saturation,\n.vc-saturation--white,\n.vc-saturation--black {\n cursor: pointer;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.vc-saturation--white {\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n}\n.vc-saturation--black {\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n}\n.vc-saturation-pointer {\n cursor: pointer;\n position: absolute;\n}\n.vc-saturation-circle {\n cursor: head;\n width: 4px;\n height: 4px;\n box-shadow: 0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3), 0 0 1px 2px rgba(0,0,0,.4);\n border-radius: 50%;\n transform: translate(-2px, -2px);\n}\n",""])},function(e,t){e.exports=function(e,t,n){return t<n?e<t?t:e>n?n:e:e<n?n:e>t?t:e}},function(e,n){function r(e,t,n){function r(t){var n=d,r=f;return d=f=void 0,x=t,m=e.apply(r,n)}function s(e){return x=e,v=setTimeout(l,t),w?r(e):m}function c(e){var n=e-g;return void 0===g||n>=t||n<0||_&&e-x>=h}function l(){var e=y();if(c(e))return u(e);v=setTimeout(l,function(e){var n=t-(e-g);return _?A(n,h-(e-x)):n}(e))}function u(e){return v=void 0,C&&d?r(e):(d=f=void 0,m)}function p(){var e=y(),n=c(e);if(d=arguments,f=this,g=e,n){if(void 0===v)return s(g);if(_)return v=setTimeout(l,t),r(g)}return void 0===v&&(v=setTimeout(l,t)),m}var d,f,h,m,v,g,x=0,w=!1,_=!1,C=!0;if("function"!=typeof e)throw new TypeError(o);return t=i(t)||0,a(n)&&(w=!!n.leading,h=(_="maxWait"in n)?b(i(n.maxWait)||0,t):h,C="trailing"in n?!!n.trailing:C),p.cancel=function(){void 0!==v&&clearTimeout(v),x=0,d=g=f=v=void 0},p.flush=function(){return void 0===v?m:u(y())},p}function a(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function i(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&g.call(e)==c}(e))return s;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(l,"");var n=p.test(e);return n||d.test(e)?f(e.slice(2),n?2:8):u.test(e)?s:+e}var o="Expected a function",s=NaN,c="[object Symbol]",l=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,d=/^0o[0-7]+$/i,f=parseInt,h="object"==typeof t&&t&&t.Object===Object&&t,m="object"==typeof self&&self&&self.Object===Object&&self,v=h||m||Function("return this")(),g=Object.prototype.toString,b=Math.max,A=Math.min,y=function(){return v.Date.now()};e.exports=function(e,t,n){var i=!0,s=!0;if("function"!=typeof e)throw new TypeError(o);return a(n)&&(i="leading"in n?!!n.leading:i,s="trailing"in n?!!n.trailing:s),r(e,t,{leading:i,maxWait:t,trailing:s})}},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"container",staticClass:"vc-saturation",style:{background:e.bgColor},on:{mousedown:e.handleMouseDown,touchmove:e.handleChange,touchstart:e.handleChange}},[n("div",{staticClass:"vc-saturation--white"}),e._v(" "),n("div",{staticClass:"vc-saturation--black"}),e._v(" "),n("div",{staticClass:"vc-saturation-pointer",style:{top:e.pointerTop,left:e.pointerLeft}},[n("div",{staticClass:"vc-saturation-circle"})])])};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){var r=n(61);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("4dc1b086",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-alpha {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n}\n.vc-alpha-checkboard-wrap {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n overflow: hidden;\n}\n.vc-alpha-gradient {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n}\n.vc-alpha-container {\n cursor: pointer;\n position: relative;\n z-index: 2;\n height: 100%;\n margin: 0 3px;\n}\n.vc-alpha-pointer {\n z-index: 2;\n position: absolute;\n}\n.vc-alpha-picker {\n cursor: pointer;\n width: 4px;\n border-radius: 1px;\n height: 8px;\n box-shadow: 0 0 2px rgba(0, 0, 0, .6);\n background: #fff;\n margin-top: 1px;\n transform: translateX(-2px);\n}\n",""])},function(e,t,n){var r=n(63);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("7e15c05b",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-checkerboard {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n background-size: contain;\n}\n",""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"vc-checkerboard",style:e.bgStyle})};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-alpha"},[n("div",{staticClass:"vc-alpha-checkboard-wrap"},[n("checkboard")],1),e._v(" "),n("div",{staticClass:"vc-alpha-gradient",style:{background:e.gradientColor}}),e._v(" "),n("div",{ref:"container",staticClass:"vc-alpha-container",on:{mousedown:e.handleMouseDown,touchmove:e.handleChange,touchstart:e.handleChange}},[n("div",{staticClass:"vc-alpha-pointer",style:{left:100*e.colors.a+"%"}},[n("div",{staticClass:"vc-alpha-picker"})])])])};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["vc-photoshop",e.disableFields?"vc-photoshop__disable-fields":""],attrs:{role:"application","aria-label":"PhotoShop color picker"}},[n("div",{staticClass:"vc-ps-head",attrs:{role:"heading"}},[e._v(e._s(e.head))]),e._v(" "),n("div",{staticClass:"vc-ps-body"},[n("div",{staticClass:"vc-ps-saturation-wrap"},[n("saturation",{on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1),e._v(" "),n("div",{staticClass:"vc-ps-hue-wrap"},[n("hue",{attrs:{direction:"vertical"},on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}},[n("div",{staticClass:"vc-ps-hue-pointer"},[n("i",{staticClass:"vc-ps-hue-pointer--left"}),n("i",{staticClass:"vc-ps-hue-pointer--right"})])])],1),e._v(" "),n("div",{class:["vc-ps-controls",e.disableFields?"vc-ps-controls__disable-fields":""]},[n("div",{staticClass:"vc-ps-previews"},[n("div",{staticClass:"vc-ps-previews__label"},[e._v(e._s(e.newLabel))]),e._v(" "),n("div",{staticClass:"vc-ps-previews__swatches"},[n("div",{staticClass:"vc-ps-previews__pr-color",style:{background:e.colors.hex},attrs:{"aria-label":"New color is "+e.colors.hex}}),e._v(" "),n("div",{staticClass:"vc-ps-previews__pr-color",style:{background:e.currentColor},attrs:{"aria-label":"Current color is "+e.currentColor},on:{click:e.clickCurrentColor}})]),e._v(" "),n("div",{staticClass:"vc-ps-previews__label"},[e._v(e._s(e.currentLabel))])]),e._v(" "),e.disableFields?e._e():n("div",{staticClass:"vc-ps-actions"},[n("div",{staticClass:"vc-ps-ac-btn",attrs:{role:"button","aria-label":e.acceptLabel},on:{click:e.handleAccept}},[e._v(e._s(e.acceptLabel))]),e._v(" "),n("div",{staticClass:"vc-ps-ac-btn",attrs:{role:"button","aria-label":e.cancelLabel},on:{click:e.handleCancel}},[e._v(e._s(e.cancelLabel))]),e._v(" "),n("div",{staticClass:"vc-ps-fields"},[n("ed-in",{attrs:{label:"h",desc:"°",value:e.hsv.h},on:{change:e.inputChange}}),e._v(" "),n("ed-in",{attrs:{label:"s",desc:"%",value:e.hsv.s,max:100},on:{change:e.inputChange}}),e._v(" "),n("ed-in",{attrs:{label:"v",desc:"%",value:e.hsv.v,max:100},on:{change:e.inputChange}}),e._v(" "),n("div",{staticClass:"vc-ps-fields__divider"}),e._v(" "),n("ed-in",{attrs:{label:"r",value:e.colors.rgba.r},on:{change:e.inputChange}}),e._v(" "),n("ed-in",{attrs:{label:"g",value:e.colors.rgba.g},on:{change:e.inputChange}}),e._v(" "),n("ed-in",{attrs:{label:"b",value:e.colors.rgba.b},on:{change:e.inputChange}}),e._v(" "),n("div",{staticClass:"vc-ps-fields__divider"}),e._v(" "),n("ed-in",{staticClass:"vc-ps-fields__hex",attrs:{label:"#",value:e.hex},on:{change:e.inputChange}})],1),e._v(" "),e.hasResetButton?n("div",{staticClass:"vc-ps-ac-btn",attrs:{"aria-label":"reset"},on:{click:e.handleReset}},[e._v(e._s(e.resetLabel))]):e._e()])])])])};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(70),s=!1,c=function(e){s||n(68)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/Sketch.vue",t.default=l.exports},function(e,t,n){var r=n(69);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("612c6604",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-sketch {\n position: relative;\n width: 200px;\n padding: 10px 10px 0;\n box-sizing: initial;\n background: #fff;\n border-radius: 4px;\n box-shadow: 0 0 0 1px rgba(0, 0, 0, .15), 0 8px 16px rgba(0, 0, 0, .15);\n}\n.vc-sketch-saturation-wrap {\n width: 100%;\n padding-bottom: 75%;\n position: relative;\n overflow: hidden;\n}\n.vc-sketch-controls {\n display: flex;\n}\n.vc-sketch-sliders {\n padding: 4px 0;\n flex: 1;\n}\n.vc-sketch-sliders .vc-hue,\n.vc-sketch-sliders .vc-alpha-gradient {\n border-radius: 2px;\n}\n.vc-sketch-hue-wrap {\n position: relative;\n height: 10px;\n}\n.vc-sketch-alpha-wrap {\n position: relative;\n height: 10px;\n margin-top: 4px;\n overflow: hidden;\n}\n.vc-sketch-color-wrap {\n width: 24px;\n height: 24px;\n position: relative;\n margin-top: 4px;\n margin-left: 4px;\n border-radius: 3px;\n}\n.vc-sketch-active-color {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n border-radius: 2px;\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), inset 0 0 4px rgba(0, 0, 0, .25);\n z-index: 2;\n}\n.vc-sketch-color-wrap .vc-checkerboard {\n background-size: auto;\n}\n.vc-sketch-field {\n display: flex;\n padding-top: 4px;\n}\n.vc-sketch-field .vc-input__input {\n width: 90%;\n padding: 4px 0 3px 10%;\n border: none;\n box-shadow: inset 0 0 0 1px #ccc;\n font-size: 10px;\n}\n.vc-sketch-field .vc-input__label {\n display: block;\n text-align: center;\n font-size: 11px;\n color: #222;\n padding-top: 3px;\n padding-bottom: 4px;\n text-transform: capitalize;\n}\n.vc-sketch-field--single {\n flex: 1;\n padding-left: 6px;\n}\n.vc-sketch-field--double {\n flex: 2;\n}\n.vc-sketch-presets {\n margin-right: -10px;\n margin-left: -10px;\n padding-left: 10px;\n padding-top: 10px;\n border-top: 1px solid #eee;\n}\n.vc-sketch-presets-color {\n border-radius: 3px;\n overflow: hidden;\n position: relative;\n display: inline-block;\n margin: 0 10px 10px 0;\n vertical-align: top;\n cursor: pointer;\n width: 16px;\n height: 16px;\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);\n}\n.vc-sketch-presets-color .vc-checkerboard {\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);\n border-radius: 3px;\n}\n.vc-sketch__disable-alpha .vc-sketch-color-wrap {\n height: 10px;\n}\n",""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["vc-sketch",e.disableAlpha?"vc-sketch__disable-alpha":""],attrs:{role:"application","aria-label":"Sketch color picker"}},[n("div",{staticClass:"vc-sketch-saturation-wrap"},[n("saturation",{on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1),e._v(" "),n("div",{staticClass:"vc-sketch-controls"},[n("div",{staticClass:"vc-sketch-sliders"},[n("div",{staticClass:"vc-sketch-hue-wrap"},[n("hue",{on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1),e._v(" "),e.disableAlpha?e._e():n("div",{staticClass:"vc-sketch-alpha-wrap"},[n("alpha",{on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1)]),e._v(" "),n("div",{staticClass:"vc-sketch-color-wrap"},[n("div",{staticClass:"vc-sketch-active-color",style:{background:e.activeColor},attrs:{"aria-label":"Current color is "+e.activeColor}}),e._v(" "),n("checkboard")],1)]),e._v(" "),e.disableFields?e._e():n("div",{staticClass:"vc-sketch-field"},[n("div",{staticClass:"vc-sketch-field--double"},[n("ed-in",{attrs:{label:"hex",value:e.hex},on:{change:e.inputChange}})],1),e._v(" "),n("div",{staticClass:"vc-sketch-field--single"},[n("ed-in",{attrs:{label:"r",value:e.colors.rgba.r},on:{change:e.inputChange}})],1),e._v(" "),n("div",{staticClass:"vc-sketch-field--single"},[n("ed-in",{attrs:{label:"g",value:e.colors.rgba.g},on:{change:e.inputChange}})],1),e._v(" "),n("div",{staticClass:"vc-sketch-field--single"},[n("ed-in",{attrs:{label:"b",value:e.colors.rgba.b},on:{change:e.inputChange}})],1),e._v(" "),e.disableAlpha?e._e():n("div",{staticClass:"vc-sketch-field--single"},[n("ed-in",{attrs:{label:"a",value:e.colors.a,"arrow-offset":.01,max:1},on:{change:e.inputChange}})],1)]),e._v(" "),n("div",{staticClass:"vc-sketch-presets",attrs:{role:"group","aria-label":"A color preset, pick one to set as current color"}},[e._l(e.presetColors,(function(t){return[e.isTransparent(t)?n("div",{key:t,staticClass:"vc-sketch-presets-color",attrs:{"aria-label":"Color:"+t},on:{click:function(n){e.handlePreset(t)}}},[n("checkboard")],1):n("div",{key:t,staticClass:"vc-sketch-presets-color",style:{background:t},attrs:{"aria-label":"Color:"+t},on:{click:function(n){e.handlePreset(t)}}})]}))],2)])};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(21),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(74),s=!1,c=function(e){s||n(72)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/Chrome.vue",t.default=l.exports},function(e,t,n){var r=n(73);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("1cd16048",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-chrome {\n background: #fff;\n border-radius: 2px;\n box-shadow: 0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3);\n box-sizing: initial;\n width: 225px;\n font-family: Menlo;\n background-color: #fff;\n}\n.vc-chrome-controls {\n display: flex;\n}\n.vc-chrome-color-wrap {\n position: relative;\n width: 36px;\n}\n.vc-chrome-active-color {\n position: relative;\n width: 30px;\n height: 30px;\n border-radius: 15px;\n overflow: hidden;\n z-index: 1;\n}\n.vc-chrome-color-wrap .vc-checkerboard {\n width: 30px;\n height: 30px;\n border-radius: 15px;\n background-size: auto;\n}\n.vc-chrome-sliders {\n flex: 1;\n}\n.vc-chrome-fields-wrap {\n display: flex;\n padding-top: 16px;\n}\n.vc-chrome-fields {\n display: flex;\n margin-left: -6px;\n flex: 1;\n}\n.vc-chrome-field {\n padding-left: 6px;\n width: 100%;\n}\n.vc-chrome-toggle-btn {\n width: 32px;\n text-align: right;\n position: relative;\n}\n.vc-chrome-toggle-icon {\n margin-right: -4px;\n margin-top: 12px;\n cursor: pointer;\n position: relative;\n z-index: 2;\n}\n.vc-chrome-toggle-icon-highlight {\n position: absolute;\n width: 24px;\n height: 28px;\n background: #eee;\n border-radius: 4px;\n top: 10px;\n left: 12px;\n}\n.vc-chrome-hue-wrap {\n position: relative;\n height: 10px;\n margin-bottom: 8px;\n}\n.vc-chrome-alpha-wrap {\n position: relative;\n height: 10px;\n}\n.vc-chrome-hue-wrap .vc-hue {\n border-radius: 2px;\n}\n.vc-chrome-alpha-wrap .vc-alpha-gradient {\n border-radius: 2px;\n}\n.vc-chrome-hue-wrap .vc-hue-picker, .vc-chrome-alpha-wrap .vc-alpha-picker {\n width: 12px;\n height: 12px;\n border-radius: 6px;\n transform: translate(-6px, -2px);\n background-color: rgb(248, 248, 248);\n box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);\n}\n.vc-chrome-body {\n padding: 16px 16px 12px;\n background-color: #fff;\n}\n.vc-chrome-saturation-wrap {\n width: 100%;\n padding-bottom: 55%;\n position: relative;\n border-radius: 2px 2px 0 0;\n overflow: hidden;\n}\n.vc-chrome-saturation-wrap .vc-saturation-circle {\n width: 12px;\n height: 12px;\n}\n.vc-chrome-fields .vc-input__input {\n font-size: 11px;\n color: #333;\n width: 100%;\n border-radius: 2px;\n border: none;\n box-shadow: inset 0 0 0 1px #dadada;\n height: 21px;\n text-align: center;\n}\n.vc-chrome-fields .vc-input__label {\n text-transform: uppercase;\n font-size: 11px;\n line-height: 11px;\n color: #969696;\n text-align: center;\n display: block;\n margin-top: 12px;\n}\n.vc-chrome__disable-alpha .vc-chrome-active-color {\n width: 18px;\n height: 18px;\n}\n.vc-chrome__disable-alpha .vc-chrome-color-wrap {\n width: 30px;\n}\n.vc-chrome__disable-alpha .vc-chrome-hue-wrap {\n margin-top: 4px;\n margin-bottom: 4px;\n}\n",""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["vc-chrome",e.disableAlpha?"vc-chrome__disable-alpha":""],attrs:{role:"application","aria-label":"Chrome color picker"}},[n("div",{staticClass:"vc-chrome-saturation-wrap"},[n("saturation",{on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1),e._v(" "),n("div",{staticClass:"vc-chrome-body"},[n("div",{staticClass:"vc-chrome-controls"},[n("div",{staticClass:"vc-chrome-color-wrap"},[n("div",{staticClass:"vc-chrome-active-color",style:{background:e.activeColor},attrs:{"aria-label":"current color is "+e.colors.hex}}),e._v(" "),e.disableAlpha?e._e():n("checkboard")],1),e._v(" "),n("div",{staticClass:"vc-chrome-sliders"},[n("div",{staticClass:"vc-chrome-hue-wrap"},[n("hue",{on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1),e._v(" "),e.disableAlpha?e._e():n("div",{staticClass:"vc-chrome-alpha-wrap"},[n("alpha",{on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1)])]),e._v(" "),e.disableFields?e._e():n("div",{staticClass:"vc-chrome-fields-wrap"},[n("div",{directives:[{name:"show",rawName:"v-show",value:0===e.fieldsIndex,expression:"fieldsIndex === 0"}],staticClass:"vc-chrome-fields"},[n("div",{staticClass:"vc-chrome-field"},[e.hasAlpha?e._e():n("ed-in",{attrs:{label:"hex",value:e.colors.hex},on:{change:e.inputChange}}),e._v(" "),e.hasAlpha?n("ed-in",{attrs:{label:"hex",value:e.colors.hex8},on:{change:e.inputChange}}):e._e()],1)]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:1===e.fieldsIndex,expression:"fieldsIndex === 1"}],staticClass:"vc-chrome-fields"},[n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"r",value:e.colors.rgba.r},on:{change:e.inputChange}})],1),e._v(" "),n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"g",value:e.colors.rgba.g},on:{change:e.inputChange}})],1),e._v(" "),n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"b",value:e.colors.rgba.b},on:{change:e.inputChange}})],1),e._v(" "),e.disableAlpha?e._e():n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"a",value:e.colors.a,"arrow-offset":.01,max:1},on:{change:e.inputChange}})],1)]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:2===e.fieldsIndex,expression:"fieldsIndex === 2"}],staticClass:"vc-chrome-fields"},[n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"h",value:e.hsl.h},on:{change:e.inputChange}})],1),e._v(" "),n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"s",value:e.hsl.s},on:{change:e.inputChange}})],1),e._v(" "),n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"l",value:e.hsl.l},on:{change:e.inputChange}})],1),e._v(" "),e.disableAlpha?e._e():n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"a",value:e.colors.a,"arrow-offset":.01,max:1},on:{change:e.inputChange}})],1)]),e._v(" "),n("div",{staticClass:"vc-chrome-toggle-btn",attrs:{role:"button","aria-label":"Change another color definition"},on:{click:e.toggleViews}},[n("div",{staticClass:"vc-chrome-toggle-icon"},[n("svg",{staticStyle:{width:"24px",height:"24px"},attrs:{viewBox:"0 0 24 24"},on:{mouseover:e.showHighlight,mouseenter:e.showHighlight,mouseout:e.hideHighlight}},[n("path",{attrs:{fill:"#333",d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}})])]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.highlight,expression:"highlight"}],staticClass:"vc-chrome-toggle-icon-highlight"})])])])])};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a}])}).call(this,n(11))},function(e,t,n){"use strict";var r=n(0),a=n(32).findIndex,i=n(60),o=n(17),s=!0,c=o("findIndex");"findIndex"in[]&&Array(1).findIndex((function(){s=!1})),r({target:"Array",proto:!0,forced:s||!c},{findIndex:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},function(e,t,n){"use strict";var r=n(0),a=n(85).includes,i=n(60);r({target:"Array",proto:!0,forced:!n(17)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(e,t,n){"use strict";var r=n(0),a=n(334).left,i=n(58),o=n(17),s=i("reduce"),c=o("reduce",{1:0});r({target:"Array",proto:!0,forced:!s||!c},{reduce:function(e){return a(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(44),a=n(18),i=n(38),o=n(14),s=function(e){return function(t,n,s,c){r(n);var l=a(t),u=i(l),p=o(l.length),d=e?p-1:0,f=e?-1:1;if(s<2)for(;;){if(d in u){c=u[d],d+=f;break}if(d+=f,e?d<0:p<=d)throw TypeError("Reduce of empty array with no initial value")}for(;e?d>=0:p>d;d+=f)d in u&&(c=n(c,u[d],d,l));return c}};e.exports={left:s(!1),right:s(!0)}},function(e,t,n){"use strict";var r=n(0),a=n(191),i=n(21);r({target:"String",proto:!0,forced:!n(193)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(a(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(0),a=n(32).find,i=n(60),o=n(17),s=!0,c=o("find");"find"in[]&&Array(1).find((function(){s=!1})),r({target:"Array",proto:!0,forced:s||!c},{find:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(e,t,n){var r=n(0),a=n(3),i=n(13),o=n(23).f,s=n(4),c=a((function(){o(1)}));r({target:"Object",stat:!0,forced:!s||c,sham:!s},{getOwnPropertyDescriptor:function(e,t){return o(i(e),t)}})},function(e,t,n){var r=n(0),a=n(4),i=n(133),o=n(13),s=n(23),c=n(47);r({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(e){for(var t,n,r=o(e),a=s.f,l=i(r),u={},p=0;l.length>p;)void 0!==(n=a(r,t=l[p++]))&&c(u,t,n);return u}})},function(e,t,n){var r=n(0),a=n(18),i=n(42);r({target:"Object",stat:!0,forced:n(3)((function(){i(1)}))},{keys:function(e){return i(a(e))}})},function(e,t,n){var r=n(0),a=n(341).values;r({target:"Object",stat:!0},{values:function(e){return a(e)}})},function(e,t,n){var r=n(4),a=n(42),i=n(13),o=n(57).f,s=function(e){return function(t){for(var n,s=i(t),c=a(s),l=c.length,u=0,p=[];l>u;)n=c[u++],r&&!o.call(s,n)||p.push(e?[n,s[n]]:s[n]);return p}};e.exports={entries:s(!0),values:s(!1)}},function(e,t,n){"use strict";var r=n(65);n.n(r).a},function(e,t,n){(t=n(194)(!1)).push([e.i,"#updatenotification[data-v-d4a3f15a]{margin-top:-25px;margin-bottom:200px}#updatenotification div.update[data-v-d4a3f15a],#updatenotification p[data-v-d4a3f15a]:not(.inlineblock){margin-bottom:25px}#updatenotification h2.inlineblock[data-v-d4a3f15a]{margin-top:25px}#updatenotification h3[data-v-d4a3f15a]{cursor:pointer}#updatenotification h3 .icon[data-v-d4a3f15a]{cursor:pointer}#updatenotification h3[data-v-d4a3f15a]:first-of-type{margin-top:0}#updatenotification h3.update-channel-selector[data-v-d4a3f15a]{display:inline-block;cursor:inherit}#updatenotification .icon[data-v-d4a3f15a]{display:inline-block;margin-bottom:-3px}#updatenotification .icon-triangle-s[data-v-d4a3f15a],#updatenotification .icon-triangle-n[data-v-d4a3f15a]{opacity:0.5}#updatenotification .whatsNew[data-v-d4a3f15a]{display:inline-block}#updatenotification .toggleWhatsNew[data-v-d4a3f15a]{position:relative}#updatenotification .popovermenu[data-v-d4a3f15a]{margin-top:5px;width:300px}#updatenotification .popovermenu p[data-v-d4a3f15a]{margin-bottom:0;width:100%}#updatenotification .applist[data-v-d4a3f15a]{margin-bottom:25px}#updatenotification .update-menu[data-v-d4a3f15a]{position:relative;cursor:pointer;margin-left:3px;display:inline-block}#updatenotification .update-menu .icon-update-menu[data-v-d4a3f15a]{cursor:inherit}#updatenotification .update-menu .icon-update-menu .icon-triangle-s[data-v-d4a3f15a]{display:inline-block;vertical-align:middle;cursor:inherit;opacity:1}#updatenotification .update-menu .popovermenu[data-v-d4a3f15a]{display:none;top:28px}#updatenotification .update-menu .popovermenu.show-menu[data-v-d4a3f15a]{display:block}\n",""]),e.exports=t},function(e,t,n){"use strict";var r=n(66);n.n(r).a},function(e,t,n){(t=n(194)(!1)).push([e.i,"#updatenotification .popovermenu{margin-top:5px;width:300px}#updatenotification .popovermenu p{margin-top:5px;width:100%}#updatenotification .update-menu .icon-star:hover,#updatenotification .update-menu .icon-star:focus{background-image:var(--icon-star-000)}#updatenotification .topMargin{margin-top:15px}\n",""]),e.exports=t},function(e,t,n){"use strict";function r(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function a(e){r(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function i(e){r(1,arguments);var t=a(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function o(e){r(1,arguments);var t=a(e);return t.setDate(1),t.setHours(0,0,0,0),t}function s(e){r(1,arguments);var t=a(e);return t.setHours(0,0,0,0),t}function c(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function l(e){r(1,arguments);var t=a(e),n=t.getFullYear(),i=t.getMonth(),o=new Date(0);return o.setFullYear(n,i+1,0),o.setHours(0,0,0,0),o.getDate()}function u(e,t){r(2,arguments);var n=a(e),i=c(t),o=n.getMonth()+i,s=new Date(0);s.setFullYear(n.getFullYear(),o,1),s.setHours(0,0,0,0);var u=l(s);return n.setMonth(o,Math.min(u,n.getDate())),n}function p(e,t){r(2,arguments);var n=c(t);return u(e,-n)}function d(e,t){r(2,arguments);var n=c(t);return u(e,12*n)}function f(e,t){r(2,arguments);var n=a(e),i=c(t);return isNaN(n)?new Date(NaN):(n.setFullYear(i),n)}function h(e,t){r(2,arguments);var n=a(e),i=c(t),o=n.getFullYear(),s=n.getDate(),u=new Date(0);u.setFullYear(o,i,15),u.setHours(0,0,0,0);var p=l(u);return n.setMonth(i,Math.min(s,p)),n}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(){return(v=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 g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(n,!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function A(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function y(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function x(e){return y(e)?new Date(e.getTime()):null==e?new Date(NaN):new Date(e)}function w(e){return y(e)&&!isNaN(e.getTime())}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!(t>=0&&t<=6))throw new RangeError("weekStartsOn must be between 0 and 6");var n=x(e),r=n.getDay(),a=(r+7-t)%7;return n.setDate(n.getDate()-a),n.setHours(0,0,0,0),n}function C(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.firstDayOfWeek,r=void 0===n?0:n,a=t.firstWeekContainsDate,i=void 0===a?1:a;if(!(i>=1&&i<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7");for(var o=x(e),s=o.getFullYear(),c=new Date(0),l=s+1;l>=s-1&&(c.setFullYear(l,0,i),c.setHours(0,0,0,0),c=_(c,r),!(o.getTime()>=c.getTime()));l--);return c}function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.firstDayOfWeek,r=void 0===n?0:n,a=t.firstWeekContainsDate,i=void 0===a?1:a,o=x(e),s=_(o,r),c=C(o,{firstDayOfWeek:r,firstWeekContainsDate:i}),l=s.getTime()-c.getTime();return Math.round(l/6048e5)+1}n.r(t);var T={months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],firstDayOfWeek:0,firstWeekContainsDate:1},E=/\[([^\]]+)]|YYYY|YY?|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|Z{1,2}|S{1,3}|w{1,2}|x|X|a|A/g;function S(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n="".concat(Math.abs(e)),r=e<0?"-":"";n.length<t;)n="0".concat(n);return r+n}function M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e>0?"-":"+",r=Math.abs(e),a=Math.floor(r/60),i=r%60;return n+S(a,2)+t+S(i,2)}var O=function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLocaleLowerCase():r},I={Y:function(e){var t=e.getFullYear();return t<=9999?"".concat(t):"+".concat(t)},YY:function(e){return S(e.getFullYear(),4).substr(2)},YYYY:function(e){return S(e.getFullYear(),4)},M:function(e){return e.getMonth()+1},MM:function(e){return S(e.getMonth()+1,2)},MMM:function(e,t){return t.monthsShort[e.getMonth()]},MMMM:function(e,t){return t.months[e.getMonth()]},D:function(e){return e.getDate()},DD:function(e){return S(e.getDate(),2)},H:function(e){return e.getHours()},HH:function(e){return S(e.getHours(),2)},h:function(e){var t=e.getHours();return 0===t?12:t>12?t%12:t},hh:function(){var e=I.h.apply(I,arguments);return S(e,2)},m:function(e){return e.getMinutes()},mm:function(e){return S(e.getMinutes(),2)},s:function(e){return e.getSeconds()},ss:function(e){return S(e.getSeconds(),2)},S:function(e){return Math.floor(e.getMilliseconds()/100)},SS:function(e){return S(Math.floor(e.getMilliseconds()/10),2)},SSS:function(e){return S(e.getMilliseconds(),3)},d:function(e){return e.getDay()},dd:function(e,t){return t.weekdaysMin[e.getDay()]},ddd:function(e,t){return t.weekdaysShort[e.getDay()]},dddd:function(e,t){return t.weekdays[e.getDay()]},A:function(e,t){return(t.meridiem||O)(e.getHours(),e.getMinutes(),!1)},a:function(e,t){return(t.meridiem||O)(e.getHours(),e.getMinutes(),!0)},Z:function(e){return M(e.getTimezoneOffset(),":")},ZZ:function(e){return M(e.getTimezoneOffset())},X:function(e){return Math.floor(e.getTime()/1e3)},x:function(e){return e.getTime()},w:function(e,t){return k(e,{firstDayOfWeek:t.firstDayOfWeek,firstWeekContainsDate:t.firstWeekContainsDate})},ww:function(e,t){return S(I.w(e,t),2)}};function N(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t?String(t):"YYYY-MM-DDTHH:mm:ss.SSSZ",a=x(e);if(!w(a))return"Invalid Date";var i=n.locale||T;return r.replace(E,(function(e,t){return t||("function"==typeof I[e]?"".concat(I[e](a,i)):e)}))}function L(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")}()}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(n,!0).forEach((function(t){B(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function j(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F=/(\[[^\[]*\])|(MM?M?M?|Do|DD?|ddd?d?|w[o|w]?|YYYY|YY|a|A|hh?|HH?|mm?|ss?|S{1,3}|x|X|ZZ?|.)/g,R=/\d/,$=/\d\d/,U=/\d\d?/,z=/[+-]?\d+/,V=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Y={},H=function(e,t,n){var r,a=Array.isArray(e)?e:[e];r="string"==typeof n?function(e){var t=parseInt(e,10);return B({},n,t)}:n,a.forEach((function(e){Y[e]=[t,r]}))},G=function(e,t){return function(n,r){var a=r[e];if(!Array.isArray(a))throw new Error("Locale[".concat(e,"] need an array"));var i=a.indexOf(n);if(i<0)throw new Error("Invalid Word");return B({},t,i)}};function Q(e,t){if(void 0!==e&&void 0!==t)if(t){if(e<12)return e+12}else if(12===e)return 0;return e}function W(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,n=[0,0,1,0,0,0,0],r=[t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()],a=!0,i=0;i<7;i++)void 0===e[i]?n[i]=a?r[i]:n[i]:(n[i]=e[i],a=!1);return n}function q(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=n[0];return a<100&&a>=0?(n[0]+=400,e=new Date(Date.UTC.apply(Date,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(a)):e=new Date(Date.UTC.apply(Date,n)),e}function Z(e,t,n){var r=t.match(F);if(!r)throw new Error;for(var a=r.length,i={},o=0;o<a;o+=1){var s=r[o],c=Y[s];if(c){var l="function"==typeof c[0]?c[0](n):c[0],u=c[1],p=(l.exec(e)||[])[0];i=P({},i,{},u(p,n)),e=e.replace(p,"")}else{var d=s.replace(/^\[|\]$/g,"");if(0!==e.indexOf(d))throw new Error("not match");e=e.substr(d.length)}}return i}function X(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,s=new Date(e,t,n,r,a,i,o);return e<100&&e>=0&&s.setFullYear(e),s}function K(e){return e instanceof Date&&!isNaN(e)}function J(e){return Array.isArray(e)&&2===e.length&&e.every(K)&&e[0]<=e[1]}function ee(e){for(var t=new Date(e),n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return K(t)?t:ee.apply(void 0,r)}function te(e,t){var n=new Date(e),r=new Date(t);return n.setHours(r.getHours(),r.getMinutes(),r.getSeconds()),n}function ne(e,t){if(!Array.isArray(e))return[];var n=[],r=e.length,a=0;for(t=t||r;a<r;)n.push(e.slice(a,a+=t));return n}function re(e){return"[object Object]"===Object.prototype.toString.call(e)}function ae(e,t){if(!re(e))return{};Array.isArray(t)||(t=[t]);var n={};return t.forEach((function(t){t in e&&(n[t]=e[t])})),n}H("Y",z,"year"),H("YY",$,(function(e){var t=(new Date).getFullYear(),n=Math.floor(t/100),r=parseInt(e,10);return B({},"year",r=100*(r>68?n-1:n)+r)})),H("YYYY",/\d{4}/,"year"),H("M",U,(function(e){return B({},"month",parseInt(e,10)-1)})),H("MM",$,(function(e){return B({},"month",parseInt(e,10)-1)})),H("MMM",V,G("monthsShort","month")),H("MMMM",V,G("months","month")),H("D",U,"day"),H("DD",$,"day"),H(["H","h"],U,"hour"),H(["HH","hh"],$,"hour"),H("m",U,"minute"),H("mm",$,"minute"),H("s",U,"second"),H("ss",$,"second"),H("S",R,(function(e){return B({},"millisecond",100*parseInt(e,10))})),H("SS",$,(function(e){return B({},"millisecond",10*parseInt(e,10))})),H("SSS",/\d{3}/,"millisecond"),H(["A","a"],(function(e){return e.meridiemParse||/[ap]\.?m?\.?/i}),(function(e,t){return{isPM:"function"==typeof t.isPM?t.isPM(e):function(e){return"p"==="".concat(e).toLowerCase().charAt(0)}(e)}})),H(["Z","ZZ"],/[+-]\d\d:?\d\d/,(function(e){return{offset:(t=e,n=j(t.match(/([+-]|\d\d)/g)||["-","0","0"],3),r=n[0],a=n[1],i=n[2],o=60*parseInt(a,10)+parseInt(i,10),0===o?0:"+"===r?-o:+o)};var t,n,r,a,i,o})),H("x",z,(function(e){return{date:new Date(parseInt(e,10))}})),H("X",/[+-]?\d+(\.\d{1,3})?/,(function(e){return{date:new Date(1e3*parseFloat(e))}})),H("d",R,"weekday"),H("dd",V,G("weekdaysMin","weekday")),H("ddd",V,G("weekdaysShort","weekday")),H("dddd",V,G("weekdays","weekday")),H("w",U,"week"),H("ww",$,"week");var ie,oe=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],firstDayOfWeek:0,firstWeekContainsDate:1};t.default=n,e.exports=t.default})),se={formatLocale:(ie=oe)&&ie.__esModule&&Object.prototype.hasOwnProperty.call(ie,"default")?ie.default:ie,yearFormat:"YYYY",monthFormat:"MMM",monthBeforeYear:!0},ce="en",le={};function ue(e,t,n){if("string"!=typeof e)return le[ce];var r=ce;return le[e]&&(r=e),t&&(le[e]=t,r=e),n||(ce=r),le[e]||le[ce]}function pe(e){return ue(e,null,!0)}function de(e,t){for(var n,r=(e||"").split("."),a=t||pe(),i=0,o=r.length;i<o;i++){if(n=a[r[i]],i===o-1)return n;if(!n)return null;a=n}return null}function fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body;if(!e||e===t)return null;var n=function(e,t){return getComputedStyle(e,null).getPropertyValue(t)},r=/(auto|scroll)/,a=r.test(n(e,"overflow")+n(e,"overflow-y")+n(e,"overflow-x"));return a?e:fe(e.parentNode,t)}le[ce]=se;var he={name:"Popup",inject:{prefixClass:{default:"mx"}},props:{visible:{type:Boolean,default:!1},appendToBody:{type:Boolean,default:!0},inline:{type:Boolean,default:!1}},data:function(){return{top:"",left:""}},watch:{visible:{immediate:!0,handler:function(e){var t=this;this.$nextTick((function(){e&&t.displayPopup()}))}}},mounted:function(){var e=this;if(!this.inline){this.appendToBody&&document.body.appendChild(this.$el),this._clickoutEvent="ontouchend"in document?"touchstart":"mousedown",document.addEventListener(this._clickoutEvent,this.handleClickOutside);var t,n,r=this.$parent.$el;this._displayPopup=(t=function(){return e.displayPopup()},n=!1,function(){for(var e=this,r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];n||(n=!0,requestAnimationFrame((function(){n=!1,t.apply(e,a)})))}),this._scrollParent=fe(r)||window,this._scrollParent.addEventListener("scroll",this._displayPopup),window.addEventListener("resize",this._displayPopup)}},beforeDestroy:function(){this.inline||(this.appendToBody&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el),document.removeEventListener(this._clickoutEvent,this.handleClickOutside),this._scrollParent.removeEventListener("scroll",this._displayPopup),window.removeEventListener("resize",this._displayPopup))},methods:{handleClickOutside:function(e){if(this.visible){var t=e.target,n=this.$el;n&&!n.contains(t)&&this.$emit("clickoutside",e)}},displayPopup:function(){if(!this.inline&&this.visible){var e=this.$el,t=this.$parent.$el,n=this.appendToBody;this._popupRect||(this._popupRect=function(e){var t=e.style.display,n=e.style.visibility;e.style.display="block",e.style.visibility="hidden";var r=window.getComputedStyle(e),a=e.offsetWidth+parseInt(r.marginLeft,10)+parseInt(r.marginRight,10),i=e.offsetHeight+parseInt(r.marginTop,10)+parseInt(r.marginBottom,10);return e.style.display=t,e.style.visibility=n,{width:a,height:i}}(e));var r=this._popupRect,a=function(e,t,n,r){var a=0,i=0,o=0,s=0,c=e.getBoundingClientRect(),l=document.documentElement.clientWidth,u=document.documentElement.clientHeight;return r&&(o=window.pageXOffset+c.left,s=window.pageYOffset+c.top),a=l-c.left<t&&c.right<t?o-c.left+1:c.left+c.width/2<=l/2?o:o+c.width-t,i=c.top<=n&&u-c.bottom<=n?s+u-c.top-n:c.top+c.height/2<=u/2?s+c.height:s-n,{left:"".concat(a,"px"),top:"".concat(i,"px")}}(t,r.width,r.height,n),i=a.left,o=a.top;this.left=i,this.top=o}}},render:function(){var e=arguments[0],t=this.prefixClass;return this.inline?e("div",{class:"".concat(t,"-datepicker-main")},[this.$slots.default]):e("transition",{attrs:{name:"".concat(t,"-zoom-in-down")}},[this.visible&&e("div",{class:"".concat(t,"-datepicker-main ").concat(t,"-datepicker-popup"),style:{top:this.top,left:this.left,position:"absolute"}},[this.$slots.default])])}};function me(e,t,n,r,a,i,o,s,c,l){"boolean"!=typeof o&&(c=s,s=o,o=!1);var u,p="function"==typeof n?n.options:n;if(e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,a&&(p.functional=!0)),r&&(p._scopeId=r),i?(u=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__),t&&t.call(this,c(e)),e&&e._registeredComponents&&e._registeredComponents.add(i)},p._ssrRegister=u):t&&(u=o?function(e){t.call(this,l(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),u)if(p.functional){var d=p.render;p.render=function(e,t){return u.call(t),d(e,t)}}else{var f=p.beforeCreate;p.beforeCreate=f?[].concat(f,u):[u]}return n}"undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var ve,ge=me({render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"}},[t("path",{attrs:{d:"M940.218182 107.054545h-209.454546V46.545455h-65.163636v60.50909H363.054545V46.545455H297.890909v60.50909H83.781818c-18.618182 0-32.581818 13.963636-32.581818 32.581819v805.236363c0 18.618182 13.963636 32.581818 32.581818 32.581818h861.090909c18.618182 0 32.581818-13.963636 32.581818-32.581818V139.636364c-4.654545-18.618182-18.618182-32.581818-37.236363-32.581819zM297.890909 172.218182V232.727273h65.163636V172.218182h307.2V232.727273h65.163637V172.218182h176.872727v204.8H116.363636V172.218182h181.527273zM116.363636 912.290909V442.181818h795.927273v470.109091H116.363636z"}})])},staticRenderFns:[]},void 0,{},void 0,!1,void 0,!1,void 0,void 0,void 0),be=me({render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"}},[t("path",{attrs:{d:"M810.005333 274.005333l-237.994667 237.994667 237.994667 237.994667-60.010667 60.010667-237.994667-237.994667-237.994667 237.994667-60.010667-60.010667 237.994667-237.994667-237.994667-237.994667 60.010667-60.010667 237.994667 237.994667 237.994667-237.994667z"}})])},staticRenderFns:[]},void 0,{},void 0,!1,void 0,!1,void 0,void 0,void 0),Ae=me({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("table",{class:e.prefixClass+"-table "+e.prefixClass+"-table-date"},[n("thead",[n("tr",[e.showWeekNumber?n("th",{class:e.prefixClass+"-week-number-header"}):e._e(),e._v(" "),e._l(e.days,(function(t){return n("th",{key:t},[e._v(e._s(t))])}))],2)]),e._v(" "),n("tbody",{on:{click:e.handleCellClick}},e._l(e.dates,(function(t,r){return n("tr",{key:r,class:[e.prefixClass+"-date-row",e.getRowClasses(t)]},[e.showWeekNumber?n("td",{class:e.prefixClass+"-week-number"},[e._v("\n "+e._s(e.getWeekNumber(t[0].day))+"\n ")]):e._e(),e._v(" "),e._l(t,(function(t,r){return n("td",{key:r,staticClass:"cell",class:e.getCellClasses(t.day),attrs:{"data-day":t.day,title:e.getCellTitle(t.day)}},[n("div",[e._v(e._s(t.text))])])}))],2)})),0)])},staticRenderFns:[]},void 0,{name:"TableDate",inject:{t:{default:function(){return de}},getWeek:{default:function(){return k}},prefixClass:{default:"mx"}},props:{calendarYear:{type:Number,default:function(){return(new Date).getFullYear()}},calendarMonth:{type:Number,default:function(){return(new Date).getMonth()}},showWeekNumber:{type:Boolean,default:!1},titleFormat:{type:String,default:"YYYY-MM-DD"},getRowClasses:{type:Function,default:function(){return[]}},getCellClasses:{type:Function,default:function(){return[]}}},computed:{firstDayOfWeek:function(){return this.t("formatLocale.firstDayOfWeek")||0},days:function(){var e=this.t("days")||this.t("formatLocale.weekdaysMin");return e.concat(e).slice(this.firstDayOfWeek,this.firstDayOfWeek+7)},dates:function(){for(var e=[],t=this.firstDayOfWeek,n=this.calendarYear,r=this.calendarMonth,a=X(n,r,0),i=a.getDate(),o=i-(a.getDay()+7-t)%7,s=o;s<=i;s++){var c=s-i;e.push({day:c,text:s})}a.setMonth(r+1,0);for(var l=a.getDate(),u=1;u<=l;u++)e.push({day:u,text:u});for(var p=42-(i-o+1)-l,d=1;d<=p;d++)e.push({day:l+d,text:d});return ne(e,7)}},methods:{formatDate:function(e,t){return N(e,t,{locale:this.t("formatLocale")})},handleCellClick:function(e){var t=e.target;"DIV"===t.tagName&&(t=t.parentNode);var n=t.getAttribute("data-day");n&&this.$emit("select",parseInt(n,10))},getCellTitle:function(e){var t=this.calendarYear,n=this.calendarMonth,r=this.titleFormat,a=X(t,n,e);return this.formatDate(a,r)},getWeekNumber:function(e){var t=X(this.calendarYear,this.calendarMonth,e);return this.getWeek(t,this.t("formatLocale"))}}},void 0,!1,void 0,!1,void 0,void 0,void 0),ye=me({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("table",{class:e.prefixClass+"-table "+e.prefixClass+"-table-month",on:{click:e.handleClick}},e._l(e.months,(function(t,r){return n("tr",{key:r},e._l(t,(function(t,r){return n("td",{key:r,staticClass:"cell",class:e.getCellClasses(t.month),attrs:{"data-month":t.month}},[n("div",[e._v(e._s(t.text))])])})),0)})),0)},staticRenderFns:[]},void 0,{name:"TableMonth",inject:{t:{default:function(){return de}},prefixClass:{default:"mx"}},props:{getCellClasses:{type:Function,default:function(){return[]}}},computed:{months:function(){var e=(this.t("months")||this.t("formatLocale.monthsShort")).map((function(e,t){return{text:e,month:t}}));return ne(e,3)}},methods:{handleClick:function(e){var t=e.target;"DIV"===t.tagName&&(t=t.parentNode);var n=t.getAttribute("data-month");n&&this.$emit("select",parseInt(n,10))}}},void 0,!1,void 0,!1,void 0,void 0,void 0),xe=me({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("table",{class:e.prefixClass+"-table "+e.prefixClass+"-table-year",on:{click:e.handleClick}},e._l(e.years,(function(t,r){return n("tr",{key:r},e._l(t,(function(t,r){return n("td",{key:r,staticClass:"cell",class:e.getCellClasses(t),attrs:{"data-year":t}},[n("div",[e._v(e._s(t))])])})),0)})),0)},staticRenderFns:[]},void 0,{name:"TableYear",inject:{prefixClass:{default:"mx"}},props:{decade:Number,getCellClasses:{type:Function,default:function(){return[]}}},computed:{years:function(){for(var e=this.decade,t=[],n=0;n<10;n++)t.push(e+n);return ne(t,2)}},methods:{handleClick:function(e){var t=e.target;"DIV"===t.tagName&&(t=t.parentNode);var n=t.getAttribute("data-year");n&&this.$emit("select",parseInt(n,10))}}},void 0,!1,void 0,!1,void 0,void 0,void 0),we=me({render:function(){var e,t=this,n=t.$createElement,r=t._self._c||n;return r("div",{class:[t.prefixClass+"-calendar",t.prefixClass+"-calendar-panel-"+t.panel,(e={},e[t.prefixClass+"-calendar-week-mode"]="week"===t.type,e)]},[r("div",{class:t.prefixClass+"-calendar-header"},[r("button",{directives:[{name:"show",rawName:"v-show",value:t.showIconDoubleArrow,expression:"showIconDoubleArrow"}],class:t.prefixClass+"-btn "+t.prefixClass+"-btn-text "+t.prefixClass+"-btn-icon-double-left",attrs:{type:"button"},on:{click:t.handleIconDoubleLeftClick}},[r("i",{class:t.prefixClass+"-icon-double-left"})]),t._v(" "),r("button",{directives:[{name:"show",rawName:"v-show",value:t.showIconArrow,expression:"showIconArrow"}],class:t.prefixClass+"-btn "+t.prefixClass+"-btn-text "+t.prefixClass+"-btn-icon-left",attrs:{type:"button"},on:{click:t.handleIconLeftClick}},[r("i",{class:t.prefixClass+"-icon-left"})]),t._v(" "),r("button",{directives:[{name:"show",rawName:"v-show",value:t.showIconDoubleArrow,expression:"showIconDoubleArrow"}],class:t.prefixClass+"-btn "+t.prefixClass+"-btn-text "+t.prefixClass+"-btn-icon-double-right",attrs:{type:"button"},on:{click:t.handleIconDoubleRightClick}},[r("i",{class:t.prefixClass+"-icon-double-right"})]),t._v(" "),r("button",{directives:[{name:"show",rawName:"v-show",value:t.showIconArrow,expression:"showIconArrow"}],class:t.prefixClass+"-btn "+t.prefixClass+"-btn-text "+t.prefixClass+"-btn-icon-right",attrs:{type:"button"},on:{click:t.handleIconRightClick}},[r("i",{class:t.prefixClass+"-icon-right"})]),t._v(" "),r("span",{class:t.prefixClass+"-calendar-header-label"},["year"===t.panel?[r("span",[t._v(t._s(t.calendarDecade))]),t._v(" "),r("span",{class:t.prefixClass+"-calendar-decade-separator"}),t._v(" "),r("span",[t._v(t._s(t.calendarDecade+9))])]:"month"===t.panel?r("button",{class:t.prefixClass+"-btn "+t.prefixClass+"-btn-text",attrs:{type:"button"},on:{click:function(e){return t.handelPanelChange("year")}}},[t._v("\n "+t._s(t.calendarYear)+"\n ")]):"date"===t.panel?t._l(t.dateHeader,(function(e){return r("button",{key:e.panel,class:t.prefixClass+"-btn "+t.prefixClass+"-btn-text "+t.prefixClass+"-btn-current-"+e.panel,attrs:{type:"button"},on:{click:function(n){return t.handelPanelChange(e.panel)}}},[t._v("\n "+t._s(e.label)+"\n ")])})):t._e()],2)]),t._v(" "),r("div",{class:t.prefixClass+"-calendar-content"},[r("table-year",{directives:[{name:"show",rawName:"v-show",value:"year"===t.panel,expression:"panel === 'year'"}],attrs:{decade:t.calendarDecade,"get-cell-classes":t.getYearClasses},on:{select:t.handleSelectYear}}),t._v(" "),"year"!==t.type?r("table-month",{directives:[{name:"show",rawName:"v-show",value:"month"===t.panel,expression:"panel === 'month'"}],attrs:{"get-cell-classes":t.getMonthClasses},on:{select:t.handleSelectMonth}}):t._e(),t._v(" "),"year"!==t.type&&"month"!==t.type?r("table-date",{directives:[{name:"show",rawName:"v-show",value:"date"===t.panel,expression:"panel === 'date'"}],attrs:{"calendar-year":t.calendarYear,"calendar-month":t.calendarMonth,"title-format":t.titleFormat,"show-week-number":"boolean"==typeof t.showWeekNumber?t.showWeekNumber:"week"===t.type,"get-cell-classes":t.getDateClasses,"get-row-classes":t.getWeekState},on:{select:t.handleSelectDate}}):t._e()],1)])},staticRenderFns:[]},void 0,{name:"CalendarPanel",components:{TableDate:Ae,TableMonth:ye,TableYear:xe},mixins:[{methods:{dispatch:function(e){for(var t=this.$parent||this.$root,n=t.$options.name;t&&(!n||n!==e);)(t=t.$parent)&&(n=t.$options.name);if(t){for(var r,a=arguments.length,i=new Array(a>1?a-1:0),o=1;o<a;o++)i[o-1]=arguments[o];(r=t).$emit.apply(r,i)}}}}],inject:{t:{default:function(){return de}},prefixClass:{default:"mx"}},props:{value:{},defaultValue:{default:function(){var e=new Date;return e.setHours(0,0,0,0),e}},defaultPanel:{type:String},disabledDate:{type:Function,default:function(){return!1}},type:{type:String,default:"date"},getClasses:{type:Function,default:function(){return[]}},showWeekNumber:{type:Boolean,default:void 0},titleFormat:{type:String,default:"YYYY-MM-DD"},calendar:Date,partialUpdate:{type:Boolean,default:!1}},data:function(){var e=["date","month","year"],t=Math.max(e.indexOf(this.type),e.indexOf(this.defaultPanel));return{panel:-1!==t?e[t]:"date",innerCalendar:null}},computed:{innerValue:function(){var e=Array.isArray(this.value)?this.value:[this.value],t={year:i,month:o,date:s},n=t[this.type]||t.date;return e.filter(K).map((function(e){return n(e)}))},calendarYear:function(){return this.innerCalendar.getFullYear()},calendarMonth:function(){return this.innerCalendar.getMonth()},calendarDecade:function(){return 10*Math.floor(this.calendarYear/10)},showIconDoubleArrow:function(){return"date"===this.panel||"month"===this.panel||"year"===this.panel},showIconArrow:function(){return"date"===this.panel},dateHeader:function(){var e=this.t("monthBeforeYear"),t=this.t("yearFormat"),n=this.t("monthFormat")||"MMM",r={panel:"year",label:this.formatDate(this.innerCalendar,t)},a={panel:"month",label:this.formatDate(this.innerCalendar,n)};return e?[a,r]:[r,a]}},watch:{value:{immediate:!0,handler:"initCalendar"},calendar:{handler:"initCalendar"},defaultValue:{handler:"initCalendar"}},methods:{formatDate:function(e,t){return N(e,t,{locale:this.t("formatLocale")})},initCalendar:function(){var e=this.calendar;K(e)||(e=ee(this.innerValue[0],this.defaultValue)),this.innerCalendar=e},isDisabled:function(e){return this.disabledDate(new Date(e),this.innerValue)},emitDate:function(e,t){this.isDisabled(e)||(this.$emit("select",e,t),this.dispatch("DatePicker","pick",e,t))},updateCalendar:function(e){var t=new Date(this.innerCalendar);this.innerCalendar=e,this.$emit("update:calendar",e),this.dispatch("DatePicker","calendar-change",e,t)},handelPanelChange:function(e){this.panel=e},handleIconLeftClick:function(){var e=p(this.innerCalendar,1);this.updateCalendar(e)},handleIconRightClick:function(){var e=u(this.innerCalendar,1);this.updateCalendar(e)},handleIconDoubleLeftClick:function(){var e=function(e,t){r(2,arguments);var n=c(t);return d(e,-n)}(this.innerCalendar,"year"===this.panel?10:1);this.updateCalendar(e)},handleIconDoubleRightClick:function(){var e=d(this.innerCalendar,"year"===this.panel?10:1);this.updateCalendar(e)},handleSelectYear:function(e){if("year"===this.type){var t=this.getCellDate(e,"year");this.emitDate(t,"year")}else{var n=f(this.innerCalendar,e);if(this.updateCalendar(n),this.handelPanelChange("month"),this.partialUpdate&&this.innerValue[0]){var r=f(this.innerValue[0],e);this.emitDate(r,"year")}}},handleSelectMonth:function(e){if("month"===this.type){var t=this.getCellDate(e,"month");this.emitDate(t,"month")}else{var n=h(this.innerCalendar,e);if(this.updateCalendar(n),this.handelPanelChange("date"),this.partialUpdate&&this.innerValue[0]){var r=h(f(this.innerValue[0],this.calendarYear),e);this.emitDate(r,"month")}}},handleSelectDate:function(e){var t=this.getCellDate(e,"date");this.emitDate(t,"week"===this.type?"week":"date")},getCellDate:function(e,t){return"year"===t?X(e,0):"month"===t?X(this.calendarYear,e):X(this.calendarYear,this.calendarMonth,e)},getDateClasses:function(e){var t=this.getCellDate(e,"date"),n=t.getMonth()!==this.calendarMonth,r=[];t.getTime()===(new Date).setHours(0,0,0,0)&&r.push("today"),n&&r.push("not-current-month");var a=this.getStateClass(t);return"active"===a&&n||r.push(a),r.concat(this.getClasses(t,this.innerValue,r.join(" ")))},getMonthClasses:function(e){if("month"!==this.type)return this.calendarMonth===e?"active":"";var t=[],n=this.getCellDate(e,"month");return t.push(this.getStateClass(n)),t.concat(this.getClasses(n,this.innerValue,t.join(" ")))},getYearClasses:function(e){if("year"!==this.type)return this.calendarYear===e?"active":"";var t=[],n=this.getCellDate(e,"year");return t.push(this.getStateClass(n)),t.concat(this.getClasses(n,this.innerValue,t.join(" ")))},getStateClass:function(e){return this.isDisabled(e)?"disabled":this.innerValue.some((function(t){return t.getTime()===e.getTime()}))?"active":""},getWeekState:function(e){if("week"!==this.type)return"";var t=this.getCellDate(e[0].day,"date").getTime(),n=this.getCellDate(e[6].day,"date").getTime();return this.innerValue.some((function(e){var r=e.getTime();return r>=t&&r<=n}))?"".concat(this.prefixClass,"-active-week"):""}}},void 0,!1,void 0,!1,void 0,void 0,void 0),_e={name:"CalendarRange",components:{CalendarPanel:we},inject:{prefixClass:{default:"mx"}},props:b({},we.props),data:function(){return{innerValue:[],calendars:[]}},computed:{calendarMinDiff:function(){var e={date:1,month:12,year:120};return e[this.type]||e.date},calendarMaxDiff:function(){return 1/0},defaultValues:function(){return Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue,this.defaultValue]}},watch:{value:{immediate:!0,handler:function(){var e=this;this.innerValue=J(this.value)?this.value:[new Date(NaN),new Date(NaN)],this.calendars=this.innerValue.map((function(t,n){return ee(t,e.defaultValues[n])})),this.validateCalendars(1)}}},methods:{handleSelect:function(e,t){var n=A(this.innerValue,2),r=n[0],a=n[1];K(r)&&!K(a)?(r.getTime()>e.getTime()?this.innerValue=[e,r]:this.innerValue=[r,e],this.emitDate(this.innerValue,t)):this.innerValue=[e,new Date(NaN)]},emitDate:function(e,t){this.$emit("select",e,t)},updateStartCalendar:function(e){this.calendars.splice(0,1,e),this.validateCalendars(1)},updateEndCalendar:function(e){this.calendars.splice(1,1,e),this.validateCalendars(0)},validateCalendars:function(e){var t=this.getCalendarGap();if(t){var n=this.calendars[e];n=0===e?p(n,t):u(n,t),this.calendars.splice(e,1,n)}},getCalendarGap:function(){var e=function(e,t){r(2,arguments);var n=a(e),i=a(t),o=n.getFullYear()-i.getFullYear(),s=n.getMonth()-i.getMonth();return 12*o+s}(this.calendars[1],this.calendars[0]),t=this.calendarMinDiff,n=this.calendarMaxDiff;return e<t?t-e:e>n?n-e:0},getRangeClasses:function(e,t,n){var r=[].concat(this.getClasses(e,t,n));return!/disabled|active|not-current-month/.test(n)&&2===t.length&&e.getTime()>t[0].getTime()&&e.getTime()<t[1].getTime()&&r.push("in-range"),r}},render:function(){var e=this,t=arguments[0],n=this.calendars.map((function(n,r){var a=b({},e.$props,{calendar:n,value:e.innerValue,defaultValue:e.defaultValues[r],getClasses:e.getRangeClasses,partialUpdate:!1}),i={select:e.handleSelect,"update:calendar":0===r?e.updateStartCalendar:e.updateEndCalendar};return t("calendar-panel",{props:b({},a),on:b({},i)})})),r=this.prefixClass;return t("div",{class:"".concat(r,"-range-wrapper")},[n])}};var Ce=me({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.prefixClass+"-scrollbar",style:{position:"relative",overflow:"hidden"}},[n("div",{ref:"wrap",class:e.prefixClass+"-scrollbar-wrap",style:{marginRight:"-"+e.scrollbarWidth+"px"},on:{scroll:e.handleScroll}},[e._t("default")],2),e._v(" "),n("div",{class:e.prefixClass+"-scrollbar-track"},[n("div",{ref:"thumb",class:e.prefixClass+"-scrollbar-thumb",style:{height:e.thumbHeight,top:e.thumbTop},on:{mousedown:e.handleDragstart}})])])},staticRenderFns:[]},void 0,{inject:{prefixClass:{default:"mx"}},data:function(){return{scrollbarWidth:0,thumbTop:"",thumbHeight:""}},created:function(){this.scrollbarWidth=function(){if("undefined"==typeof window)return 0;if(void 0!==ve)return ve;var e=document.createElement("div");e.style.visibility="hidden",e.style.overflow="scroll",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=document.createElement("div");return t.style.width="100%",e.appendChild(t),ve=e.offsetWidth-t.offsetWidth,e.parentNode.removeChild(e),ve}(),document.addEventListener("mouseup",this.handleDragend)},beforeDestroy:function(){document.addEventListener("mouseup",this.handleDragend)},mounted:function(){this.$nextTick(this.getThumbSize)},methods:{getThumbSize:function(){var e=this.$refs.wrap;if(e){var t=100*e.clientHeight/e.scrollHeight;this.thumbHeight=t<100?"".concat(t,"%"):""}},handleScroll:function(e){var t=e.currentTarget,n=t.scrollHeight,r=t.scrollTop;this.thumbTop="".concat(100*r/n,"%")},handleDragstart:function(e){e.stopImmediatePropagation(),this._draggable=!0;var t=this.$refs.thumb.offsetTop;this._prevY=e.clientY-t,document.addEventListener("mousemove",this.handleDraging)},handleDraging:function(e){if(this._draggable){var t=e.clientY,n=this.$refs.wrap,r=n.scrollHeight,a=n.clientHeight,i=(t-this._prevY)*r/a;n.scrollTop=i}},handleDragend:function(){this._draggable&&(this._draggable=!1,document.removeEventListener("mousemove",this.handleDraging))}}},void 0,!1,void 0,!1,void 0,void 0,void 0),ke=function(e){return(e=parseInt(e,10))<10?"0".concat(e):"".concat(e)},Te=function(e,t,n){if(Array.isArray(n))return n.filter((function(t){return t>=0&&t<e}));t<=0&&(t=1);for(var r=[],a=0;a<e;a+=t)r.push(a);return r},Ee=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(r<=0)requestAnimationFrame((function(){t.scrollTop=n}));else{var a=n-t.scrollTop,i=a/r*10;requestAnimationFrame((function(){var a=t.scrollTop+i;a>=n?t.scrollTop=n:(t.scrollTop=a,e(t,n,r-10))}))}},Se=me({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.prefixClass+"-time-columns"},e._l(e.columns,(function(t,r){return n("scrollbar-vertical",{key:r,class:e.prefixClass+"-time-column"},[n("ul",{class:e.prefixClass+"-time-list",attrs:{"data-type":t.type,"data-index":r},on:{click:e.handleSelect}},e._l(t.list,(function(t,r){return n("li",{key:t.value,class:[e.prefixClass+"-time-item",e.getClasses(t.value)],attrs:{"data-index":r}},[e._v("\n "+e._s(t.text)+"\n ")])})),0)])})),1)},staticRenderFns:[]},void 0,{name:"ListColumns",components:{ScrollbarVertical:Ce},inject:{prefixClass:{default:"mx"}},props:{date:Date,getClasses:{type:Function,default:function(){return[]}},hourOptions:Array,minuteOptions:Array,secondOptions:Array,showHour:{type:Boolean,default:!0},showMinute:{type:Boolean,default:!0},showSecond:{type:Boolean,default:!0},hourStep:{type:Number,default:1},minuteStep:{type:Number,default:1},secondStep:{type:Number,default:1},use12h:{type:Boolean,default:!1}},computed:{columns:function(){var e=[];return this.showHour&&e.push({type:"hour",list:this.getHoursList()}),this.showMinute&&e.push({type:"minute",list:this.getMinutesList()}),this.showSecond&&e.push({type:"second",list:this.getSecondsList()}),this.use12h&&e.push({type:"ampm",list:this.getAMPMList()}),e.filter((function(e){return e.list.length>0}))}},watch:{date:{handler:function(){var e=this;this.$nextTick((function(){e.scrollToSelected(100)}))}}},mounted:function(){this.scrollToSelected(0)},methods:{getHoursList:function(){var e=this;return Te(this.use12h?12:24,this.hourStep,this.hourOptions).map((function(t){var n=new Date(e.date),r=ke(t);return e.use12h&&(0===t&&(r="12"),n.getHours()>=12&&(t+=12)),{value:n.setHours(t),text:r}}))},getMinutesList:function(){var e=this;return Te(60,this.minuteStep,this.minuteOptions).map((function(t){return{value:new Date(e.date).setMinutes(t),text:ke(t)}}))},getSecondsList:function(){var e=this;return Te(60,this.secondStep,this.secondOptions).map((function(t){return{value:new Date(e.date).setSeconds(t),text:ke(t)}}))},getAMPMList:function(){var e=this;return["AM","PM"].map((function(t,n){var r=new Date(e.date);return{text:t,value:r.setHours(r.getHours()%12+12*n)}}))},scrollToSelected:function(e){for(var t=this.$el.querySelectorAll(".active"),n=0;n<t.length;n++){var r=t[n],a=fe(r,this.$el);if(a){var i=r.offsetTop;Ee(a,i,e)}}},handleSelect:function(e){var t=e.target,n=e.currentTarget;if("LI"===t.tagName.toUpperCase()){var r=n.getAttribute("data-type"),a=parseInt(n.getAttribute("data-index"),10),i=parseInt(t.getAttribute("data-index"),10),o=this.columns[a].list[i].value;this.$emit("select",o,r)}}}},void 0,!1,void 0,!1,void 0,void 0,void 0);function Me(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split(":");if(t.length>=2){var n=parseInt(t[0],10),r=parseInt(t[1],10);return{hours:n,minutes:r}}return null}var Oe=me({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("scrollbar-vertical",e._l(e.list,(function(t){return n("div",{key:t.value,class:[e.prefixClass+"-time-option",e.getClasses(t.value)],on:{click:function(n){return e.handleSelect(t.value)}}},[e._v("\n "+e._s(t.text)+"\n ")])})),0)},staticRenderFns:[]},void 0,{name:"ListOptions",components:{ScrollbarVertical:Ce},inject:{t:{default:function(){return de}},prefixClass:{default:"mx"}},props:{date:Date,options:{type:[Object,Function],default:function(){return[]}},format:{type:String,default:"HH:mm:ss"},getClasses:{type:Function,default:function(){return[]}}},computed:{list:function(){var e=[],t=this.options;if("function"==typeof t)return t()||[];var n=Me(t.start),r=Me(t.end),a=Me(t.step),i=t.format||this.format;if(n&&r&&a)for(var o=n.minutes+60*n.hours,s=r.minutes+60*r.hours,c=a.minutes+60*a.hours,l=Math.floor((s-o)/c),u=0;u<=l;u++){var p=o+u*c,d=Math.floor(p/60),f=p%60,h=new Date(this.date).setHours(d,f,0);e.push({value:h,text:this.formatDate(h,i)})}return e}},mounted:function(){this.scrollToSelected()},methods:{formatDate:function(e,t){return N(e,t,{locale:this.t("formatLocale")})},scrollToSelected:function(){var e=this.$el.querySelector(".active");if(e){var t=fe(e,this.$el);if(t)!function(e,t){e&&(e.scrollTop=t)}(t,e.offsetTop)}},handleSelect:function(e){this.$emit("select",e,"time")}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Ie=me({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.prefixClass+"-time"},[e.showTimeHeader?n("div",{class:e.prefixClass+"-time-header"},[n("button",{class:e.prefixClass+"-btn "+e.prefixClass+"-btn-text "+e.prefixClass+"-time-header-title",attrs:{type:"button"},on:{click:e.handleClickTitle}},[e._v("\n "+e._s(e.title)+"\n ")])]):e._e(),e._v(" "),n("div",{class:e.prefixClass+"-time-content"},[e.timePickerOptions?n("list-options",{attrs:{date:e.innerValue,"get-classes":e.getClasses,options:e.timePickerOptions,format:e.innerForamt},on:{select:e.handleSelect}}):n("list-columns",e._b({attrs:{date:e.innerValue,"get-classes":e.getClasses,"hour-options":e.hourOptions,"minute-options":e.minuteOptions,"second-options":e.secondOptions,"hour-step":e.hourStep,"minute-step":e.minuteStep,"second-step":e.secondStep},on:{select:e.handleSelect}},"list-columns",e.ShowHourMinuteSecondAMPM,!1))],1)])},staticRenderFns:[]},void 0,{name:"TimePanel",components:{ListColumns:Se,ListOptions:Oe},inject:{t:{default:function(){return de}},prefixClass:{default:"mx"}},props:{value:{},defaultValue:{default:function(){var e=new Date;return e.setHours(0,0,0,0),e}},format:{default:"HH:mm:ss"},timeTitleFormat:{type:String,default:"YYYY-MM-DD"},showTimeHeader:{type:Boolean,default:!1},disabledTime:{type:Function,default:function(){return!1}},timePickerOptions:{type:[Object,Function],default:function(){return null}},hourOptions:Array,minuteOptions:Array,secondOptions:Array,hourStep:{type:Number,default:1},minuteStep:{type:Number,default:1},secondStep:{type:Number,default:1},showHour:{type:Boolean,default:void 0},showMinute:{type:Boolean,default:void 0},showSecond:{type:Boolean,default:void 0},use12h:{type:Boolean,default:void 0}},computed:{innerValue:function(){return ee(this.value,this.defaultValue)},title:function(){var e=this.timeTitleFormat,t=new Date(this.innerValue);return this.formatDate(t,e)},innerForamt:function(){return"string"==typeof this.format?this.format:"HH:mm:ss"},ShowHourMinuteSecondAMPM:function(){var e=this,t=this.innerForamt,n={showHour:/[HhKk]/.test(t),showMinute:/m/.test(t),showSecond:/s/.test(t),use12h:/a/i.test(t)},r={};return Object.keys(n).forEach((function(t){r[t]="boolean"==typeof e[t]?e[t]:n[t]})),r}},methods:{formatDate:function(e,t){return N(e,t,{locale:this.t("formatLocale")})},isDisabled:function(e){return this.disabledTime(new Date(e))},handleSelect:function(e,t){var n=new Date(e);this.isDisabled(e)||this.$emit("select",n,t)},handleClickTitle:function(){this.$emit("title-click")},getClasses:function(e){var t=new Date(e);return this.isDisabled(e)?"disabled":t.getTime()===this.innerValue.getTime()?"active":""}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Ne={name:"TimeRange",inject:{prefixClass:{default:"mx"}},props:b({},Ie.props),data:function(){return{startValue:new Date(NaN),endValue:new Date(NaN)}},watch:{value:{immediate:!0,handler:function(){if(J(this.value)){var e=A(this.value,2),t=e[0],n=e[1];this.startValue=t,this.endValue=n}else this.startValue=new Date(NaN),this.endValue=new Date(NaN)}}},methods:{emitChange:function(e,t){var n=[this.startValue,this.endValue];this.$emit("select",n,e,t)},handleSelectStart:function(e,t){this.startValue=e,this.endValue.getTime()>=e.getTime()||(this.endValue=e),this.emitChange(t,0)},handleSelectEnd:function(e,t){this.endValue=e,this.startValue.getTime()<=e.getTime()||(this.startValue=e),this.emitChange(t,1)},disabledStartTime:function(e){return this.disabledTime(e,0)},disabledEndTime:function(e){return e.getTime()<this.startValue.getTime()||this.disabledTime(e,1)}},render:function(){var e=arguments[0],t=Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue,this.defaultValue],n=this.prefixClass;return e("div",{class:"".concat(n,"-range-wrapper")},[e(Ie,{props:b({},b({},this.$props,{value:this.startValue,defaultValue:t[0],disabledTime:this.disabledStartTime})),on:b({},b({},this.$listeners,{select:this.handleSelectStart}))}),e(Ie,{props:b({},b({},this.$props,{value:this.endValue,defaultValue:t[1],disabledTime:this.disabledEndTime})),on:b({},b({},this.$listeners,{select:this.handleSelectEnd}))})])}};function Le(){return(Le=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)}var De=["attrs","props","domProps"],Pe=["class","style","directives"],je=["on","nativeOn"],Be=function(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}},Fe=function(e){return e.reduce((function(e,t){for(var n in t)if(e[n])if(-1!==De.indexOf(n))e[n]=Le({},e[n],t[n]);else if(-1!==Pe.indexOf(n)){var r=e[n]instanceof Array?e[n]:[e[n]],a=t[n]instanceof Array?t[n]:[t[n]];e[n]=r.concat(a)}else if(-1!==je.indexOf(n))for(var i in t[n])if(e[n][i]){var o=e[n][i]instanceof Array?e[n][i]:[e[n][i]],s=t[n][i]instanceof Array?t[n][i]:[t[n][i]];e[n][i]=o.concat(s)}else e[n][i]=t[n][i];else if("hook"==n)for(var c in t[n])e[n][c]=e[n][c]?Be(e[n][c],t[n][c]):t[n][c];else e[n]=t[n];else e[n]=t[n];return e}),{})},Re={name:"DatetimePanel",inject:{prefixClass:{default:"mx"}},props:b({},we.props,{},Ie.props,{showTimePanel:{type:Boolean,default:void 0}}),data:function(){return{defaultTimeVisible:!1,currentValue:this.value}},computed:{timeVisible:function(){return"boolean"==typeof this.showTimePanel?this.showTimePanel:this.defaultTimeVisible}},watch:{value:function(e){this.currentValue=e}},methods:{closeTimePanel:function(){this.defaultTimeVisible=!1},openTimePanel:function(){this.defaultTimeVisible=!0},emitDate:function(e,t){this.$emit("select",e,t)},handleSelect:function(e,t){"date"===t&&this.openTimePanel();var n=te(e,ee(this.value,this.defaultValue));this.disabledTime(new Date(n))&&(n=te(e,this.defaultValue),this.disabledTime(new Date(n)))?this.currentValue=n:this.emitDate(n,t)}},render:function(){var e=arguments[0],t={props:b({},ae(this,Object.keys(we.props)),{type:"date",value:this.currentValue}),on:{select:this.handleSelect}},n={props:b({},ae(this,Object.keys(Ie.props)),{showTimeHeader:!0,value:this.currentValue}),on:{select:this.emitDate,"title-click":this.closeTimePanel}},r=this.prefixClass;return e("div",[e(we,Fe([{},t])),this.timeVisible&&e(Ie,Fe([{class:"".concat(r,"-calendar-time")},n]))])}},$e={name:"DatetimeRange",inject:{prefixClass:{default:"mx"}},props:b({},_e.props,{},Ne.props,{showTimePanel:{type:Boolean,default:void 0}}),data:function(){return{defaultTimeVisible:!1,currentValue:this.value}},computed:{timeVisible:function(){return"boolean"==typeof this.showTimePanel?this.showTimePanel:this.defaultTimeVisible}},watch:{value:function(e){this.currentValue=e}},methods:{closeTimePanel:function(){this.defaultTimeVisible=!1},openTimePanel:function(){this.defaultTimeVisible=!0},emitDate:function(e,t){this.$emit("select",e,t)},handleSelect:function(e,t){var n=this;"date"===t&&this.openTimePanel();var r=Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue,this.defaultValue],a=e.map((function(e,t){return te(e,J(n.value)?n.value[t]:r[t])}));a[1].getTime()<a[0].getTime()&&(a=[a[0],a[0]]),a.some(this.disabledTime)&&(a=e.map((function(e,t){return te(e,r[t])}))).some(this.disabledTime)?this.currentValue=a:this.emitDate(a,t)}},render:function(){var e=arguments[0],t={props:b({},ae(this,Object.keys(_e.props)),{type:"date",value:this.currentValue}),on:{select:this.handleSelect}},n={props:b({},ae(this,Object.keys(Ne.props)),{value:this.currentValue,showTimeHeader:!0}),on:{select:this.emitDate,"title-click":this.closeTimePanel}},r=this.prefixClass;return e("div",[e(_e,Fe([{},t])),this.timeVisible&&e(Ne,Fe([{class:"".concat(r,"-calendar-time")},n]))])}},Ue={default:we,time:Ie,datetime:Re},ze={default:_e,time:Ne,datetime:$e},Ve=me({render:function(){var e,t=this,n=t.$createElement,r=t._self._c||n;return r("div",{class:(e={},e[t.prefixClass+"-datepicker"]=!0,e[t.prefixClass+"-datepicker-range"]=t.range,e[t.prefixClass+"-datepicker-inline"]=t.inline,e.disabled=t.disabled,e)},[t.inline?t._e():r("div",{class:t.prefixClass+"-input-wrapper",on:{mousedown:t.openPopup,touchstart:t.openPopup}},[t._t("input",[r("input",t._b({ref:"input",class:t.inputClass,attrs:{disabled:t.disabled,readonly:!t.editable,placeholder:t.placeholder},on:{keydown:t.handleInputKeydown,focus:t.handleInputFocus,blur:t.handleInputBlur,input:t.handleInputInput,change:t.handleInputChange}},"input",v({},{name:"date",type:"text",autocomplete:"off",value:t.text},t.inputAttr),!1))]),t._v(" "),t.showClearIcon?r("i",{class:t.prefixClass+"-icon-clear",on:{mousedown:function(e){return e.stopPropagation(),t.handleClear(e)}}},[t._t("icon-clear",[r("icon-close")])],2):t._e(),t._v(" "),r("i",{class:t.prefixClass+"-icon-calendar"},[t._t("icon-calendar",[r("icon-calendar")])],2)],2),t._v(" "),r("Popup",{ref:"popup",class:t.popupClass,style:t.popupStyle,attrs:{inline:t.inline,visible:t.popupVisible,"append-to-body":t.appendToBody},on:{clickoutside:t.handleClickOutSide}},[t.hasSlot("sidebar")||t.shortcuts.length?r("div",{class:t.prefixClass+"-datepicker-sidebar"},[t._t("sidebar",null,{value:t.currentValue,emit:t.emitValue}),t._v(" "),t._l(t.shortcuts,(function(e,n){return r("button",{key:n,class:t.prefixClass+"-btn "+t.prefixClass+"-btn-text "+t.prefixClass+"-btn-shortcut",attrs:{type:"button"},on:{click:function(n){return t.handleSelectShortcut(e)}}},[t._v("\n "+t._s(e.text)+"\n ")])}))],2):t._e(),t._v(" "),r("div",{class:t.prefixClass+"-datepicker-content"},[t.hasSlot("header")?r("div",{class:t.prefixClass+"-datepicker-header"},[t._t("header",null,{value:t.currentValue,emit:t.emitValue})],2):t._e(),t._v(" "),r("div",{class:t.prefixClass+"-datepicker-body"},[t._t("content",[r(t.currentComponent,t._b({ref:"picker",tag:"component",on:{select:t.handleSelectDate}},"component",t.currentComponentProps,!1))],{value:t.currentValue,emit:t.emitValue})],2),t._v(" "),t.hasSlot("footer")||t.confirm?r("div",{class:t.prefixClass+"-datepicker-footer"},[t._t("footer",null,{value:t.currentValue,emit:t.emitValue}),t._v(" "),t.confirm?r("button",{class:t.prefixClass+"-btn "+t.prefixClass+"-datepicker-btn-confirm",attrs:{type:"button"},on:{click:t.handleConfirmDate}},[t._v("\n "+t._s(t.confirmText)+"\n ")]):t._e()],2):t._e()])])],1)},staticRenderFns:[]},void 0,{name:"DatePicker",components:{IconCalendar:ge,IconClose:be,Popup:he},provide:function(){return{t:this.getLocaleFieldValue,getWeek:this.getWeek,prefixClass:this.prefixClass}},props:b({},Re.props,{value:{},valueType:{type:String,default:"date"},type:{type:String,default:"date"},format:{type:[String,Object],default:function(){var e={date:"YYYY-MM-DD",datetime:"YYYY-MM-DD HH:mm:ss",year:"YYYY",month:"YYYY-MM",time:"HH:mm:ss",week:"w"};return e[this.type]||e.date}},range:{type:Boolean,default:!1},rangeSeparator:{type:String,default:" ~ "},lang:{type:[String,Object]},placeholder:{type:String,default:""},editable:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},prefixClass:{type:String,default:"mx"},inputClass:{default:function(){return"".concat(this.prefixClass,"-input")}},inputAttr:{type:Object,default:function(){return{}}},appendToBody:{type:Boolean,default:!0},open:{type:Boolean,default:void 0},popupClass:{},popupStyle:{type:Object,default:function(){return{}}},inline:{type:Boolean,default:!1},confirm:{type:Boolean,default:!1},confirmText:{type:String,default:"OK"},shortcuts:{type:Array,validator:function(e){return Array.isArray(e)&&e.every((function(e){return re(e)&&"string"==typeof e.text&&"function"==typeof e.onClick}))},default:function(){return[]}}}),data:function(){return{currentValue:null,userInput:null,defaultOpen:!1}},computed:{currentComponent:function(){var e=this.range?ze:Ue;return e[this.type]||e.default},currentComponentProps:function(){return b({},ae(this,Object.keys(this.currentComponent.props)),{value:this.currentValue})},popupVisible:function(){return!this.disabled&&("boolean"==typeof this.open?this.open:this.defaultOpen)},innerValue:function(){var e=this.value;return this.range?(e=Array.isArray(e)?e.slice(0,2):[null,null]).map(this.value2date):this.value2date(this.value)},text:function(){var e=this;if(null!==this.userInput)return this.userInput;if(!this.isValidValue(this.innerValue))return"";var t=this.format;return Array.isArray(this.innerValue)?this.innerValue.map((function(n){return e.formatDate(n,t)})).join(this.rangeSeparator):this.formatDate(this.innerValue,t)},showClearIcon:function(){return!this.disabled&&this.clearable&&this.text},locale:function(){return re(this.lang)?function e(t,n){if(!re(t))return{};var r=t;return re(n)&&Object.keys(n).forEach((function(a){var i=n[a];re(i)&&re(t[a])&&(i=e(t[a],i)),r=b({},r,m({},a,i))})),r}(pe(),this.lang):pe(this.lang)}},watch:{innerValue:{immediate:!0,handler:function(e){this.currentValue=e}}},methods:{handleClickOutSide:function(e){var t=e.target;this.$el.contains(t)||this.closePopup()},getWeek:function(e,t){return re(this.format)&&"function"==typeof this.format.getWeek?this.format.getWeek(e,t):k(e,t)},parseDate:function(e,t){if(re(this.format)&&"function"==typeof this.format.parse)return this.format.parse(e,t);var n=new Date;return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{var r=n.locale,a=void 0===r?T:r,i=n.backupDate,o=void 0===i?new Date:i,s=Z(e,t,a),c=s.year,l=s.month,u=s.day,p=s.hour,d=s.minute,f=s.second,h=s.millisecond,m=s.isPM,v=s.date,g=s.offset,b=s.weekday,A=s.week;if(v)return v;var y=[c,l,u,p,d,f,h];if(y[3]=Q(y[3],m),void 0!==A&&void 0===l&&void 0===u){var x=C(void 0===c?o:new Date(c,3),{firstDayOfWeek:a.firstDayOfWeek,firstWeekContainsDate:a.firstWeekContainsDate});return new Date(x.getTime()+7*(A-1)*24*3600*1e3)}var w=q.apply(void 0,L(W(y,o))),_=60*(void 0===g?w.getTimezoneOffset():g)*1e3,k=new Date(w.getTime()+_);return void 0!==b&&k.getDay()!==b?new Date(NaN):k}catch(e){return new Date(NaN)}}(e,t,{locale:this.locale.formatLocale,backupDate:n})},formatDate:function(e,t){return re(this.format)&&"function"==typeof this.format.stringify?this.format.stringify(e,t):N(e,t,{locale:this.locale.formatLocale})},value2date:function(e){switch(this.valueType){case"date":return e instanceof Date?new Date(e.getTime()):new Date(NaN);case"timestamp":return"number"==typeof e?new Date(e):new Date(NaN);case"format":return"string"==typeof e?this.parseDate(e,this.format):new Date(NaN);default:return"string"==typeof e?this.parseDate(e,this.valueType):new Date(NaN)}},date2value:function(e){if(!K(e))return null;switch(this.valueType){case"date":return e;case"timestamp":return e.getTime();case"format":return this.formatDate(e,this.format);default:return this.formatDate(e,this.valueType)}},emitValue:function(e,t){this.userInput=null;var n=Array.isArray(e)?e.map(this.date2value):this.date2value(e);return this.$emit("input",n),this.$emit("change",n,t),this.afterEmitValue(t),n},afterEmitValue:function(e){e&&e!==this.type&&"time"!==e||this.closePopup()},isValidValue:function(e){return(this.range?J:K)(e)},handleSelectDate:function(e,t){this.confirm?this.currentValue=e:this.emitValue(e,t)},handleClear:function(){this.emitValue(this.range?[null,null]:null),this.$emit("clear")},handleConfirmDate:function(){var e=this.emitValue(this.currentValue);this.$emit("confirm",e)},handleSelectShortcut:function(e){if(re(e)&&"function"==typeof e.onClick){var t=e.onClick(this);t&&this.emitValue(t)}},openPopup:function(){this.popupVisible||(this.defaultOpen=!0,this.$emit("open"),this.$emit("update:open",!0))},closePopup:function(){this.popupVisible&&(this.defaultOpen=!1,this.$emit("close"),this.$emit("update:open",!1))},blur:function(){this.$refs.input.blur()},focus:function(){this.$refs.input.focus()},handleInputChange:function(){var e=this;if(this.editable&&null!==this.userInput){var t=this.userInput.trim();if(this.userInput=null,""!==t){var n;if(this.range){var r=t.split(this.rangeSeparator);2!==r.length&&(r=t.split(this.rangeSeparator.trim())),n=r.map((function(t){return e.parseDate(t.trim(),e.format)}))}else n=this.parseDate(t,this.format);this.isValidValue(n)?(this.emitValue(n),this.blur()):this.$emit("input-error",t)}else this.handleClear()}},handleInputInput:function(e){this.userInput=e.target.value},handleInputKeydown:function(e){var t=e.keyCode;9===t?this.closePopup():13===t&&this.handleInputChange()},handleInputBlur:function(e){this.$emit("blur",e)},handleInputFocus:function(e){this.openPopup(),this.$emit("focus",e)},hasSlot:function(e){return!(!this.$slots[e]&&!this.$scopedSlots[e])},getLocaleFieldValue:function(e){return de(e,this.locale)}}},void 0,!1,void 0,!1,void 0,void 0,void 0);Ve.locale=ue,Ve.install=function(e){e.component(Ve.name,Ve)},"undefined"!=typeof window&&window.Vue&&Ve.install(window.Vue),v(Ve,{CalendarPanel:we,CalendarRange:_e,TimePanel:Ie,TimeRange:Ne,DatetimePanel:Re,DatetimeRange:$e});t.default=Ve},function(e,r,a){"use strict";a.r(r);var i=a(68),o=a(28),s=a(106),c=a(67),l=a(197),u=a.n(l);c.VTooltip.options.defaultHtml=!1;var p={name:"UpdateNotification",components:{Multiselect:s.Multiselect,PopoverMenu:s.PopoverMenu},directives:{ClickOutside:u.a,tooltip:c.VTooltip},data:function(){return{newVersionString:"",lastCheckedDate:"",isUpdateChecked:!1,updaterEnabled:!0,versionIsEol:!1,downloadLink:"",isNewVersionAvailable:!1,hasValidSubscription:!1,updateServerURL:"",changelogURL:"",whatsNewData:[],currentChannel:"",channels:[],notifyGroups:"",availableGroups:[],isDefaultUpdateServerURL:!0,enableChangeWatcher:!1,availableAppUpdates:[],missingAppUpdates:[],appStoreFailed:!1,appStoreDisabled:!1,isListFetched:!1,hideMissingUpdates:!1,hideAvailableUpdates:!0,openedWhatsNew:!1,openedUpdateChannelMenu:!1}},_$el:null,_$notifyGroups:null,computed:{newVersionAvailableString:function(){return t("updatenotification","A new version is available: <strong>{newVersionString}</strong>",{newVersionString:this.newVersionString})},lastCheckedOnString:function(){return t("updatenotification","Checked on {lastCheckedDate}",{lastCheckedDate:this.lastCheckedDate})},statusText:function(){return this.isListFetched?this.appStoreDisabled?t("updatenotification","Please make sure your config.php does not set <samp>appstoreenabled</samp> to false."):this.appStoreFailed?t("updatenotification","Could not connect to the appstore or the appstore returned no updates at all. Search manually for updates or make sure your server has access to the internet and can connect to the appstore."):0===this.missingAppUpdates.length?t("updatenotification","<strong>All</strong> apps have an update for this version available",this):n("updatenotification","<strong>%n</strong> app has no update for this version available","<strong>%n</strong> apps have no update for this version available",this.missingAppUpdates.length):t("updatenotification","Checking apps for compatible updates")},whatsNew:function(){if(0===this.whatsNewData.length)return null;var e=[];for(var n in this.whatsNewData)e[n]={icon:"icon-checkmark",longtext:this.whatsNewData[n]};return this.changelogURL&&e.push({href:this.changelogURL,text:t("updatenotification","View changelog"),icon:"icon-link",target:"_blank",action:""}),e},channelList:function(){var e=[];return e.push({text:t("updatenotification","Enterprise"),longtext:t("updatenotification","For enterprise use. Provides always the latest patch level, but will not update to the next major release immediately. That update happens once Nextcloud GmbH has done additional hardening and testing for large-scale and mission-critical deployments. This channel is only available to customers and provides the Nextcloud Enterprise package."),icon:"icon-star",active:"enterprise"===this.currentChannel,disabled:!this.hasValidSubscription,action:this.changeReleaseChannelToEnterprise}),e.push({text:t("updatenotification","Stable"),longtext:t("updatenotification","The most recent stable version. It is suited for regular use and will always update to the latest major version."),icon:"icon-checkmark",active:"stable"===this.currentChannel,action:this.changeReleaseChannelToStable}),e.push({text:t("updatenotification","Beta"),longtext:t("updatenotification","A pre-release version only for testing new features, not for production environments."),icon:"icon-category-customization",active:"beta"===this.currentChannel,action:this.changeReleaseChannelToBeta}),this.isNonDefaultChannel&&e.push({text:this.currentChannel,icon:"icon-rename",active:!0}),e},isNonDefaultChannel:function(){return"enterprise"!==this.currentChannel&&"stable"!==this.currentChannel&&"beta"!==this.currentChannel},localizedChannelName:function(){switch(this.currentChannel){case"enterprise":return t("updatenotification","Enterprise");case"stable":return t("updatenotification","Stable");case"beta":return t("updatenotification","Beta");default:return this.currentChannel}}},watch:{notifyGroups:function(e){if(this.enableChangeWatcher){var t=[];_.each(e,(function(e){t.push(e.value)})),OCP.AppConfig.setValue("updatenotification","notify_groups",JSON.stringify(t))}},isNewVersionAvailable:function(){this.isNewVersionAvailable&&$.ajax({url:Object(o.generateOcsUrl)("apps/updatenotification/api/v1/applist",2)+this.newVersion,type:"GET",beforeSend:function(e){e.setRequestHeader("Accept","application/json")},success:function(e){this.availableAppUpdates=e.ocs.data.available,this.missingAppUpdates=e.ocs.data.missing,this.isListFetched=!0,this.appStoreFailed=!1}.bind(this),error:function(e){this.availableAppUpdates=[],this.missingAppUpdates=[],this.appStoreDisabled=e.responseJSON.ocs.data.appstore_disabled,this.isListFetched=!0,this.appStoreFailed=!0}.bind(this)})}},beforeMount:function(){var e=JSON.parse($("#updatenotification").attr("data-json"));this.newVersion=e.newVersion,this.newVersionString=e.newVersionString,this.lastCheckedDate=e.lastChecked,this.isUpdateChecked=e.isUpdateChecked,this.updaterEnabled=e.updaterEnabled,this.downloadLink=e.downloadLink,this.isNewVersionAvailable=e.isNewVersionAvailable,this.updateServerURL=e.updateServerURL,this.currentChannel=e.currentChannel,this.channels=e.channels,this.notifyGroups=e.notifyGroups,this.isDefaultUpdateServerURL=e.isDefaultUpdateServerURL,this.versionIsEol=e.versionIsEol,this.hasValidSubscription=e.hasValidSubscription,e.changes&&e.changes.changelogURL&&(this.changelogURL=e.changes.changelogURL),e.changes&&e.changes.whatsNew&&(e.changes.whatsNew.admin&&(this.whatsNewData=this.whatsNewData.concat(e.changes.whatsNew.admin)),this.whatsNewData=this.whatsNewData.concat(e.changes.whatsNew.regular))},mounted:function(){this._$el=$(this.$el),this._$notifyGroups=this._$el.find("#oca_updatenotification_groups_list"),this._$notifyGroups.on("change",function(){this.$emit("input")}.bind(this)),$.ajax({url:Object(o.generateOcsUrl)("cloud",2)+"/groups",dataType:"json",success:function(e){var t=[];$.each(e.ocs.data.groups,(function(e,n){t.push({value:n,label:n})})),this.availableGroups=t,this.enableChangeWatcher=!0}.bind(this)})},methods:{clickUpdaterButton:function(){$.ajax({url:Object(o.generateUrl)("/apps/updatenotification/credentials")}).success((function(e){var t=document.createElement("form");t.setAttribute("method","post"),t.setAttribute("action",Object(o.getRootUrl)()+"/updater/");var n=document.createElement("input");n.setAttribute("type","hidden"),n.setAttribute("name","updater-secret-input"),n.setAttribute("value",e),t.appendChild(n),document.body.appendChild(t),t.submit()}))},changeReleaseChannelToEnterprise:function(){this.changeReleaseChannel("enterprise")},changeReleaseChannelToStable:function(){this.changeReleaseChannel("stable")},changeReleaseChannelToBeta:function(){this.changeReleaseChannel("beta")},changeReleaseChannel:function(e){this.currentChannel=e,$.ajax({url:Object(o.generateUrl)("/apps/updatenotification/channel"),type:"POST",data:{channel:this.currentChannel},success:function(e){OC.msg.finishedAction("#channel_save_msg",e)}}),this.openedUpdateChannelMenu=!1},toggleUpdateChannelMenu:function(){this.openedUpdateChannelMenu=!this.openedUpdateChannelMenu},toggleHideMissingUpdates:function(){this.hideMissingUpdates=!this.hideMissingUpdates},toggleHideAvailableUpdates:function(){this.hideAvailableUpdates=!this.hideAvailableUpdates},toggleMenu:function(){this.openedWhatsNew=!this.openedWhatsNew},closeUpdateChannelMenu:function(){this.openedUpdateChannelMenu=!1},hideMenu:function(){this.openedWhatsNew=!1}}};a(342),a(344);var d=function(e,t,n,r,a,i,o,s){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),o?(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__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=c):a&&(c=s?function(){a.call(this,this.$root.$options.shadowRoot)}:a),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 p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:l}}(p,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"followupsection",attrs:{id:"updatenotification"}},[n("div",{staticClass:"update"},[e.isNewVersionAvailable?[e.versionIsEol?n("p",[n("span",{staticClass:"warning"},[n("span",{staticClass:"icon icon-error-white"}),e._v("\n\t\t\t\t\t"+e._s(e.t("updatenotification","The version you are running is not maintained anymore. Please make sure to update to a supported version as soon as possible."))+"\n\t\t\t\t")])]):e._e(),e._v(" "),n("p",[n("span",{domProps:{innerHTML:e._s(e.newVersionAvailableString)}}),n("br"),e._v(" "),e.isListFetched?e._e():n("span",{staticClass:"icon icon-loading-small"}),e._v(" "),n("span",{domProps:{innerHTML:e._s(e.statusText)}})]),e._v(" "),e.missingAppUpdates.length?[n("h3",{on:{click:e.toggleHideMissingUpdates}},[e._v("\n\t\t\t\t\t"+e._s(e.t("updatenotification","Apps missing updates"))+"\n\t\t\t\t\t"),e.hideMissingUpdates?e._e():n("span",{staticClass:"icon icon-triangle-n"}),e._v(" "),e.hideMissingUpdates?n("span",{staticClass:"icon icon-triangle-s"}):e._e()]),e._v(" "),e.hideMissingUpdates?e._e():n("ul",{staticClass:"applist"},e._l(e.missingAppUpdates,(function(t,r){return n("li",{key:r},[n("a",{attrs:{href:"https://apps.nextcloud.com/apps/"+t.appId,title:e.t("settings","View in store")}},[e._v(e._s(t.appName)+" ↗")])])})),0)]:e._e(),e._v(" "),e.availableAppUpdates.length?[n("h3",{on:{click:e.toggleHideAvailableUpdates}},[e._v("\n\t\t\t\t\t"+e._s(e.t("updatenotification","Apps with available updates"))+"\n\t\t\t\t\t"),e.hideAvailableUpdates?e._e():n("span",{staticClass:"icon icon-triangle-n"}),e._v(" "),e.hideAvailableUpdates?n("span",{staticClass:"icon icon-triangle-s"}):e._e()]),e._v(" "),e.hideAvailableUpdates?e._e():n("ul",{staticClass:"applist"},e._l(e.availableAppUpdates,(function(t,r){return n("li",{key:r},[n("a",{attrs:{href:"https://apps.nextcloud.com/apps/"+t.appId,title:e.t("settings","View in store")}},[e._v(e._s(t.appName)+" ↗")])])})),0)]:e._e(),e._v(" "),n("div",[e.updaterEnabled?n("a",{staticClass:"button primary",attrs:{href:"#"},on:{click:e.clickUpdaterButton}},[e._v(e._s(e.t("updatenotification","Open updater")))]):e._e(),e._v(" "),e.downloadLink?n("a",{staticClass:"button",class:{hidden:!e.updaterEnabled},attrs:{href:e.downloadLink}},[e._v(e._s(e.t("updatenotification","Download now")))]):e._e(),e._v(" "),e.whatsNew?n("div",{staticClass:"whatsNew"},[n("div",{staticClass:"toggleWhatsNew"},[n("a",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.hideMenu,expression:"hideMenu"}],staticClass:"button",on:{click:e.toggleMenu}},[e._v(e._s(e.t("updatenotification","What's new?")))]),e._v(" "),n("div",{staticClass:"popovermenu",class:{"menu-center":!0,open:e.openedWhatsNew}},[n("PopoverMenu",{attrs:{menu:e.whatsNew}})],1)])]):e._e()])]:e.isUpdateChecked?[e._v("\n\t\t\t"+e._s(e.t("updatenotification","Your version is up to date."))+"\n\t\t\t"),n("span",{directives:[{name:"tooltip",rawName:"v-tooltip.auto",value:e.lastCheckedOnString,expression:"lastCheckedOnString",modifiers:{auto:!0}}],staticClass:"icon-info svg"})]:[e._v("\n\t\t\t"+e._s(e.t("updatenotification","The update check is not yet finished. Please refresh the page."))+"\n\t\t")],e._v(" "),e.isDefaultUpdateServerURL?e._e():[n("p",{staticClass:"topMargin"},[n("em",[e._v(e._s(e.t("updatenotification","A non-default update server is in use to be checked for updates:"))+" "),n("code",[e._v(e._s(e.updateServerURL))])])])]],2),e._v(" "),n("h3",{staticClass:"update-channel-selector"},[e._v("\n\t\t"+e._s(e.t("updatenotification","Update channel:"))+"\n\t\t"),n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeUpdateChannelMenu,expression:"closeUpdateChannelMenu"}],staticClass:"update-menu"},[n("span",{staticClass:"icon-update-menu",on:{click:e.toggleUpdateChannelMenu}},[e._v("\n\t\t\t\t"+e._s(e.localizedChannelName)+"\n\t\t\t\t"),n("span",{staticClass:"icon-triangle-s"})]),e._v(" "),n("div",{staticClass:"popovermenu menu menu-center",class:{"show-menu":e.openedUpdateChannelMenu}},[n("PopoverMenu",{attrs:{menu:e.channelList}})],1)])]),e._v(" "),n("span",{staticClass:"msg",attrs:{id:"channel_save_msg"}}),n("br"),e._v(" "),n("p",[n("em",[e._v(e._s(e.t("updatenotification","You can always update to a newer version. But you can never downgrade to a more stable version.")))]),n("br"),e._v(" "),n("em",[e._v(e._s(e.t("updatenotification","Note that after a new release it can take some time before it shows up here. We roll out new versions spread out over time to our users and sometimes skip a version when issues are found.")))])]),e._v(" "),n("p",{attrs:{id:"oca_updatenotification_groups"}},[e._v("\n\t\t"+e._s(e.t("updatenotification","Notify members of the following groups about available updates:"))+"\n\t\t"),n("Multiselect",{attrs:{options:e.availableGroups,multiple:!0,label:"label","track-by":"value","tag-width":75},model:{value:e.notifyGroups,callback:function(t){e.notifyGroups=t},expression:"notifyGroups"}}),n("br"),e._v(" "),"daily"===e.currentChannel||"git"===e.currentChannel?n("em",[e._v(e._s(e.t("updatenotification","Only notification for app updates are available.")))]):e._e(),e._v(" "),"daily"===e.currentChannel?n("em",[e._v(e._s(e.t("updatenotification","The selected update channel makes dedicated notifications for the server obsolete.")))]):e._e(),e._v(" "),"git"===e.currentChannel?n("em",[e._v(e._s(e.t("updatenotification","The selected update channel does not support updates of the server.")))]):e._e()],1)])}),[],!1,null,"d4a3f15a",null).exports; + * Licensed under the MIT license */!function(a,i,o,s){"use strict";var c,l=["","webkit","Moz","MS","ms","o"],u=i.createElement("div"),p=Math.round,d=Math.abs,f=Date.now;function h(e,t,n){return setTimeout(x(e,n),t)}function m(e,t,n){return!!Array.isArray(e)&&(v(e,n[t],n),!0)}function v(e,t,n){var r;if(e)if(e.forEach)e.forEach(t,n);else if(void 0!==e.length)for(r=0;r<e.length;)t.call(n,e[r],r,e),r++;else for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e)}function g(e,t,n){var r="DEPRECATED METHOD: "+t+"\n"+n+" AT \n";return function(){var t=new Error("get-stack-trace"),n=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",i=a.console&&(a.console.warn||a.console.log);return i&&i.call(a.console,r,n),e.apply(this,arguments)}}c="function"!=typeof Object.assign?function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var a in r)r.hasOwnProperty(a)&&(t[a]=r[a])}return t}:Object.assign;var b=g((function(e,t,n){for(var r=Object.keys(t),a=0;a<r.length;)(!n||n&&void 0===e[r[a]])&&(e[r[a]]=t[r[a]]),a++;return e}),"extend","Use `assign`."),A=g((function(e,t){return b(e,t,!0)}),"merge","Use `assign`.");function y(e,t,n){var r,a=t.prototype;(r=e.prototype=Object.create(a)).constructor=e,r._super=a,n&&c(r,n)}function x(e,t){return function(){return e.apply(t,arguments)}}function w(e,t){return"function"==typeof e?e.apply(t&&t[0]||void 0,t):e}function _(e,t){return void 0===e?t:e}function C(e,t,n){v(S(t),(function(t){e.addEventListener(t,n,!1)}))}function k(e,t,n){v(S(t),(function(t){e.removeEventListener(t,n,!1)}))}function T(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function E(e,t){return e.indexOf(t)>-1}function S(e){return e.trim().split(/\s+/g)}function M(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var r=0;r<e.length;){if(n&&e[r][n]==t||!n&&e[r]===t)return r;r++}return-1}function O(e){return Array.prototype.slice.call(e,0)}function I(e,t,n){for(var r=[],a=[],i=0;i<e.length;){var o=t?e[i][t]:e[i];M(a,o)<0&&r.push(e[i]),a[i]=o,i++}return n&&(r=t?r.sort((function(e,n){return e[t]>n[t]})):r.sort()),r}function N(e,t){for(var n,r,a=t[0].toUpperCase()+t.slice(1),i=0;i<l.length;){if((r=(n=l[i])?n+a:t)in e)return r;i++}}var L=1;function D(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||a}var P="ontouchstart"in a,j=void 0!==N(a,"PointerEvent"),B=P&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),F=["x","y"],R=["clientX","clientY"];function $(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){w(e.options.enable,[e])&&n.handler(t)},this.init()}function U(e,t,n){var r=n.pointers.length,a=n.changedPointers.length,i=1&t&&r-a==0,o=12&t&&r-a==0;n.isFirst=!!i,n.isFinal=!!o,i&&(e.session={}),n.eventType=t,function(e,t){var n=e.session,r=t.pointers,a=r.length;n.firstInput||(n.firstInput=z(t));a>1&&!n.firstMultiple?n.firstMultiple=z(t):1===a&&(n.firstMultiple=!1);var i=n.firstInput,o=n.firstMultiple,s=o?o.center:i.center,c=t.center=V(r);t.timeStamp=f(),t.deltaTime=t.timeStamp-i.timeStamp,t.angle=Q(s,c),t.distance=G(s,c),function(e,t){var n=t.center,r=e.offsetDelta||{},a=e.prevDelta||{},i=e.prevInput||{};1!==t.eventType&&4!==i.eventType||(a=e.prevDelta={x:i.deltaX||0,y:i.deltaY||0},r=e.offsetDelta={x:n.x,y:n.y});t.deltaX=a.x+(n.x-r.x),t.deltaY=a.y+(n.y-r.y)}(n,t),t.offsetDirection=H(t.deltaX,t.deltaY);var l=Y(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=l.x,t.overallVelocityY=l.y,t.overallVelocity=d(l.x)>d(l.y)?l.x:l.y,t.scale=o?(u=o.pointers,p=r,G(p[0],p[1],R)/G(u[0],u[1],R)):1,t.rotation=o?function(e,t){return Q(t[1],t[0],R)+Q(e[1],e[0],R)}(o.pointers,r):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,function(e,t){var n,r,a,i,o=e.lastInterval||t,s=t.timeStamp-o.timeStamp;if(8!=t.eventType&&(s>25||void 0===o.velocity)){var c=t.deltaX-o.deltaX,l=t.deltaY-o.deltaY,u=Y(s,c,l);r=u.x,a=u.y,n=d(u.x)>d(u.y)?u.x:u.y,i=H(c,l),e.lastInterval=t}else n=o.velocity,r=o.velocityX,a=o.velocityY,i=o.direction;t.velocity=n,t.velocityX=r,t.velocityY=a,t.direction=i}(n,t);var u,p;var h=e.element;T(t.srcEvent.target,h)&&(h=t.srcEvent.target);t.target=h}(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function z(e){for(var t=[],n=0;n<e.pointers.length;)t[n]={clientX:p(e.pointers[n].clientX),clientY:p(e.pointers[n].clientY)},n++;return{timeStamp:f(),pointers:t,center:V(t),deltaX:e.deltaX,deltaY:e.deltaY}}function V(e){var t=e.length;if(1===t)return{x:p(e[0].clientX),y:p(e[0].clientY)};for(var n=0,r=0,a=0;a<t;)n+=e[a].clientX,r+=e[a].clientY,a++;return{x:p(n/t),y:p(r/t)}}function Y(e,t,n){return{x:t/e||0,y:n/e||0}}function H(e,t){return e===t?1:d(e)>=d(t)?e<0?2:4:t<0?8:16}function G(e,t,n){n||(n=F);var r=t[n[0]]-e[n[0]],a=t[n[1]]-e[n[1]];return Math.sqrt(r*r+a*a)}function Q(e,t,n){n||(n=F);var r=t[n[0]]-e[n[0]],a=t[n[1]]-e[n[1]];return 180*Math.atan2(a,r)/Math.PI}$.prototype={handler:function(){},init:function(){this.evEl&&C(this.element,this.evEl,this.domHandler),this.evTarget&&C(this.target,this.evTarget,this.domHandler),this.evWin&&C(D(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&k(this.element,this.evEl,this.domHandler),this.evTarget&&k(this.target,this.evTarget,this.domHandler),this.evWin&&k(D(this.element),this.evWin,this.domHandler)}};var W={mousedown:1,mousemove:2,mouseup:4};function q(){this.evEl="mousedown",this.evWin="mousemove mouseup",this.pressed=!1,$.apply(this,arguments)}y(q,$,{handler:function(e){var t=W[e.type];1&t&&0===e.button&&(this.pressed=!0),2&t&&1!==e.which&&(t=4),this.pressed&&(4&t&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:"mouse",srcEvent:e}))}});var Z={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},X={2:"touch",3:"pen",4:"mouse",5:"kinect"},K="pointerdown",J="pointermove pointerup pointercancel";function ee(){this.evEl=K,this.evWin=J,$.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}a.MSPointerEvent&&!a.PointerEvent&&(K="MSPointerDown",J="MSPointerMove MSPointerUp MSPointerCancel"),y(ee,$,{handler:function(e){var t=this.store,n=!1,r=e.type.toLowerCase().replace("ms",""),a=Z[r],i=X[e.pointerType]||e.pointerType,o="touch"==i,s=M(t,e.pointerId,"pointerId");1&a&&(0===e.button||o)?s<0&&(t.push(e),s=t.length-1):12&a&&(n=!0),s<0||(t[s]=e,this.callback(this.manager,a,{pointers:t,changedPointers:[e],pointerType:i,srcEvent:e}),n&&t.splice(s,1))}});var te={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function ne(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,$.apply(this,arguments)}function re(e,t){var n=O(e.touches),r=O(e.changedTouches);return 12&t&&(n=I(n.concat(r),"identifier",!0)),[n,r]}y(ne,$,{handler:function(e){var t=te[e.type];if(1===t&&(this.started=!0),this.started){var n=re.call(this,e,t);12&t&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:e})}}});var ae={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function ie(){this.evTarget="touchstart touchmove touchend touchcancel",this.targetIds={},$.apply(this,arguments)}function oe(e,t){var n=O(e.touches),r=this.targetIds;if(3&t&&1===n.length)return r[n[0].identifier]=!0,[n,n];var a,i,o=O(e.changedTouches),s=[],c=this.target;if(i=n.filter((function(e){return T(e.target,c)})),1===t)for(a=0;a<i.length;)r[i[a].identifier]=!0,a++;for(a=0;a<o.length;)r[o[a].identifier]&&s.push(o[a]),12&t&&delete r[o[a].identifier],a++;return s.length?[I(i.concat(s),"identifier",!0),s]:void 0}y(ie,$,{handler:function(e){var t=ae[e.type],n=oe.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:e})}});function se(){$.apply(this,arguments);var e=x(this.handler,this);this.touch=new ie(this.manager,e),this.mouse=new q(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}function ce(e,t){1&e?(this.primaryTouch=t.changedPointers[0].identifier,le.call(this,t)):12&e&&le.call(this,t)}function le(e){var t=e.changedPointers[0];if(t.identifier===this.primaryTouch){var n={x:t.clientX,y:t.clientY};this.lastTouches.push(n);var r=this.lastTouches;setTimeout((function(){var e=r.indexOf(n);e>-1&&r.splice(e,1)}),2500)}}function ue(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var a=this.lastTouches[r],i=Math.abs(t-a.x),o=Math.abs(n-a.y);if(i<=25&&o<=25)return!0}return!1}y(se,$,{handler:function(e,t,n){var r="touch"==n.pointerType,a="mouse"==n.pointerType;if(!(a&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(r)ce.call(this,t,n);else if(a&&ue.call(this,n))return;this.callback(e,t,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var pe=N(u.style,"touchAction"),de=void 0!==pe,fe=function(){if(!de)return!1;var e={},t=a.CSS&&a.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){e[n]=!t||a.CSS.supports("touch-action",n)})),e}();function he(e,t){this.manager=e,this.set(t)}he.prototype={set:function(e){"compute"==e&&(e=this.compute()),de&&this.manager.element.style&&fe[e]&&(this.manager.element.style[pe]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return v(this.manager.recognizers,(function(t){w(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))})),function(e){if(E(e,"none"))return"none";var t=E(e,"pan-x"),n=E(e,"pan-y");if(t&&n)return"none";if(t||n)return t?"pan-x":"pan-y";if(E(e,"manipulation"))return"manipulation";return"auto"}(e.join(" "))},preventDefaults:function(e){var t=e.srcEvent,n=e.offsetDirection;if(this.manager.session.prevented)t.preventDefault();else{var r=this.actions,a=E(r,"none")&&!fe.none,i=E(r,"pan-y")&&!fe["pan-y"],o=E(r,"pan-x")&&!fe["pan-x"];if(a){var s=1===e.pointers.length,c=e.distance<2,l=e.deltaTime<250;if(s&&c&&l)return}if(!o||!i)return a||i&&6&n||o&&24&n?this.preventSrc(t):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};function me(e){this.options=c({},this.defaults,e||{}),this.id=L++,this.manager=null,this.options.enable=_(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function ve(e){return 16&e?"cancel":8&e?"end":4&e?"move":2&e?"start":""}function ge(e){return 16==e?"down":8==e?"up":2==e?"left":4==e?"right":""}function be(e,t){var n=t.manager;return n?n.get(e):e}function Ae(){me.apply(this,arguments)}function ye(){Ae.apply(this,arguments),this.pX=null,this.pY=null}function xe(){Ae.apply(this,arguments)}function we(){me.apply(this,arguments),this._timer=null,this._input=null}function _e(){Ae.apply(this,arguments)}function Ce(){Ae.apply(this,arguments)}function ke(){me.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Te(e,t){return(t=t||{}).recognizers=_(t.recognizers,Te.defaults.preset),new Ee(e,t)}me.prototype={defaults:{},set:function(e){return c(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(m(e,"recognizeWith",this))return this;var t=this.simultaneous;return t[(e=be(e,this)).id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return m(e,"dropRecognizeWith",this)||(e=be(e,this),delete this.simultaneous[e.id]),this},requireFailure:function(e){if(m(e,"requireFailure",this))return this;var t=this.requireFail;return-1===M(t,e=be(e,this))&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(m(e,"dropRequireFailure",this))return this;e=be(e,this);var t=M(this.requireFail,e);return t>-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var t=this,n=this.state;function r(n){t.manager.emit(n,e)}n<8&&r(t.options.event+ve(n)),r(t.options.event),e.additionalEvent&&r(e.additionalEvent),n>=8&&r(t.options.event+ve(n))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=32},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(33&this.requireFail[e].state))return!1;e++}return!0},recognize:function(e){var t=c({},e);if(!w(this.options.enable,[this,t]))return this.reset(),void(this.state=32);56&this.state&&(this.state=1),this.state=this.process(t),30&this.state&&this.tryEmit(t)},process:function(e){},getTouchAction:function(){},reset:function(){}},y(Ae,me,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,r=6&t,a=this.attrTest(e);return r&&(8&n||!a)?16|t:r||a?4&n?8|t:2&t?4|t:2:32}}),y(ye,Ae,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var e=this.options.direction,t=[];return 6&e&&t.push("pan-y"),24&e&&t.push("pan-x"),t},directionTest:function(e){var t=this.options,n=!0,r=e.distance,a=e.direction,i=e.deltaX,o=e.deltaY;return a&t.direction||(6&t.direction?(a=0===i?1:i<0?2:4,n=i!=this.pX,r=Math.abs(e.deltaX)):(a=0===o?1:o<0?8:16,n=o!=this.pY,r=Math.abs(e.deltaY))),e.direction=a,n&&r>t.threshold&&a&t.direction},attrTest:function(e){return Ae.prototype.attrTest.call(this,e)&&(2&this.state||!(2&this.state)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=ge(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),y(xe,Ae,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||2&this.state)},emit:function(e){if(1!==e.scale){var t=e.scale<1?"in":"out";e.additionalEvent=this.options.event+t}this._super.emit.call(this,e)}}),y(we,me,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance<t.threshold,a=e.deltaTime>t.time;if(this._input=e,!r||!n||12&e.eventType&&!a)this.reset();else if(1&e.eventType)this.reset(),this._timer=h((function(){this.state=8,this.tryEmit()}),t.time,this);else if(4&e.eventType)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(e){8===this.state&&(e&&4&e.eventType?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),y(_e,Ae,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||2&this.state)}}),y(Ce,Ae,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return ye.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return 30&n?t=e.overallVelocity:6&n?t=e.overallVelocityX:24&n&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&d(t)>this.options.velocity&&4&e.eventType},emit:function(e){var t=ge(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),y(ke,me,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance<t.threshold,a=e.deltaTime<t.time;if(this.reset(),1&e.eventType&&0===this.count)return this.failTimeout();if(r&&a&&n){if(4!=e.eventType)return this.failTimeout();var i=!this.pTime||e.timeStamp-this.pTime<t.interval,o=!this.pCenter||G(this.pCenter,e.center)<t.posThreshold;if(this.pTime=e.timeStamp,this.pCenter=e.center,o&&i?this.count+=1:this.count=1,this._input=e,0===this.count%t.taps)return this.hasRequireFailures()?(this._timer=h((function(){this.state=8,this.tryEmit()}),t.interval,this),2):8}return 32},failTimeout:function(){return this._timer=h((function(){this.state=32}),this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Te.VERSION="2.0.7",Te.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[_e,{enable:!1}],[xe,{enable:!1},["rotate"]],[Ce,{direction:6}],[ye,{direction:6},["swipe"]],[ke],[ke,{event:"doubletap",taps:2},["tap"]],[we]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function Ee(e,t){var n;this.options=c({},Te.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=new((n=this).options.inputClass||(j?ee:B?ie:P?se:q))(n,U),this.touchAction=new he(this,this.options.touchAction),Se(this,!0),v(this.options.recognizers,(function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])}),this)}function Se(e,t){var n,r=e.element;r.style&&(v(e.options.cssProps,(function(a,i){n=N(r.style,i),t?(e.oldCssProps[n]=r.style[n],r.style[n]=a):r.style[n]=e.oldCssProps[n]||""})),t||(e.oldCssProps={}))}Ee.prototype={set:function(e){return c(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?2:1},recognize:function(e){var t=this.session;if(!t.stopped){var n;this.touchAction.preventDefaults(e);var r=this.recognizers,a=t.curRecognizer;(!a||a&&8&a.state)&&(a=t.curRecognizer=null);for(var i=0;i<r.length;)n=r[i],2===t.stopped||a&&n!=a&&!n.canRecognizeWith(a)?n.reset():n.recognize(e),!a&&14&n.state&&(a=t.curRecognizer=n),i++}},get:function(e){if(e instanceof me)return e;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(m(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(m(e,"remove",this))return this;if(e=this.get(e)){var t=this.recognizers,n=M(t,e);-1!==n&&(t.splice(n,1),this.touchAction.update())}return this},on:function(e,t){if(void 0!==e&&void 0!==t){var n=this.handlers;return v(S(e),(function(e){n[e]=n[e]||[],n[e].push(t)})),this}},off:function(e,t){if(void 0!==e){var n=this.handlers;return v(S(e),(function(e){t?n[e]&&n[e].splice(M(n[e],t),1):delete n[e]})),this}},emit:function(e,t){this.options.domEvents&&function(e,t){var n=i.createEvent("Event");n.initEvent(e,!0,!0),n.gesture=t,t.target.dispatchEvent(n)}(e,t);var n=this.handlers[e]&&this.handlers[e].slice();if(n&&n.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var r=0;r<n.length;)n[r](t),r++}},destroy:function(){this.element&&Se(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},c(Te,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:Ee,Input:$,TouchAction:he,TouchInput:ie,MouseInput:q,PointerEventInput:ee,TouchMouseInput:se,SingleTouchInput:ne,Recognizer:me,AttrRecognizer:Ae,Tap:ke,Pan:ye,Swipe:Ce,Pinch:xe,Rotate:_e,Press:we,on:C,off:k,each:v,merge:A,extend:b,assign:c,inherit:y,bindFn:x,prefixed:N}),(void 0!==a?a:"undefined"!=typeof self?self:{}).Hammer=Te,void 0===(r=function(){return Te}.call(t,n,t,e))||(e.exports=r)}(window,document)},function(e,t,n){"use strict";var r=n(0),a=n(2),i=n(26),o=n(25),s=n(4),c=n(81),l=n(131),u=n(3),p=n(7),d=n(61),f=n(5),h=n(6),m=n(18),v=n(13),g=n(36),b=n(30),A=n(31),y=n(42),x=n(39),w=n(319),_=n(88),C=n(23),k=n(8),T=n(57),E=n(16),S=n(9),M=n(78),O=n(56),I=n(37),N=n(55),L=n(1),D=n(189),P=n(190),j=n(27),B=n(19),F=n(32).forEach,R=O("hidden"),$=L("toPrimitive"),U=B.set,z=B.getterFor("Symbol"),V=Object.prototype,Y=a.Symbol,H=i("JSON","stringify"),G=C.f,Q=k.f,W=w.f,q=T.f,Z=M("symbols"),X=M("op-symbols"),K=M("string-to-symbol-registry"),J=M("symbol-to-string-registry"),ee=M("wks"),te=a.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=s&&u((function(){return 7!=A(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=G(V,t);r&&delete V[t],Q(e,t,n),r&&e!==V&&Q(V,t,r)}:Q,ae=function(e,t){var n=Z[e]=A(Y.prototype);return U(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},ie=l?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof Y},oe=function(e,t,n){e===V&&oe(X,t,n),h(e);var r=g(t,!0);return h(n),p(Z,r)?(n.enumerable?(p(e,R)&&e[R][r]&&(e[R][r]=!1),n=A(n,{enumerable:b(0,!1)})):(p(e,R)||Q(e,R,b(1,{})),e[R][r]=!0),re(e,r,n)):Q(e,r,n)},se=function(e,t){h(e);var n=v(t),r=y(n).concat(pe(n));return F(r,(function(t){s&&!ce.call(n,t)||oe(e,t,n[t])})),e},ce=function(e){var t=g(e,!0),n=q.call(this,t);return!(this===V&&p(Z,t)&&!p(X,t))&&(!(n||!p(this,t)||!p(Z,t)||p(this,R)&&this[R][t])||n)},le=function(e,t){var n=v(e),r=g(t,!0);if(n!==V||!p(Z,r)||p(X,r)){var a=G(n,r);return!a||!p(Z,r)||p(n,R)&&n[R][r]||(a.enumerable=!0),a}},ue=function(e){var t=W(v(e)),n=[];return F(t,(function(e){p(Z,e)||p(I,e)||n.push(e)})),n},pe=function(e){var t=e===V,n=W(t?X:v(e)),r=[];return F(n,(function(e){!p(Z,e)||t&&!p(V,e)||r.push(Z[e])})),r};(c||(S((Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=N(e),n=function(e){this===V&&n.call(X,e),p(this,R)&&p(this[R],t)&&(this[R][t]=!1),re(this,t,b(1,e))};return s&&ne&&re(V,t,{configurable:!0,set:n}),ae(t,e)}).prototype,"toString",(function(){return z(this).tag})),S(Y,"withoutSetter",(function(e){return ae(N(e),e)})),T.f=ce,k.f=oe,C.f=le,x.f=w.f=ue,_.f=pe,D.f=function(e){return ae(L(e),e)},s&&(Q(Y.prototype,"description",{configurable:!0,get:function(){return z(this).description}}),o||S(V,"propertyIsEnumerable",ce,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:Y}),F(y(ee),(function(e){P(e)})),r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=String(e);if(p(K,t))return K[t];var n=Y(t);return K[t]=n,J[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(p(J,e))return J[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(e,t){return void 0===t?A(e):se(A(e),t)},defineProperty:oe,defineProperties:se,getOwnPropertyDescriptor:le}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ue,getOwnPropertySymbols:pe}),r({target:"Object",stat:!0,forced:u((function(){_.f(1)}))},{getOwnPropertySymbols:function(e){return _.f(m(e))}}),H)&&r({target:"JSON",stat:!0,forced:!c||u((function(){var e=Y();return"[null]"!=H([e])||"{}"!=H({a:e})||"{}"!=H(Object(e))}))},{stringify:function(e,t,n){for(var r,a=[e],i=1;arguments.length>i;)a.push(arguments[i++]);if(r=t,(f(t)||void 0!==e)&&!ie(e))return d(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ie(t))return t}),a[1]=t,H.apply(null,a)}});Y.prototype[$]||E(Y.prototype,$,Y.prototype.valueOf),j(Y,"Symbol"),I[R]=!0},function(e,t,n){var r=n(13),a=n(39).f,i={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==i.call(e)?function(e){try{return a(e)}catch(e){return o.slice()}}(e):a(r(e))}},function(e,t,n){"use strict";var r=n(98),a=n(6),i=n(14),o=n(21),s=n(153),c=n(99);r("match",1,(function(e,t,n){return[function(t){var n=o(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var o=a(e),l=String(this);if(!o.global)return c(o,l);var u=o.unicode;o.lastIndex=0;for(var p,d=[],f=0;null!==(p=c(o,l));){var h=String(p[0]);d[f]=h,""===h&&(o.lastIndex=s(l,i(o.lastIndex),u)),f++}return 0===f?null:d}]}))},function(e,t,n){"use strict";var r,a=n(0),i=n(23).f,o=n(14),s=n(191),c=n(21),l=n(193),u=n(25),p="".startsWith,d=Math.min,f=l("startsWith");a({target:"String",proto:!0,forced:!!(u||f||(r=i(String.prototype,"startsWith"),!r||r.writable))&&!f},{startsWith:function(e){var t=String(c(this));s(e);var n=o(d(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return p?p.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";var r=n(0),a=n(5),i=n(61),o=n(86),s=n(14),c=n(13),l=n(47),u=n(1),p=n(45),d=n(17),f=p("slice"),h=d("slice",{ACCESSORS:!0,0:0,1:2}),m=u("species"),v=[].slice,g=Math.max;r({target:"Array",proto:!0,forced:!f||!h},{slice:function(e,t){var n,r,u,p=c(this),d=s(p.length),f=o(e,d),h=o(void 0===t?d:t,d);if(i(p)&&("function"!=typeof(n=p.constructor)||n!==Array&&!i(n.prototype)?a(n)&&null===(n=n[m])&&(n=void 0):n=void 0,n===Array||void 0===n))return v.call(p,f,h);for(r=new(void 0===n?Array:n)(g(h-f,0)),u=0;f<h;f++,u++)f in p&&l(r,u,p[f]);return r.length=u,r}})},function(e,t,n){"use strict";var r=n(0),a=n(4),i=n(2),o=n(7),s=n(5),c=n(8).f,l=n(132),u=i.Symbol;if(a&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var p={},d=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof d?new u(e):void 0===e?u():u(e);return""===e&&(p[t]=!0),t};l(d,u);var f=d.prototype=u.prototype;f.constructor=d;var h=f.toString,m="Symbol(test)"==String(u("test")),v=/^Symbol\((.*)\)[^)]+$/;c(f,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=h.call(e);if(o(p,e))return"";var n=m?t.slice(7,-1):t.replace(v,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:d})}},function(e,t,n){"use strict";var r=n(98),a=n(6),i=n(21),o=n(325),s=n(99);r("search",1,(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=a(e),c=String(this),l=i.lastIndex;o(l,0)||(i.lastIndex=0);var u=s(i,c);return o(i.lastIndex,l)||(i.lastIndex=l),null===u?-1:u.index}]}))},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=60)}([function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(49)("wks"),a=n(30),i=n(0).Symbol,o="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=o&&i[e]||(o?i:a)("Symbol."+e))}).store=r},function(e,t,n){var r=n(5);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){var r=n(0),a=n(10),i=n(8),o=n(6),s=n(11),c=function(e,t,n){var l,u,p,d,f=e&c.F,h=e&c.G,m=e&c.S,v=e&c.P,g=e&c.B,b=h?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,A=h?a:a[t]||(a[t]={}),y=A.prototype||(A.prototype={});for(l in h&&(n=t),n)p=((u=!f&&b&&void 0!==b[l])?b:n)[l],d=g&&u?s(p,r):v&&"function"==typeof p?s(Function.call,p):p,b&&o(b,l,p,e&c.U),A[l]!=p&&i(A,l,d),v&&y[l]!=p&&(y[l]=p)};r.core=a,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){e.exports=!n(7)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(0),a=n(8),i=n(12),o=n(30)("src"),s=Function.toString,c=(""+s).split("toString");n(10).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var l="function"==typeof n;l&&(i(n,"name")||a(n,"name",t)),e[t]!==n&&(l&&(i(n,o)||a(n,o,e[t]?""+e[t]:c.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:a(e,t,n):(delete e[t],a(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[o]||s.call(this)}))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(13),a=n(25);e.exports=n(4)?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(14);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(2),a=n(41),i=n(29),o=Object.defineProperty;t.f=n(4)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),a)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports={}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";var r=n(7);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){var r=n(23),a=n(16);e.exports=function(e){return r(a(e))}},function(e,t,n){var r=n(53),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},function(e,t,n){var r=n(11),a=n(23),i=n(28),o=n(19),s=n(64);e.exports=function(e,t){var n=1==e,c=2==e,l=3==e,u=4==e,p=6==e,d=5==e||p,f=t||s;return function(t,s,h){for(var m,v,g=i(t),b=a(g),A=r(s,h,3),y=o(b.length),x=0,w=n?f(t,y):c?f(t,0):void 0;y>x;x++)if((d||x in b)&&(v=A(m=b[x],x,g),e))if(n)w[x]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return x;case 2:w.push(m)}else if(u)return!1;return p?-1:l||u?u:w}}},function(e,t,n){var r=n(5),a=n(0).document,i=r(a)&&r(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(9);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){e.exports=!1},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(13).f,a=n(12),i=n(1)("toStringTag");e.exports=function(e,t,n){e&&!a(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(49)("keys"),a=n(30);e.exports=function(e){return r[e]||(r[e]=a(e))}},function(e,t,n){var r=n(16);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(5);e.exports=function(e,t){if(!r(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!r(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){"use strict";var r=n(0),a=n(12),i=n(9),o=n(67),s=n(29),c=n(7),l=n(77).f,u=n(45).f,p=n(13).f,d=n(51).trim,f=r.Number,h=f,m=f.prototype,v="Number"==i(n(44)(m)),g="trim"in String.prototype,b=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){var n,r,a,i=(t=g?t.trim():d(t,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:r=2,a=49;break;case 79:case 111:r=8,a=55;break;default:return+t}for(var o,c=t.slice(2),l=0,u=c.length;l<u;l++)if((o=c.charCodeAt(l))<48||o>a)return NaN;return parseInt(c,r)}}return+t};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof f&&(v?c((function(){m.valueOf.call(n)})):"Number"!=i(n))?o(new h(b(t)),n,f):b(t)};for(var A,y=n(4)?l(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;y.length>x;x++)a(h,A=y[x])&&!a(f,A)&&p(f,A,u(h,A));f.prototype=m,m.constructor=f,n(6)(r,"Number",f)}},function(e,t,n){"use strict";function r(e){return!(0===e||(!Array.isArray(e)||0!==e.length)&&e)}function a(e,t,n,r){return e.filter((function(e){return function(e,t){return void 0===e&&(e="undefined"),null===e&&(e="null"),!1===e&&(e="false"),-1!==e.toString().toLowerCase().indexOf(t.trim())}(r(e,n),t)}))}function i(e){return e.filter((function(e){return!e.$isLabel}))}function o(e,t){return function(n){return n.reduce((function(n,r){return r[e]&&r[e].length?(n.push({$groupLabel:r[t],$isLabel:!0}),n.concat(r[e])):n}),[])}}function s(e,t,r,i,o){return function(s){return s.map((function(s){var c;if(!s[r])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];var l=a(s[r],e,t,o);return l.length?(c={},n.i(d.a)(c,i,s[i]),n.i(d.a)(c,r,l),c):[]}))}}var c=n(59),l=n(54),u=(n.n(l),n(95)),p=(n.n(u),n(31)),d=(n.n(p),n(58)),f=n(91),h=(n.n(f),n(98)),m=(n.n(h),n(92)),v=(n.n(m),n(88)),g=(n.n(v),n(97)),b=(n.n(g),n(89)),A=(n.n(b),n(96)),y=(n.n(A),n(93)),x=(n.n(y),n(90)),w=(n.n(x),function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce((function(e,t){return t(e)}),e)}});t.a={data:function(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},value:{type:null,default:function(){return[]}},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default:function(e,t){return r(e)?"":t?e[t]:e}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default:function(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1}},mounted:function(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue:function(){return this.value||0===this.value?Array.isArray(this.value)?this.value:[this.value]:[]},filteredOptions:function(){var e=this.search||"",t=e.toLowerCase().trim(),n=this.options.concat();return n=this.internalSearch?this.groupValues?this.filterAndFlat(n,t,this.label):a(n,t,this.label,this.customLabel):this.groupValues?o(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(function(e){return function(){return!e.apply(void 0,arguments)}}(this.isSelected)):n,this.taggable&&t.length&&!this.isExistingOption(t)&&("bottom"===this.tagPosition?n.push({isTag:!0,label:e}):n.unshift({isTag:!0,label:e})),n.slice(0,this.optionsLimit)},valueKeys:function(){var e=this;return this.trackBy?this.internalValue.map((function(t){return t[e.trackBy]})):this.internalValue},optionKeys:function(){var e=this;return(this.groupValues?this.flatAndStrip(this.options):this.options).map((function(t){return e.customLabel(t,e.label).toString().toLowerCase()}))},currentOptionLabel:function(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:function(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("input",this.multiple?[]:null))},search:function(){this.$emit("search-change",this.search,this.id)}},methods:{getValue:function(){return this.multiple?this.internalValue:0===this.internalValue.length?null:this.internalValue[0]},filterAndFlat:function(e,t,n){return w(s(t,n,this.groupValues,this.groupLabel,this.customLabel),o(this.groupValues,this.groupLabel))(e)},flatAndStrip:function(e){return w(o(this.groupValues,this.groupLabel),i)(e)},updateSearch:function(e){this.search=e},isExistingOption:function(e){return!!this.options&&this.optionKeys.indexOf(e)>-1},isSelected:function(e){var t=this.trackBy?e[this.trackBy]:e;return this.valueKeys.indexOf(t)>-1},isOptionDisabled:function(e){return!!e.$isDisabled},getOptionLabel:function(e){if(r(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;var t=this.customLabel(e,this.label);return r(t)?"":t},select:function(e,t){if(e.$isLabel&&this.groupSelect)this.selectGroup(e);else if(!(-1!==this.blockKeys.indexOf(t)||this.disabled||e.$isDisabled||e.$isLabel)&&(!this.max||!this.multiple||this.internalValue.length!==this.max)&&("Tab"!==t||this.pointerDirty)){if(e.isTag)this.$emit("tag",e.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(e))return void("Tab"!==t&&this.removeElement(e));this.$emit("select",e,this.id),this.multiple?this.$emit("input",this.internalValue.concat([e]),this.id):this.$emit("input",e,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup:function(e){var t=this,n=this.options.find((function(n){return n[t.groupLabel]===e.$groupLabel}));if(n)if(this.wholeGroupSelected(n)){this.$emit("remove",n[this.groupValues],this.id);var r=this.internalValue.filter((function(e){return-1===n[t.groupValues].indexOf(e)}));this.$emit("input",r,this.id)}else{var a=n[this.groupValues].filter((function(e){return!(t.isOptionDisabled(e)||t.isSelected(e))}));this.$emit("select",a,this.id),this.$emit("input",this.internalValue.concat(a),this.id)}},wholeGroupSelected:function(e){var t=this;return e[this.groupValues].every((function(e){return t.isSelected(e)||t.isOptionDisabled(e)}))},wholeGroupDisabled:function(e){return e[this.groupValues].every(this.isOptionDisabled)},removeElement:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!this.disabled&&!e.$isDisabled){if(!this.allowEmpty&&this.internalValue.length<=1)return void this.deactivate();var r="object"===n.i(c.a)(e)?this.valueKeys.indexOf(e[this.trackBy]):this.valueKeys.indexOf(e);if(this.$emit("remove",e,this.id),this.multiple){var a=this.internalValue.slice(0,r).concat(this.internalValue.slice(r+1));this.$emit("input",a,this.id)}else this.$emit("input",null,this.id);this.closeOnSelect&&t&&this.deactivate()}},removeLastElement:function(){-1===this.blockKeys.indexOf("Delete")&&0===this.search.length&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate:function(){var e=this;this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&0===this.pointer&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.$nextTick((function(){return e.$refs.search.focus()}))):this.$el.focus(),this.$emit("open",this.id))},deactivate:function(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search.blur():this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle:function(){this.isOpen?this.deactivate():this.activate()},adjustPosition:function(){if("undefined"!=typeof window){var e=this.$el.getBoundingClientRect().top,t=window.innerHeight-this.$el.getBoundingClientRect().bottom;t>this.maxHeight||t>e||"below"===this.openDirection||"bottom"===this.openDirection?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(t-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(e-40,this.maxHeight))}}}}},function(e,t,n){"use strict";var r=n(54),a=(n.n(r),n(31));n.n(a),t.a={data:function(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition:function(){return this.pointer*this.optionHeight},visibleElements:function(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions:function(){this.pointerAdjust()},isOpen:function(){this.pointerDirty=!1}},methods:{optionHighlight:function(e,t){return{"multiselect__option--highlight":e===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(t)}},groupHighlight:function(e,t){var n=this;if(!this.groupSelect)return["multiselect__option--group","multiselect__option--disabled"];var r=this.options.find((function(e){return e[n.groupLabel]===t.$groupLabel}));return r&&!this.wholeGroupDisabled(r)?["multiselect__option--group",{"multiselect__option--highlight":e===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(r)}]:"multiselect__option--disabled"},addPointerElement:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Enter",t=e.key;this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],t),this.pointerReset()},pointerForward:function(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward:function(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset:function(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust:function(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet:function(e){this.pointer=e,this.pointerDirty=!0}}}},function(e,t,n){"use strict";var r=n(36),a=n(74),i=n(15),o=n(18);e.exports=n(72)(Array,"Array",(function(e,t){this._t=o(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,a(1)):a(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var r=n(31),a=(n.n(r),n(32)),i=n(33);t.a={name:"vue-multiselect",mixins:[a.a,i.a],props:{name:{type:String,default:""},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:function(e){return"and ".concat(e," more")}},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{isSingleLabelVisible:function(){return(this.singleValue||0===this.singleValue)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible:function(){return!(this.internalValue.length||this.searchable&&this.isOpen)},visibleValues:function(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue:function(){return this.internalValue[0]},deselectLabelText:function(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText:function(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText:function(){return this.showLabels?this.selectLabel:""},selectGroupLabelText:function(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText:function(){return this.showLabels?this.selectedLabel:""},inputStyle:function(){if(this.searchable||this.multiple&&this.value&&this.value.length)return this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}},contentStyle:function(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove:function(){return"above"===this.openDirection||"top"===this.openDirection||"below"!==this.openDirection&&"bottom"!==this.openDirection&&"above"===this.preferredOpenDirection},showSearchInput:function(){return this.searchable&&(!this.hasSingleSelectedSlot||!this.visibleSingleValue&&0!==this.visibleSingleValue||this.isOpen)}}}},function(e,t,n){var r=n(1)("unscopables"),a=Array.prototype;null==a[r]&&n(8)(a,r,{}),e.exports=function(e){a[r][e]=!0}},function(e,t,n){var r=n(18),a=n(19),i=n(85);e.exports=function(e){return function(t,n,o){var s,c=r(t),l=a(c.length),u=i(o,l);if(e&&n!=n){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(9),a=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?n:i?r(t):"Object"==(o=r(t))&&"function"==typeof t.callee?"Arguments":o}},function(e,t,n){"use strict";var r=n(2);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){var r=n(0).document;e.exports=r&&r.documentElement},function(e,t,n){e.exports=!n(4)&&!n(7)((function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(9);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){"use strict";function r(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=a(t),this.reject=a(n)}var a=n(14);e.exports.f=function(e){return new r(e)}},function(e,t,n){var r=n(2),a=n(76),i=n(22),o=n(27)("IE_PROTO"),s=function(){},c=function(){var e,t=n(21)("iframe"),r=i.length;for(t.style.display="none",n(40).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c.prototype[i[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[o]=e):n=c(),void 0===t?n:a(n,t)}},function(e,t,n){var r=n(79),a=n(25),i=n(18),o=n(29),s=n(12),c=n(41),l=Object.getOwnPropertyDescriptor;t.f=n(4)?l:function(e,t){if(e=i(e),t=o(t,!0),c)try{return l(e,t)}catch(e){}if(s(e,t))return a(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(12),a=n(18),i=n(37)(!1),o=n(27)("IE_PROTO");e.exports=function(e,t){var n,s=a(e),c=0,l=[];for(n in s)n!=o&&r(s,n)&&l.push(n);for(;t.length>c;)r(s,n=t[c++])&&(~i(l,n)||l.push(n));return l}},function(e,t,n){var r=n(46),a=n(22);e.exports=Object.keys||function(e){return r(e,a)}},function(e,t,n){var r=n(2),a=n(5),i=n(43);e.exports=function(e,t){if(r(e),a(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var r=n(10),a=n(0),i=a["__core-js_shared__"]||(a["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(24)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(2),a=n(14),i=n(1)("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||null==(n=r(o)[i])?t:a(n)}},function(e,t,n){var r=n(3),a=n(16),i=n(7),o=n(84),s="["+o+"]",c=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),u=function(e,t,n){var a={},s=i((function(){return!!o[e]()||"
"!="
"[e]()})),c=a[e]=s?t(p):o[e];n&&(a[n]=c),r(r.P+r.F*s,"String",a)},p=u.trim=function(e,t){return e=String(a(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(l,"")),e};e.exports=u},function(e,t,n){var r,a,i,o=n(11),s=n(68),c=n(40),l=n(21),u=n(0),p=u.process,d=u.setImmediate,f=u.clearImmediate,h=u.MessageChannel,m=u.Dispatch,v=0,g={},b=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},A=function(e){b.call(e.data)};d&&f||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++v]=function(){s("function"==typeof e?e:Function(e),t)},r(v),v},f=function(e){delete g[e]},"process"==n(9)(p)?r=function(e){p.nextTick(o(b,e,1))}:m&&m.now?r=function(e){m.now(o(b,e,1))}:h?(i=(a=new h).port2,a.port1.onmessage=A,r=o(i.postMessage,i,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",A,!1)):r="onreadystatechange"in l("script")?function(e){c.appendChild(l("script")).onreadystatechange=function(){c.removeChild(this),b.call(e)}}:function(e){setTimeout(o(b,e,1),0)}),e.exports={set:d,clear:f}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){"use strict";var r=n(3),a=n(20)(5),i=!0;"find"in[]&&Array(1).find((function(){i=!1})),r(r.P+r.F*i,"Array",{find:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),n(36)("find")},function(e,t,n){"use strict";var r,a,i,o,s=n(24),c=n(0),l=n(11),u=n(38),p=n(3),d=n(5),f=n(14),h=n(61),m=n(66),v=n(50),g=n(52).set,b=n(75)(),A=n(43),y=n(80),x=n(86),w=n(48),_=c.TypeError,C=c.process,k=C&&C.versions,T=k&&k.v8||"",E=c.Promise,S="process"==u(C),M=function(){},O=a=A.f,I=!!function(){try{var e=E.resolve(1),t=(e.constructor={})[n(1)("species")]=function(e){e(M,M)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(M)instanceof t&&0!==T.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(e){}}(),N=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},L=function(e,t){if(!e._n){e._n=!0;var n=e._c;b((function(){for(var r=e._v,a=1==e._s,i=0;n.length>i;)!function(t){var n,i,o,s=a?t.ok:t.fail,c=t.resolve,l=t.reject,u=t.domain;try{s?(a||(2==e._h&&j(e),e._h=1),!0===s?n=r:(u&&u.enter(),n=s(r),u&&(u.exit(),o=!0)),n===t.promise?l(_("Promise-chain cycle")):(i=N(n))?i.call(n,c,l):c(n)):l(r)}catch(e){u&&!o&&u.exit(),l(e)}}(n[i++]);e._c=[],e._n=!1,t&&!e._h&&D(e)}))}},D=function(e){g.call(c,(function(){var t,n,r,a=e._v,i=P(e);if(i&&(t=y((function(){S?C.emit("unhandledRejection",a,e):(n=c.onunhandledrejection)?n({promise:e,reason:a}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",a)})),e._h=S||P(e)?2:1),e._a=void 0,i&&t.e)throw t.v}))},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},j=function(e){g.call(c,(function(){var t;S?C.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})}))},B=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),L(t,!0))},F=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(t=N(e))?b((function(){var r={_w:n,_d:!1};try{t.call(e,l(F,r,1),l(B,r,1))}catch(e){B.call(r,e)}})):(n._v=e,n._s=1,L(n,!1))}catch(e){B.call({_w:n,_d:!1},e)}}};I||(E=function(e){h(this,E,"Promise","_h"),f(e),r.call(this);try{e(l(F,this,1),l(B,this,1))}catch(e){B.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(81)(E.prototype,{then:function(e,t){var n=O(v(this,E));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=S?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&L(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=l(F,e,1),this.reject=l(B,e,1)},A.f=O=function(e){return e===E||e===o?new i(e):a(e)}),p(p.G+p.W+p.F*!I,{Promise:E}),n(26)(E,"Promise"),n(83)("Promise"),o=n(10).Promise,p(p.S+p.F*!I,"Promise",{reject:function(e){var t=O(this);return(0,t.reject)(e),t.promise}}),p(p.S+p.F*(s||!I),"Promise",{resolve:function(e){return w(s&&this===o?E:this,e)}}),p(p.S+p.F*!(I&&n(73)((function(e){E.all(e).catch(M)}))),"Promise",{all:function(e){var t=this,n=O(t),r=n.resolve,a=n.reject,i=y((function(){var n=[],i=0,o=1;m(e,!1,(function(e){var s=i++,c=!1;n.push(void 0),o++,t.resolve(e).then((function(e){c||(c=!0,n[s]=e,--o||r(n))}),a)})),--o||r(n)}));return i.e&&a(i.v),n.promise},race:function(e){var t=this,n=O(t),r=n.reject,a=y((function(){m(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return a.e&&r(a.v),n.promise}})},function(e,t,n){"use strict";var r=n(3),a=n(10),i=n(0),o=n(50),s=n(48);r(r.P+r.R,"Promise",{finally:function(e){var t=o(this,a.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}})},function(e,t,n){"use strict";var r=n(35),a=n(101),i=function(e){n(99)},o=n(100)(r.a,a.a,!1,i,null,null);t.a=o.exports},function(e,t,n){"use strict";t.a=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";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 a(e){return(a="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}t.a=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(34),a=(n.n(r),n(55)),i=(n.n(a),n(56)),o=(n.n(i),n(57)),s=n(32),c=n(33);n.d(t,"Multiselect",(function(){return o.a})),n.d(t,"multiselectMixin",(function(){return s.a})),n.d(t,"pointerMixin",(function(){return c.a})),t.default=o.a},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(14),a=n(28),i=n(23),o=n(19);e.exports=function(e,t,n,s,c){r(t);var l=a(e),u=i(l),p=o(l.length),d=c?p-1:0,f=c?-1:1;if(n<2)for(;;){if(d in u){s=u[d],d+=f;break}if(d+=f,c?d<0:p<=d)throw TypeError("Reduce of empty array with no initial value")}for(;c?d>=0:p>d;d+=f)d in u&&(s=t(s,u[d],d,l));return s}},function(e,t,n){var r=n(5),a=n(42),i=n(1)("species");e.exports=function(e){var t;return a(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!a(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var r=n(63);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){"use strict";var r=n(8),a=n(6),i=n(7),o=n(16),s=n(1);e.exports=function(e,t,n){var c=s(e),l=n(o,c,""[e]),u=l[0],p=l[1];i((function(){var t={};return t[c]=function(){return 7},7!=""[e](t)}))&&(a(String.prototype,e,u),r(RegExp.prototype,c,2==t?function(e,t){return p.call(e,this,t)}:function(e){return p.call(e,this)}))}},function(e,t,n){var r=n(11),a=n(70),i=n(69),o=n(2),s=n(19),c=n(87),l={},u={};(t=e.exports=function(e,t,n,p,d){var f,h,m,v,g=d?function(){return e}:c(e),b=r(n,p,t?2:1),A=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(i(g)){for(f=s(e.length);f>A;A++)if((v=t?b(o(h=e[A])[0],h[1]):b(e[A]))===l||v===u)return v}else for(m=g.call(e);!(h=m.next()).done;)if((v=a(m,b,h.value,t))===l||v===u)return v}).BREAK=l,t.RETURN=u},function(e,t,n){var r=n(5),a=n(82).set;e.exports=function(e,t,n){var i,o=t.constructor;return o!==n&&"function"==typeof o&&(i=o.prototype)!==n.prototype&&r(i)&&a&&a(e,i),e}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(15),a=n(1)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[a]===e)}},function(e,t,n){var r=n(2);e.exports=function(e,t,n,a){try{return a?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){"use strict";var r=n(44),a=n(25),i=n(26),o={};n(8)(o,n(1)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(o,{next:a(1,n)}),i(e,t+" Iterator")}},function(e,t,n){"use strict";var r=n(24),a=n(3),i=n(6),o=n(8),s=n(15),c=n(71),l=n(26),u=n(78),p=n(1)("iterator"),d=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,n,h,m,v,g){c(n,t,h);var b,A,y,x=function(e){if(!d&&e in k)return k[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",_="values"==m,C=!1,k=e.prototype,T=k[p]||k["@@iterator"]||m&&k[m],E=T||x(m),S=m?_?x("entries"):E:void 0,M="Array"==t&&k.entries||T;if(M&&(y=u(M.call(new e)))!==Object.prototype&&y.next&&(l(y,w,!0),r||"function"==typeof y[p]||o(y,p,f)),_&&T&&"values"!==T.name&&(C=!0,E=function(){return T.call(this)}),r&&!g||!d&&!C&&k[p]||o(k,p,E),s[t]=E,s[w]=f,m)if(b={values:_?E:x("values"),keys:v?E:x("keys"),entries:S},g)for(A in b)A in k||i(k,A,b[A]);else a(a.P+a.F*(d||C),t,b);return b}},function(e,t,n){var r=n(1)("iterator"),a=!1;try{var i=[7][r]();i.return=function(){a=!0},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var i=[7],o=i[r]();o.next=function(){return{done:n=!0}},i[r]=function(){return o},e(i)}catch(e){}return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(0),a=n(52).set,i=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,c="process"==n(9)(o);e.exports=function(){var e,t,n,l=function(){var r,a;for(c&&(r=o.domain)&&r.exit();e;){a=e.fn,e=e.next;try{a()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(c)n=function(){o.nextTick(l)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(l)}}else n=function(){a.call(r,l)};else{var p=!0,d=document.createTextNode("");new i(l).observe(d,{characterData:!0}),n=function(){d.data=p=!p}}return function(r){var a={fn:r,next:void 0};t&&(t.next=a),e||(e=a,n()),t=a}}},function(e,t,n){var r=n(13),a=n(2),i=n(47);e.exports=n(4)?Object.defineProperties:function(e,t){a(e);for(var n,o=i(t),s=o.length,c=0;s>c;)r.f(e,n=o[c++],t[n]);return e}},function(e,t,n){var r=n(46),a=n(22).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},function(e,t,n){var r=n(12),a=n(28),i=n(27)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=a(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(6);e.exports=function(e,t,n){for(var a in t)r(e,a,t[a],n);return e}},function(e,t,n){var r=n(5),a=n(2),i=function(e,t){if(a(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(11)(Function.call,n(45).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){"use strict";var r=n(0),a=n(13),i=n(4),o=n(1)("species");e.exports=function(e){var t=r[e];i&&t&&!t[o]&&a.f(t,o,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(e,t,n){var r=n(53),a=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?a(e+t,0):i(e,t)}},function(e,t,n){var r=n(0).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){var r=n(38),a=n(1)("iterator"),i=n(15);e.exports=n(10).getIteratorMethod=function(e){if(null!=e)return e[a]||e["@@iterator"]||i[r(e)]}},function(e,t,n){"use strict";var r=n(3),a=n(20)(2);r(r.P+r.F*!n(17)([].filter,!0),"Array",{filter:function(e){return a(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(3),a=n(37)(!1),i=[].indexOf,o=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(o||!n(17)(i)),"Array",{indexOf:function(e){return o?i.apply(this,arguments)||0:a(this,e,arguments[1])}})},function(e,t,n){var r=n(3);r(r.S,"Array",{isArray:n(42)})},function(e,t,n){"use strict";var r=n(3),a=n(20)(1);r(r.P+r.F*!n(17)([].map,!0),"Array",{map:function(e){return a(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(3),a=n(62);r(r.P+r.F*!n(17)([].reduce,!0),"Array",{reduce:function(e){return a(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){var r=Date.prototype,a=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(6)(r,"toString",(function(){var e=i.call(this);return e==e?a.call(this):"Invalid Date"}))},function(e,t,n){n(4)&&"g"!=/./g.flags&&n(13).f(RegExp.prototype,"flags",{configurable:!0,get:n(39)})},function(e,t,n){n(65)("search",1,(function(e,t,n){return[function(n){"use strict";var r=e(this),a=null==n?void 0:n[t];return void 0!==a?a.call(n,r):new RegExp(n)[t](String(r))},n]}))},function(e,t,n){"use strict";n(94);var r=n(2),a=n(39),i=n(4),o=/./.toString,s=function(e){n(6)(RegExp.prototype,"toString",e,!0)};n(7)((function(){return"/a/b"!=o.call({source:"a",flags:"b"})}))?s((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?a.call(e):void 0)})):"toString"!=o.name&&s((function(){return o.call(this)}))},function(e,t,n){"use strict";n(51)("trim",(function(e){return function(){return e(this,3)}}))},function(e,t,n){for(var r=n(34),a=n(47),i=n(6),o=n(0),s=n(8),c=n(15),l=n(1),u=l("iterator"),p=l("toStringTag"),d=c.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=a(f),m=0;m<h.length;m++){var v,g=h[m],b=f[g],A=o[g],y=A&&A.prototype;if(y&&(y[u]||s(y,u,d),y[p]||s(y,p,g),c[g]=d,b))for(v in r)y[v]||i(y,v,r[v],!0)}},function(e,t){},function(e,t){e.exports=function(e,t,n,r,a,i){var o,s=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(o=e,s=e.default);var l,u="function"==typeof s?s.options:s;if(t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),a&&(u._scopeId=a),i?(l=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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},u._ssrRegister=l):r&&(l=r),l){var p=u.functional,d=p?u.render:u.beforeCreate;p?(u._injectStyles=l,u.render=function(e,t){return l.call(t),d(e,t)}):u.beforeCreate=d?[].concat(d,l):[l]}return{esModule:o,exports:s,options:u}}},function(e,t,n){"use strict";var r={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"multiselect",class:{"multiselect--active":e.isOpen,"multiselect--disabled":e.disabled,"multiselect--above":e.isAbove},attrs:{tabindex:e.searchable?-1:e.tabindex},on:{focus:function(t){e.activate()},blur:function(t){!e.searchable&&e.deactivate()},keydown:[function(t){return"button"in t||!e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?t.target!==t.currentTarget?null:(t.preventDefault(),void e.pointerForward()):null},function(t){return"button"in t||!e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?t.target!==t.currentTarget?null:(t.preventDefault(),void e.pointerBackward()):null}],keypress:function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")&&e._k(t.keyCode,"tab",9,t.key,"Tab")?null:(t.stopPropagation(),t.target!==t.currentTarget?null:void e.addPointerElement(t))},keyup:function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,"Escape"))return null;e.deactivate()}}},[e._t("caret",[n("div",{staticClass:"multiselect__select",on:{mousedown:function(t){t.preventDefault(),t.stopPropagation(),e.toggle()}}})],{toggle:e.toggle}),e._v(" "),e._t("clear",null,{search:e.search}),e._v(" "),n("div",{ref:"tags",staticClass:"multiselect__tags"},[e._t("selection",[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visibleValues.length>0,expression:"visibleValues.length > 0"}],staticClass:"multiselect__tags-wrap"},[e._l(e.visibleValues,(function(t,r){return[e._t("tag",[n("span",{key:r,staticClass:"multiselect__tag"},[n("span",{domProps:{textContent:e._s(e.getOptionLabel(t))}}),e._v(" "),n("i",{staticClass:"multiselect__tag-icon",attrs:{"aria-hidden":"true",tabindex:"1"},on:{keypress:function(n){if(!("button"in n)&&e._k(n.keyCode,"enter",13,n.key,"Enter"))return null;n.preventDefault(),e.removeElement(t)},mousedown:function(n){n.preventDefault(),e.removeElement(t)}}})])],{option:t,search:e.search,remove:e.removeElement})]}))],2),e._v(" "),e.internalValue&&e.internalValue.length>e.limit?[e._t("limit",[n("strong",{staticClass:"multiselect__strong",domProps:{textContent:e._s(e.limitText(e.internalValue.length-e.limit))}})])]:e._e()],{search:e.search,remove:e.removeElement,values:e.visibleValues,isOpen:e.isOpen}),e._v(" "),n("transition",{attrs:{name:"multiselect__loading"}},[e._t("loading",[n("div",{directives:[{name:"show",rawName:"v-show",value:e.loading,expression:"loading"}],staticClass:"multiselect__spinner"})])],2),e._v(" "),e.searchable?n("input",{ref:"search",staticClass:"multiselect__input",style:e.inputStyle,attrs:{name:e.name,id:e.id,type:"text",autocomplete:"nope",placeholder:e.placeholder,disabled:e.disabled,tabindex:e.tabindex},domProps:{value:e.search},on:{input:function(t){e.updateSearch(t.target.value)},focus:function(t){t.preventDefault(),e.activate()},blur:function(t){t.preventDefault(),e.deactivate()},keyup:function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,"Escape"))return null;e.deactivate()},keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.preventDefault(),e.pointerForward()},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.preventDefault(),e.pointerBackward()},function(t){if(!("button"in t)&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete"]))return null;t.stopPropagation(),e.removeLastElement()}],keypress:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?(t.preventDefault(),t.stopPropagation(),t.target!==t.currentTarget?null:void e.addPointerElement(t)):null}}}):e._e(),e._v(" "),e.isSingleLabelVisible?n("span",{staticClass:"multiselect__single",on:{mousedown:function(t){return t.preventDefault(),e.toggle(t)}}},[e._t("singleLabel",[[e._v(e._s(e.currentOptionLabel))]],{option:e.singleValue})],2):e._e(),e._v(" "),e.isPlaceholderVisible?n("span",{staticClass:"multiselect__placeholder",on:{mousedown:function(t){return t.preventDefault(),e.toggle(t)}}},[e._t("placeholder",[e._v("\n "+e._s(e.placeholder)+"\n ")])],2):e._e()],2),e._v(" "),n("transition",{attrs:{name:"multiselect"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isOpen,expression:"isOpen"}],ref:"list",staticClass:"multiselect__content-wrapper",style:{maxHeight:e.optimizedHeight+"px"},attrs:{tabindex:"-1"},on:{focus:e.activate,mousedown:function(e){e.preventDefault()}}},[n("ul",{staticClass:"multiselect__content",style:e.contentStyle},[e._t("beforeList"),e._v(" "),e.multiple&&e.max===e.internalValue.length?n("li",[n("span",{staticClass:"multiselect__option"},[e._t("maxElements",[e._v("Maximum of "+e._s(e.max)+" options selected. First remove a selected option to select another.")])],2)]):e._e(),e._v(" "),!e.max||e.internalValue.length<e.max?e._l(e.filteredOptions,(function(t,r){return n("li",{key:r,staticClass:"multiselect__element"},[t&&(t.$isLabel||t.$isDisabled)?e._e():n("span",{staticClass:"multiselect__option",class:e.optionHighlight(r,t),attrs:{"data-select":t&&t.isTag?e.tagPlaceholder:e.selectLabelText,"data-selected":e.selectedLabelText,"data-deselect":e.deselectLabelText},on:{click:function(n){n.stopPropagation(),e.select(t)},mouseenter:function(t){if(t.target!==t.currentTarget)return null;e.pointerSet(r)}}},[e._t("option",[n("span",[e._v(e._s(e.getOptionLabel(t)))])],{option:t,search:e.search})],2),e._v(" "),t&&(t.$isLabel||t.$isDisabled)?n("span",{staticClass:"multiselect__option",class:e.groupHighlight(r,t),attrs:{"data-select":e.groupSelect&&e.selectGroupLabelText,"data-deselect":e.groupSelect&&e.deselectGroupLabelText},on:{mouseenter:function(t){if(t.target!==t.currentTarget)return null;e.groupSelect&&e.pointerSet(r)},mousedown:function(n){n.preventDefault(),e.selectGroup(t)}}},[e._t("option",[n("span",[e._v(e._s(e.getOptionLabel(t)))])],{option:t,search:e.search})],2):e._e()])})):e._e(),e._v(" "),n("li",{directives:[{name:"show",rawName:"v-show",value:e.showNoResults&&0===e.filteredOptions.length&&e.search&&!e.loading,expression:"showNoResults && (filteredOptions.length === 0 && search && !loading)"}]},[n("span",{staticClass:"multiselect__option"},[e._t("noResult",[e._v("No elements found. Consider changing the search query.")],{search:e.search})],2)]),e._v(" "),n("li",{directives:[{name:"show",rawName:"v-show",value:e.showNoOptions&&0===e.options.length&&!e.search&&!e.loading,expression:"showNoOptions && (options.length === 0 && !search && !loading)"}]},[n("span",{staticClass:"multiselect__option"},[e._t("noOptions",[e._v("List is empty.")])],2)]),e._v(" "),e._t("afterList")],2)])])],2)},staticRenderFns:[]};t.a=r}])},function(e,t,n){n(190)("iterator")},function(e,t,n){var r=n(4),a=n(2),i=n(41),o=n(100),s=n(8).f,c=n(39).f,l=n(192),u=n(94),p=n(144),d=n(9),f=n(3),h=n(19).set,m=n(105),v=n(1)("match"),g=a.RegExp,b=g.prototype,A=/a/g,y=/a/g,x=new g(A)!==A,w=p.UNSUPPORTED_Y;if(r&&i("RegExp",!x||w||f((function(){return y[v]=!1,g(A)!=A||g(y)==y||"/a/i"!=g(A,"i")})))){for(var _=function(e,t){var n,r=this instanceof _,a=l(e),i=void 0===t;if(!r&&a&&e.constructor===_&&i)return e;x?a&&!i&&(e=e.source):e instanceof _&&(i&&(t=u.call(e)),e=e.source),w&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var s=o(x?new g(e,t):g(e,t),r?this:b,_);return w&&n&&h(s,{sticky:n}),s},C=function(e){e in _||s(_,e,{configurable:!0,get:function(){return g[e]},set:function(t){g[e]=t}})},k=c(g),T=0;k.length>T;)C(k[T++]);b.constructor=_,_.prototype=b,d(a,"RegExp",_)}m("RegExp")},function(e,t){function n(e,t,n){var r,a,i,o,s;function c(){var l=Date.now()-o;l<t&&l>=0?r=setTimeout(c,t-l):(r=null,n||(s=e.apply(i,a),i=a=null))}null==t&&(t=100);var l=function(){i=this,a=arguments,o=Date.now();var l=n&&!r;return r||(r=setTimeout(c,t)),l&&(s=e.apply(i,a),i=a=null),s};return l.clear=function(){r&&(clearTimeout(r),r=null)},l.flush=function(){r&&(s=e.apply(i,a),i=a=null,clearTimeout(r),r=null)},l}n.debounce=n,e.exports=n},function(e,t,n){(function(t){"undefined"!=typeof self&&self,e.exports=function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=22)}([function(e,t){function n(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var a=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(r);return[n].concat(r.sources.map((function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"}))).concat([a]).join("\n")}return[n].join("\n")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},a=0;a<this.length;a++){var i=this[a][0];"number"==typeof i&&(r[i]=!0)}for(a=0;a<e.length;a++){var o=e[a];"number"==typeof o[0]&&r[o[0]]||(n&&!o[2]?o[2]=n:n&&(o[2]="("+o[2]+") and ("+n+")"),t.push(o))}},t}},function(e,t,n){function r(e){for(var t=0;t<e.length;t++){var n=e[t],r=u[n.id];if(r){r.refs++;for(var a=0;a<r.parts.length;a++)r.parts[a](n.parts[a]);for(;a<n.parts.length;a++)r.parts.push(i(n.parts[a]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var o=[];for(a=0;a<n.parts.length;a++)o.push(i(n.parts[a]));u[n.id]={id:n.id,refs:1,parts:o}}}}function a(){var e=document.createElement("style");return e.type="text/css",p.appendChild(e),e}function i(e){var t,n,r=document.querySelector("style["+g+'~="'+e.id+'"]');if(r){if(h)return m;r.parentNode.removeChild(r)}if(b){var i=f++;r=d||(d=a()),t=o.bind(null,r,i,!1),n=o.bind(null,r,i,!0)}else r=a(),t=s.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}function o(e,t,n,r){var a=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=A(t,a);else{var i=document.createTextNode(a),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(i,o[t]):e.appendChild(i)}}function s(e,t){var n=t.css,r=t.media,a=t.sourceMap;if(r&&e.setAttribute("media",r),v.ssrId&&e.setAttribute(g,t.id),a&&(n+="\n/*# sourceURL="+a.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var l=n(26),u={},p=c&&(document.head||document.getElementsByTagName("head")[0]),d=null,f=0,h=!1,m=function(){},v=null,g="data-vue-ssr-id",b="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n,a){h=n,v=a||{};var i=l(e,t);return r(i),function(t){for(var n=[],a=0;a<i.length;a++){var o=i[a];(s=u[o.id]).refs--,n.push(s)}for(t?r(i=l(e,t)):i=[],a=0;a<n.length;a++){var s;if(0===(s=n[a]).refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete u[s.id]}}}};var A=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=function(e,t,n,r,a,i){var o,s=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(o=e,s=e.default);var l,u="function"==typeof s?s.options:s;if(t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),a&&(u._scopeId=a),i?(l=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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},u._ssrRegister=l):r&&(l=r),l){var p=u.functional,d=p?u.render:u.beforeCreate;p?(u._injectStyles=l,u.render=function(e,t){return l.call(t),d(e,t)}):u.beforeCreate=d?[].concat(d,l):[l]}return{esModule:o,exports:s,options:u}}},function(e,t,n){"use strict";function r(e,t){var n,r=e&&e.a;!(n=e&&e.hsl?(0,a.default)(e.hsl):e&&e.hex&&e.hex.length>0?(0,a.default)(e.hex):e&&e.hsv?(0,a.default)(e.hsv):e&&e.rgba?(0,a.default)(e.rgba):e&&e.rgb?(0,a.default)(e.rgb):(0,a.default)(e))||void 0!==n._a&&null!==n._a||n.setAlpha(r||1);var i=n.toHsl(),o=n.toHsv();return 0===i.s&&(o.h=i.h=e.h||e.hsl&&e.hsl.h||t||0),{hsl:i,hex:n.toHexString().toUpperCase(),hex8:n.toHex8String().toUpperCase(),rgba:n.toRgb(),hsv:o,oldHue:e.h||t||i.h,source:e.source,a:e.a||n.getAlpha()}}Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){return e&&e.__esModule?e:{default:e}}(n(27));t.default={props:["value"],data:function(){return{val:r(this.value)}},computed:{colors:{get:function(){return this.val},set:function(e){this.val=e,this.$emit("input",e)}}},watch:{value:function(e){this.val=r(e)}},methods:{colorChange:function(e,t){this.oldHue=this.colors.hsl.h,this.colors=r(e,t||this.oldHue)},isValidHex:function(e){return(0,a.default)(e).isValid()},simpleCheckForValidColor:function(e){for(var t=["r","g","b","a","h","s","l","v"],n=0,r=0,a=0;a<t.length;a++){var i=t[a];e[i]&&(n++,isNaN(e[i])||r++)}if(n===r)return e},paletteUpperCase:function(e){return e.map((function(e){return e.toUpperCase()}))},isTransparent:function(e){return 0===(0,a.default)(e).getAlpha()}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(30),s=!1,c=function(e){s||n(28)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/common/EditableInput.vue",t.default=l.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(14),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(45),s=!1,c=function(e){s||n(43)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/common/Hue.vue",t.default=l.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(59),s=!1,c=function(e){s||n(55)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/common/Saturation.vue",t.default=l.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(65),s=!1,c=function(e){s||n(60)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/common/Alpha.vue",t.default=l.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(19),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(64),s=!1,c=function(e){s||n(62)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/common/Checkboard.vue",t.default=l.exports},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(3)),i=r(n(4)),o=["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#CCCCCC","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"];t.default={name:"Compact",mixins:[a.default],props:{palette:{type:Array,default:function(){return o}}},components:{"ed-in":i.default},computed:{pick:function(){return this.colors.hex.toUpperCase()}},methods:{handlerClick:function(e){this.colorChange({hex:e,source:"hex"})}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"editableInput",props:{label:String,labelText:String,desc:String,value:[String,Number],max:Number,min:Number,arrowOffset:{type:Number,default:1}},computed:{val:{get:function(){return this.value},set:function(e){if(!(void 0!==this.max&&+e>this.max))return e;this.$refs.input.value=this.max}},labelId:function(){return"input__label__"+this.label+"__"+Math.random().toString().slice(2,5)},labelSpanText:function(){return this.labelText||this.label}},methods:{update:function(e){this.handleChange(e.target.value)},handleChange:function(e){var t={};t[this.label]=e,(void 0===t.hex&&void 0===t["#"]||e.length>5)&&this.$emit("change",t)},handleKeyDown:function(e){var t=this.val,n=Number(t);if(n){var r=this.arrowOffset||1;38===e.keyCode&&(t=n+r,this.handleChange(t),e.preventDefault()),40===e.keyCode&&(t=n-r,this.handleChange(t),e.preventDefault())}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(3)),a=["#FFFFFF","#F2F2F2","#E6E6E6","#D9D9D9","#CCCCCC","#BFBFBF","#B3B3B3","#A6A6A6","#999999","#8C8C8C","#808080","#737373","#666666","#595959","#4D4D4D","#404040","#333333","#262626","#0D0D0D","#000000"];t.default={name:"Grayscale",mixins:[r.default],props:{palette:{type:Array,default:function(){return a}}},components:{},computed:{pick:function(){return this.colors.hex.toUpperCase()}},methods:{handlerClick:function(e){this.colorChange({hex:e,source:"hex"})}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(4)),i=r(n(3));t.default={name:"Material",mixins:[i.default],components:{"ed-in":a.default},methods:{onChange:function(e){e&&(e.hex?this.isValidHex(e.hex)&&this.colorChange({hex:e.hex,source:"hex"}):(e.r||e.g||e.b)&&this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}))}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(3)),i=r(n(5));t.default={name:"Slider",mixins:[a.default],props:{swatches:{type:Array,default:function(){return[".80",".65",".50",".35",".20"]}}},components:{hue:i.default},computed:{activeOffset:function(){var e=this.swatches.includes("0"),t=this.swatches.includes("1"),n=this.colors.hsl;return Math.round(100*n.s)/100==.5?Math.round(100*n.l)/100:e&&0===n.l?0:t&&1===n.l?1:-1}},methods:{hueChange:function(e){this.colorChange(e)},handleSwClick:function(e,t){this.colorChange({h:this.colors.hsl.h,s:.5,l:t,source:"hsl"})}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"Hue",props:{value:Object,direction:{type:String,default:"horizontal"}},data:function(){return{oldHue:0,pullDirection:""}},computed:{colors:function(){var e=this.value.hsl.h;return 0!==e&&e-this.oldHue>0&&(this.pullDirection="right"),0!==e&&e-this.oldHue<0&&(this.pullDirection="left"),this.oldHue=e,this.value},directionClass:function(){return{"vc-hue--horizontal":"horizontal"===this.direction,"vc-hue--vertical":"vertical"===this.direction}},pointerTop:function(){return"vertical"===this.direction?0===this.colors.hsl.h&&"right"===this.pullDirection?0:-100*this.colors.hsl.h/360+100+"%":0},pointerLeft:function(){return"vertical"===this.direction?0:0===this.colors.hsl.h&&"right"===this.pullDirection?"100%":100*this.colors.hsl.h/360+"%"}},methods:{handleChange:function(e,t){!t&&e.preventDefault();var n,r=this.$refs.container,a=r.clientWidth,i=r.clientHeight,o=r.getBoundingClientRect().left+window.pageXOffset,s=r.getBoundingClientRect().top+window.pageYOffset,c=(e.pageX||(e.touches?e.touches[0].pageX:0))-o,l=(e.pageY||(e.touches?e.touches[0].pageY:0))-s;"vertical"===this.direction?(n=l<0?360:l>i?0:360*(-100*l/i+100)/100,this.colors.hsl.h!==n&&this.$emit("change",{h:n,s:this.colors.hsl.s,l:this.colors.hsl.l,a:this.colors.hsl.a,source:"hsl"})):(n=c<0?0:c>a?360:100*c/a*360/100,this.colors.hsl.h!==n&&this.$emit("change",{h:n,s:this.colors.hsl.s,l:this.colors.hsl.l,a:this.colors.hsl.a,source:"hsl"}))},handleMouseDown:function(e){this.handleChange(e,!0),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp:function(e){this.unbindEventListeners()},unbindEventListeners:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(50)),i=r(n(3)),o=["red","pink","purple","deepPurple","indigo","blue","lightBlue","cyan","teal","green","lightGreen","lime","yellow","amber","orange","deepOrange","brown","blueGrey","black"],s=["900","700","500","300","100"],c=function(){var e=[];return o.forEach((function(t){var n=[];"black"===t.toLowerCase()||"white"===t.toLowerCase()?n=n.concat(["#000000","#FFFFFF"]):s.forEach((function(e){var r=a.default[t][e];n.push(r.toUpperCase())})),e.push(n)})),e}();t.default={name:"Swatches",mixins:[i.default],props:{palette:{type:Array,default:function(){return c}}},computed:{pick:function(){return this.colors.hex}},methods:{equal:function(e){return e.toLowerCase()===this.colors.hex.toLowerCase()},handlerClick:function(e){this.colorChange({hex:e,source:"hex"})}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(3)),i=r(n(4)),o=r(n(6)),s=r(n(5)),c=r(n(7));t.default={name:"Photoshop",mixins:[a.default],props:{head:{type:String,default:"Color Picker"},disableFields:{type:Boolean,default:!1},hasResetButton:{type:Boolean,default:!1},acceptLabel:{type:String,default:"OK"},cancelLabel:{type:String,default:"Cancel"},resetLabel:{type:String,default:"Reset"},newLabel:{type:String,default:"new"},currentLabel:{type:String,default:"current"}},components:{saturation:o.default,hue:s.default,alpha:c.default,"ed-in":i.default},data:function(){return{currentColor:"#FFF"}},computed:{hsv:function(){var e=this.colors.hsv;return{h:e.h.toFixed(),s:(100*e.s).toFixed(),v:(100*e.v).toFixed()}},hex:function(){var e=this.colors.hex;return e&&e.replace("#","")}},created:function(){this.currentColor=this.colors.hex},methods:{childChange:function(e){this.colorChange(e)},inputChange:function(e){e&&(e["#"]?this.isValidHex(e["#"])&&this.colorChange({hex:e["#"],source:"hex"}):e.r||e.g||e.b||e.a?this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}):(e.h||e.s||e.v)&&this.colorChange({h:e.h||this.colors.hsv.h,s:e.s/100||this.colors.hsv.s,v:e.v/100||this.colors.hsv.v,source:"hsv"}))},clickCurrentColor:function(){this.colorChange({hex:this.currentColor,source:"hex"})},handleAccept:function(){this.$emit("ok")},handleCancel:function(){this.$emit("cancel")},handleReset:function(){this.$emit("reset")}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(57)),i=r(n(58));t.default={name:"Saturation",props:{value:Object},computed:{colors:function(){return this.value},bgColor:function(){return"hsl("+this.colors.hsv.h+", 100%, 50%)"},pointerTop:function(){return-100*this.colors.hsv.v+1+100+"%"},pointerLeft:function(){return 100*this.colors.hsv.s+"%"}},methods:{throttle:(0,i.default)((function(e,t){e(t)}),20,{leading:!0,trailing:!1}),handleChange:function(e,t){!t&&e.preventDefault();var n=this.$refs.container,r=n.clientWidth,i=n.clientHeight,o=n.getBoundingClientRect().left+window.pageXOffset,s=n.getBoundingClientRect().top+window.pageYOffset,c=e.pageX||(e.touches?e.touches[0].pageX:0),l=e.pageY||(e.touches?e.touches[0].pageY:0),u=(0,a.default)(c-o,0,r),p=(0,a.default)(l-s,0,i),d=u/r,f=(0,a.default)(-p/i+1,0,1);this.throttle(this.onChange,{h:this.colors.hsv.h,s:d,v:f,a:this.colors.hsv.a,source:"hsva"})},onChange:function(e){this.$emit("change",e)},handleMouseDown:function(e){window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp:function(e){this.unbindEventListeners()},unbindEventListeners:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(8));t.default={name:"Alpha",props:{value:Object,onChange:Function},components:{checkboard:r.default},computed:{colors:function(){return this.value},gradientColor:function(){var e=this.colors.rgba,t=[e.r,e.g,e.b].join(",");return"linear-gradient(to right, rgba("+t+", 0) 0%, rgba("+t+", 1) 100%)"}},methods:{handleChange:function(e,t){!t&&e.preventDefault();var n,r=this.$refs.container,a=r.clientWidth,i=r.getBoundingClientRect().left+window.pageXOffset,o=(e.pageX||(e.touches?e.touches[0].pageX:0))-i;n=o<0?0:o>a?1:Math.round(100*o/a)/100,this.colors.a!==n&&this.$emit("change",{h:this.colors.hsl.h,s:this.colors.hsl.s,l:this.colors.hsl.l,a:n,source:"rgba"})},handleMouseDown:function(e){this.handleChange(e,!0),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp:function(){this.unbindEventListeners()},unbindEventListeners:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}}},function(e,t,n){"use strict";function r(e,t,n){var r=e+","+t+","+n;if(a[r])return a[r];var i=function(e,t,n){if("undefined"==typeof document)return null;var r=document.createElement("canvas");r.width=r.height=2*n;var a=r.getContext("2d");return a?(a.fillStyle=e,a.fillRect(0,0,r.width,r.height),a.fillStyle=t,a.fillRect(0,0,n,n),a.translate(n,n),a.fillRect(0,0,n,n),r.toDataURL()):null}(e,t,n);return a[r]=i,i}Object.defineProperty(t,"__esModule",{value:!0});var a={};t.default={name:"Checkboard",props:{size:{type:[Number,String],default:8},white:{type:String,default:"#fff"},grey:{type:String,default:"#e6e6e6"}},computed:{bgStyle:function(){return{"background-image":"url("+r(this.white,this.grey,this.size)+")"}}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(3)),i=r(n(4)),o=r(n(6)),s=r(n(5)),c=r(n(7)),l=r(n(8)),u=["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF","rgba(0,0,0,0)"];t.default={name:"Sketch",mixins:[a.default],components:{saturation:o.default,hue:s.default,alpha:c.default,"ed-in":i.default,checkboard:l.default},props:{presetColors:{type:Array,default:function(){return u}},disableAlpha:{type:Boolean,default:!1},disableFields:{type:Boolean,default:!1}},computed:{hex:function(){return(this.colors.a<1?this.colors.hex8:this.colors.hex).replace("#","")},activeColor:function(){var e=this.colors.rgba;return"rgba("+[e.r,e.g,e.b,e.a].join(",")+")"}},methods:{handlePreset:function(e){this.colorChange({hex:e,source:"hex"})},childChange:function(e){this.colorChange(e)},inputChange:function(e){e&&(e.hex?this.isValidHex(e.hex)&&this.colorChange({hex:e.hex,source:"hex"}):(e.r||e.g||e.b||e.a)&&this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}))}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(3)),i=r(n(4)),o=r(n(6)),s=r(n(5)),c=r(n(7)),l=r(n(8));t.default={name:"Chrome",mixins:[a.default],props:{disableAlpha:{type:Boolean,default:!1},disableFields:{type:Boolean,default:!1}},components:{saturation:o.default,hue:s.default,alpha:c.default,"ed-in":i.default,checkboard:l.default},data:function(){return{fieldsIndex:0,highlight:!1}},computed:{hsl:function(){var e=this.colors.hsl,t=e.h,n=e.s,r=e.l;return{h:t.toFixed(),s:(100*n).toFixed()+"%",l:(100*r).toFixed()+"%"}},activeColor:function(){var e=this.colors.rgba;return"rgba("+[e.r,e.g,e.b,e.a].join(",")+")"},hasAlpha:function(){return this.colors.a<1}},methods:{childChange:function(e){this.colorChange(e)},inputChange:function(e){if(e)if(e.hex)this.isValidHex(e.hex)&&this.colorChange({hex:e.hex,source:"hex"});else if(e.r||e.g||e.b||e.a)this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"});else if(e.h||e.s||e.l){var t=e.s?e.s.replace("%","")/100:this.colors.hsl.s,n=e.l?e.l.replace("%","")/100:this.colors.hsl.l;this.colorChange({h:e.h||this.colors.hsl.h,s:t,l:n,source:"hsl"})}},toggleViews:function(){this.fieldsIndex>=2?this.fieldsIndex=0:this.fieldsIndex++},showHighlight:function(){this.highlight=!0},hideHighlight:function(){this.highlight=!1}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var a=r(n(23)),i=r(n(32)),o=r(n(36)),s=r(n(40)),c=r(n(47)),l=r(n(52)),u=r(n(67)),p=r(n(71)),d=r(n(7)),f=r(n(8)),h=r(n(4)),m=r(n(5)),v=r(n(6)),g=r(n(3)),b={version:"2.7.1",Compact:a.default,Grayscale:i.default,Material:o.default,Slider:s.default,Swatches:c.default,Photoshop:l.default,Sketch:u.default,Chrome:p.default,Alpha:d.default,Checkboard:f.default,EditableInput:h.default,Hue:m.default,Saturation:v.default,ColorMixin:g.default};e.exports=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(31),s=!1,c=function(e){s||n(24)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/Compact.vue",t.default=l.exports},function(e,t,n){var r=n(25);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("6ce8a5a8",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-compact {\n padding-top: 5px;\n padding-left: 5px;\n width: 245px;\n border-radius: 2px;\n box-sizing: border-box;\n box-shadow: 0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16);\n background-color: #fff;\n}\n.vc-compact-colors {\n overflow: hidden;\n padding: 0;\n margin: 0;\n}\n.vc-compact-color-item {\n list-style: none;\n width: 15px;\n height: 15px;\n float: left;\n margin-right: 5px;\n margin-bottom: 5px;\n position: relative;\n cursor: pointer;\n}\n.vc-compact-color-item--white {\n box-shadow: inset 0 0 0 1px #ddd;\n}\n.vc-compact-color-item--white .vc-compact-dot {\n background: #000;\n}\n.vc-compact-dot {\n position: absolute;\n top: 5px;\n right: 5px;\n bottom: 5px;\n left: 5px;\n border-radius: 50%;\n opacity: 1;\n background: #fff;\n}\n",""])},function(e,t){e.exports=function(e,t){for(var n=[],r={},a=0;a<t.length;a++){var i=t[a],o=i[0],s={id:e+":"+a,css:i[1],media:i[2],sourceMap:i[3]};r[o]?r[o].parts.push(s):n.push(r[o]={id:o,parts:[s]})}return n}},function(e,t,n){var r;!function(a){function i(e,t){if(t=t||{},(e=e||"")instanceof i)return e;if(!(this instanceof i))return new i(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,a=null,i=null,o=!1,s=!1;return"string"==typeof e&&(e=function(e){e=e.replace(L,"").replace(D,"").toLowerCase();var t,n=!1;if($[e])e=$[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=z.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=z.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=z.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=z.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=z.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=z.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=z.hex8.exec(e))?{r:E(t[1]),g:E(t[2]),b:E(t[3]),a:I(t[4]),format:n?"name":"hex8"}:(t=z.hex6.exec(e))?{r:E(t[1]),g:E(t[2]),b:E(t[3]),format:n?"name":"hex"}:(t=z.hex4.exec(e))?{r:E(t[1]+""+t[1]),g:E(t[2]+""+t[2]),b:E(t[3]+""+t[3]),a:I(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=z.hex3.exec(e))&&{r:E(t[1]+""+t[1]),g:E(t[2]+""+t[2]),b:E(t[3]+""+t[3]),format:n?"name":"hex"}}(e)),"object"==typeof e&&(N(e.r)&&N(e.g)&&N(e.b)?(t=function(e,t,n){return{r:255*k(e,255),g:255*k(t,255),b:255*k(n,255)}}(e.r,e.g,e.b),o=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):N(e.h)&&N(e.s)&&N(e.v)?(r=M(e.s),a=M(e.v),t=c(e.h,r,a),o=!0,s="hsv"):N(e.h)&&N(e.s)&&N(e.l)&&(r=M(e.s),i=M(e.l),t=function(e,t,n){function r(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var a,i,o;if(e=k(e,360),t=k(t,100),n=k(n,100),0===t)a=i=o=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;a=r(c,s,e+1/3),i=r(c,s,e),o=r(c,s,e-1/3)}return{r:255*a,g:255*i,b:255*o}}(e.h,r,i),o=!0,s="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=C(n),{ok:o,format:e.format||s,r:B(255,F(t.r,0)),g:B(255,F(t.g,0)),b:B(255,F(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=j(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=j(this._r)),this._g<1&&(this._g=j(this._g)),this._b<1&&(this._b=j(this._b)),this._ok=n.ok,this._tc_id=P++}function o(e,t,n){e=k(e,255),t=k(t,255),n=k(n,255);var r,a,i=F(e,t,n),o=B(e,t,n),s=(i+o)/2;if(i==o)r=a=0;else{var c=i-o;switch(a=s>.5?c/(2-i-o):c/(i+o),i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:a,l:s}}function s(e,t,n){e=k(e,255),t=k(t,255),n=k(n,255);var r,a,i=F(e,t,n),o=B(e,t,n),s=i,c=i-o;if(a=0===i?0:c/i,i==o)r=0;else{switch(i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:a,v:s}}function c(e,t,n){e=6*k(e,360),t=k(t,100),n=k(n,100);var r=a.floor(e),i=e-r,o=n*(1-t),s=n*(1-i*t),c=n*(1-(1-i)*t),l=r%6;return{r:255*[n,s,o,o,c,n][l],g:255*[c,n,n,s,o,o][l],b:255*[o,o,c,n,n,s][l]}}function l(e,t,n,r){var a=[S(j(e).toString(16)),S(j(t).toString(16)),S(j(n).toString(16))];return r&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function u(e,t,n,r){return[S(O(r)),S(j(e).toString(16)),S(j(t).toString(16)),S(j(n).toString(16))].join("")}function p(e,t){t=0===t?0:t||10;var n=i(e).toHsl();return n.s-=t/100,n.s=T(n.s),i(n)}function d(e,t){t=0===t?0:t||10;var n=i(e).toHsl();return n.s+=t/100,n.s=T(n.s),i(n)}function f(e){return i(e).desaturate(100)}function h(e,t){t=0===t?0:t||10;var n=i(e).toHsl();return n.l+=t/100,n.l=T(n.l),i(n)}function m(e,t){t=0===t?0:t||10;var n=i(e).toRgb();return n.r=F(0,B(255,n.r-j(-t/100*255))),n.g=F(0,B(255,n.g-j(-t/100*255))),n.b=F(0,B(255,n.b-j(-t/100*255))),i(n)}function v(e,t){t=0===t?0:t||10;var n=i(e).toHsl();return n.l-=t/100,n.l=T(n.l),i(n)}function g(e,t){var n=i(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,i(n)}function b(e){var t=i(e).toHsl();return t.h=(t.h+180)%360,i(t)}function A(e){var t=i(e).toHsl(),n=t.h;return[i(e),i({h:(n+120)%360,s:t.s,l:t.l}),i({h:(n+240)%360,s:t.s,l:t.l})]}function y(e){var t=i(e).toHsl(),n=t.h;return[i(e),i({h:(n+90)%360,s:t.s,l:t.l}),i({h:(n+180)%360,s:t.s,l:t.l}),i({h:(n+270)%360,s:t.s,l:t.l})]}function x(e){var t=i(e).toHsl(),n=t.h;return[i(e),i({h:(n+72)%360,s:t.s,l:t.l}),i({h:(n+216)%360,s:t.s,l:t.l})]}function w(e,t,n){t=t||6,n=n||30;var r=i(e).toHsl(),a=360/n,o=[i(e)];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,o.push(i(r));return o}function _(e,t){t=t||6;for(var n=i(e).toHsv(),r=n.h,a=n.s,o=n.v,s=[],c=1/t;t--;)s.push(i({h:r,s:a,v:o})),o=(o+c)%1;return s}function C(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function k(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=B(t,F(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),a.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function T(e){return B(1,F(0,e))}function E(e){return parseInt(e,16)}function S(e){return 1==e.length?"0"+e:""+e}function M(e){return e<=1&&(e=100*e+"%"),e}function O(e){return a.round(255*parseFloat(e)).toString(16)}function I(e){return E(e)/255}function N(e){return!!z.CSS_UNIT.exec(e)}var L=/^\s+/,D=/\s+$/,P=0,j=a.round,B=a.min,F=a.max,R=a.random;i.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:a.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:a.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:a.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=C(e),this._roundA=j(100*this._a)/100,this},toHsv:function(){var e=s(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=s(this._r,this._g,this._b),t=j(360*e.h),n=j(100*e.s),r=j(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=o(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=o(this._r,this._g,this._b),t=j(360*e.h),n=j(100*e.s),r=j(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return l(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,a){var i=[S(j(e).toString(16)),S(j(t).toString(16)),S(j(n).toString(16)),S(O(r))];return a&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:j(this._r),g:j(this._g),b:j(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+j(this._r)+", "+j(this._g)+", "+j(this._b)+")":"rgba("+j(this._r)+", "+j(this._g)+", "+j(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:j(100*k(this._r,255))+"%",g:j(100*k(this._g,255))+"%",b:j(100*k(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+j(100*k(this._r,255))+"%, "+j(100*k(this._g,255))+"%, "+j(100*k(this._b,255))+"%)":"rgba("+j(100*k(this._r,255))+"%, "+j(100*k(this._g,255))+"%, "+j(100*k(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(U[l(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+u(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var a=i(e);n="#"+u(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return i(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(h,arguments)},brighten:function(){return this._applyModification(m,arguments)},darken:function(){return this._applyModification(v,arguments)},desaturate:function(){return this._applyModification(p,arguments)},saturate:function(){return this._applyModification(d,arguments)},greyscale:function(){return this._applyModification(f,arguments)},spin:function(){return this._applyModification(g,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(w,arguments)},complement:function(){return this._applyCombination(b,arguments)},monochromatic:function(){return this._applyCombination(_,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(A,arguments)},tetrad:function(){return this._applyCombination(y,arguments)}},i.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:M(e[r]));e=n}return i(e,t)},i.equals=function(e,t){return!(!e||!t)&&i(e).toRgbString()==i(t).toRgbString()},i.random=function(){return i.fromRatio({r:R(),g:R(),b:R()})},i.mix=function(e,t,n){n=0===n?0:n||50;var r=i(e).toRgb(),a=i(t).toRgb(),o=n/100;return i({r:(a.r-r.r)*o+r.r,g:(a.g-r.g)*o+r.g,b:(a.b-r.b)*o+r.b,a:(a.a-r.a)*o+r.a})},i.readability=function(e,t){var n=i(e),r=i(t);return(a.max(n.getLuminance(),r.getLuminance())+.05)/(a.min(n.getLuminance(),r.getLuminance())+.05)},i.isReadable=function(e,t,n){var r,a,o=i.readability(e,t);switch(a=!1,(r=function(e){var t,n;return"AA"!==(t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==t&&(t="AA"),"small"!==(n=(e.size||"small").toLowerCase())&&"large"!==n&&(n="small"),{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":a=o>=4.5;break;case"AAlarge":a=o>=3;break;case"AAAsmall":a=o>=7}return a},i.mostReadable=function(e,t,n){var r,a,o,s,c=null,l=0;a=(n=n||{}).includeFallbackColors,o=n.level,s=n.size;for(var u=0;u<t.length;u++)(r=i.readability(e,t[u]))>l&&(l=r,c=i(t[u]));return i.isReadable(e,c,{level:o,size:s})||!a?c:(n.includeFallbackColors=!1,i.mostReadable(e,["#fff","#000"],n))};var $=i.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},U=i.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}($),z=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",n="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();void 0!==e&&e.exports?e.exports=i:void 0!==(r=function(){return i}.call(t,n,t,e))&&(e.exports=r)}(Math)},function(e,t,n){var r=n(29);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("0f73e73c",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-editable-input {\n position: relative;\n}\n.vc-input__input {\n padding: 0;\n border: 0;\n outline: none;\n}\n.vc-input__label {\n text-transform: capitalize;\n}\n",""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-editable-input"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.val,expression:"val"}],ref:"input",staticClass:"vc-input__input",attrs:{"aria-labelledby":e.labelId},domProps:{value:e.val},on:{keydown:e.handleKeyDown,input:[function(t){t.target.composing||(e.val=t.target.value)},e.update]}}),e._v(" "),n("span",{staticClass:"vc-input__label",attrs:{for:e.label,id:e.labelId}},[e._v(e._s(e.labelSpanText))]),e._v(" "),n("span",{staticClass:"vc-input__desc"},[e._v(e._s(e.desc))])])};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-compact",attrs:{role:"application","aria-label":"Compact color picker"}},[n("ul",{staticClass:"vc-compact-colors",attrs:{role:"listbox"}},e._l(e.paletteUpperCase(e.palette),(function(t){return n("li",{key:t,staticClass:"vc-compact-color-item",class:{"vc-compact-color-item--white":"#FFFFFF"===t},style:{background:t},attrs:{role:"option","aria-label":"color:"+t,"aria-selected":t===e.pick},on:{click:function(n){e.handlerClick(t)}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t===e.pick,expression:"c === pick"}],staticClass:"vc-compact-dot"})])})))])};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(35),s=!1,c=function(e){s||n(33)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/Grayscale.vue",t.default=l.exports},function(e,t,n){var r=n(34);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("21ddbb74",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-grayscale {\n width: 125px;\n border-radius: 2px;\n box-shadow: 0 2px 15px rgba(0,0,0,.12), 0 2px 10px rgba(0,0,0,.16);\n background-color: #fff;\n}\n.vc-grayscale-colors {\n border-radius: 2px;\n overflow: hidden;\n padding: 0;\n margin: 0;\n}\n.vc-grayscale-color-item {\n list-style: none;\n width: 25px;\n height: 25px;\n float: left;\n position: relative;\n cursor: pointer;\n}\n.vc-grayscale-color-item--white .vc-grayscale-dot {\n background: #000;\n}\n.vc-grayscale-dot {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 6px;\n height: 6px;\n margin: -3px 0 0 -2px;\n border-radius: 50%;\n opacity: 1;\n background: #fff;\n}\n",""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-grayscale",attrs:{role:"application","aria-label":"Grayscale color picker"}},[n("ul",{staticClass:"vc-grayscale-colors",attrs:{role:"listbox"}},e._l(e.paletteUpperCase(e.palette),(function(t){return n("li",{key:t,staticClass:"vc-grayscale-color-item",class:{"vc-grayscale-color-item--white":"#FFFFFF"==t},style:{background:t},attrs:{role:"option","aria-label":"Color:"+t,"aria-selected":t===e.pick},on:{click:function(n){e.handlerClick(t)}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t===e.pick,expression:"c === pick"}],staticClass:"vc-grayscale-dot"})])})))])};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(12),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(39),s=!1,c=function(e){s||n(37)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/Material.vue",t.default=l.exports},function(e,t,n){var r=n(38);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("1ff3af73",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,'\n.vc-material {\n width: 98px;\n height: 98px;\n padding: 16px;\n font-family: "Roboto";\n position: relative;\n border-radius: 2px;\n box-shadow: 0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16);\n background-color: #fff;\n}\n.vc-material .vc-input__input {\n width: 100%;\n margin-top: 12px;\n font-size: 15px;\n color: #333;\n height: 30px;\n}\n.vc-material .vc-input__label {\n position: absolute;\n top: 0;\n left: 0;\n font-size: 11px;\n color: #999;\n text-transform: capitalize;\n}\n.vc-material-hex {\n border-bottom-width: 2px;\n border-bottom-style: solid;\n}\n.vc-material-split {\n display: flex;\n margin-right: -10px;\n padding-top: 11px;\n}\n.vc-material-third {\n flex: 1;\n padding-right: 10px;\n}\n',""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-material",attrs:{role:"application","aria-label":"Material color picker"}},[n("ed-in",{staticClass:"vc-material-hex",style:{borderColor:e.colors.hex},attrs:{label:"hex"},on:{change:e.onChange},model:{value:e.colors.hex,callback:function(t){e.$set(e.colors,"hex",t)},expression:"colors.hex"}}),e._v(" "),n("div",{staticClass:"vc-material-split"},[n("div",{staticClass:"vc-material-third"},[n("ed-in",{attrs:{label:"r"},on:{change:e.onChange},model:{value:e.colors.rgba.r,callback:function(t){e.$set(e.colors.rgba,"r",t)},expression:"colors.rgba.r"}})],1),e._v(" "),n("div",{staticClass:"vc-material-third"},[n("ed-in",{attrs:{label:"g"},on:{change:e.onChange},model:{value:e.colors.rgba.g,callback:function(t){e.$set(e.colors.rgba,"g",t)},expression:"colors.rgba.g"}})],1),e._v(" "),n("div",{staticClass:"vc-material-third"},[n("ed-in",{attrs:{label:"b"},on:{change:e.onChange},model:{value:e.colors.rgba.b,callback:function(t){e.$set(e.colors.rgba,"b",t)},expression:"colors.rgba.b"}})],1)])],1)};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(13),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(46),s=!1,c=function(e){s||n(41)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/Slider.vue",t.default=l.exports},function(e,t,n){var r=n(42);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("7982aa43",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-slider {\n position: relative;\n width: 410px;\n}\n.vc-slider-hue-warp {\n height: 12px;\n position: relative;\n}\n.vc-slider-hue-warp .vc-hue-picker {\n width: 14px;\n height: 14px;\n border-radius: 6px;\n transform: translate(-7px, -2px);\n background-color: rgb(248, 248, 248);\n box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);\n}\n.vc-slider-swatches {\n display: flex;\n margin-top: 20px;\n}\n.vc-slider-swatch {\n margin-right: 1px;\n flex: 1;\n width: 20%;\n}\n.vc-slider-swatch:first-child {\n margin-right: 1px;\n}\n.vc-slider-swatch:first-child .vc-slider-swatch-picker {\n border-radius: 2px 0px 0px 2px;\n}\n.vc-slider-swatch:last-child {\n margin-right: 0;\n}\n.vc-slider-swatch:last-child .vc-slider-swatch-picker {\n border-radius: 0px 2px 2px 0px;\n}\n.vc-slider-swatch-picker {\n cursor: pointer;\n height: 12px;\n}\n.vc-slider-swatch:nth-child(n) .vc-slider-swatch-picker.vc-slider-swatch-picker--active {\n transform: scaleY(1.8);\n border-radius: 3.6px/2px;\n}\n.vc-slider-swatch-picker--white {\n box-shadow: inset 0 0 0 1px #ddd;\n}\n.vc-slider-swatch-picker--active.vc-slider-swatch-picker--white {\n box-shadow: inset 0 0 0 0.6px #ddd;\n}\n",""])},function(e,t,n){var r=n(44);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("7c5f1a1c",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-hue {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n border-radius: 2px;\n}\n.vc-hue--horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n}\n.vc-hue--vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n}\n.vc-hue-container {\n cursor: pointer;\n margin: 0 2px;\n position: relative;\n height: 100%;\n}\n.vc-hue-pointer {\n z-index: 2;\n position: absolute;\n}\n.vc-hue-picker {\n cursor: pointer;\n margin-top: 1px;\n width: 4px;\n border-radius: 1px;\n height: 8px;\n box-shadow: 0 0 2px rgba(0, 0, 0, .6);\n background: #fff;\n transform: translateX(-2px) ;\n}\n",""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["vc-hue",e.directionClass]},[n("div",{ref:"container",staticClass:"vc-hue-container",attrs:{role:"slider","aria-valuenow":e.colors.hsl.h,"aria-valuemin":"0","aria-valuemax":"360"},on:{mousedown:e.handleMouseDown,touchmove:e.handleChange,touchstart:e.handleChange}},[n("div",{staticClass:"vc-hue-pointer",style:{top:e.pointerTop,left:e.pointerLeft},attrs:{role:"presentation"}},[n("div",{staticClass:"vc-hue-picker"})])])])};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-slider",attrs:{role:"application","aria-label":"Slider color picker"}},[n("div",{staticClass:"vc-slider-hue-warp"},[n("hue",{on:{change:e.hueChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1),e._v(" "),n("div",{staticClass:"vc-slider-swatches",attrs:{role:"group"}},e._l(e.swatches,(function(t,r){return n("div",{key:r,staticClass:"vc-slider-swatch",attrs:{"data-index":r,"aria-label":"color:"+e.colors.hex,role:"button"},on:{click:function(n){e.handleSwClick(r,t)}}},[n("div",{staticClass:"vc-slider-swatch-picker",class:{"vc-slider-swatch-picker--active":t==e.activeOffset,"vc-slider-swatch-picker--white":"1"===t},style:{background:"hsl("+e.colors.hsl.h+", 50%, "+100*t+"%)"}})])})))])};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(15),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(51),s=!1,c=function(e){s||n(48)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/Swatches.vue",t.default=l.exports},function(e,t,n){var r=n(49);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("10f839a2",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-swatches {\n width: 320px;\n height: 240px;\n overflow-y: scroll;\n background-color: #fff;\n box-shadow: 0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16);\n}\n.vc-swatches-box {\n padding: 16px 0 6px 16px;\n overflow: hidden;\n}\n.vc-swatches-color-group {\n padding-bottom: 10px;\n width: 40px;\n float: left;\n margin-right: 10px;\n}\n.vc-swatches-color-it {\n box-sizing: border-box;\n width: 40px;\n height: 24px;\n cursor: pointer;\n background: #880e4f;\n margin-bottom: 1px;\n overflow: hidden;\n -ms-border-radius: 2px 2px 0 0;\n -moz-border-radius: 2px 2px 0 0;\n -o-border-radius: 2px 2px 0 0;\n -webkit-border-radius: 2px 2px 0 0;\n border-radius: 2px 2px 0 0;\n}\n.vc-swatches-color--white {\n border: 1px solid #DDD;\n}\n.vc-swatches-pick {\n fill: rgb(255, 255, 255);\n margin-left: 8px;\n display: block;\n}\n.vc-swatches-color--white .vc-swatches-pick {\n fill: rgb(51, 51, 51);\n}\n",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"red",(function(){return r})),n.d(t,"pink",(function(){return a})),n.d(t,"purple",(function(){return i})),n.d(t,"deepPurple",(function(){return o})),n.d(t,"indigo",(function(){return s})),n.d(t,"blue",(function(){return c})),n.d(t,"lightBlue",(function(){return l})),n.d(t,"cyan",(function(){return u})),n.d(t,"teal",(function(){return p})),n.d(t,"green",(function(){return d})),n.d(t,"lightGreen",(function(){return f})),n.d(t,"lime",(function(){return h})),n.d(t,"yellow",(function(){return m})),n.d(t,"amber",(function(){return v})),n.d(t,"orange",(function(){return g})),n.d(t,"deepOrange",(function(){return b})),n.d(t,"brown",(function(){return A})),n.d(t,"grey",(function(){return y})),n.d(t,"blueGrey",(function(){return x})),n.d(t,"darkText",(function(){return w})),n.d(t,"lightText",(function(){return _})),n.d(t,"darkIcons",(function(){return C})),n.d(t,"lightIcons",(function(){return k})),n.d(t,"white",(function(){return T})),n.d(t,"black",(function(){return E}));var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},a={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},i={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},o={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},s={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},c={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},l={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},u={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},p={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},d={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},f={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},h={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},m={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},v={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},g={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},b={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},A={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},y={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},x={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},w={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},_={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},C={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},k={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},T="#ffffff",E="#000000";t.default={red:r,pink:a,purple:i,deepPurple:o,indigo:s,blue:c,lightBlue:l,cyan:u,teal:p,green:d,lightGreen:f,lime:h,yellow:m,amber:v,orange:g,deepOrange:b,brown:A,grey:y,blueGrey:x,darkText:w,lightText:_,darkIcons:C,lightIcons:k,white:T,black:E}},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-swatches",attrs:{role:"application","aria-label":"Swatches color picker","data-pick":e.pick}},[n("div",{staticClass:"vc-swatches-box",attrs:{role:"listbox"}},e._l(e.palette,(function(t,r){return n("div",{key:r,staticClass:"vc-swatches-color-group"},e._l(t,(function(t){return n("div",{key:t,class:["vc-swatches-color-it",{"vc-swatches-color--white":"#FFFFFF"===t}],style:{background:t},attrs:{role:"option","aria-label":"Color:"+t,"aria-selected":e.equal(t),"data-color":t},on:{click:function(n){e.handlerClick(t)}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.equal(t),expression:"equal(c)"}],staticClass:"vc-swatches-pick"},[n("svg",{staticStyle:{width:"24px",height:"24px"},attrs:{viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}})])])])})))})))])};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(16),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(66),s=!1,c=function(e){s||n(53)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/Photoshop.vue",t.default=l.exports},function(e,t,n){var r=n(54);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("080365d4",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,'\n.vc-photoshop {\n background: #DCDCDC;\n border-radius: 4px;\n box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15);\n box-sizing: initial;\n width: 513px;\n font-family: Roboto;\n}\n.vc-photoshop__disable-fields {\n width: 390px;\n}\n.vc-ps-head {\n background-image: linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%);\n border-bottom: 1px solid #B1B1B1;\n box-shadow: inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02);\n height: 23px;\n line-height: 24px;\n border-radius: 4px 4px 0 0;\n font-size: 13px;\n color: #4D4D4D;\n text-align: center;\n}\n.vc-ps-body {\n padding: 15px;\n display: flex;\n}\n.vc-ps-saturation-wrap {\n width: 256px;\n height: 256px;\n position: relative;\n border: 2px solid #B3B3B3;\n border-bottom: 2px solid #F0F0F0;\n overflow: hidden;\n}\n.vc-ps-saturation-wrap .vc-saturation-circle {\n width: 12px;\n height: 12px;\n}\n.vc-ps-hue-wrap {\n position: relative;\n height: 256px;\n width: 19px;\n margin-left: 10px;\n border: 2px solid #B3B3B3;\n border-bottom: 2px solid #F0F0F0;\n}\n.vc-ps-hue-pointer {\n position: relative;\n}\n.vc-ps-hue-pointer--left,\n.vc-ps-hue-pointer--right {\n position: absolute;\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 5px 0 5px 8px;\n border-color: transparent transparent transparent #555;\n}\n.vc-ps-hue-pointer--left:after,\n.vc-ps-hue-pointer--right:after {\n content: "";\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 4px 0 4px 6px;\n border-color: transparent transparent transparent #fff;\n position: absolute;\n top: 1px;\n left: 1px;\n transform: translate(-8px, -5px);\n}\n.vc-ps-hue-pointer--left {\n transform: translate(-13px, -4px);\n}\n.vc-ps-hue-pointer--right {\n transform: translate(20px, -4px) rotate(180deg);\n}\n.vc-ps-controls {\n width: 180px;\n margin-left: 10px;\n display: flex;\n}\n.vc-ps-controls__disable-fields {\n width: auto;\n}\n.vc-ps-actions {\n margin-left: 20px;\n flex: 1;\n}\n.vc-ps-ac-btn {\n cursor: pointer;\n background-image: linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%);\n border: 1px solid #878787;\n border-radius: 2px;\n height: 20px;\n box-shadow: 0 1px 0 0 #EAEAEA;\n font-size: 14px;\n color: #000;\n line-height: 20px;\n text-align: center;\n margin-bottom: 10px;\n}\n.vc-ps-previews {\n width: 60px;\n}\n.vc-ps-previews__swatches {\n border: 1px solid #B3B3B3;\n border-bottom: 1px solid #F0F0F0;\n margin-bottom: 2px;\n margin-top: 1px;\n}\n.vc-ps-previews__pr-color {\n height: 34px;\n box-shadow: inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000;\n}\n.vc-ps-previews__label {\n font-size: 14px;\n color: #000;\n text-align: center;\n}\n.vc-ps-fields {\n padding-top: 5px;\n padding-bottom: 9px;\n width: 80px;\n position: relative;\n}\n.vc-ps-fields .vc-input__input {\n margin-left: 40%;\n width: 40%;\n height: 18px;\n border: 1px solid #888888;\n box-shadow: inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC;\n margin-bottom: 5px;\n font-size: 13px;\n padding-left: 3px;\n margin-right: 10px;\n}\n.vc-ps-fields .vc-input__label, .vc-ps-fields .vc-input__desc {\n top: 0;\n text-transform: uppercase;\n font-size: 13px;\n height: 18px;\n line-height: 22px;\n position: absolute;\n}\n.vc-ps-fields .vc-input__label {\n left: 0;\n width: 34px;\n}\n.vc-ps-fields .vc-input__desc {\n right: 0;\n width: 0;\n}\n.vc-ps-fields__divider {\n height: 5px;\n}\n.vc-ps-fields__hex .vc-input__input {\n margin-left: 20%;\n width: 80%;\n height: 18px;\n border: 1px solid #888888;\n box-shadow: inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC;\n margin-bottom: 6px;\n font-size: 13px;\n padding-left: 3px;\n}\n.vc-ps-fields__hex .vc-input__label {\n position: absolute;\n top: 0;\n left: 0;\n width: 14px;\n text-transform: uppercase;\n font-size: 13px;\n height: 18px;\n line-height: 22px;\n}\n',""])},function(e,t,n){var r=n(56);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("b5380e52",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-saturation,\n.vc-saturation--white,\n.vc-saturation--black {\n cursor: pointer;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.vc-saturation--white {\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n}\n.vc-saturation--black {\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n}\n.vc-saturation-pointer {\n cursor: pointer;\n position: absolute;\n}\n.vc-saturation-circle {\n cursor: head;\n width: 4px;\n height: 4px;\n box-shadow: 0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3), 0 0 1px 2px rgba(0,0,0,.4);\n border-radius: 50%;\n transform: translate(-2px, -2px);\n}\n",""])},function(e,t){e.exports=function(e,t,n){return t<n?e<t?t:e>n?n:e:e<n?n:e>t?t:e}},function(e,n){function r(e,t,n){function r(t){var n=d,r=f;return d=f=void 0,x=t,m=e.apply(r,n)}function s(e){return x=e,v=setTimeout(l,t),w?r(e):m}function c(e){var n=e-g;return void 0===g||n>=t||n<0||_&&e-x>=h}function l(){var e=y();if(c(e))return u(e);v=setTimeout(l,function(e){var n=t-(e-g);return _?A(n,h-(e-x)):n}(e))}function u(e){return v=void 0,C&&d?r(e):(d=f=void 0,m)}function p(){var e=y(),n=c(e);if(d=arguments,f=this,g=e,n){if(void 0===v)return s(g);if(_)return v=setTimeout(l,t),r(g)}return void 0===v&&(v=setTimeout(l,t)),m}var d,f,h,m,v,g,x=0,w=!1,_=!1,C=!0;if("function"!=typeof e)throw new TypeError(o);return t=i(t)||0,a(n)&&(w=!!n.leading,h=(_="maxWait"in n)?b(i(n.maxWait)||0,t):h,C="trailing"in n?!!n.trailing:C),p.cancel=function(){void 0!==v&&clearTimeout(v),x=0,d=g=f=v=void 0},p.flush=function(){return void 0===v?m:u(y())},p}function a(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function i(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&g.call(e)==c}(e))return s;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(l,"");var n=p.test(e);return n||d.test(e)?f(e.slice(2),n?2:8):u.test(e)?s:+e}var o="Expected a function",s=NaN,c="[object Symbol]",l=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,d=/^0o[0-7]+$/i,f=parseInt,h="object"==typeof t&&t&&t.Object===Object&&t,m="object"==typeof self&&self&&self.Object===Object&&self,v=h||m||Function("return this")(),g=Object.prototype.toString,b=Math.max,A=Math.min,y=function(){return v.Date.now()};e.exports=function(e,t,n){var i=!0,s=!0;if("function"!=typeof e)throw new TypeError(o);return a(n)&&(i="leading"in n?!!n.leading:i,s="trailing"in n?!!n.trailing:s),r(e,t,{leading:i,maxWait:t,trailing:s})}},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"container",staticClass:"vc-saturation",style:{background:e.bgColor},on:{mousedown:e.handleMouseDown,touchmove:e.handleChange,touchstart:e.handleChange}},[n("div",{staticClass:"vc-saturation--white"}),e._v(" "),n("div",{staticClass:"vc-saturation--black"}),e._v(" "),n("div",{staticClass:"vc-saturation-pointer",style:{top:e.pointerTop,left:e.pointerLeft}},[n("div",{staticClass:"vc-saturation-circle"})])])};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){var r=n(61);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("4dc1b086",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-alpha {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n}\n.vc-alpha-checkboard-wrap {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n overflow: hidden;\n}\n.vc-alpha-gradient {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n}\n.vc-alpha-container {\n cursor: pointer;\n position: relative;\n z-index: 2;\n height: 100%;\n margin: 0 3px;\n}\n.vc-alpha-pointer {\n z-index: 2;\n position: absolute;\n}\n.vc-alpha-picker {\n cursor: pointer;\n width: 4px;\n border-radius: 1px;\n height: 8px;\n box-shadow: 0 0 2px rgba(0, 0, 0, .6);\n background: #fff;\n margin-top: 1px;\n transform: translateX(-2px);\n}\n",""])},function(e,t,n){var r=n(63);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("7e15c05b",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-checkerboard {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n background-size: contain;\n}\n",""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"vc-checkerboard",style:e.bgStyle})};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-alpha"},[n("div",{staticClass:"vc-alpha-checkboard-wrap"},[n("checkboard")],1),e._v(" "),n("div",{staticClass:"vc-alpha-gradient",style:{background:e.gradientColor}}),e._v(" "),n("div",{ref:"container",staticClass:"vc-alpha-container",on:{mousedown:e.handleMouseDown,touchmove:e.handleChange,touchstart:e.handleChange}},[n("div",{staticClass:"vc-alpha-pointer",style:{left:100*e.colors.a+"%"}},[n("div",{staticClass:"vc-alpha-picker"})])])])};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["vc-photoshop",e.disableFields?"vc-photoshop__disable-fields":""],attrs:{role:"application","aria-label":"PhotoShop color picker"}},[n("div",{staticClass:"vc-ps-head",attrs:{role:"heading"}},[e._v(e._s(e.head))]),e._v(" "),n("div",{staticClass:"vc-ps-body"},[n("div",{staticClass:"vc-ps-saturation-wrap"},[n("saturation",{on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1),e._v(" "),n("div",{staticClass:"vc-ps-hue-wrap"},[n("hue",{attrs:{direction:"vertical"},on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}},[n("div",{staticClass:"vc-ps-hue-pointer"},[n("i",{staticClass:"vc-ps-hue-pointer--left"}),n("i",{staticClass:"vc-ps-hue-pointer--right"})])])],1),e._v(" "),n("div",{class:["vc-ps-controls",e.disableFields?"vc-ps-controls__disable-fields":""]},[n("div",{staticClass:"vc-ps-previews"},[n("div",{staticClass:"vc-ps-previews__label"},[e._v(e._s(e.newLabel))]),e._v(" "),n("div",{staticClass:"vc-ps-previews__swatches"},[n("div",{staticClass:"vc-ps-previews__pr-color",style:{background:e.colors.hex},attrs:{"aria-label":"New color is "+e.colors.hex}}),e._v(" "),n("div",{staticClass:"vc-ps-previews__pr-color",style:{background:e.currentColor},attrs:{"aria-label":"Current color is "+e.currentColor},on:{click:e.clickCurrentColor}})]),e._v(" "),n("div",{staticClass:"vc-ps-previews__label"},[e._v(e._s(e.currentLabel))])]),e._v(" "),e.disableFields?e._e():n("div",{staticClass:"vc-ps-actions"},[n("div",{staticClass:"vc-ps-ac-btn",attrs:{role:"button","aria-label":e.acceptLabel},on:{click:e.handleAccept}},[e._v(e._s(e.acceptLabel))]),e._v(" "),n("div",{staticClass:"vc-ps-ac-btn",attrs:{role:"button","aria-label":e.cancelLabel},on:{click:e.handleCancel}},[e._v(e._s(e.cancelLabel))]),e._v(" "),n("div",{staticClass:"vc-ps-fields"},[n("ed-in",{attrs:{label:"h",desc:"°",value:e.hsv.h},on:{change:e.inputChange}}),e._v(" "),n("ed-in",{attrs:{label:"s",desc:"%",value:e.hsv.s,max:100},on:{change:e.inputChange}}),e._v(" "),n("ed-in",{attrs:{label:"v",desc:"%",value:e.hsv.v,max:100},on:{change:e.inputChange}}),e._v(" "),n("div",{staticClass:"vc-ps-fields__divider"}),e._v(" "),n("ed-in",{attrs:{label:"r",value:e.colors.rgba.r},on:{change:e.inputChange}}),e._v(" "),n("ed-in",{attrs:{label:"g",value:e.colors.rgba.g},on:{change:e.inputChange}}),e._v(" "),n("ed-in",{attrs:{label:"b",value:e.colors.rgba.b},on:{change:e.inputChange}}),e._v(" "),n("div",{staticClass:"vc-ps-fields__divider"}),e._v(" "),n("ed-in",{staticClass:"vc-ps-fields__hex",attrs:{label:"#",value:e.hex},on:{change:e.inputChange}})],1),e._v(" "),e.hasResetButton?n("div",{staticClass:"vc-ps-ac-btn",attrs:{"aria-label":"reset"},on:{click:e.handleReset}},[e._v(e._s(e.resetLabel))]):e._e()])])])])};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(70),s=!1,c=function(e){s||n(68)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/Sketch.vue",t.default=l.exports},function(e,t,n){var r=n(69);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("612c6604",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-sketch {\n position: relative;\n width: 200px;\n padding: 10px 10px 0;\n box-sizing: initial;\n background: #fff;\n border-radius: 4px;\n box-shadow: 0 0 0 1px rgba(0, 0, 0, .15), 0 8px 16px rgba(0, 0, 0, .15);\n}\n.vc-sketch-saturation-wrap {\n width: 100%;\n padding-bottom: 75%;\n position: relative;\n overflow: hidden;\n}\n.vc-sketch-controls {\n display: flex;\n}\n.vc-sketch-sliders {\n padding: 4px 0;\n flex: 1;\n}\n.vc-sketch-sliders .vc-hue,\n.vc-sketch-sliders .vc-alpha-gradient {\n border-radius: 2px;\n}\n.vc-sketch-hue-wrap {\n position: relative;\n height: 10px;\n}\n.vc-sketch-alpha-wrap {\n position: relative;\n height: 10px;\n margin-top: 4px;\n overflow: hidden;\n}\n.vc-sketch-color-wrap {\n width: 24px;\n height: 24px;\n position: relative;\n margin-top: 4px;\n margin-left: 4px;\n border-radius: 3px;\n}\n.vc-sketch-active-color {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n border-radius: 2px;\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), inset 0 0 4px rgba(0, 0, 0, .25);\n z-index: 2;\n}\n.vc-sketch-color-wrap .vc-checkerboard {\n background-size: auto;\n}\n.vc-sketch-field {\n display: flex;\n padding-top: 4px;\n}\n.vc-sketch-field .vc-input__input {\n width: 90%;\n padding: 4px 0 3px 10%;\n border: none;\n box-shadow: inset 0 0 0 1px #ccc;\n font-size: 10px;\n}\n.vc-sketch-field .vc-input__label {\n display: block;\n text-align: center;\n font-size: 11px;\n color: #222;\n padding-top: 3px;\n padding-bottom: 4px;\n text-transform: capitalize;\n}\n.vc-sketch-field--single {\n flex: 1;\n padding-left: 6px;\n}\n.vc-sketch-field--double {\n flex: 2;\n}\n.vc-sketch-presets {\n margin-right: -10px;\n margin-left: -10px;\n padding-left: 10px;\n padding-top: 10px;\n border-top: 1px solid #eee;\n}\n.vc-sketch-presets-color {\n border-radius: 3px;\n overflow: hidden;\n position: relative;\n display: inline-block;\n margin: 0 10px 10px 0;\n vertical-align: top;\n cursor: pointer;\n width: 16px;\n height: 16px;\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);\n}\n.vc-sketch-presets-color .vc-checkerboard {\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);\n border-radius: 3px;\n}\n.vc-sketch__disable-alpha .vc-sketch-color-wrap {\n height: 10px;\n}\n",""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["vc-sketch",e.disableAlpha?"vc-sketch__disable-alpha":""],attrs:{role:"application","aria-label":"Sketch color picker"}},[n("div",{staticClass:"vc-sketch-saturation-wrap"},[n("saturation",{on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1),e._v(" "),n("div",{staticClass:"vc-sketch-controls"},[n("div",{staticClass:"vc-sketch-sliders"},[n("div",{staticClass:"vc-sketch-hue-wrap"},[n("hue",{on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1),e._v(" "),e.disableAlpha?e._e():n("div",{staticClass:"vc-sketch-alpha-wrap"},[n("alpha",{on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1)]),e._v(" "),n("div",{staticClass:"vc-sketch-color-wrap"},[n("div",{staticClass:"vc-sketch-active-color",style:{background:e.activeColor},attrs:{"aria-label":"Current color is "+e.activeColor}}),e._v(" "),n("checkboard")],1)]),e._v(" "),e.disableFields?e._e():n("div",{staticClass:"vc-sketch-field"},[n("div",{staticClass:"vc-sketch-field--double"},[n("ed-in",{attrs:{label:"hex",value:e.hex},on:{change:e.inputChange}})],1),e._v(" "),n("div",{staticClass:"vc-sketch-field--single"},[n("ed-in",{attrs:{label:"r",value:e.colors.rgba.r},on:{change:e.inputChange}})],1),e._v(" "),n("div",{staticClass:"vc-sketch-field--single"},[n("ed-in",{attrs:{label:"g",value:e.colors.rgba.g},on:{change:e.inputChange}})],1),e._v(" "),n("div",{staticClass:"vc-sketch-field--single"},[n("ed-in",{attrs:{label:"b",value:e.colors.rgba.b},on:{change:e.inputChange}})],1),e._v(" "),e.disableAlpha?e._e():n("div",{staticClass:"vc-sketch-field--single"},[n("ed-in",{attrs:{label:"a",value:e.colors.a,"arrow-offset":.01,max:1},on:{change:e.inputChange}})],1)]),e._v(" "),n("div",{staticClass:"vc-sketch-presets",attrs:{role:"group","aria-label":"A color preset, pick one to set as current color"}},[e._l(e.presetColors,(function(t){return[e.isTransparent(t)?n("div",{key:t,staticClass:"vc-sketch-presets-color",attrs:{"aria-label":"Color:"+t},on:{click:function(n){e.handlePreset(t)}}},[n("checkboard")],1):n("div",{key:t,staticClass:"vc-sketch-presets-color",style:{background:t},attrs:{"aria-label":"Color:"+t},on:{click:function(n){e.handlePreset(t)}}})]}))],2)])};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(21),a=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o=n(74),s=!1,c=function(e){s||n(72)},l=n(2)(a.a,o.a,!1,c,null,null);l.options.__file="src/components/Chrome.vue",t.default=l.exports},function(e,t,n){var r=n(73);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(1)("1cd16048",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-chrome {\n background: #fff;\n border-radius: 2px;\n box-shadow: 0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3);\n box-sizing: initial;\n width: 225px;\n font-family: Menlo;\n background-color: #fff;\n}\n.vc-chrome-controls {\n display: flex;\n}\n.vc-chrome-color-wrap {\n position: relative;\n width: 36px;\n}\n.vc-chrome-active-color {\n position: relative;\n width: 30px;\n height: 30px;\n border-radius: 15px;\n overflow: hidden;\n z-index: 1;\n}\n.vc-chrome-color-wrap .vc-checkerboard {\n width: 30px;\n height: 30px;\n border-radius: 15px;\n background-size: auto;\n}\n.vc-chrome-sliders {\n flex: 1;\n}\n.vc-chrome-fields-wrap {\n display: flex;\n padding-top: 16px;\n}\n.vc-chrome-fields {\n display: flex;\n margin-left: -6px;\n flex: 1;\n}\n.vc-chrome-field {\n padding-left: 6px;\n width: 100%;\n}\n.vc-chrome-toggle-btn {\n width: 32px;\n text-align: right;\n position: relative;\n}\n.vc-chrome-toggle-icon {\n margin-right: -4px;\n margin-top: 12px;\n cursor: pointer;\n position: relative;\n z-index: 2;\n}\n.vc-chrome-toggle-icon-highlight {\n position: absolute;\n width: 24px;\n height: 28px;\n background: #eee;\n border-radius: 4px;\n top: 10px;\n left: 12px;\n}\n.vc-chrome-hue-wrap {\n position: relative;\n height: 10px;\n margin-bottom: 8px;\n}\n.vc-chrome-alpha-wrap {\n position: relative;\n height: 10px;\n}\n.vc-chrome-hue-wrap .vc-hue {\n border-radius: 2px;\n}\n.vc-chrome-alpha-wrap .vc-alpha-gradient {\n border-radius: 2px;\n}\n.vc-chrome-hue-wrap .vc-hue-picker, .vc-chrome-alpha-wrap .vc-alpha-picker {\n width: 12px;\n height: 12px;\n border-radius: 6px;\n transform: translate(-6px, -2px);\n background-color: rgb(248, 248, 248);\n box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);\n}\n.vc-chrome-body {\n padding: 16px 16px 12px;\n background-color: #fff;\n}\n.vc-chrome-saturation-wrap {\n width: 100%;\n padding-bottom: 55%;\n position: relative;\n border-radius: 2px 2px 0 0;\n overflow: hidden;\n}\n.vc-chrome-saturation-wrap .vc-saturation-circle {\n width: 12px;\n height: 12px;\n}\n.vc-chrome-fields .vc-input__input {\n font-size: 11px;\n color: #333;\n width: 100%;\n border-radius: 2px;\n border: none;\n box-shadow: inset 0 0 0 1px #dadada;\n height: 21px;\n text-align: center;\n}\n.vc-chrome-fields .vc-input__label {\n text-transform: uppercase;\n font-size: 11px;\n line-height: 11px;\n color: #969696;\n text-align: center;\n display: block;\n margin-top: 12px;\n}\n.vc-chrome__disable-alpha .vc-chrome-active-color {\n width: 18px;\n height: 18px;\n}\n.vc-chrome__disable-alpha .vc-chrome-color-wrap {\n width: 30px;\n}\n.vc-chrome__disable-alpha .vc-chrome-hue-wrap {\n margin-top: 4px;\n margin-bottom: 4px;\n}\n",""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["vc-chrome",e.disableAlpha?"vc-chrome__disable-alpha":""],attrs:{role:"application","aria-label":"Chrome color picker"}},[n("div",{staticClass:"vc-chrome-saturation-wrap"},[n("saturation",{on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1),e._v(" "),n("div",{staticClass:"vc-chrome-body"},[n("div",{staticClass:"vc-chrome-controls"},[n("div",{staticClass:"vc-chrome-color-wrap"},[n("div",{staticClass:"vc-chrome-active-color",style:{background:e.activeColor},attrs:{"aria-label":"current color is "+e.colors.hex}}),e._v(" "),e.disableAlpha?e._e():n("checkboard")],1),e._v(" "),n("div",{staticClass:"vc-chrome-sliders"},[n("div",{staticClass:"vc-chrome-hue-wrap"},[n("hue",{on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1),e._v(" "),e.disableAlpha?e._e():n("div",{staticClass:"vc-chrome-alpha-wrap"},[n("alpha",{on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1)])]),e._v(" "),e.disableFields?e._e():n("div",{staticClass:"vc-chrome-fields-wrap"},[n("div",{directives:[{name:"show",rawName:"v-show",value:0===e.fieldsIndex,expression:"fieldsIndex === 0"}],staticClass:"vc-chrome-fields"},[n("div",{staticClass:"vc-chrome-field"},[e.hasAlpha?e._e():n("ed-in",{attrs:{label:"hex",value:e.colors.hex},on:{change:e.inputChange}}),e._v(" "),e.hasAlpha?n("ed-in",{attrs:{label:"hex",value:e.colors.hex8},on:{change:e.inputChange}}):e._e()],1)]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:1===e.fieldsIndex,expression:"fieldsIndex === 1"}],staticClass:"vc-chrome-fields"},[n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"r",value:e.colors.rgba.r},on:{change:e.inputChange}})],1),e._v(" "),n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"g",value:e.colors.rgba.g},on:{change:e.inputChange}})],1),e._v(" "),n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"b",value:e.colors.rgba.b},on:{change:e.inputChange}})],1),e._v(" "),e.disableAlpha?e._e():n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"a",value:e.colors.a,"arrow-offset":.01,max:1},on:{change:e.inputChange}})],1)]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:2===e.fieldsIndex,expression:"fieldsIndex === 2"}],staticClass:"vc-chrome-fields"},[n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"h",value:e.hsl.h},on:{change:e.inputChange}})],1),e._v(" "),n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"s",value:e.hsl.s},on:{change:e.inputChange}})],1),e._v(" "),n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"l",value:e.hsl.l},on:{change:e.inputChange}})],1),e._v(" "),e.disableAlpha?e._e():n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"a",value:e.colors.a,"arrow-offset":.01,max:1},on:{change:e.inputChange}})],1)]),e._v(" "),n("div",{staticClass:"vc-chrome-toggle-btn",attrs:{role:"button","aria-label":"Change another color definition"},on:{click:e.toggleViews}},[n("div",{staticClass:"vc-chrome-toggle-icon"},[n("svg",{staticStyle:{width:"24px",height:"24px"},attrs:{viewBox:"0 0 24 24"},on:{mouseover:e.showHighlight,mouseenter:e.showHighlight,mouseout:e.hideHighlight}},[n("path",{attrs:{fill:"#333",d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}})])]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.highlight,expression:"highlight"}],staticClass:"vc-chrome-toggle-icon-highlight"})])])])])};r._withStripped=!0;var a={render:r,staticRenderFns:[]};t.a=a}])}).call(this,n(11))},function(e,t,n){"use strict";var r=n(0),a=n(32).findIndex,i=n(60),o=n(17),s=!0,c=o("findIndex");"findIndex"in[]&&Array(1).findIndex((function(){s=!1})),r({target:"Array",proto:!0,forced:s||!c},{findIndex:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},function(e,t,n){"use strict";var r=n(0),a=n(85).includes,i=n(60);r({target:"Array",proto:!0,forced:!n(17)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(e,t,n){"use strict";var r=n(0),a=n(334).left,i=n(58),o=n(17),s=i("reduce"),c=o("reduce",{1:0});r({target:"Array",proto:!0,forced:!s||!c},{reduce:function(e){return a(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(44),a=n(18),i=n(38),o=n(14),s=function(e){return function(t,n,s,c){r(n);var l=a(t),u=i(l),p=o(l.length),d=e?p-1:0,f=e?-1:1;if(s<2)for(;;){if(d in u){c=u[d],d+=f;break}if(d+=f,e?d<0:p<=d)throw TypeError("Reduce of empty array with no initial value")}for(;e?d>=0:p>d;d+=f)d in u&&(c=n(c,u[d],d,l));return c}};e.exports={left:s(!1),right:s(!0)}},function(e,t,n){"use strict";var r=n(0),a=n(191),i=n(21);r({target:"String",proto:!0,forced:!n(193)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(a(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(0),a=n(32).find,i=n(60),o=n(17),s=!0,c=o("find");"find"in[]&&Array(1).find((function(){s=!1})),r({target:"Array",proto:!0,forced:s||!c},{find:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(e,t,n){var r=n(0),a=n(3),i=n(13),o=n(23).f,s=n(4),c=a((function(){o(1)}));r({target:"Object",stat:!0,forced:!s||c,sham:!s},{getOwnPropertyDescriptor:function(e,t){return o(i(e),t)}})},function(e,t,n){var r=n(0),a=n(4),i=n(133),o=n(13),s=n(23),c=n(47);r({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(e){for(var t,n,r=o(e),a=s.f,l=i(r),u={},p=0;l.length>p;)void 0!==(n=a(r,t=l[p++]))&&c(u,t,n);return u}})},function(e,t,n){var r=n(0),a=n(18),i=n(42);r({target:"Object",stat:!0,forced:n(3)((function(){i(1)}))},{keys:function(e){return i(a(e))}})},function(e,t,n){var r=n(0),a=n(341).values;r({target:"Object",stat:!0},{values:function(e){return a(e)}})},function(e,t,n){var r=n(4),a=n(42),i=n(13),o=n(57).f,s=function(e){return function(t){for(var n,s=i(t),c=a(s),l=c.length,u=0,p=[];l>u;)n=c[u++],r&&!o.call(s,n)||p.push(e?[n,s[n]]:s[n]);return p}};e.exports={entries:s(!0),values:s(!1)}},function(e,t,n){"use strict";var r=n(65);n.n(r).a},function(e,t,n){(t=n(194)(!1)).push([e.i,"#updatenotification[data-v-d4a3f15a]{margin-top:-25px;margin-bottom:200px}#updatenotification div.update[data-v-d4a3f15a],#updatenotification p[data-v-d4a3f15a]:not(.inlineblock){margin-bottom:25px}#updatenotification h2.inlineblock[data-v-d4a3f15a]{margin-top:25px}#updatenotification h3[data-v-d4a3f15a]{cursor:pointer}#updatenotification h3 .icon[data-v-d4a3f15a]{cursor:pointer}#updatenotification h3[data-v-d4a3f15a]:first-of-type{margin-top:0}#updatenotification h3.update-channel-selector[data-v-d4a3f15a]{display:inline-block;cursor:inherit}#updatenotification .icon[data-v-d4a3f15a]{display:inline-block;margin-bottom:-3px}#updatenotification .icon-triangle-s[data-v-d4a3f15a],#updatenotification .icon-triangle-n[data-v-d4a3f15a]{opacity:0.5}#updatenotification .whatsNew[data-v-d4a3f15a]{display:inline-block}#updatenotification .toggleWhatsNew[data-v-d4a3f15a]{position:relative}#updatenotification .popovermenu[data-v-d4a3f15a]{margin-top:5px;width:300px}#updatenotification .popovermenu p[data-v-d4a3f15a]{margin-bottom:0;width:100%}#updatenotification .applist[data-v-d4a3f15a]{margin-bottom:25px}#updatenotification .update-menu[data-v-d4a3f15a]{position:relative;cursor:pointer;margin-left:3px;display:inline-block}#updatenotification .update-menu .icon-update-menu[data-v-d4a3f15a]{cursor:inherit}#updatenotification .update-menu .icon-update-menu .icon-triangle-s[data-v-d4a3f15a]{display:inline-block;vertical-align:middle;cursor:inherit;opacity:1}#updatenotification .update-menu .popovermenu[data-v-d4a3f15a]{display:none;top:28px}#updatenotification .update-menu .popovermenu.show-menu[data-v-d4a3f15a]{display:block}\n",""]),e.exports=t},function(e,t,n){"use strict";var r=n(66);n.n(r).a},function(e,t,n){(t=n(194)(!1)).push([e.i,"#updatenotification .popovermenu{margin-top:5px;width:300px}#updatenotification .popovermenu p{margin-top:5px;width:100%}#updatenotification .update-menu .icon-star:hover,#updatenotification .update-menu .icon-star:focus{background-image:var(--icon-star-000)}#updatenotification .topMargin{margin-top:15px}\n",""]),e.exports=t},function(e,t,n){"use strict";function r(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function a(e){r(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function i(e){r(1,arguments);var t=a(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function o(e){r(1,arguments);var t=a(e);return t.setDate(1),t.setHours(0,0,0,0),t}function s(e){r(1,arguments);var t=a(e);return t.setHours(0,0,0,0),t}function c(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function l(e){r(1,arguments);var t=a(e),n=t.getFullYear(),i=t.getMonth(),o=new Date(0);return o.setFullYear(n,i+1,0),o.setHours(0,0,0,0),o.getDate()}function u(e,t){r(2,arguments);var n=a(e),i=c(t),o=n.getMonth()+i,s=new Date(0);s.setFullYear(n.getFullYear(),o,1),s.setHours(0,0,0,0);var u=l(s);return n.setMonth(o,Math.min(u,n.getDate())),n}function p(e,t){r(2,arguments);var n=c(t);return u(e,-n)}function d(e,t){r(2,arguments);var n=c(t);return u(e,12*n)}function f(e,t){r(2,arguments);var n=a(e),i=c(t);return isNaN(n)?new Date(NaN):(n.setFullYear(i),n)}function h(e,t){r(2,arguments);var n=a(e),i=c(t),o=n.getFullYear(),s=n.getDate(),u=new Date(0);u.setFullYear(o,i,15),u.setHours(0,0,0,0);var p=l(u);return n.setMonth(i,Math.min(s,p)),n}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(){return(v=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 g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(n,!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function A(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function y(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function x(e){return y(e)?new Date(e.getTime()):null==e?new Date(NaN):new Date(e)}function w(e){return y(e)&&!isNaN(e.getTime())}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!(t>=0&&t<=6))throw new RangeError("weekStartsOn must be between 0 and 6");var n=x(e),r=n.getDay(),a=(r+7-t)%7;return n.setDate(n.getDate()-a),n.setHours(0,0,0,0),n}function C(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.firstDayOfWeek,r=void 0===n?0:n,a=t.firstWeekContainsDate,i=void 0===a?1:a;if(!(i>=1&&i<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7");for(var o=x(e),s=o.getFullYear(),c=new Date(0),l=s+1;l>=s-1&&(c.setFullYear(l,0,i),c.setHours(0,0,0,0),c=_(c,r),!(o.getTime()>=c.getTime()));l--);return c}function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.firstDayOfWeek,r=void 0===n?0:n,a=t.firstWeekContainsDate,i=void 0===a?1:a,o=x(e),s=_(o,r),c=C(o,{firstDayOfWeek:r,firstWeekContainsDate:i}),l=s.getTime()-c.getTime();return Math.round(l/6048e5)+1}n.r(t);var T={months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],firstDayOfWeek:0,firstWeekContainsDate:1},E=/\[([^\]]+)]|YYYY|YY?|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|Z{1,2}|S{1,3}|w{1,2}|x|X|a|A/g;function S(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n="".concat(Math.abs(e)),r=e<0?"-":"";n.length<t;)n="0".concat(n);return r+n}function M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e>0?"-":"+",r=Math.abs(e),a=Math.floor(r/60),i=r%60;return n+S(a,2)+t+S(i,2)}var O=function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLocaleLowerCase():r},I={Y:function(e){var t=e.getFullYear();return t<=9999?"".concat(t):"+".concat(t)},YY:function(e){return S(e.getFullYear(),4).substr(2)},YYYY:function(e){return S(e.getFullYear(),4)},M:function(e){return e.getMonth()+1},MM:function(e){return S(e.getMonth()+1,2)},MMM:function(e,t){return t.monthsShort[e.getMonth()]},MMMM:function(e,t){return t.months[e.getMonth()]},D:function(e){return e.getDate()},DD:function(e){return S(e.getDate(),2)},H:function(e){return e.getHours()},HH:function(e){return S(e.getHours(),2)},h:function(e){var t=e.getHours();return 0===t?12:t>12?t%12:t},hh:function(){var e=I.h.apply(I,arguments);return S(e,2)},m:function(e){return e.getMinutes()},mm:function(e){return S(e.getMinutes(),2)},s:function(e){return e.getSeconds()},ss:function(e){return S(e.getSeconds(),2)},S:function(e){return Math.floor(e.getMilliseconds()/100)},SS:function(e){return S(Math.floor(e.getMilliseconds()/10),2)},SSS:function(e){return S(e.getMilliseconds(),3)},d:function(e){return e.getDay()},dd:function(e,t){return t.weekdaysMin[e.getDay()]},ddd:function(e,t){return t.weekdaysShort[e.getDay()]},dddd:function(e,t){return t.weekdays[e.getDay()]},A:function(e,t){return(t.meridiem||O)(e.getHours(),e.getMinutes(),!1)},a:function(e,t){return(t.meridiem||O)(e.getHours(),e.getMinutes(),!0)},Z:function(e){return M(e.getTimezoneOffset(),":")},ZZ:function(e){return M(e.getTimezoneOffset())},X:function(e){return Math.floor(e.getTime()/1e3)},x:function(e){return e.getTime()},w:function(e,t){return k(e,{firstDayOfWeek:t.firstDayOfWeek,firstWeekContainsDate:t.firstWeekContainsDate})},ww:function(e,t){return S(I.w(e,t),2)}};function N(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t?String(t):"YYYY-MM-DDTHH:mm:ss.SSSZ",a=x(e);if(!w(a))return"Invalid Date";var i=n.locale||T;return r.replace(E,(function(e,t){return t||("function"==typeof I[e]?"".concat(I[e](a,i)):e)}))}function L(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")}()}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(n,!0).forEach((function(t){B(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function j(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F=/(\[[^\[]*\])|(MM?M?M?|Do|DD?|ddd?d?|w[o|w]?|YYYY|YY|a|A|hh?|HH?|mm?|ss?|S{1,3}|x|X|ZZ?|.)/g,R=/\d/,$=/\d\d/,U=/\d\d?/,z=/[+-]?\d+/,V=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Y={},H=function(e,t,n){var r,a=Array.isArray(e)?e:[e];r="string"==typeof n?function(e){var t=parseInt(e,10);return B({},n,t)}:n,a.forEach((function(e){Y[e]=[t,r]}))},G=function(e,t){return function(n,r){var a=r[e];if(!Array.isArray(a))throw new Error("Locale[".concat(e,"] need an array"));var i=a.indexOf(n);if(i<0)throw new Error("Invalid Word");return B({},t,i)}};function Q(e,t){if(void 0!==e&&void 0!==t)if(t){if(e<12)return e+12}else if(12===e)return 0;return e}function W(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,n=[0,0,1,0,0,0,0],r=[t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()],a=!0,i=0;i<7;i++)void 0===e[i]?n[i]=a?r[i]:n[i]:(n[i]=e[i],a=!1);return n}function q(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=n[0];return a<100&&a>=0?(n[0]+=400,e=new Date(Date.UTC.apply(Date,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(a)):e=new Date(Date.UTC.apply(Date,n)),e}function Z(e,t,n){var r=t.match(F);if(!r)throw new Error;for(var a=r.length,i={},o=0;o<a;o+=1){var s=r[o],c=Y[s];if(c){var l="function"==typeof c[0]?c[0](n):c[0],u=c[1],p=(l.exec(e)||[])[0];i=P({},i,{},u(p,n)),e=e.replace(p,"")}else{var d=s.replace(/^\[|\]$/g,"");if(0!==e.indexOf(d))throw new Error("not match");e=e.substr(d.length)}}return i}function X(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,s=new Date(e,t,n,r,a,i,o);return e<100&&e>=0&&s.setFullYear(e),s}function K(e){return e instanceof Date&&!isNaN(e)}function J(e){return Array.isArray(e)&&2===e.length&&e.every(K)&&e[0]<=e[1]}function ee(e){for(var t=new Date(e),n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return K(t)?t:ee.apply(void 0,r)}function te(e,t){var n=new Date(e),r=new Date(t);return n.setHours(r.getHours(),r.getMinutes(),r.getSeconds()),n}function ne(e,t){if(!Array.isArray(e))return[];var n=[],r=e.length,a=0;for(t=t||r;a<r;)n.push(e.slice(a,a+=t));return n}function re(e){return"[object Object]"===Object.prototype.toString.call(e)}function ae(e,t){if(!re(e))return{};Array.isArray(t)||(t=[t]);var n={};return t.forEach((function(t){t in e&&(n[t]=e[t])})),n}H("Y",z,"year"),H("YY",$,(function(e){var t=(new Date).getFullYear(),n=Math.floor(t/100),r=parseInt(e,10);return B({},"year",r=100*(r>68?n-1:n)+r)})),H("YYYY",/\d{4}/,"year"),H("M",U,(function(e){return B({},"month",parseInt(e,10)-1)})),H("MM",$,(function(e){return B({},"month",parseInt(e,10)-1)})),H("MMM",V,G("monthsShort","month")),H("MMMM",V,G("months","month")),H("D",U,"day"),H("DD",$,"day"),H(["H","h"],U,"hour"),H(["HH","hh"],$,"hour"),H("m",U,"minute"),H("mm",$,"minute"),H("s",U,"second"),H("ss",$,"second"),H("S",R,(function(e){return B({},"millisecond",100*parseInt(e,10))})),H("SS",$,(function(e){return B({},"millisecond",10*parseInt(e,10))})),H("SSS",/\d{3}/,"millisecond"),H(["A","a"],(function(e){return e.meridiemParse||/[ap]\.?m?\.?/i}),(function(e,t){return{isPM:"function"==typeof t.isPM?t.isPM(e):function(e){return"p"==="".concat(e).toLowerCase().charAt(0)}(e)}})),H(["Z","ZZ"],/[+-]\d\d:?\d\d/,(function(e){return{offset:(t=e,n=j(t.match(/([+-]|\d\d)/g)||["-","0","0"],3),r=n[0],a=n[1],i=n[2],o=60*parseInt(a,10)+parseInt(i,10),0===o?0:"+"===r?-o:+o)};var t,n,r,a,i,o})),H("x",z,(function(e){return{date:new Date(parseInt(e,10))}})),H("X",/[+-]?\d+(\.\d{1,3})?/,(function(e){return{date:new Date(1e3*parseFloat(e))}})),H("d",R,"weekday"),H("dd",V,G("weekdaysMin","weekday")),H("ddd",V,G("weekdaysShort","weekday")),H("dddd",V,G("weekdays","weekday")),H("w",U,"week"),H("ww",$,"week");var ie,oe=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],firstDayOfWeek:0,firstWeekContainsDate:1};t.default=n,e.exports=t.default})),se={formatLocale:(ie=oe)&&ie.__esModule&&Object.prototype.hasOwnProperty.call(ie,"default")?ie.default:ie,yearFormat:"YYYY",monthFormat:"MMM",monthBeforeYear:!0},ce="en",le={};function ue(e,t,n){if("string"!=typeof e)return le[ce];var r=ce;return le[e]&&(r=e),t&&(le[e]=t,r=e),n||(ce=r),le[e]||le[ce]}function pe(e){return ue(e,null,!0)}function de(e,t){for(var n,r=(e||"").split("."),a=t||pe(),i=0,o=r.length;i<o;i++){if(n=a[r[i]],i===o-1)return n;if(!n)return null;a=n}return null}function fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body;if(!e||e===t)return null;var n=function(e,t){return getComputedStyle(e,null).getPropertyValue(t)},r=/(auto|scroll)/,a=r.test(n(e,"overflow")+n(e,"overflow-y")+n(e,"overflow-x"));return a?e:fe(e.parentNode,t)}le[ce]=se;var he={name:"Popup",inject:{prefixClass:{default:"mx"}},props:{visible:{type:Boolean,default:!1},appendToBody:{type:Boolean,default:!0},inline:{type:Boolean,default:!1}},data:function(){return{top:"",left:""}},watch:{visible:{immediate:!0,handler:function(e){var t=this;this.$nextTick((function(){e&&t.displayPopup()}))}}},mounted:function(){var e=this;if(!this.inline){this.appendToBody&&document.body.appendChild(this.$el),this._clickoutEvent="ontouchend"in document?"touchstart":"mousedown",document.addEventListener(this._clickoutEvent,this.handleClickOutside);var t,n,r=this.$parent.$el;this._displayPopup=(t=function(){return e.displayPopup()},n=!1,function(){for(var e=this,r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];n||(n=!0,requestAnimationFrame((function(){n=!1,t.apply(e,a)})))}),this._scrollParent=fe(r)||window,this._scrollParent.addEventListener("scroll",this._displayPopup),window.addEventListener("resize",this._displayPopup)}},beforeDestroy:function(){this.inline||(this.appendToBody&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el),document.removeEventListener(this._clickoutEvent,this.handleClickOutside),this._scrollParent.removeEventListener("scroll",this._displayPopup),window.removeEventListener("resize",this._displayPopup))},methods:{handleClickOutside:function(e){if(this.visible){var t=e.target,n=this.$el;n&&!n.contains(t)&&this.$emit("clickoutside",e)}},displayPopup:function(){if(!this.inline&&this.visible){var e=this.$el,t=this.$parent.$el,n=this.appendToBody;this._popupRect||(this._popupRect=function(e){var t=e.style.display,n=e.style.visibility;e.style.display="block",e.style.visibility="hidden";var r=window.getComputedStyle(e),a=e.offsetWidth+parseInt(r.marginLeft,10)+parseInt(r.marginRight,10),i=e.offsetHeight+parseInt(r.marginTop,10)+parseInt(r.marginBottom,10);return e.style.display=t,e.style.visibility=n,{width:a,height:i}}(e));var r=this._popupRect,a=function(e,t,n,r){var a=0,i=0,o=0,s=0,c=e.getBoundingClientRect(),l=document.documentElement.clientWidth,u=document.documentElement.clientHeight;return r&&(o=window.pageXOffset+c.left,s=window.pageYOffset+c.top),a=l-c.left<t&&c.right<t?o-c.left+1:c.left+c.width/2<=l/2?o:o+c.width-t,i=c.top<=n&&u-c.bottom<=n?s+u-c.top-n:c.top+c.height/2<=u/2?s+c.height:s-n,{left:"".concat(a,"px"),top:"".concat(i,"px")}}(t,r.width,r.height,n),i=a.left,o=a.top;this.left=i,this.top=o}}},render:function(){var e=arguments[0],t=this.prefixClass;return this.inline?e("div",{class:"".concat(t,"-datepicker-main")},[this.$slots.default]):e("transition",{attrs:{name:"".concat(t,"-zoom-in-down")}},[this.visible&&e("div",{class:"".concat(t,"-datepicker-main ").concat(t,"-datepicker-popup"),style:{top:this.top,left:this.left,position:"absolute"}},[this.$slots.default])])}};function me(e,t,n,r,a,i,o,s,c,l){"boolean"!=typeof o&&(c=s,s=o,o=!1);var u,p="function"==typeof n?n.options:n;if(e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,a&&(p.functional=!0)),r&&(p._scopeId=r),i?(u=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__),t&&t.call(this,c(e)),e&&e._registeredComponents&&e._registeredComponents.add(i)},p._ssrRegister=u):t&&(u=o?function(e){t.call(this,l(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),u)if(p.functional){var d=p.render;p.render=function(e,t){return u.call(t),d(e,t)}}else{var f=p.beforeCreate;p.beforeCreate=f?[].concat(f,u):[u]}return n}"undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var ve,ge=me({render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"}},[t("path",{attrs:{d:"M940.218182 107.054545h-209.454546V46.545455h-65.163636v60.50909H363.054545V46.545455H297.890909v60.50909H83.781818c-18.618182 0-32.581818 13.963636-32.581818 32.581819v805.236363c0 18.618182 13.963636 32.581818 32.581818 32.581818h861.090909c18.618182 0 32.581818-13.963636 32.581818-32.581818V139.636364c-4.654545-18.618182-18.618182-32.581818-37.236363-32.581819zM297.890909 172.218182V232.727273h65.163636V172.218182h307.2V232.727273h65.163637V172.218182h176.872727v204.8H116.363636V172.218182h181.527273zM116.363636 912.290909V442.181818h795.927273v470.109091H116.363636z"}})])},staticRenderFns:[]},void 0,{},void 0,!1,void 0,!1,void 0,void 0,void 0),be=me({render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"}},[t("path",{attrs:{d:"M810.005333 274.005333l-237.994667 237.994667 237.994667 237.994667-60.010667 60.010667-237.994667-237.994667-237.994667 237.994667-60.010667-60.010667 237.994667-237.994667-237.994667-237.994667 60.010667-60.010667 237.994667 237.994667 237.994667-237.994667z"}})])},staticRenderFns:[]},void 0,{},void 0,!1,void 0,!1,void 0,void 0,void 0),Ae=me({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("table",{class:e.prefixClass+"-table "+e.prefixClass+"-table-date"},[n("thead",[n("tr",[e.showWeekNumber?n("th",{class:e.prefixClass+"-week-number-header"}):e._e(),e._v(" "),e._l(e.days,(function(t){return n("th",{key:t},[e._v(e._s(t))])}))],2)]),e._v(" "),n("tbody",{on:{click:e.handleCellClick}},e._l(e.dates,(function(t,r){return n("tr",{key:r,class:[e.prefixClass+"-date-row",e.getRowClasses(t)]},[e.showWeekNumber?n("td",{class:e.prefixClass+"-week-number"},[e._v("\n "+e._s(e.getWeekNumber(t[0].day))+"\n ")]):e._e(),e._v(" "),e._l(t,(function(t,r){return n("td",{key:r,staticClass:"cell",class:e.getCellClasses(t.day),attrs:{"data-day":t.day,title:e.getCellTitle(t.day)}},[n("div",[e._v(e._s(t.text))])])}))],2)})),0)])},staticRenderFns:[]},void 0,{name:"TableDate",inject:{t:{default:function(){return de}},getWeek:{default:function(){return k}},prefixClass:{default:"mx"}},props:{calendarYear:{type:Number,default:function(){return(new Date).getFullYear()}},calendarMonth:{type:Number,default:function(){return(new Date).getMonth()}},showWeekNumber:{type:Boolean,default:!1},titleFormat:{type:String,default:"YYYY-MM-DD"},getRowClasses:{type:Function,default:function(){return[]}},getCellClasses:{type:Function,default:function(){return[]}}},computed:{firstDayOfWeek:function(){return this.t("formatLocale.firstDayOfWeek")||0},days:function(){var e=this.t("days")||this.t("formatLocale.weekdaysMin");return e.concat(e).slice(this.firstDayOfWeek,this.firstDayOfWeek+7)},dates:function(){for(var e=[],t=this.firstDayOfWeek,n=this.calendarYear,r=this.calendarMonth,a=X(n,r,0),i=a.getDate(),o=i-(a.getDay()+7-t)%7,s=o;s<=i;s++){var c=s-i;e.push({day:c,text:s})}a.setMonth(r+1,0);for(var l=a.getDate(),u=1;u<=l;u++)e.push({day:u,text:u});for(var p=42-(i-o+1)-l,d=1;d<=p;d++)e.push({day:l+d,text:d});return ne(e,7)}},methods:{formatDate:function(e,t){return N(e,t,{locale:this.t("formatLocale")})},handleCellClick:function(e){var t=e.target;"DIV"===t.tagName&&(t=t.parentNode);var n=t.getAttribute("data-day");n&&this.$emit("select",parseInt(n,10))},getCellTitle:function(e){var t=this.calendarYear,n=this.calendarMonth,r=this.titleFormat,a=X(t,n,e);return this.formatDate(a,r)},getWeekNumber:function(e){var t=X(this.calendarYear,this.calendarMonth,e);return this.getWeek(t,this.t("formatLocale"))}}},void 0,!1,void 0,!1,void 0,void 0,void 0),ye=me({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("table",{class:e.prefixClass+"-table "+e.prefixClass+"-table-month",on:{click:e.handleClick}},e._l(e.months,(function(t,r){return n("tr",{key:r},e._l(t,(function(t,r){return n("td",{key:r,staticClass:"cell",class:e.getCellClasses(t.month),attrs:{"data-month":t.month}},[n("div",[e._v(e._s(t.text))])])})),0)})),0)},staticRenderFns:[]},void 0,{name:"TableMonth",inject:{t:{default:function(){return de}},prefixClass:{default:"mx"}},props:{getCellClasses:{type:Function,default:function(){return[]}}},computed:{months:function(){var e=(this.t("months")||this.t("formatLocale.monthsShort")).map((function(e,t){return{text:e,month:t}}));return ne(e,3)}},methods:{handleClick:function(e){var t=e.target;"DIV"===t.tagName&&(t=t.parentNode);var n=t.getAttribute("data-month");n&&this.$emit("select",parseInt(n,10))}}},void 0,!1,void 0,!1,void 0,void 0,void 0),xe=me({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("table",{class:e.prefixClass+"-table "+e.prefixClass+"-table-year",on:{click:e.handleClick}},e._l(e.years,(function(t,r){return n("tr",{key:r},e._l(t,(function(t,r){return n("td",{key:r,staticClass:"cell",class:e.getCellClasses(t),attrs:{"data-year":t}},[n("div",[e._v(e._s(t))])])})),0)})),0)},staticRenderFns:[]},void 0,{name:"TableYear",inject:{prefixClass:{default:"mx"}},props:{decade:Number,getCellClasses:{type:Function,default:function(){return[]}}},computed:{years:function(){for(var e=this.decade,t=[],n=0;n<10;n++)t.push(e+n);return ne(t,2)}},methods:{handleClick:function(e){var t=e.target;"DIV"===t.tagName&&(t=t.parentNode);var n=t.getAttribute("data-year");n&&this.$emit("select",parseInt(n,10))}}},void 0,!1,void 0,!1,void 0,void 0,void 0),we=me({render:function(){var e,t=this,n=t.$createElement,r=t._self._c||n;return r("div",{class:[t.prefixClass+"-calendar",t.prefixClass+"-calendar-panel-"+t.panel,(e={},e[t.prefixClass+"-calendar-week-mode"]="week"===t.type,e)]},[r("div",{class:t.prefixClass+"-calendar-header"},[r("button",{directives:[{name:"show",rawName:"v-show",value:t.showIconDoubleArrow,expression:"showIconDoubleArrow"}],class:t.prefixClass+"-btn "+t.prefixClass+"-btn-text "+t.prefixClass+"-btn-icon-double-left",attrs:{type:"button"},on:{click:t.handleIconDoubleLeftClick}},[r("i",{class:t.prefixClass+"-icon-double-left"})]),t._v(" "),r("button",{directives:[{name:"show",rawName:"v-show",value:t.showIconArrow,expression:"showIconArrow"}],class:t.prefixClass+"-btn "+t.prefixClass+"-btn-text "+t.prefixClass+"-btn-icon-left",attrs:{type:"button"},on:{click:t.handleIconLeftClick}},[r("i",{class:t.prefixClass+"-icon-left"})]),t._v(" "),r("button",{directives:[{name:"show",rawName:"v-show",value:t.showIconDoubleArrow,expression:"showIconDoubleArrow"}],class:t.prefixClass+"-btn "+t.prefixClass+"-btn-text "+t.prefixClass+"-btn-icon-double-right",attrs:{type:"button"},on:{click:t.handleIconDoubleRightClick}},[r("i",{class:t.prefixClass+"-icon-double-right"})]),t._v(" "),r("button",{directives:[{name:"show",rawName:"v-show",value:t.showIconArrow,expression:"showIconArrow"}],class:t.prefixClass+"-btn "+t.prefixClass+"-btn-text "+t.prefixClass+"-btn-icon-right",attrs:{type:"button"},on:{click:t.handleIconRightClick}},[r("i",{class:t.prefixClass+"-icon-right"})]),t._v(" "),r("span",{class:t.prefixClass+"-calendar-header-label"},["year"===t.panel?[r("span",[t._v(t._s(t.calendarDecade))]),t._v(" "),r("span",{class:t.prefixClass+"-calendar-decade-separator"}),t._v(" "),r("span",[t._v(t._s(t.calendarDecade+9))])]:"month"===t.panel?r("button",{class:t.prefixClass+"-btn "+t.prefixClass+"-btn-text",attrs:{type:"button"},on:{click:function(e){return t.handelPanelChange("year")}}},[t._v("\n "+t._s(t.calendarYear)+"\n ")]):"date"===t.panel?t._l(t.dateHeader,(function(e){return r("button",{key:e.panel,class:t.prefixClass+"-btn "+t.prefixClass+"-btn-text "+t.prefixClass+"-btn-current-"+e.panel,attrs:{type:"button"},on:{click:function(n){return t.handelPanelChange(e.panel)}}},[t._v("\n "+t._s(e.label)+"\n ")])})):t._e()],2)]),t._v(" "),r("div",{class:t.prefixClass+"-calendar-content"},[r("table-year",{directives:[{name:"show",rawName:"v-show",value:"year"===t.panel,expression:"panel === 'year'"}],attrs:{decade:t.calendarDecade,"get-cell-classes":t.getYearClasses},on:{select:t.handleSelectYear}}),t._v(" "),"year"!==t.type?r("table-month",{directives:[{name:"show",rawName:"v-show",value:"month"===t.panel,expression:"panel === 'month'"}],attrs:{"get-cell-classes":t.getMonthClasses},on:{select:t.handleSelectMonth}}):t._e(),t._v(" "),"year"!==t.type&&"month"!==t.type?r("table-date",{directives:[{name:"show",rawName:"v-show",value:"date"===t.panel,expression:"panel === 'date'"}],attrs:{"calendar-year":t.calendarYear,"calendar-month":t.calendarMonth,"title-format":t.titleFormat,"show-week-number":"boolean"==typeof t.showWeekNumber?t.showWeekNumber:"week"===t.type,"get-cell-classes":t.getDateClasses,"get-row-classes":t.getWeekState},on:{select:t.handleSelectDate}}):t._e()],1)])},staticRenderFns:[]},void 0,{name:"CalendarPanel",components:{TableDate:Ae,TableMonth:ye,TableYear:xe},mixins:[{methods:{dispatch:function(e){for(var t=this.$parent||this.$root,n=t.$options.name;t&&(!n||n!==e);)(t=t.$parent)&&(n=t.$options.name);if(t){for(var r,a=arguments.length,i=new Array(a>1?a-1:0),o=1;o<a;o++)i[o-1]=arguments[o];(r=t).$emit.apply(r,i)}}}}],inject:{t:{default:function(){return de}},prefixClass:{default:"mx"}},props:{value:{},defaultValue:{default:function(){var e=new Date;return e.setHours(0,0,0,0),e}},defaultPanel:{type:String},disabledDate:{type:Function,default:function(){return!1}},type:{type:String,default:"date"},getClasses:{type:Function,default:function(){return[]}},showWeekNumber:{type:Boolean,default:void 0},titleFormat:{type:String,default:"YYYY-MM-DD"},calendar:Date,partialUpdate:{type:Boolean,default:!1}},data:function(){var e=["date","month","year"],t=Math.max(e.indexOf(this.type),e.indexOf(this.defaultPanel));return{panel:-1!==t?e[t]:"date",innerCalendar:null}},computed:{innerValue:function(){var e=Array.isArray(this.value)?this.value:[this.value],t={year:i,month:o,date:s},n=t[this.type]||t.date;return e.filter(K).map((function(e){return n(e)}))},calendarYear:function(){return this.innerCalendar.getFullYear()},calendarMonth:function(){return this.innerCalendar.getMonth()},calendarDecade:function(){return 10*Math.floor(this.calendarYear/10)},showIconDoubleArrow:function(){return"date"===this.panel||"month"===this.panel||"year"===this.panel},showIconArrow:function(){return"date"===this.panel},dateHeader:function(){var e=this.t("monthBeforeYear"),t=this.t("yearFormat"),n=this.t("monthFormat")||"MMM",r={panel:"year",label:this.formatDate(this.innerCalendar,t)},a={panel:"month",label:this.formatDate(this.innerCalendar,n)};return e?[a,r]:[r,a]}},watch:{value:{immediate:!0,handler:"initCalendar"},calendar:{handler:"initCalendar"},defaultValue:{handler:"initCalendar"}},methods:{formatDate:function(e,t){return N(e,t,{locale:this.t("formatLocale")})},initCalendar:function(){var e=this.calendar;K(e)||(e=ee(this.innerValue[0],this.defaultValue)),this.innerCalendar=e},isDisabled:function(e){return this.disabledDate(new Date(e),this.innerValue)},emitDate:function(e,t){this.isDisabled(e)||(this.$emit("select",e,t),this.dispatch("DatePicker","pick",e,t))},updateCalendar:function(e){var t=new Date(this.innerCalendar);this.innerCalendar=e,this.$emit("update:calendar",e),this.dispatch("DatePicker","calendar-change",e,t)},handelPanelChange:function(e){this.panel=e},handleIconLeftClick:function(){var e=p(this.innerCalendar,1);this.updateCalendar(e)},handleIconRightClick:function(){var e=u(this.innerCalendar,1);this.updateCalendar(e)},handleIconDoubleLeftClick:function(){var e=function(e,t){r(2,arguments);var n=c(t);return d(e,-n)}(this.innerCalendar,"year"===this.panel?10:1);this.updateCalendar(e)},handleIconDoubleRightClick:function(){var e=d(this.innerCalendar,"year"===this.panel?10:1);this.updateCalendar(e)},handleSelectYear:function(e){if("year"===this.type){var t=this.getCellDate(e,"year");this.emitDate(t,"year")}else{var n=f(this.innerCalendar,e);if(this.updateCalendar(n),this.handelPanelChange("month"),this.partialUpdate&&this.innerValue[0]){var r=f(this.innerValue[0],e);this.emitDate(r,"year")}}},handleSelectMonth:function(e){if("month"===this.type){var t=this.getCellDate(e,"month");this.emitDate(t,"month")}else{var n=h(this.innerCalendar,e);if(this.updateCalendar(n),this.handelPanelChange("date"),this.partialUpdate&&this.innerValue[0]){var r=h(f(this.innerValue[0],this.calendarYear),e);this.emitDate(r,"month")}}},handleSelectDate:function(e){var t=this.getCellDate(e,"date");this.emitDate(t,"week"===this.type?"week":"date")},getCellDate:function(e,t){return"year"===t?X(e,0):"month"===t?X(this.calendarYear,e):X(this.calendarYear,this.calendarMonth,e)},getDateClasses:function(e){var t=this.getCellDate(e,"date"),n=t.getMonth()!==this.calendarMonth,r=[];t.getTime()===(new Date).setHours(0,0,0,0)&&r.push("today"),n&&r.push("not-current-month");var a=this.getStateClass(t);return"active"===a&&n||r.push(a),r.concat(this.getClasses(t,this.innerValue,r.join(" ")))},getMonthClasses:function(e){if("month"!==this.type)return this.calendarMonth===e?"active":"";var t=[],n=this.getCellDate(e,"month");return t.push(this.getStateClass(n)),t.concat(this.getClasses(n,this.innerValue,t.join(" ")))},getYearClasses:function(e){if("year"!==this.type)return this.calendarYear===e?"active":"";var t=[],n=this.getCellDate(e,"year");return t.push(this.getStateClass(n)),t.concat(this.getClasses(n,this.innerValue,t.join(" ")))},getStateClass:function(e){return this.isDisabled(e)?"disabled":this.innerValue.some((function(t){return t.getTime()===e.getTime()}))?"active":""},getWeekState:function(e){if("week"!==this.type)return"";var t=this.getCellDate(e[0].day,"date").getTime(),n=this.getCellDate(e[6].day,"date").getTime();return this.innerValue.some((function(e){var r=e.getTime();return r>=t&&r<=n}))?"".concat(this.prefixClass,"-active-week"):""}}},void 0,!1,void 0,!1,void 0,void 0,void 0),_e={name:"CalendarRange",components:{CalendarPanel:we},inject:{prefixClass:{default:"mx"}},props:b({},we.props),data:function(){return{innerValue:[],calendars:[]}},computed:{calendarMinDiff:function(){var e={date:1,month:12,year:120};return e[this.type]||e.date},calendarMaxDiff:function(){return 1/0},defaultValues:function(){return Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue,this.defaultValue]}},watch:{value:{immediate:!0,handler:function(){var e=this;this.innerValue=J(this.value)?this.value:[new Date(NaN),new Date(NaN)],this.calendars=this.innerValue.map((function(t,n){return ee(t,e.defaultValues[n])})),this.validateCalendars(1)}}},methods:{handleSelect:function(e,t){var n=A(this.innerValue,2),r=n[0],a=n[1];K(r)&&!K(a)?(r.getTime()>e.getTime()?this.innerValue=[e,r]:this.innerValue=[r,e],this.emitDate(this.innerValue,t)):this.innerValue=[e,new Date(NaN)]},emitDate:function(e,t){this.$emit("select",e,t)},updateStartCalendar:function(e){this.calendars.splice(0,1,e),this.validateCalendars(1)},updateEndCalendar:function(e){this.calendars.splice(1,1,e),this.validateCalendars(0)},validateCalendars:function(e){var t=this.getCalendarGap();if(t){var n=this.calendars[e];n=0===e?p(n,t):u(n,t),this.calendars.splice(e,1,n)}},getCalendarGap:function(){var e=function(e,t){r(2,arguments);var n=a(e),i=a(t),o=n.getFullYear()-i.getFullYear(),s=n.getMonth()-i.getMonth();return 12*o+s}(this.calendars[1],this.calendars[0]),t=this.calendarMinDiff,n=this.calendarMaxDiff;return e<t?t-e:e>n?n-e:0},getRangeClasses:function(e,t,n){var r=[].concat(this.getClasses(e,t,n));return!/disabled|active|not-current-month/.test(n)&&2===t.length&&e.getTime()>t[0].getTime()&&e.getTime()<t[1].getTime()&&r.push("in-range"),r}},render:function(){var e=this,t=arguments[0],n=this.calendars.map((function(n,r){var a=b({},e.$props,{calendar:n,value:e.innerValue,defaultValue:e.defaultValues[r],getClasses:e.getRangeClasses,partialUpdate:!1}),i={select:e.handleSelect,"update:calendar":0===r?e.updateStartCalendar:e.updateEndCalendar};return t("calendar-panel",{props:b({},a),on:b({},i)})})),r=this.prefixClass;return t("div",{class:"".concat(r,"-range-wrapper")},[n])}};var Ce=me({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.prefixClass+"-scrollbar",style:{position:"relative",overflow:"hidden"}},[n("div",{ref:"wrap",class:e.prefixClass+"-scrollbar-wrap",style:{marginRight:"-"+e.scrollbarWidth+"px"},on:{scroll:e.handleScroll}},[e._t("default")],2),e._v(" "),n("div",{class:e.prefixClass+"-scrollbar-track"},[n("div",{ref:"thumb",class:e.prefixClass+"-scrollbar-thumb",style:{height:e.thumbHeight,top:e.thumbTop},on:{mousedown:e.handleDragstart}})])])},staticRenderFns:[]},void 0,{inject:{prefixClass:{default:"mx"}},data:function(){return{scrollbarWidth:0,thumbTop:"",thumbHeight:""}},created:function(){this.scrollbarWidth=function(){if("undefined"==typeof window)return 0;if(void 0!==ve)return ve;var e=document.createElement("div");e.style.visibility="hidden",e.style.overflow="scroll",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=document.createElement("div");return t.style.width="100%",e.appendChild(t),ve=e.offsetWidth-t.offsetWidth,e.parentNode.removeChild(e),ve}(),document.addEventListener("mouseup",this.handleDragend)},beforeDestroy:function(){document.addEventListener("mouseup",this.handleDragend)},mounted:function(){this.$nextTick(this.getThumbSize)},methods:{getThumbSize:function(){var e=this.$refs.wrap;if(e){var t=100*e.clientHeight/e.scrollHeight;this.thumbHeight=t<100?"".concat(t,"%"):""}},handleScroll:function(e){var t=e.currentTarget,n=t.scrollHeight,r=t.scrollTop;this.thumbTop="".concat(100*r/n,"%")},handleDragstart:function(e){e.stopImmediatePropagation(),this._draggable=!0;var t=this.$refs.thumb.offsetTop;this._prevY=e.clientY-t,document.addEventListener("mousemove",this.handleDraging)},handleDraging:function(e){if(this._draggable){var t=e.clientY,n=this.$refs.wrap,r=n.scrollHeight,a=n.clientHeight,i=(t-this._prevY)*r/a;n.scrollTop=i}},handleDragend:function(){this._draggable&&(this._draggable=!1,document.removeEventListener("mousemove",this.handleDraging))}}},void 0,!1,void 0,!1,void 0,void 0,void 0),ke=function(e){return(e=parseInt(e,10))<10?"0".concat(e):"".concat(e)},Te=function(e,t,n){if(Array.isArray(n))return n.filter((function(t){return t>=0&&t<e}));t<=0&&(t=1);for(var r=[],a=0;a<e;a+=t)r.push(a);return r},Ee=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(r<=0)requestAnimationFrame((function(){t.scrollTop=n}));else{var a=n-t.scrollTop,i=a/r*10;requestAnimationFrame((function(){var a=t.scrollTop+i;a>=n?t.scrollTop=n:(t.scrollTop=a,e(t,n,r-10))}))}},Se=me({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.prefixClass+"-time-columns"},e._l(e.columns,(function(t,r){return n("scrollbar-vertical",{key:r,class:e.prefixClass+"-time-column"},[n("ul",{class:e.prefixClass+"-time-list",attrs:{"data-type":t.type,"data-index":r},on:{click:e.handleSelect}},e._l(t.list,(function(t,r){return n("li",{key:t.value,class:[e.prefixClass+"-time-item",e.getClasses(t.value)],attrs:{"data-index":r}},[e._v("\n "+e._s(t.text)+"\n ")])})),0)])})),1)},staticRenderFns:[]},void 0,{name:"ListColumns",components:{ScrollbarVertical:Ce},inject:{prefixClass:{default:"mx"}},props:{date:Date,getClasses:{type:Function,default:function(){return[]}},hourOptions:Array,minuteOptions:Array,secondOptions:Array,showHour:{type:Boolean,default:!0},showMinute:{type:Boolean,default:!0},showSecond:{type:Boolean,default:!0},hourStep:{type:Number,default:1},minuteStep:{type:Number,default:1},secondStep:{type:Number,default:1},use12h:{type:Boolean,default:!1}},computed:{columns:function(){var e=[];return this.showHour&&e.push({type:"hour",list:this.getHoursList()}),this.showMinute&&e.push({type:"minute",list:this.getMinutesList()}),this.showSecond&&e.push({type:"second",list:this.getSecondsList()}),this.use12h&&e.push({type:"ampm",list:this.getAMPMList()}),e.filter((function(e){return e.list.length>0}))}},watch:{date:{handler:function(){var e=this;this.$nextTick((function(){e.scrollToSelected(100)}))}}},mounted:function(){this.scrollToSelected(0)},methods:{getHoursList:function(){var e=this;return Te(this.use12h?12:24,this.hourStep,this.hourOptions).map((function(t){var n=new Date(e.date),r=ke(t);return e.use12h&&(0===t&&(r="12"),n.getHours()>=12&&(t+=12)),{value:n.setHours(t),text:r}}))},getMinutesList:function(){var e=this;return Te(60,this.minuteStep,this.minuteOptions).map((function(t){return{value:new Date(e.date).setMinutes(t),text:ke(t)}}))},getSecondsList:function(){var e=this;return Te(60,this.secondStep,this.secondOptions).map((function(t){return{value:new Date(e.date).setSeconds(t),text:ke(t)}}))},getAMPMList:function(){var e=this;return["AM","PM"].map((function(t,n){var r=new Date(e.date);return{text:t,value:r.setHours(r.getHours()%12+12*n)}}))},scrollToSelected:function(e){for(var t=this.$el.querySelectorAll(".active"),n=0;n<t.length;n++){var r=t[n],a=fe(r,this.$el);if(a){var i=r.offsetTop;Ee(a,i,e)}}},handleSelect:function(e){var t=e.target,n=e.currentTarget;if("LI"===t.tagName.toUpperCase()){var r=n.getAttribute("data-type"),a=parseInt(n.getAttribute("data-index"),10),i=parseInt(t.getAttribute("data-index"),10),o=this.columns[a].list[i].value;this.$emit("select",o,r)}}}},void 0,!1,void 0,!1,void 0,void 0,void 0);function Me(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split(":");if(t.length>=2){var n=parseInt(t[0],10),r=parseInt(t[1],10);return{hours:n,minutes:r}}return null}var Oe=me({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("scrollbar-vertical",e._l(e.list,(function(t){return n("div",{key:t.value,class:[e.prefixClass+"-time-option",e.getClasses(t.value)],on:{click:function(n){return e.handleSelect(t.value)}}},[e._v("\n "+e._s(t.text)+"\n ")])})),0)},staticRenderFns:[]},void 0,{name:"ListOptions",components:{ScrollbarVertical:Ce},inject:{t:{default:function(){return de}},prefixClass:{default:"mx"}},props:{date:Date,options:{type:[Object,Function],default:function(){return[]}},format:{type:String,default:"HH:mm:ss"},getClasses:{type:Function,default:function(){return[]}}},computed:{list:function(){var e=[],t=this.options;if("function"==typeof t)return t()||[];var n=Me(t.start),r=Me(t.end),a=Me(t.step),i=t.format||this.format;if(n&&r&&a)for(var o=n.minutes+60*n.hours,s=r.minutes+60*r.hours,c=a.minutes+60*a.hours,l=Math.floor((s-o)/c),u=0;u<=l;u++){var p=o+u*c,d=Math.floor(p/60),f=p%60,h=new Date(this.date).setHours(d,f,0);e.push({value:h,text:this.formatDate(h,i)})}return e}},mounted:function(){this.scrollToSelected()},methods:{formatDate:function(e,t){return N(e,t,{locale:this.t("formatLocale")})},scrollToSelected:function(){var e=this.$el.querySelector(".active");if(e){var t=fe(e,this.$el);if(t)!function(e,t){e&&(e.scrollTop=t)}(t,e.offsetTop)}},handleSelect:function(e){this.$emit("select",e,"time")}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Ie=me({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.prefixClass+"-time"},[e.showTimeHeader?n("div",{class:e.prefixClass+"-time-header"},[n("button",{class:e.prefixClass+"-btn "+e.prefixClass+"-btn-text "+e.prefixClass+"-time-header-title",attrs:{type:"button"},on:{click:e.handleClickTitle}},[e._v("\n "+e._s(e.title)+"\n ")])]):e._e(),e._v(" "),n("div",{class:e.prefixClass+"-time-content"},[e.timePickerOptions?n("list-options",{attrs:{date:e.innerValue,"get-classes":e.getClasses,options:e.timePickerOptions,format:e.innerForamt},on:{select:e.handleSelect}}):n("list-columns",e._b({attrs:{date:e.innerValue,"get-classes":e.getClasses,"hour-options":e.hourOptions,"minute-options":e.minuteOptions,"second-options":e.secondOptions,"hour-step":e.hourStep,"minute-step":e.minuteStep,"second-step":e.secondStep},on:{select:e.handleSelect}},"list-columns",e.ShowHourMinuteSecondAMPM,!1))],1)])},staticRenderFns:[]},void 0,{name:"TimePanel",components:{ListColumns:Se,ListOptions:Oe},inject:{t:{default:function(){return de}},prefixClass:{default:"mx"}},props:{value:{},defaultValue:{default:function(){var e=new Date;return e.setHours(0,0,0,0),e}},format:{default:"HH:mm:ss"},timeTitleFormat:{type:String,default:"YYYY-MM-DD"},showTimeHeader:{type:Boolean,default:!1},disabledTime:{type:Function,default:function(){return!1}},timePickerOptions:{type:[Object,Function],default:function(){return null}},hourOptions:Array,minuteOptions:Array,secondOptions:Array,hourStep:{type:Number,default:1},minuteStep:{type:Number,default:1},secondStep:{type:Number,default:1},showHour:{type:Boolean,default:void 0},showMinute:{type:Boolean,default:void 0},showSecond:{type:Boolean,default:void 0},use12h:{type:Boolean,default:void 0}},computed:{innerValue:function(){return ee(this.value,this.defaultValue)},title:function(){var e=this.timeTitleFormat,t=new Date(this.innerValue);return this.formatDate(t,e)},innerForamt:function(){return"string"==typeof this.format?this.format:"HH:mm:ss"},ShowHourMinuteSecondAMPM:function(){var e=this,t=this.innerForamt,n={showHour:/[HhKk]/.test(t),showMinute:/m/.test(t),showSecond:/s/.test(t),use12h:/a/i.test(t)},r={};return Object.keys(n).forEach((function(t){r[t]="boolean"==typeof e[t]?e[t]:n[t]})),r}},methods:{formatDate:function(e,t){return N(e,t,{locale:this.t("formatLocale")})},isDisabled:function(e){return this.disabledTime(new Date(e))},handleSelect:function(e,t){var n=new Date(e);this.isDisabled(e)||this.$emit("select",n,t)},handleClickTitle:function(){this.$emit("title-click")},getClasses:function(e){var t=new Date(e);return this.isDisabled(e)?"disabled":t.getTime()===this.innerValue.getTime()?"active":""}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Ne={name:"TimeRange",inject:{prefixClass:{default:"mx"}},props:b({},Ie.props),data:function(){return{startValue:new Date(NaN),endValue:new Date(NaN)}},watch:{value:{immediate:!0,handler:function(){if(J(this.value)){var e=A(this.value,2),t=e[0],n=e[1];this.startValue=t,this.endValue=n}else this.startValue=new Date(NaN),this.endValue=new Date(NaN)}}},methods:{emitChange:function(e,t){var n=[this.startValue,this.endValue];this.$emit("select",n,e,t)},handleSelectStart:function(e,t){this.startValue=e,this.endValue.getTime()>=e.getTime()||(this.endValue=e),this.emitChange(t,0)},handleSelectEnd:function(e,t){this.endValue=e,this.startValue.getTime()<=e.getTime()||(this.startValue=e),this.emitChange(t,1)},disabledStartTime:function(e){return this.disabledTime(e,0)},disabledEndTime:function(e){return e.getTime()<this.startValue.getTime()||this.disabledTime(e,1)}},render:function(){var e=arguments[0],t=Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue,this.defaultValue],n=this.prefixClass;return e("div",{class:"".concat(n,"-range-wrapper")},[e(Ie,{props:b({},b({},this.$props,{value:this.startValue,defaultValue:t[0],disabledTime:this.disabledStartTime})),on:b({},b({},this.$listeners,{select:this.handleSelectStart}))}),e(Ie,{props:b({},b({},this.$props,{value:this.endValue,defaultValue:t[1],disabledTime:this.disabledEndTime})),on:b({},b({},this.$listeners,{select:this.handleSelectEnd}))})])}};function Le(){return(Le=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)}var De=["attrs","props","domProps"],Pe=["class","style","directives"],je=["on","nativeOn"],Be=function(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}},Fe=function(e){return e.reduce((function(e,t){for(var n in t)if(e[n])if(-1!==De.indexOf(n))e[n]=Le({},e[n],t[n]);else if(-1!==Pe.indexOf(n)){var r=e[n]instanceof Array?e[n]:[e[n]],a=t[n]instanceof Array?t[n]:[t[n]];e[n]=r.concat(a)}else if(-1!==je.indexOf(n))for(var i in t[n])if(e[n][i]){var o=e[n][i]instanceof Array?e[n][i]:[e[n][i]],s=t[n][i]instanceof Array?t[n][i]:[t[n][i]];e[n][i]=o.concat(s)}else e[n][i]=t[n][i];else if("hook"==n)for(var c in t[n])e[n][c]=e[n][c]?Be(e[n][c],t[n][c]):t[n][c];else e[n]=t[n];else e[n]=t[n];return e}),{})},Re={name:"DatetimePanel",inject:{prefixClass:{default:"mx"}},props:b({},we.props,{},Ie.props,{showTimePanel:{type:Boolean,default:void 0}}),data:function(){return{defaultTimeVisible:!1,currentValue:this.value}},computed:{timeVisible:function(){return"boolean"==typeof this.showTimePanel?this.showTimePanel:this.defaultTimeVisible}},watch:{value:function(e){this.currentValue=e}},methods:{closeTimePanel:function(){this.defaultTimeVisible=!1},openTimePanel:function(){this.defaultTimeVisible=!0},emitDate:function(e,t){this.$emit("select",e,t)},handleSelect:function(e,t){"date"===t&&this.openTimePanel();var n=te(e,ee(this.value,this.defaultValue));this.disabledTime(new Date(n))&&(n=te(e,this.defaultValue),this.disabledTime(new Date(n)))?this.currentValue=n:this.emitDate(n,t)}},render:function(){var e=arguments[0],t={props:b({},ae(this,Object.keys(we.props)),{type:"date",value:this.currentValue}),on:{select:this.handleSelect}},n={props:b({},ae(this,Object.keys(Ie.props)),{showTimeHeader:!0,value:this.currentValue}),on:{select:this.emitDate,"title-click":this.closeTimePanel}},r=this.prefixClass;return e("div",[e(we,Fe([{},t])),this.timeVisible&&e(Ie,Fe([{class:"".concat(r,"-calendar-time")},n]))])}},$e={name:"DatetimeRange",inject:{prefixClass:{default:"mx"}},props:b({},_e.props,{},Ne.props,{showTimePanel:{type:Boolean,default:void 0}}),data:function(){return{defaultTimeVisible:!1,currentValue:this.value}},computed:{timeVisible:function(){return"boolean"==typeof this.showTimePanel?this.showTimePanel:this.defaultTimeVisible}},watch:{value:function(e){this.currentValue=e}},methods:{closeTimePanel:function(){this.defaultTimeVisible=!1},openTimePanel:function(){this.defaultTimeVisible=!0},emitDate:function(e,t){this.$emit("select",e,t)},handleSelect:function(e,t){var n=this;"date"===t&&this.openTimePanel();var r=Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue,this.defaultValue],a=e.map((function(e,t){return te(e,J(n.value)?n.value[t]:r[t])}));a[1].getTime()<a[0].getTime()&&(a=[a[0],a[0]]),a.some(this.disabledTime)&&(a=e.map((function(e,t){return te(e,r[t])}))).some(this.disabledTime)?this.currentValue=a:this.emitDate(a,t)}},render:function(){var e=arguments[0],t={props:b({},ae(this,Object.keys(_e.props)),{type:"date",value:this.currentValue}),on:{select:this.handleSelect}},n={props:b({},ae(this,Object.keys(Ne.props)),{value:this.currentValue,showTimeHeader:!0}),on:{select:this.emitDate,"title-click":this.closeTimePanel}},r=this.prefixClass;return e("div",[e(_e,Fe([{},t])),this.timeVisible&&e(Ne,Fe([{class:"".concat(r,"-calendar-time")},n]))])}},Ue={default:we,time:Ie,datetime:Re},ze={default:_e,time:Ne,datetime:$e},Ve=me({render:function(){var e,t=this,n=t.$createElement,r=t._self._c||n;return r("div",{class:(e={},e[t.prefixClass+"-datepicker"]=!0,e[t.prefixClass+"-datepicker-range"]=t.range,e[t.prefixClass+"-datepicker-inline"]=t.inline,e.disabled=t.disabled,e)},[t.inline?t._e():r("div",{class:t.prefixClass+"-input-wrapper",on:{mousedown:t.openPopup,touchstart:t.openPopup}},[t._t("input",[r("input",t._b({ref:"input",class:t.inputClass,attrs:{disabled:t.disabled,readonly:!t.editable,placeholder:t.placeholder},on:{keydown:t.handleInputKeydown,focus:t.handleInputFocus,blur:t.handleInputBlur,input:t.handleInputInput,change:t.handleInputChange}},"input",v({},{name:"date",type:"text",autocomplete:"off",value:t.text},t.inputAttr),!1))]),t._v(" "),t.showClearIcon?r("i",{class:t.prefixClass+"-icon-clear",on:{mousedown:function(e){return e.stopPropagation(),t.handleClear(e)}}},[t._t("icon-clear",[r("icon-close")])],2):t._e(),t._v(" "),r("i",{class:t.prefixClass+"-icon-calendar"},[t._t("icon-calendar",[r("icon-calendar")])],2)],2),t._v(" "),r("Popup",{ref:"popup",class:t.popupClass,style:t.popupStyle,attrs:{inline:t.inline,visible:t.popupVisible,"append-to-body":t.appendToBody},on:{clickoutside:t.handleClickOutSide}},[t.hasSlot("sidebar")||t.shortcuts.length?r("div",{class:t.prefixClass+"-datepicker-sidebar"},[t._t("sidebar",null,{value:t.currentValue,emit:t.emitValue}),t._v(" "),t._l(t.shortcuts,(function(e,n){return r("button",{key:n,class:t.prefixClass+"-btn "+t.prefixClass+"-btn-text "+t.prefixClass+"-btn-shortcut",attrs:{type:"button"},on:{click:function(n){return t.handleSelectShortcut(e)}}},[t._v("\n "+t._s(e.text)+"\n ")])}))],2):t._e(),t._v(" "),r("div",{class:t.prefixClass+"-datepicker-content"},[t.hasSlot("header")?r("div",{class:t.prefixClass+"-datepicker-header"},[t._t("header",null,{value:t.currentValue,emit:t.emitValue})],2):t._e(),t._v(" "),r("div",{class:t.prefixClass+"-datepicker-body"},[t._t("content",[r(t.currentComponent,t._b({ref:"picker",tag:"component",on:{select:t.handleSelectDate}},"component",t.currentComponentProps,!1))],{value:t.currentValue,emit:t.emitValue})],2),t._v(" "),t.hasSlot("footer")||t.confirm?r("div",{class:t.prefixClass+"-datepicker-footer"},[t._t("footer",null,{value:t.currentValue,emit:t.emitValue}),t._v(" "),t.confirm?r("button",{class:t.prefixClass+"-btn "+t.prefixClass+"-datepicker-btn-confirm",attrs:{type:"button"},on:{click:t.handleConfirmDate}},[t._v("\n "+t._s(t.confirmText)+"\n ")]):t._e()],2):t._e()])])],1)},staticRenderFns:[]},void 0,{name:"DatePicker",components:{IconCalendar:ge,IconClose:be,Popup:he},provide:function(){return{t:this.getLocaleFieldValue,getWeek:this.getWeek,prefixClass:this.prefixClass}},props:b({},Re.props,{value:{},valueType:{type:String,default:"date"},type:{type:String,default:"date"},format:{type:[String,Object],default:function(){var e={date:"YYYY-MM-DD",datetime:"YYYY-MM-DD HH:mm:ss",year:"YYYY",month:"YYYY-MM",time:"HH:mm:ss",week:"w"};return e[this.type]||e.date}},range:{type:Boolean,default:!1},rangeSeparator:{type:String,default:" ~ "},lang:{type:[String,Object]},placeholder:{type:String,default:""},editable:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},prefixClass:{type:String,default:"mx"},inputClass:{default:function(){return"".concat(this.prefixClass,"-input")}},inputAttr:{type:Object,default:function(){return{}}},appendToBody:{type:Boolean,default:!0},open:{type:Boolean,default:void 0},popupClass:{},popupStyle:{type:Object,default:function(){return{}}},inline:{type:Boolean,default:!1},confirm:{type:Boolean,default:!1},confirmText:{type:String,default:"OK"},shortcuts:{type:Array,validator:function(e){return Array.isArray(e)&&e.every((function(e){return re(e)&&"string"==typeof e.text&&"function"==typeof e.onClick}))},default:function(){return[]}}}),data:function(){return{currentValue:null,userInput:null,defaultOpen:!1}},computed:{currentComponent:function(){var e=this.range?ze:Ue;return e[this.type]||e.default},currentComponentProps:function(){return b({},ae(this,Object.keys(this.currentComponent.props)),{value:this.currentValue})},popupVisible:function(){return!this.disabled&&("boolean"==typeof this.open?this.open:this.defaultOpen)},innerValue:function(){var e=this.value;return this.range?(e=Array.isArray(e)?e.slice(0,2):[null,null]).map(this.value2date):this.value2date(this.value)},text:function(){var e=this;if(null!==this.userInput)return this.userInput;if(!this.isValidValue(this.innerValue))return"";var t=this.format;return Array.isArray(this.innerValue)?this.innerValue.map((function(n){return e.formatDate(n,t)})).join(this.rangeSeparator):this.formatDate(this.innerValue,t)},showClearIcon:function(){return!this.disabled&&this.clearable&&this.text},locale:function(){return re(this.lang)?function e(t,n){if(!re(t))return{};var r=t;return re(n)&&Object.keys(n).forEach((function(a){var i=n[a];re(i)&&re(t[a])&&(i=e(t[a],i)),r=b({},r,m({},a,i))})),r}(pe(),this.lang):pe(this.lang)}},watch:{innerValue:{immediate:!0,handler:function(e){this.currentValue=e}}},methods:{handleClickOutSide:function(e){var t=e.target;this.$el.contains(t)||this.closePopup()},getWeek:function(e,t){return re(this.format)&&"function"==typeof this.format.getWeek?this.format.getWeek(e,t):k(e,t)},parseDate:function(e,t){if(re(this.format)&&"function"==typeof this.format.parse)return this.format.parse(e,t);var n=new Date;return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{var r=n.locale,a=void 0===r?T:r,i=n.backupDate,o=void 0===i?new Date:i,s=Z(e,t,a),c=s.year,l=s.month,u=s.day,p=s.hour,d=s.minute,f=s.second,h=s.millisecond,m=s.isPM,v=s.date,g=s.offset,b=s.weekday,A=s.week;if(v)return v;var y=[c,l,u,p,d,f,h];if(y[3]=Q(y[3],m),void 0!==A&&void 0===l&&void 0===u){var x=C(void 0===c?o:new Date(c,3),{firstDayOfWeek:a.firstDayOfWeek,firstWeekContainsDate:a.firstWeekContainsDate});return new Date(x.getTime()+7*(A-1)*24*3600*1e3)}var w=q.apply(void 0,L(W(y,o))),_=60*(void 0===g?w.getTimezoneOffset():g)*1e3,k=new Date(w.getTime()+_);return void 0!==b&&k.getDay()!==b?new Date(NaN):k}catch(e){return new Date(NaN)}}(e,t,{locale:this.locale.formatLocale,backupDate:n})},formatDate:function(e,t){return re(this.format)&&"function"==typeof this.format.stringify?this.format.stringify(e,t):N(e,t,{locale:this.locale.formatLocale})},value2date:function(e){switch(this.valueType){case"date":return e instanceof Date?new Date(e.getTime()):new Date(NaN);case"timestamp":return"number"==typeof e?new Date(e):new Date(NaN);case"format":return"string"==typeof e?this.parseDate(e,this.format):new Date(NaN);default:return"string"==typeof e?this.parseDate(e,this.valueType):new Date(NaN)}},date2value:function(e){if(!K(e))return null;switch(this.valueType){case"date":return e;case"timestamp":return e.getTime();case"format":return this.formatDate(e,this.format);default:return this.formatDate(e,this.valueType)}},emitValue:function(e,t){this.userInput=null;var n=Array.isArray(e)?e.map(this.date2value):this.date2value(e);return this.$emit("input",n),this.$emit("change",n,t),this.afterEmitValue(t),n},afterEmitValue:function(e){e&&e!==this.type&&"time"!==e||this.closePopup()},isValidValue:function(e){return(this.range?J:K)(e)},handleSelectDate:function(e,t){this.confirm?this.currentValue=e:this.emitValue(e,t)},handleClear:function(){this.emitValue(this.range?[null,null]:null),this.$emit("clear")},handleConfirmDate:function(){var e=this.emitValue(this.currentValue);this.$emit("confirm",e)},handleSelectShortcut:function(e){if(re(e)&&"function"==typeof e.onClick){var t=e.onClick(this);t&&this.emitValue(t)}},openPopup:function(){this.popupVisible||(this.defaultOpen=!0,this.$emit("open"),this.$emit("update:open",!0))},closePopup:function(){this.popupVisible&&(this.defaultOpen=!1,this.$emit("close"),this.$emit("update:open",!1))},blur:function(){this.$refs.input.blur()},focus:function(){this.$refs.input.focus()},handleInputChange:function(){var e=this;if(this.editable&&null!==this.userInput){var t=this.userInput.trim();if(this.userInput=null,""!==t){var n;if(this.range){var r=t.split(this.rangeSeparator);2!==r.length&&(r=t.split(this.rangeSeparator.trim())),n=r.map((function(t){return e.parseDate(t.trim(),e.format)}))}else n=this.parseDate(t,this.format);this.isValidValue(n)?(this.emitValue(n),this.blur()):this.$emit("input-error",t)}else this.handleClear()}},handleInputInput:function(e){this.userInput=e.target.value},handleInputKeydown:function(e){var t=e.keyCode;9===t?this.closePopup():13===t&&this.handleInputChange()},handleInputBlur:function(e){this.$emit("blur",e)},handleInputFocus:function(e){this.openPopup(),this.$emit("focus",e)},hasSlot:function(e){return!(!this.$slots[e]&&!this.$scopedSlots[e])},getLocaleFieldValue:function(e){return de(e,this.locale)}}},void 0,!1,void 0,!1,void 0,void 0,void 0);Ve.locale=ue,Ve.install=function(e){e.component(Ve.name,Ve)},"undefined"!=typeof window&&window.Vue&&Ve.install(window.Vue),v(Ve,{CalendarPanel:we,CalendarRange:_e,TimePanel:Ie,TimeRange:Ne,DatetimePanel:Re,DatetimeRange:$e});t.default=Ve},function(e,r,a){"use strict";a.r(r);var i=a(68),o=a(28),s=a(106),c=a(67),l=a(197),u=a.n(l);c.VTooltip.options.defaultHtml=!1;var p={name:"UpdateNotification",components:{Multiselect:s.Multiselect,PopoverMenu:s.PopoverMenu},directives:{ClickOutside:u.a,tooltip:c.VTooltip},data:function(){return{newVersionString:"",lastCheckedDate:"",isUpdateChecked:!1,updaterEnabled:!0,versionIsEol:!1,downloadLink:"",isNewVersionAvailable:!1,hasValidSubscription:!1,updateServerURL:"",changelogURL:"",whatsNewData:[],currentChannel:"",channels:[],notifyGroups:"",availableGroups:[],isDefaultUpdateServerURL:!0,enableChangeWatcher:!1,availableAppUpdates:[],missingAppUpdates:[],appStoreFailed:!1,appStoreDisabled:!1,isListFetched:!1,hideMissingUpdates:!1,hideAvailableUpdates:!0,openedWhatsNew:!1,openedUpdateChannelMenu:!1}},_$el:null,_$notifyGroups:null,computed:{newVersionAvailableString:function(){return t("updatenotification","A new version is available: <strong>{newVersionString}</strong>",{newVersionString:this.newVersionString})},lastCheckedOnString:function(){return t("updatenotification","Checked on {lastCheckedDate}",{lastCheckedDate:this.lastCheckedDate})},statusText:function(){return this.isListFetched?this.appStoreDisabled?t("updatenotification","Please make sure your config.php does not set <samp>appstoreenabled</samp> to false."):this.appStoreFailed?t("updatenotification","Could not connect to the appstore or the appstore returned no updates at all. Search manually for updates or make sure your server has access to the internet and can connect to the appstore."):0===this.missingAppUpdates.length?t("updatenotification","<strong>All</strong> apps have an update for this version available",this):n("updatenotification","<strong>%n</strong> app has no update for this version available","<strong>%n</strong> apps have no update for this version available",this.missingAppUpdates.length):t("updatenotification","Checking apps for compatible updates")},whatsNew:function(){if(0===this.whatsNewData.length)return null;var e=[];for(var n in this.whatsNewData)e[n]={icon:"icon-checkmark",longtext:this.whatsNewData[n]};return this.changelogURL&&e.push({href:this.changelogURL,text:t("updatenotification","View changelog"),icon:"icon-link",target:"_blank",action:""}),e},channelList:function(){var e=[];return e.push({text:t("updatenotification","Enterprise"),longtext:t("updatenotification","For enterprise use. Provides always the latest patch level, but will not update to the next major release immediately. That update happens once Nextcloud GmbH has done additional hardening and testing for large-scale and mission-critical deployments. This channel is only available to customers and provides the Nextcloud Enterprise package."),icon:"icon-star",active:"enterprise"===this.currentChannel,disabled:!this.hasValidSubscription,action:this.changeReleaseChannelToEnterprise}),e.push({text:t("updatenotification","Stable"),longtext:t("updatenotification","The most recent stable version. It is suited for regular use and will always update to the latest major version."),icon:"icon-checkmark",active:"stable"===this.currentChannel,action:this.changeReleaseChannelToStable}),e.push({text:t("updatenotification","Beta"),longtext:t("updatenotification","A pre-release version only for testing new features, not for production environments."),icon:"icon-category-customization",active:"beta"===this.currentChannel,action:this.changeReleaseChannelToBeta}),this.isNonDefaultChannel&&e.push({text:this.currentChannel,icon:"icon-rename",active:!0}),e},isNonDefaultChannel:function(){return"enterprise"!==this.currentChannel&&"stable"!==this.currentChannel&&"beta"!==this.currentChannel},localizedChannelName:function(){switch(this.currentChannel){case"enterprise":return t("updatenotification","Enterprise");case"stable":return t("updatenotification","Stable");case"beta":return t("updatenotification","Beta");default:return this.currentChannel}}},watch:{notifyGroups:function(e){if(this.enableChangeWatcher){var t=[];_.each(e,(function(e){t.push(e.value)})),OCP.AppConfig.setValue("updatenotification","notify_groups",JSON.stringify(t))}},isNewVersionAvailable:function(){this.isNewVersionAvailable&&$.ajax({url:Object(o.generateOcsUrl)("apps/updatenotification/api/v1/applist",2)+this.newVersion,type:"GET",beforeSend:function(e){e.setRequestHeader("Accept","application/json")},success:function(e){this.availableAppUpdates=e.ocs.data.available,this.missingAppUpdates=e.ocs.data.missing,this.isListFetched=!0,this.appStoreFailed=!1}.bind(this),error:function(e){this.availableAppUpdates=[],this.missingAppUpdates=[],this.appStoreDisabled=e.responseJSON.ocs.data.appstore_disabled,this.isListFetched=!0,this.appStoreFailed=!0}.bind(this)})}},beforeMount:function(){var e=JSON.parse($("#updatenotification").attr("data-json"));this.newVersion=e.newVersion,this.newVersionString=e.newVersionString,this.lastCheckedDate=e.lastChecked,this.isUpdateChecked=e.isUpdateChecked,this.updaterEnabled=e.updaterEnabled,this.downloadLink=e.downloadLink,this.isNewVersionAvailable=e.isNewVersionAvailable,this.updateServerURL=e.updateServerURL,this.currentChannel=e.currentChannel,this.channels=e.channels,this.notifyGroups=e.notifyGroups,this.isDefaultUpdateServerURL=e.isDefaultUpdateServerURL,this.versionIsEol=e.versionIsEol,this.hasValidSubscription=e.hasValidSubscription,e.changes&&e.changes.changelogURL&&(this.changelogURL=e.changes.changelogURL),e.changes&&e.changes.whatsNew&&(e.changes.whatsNew.admin&&(this.whatsNewData=this.whatsNewData.concat(e.changes.whatsNew.admin)),this.whatsNewData=this.whatsNewData.concat(e.changes.whatsNew.regular))},mounted:function(){this._$el=$(this.$el),this._$notifyGroups=this._$el.find("#oca_updatenotification_groups_list"),this._$notifyGroups.on("change",function(){this.$emit("input")}.bind(this)),$.ajax({url:Object(o.generateOcsUrl)("cloud",2)+"/groups",dataType:"json",success:function(e){var t=[];$.each(e.ocs.data.groups,(function(e,n){t.push({value:n,label:n})})),this.availableGroups=t,this.enableChangeWatcher=!0}.bind(this)})},methods:{clickUpdaterButton:function(){$.ajax({url:Object(o.generateUrl)("/apps/updatenotification/credentials")}).success((function(e){var t=document.createElement("form");t.setAttribute("method","post"),t.setAttribute("action",Object(o.getRootUrl)()+"/updater/");var n=document.createElement("input");n.setAttribute("type","hidden"),n.setAttribute("name","updater-secret-input"),n.setAttribute("value",e),t.appendChild(n),document.body.appendChild(t),t.submit()}))},changeReleaseChannelToEnterprise:function(){this.changeReleaseChannel("enterprise")},changeReleaseChannelToStable:function(){this.changeReleaseChannel("stable")},changeReleaseChannelToBeta:function(){this.changeReleaseChannel("beta")},changeReleaseChannel:function(e){this.currentChannel=e,$.ajax({url:Object(o.generateUrl)("/apps/updatenotification/channel"),type:"POST",data:{channel:this.currentChannel},success:function(e){OC.msg.finishedAction("#channel_save_msg",e)}}),this.openedUpdateChannelMenu=!1},toggleUpdateChannelMenu:function(){this.openedUpdateChannelMenu=!this.openedUpdateChannelMenu},toggleHideMissingUpdates:function(){this.hideMissingUpdates=!this.hideMissingUpdates},toggleHideAvailableUpdates:function(){this.hideAvailableUpdates=!this.hideAvailableUpdates},toggleMenu:function(){this.openedWhatsNew=!this.openedWhatsNew},closeUpdateChannelMenu:function(){this.openedUpdateChannelMenu=!1},hideMenu:function(){this.openedWhatsNew=!1}}};a(342),a(344);var d=function(e,t,n,r,a,i,o,s){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),o?(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__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=c):a&&(c=s?function(){a.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:a),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 p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:l}}(p,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"followupsection",attrs:{id:"updatenotification"}},[n("div",{staticClass:"update"},[e.isNewVersionAvailable?[e.versionIsEol?n("p",[n("span",{staticClass:"warning"},[n("span",{staticClass:"icon icon-error-white"}),e._v("\n\t\t\t\t\t"+e._s(e.t("updatenotification","The version you are running is not maintained anymore. Please make sure to update to a supported version as soon as possible."))+"\n\t\t\t\t")])]):e._e(),e._v(" "),n("p",[n("span",{domProps:{innerHTML:e._s(e.newVersionAvailableString)}}),n("br"),e._v(" "),e.isListFetched?e._e():n("span",{staticClass:"icon icon-loading-small"}),e._v(" "),n("span",{domProps:{innerHTML:e._s(e.statusText)}})]),e._v(" "),e.missingAppUpdates.length?[n("h3",{on:{click:e.toggleHideMissingUpdates}},[e._v("\n\t\t\t\t\t"+e._s(e.t("updatenotification","Apps missing updates"))+"\n\t\t\t\t\t"),e.hideMissingUpdates?e._e():n("span",{staticClass:"icon icon-triangle-n"}),e._v(" "),e.hideMissingUpdates?n("span",{staticClass:"icon icon-triangle-s"}):e._e()]),e._v(" "),e.hideMissingUpdates?e._e():n("ul",{staticClass:"applist"},e._l(e.missingAppUpdates,(function(t,r){return n("li",{key:r},[n("a",{attrs:{href:"https://apps.nextcloud.com/apps/"+t.appId,title:e.t("settings","View in store")}},[e._v(e._s(t.appName)+" ↗")])])})),0)]:e._e(),e._v(" "),e.availableAppUpdates.length?[n("h3",{on:{click:e.toggleHideAvailableUpdates}},[e._v("\n\t\t\t\t\t"+e._s(e.t("updatenotification","Apps with available updates"))+"\n\t\t\t\t\t"),e.hideAvailableUpdates?e._e():n("span",{staticClass:"icon icon-triangle-n"}),e._v(" "),e.hideAvailableUpdates?n("span",{staticClass:"icon icon-triangle-s"}):e._e()]),e._v(" "),e.hideAvailableUpdates?e._e():n("ul",{staticClass:"applist"},e._l(e.availableAppUpdates,(function(t,r){return n("li",{key:r},[n("a",{attrs:{href:"https://apps.nextcloud.com/apps/"+t.appId,title:e.t("settings","View in store")}},[e._v(e._s(t.appName)+" ↗")])])})),0)]:e._e(),e._v(" "),n("div",[e.updaterEnabled?n("a",{staticClass:"button primary",attrs:{href:"#"},on:{click:e.clickUpdaterButton}},[e._v(e._s(e.t("updatenotification","Open updater")))]):e._e(),e._v(" "),e.downloadLink?n("a",{staticClass:"button",class:{hidden:!e.updaterEnabled},attrs:{href:e.downloadLink}},[e._v(e._s(e.t("updatenotification","Download now")))]):e._e(),e._v(" "),e.whatsNew?n("div",{staticClass:"whatsNew"},[n("div",{staticClass:"toggleWhatsNew"},[n("a",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.hideMenu,expression:"hideMenu"}],staticClass:"button",on:{click:e.toggleMenu}},[e._v(e._s(e.t("updatenotification","What's new?")))]),e._v(" "),n("div",{staticClass:"popovermenu",class:{"menu-center":!0,open:e.openedWhatsNew}},[n("PopoverMenu",{attrs:{menu:e.whatsNew}})],1)])]):e._e()])]:e.isUpdateChecked?[e._v("\n\t\t\t"+e._s(e.t("updatenotification","Your version is up to date."))+"\n\t\t\t"),n("span",{directives:[{name:"tooltip",rawName:"v-tooltip.auto",value:e.lastCheckedOnString,expression:"lastCheckedOnString",modifiers:{auto:!0}}],staticClass:"icon-info svg"})]:[e._v("\n\t\t\t"+e._s(e.t("updatenotification","The update check is not yet finished. Please refresh the page."))+"\n\t\t")],e._v(" "),e.isDefaultUpdateServerURL?e._e():[n("p",{staticClass:"topMargin"},[n("em",[e._v(e._s(e.t("updatenotification","A non-default update server is in use to be checked for updates:"))+" "),n("code",[e._v(e._s(e.updateServerURL))])])])]],2),e._v(" "),n("h3",{staticClass:"update-channel-selector"},[e._v("\n\t\t"+e._s(e.t("updatenotification","Update channel:"))+"\n\t\t"),n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeUpdateChannelMenu,expression:"closeUpdateChannelMenu"}],staticClass:"update-menu"},[n("span",{staticClass:"icon-update-menu",on:{click:e.toggleUpdateChannelMenu}},[e._v("\n\t\t\t\t"+e._s(e.localizedChannelName)+"\n\t\t\t\t"),n("span",{staticClass:"icon-triangle-s"})]),e._v(" "),n("div",{staticClass:"popovermenu menu menu-center",class:{"show-menu":e.openedUpdateChannelMenu}},[n("PopoverMenu",{attrs:{menu:e.channelList}})],1)])]),e._v(" "),n("span",{staticClass:"msg",attrs:{id:"channel_save_msg"}}),n("br"),e._v(" "),n("p",[n("em",[e._v(e._s(e.t("updatenotification","You can always update to a newer version. But you can never downgrade to a more stable version.")))]),n("br"),e._v(" "),n("em",[e._v(e._s(e.t("updatenotification","Note that after a new release it can take some time before it shows up here. We roll out new versions spread out over time to our users and sometimes skip a version when issues are found.")))])]),e._v(" "),n("p",{attrs:{id:"oca_updatenotification_groups"}},[e._v("\n\t\t"+e._s(e.t("updatenotification","Notify members of the following groups about available updates:"))+"\n\t\t"),n("Multiselect",{attrs:{options:e.availableGroups,multiple:!0,label:"label","track-by":"value","tag-width":75},model:{value:e.notifyGroups,callback:function(t){e.notifyGroups=t},expression:"notifyGroups"}}),n("br"),e._v(" "),"daily"===e.currentChannel||"git"===e.currentChannel?n("em",[e._v(e._s(e.t("updatenotification","Only notification for app updates are available.")))]):e._e(),e._v(" "),"daily"===e.currentChannel?n("em",[e._v(e._s(e.t("updatenotification","The selected update channel makes dedicated notifications for the server obsolete.")))]):e._e(),e._v(" "),"git"===e.currentChannel?n("em",[e._v(e._s(e.t("updatenotification","The selected update channel does not support updates of the server.")))]):e._e()],1)])}),[],!1,null,"d4a3f15a",null).exports; /** * @copyright Copyright (c) 2018 Joas Schilling <coding@schilljs.com> * |