text: /**
   * vue-good-table v2.19.1
   * (c) 2018-present xaksis <shay@crayonbits.com>
   * https://github.com/xaksis/vue-good-table
   * Released under the MIT License.
   */
  
  !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self)["vue-good-table"]={})}(this,function(t){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);r=!0);}catch(t){o=!0,a=t}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function r(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var o=9007199254740991,a="[object Arguments]",i="[object Function]",s="[object GeneratorFunction]",u=/^(?:0|[1-9]\d*)$/;function l(t,e){for(var n=-1,r=t?t.length:0;++n<r&&!1!==e(t[n],n,t););return t}var c,f,d=Object.prototype,h=d.hasOwnProperty,p=d.toString,g=d.propertyIsEnumerable,v=(c=Object.keys,f=Object,function(t){return c(f(t))});function m(t,e){var n=P(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&x(t)}(t)&&h.call(t,"callee")&&(!g.call(t,"callee")||p.call(t)==a)}(t)?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],r=n.length,o=!!r;for(var i in t)!e&&!h.call(t,i)||o&&("length"==i||C(i,r))||n.push(i);return n}var y,b,w=(y=function(t,e){return t&&_(t,e,S)},function(t,e){if(null==t)return t;if(!x(t))return y(t,e);for(var n=t.length,r=b?n:-1,o=Object(t);(b?r--:++r<n)&&!1!==e(o[r],r,o););return t}),_=function(t){return function(e,n,r){for(var o=-1,a=Object(e),i=r(e),s=i.length;s--;){var u=i[t?s:++o];if(!1===n(a[u],u,a))break}return e}}();function T(t){if(n=(e=t)&&e.constructor,r="function"==typeof n&&n.prototype||d,e!==r)return v(t);var e,n,r,o=[];for(var a in Object(t))h.call(t,a)&&"constructor"!=a&&o.push(a);return o}function C(t,e){return!!(e=null==e?o:e)&&("number"==typeof t||u.test(t))&&t>-1&&t%1==0&&t<e}var P=Array.isArray;function x(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=o}(t.length)&&!function(t){var e=function(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}(t)?p.call(t):"";return e==i||e==s}(t)}function S(t){return x(t)?m(t):T(t)}function O(t){return t}var k=function(t,e){return(P(t)?l:w)(t,"function"==typeof e?e:O)},j=9007199254740991,D="[object Arguments]",R="[object Function]",E="[object GeneratorFunction]",A=/^(?:0|[1-9]\d*)$/;var M=Object.prototype,F=M.hasOwnProperty,I=M.toString,U=M.propertyIsEnumerable,$=function(t,e){return function(n){return t(e(n))}}(Object.keys,Object),L=Math.max,B=!U.call({valueOf:1},"valueOf");function N(t,e){var n=W(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&Q(t)}(t)&&F.call(t,"callee")&&(!U.call(t,"callee")||I.call(t)==D)}(t)?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],r=n.length,o=!!r;for(var a in t)!e&&!F.call(t,a)||o&&("length"==a||H(a,r))||n.push(a);return n}function q(t,e,n){var r=t[e];F.call(t,e)&&z(r,n)&&(void 0!==n||e in t)||(t[e]=n)}function H(t,e){return!!(e=null==e?j:e)&&("number"==typeof t||A.test(t))&&t>-1&&t%1==0&&t<e}function Y(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||M)}function z(t,e){return t===e||t!=t&&e!=e}var W=Array.isArray;function Q(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=j}(t.length)&&!function(t){var e=V(t)?I.call(t):"";return e==R||e==E}(t)}function V(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var G=function(t){return e=function(e,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,i=o>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,i&&function(t,e,n){if(!V(n))return!1;var r=typeof e;return!!("number"==r?Q(n)&&H(e,n.length):"string"==r&&e in n)&&z(n[e],t)}(n[0],n[1],i)&&(a=o<3?void 0:a,o=1),e=Object(e);++r<o;){var s=n[r];s&&t(e,s,r,a)}return e},n=L(void 0===n?e.length-1:n,0),function(){for(var t=arguments,r=-1,o=L(t.length-n,0),a=Array(o);++r<o;)a[r]=t[n+r];r=-1;for(var i=Array(n+1);++r<n;)i[r]=t[r];return i[n]=a,function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}(e,this,i)};var e,n}(function(t,e){if(B||Y(e)||Q(e))!function(t,e,n,r){n||(n={});for(var o=-1,a=e.length;++o<a;){var i=e[o],s=r?r(n[i],t[i],i,n,t):void 0;q(n,i,void 0===s?t[i]:s)}}(e,function(t){return Q(t)?N(t):function(t){if(!Y(t))return $(t);var e=[];for(var n in Object(t))F.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}(e),t);else for(var n in e)F.call(e,n)&&q(t,n,e[n])}),X="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function K(t,e){return t(e={exports:{}},e.exports),e.exports}var J=K(function(t,e){var n=200,r="__lodash_hash_undefined__",o=9007199254740991,a="[object Arguments]",i="[object Boolean]",s="[object Date]",u="[object Function]",l="[object GeneratorFunction]",c="[object Map]",f="[object Number]",d="[object Object]",h="[object RegExp]",p="[object Set]",g="[object String]",v="[object Symbol]",m="[object ArrayBuffer]",y="[object DataView]",b="[object Float32Array]",w="[object Float64Array]",_="[object Int8Array]",T="[object Int16Array]",C="[object Int32Array]",P="[object Uint8Array]",x="[object Uint8ClampedArray]",S="[object Uint16Array]",O="[object Uint32Array]",k=/\w*$/,j=/^\[object .+?Constructor\]$/,D=/^(?:0|[1-9]\d*)$/,R={};R[a]=R["[object Array]"]=R[m]=R[y]=R[i]=R[s]=R[b]=R[w]=R[_]=R[T]=R[C]=R[c]=R[f]=R[d]=R[h]=R[p]=R[g]=R[v]=R[P]=R[x]=R[S]=R[O]=!0,R["[object Error]"]=R[u]=R["[object WeakMap]"]=!1;var E="object"==typeof X&&X&&X.Object===Object&&X,A="object"==typeof self&&self&&self.Object===Object&&self,M=E||A||Function("return this")(),F=e&&!e.nodeType&&e,I=F&&t&&!t.nodeType&&t,U=I&&I.exports===F;function $(t,e){return t.set(e[0],e[1]),t}function L(t,e){return t.add(e),t}function B(t,e,n,r){var o=-1,a=t?t.length:0;for(r&&a&&(n=t[++o]);++o<a;)n=e(n,t[o],o,t);return n}function N(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function q(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function H(t,e){return function(n){return t(e(n))}}function Y(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}var z,W=Array.prototype,Q=Function.prototype,V=Object.prototype,G=M["__core-js_shared__"],K=(z=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||""))?"Symbol(src)_1."+z:"",J=Q.toString,Z=V.hasOwnProperty,tt=V.toString,et=RegExp("^"+J.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),nt=U?M.Buffer:void 0,rt=M.Symbol,ot=M.Uint8Array,at=H(Object.getPrototypeOf,Object),it=Object.create,st=V.propertyIsEnumerable,ut=W.splice,lt=Object.getOwnPropertySymbols,ct=nt?nt.isBuffer:void 0,ft=H(Object.keys,Object),dt=Ut(M,"DataView"),ht=Ut(M,"Map"),pt=Ut(M,"Promise"),gt=Ut(M,"Set"),vt=Ut(M,"WeakMap"),mt=Ut(Object,"create"),yt=qt(dt),bt=qt(ht),wt=qt(pt),_t=qt(gt),Tt=qt(vt),Ct=rt?rt.prototype:void 0,Pt=Ct?Ct.valueOf:void 0;function xt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function St(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Ot(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function kt(t){this.__data__=new St(t)}function jt(t,e){var n=Yt(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&zt(t)}(t)&&Z.call(t,"callee")&&(!st.call(t,"callee")||tt.call(t)==a)}(t)?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],r=n.length,o=!!r;for(var i in t)!e&&!Z.call(t,i)||o&&("length"==i||Bt(i,r))||n.push(i);return n}function Dt(t,e,n){var r=t[e];Z.call(t,e)&&Ht(r,n)&&(void 0!==n||e in t)||(t[e]=n)}function Rt(t,e){for(var n=t.length;n--;)if(Ht(t[n][0],e))return n;return-1}function Et(t,e,n,r,o,j,D){var E;if(r&&(E=j?r(t,o,j,D):r(t)),void 0!==E)return E;if(!Vt(t))return t;var A=Yt(t);if(A){if(E=function(t){var e=t.length,n=t.constructor(e);e&&"string"==typeof t[0]&&Z.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!e)return function(t,e){var n=-1,r=t.length;e||(e=Array(r));for(;++n<r;)e[n]=t[n];return e}(t,E)}else{var M=Lt(t),F=M==u||M==l;if(Wt(t))return function(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}(t,e);if(M==d||M==a||F&&!j){if(N(t))return j?t:{};if(E=function(t){return"function"!=typeof t.constructor||Nt(t)?{}:(e=at(t),Vt(e)?it(e):{});var e}(F?{}:t),!e)return function(t,e){return Ft(t,$t(t),e)}(t,function(t,e){return t&&Ft(e,Gt(e),t)}(E,t))}else{if(!R[M])return j?t:{};E=function(t,e,n,r){var o=t.constructor;switch(e){case m:return Mt(t);case i:case s:return new o(+t);case y:return function(t,e){var n=e?Mt(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,r);case b:case w:case _:case T:case C:case P:case x:case S:case O:return function(t,e){var n=e?Mt(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}(t,r);case c:return function(t,e,n){return B(e?n(q(t),!0):q(t),$,new t.constructor)}(t,r,n);case f:case g:return new o(t);case h:return(l=new(u=t).constructor(u.source,k.exec(u))).lastIndex=u.lastIndex,l;case p:return function(t,e,n){return B(e?n(Y(t),!0):Y(t),L,new t.constructor)}(t,r,n);case v:return a=t,Pt?Object(Pt.call(a)):{}}var a;var u,l}(t,M,Et,e)}}D||(D=new kt);var I=D.get(t);if(I)return I;if(D.set(t,E),!A)var U=n?function(t){return function(t,e,n){var r=e(t);return Yt(t)?r:function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}(r,n(t))}(t,Gt,$t)}(t):Gt(t);return function(t,e){for(var n=-1,r=t?t.length:0;++n<r&&!1!==e(t[n],n,t););}(U||t,function(o,a){U&&(o=t[a=o]),Dt(E,a,Et(o,e,n,r,a,t,D))}),E}function At(t){return!(!Vt(t)||(e=t,K&&K in e))&&(Qt(t)||N(t)?et:j).test(qt(t));var e}function Mt(t){var e=new t.constructor(t.byteLength);return new ot(e).set(new ot(t)),e}function Ft(t,e,n,r){n||(n={});for(var o=-1,a=e.length;++o<a;){var i=e[o],s=r?r(n[i],t[i],i,n,t):void 0;Dt(n,i,void 0===s?t[i]:s)}return n}function It(t,e){var n,r,o=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof e?"string":"hash"]:o.map}function Ut(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return At(n)?n:void 0}xt.prototype.clear=function(){this.__data__=mt?mt(null):{}},xt.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},xt.prototype.get=function(t){var e=this.__data__;if(mt){var n=e[t];return n===r?void 0:n}return Z.call(e,t)?e[t]:void 0},xt.prototype.has=function(t){var e=this.__data__;return mt?void 0!==e[t]:Z.call(e,t)},xt.prototype.set=function(t,e){return this.__data__[t]=mt&&void 0===e?r:e,this},St.prototype.clear=function(){this.__data__=[]},St.prototype.delete=function(t){var e=this.__data__,n=Rt(e,t);return!(n<0||(n==e.length-1?e.pop():ut.call(e,n,1),0))},St.prototype.get=function(t){var e=this.__data__,n=Rt(e,t);return n<0?void 0:e[n][1]},St.prototype.has=function(t){return Rt(this.__data__,t)>-1},St.prototype.set=function(t,e){var n=this.__data__,r=Rt(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},Ot.prototype.clear=function(){this.__data__={hash:new xt,map:new(ht||St),string:new xt}},Ot.prototype.delete=function(t){return It(this,t).delete(t)},Ot.prototype.get=function(t){return It(this,t).get(t)},Ot.prototype.has=function(t){return It(this,t).has(t)},Ot.prototype.set=function(t,e){return It(this,t).set(t,e),this},kt.prototype.clear=function(){this.__data__=new St},kt.prototype.delete=function(t){return this.__data__.delete(t)},kt.prototype.get=function(t){return this.__data__.get(t)},kt.prototype.has=function(t){return this.__data__.has(t)},kt.prototype.set=function(t,e){var r=this.__data__;if(r instanceof St){var o=r.__data__;if(!ht||o.length<n-1)return o.push([t,e]),this;r=this.__data__=new Ot(o)}return r.set(t,e),this};var $t=lt?H(lt,Object):function(){return[]},Lt=function(t){return tt.call(t)};function Bt(t,e){return!!(e=null==e?o:e)&&("number"==typeof t||D.test(t))&&t>-1&&t%1==0&&t<e}function Nt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||V)}function qt(t){if(null!=t){try{return J.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Ht(t,e){return t===e||t!=t&&e!=e}(dt&&Lt(new dt(new ArrayBuffer(1)))!=y||ht&&Lt(new ht)!=c||pt&&"[object Promise]"!=Lt(pt.resolve())||gt&&Lt(new gt)!=p||vt&&"[object WeakMap]"!=Lt(new vt))&&(Lt=function(t){var e=tt.call(t),n=e==d?t.constructor:void 0,r=n?qt(n):void 0;if(r)switch(r){case yt:return y;case bt:return c;case wt:return"[object Promise]";case _t:return p;case Tt:return"[object WeakMap]"}return e});var Yt=Array.isArray;function zt(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=o}(t.length)&&!Qt(t)}var Wt=ct||function(){return!1};function Qt(t){var e=Vt(t)?tt.call(t):"";return e==u||e==l}function Vt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Gt(t){return zt(t)?jt(t):function(t){if(!Nt(t))return ft(t);var e=[];for(var n in Object(t))Z.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}t.exports=function(t){return Et(t,!0,!0)}}),Z=K(function(t,e){var n=200,r="Expected a function",o="__lodash_hash_undefined__",a=1,i=2,s=1/0,u=9007199254740991,l="[object Arguments]",c="[object Array]",f="[object Boolean]",d="[object Date]",h="[object Error]",p="[object Function]",g="[object GeneratorFunction]",v="[object Map]",m="[object Number]",y="[object Object]",b="[object RegExp]",w="[object Set]",_="[object String]",T="[object Symbol]",C="[object ArrayBuffer]",P="[object DataView]",x=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,S=/^\w*$/,O=/^\./,k=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,j=/\\(\\)?/g,D=/^\[object .+?Constructor\]$/,R=/^(?:0|[1-9]\d*)$/,E={};E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E[l]=E[c]=E[C]=E[f]=E[P]=E[d]=E[h]=E[p]=E[v]=E[m]=E[y]=E[b]=E[w]=E[_]=E["[object WeakMap]"]=!1;var A="object"==typeof X&&X&&X.Object===Object&&X,M="object"==typeof self&&self&&self.Object===Object&&self,F=A||M||Function("return this")(),I=e&&!e.nodeType&&e,U=I&&t&&!t.nodeType&&t,$=U&&U.exports===I&&A.process,L=function(){try{return $&&$.binding("util")}catch(t){}}(),B=L&&L.isTypedArray;function N(t,e){for(var n=-1,r=t?t.length:0,o=0,a=[];++n<r;){var i=t[n];e(i,n,t)&&(a[o++]=i)}return a}function q(t,e){for(var n=-1,r=t?t.length:0;++n<r;)if(e(t[n],n,t))return!0;return!1}function H(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function Y(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function z(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}var W,Q,V,G=Array.prototype,K=Function.prototype,J=Object.prototype,Z=F["__core-js_shared__"],tt=(W=/[^.]+$/.exec(Z&&Z.keys&&Z.keys.IE_PROTO||""))?"Symbol(src)_1."+W:"",et=K.toString,nt=J.hasOwnProperty,rt=J.toString,ot=RegExp("^"+et.call(nt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),at=F.Symbol,it=F.Uint8Array,st=J.propertyIsEnumerable,ut=G.splice,lt=(Q=Object.keys,V=Object,function(t){return Q(V(t))}),ct=zt(F,"DataView"),ft=zt(F,"Map"),dt=zt(F,"Promise"),ht=zt(F,"Set"),pt=zt(F,"WeakMap"),gt=zt(Object,"create"),vt=Zt(ct),mt=Zt(ft),yt=Zt(dt),bt=Zt(ht),wt=Zt(pt),_t=at?at.prototype:void 0,Tt=_t?_t.valueOf:void 0,Ct=_t?_t.toString:void 0;function Pt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function xt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function St(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Ot(t){var e=-1,n=t?t.length:0;for(this.__data__=new St;++e<n;)this.add(t[e])}function kt(t){this.__data__=new xt(t)}function jt(t,e){var n=re(t)||ne(t)?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],r=n.length,o=!!r;for(var a in t)!e&&!nt.call(t,a)||o&&("length"==a||Qt(a,r))||n.push(a);return n}function Dt(t,e){for(var n=t.length;n--;)if(ee(t[n][0],e))return n;return-1}Pt.prototype.clear=function(){this.__data__=gt?gt(null):{}},Pt.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},Pt.prototype.get=function(t){var e=this.__data__;if(gt){var n=e[t];return n===o?void 0:n}return nt.call(e,t)?e[t]:void 0},Pt.prototype.has=function(t){var e=this.__data__;return gt?void 0!==e[t]:nt.call(e,t)},Pt.prototype.set=function(t,e){return this.__data__[t]=gt&&void 0===e?o:e,this},xt.prototype.clear=function(){this.__data__=[]},xt.prototype.delete=function(t){var e=this.__data__,n=Dt(e,t);return!(n<0||(n==e.length-1?e.pop():ut.call(e,n,1),0))},xt.prototype.get=function(t){var e=this.__data__,n=Dt(e,t);return n<0?void 0:e[n][1]},xt.prototype.has=function(t){return Dt(this.__data__,t)>-1},xt.prototype.set=function(t,e){var n=this.__data__,r=Dt(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},St.prototype.clear=function(){this.__data__={hash:new Pt,map:new(ft||xt),string:new Pt}},St.prototype.delete=function(t){return Yt(this,t).delete(t)},St.prototype.get=function(t){return Yt(this,t).get(t)},St.prototype.has=function(t){return Yt(this,t).has(t)},St.prototype.set=function(t,e){return Yt(this,t).set(t,e),this},Ot.prototype.add=Ot.prototype.push=function(t){return this.__data__.set(t,o),this},Ot.prototype.has=function(t){return this.__data__.has(t)},kt.prototype.clear=function(){this.__data__=new xt},kt.prototype.delete=function(t){return this.__data__.delete(t)},kt.prototype.get=function(t){return this.__data__.get(t)},kt.prototype.has=function(t){return this.__data__.has(t)},kt.prototype.set=function(t,e){var r=this.__data__;if(r instanceof xt){var o=r.__data__;if(!ft||o.length<n-1)return o.push([t,e]),this;r=this.__data__=new St(o)}return r.set(t,e),this};var Rt,Et,At=(Rt=function(t,e){return t&&Ft(t,e,fe)},function(t,e){if(null==t)return t;if(!oe(t))return Rt(t,e);for(var n=t.length,r=Et?n:-1,o=Object(t);(Et?r--:++r<n)&&!1!==e(o[r],r,o););return t});function Mt(t,e){var n=[];return At(t,function(t,r,o){e(t,r,o)&&n.push(t)}),n}var Ft=function(t){return function(e,n,r){for(var o=-1,a=Object(e),i=r(e),s=i.length;s--;){var u=i[t?s:++o];if(!1===n(a[u],u,a))break}return e}}();function It(t,e){for(var n=0,r=(e=Vt(e,t)?[e]:qt(e)).length;null!=t&&n<r;)t=t[Jt(e[n++])];return n&&n==r?t:void 0}function Ut(t,e){return null!=t&&e in Object(t)}function $t(t,e,n,r,o){return t===e||(null==t||null==e||!se(t)&&!ue(e)?t!=t&&e!=e:function(t,e,n,r,o,s){var u=re(t),p=re(e),g=c,x=c;u||(g=(g=Wt(t))==l?y:g);p||(x=(x=Wt(e))==l?y:x);var S=g==y&&!H(t),O=x==y&&!H(e),k=g==x;if(k&&!S)return s||(s=new kt),u||ce(t)?Ht(t,e,n,r,o,s):function(t,e,n,r,o,s,u){switch(n){case P:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case C:return!(t.byteLength!=e.byteLength||!r(new it(t),new it(e)));case f:case d:case m:return ee(+t,+e);case h:return t.name==e.name&&t.message==e.message;case b:case _:return t==e+"";case v:var l=Y;case w:var c=s&i;if(l||(l=z),t.size!=e.size&&!c)return!1;var p=u.get(t);if(p)return p==e;s|=a,u.set(t,e);var g=Ht(l(t),l(e),r,o,s,u);return u.delete(t),g;case T:if(Tt)return Tt.call(t)==Tt.call(e)}return!1}(t,e,g,n,r,o,s);if(!(o&i)){var j=S&&nt.call(t,"__wrapped__"),D=O&&nt.call(e,"__wrapped__");if(j||D){var R=j?t.value():t,E=D?e.value():e;return s||(s=new kt),n(R,E,r,o,s)}}if(!k)return!1;return s||(s=new kt),function(t,e,n,r,o,a){var s=o&i,u=fe(t),l=u.length,c=fe(e).length;if(l!=c&&!s)return!1;for(var f=l;f--;){var d=u[f];if(!(s?d in e:nt.call(e,d)))return!1}var h=a.get(t);if(h&&a.get(e))return h==e;var p=!0;a.set(t,e),a.set(e,t);for(var g=s;++f<l;){d=u[f];var v=t[d],m=e[d];if(r)var y=s?r(m,v,d,e,t,a):r(v,m,d,t,e,a);if(!(void 0===y?v===m||n(v,m,r,o,a):y)){p=!1;break}g||(g="constructor"==d)}if(p&&!g){var b=t.constructor,w=e.constructor;b!=w&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w)&&(p=!1)}return a.delete(t),a.delete(e),p}(t,e,n,r,o,s)}(t,e,$t,n,r,o))}function Lt(t){return!(!se(t)||(e=t,tt&&tt in e))&&(ae(t)||H(t)?ot:D).test(Zt(t));var e}function Bt(t){return"function"==typeof t?t:null==t?de:"object"==typeof t?re(t)?function(t,e){if(Vt(t)&&Gt(e))return Xt(Jt(t),e);return function(n){var r=function(t,e,n){var r=null==t?void 0:It(t,e);return void 0===r?n:r}(n,t);return void 0===r&&r===e?function(t,e){return null!=t&&function(t,e,n){e=Vt(e,t)?[e]:qt(e);var r,o=-1,a=e.length;for(;++o<a;){var i=Jt(e[o]);if(!(r=null!=t&&n(t,i)))break;t=t[i]}if(r)return r;return!!(a=t?t.length:0)&&ie(a)&&Qt(i,a)&&(re(t)||ne(t))}(t,e,Ut)}(n,t):$t(e,r,void 0,a|i)}}(t[0],t[1]):function(t){var e=function(t){var e=fe(t),n=e.length;for(;n--;){var r=e[n],o=t[r];e[n]=[r,o,Gt(o)]}return e}(t);if(1==e.length&&e[0][2])return Xt(e[0][0],e[0][1]);return function(n){return n===t||function(t,e,n,r){var o=n.length,s=o,u=!r;if(null==t)return!s;for(t=Object(t);o--;){var l=n[o];if(u&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++o<s;){var c=(l=n[o])[0],f=t[c],d=l[1];if(u&&l[2]){if(void 0===f&&!(c in t))return!1}else{var h=new kt;if(r)var p=r(f,d,c,t,e,h);if(!(void 0===p?$t(d,f,r,a|i,h):p))return!1}}return!0}(n,t,e)}}(t):Vt(e=t)?(n=Jt(e),function(t){return null==t?void 0:t[n]}):function(t){return function(e){return It(e,t)}}(e);var e,n}function Nt(t){if(n=(e=t)&&e.constructor,r="function"==typeof n&&n.prototype||J,e!==r)return lt(t);var e,n,r,o=[];for(var a in Object(t))nt.call(t,a)&&"constructor"!=a&&o.push(a);return o}function qt(t){return re(t)?t:Kt(t)}function Ht(t,e,n,r,o,s){var u=o&i,l=t.length,c=e.length;if(l!=c&&!(u&&c>l))return!1;var f=s.get(t);if(f&&s.get(e))return f==e;var d=-1,h=!0,p=o&a?new Ot:void 0;for(s.set(t,e),s.set(e,t);++d<l;){var g=t[d],v=e[d];if(r)var m=u?r(v,g,d,e,t,s):r(g,v,d,t,e,s);if(void 0!==m){if(m)continue;h=!1;break}if(p){if(!q(e,function(t,e){if(!p.has(e)&&(g===t||n(g,t,r,o,s)))return p.add(e)})){h=!1;break}}else if(g!==v&&!n(g,v,r,o,s)){h=!1;break}}return s.delete(t),s.delete(e),h}function Yt(t,e){var n,r,o=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof e?"string":"hash"]:o.map}function zt(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Lt(n)?n:void 0}var Wt=function(t){return rt.call(t)};function Qt(t,e){return!!(e=null==e?u:e)&&("number"==typeof t||R.test(t))&&t>-1&&t%1==0&&t<e}function Vt(t,e){if(re(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!le(t))||(S.test(t)||!x.test(t)||null!=e&&t in Object(e))}function Gt(t){return t==t&&!se(t)}function Xt(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}(ct&&Wt(new ct(new ArrayBuffer(1)))!=P||ft&&Wt(new ft)!=v||dt&&"[object Promise]"!=Wt(dt.resolve())||ht&&Wt(new ht)!=w||pt&&"[object WeakMap]"!=Wt(new pt))&&(Wt=function(t){var e=rt.call(t),n=e==y?t.constructor:void 0,r=n?Zt(n):void 0;if(r)switch(r){case vt:return P;case mt:return v;case yt:return"[object Promise]";case bt:return w;case wt:return"[object WeakMap]"}return e});var Kt=te(function(t){var e;t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(le(t))return Ct?Ct.call(t):"";var e=t+"";return"0"==e&&1/t==-s?"-0":e}(e);var n=[];return O.test(t)&&n.push(""),t.replace(k,function(t,e,r,o){n.push(r?o.replace(j,"$1"):e||t)}),n});function Jt(t){if("string"==typeof t||le(t))return t;var e=t+"";return"0"==e&&1/t==-s?"-0":e}function Zt(t){if(null!=t){try{return et.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function te(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(r);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=t.apply(this,r);return n.cache=a.set(o,i),i};return n.cache=new(te.Cache||St),n}function ee(t,e){return t===e||t!=t&&e!=e}function ne(t){return function(t){return ue(t)&&oe(t)}(t)&&nt.call(t,"callee")&&(!st.call(t,"callee")||rt.call(t)==l)}te.Cache=St;var re=Array.isArray;function oe(t){return null!=t&&ie(t.length)&&!ae(t)}function ae(t){var e=se(t)?rt.call(t):"";return e==p||e==g}function ie(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=u}function se(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function ue(t){return!!t&&"object"==typeof t}function le(t){return"symbol"==typeof t||ue(t)&&rt.call(t)==T}var ce=B?function(t){return function(e){return t(e)}}(B):function(t){return ue(t)&&ie(t.length)&&!!E[rt.call(t)]};function fe(t){return oe(t)?jt(t):Nt(t)}function de(t){return t}t.exports=function(t,e){return(re(t)?N:Mt)(t,Bt(e))}}),tt=K(function(t,e){var n=200,r="__lodash_hash_undefined__",o=1,a=2,i=9007199254740991,s="[object Arguments]",u="[object Array]",l="[object AsyncFunction]",c="[object Boolean]",f="[object Date]",d="[object Error]",h="[object Function]",p="[object GeneratorFunction]",g="[object Map]",v="[object Number]",m="[object Null]",y="[object Object]",b="[object Proxy]",w="[object RegExp]",_="[object Set]",T="[object String]",C="[object Symbol]",P="[object Undefined]",x="[object ArrayBuffer]",S="[object DataView]",O=/^\[object .+?Constructor\]$/,k=/^(?:0|[1-9]\d*)$/,j={};j["[object Float32Array]"]=j["[object Float64Array]"]=j["[object Int8Array]"]=j["[object Int16Array]"]=j["[object Int32Array]"]=j["[object Uint8Array]"]=j["[object Uint8ClampedArray]"]=j["[object Uint16Array]"]=j["[object Uint32Array]"]=!0,j[s]=j[u]=j[x]=j[c]=j[S]=j[f]=j[d]=j[h]=j[g]=j[v]=j[y]=j[w]=j[_]=j[T]=j["[object WeakMap]"]=!1;var D="object"==typeof X&&X&&X.Object===Object&&X,R="object"==typeof self&&self&&self.Object===Object&&self,E=D||R||Function("return this")(),A=e&&!e.nodeType&&e,M=A&&t&&!t.nodeType&&t,F=M&&M.exports===A,I=F&&D.process,U=function(){try{return I&&I.binding&&I.binding("util")}catch(t){}}(),$=U&&U.isTypedArray;function L(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function B(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function N(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}var q,H,Y,z=Array.prototype,W=Function.prototype,Q=Object.prototype,V=E["__core-js_shared__"],G=W.toString,K=Q.hasOwnProperty,J=(q=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||""))?"Symbol(src)_1."+q:"",Z=Q.toString,tt=RegExp("^"+G.call(K).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),et=F?E.Buffer:void 0,nt=E.Symbol,rt=E.Uint8Array,ot=Q.propertyIsEnumerable,at=z.splice,it=nt?nt.toStringTag:void 0,st=Object.getOwnPropertySymbols,ut=et?et.isBuffer:void 0,lt=(H=Object.keys,Y=Object,function(t){return H(Y(t))}),ct=$t(E,"DataView"),ft=$t(E,"Map"),dt=$t(E,"Promise"),ht=$t(E,"Set"),pt=$t(E,"WeakMap"),gt=$t(Object,"create"),vt=qt(ct),mt=qt(ft),yt=qt(dt),bt=qt(ht),wt=qt(pt),_t=nt?nt.prototype:void 0,Tt=_t?_t.valueOf:void 0;function Ct(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Pt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function xt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function St(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new xt;++e<n;)this.add(t[e])}function Ot(t){var e=this.__data__=new Pt(t);this.size=e.size}function kt(t,e){var n=zt(t),r=!n&&Yt(t),o=!n&&!r&&Wt(t),a=!n&&!r&&!o&&Kt(t),i=n||r||o||a,s=i?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],u=s.length;for(var l in t)!e&&!K.call(t,l)||i&&("length"==l||o&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Nt(l,u))||s.push(l);return s}function jt(t,e){for(var n=t.length;n--;)if(Ht(t[n][0],e))return n;return-1}function Dt(t){return null==t?void 0===t?P:m:it&&it in Object(t)?function(t){var e=K.call(t,it),n=t[it];try{t[it]=void 0;var r=!0}catch(t){}var o=Z.call(t);r&&(e?t[it]=n:delete t[it]);return o}(t):function(t){return Z.call(t)}(t)}function Rt(t){return Xt(t)&&Dt(t)==s}function Et(t,e,n,r,i){return t===e||(null==t||null==e||!Xt(t)&&!Xt(e)?t!=t&&e!=e:function(t,e,n,r,i,l){var h=zt(t),p=zt(e),m=h?u:Bt(t),b=p?u:Bt(e),P=(m=m==s?y:m)==y,O=(b=b==s?y:b)==y,k=m==b;if(k&&Wt(t)){if(!Wt(e))return!1;h=!0,P=!1}if(k&&!P)return l||(l=new Ot),h||Kt(t)?Ft(t,e,n,r,i,l):function(t,e,n,r,i,s,u){switch(n){case S:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case x:return!(t.byteLength!=e.byteLength||!s(new rt(t),new rt(e)));case c:case f:case v:return Ht(+t,+e);case d:return t.name==e.name&&t.message==e.message;case w:case T:return t==e+"";case g:var l=B;case _:var h=r&o;if(l||(l=N),t.size!=e.size&&!h)return!1;var p=u.get(t);if(p)return p==e;r|=a,u.set(t,e);var m=Ft(l(t),l(e),r,i,s,u);return u.delete(t),m;case C:if(Tt)return Tt.call(t)==Tt.call(e)}return!1}(t,e,m,n,r,i,l);if(!(n&o)){var j=P&&K.call(t,"__wrapped__"),D=O&&K.call(e,"__wrapped__");if(j||D){var R=j?t.value():t,E=D?e.value():e;return l||(l=new Ot),i(R,E,n,r,l)}}if(!k)return!1;return l||(l=new Ot),function(t,e,n,r,a,i){var s=n&o,u=It(t),l=u.length,c=It(e).length;if(l!=c&&!s)return!1;for(var f=l;f--;){var d=u[f];if(!(s?d in e:K.call(e,d)))return!1}var h=i.get(t);if(h&&i.get(e))return h==e;var p=!0;i.set(t,e),i.set(e,t);for(var g=s;++f<l;){d=u[f];var v=t[d],m=e[d];if(r)var y=s?r(m,v,d,e,t,i):r(v,m,d,t,e,i);if(!(void 0===y?v===m||a(v,m,n,r,i):y)){p=!1;break}g||(g="constructor"==d)}if(p&&!g){var b=t.constructor,w=e.constructor;b!=w&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w)&&(p=!1)}return i.delete(t),i.delete(e),p}(t,e,n,r,i,l)}(t,e,n,r,Et,i))}function At(t){return!(!Gt(t)||(e=t,J&&J in e))&&(Qt(t)?tt:O).test(qt(t));var e}function Mt(t){if(n=(e=t)&&e.constructor,r="function"==typeof n&&n.prototype||Q,e!==r)return lt(t);var e,n,r,o=[];for(var a in Object(t))K.call(t,a)&&"constructor"!=a&&o.push(a);return o}function Ft(t,e,n,r,i,s){var u=n&o,l=t.length,c=e.length;if(l!=c&&!(u&&c>l))return!1;var f=s.get(t);if(f&&s.get(e))return f==e;var d=-1,h=!0,p=n&a?new St:void 0;for(s.set(t,e),s.set(e,t);++d<l;){var g=t[d],v=e[d];if(r)var m=u?r(v,g,d,e,t,s):r(g,v,d,t,e,s);if(void 0!==m){if(m)continue;h=!1;break}if(p){if(!L(e,function(t,e){if(o=e,!p.has(o)&&(g===t||i(g,t,n,r,s)))return p.push(e);var o})){h=!1;break}}else if(g!==v&&!i(g,v,n,r,s)){h=!1;break}}return s.delete(t),s.delete(e),h}function It(t){return function(t,e,n){var r=e(t);return zt(t)?r:function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}(r,n(t))}(t,Jt,Lt)}function Ut(t,e){var n,r,o=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof e?"string":"hash"]:o.map}function $t(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return At(n)?n:void 0}Ct.prototype.clear=function(){this.__data__=gt?gt(null):{},this.size=0},Ct.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Ct.prototype.get=function(t){var e=this.__data__;if(gt){var n=e[t];return n===r?void 0:n}return K.call(e,t)?e[t]:void 0},Ct.prototype.has=function(t){var e=this.__data__;return gt?void 0!==e[t]:K.call(e,t)},Ct.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=gt&&void 0===e?r:e,this},Pt.prototype.clear=function(){this.__data__=[],this.size=0},Pt.prototype.delete=function(t){var e=this.__data__,n=jt(e,t);return!(n<0||(n==e.length-1?e.pop():at.call(e,n,1),--this.size,0))},Pt.prototype.get=function(t){var e=this.__data__,n=jt(e,t);return n<0?void 0:e[n][1]},Pt.prototype.has=function(t){return jt(this.__data__,t)>-1},Pt.prototype.set=function(t,e){var n=this.__data__,r=jt(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},xt.prototype.clear=function(){this.size=0,this.__data__={hash:new Ct,map:new(ft||Pt),string:new Ct}},xt.prototype.delete=function(t){var e=Ut(this,t).delete(t);return this.size-=e?1:0,e},xt.prototype.get=function(t){return Ut(this,t).get(t)},xt.prototype.has=function(t){return Ut(this,t).has(t)},xt.prototype.set=function(t,e){var n=Ut(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},St.prototype.add=St.prototype.push=function(t){return this.__data__.set(t,r),this},St.prototype.has=function(t){return this.__data__.has(t)},Ot.prototype.clear=function(){this.__data__=new Pt,this.size=0},Ot.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Ot.prototype.get=function(t){return this.__data__.get(t)},Ot.prototype.has=function(t){return this.__data__.has(t)},Ot.prototype.set=function(t,e){var r=this.__data__;if(r instanceof Pt){var o=r.__data__;if(!ft||o.length<n-1)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new xt(o)}return r.set(t,e),this.size=r.size,this};var Lt=st?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,a=[];++n<r;){var i=t[n];e(i,n,t)&&(a[o++]=i)}return a}(st(t),function(e){return ot.call(t,e)}))}:function(){return[]},Bt=Dt;function Nt(t,e){return!!(e=null==e?i:e)&&("number"==typeof t||k.test(t))&&t>-1&&t%1==0&&t<e}function qt(t){if(null!=t){try{return G.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Ht(t,e){return t===e||t!=t&&e!=e}(ct&&Bt(new ct(new ArrayBuffer(1)))!=S||ft&&Bt(new ft)!=g||dt&&"[object Promise]"!=Bt(dt.resolve())||ht&&Bt(new ht)!=_||pt&&"[object WeakMap]"!=Bt(new pt))&&(Bt=function(t){var e=Dt(t),n=e==y?t.constructor:void 0,r=n?qt(n):"";if(r)switch(r){case vt:return S;case mt:return g;case yt:return"[object Promise]";case bt:return _;case wt:return"[object WeakMap]"}return e});var Yt=Rt(function(){return arguments}())?Rt:function(t){return Xt(t)&&K.call(t,"callee")&&!ot.call(t,"callee")},zt=Array.isArray;var Wt=ut||function(){return!1};function Qt(t){if(!Gt(t))return!1;var e=Dt(t);return e==h||e==p||e==l||e==b}function Vt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=i}function Gt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Xt(t){return null!=t&&"object"==typeof t}var Kt=$?function(t){return function(e){return t(e)}}($):function(t){return Xt(t)&&Vt(t.length)&&!!j[Dt(t)]};function Jt(t){return null!=(e=t)&&Vt(e.length)&&!Qt(e)?kt(t):Mt(t);var e}t.exports=function(t,e){return Et(t,e)}}),et={a:["a","à","á","â","ã","ä","å","æ","ā","ă","ą","ǎ","ǟ","ǡ","ǻ","ȁ","ȃ","ȧ","ɐ","ɑ","ɒ","ͣ","а","ӑ","ӓ","ᵃ","ᵄ","ᶏ","ḁ","ẚ","ạ","ả","ấ","ầ","ẩ","ẫ","ậ","ắ","ằ","ẳ","ẵ","ặ","ₐ","ⱥ","ａ"],A:["A","À","Á","Â","Ã","Ä","Å","Ā","Ă","Ą","Ǎ","Ǟ","Ǡ","Ǻ","Ȁ","Ȃ","Ȧ","Ⱥ","А","Ӑ","Ӓ","ᴀ","ᴬ","Ḁ","Ạ","Ả","Ấ","Ầ","Ẩ","Ẫ","Ậ","Ắ","Ằ","Ẳ","Ẵ","Ặ","Ａ"],b:["b","ƀ","ƃ","ɓ","ᖯ","ᵇ","ᵬ","ᶀ","ḃ","ḅ","ḇ","ｂ"],B:["B","Ɓ","Ƃ","Ƀ","ʙ","ᛒ","ᴃ","ᴮ","ᴯ","Ḃ","Ḅ","Ḇ","Ｂ"],c:["c","ç","ć","ĉ","ċ","č","ƈ","ȼ","ɕ","ͨ","ᴄ","ᶜ","ḉ","ↄ","ｃ"],C:["C","Ç","Ć","Ĉ","Ċ","Č","Ƈ","Ȼ","ʗ","Ḉ","Ｃ"],d:["d","ď","đ","Ƌ","ƌ","ȡ","ɖ","ɗ","ͩ","ᵈ","ᵭ","ᶁ","ᶑ","ḋ","ḍ","ḏ","ḑ","ḓ","ｄ"],D:["D","Ď","Đ","Ɖ","Ɗ","ᴰ","Ḋ","Ḍ","Ḏ","Ḑ","Ḓ","Ｄ"],e:["e","è","é","ê","ë","ē","ĕ","ė","ę","ě","ǝ","ȅ","ȇ","ȩ","ɇ","ɘ","ͤ","ᵉ","ᶒ","ḕ","ḗ","ḙ","ḛ","ḝ","ẹ","ẻ","ẽ","ế","ề","ể","ễ","ệ","ₑ","ｅ"],E:["E","È","É","Ê","Ë","Ē","Ĕ","Ė","Ę","Ě","Œ","Ǝ","Ɛ","Ȅ","Ȇ","Ȩ","Ɇ","ɛ","ɜ","ɶ","Є","Э","э","є","Ӭ","ӭ","ᴇ","ᴈ","ᴱ","ᴲ","ᵋ","ᵌ","ᶓ","ᶔ","ᶟ","Ḕ","Ḗ","Ḙ","Ḛ","Ḝ","Ẹ","Ẻ","Ẽ","Ế","Ề","Ể","Ễ","Ệ","Ｅ","𐐁","𐐩"],f:["f","ƒ","ᵮ","ᶂ","ᶠ","ḟ","ｆ"],F:["F","Ƒ","Ḟ","ⅎ","Ｆ"],g:["g","ĝ","ğ","ġ","ģ","ǥ","ǧ","ǵ","ɠ","ɡ","ᵍ","ᵷ","ᵹ","ᶃ","ᶢ","ḡ","ｇ"],G:["G","Ĝ","Ğ","Ġ","Ģ","Ɠ","Ǥ","Ǧ","Ǵ","ɢ","ʛ","ᴳ","Ḡ","Ｇ"],h:["h","ĥ","ħ","ƕ","ȟ","ɥ","ɦ","ʮ","ʯ","ʰ","ʱ","ͪ","Һ","һ","ᑋ","ᶣ","ḣ","ḥ","ḧ","ḩ","ḫ","ⱨ","ｈ"],H:["H","Ĥ","Ħ","Ȟ","ʜ","ᕼ","ᚺ","ᚻ","ᴴ","Ḣ","Ḥ","Ḧ","Ḩ","Ḫ","Ⱨ","Ｈ"],i:["i","ì","í","î","ï","ĩ","ī","ĭ","į","ǐ","ȉ","ȋ","ɨ","ͥ","ᴉ","ᵎ","ᵢ","ᶖ","ᶤ","ḭ","ḯ","ỉ","ị","ｉ"],I:["I","Ì","Í","Î","Ï","Ĩ","Ī","Ĭ","Į","İ","Ǐ","Ȉ","Ȋ","ɪ","І","ᴵ","ᵻ","ᶦ","ᶧ","Ḭ","Ḯ","Ỉ","Ị","Ｉ"],j:["j","ĵ","ǰ","ɉ","ʝ","ʲ","ᶡ","ᶨ","ｊ"],J:["J","Ĵ","ᴊ","ᴶ","Ｊ"],k:["k","ķ","ƙ","ǩ","ʞ","ᵏ","ᶄ","ḱ","ḳ","ḵ","ⱪ","ｋ"],K:["K","Ķ","Ƙ","Ǩ","ᴷ","Ḱ","Ḳ","Ḵ","Ⱪ","Ｋ"],l:["l","ĺ","ļ","ľ","ŀ","ł","ƚ","ȴ","ɫ","ɬ","ɭ","ˡ","ᶅ","ᶩ","ᶪ","ḷ","ḹ","ḻ","ḽ","ℓ","ⱡ"],L:["L","Ĺ","Ļ","Ľ","Ŀ","Ł","Ƚ","ʟ","ᴌ","ᴸ","ᶫ","Ḷ","Ḹ","Ḻ","Ḽ","Ⱡ","Ɫ"],m:["m","ɯ","ɰ","ɱ","ͫ","ᴟ","ᵐ","ᵚ","ᵯ","ᶆ","ᶬ","ᶭ","ḿ","ṁ","ṃ","㎡","㎥","ｍ"],M:["M","Ɯ","ᴍ","ᴹ","Ḿ","Ṁ","Ṃ","Ｍ"],n:["n","ñ","ń","ņ","ň","ŉ","ƞ","ǹ","ȵ","ɲ","ɳ","ᵰ","ᶇ","ᶮ","ᶯ","ṅ","ṇ","ṉ","ṋ","ⁿ","ｎ"],N:["N","Ñ","Ń","Ņ","Ň","Ɲ","Ǹ","Ƞ","ɴ","ᴎ","ᴺ","ᴻ","ᶰ","Ṅ","Ṇ","Ṉ","Ṋ","Ｎ"],o:["o","ò","ó","ô","õ","ö","ø","ō","ŏ","ő","ơ","ǒ","ǫ","ǭ","ǿ","ȍ","ȏ","ȫ","ȭ","ȯ","ȱ","ɵ","ͦ","о","ӧ","ө","ᴏ","ᴑ","ᴓ","ᴼ","ᵒ","ᶱ","ṍ","ṏ","ṑ","ṓ","ọ","ỏ","ố","ồ","ổ","ỗ","ộ","ớ","ờ","ở","ỡ","ợ","ₒ","ｏ","𐐬"],O:["O","Ò","Ó","Ô","Õ","Ö","Ø","Ō","Ŏ","Ő","Ɵ","Ơ","Ǒ","Ǫ","Ǭ","Ǿ","Ȍ","Ȏ","Ȫ","Ȭ","Ȯ","Ȱ","О","Ӧ","Ө","Ṍ","Ṏ","Ṑ","Ṓ","Ọ","Ỏ","Ố","Ồ","Ổ","Ỗ","Ộ","Ớ","Ờ","Ở","Ỡ","Ợ","Ｏ","𐐄"],p:["p","ᵖ","ᵱ","ᵽ","ᶈ","ṕ","ṗ","ｐ"],P:["P","Ƥ","ᴘ","ᴾ","Ṕ","Ṗ","Ᵽ","Ｐ"],q:["q","ɋ","ʠ","ᛩ","ｑ"],Q:["Q","Ɋ","Ｑ"],r:["r","ŕ","ŗ","ř","ȑ","ȓ","ɍ","ɹ","ɻ","ʳ","ʴ","ʵ","ͬ","ᵣ","ᵲ","ᶉ","ṙ","ṛ","ṝ","ṟ"],R:["R","Ŕ","Ŗ","Ř","Ʀ","Ȑ","Ȓ","Ɍ","ʀ","ʁ","ʶ","ᚱ","ᴙ","ᴚ","ᴿ","Ṙ","Ṛ","Ṝ","Ṟ","Ɽ"],s:["s","ś","ŝ","ş","š","ș","ʂ","ᔆ","ᶊ","ṡ","ṣ","ṥ","ṧ","ṩ","ｓ"],S:["S","Ś","Ŝ","Ş","Š","Ș","ȿ","ˢ","ᵴ","Ṡ","Ṣ","Ṥ","Ṧ","Ṩ","Ｓ"],t:["t","ţ","ť","ŧ","ƫ","ƭ","ț","ʇ","ͭ","ᵀ","ᵗ","ᵵ","ᶵ","ṫ","ṭ","ṯ","ṱ","ẗ","ｔ"],T:["T","Ţ","Ť","Ƭ","Ʈ","Ț","Ⱦ","ᴛ","ᵀ","Ṫ","Ṭ","Ṯ","Ṱ","Ｔ"],u:["u","ù","ú","û","ü","ũ","ū","ŭ","ů","ű","ų","ư","ǔ","ǖ","ǘ","ǚ","ǜ","ȕ","ȗ","ͧ","ߎ","ᵘ","ᵤ","ṳ","ṵ","ṷ","ṹ","ṻ","ụ","ủ","ứ","ừ","ử","ữ","ự","ｕ"],U:["U","Ù","Ú","Û","Ü","Ũ","Ū","Ŭ","Ů","Ű","Ų","Ư","Ǔ","Ǖ","Ǘ","Ǚ","Ǜ","Ȕ","Ȗ","Ʉ","ᴜ","ᵁ","ᵾ","Ṳ","Ṵ","Ṷ","Ṹ","Ṻ","Ụ","Ủ","Ứ","Ừ","Ử","Ữ","Ự","Ｕ"],v:["v","ʋ","ͮ","ᵛ","ᵥ","ᶹ","ṽ","ṿ","ⱱ","ｖ","ⱴ"],V:["V","Ʋ","Ʌ","ʌ","ᴠ","ᶌ","Ṽ","Ṿ","Ｖ"],w:["w","ŵ","ʷ","ᵂ","ẁ","ẃ","ẅ","ẇ","ẉ","ẘ","ⱳ","ｗ"],W:["W","Ŵ","ʍ","ᴡ","Ẁ","Ẃ","Ẅ","Ẇ","Ẉ","Ⱳ","Ｗ"],x:["x","̽","͓","ᶍ","ͯ","ẋ","ẍ","ₓ","ｘ"],X:["X","ˣ","ͯ","Ẋ","Ẍ","☒","✕","✖","✗","✘","Ｘ"],y:["y","ý","ÿ","ŷ","ȳ","ɏ","ʸ","ẏ","ỳ","ỵ","ỷ","ỹ","ｙ"],Y:["Y","Ý","Ŷ","Ÿ","Ƴ","ƴ","Ȳ","Ɏ","ʎ","ʏ","Ẏ","Ỳ","Ỵ","Ỷ","Ỹ","Ｙ"],z:["z","ź","ż","ž","ƶ","ȥ","ɀ","ʐ","ʑ","ᙆ","ᙇ","ᶻ","ᶼ","ᶽ","ẑ","ẓ","ẕ","ⱬ","ｚ"],Z:["Z","Ź","Ż","Ž","Ƶ","Ȥ","ᴢ","ᵶ","Ẑ","Ẓ","Ẕ","Ⱬ","Ｚ"]},nt=function(t){for(var e=[],n=0;n<t.length;n++){var r=t.charAt(n),o=!1;for(var a in et){if(-1!==et[a].indexOf(r)){e.push(a),o=!0;break}}o||e.push(r)}return e.join("")},rt=function(t){return t.replace(/[\\^$*+?.()|[\]{}]/g,"\\$&")},ot={format:function(t){return t},filterPredicate:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)return!1;var o=n?String(t).toLowerCase():nt(rt(String(t)).toLowerCase()),a=n?e.toLowerCase():nt(rt(e).toLowerCase());return r?o===a:o.indexOf(a)>-1},compare:function(t,e){function n(t){return null==t?"":nt(t.toLowerCase())}return(t=n(t))<(e=n(e))?-1:t>e?1:0}};var at=function(t,e,n,r,o,a,i,s,u,l){"boolean"!=typeof i&&(u=s,s=i,i=!1);var c,f="function"==typeof n?n.options:n;if(t&&t.render&&(f.render=t.render,f.staticRenderFns=t.staticRenderFns,f._compiled=!0,o&&(f.functional=!0)),r&&(f._scopeId=r),a?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(a)},f._ssrRegister=c):e&&(c=i?function(){e.call(this,l(this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),c)if(f.functional){var d=f.render;f.render=function(t,e){return c.call(e),d(t,e)}}else{var h=f.beforeCreate;f.beforeCreate=h?[].concat(h,c):[c]}return n},it=at({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"footer__navigation__page-info"},[t._v("\n  "+t._s(t.pageText)+" "),n("input",{staticClass:"footer__navigation__page-info__current-entry",attrs:{type:"text"},domProps:{value:t.currentPage},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.stopPropagation(),t.changePage(e))}}}),t._v(" "+t._s(t.pageInfo)+"\n")])},staticRenderFns:[]},void 0,{name:"VgtPaginationPageInfo",props:{currentPage:{default:1},lastPage:{default:1},totalRecords:{default:0},ofText:{default:"of",type:String},pageText:{default:"page",type:String}},data:function(){return{}},computed:{pageInfo:function(){return"".concat(this.ofText," ").concat(this.lastPage)}},methods:{changePage:function(t){var e=parseInt(t.target.value,10);if(Number.isNaN(e)||e>this.lastPage||e<1)return t.target.value=this.currentPage,!1;t.target.value=e,this.$emit("page-changed",e)}},mounted:function(){},components:{}},"data-v-9a8cd1f4",!1,void 0,void 0,void 0),st=[10,20,30,40,50],ut=at({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vgt-wrap__footer vgt-clearfix"},[n("div",{staticClass:"footer__row-count vgt-pull-left"},[n("span",{staticClass:"footer__row-count__label"},[t._v(t._s(t.rowsPerPageText))]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.currentPerPage,expression:"currentPerPage"}],staticClass:"footer__row-count__select",attrs:{autocomplete:"off",name:"perPageSelect"},on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,function(t){return t.selected}).map(function(t){return"_value"in t?t._value:t.value});t.currentPerPage=e.target.multiple?n:n[0]},t.perPageChanged]}},[t._l(t.rowsPerPageOptions,function(e,r){return n("option",{key:"rows-dropdown-option-"+r,domProps:{value:e}},[t._v("\n        "+t._s(e)+"\n      ")])}),t._v(" "),t.paginateDropdownAllowAll?n("option",{domProps:{value:t.total}},[t._v(t._s(t.allText))]):t._e()],2)]),t._v(" "),n("div",{staticClass:"footer__navigation vgt-pull-right"},[n("a",{staticClass:"footer__navigation__page-btn",class:{disabled:!t.prevIsPossible},attrs:{href:"javascript:undefined",tabindex:"0"},on:{click:function(e){return e.preventDefault(),e.stopPropagation(),t.previousPage(e)}}},[n("span",{staticClass:"chevron",class:{left:!t.rtl,right:t.rtl}}),t._v(" "),n("span",[t._v(t._s(t.prevText))])]),t._v(" "),"pages"===t.mode?n("pagination-page-info",{attrs:{totalRecords:t.total,lastPage:t.pagesCount,currentPage:t.currentPage,ofText:t.ofText,pageText:t.pageText},on:{"page-changed":t.changePage}}):n("div",{staticClass:"footer__navigation__info"},[t._v(t._s(t.paginatedInfo))]),t._v(" "),n("a",{staticClass:"footer__navigation__page-btn",class:{disabled:!t.nextIsPossible},attrs:{href:"javascript:undefined",tabindex:"0"},on:{click:function(e){return e.preventDefault(),e.stopPropagation(),t.nextPage(e)}}},[n("span",[t._v(t._s(t.nextText))]),t._v(" "),n("span",{staticClass:"chevron",class:{right:!t.rtl,left:t.rtl}})])],1)])},staticRenderFns:[]},void 0,{name:"VgtPagination",props:{styleClass:{default:"table table-bordered"},total:{default:null},perPage:{},rtl:{default:!1},customRowsPerPageDropdown:{default:function(){return[]}},paginateDropdownAllowAll:{default:!0},mode:{default:"records"},nextText:{default:"Next"},prevText:{default:"Prev"},rowsPerPageText:{default:"Rows per page:"},ofText:{default:"of"},pageText:{default:"page"},allText:{default:"All"}},data:function(){return{currentPage:1,prevPage:0,currentPerPage:10,rowsPerPageOptions:[]}},watch:{perPage:{handler:function(t,e){this.handlePerPage(),this.perPageChanged(e)},immediate:!0},customRowsPerPageDropdown:function(){this.handlePerPage()}},computed:{pagesCount:function(){var t=Math.floor(this.total/this.currentPerPage);return 0===this.total%this.currentPerPage?t:t+1},paginatedInfo:function(){var t=(this.currentPage-1)*this.currentPerPage+1,e=Math.min(this.total,this.currentPage*this.currentPerPage);return 0===e&&(t=0),"".concat(t," - ").concat(e," ").concat(this.ofText," ").concat(this.total)},nextIsPossible:function(){return this.currentPage<this.pagesCount},prevIsPossible:function(){return this.currentPage>1}},methods:{changePage:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t>0&&this.total>this.currentPerPage*(t-1)&&(this.prevPage=this.currentPage,this.currentPage=t,e&&this.pageChanged())},nextPage:function(){this.nextIsPossible&&(this.prevPage=this.currentPage,++this.currentPage,this.pageChanged())},previousPage:function(){this.prevIsPossible&&(this.prevPage=this.currentPage,--this.currentPage,this.pageChanged())},pageChanged:function(){this.$emit("page-changed",{currentPage:this.currentPage,prevPage:this.prevPage})},perPageChanged:function(t){t&&this.$emit("per-page-changed",{currentPerPage:this.currentPerPage}),this.changePage(1,!1)},handlePerPage:function(){if(null!==this.customRowsPerPageDropdown&&Array.isArray(this.customRowsPerPageDropdown)&&0!==this.customRowsPerPageDropdown.length?this.rowsPerPageOptions=J(this.customRowsPerPageDropdown):this.rowsPerPageOptions=J(st),this.perPage){this.currentPerPage=this.perPage;for(var t=!1,e=0;e<this.rowsPerPageOptions.length;e++)this.rowsPerPageOptions[e]===this.perPage&&(t=!0);t||-1===this.perPage||this.rowsPerPageOptions.unshift(this.perPage)}else this.currentPerPage=10}},mounted:function(){},components:{"pagination-page-info":it}},void 0,!1,void 0,void 0,void 0),lt=at({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.showControlBar?n("div",{staticClass:"vgt-global-search vgt-clearfix"},[n("div",{staticClass:"vgt-global-search__input vgt-pull-left"},[t.searchEnabled?n("span",{staticClass:"input__icon"},[n("div",{staticClass:"magnifying-glass"})]):t._e(),t._v(" "),t.searchEnabled?n("input",{staticClass:"vgt-input vgt-pull-left",attrs:{type:"text",placeholder:t.globalSearchPlaceholder},domProps:{value:t.value},on:{input:function(e){return t.updateValue(e.target.value)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.entered(e.target.value)}}}):t._e()]),t._v(" "),n("div",{staticClass:"vgt-global-search__actions vgt-pull-right"},[t._t("internal-table-actions")],2)]):t._e()},staticRenderFns:[]},void 0,{name:"VgtGlobalSearch",props:["value","searchEnabled","globalSearchPlaceholder"],data:function(){return{globalSearchTerm:null}},computed:{showControlBar:function(){return!!this.searchEnabled||!(!this.$slots||!this.$slots["internal-table-actions"])}},methods:{updateValue:function(t){this.$emit("input",t),this.$emit("on-keyup",t)},entered:function(t){this.$emit("on-enter",t)}}},void 0,!1,void 0,void 0,void 0),ct=at({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.hasFilterRow?n("tr",[t.lineNumbers?n("th"):t._e(),t._v(" "),t.selectable?n("th"):t._e(),t._v(" "),t._l(t.columns,function(e,r){return e.hidden?t._e():n("th",{key:r,staticClass:"filter-th"},[t.isFilterable(e)?n("div",[t.isDropdown(e)||t.isMultiselectDropdown(e)?t._e():n("input",{staticClass:"vgt-input",attrs:{type:"text",placeholder:t.getPlaceholder(e)},domProps:{value:t.columnFilters[e.field]},on:{keyup:function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"enter",13,n.key,"Enter")?null:t.updateFiltersOnEnter(e,n.target.value)},input:function(n){return t.updateFiltersOnKeyup(e,n.target.value)}}}),t._v(" "),t.isDropdownArray(e)?n("select",{staticClass:"vgt-select",domProps:{value:t.columnFilters[e.field]},on:{change:function(n){return t.updateFilters(e,n.target.value)}}},[n("option",{key:"-1",attrs:{value:""}},[t._v(t._s(t.getPlaceholder(e)))]),t._v(" "),t._l(e.filterOptions.filterDropdownItems,function(e,r){return n("option",{key:r,domProps:{value:e}},[t._v("\n            "+t._s(e)+"\n          ")])})],2):t._e(),t._v(" "),t.isDropdownObjects(e)?n("select",{staticClass:"vgt-select",domProps:{value:t.columnFilters[e.field]},on:{change:function(n){return t.updateFilters(e,n.target.value,!0)}}},[n("option",{key:"-1",attrs:{value:""}},[t._v(t._s(t.getPlaceholder(e)))]),t._v(" "),t._l(e.filterOptions.filterDropdownItems,function(e,r){return n("option",{key:r,domProps:{value:e.value}},[t._v(t._s(e.text))])})],2):t._e(),t._v(" "),t.isMultiselectDropdown(e)?n("v-select",{ref:"vgt-multiselect",refInFor:!0,attrs:{options:e.filterOptions.filterMultiselectDropdownItems,loading:e.filterOptions.loading,placeholder:t.getPlaceholder(e),multiple:""},on:{input:function(n){return t.updateFiltersOnKeyup(e,n)}}}):t._e()],1):t._e()])})],2):t._e()},staticRenderFns:[]},void 0,{name:"VgtFilterRow",props:["lineNumbers","columns","typedColumns","globalSearchEnabled","selectable","mode"],watch:{columns:{handler:function(t,e){this.populateInitialFilters()},deep:!0,immediate:!0}},data:function(){return{columnFilters:{},timer:null}},computed:{hasFilterRow:function(){for(var t=0;t<this.columns.length;t++){var e=this.columns[t];if(e.filterOptions&&e.filterOptions.enabled)return!0}return!1}},methods:{reset:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.columnFilters={},this.$refs["vgt-multiselect"].forEach(function(t){t.clearSelection()}),t&&this.$emit("filter-changed",this.columnFilters)},isFilterable:function(t){return t.filterOptions&&t.filterOptions.enabled},isDropdown:function(t){return this.isFilterable(t)&&t.filterOptions.filterDropdownItems&&t.filterOptions.filterDropdownItems.length},isDropdownObjects:function(t){return this.isDropdown(t)&&"object"===e(t.filterOptions.filterDropdownItems[0])},isDropdownArray:function(t){return this.isDropdown(t)&&"object"!==e(t.filterOptions.filterDropdownItems[0])},isMultiselectDropdown:function(t){return this.isFilterable(t)&&t.filterOptions&&t.filterOptions.filterMultiselectDropdownItems},getPlaceholder:function(t){return this.isFilterable(t)&&t.filterOptions.placeholder||"Filter ".concat(t.label)},updateFiltersOnEnter:function(t,e){this.timer&&clearTimeout(this.timer),this.updateFiltersImmediately(t,e)},updateFiltersOnKeyup:function(t,e){"enter"!==t.filterOptions.trigger&&this.updateFilters(t,e)},updateFilters:function(t,e){var n=this;this.timer&&clearTimeout(this.timer),this.timer=setTimeout(function(){n.updateFiltersImmediately(t,e)},400)},updateFiltersImmediately:function(t,e){this.$set(this.columnFilters,t.field,e),this.$emit("filter-changed",this.columnFilters)},populateInitialFilters:function(){for(var t=0;t<this.columns.length;t++){var e=this.columns[t];this.isFilterable(e)&&void 0!==e.filterOptions.filterValue&&null!==e.filterOptions.filterValue&&this.$set(this.columnFilters,e.field,e.filterOptions.filterValue)}this.$emit("filter-changed",this.columnFilters)}}},"data-v-e735923a",!1,void 0,void 0,void 0);function ft(t){return"asc"===t?"desc":"asc"}var dt=at({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[t.lineNumbers?n("th",{staticClass:"line-numbers"}):t._e(),t._v(" "),t.selectable?n("th",{staticClass:"vgt-checkbox-col"},[n("input",{attrs:{type:"checkbox"},domProps:{checked:t.allSelected,indeterminate:t.allSelectedIndeterminate},on:{change:t.toggleSelectAll}})]):t._e(),t._v(" "),t._l(t.columns,function(e,r){return e.hidden?t._e():n("th",{key:r,class:t.getHeaderClasses(e,r),style:t.columnStyles[r],on:{click:function(n){return t.sort(n,e)}}},[t._t("table-column",[n("span",[t._v(t._s(e.label))])],{column:e})],2)})],2),t._v(" "),n("vgt-filter-row",{ref:"filter-row",tag:"tr",attrs:{"global-search-enabled":t.searchEnabled,"line-numbers":t.lineNumbers,selectable:t.selectable,columns:t.columns,mode:t.mode,"typed-columns":t.typedColumns},on:{"filter-changed":t.filterRows}})],1)},staticRenderFns:[]},void 0,{name:"VgtTableHeader",props:{lineNumbers:{default:!1,type:Boolean},selectable:{default:!1,type:Boolean},allSelected:{default:!1,type:Boolean},allSelectedIndeterminate:{default:!1,type:Boolean},columns:{type:Array},mode:{type:String},typedColumns:{},sortable:{type:Boolean},getClasses:{type:Function},searchEnabled:{type:Boolean},tableRef:{},paginated:{}},watch:{columns:{handler:function(){this.setColumnStyles()},immediate:!0},tableRef:{handler:function(){this.setColumnStyles()},immediate:!0},paginated:{handler:function(){this.tableRef&&this.setColumnStyles()},deep:!0}},data:function(){return{checkBoxThStyle:{},lineNumberThStyle:{},columnStyles:[],sorts:[]}},computed:{},methods:{reset:function(){this.$refs["filter-row"].reset(!0)},toggleSelectAll:function(){this.$emit("on-toggle-select-all")},isSortableColumn:function(t){var e=t.sortable;return"boolean"==typeof e?e:this.sortable},sort:function(t,e){this.isSortableColumn(e)&&(t.shiftKey?this.sorts=function(t,e){var n=function(t,e){for(var n=0;n<t.length;n++)if(e.field===t[n].field)return n;return-1}(t,e);if(-1===n)t.push({field:e.field,type:"asc"});else{var r=ft(t[n].type);r?t[n].type=r:t.splice(n,1)}return t}(this.sorts,e):this.sorts=function(t,e){t.length&&1===t.length&&t[0].field===e.field?ft(t[0].type)?t[0].type=ft(t[0].type):t=[]:t=[{field:e.field,type:"asc"}];return t}(this.sorts,e),this.$emit("on-sort-change",this.sorts))},setInitialSort:function(t){this.sorts=t,this.$emit("on-sort-change",this.sorts)},getColumnSort:function(t){for(var e=0;e<this.sorts.length;e+=1)if(this.sorts[e].field===t.field)return this.sorts[e].type||"asc";return null},getHeaderClasses:function(t,e){return G({},this.getClasses(e,"th"),{sortable:this.isSortableColumn(t),"sorting sorting-desc":"desc"===this.getColumnSort(t),"sorting sorting-asc":"asc"===this.getColumnSort(t)})},filterRows:function(t){this.$emit("filter-changed",t)},getWidthStyle:function(t){return window&&window.getComputedStyle&&t?{width:window.getComputedStyle(t,null).width}:{width:"auto"}},setColumnStyles:function(){for(var t=[],e=0;e<this.columns.length;e++)if(this.tableRef){var n=0;this.selectable&&n++,this.lineNumbers&&n++;var r=this.tableRef.rows[0].cells[e+n];t.push(this.getWidthStyle(r))}else t.push({minWidth:this.columns[e].width?this.columns[e].width:"auto",maxWidth:this.columns[e].width?this.columns[e].width:"auto",width:this.columns[e].width?this.columns[e].width:"auto"});this.columnStyles=t},getColumnStyle:function(t,e){var n={minWidth:t.width?t.width:"auto",maxWidth:t.width?t.width:"auto",width:t.width?t.width:"auto"};if(this.tableRef){this.selectable&&e++,this.lineNumbers&&e++;var r=this.tableRef.rows[0].cells[e],o=window.getComputedStyle(r,null);n.width=o.width}return n}},mounted:function(){window.addEventListener("resize",this.setColumnStyles)},beforeDestroy:function(){window.removeEventListener("resize",this.setColumnStyles)},components:{"vgt-filter-row":ct}},"data-v-eb5a915e",!1,void 0,void 0,void 0),ht=at({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tr",["span"===t.headerRow.mode?n("th",{staticClass:"vgt-left-align vgt-row-header",attrs:{colspan:t.fullColspan},on:{click:function(e){t.collapsable&&t.$emit("vgtExpand",!t.headerRow.vgtIsExpanded)}}},[t.collapsable?n("span",{staticClass:"triangle",class:{expand:t.headerRow.vgtIsExpanded}}):t._e(),t._v(" "),t._t("table-header-row",[t.headerRow.html?n("span",{domProps:{innerHTML:t._s(t.headerRow.label)}}):n("span",[t._v("\n        "+t._s(t.headerRow.label)+"\n      ")])],{row:t.headerRow})],2):t._e(),t._v(" "),"span"!==t.headerRow.mode&&t.lineNumbers?n("th",{staticClass:"vgt-row-header"}):t._e(),t._v(" "),"span"!==t.headerRow.mode&&t.selectable?n("th",{staticClass:"vgt-row-header"}):t._e(),t._v(" "),t._l(t.columns,function(e,r){return"span"===t.headerRow.mode||e.hidden?t._e():n("th",{key:r,staticClass:"vgt-row-header",class:t.getClasses(r,"td"),on:{click:function(e){t.columnCollapsable(r)&&t.$emit("vgtExpand",!t.headerRow.vgtIsExpanded)}}},[t.columnCollapsable(r)?n("span",{staticClass:"triangle",class:{expand:t.headerRow.vgtIsExpanded}}):t._e(),t._v(" "),t._t("table-header-row",[e.html?t._e():n("span",[t._v("\n        "+t._s(t.collectFormatted(t.headerRow,e,!0))+"\n      ")]),t._v(" "),e.html?n("span",{domProps:{innerHTML:t._s(t.collectFormatted(t.headerRow,e,!0))}}):t._e()],{row:t.headerRow,column:e,formattedRow:t.formattedRow(t.headerRow,!0)})],2)})],2)},staticRenderFns:[]},void 0,{name:"VgtHeaderRow",props:{headerRow:{type:Object},columns:{type:Array},lineNumbers:{type:Boolean},selectable:{type:Boolean},collapsable:{type:[Boolean,Number],default:!1},collectFormatted:{type:Function},formattedRow:{type:Function},getClasses:{type:Function},fullColspan:{type:Number}},data:function(){return{}},computed:{},methods:{columnCollapsable:function(t){return!0===this.collapsable?0===t:t===this.collapsable}},mounted:function(){},components:{}},void 0,!1,void 0,void 0,void 0);function pt(t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=Object.prototype.toString.call(t);return t instanceof Date||"object"==typeof t&&"[object Date]"===e?new Date(t.getTime()):"number"==typeof t||"[object Number]"===e?new Date(t):("string"!=typeof t&&"[object String]"!==e||"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 gt(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}var vt=6e4;function mt(t){var e=new Date(t.getTime()),n=e.getTimezoneOffset();e.setSeconds(0,0);var r=e.getTime()%vt;return n*vt+r}function yt(t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=pt(t);return!isNaN(e)}var bt={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function wt(t){return function(e){var n=e||{},r=n.width?String(n.width):t.defaultWidth;return t.formats[r]||t.formats[t.defaultWidth]}}var _t={date:wt({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:wt({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:wt({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Tt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Ct(t){return function(e,n){var r,o=n||{};if("formatting"===(o.context?String(o.context):"standalone")&&t.formattingValues){var a=t.defaultFormattingWidth||t.defaultWidth,i=o.width?String(o.width):a;r=t.formattingValues[i]||t.formattingValues[a]}else{var s=t.defaultWidth,u=o.width?String(o.width):t.defaultWidth;r=t.values[u]||t.values[s]}return r[t.argumentCallback?t.argumentCallback(e):e]}}function Pt(t){return function(e,n){var r=String(e),o=n||{},a=o.width,i=a&&t.matchPatterns[a]||t.matchPatterns[t.defaultMatchWidth],s=r.match(i);if(!s)return null;var u,l=s[0],c=a&&t.parsePatterns[a]||t.parsePatterns[t.defaultParseWidth];return u="[object Array]"===Object.prototype.toString.call(c)?c.findIndex(function(t){return t.test(r)}):function(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}(c,function(t){return t.test(r)}),u=t.valueCallback?t.valueCallback(u):u,{value:u=o.valueCallback?o.valueCallback(u):u,rest:r.slice(l.length)}}}var xt,St={formatDistance:function(t,e,n){var r;return n=n||{},r="string"==typeof bt[t]?bt[t]:1===e?bt[t].one:bt[t].other.replace("{{count}}",e),n.addSuffix?n.comparison>0?"in "+r:r+" ago":r},formatLong:_t,formatRelative:function(t,e,n,r){return Tt[t]},localize:{ordinalNumber:function(t,e){var n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Ct({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Ct({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:Ct({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Ct({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Ct({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(xt={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}},function(t,e){var n=String(t),r=e||{},o=n.match(xt.matchPattern);if(!o)return null;var a=o[0],i=n.match(xt.parsePattern);if(!i)return null;var s=xt.valueCallback?xt.valueCallback(i[0]):i[0];return{value:s=r.valueCallback?r.valueCallback(s):s,rest:n.slice(a.length)}}),era:Pt({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Pt({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Pt({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Pt({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Pt({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function Ot(t,e){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return function(t,e){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=pt(t).getTime(),r=gt(e);return new Date(n+r)}(t,-gt(e))}function kt(t,e){for(var n=t<0?"-":"",r=Math.abs(t).toString();r.length<e;)r="0"+r;return n+r}var jt=function(t,e){var n=t.getUTCFullYear(),r=n>0?n:1-n;return kt("yy"===e?r%100:r,e.length)},Dt=function(t,e){var n=t.getUTCMonth();return"M"===e?String(n+1):kt(n+1,2)},Rt=function(t,e){return kt(t.getUTCDate(),e.length)},Et=function(t,e){return kt(t.getUTCHours()%12||12,e.length)},At=function(t,e){return kt(t.getUTCHours(),e.length)},Mt=function(t,e){return kt(t.getUTCMinutes(),e.length)},Ft=function(t,e){return kt(t.getUTCSeconds(),e.length)},It=function(t,e){var n=e.length,r=t.getUTCMilliseconds();return kt(Math.floor(r*Math.pow(10,n-3)),e.length)},Ut=864e5;function $t(t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=pt(t),n=e.getUTCDay(),r=(n<1?7:0)+n-1;return e.setUTCDate(e.getUTCDate()-r),e.setUTCHours(0,0,0,0),e}function Lt(t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=pt(t),n=e.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var o=$t(r),a=new Date(0);a.setUTCFullYear(n,0,4),a.setUTCHours(0,0,0,0);var i=$t(a);return e.getTime()>=o.getTime()?n+1:e.getTime()>=i.getTime()?n:n-1}var Bt=6048e5;function Nt(t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=pt(t),n=$t(e).getTime()-function(t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=Lt(t),n=new Date(0);return n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0),$t(n)}(e).getTime();return Math.round(n/Bt)+1}function qt(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=e||{},r=n.locale,o=r&&r.options&&r.options.weekStartsOn,a=null==o?0:gt(o),i=null==n.weekStartsOn?a:gt(n.weekStartsOn);if(!(i>=0&&i<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=pt(t),u=s.getUTCDay(),l=(u<i?7:0)+u-i;return s.setUTCDate(s.getUTCDate()-l),s.setUTCHours(0,0,0,0),s}function Ht(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=pt(t,e),r=n.getUTCFullYear(),o=e||{},a=o.locale,i=a&&a.options&&a.options.firstWeekContainsDate,s=null==i?1:gt(i),u=null==o.firstWeekContainsDate?s:gt(o.firstWeekContainsDate);if(!(u>=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var l=new Date(0);l.setUTCFullYear(r+1,0,u),l.setUTCHours(0,0,0,0);var c=qt(l,e),f=new Date(0);f.setUTCFullYear(r,0,u),f.setUTCHours(0,0,0,0);var d=qt(f,e);return n.getTime()>=c.getTime()?r+1:n.getTime()>=d.getTime()?r:r-1}var Yt=6048e5;function zt(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=pt(t),r=qt(n,e).getTime()-function(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=e||{},r=n.locale,o=r&&r.options&&r.options.firstWeekContainsDate,a=null==o?1:gt(o),i=null==n.firstWeekContainsDate?a:gt(n.firstWeekContainsDate),s=Ht(t,e),u=new Date(0);return u.setUTCFullYear(s,0,i),u.setUTCHours(0,0,0,0),qt(u,e)}(n,e).getTime();return Math.round(r/Yt)+1}var Wt="midnight",Qt="noon",Vt="morning",Gt="afternoon",Xt="evening",Kt="night",Jt={G:function(t,e,n){var r=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){var r=t.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return jt(t,e)},Y:function(t,e,n,r){var o=Ht(t,r),a=o>0?o:1-o;return"YY"===e?kt(a%100,2):"Yo"===e?n.ordinalNumber(a,{unit:"year"}):kt(a,e.length)},R:function(t,e){return kt(Lt(t),e.length)},u:function(t,e){return kt(t.getUTCFullYear(),e.length)},Q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return kt(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return kt(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){var r=t.getUTCMonth();switch(e){case"M":case"MM":return Dt(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){var r=t.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return kt(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){var o=zt(t,r);return"wo"===e?n.ordinalNumber(o,{unit:"week"}):kt(o,e.length)},I:function(t,e,n){var r=Nt(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):kt(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):Rt(t,e)},D:function(t,e,n){var r=function(t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=pt(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var r=n-e.getTime();return Math.floor(r/Ut)+1}(t);return"Do"===e?n.ordinalNumber(r,{unit:"dayOfYear"}):kt(r,e.length)},E:function(t,e,n){var r=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){var o=t.getUTCDay(),a=(o-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(a);case"ee":return kt(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){var o=t.getUTCDay(),a=(o-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(a);case"cc":return kt(a,e.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(t,e,n){var r=t.getUTCDay(),o=0===r?7:r;switch(e){case"i":return String(o);case"ii":return kt(o,e.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){var r,o=t.getUTCHours();switch(r=12===o?Qt:0===o?Wt:o/12>=1?"pm":"am",e){case"b":case"bb":case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){var r,o=t.getUTCHours();switch(r=o>=17?Xt:o>=12?Gt:o>=4?Vt:Kt,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var r=t.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return Et(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):At(t,e)},K:function(t,e,n){var r=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):kt(r,e.length)},k:function(t,e,n){var r=t.getUTCHours();return 0===r&&(r=24),"ko"===e?n.ordinalNumber(r,{unit:"hour"}):kt(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):Mt(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):Ft(t,e)},S:function(t,e){return It(t,e)},X:function(t,e,n,r){var o=(r._originalDate||t).getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return te(o);case"XXXX":case"XX":return ee(o);case"XXXXX":case"XXX":default:return ee(o,":")}},x:function(t,e,n,r){var o=(r._originalDate||t).getTimezoneOffset();switch(e){case"x":return te(o);case"xxxx":case"xx":return ee(o);case"xxxxx":case"xxx":default:return ee(o,":")}},O:function(t,e,n,r){var o=(r._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Zt(o,":");case"OOOO":default:return"GMT"+ee(o,":")}},z:function(t,e,n,r){var o=(r._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Zt(o,":");case"zzzz":default:return"GMT"+ee(o,":")}},t:function(t,e,n,r){var o=r._originalDate||t;return kt(Math.floor(o.getTime()/1e3),e.length)},T:function(t,e,n,r){return kt((r._originalDate||t).getTime(),e.length)}};function Zt(t,e){var n=t>0?"-":"+",r=Math.abs(t),o=Math.floor(r/60),a=r%60;if(0===a)return n+String(o);var i=e||"";return n+String(o)+i+kt(a,2)}function te(t,e){return t%60==0?(t>0?"-":"+")+kt(Math.abs(t)/60,2):ee(t,e)}function ee(t,e){var n=e||"",r=t>0?"-":"+",o=Math.abs(t);return r+kt(Math.floor(o/60),2)+n+kt(o%60,2)}function ne(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}}function re(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}}var oe={p:re,P:function(t,e){var n,r=t.match(/(P+)(p+)?/),o=r[1],a=r[2];if(!a)return ne(t,e);switch(o){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;case"PPPP":default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",ne(o,e)).replace("{{time}}",re(a,e))}},ae=["D","DD"],ie=["YY","YYYY"];function se(t){return-1!==ae.indexOf(t)}function ue(t){return-1!==ie.indexOf(t)}function le(t){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` for formatting years; see: https://git.io/fxCyr");if("YY"===t)throw new RangeError("Use `yy` instead of `YY` for formatting years; see: https://git.io/fxCyr");if("D"===t)throw new RangeError("Use `d` instead of `D` for formatting days of the month; see: https://git.io/fxCyr");if("DD"===t)throw new RangeError("Use `dd` instead of `DD` for formatting days of the month; see: https://git.io/fxCyr")}var ce=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,fe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,de=/^'(.*?)'?$/,he=/''/g,pe=/[a-zA-Z]/;function ge(t,e,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=String(e),o=n||{},a=o.locale||St,i=a.options&&a.options.firstWeekContainsDate,s=null==i?1:gt(i),u=null==o.firstWeekContainsDate?s:gt(o.firstWeekContainsDate);if(!(u>=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var l=a.options&&a.options.weekStartsOn,c=null==l?0:gt(l),f=null==o.weekStartsOn?c:gt(o.weekStartsOn);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!a.localize)throw new RangeError("locale must contain localize property");if(!a.formatLong)throw new RangeError("locale must contain formatLong property");var d=pt(t);if(!yt(d))throw new RangeError("Invalid time value");var h=Ot(d,mt(d)),p={firstWeekContainsDate:u,weekStartsOn:f,locale:a,_originalDate:d};return r.match(fe).map(function(t){var e=t[0];return"p"===e||"P"===e?(0,oe[e])(t,a.formatLong,p):t}).join("").match(ce).map(function(t){if("''"===t)return"'";var e=t[0];if("'"===e)return t.match(de)[1].replace(he,"'");var n=Jt[e];if(n)return!o.useAdditionalWeekYearTokens&&ue(t)&&le(t),!o.useAdditionalDayOfYearTokens&&se(t)&&le(t),n(h,t,a.localize,p);if(e.match(pe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return t}).join("")}function ve(t,e){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in e=e||{})e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function me(t,e,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=n||{},o=r.locale,a=o&&o.options&&o.options.weekStartsOn,i=null==a?0:gt(a),s=null==r.weekStartsOn?i:gt(r.weekStartsOn);if(!(s>=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=pt(t),l=gt(e),c=((l%7+7)%7<s?7:0)+l-u.getUTCDay();return u.setUTCDate(u.getUTCDate()+c),u}var ye=36e5,be=6e4,we=1e3,_e={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Te=/^([+-])(\d{2})(\d{2})?|Z/,Ce=/^([+-])(\d{2})(\d{2})|Z/,Pe=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,xe=/^([+-])(\d{2}):(\d{2})|Z/,Se=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function Oe(t,e,n){var r=e.match(t);if(!r)return null;var o=parseInt(r[0],10);return{value:n?n(o):o,rest:e.slice(r[0].length)}}function ke(t,e){var n=e.match(t);if(!n)return null;if("Z"===n[0])return{value:0,rest:e.slice(1)};var r="+"===n[1]?1:-1,o=n[2]?parseInt(n[2],10):0,a=n[3]?parseInt(n[3],10):0,i=n[5]?parseInt(n[5],10):0;return{value:r*(o*ye+a*be+i*we),rest:e.slice(n[0].length)}}function je(t,e){return Oe(_e.anyDigitsSigned,t,e)}function De(t,e,n){switch(t){case 1:return Oe(_e.singleDigit,e,n);case 2:return Oe(_e.twoDigits,e,n);case 3:return Oe(_e.threeDigits,e,n);case 4:return Oe(_e.fourDigits,e,n);default:return Oe(new RegExp("^\\d{1,"+t+"}"),e,n)}}function Re(t,e,n){switch(t){case 1:return Oe(_e.singleDigitSigned,e,n);case 2:return Oe(_e.twoDigitsSigned,e,n);case 3:return Oe(_e.threeDigitsSigned,e,n);case 4:return Oe(_e.fourDigitsSigned,e,n);default:return Oe(new RegExp("^-?\\d{1,"+t+"}"),e,n)}}function Ee(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function Ae(t,e){var n,r=e>0,o=r?e:1-e;if(o<=50)n=t||100;else{var a=o+50;n=t+100*Math.floor(a/100)-(t>=a%100?100:0)}return r?n:1-n}var Me=[31,28,31,30,31,30,31,31,30,31,30,31],Fe=[31,29,31,30,31,30,31,31,30,31,30,31];function Ie(t){return t%400==0||t%4==0&&t%100!=0}var Ue={G:{priority:140,parse:function(t,e,n,r){switch(e){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});case"GGGG":default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}},set:function(t,e,n,r){return e.era=n,t.setUTCFullYear(n,0,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(t,e,n,r){var o=function(t){return{year:t,isTwoDigitYear:"yy"===e}};switch(e){case"y":return De(4,t,o);case"yo":return n.ordinalNumber(t,{unit:"year",valueCallback:o});default:return De(e.length,t,o)}},validate:function(t,e,n){return e.isTwoDigitYear||e.year>0},set:function(t,e,n,r){var o=t.getUTCFullYear();if(n.isTwoDigitYear){var a=Ae(n.year,o);return t.setUTCFullYear(a,0,1),t.setUTCHours(0,0,0,0),t}var i="era"in e&&1!==e.era?1-n.year:n.year;return t.setUTCFullYear(i,0,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(t,e,n,r){var o=function(t){return{year:t,isTwoDigitYear:"YY"===e}};switch(e){case"Y":return De(4,t,o);case"Yo":return n.ordinalNumber(t,{unit:"year",valueCallback:o});default:return De(e.length,t,o)}},validate:function(t,e,n){return e.isTwoDigitYear||e.year>0},set:function(t,e,n,r){var o=Ht(t,r);if(n.isTwoDigitYear){var a=Ae(n.year,o);return t.setUTCFullYear(a,0,r.firstWeekContainsDate),t.setUTCHours(0,0,0,0),qt(t,r)}var i="era"in e&&1!==e.era?1-n.year:n.year;return t.setUTCFullYear(i,0,r.firstWeekContainsDate),t.setUTCHours(0,0,0,0),qt(t,r)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(t,e,n,r){return Re("R"===e?4:e.length,t)},set:function(t,e,n,r){var o=new Date(0);return o.setUTCFullYear(n,0,4),o.setUTCHours(0,0,0,0),$t(o)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(t,e,n,r){return Re("u"===e?4:e.length,t)},set:function(t,e,n,r){return t.setUTCFullYear(n,0,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(t,e,n,r){switch(e){case"Q":case"QQ":return De(e.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,n){return e>=1&&e<=4},set:function(t,e,n,r){return t.setUTCMonth(3*(n-1),1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(t,e,n,r){switch(e){case"q":case"qq":return De(e.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}},validate:function(t,e,n){return e>=1&&e<=4},set:function(t,e,n,r){return t.setUTCMonth(3*(n-1),1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(t,e,n,r){var o=function(t){return t-1};switch(e){case"M":return Oe(_e.month,t,o);case"MM":return De(2,t,o);case"Mo":return n.ordinalNumber(t,{unit:"month",valueCallback:o});case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,n){return e>=0&&e<=11},set:function(t,e,n,r){return t.setUTCMonth(n,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(t,e,n,r){var o=function(t){return t-1};switch(e){case"L":return Oe(_e.month,t,o);case"LL":return De(2,t,o);case"Lo":return n.ordinalNumber(t,{unit:"month",valueCallback:o});case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}},validate:function(t,e,n){return e>=0&&e<=11},set:function(t,e,n,r){return t.setUTCMonth(n,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(t,e,n,r){switch(e){case"w":return Oe(_e.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return De(e.length,t)}},validate:function(t,e,n){return e>=1&&e<=53},set:function(t,e,n,r){return qt(function(t,e,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=pt(t),o=gt(e),a=zt(r,n)-o;return r.setUTCDate(r.getUTCDate()-7*a),r}(t,n,r),r)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(t,e,n,r){switch(e){case"I":return Oe(_e.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return De(e.length,t)}},validate:function(t,e,n){return e>=1&&e<=53},set:function(t,e,n,r){return $t(function(t,e){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=pt(t),r=gt(e),o=Nt(n)-r;return n.setUTCDate(n.getUTCDate()-7*o),n}(t,n,r),r)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,parse:function(t,e,n,r){switch(e){case"d":return Oe(_e.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return De(e.length,t)}},validate:function(t,e,n){var r=Ie(t.getUTCFullYear()),o=t.getUTCMonth();return r?e>=1&&e<=Fe[o]:e>=1&&e<=Me[o]},set:function(t,e,n,r){return t.setUTCDate(n),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,parse:function(t,e,n,r){switch(e){case"D":case"DD":return Oe(_e.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return De(e.length,t)}},validate:function(t,e,n){return Ie(t.getUTCFullYear())?e>=1&&e<=366:e>=1&&e<=365},set:function(t,e,n,r){return t.setUTCMonth(0,n),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(t,e,n,r){switch(e){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,n){return e>=0&&e<=6},set:function(t,e,n,r){return(t=me(t,n,r)).setUTCHours(0,0,0,0),t},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(t,e,n,r){var o=function(t){var e=7*Math.floor((t-1)/7);return(t+r.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return De(e.length,t,o);case"eo":return n.ordinalNumber(t,{unit:"day",valueCallback:o});case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,n){return e>=0&&e<=6},set:function(t,e,n,r){return(t=me(t,n,r)).setUTCHours(0,0,0,0),t},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(t,e,n,r){var o=function(t){var e=7*Math.floor((t-1)/7);return(t+r.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return De(e.length,t,o);case"co":return n.ordinalNumber(t,{unit:"day",valueCallback:o});case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}},validate:function(t,e,n){return e>=0&&e<=6},set:function(t,e,n,r){return(t=me(t,n,r)).setUTCHours(0,0,0,0),t},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(t,e,n,r){var o=function(t){return 0===t?7:t};switch(e){case"i":case"ii":return De(e.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return n.day(t,{width:"abbreviated",context:"formatting",valueCallback:o})||n.day(t,{width:"short",context:"formatting",valueCallback:o})||n.day(t,{width:"narrow",context:"formatting",valueCallback:o});case"iiiii":return n.day(t,{width:"narrow",context:"formatting",valueCallback:o});case"iiiiii":return n.day(t,{width:"short",context:"formatting",valueCallback:o})||n.day(t,{width:"narrow",context:"formatting",valueCallback:o});case"iiii":default:return n.day(t,{width:"wide",context:"formatting",valueCallback:o})||n.day(t,{width:"abbreviated",context:"formatting",valueCallback:o})||n.day(t,{width:"short",context:"formatting",valueCallback:o})||n.day(t,{width:"narrow",context:"formatting",valueCallback:o})}},validate:function(t,e,n){return e>=1&&e<=7},set:function(t,e,n,r){return(t=function(t,e){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=gt(e);n%7==0&&(n-=7);var r=pt(t),o=((n%7+7)%7<1?7:0)+n-r.getUTCDay();return r.setUTCDate(r.getUTCDate()+o),r}(t,n,r)).setUTCHours(0,0,0,0),t},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:{priority:80,parse:function(t,e,n,r){switch(e){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,e,n,r){return t.setUTCHours(Ee(n),0,0,0),t},incompatibleTokens:["b","B","H","K","k","t","T"]},b:{priority:80,parse:function(t,e,n,r){switch(e){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,e,n,r){return t.setUTCHours(Ee(n),0,0,0),t},incompatibleTokens:["a","B","H","K","k","t","T"]},B:{priority:80,parse:function(t,e,n,r){switch(e){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,e,n,r){return t.setUTCHours(Ee(n),0,0,0),t},incompatibleTokens:["a","b","t","T"]},h:{priority:70,parse:function(t,e,n,r){switch(e){case"h":return Oe(_e.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return De(e.length,t)}},validate:function(t,e,n){return e>=1&&e<=12},set:function(t,e,n,r){var o=t.getUTCHours()>=12;return o&&n<12?t.setUTCHours(n+12,0,0,0):o||12!==n?t.setUTCHours(n,0,0,0):t.setUTCHours(0,0,0,0),t},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(t,e,n,r){switch(e){case"H":return Oe(_e.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return De(e.length,t)}},validate:function(t,e,n){return e>=0&&e<=23},set:function(t,e,n,r){return t.setUTCHours(n,0,0,0),t},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(t,e,n,r){switch(e){case"K":return Oe(_e.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return De(e.length,t)}},validate:function(t,e,n){return e>=0&&e<=11},set:function(t,e,n,r){return t.getUTCHours()>=12&&n<12?t.setUTCHours(n+12,0,0,0):t.setUTCHours(n,0,0,0),t},incompatibleTokens:["a","b","h","H","k","t","T"]},k:{priority:70,parse:function(t,e,n,r){switch(e){case"k":return Oe(_e.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return De(e.length,t)}},validate:function(t,e,n){return e>=1&&e<=24},set:function(t,e,n,r){var o=n<=24?n%24:n;return t.setUTCHours(o,0,0,0),t},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(t,e,n,r){switch(e){case"m":return Oe(_e.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return De(e.length,t)}},validate:function(t,e,n){return e>=0&&e<=59},set:function(t,e,n,r){return t.setUTCMinutes(n,0,0),t},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(t,e,n,r){switch(e){case"s":return Oe(_e.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return De(e.length,t)}},validate:function(t,e,n){return e>=0&&e<=59},set:function(t,e,n,r){return t.setUTCSeconds(n,0),t},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(t,e,n,r){return De(e.length,t,function(t){return Math.floor(t*Math.pow(10,3-e.length))})},set:function(t,e,n,r){return t.setUTCMilliseconds(n),t},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(t,e,n,r){switch(e){case"X":return ke(Te,t);case"XX":return ke(Ce,t);case"XXXX":return ke(Pe,t);case"XXXXX":return ke(Se,t);case"XXX":default:return ke(xe,t)}},set:function(t,e,n,r){return e.timestampIsSet?t:new Date(t.getTime()-n)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(t,e,n,r){switch(e){case"x":return ke(Te,t);case"xx":return ke(Ce,t);case"xxxx":return ke(Pe,t);case"xxxxx":return ke(Se,t);case"xxx":default:return ke(xe,t)}},set:function(t,e,n,r){return e.timestampIsSet?t:new Date(t.getTime()-n)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(t,e,n,r){return je(t)},set:function(t,e,n,r){return[new Date(1e3*n),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(t,e,n,r){return je(t)},set:function(t,e,n,r){return[new Date(n),{timestampIsSet:!0}]},incompatibleTokens:"*"}},$e=10,Le=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Be=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ne=/^'(.*?)'?$/,qe=/''/g,He=/\S/,Ye=/[a-zA-Z]/;function ze(t,e,n,r){if(arguments.length<3)throw new TypeError("3 arguments required, but only "+arguments.length+" present");var o=String(t),a=String(e),i=r||{},s=i.locale||St;if(!s.match)throw new RangeError("locale must contain match property");var u=s.options&&s.options.firstWeekContainsDate,l=null==u?1:gt(u),c=null==i.firstWeekContainsDate?l:gt(i.firstWeekContainsDate);if(!(c>=1&&c<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var f=s.options&&s.options.weekStartsOn,d=null==f?0:gt(f),h=null==i.weekStartsOn?d:gt(i.weekStartsOn);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===a)return""===o?pt(n):new Date(NaN);var p,g={firstWeekContainsDate:c,weekStartsOn:h,locale:s},v=[{priority:$e,set:We,index:0}],m=a.match(Be).map(function(t){var e=t[0];return"p"===e||"P"===e?(0,oe[e])(t,s.formatLong,g):t}).join("").match(Le),y=[];for(p=0;p<m.length;p++){var b=m[p];!i.useAdditionalWeekYearTokens&&ue(b)&&le(b),!i.useAdditionalDayOfYearTokens&&se(b)&&le(b);var w=b[0],_=Ue[w];if(_){var T=_.incompatibleTokens;if(Array.isArray(T)){for(var C=void 0,P=0;P<y.length;P++){var x=y[P].token;if(-1!==T.indexOf(x)||x===w){C=y[P];break}}if(C)throw new RangeError("The format string mustn't contain `".concat(C.fullToken,"` and `").concat(b,"` at the same time"))}else if("*"===_.incompatibleTokens&&y.length)throw new RangeError("The format string mustn't contain `".concat(b,"` and any other token at the same time"));y.push({token:w,fullToken:b});var S=_.parse(o,b,s.match,g);if(!S)return new Date(NaN);v.push({priority:_.priority,set:_.set,validate:_.validate,value:S.value,index:v.length}),o=S.rest}else{if(w.match(Ye))throw new RangeError("Format string contains an unescaped latin alphabet character `"+w+"`");if("''"===b?b="'":"'"===w&&(b=b.match(Ne)[1].replace(qe,"'")),0!==o.indexOf(b))return new Date(NaN);o=o.slice(b.length)}}if(o.length>0&&He.test(o))return new Date(NaN);var O=v.map(function(t){return t.priority}).sort(function(t,e){return e-t}).filter(function(t,e,n){return n.indexOf(t)===e}).map(function(t){return v.filter(function(e){return e.priority===t}).reverse()}).map(function(t){return t[0]}),k=pt(n);if(isNaN(k))return new Date(NaN);var j=Ot(k,mt(k)),D={};for(p=0;p<O.length;p++){var R=O[p];if(R.validate&&!R.validate(j,R.value,g))return new Date(NaN);var E=R.set(j,D,R.value,g);E[0]?(j=E[0],ve(D,E[1])):j=E}return j}function We(t,e){if(e.timestampIsSet)return t;var n=new Date(0);return n.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),n.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()),n}var Qe=J(ot);Qe.isRight=!0,Qe.compare=function(t,e,n){function r(t){return n&&n.dateInputFormat?ze("".concat(t),"".concat(n.dateInputFormat),new Date):t}return t=r(t),e=r(e),yt(t)?yt(e)?function(t,e){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=pt(t),r=pt(e),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}(t,e):1:-1},Qe.format=function(t,e){if(null==t)return"";var n=ze(t,e.dateInputFormat,new Date);return yt(n)?ge(n,e.dateOutputFormat):(console.error('Not a valid date: "'.concat(t,'"')),null)};var Ve=Object.freeze({default:Qe}),Ge=J(ot);Ge.isRight=!0,Ge.filterPredicate=function(t,e){return 0===Ge.compare(t,e)},Ge.compare=function(t,e){function n(t){return null==t?-1/0:t.indexOf(".")>=0?parseFloat(t):parseInt(t,10)}return(t="number"==typeof t?t:n(t))<(e="number"==typeof e?e:n(e))?-1:t>e?1:0};var Xe=Object.freeze({default:Ge}),Ke=J(Ge);Ke.format=function(t){return null==t?"":parseFloat(Math.round(100*t)/100).toFixed(2)};var Je=Object.freeze({default:Ke}),Ze=J(Ge);Ze.format=function(t){return null==t?"":"".concat(parseFloat(100*t).toFixed(2),"%")};var tn=Object.freeze({default:Ze}),en=J(ot);en.isRight=!0,en.filterPredicate=function(t,e){return 0===en.compare(t,e)},en.compare=function(t,e){function n(t){return"boolean"==typeof t?t?1:0:"string"==typeof t?"true"===t?1:0:-1/0}return(t=n(t))<(e=n(e))?-1:t>e?1:0};var nn={},rn={date:Ve,decimal:Je,number:Xe,percentage:tn,boolean:Object.freeze({default:en})};k(Object.keys(rn),function(t){var e=t.replace(/^\.\//,"").replace(/\.js/,"");nn[e]=rn[t].default});var on,an=at({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.wrapStyleClasses},[t.isLoading?n("div",{staticClass:"vgt-loading vgt-center-align"},[t._t("loadingContent",[n("span",{staticClass:"vgt-loading__content"},[t._v("\n        Loading...\n      ")])])],2):t._e(),t._v(" "),n("div",{staticClass:"vgt-inner-wrap",class:{"is-loading":t.isLoading}},[t.paginate&&t.paginateOnTop?t._t("pagination-top",[n("vgt-pagination",{ref:"paginationTop",attrs:{perPage:t.perPage,rtl:t.rtl,total:t.totalRows||t.totalRowCount,mode:t.paginationMode,nextText:t.nextText,prevText:t.prevText,rowsPerPageText:t.rowsPerPageText,customRowsPerPageDropdown:t.customRowsPerPageDropdown,paginateDropdownAllowAll:t.paginateDropdownAllowAll,ofText:t.ofText,pageText:t.pageText,allText:t.allText},on:{"page-changed":t.pageChanged,"per-page-changed":t.perPageChanged}})],{pageChanged:t.pageChanged,perPageChanged:t.perPageChanged,total:t.totalRows||t.totalRowCount}):t._e(),t._v(" "),n("vgt-global-search",{attrs:{"search-enabled":t.searchEnabled&&null==t.externalSearchQuery,"global-search-placeholder":t.searchPlaceholder},on:{"on-keyup":t.searchTableOnKeyUp,"on-enter":t.searchTableOnEnter},model:{value:t.globalSearchTerm,callback:function(e){t.globalSearchTerm=e},expression:"globalSearchTerm"}},[n("template",{slot:"internal-table-actions"},[t._t("table-actions")],2)],2),t._v(" "),t.selectedRowCount&&!t.disableSelectInfo?n("div",{staticClass:"vgt-selection-info-row clearfix",class:t.selectionInfoClass},[t._v("\n      "+t._s(t.selectionInfo)+"\n      "),n("a",{attrs:{href:""},on:{click:function(e){return e.preventDefault(),t.unselectAllInternal(!0)}}},[t._v("\n        "+t._s(t.clearSelectionText)+"\n      ")]),t._v(" "),n("div",{staticClass:"vgt-selection-info-row__actions vgt-pull-right"},[t._t("selected-row-actions")],2)]):t._e(),t._v(" "),n("div",{staticClass:"vgt-fixed-header"},[t.fixedHeader?n("table",{class:t.tableStyleClasses},[n("vgt-table-header",{ref:"table-header-secondary",tag:"thead",attrs:{columns:t.columns,"line-numbers":t.lineNumbers,selectable:t.selectable,"all-selected":t.allSelected,"all-selected-indeterminate":t.allSelectedIndeterminate,mode:t.mode,sortable:t.sortable,"typed-columns":t.typedColumns,getClasses:t.getClasses,searchEnabled:t.searchEnabled,paginated:t.paginated,"table-ref":t.$refs.table},on:{"on-toggle-select-all":t.toggleSelectAll,"on-sort-change":t.changeSort,"filter-changed":t.filterRows},scopedSlots:t._u([{key:"table-column",fn:function(e){return[t._t("table-column",[n("span",[t._v(t._s(e.column.label))])],{column:e.column})]}}],null,!0)})],1):t._e()]),t._v(" "),n("div",{class:{"vgt-responsive":t.responsive},style:t.wrapperStyles},[n("table",{ref:"table",class:t.tableStyleClasses},[n("vgt-table-header",{ref:"table-header-primary",tag:"thead",attrs:{columns:t.columns,"line-numbers":t.lineNumbers,selectable:t.selectable,"all-selected":t.allSelected,"all-selected-indeterminate":t.allSelectedIndeterminate,mode:t.mode,sortable:t.sortable,"typed-columns":t.typedColumns,getClasses:t.getClasses,searchEnabled:t.searchEnabled},on:{"on-toggle-select-all":t.toggleSelectAll,"on-sort-change":t.changeSort,"filter-changed":t.filterRows},scopedSlots:t._u([{key:"table-column",fn:function(e){return[t._t("table-column",[n("span",[t._v(t._s(e.column.label))])],{column:e.column})]}}],null,!0)}),t._v(" "),t._l(t.paginated,function(e,r){return n("tbody",{key:r},[t.groupHeaderOnTop?n("vgt-header-row",{attrs:{"header-row":e,columns:t.columns,"line-numbers":t.lineNumbers,selectable:t.selectable,collapsable:t.groupOptions.collapsable,"collect-formatted":t.collectFormatted,"formatted-row":t.formattedRow,"get-classes":t.getClasses,"full-colspan":t.fullColspan},on:{vgtExpand:function(e){return t.toggleExpand(r)}},scopedSlots:t._u([{key:"table-header-row",fn:function(e){return t.hasHeaderRowTemplate?[t._t("table-header-row",null,{column:e.column,formattedRow:e.formattedRow,row:e.row})]:void 0}}],null,!0)}):t._e(),t._v(" "),t._l(e.children,function(r,o){return!t.groupOptions.collapsable||e.vgtIsExpanded?n("tr",{key:r.originalIndex,class:t.getRowStyleClass(r),on:{mouseenter:function(e){return t.onMouseenter(r,o)},mouseleave:function(e){return t.onMouseleave(r,o)},dblclick:function(e){return t.onRowDoubleClicked(r,o,e)},click:function(e){return t.onRowClicked(r,o,e)},auxclick:function(e){return t.onRowAuxClicked(r,o,e)}}},[t.lineNumbers?n("th",{staticClass:"line-numbers"},[t._v("\n              "+t._s(t.getCurrentIndex(o))+"\n            ")]):t._e(),t._v(" "),t.selectable?n("th",{staticClass:"vgt-checkbox-col",on:{click:function(e){return e.stopPropagation(),t.onCheckboxClicked(r,o,e)}}},[n("input",{attrs:{type:"checkbox"},domProps:{checked:r.vgtSelected}})]):t._e(),t._v(" "),t._l(t.columns,function(e,a){return!e.hidden&&e.field?n("td",{key:a,class:t.getClasses(a,"td",r),on:{click:function(n){return t.onCellClicked(r,e,o,n)}}},[t._t("table-row",[e.html?t._e():n("span",[t._v("\n                  "+t._s(t.collectFormatted(r,e))+"\n                ")]),t._v(" "),e.html?n("span",{domProps:{innerHTML:t._s(t.collect(r,e.field))}}):t._e()],{row:r,column:e,formattedRow:t.formattedRow(r),index:o})],2):t._e()})],2):t._e()}),t._v(" "),t.groupHeaderOnBottom?n("vgt-header-row",{attrs:{"header-row":e,columns:t.columns,"line-numbers":t.lineNumbers,selectable:t.selectable,"collect-formatted":t.collectFormatted,"formatted-row":t.formattedRow,"get-classes":t.getClasses,"full-colspan":t.fullColspan},scopedSlots:t._u([{key:"table-header-row",fn:function(e){return t.hasHeaderRowTemplate?[t._t("table-header-row",null,{column:e.column,formattedRow:e.formattedRow,row:e.row})]:void 0}}],null,!0)}):t._e()],2)}),t._v(" "),t.showEmptySlot?n("tbody",[n("tr",[n("td",{attrs:{colspan:t.fullColspan}},[t._t("emptystate",[n("div",{staticClass:"vgt-center-align vgt-text-disabled"},[t._v("\n                  No data for table\n                ")])])],2)])]):t._e()],2)]),t._v(" "),t.hasFooterSlot?n("div",{staticClass:"vgt-wrap__actions-footer"},[t._t("table-actions-bottom")],2):t._e(),t._v(" "),t.paginate&&t.paginateOnBottom?t._t("pagination-bottom",[n("vgt-pagination",{ref:"paginationBottom",attrs:{perPage:t.perPage,rtl:t.rtl,total:t.totalRows||t.totalRowCount,mode:t.paginationMode,nextText:t.nextText,prevText:t.prevText,rowsPerPageText:t.rowsPerPageText,customRowsPerPageDropdown:t.customRowsPerPageDropdown,paginateDropdownAllowAll:t.paginateDropdownAllowAll,ofText:t.ofText,pageText:t.pageText,allText:t.allText},on:{"page-changed":t.pageChanged,"per-page-changed":t.perPageChanged}})],{pageChanged:t.pageChanged,perPageChanged:t.perPageChanged,total:t.totalRows||t.totalRowCount}):t._e()],2)])},staticRenderFns:[]},void 0,{name:"vue-good-table",props:{isLoading:{default:null,type:Boolean},maxHeight:{default:null,type:String},fixedHeader:{default:!1,type:Boolean},theme:{default:""},mode:{default:"local"},totalRows:{},styleClass:{default:"vgt-table bordered"},columns:{},rows:{},lineNumbers:{default:!1},responsive:{default:!0},rtl:{default:!1},rowStyleClass:{default:null,type:[Function,String]},groupOptions:{default:function(){return{enabled:!1}}},selectOptions:{default:function(){return{enabled:!1,selectionInfoClass:"",selectionText:"rows selected",clearSelectionText:"clear",disableSelectInfo:!1}}},sortOptions:{default:function(){return{enabled:!0,initialSortBy:{}}}},paginationOptions:{default:function(){return{enabled:!1,perPage:10,perPageDropdown:null,position:"bottom",dropdownAllowAll:!0,mode:"records"}}},searchOptions:{default:function(){return{enabled:!1,trigger:null,externalQuery:null,searchFn:null,placeholder:"Search Table"}}}},data:function(){return{tableLoading:!1,nextText:"Next",prevText:"Prev",rowsPerPageText:"Rows per page",ofText:"of",allText:"All",pageText:"page",selectable:!1,selectOnCheckboxOnly:!1,selectAllByPage:!0,disableSelectInfo:!1,selectionInfoClass:"",selectionText:"rows selected",clearSelectionText:"clear",sortable:!0,defaultSortBy:null,searchEnabled:!1,searchTrigger:null,externalSearchQuery:null,searchFn:null,searchPlaceholder:"Search Table",searchSkipDiacritics:!1,perPage:null,paginate:!1,paginateOnTop:!1,paginateOnBottom:!0,customRowsPerPageDropdown:[],paginateDropdownAllowAll:!0,paginationMode:"records",currentPage:1,currentPerPage:10,sorts:[],globalSearchTerm:"",filteredRows:[],columnFilters:{},forceSearch:!1,sortChanged:!1,dataTypes:nn||{}}},watch:{rows:{handler:function(){this.$emit("update:isLoading",!1),this.filterRows(this.columnFilters,!1)},deep:!0,immediate:!0},selectOptions:{handler:function(){this.initializeSelect()},deep:!0,immediate:!0},paginationOptions:{handler:function(t,e){tt(t,e)||this.initializePagination()},deep:!0,immediate:!0},searchOptions:{handler:function(){void 0!==this.searchOptions.externalQuery&&this.searchOptions.externalQuery!==this.searchTerm&&(this.externalSearchQuery=this.searchOptions.externalQuery,this.handleSearch()),this.initializeSearch()},deep:!0,immediate:!0},sortOptions:{handler:function(t,e){tt(t,e)||this.initializeSort()},deep:!0},selectedRows:function(t,e){tt(t,e)||this.$emit("on-selected-rows-change",{selectedRows:this.selectedRows})}},computed:{hasFooterSlot:function(){return!!this.$slots["table-actions-bottom"]},wrapperStyles:function(){return{overflow:"scroll-y",maxHeight:this.maxHeight?this.maxHeight:"auto"}},hasHeaderRowTemplate:function(){return!!this.$slots["table-header-row"]||!!this.$scopedSlots["table-header-row"]},showEmptySlot:function(){return!this.paginated.length||"no groups"===this.paginated[0].label&&!this.paginated[0].children.length},allSelected:function(){return this.selectedRowCount>0&&(this.selectAllByPage&&this.selectedPageRowsCount===this.totalPageRowCount||!this.selectAllByPage&&this.selectedRowCount===this.totalRowCount)},allSelectedIndeterminate:function(){return!this.allSelected&&(this.selectAllByPage&&this.selectedPageRowsCount>0||!this.selectAllByPage&&this.selectedRowCount>0)},selectionInfo:function(){return"".concat(this.selectedRowCount," ").concat(this.selectionText)},selectedRowCount:function(){return this.selectedRows.length},selectedPageRowsCount:function(){return this.selectedPageRows.length},selectedPageRows:function(){var t=[];return k(this.paginated,function(e){k(e.children,function(e){e.vgtSelected&&t.push(e)})}),t},selectedRows:function(){var t=[];return k(this.processedRows,function(e){k(e.children,function(e){e.vgtSelected&&t.push(e)})}),t.sort(function(t,e){return t.originalIndex-e.originalIndex})},fullColspan:function(){for(var t=0,e=0;e<this.columns.length;e+=1)this.columns[e].hidden||(t+=1);return this.lineNumbers&&t++,this.selectable&&t++,t},groupHeaderOnTop:function(){return!(this.groupOptions&&this.groupOptions.enabled&&this.groupOptions.headerPosition&&"bottom"===this.groupOptions.headerPosition)&&!(!this.groupOptions||!this.groupOptions.enabled)},groupHeaderOnBottom:function(){return!!(this.groupOptions&&this.groupOptions.enabled&&this.groupOptions.headerPosition&&"bottom"===this.groupOptions.headerPosition)},totalRowCount:function(){var t=0;return k(this.processedRows,function(e){t+=e.children?e.children.length:0}),t},totalPageRowCount:function(){var t=0;return k(this.paginated,function(e){t+=e.children?e.children.length:0}),t},wrapStyleClasses:function(){var t="vgt-wrap";return this.rtl&&(t+=" rtl"),t+=" ".concat(this.theme)},tableStyleClasses:function(){var t=this.styleClass;return t+=" ".concat(this.theme)},searchTerm:function(){return null!=this.externalSearchQuery?this.externalSearchQuery:this.globalSearchTerm},globalSearchAllowed:function(){return!(!this.searchEnabled||!this.globalSearchTerm||"enter"===this.searchTrigger)||(null!=this.externalSearchQuery&&"enter"!==this.searchTrigger||!!this.forceSearch&&(this.forceSearch=!1,!0))},processedRows:function(){var t=this,e=this.filteredRows;if("remote"===this.mode)return e;if(this.globalSearchAllowed){var n=[];k(this.filteredRows,function(t){n.push.apply(n,r(t.children))});var o=[];k(n,function(e){k(t.columns,function(n){if(!n.globalSearchDisabled)if(t.searchFn){if(t.searchFn(e,n,t.collectFormatted(e,n),t.searchTerm))return o.push(e),!1}else if(ot.filterPredicate(t.collectFormatted(e,n),t.searchTerm,t.searchSkipDiacritics))return o.push(e),!1})}),this.$emit("on-search",{searchTerm:this.searchTerm,rowCount:o.length}),e=[],k(this.filteredRows,function(t){var n=t.vgt_header_id,r=Z(o,["vgt_id",n]);if(r.length){var a=J(t);a.children=r,e.push(a)}})}return this.sorts.length&&e.forEach(function(e){e.children.sort(function(e,n){for(var r,o=0;o<t.sorts.length;o+=1){var a=t.getColumnForField(t.sorts[o].field),i=t.collect(e,t.sorts[o].field),s=t.collect(n,t.sorts[o].field),u=a.sortFn;r=u&&"function"==typeof u?r||u(i,s,a,e,n)*("desc"===t.sorts[o].type?-1:1):r||a.typeDef.compare(i,s,a)*("desc"===t.sorts[o].type?-1:1)}return r})}),"enter"===this.searchTrigger&&(this.filteredRows=e),e},paginated:function(){if(!this.processedRows.length)return[];if("remote"===this.mode)return this.processedRows;var t=[];if(k(this.processedRows,function(e){var n;(n=t).push.apply(n,r(e.children))}),this.paginate){var e=(this.currentPage-1)*this.currentPerPage;(e>=t.length||-1===this.currentPerPage)&&(this.currentPage=1,e=0);var n=t.length+1;-1!==this.currentPerPage&&(n=this.currentPage*this.currentPerPage),t=t.slice(e,n)}var o=[];return k(this.processedRows,function(e){var n=e.vgt_header_id,r=Z(t,["vgt_id",n]);if(r.length){var a=J(e);a.children=r,o.push(a)}}),o},originalRows:function(){var t=J(this.rows),e=[];e=this.groupOptions.enabled?this.handleGrouped(t):this.handleGrouped([{label:"no groups",children:t}]);var n=0;return k(e,function(t,e){k(t.children,function(t,e){t.originalIndex=n++})}),e},typedColumns:function(){for(var t=G(this.columns,[]),e=0;e<this.columns.length;e++){var n=t[e];n.typeDef=this.dataTypes[n.type]||ot}return t},hasRowClickListener:function(){return this.$listeners&&this.$listeners["on-row-click"]}},methods:{toggleExpand:function(t){var e=this.filteredRows[t];e&&this.$set(e,"vgtIsExpanded",!e.vgtIsExpanded)},expandAll:function(){var t=this;this.filteredRows.forEach(function(e){t.$set(e,"vgtIsExpanded",!0)})},collapseAll:function(){var t=this;this.filteredRows.forEach(function(e){t.$set(e,"vgtIsExpanded",!1)})},getColumnForField:function(t){for(var e=0;e<this.typedColumns.length;e+=1)if(this.typedColumns[e].field===t)return this.typedColumns[e]},handleSearch:function(){this.resetTable(),"remote"===this.mode&&this.$emit("on-search",{searchTerm:this.searchTerm})},reset:function(){this.initializeSort(),this.changePage(1),this.$refs["table-header-primary"].reset(!0),this.$refs["table-header-secondary"]&&this.$refs["table-header-secondary"].reset(!0)},emitSelectedRows:function(){this.$emit("on-select-all",{selected:this.selectedRowCount===this.totalRowCount,selectedRows:this.selectedRows})},unselectAllInternal:function(t){var e=this,n=this.selectAllByPage&&!t?this.paginated:this.filteredRows;k(n,function(t,n){k(t.children,function(t,n){e.$set(t,"vgtSelected",!1)})}),this.emitSelectedRows()},toggleSelectAll:function(){var t=this;if(this.allSelected)this.unselectAllInternal();else{var e=this.selectAllByPage?this.paginated:this.filteredRows;k(e,function(e){k(e.children,function(e){t.$set(e,"vgtSelected",!0)})}),this.emitSelectedRows()}},changePage:function(t){if(this.paginationOptions.enabled){var e=this.$refs.paginationBottom;"top"===this.paginationOptions.position&&(e=this.$refs.paginationTop),e&&(e.currentPage=t,this.currentPage=t)}},pageChangedEvent:function(){return{currentPage:this.currentPage,currentPerPage:this.currentPerPage,total:Math.floor(this.totalRowCount/this.currentPerPage)}},pageChanged:function(t){this.currentPage=t.currentPage;var e=this.pageChangedEvent();e.prevPage=t.prevPage,this.$emit("on-page-change",e),"remote"===this.mode&&this.$emit("update:isLoading",!0)},perPageChanged:function(t){this.currentPerPage=t.currentPerPage;var e=this.pageChangedEvent();this.$emit("on-per-page-change",e),"remote"===this.mode&&this.$emit("update:isLoading",!0)},changeSort:function(t){this.sorts=t,this.$emit("on-sort-change",t),this.changePage(1),"remote"!==this.mode?this.sortChanged=!0:this.$emit("update:isLoading",!0)},onCheckboxClicked:function(t,e,n){this.$set(t,"vgtSelected",!t.vgtSelected),this.$emit("on-row-click",{row:t,pageIndex:e,selected:!!t.vgtSelected,event:n})},onRowDoubleClicked:function(t,e,n){this.$emit("on-row-dblclick",{row:t,pageIndex:e,selected:!!t.vgtSelected,event:n})},onRowClicked:function(t,e,n){this.selectable&&!this.selectOnCheckboxOnly&&this.$set(t,"vgtSelected",!t.vgtSelected),this.$emit("on-row-click",{row:t,pageIndex:e,selected:!!t.vgtSelected,event:n})},onRowAuxClicked:function(t,e,n){this.$emit("on-row-aux-click",{row:t,pageIndex:e,selected:!!t.vgtSelected,event:n})},onCellClicked:function(t,e,n,r){this.$emit("on-cell-click",{row:t,column:e,rowIndex:n,event:r})},onMouseenter:function(t,e){this.$emit("on-row-mouseenter",{row:t,pageIndex:e})},onMouseleave:function(t,e){this.$emit("on-row-mouseleave",{row:t,pageIndex:e})},searchTableOnEnter:function(){"enter"===this.searchTrigger&&(this.handleSearch(),this.filteredRows=J(this.originalRows),this.forceSearch=!0,this.sortChanged=!0)},searchTableOnKeyUp:function(){"enter"!==this.searchTrigger&&this.handleSearch()},resetTable:function(){this.unselectAllInternal(!0),this.changePage(1)},collect:function(t,e){return"function"==typeof e?e(t):"string"==typeof e?function(t,e){for(var n=t,r=e.split("."),o=0;o<r.length;o++){if(null==n)return;n=n[r[o]]}return n}(t,e):void 0},collectFormatted:function(t,e){var n;if(void 0===(n=arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&e.headerField?this.collect(t,e.headerField):this.collect(t,e.field)))return"";if(e.formatFn&&"function"==typeof e.formatFn)return e.formatFn(n,t);var r=e.typeDef;return r||(r=this.dataTypes[e.type]||ot),r.format(n,e)},formattedRow:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={},r=0;r<this.typedColumns.length;r++){var o=this.typedColumns[r];o.field&&(n[o.field]=this.collectFormatted(t,o,e))}return n},getClasses:function(t,e,n){var r=this.typedColumns[t],o=r.typeDef,a=r["".concat(e,"Class")],i=o.isRight;this.rtl&&(i=!0);var s={"vgt-right-align":i,"vgt-left-align":!i};return"function"==typeof a?s[a(n)]=!0:"string"==typeof a&&(s[a]=!0),s},filterMultiselectItems:function(t,n){var r=t.field,o=this.columnFilters[r];if(t.filterOptions&&t.filterOptions.filterMultiselectDropdownItems){if(0===o.length)return!0;var a=t.typeDef,i=!0,s=!1,u=void 0;try{for(var l,c=o[Symbol.iterator]();!(i=(l=c.next()).done);i=!0){var f=l.value,d=f;if("object"===e(f)&&(d=f.label),a.filterPredicate(this.collect(n,r),d))return!0}}catch(t){s=!0,u=t}finally{try{i||null==c.return||c.return()}finally{if(s)throw u}}return!1}},filterRows:function(t){var n=this,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.columnFilters=t;var o=J(this.originalRows);if(this.columnFilters&&Object.keys(this.columnFilters).length){if(("remote"!==this.mode||r)&&this.changePage(1),r&&this.$emit("on-column-filter",{columnFilters:this.columnFilters}),"remote"===this.mode)return void(r?this.$emit("update:isLoading",!0):this.filteredRows=o);for(var a=function(t){var r=n.typedColumns[t];n.columnFilters[r.field]&&(o=k(o,function(t){var o=t.children.filter(function(t){if(r.filterOptions&&"function"==typeof r.filterOptions.filterFn)return r.filterOptions.filterFn(n.collect(t,r.field),n.columnFilters[r.field]);var o=n.filterMultiselectItems(r,t);return void 0!==o?o:r.typeDef.filterPredicate(n.collect(t,r.field),n.columnFilters[r.field],!1,r.filterOptions&&"object"===e(r.filterOptions.filterDropdownItems))});t.children=o}))},i=0;i<this.typedColumns.length;i++)a(i)}this.filteredRows=o},getCurrentIndex:function(t){return(this.currentPage-1)*this.currentPerPage+t+1},getRowStyleClass:function(t){var e,n="";return this.hasRowClickListener&&(n+="clickable"),(e="function"==typeof this.rowStyleClass?this.rowStyleClass(t):this.rowStyleClass)&&(n+=" ".concat(e)),n},handleGrouped:function(t){return k(t,function(t,e){t.vgt_header_id=e,k(t.children,function(t){t.vgt_id=e})}),t},initializePagination:function(){var t=this,e=this.paginationOptions,r=e.enabled,o=e.perPage,a=e.position,i=e.perPageDropdown,s=e.dropdownAllowAll,u=e.nextLabel,l=e.prevLabel,c=e.rowsPerPageLabel,f=e.ofLabel,d=e.pageLabel,h=e.allLabel,p=e.setCurrentPage,g=e.mode;if("boolean"==typeof r&&(this.paginate=r),"number"==typeof o&&(this.perPage=o),"top"===a?(this.paginateOnTop=!0,this.paginateOnBottom=!1):"both"===a&&(this.paginateOnTop=!0,this.paginateOnBottom=!0),Array.isArray(i)&&i.length&&(this.customRowsPerPageDropdown=i,!this.perPage)){var v=n(i,1);this.perPage=v[0]}"boolean"==typeof s&&(this.paginateDropdownAllowAll=s),"string"==typeof g&&(this.paginationMode=g),"string"==typeof u&&(this.nextText=u),"string"==typeof l&&(this.prevText=l),"string"==typeof c&&(this.rowsPerPageText=c),"string"==typeof f&&(this.ofText=f),"string"==typeof d&&(this.pageText=d),"string"==typeof h&&(this.allText=h),"number"==typeof p&&setTimeout(function(){t.changePage(p)},500)},initializeSearch:function(){var t=this.searchOptions,e=t.enabled,n=t.trigger,r=t.externalQuery,o=t.searchFn,a=t.placeholder,i=t.skipDiacritics;"boolean"==typeof e&&(this.searchEnabled=e),"enter"===n&&(this.searchTrigger=n),"string"==typeof r&&(this.externalSearchQuery=r),"function"==typeof o&&(this.searchFn=o),"string"==typeof a&&(this.searchPlaceholder=a),"boolean"==typeof i&&(this.searchSkipDiacritics=i)},initializeSort:function(){var t=this.sortOptions,n=t.enabled,r=t.initialSortBy;if("boolean"==typeof n&&(this.sortable=n),"object"===e(r)){var o=this.fixedHeader?this.$refs["table-header-secondary"]:this.$refs["table-header-primary"];if(Array.isArray(r))o.setInitialSort(r);else Object.prototype.hasOwnProperty.call(r,"field")&&o.setInitialSort([r])}},initializeSelect:function(){var t=this.selectOptions,e=t.enabled,n=t.selectionInfoClass,r=t.selectionText,o=t.clearSelectionText,a=t.selectOnCheckboxOnly,i=t.selectAllByPage,s=t.disableSelectInfo;"boolean"==typeof e&&(this.selectable=e),"boolean"==typeof a&&(this.selectOnCheckboxOnly=a),"boolean"==typeof i&&(this.selectAllByPage=i),"boolean"==typeof s&&(this.disableSelectInfo=s),"string"==typeof n&&(this.selectionInfoClass=n),"string"==typeof r&&(this.selectionText=r),"string"==typeof o&&(this.clearSelectionText=o)}},mounted:function(){this.perPage&&(this.currentPerPage=this.perPage),this.initializeSort()},components:{"vgt-pagination":ut,"vgt-global-search":lt,"vgt-header-row":ht,"vgt-table-header":dt}},void 0,!1,void 0,void 0,void 0),sn=K(function(t,e){"undefined"!=typeof self&&self,t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=8)}([function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(e){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?t.exports=r=function(t){return n(t)}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":n(t)},r(e)}t.exports=r},function(t,e,n){},function(t,e,n){var r=n(4),o=n(5),a=n(6);t.exports=function(t){return r(t)||o(t)||a()}},function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e){t.exports=function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}},function(t,e){t.exports=function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(t,e,n){var r=n(1);n.n(r).a},function(t,e,n){n.r(e);var r=n(2),o=n.n(r),a=n(0),i=n.n(a),s=n(3),u=n.n(s),l={watch:{typeAheadPointer:function(){this.maybeAdjustScroll()}},methods:{maybeAdjustScroll:function(){var t=this.pixelsToPointerTop(),e=this.pixelsToPointerBottom();return t<=this.viewport().top?this.scrollTo(t):e>=this.viewport().bottom?this.scrollTo(this.viewport().top+this.pointerHeight()):void 0},pixelsToPointerTop:function(){var t=0;if(this.$refs.dropdownMenu)for(var e=0;e<this.typeAheadPointer;e++)t+=this.$refs.dropdownMenu.children[e].offsetHeight;return t},pixelsToPointerBottom:function(){return this.pixelsToPointerTop()+this.pointerHeight()},pointerHeight:function(){var t=!!this.$refs.dropdownMenu&&this.$refs.dropdownMenu.children[this.typeAheadPointer];return t?t.offsetHeight:0},viewport:function(){return{top:this.$refs.dropdownMenu?this.$refs.dropdownMenu.scrollTop:0,bottom:this.$refs.dropdownMenu?this.$refs.dropdownMenu.offsetHeight+this.$refs.dropdownMenu.scrollTop:0}},scrollTo:function(t){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.scrollTop=t:null}}},c={data:function(){return{typeAheadPointer:-1}},watch:{filteredOptions:function(){for(var t=0;t<this.filteredOptions.length;t++)if(this.selectable(this.filteredOptions[t])){this.typeAheadPointer=t;break}}},methods:{typeAheadUp:function(){for(var t=this.typeAheadPointer-1;t>=0;t--)if(this.selectable(this.filteredOptions[t])){this.typeAheadPointer=t,this.maybeAdjustScroll&&this.maybeAdjustScroll();break}},typeAheadDown:function(){for(var t=this.typeAheadPointer+1;t<this.filteredOptions.length;t++)if(this.selectable(this.filteredOptions[t])){this.typeAheadPointer=t,this.maybeAdjustScroll&&this.maybeAdjustScroll();break}},typeAheadSelect:function(){this.filteredOptions[this.typeAheadPointer]?this.select(this.filteredOptions[this.typeAheadPointer]):this.taggable&&this.search.length&&this.select(this.search),this.clearSearchOnSelect&&(this.search="")}}},f={props:{loading:{type:Boolean,default:!1}},data:function(){return{mutableLoading:!1}},watch:{search:function(){this.$emit("search",this.search,this.toggleLoading)},loading:function(t){this.mutableLoading=t}},methods:{toggleLoading:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.mutableLoading=null==t?!this.mutableLoading:t}}};function d(t,e,n,r,o,a,i,s){var u,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),i?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},l._ssrRegister=u):o&&(u=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),u)if(l.functional){l._injectStyles=u;var c=l.render;l.render=function(t,e){return u.call(e),c(t,e)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,u):[u]}return{exports:t,options:l}}var h={Deselect:d({},function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"}},[e("path",{attrs:{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"}})])},[],!1,null,null,null).exports,OpenIndicator:d({},function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"}},[e("path",{attrs:{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"}})])},[],!1,null,null,null).exports};function p(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function g(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?p(n,!0).forEach(function(e){u()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):p(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var v={components:g({},h),mixins:[l,c,f],props:{value:{},components:{type:Object,default:function(){return{}}},options:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:""},transition:{type:String,default:"vs__fade"},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:"label"},autocomplete:{type:String,default:"off"},reduce:{type:Function,default:function(t){return t}},selectable:{type:Function,default:function(t){return!0}},getOptionLabel:{type:Function,default:function(t){return"object"===i()(t)?t.hasOwnProperty(this.label)?t[this.label]:console.warn('[vue-select warn]: Label key "option.'.concat(this.label,'" does not')+" exist in options object ".concat(JSON.stringify(t),".\n")+"https://vue-select.org/api/props.html#getoptionlabel"):t}},getOptionKey:{type:Function,default:function(t){if("object"===i()(t)&&t.id)return t.id;try{return JSON.stringify(t)}catch(t){return console.warn("[vue-select warn]: Could not stringify option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option.\nhttps://vue-select.org/api/props.html#getoptionkey")}}},onTab:{type:Function,default:function(){this.selectOnTab&&!this.isComposing&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default:function(t,e,n){return(e||"").toLowerCase().indexOf(n.toLowerCase())>-1}},filter:{type:Function,default:function(t,e){var n=this;return t.filter(function(t){var r=n.getOptionLabel(t);return"number"==typeof r&&(r=r.toString()),n.filterBy(t,r,e)})}},createOption:{type:Function,default:function(t){return"object"===i()(this.optionList[0])?u()({},this.label,t):t}},resetOnOptionsChange:{default:!1,validator:function(t){return["function","boolean"].includes(i()(t))}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:function(){return[13]}},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:function(t,e){return t}}},data:function(){return{search:"",open:!1,isComposing:!1,pushedTags:[],_value:[]}},watch:{options:function(t,e){var n=this;!this.taggable&&("function"==typeof n.resetOnOptionsChange?n.resetOnOptionsChange(t,e,n.selectedValue):n.resetOnOptionsChange)&&this.clearSelection(),this.value&&this.isTrackingValues&&this.setInternalValueFromOptions(this.value)},value:function(t){this.isTrackingValues&&this.setInternalValueFromOptions(t)},multiple:function(){this.clearSelection()}},created:function(){this.mutableLoading=this.loading,void 0!==this.value&&this.isTrackingValues&&this.setInternalValueFromOptions(this.value),this.$on("option:created",this.maybePushTag)},methods:{setInternalValueFromOptions:function(t){var e=this;Array.isArray(t)?this.$data._value=t.map(function(t){return e.findOptionFromReducedValue(t)}):this.$data._value=this.findOptionFromReducedValue(t)},select:function(t){this.isOptionSelected(t)||(this.taggable&&!this.optionExists(t)&&(t=this.createOption(t),this.$emit("option:created",t)),this.multiple&&(t=this.selectedValue.concat(t)),this.updateValue(t)),this.onAfterSelect(t)},deselect:function(t){var e=this;this.updateValue(this.selectedValue.filter(function(n){return!e.optionComparator(n,t)}))},clearSelection:function(){this.updateValue(this.multiple?[]:null)},onAfterSelect:function(t){this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search="")},updateValue:function(t){var e=this;this.isTrackingValues&&(this.$data._value=t),null!==t&&(t=Array.isArray(t)?t.map(function(t){return e.reduce(t)}):this.reduce(t)),this.$emit("input",t)},toggleDropdown:function(t){var e=t.target;[].concat(o()(this.$refs.deselectButtons||[]),o()([this.$refs.clearButton]||!1)).some(function(t){return t.contains(e)||t===e})||(this.open?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus()))},isOptionSelected:function(t){var e=this;return this.selectedValue.some(function(n){return e.optionComparator(n,t)})},optionComparator:function(t,e){if("object"!==i()(t)&&"object"!==i()(e)){if(t===e)return!0}else{if(t===this.reduce(e))return!0;if(this.getOptionLabel(t)===this.getOptionLabel(e)||this.getOptionLabel(t)===e)return!0;if(this.reduce(t)===this.reduce(e))return!0}return!1},findOptionFromReducedValue:function(t){var e=this;return this.options.find(function(n){return JSON.stringify(e.reduce(n))===JSON.stringify(t)})||t},closeSearchOptions:function(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue:function(){if(!this.searchEl.value.length&&this.selectedValue&&this.clearable){var t=null;this.multiple&&(t=o()(this.selectedValue.slice(0,this.selectedValue.length-1))),this.updateValue(t)}},optionExists:function(t){var e=this;return this.optionList.some(function(n){return"object"===i()(n)&&e.getOptionLabel(n)===t||n===t})},normalizeOptionForSlot:function(t){return"object"===i()(t)?t:u()({},this.label,t)},maybePushTag:function(t){this.pushTags&&this.pushedTags.push(t)},onEscape:function(){this.search.length?this.search="":this.searchEl.blur()},onSearchBlur:function(){if(!this.mousedown||this.searching)return this.clearSearchOnBlur&&(this.search=""),void this.closeSearchOptions();this.mousedown=!1,0!==this.search.length||0!==this.options.length||this.closeSearchOptions()},onSearchFocus:function(){this.open=!0,this.$emit("search:focus")},onMousedown:function(){this.mousedown=!0},onMouseUp:function(){this.mousedown=!1},onSearchKeyDown:function(t){var e=this,n=function(t){return t.preventDefault(),!e.isComposing&&e.typeAheadSelect()},r={8:function(t){return e.maybeDeleteValue()},9:function(t){return e.onTab()},27:function(t){return e.onEscape()},38:function(t){return t.preventDefault(),e.typeAheadUp()},40:function(t){return t.preventDefault(),e.typeAheadDown()}};this.selectOnKeyCodes.forEach(function(t){return r[t]=n});var o=this.mapKeydown(r,this);if("function"==typeof o[t.keyCode])return o[t.keyCode](t)}},computed:{isTrackingValues:function(){return void 0===this.value||this.$options.propsData.hasOwnProperty("reduce")},selectedValue:function(){var t=this.value;return this.isTrackingValues&&(t=this.$data._value),t?[].concat(t):[]},optionList:function(){return this.options.concat(this.pushedTags)},searchEl:function(){return this.$scopedSlots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope:function(){var t=this;return{search:{attributes:{disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-expanded":this.dropdownOpen,"aria-label":"Search for option",ref:"search",role:"combobox",type:"search",autocomplete:"off",value:this.search},events:{compositionstart:function(){return t.isComposing=!0},compositionend:function(){return t.isComposing=!1},keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input:function(e){return t.search=e.target.value}}},spinner:{loading:this.mutableLoading},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}}}},childComponents:function(){return g({},h,{},this.components)},stateClasses:function(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},clearSearchOnBlur:function(){return this.clearSearchOnSelect&&!this.multiple},searching:function(){return!!this.search},dropdownOpen:function(){return!this.noDrop&&this.open&&!this.mutableLoading},searchPlaceholder:function(){if(this.isValueEmpty&&this.placeholder)return this.placeholder},filteredOptions:function(){var t=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return t;var e=this.search.length?this.filter(t,this.search,this):t;return this.taggable&&this.search.length&&!this.optionExists(this.search)&&e.unshift(this.search),e},isValueEmpty:function(){return 0===this.selectedValue.length},showClearButton:function(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}}},m=(n(7),d(v,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"v-select",class:t.stateClasses,attrs:{dir:t.dir}},[n("div",{ref:"toggle",staticClass:"vs__dropdown-toggle",on:{mousedown:function(e){return e.preventDefault(),t.toggleDropdown(e)}}},[n("div",{ref:"selectedOptions",staticClass:"vs__selected-options"},[t._l(t.selectedValue,function(e){return t._t("selected-option-container",[n("span",{key:t.getOptionKey(e),staticClass:"vs__selected"},[t._t("selected-option",[t._v("\n            "+t._s(t.getOptionLabel(e))+"\n          ")],null,t.normalizeOptionForSlot(e)),t._v(" "),t.multiple?n("button",{ref:"deselectButtons",refInFor:!0,staticClass:"vs__deselect",attrs:{disabled:t.disabled,type:"button","aria-label":"Deselect option"},on:{click:function(n){return t.deselect(e)}}},[n(t.childComponents.Deselect,{tag:"component"})],1):t._e()],2)],{option:t.normalizeOptionForSlot(e),deselect:t.deselect,multiple:t.multiple,disabled:t.disabled})}),t._v(" "),t._t("search",[n("input",t._g(t._b({staticClass:"vs__search"},"input",t.scope.search.attributes,!1),t.scope.search.events))],null,t.scope.search)],2),t._v(" "),n("div",{ref:"actions",staticClass:"vs__actions"},[n("button",{directives:[{name:"show",rawName:"v-show",value:t.showClearButton,expression:"showClearButton"}],ref:"clearButton",staticClass:"vs__clear",attrs:{disabled:t.disabled,type:"button",title:"Clear selection"},on:{click:t.clearSelection}},[n(t.childComponents.Deselect,{tag:"component"})],1),t._v(" "),t._t("open-indicator",[t.noDrop?t._e():n(t.childComponents.OpenIndicator,t._b({tag:"component"},"component",t.scope.openIndicator.attributes,!1))],null,t.scope.openIndicator),t._v(" "),t._t("spinner",[n("div",{directives:[{name:"show",rawName:"v-show",value:t.mutableLoading,expression:"mutableLoading"}],staticClass:"vs__spinner"},[t._v("Loading...")])],null,t.scope.spinner)],2)]),t._v(" "),n("transition",{attrs:{name:t.transition}},[t.dropdownOpen?n("ul",{ref:"dropdownMenu",staticClass:"vs__dropdown-menu",attrs:{role:"listbox"},on:{mousedown:function(e){return e.preventDefault(),t.onMousedown(e)},mouseup:t.onMouseUp}},[t._l(t.filteredOptions,function(e,r){return n("li",{key:t.getOptionKey(e),staticClass:"vs__dropdown-option",class:{"vs__dropdown-option--selected":t.isOptionSelected(e),"vs__dropdown-option--highlight":r===t.typeAheadPointer,"vs__dropdown-option--disabled":!t.selectable(e)},attrs:{role:"option"},on:{mouseover:function(n){t.selectable(e)&&(t.typeAheadPointer=r)},mousedown:function(n){n.preventDefault(),n.stopPropagation(),t.selectable(e)&&t.select(e)}}},[t._t("option",[t._v("\n          "+t._s(t.getOptionLabel(e))+"\n        ")],null,t.normalizeOptionForSlot(e))],2)}),t._v(" "),t.filteredOptions.length?t._e():n("li",{staticClass:"vs__no-options",on:{mousedown:function(t){t.stopPropagation()}}},[t._t("no-options",[t._v("Sorry, no matching options.")])],2)],2):t._e()])],1)},[],!1,null,null,null).exports),y={ajax:f,pointer:c,pointerScroll:l};n.d(e,"VueSelect",function(){return m}),n.d(e,"mixins",function(){return y}),e.default=m}])}),un=(on=sn)&&on.__esModule&&Object.prototype.hasOwnProperty.call(on,"default")?on.default:on,ln=(sn.VueSelect,{install:function(t,e){t.component("v-select",un),t.component(an.name,an)}});"undefined"!=typeof window&&window.Vue&&window.Vue.use(ln),t.VueGoodTable=an,t.default=ln,Object.defineProperty(t,"__esModule",{value:!0})});
  //# sourceMappingURL=vue-good-table.min.js.map
  