From 8da9bbaa3fee781983c21d6a2f39fde6f36ebc20 Mon Sep 17 00:00:00 2001 From: Seth Thompson Date: Thu, 11 Feb 2021 12:00:43 -0500 Subject: [PATCH 1/2] replace original image url with list thumbnail, closes sylvainjule/kirby-pagetable#62 --- index.js | 2 +- lib/pagetable.php | 2 +- src/components/PageTable.vue | 21 ++++++++++++++++++--- 3 files changed, 20 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index e31c568..e166248 100644 --- a/index.js +++ b/index.js @@ -1 +1 @@ -(function () {var Fa=this;var kc=pc;var hb=sc;for(var na=[],la=[],lc="undefined"!=typeof Uint8Array?Uint8Array:Array,Va="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xa=0,mc=Va.length;xa0)throw new Error("Invalid string. Length must be a multiple of 4");var o=$.indexOf("=");return-1===o&&(o=r),[o,o===r?0:4-o%4]}function oc($,r,o){return 3*(r+o)/4-o}function pc($){var r,o,e=nc($),a=e[0],i=e[1],k=new lc(oc($,a,i)),t=0,v=i>0?a-4:a;for(o=0;o>16&255,k[t++]=r>>8&255,k[t++]=255&r;return 2===i&&(r=la[$.charCodeAt(o)]<<2|la[$.charCodeAt(o+1)]>>4,k[t++]=255&r),1===i&&(r=la[$.charCodeAt(o)]<<10|la[$.charCodeAt(o+1)]<<4|la[$.charCodeAt(o+2)]>>2,k[t++]=r>>8&255,k[t++]=255&r),k}function qc($){return na[$>>18&63]+na[$>>12&63]+na[$>>6&63]+na[63&$]}function rc($,r,o){for(var e,a=[],i=r;ik?k:i+16383));return 1===e?(r=$[o-1],a.push(na[r>>2]+na[r<<4&63]+"==")):2===e&&(r=($[o-2]<<8)+$[o-1],a.push(na[r>>10]+na[r>>4&63]+na[r<<2&63]+"=")),a.join("")}la["-".charCodeAt(0)]=62,la["_".charCodeAt(0)]=63;var Ga=function(t,r,o,a,$){var e,p,h=8*$-a-1,M=(1<>1,u=-7,f=o?$-1:0,i=o?-1:1,s=t[r+f];for(f+=i,e=s&(1<<-u)-1,s>>=-u,u+=h;u>0;e=256*e+t[r+f],f+=i,u-=8);for(p=e&(1<<-u)-1,e>>=-u,u+=a;u>0;p=256*p+t[r+f],f+=i,u-=8);if(0===e)e=1-w;else{if(e===M)return p?NaN:1/0*(s?-1:1);p+=Math.pow(2,a),e-=w}return(s?-1:1)*p*Math.pow(2,e-a)};var ib=function(t,r,o,a,$,e){var p,h,M,w=8*e-$-1,u=(1<>1,i=23===$?Math.pow(2,-24)-Math.pow(2,-77):0,s=a?0:e-1,x=a?1:-1,D=r<0||0===r&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(h=isNaN(r)?1:0,p=u):(p=Math.floor(Math.log(r)/Math.LN2),r*(M=Math.pow(2,-p))<1&&(p--,M*=2),(r+=p+f>=1?i/M:i*Math.pow(2,1-f))*M>=2&&(p++,M/=2),p+f>=u?(h=0,p=u):p+f>=1?(h=(r*M-1)*Math.pow(2,$),p+=f):(h=r*Math.pow(2,f-1)*Math.pow(2,$),p=0));$>=8;t[o+s]=255&h,s+=x,h/=256,$-=8);for(p=p<<$|h,w+=$;w>0;t[o+s]=255&p,s+=x,p/=256,w-=8);t[o+s-x]|=128*D};var jb={},tc={}.toString;jb=Array.isArray||function(r){return"[object Array]"==tc.call(r)};var uc=50;aa.TYPED_ARRAY_SUPPORT=void 0!==Fa.TYPED_ARRAY_SUPPORT?Fa.TYPED_ARRAY_SUPPORT:vc();var a=Ha();function vc(){try{var r=new Uint8Array(1);return r.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===r.foo()&&"function"==typeof r.subarray&&0===r.subarray(1,1).byteLength}catch(e){return!1}}function Ha(){return aa.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function qa(r,e){if(Ha()=Ha())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ha().toString(16)+" bytes");return 0|r}function mb(r,e){if(aa.isBuffer(r))return r.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(r)||r instanceof ArrayBuffer))return r.byteLength;"string"!=typeof r&&(r=""+r);var t=r.length;if(0===t)return 0;for(var $=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":case void 0:return Ka(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return vb(r).length;default:if($)return Ka(r).length;e=(""+e).toLowerCase(),$=!0;}}function Ac(r,e,t){var $=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===t||t>this.length)&&(t=this.length),t<=0)return"";if((t>>>=0)<=(e>>>=0))return"";for(r||(r="utf8");;)switch(r){case"hex":return Kc(this,e,t);case"utf8":case"utf-8":return qb(this,e,t);case"ascii":return Ic(this,e,t);case"latin1":case"binary":return Jc(this,e,t);case"base64":return Gc(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Lc(this,e,t);default:if($)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),$=!0;}}function sa(r,e,t){var $=r[e];r[e]=r[t],r[t]=$}function nb(r,e,t,$,n){if(0===r.length)return-1;if("string"==typeof t?($=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,isNaN(t)&&(t=n?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(n)return-1;t=r.length-1}else if(t<0){if(!n)return-1;t=0}if("string"==typeof e&&(e=aa.from(e,$)),aa.isBuffer(e))return 0===e.length?-1:ob(r,e,t,$,n);if("number"==typeof e)return e&=255,aa.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):ob(r,[e],t,$,n);throw new TypeError("val must be string, number or Buffer")}function ob(r,e,t,$,n){var f,a=1,i=r.length,T=e.length;if(void 0!==$&&("ucs2"===($=String($).toLowerCase())||"ucs-2"===$||"utf16le"===$||"utf-16le"===$)){if(r.length<2||e.length<2)return-1;a=2,i/=2,T/=2,t/=2}function o(r,e){return 1===a?r[e]:r.readUInt16BE(e*a)}if(n){var u=-1;for(f=t;fi&&(t=i-T),f=t;f>=0;f--){for(var s=!0,h=0;hn&&($=n):$=n;var f=e.length;if(f%2!=0)throw new TypeError("Invalid hex string");$>f/2&&($=f/2);for(var a=0;a<$;++a){var i=parseInt(e.substr(2*a,2),16);if(isNaN(i))return a;r[t+a]=i}return a}function Cc(r,e,t,$){return La(Ka(e,r.length-t),r,t,$)}function pb(r,e,t,$){return La(Qc(e),r,t,$)}function Dc(r,e,t,$){return pb(r,e,t,$)}function Ec(r,e,t,$){return La(vb(e),r,t,$)}function Fc(r,e,t,$){return La(Rc(e,r.length-t),r,t,$)}function Gc(r,e,t){return 0===e&&t===r.length?hb(r):hb(r.slice(e,t))}function qb(r,e,t){t=Math.min(r.length,t);for(var $=[],n=e;n239?4:o>223?3:o>191?2:1;if(n+s<=t)switch(s){case 1:o<128&&(u=o);break;case 2:128==(192&(f=r[n+1]))&&(T=(31&o)<<6|63&f)>127&&(u=T);break;case 3:f=r[n+1],a=r[n+2],128==(192&f)&&128==(192&a)&&(T=(15&o)<<12|(63&f)<<6|63&a)>2047&&(T<55296||T>57343)&&(u=T);break;case 4:f=r[n+1],a=r[n+2],i=r[n+3],128==(192&f)&&128==(192&a)&&128==(192&i)&&(T=(15&o)<<18|(63&f)<<12|(63&a)<<6|63&i)>65535&&T<1114112&&(u=T);}null===u?(u=65533,s=1):u>65535&&(u-=65536,$.push(u>>>10&1023|55296),u=56320|1023&u),$.push(u),n+=s}return Hc($)}aa.poolSize=8192,aa._augment=function(r){return r.__proto__=aa.prototype,r},aa.from=function(r,e,t){return kb(null,r,e,t)},aa.TYPED_ARRAY_SUPPORT&&(aa.prototype.__proto__=Uint8Array.prototype,aa.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&aa[Symbol.species]===aa&&Object.defineProperty(aa,Symbol.species,{value:null,configurable:!0})),aa.alloc=function(r,e,t){return wc(null,r,e,t)},aa.allocUnsafe=function(r){return Wa(null,r)},aa.allocUnsafeSlow=function(r){return Wa(null,r)},aa.isBuffer=function(r){return!(null==r||!r._isBuffer)},aa.compare=function(r,e){if(!aa.isBuffer(r)||!aa.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(r===e)return 0;for(var t=r.length,$=e.length,n=0,f=Math.min(t,$);n0&&(r=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(r+=" ... ")),""},aa.prototype.compare=function(r,e,t,$,n){if(!aa.isBuffer(r))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===t&&(t=r?r.length:0),void 0===$&&($=0),void 0===n&&(n=this.length),e<0||t>r.length||$<0||n>this.length)throw new RangeError("out of range index");if($>=n&&e>=t)return 0;if($>=n)return-1;if(e>=t)return 1;if(this===r)return 0;for(var f=(n>>>=0)-($>>>=0),a=(t>>>=0)-(e>>>=0),i=Math.min(f,a),T=this.slice($,n),o=r.slice(e,t),u=0;un)&&(t=n),r.length>0&&(t<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");$||($="utf8");for(var f=!1;;)switch($){case"hex":return Bc(this,r,e,t);case"utf8":case"utf-8":return Cc(this,r,e,t);case"ascii":return pb(this,r,e,t);case"latin1":case"binary":return Dc(this,r,e,t);case"base64":return Ec(this,r,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Fc(this,r,e,t);default:if(f)throw new TypeError("Unknown encoding: "+$);$=(""+$).toLowerCase(),f=!0;}},aa.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var rb=4096;function Hc(r){var e=r.length;if(e<=rb)return String.fromCharCode.apply(String,r);for(var t="",$=0;$$)&&(t=$);for(var n="",f=e;ft)throw new RangeError("Trying to access beyond buffer length")}function ja(r,e,t,$,n,f){if(!aa.isBuffer(r))throw new TypeError("\"buffer\" argument must be a Buffer instance");if(e>n||er.length)throw new RangeError("Index out of range")}function Ia(r,e,t,$){e<0&&(e=65535+e+1);for(var n=0,f=Math.min(r.length-t,2);n>>8*($?n:1-n)}function Ja(r,e,t,$){e<0&&(e=4294967295+e+1);for(var n=0,f=Math.min(r.length-t,4);n>>8*($?n:3-n)&255}function sb(r,e,t,$,n,f){if(t+$>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function tb(r,e,t,$,n){return n||sb(r,e,t,4,3.4028234663852886e38,-3.4028234663852886e38),ib(r,e,t,$,23,4),t+4}function ub(r,e,t,$,n){return n||sb(r,e,t,8,1.7976931348623157e308,-1.7976931348623157e308),ib(r,e,t,$,52,8),t+8}aa.prototype.slice=function(r,e){var t,$=this.length;if((r=~~r)<0?(r+=$)<0&&(r=0):r>$&&(r=$),(e=void 0===e?$:~~e)<0?(e+=$)<0&&(e=0):e>$&&(e=$),e0&&(n*=256);)$+=this[r+--e]*n;return $},aa.prototype.readUInt8=function(r,e){return e||ha(r,1,this.length),this[r]},aa.prototype.readUInt16LE=function(r,e){return e||ha(r,2,this.length),this[r]|this[r+1]<<8},aa.prototype.readUInt16BE=function(r,e){return e||ha(r,2,this.length),this[r]<<8|this[r+1]},aa.prototype.readUInt32LE=function(r,e){return e||ha(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+16777216*this[r+3]},aa.prototype.readUInt32BE=function(r,e){return e||ha(r,4,this.length),16777216*this[r]+(this[r+1]<<16|this[r+2]<<8|this[r+3])},aa.prototype.readIntLE=function(r,e,t){r|=0,e|=0,t||ha(r,e,this.length);for(var $=this[r],n=1,f=0;++f=(n*=128)&&($-=Math.pow(2,8*e)),$},aa.prototype.readIntBE=function(r,e,t){r|=0,e|=0,t||ha(r,e,this.length);for(var $=e,n=1,f=this[r+--$];$>0&&(n*=256);)f+=this[r+--$]*n;return f>=(n*=128)&&(f-=Math.pow(2,8*e)),f},aa.prototype.readInt8=function(r,e){return e||ha(r,1,this.length),128&this[r]?-1*(255-this[r]+1):this[r]},aa.prototype.readInt16LE=function(r,e){e||ha(r,2,this.length);var t=this[r]|this[r+1]<<8;return 32768&t?4294901760|t:t},aa.prototype.readInt16BE=function(r,e){e||ha(r,2,this.length);var t=this[r+1]|this[r]<<8;return 32768&t?4294901760|t:t},aa.prototype.readInt32LE=function(r,e){return e||ha(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},aa.prototype.readInt32BE=function(r,e){return e||ha(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},aa.prototype.readFloatLE=function(r,e){return e||ha(r,4,this.length),Ga(this,r,!0,23,4)},aa.prototype.readFloatBE=function(r,e){return e||ha(r,4,this.length),Ga(this,r,!1,23,4)},aa.prototype.readDoubleLE=function(r,e){return e||ha(r,8,this.length),Ga(this,r,!0,52,8)},aa.prototype.readDoubleBE=function(r,e){return e||ha(r,8,this.length),Ga(this,r,!1,52,8)},aa.prototype.writeUIntLE=function(r,e,t,$){(r=+r,e|=0,t|=0,$)||ja(this,r,e,t,Math.pow(2,8*t)-1,0);var n=1,f=0;for(this[e]=255&r;++f=0&&(f*=256);)this[e+n]=r/f&255;return e+t},aa.prototype.writeUInt8=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,1,255,0),aa.TYPED_ARRAY_SUPPORT||(r=Math.floor(r)),this[e]=255&r,e+1},aa.prototype.writeUInt16LE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,2,65535,0),aa.TYPED_ARRAY_SUPPORT?(this[e]=255&r,this[e+1]=r>>>8):Ia(this,r,e,!0),e+2},aa.prototype.writeUInt16BE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,2,65535,0),aa.TYPED_ARRAY_SUPPORT?(this[e]=r>>>8,this[e+1]=255&r):Ia(this,r,e,!1),e+2},aa.prototype.writeUInt32LE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,4,4294967295,0),aa.TYPED_ARRAY_SUPPORT?(this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=255&r):Ja(this,r,e,!0),e+4},aa.prototype.writeUInt32BE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,4,4294967295,0),aa.TYPED_ARRAY_SUPPORT?(this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=255&r):Ja(this,r,e,!1),e+4},aa.prototype.writeIntLE=function(r,e,t,$){if(r=+r,e|=0,!$){var n=Math.pow(2,8*t-1);ja(this,r,e,t,n-1,-n)}var f=0,a=1,i=0;for(this[e]=255&r;++f>0)-i&255;return e+t},aa.prototype.writeIntBE=function(r,e,t,$){if(r=+r,e|=0,!$){var n=Math.pow(2,8*t-1);ja(this,r,e,t,n-1,-n)}var f=t-1,a=1,i=0;for(this[e+f]=255&r;--f>=0&&(a*=256);)r<0&&0===i&&0!==this[e+f+1]&&(i=1),this[e+f]=(r/a>>0)-i&255;return e+t},aa.prototype.writeInt8=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,1,127,-128),aa.TYPED_ARRAY_SUPPORT||(r=Math.floor(r)),r<0&&(r=255+r+1),this[e]=255&r,e+1},aa.prototype.writeInt16LE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,2,32767,-32768),aa.TYPED_ARRAY_SUPPORT?(this[e]=255&r,this[e+1]=r>>>8):Ia(this,r,e,!0),e+2},aa.prototype.writeInt16BE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,2,32767,-32768),aa.TYPED_ARRAY_SUPPORT?(this[e]=r>>>8,this[e+1]=255&r):Ia(this,r,e,!1),e+2},aa.prototype.writeInt32LE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,4,2147483647,-2147483648),aa.TYPED_ARRAY_SUPPORT?(this[e]=255&r,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24):Ja(this,r,e,!0),e+4},aa.prototype.writeInt32BE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),aa.TYPED_ARRAY_SUPPORT?(this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=255&r):Ja(this,r,e,!1),e+4},aa.prototype.writeFloatLE=function(r,e,t){return tb(this,r,e,!0,t)},aa.prototype.writeFloatBE=function(r,e,t){return tb(this,r,e,!1,t)},aa.prototype.writeDoubleLE=function(r,e,t){return ub(this,r,e,!0,t)},aa.prototype.writeDoubleBE=function(r,e,t){return ub(this,r,e,!1,t)},aa.prototype.copy=function(r,e,t,$){if(t||(t=0),$||0===$||($=this.length),e>=r.length&&(e=r.length),e||(e=0),$>0&&$=this.length)throw new RangeError("sourceStart out of bounds");if($<0)throw new RangeError("sourceEnd out of bounds");$>this.length&&($=this.length),r.length-e<$-t&&($=r.length-e+t);var n,f=$-t;if(this===r&&t=0;--n)r[n+e]=this[n+t];else if(f<1e3||!aa.TYPED_ARRAY_SUPPORT)for(n=0;n>>=0,t=void 0===t?this.length:t>>>0,r||(r=0),"number"==typeof r)for(f=e;f55295&&t<57344){if(!n){if(t>56319){(e-=3)>-1&&f.push(239,191,189);continue}if(a+1===$){(e-=3)>-1&&f.push(239,191,189);continue}n=t;continue}if(t<56320){(e-=3)>-1&&f.push(239,191,189),n=t;continue}t=65536+(n-55296<<10|t-56320)}else n&&(e-=3)>-1&&f.push(239,191,189);if(n=null,t<128){if((e-=1)<0)break;f.push(t)}else if(t<2048){if((e-=2)<0)break;f.push(t>>6|192,63&t|128)}else if(t<65536){if((e-=3)<0)break;f.push(t>>12|224,t>>6&63|128,63&t|128)}else{if(!(t<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;f.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}}return f}function Qc(r){for(var e=[],t=0;t>8,n=t%256,f.push(n),f.push($);return f}function vb(r){return kc(Nc(r))}function La(r,e,t,$){for(var n=0;n<$&&!(n+t>=e.length||n>=r.length);++n)e[n+t]=r[n];return n}function Sc(r){return r!=r}function Ma(e){return(Ma="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Tc(e,t){return Vc(e)||Xc(e,t)||Zc()}function wb(e){return Uc(e)||Wc(e)||Yc()}function Uc(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t-1&&e%1==0&&e-1&&e%1==0&&e<=xb}function wd(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function xd(e){return!!e&&"object"==typeof e}function yd(e){return $a(e)?id(e):md(e)}function zd(e){return e}var da=rd,Ab=9007199254740991,Ad="[object Arguments]",Bd="[object Function]",Cd="[object GeneratorFunction]",Dd=/^(?:0|[1-9]\d*)$/;function Ed(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2]);}return e.apply(t,r)}function Fd(e,t){for(var r=-1,n=Array(e);++r1?r[a-1]:void 0,s=a>2?r[2]:void 0;for(o=e.length>3&&"function"==typeof o?(a--,o):void 0,s&&Od(r[0],r[1],s)&&(o=a<3?void 0:o,a=1),t=Object(t);++n-1&&e%1==0&&e-1&&e%1==0&&e<=Ab}function Ib(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ud(e){return!!e&&"object"==typeof e}var Vd=Nd(function(e,t){if(Id||Gb(t)||Pa(t))Md(t,Wd(t),e);else for(var r in t)Ba.call(t,r)&&Eb(e,r,t[r])});function Wd(e){return Pa(e)?Jd(e):Kd(e)}var Jb=Vd,ma="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof Fa?Fa:"undefined"!=typeof self?self:{};function _a(e,t){return e(t={exports:{}},t.exports),t.exports}var ka=_a(function(e,t){var r=200,n="__lodash_hash_undefined__",a=9007199254740991,o="[object Arguments]",s="[object Boolean]",i="[object Date]",u="[object Function]",c="[object GeneratorFunction]",l="[object Map]",$="[object Number]",d="[object Object]",f="[object RegExp]",v="[object Set]",h="[object String]",w="[object Symbol]",p="[object ArrayBuffer]",g="[object DataView]",m="[object Float32Array]",C="[object Float64Array]",_="[object Int8Array]",y="[object Int16Array]",b="[object Int32Array]",J="[object Uint8Array]",T="[object Uint8ClampedArray]",P="[object Uint16Array]",x="[object Uint32Array]",S=/\w*$/,O=/^\[object .+?Constructor\]$/,k=/^(?:0|[1-9]\d*)$/,E={};E[o]=E["[object Array]"]=E[p]=E[g]=E[s]=E[i]=E[m]=E[C]=E[_]=E[y]=E[b]=E[l]=E[$]=E[d]=E[f]=E[v]=E[h]=E[w]=E[J]=E[T]=E[P]=E[x]=!0,E["[object Error]"]=E[u]=E["[object WeakMap]"]=!1;var D="object"==typeof ma&&ma&&ma.Object===Object&&ma,j="object"==typeof self&&self&&self.Object===Object&&self,R=D||j||Function("return this")(),I=t&&!t.nodeType&&t,F=I&&e&&!e.nodeType&&e,A=F&&F.exports===I;function M(e,t){return e.set(t[0],t[1]),e}function N(e,t){return e.add(t),e}function L(e,t,r,n){var a=-1,o=e?e.length:0;for(n&&o&&(r=e[++a]);++a-1},Te.prototype.set=function(e,t){var r=this.__data__,n=ke(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},Pe.prototype.clear=function(){this.__data__={hash:new Je,map:new(de||Te),string:new Je}},Pe.prototype.delete=function(e){return Ie(this,e).delete(e)},Pe.prototype.get=function(e){return Ie(this,e).get(e)},Pe.prototype.has=function(e){return Ie(this,e).has(e)},Pe.prototype.set=function(e,t){return Ie(this,e).set(e,t),this},xe.prototype.clear=function(){this.__data__=new Te},xe.prototype.delete=function(e){return this.__data__.delete(e)},xe.prototype.get=function(e){return this.__data__.get(e)},xe.prototype.has=function(e){return this.__data__.has(e)},xe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Te){var a=n.__data__;if(!de||a.length-1&&e%1==0&&e-1&&e%1==0&&e<=a}(e.length)&&!Be(e)}var qe=ce||function(){return!1};function Be(e){var t=He(e)?Z.call(e):"";return t==u||t==c}function He(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ge(e){return Ye(e)?Se(e):function(e){if(!Le(e))return le(e);var t=[];for(var r in Object(e))X.call(e,r)&&"constructor"!=r&&t.push(r);return t}(e)}e.exports=function(e){return Ee(e,!0,!0)}}),Xd=_a(function(e,t){var r=200,n="Expected a function",a="__lodash_hash_undefined__",o=1,s=2,i=1/0,u=9007199254740991,c="[object Arguments]",l="[object Array]",$="[object Boolean]",d="[object Date]",f="[object Error]",v="[object Function]",h="[object GeneratorFunction]",w="[object Map]",p="[object Number]",g="[object Object]",m="[object RegExp]",C="[object Set]",_="[object String]",y="[object Symbol]",b="[object ArrayBuffer]",J="[object DataView]",T=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,P=/^\w*$/,x=/^\./,S=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,O=/\\(\\)?/g,k=/^\[object .+?Constructor\]$/,E=/^(?:0|[1-9]\d*)$/,D={};D["[object Float32Array]"]=D["[object Float64Array]"]=D["[object Int8Array]"]=D["[object Int16Array]"]=D["[object Int32Array]"]=D["[object Uint8Array]"]=D["[object Uint8ClampedArray]"]=D["[object Uint16Array]"]=D["[object Uint32Array]"]=!0,D[c]=D[l]=D[b]=D[$]=D[J]=D[d]=D[f]=D[v]=D[w]=D[p]=D[g]=D[m]=D[C]=D[_]=D["[object WeakMap]"]=!1;var j="object"==typeof ma&&ma&&ma.Object===Object&&ma,R="object"==typeof self&&self&&self.Object===Object&&self,I=j||R||Function("return this")(),F=t&&!t.nodeType&&t,A=F&&e&&!e.nodeType&&e,M=A&&A.exports===F&&j.process,N=function(){try{return M&&M.binding("util")}catch(e){}}(),L=N&&N.isTypedArray;function U(e,t){for(var r=-1,n=e?e.length:0,a=0,o=[];++r-1},Je.prototype.set=function(e,t){var r=this.__data__,n=Oe(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},Te.prototype.clear=function(){this.__data__={hash:new be,map:new(le||Je),string:new be}},Te.prototype.delete=function(e){return We(this,e).delete(e)},Te.prototype.get=function(e){return We(this,e).get(e)},Te.prototype.has=function(e){return We(this,e).has(e)},Te.prototype.set=function(e,t){return We(this,e).set(e,t),this},Pe.prototype.add=Pe.prototype.push=function(e){return this.__data__.set(e,a),this},Pe.prototype.has=function(e){return this.__data__.has(e)},xe.prototype.clear=function(){this.__data__=new Je},xe.prototype.delete=function(e){return this.__data__.delete(e)},xe.prototype.get=function(e){return this.__data__.get(e)},xe.prototype.has=function(e){return this.__data__.has(e)},xe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Je){var a=n.__data__;if(!le||a.lengthc))return!1;var $=i.get(e);if($&&i.get(t))return $==t;var d=-1,f=!0,v=a&o?new Pe:void 0;for(i.set(e,t),i.set(t,e);++d-1&&e%1==0&&e-1&&e%1==0&&e<=u}function st(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function it(e){return!!e&&"object"==typeof e}function ut(e){return"symbol"==typeof e||it(e)&&re.call(e)==y}var ct=L?function(e){return function(t){return e(t)}}(L):function(e){return it(e)&&ot(e.length)&&!!D[re.call(e)]};function lt(e){return nt(e)?Se(e):Le(e)}function $t(e){return e}e.exports=function(e,t){return(rt(e)?U:je)(e,Ne(t))}}),ab=_a(function(e,t){var r=200,n="__lodash_hash_undefined__",a=1,o=2,s=9007199254740991,i="[object Arguments]",u="[object Array]",c="[object AsyncFunction]",l="[object Boolean]",$="[object Date]",d="[object Error]",f="[object Function]",v="[object GeneratorFunction]",h="[object Map]",w="[object Number]",p="[object Null]",g="[object Object]",m="[object Proxy]",C="[object RegExp]",_="[object Set]",y="[object String]",b="[object Symbol]",J="[object Undefined]",T="[object ArrayBuffer]",P="[object DataView]",x=/^\[object .+?Constructor\]$/,S=/^(?:0|[1-9]\d*)$/,O={};O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O[i]=O[u]=O[T]=O[l]=O[P]=O[$]=O[d]=O[f]=O[h]=O[w]=O[g]=O[C]=O[_]=O[y]=O["[object WeakMap]"]=!1;var k="object"==typeof ma&&ma&&ma.Object===Object&&ma,E="object"==typeof self&&self&&self.Object===Object&&self,D=k||E||Function("return this")(),j=t&&!t.nodeType&&t,R=j&&e&&!e.nodeType&&e,I=R&&R.exports===j,F=I&&k.process,A=function(){try{return F&&F.binding&&F.binding("util")}catch(e){}}(),M=A&&A.isTypedArray;function N(e,t){for(var r=-1,n=null==e?0:e.length;++rc))return!1;var $=i.get(e);if($&&i.get(t))return $==t;var d=-1,f=!0,v=r&o?new Te:void 0;for(i.set(e,t),i.set(t,e);++d-1},be.prototype.set=function(e,t){var r=this.__data__,n=Se(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Je.prototype.clear=function(){this.size=0,this.__data__={hash:new ye,map:new(le||be),string:new ye}},Je.prototype.delete=function(e){var t=Fe(this,e).delete(e);return this.size-=t?1:0,t},Je.prototype.get=function(e){return Fe(this,e).get(e)},Je.prototype.has=function(e){return Fe(this,e).has(e)},Je.prototype.set=function(e,t){var r=Fe(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Te.prototype.add=Te.prototype.push=function(e){return this.__data__.set(e,n),this},Te.prototype.has=function(e){return this.__data__.has(e)},Pe.prototype.clear=function(){this.__data__=new be,this.size=0},Pe.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Pe.prototype.get=function(e){return this.__data__.get(e)},Pe.prototype.has=function(e){return this.__data__.has(e)},Pe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof be){var a=n.__data__;if(!le||a.length-1&&e%1==0&&e-1&&e%1==0&&e<=s}function Ge(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Qe(e){return null!=e&&"object"==typeof e}var Ke=M?function(e){return function(t){return e(t)}}(M):function(e){return Qe(e)&&He(e.length)&&!!O[Oe(e)]};function Ve(e){return null!=(t=e)&&He(t.length)&&!Be(t)?xe(e):je(e);var t}e.exports=function(e,t){return Ee(e,t)}}),Kb={a:["a","\xE0","\xE1","\xE2","\xE3","\xE4","\xE5","\xE6","\u0101","\u0103","\u0105","\u01CE","\u01DF","\u01E1","\u01FB","\u0201","\u0203","\u0227","\u0250","\u0251","\u0252","\u0363","\u0430","\u04D1","\u04D3","\u1D43","\u1D44","\u1D8F","\u1E01","\u1E9A","\u1EA1","\u1EA3","\u1EA5","\u1EA7","\u1EA9","\u1EAB","\u1EAD","\u1EAF","\u1EB1","\u1EB3","\u1EB5","\u1EB7","\u2090","\u2C65","\uFF41"],A:["A","\xC0","\xC1","\xC2","\xC3","\xC4","\xC5","\u0100","\u0102","\u0104","\u01CD","\u01DE","\u01E0","\u01FA","\u0200","\u0202","\u0226","\u023A","\u0410","\u04D0","\u04D2","\u1D00","\u1D2C","\u1E00","\u1EA0","\u1EA2","\u1EA4","\u1EA6","\u1EA8","\u1EAA","\u1EAC","\u1EAE","\u1EB0","\u1EB2","\u1EB4","\u1EB6","\uFF21"],b:["b","\u0180","\u0183","\u0253","\u15AF","\u1D47","\u1D6C","\u1D80","\u1E03","\u1E05","\u1E07","\uFF42"],B:["B","\u0181","\u0182","\u0243","\u0299","\u16D2","\u1D03","\u1D2E","\u1D2F","\u1E02","\u1E04","\u1E06","\uFF22"],c:["c","\xE7","\u0107","\u0109","\u010B","\u010D","\u0188","\u023C","\u0255","\u0368","\u1D04","\u1D9C","\u1E09","\u2184","\uFF43"],C:["C","\xC7","\u0106","\u0108","\u010A","\u010C","\u0187","\u023B","\u0297","\u1E08","\uFF23"],d:["d","\u010F","\u0111","\u018B","\u018C","\u0221","\u0256","\u0257","\u0369","\u1D48","\u1D6D","\u1D81","\u1D91","\u1E0B","\u1E0D","\u1E0F","\u1E11","\u1E13","\uFF44"],D:["D","\u010E","\u0110","\u0189","\u018A","\u1D30","\u1E0A","\u1E0C","\u1E0E","\u1E10","\u1E12","\uFF24"],e:["e","\xE8","\xE9","\xEA","\xEB","\u0113","\u0115","\u0117","\u0119","\u011B","\u01DD","\u0205","\u0207","\u0229","\u0247","\u0258","\u0364","\u1D49","\u1D92","\u1E15","\u1E17","\u1E19","\u1E1B","\u1E1D","\u1EB9","\u1EBB","\u1EBD","\u1EBF","\u1EC1","\u1EC3","\u1EC5","\u1EC7","\u2091","\uFF45"],E:["E","\xC8","\xC9","\xCA","\xCB","\u0112","\u0114","\u0116","\u0118","\u011A","\u0152","\u018E","\u0190","\u0204","\u0206","\u0228","\u0246","\u025B","\u025C","\u0276","\u0404","\u042D","\u044D","\u0454","\u04EC","\u04ED","\u1D07","\u1D08","\u1D31","\u1D32","\u1D4B","\u1D4C","\u1D93","\u1D94","\u1D9F","\u1E14","\u1E16","\u1E18","\u1E1A","\u1E1C","\u1EB8","\u1EBA","\u1EBC","\u1EBE","\u1EC0","\u1EC2","\u1EC4","\u1EC6","\uFF25","\uD801\uDC01","\uD801\uDC29"],f:["f","\u0192","\u1D6E","\u1D82","\u1DA0","\u1E1F","\uFF46"],F:["F","\u0191","\u1E1E","\u214E","\uFF26"],g:["g","\u011D","\u011F","\u0121","\u0123","\u01E5","\u01E7","\u01F5","\u0260","\u0261","\u1D4D","\u1D77","\u1D79","\u1D83","\u1DA2","\u1E21","\uFF47"],G:["G","\u011C","\u011E","\u0120","\u0122","\u0193","\u01E4","\u01E6","\u01F4","\u0262","\u029B","\u1D33","\u1E20","\uFF27"],h:["h","\u0125","\u0127","\u0195","\u021F","\u0265","\u0266","\u02AE","\u02AF","\u02B0","\u02B1","\u036A","\u04BA","\u04BB","\u144B","\u1DA3","\u1E23","\u1E25","\u1E27","\u1E29","\u1E2B","\u2C68","\uFF48"],H:["H","\u0124","\u0126","\u021E","\u029C","\u157C","\u16BA","\u16BB","\u1D34","\u1E22","\u1E24","\u1E26","\u1E28","\u1E2A","\u2C67","\uFF28"],i:["i","\xEC","\xED","\xEE","\xEF","\u0129","\u012B","\u012D","\u012F","\u01D0","\u0209","\u020B","\u0268","\u0365","\u1D09","\u1D4E","\u1D62","\u1D96","\u1DA4","\u1E2D","\u1E2F","\u1EC9","\u1ECB","\uFF49"],I:["I","\xCC","\xCD","\xCE","\xCF","\u0128","\u012A","\u012C","\u012E","\u0130","\u01CF","\u0208","\u020A","\u026A","\u0406","\u1D35","\u1D7B","\u1DA6","\u1DA7","\u1E2C","\u1E2E","\u1EC8","\u1ECA","\uFF29"],j:["j","\u0135","\u01F0","\u0249","\u029D","\u02B2","\u1DA1","\u1DA8","\uFF4A"],J:["J","\u0134","\u1D0A","\u1D36","\uFF2A"],k:["k","\u0137","\u0199","\u01E9","\u029E","\u1D4F","\u1D84","\u1E31","\u1E33","\u1E35","\u2C6A","\uFF4B"],K:["K","\u0136","\u0198","\u01E8","\u1D37","\u1E30","\u1E32","\u1E34","\u2C69","\uFF2B"],l:["l","\u013A","\u013C","\u013E","\u0140","\u0142","\u019A","\u0234","\u026B","\u026C","\u026D","\u02E1","\u1D85","\u1DA9","\u1DAA","\u1E37","\u1E39","\u1E3B","\u1E3D","\u2113","\u2C61"],L:["L","\u0139","\u013B","\u013D","\u013F","\u0141","\u023D","\u029F","\u1D0C","\u1D38","\u1DAB","\u1E36","\u1E38","\u1E3A","\u1E3C","\u2C60","\u2C62"],m:["m","\u026F","\u0270","\u0271","\u036B","\u1D1F","\u1D50","\u1D5A","\u1D6F","\u1D86","\u1DAC","\u1DAD","\u1E3F","\u1E41","\u1E43","\u33A1","\u33A5","\uFF4D"],M:["M","\u019C","\u1D0D","\u1D39","\u1E3E","\u1E40","\u1E42","\uFF2D"],n:["n","\xF1","\u0144","\u0146","\u0148","\u0149","\u019E","\u01F9","\u0235","\u0272","\u0273","\u1D70","\u1D87","\u1DAE","\u1DAF","\u1E45","\u1E47","\u1E49","\u1E4B","\u207F","\uFF4E"],N:["N","\xD1","\u0143","\u0145","\u0147","\u019D","\u01F8","\u0220","\u0274","\u1D0E","\u1D3A","\u1D3B","\u1DB0","\u1E44","\u1E46","\u1E48","\u1E4A","\uFF2E"],o:["o","\xF2","\xF3","\xF4","\xF5","\xF6","\xF8","\u014D","\u014F","\u0151","\u01A1","\u01D2","\u01EB","\u01ED","\u01FF","\u020D","\u020F","\u022B","\u022D","\u022F","\u0231","\u0275","\u0366","\u043E","\u04E7","\u04E9","\u1D0F","\u1D11","\u1D13","\u1D3C","\u1D52","\u1DB1","\u1E4D","\u1E4F","\u1E51","\u1E53","\u1ECD","\u1ECF","\u1ED1","\u1ED3","\u1ED5","\u1ED7","\u1ED9","\u1EDB","\u1EDD","\u1EDF","\u1EE1","\u1EE3","\u2092","\uFF4F","\uD801\uDC2C"],O:["O","\xD2","\xD3","\xD4","\xD5","\xD6","\xD8","\u014C","\u014E","\u0150","\u019F","\u01A0","\u01D1","\u01EA","\u01EC","\u01FE","\u020C","\u020E","\u022A","\u022C","\u022E","\u0230","\u041E","\u04E6","\u04E8","\u1E4C","\u1E4E","\u1E50","\u1E52","\u1ECC","\u1ECE","\u1ED0","\u1ED2","\u1ED4","\u1ED6","\u1ED8","\u1EDA","\u1EDC","\u1EDE","\u1EE0","\u1EE2","\uFF2F","\uD801\uDC04"],p:["p","\u1D56","\u1D71","\u1D7D","\u1D88","\u1E55","\u1E57","\uFF50"],P:["P","\u01A4","\u1D18","\u1D3E","\u1E54","\u1E56","\u2C63","\uFF30"],q:["q","\u024B","\u02A0","\u16E9","\uFF51"],Q:["Q","\u024A","\uFF31"],r:["r","\u0155","\u0157","\u0159","\u0211","\u0213","\u024D","\u0279","\u027B","\u02B3","\u02B4","\u02B5","\u036C","\u1D63","\u1D72","\u1D89","\u1E59","\u1E5B","\u1E5D","\u1E5F"],R:["R","\u0154","\u0156","\u0158","\u01A6","\u0210","\u0212","\u024C","\u0280","\u0281","\u02B6","\u16B1","\u1D19","\u1D1A","\u1D3F","\u1E58","\u1E5A","\u1E5C","\u1E5E","\u2C64"],s:["s","\u015B","\u015D","\u015F","\u0161","\u0219","\u0282","\u1506","\u1D8A","\u1E61","\u1E63","\u1E65","\u1E67","\u1E69","\uFF53"],S:["S","\u015A","\u015C","\u015E","\u0160","\u0218","\u023F","\u02E2","\u1D74","\u1E60","\u1E62","\u1E64","\u1E66","\u1E68","\uFF33"],t:["t","\u0163","\u0165","\u0167","\u01AB","\u01AD","\u021B","\u0287","\u036D","\u1D40","\u1D57","\u1D75","\u1DB5","\u1E6B","\u1E6D","\u1E6F","\u1E71","\u1E97","\uFF54"],T:["T","\u0162","\u0164","\u01AC","\u01AE","\u021A","\u023E","\u1D1B","\u1D40","\u1E6A","\u1E6C","\u1E6E","\u1E70","\uFF34"],u:["u","\xF9","\xFA","\xFB","\xFC","\u0169","\u016B","\u016D","\u016F","\u0171","\u0173","\u01B0","\u01D4","\u01D6","\u01D8","\u01DA","\u01DC","\u0215","\u0217","\u0367","\u07CE","\u1D58","\u1D64","\u1E73","\u1E75","\u1E77","\u1E79","\u1E7B","\u1EE5","\u1EE7","\u1EE9","\u1EEB","\u1EED","\u1EEF","\u1EF1","\uFF55"],U:["U","\xD9","\xDA","\xDB","\xDC","\u0168","\u016A","\u016C","\u016E","\u0170","\u0172","\u01AF","\u01D3","\u01D5","\u01D7","\u01D9","\u01DB","\u0214","\u0216","\u0244","\u1D1C","\u1D41","\u1D7E","\u1E72","\u1E74","\u1E76","\u1E78","\u1E7A","\u1EE4","\u1EE6","\u1EE8","\u1EEA","\u1EEC","\u1EEE","\u1EF0","\uFF35"],v:["v","\u028B","\u036E","\u1D5B","\u1D65","\u1DB9","\u1E7D","\u1E7F","\u2C71","\uFF56","\u2C74"],V:["V","\u01B2","\u0245","\u028C","\u1D20","\u1D8C","\u1E7C","\u1E7E","\uFF36"],w:["w","\u0175","\u02B7","\u1D42","\u1E81","\u1E83","\u1E85","\u1E87","\u1E89","\u1E98","\u2C73","\uFF57"],W:["W","\u0174","\u028D","\u1D21","\u1E80","\u1E82","\u1E84","\u1E86","\u1E88","\u2C72","\uFF37"],x:["x","\u033D","\u0353","\u1D8D","\u036F","\u1E8B","\u1E8D","\u2093","\uFF58"],X:["X","\u02E3","\u036F","\u1E8A","\u1E8C","\u2612","\u2715","\u2716","\u2717","\u2718","\uFF38"],y:["y","\xFD","\xFF","\u0177","\u0233","\u024F","\u02B8","\u1E8F","\u1EF3","\u1EF5","\u1EF7","\u1EF9","\uFF59"],Y:["Y","\xDD","\u0176","\u0178","\u01B3","\u01B4","\u0232","\u024E","\u028E","\u028F","\u1E8E","\u1EF2","\u1EF4","\u1EF6","\u1EF8","\uFF39"],z:["z","\u017A","\u017C","\u017E","\u01B6","\u0225","\u0240","\u0290","\u0291","\u1646","\u1647","\u1DBB","\u1DBC","\u1DBD","\u1E91","\u1E93","\u1E95","\u2C6C","\uFF5A"],Z:["Z","\u0179","\u017B","\u017D","\u01B5","\u0224","\u1D22","\u1D76","\u1E90","\u1E92","\u1E94","\u2C6B","\uFF3A"]},bb=function(e){for(var t=[],r=0;r2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)return!1;var a=r?String(e).toLowerCase():bb(Lb(String(e)).toLowerCase()),o=r?t.toLowerCase():bb(Lb(t).toLowerCase());return n?a===o:a.indexOf(o)>-1},compare:function(e,t){function r(e){return null==e?"":bb(e.toLowerCase())}return(e=r(e))<(t=r(t))?-1:e>t?1:0}},Yd={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(e){var t=parseInt(e.target.value,10);if(Number.isNaN(t)||t>this.lastPage||t<1)return e.target.value=this.currentPage,!1;e.target.value=t,this.$emit("page-changed",t)}},mounted:function(){},components:{}};function ta(e,t,r,n,a,o,s,i,u,c){"boolean"!=typeof s&&(u=i,i=s,s=!1);const l="function"==typeof r?r.options:r;let $;if(e&&e.render&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,a&&(l.functional=!0)),n&&(l._scopeId=n),o?($=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,u(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=$):t&&($=s?function(e){t.call(this,c(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,i(e))}),$)if(l.functional){const e=l.render;l.render=function(t,r){return $.call(r),e(t,r)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,$):[$]}return r}var Zd=Yd,$d=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"footer__navigation__page-info"},[e._v("\n "+e._s(e.pageText)+" "),r("input",{staticClass:"footer__navigation__page-info__current-entry",attrs:{type:"text"},domProps:{value:e.currentPage},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.stopPropagation(),e.changePage(t))}}}),e._v(" "+e._s(e.pageInfo)+"\n")])},_d=[],af=void 0,bf="data-v-9a8cd1f4",cf=void 0,df=!1,ef=ta({render:$d,staticRenderFns:_d},af,Zd,bf,df,cf,!1,void 0,void 0,void 0),ff=[10,20,30,40,50],gf={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(e,t){this.handlePerPage(),this.perPageChanged(t)},immediate:!0},customRowsPerPageDropdown:function(){this.handlePerPage()},total:{handler:function(e,t){-1===this.rowsPerPageOptions.indexOf(this.currentPerPage)&&(this.currentPerPage=e)}}},computed:{pagesCount:function(){var e=Math.floor(this.total/this.currentPerPage);return 0===this.total%this.currentPerPage?e:e+1},paginatedInfo:function(){var e=(this.currentPage-1)*this.currentPerPage+1,t=Math.min(this.total,this.currentPage*this.currentPerPage);return 0===t&&(e=0),"".concat(e," - ").concat(t," ").concat(this.ofText," ").concat(this.total)},nextIsPossible:function(){return this.currentPage1}},methods:{changePage:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e>0&&this.total>this.currentPerPage*(e-1)&&(this.prevPage=this.currentPage,this.currentPage=e,t&&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(e){e&&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=ka(this.customRowsPerPageDropdown):this.rowsPerPageOptions=ka(ff),this.perPage){this.currentPerPage=this.perPage;for(var e=!1,t=0;t0&&void 0!==arguments[0]&&arguments[0];this.columnFilters={},e&&this.$emit("filter-changed",this.columnFilters)},isFilterable:function(e){return e.filterOptions&&e.filterOptions.enabled},isDropdown:function(e){return this.isFilterable(e)&&e.filterOptions.filterDropdownItems&&e.filterOptions.filterDropdownItems.length},isDropdownObjects:function(e){return this.isDropdown(e)&&"object"===Ma(e.filterOptions.filterDropdownItems[0])},isDropdownArray:function(e){return this.isDropdown(e)&&"object"!==Ma(e.filterOptions.filterDropdownItems[0])},getPlaceholder:function(e){return this.isFilterable(e)&&e.filterOptions.placeholder||"Filter ".concat(e.label)},updateFiltersOnEnter:function(e,t){this.timer&&clearTimeout(this.timer),this.updateFiltersImmediately(e.field,t)},updateFiltersOnKeyup:function(e,t){"enter"!==e.filterOptions.trigger&&this.updateFilters(e,t)},updateSlotFilter:function(e,t){var r=e.filterOptions.slotFilterField||e.field;"function"==typeof e.filterOptions.formatValue&&(t=e.filterOptions.formatValue(t)),this.updateFiltersImmediately(r,t)},updateFilters:function(e,t){var r=this;this.timer&&clearTimeout(this.timer),this.timer=setTimeout(function(){r.updateFiltersImmediately(e.field,t)},400)},updateFiltersImmediately:function(e,t){this.$set(this.columnFilters,e,t),this.$emit("filter-changed",this.columnFilters)},populateInitialFilters:function(){for(var e=0;e0?1:a}function Qa(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=ia(e);return!isNaN(t)}var Ra={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 eg(e,t,r){var n;return r=r||{},n="string"==typeof Ra[e]?Ra[e]:1===t?Ra[e].one:Ra[e].other.replace("{{count}}",t),r.addSuffix?r.comparison>0?"in "+n:n+" ago":n}function cb(e){return function(t){var r=t||{},n=r.width?String(r.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var fg={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},gg={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},hg={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ig={date:cb({formats:fg,defaultWidth:"full"}),time:cb({formats:gg,defaultWidth:"full"}),dateTime:cb({formats:hg,defaultWidth:"full"})},jg={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function kg(e,t,r,n){return jg[e]}function Ca(e){return function(t,r){var n,a=r||{};if("formatting"===(a.context?String(a.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,s=a.width?String(a.width):o;n=e.formattingValues[s]||e.formattingValues[o]}else{var i=e.defaultWidth,u=a.width?String(a.width):e.defaultWidth;n=e.values[u]||e.values[i]}return n[e.argumentCallback?e.argumentCallback(t):t]}}var lg={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},mg={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ng={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"]},og={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"]},pg={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"}},qg={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"}};function rg(e,t){var r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd";}return r+"th"}var sg={ordinalNumber:rg,era:Ca({values:lg,defaultWidth:"wide"}),quarter:Ca({values:mg,defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:Ca({values:ng,defaultWidth:"wide"}),day:Ca({values:og,defaultWidth:"wide"}),dayPeriod:Ca({values:pg,defaultWidth:"wide",formattingValues:qg,defaultFormattingWidth:"wide"})};function tg(e){return function(t,r){var n=String(t),a=r||{},o=n.match(e.matchPattern);if(!o)return null;var s=o[0],i=n.match(e.parsePattern);if(!i)return null;var u=e.valueCallback?e.valueCallback(i[0]):i[0];return{value:u=a.valueCallback?a.valueCallback(u):u,rest:n.slice(s.length)}}}function Da(e){return function(t,r){var n=String(t),a=r||{},o=a.width,s=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],i=n.match(s);if(!i)return null;var u,c=i[0],l=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth];return u="[object Array]"===Object.prototype.toString.call(l)?l.findIndex(function(e){return e.test(n)}):ug(l,function(e){return e.test(n)}),u=e.valueCallback?e.valueCallback(u):u,{value:u=a.valueCallback?a.valueCallback(u):u,rest:n.slice(c.length)}}}function ug(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}var vg=/^(\d+)(th|st|nd|rd)?/i,wg=/\d+/i,xg={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},yg={any:[/^b/i,/^(a|c)/i]},zg={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Ag={any:[/1/i,/2/i,/3/i,/4/i]},Bg={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},Cg={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]},Dg={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},Eg={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]},Fg={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},Gg={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}},Hg={ordinalNumber:tg({matchPattern:vg,parsePattern:wg,valueCallback:function(e){return parseInt(e,10)}}),era:Da({matchPatterns:xg,defaultMatchWidth:"wide",parsePatterns:yg,defaultParseWidth:"any"}),quarter:Da({matchPatterns:zg,defaultMatchWidth:"wide",parsePatterns:Ag,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Da({matchPatterns:Bg,defaultMatchWidth:"wide",parsePatterns:Cg,defaultParseWidth:"any"}),day:Da({matchPatterns:Dg,defaultMatchWidth:"wide",parsePatterns:Eg,defaultParseWidth:"any"}),dayPeriod:Da({matchPatterns:Fg,defaultMatchWidth:"any",parsePatterns:Gg,defaultParseWidth:"any"})},Rb={formatDistance:eg,formatLong:ig,formatRelative:kg,localize:sg,match:Hg,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Sb(e,t){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return cg(e,-ea(t))}function ba(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length0?r:1-r;return ba("yy"===t?n%100:n,t.length)},M:function(e,t){var r=e.getUTCMonth();return"M"===t?String(r+1):ba(r+1,2)},d:function(e,t){return ba(e.getUTCDate(),t.length)},a:function(e,t){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":case"aaa":return r.toUpperCase();case"aaaaa":return r[0];case"aaaa":default:return"am"===r?"a.m.":"p.m.";}},h:function(e,t){return ba(e.getUTCHours()%12||12,t.length)},H:function(e,t){return ba(e.getUTCHours(),t.length)},m:function(e,t){return ba(e.getUTCMinutes(),t.length)},s:function(e,t){return ba(e.getUTCSeconds(),t.length)},S:function(e,t){var r=t.length,n=e.getUTCMilliseconds();return ba(Math.floor(n*Math.pow(10,r-3)),t.length)}},Ig=864e5;function Jg(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=ia(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=r-t.getTime();return Math.floor(n/Ig)+1}function za(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=ia(e),r=t.getUTCDay(),n=(r<1?7:0)+r-1;return t.setUTCDate(t.getUTCDate()-n),t.setUTCHours(0,0,0,0),t}function Tb(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=ia(e),r=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var a=za(n),o=new Date(0);o.setUTCFullYear(r,0,4),o.setUTCHours(0,0,0,0);var s=za(o);return t.getTime()>=a.getTime()?r+1:t.getTime()>=s.getTime()?r:r-1}function Kg(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=Tb(e),r=new Date(0);return r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0),za(r)}var Lg=6048e5;function Ub(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=ia(e),r=za(t).getTime()-Kg(t).getTime();return Math.round(r/Lg)+1}function ua(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var r=t||{},n=r.locale,a=n&&n.options&&n.options.weekStartsOn,o=null==a?0:ea(a),s=null==r.weekStartsOn?o:ea(r.weekStartsOn);if(!(s>=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var i=ia(e),u=i.getUTCDay(),c=(u=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var c=new Date(0);c.setUTCFullYear(n+1,0,u),c.setUTCHours(0,0,0,0);var l=ua(c,t),$=new Date(0);$.setUTCFullYear(n,0,u),$.setUTCHours(0,0,0,0);var d=ua($,t);return r.getTime()>=l.getTime()?n+1:r.getTime()>=d.getTime()?n:n-1}function Mg(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var r=t||{},n=r.locale,a=n&&n.options&&n.options.firstWeekContainsDate,o=null==a?1:ea(a),s=null==r.firstWeekContainsDate?o:ea(r.firstWeekContainsDate),i=db(e,t),u=new Date(0);return u.setUTCFullYear(i,0,s),u.setUTCHours(0,0,0,0),ua(u,t)}var Ng=6048e5;function Vb(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var r=ia(e),n=ua(r,t).getTime()-Mg(r,t).getTime();return Math.round(n/Ng)+1}var Aa={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Og={G:function(e,t,r){var n=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"});}},y:function(e,t,r){if("yo"===t){var n=e.getUTCFullYear(),a=n>0?n:1-n;return r.ordinalNumber(a,{unit:"year"})}return ra.y(e,t)},Y:function(e,t,r,n){var a=db(e,n),o=a>0?a:1-a;return"YY"===t?ba(o%100,2):"Yo"===t?r.ordinalNumber(o,{unit:"year"}):ba(o,t.length)},R:function(e,t){return ba(Tb(e),t.length)},u:function(e,t){return ba(e.getUTCFullYear(),t.length)},Q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return ba(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"});}},q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return ba(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"});}},M:function(e,t,r){var n=e.getUTCMonth();switch(t){case"M":case"MM":return ra.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"});}},L:function(e,t,r){var n=e.getUTCMonth();switch(t){case"L":return String(n+1);case"LL":return ba(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"});}},w:function(e,t,r,n){var a=Vb(e,n);return"wo"===t?r.ordinalNumber(a,{unit:"week"}):ba(a,t.length)},I:function(e,t,r){var n=Ub(e);return"Io"===t?r.ordinalNumber(n,{unit:"week"}):ba(n,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getUTCDate(),{unit:"date"}):ra.d(e,t)},D:function(e,t,r){var n=Jg(e);return"Do"===t?r.ordinalNumber(n,{unit:"dayOfYear"}):ba(n,t.length)},E:function(e,t,r){var n=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"});}},e:function(e,t,r,n){var a=e.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return ba(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"});}},c:function(e,t,r,n){var a=e.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return ba(o,t.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"});}},i:function(e,t,r){var n=e.getUTCDay(),a=0===n?7:n;switch(t){case"i":return String(a);case"ii":return ba(a,t.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"});}},a:function(e,t,r){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(n,{width:"wide",context:"formatting"});}},b:function(e,t,r){var n,a=e.getUTCHours();switch(n=12===a?Aa.noon:0===a?Aa.midnight:a/12>=1?"pm":"am",t){case"b":case"bb":case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(n,{width:"wide",context:"formatting"});}},B:function(e,t,r){var n,a=e.getUTCHours();switch(n=a>=17?Aa.evening:a>=12?Aa.afternoon:a>=4?Aa.morning:Aa.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(n,{width:"wide",context:"formatting"});}},h:function(e,t,r){if("ho"===t){var n=e.getUTCHours()%12;return 0===n&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return ra.h(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getUTCHours(),{unit:"hour"}):ra.H(e,t)},K:function(e,t,r){var n=e.getUTCHours()%12;return"Ko"===t?r.ordinalNumber(n,{unit:"hour"}):ba(n,t.length)},k:function(e,t,r){var n=e.getUTCHours();return 0===n&&(n=24),"ko"===t?r.ordinalNumber(n,{unit:"hour"}):ba(n,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):ra.m(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):ra.s(e,t)},S:function(e,t){return ra.S(e,t)},X:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();if(0===a)return"Z";switch(t){case"X":return Xb(a);case"XXXX":case"XX":return va(a);case"XXXXX":case"XXX":default:return va(a,":");}},x:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();switch(t){case"x":return Xb(a);case"xxxx":case"xx":return va(a);case"xxxxx":case"xxx":default:return va(a,":");}},O:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Wb(a,":");case"OOOO":default:return"GMT"+va(a,":");}},z:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Wb(a,":");case"zzzz":default:return"GMT"+va(a,":");}},t:function(e,t,r,n){var a=n._originalDate||e;return ba(Math.floor(a.getTime()/1e3),t.length)},T:function(e,t,r,n){return ba((n._originalDate||e).getTime(),t.length)}};function Wb(e,t){var r=e>0?"-":"+",n=Math.abs(e),a=Math.floor(n/60),o=n%60;if(0===o)return r+String(a);var s=t||"";return r+String(a)+s+ba(o,2)}function Xb(e,t){return e%60==0?(e>0?"-":"+")+ba(Math.abs(e)/60,2):va(e,t)}function va(e,t){var r=t||"",n=e>0?"-":"+",a=Math.abs(e);return n+ba(Math.floor(a/60),2)+r+ba(a%60,2)}function Yb(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"});}}function Zb(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"});}}function Pg(e,t){var r,n=e.match(/(P+)(p+)?/),a=n[1],o=n[2];if(!o)return Yb(e,t);switch(a){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;case"PPPP":default:r=t.dateTime({width:"full"});}return r.replace("{{date}}",Yb(a,t)).replace("{{time}}",Zb(o,t))}var $b={p:Zb,P:Pg},Qg=["D","DD"],Rg=["YY","YYYY"];function _b(e){return-1!==Qg.indexOf(e)}function ac(e){return-1!==Rg.indexOf(e)}function Sa(e){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` for formatting years; see: https://git.io/fxCyr");if("YY"===e)throw new RangeError("Use `yy` instead of `YY` for formatting years; see: https://git.io/fxCyr");if("D"===e)throw new RangeError("Use `d` instead of `D` for formatting days of the month; see: https://git.io/fxCyr");if("DD"===e)throw new RangeError("Use `dd` instead of `DD` for formatting days of the month; see: https://git.io/fxCyr")}var Sg=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Tg=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ug=/^'(.*?)'?$/,Vg=/''/g,Wg=/[a-zA-Z]/;function Xg(e,t,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=String(t),a=r||{},o=a.locale||Rb,s=o.options&&o.options.firstWeekContainsDate,i=null==s?1:ea(s),u=null==a.firstWeekContainsDate?i:ea(a.firstWeekContainsDate);if(!(u>=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var c=o.options&&o.options.weekStartsOn,l=null==c?0:ea(c),$=null==a.weekStartsOn?l:ea(a.weekStartsOn);if(!($>=0&&$<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!o.localize)throw new RangeError("locale must contain localize property");if(!o.formatLong)throw new RangeError("locale must contain formatLong property");var d=ia(e);if(!Qa(d))throw new RangeError("Invalid time value");var f=Sb(d,Qb(d)),v={firstWeekContainsDate:u,weekStartsOn:$,locale:o,_originalDate:d};return n.match(Tg).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,$b[t])(e,o.formatLong,v):e}).join("").match(Sg).map(function(e){if("''"===e)return"'";var t=e[0];if("'"===t)return Yg(e);var r=Og[t];if(r)return!a.useAdditionalWeekYearTokens&&ac(e)&&Sa(e),!a.useAdditionalDayOfYearTokens&&_b(e)&&Sa(e),r(f,e,o.localize,v);if(t.match(Wg))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return e}).join("")}function Yg(e){return e.match(Ug)[1].replace(Vg,"'")}function Zg(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var r in t=t||{})t.hasOwnProperty(r)&&(e[r]=t[r]);return e}function eb(e,t,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=r||{},a=n.locale,o=a&&a.options&&a.options.weekStartsOn,s=null==o?0:ea(o),i=null==n.weekStartsOn?s:ea(n.weekStartsOn);if(!(i>=0&&i<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=ia(e),c=ea(t),l=((c%7+7)%70,a=n?t:1-t;if(a<=50)r=e||100;else{var o=a+50;r=e+100*Math.floor(o/100)-(e>=o%100?100:0)}return n?r:1-r}var eh=[31,28,31,30,31,30,31,31,30,31,30,31],fh=[31,29,31,30,31,30,31,31,30,31,30,31];function ec(e){return e%400==0||e%4==0&&e%100!=0}var gh={G:{priority:140,parse:function(e,t,r,n){switch(t){case"G":case"GG":case"GGG":return r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"});case"GGGGG":return r.era(e,{width:"narrow"});case"GGGG":default:return r.era(e,{width:"wide"})||r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"});}},set:function(e,t,r,n){return t.era=r,e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(e,t,r,n){var a=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return fa(4,e,a);case"yo":return r.ordinalNumber(e,{unit:"year",valueCallback:a});default:return fa(t.length,e,a);}},validate:function(e,t,r){return t.isTwoDigitYear||t.year>0},set:function(e,t,r,n){var a=e.getUTCFullYear();if(r.isTwoDigitYear){var o=dc(r.year,a);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}var s="era"in t&&1!==t.era?1-r.year:r.year;return e.setUTCFullYear(s,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(e,t,r,n){var a=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return fa(4,e,a);case"Yo":return r.ordinalNumber(e,{unit:"year",valueCallback:a});default:return fa(t.length,e,a);}},validate:function(e,t,r){return t.isTwoDigitYear||t.year>0},set:function(e,t,r,n){var a=db(e,n);if(r.isTwoDigitYear){var o=dc(r.year,a);return e.setUTCFullYear(o,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),ua(e,n)}var s="era"in t&&1!==t.era?1-r.year:r.year;return e.setUTCFullYear(s,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),ua(e,n)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(e,t,r,n){return cc("R"===t?4:t.length,e)},set:function(e,t,r,n){var a=new Date(0);return a.setUTCFullYear(r,0,4),a.setUTCHours(0,0,0,0),za(a)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(e,t,r,n){return cc("u"===t?4:t.length,e)},set:function(e,t,r,n){return e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(e,t,r,n){switch(t){case"Q":case"QQ":return fa(t.length,e);case"Qo":return r.ordinalNumber(e,{unit:"quarter"});case"QQQ":return r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(e,{width:"wide",context:"formatting"})||r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"});}},validate:function(e,t,r){return t>=1&&t<=4},set:function(e,t,r,n){return e.setUTCMonth(3*(r-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(e,t,r,n){switch(t){case"q":case"qq":return fa(t.length,e);case"qo":return r.ordinalNumber(e,{unit:"quarter"});case"qqq":return r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(e,{width:"wide",context:"standalone"})||r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"});}},validate:function(e,t,r){return t>=1&&t<=4},set:function(e,t,r,n){return e.setUTCMonth(3*(r-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(e,t,r,n){var a=function(e){return e-1};switch(t){case"M":return ca(ga.month,e,a);case"MM":return fa(2,e,a);case"Mo":return r.ordinalNumber(e,{unit:"month",valueCallback:a});case"MMM":return r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(e,{width:"wide",context:"formatting"})||r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"});}},validate:function(e,t,r){return t>=0&&t<=11},set:function(e,t,r,n){return e.setUTCMonth(r,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(e,t,r,n){var a=function(e){return e-1};switch(t){case"L":return ca(ga.month,e,a);case"LL":return fa(2,e,a);case"Lo":return r.ordinalNumber(e,{unit:"month",valueCallback:a});case"LLL":return r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(e,{width:"wide",context:"standalone"})||r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"});}},validate:function(e,t,r){return t>=0&&t<=11},set:function(e,t,r,n){return e.setUTCMonth(r,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(e,t,r,n){switch(t){case"w":return ca(ga.week,e);case"wo":return r.ordinalNumber(e,{unit:"week"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=1&&t<=53},set:function(e,t,r,n){return ua(ah(e,r,n),n)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(e,t,r,n){switch(t){case"I":return ca(ga.week,e);case"Io":return r.ordinalNumber(e,{unit:"week"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=1&&t<=53},set:function(e,t,r,n){return za(_g(e,r,n),n)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,parse:function(e,t,r,n){switch(t){case"d":return ca(ga.date,e);case"do":return r.ordinalNumber(e,{unit:"date"});default:return fa(t.length,e);}},validate:function(e,t,r){var n=ec(e.getUTCFullYear()),a=e.getUTCMonth();return n?t>=1&&t<=fh[a]:t>=1&&t<=eh[a]},set:function(e,t,r,n){return e.setUTCDate(r),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,parse:function(e,t,r,n){switch(t){case"D":case"DD":return ca(ga.dayOfYear,e);case"Do":return r.ordinalNumber(e,{unit:"date"});default:return fa(t.length,e);}},validate:function(e,t,r){return ec(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,r,n){return e.setUTCMonth(0,r),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(e,t,r,n){switch(t){case"E":case"EE":case"EEE":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});}},validate:function(e,t,r){return t>=0&&t<=6},set:function(e,t,r,n){return(e=eb(e,r,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(e,t,r,n){var a=function(e){var t=7*Math.floor((e-1)/7);return(e+n.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return fa(t.length,e,a);case"eo":return r.ordinalNumber(e,{unit:"day",valueCallback:a});case"eee":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"eeeee":return r.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});}},validate:function(e,t,r){return t>=0&&t<=6},set:function(e,t,r,n){return(e=eb(e,r,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(e,t,r,n){var a=function(e){var t=7*Math.floor((e-1)/7);return(e+n.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return fa(t.length,e,a);case"co":return r.ordinalNumber(e,{unit:"day",valueCallback:a});case"ccc":return r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});case"ccccc":return r.day(e,{width:"narrow",context:"standalone"});case"cccccc":return r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return r.day(e,{width:"wide",context:"standalone"})||r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});}},validate:function(e,t,r){return t>=0&&t<=6},set:function(e,t,r,n){return(e=eb(e,r,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(e,t,r,n){var a=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return fa(t.length,e);case"io":return r.ordinalNumber(e,{unit:"day"});case"iii":return r.day(e,{width:"abbreviated",context:"formatting",valueCallback:a})||r.day(e,{width:"short",context:"formatting",valueCallback:a})||r.day(e,{width:"narrow",context:"formatting",valueCallback:a});case"iiiii":return r.day(e,{width:"narrow",context:"formatting",valueCallback:a});case"iiiiii":return r.day(e,{width:"short",context:"formatting",valueCallback:a})||r.day(e,{width:"narrow",context:"formatting",valueCallback:a});case"iiii":default:return r.day(e,{width:"wide",context:"formatting",valueCallback:a})||r.day(e,{width:"abbreviated",context:"formatting",valueCallback:a})||r.day(e,{width:"short",context:"formatting",valueCallback:a})||r.day(e,{width:"narrow",context:"formatting",valueCallback:a});}},validate:function(e,t,r){return t>=1&&t<=7},set:function(e,t,r,n){return(e=$g(e,r,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:{priority:80,parse:function(e,t,r,n){switch(t){case"a":case"aa":case"aaa":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});}},set:function(e,t,r,n){return e.setUTCHours(fb(r),0,0,0),e},incompatibleTokens:["b","B","H","K","k","t","T"]},b:{priority:80,parse:function(e,t,r,n){switch(t){case"b":case"bb":case"bbb":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});}},set:function(e,t,r,n){return e.setUTCHours(fb(r),0,0,0),e},incompatibleTokens:["a","B","H","K","k","t","T"]},B:{priority:80,parse:function(e,t,r,n){switch(t){case"B":case"BB":case"BBB":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});}},set:function(e,t,r,n){return e.setUTCHours(fb(r),0,0,0),e},incompatibleTokens:["a","b","t","T"]},h:{priority:70,parse:function(e,t,r,n){switch(t){case"h":return ca(ga.hour12h,e);case"ho":return r.ordinalNumber(e,{unit:"hour"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=1&&t<=12},set:function(e,t,r,n){var a=e.getUTCHours()>=12;return a&&r<12?e.setUTCHours(r+12,0,0,0):a||12!==r?e.setUTCHours(r,0,0,0):e.setUTCHours(0,0,0,0),e},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(e,t,r,n){switch(t){case"H":return ca(ga.hour23h,e);case"Ho":return r.ordinalNumber(e,{unit:"hour"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=0&&t<=23},set:function(e,t,r,n){return e.setUTCHours(r,0,0,0),e},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(e,t,r,n){switch(t){case"K":return ca(ga.hour11h,e);case"Ko":return r.ordinalNumber(e,{unit:"hour"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=0&&t<=11},set:function(e,t,r,n){return e.getUTCHours()>=12&&r<12?e.setUTCHours(r+12,0,0,0):e.setUTCHours(r,0,0,0),e},incompatibleTokens:["a","b","h","H","k","t","T"]},k:{priority:70,parse:function(e,t,r,n){switch(t){case"k":return ca(ga.hour24h,e);case"ko":return r.ordinalNumber(e,{unit:"hour"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=1&&t<=24},set:function(e,t,r,n){var a=r<=24?r%24:r;return e.setUTCHours(a,0,0,0),e},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(e,t,r,n){switch(t){case"m":return ca(ga.minute,e);case"mo":return r.ordinalNumber(e,{unit:"minute"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=0&&t<=59},set:function(e,t,r,n){return e.setUTCMinutes(r,0,0),e},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(e,t,r,n){switch(t){case"s":return ca(ga.second,e);case"so":return r.ordinalNumber(e,{unit:"second"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=0&&t<=59},set:function(e,t,r,n){return e.setUTCSeconds(r,0),e},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(e,t,r,n){return fa(t.length,e,function(e){return Math.floor(e*Math.pow(10,3-t.length))})},set:function(e,t,r,n){return e.setUTCMilliseconds(r),e},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(e,t,r,n){switch(t){case"X":return pa(oa.basicOptionalMinutes,e);case"XX":return pa(oa.basic,e);case"XXXX":return pa(oa.basicOptionalSeconds,e);case"XXXXX":return pa(oa.extendedOptionalSeconds,e);case"XXX":default:return pa(oa.extended,e);}},set:function(e,t,r,n){return t.timestampIsSet?e:new Date(e.getTime()-r)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(e,t,r,n){switch(t){case"x":return pa(oa.basicOptionalMinutes,e);case"xx":return pa(oa.basic,e);case"xxxx":return pa(oa.basicOptionalSeconds,e);case"xxxxx":return pa(oa.extendedOptionalSeconds,e);case"xxx":default:return pa(oa.extended,e);}},set:function(e,t,r,n){return t.timestampIsSet?e:new Date(e.getTime()-r)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(e,t,r,n){return bc(e)},set:function(e,t,r,n){return[new Date(1e3*r),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(e,t,r,n){return bc(e)},set:function(e,t,r,n){return[new Date(r),{timestampIsSet:!0}]},incompatibleTokens:"*"}},hh=10,ih=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,jh=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,kh=/^'(.*?)'?$/,lh=/''/g,mh=/\S/,nh=/[a-zA-Z]/;function fc(e,t,r,n){if(arguments.length<3)throw new TypeError("3 arguments required, but only "+arguments.length+" present");var a=String(e),o=String(t),s=n||{},i=s.locale||Rb;if(!i.match)throw new RangeError("locale must contain match property");var u=i.options&&i.options.firstWeekContainsDate,c=null==u?1:ea(u),l=null==s.firstWeekContainsDate?c:ea(s.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var $=i.options&&i.options.weekStartsOn,d=null==$?0:ea($),f=null==s.weekStartsOn?d:ea(s.weekStartsOn);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===o)return""===a?ia(r):new Date(NaN);var v,h={firstWeekContainsDate:l,weekStartsOn:f,locale:i},w=[{priority:hh,set:oh,index:0}],p=o.match(jh).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,$b[t])(e,i.formatLong,h):e}).join("").match(ih),g=[];for(v=0;v0&&mh.test(a))return new Date(NaN);var x=w.map(function(e){return e.priority}).sort(function(e,t){return t-e}).filter(function(e,t,r){return r.indexOf(e)===t}).map(function(e){return w.filter(function(t){return t.priority===e}).reverse()}).map(function(e){return e[0]}),S=ia(r);if(isNaN(S))return new Date(NaN);var O=Sb(S,Qb(S)),k={};for(v=0;v=0?parseFloat(e):parseInt(e,10)}return(e="number"==typeof e?e:r(e))<(t="number"==typeof t?t:r(t))?-1:e>t?1:0};var rh=Object.freeze({default:wa}),gc=ka(wa);gc.format=function(e){return null==e?"":parseFloat(Math.round(100*e)/100).toFixed(2)};var sh=Object.freeze({default:gc}),hc=ka(wa);hc.format=function(e){return null==e?"":"".concat(parseFloat(100*e).toFixed(2),"%")};var th=Object.freeze({default:hc}),Ea=ka(ya);Ea.isRight=!0,Ea.filterPredicate=function(e,t){return 0===Ea.compare(e,t)},Ea.compare=function(e,t){function r(e){return"boolean"==typeof e?e?1:0:"string"==typeof e?"true"===e?1:0:-1/0}return(e=r(e))<(t=r(t))?-1:e>t?1:0};var uh=Object.freeze({default:Ea}),vh={date:qh,decimal:sh,number:rh,percentage:th,boolean:uh},ic={},jc=vh;da(Object.keys(jc),function(e){var t=e.replace(/^\.\//,"").replace(/\.js/,"");ic[t]=jc[e].default});var wh={name:"vue-good-table",props:{isLoading:{default:null,type:Boolean},maxHeight:{default:null,type:String},fixedHeader:Boolean,theme:{default:""},mode:{default:"local"},totalRows:{},styleClass:{default:"vgt-table bordered"},columns:{},rows:{},lineNumbers:Boolean,responsive:{default:!0,type:Boolean},rtl:Boolean,rowStyleClass:{default:null,type:[Function,String]},compactMode:Boolean,groupOptions:{default:function(){return{enabled:!1,collapsable:!1,rowKey:null}}},selectOptions:{default:function(){return{enabled:!1,selectionInfoClass:"",selectionText:"rows selected",clearSelectionText:"clear",disableSelectInfo:!1,selectAllByGroup:!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",maintainExpanded:!0,expandedRowKeys:new Set,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:ic||{}}},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(e,t){ab(e,t)||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(e,t){ab(e,t)||this.initializeSort()},deep:!0},selectedRows:function(e,t){ab(e,t)||this.$emit("on-selected-rows-change",{selectedRows:this.selectedRows})}},computed:{tableStyles:function(){return this.compactMode?this.tableStyleClasses+"vgt-compact":this.tableStyleClasses},hasFooterSlot:function(){return!!this.$slots["table-actions-bottom"]},wrapperStyles:function(){return{overflow:"scroll-y",maxHeight:this.maxHeight?this.maxHeight:"auto"}},rowKeyField:function(){return this.groupOptions.rowKey||"vgt_header_id"},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 e=[];return da(this.paginated,function(t){da(t.children,function(t){t.vgtSelected&&e.push(t)})}),e},selectedRows:function(){var e=[];return da(this.processedRows,function(t){da(t.children,function(t){t.vgtSelected&&e.push(t)})}),e.sort(function(e,t){return e.originalIndex-t.originalIndex})},fullColspan:function(){for(var e=0,t=0;t=t.length||-1===this.currentPerPage)&&(this.currentPage=1,r=0);var n=t.length+1;-1!==this.currentPerPage&&(n=this.currentPage*this.currentPerPage),t=t.slice(r,n)}var a=[];return t.forEach(function(t){if(void 0!==t.vgt_header_id){e.handleExpanded(t);var r=ka(t);r.children=[],a.push(r)}else{var n=a.find(function(e){return e.vgt_header_id===t.vgt_id});n||(n=e.processedRows.find(function(e){return e.vgt_header_id===t.vgt_id}))&&((n=ka(n)).children=[],a.push(n)),n.children.push(t)}}),a},originalRows:function(){var e=ka(this.rows),t=[];t=this.groupOptions.enabled?this.handleGrouped(e):this.handleGrouped([{label:"no groups",children:e}]);var r=0;return da(t,function(e,t){da(e.children,function(e,t){e.originalIndex=r++})}),t},typedColumns:function(){for(var e=Jb(this.columns,[]),t=0;t2&&void 0!==arguments[2]&&arguments[2]&&t.headerField?this.collect(e,t.headerField):this.collect(e,t.field)))return"";if(t.formatFn&&"function"==typeof t.formatFn)return t.formatFn(r,e);var n=t.typeDef;n||(n=this.dataTypes[t.type]||ya);var a=n.format(r,t);return!this.compactMode||""!=a&&null!=a?a:"-"},formattedRow:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={},n=0;n1&&void 0!==arguments[1])||arguments[1];this.columnFilters=e;var n=ka(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=n);for(var a=function(e){var r=t.typedColumns[e];t.columnFilters[r.field]&&(n=da(n,function(e){var n=e.children.filter(function(e){return r.filterOptions&&"function"==typeof r.filterOptions.filterFn?r.filterOptions.filterFn(t.collect(e,r.field),t.columnFilters[r.field]):r.typeDef.filterPredicate(t.collect(e,r.field),t.columnFilters[r.field],!1,r.filterOptions&&"object"===Ma(r.filterOptions.filterDropdownItems))});e.children=n}))},o=0;o0&&this.options.search&&this.rows.length},storeName:function(){return"kirby$plugin$pagetable"+this.parent+"-"+this.name},showOptions:function(){return this.options.showStatus||this.options.showActions}},watch:{language:function(){this.reload()}},created:function(){this.load(),this.loadStoredState()},methods:{replaceInvalidDate:function(t){return t.replace("Invalid Date","-")},load:function(t){var e=this;t||(this.isLoading=!0),this.$api.get(this.parent+"/sections/"+this.name).then(function(t){e.isLoading=!1,e.options=t.options,e.columns=t.data.columns,e.rows=e.items(t.data.rows);var s=t.translations;Object.keys(s).forEach(function(t){null==s[t]&&delete s[t]}),e.translations=Object.assign({},e.translations,s)}).catch(function(t){e.isLoading=!1,e.error=t.message})},openRef:function(t){this.$refs[t].toggle()},onSearch:function(t){this.storeCurrentState(),this.checkReset()},onPerPageChange:function(t){this.$refs.table&&this.$refs.table.changePage(1)},onPageChange:function(t){this.storeCurrentState(),this.checkReset()},onSortChange:function(t){this.storeCurrentState(),this.checkReset()},checkReset:function(){this.showReset=this.rows.length&&(this.searchTerm.length>0||this.$refs.table&&this.$refs.table.sorts.length||this.$refs.table&&1!=this.$refs.table.currentPage)},loadStoredState:function(){var t=JSON.parse(sessionStorage.getItem(this.storeName));null!==t&&(this.storedState=t,t.searchTerm&&t.searchTerm.length>0&&(this.searchTerm=t.searchTerm))},storeCurrentState:function(){if(this.$refs.table){var t={};t.page={currentPage:this.$refs.table.currentPage,currentPerPage:this.$refs.table.currentPerPage},this.$refs.table.sorts[0]&&(t.sort={field:this.$refs.table.sorts[0].field,type:this.$refs.table.sorts[0].type}),t.searchTerm=this.searchTerm,sessionStorage.setItem(this.storeName,JSON.stringify(t))}},resetTable:function(){this.$refs.table.changeSort([]),document.querySelectorAll(".sorting").forEach(function(t){"TH"==t.tagName&&t.classList.remove("sorting","sorting-asc","sorting-desc")}),this.searchTerm="",this.$refs.table.currentPerPage=this.options.limit,this.$refs.table.perPage=this.options.limit,this.$refs.table.changePage(1),this.storeCurrentState()}}};if(typeof Ua==="function"){Ua=Ua.options}Object.assign(Ua,function(){var render=function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("section",{staticClass:"k-pagetable-section"},[_c("header",{staticClass:"k-section-header"},[_c("k-headline",{attrs:{"link":_vm.options.link}},[_vm.isLoading?_c("span",[_vm._v("\u2026")]):_c("span",[_vm._v(_vm._s(_vm.headline))])]),_vm._v(" "),_c("k-button-group",[_vm.showReset?_c("button",{staticClass:"pagetable-reset-button",domProps:{"innerHTML":_vm._s(_vm.translations.reset)},on:{"click":_vm.resetTable}}):_vm._e(),_vm._v(" "),_vm.showSearch?_c("input",{directives:[{name:"model",rawName:"v-model",value:_vm.searchTerm,expression:"searchTerm"}],staticClass:"pagetable-search-input",attrs:{"type":"text","placeholder":_vm.translations.filter},domProps:{"value":_vm.searchTerm},on:{"input":function($event){if($event.target.composing){return}_vm.searchTerm=$event.target.value}}}):_vm._e(),_vm._v(" "),_vm.add?_c("k-button",{attrs:{"icon":"add"},on:{"click":_vm.create}},[_vm._v(_vm._s(_vm.$t("add")))]):_vm._e()],1)],1),_vm._v(" "),_vm.rows.length&&!_vm.isLoading?_c("vue-good-table",{ref:"table",attrs:{"columns":_vm.columns,"rows":_vm.rows,"sort-options":_vm.sortOptions,"search-options":_vm.searchOptions,"pagination-options":_vm.paginationOptions},on:{"on-search":_vm.onSearch,"on-sort-change":_vm.onSortChange,"on-page-change":_vm.onPageChange,"on-per-page-change":_vm.onPerPageChange},scopedSlots:_vm._u([{key:"table-row",fn:function(props){return[props.column.field=="p-cover-image"&&_vm.options.showImage?_c("span",[_c("k-link",{attrs:{"to":props.row.link}},[_c("figure",{staticClass:"k-list-item-image"},[props.row.image&&props.row.image.url?_c("k-image",{attrs:{"src":props.row.image.url,"back":props.row.image.back||"pattern","cover":props.row.image.cover}}):_c("k-icon",_vm._b({},"k-icon",props.row.icon,false))],1)])],1):props.column.field=="p-options"&&_vm.showOptions?_c("span",[_c("div",{staticClass:"k-list-item-options"},[_vm._t("options",[props.row.flag&&_vm.options.showStatus?_c("k-status-icon",_vm._b({staticClass:"k-list-item-status"},"k-status-icon",props.row.flag,false)):_vm._e(),_vm._v(" "),props.row.options&&_vm.options.showActions?_c("k-button",{staticClass:"k-list-item-toggle",attrs:{"tooltip":_vm.$t("options"),"icon":"dots","alt":"Options"},on:{"click":function($event){$event.stopPropagation();return _vm.openRef("dropdown-"+props.row.originalIndex)}}}):_vm._e(),_vm._v(" "),_vm.options.showActions?_c("k-dropdown-content",{ref:"dropdown-"+props.row.originalIndex,attrs:{"options":props.row.options,"align":"right"},on:{"action":function($event){return _vm.action(props.row,$event)}}}):_vm._e()])],2)]):_c("k-link",{attrs:{"to":props.row.link},domProps:{"innerHTML":_vm._s(_vm.replaceInvalidDate(props.formattedRow[props.column.field]))}})]}}],null,false,3814505600)}):!_vm.rows.length&&!_vm.isLoading?[_c("k-empty",{attrs:{"layout":_vm.options.layout,"data-invalid":_vm.isInvalid,"icon":"page"},on:{"click":_vm.create}},[_vm._v(" "+_vm._s(_vm.translations.empty)+" ")]),_vm._v(" "),_c("footer",{staticClass:"k-collection-footer"},[_vm.help?_c("k-text",{staticClass:"k-collection-help",attrs:{"theme":"help"},domProps:{"innerHTML":_vm._s(_vm.help)}}):_vm._e()],1)]:_vm.isLoading?_c("div",{staticClass:"loading"},[_c("k-empty",{attrs:{"layout":_vm.options.layout,"icon":"pagetableLoader"}},[_vm._v(" "+_vm._s(_vm.translations.loading)+" ")])],1):_vm._e(),_vm._v(" "),_c("k-page-create-dialog",{ref:"create"}),_vm._v(" "),_c("k-page-duplicate-dialog",{ref:"duplicate"}),_vm._v(" "),_c("k-page-rename-dialog",{ref:"rename",on:{"success":_vm.update}}),_vm._v(" "),_c("k-page-sort-dialog",{ref:"sort",on:{"success":_vm.update}}),_vm._v(" "),_c("k-page-status-dialog",{ref:"status",on:{"success":_vm.update}}),_vm._v(" "),_c("k-page-template-dialog",{ref:"template",on:{"success":_vm.update}}),_vm._v(" "),_c("k-page-remove-dialog",{ref:"remove",on:{"success":_vm.update}})],2)};var staticRenderFns=[];return{render:render,staticRenderFns:staticRenderFns,_compiled:true,_scopeId:null,functional:undefined}}());panel.plugin("sylvainjule/pagetable",{sections:{pagetable:Ua},icons:{pagetableLoader:""}});})(); \ No newline at end of file +(function () {var Fa=this;var kc=pc;var hb=sc;for(var na=[],la=[],lc="undefined"!=typeof Uint8Array?Uint8Array:Array,Va="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xa=0,mc=Va.length;xa0)throw new Error("Invalid string. Length must be a multiple of 4");var p=$.indexOf("=");return-1===p&&(p=r),[p,p===r?0:4-p%4]}function oc($,r,p){return 3*(r+p)/4-p}function pc($){var r,p,o=nc($),e=o[0],y=o[1],h=new lc(oc($,e,y)),a=0,t=y>0?e-4:e;for(p=0;p>16&255,h[a++]=r>>8&255,h[a++]=255&r;return 2===y&&(r=la[$.charCodeAt(p)]<<2|la[$.charCodeAt(p+1)]>>4,h[a++]=255&r),1===y&&(r=la[$.charCodeAt(p)]<<10|la[$.charCodeAt(p+1)]<<4|la[$.charCodeAt(p+2)]>>2,h[a++]=r>>8&255,h[a++]=255&r),h}function qc($){return na[$>>18&63]+na[$>>12&63]+na[$>>6&63]+na[63&$]}function rc($,r,p){for(var o,e=[],y=r;yh?h:y+16383));return 1===o?(r=$[p-1],e.push(na[r>>2]+na[r<<4&63]+"==")):2===o&&(r=($[p-2]<<8)+$[p-1],e.push(na[r>>10]+na[r>>4&63]+na[r<<2&63]+"=")),e.join("")}la["-".charCodeAt(0)]=62,la["_".charCodeAt(0)]=63;var Ga=function(t,r,o,a,$){var e,p,J=8*$-a-1,N=(1<>1,M=-7,w=o?$-1:0,f=o?-1:1,i=t[r+w];for(w+=f,e=i&(1<<-M)-1,i>>=-M,M+=J;M>0;e=256*e+t[r+w],w+=f,M-=8);for(p=e&(1<<-M)-1,e>>=-M,M+=a;M>0;p=256*p+t[r+w],w+=f,M-=8);if(0===e)e=1-h;else{if(e===N)return p?NaN:1/0*(i?-1:1);p+=Math.pow(2,a),e-=h}return(i?-1:1)*p*Math.pow(2,e-a)};var ib=function(t,r,o,a,$,e){var p,J,N,h=8*e-$-1,M=(1<>1,f=23===$?Math.pow(2,-24)-Math.pow(2,-77):0,i=a?0:e-1,g=a?1:-1,s=r<0||0===r&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(J=isNaN(r)?1:0,p=M):(p=Math.floor(Math.log(r)/Math.LN2),r*(N=Math.pow(2,-p))<1&&(p--,N*=2),(r+=p+w>=1?f/N:f*Math.pow(2,1-w))*N>=2&&(p++,N/=2),p+w>=M?(J=0,p=M):p+w>=1?(J=(r*N-1)*Math.pow(2,$),p+=w):(J=r*Math.pow(2,w-1)*Math.pow(2,$),p=0));$>=8;t[o+i]=255&J,i+=g,J/=256,$-=8);for(p=p<<$|J,h+=$;h>0;t[o+i]=255&p,i+=g,p/=256,h-=8);t[o+i-g]|=128*s};var jb={},tc={}.toString;jb=Array.isArray||function(r){return"[object Array]"==tc.call(r)};var uc=50;aa.TYPED_ARRAY_SUPPORT=void 0!==Fa.TYPED_ARRAY_SUPPORT?Fa.TYPED_ARRAY_SUPPORT:vc();var a=Ha();function vc(){try{var r=new Uint8Array(1);return r.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===r.foo()&&"function"==typeof r.subarray&&0===r.subarray(1,1).byteLength}catch(e){return!1}}function Ha(){return aa.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function qa(r,e){if(Ha()=Ha())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ha().toString(16)+" bytes");return 0|r}function mb(r,e){if(aa.isBuffer(r))return r.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(r)||r instanceof ArrayBuffer))return r.byteLength;"string"!=typeof r&&(r=""+r);var t=r.length;if(0===t)return 0;for(var $=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":case void 0:return Ka(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return vb(r).length;default:if($)return Ka(r).length;e=(""+e).toLowerCase(),$=!0;}}function Ac(r,e,t){var $=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===t||t>this.length)&&(t=this.length),t<=0)return"";if((t>>>=0)<=(e>>>=0))return"";for(r||(r="utf8");;)switch(r){case"hex":return Kc(this,e,t);case"utf8":case"utf-8":return qb(this,e,t);case"ascii":return Ic(this,e,t);case"latin1":case"binary":return Jc(this,e,t);case"base64":return Gc(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Lc(this,e,t);default:if($)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),$=!0;}}function sa(r,e,t){var $=r[e];r[e]=r[t],r[t]=$}function nb(r,e,t,$,n){if(0===r.length)return-1;if("string"==typeof t?($=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,isNaN(t)&&(t=n?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(n)return-1;t=r.length-1}else if(t<0){if(!n)return-1;t=0}if("string"==typeof e&&(e=aa.from(e,$)),aa.isBuffer(e))return 0===e.length?-1:ob(r,e,t,$,n);if("number"==typeof e)return e&=255,aa.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):ob(r,[e],t,$,n);throw new TypeError("val must be string, number or Buffer")}function ob(r,e,t,$,n){var s,f=1,h=r.length,a=e.length;if(void 0!==$&&("ucs2"===($=String($).toLowerCase())||"ucs-2"===$||"utf16le"===$||"utf-16le"===$)){if(r.length<2||e.length<2)return-1;f=2,h/=2,a/=2,t/=2}function i(r,e){return 1===f?r[e]:r.readUInt16BE(e*f)}if(n){var o=-1;for(s=t;sh&&(t=h-a),s=t;s>=0;s--){for(var u=!0,d=0;dn&&($=n):$=n;var s=e.length;if(s%2!=0)throw new TypeError("Invalid hex string");$>s/2&&($=s/2);for(var f=0;f<$;++f){var h=parseInt(e.substr(2*f,2),16);if(isNaN(h))return f;r[t+f]=h}return f}function Cc(r,e,t,$){return La(Ka(e,r.length-t),r,t,$)}function pb(r,e,t,$){return La(Qc(e),r,t,$)}function Dc(r,e,t,$){return pb(r,e,t,$)}function Ec(r,e,t,$){return La(vb(e),r,t,$)}function Fc(r,e,t,$){return La(Rc(e,r.length-t),r,t,$)}function Gc(r,e,t){return 0===e&&t===r.length?hb(r):hb(r.slice(e,t))}function qb(r,e,t){t=Math.min(r.length,t);for(var $=[],n=e;n239?4:i>223?3:i>191?2:1;if(n+u<=t)switch(u){case 1:i<128&&(o=i);break;case 2:128==(192&(s=r[n+1]))&&(a=(31&i)<<6|63&s)>127&&(o=a);break;case 3:s=r[n+1],f=r[n+2],128==(192&s)&&128==(192&f)&&(a=(15&i)<<12|(63&s)<<6|63&f)>2047&&(a<55296||a>57343)&&(o=a);break;case 4:s=r[n+1],f=r[n+2],h=r[n+3],128==(192&s)&&128==(192&f)&&128==(192&h)&&(a=(15&i)<<18|(63&s)<<12|(63&f)<<6|63&h)>65535&&a<1114112&&(o=a);}null===o?(o=65533,u=1):o>65535&&(o-=65536,$.push(o>>>10&1023|55296),o=56320|1023&o),$.push(o),n+=u}return Hc($)}aa.poolSize=8192,aa._augment=function(r){return r.__proto__=aa.prototype,r},aa.from=function(r,e,t){return kb(null,r,e,t)},aa.TYPED_ARRAY_SUPPORT&&(aa.prototype.__proto__=Uint8Array.prototype,aa.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&aa[Symbol.species]===aa&&Object.defineProperty(aa,Symbol.species,{value:null,configurable:!0})),aa.alloc=function(r,e,t){return wc(null,r,e,t)},aa.allocUnsafe=function(r){return Wa(null,r)},aa.allocUnsafeSlow=function(r){return Wa(null,r)},aa.isBuffer=function(r){return!(null==r||!r._isBuffer)},aa.compare=function(r,e){if(!aa.isBuffer(r)||!aa.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(r===e)return 0;for(var t=r.length,$=e.length,n=0,s=Math.min(t,$);n0&&(r=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(r+=" ... ")),""},aa.prototype.compare=function(r,e,t,$,n){if(!aa.isBuffer(r))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===t&&(t=r?r.length:0),void 0===$&&($=0),void 0===n&&(n=this.length),e<0||t>r.length||$<0||n>this.length)throw new RangeError("out of range index");if($>=n&&e>=t)return 0;if($>=n)return-1;if(e>=t)return 1;if(this===r)return 0;for(var s=(n>>>=0)-($>>>=0),f=(t>>>=0)-(e>>>=0),h=Math.min(s,f),a=this.slice($,n),i=r.slice(e,t),o=0;on)&&(t=n),r.length>0&&(t<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");$||($="utf8");for(var s=!1;;)switch($){case"hex":return Bc(this,r,e,t);case"utf8":case"utf-8":return Cc(this,r,e,t);case"ascii":return pb(this,r,e,t);case"latin1":case"binary":return Dc(this,r,e,t);case"base64":return Ec(this,r,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Fc(this,r,e,t);default:if(s)throw new TypeError("Unknown encoding: "+$);$=(""+$).toLowerCase(),s=!0;}},aa.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var rb=4096;function Hc(r){var e=r.length;if(e<=rb)return String.fromCharCode.apply(String,r);for(var t="",$=0;$$)&&(t=$);for(var n="",s=e;st)throw new RangeError("Trying to access beyond buffer length")}function ja(r,e,t,$,n,s){if(!aa.isBuffer(r))throw new TypeError("\"buffer\" argument must be a Buffer instance");if(e>n||er.length)throw new RangeError("Index out of range")}function Ia(r,e,t,$){e<0&&(e=65535+e+1);for(var n=0,s=Math.min(r.length-t,2);n>>8*($?n:1-n)}function Ja(r,e,t,$){e<0&&(e=4294967295+e+1);for(var n=0,s=Math.min(r.length-t,4);n>>8*($?n:3-n)&255}function sb(r,e,t,$,n,s){if(t+$>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function tb(r,e,t,$,n){return n||sb(r,e,t,4,3.4028234663852886e38,-3.4028234663852886e38),ib(r,e,t,$,23,4),t+4}function ub(r,e,t,$,n){return n||sb(r,e,t,8,1.7976931348623157e308,-1.7976931348623157e308),ib(r,e,t,$,52,8),t+8}aa.prototype.slice=function(r,e){var t,$=this.length;if((r=~~r)<0?(r+=$)<0&&(r=0):r>$&&(r=$),(e=void 0===e?$:~~e)<0?(e+=$)<0&&(e=0):e>$&&(e=$),e0&&(n*=256);)$+=this[r+--e]*n;return $},aa.prototype.readUInt8=function(r,e){return e||ha(r,1,this.length),this[r]},aa.prototype.readUInt16LE=function(r,e){return e||ha(r,2,this.length),this[r]|this[r+1]<<8},aa.prototype.readUInt16BE=function(r,e){return e||ha(r,2,this.length),this[r]<<8|this[r+1]},aa.prototype.readUInt32LE=function(r,e){return e||ha(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+16777216*this[r+3]},aa.prototype.readUInt32BE=function(r,e){return e||ha(r,4,this.length),16777216*this[r]+(this[r+1]<<16|this[r+2]<<8|this[r+3])},aa.prototype.readIntLE=function(r,e,t){r|=0,e|=0,t||ha(r,e,this.length);for(var $=this[r],n=1,s=0;++s=(n*=128)&&($-=Math.pow(2,8*e)),$},aa.prototype.readIntBE=function(r,e,t){r|=0,e|=0,t||ha(r,e,this.length);for(var $=e,n=1,s=this[r+--$];$>0&&(n*=256);)s+=this[r+--$]*n;return s>=(n*=128)&&(s-=Math.pow(2,8*e)),s},aa.prototype.readInt8=function(r,e){return e||ha(r,1,this.length),128&this[r]?-1*(255-this[r]+1):this[r]},aa.prototype.readInt16LE=function(r,e){e||ha(r,2,this.length);var t=this[r]|this[r+1]<<8;return 32768&t?4294901760|t:t},aa.prototype.readInt16BE=function(r,e){e||ha(r,2,this.length);var t=this[r+1]|this[r]<<8;return 32768&t?4294901760|t:t},aa.prototype.readInt32LE=function(r,e){return e||ha(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},aa.prototype.readInt32BE=function(r,e){return e||ha(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},aa.prototype.readFloatLE=function(r,e){return e||ha(r,4,this.length),Ga(this,r,!0,23,4)},aa.prototype.readFloatBE=function(r,e){return e||ha(r,4,this.length),Ga(this,r,!1,23,4)},aa.prototype.readDoubleLE=function(r,e){return e||ha(r,8,this.length),Ga(this,r,!0,52,8)},aa.prototype.readDoubleBE=function(r,e){return e||ha(r,8,this.length),Ga(this,r,!1,52,8)},aa.prototype.writeUIntLE=function(r,e,t,$){(r=+r,e|=0,t|=0,$)||ja(this,r,e,t,Math.pow(2,8*t)-1,0);var n=1,s=0;for(this[e]=255&r;++s=0&&(s*=256);)this[e+n]=r/s&255;return e+t},aa.prototype.writeUInt8=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,1,255,0),aa.TYPED_ARRAY_SUPPORT||(r=Math.floor(r)),this[e]=255&r,e+1},aa.prototype.writeUInt16LE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,2,65535,0),aa.TYPED_ARRAY_SUPPORT?(this[e]=255&r,this[e+1]=r>>>8):Ia(this,r,e,!0),e+2},aa.prototype.writeUInt16BE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,2,65535,0),aa.TYPED_ARRAY_SUPPORT?(this[e]=r>>>8,this[e+1]=255&r):Ia(this,r,e,!1),e+2},aa.prototype.writeUInt32LE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,4,4294967295,0),aa.TYPED_ARRAY_SUPPORT?(this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=255&r):Ja(this,r,e,!0),e+4},aa.prototype.writeUInt32BE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,4,4294967295,0),aa.TYPED_ARRAY_SUPPORT?(this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=255&r):Ja(this,r,e,!1),e+4},aa.prototype.writeIntLE=function(r,e,t,$){if(r=+r,e|=0,!$){var n=Math.pow(2,8*t-1);ja(this,r,e,t,n-1,-n)}var s=0,f=1,h=0;for(this[e]=255&r;++s>0)-h&255;return e+t},aa.prototype.writeIntBE=function(r,e,t,$){if(r=+r,e|=0,!$){var n=Math.pow(2,8*t-1);ja(this,r,e,t,n-1,-n)}var s=t-1,f=1,h=0;for(this[e+s]=255&r;--s>=0&&(f*=256);)r<0&&0===h&&0!==this[e+s+1]&&(h=1),this[e+s]=(r/f>>0)-h&255;return e+t},aa.prototype.writeInt8=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,1,127,-128),aa.TYPED_ARRAY_SUPPORT||(r=Math.floor(r)),r<0&&(r=255+r+1),this[e]=255&r,e+1},aa.prototype.writeInt16LE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,2,32767,-32768),aa.TYPED_ARRAY_SUPPORT?(this[e]=255&r,this[e+1]=r>>>8):Ia(this,r,e,!0),e+2},aa.prototype.writeInt16BE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,2,32767,-32768),aa.TYPED_ARRAY_SUPPORT?(this[e]=r>>>8,this[e+1]=255&r):Ia(this,r,e,!1),e+2},aa.prototype.writeInt32LE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,4,2147483647,-2147483648),aa.TYPED_ARRAY_SUPPORT?(this[e]=255&r,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24):Ja(this,r,e,!0),e+4},aa.prototype.writeInt32BE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),aa.TYPED_ARRAY_SUPPORT?(this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=255&r):Ja(this,r,e,!1),e+4},aa.prototype.writeFloatLE=function(r,e,t){return tb(this,r,e,!0,t)},aa.prototype.writeFloatBE=function(r,e,t){return tb(this,r,e,!1,t)},aa.prototype.writeDoubleLE=function(r,e,t){return ub(this,r,e,!0,t)},aa.prototype.writeDoubleBE=function(r,e,t){return ub(this,r,e,!1,t)},aa.prototype.copy=function(r,e,t,$){if(t||(t=0),$||0===$||($=this.length),e>=r.length&&(e=r.length),e||(e=0),$>0&&$=this.length)throw new RangeError("sourceStart out of bounds");if($<0)throw new RangeError("sourceEnd out of bounds");$>this.length&&($=this.length),r.length-e<$-t&&($=r.length-e+t);var n,s=$-t;if(this===r&&t=0;--n)r[n+e]=this[n+t];else if(s<1e3||!aa.TYPED_ARRAY_SUPPORT)for(n=0;n>>=0,t=void 0===t?this.length:t>>>0,r||(r=0),"number"==typeof r)for(s=e;s55295&&t<57344){if(!n){if(t>56319){(e-=3)>-1&&s.push(239,191,189);continue}if(f+1===$){(e-=3)>-1&&s.push(239,191,189);continue}n=t;continue}if(t<56320){(e-=3)>-1&&s.push(239,191,189),n=t;continue}t=65536+(n-55296<<10|t-56320)}else n&&(e-=3)>-1&&s.push(239,191,189);if(n=null,t<128){if((e-=1)<0)break;s.push(t)}else if(t<2048){if((e-=2)<0)break;s.push(t>>6|192,63&t|128)}else if(t<65536){if((e-=3)<0)break;s.push(t>>12|224,t>>6&63|128,63&t|128)}else{if(!(t<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;s.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}}return s}function Qc(r){for(var e=[],t=0;t>8,n=t%256,s.push(n),s.push($);return s}function vb(r){return kc(Nc(r))}function La(r,e,t,$){for(var n=0;n<$&&!(n+t>=e.length||n>=r.length);++n)e[n+t]=r[n];return n}function Sc(r){return r!=r}function Ma(e){return(Ma="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Tc(e,t){return Vc(e)||Xc(e,t)||Zc()}function wb(e){return Uc(e)||Wc(e)||Yc()}function Uc(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t-1&&e%1==0&&e-1&&e%1==0&&e<=xb}function wd(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function xd(e){return!!e&&"object"==typeof e}function yd(e){return $a(e)?id(e):md(e)}function zd(e){return e}var da=rd,Ab=9007199254740991,Ad="[object Arguments]",Bd="[object Function]",Cd="[object GeneratorFunction]",Dd=/^(?:0|[1-9]\d*)$/;function Ed(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2]);}return e.apply(t,r)}function Fd(e,t){for(var r=-1,n=Array(e);++r1?r[a-1]:void 0,s=a>2?r[2]:void 0;for(o=e.length>3&&"function"==typeof o?(a--,o):void 0,s&&Od(r[0],r[1],s)&&(o=a<3?void 0:o,a=1),t=Object(t);++n-1&&e%1==0&&e-1&&e%1==0&&e<=Ab}function Ib(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ud(e){return!!e&&"object"==typeof e}var Vd=Nd(function(e,t){if(Id||Gb(t)||Pa(t))Md(t,Wd(t),e);else for(var r in t)Ba.call(t,r)&&Eb(e,r,t[r])});function Wd(e){return Pa(e)?Jd(e):Kd(e)}var Jb=Vd,ma="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof Fa?Fa:"undefined"!=typeof self?self:{};function _a(e,t){return e(t={exports:{}},t.exports),t.exports}var ka=_a(function(e,t){var r=200,n="__lodash_hash_undefined__",a=9007199254740991,o="[object Arguments]",s="[object Boolean]",i="[object Date]",u="[object Function]",c="[object GeneratorFunction]",l="[object Map]",$="[object Number]",d="[object Object]",f="[object RegExp]",v="[object Set]",h="[object String]",w="[object Symbol]",p="[object ArrayBuffer]",g="[object DataView]",m="[object Float32Array]",C="[object Float64Array]",_="[object Int8Array]",y="[object Int16Array]",b="[object Int32Array]",J="[object Uint8Array]",T="[object Uint8ClampedArray]",P="[object Uint16Array]",x="[object Uint32Array]",S=/\w*$/,O=/^\[object .+?Constructor\]$/,k=/^(?:0|[1-9]\d*)$/,E={};E[o]=E["[object Array]"]=E[p]=E[g]=E[s]=E[i]=E[m]=E[C]=E[_]=E[y]=E[b]=E[l]=E[$]=E[d]=E[f]=E[v]=E[h]=E[w]=E[J]=E[T]=E[P]=E[x]=!0,E["[object Error]"]=E[u]=E["[object WeakMap]"]=!1;var D="object"==typeof ma&&ma&&ma.Object===Object&&ma,j="object"==typeof self&&self&&self.Object===Object&&self,R=D||j||Function("return this")(),I=t&&!t.nodeType&&t,F=I&&e&&!e.nodeType&&e,A=F&&F.exports===I;function M(e,t){return e.set(t[0],t[1]),e}function N(e,t){return e.add(t),e}function L(e,t,r,n){var a=-1,o=e?e.length:0;for(n&&o&&(r=e[++a]);++a-1},Te.prototype.set=function(e,t){var r=this.__data__,n=ke(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},Pe.prototype.clear=function(){this.__data__={hash:new Je,map:new(de||Te),string:new Je}},Pe.prototype.delete=function(e){return Ie(this,e).delete(e)},Pe.prototype.get=function(e){return Ie(this,e).get(e)},Pe.prototype.has=function(e){return Ie(this,e).has(e)},Pe.prototype.set=function(e,t){return Ie(this,e).set(e,t),this},xe.prototype.clear=function(){this.__data__=new Te},xe.prototype.delete=function(e){return this.__data__.delete(e)},xe.prototype.get=function(e){return this.__data__.get(e)},xe.prototype.has=function(e){return this.__data__.has(e)},xe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Te){var a=n.__data__;if(!de||a.length-1&&e%1==0&&e-1&&e%1==0&&e<=a}(e.length)&&!Be(e)}var qe=ce||function(){return!1};function Be(e){var t=He(e)?Z.call(e):"";return t==u||t==c}function He(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ge(e){return Ye(e)?Se(e):function(e){if(!Le(e))return le(e);var t=[];for(var r in Object(e))X.call(e,r)&&"constructor"!=r&&t.push(r);return t}(e)}e.exports=function(e){return Ee(e,!0,!0)}}),Xd=_a(function(e,t){var r=200,n="Expected a function",a="__lodash_hash_undefined__",o=1,s=2,i=1/0,u=9007199254740991,c="[object Arguments]",l="[object Array]",$="[object Boolean]",d="[object Date]",f="[object Error]",v="[object Function]",h="[object GeneratorFunction]",w="[object Map]",p="[object Number]",g="[object Object]",m="[object RegExp]",C="[object Set]",_="[object String]",y="[object Symbol]",b="[object ArrayBuffer]",J="[object DataView]",T=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,P=/^\w*$/,x=/^\./,S=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,O=/\\(\\)?/g,k=/^\[object .+?Constructor\]$/,E=/^(?:0|[1-9]\d*)$/,D={};D["[object Float32Array]"]=D["[object Float64Array]"]=D["[object Int8Array]"]=D["[object Int16Array]"]=D["[object Int32Array]"]=D["[object Uint8Array]"]=D["[object Uint8ClampedArray]"]=D["[object Uint16Array]"]=D["[object Uint32Array]"]=!0,D[c]=D[l]=D[b]=D[$]=D[J]=D[d]=D[f]=D[v]=D[w]=D[p]=D[g]=D[m]=D[C]=D[_]=D["[object WeakMap]"]=!1;var j="object"==typeof ma&&ma&&ma.Object===Object&&ma,R="object"==typeof self&&self&&self.Object===Object&&self,I=j||R||Function("return this")(),F=t&&!t.nodeType&&t,A=F&&e&&!e.nodeType&&e,M=A&&A.exports===F&&j.process,N=function(){try{return M&&M.binding("util")}catch(e){}}(),L=N&&N.isTypedArray;function U(e,t){for(var r=-1,n=e?e.length:0,a=0,o=[];++r-1},Je.prototype.set=function(e,t){var r=this.__data__,n=Oe(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},Te.prototype.clear=function(){this.__data__={hash:new be,map:new(le||Je),string:new be}},Te.prototype.delete=function(e){return We(this,e).delete(e)},Te.prototype.get=function(e){return We(this,e).get(e)},Te.prototype.has=function(e){return We(this,e).has(e)},Te.prototype.set=function(e,t){return We(this,e).set(e,t),this},Pe.prototype.add=Pe.prototype.push=function(e){return this.__data__.set(e,a),this},Pe.prototype.has=function(e){return this.__data__.has(e)},xe.prototype.clear=function(){this.__data__=new Je},xe.prototype.delete=function(e){return this.__data__.delete(e)},xe.prototype.get=function(e){return this.__data__.get(e)},xe.prototype.has=function(e){return this.__data__.has(e)},xe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Je){var a=n.__data__;if(!le||a.lengthc))return!1;var $=i.get(e);if($&&i.get(t))return $==t;var d=-1,f=!0,v=a&o?new Pe:void 0;for(i.set(e,t),i.set(t,e);++d-1&&e%1==0&&e-1&&e%1==0&&e<=u}function st(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function it(e){return!!e&&"object"==typeof e}function ut(e){return"symbol"==typeof e||it(e)&&re.call(e)==y}var ct=L?function(e){return function(t){return e(t)}}(L):function(e){return it(e)&&ot(e.length)&&!!D[re.call(e)]};function lt(e){return nt(e)?Se(e):Le(e)}function $t(e){return e}e.exports=function(e,t){return(rt(e)?U:je)(e,Ne(t))}}),ab=_a(function(e,t){var r=200,n="__lodash_hash_undefined__",a=1,o=2,s=9007199254740991,i="[object Arguments]",u="[object Array]",c="[object AsyncFunction]",l="[object Boolean]",$="[object Date]",d="[object Error]",f="[object Function]",v="[object GeneratorFunction]",h="[object Map]",w="[object Number]",p="[object Null]",g="[object Object]",m="[object Proxy]",C="[object RegExp]",_="[object Set]",y="[object String]",b="[object Symbol]",J="[object Undefined]",T="[object ArrayBuffer]",P="[object DataView]",x=/^\[object .+?Constructor\]$/,S=/^(?:0|[1-9]\d*)$/,O={};O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O[i]=O[u]=O[T]=O[l]=O[P]=O[$]=O[d]=O[f]=O[h]=O[w]=O[g]=O[C]=O[_]=O[y]=O["[object WeakMap]"]=!1;var k="object"==typeof ma&&ma&&ma.Object===Object&&ma,E="object"==typeof self&&self&&self.Object===Object&&self,D=k||E||Function("return this")(),j=t&&!t.nodeType&&t,R=j&&e&&!e.nodeType&&e,I=R&&R.exports===j,F=I&&k.process,A=function(){try{return F&&F.binding&&F.binding("util")}catch(e){}}(),M=A&&A.isTypedArray;function N(e,t){for(var r=-1,n=null==e?0:e.length;++rc))return!1;var $=i.get(e);if($&&i.get(t))return $==t;var d=-1,f=!0,v=r&o?new Te:void 0;for(i.set(e,t),i.set(t,e);++d-1},be.prototype.set=function(e,t){var r=this.__data__,n=Se(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Je.prototype.clear=function(){this.size=0,this.__data__={hash:new ye,map:new(le||be),string:new ye}},Je.prototype.delete=function(e){var t=Fe(this,e).delete(e);return this.size-=t?1:0,t},Je.prototype.get=function(e){return Fe(this,e).get(e)},Je.prototype.has=function(e){return Fe(this,e).has(e)},Je.prototype.set=function(e,t){var r=Fe(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Te.prototype.add=Te.prototype.push=function(e){return this.__data__.set(e,n),this},Te.prototype.has=function(e){return this.__data__.has(e)},Pe.prototype.clear=function(){this.__data__=new be,this.size=0},Pe.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Pe.prototype.get=function(e){return this.__data__.get(e)},Pe.prototype.has=function(e){return this.__data__.has(e)},Pe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof be){var a=n.__data__;if(!le||a.length-1&&e%1==0&&e-1&&e%1==0&&e<=s}function Ge(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Qe(e){return null!=e&&"object"==typeof e}var Ke=M?function(e){return function(t){return e(t)}}(M):function(e){return Qe(e)&&He(e.length)&&!!O[Oe(e)]};function Ve(e){return null!=(t=e)&&He(t.length)&&!Be(t)?xe(e):je(e);var t}e.exports=function(e,t){return Ee(e,t)}}),Kb={a:["a","\xE0","\xE1","\xE2","\xE3","\xE4","\xE5","\xE6","\u0101","\u0103","\u0105","\u01CE","\u01DF","\u01E1","\u01FB","\u0201","\u0203","\u0227","\u0250","\u0251","\u0252","\u0363","\u0430","\u04D1","\u04D3","\u1D43","\u1D44","\u1D8F","\u1E01","\u1E9A","\u1EA1","\u1EA3","\u1EA5","\u1EA7","\u1EA9","\u1EAB","\u1EAD","\u1EAF","\u1EB1","\u1EB3","\u1EB5","\u1EB7","\u2090","\u2C65","\uFF41"],A:["A","\xC0","\xC1","\xC2","\xC3","\xC4","\xC5","\u0100","\u0102","\u0104","\u01CD","\u01DE","\u01E0","\u01FA","\u0200","\u0202","\u0226","\u023A","\u0410","\u04D0","\u04D2","\u1D00","\u1D2C","\u1E00","\u1EA0","\u1EA2","\u1EA4","\u1EA6","\u1EA8","\u1EAA","\u1EAC","\u1EAE","\u1EB0","\u1EB2","\u1EB4","\u1EB6","\uFF21"],b:["b","\u0180","\u0183","\u0253","\u15AF","\u1D47","\u1D6C","\u1D80","\u1E03","\u1E05","\u1E07","\uFF42"],B:["B","\u0181","\u0182","\u0243","\u0299","\u16D2","\u1D03","\u1D2E","\u1D2F","\u1E02","\u1E04","\u1E06","\uFF22"],c:["c","\xE7","\u0107","\u0109","\u010B","\u010D","\u0188","\u023C","\u0255","\u0368","\u1D04","\u1D9C","\u1E09","\u2184","\uFF43"],C:["C","\xC7","\u0106","\u0108","\u010A","\u010C","\u0187","\u023B","\u0297","\u1E08","\uFF23"],d:["d","\u010F","\u0111","\u018B","\u018C","\u0221","\u0256","\u0257","\u0369","\u1D48","\u1D6D","\u1D81","\u1D91","\u1E0B","\u1E0D","\u1E0F","\u1E11","\u1E13","\uFF44"],D:["D","\u010E","\u0110","\u0189","\u018A","\u1D30","\u1E0A","\u1E0C","\u1E0E","\u1E10","\u1E12","\uFF24"],e:["e","\xE8","\xE9","\xEA","\xEB","\u0113","\u0115","\u0117","\u0119","\u011B","\u01DD","\u0205","\u0207","\u0229","\u0247","\u0258","\u0364","\u1D49","\u1D92","\u1E15","\u1E17","\u1E19","\u1E1B","\u1E1D","\u1EB9","\u1EBB","\u1EBD","\u1EBF","\u1EC1","\u1EC3","\u1EC5","\u1EC7","\u2091","\uFF45"],E:["E","\xC8","\xC9","\xCA","\xCB","\u0112","\u0114","\u0116","\u0118","\u011A","\u0152","\u018E","\u0190","\u0204","\u0206","\u0228","\u0246","\u025B","\u025C","\u0276","\u0404","\u042D","\u044D","\u0454","\u04EC","\u04ED","\u1D07","\u1D08","\u1D31","\u1D32","\u1D4B","\u1D4C","\u1D93","\u1D94","\u1D9F","\u1E14","\u1E16","\u1E18","\u1E1A","\u1E1C","\u1EB8","\u1EBA","\u1EBC","\u1EBE","\u1EC0","\u1EC2","\u1EC4","\u1EC6","\uFF25","\uD801\uDC01","\uD801\uDC29"],f:["f","\u0192","\u1D6E","\u1D82","\u1DA0","\u1E1F","\uFF46"],F:["F","\u0191","\u1E1E","\u214E","\uFF26"],g:["g","\u011D","\u011F","\u0121","\u0123","\u01E5","\u01E7","\u01F5","\u0260","\u0261","\u1D4D","\u1D77","\u1D79","\u1D83","\u1DA2","\u1E21","\uFF47"],G:["G","\u011C","\u011E","\u0120","\u0122","\u0193","\u01E4","\u01E6","\u01F4","\u0262","\u029B","\u1D33","\u1E20","\uFF27"],h:["h","\u0125","\u0127","\u0195","\u021F","\u0265","\u0266","\u02AE","\u02AF","\u02B0","\u02B1","\u036A","\u04BA","\u04BB","\u144B","\u1DA3","\u1E23","\u1E25","\u1E27","\u1E29","\u1E2B","\u2C68","\uFF48"],H:["H","\u0124","\u0126","\u021E","\u029C","\u157C","\u16BA","\u16BB","\u1D34","\u1E22","\u1E24","\u1E26","\u1E28","\u1E2A","\u2C67","\uFF28"],i:["i","\xEC","\xED","\xEE","\xEF","\u0129","\u012B","\u012D","\u012F","\u01D0","\u0209","\u020B","\u0268","\u0365","\u1D09","\u1D4E","\u1D62","\u1D96","\u1DA4","\u1E2D","\u1E2F","\u1EC9","\u1ECB","\uFF49"],I:["I","\xCC","\xCD","\xCE","\xCF","\u0128","\u012A","\u012C","\u012E","\u0130","\u01CF","\u0208","\u020A","\u026A","\u0406","\u1D35","\u1D7B","\u1DA6","\u1DA7","\u1E2C","\u1E2E","\u1EC8","\u1ECA","\uFF29"],j:["j","\u0135","\u01F0","\u0249","\u029D","\u02B2","\u1DA1","\u1DA8","\uFF4A"],J:["J","\u0134","\u1D0A","\u1D36","\uFF2A"],k:["k","\u0137","\u0199","\u01E9","\u029E","\u1D4F","\u1D84","\u1E31","\u1E33","\u1E35","\u2C6A","\uFF4B"],K:["K","\u0136","\u0198","\u01E8","\u1D37","\u1E30","\u1E32","\u1E34","\u2C69","\uFF2B"],l:["l","\u013A","\u013C","\u013E","\u0140","\u0142","\u019A","\u0234","\u026B","\u026C","\u026D","\u02E1","\u1D85","\u1DA9","\u1DAA","\u1E37","\u1E39","\u1E3B","\u1E3D","\u2113","\u2C61"],L:["L","\u0139","\u013B","\u013D","\u013F","\u0141","\u023D","\u029F","\u1D0C","\u1D38","\u1DAB","\u1E36","\u1E38","\u1E3A","\u1E3C","\u2C60","\u2C62"],m:["m","\u026F","\u0270","\u0271","\u036B","\u1D1F","\u1D50","\u1D5A","\u1D6F","\u1D86","\u1DAC","\u1DAD","\u1E3F","\u1E41","\u1E43","\u33A1","\u33A5","\uFF4D"],M:["M","\u019C","\u1D0D","\u1D39","\u1E3E","\u1E40","\u1E42","\uFF2D"],n:["n","\xF1","\u0144","\u0146","\u0148","\u0149","\u019E","\u01F9","\u0235","\u0272","\u0273","\u1D70","\u1D87","\u1DAE","\u1DAF","\u1E45","\u1E47","\u1E49","\u1E4B","\u207F","\uFF4E"],N:["N","\xD1","\u0143","\u0145","\u0147","\u019D","\u01F8","\u0220","\u0274","\u1D0E","\u1D3A","\u1D3B","\u1DB0","\u1E44","\u1E46","\u1E48","\u1E4A","\uFF2E"],o:["o","\xF2","\xF3","\xF4","\xF5","\xF6","\xF8","\u014D","\u014F","\u0151","\u01A1","\u01D2","\u01EB","\u01ED","\u01FF","\u020D","\u020F","\u022B","\u022D","\u022F","\u0231","\u0275","\u0366","\u043E","\u04E7","\u04E9","\u1D0F","\u1D11","\u1D13","\u1D3C","\u1D52","\u1DB1","\u1E4D","\u1E4F","\u1E51","\u1E53","\u1ECD","\u1ECF","\u1ED1","\u1ED3","\u1ED5","\u1ED7","\u1ED9","\u1EDB","\u1EDD","\u1EDF","\u1EE1","\u1EE3","\u2092","\uFF4F","\uD801\uDC2C"],O:["O","\xD2","\xD3","\xD4","\xD5","\xD6","\xD8","\u014C","\u014E","\u0150","\u019F","\u01A0","\u01D1","\u01EA","\u01EC","\u01FE","\u020C","\u020E","\u022A","\u022C","\u022E","\u0230","\u041E","\u04E6","\u04E8","\u1E4C","\u1E4E","\u1E50","\u1E52","\u1ECC","\u1ECE","\u1ED0","\u1ED2","\u1ED4","\u1ED6","\u1ED8","\u1EDA","\u1EDC","\u1EDE","\u1EE0","\u1EE2","\uFF2F","\uD801\uDC04"],p:["p","\u1D56","\u1D71","\u1D7D","\u1D88","\u1E55","\u1E57","\uFF50"],P:["P","\u01A4","\u1D18","\u1D3E","\u1E54","\u1E56","\u2C63","\uFF30"],q:["q","\u024B","\u02A0","\u16E9","\uFF51"],Q:["Q","\u024A","\uFF31"],r:["r","\u0155","\u0157","\u0159","\u0211","\u0213","\u024D","\u0279","\u027B","\u02B3","\u02B4","\u02B5","\u036C","\u1D63","\u1D72","\u1D89","\u1E59","\u1E5B","\u1E5D","\u1E5F"],R:["R","\u0154","\u0156","\u0158","\u01A6","\u0210","\u0212","\u024C","\u0280","\u0281","\u02B6","\u16B1","\u1D19","\u1D1A","\u1D3F","\u1E58","\u1E5A","\u1E5C","\u1E5E","\u2C64"],s:["s","\u015B","\u015D","\u015F","\u0161","\u0219","\u0282","\u1506","\u1D8A","\u1E61","\u1E63","\u1E65","\u1E67","\u1E69","\uFF53"],S:["S","\u015A","\u015C","\u015E","\u0160","\u0218","\u023F","\u02E2","\u1D74","\u1E60","\u1E62","\u1E64","\u1E66","\u1E68","\uFF33"],t:["t","\u0163","\u0165","\u0167","\u01AB","\u01AD","\u021B","\u0287","\u036D","\u1D40","\u1D57","\u1D75","\u1DB5","\u1E6B","\u1E6D","\u1E6F","\u1E71","\u1E97","\uFF54"],T:["T","\u0162","\u0164","\u01AC","\u01AE","\u021A","\u023E","\u1D1B","\u1D40","\u1E6A","\u1E6C","\u1E6E","\u1E70","\uFF34"],u:["u","\xF9","\xFA","\xFB","\xFC","\u0169","\u016B","\u016D","\u016F","\u0171","\u0173","\u01B0","\u01D4","\u01D6","\u01D8","\u01DA","\u01DC","\u0215","\u0217","\u0367","\u07CE","\u1D58","\u1D64","\u1E73","\u1E75","\u1E77","\u1E79","\u1E7B","\u1EE5","\u1EE7","\u1EE9","\u1EEB","\u1EED","\u1EEF","\u1EF1","\uFF55"],U:["U","\xD9","\xDA","\xDB","\xDC","\u0168","\u016A","\u016C","\u016E","\u0170","\u0172","\u01AF","\u01D3","\u01D5","\u01D7","\u01D9","\u01DB","\u0214","\u0216","\u0244","\u1D1C","\u1D41","\u1D7E","\u1E72","\u1E74","\u1E76","\u1E78","\u1E7A","\u1EE4","\u1EE6","\u1EE8","\u1EEA","\u1EEC","\u1EEE","\u1EF0","\uFF35"],v:["v","\u028B","\u036E","\u1D5B","\u1D65","\u1DB9","\u1E7D","\u1E7F","\u2C71","\uFF56","\u2C74"],V:["V","\u01B2","\u0245","\u028C","\u1D20","\u1D8C","\u1E7C","\u1E7E","\uFF36"],w:["w","\u0175","\u02B7","\u1D42","\u1E81","\u1E83","\u1E85","\u1E87","\u1E89","\u1E98","\u2C73","\uFF57"],W:["W","\u0174","\u028D","\u1D21","\u1E80","\u1E82","\u1E84","\u1E86","\u1E88","\u2C72","\uFF37"],x:["x","\u033D","\u0353","\u1D8D","\u036F","\u1E8B","\u1E8D","\u2093","\uFF58"],X:["X","\u02E3","\u036F","\u1E8A","\u1E8C","\u2612","\u2715","\u2716","\u2717","\u2718","\uFF38"],y:["y","\xFD","\xFF","\u0177","\u0233","\u024F","\u02B8","\u1E8F","\u1EF3","\u1EF5","\u1EF7","\u1EF9","\uFF59"],Y:["Y","\xDD","\u0176","\u0178","\u01B3","\u01B4","\u0232","\u024E","\u028E","\u028F","\u1E8E","\u1EF2","\u1EF4","\u1EF6","\u1EF8","\uFF39"],z:["z","\u017A","\u017C","\u017E","\u01B6","\u0225","\u0240","\u0290","\u0291","\u1646","\u1647","\u1DBB","\u1DBC","\u1DBD","\u1E91","\u1E93","\u1E95","\u2C6C","\uFF5A"],Z:["Z","\u0179","\u017B","\u017D","\u01B5","\u0224","\u1D22","\u1D76","\u1E90","\u1E92","\u1E94","\u2C6B","\uFF3A"]},bb=function(e){for(var t=[],r=0;r2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)return!1;var a=r?String(e).toLowerCase():bb(Lb(String(e)).toLowerCase()),o=r?t.toLowerCase():bb(Lb(t).toLowerCase());return n?a===o:a.indexOf(o)>-1},compare:function(e,t){function r(e){return null==e?"":bb(e.toLowerCase())}return(e=r(e))<(t=r(t))?-1:e>t?1:0}},Yd={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(e){var t=parseInt(e.target.value,10);if(Number.isNaN(t)||t>this.lastPage||t<1)return e.target.value=this.currentPage,!1;e.target.value=t,this.$emit("page-changed",t)}},mounted:function(){},components:{}};function ta(e,t,r,n,a,o,s,i,u,c){"boolean"!=typeof s&&(u=i,i=s,s=!1);const l="function"==typeof r?r.options:r;let $;if(e&&e.render&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,a&&(l.functional=!0)),n&&(l._scopeId=n),o?($=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,u(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=$):t&&($=s?function(e){t.call(this,c(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,i(e))}),$)if(l.functional){const e=l.render;l.render=function(t,r){return $.call(r),e(t,r)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,$):[$]}return r}var Zd=Yd,$d=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"footer__navigation__page-info"},[e._v("\n "+e._s(e.pageText)+" "),r("input",{staticClass:"footer__navigation__page-info__current-entry",attrs:{type:"text"},domProps:{value:e.currentPage},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.stopPropagation(),e.changePage(t))}}}),e._v(" "+e._s(e.pageInfo)+"\n")])},_d=[],af=void 0,bf="data-v-9a8cd1f4",cf=void 0,df=!1,ef=ta({render:$d,staticRenderFns:_d},af,Zd,bf,df,cf,!1,void 0,void 0,void 0),ff=[10,20,30,40,50],gf={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(e,t){this.handlePerPage(),this.perPageChanged(t)},immediate:!0},customRowsPerPageDropdown:function(){this.handlePerPage()},total:{handler:function(e,t){-1===this.rowsPerPageOptions.indexOf(this.currentPerPage)&&(this.currentPerPage=e)}}},computed:{pagesCount:function(){var e=Math.floor(this.total/this.currentPerPage);return 0===this.total%this.currentPerPage?e:e+1},paginatedInfo:function(){var e=(this.currentPage-1)*this.currentPerPage+1,t=Math.min(this.total,this.currentPage*this.currentPerPage);return 0===t&&(e=0),"".concat(e," - ").concat(t," ").concat(this.ofText," ").concat(this.total)},nextIsPossible:function(){return this.currentPage1}},methods:{changePage:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e>0&&this.total>this.currentPerPage*(e-1)&&(this.prevPage=this.currentPage,this.currentPage=e,t&&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(e){e&&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=ka(this.customRowsPerPageDropdown):this.rowsPerPageOptions=ka(ff),this.perPage){this.currentPerPage=this.perPage;for(var e=!1,t=0;t0&&void 0!==arguments[0]&&arguments[0];this.columnFilters={},e&&this.$emit("filter-changed",this.columnFilters)},isFilterable:function(e){return e.filterOptions&&e.filterOptions.enabled},isDropdown:function(e){return this.isFilterable(e)&&e.filterOptions.filterDropdownItems&&e.filterOptions.filterDropdownItems.length},isDropdownObjects:function(e){return this.isDropdown(e)&&"object"===Ma(e.filterOptions.filterDropdownItems[0])},isDropdownArray:function(e){return this.isDropdown(e)&&"object"!==Ma(e.filterOptions.filterDropdownItems[0])},getPlaceholder:function(e){return this.isFilterable(e)&&e.filterOptions.placeholder||"Filter ".concat(e.label)},updateFiltersOnEnter:function(e,t){this.timer&&clearTimeout(this.timer),this.updateFiltersImmediately(e.field,t)},updateFiltersOnKeyup:function(e,t){"enter"!==e.filterOptions.trigger&&this.updateFilters(e,t)},updateSlotFilter:function(e,t){var r=e.filterOptions.slotFilterField||e.field;"function"==typeof e.filterOptions.formatValue&&(t=e.filterOptions.formatValue(t)),this.updateFiltersImmediately(r,t)},updateFilters:function(e,t){var r=this;this.timer&&clearTimeout(this.timer),this.timer=setTimeout(function(){r.updateFiltersImmediately(e.field,t)},400)},updateFiltersImmediately:function(e,t){this.$set(this.columnFilters,e,t),this.$emit("filter-changed",this.columnFilters)},populateInitialFilters:function(){for(var e=0;e0?1:a}function Qa(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=ia(e);return!isNaN(t)}var Ra={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 eg(e,t,r){var n;return r=r||{},n="string"==typeof Ra[e]?Ra[e]:1===t?Ra[e].one:Ra[e].other.replace("{{count}}",t),r.addSuffix?r.comparison>0?"in "+n:n+" ago":n}function cb(e){return function(t){var r=t||{},n=r.width?String(r.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var fg={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},gg={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},hg={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ig={date:cb({formats:fg,defaultWidth:"full"}),time:cb({formats:gg,defaultWidth:"full"}),dateTime:cb({formats:hg,defaultWidth:"full"})},jg={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function kg(e,t,r,n){return jg[e]}function Ca(e){return function(t,r){var n,a=r||{};if("formatting"===(a.context?String(a.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,s=a.width?String(a.width):o;n=e.formattingValues[s]||e.formattingValues[o]}else{var i=e.defaultWidth,u=a.width?String(a.width):e.defaultWidth;n=e.values[u]||e.values[i]}return n[e.argumentCallback?e.argumentCallback(t):t]}}var lg={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},mg={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ng={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"]},og={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"]},pg={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"}},qg={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"}};function rg(e,t){var r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd";}return r+"th"}var sg={ordinalNumber:rg,era:Ca({values:lg,defaultWidth:"wide"}),quarter:Ca({values:mg,defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:Ca({values:ng,defaultWidth:"wide"}),day:Ca({values:og,defaultWidth:"wide"}),dayPeriod:Ca({values:pg,defaultWidth:"wide",formattingValues:qg,defaultFormattingWidth:"wide"})};function tg(e){return function(t,r){var n=String(t),a=r||{},o=n.match(e.matchPattern);if(!o)return null;var s=o[0],i=n.match(e.parsePattern);if(!i)return null;var u=e.valueCallback?e.valueCallback(i[0]):i[0];return{value:u=a.valueCallback?a.valueCallback(u):u,rest:n.slice(s.length)}}}function Da(e){return function(t,r){var n=String(t),a=r||{},o=a.width,s=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],i=n.match(s);if(!i)return null;var u,c=i[0],l=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth];return u="[object Array]"===Object.prototype.toString.call(l)?l.findIndex(function(e){return e.test(n)}):ug(l,function(e){return e.test(n)}),u=e.valueCallback?e.valueCallback(u):u,{value:u=a.valueCallback?a.valueCallback(u):u,rest:n.slice(c.length)}}}function ug(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}var vg=/^(\d+)(th|st|nd|rd)?/i,wg=/\d+/i,xg={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},yg={any:[/^b/i,/^(a|c)/i]},zg={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Ag={any:[/1/i,/2/i,/3/i,/4/i]},Bg={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},Cg={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]},Dg={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},Eg={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]},Fg={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},Gg={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}},Hg={ordinalNumber:tg({matchPattern:vg,parsePattern:wg,valueCallback:function(e){return parseInt(e,10)}}),era:Da({matchPatterns:xg,defaultMatchWidth:"wide",parsePatterns:yg,defaultParseWidth:"any"}),quarter:Da({matchPatterns:zg,defaultMatchWidth:"wide",parsePatterns:Ag,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Da({matchPatterns:Bg,defaultMatchWidth:"wide",parsePatterns:Cg,defaultParseWidth:"any"}),day:Da({matchPatterns:Dg,defaultMatchWidth:"wide",parsePatterns:Eg,defaultParseWidth:"any"}),dayPeriod:Da({matchPatterns:Fg,defaultMatchWidth:"any",parsePatterns:Gg,defaultParseWidth:"any"})},Rb={formatDistance:eg,formatLong:ig,formatRelative:kg,localize:sg,match:Hg,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Sb(e,t){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return cg(e,-ea(t))}function ba(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length0?r:1-r;return ba("yy"===t?n%100:n,t.length)},M:function(e,t){var r=e.getUTCMonth();return"M"===t?String(r+1):ba(r+1,2)},d:function(e,t){return ba(e.getUTCDate(),t.length)},a:function(e,t){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":case"aaa":return r.toUpperCase();case"aaaaa":return r[0];case"aaaa":default:return"am"===r?"a.m.":"p.m.";}},h:function(e,t){return ba(e.getUTCHours()%12||12,t.length)},H:function(e,t){return ba(e.getUTCHours(),t.length)},m:function(e,t){return ba(e.getUTCMinutes(),t.length)},s:function(e,t){return ba(e.getUTCSeconds(),t.length)},S:function(e,t){var r=t.length,n=e.getUTCMilliseconds();return ba(Math.floor(n*Math.pow(10,r-3)),t.length)}},Ig=864e5;function Jg(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=ia(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=r-t.getTime();return Math.floor(n/Ig)+1}function za(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=ia(e),r=t.getUTCDay(),n=(r<1?7:0)+r-1;return t.setUTCDate(t.getUTCDate()-n),t.setUTCHours(0,0,0,0),t}function Tb(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=ia(e),r=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var a=za(n),o=new Date(0);o.setUTCFullYear(r,0,4),o.setUTCHours(0,0,0,0);var s=za(o);return t.getTime()>=a.getTime()?r+1:t.getTime()>=s.getTime()?r:r-1}function Kg(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=Tb(e),r=new Date(0);return r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0),za(r)}var Lg=6048e5;function Ub(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=ia(e),r=za(t).getTime()-Kg(t).getTime();return Math.round(r/Lg)+1}function ua(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var r=t||{},n=r.locale,a=n&&n.options&&n.options.weekStartsOn,o=null==a?0:ea(a),s=null==r.weekStartsOn?o:ea(r.weekStartsOn);if(!(s>=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var i=ia(e),u=i.getUTCDay(),c=(u=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var c=new Date(0);c.setUTCFullYear(n+1,0,u),c.setUTCHours(0,0,0,0);var l=ua(c,t),$=new Date(0);$.setUTCFullYear(n,0,u),$.setUTCHours(0,0,0,0);var d=ua($,t);return r.getTime()>=l.getTime()?n+1:r.getTime()>=d.getTime()?n:n-1}function Mg(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var r=t||{},n=r.locale,a=n&&n.options&&n.options.firstWeekContainsDate,o=null==a?1:ea(a),s=null==r.firstWeekContainsDate?o:ea(r.firstWeekContainsDate),i=db(e,t),u=new Date(0);return u.setUTCFullYear(i,0,s),u.setUTCHours(0,0,0,0),ua(u,t)}var Ng=6048e5;function Vb(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var r=ia(e),n=ua(r,t).getTime()-Mg(r,t).getTime();return Math.round(n/Ng)+1}var Aa={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Og={G:function(e,t,r){var n=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"});}},y:function(e,t,r){if("yo"===t){var n=e.getUTCFullYear(),a=n>0?n:1-n;return r.ordinalNumber(a,{unit:"year"})}return ra.y(e,t)},Y:function(e,t,r,n){var a=db(e,n),o=a>0?a:1-a;return"YY"===t?ba(o%100,2):"Yo"===t?r.ordinalNumber(o,{unit:"year"}):ba(o,t.length)},R:function(e,t){return ba(Tb(e),t.length)},u:function(e,t){return ba(e.getUTCFullYear(),t.length)},Q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return ba(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"});}},q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return ba(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"});}},M:function(e,t,r){var n=e.getUTCMonth();switch(t){case"M":case"MM":return ra.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"});}},L:function(e,t,r){var n=e.getUTCMonth();switch(t){case"L":return String(n+1);case"LL":return ba(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"});}},w:function(e,t,r,n){var a=Vb(e,n);return"wo"===t?r.ordinalNumber(a,{unit:"week"}):ba(a,t.length)},I:function(e,t,r){var n=Ub(e);return"Io"===t?r.ordinalNumber(n,{unit:"week"}):ba(n,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getUTCDate(),{unit:"date"}):ra.d(e,t)},D:function(e,t,r){var n=Jg(e);return"Do"===t?r.ordinalNumber(n,{unit:"dayOfYear"}):ba(n,t.length)},E:function(e,t,r){var n=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"});}},e:function(e,t,r,n){var a=e.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return ba(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"});}},c:function(e,t,r,n){var a=e.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return ba(o,t.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"});}},i:function(e,t,r){var n=e.getUTCDay(),a=0===n?7:n;switch(t){case"i":return String(a);case"ii":return ba(a,t.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"});}},a:function(e,t,r){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(n,{width:"wide",context:"formatting"});}},b:function(e,t,r){var n,a=e.getUTCHours();switch(n=12===a?Aa.noon:0===a?Aa.midnight:a/12>=1?"pm":"am",t){case"b":case"bb":case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(n,{width:"wide",context:"formatting"});}},B:function(e,t,r){var n,a=e.getUTCHours();switch(n=a>=17?Aa.evening:a>=12?Aa.afternoon:a>=4?Aa.morning:Aa.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(n,{width:"wide",context:"formatting"});}},h:function(e,t,r){if("ho"===t){var n=e.getUTCHours()%12;return 0===n&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return ra.h(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getUTCHours(),{unit:"hour"}):ra.H(e,t)},K:function(e,t,r){var n=e.getUTCHours()%12;return"Ko"===t?r.ordinalNumber(n,{unit:"hour"}):ba(n,t.length)},k:function(e,t,r){var n=e.getUTCHours();return 0===n&&(n=24),"ko"===t?r.ordinalNumber(n,{unit:"hour"}):ba(n,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):ra.m(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):ra.s(e,t)},S:function(e,t){return ra.S(e,t)},X:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();if(0===a)return"Z";switch(t){case"X":return Xb(a);case"XXXX":case"XX":return va(a);case"XXXXX":case"XXX":default:return va(a,":");}},x:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();switch(t){case"x":return Xb(a);case"xxxx":case"xx":return va(a);case"xxxxx":case"xxx":default:return va(a,":");}},O:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Wb(a,":");case"OOOO":default:return"GMT"+va(a,":");}},z:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Wb(a,":");case"zzzz":default:return"GMT"+va(a,":");}},t:function(e,t,r,n){var a=n._originalDate||e;return ba(Math.floor(a.getTime()/1e3),t.length)},T:function(e,t,r,n){return ba((n._originalDate||e).getTime(),t.length)}};function Wb(e,t){var r=e>0?"-":"+",n=Math.abs(e),a=Math.floor(n/60),o=n%60;if(0===o)return r+String(a);var s=t||"";return r+String(a)+s+ba(o,2)}function Xb(e,t){return e%60==0?(e>0?"-":"+")+ba(Math.abs(e)/60,2):va(e,t)}function va(e,t){var r=t||"",n=e>0?"-":"+",a=Math.abs(e);return n+ba(Math.floor(a/60),2)+r+ba(a%60,2)}function Yb(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"});}}function Zb(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"});}}function Pg(e,t){var r,n=e.match(/(P+)(p+)?/),a=n[1],o=n[2];if(!o)return Yb(e,t);switch(a){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;case"PPPP":default:r=t.dateTime({width:"full"});}return r.replace("{{date}}",Yb(a,t)).replace("{{time}}",Zb(o,t))}var $b={p:Zb,P:Pg},Qg=["D","DD"],Rg=["YY","YYYY"];function _b(e){return-1!==Qg.indexOf(e)}function ac(e){return-1!==Rg.indexOf(e)}function Sa(e){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` for formatting years; see: https://git.io/fxCyr");if("YY"===e)throw new RangeError("Use `yy` instead of `YY` for formatting years; see: https://git.io/fxCyr");if("D"===e)throw new RangeError("Use `d` instead of `D` for formatting days of the month; see: https://git.io/fxCyr");if("DD"===e)throw new RangeError("Use `dd` instead of `DD` for formatting days of the month; see: https://git.io/fxCyr")}var Sg=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Tg=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ug=/^'(.*?)'?$/,Vg=/''/g,Wg=/[a-zA-Z]/;function Xg(e,t,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=String(t),a=r||{},o=a.locale||Rb,s=o.options&&o.options.firstWeekContainsDate,i=null==s?1:ea(s),u=null==a.firstWeekContainsDate?i:ea(a.firstWeekContainsDate);if(!(u>=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var c=o.options&&o.options.weekStartsOn,l=null==c?0:ea(c),$=null==a.weekStartsOn?l:ea(a.weekStartsOn);if(!($>=0&&$<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!o.localize)throw new RangeError("locale must contain localize property");if(!o.formatLong)throw new RangeError("locale must contain formatLong property");var d=ia(e);if(!Qa(d))throw new RangeError("Invalid time value");var f=Sb(d,Qb(d)),v={firstWeekContainsDate:u,weekStartsOn:$,locale:o,_originalDate:d};return n.match(Tg).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,$b[t])(e,o.formatLong,v):e}).join("").match(Sg).map(function(e){if("''"===e)return"'";var t=e[0];if("'"===t)return Yg(e);var r=Og[t];if(r)return!a.useAdditionalWeekYearTokens&&ac(e)&&Sa(e),!a.useAdditionalDayOfYearTokens&&_b(e)&&Sa(e),r(f,e,o.localize,v);if(t.match(Wg))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return e}).join("")}function Yg(e){return e.match(Ug)[1].replace(Vg,"'")}function Zg(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var r in t=t||{})t.hasOwnProperty(r)&&(e[r]=t[r]);return e}function eb(e,t,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=r||{},a=n.locale,o=a&&a.options&&a.options.weekStartsOn,s=null==o?0:ea(o),i=null==n.weekStartsOn?s:ea(n.weekStartsOn);if(!(i>=0&&i<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=ia(e),c=ea(t),l=((c%7+7)%70,a=n?t:1-t;if(a<=50)r=e||100;else{var o=a+50;r=e+100*Math.floor(o/100)-(e>=o%100?100:0)}return n?r:1-r}var eh=[31,28,31,30,31,30,31,31,30,31,30,31],fh=[31,29,31,30,31,30,31,31,30,31,30,31];function ec(e){return e%400==0||e%4==0&&e%100!=0}var gh={G:{priority:140,parse:function(e,t,r,n){switch(t){case"G":case"GG":case"GGG":return r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"});case"GGGGG":return r.era(e,{width:"narrow"});case"GGGG":default:return r.era(e,{width:"wide"})||r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"});}},set:function(e,t,r,n){return t.era=r,e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(e,t,r,n){var a=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return fa(4,e,a);case"yo":return r.ordinalNumber(e,{unit:"year",valueCallback:a});default:return fa(t.length,e,a);}},validate:function(e,t,r){return t.isTwoDigitYear||t.year>0},set:function(e,t,r,n){var a=e.getUTCFullYear();if(r.isTwoDigitYear){var o=dc(r.year,a);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}var s="era"in t&&1!==t.era?1-r.year:r.year;return e.setUTCFullYear(s,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(e,t,r,n){var a=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return fa(4,e,a);case"Yo":return r.ordinalNumber(e,{unit:"year",valueCallback:a});default:return fa(t.length,e,a);}},validate:function(e,t,r){return t.isTwoDigitYear||t.year>0},set:function(e,t,r,n){var a=db(e,n);if(r.isTwoDigitYear){var o=dc(r.year,a);return e.setUTCFullYear(o,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),ua(e,n)}var s="era"in t&&1!==t.era?1-r.year:r.year;return e.setUTCFullYear(s,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),ua(e,n)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(e,t,r,n){return cc("R"===t?4:t.length,e)},set:function(e,t,r,n){var a=new Date(0);return a.setUTCFullYear(r,0,4),a.setUTCHours(0,0,0,0),za(a)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(e,t,r,n){return cc("u"===t?4:t.length,e)},set:function(e,t,r,n){return e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(e,t,r,n){switch(t){case"Q":case"QQ":return fa(t.length,e);case"Qo":return r.ordinalNumber(e,{unit:"quarter"});case"QQQ":return r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(e,{width:"wide",context:"formatting"})||r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"});}},validate:function(e,t,r){return t>=1&&t<=4},set:function(e,t,r,n){return e.setUTCMonth(3*(r-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(e,t,r,n){switch(t){case"q":case"qq":return fa(t.length,e);case"qo":return r.ordinalNumber(e,{unit:"quarter"});case"qqq":return r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(e,{width:"wide",context:"standalone"})||r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"});}},validate:function(e,t,r){return t>=1&&t<=4},set:function(e,t,r,n){return e.setUTCMonth(3*(r-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(e,t,r,n){var a=function(e){return e-1};switch(t){case"M":return ca(ga.month,e,a);case"MM":return fa(2,e,a);case"Mo":return r.ordinalNumber(e,{unit:"month",valueCallback:a});case"MMM":return r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(e,{width:"wide",context:"formatting"})||r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"});}},validate:function(e,t,r){return t>=0&&t<=11},set:function(e,t,r,n){return e.setUTCMonth(r,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(e,t,r,n){var a=function(e){return e-1};switch(t){case"L":return ca(ga.month,e,a);case"LL":return fa(2,e,a);case"Lo":return r.ordinalNumber(e,{unit:"month",valueCallback:a});case"LLL":return r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(e,{width:"wide",context:"standalone"})||r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"});}},validate:function(e,t,r){return t>=0&&t<=11},set:function(e,t,r,n){return e.setUTCMonth(r,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(e,t,r,n){switch(t){case"w":return ca(ga.week,e);case"wo":return r.ordinalNumber(e,{unit:"week"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=1&&t<=53},set:function(e,t,r,n){return ua(ah(e,r,n),n)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(e,t,r,n){switch(t){case"I":return ca(ga.week,e);case"Io":return r.ordinalNumber(e,{unit:"week"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=1&&t<=53},set:function(e,t,r,n){return za(_g(e,r,n),n)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,parse:function(e,t,r,n){switch(t){case"d":return ca(ga.date,e);case"do":return r.ordinalNumber(e,{unit:"date"});default:return fa(t.length,e);}},validate:function(e,t,r){var n=ec(e.getUTCFullYear()),a=e.getUTCMonth();return n?t>=1&&t<=fh[a]:t>=1&&t<=eh[a]},set:function(e,t,r,n){return e.setUTCDate(r),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,parse:function(e,t,r,n){switch(t){case"D":case"DD":return ca(ga.dayOfYear,e);case"Do":return r.ordinalNumber(e,{unit:"date"});default:return fa(t.length,e);}},validate:function(e,t,r){return ec(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,r,n){return e.setUTCMonth(0,r),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(e,t,r,n){switch(t){case"E":case"EE":case"EEE":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});}},validate:function(e,t,r){return t>=0&&t<=6},set:function(e,t,r,n){return(e=eb(e,r,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(e,t,r,n){var a=function(e){var t=7*Math.floor((e-1)/7);return(e+n.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return fa(t.length,e,a);case"eo":return r.ordinalNumber(e,{unit:"day",valueCallback:a});case"eee":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"eeeee":return r.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});}},validate:function(e,t,r){return t>=0&&t<=6},set:function(e,t,r,n){return(e=eb(e,r,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(e,t,r,n){var a=function(e){var t=7*Math.floor((e-1)/7);return(e+n.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return fa(t.length,e,a);case"co":return r.ordinalNumber(e,{unit:"day",valueCallback:a});case"ccc":return r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});case"ccccc":return r.day(e,{width:"narrow",context:"standalone"});case"cccccc":return r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return r.day(e,{width:"wide",context:"standalone"})||r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});}},validate:function(e,t,r){return t>=0&&t<=6},set:function(e,t,r,n){return(e=eb(e,r,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(e,t,r,n){var a=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return fa(t.length,e);case"io":return r.ordinalNumber(e,{unit:"day"});case"iii":return r.day(e,{width:"abbreviated",context:"formatting",valueCallback:a})||r.day(e,{width:"short",context:"formatting",valueCallback:a})||r.day(e,{width:"narrow",context:"formatting",valueCallback:a});case"iiiii":return r.day(e,{width:"narrow",context:"formatting",valueCallback:a});case"iiiiii":return r.day(e,{width:"short",context:"formatting",valueCallback:a})||r.day(e,{width:"narrow",context:"formatting",valueCallback:a});case"iiii":default:return r.day(e,{width:"wide",context:"formatting",valueCallback:a})||r.day(e,{width:"abbreviated",context:"formatting",valueCallback:a})||r.day(e,{width:"short",context:"formatting",valueCallback:a})||r.day(e,{width:"narrow",context:"formatting",valueCallback:a});}},validate:function(e,t,r){return t>=1&&t<=7},set:function(e,t,r,n){return(e=$g(e,r,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:{priority:80,parse:function(e,t,r,n){switch(t){case"a":case"aa":case"aaa":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});}},set:function(e,t,r,n){return e.setUTCHours(fb(r),0,0,0),e},incompatibleTokens:["b","B","H","K","k","t","T"]},b:{priority:80,parse:function(e,t,r,n){switch(t){case"b":case"bb":case"bbb":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});}},set:function(e,t,r,n){return e.setUTCHours(fb(r),0,0,0),e},incompatibleTokens:["a","B","H","K","k","t","T"]},B:{priority:80,parse:function(e,t,r,n){switch(t){case"B":case"BB":case"BBB":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});}},set:function(e,t,r,n){return e.setUTCHours(fb(r),0,0,0),e},incompatibleTokens:["a","b","t","T"]},h:{priority:70,parse:function(e,t,r,n){switch(t){case"h":return ca(ga.hour12h,e);case"ho":return r.ordinalNumber(e,{unit:"hour"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=1&&t<=12},set:function(e,t,r,n){var a=e.getUTCHours()>=12;return a&&r<12?e.setUTCHours(r+12,0,0,0):a||12!==r?e.setUTCHours(r,0,0,0):e.setUTCHours(0,0,0,0),e},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(e,t,r,n){switch(t){case"H":return ca(ga.hour23h,e);case"Ho":return r.ordinalNumber(e,{unit:"hour"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=0&&t<=23},set:function(e,t,r,n){return e.setUTCHours(r,0,0,0),e},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(e,t,r,n){switch(t){case"K":return ca(ga.hour11h,e);case"Ko":return r.ordinalNumber(e,{unit:"hour"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=0&&t<=11},set:function(e,t,r,n){return e.getUTCHours()>=12&&r<12?e.setUTCHours(r+12,0,0,0):e.setUTCHours(r,0,0,0),e},incompatibleTokens:["a","b","h","H","k","t","T"]},k:{priority:70,parse:function(e,t,r,n){switch(t){case"k":return ca(ga.hour24h,e);case"ko":return r.ordinalNumber(e,{unit:"hour"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=1&&t<=24},set:function(e,t,r,n){var a=r<=24?r%24:r;return e.setUTCHours(a,0,0,0),e},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(e,t,r,n){switch(t){case"m":return ca(ga.minute,e);case"mo":return r.ordinalNumber(e,{unit:"minute"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=0&&t<=59},set:function(e,t,r,n){return e.setUTCMinutes(r,0,0),e},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(e,t,r,n){switch(t){case"s":return ca(ga.second,e);case"so":return r.ordinalNumber(e,{unit:"second"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=0&&t<=59},set:function(e,t,r,n){return e.setUTCSeconds(r,0),e},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(e,t,r,n){return fa(t.length,e,function(e){return Math.floor(e*Math.pow(10,3-t.length))})},set:function(e,t,r,n){return e.setUTCMilliseconds(r),e},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(e,t,r,n){switch(t){case"X":return pa(oa.basicOptionalMinutes,e);case"XX":return pa(oa.basic,e);case"XXXX":return pa(oa.basicOptionalSeconds,e);case"XXXXX":return pa(oa.extendedOptionalSeconds,e);case"XXX":default:return pa(oa.extended,e);}},set:function(e,t,r,n){return t.timestampIsSet?e:new Date(e.getTime()-r)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(e,t,r,n){switch(t){case"x":return pa(oa.basicOptionalMinutes,e);case"xx":return pa(oa.basic,e);case"xxxx":return pa(oa.basicOptionalSeconds,e);case"xxxxx":return pa(oa.extendedOptionalSeconds,e);case"xxx":default:return pa(oa.extended,e);}},set:function(e,t,r,n){return t.timestampIsSet?e:new Date(e.getTime()-r)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(e,t,r,n){return bc(e)},set:function(e,t,r,n){return[new Date(1e3*r),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(e,t,r,n){return bc(e)},set:function(e,t,r,n){return[new Date(r),{timestampIsSet:!0}]},incompatibleTokens:"*"}},hh=10,ih=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,jh=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,kh=/^'(.*?)'?$/,lh=/''/g,mh=/\S/,nh=/[a-zA-Z]/;function fc(e,t,r,n){if(arguments.length<3)throw new TypeError("3 arguments required, but only "+arguments.length+" present");var a=String(e),o=String(t),s=n||{},i=s.locale||Rb;if(!i.match)throw new RangeError("locale must contain match property");var u=i.options&&i.options.firstWeekContainsDate,c=null==u?1:ea(u),l=null==s.firstWeekContainsDate?c:ea(s.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var $=i.options&&i.options.weekStartsOn,d=null==$?0:ea($),f=null==s.weekStartsOn?d:ea(s.weekStartsOn);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===o)return""===a?ia(r):new Date(NaN);var v,h={firstWeekContainsDate:l,weekStartsOn:f,locale:i},w=[{priority:hh,set:oh,index:0}],p=o.match(jh).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,$b[t])(e,i.formatLong,h):e}).join("").match(ih),g=[];for(v=0;v0&&mh.test(a))return new Date(NaN);var x=w.map(function(e){return e.priority}).sort(function(e,t){return t-e}).filter(function(e,t,r){return r.indexOf(e)===t}).map(function(e){return w.filter(function(t){return t.priority===e}).reverse()}).map(function(e){return e[0]}),S=ia(r);if(isNaN(S))return new Date(NaN);var O=Sb(S,Qb(S)),k={};for(v=0;v=0?parseFloat(e):parseInt(e,10)}return(e="number"==typeof e?e:r(e))<(t="number"==typeof t?t:r(t))?-1:e>t?1:0};var rh=Object.freeze({default:wa}),gc=ka(wa);gc.format=function(e){return null==e?"":parseFloat(Math.round(100*e)/100).toFixed(2)};var sh=Object.freeze({default:gc}),hc=ka(wa);hc.format=function(e){return null==e?"":"".concat(parseFloat(100*e).toFixed(2),"%")};var th=Object.freeze({default:hc}),Ea=ka(ya);Ea.isRight=!0,Ea.filterPredicate=function(e,t){return 0===Ea.compare(e,t)},Ea.compare=function(e,t){function r(e){return"boolean"==typeof e?e?1:0:"string"==typeof e?"true"===e?1:0:-1/0}return(e=r(e))<(t=r(t))?-1:e>t?1:0};var uh=Object.freeze({default:Ea}),vh={date:qh,decimal:sh,number:rh,percentage:th,boolean:uh},ic={},jc=vh;da(Object.keys(jc),function(e){var t=e.replace(/^\.\//,"").replace(/\.js/,"");ic[t]=jc[e].default});var wh={name:"vue-good-table",props:{isLoading:{default:null,type:Boolean},maxHeight:{default:null,type:String},fixedHeader:Boolean,theme:{default:""},mode:{default:"local"},totalRows:{},styleClass:{default:"vgt-table bordered"},columns:{},rows:{},lineNumbers:Boolean,responsive:{default:!0,type:Boolean},rtl:Boolean,rowStyleClass:{default:null,type:[Function,String]},compactMode:Boolean,groupOptions:{default:function(){return{enabled:!1,collapsable:!1,rowKey:null}}},selectOptions:{default:function(){return{enabled:!1,selectionInfoClass:"",selectionText:"rows selected",clearSelectionText:"clear",disableSelectInfo:!1,selectAllByGroup:!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",maintainExpanded:!0,expandedRowKeys:new Set,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:ic||{}}},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(e,t){ab(e,t)||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(e,t){ab(e,t)||this.initializeSort()},deep:!0},selectedRows:function(e,t){ab(e,t)||this.$emit("on-selected-rows-change",{selectedRows:this.selectedRows})}},computed:{tableStyles:function(){return this.compactMode?this.tableStyleClasses+"vgt-compact":this.tableStyleClasses},hasFooterSlot:function(){return!!this.$slots["table-actions-bottom"]},wrapperStyles:function(){return{overflow:"scroll-y",maxHeight:this.maxHeight?this.maxHeight:"auto"}},rowKeyField:function(){return this.groupOptions.rowKey||"vgt_header_id"},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 e=[];return da(this.paginated,function(t){da(t.children,function(t){t.vgtSelected&&e.push(t)})}),e},selectedRows:function(){var e=[];return da(this.processedRows,function(t){da(t.children,function(t){t.vgtSelected&&e.push(t)})}),e.sort(function(e,t){return e.originalIndex-t.originalIndex})},fullColspan:function(){for(var e=0,t=0;t=t.length||-1===this.currentPerPage)&&(this.currentPage=1,r=0);var n=t.length+1;-1!==this.currentPerPage&&(n=this.currentPage*this.currentPerPage),t=t.slice(r,n)}var a=[];return t.forEach(function(t){if(void 0!==t.vgt_header_id){e.handleExpanded(t);var r=ka(t);r.children=[],a.push(r)}else{var n=a.find(function(e){return e.vgt_header_id===t.vgt_id});n||(n=e.processedRows.find(function(e){return e.vgt_header_id===t.vgt_id}))&&((n=ka(n)).children=[],a.push(n)),n.children.push(t)}}),a},originalRows:function(){var e=ka(this.rows),t=[];t=this.groupOptions.enabled?this.handleGrouped(e):this.handleGrouped([{label:"no groups",children:e}]);var r=0;return da(t,function(e,t){da(e.children,function(e,t){e.originalIndex=r++})}),t},typedColumns:function(){for(var e=Jb(this.columns,[]),t=0;t2&&void 0!==arguments[2]&&arguments[2]&&t.headerField?this.collect(e,t.headerField):this.collect(e,t.field)))return"";if(t.formatFn&&"function"==typeof t.formatFn)return t.formatFn(r,e);var n=t.typeDef;n||(n=this.dataTypes[t.type]||ya);var a=n.format(r,t);return!this.compactMode||""!=a&&null!=a?a:"-"},formattedRow:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={},n=0;n1&&void 0!==arguments[1])||arguments[1];this.columnFilters=e;var n=ka(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=n);for(var a=function(e){var r=t.typedColumns[e];t.columnFilters[r.field]&&(n=da(n,function(e){var n=e.children.filter(function(e){return r.filterOptions&&"function"==typeof r.filterOptions.filterFn?r.filterOptions.filterFn(t.collect(e,r.field),t.columnFilters[r.field]):r.typeDef.filterPredicate(t.collect(e,r.field),t.columnFilters[r.field],!1,r.filterOptions&&"object"===Ma(r.filterOptions.filterDropdownItems))});e.children=n}))},o=0;o0&&this.options.search&&this.rows.length},storeName:function(){return"kirby$plugin$pagetable"+this.parent+"-"+this.name},showOptions:function(){return this.options.showStatus||this.options.showActions}},watch:{language:function(){this.reload()}},created:function(){this.load(),this.loadStoredState()},methods:{replaceInvalidDate:function(t){return t.replace("Invalid Date","-")},load:function(t){var e=this;t||(this.isLoading=!0),this.$api.get(this.parent+"/sections/"+this.name).then(function(t){e.isLoading=!1,e.options=t.options,e.columns=t.data.columns,e.rows=e.items(t.data.rows);var s=t.translations;Object.keys(s).forEach(function(t){null==s[t]&&delete s[t]}),e.translations=Object.assign({},e.translations,s)}).catch(function(t){e.isLoading=!1,e.error=t.message})},openRef:function(t){this.$refs[t].toggle()},onSearch:function(t){this.storeCurrentState(),this.checkReset()},onPerPageChange:function(t){this.$refs.table&&this.$refs.table.changePage(1)},onPageChange:function(t){this.storeCurrentState(),this.checkReset()},onSortChange:function(t){this.storeCurrentState(),this.checkReset()},checkReset:function(){this.showReset=this.rows.length&&(this.searchTerm.length>0||this.$refs.table&&this.$refs.table.sorts.length||this.$refs.table&&1!=this.$refs.table.currentPage)},loadStoredState:function(){var t=JSON.parse(sessionStorage.getItem(this.storeName));null!==t&&(this.storedState=t,t.searchTerm&&t.searchTerm.length>0&&(this.searchTerm=t.searchTerm))},storeCurrentState:function(){if(this.$refs.table){var t={};t.page={currentPage:this.$refs.table.currentPage,currentPerPage:this.$refs.table.currentPerPage},this.$refs.table.sorts[0]&&(t.sort={field:this.$refs.table.sorts[0].field,type:this.$refs.table.sorts[0].type}),t.searchTerm=this.searchTerm,sessionStorage.setItem(this.storeName,JSON.stringify(t))}},resetTable:function(){this.$refs.table.changeSort([]),document.querySelectorAll(".sorting").forEach(function(t){"TH"==t.tagName&&t.classList.remove("sorting","sorting-asc","sorting-desc")}),this.searchTerm="",this.$refs.table.currentPerPage=this.options.limit,this.$refs.table.perPage=this.options.limit,this.$refs.table.changePage(1),this.storeCurrentState()},imageOptions:function(t){var e=t.list.url,s=t.list.srcset;return!!e&&{src:e,srcset:s,back:t.back||"black",cover:t.cover}}}};if(typeof Ua==="function"){Ua=Ua.options}Object.assign(Ua,function(){var render=function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("section",{staticClass:"k-pagetable-section"},[_c("header",{staticClass:"k-section-header"},[_c("k-headline",{attrs:{"link":_vm.options.link}},[_vm.isLoading?_c("span",[_vm._v("\u2026")]):_c("span",[_vm._v(_vm._s(_vm.headline))])]),_vm._v(" "),_c("k-button-group",[_vm.showReset?_c("button",{staticClass:"pagetable-reset-button",domProps:{"innerHTML":_vm._s(_vm.translations.reset)},on:{"click":_vm.resetTable}}):_vm._e(),_vm._v(" "),_vm.showSearch?_c("input",{directives:[{name:"model",rawName:"v-model",value:_vm.searchTerm,expression:"searchTerm"}],staticClass:"pagetable-search-input",attrs:{"type":"text","placeholder":_vm.translations.filter},domProps:{"value":_vm.searchTerm},on:{"input":function($event){if($event.target.composing){return}_vm.searchTerm=$event.target.value}}}):_vm._e(),_vm._v(" "),_vm.add?_c("k-button",{attrs:{"icon":"add"},on:{"click":_vm.create}},[_vm._v(_vm._s(_vm.$t("add")))]):_vm._e()],1)],1),_vm._v(" "),_vm.rows.length&&!_vm.isLoading?_c("vue-good-table",{ref:"table",attrs:{"columns":_vm.columns,"rows":_vm.rows,"sort-options":_vm.sortOptions,"search-options":_vm.searchOptions,"pagination-options":_vm.paginationOptions},on:{"on-search":_vm.onSearch,"on-sort-change":_vm.onSortChange,"on-page-change":_vm.onPageChange,"on-per-page-change":_vm.onPerPageChange},scopedSlots:_vm._u([{key:"table-row",fn:function(props){return[props.column.field=="p-cover-image"&&_vm.options.showImage?_c("span",[_c("k-link",{attrs:{"to":props.row.link}},[_c("figure",{staticClass:"k-list-item-image"},[props.row.image?_c("k-image",_vm._b({},"k-image",_vm.imageOptions(props.row.image),false)):_c("k-icon",_vm._b({},"k-icon",props.row.icon,false))],1)])],1):props.column.field=="p-options"&&_vm.showOptions?_c("span",[_c("div",{staticClass:"k-list-item-options"},[_vm._t("options",[props.row.statusIcon&&_vm.options.showStatus?_c("k-status-icon",_vm._b({staticClass:"k-list-item-status"},"k-status-icon",props.row.statusIcon,false)):_vm._e(),_vm._v(" "),props.row.options&&_vm.options.showActions?_c("k-button",{staticClass:"k-list-item-toggle",attrs:{"tooltip":_vm.$t("options"),"icon":"dots","alt":"Options"},on:{"click":function($event){$event.stopPropagation();return _vm.openRef("dropdown-"+props.row.originalIndex)}}}):_vm._e(),_vm._v(" "),_vm.options.showActions?_c("k-dropdown-content",{ref:"dropdown-"+props.row.originalIndex,attrs:{"options":props.row.options,"align":"right"},on:{"action":function($event){return _vm.action(props.row,$event)}}}):_vm._e()])],2)]):_c("k-link",{attrs:{"to":props.row.link},domProps:{"innerHTML":_vm._s(_vm.replaceInvalidDate(props.formattedRow[props.column.field]))}})]}}],null,false,1749372853)}):!_vm.rows.length&&!_vm.isLoading?[_c("k-empty",{attrs:{"layout":_vm.options.layout,"data-invalid":_vm.isInvalid,"icon":"page"},on:{"click":_vm.create}},[_vm._v(" "+_vm._s(_vm.translations.empty)+" ")]),_vm._v(" "),_c("footer",{staticClass:"k-collection-footer"},[_vm.help?_c("k-text",{staticClass:"k-collection-help",attrs:{"theme":"help"},domProps:{"innerHTML":_vm._s(_vm.help)}}):_vm._e()],1)]:_vm.isLoading?_c("div",{staticClass:"loading"},[_c("k-empty",{attrs:{"layout":_vm.options.layout,"icon":"pagetableLoader"}},[_vm._v(" "+_vm._s(_vm.translations.loading)+" ")])],1):_vm._e(),_vm._v(" "),_c("k-page-create-dialog",{ref:"create"}),_vm._v(" "),_c("k-page-duplicate-dialog",{ref:"duplicate"}),_vm._v(" "),_c("k-page-rename-dialog",{ref:"rename",on:{"success":_vm.update}}),_vm._v(" "),_c("k-page-sort-dialog",{ref:"sort",on:{"success":_vm.update}}),_vm._v(" "),_c("k-page-status-dialog",{ref:"status",on:{"success":_vm.update}}),_vm._v(" "),_c("k-page-template-dialog",{ref:"template",on:{"success":_vm.update}}),_vm._v(" "),_c("k-page-remove-dialog",{ref:"remove",on:{"success":_vm.update}})],2)};var staticRenderFns=[];return{render:render,staticRenderFns:staticRenderFns,_compiled:true,_scopeId:null,functional:undefined}}());panel.plugin("sylvainjule/pagetable",{sections:{pagetable:Ua},icons:{pagetableLoader:""}});})(); \ No newline at end of file diff --git a/lib/pagetable.php b/lib/pagetable.php index 81d3ffa..b76efb3 100644 --- a/lib/pagetable.php +++ b/lib/pagetable.php @@ -197,7 +197,7 @@ foreach ($this->pages as $item) { $permissions = $item->permissions(); $blueprint = $item->blueprint(); - $image = $item->panelImage($this->image, $thumb); + $image = $item->panelImage($this->image ?? []); $baseOptions = [ 'id' => $item->id(), diff --git a/src/components/PageTable.vue b/src/components/PageTable.vue index 62dd845..fe2ddea 100644 --- a/src/components/PageTable.vue +++ b/src/components/PageTable.vue @@ -29,7 +29,7 @@
- +
@@ -37,8 +37,8 @@
- import { VueGoodTable } from 'vue-good-table' + export default { extends: 'k-pages-section', components: { VueGoodTable }, @@ -291,6 +292,20 @@ export default { // store current state this.storeCurrentState() }, + imageOptions(image) { + let src = image.list.url; + let srcset = image.list.srcset; + if (!src) { + return false; + } + let result = { + src: src, + srcset: srcset, + back: image.back || "black", + cover: image.cover + }; + return result; + }, } }; From 825ec4f5b1a9c0a4501c415d41413dd267689932 Mon Sep 17 00:00:00 2001 From: Seth Thompson Date: Thu, 11 Feb 2021 13:59:40 -0500 Subject: [PATCH 2/2] cleanup extraneous variable and check for url --- index.js | 2 +- lib/pagetable.php | 1 - src/components/PageTable.vue | 6 +++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index e166248..79098d6 100644 --- a/index.js +++ b/index.js @@ -1 +1 @@ -(function () {var Fa=this;var kc=pc;var hb=sc;for(var na=[],la=[],lc="undefined"!=typeof Uint8Array?Uint8Array:Array,Va="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xa=0,mc=Va.length;xa0)throw new Error("Invalid string. Length must be a multiple of 4");var p=$.indexOf("=");return-1===p&&(p=r),[p,p===r?0:4-p%4]}function oc($,r,p){return 3*(r+p)/4-p}function pc($){var r,p,o=nc($),e=o[0],y=o[1],h=new lc(oc($,e,y)),a=0,t=y>0?e-4:e;for(p=0;p>16&255,h[a++]=r>>8&255,h[a++]=255&r;return 2===y&&(r=la[$.charCodeAt(p)]<<2|la[$.charCodeAt(p+1)]>>4,h[a++]=255&r),1===y&&(r=la[$.charCodeAt(p)]<<10|la[$.charCodeAt(p+1)]<<4|la[$.charCodeAt(p+2)]>>2,h[a++]=r>>8&255,h[a++]=255&r),h}function qc($){return na[$>>18&63]+na[$>>12&63]+na[$>>6&63]+na[63&$]}function rc($,r,p){for(var o,e=[],y=r;yh?h:y+16383));return 1===o?(r=$[p-1],e.push(na[r>>2]+na[r<<4&63]+"==")):2===o&&(r=($[p-2]<<8)+$[p-1],e.push(na[r>>10]+na[r>>4&63]+na[r<<2&63]+"=")),e.join("")}la["-".charCodeAt(0)]=62,la["_".charCodeAt(0)]=63;var Ga=function(t,r,o,a,$){var e,p,J=8*$-a-1,N=(1<>1,M=-7,w=o?$-1:0,f=o?-1:1,i=t[r+w];for(w+=f,e=i&(1<<-M)-1,i>>=-M,M+=J;M>0;e=256*e+t[r+w],w+=f,M-=8);for(p=e&(1<<-M)-1,e>>=-M,M+=a;M>0;p=256*p+t[r+w],w+=f,M-=8);if(0===e)e=1-h;else{if(e===N)return p?NaN:1/0*(i?-1:1);p+=Math.pow(2,a),e-=h}return(i?-1:1)*p*Math.pow(2,e-a)};var ib=function(t,r,o,a,$,e){var p,J,N,h=8*e-$-1,M=(1<>1,f=23===$?Math.pow(2,-24)-Math.pow(2,-77):0,i=a?0:e-1,g=a?1:-1,s=r<0||0===r&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(J=isNaN(r)?1:0,p=M):(p=Math.floor(Math.log(r)/Math.LN2),r*(N=Math.pow(2,-p))<1&&(p--,N*=2),(r+=p+w>=1?f/N:f*Math.pow(2,1-w))*N>=2&&(p++,N/=2),p+w>=M?(J=0,p=M):p+w>=1?(J=(r*N-1)*Math.pow(2,$),p+=w):(J=r*Math.pow(2,w-1)*Math.pow(2,$),p=0));$>=8;t[o+i]=255&J,i+=g,J/=256,$-=8);for(p=p<<$|J,h+=$;h>0;t[o+i]=255&p,i+=g,p/=256,h-=8);t[o+i-g]|=128*s};var jb={},tc={}.toString;jb=Array.isArray||function(r){return"[object Array]"==tc.call(r)};var uc=50;aa.TYPED_ARRAY_SUPPORT=void 0!==Fa.TYPED_ARRAY_SUPPORT?Fa.TYPED_ARRAY_SUPPORT:vc();var a=Ha();function vc(){try{var r=new Uint8Array(1);return r.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===r.foo()&&"function"==typeof r.subarray&&0===r.subarray(1,1).byteLength}catch(e){return!1}}function Ha(){return aa.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function qa(r,e){if(Ha()=Ha())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ha().toString(16)+" bytes");return 0|r}function mb(r,e){if(aa.isBuffer(r))return r.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(r)||r instanceof ArrayBuffer))return r.byteLength;"string"!=typeof r&&(r=""+r);var t=r.length;if(0===t)return 0;for(var $=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":case void 0:return Ka(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return vb(r).length;default:if($)return Ka(r).length;e=(""+e).toLowerCase(),$=!0;}}function Ac(r,e,t){var $=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===t||t>this.length)&&(t=this.length),t<=0)return"";if((t>>>=0)<=(e>>>=0))return"";for(r||(r="utf8");;)switch(r){case"hex":return Kc(this,e,t);case"utf8":case"utf-8":return qb(this,e,t);case"ascii":return Ic(this,e,t);case"latin1":case"binary":return Jc(this,e,t);case"base64":return Gc(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Lc(this,e,t);default:if($)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),$=!0;}}function sa(r,e,t){var $=r[e];r[e]=r[t],r[t]=$}function nb(r,e,t,$,n){if(0===r.length)return-1;if("string"==typeof t?($=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,isNaN(t)&&(t=n?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(n)return-1;t=r.length-1}else if(t<0){if(!n)return-1;t=0}if("string"==typeof e&&(e=aa.from(e,$)),aa.isBuffer(e))return 0===e.length?-1:ob(r,e,t,$,n);if("number"==typeof e)return e&=255,aa.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):ob(r,[e],t,$,n);throw new TypeError("val must be string, number or Buffer")}function ob(r,e,t,$,n){var s,f=1,h=r.length,a=e.length;if(void 0!==$&&("ucs2"===($=String($).toLowerCase())||"ucs-2"===$||"utf16le"===$||"utf-16le"===$)){if(r.length<2||e.length<2)return-1;f=2,h/=2,a/=2,t/=2}function i(r,e){return 1===f?r[e]:r.readUInt16BE(e*f)}if(n){var o=-1;for(s=t;sh&&(t=h-a),s=t;s>=0;s--){for(var u=!0,d=0;dn&&($=n):$=n;var s=e.length;if(s%2!=0)throw new TypeError("Invalid hex string");$>s/2&&($=s/2);for(var f=0;f<$;++f){var h=parseInt(e.substr(2*f,2),16);if(isNaN(h))return f;r[t+f]=h}return f}function Cc(r,e,t,$){return La(Ka(e,r.length-t),r,t,$)}function pb(r,e,t,$){return La(Qc(e),r,t,$)}function Dc(r,e,t,$){return pb(r,e,t,$)}function Ec(r,e,t,$){return La(vb(e),r,t,$)}function Fc(r,e,t,$){return La(Rc(e,r.length-t),r,t,$)}function Gc(r,e,t){return 0===e&&t===r.length?hb(r):hb(r.slice(e,t))}function qb(r,e,t){t=Math.min(r.length,t);for(var $=[],n=e;n239?4:i>223?3:i>191?2:1;if(n+u<=t)switch(u){case 1:i<128&&(o=i);break;case 2:128==(192&(s=r[n+1]))&&(a=(31&i)<<6|63&s)>127&&(o=a);break;case 3:s=r[n+1],f=r[n+2],128==(192&s)&&128==(192&f)&&(a=(15&i)<<12|(63&s)<<6|63&f)>2047&&(a<55296||a>57343)&&(o=a);break;case 4:s=r[n+1],f=r[n+2],h=r[n+3],128==(192&s)&&128==(192&f)&&128==(192&h)&&(a=(15&i)<<18|(63&s)<<12|(63&f)<<6|63&h)>65535&&a<1114112&&(o=a);}null===o?(o=65533,u=1):o>65535&&(o-=65536,$.push(o>>>10&1023|55296),o=56320|1023&o),$.push(o),n+=u}return Hc($)}aa.poolSize=8192,aa._augment=function(r){return r.__proto__=aa.prototype,r},aa.from=function(r,e,t){return kb(null,r,e,t)},aa.TYPED_ARRAY_SUPPORT&&(aa.prototype.__proto__=Uint8Array.prototype,aa.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&aa[Symbol.species]===aa&&Object.defineProperty(aa,Symbol.species,{value:null,configurable:!0})),aa.alloc=function(r,e,t){return wc(null,r,e,t)},aa.allocUnsafe=function(r){return Wa(null,r)},aa.allocUnsafeSlow=function(r){return Wa(null,r)},aa.isBuffer=function(r){return!(null==r||!r._isBuffer)},aa.compare=function(r,e){if(!aa.isBuffer(r)||!aa.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(r===e)return 0;for(var t=r.length,$=e.length,n=0,s=Math.min(t,$);n0&&(r=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(r+=" ... ")),""},aa.prototype.compare=function(r,e,t,$,n){if(!aa.isBuffer(r))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===t&&(t=r?r.length:0),void 0===$&&($=0),void 0===n&&(n=this.length),e<0||t>r.length||$<0||n>this.length)throw new RangeError("out of range index");if($>=n&&e>=t)return 0;if($>=n)return-1;if(e>=t)return 1;if(this===r)return 0;for(var s=(n>>>=0)-($>>>=0),f=(t>>>=0)-(e>>>=0),h=Math.min(s,f),a=this.slice($,n),i=r.slice(e,t),o=0;on)&&(t=n),r.length>0&&(t<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");$||($="utf8");for(var s=!1;;)switch($){case"hex":return Bc(this,r,e,t);case"utf8":case"utf-8":return Cc(this,r,e,t);case"ascii":return pb(this,r,e,t);case"latin1":case"binary":return Dc(this,r,e,t);case"base64":return Ec(this,r,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Fc(this,r,e,t);default:if(s)throw new TypeError("Unknown encoding: "+$);$=(""+$).toLowerCase(),s=!0;}},aa.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var rb=4096;function Hc(r){var e=r.length;if(e<=rb)return String.fromCharCode.apply(String,r);for(var t="",$=0;$$)&&(t=$);for(var n="",s=e;st)throw new RangeError("Trying to access beyond buffer length")}function ja(r,e,t,$,n,s){if(!aa.isBuffer(r))throw new TypeError("\"buffer\" argument must be a Buffer instance");if(e>n||er.length)throw new RangeError("Index out of range")}function Ia(r,e,t,$){e<0&&(e=65535+e+1);for(var n=0,s=Math.min(r.length-t,2);n>>8*($?n:1-n)}function Ja(r,e,t,$){e<0&&(e=4294967295+e+1);for(var n=0,s=Math.min(r.length-t,4);n>>8*($?n:3-n)&255}function sb(r,e,t,$,n,s){if(t+$>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function tb(r,e,t,$,n){return n||sb(r,e,t,4,3.4028234663852886e38,-3.4028234663852886e38),ib(r,e,t,$,23,4),t+4}function ub(r,e,t,$,n){return n||sb(r,e,t,8,1.7976931348623157e308,-1.7976931348623157e308),ib(r,e,t,$,52,8),t+8}aa.prototype.slice=function(r,e){var t,$=this.length;if((r=~~r)<0?(r+=$)<0&&(r=0):r>$&&(r=$),(e=void 0===e?$:~~e)<0?(e+=$)<0&&(e=0):e>$&&(e=$),e0&&(n*=256);)$+=this[r+--e]*n;return $},aa.prototype.readUInt8=function(r,e){return e||ha(r,1,this.length),this[r]},aa.prototype.readUInt16LE=function(r,e){return e||ha(r,2,this.length),this[r]|this[r+1]<<8},aa.prototype.readUInt16BE=function(r,e){return e||ha(r,2,this.length),this[r]<<8|this[r+1]},aa.prototype.readUInt32LE=function(r,e){return e||ha(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+16777216*this[r+3]},aa.prototype.readUInt32BE=function(r,e){return e||ha(r,4,this.length),16777216*this[r]+(this[r+1]<<16|this[r+2]<<8|this[r+3])},aa.prototype.readIntLE=function(r,e,t){r|=0,e|=0,t||ha(r,e,this.length);for(var $=this[r],n=1,s=0;++s=(n*=128)&&($-=Math.pow(2,8*e)),$},aa.prototype.readIntBE=function(r,e,t){r|=0,e|=0,t||ha(r,e,this.length);for(var $=e,n=1,s=this[r+--$];$>0&&(n*=256);)s+=this[r+--$]*n;return s>=(n*=128)&&(s-=Math.pow(2,8*e)),s},aa.prototype.readInt8=function(r,e){return e||ha(r,1,this.length),128&this[r]?-1*(255-this[r]+1):this[r]},aa.prototype.readInt16LE=function(r,e){e||ha(r,2,this.length);var t=this[r]|this[r+1]<<8;return 32768&t?4294901760|t:t},aa.prototype.readInt16BE=function(r,e){e||ha(r,2,this.length);var t=this[r+1]|this[r]<<8;return 32768&t?4294901760|t:t},aa.prototype.readInt32LE=function(r,e){return e||ha(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},aa.prototype.readInt32BE=function(r,e){return e||ha(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},aa.prototype.readFloatLE=function(r,e){return e||ha(r,4,this.length),Ga(this,r,!0,23,4)},aa.prototype.readFloatBE=function(r,e){return e||ha(r,4,this.length),Ga(this,r,!1,23,4)},aa.prototype.readDoubleLE=function(r,e){return e||ha(r,8,this.length),Ga(this,r,!0,52,8)},aa.prototype.readDoubleBE=function(r,e){return e||ha(r,8,this.length),Ga(this,r,!1,52,8)},aa.prototype.writeUIntLE=function(r,e,t,$){(r=+r,e|=0,t|=0,$)||ja(this,r,e,t,Math.pow(2,8*t)-1,0);var n=1,s=0;for(this[e]=255&r;++s=0&&(s*=256);)this[e+n]=r/s&255;return e+t},aa.prototype.writeUInt8=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,1,255,0),aa.TYPED_ARRAY_SUPPORT||(r=Math.floor(r)),this[e]=255&r,e+1},aa.prototype.writeUInt16LE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,2,65535,0),aa.TYPED_ARRAY_SUPPORT?(this[e]=255&r,this[e+1]=r>>>8):Ia(this,r,e,!0),e+2},aa.prototype.writeUInt16BE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,2,65535,0),aa.TYPED_ARRAY_SUPPORT?(this[e]=r>>>8,this[e+1]=255&r):Ia(this,r,e,!1),e+2},aa.prototype.writeUInt32LE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,4,4294967295,0),aa.TYPED_ARRAY_SUPPORT?(this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=255&r):Ja(this,r,e,!0),e+4},aa.prototype.writeUInt32BE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,4,4294967295,0),aa.TYPED_ARRAY_SUPPORT?(this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=255&r):Ja(this,r,e,!1),e+4},aa.prototype.writeIntLE=function(r,e,t,$){if(r=+r,e|=0,!$){var n=Math.pow(2,8*t-1);ja(this,r,e,t,n-1,-n)}var s=0,f=1,h=0;for(this[e]=255&r;++s>0)-h&255;return e+t},aa.prototype.writeIntBE=function(r,e,t,$){if(r=+r,e|=0,!$){var n=Math.pow(2,8*t-1);ja(this,r,e,t,n-1,-n)}var s=t-1,f=1,h=0;for(this[e+s]=255&r;--s>=0&&(f*=256);)r<0&&0===h&&0!==this[e+s+1]&&(h=1),this[e+s]=(r/f>>0)-h&255;return e+t},aa.prototype.writeInt8=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,1,127,-128),aa.TYPED_ARRAY_SUPPORT||(r=Math.floor(r)),r<0&&(r=255+r+1),this[e]=255&r,e+1},aa.prototype.writeInt16LE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,2,32767,-32768),aa.TYPED_ARRAY_SUPPORT?(this[e]=255&r,this[e+1]=r>>>8):Ia(this,r,e,!0),e+2},aa.prototype.writeInt16BE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,2,32767,-32768),aa.TYPED_ARRAY_SUPPORT?(this[e]=r>>>8,this[e+1]=255&r):Ia(this,r,e,!1),e+2},aa.prototype.writeInt32LE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,4,2147483647,-2147483648),aa.TYPED_ARRAY_SUPPORT?(this[e]=255&r,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24):Ja(this,r,e,!0),e+4},aa.prototype.writeInt32BE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),aa.TYPED_ARRAY_SUPPORT?(this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=255&r):Ja(this,r,e,!1),e+4},aa.prototype.writeFloatLE=function(r,e,t){return tb(this,r,e,!0,t)},aa.prototype.writeFloatBE=function(r,e,t){return tb(this,r,e,!1,t)},aa.prototype.writeDoubleLE=function(r,e,t){return ub(this,r,e,!0,t)},aa.prototype.writeDoubleBE=function(r,e,t){return ub(this,r,e,!1,t)},aa.prototype.copy=function(r,e,t,$){if(t||(t=0),$||0===$||($=this.length),e>=r.length&&(e=r.length),e||(e=0),$>0&&$=this.length)throw new RangeError("sourceStart out of bounds");if($<0)throw new RangeError("sourceEnd out of bounds");$>this.length&&($=this.length),r.length-e<$-t&&($=r.length-e+t);var n,s=$-t;if(this===r&&t=0;--n)r[n+e]=this[n+t];else if(s<1e3||!aa.TYPED_ARRAY_SUPPORT)for(n=0;n>>=0,t=void 0===t?this.length:t>>>0,r||(r=0),"number"==typeof r)for(s=e;s55295&&t<57344){if(!n){if(t>56319){(e-=3)>-1&&s.push(239,191,189);continue}if(f+1===$){(e-=3)>-1&&s.push(239,191,189);continue}n=t;continue}if(t<56320){(e-=3)>-1&&s.push(239,191,189),n=t;continue}t=65536+(n-55296<<10|t-56320)}else n&&(e-=3)>-1&&s.push(239,191,189);if(n=null,t<128){if((e-=1)<0)break;s.push(t)}else if(t<2048){if((e-=2)<0)break;s.push(t>>6|192,63&t|128)}else if(t<65536){if((e-=3)<0)break;s.push(t>>12|224,t>>6&63|128,63&t|128)}else{if(!(t<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;s.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}}return s}function Qc(r){for(var e=[],t=0;t>8,n=t%256,s.push(n),s.push($);return s}function vb(r){return kc(Nc(r))}function La(r,e,t,$){for(var n=0;n<$&&!(n+t>=e.length||n>=r.length);++n)e[n+t]=r[n];return n}function Sc(r){return r!=r}function Ma(e){return(Ma="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Tc(e,t){return Vc(e)||Xc(e,t)||Zc()}function wb(e){return Uc(e)||Wc(e)||Yc()}function Uc(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t-1&&e%1==0&&e-1&&e%1==0&&e<=xb}function wd(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function xd(e){return!!e&&"object"==typeof e}function yd(e){return $a(e)?id(e):md(e)}function zd(e){return e}var da=rd,Ab=9007199254740991,Ad="[object Arguments]",Bd="[object Function]",Cd="[object GeneratorFunction]",Dd=/^(?:0|[1-9]\d*)$/;function Ed(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2]);}return e.apply(t,r)}function Fd(e,t){for(var r=-1,n=Array(e);++r1?r[a-1]:void 0,s=a>2?r[2]:void 0;for(o=e.length>3&&"function"==typeof o?(a--,o):void 0,s&&Od(r[0],r[1],s)&&(o=a<3?void 0:o,a=1),t=Object(t);++n-1&&e%1==0&&e-1&&e%1==0&&e<=Ab}function Ib(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ud(e){return!!e&&"object"==typeof e}var Vd=Nd(function(e,t){if(Id||Gb(t)||Pa(t))Md(t,Wd(t),e);else for(var r in t)Ba.call(t,r)&&Eb(e,r,t[r])});function Wd(e){return Pa(e)?Jd(e):Kd(e)}var Jb=Vd,ma="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof Fa?Fa:"undefined"!=typeof self?self:{};function _a(e,t){return e(t={exports:{}},t.exports),t.exports}var ka=_a(function(e,t){var r=200,n="__lodash_hash_undefined__",a=9007199254740991,o="[object Arguments]",s="[object Boolean]",i="[object Date]",u="[object Function]",c="[object GeneratorFunction]",l="[object Map]",$="[object Number]",d="[object Object]",f="[object RegExp]",v="[object Set]",h="[object String]",w="[object Symbol]",p="[object ArrayBuffer]",g="[object DataView]",m="[object Float32Array]",C="[object Float64Array]",_="[object Int8Array]",y="[object Int16Array]",b="[object Int32Array]",J="[object Uint8Array]",T="[object Uint8ClampedArray]",P="[object Uint16Array]",x="[object Uint32Array]",S=/\w*$/,O=/^\[object .+?Constructor\]$/,k=/^(?:0|[1-9]\d*)$/,E={};E[o]=E["[object Array]"]=E[p]=E[g]=E[s]=E[i]=E[m]=E[C]=E[_]=E[y]=E[b]=E[l]=E[$]=E[d]=E[f]=E[v]=E[h]=E[w]=E[J]=E[T]=E[P]=E[x]=!0,E["[object Error]"]=E[u]=E["[object WeakMap]"]=!1;var D="object"==typeof ma&&ma&&ma.Object===Object&&ma,j="object"==typeof self&&self&&self.Object===Object&&self,R=D||j||Function("return this")(),I=t&&!t.nodeType&&t,F=I&&e&&!e.nodeType&&e,A=F&&F.exports===I;function M(e,t){return e.set(t[0],t[1]),e}function N(e,t){return e.add(t),e}function L(e,t,r,n){var a=-1,o=e?e.length:0;for(n&&o&&(r=e[++a]);++a-1},Te.prototype.set=function(e,t){var r=this.__data__,n=ke(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},Pe.prototype.clear=function(){this.__data__={hash:new Je,map:new(de||Te),string:new Je}},Pe.prototype.delete=function(e){return Ie(this,e).delete(e)},Pe.prototype.get=function(e){return Ie(this,e).get(e)},Pe.prototype.has=function(e){return Ie(this,e).has(e)},Pe.prototype.set=function(e,t){return Ie(this,e).set(e,t),this},xe.prototype.clear=function(){this.__data__=new Te},xe.prototype.delete=function(e){return this.__data__.delete(e)},xe.prototype.get=function(e){return this.__data__.get(e)},xe.prototype.has=function(e){return this.__data__.has(e)},xe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Te){var a=n.__data__;if(!de||a.length-1&&e%1==0&&e-1&&e%1==0&&e<=a}(e.length)&&!Be(e)}var qe=ce||function(){return!1};function Be(e){var t=He(e)?Z.call(e):"";return t==u||t==c}function He(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ge(e){return Ye(e)?Se(e):function(e){if(!Le(e))return le(e);var t=[];for(var r in Object(e))X.call(e,r)&&"constructor"!=r&&t.push(r);return t}(e)}e.exports=function(e){return Ee(e,!0,!0)}}),Xd=_a(function(e,t){var r=200,n="Expected a function",a="__lodash_hash_undefined__",o=1,s=2,i=1/0,u=9007199254740991,c="[object Arguments]",l="[object Array]",$="[object Boolean]",d="[object Date]",f="[object Error]",v="[object Function]",h="[object GeneratorFunction]",w="[object Map]",p="[object Number]",g="[object Object]",m="[object RegExp]",C="[object Set]",_="[object String]",y="[object Symbol]",b="[object ArrayBuffer]",J="[object DataView]",T=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,P=/^\w*$/,x=/^\./,S=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,O=/\\(\\)?/g,k=/^\[object .+?Constructor\]$/,E=/^(?:0|[1-9]\d*)$/,D={};D["[object Float32Array]"]=D["[object Float64Array]"]=D["[object Int8Array]"]=D["[object Int16Array]"]=D["[object Int32Array]"]=D["[object Uint8Array]"]=D["[object Uint8ClampedArray]"]=D["[object Uint16Array]"]=D["[object Uint32Array]"]=!0,D[c]=D[l]=D[b]=D[$]=D[J]=D[d]=D[f]=D[v]=D[w]=D[p]=D[g]=D[m]=D[C]=D[_]=D["[object WeakMap]"]=!1;var j="object"==typeof ma&&ma&&ma.Object===Object&&ma,R="object"==typeof self&&self&&self.Object===Object&&self,I=j||R||Function("return this")(),F=t&&!t.nodeType&&t,A=F&&e&&!e.nodeType&&e,M=A&&A.exports===F&&j.process,N=function(){try{return M&&M.binding("util")}catch(e){}}(),L=N&&N.isTypedArray;function U(e,t){for(var r=-1,n=e?e.length:0,a=0,o=[];++r-1},Je.prototype.set=function(e,t){var r=this.__data__,n=Oe(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},Te.prototype.clear=function(){this.__data__={hash:new be,map:new(le||Je),string:new be}},Te.prototype.delete=function(e){return We(this,e).delete(e)},Te.prototype.get=function(e){return We(this,e).get(e)},Te.prototype.has=function(e){return We(this,e).has(e)},Te.prototype.set=function(e,t){return We(this,e).set(e,t),this},Pe.prototype.add=Pe.prototype.push=function(e){return this.__data__.set(e,a),this},Pe.prototype.has=function(e){return this.__data__.has(e)},xe.prototype.clear=function(){this.__data__=new Je},xe.prototype.delete=function(e){return this.__data__.delete(e)},xe.prototype.get=function(e){return this.__data__.get(e)},xe.prototype.has=function(e){return this.__data__.has(e)},xe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Je){var a=n.__data__;if(!le||a.lengthc))return!1;var $=i.get(e);if($&&i.get(t))return $==t;var d=-1,f=!0,v=a&o?new Pe:void 0;for(i.set(e,t),i.set(t,e);++d-1&&e%1==0&&e-1&&e%1==0&&e<=u}function st(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function it(e){return!!e&&"object"==typeof e}function ut(e){return"symbol"==typeof e||it(e)&&re.call(e)==y}var ct=L?function(e){return function(t){return e(t)}}(L):function(e){return it(e)&&ot(e.length)&&!!D[re.call(e)]};function lt(e){return nt(e)?Se(e):Le(e)}function $t(e){return e}e.exports=function(e,t){return(rt(e)?U:je)(e,Ne(t))}}),ab=_a(function(e,t){var r=200,n="__lodash_hash_undefined__",a=1,o=2,s=9007199254740991,i="[object Arguments]",u="[object Array]",c="[object AsyncFunction]",l="[object Boolean]",$="[object Date]",d="[object Error]",f="[object Function]",v="[object GeneratorFunction]",h="[object Map]",w="[object Number]",p="[object Null]",g="[object Object]",m="[object Proxy]",C="[object RegExp]",_="[object Set]",y="[object String]",b="[object Symbol]",J="[object Undefined]",T="[object ArrayBuffer]",P="[object DataView]",x=/^\[object .+?Constructor\]$/,S=/^(?:0|[1-9]\d*)$/,O={};O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O[i]=O[u]=O[T]=O[l]=O[P]=O[$]=O[d]=O[f]=O[h]=O[w]=O[g]=O[C]=O[_]=O[y]=O["[object WeakMap]"]=!1;var k="object"==typeof ma&&ma&&ma.Object===Object&&ma,E="object"==typeof self&&self&&self.Object===Object&&self,D=k||E||Function("return this")(),j=t&&!t.nodeType&&t,R=j&&e&&!e.nodeType&&e,I=R&&R.exports===j,F=I&&k.process,A=function(){try{return F&&F.binding&&F.binding("util")}catch(e){}}(),M=A&&A.isTypedArray;function N(e,t){for(var r=-1,n=null==e?0:e.length;++rc))return!1;var $=i.get(e);if($&&i.get(t))return $==t;var d=-1,f=!0,v=r&o?new Te:void 0;for(i.set(e,t),i.set(t,e);++d-1},be.prototype.set=function(e,t){var r=this.__data__,n=Se(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Je.prototype.clear=function(){this.size=0,this.__data__={hash:new ye,map:new(le||be),string:new ye}},Je.prototype.delete=function(e){var t=Fe(this,e).delete(e);return this.size-=t?1:0,t},Je.prototype.get=function(e){return Fe(this,e).get(e)},Je.prototype.has=function(e){return Fe(this,e).has(e)},Je.prototype.set=function(e,t){var r=Fe(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Te.prototype.add=Te.prototype.push=function(e){return this.__data__.set(e,n),this},Te.prototype.has=function(e){return this.__data__.has(e)},Pe.prototype.clear=function(){this.__data__=new be,this.size=0},Pe.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Pe.prototype.get=function(e){return this.__data__.get(e)},Pe.prototype.has=function(e){return this.__data__.has(e)},Pe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof be){var a=n.__data__;if(!le||a.length-1&&e%1==0&&e-1&&e%1==0&&e<=s}function Ge(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Qe(e){return null!=e&&"object"==typeof e}var Ke=M?function(e){return function(t){return e(t)}}(M):function(e){return Qe(e)&&He(e.length)&&!!O[Oe(e)]};function Ve(e){return null!=(t=e)&&He(t.length)&&!Be(t)?xe(e):je(e);var t}e.exports=function(e,t){return Ee(e,t)}}),Kb={a:["a","\xE0","\xE1","\xE2","\xE3","\xE4","\xE5","\xE6","\u0101","\u0103","\u0105","\u01CE","\u01DF","\u01E1","\u01FB","\u0201","\u0203","\u0227","\u0250","\u0251","\u0252","\u0363","\u0430","\u04D1","\u04D3","\u1D43","\u1D44","\u1D8F","\u1E01","\u1E9A","\u1EA1","\u1EA3","\u1EA5","\u1EA7","\u1EA9","\u1EAB","\u1EAD","\u1EAF","\u1EB1","\u1EB3","\u1EB5","\u1EB7","\u2090","\u2C65","\uFF41"],A:["A","\xC0","\xC1","\xC2","\xC3","\xC4","\xC5","\u0100","\u0102","\u0104","\u01CD","\u01DE","\u01E0","\u01FA","\u0200","\u0202","\u0226","\u023A","\u0410","\u04D0","\u04D2","\u1D00","\u1D2C","\u1E00","\u1EA0","\u1EA2","\u1EA4","\u1EA6","\u1EA8","\u1EAA","\u1EAC","\u1EAE","\u1EB0","\u1EB2","\u1EB4","\u1EB6","\uFF21"],b:["b","\u0180","\u0183","\u0253","\u15AF","\u1D47","\u1D6C","\u1D80","\u1E03","\u1E05","\u1E07","\uFF42"],B:["B","\u0181","\u0182","\u0243","\u0299","\u16D2","\u1D03","\u1D2E","\u1D2F","\u1E02","\u1E04","\u1E06","\uFF22"],c:["c","\xE7","\u0107","\u0109","\u010B","\u010D","\u0188","\u023C","\u0255","\u0368","\u1D04","\u1D9C","\u1E09","\u2184","\uFF43"],C:["C","\xC7","\u0106","\u0108","\u010A","\u010C","\u0187","\u023B","\u0297","\u1E08","\uFF23"],d:["d","\u010F","\u0111","\u018B","\u018C","\u0221","\u0256","\u0257","\u0369","\u1D48","\u1D6D","\u1D81","\u1D91","\u1E0B","\u1E0D","\u1E0F","\u1E11","\u1E13","\uFF44"],D:["D","\u010E","\u0110","\u0189","\u018A","\u1D30","\u1E0A","\u1E0C","\u1E0E","\u1E10","\u1E12","\uFF24"],e:["e","\xE8","\xE9","\xEA","\xEB","\u0113","\u0115","\u0117","\u0119","\u011B","\u01DD","\u0205","\u0207","\u0229","\u0247","\u0258","\u0364","\u1D49","\u1D92","\u1E15","\u1E17","\u1E19","\u1E1B","\u1E1D","\u1EB9","\u1EBB","\u1EBD","\u1EBF","\u1EC1","\u1EC3","\u1EC5","\u1EC7","\u2091","\uFF45"],E:["E","\xC8","\xC9","\xCA","\xCB","\u0112","\u0114","\u0116","\u0118","\u011A","\u0152","\u018E","\u0190","\u0204","\u0206","\u0228","\u0246","\u025B","\u025C","\u0276","\u0404","\u042D","\u044D","\u0454","\u04EC","\u04ED","\u1D07","\u1D08","\u1D31","\u1D32","\u1D4B","\u1D4C","\u1D93","\u1D94","\u1D9F","\u1E14","\u1E16","\u1E18","\u1E1A","\u1E1C","\u1EB8","\u1EBA","\u1EBC","\u1EBE","\u1EC0","\u1EC2","\u1EC4","\u1EC6","\uFF25","\uD801\uDC01","\uD801\uDC29"],f:["f","\u0192","\u1D6E","\u1D82","\u1DA0","\u1E1F","\uFF46"],F:["F","\u0191","\u1E1E","\u214E","\uFF26"],g:["g","\u011D","\u011F","\u0121","\u0123","\u01E5","\u01E7","\u01F5","\u0260","\u0261","\u1D4D","\u1D77","\u1D79","\u1D83","\u1DA2","\u1E21","\uFF47"],G:["G","\u011C","\u011E","\u0120","\u0122","\u0193","\u01E4","\u01E6","\u01F4","\u0262","\u029B","\u1D33","\u1E20","\uFF27"],h:["h","\u0125","\u0127","\u0195","\u021F","\u0265","\u0266","\u02AE","\u02AF","\u02B0","\u02B1","\u036A","\u04BA","\u04BB","\u144B","\u1DA3","\u1E23","\u1E25","\u1E27","\u1E29","\u1E2B","\u2C68","\uFF48"],H:["H","\u0124","\u0126","\u021E","\u029C","\u157C","\u16BA","\u16BB","\u1D34","\u1E22","\u1E24","\u1E26","\u1E28","\u1E2A","\u2C67","\uFF28"],i:["i","\xEC","\xED","\xEE","\xEF","\u0129","\u012B","\u012D","\u012F","\u01D0","\u0209","\u020B","\u0268","\u0365","\u1D09","\u1D4E","\u1D62","\u1D96","\u1DA4","\u1E2D","\u1E2F","\u1EC9","\u1ECB","\uFF49"],I:["I","\xCC","\xCD","\xCE","\xCF","\u0128","\u012A","\u012C","\u012E","\u0130","\u01CF","\u0208","\u020A","\u026A","\u0406","\u1D35","\u1D7B","\u1DA6","\u1DA7","\u1E2C","\u1E2E","\u1EC8","\u1ECA","\uFF29"],j:["j","\u0135","\u01F0","\u0249","\u029D","\u02B2","\u1DA1","\u1DA8","\uFF4A"],J:["J","\u0134","\u1D0A","\u1D36","\uFF2A"],k:["k","\u0137","\u0199","\u01E9","\u029E","\u1D4F","\u1D84","\u1E31","\u1E33","\u1E35","\u2C6A","\uFF4B"],K:["K","\u0136","\u0198","\u01E8","\u1D37","\u1E30","\u1E32","\u1E34","\u2C69","\uFF2B"],l:["l","\u013A","\u013C","\u013E","\u0140","\u0142","\u019A","\u0234","\u026B","\u026C","\u026D","\u02E1","\u1D85","\u1DA9","\u1DAA","\u1E37","\u1E39","\u1E3B","\u1E3D","\u2113","\u2C61"],L:["L","\u0139","\u013B","\u013D","\u013F","\u0141","\u023D","\u029F","\u1D0C","\u1D38","\u1DAB","\u1E36","\u1E38","\u1E3A","\u1E3C","\u2C60","\u2C62"],m:["m","\u026F","\u0270","\u0271","\u036B","\u1D1F","\u1D50","\u1D5A","\u1D6F","\u1D86","\u1DAC","\u1DAD","\u1E3F","\u1E41","\u1E43","\u33A1","\u33A5","\uFF4D"],M:["M","\u019C","\u1D0D","\u1D39","\u1E3E","\u1E40","\u1E42","\uFF2D"],n:["n","\xF1","\u0144","\u0146","\u0148","\u0149","\u019E","\u01F9","\u0235","\u0272","\u0273","\u1D70","\u1D87","\u1DAE","\u1DAF","\u1E45","\u1E47","\u1E49","\u1E4B","\u207F","\uFF4E"],N:["N","\xD1","\u0143","\u0145","\u0147","\u019D","\u01F8","\u0220","\u0274","\u1D0E","\u1D3A","\u1D3B","\u1DB0","\u1E44","\u1E46","\u1E48","\u1E4A","\uFF2E"],o:["o","\xF2","\xF3","\xF4","\xF5","\xF6","\xF8","\u014D","\u014F","\u0151","\u01A1","\u01D2","\u01EB","\u01ED","\u01FF","\u020D","\u020F","\u022B","\u022D","\u022F","\u0231","\u0275","\u0366","\u043E","\u04E7","\u04E9","\u1D0F","\u1D11","\u1D13","\u1D3C","\u1D52","\u1DB1","\u1E4D","\u1E4F","\u1E51","\u1E53","\u1ECD","\u1ECF","\u1ED1","\u1ED3","\u1ED5","\u1ED7","\u1ED9","\u1EDB","\u1EDD","\u1EDF","\u1EE1","\u1EE3","\u2092","\uFF4F","\uD801\uDC2C"],O:["O","\xD2","\xD3","\xD4","\xD5","\xD6","\xD8","\u014C","\u014E","\u0150","\u019F","\u01A0","\u01D1","\u01EA","\u01EC","\u01FE","\u020C","\u020E","\u022A","\u022C","\u022E","\u0230","\u041E","\u04E6","\u04E8","\u1E4C","\u1E4E","\u1E50","\u1E52","\u1ECC","\u1ECE","\u1ED0","\u1ED2","\u1ED4","\u1ED6","\u1ED8","\u1EDA","\u1EDC","\u1EDE","\u1EE0","\u1EE2","\uFF2F","\uD801\uDC04"],p:["p","\u1D56","\u1D71","\u1D7D","\u1D88","\u1E55","\u1E57","\uFF50"],P:["P","\u01A4","\u1D18","\u1D3E","\u1E54","\u1E56","\u2C63","\uFF30"],q:["q","\u024B","\u02A0","\u16E9","\uFF51"],Q:["Q","\u024A","\uFF31"],r:["r","\u0155","\u0157","\u0159","\u0211","\u0213","\u024D","\u0279","\u027B","\u02B3","\u02B4","\u02B5","\u036C","\u1D63","\u1D72","\u1D89","\u1E59","\u1E5B","\u1E5D","\u1E5F"],R:["R","\u0154","\u0156","\u0158","\u01A6","\u0210","\u0212","\u024C","\u0280","\u0281","\u02B6","\u16B1","\u1D19","\u1D1A","\u1D3F","\u1E58","\u1E5A","\u1E5C","\u1E5E","\u2C64"],s:["s","\u015B","\u015D","\u015F","\u0161","\u0219","\u0282","\u1506","\u1D8A","\u1E61","\u1E63","\u1E65","\u1E67","\u1E69","\uFF53"],S:["S","\u015A","\u015C","\u015E","\u0160","\u0218","\u023F","\u02E2","\u1D74","\u1E60","\u1E62","\u1E64","\u1E66","\u1E68","\uFF33"],t:["t","\u0163","\u0165","\u0167","\u01AB","\u01AD","\u021B","\u0287","\u036D","\u1D40","\u1D57","\u1D75","\u1DB5","\u1E6B","\u1E6D","\u1E6F","\u1E71","\u1E97","\uFF54"],T:["T","\u0162","\u0164","\u01AC","\u01AE","\u021A","\u023E","\u1D1B","\u1D40","\u1E6A","\u1E6C","\u1E6E","\u1E70","\uFF34"],u:["u","\xF9","\xFA","\xFB","\xFC","\u0169","\u016B","\u016D","\u016F","\u0171","\u0173","\u01B0","\u01D4","\u01D6","\u01D8","\u01DA","\u01DC","\u0215","\u0217","\u0367","\u07CE","\u1D58","\u1D64","\u1E73","\u1E75","\u1E77","\u1E79","\u1E7B","\u1EE5","\u1EE7","\u1EE9","\u1EEB","\u1EED","\u1EEF","\u1EF1","\uFF55"],U:["U","\xD9","\xDA","\xDB","\xDC","\u0168","\u016A","\u016C","\u016E","\u0170","\u0172","\u01AF","\u01D3","\u01D5","\u01D7","\u01D9","\u01DB","\u0214","\u0216","\u0244","\u1D1C","\u1D41","\u1D7E","\u1E72","\u1E74","\u1E76","\u1E78","\u1E7A","\u1EE4","\u1EE6","\u1EE8","\u1EEA","\u1EEC","\u1EEE","\u1EF0","\uFF35"],v:["v","\u028B","\u036E","\u1D5B","\u1D65","\u1DB9","\u1E7D","\u1E7F","\u2C71","\uFF56","\u2C74"],V:["V","\u01B2","\u0245","\u028C","\u1D20","\u1D8C","\u1E7C","\u1E7E","\uFF36"],w:["w","\u0175","\u02B7","\u1D42","\u1E81","\u1E83","\u1E85","\u1E87","\u1E89","\u1E98","\u2C73","\uFF57"],W:["W","\u0174","\u028D","\u1D21","\u1E80","\u1E82","\u1E84","\u1E86","\u1E88","\u2C72","\uFF37"],x:["x","\u033D","\u0353","\u1D8D","\u036F","\u1E8B","\u1E8D","\u2093","\uFF58"],X:["X","\u02E3","\u036F","\u1E8A","\u1E8C","\u2612","\u2715","\u2716","\u2717","\u2718","\uFF38"],y:["y","\xFD","\xFF","\u0177","\u0233","\u024F","\u02B8","\u1E8F","\u1EF3","\u1EF5","\u1EF7","\u1EF9","\uFF59"],Y:["Y","\xDD","\u0176","\u0178","\u01B3","\u01B4","\u0232","\u024E","\u028E","\u028F","\u1E8E","\u1EF2","\u1EF4","\u1EF6","\u1EF8","\uFF39"],z:["z","\u017A","\u017C","\u017E","\u01B6","\u0225","\u0240","\u0290","\u0291","\u1646","\u1647","\u1DBB","\u1DBC","\u1DBD","\u1E91","\u1E93","\u1E95","\u2C6C","\uFF5A"],Z:["Z","\u0179","\u017B","\u017D","\u01B5","\u0224","\u1D22","\u1D76","\u1E90","\u1E92","\u1E94","\u2C6B","\uFF3A"]},bb=function(e){for(var t=[],r=0;r2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)return!1;var a=r?String(e).toLowerCase():bb(Lb(String(e)).toLowerCase()),o=r?t.toLowerCase():bb(Lb(t).toLowerCase());return n?a===o:a.indexOf(o)>-1},compare:function(e,t){function r(e){return null==e?"":bb(e.toLowerCase())}return(e=r(e))<(t=r(t))?-1:e>t?1:0}},Yd={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(e){var t=parseInt(e.target.value,10);if(Number.isNaN(t)||t>this.lastPage||t<1)return e.target.value=this.currentPage,!1;e.target.value=t,this.$emit("page-changed",t)}},mounted:function(){},components:{}};function ta(e,t,r,n,a,o,s,i,u,c){"boolean"!=typeof s&&(u=i,i=s,s=!1);const l="function"==typeof r?r.options:r;let $;if(e&&e.render&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,a&&(l.functional=!0)),n&&(l._scopeId=n),o?($=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,u(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=$):t&&($=s?function(e){t.call(this,c(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,i(e))}),$)if(l.functional){const e=l.render;l.render=function(t,r){return $.call(r),e(t,r)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,$):[$]}return r}var Zd=Yd,$d=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"footer__navigation__page-info"},[e._v("\n "+e._s(e.pageText)+" "),r("input",{staticClass:"footer__navigation__page-info__current-entry",attrs:{type:"text"},domProps:{value:e.currentPage},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.stopPropagation(),e.changePage(t))}}}),e._v(" "+e._s(e.pageInfo)+"\n")])},_d=[],af=void 0,bf="data-v-9a8cd1f4",cf=void 0,df=!1,ef=ta({render:$d,staticRenderFns:_d},af,Zd,bf,df,cf,!1,void 0,void 0,void 0),ff=[10,20,30,40,50],gf={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(e,t){this.handlePerPage(),this.perPageChanged(t)},immediate:!0},customRowsPerPageDropdown:function(){this.handlePerPage()},total:{handler:function(e,t){-1===this.rowsPerPageOptions.indexOf(this.currentPerPage)&&(this.currentPerPage=e)}}},computed:{pagesCount:function(){var e=Math.floor(this.total/this.currentPerPage);return 0===this.total%this.currentPerPage?e:e+1},paginatedInfo:function(){var e=(this.currentPage-1)*this.currentPerPage+1,t=Math.min(this.total,this.currentPage*this.currentPerPage);return 0===t&&(e=0),"".concat(e," - ").concat(t," ").concat(this.ofText," ").concat(this.total)},nextIsPossible:function(){return this.currentPage1}},methods:{changePage:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e>0&&this.total>this.currentPerPage*(e-1)&&(this.prevPage=this.currentPage,this.currentPage=e,t&&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(e){e&&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=ka(this.customRowsPerPageDropdown):this.rowsPerPageOptions=ka(ff),this.perPage){this.currentPerPage=this.perPage;for(var e=!1,t=0;t0&&void 0!==arguments[0]&&arguments[0];this.columnFilters={},e&&this.$emit("filter-changed",this.columnFilters)},isFilterable:function(e){return e.filterOptions&&e.filterOptions.enabled},isDropdown:function(e){return this.isFilterable(e)&&e.filterOptions.filterDropdownItems&&e.filterOptions.filterDropdownItems.length},isDropdownObjects:function(e){return this.isDropdown(e)&&"object"===Ma(e.filterOptions.filterDropdownItems[0])},isDropdownArray:function(e){return this.isDropdown(e)&&"object"!==Ma(e.filterOptions.filterDropdownItems[0])},getPlaceholder:function(e){return this.isFilterable(e)&&e.filterOptions.placeholder||"Filter ".concat(e.label)},updateFiltersOnEnter:function(e,t){this.timer&&clearTimeout(this.timer),this.updateFiltersImmediately(e.field,t)},updateFiltersOnKeyup:function(e,t){"enter"!==e.filterOptions.trigger&&this.updateFilters(e,t)},updateSlotFilter:function(e,t){var r=e.filterOptions.slotFilterField||e.field;"function"==typeof e.filterOptions.formatValue&&(t=e.filterOptions.formatValue(t)),this.updateFiltersImmediately(r,t)},updateFilters:function(e,t){var r=this;this.timer&&clearTimeout(this.timer),this.timer=setTimeout(function(){r.updateFiltersImmediately(e.field,t)},400)},updateFiltersImmediately:function(e,t){this.$set(this.columnFilters,e,t),this.$emit("filter-changed",this.columnFilters)},populateInitialFilters:function(){for(var e=0;e0?1:a}function Qa(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=ia(e);return!isNaN(t)}var Ra={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 eg(e,t,r){var n;return r=r||{},n="string"==typeof Ra[e]?Ra[e]:1===t?Ra[e].one:Ra[e].other.replace("{{count}}",t),r.addSuffix?r.comparison>0?"in "+n:n+" ago":n}function cb(e){return function(t){var r=t||{},n=r.width?String(r.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var fg={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},gg={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},hg={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ig={date:cb({formats:fg,defaultWidth:"full"}),time:cb({formats:gg,defaultWidth:"full"}),dateTime:cb({formats:hg,defaultWidth:"full"})},jg={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function kg(e,t,r,n){return jg[e]}function Ca(e){return function(t,r){var n,a=r||{};if("formatting"===(a.context?String(a.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,s=a.width?String(a.width):o;n=e.formattingValues[s]||e.formattingValues[o]}else{var i=e.defaultWidth,u=a.width?String(a.width):e.defaultWidth;n=e.values[u]||e.values[i]}return n[e.argumentCallback?e.argumentCallback(t):t]}}var lg={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},mg={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ng={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"]},og={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"]},pg={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"}},qg={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"}};function rg(e,t){var r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd";}return r+"th"}var sg={ordinalNumber:rg,era:Ca({values:lg,defaultWidth:"wide"}),quarter:Ca({values:mg,defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:Ca({values:ng,defaultWidth:"wide"}),day:Ca({values:og,defaultWidth:"wide"}),dayPeriod:Ca({values:pg,defaultWidth:"wide",formattingValues:qg,defaultFormattingWidth:"wide"})};function tg(e){return function(t,r){var n=String(t),a=r||{},o=n.match(e.matchPattern);if(!o)return null;var s=o[0],i=n.match(e.parsePattern);if(!i)return null;var u=e.valueCallback?e.valueCallback(i[0]):i[0];return{value:u=a.valueCallback?a.valueCallback(u):u,rest:n.slice(s.length)}}}function Da(e){return function(t,r){var n=String(t),a=r||{},o=a.width,s=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],i=n.match(s);if(!i)return null;var u,c=i[0],l=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth];return u="[object Array]"===Object.prototype.toString.call(l)?l.findIndex(function(e){return e.test(n)}):ug(l,function(e){return e.test(n)}),u=e.valueCallback?e.valueCallback(u):u,{value:u=a.valueCallback?a.valueCallback(u):u,rest:n.slice(c.length)}}}function ug(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}var vg=/^(\d+)(th|st|nd|rd)?/i,wg=/\d+/i,xg={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},yg={any:[/^b/i,/^(a|c)/i]},zg={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Ag={any:[/1/i,/2/i,/3/i,/4/i]},Bg={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},Cg={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]},Dg={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},Eg={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]},Fg={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},Gg={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}},Hg={ordinalNumber:tg({matchPattern:vg,parsePattern:wg,valueCallback:function(e){return parseInt(e,10)}}),era:Da({matchPatterns:xg,defaultMatchWidth:"wide",parsePatterns:yg,defaultParseWidth:"any"}),quarter:Da({matchPatterns:zg,defaultMatchWidth:"wide",parsePatterns:Ag,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Da({matchPatterns:Bg,defaultMatchWidth:"wide",parsePatterns:Cg,defaultParseWidth:"any"}),day:Da({matchPatterns:Dg,defaultMatchWidth:"wide",parsePatterns:Eg,defaultParseWidth:"any"}),dayPeriod:Da({matchPatterns:Fg,defaultMatchWidth:"any",parsePatterns:Gg,defaultParseWidth:"any"})},Rb={formatDistance:eg,formatLong:ig,formatRelative:kg,localize:sg,match:Hg,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Sb(e,t){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return cg(e,-ea(t))}function ba(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length0?r:1-r;return ba("yy"===t?n%100:n,t.length)},M:function(e,t){var r=e.getUTCMonth();return"M"===t?String(r+1):ba(r+1,2)},d:function(e,t){return ba(e.getUTCDate(),t.length)},a:function(e,t){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":case"aaa":return r.toUpperCase();case"aaaaa":return r[0];case"aaaa":default:return"am"===r?"a.m.":"p.m.";}},h:function(e,t){return ba(e.getUTCHours()%12||12,t.length)},H:function(e,t){return ba(e.getUTCHours(),t.length)},m:function(e,t){return ba(e.getUTCMinutes(),t.length)},s:function(e,t){return ba(e.getUTCSeconds(),t.length)},S:function(e,t){var r=t.length,n=e.getUTCMilliseconds();return ba(Math.floor(n*Math.pow(10,r-3)),t.length)}},Ig=864e5;function Jg(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=ia(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=r-t.getTime();return Math.floor(n/Ig)+1}function za(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=ia(e),r=t.getUTCDay(),n=(r<1?7:0)+r-1;return t.setUTCDate(t.getUTCDate()-n),t.setUTCHours(0,0,0,0),t}function Tb(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=ia(e),r=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var a=za(n),o=new Date(0);o.setUTCFullYear(r,0,4),o.setUTCHours(0,0,0,0);var s=za(o);return t.getTime()>=a.getTime()?r+1:t.getTime()>=s.getTime()?r:r-1}function Kg(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=Tb(e),r=new Date(0);return r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0),za(r)}var Lg=6048e5;function Ub(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=ia(e),r=za(t).getTime()-Kg(t).getTime();return Math.round(r/Lg)+1}function ua(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var r=t||{},n=r.locale,a=n&&n.options&&n.options.weekStartsOn,o=null==a?0:ea(a),s=null==r.weekStartsOn?o:ea(r.weekStartsOn);if(!(s>=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var i=ia(e),u=i.getUTCDay(),c=(u=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var c=new Date(0);c.setUTCFullYear(n+1,0,u),c.setUTCHours(0,0,0,0);var l=ua(c,t),$=new Date(0);$.setUTCFullYear(n,0,u),$.setUTCHours(0,0,0,0);var d=ua($,t);return r.getTime()>=l.getTime()?n+1:r.getTime()>=d.getTime()?n:n-1}function Mg(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var r=t||{},n=r.locale,a=n&&n.options&&n.options.firstWeekContainsDate,o=null==a?1:ea(a),s=null==r.firstWeekContainsDate?o:ea(r.firstWeekContainsDate),i=db(e,t),u=new Date(0);return u.setUTCFullYear(i,0,s),u.setUTCHours(0,0,0,0),ua(u,t)}var Ng=6048e5;function Vb(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var r=ia(e),n=ua(r,t).getTime()-Mg(r,t).getTime();return Math.round(n/Ng)+1}var Aa={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Og={G:function(e,t,r){var n=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"});}},y:function(e,t,r){if("yo"===t){var n=e.getUTCFullYear(),a=n>0?n:1-n;return r.ordinalNumber(a,{unit:"year"})}return ra.y(e,t)},Y:function(e,t,r,n){var a=db(e,n),o=a>0?a:1-a;return"YY"===t?ba(o%100,2):"Yo"===t?r.ordinalNumber(o,{unit:"year"}):ba(o,t.length)},R:function(e,t){return ba(Tb(e),t.length)},u:function(e,t){return ba(e.getUTCFullYear(),t.length)},Q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return ba(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"});}},q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return ba(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"});}},M:function(e,t,r){var n=e.getUTCMonth();switch(t){case"M":case"MM":return ra.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"});}},L:function(e,t,r){var n=e.getUTCMonth();switch(t){case"L":return String(n+1);case"LL":return ba(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"});}},w:function(e,t,r,n){var a=Vb(e,n);return"wo"===t?r.ordinalNumber(a,{unit:"week"}):ba(a,t.length)},I:function(e,t,r){var n=Ub(e);return"Io"===t?r.ordinalNumber(n,{unit:"week"}):ba(n,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getUTCDate(),{unit:"date"}):ra.d(e,t)},D:function(e,t,r){var n=Jg(e);return"Do"===t?r.ordinalNumber(n,{unit:"dayOfYear"}):ba(n,t.length)},E:function(e,t,r){var n=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"});}},e:function(e,t,r,n){var a=e.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return ba(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"});}},c:function(e,t,r,n){var a=e.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return ba(o,t.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"});}},i:function(e,t,r){var n=e.getUTCDay(),a=0===n?7:n;switch(t){case"i":return String(a);case"ii":return ba(a,t.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"});}},a:function(e,t,r){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(n,{width:"wide",context:"formatting"});}},b:function(e,t,r){var n,a=e.getUTCHours();switch(n=12===a?Aa.noon:0===a?Aa.midnight:a/12>=1?"pm":"am",t){case"b":case"bb":case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(n,{width:"wide",context:"formatting"});}},B:function(e,t,r){var n,a=e.getUTCHours();switch(n=a>=17?Aa.evening:a>=12?Aa.afternoon:a>=4?Aa.morning:Aa.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(n,{width:"wide",context:"formatting"});}},h:function(e,t,r){if("ho"===t){var n=e.getUTCHours()%12;return 0===n&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return ra.h(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getUTCHours(),{unit:"hour"}):ra.H(e,t)},K:function(e,t,r){var n=e.getUTCHours()%12;return"Ko"===t?r.ordinalNumber(n,{unit:"hour"}):ba(n,t.length)},k:function(e,t,r){var n=e.getUTCHours();return 0===n&&(n=24),"ko"===t?r.ordinalNumber(n,{unit:"hour"}):ba(n,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):ra.m(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):ra.s(e,t)},S:function(e,t){return ra.S(e,t)},X:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();if(0===a)return"Z";switch(t){case"X":return Xb(a);case"XXXX":case"XX":return va(a);case"XXXXX":case"XXX":default:return va(a,":");}},x:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();switch(t){case"x":return Xb(a);case"xxxx":case"xx":return va(a);case"xxxxx":case"xxx":default:return va(a,":");}},O:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Wb(a,":");case"OOOO":default:return"GMT"+va(a,":");}},z:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Wb(a,":");case"zzzz":default:return"GMT"+va(a,":");}},t:function(e,t,r,n){var a=n._originalDate||e;return ba(Math.floor(a.getTime()/1e3),t.length)},T:function(e,t,r,n){return ba((n._originalDate||e).getTime(),t.length)}};function Wb(e,t){var r=e>0?"-":"+",n=Math.abs(e),a=Math.floor(n/60),o=n%60;if(0===o)return r+String(a);var s=t||"";return r+String(a)+s+ba(o,2)}function Xb(e,t){return e%60==0?(e>0?"-":"+")+ba(Math.abs(e)/60,2):va(e,t)}function va(e,t){var r=t||"",n=e>0?"-":"+",a=Math.abs(e);return n+ba(Math.floor(a/60),2)+r+ba(a%60,2)}function Yb(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"});}}function Zb(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"});}}function Pg(e,t){var r,n=e.match(/(P+)(p+)?/),a=n[1],o=n[2];if(!o)return Yb(e,t);switch(a){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;case"PPPP":default:r=t.dateTime({width:"full"});}return r.replace("{{date}}",Yb(a,t)).replace("{{time}}",Zb(o,t))}var $b={p:Zb,P:Pg},Qg=["D","DD"],Rg=["YY","YYYY"];function _b(e){return-1!==Qg.indexOf(e)}function ac(e){return-1!==Rg.indexOf(e)}function Sa(e){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` for formatting years; see: https://git.io/fxCyr");if("YY"===e)throw new RangeError("Use `yy` instead of `YY` for formatting years; see: https://git.io/fxCyr");if("D"===e)throw new RangeError("Use `d` instead of `D` for formatting days of the month; see: https://git.io/fxCyr");if("DD"===e)throw new RangeError("Use `dd` instead of `DD` for formatting days of the month; see: https://git.io/fxCyr")}var Sg=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Tg=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ug=/^'(.*?)'?$/,Vg=/''/g,Wg=/[a-zA-Z]/;function Xg(e,t,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=String(t),a=r||{},o=a.locale||Rb,s=o.options&&o.options.firstWeekContainsDate,i=null==s?1:ea(s),u=null==a.firstWeekContainsDate?i:ea(a.firstWeekContainsDate);if(!(u>=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var c=o.options&&o.options.weekStartsOn,l=null==c?0:ea(c),$=null==a.weekStartsOn?l:ea(a.weekStartsOn);if(!($>=0&&$<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!o.localize)throw new RangeError("locale must contain localize property");if(!o.formatLong)throw new RangeError("locale must contain formatLong property");var d=ia(e);if(!Qa(d))throw new RangeError("Invalid time value");var f=Sb(d,Qb(d)),v={firstWeekContainsDate:u,weekStartsOn:$,locale:o,_originalDate:d};return n.match(Tg).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,$b[t])(e,o.formatLong,v):e}).join("").match(Sg).map(function(e){if("''"===e)return"'";var t=e[0];if("'"===t)return Yg(e);var r=Og[t];if(r)return!a.useAdditionalWeekYearTokens&&ac(e)&&Sa(e),!a.useAdditionalDayOfYearTokens&&_b(e)&&Sa(e),r(f,e,o.localize,v);if(t.match(Wg))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return e}).join("")}function Yg(e){return e.match(Ug)[1].replace(Vg,"'")}function Zg(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var r in t=t||{})t.hasOwnProperty(r)&&(e[r]=t[r]);return e}function eb(e,t,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=r||{},a=n.locale,o=a&&a.options&&a.options.weekStartsOn,s=null==o?0:ea(o),i=null==n.weekStartsOn?s:ea(n.weekStartsOn);if(!(i>=0&&i<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=ia(e),c=ea(t),l=((c%7+7)%70,a=n?t:1-t;if(a<=50)r=e||100;else{var o=a+50;r=e+100*Math.floor(o/100)-(e>=o%100?100:0)}return n?r:1-r}var eh=[31,28,31,30,31,30,31,31,30,31,30,31],fh=[31,29,31,30,31,30,31,31,30,31,30,31];function ec(e){return e%400==0||e%4==0&&e%100!=0}var gh={G:{priority:140,parse:function(e,t,r,n){switch(t){case"G":case"GG":case"GGG":return r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"});case"GGGGG":return r.era(e,{width:"narrow"});case"GGGG":default:return r.era(e,{width:"wide"})||r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"});}},set:function(e,t,r,n){return t.era=r,e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(e,t,r,n){var a=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return fa(4,e,a);case"yo":return r.ordinalNumber(e,{unit:"year",valueCallback:a});default:return fa(t.length,e,a);}},validate:function(e,t,r){return t.isTwoDigitYear||t.year>0},set:function(e,t,r,n){var a=e.getUTCFullYear();if(r.isTwoDigitYear){var o=dc(r.year,a);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}var s="era"in t&&1!==t.era?1-r.year:r.year;return e.setUTCFullYear(s,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(e,t,r,n){var a=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return fa(4,e,a);case"Yo":return r.ordinalNumber(e,{unit:"year",valueCallback:a});default:return fa(t.length,e,a);}},validate:function(e,t,r){return t.isTwoDigitYear||t.year>0},set:function(e,t,r,n){var a=db(e,n);if(r.isTwoDigitYear){var o=dc(r.year,a);return e.setUTCFullYear(o,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),ua(e,n)}var s="era"in t&&1!==t.era?1-r.year:r.year;return e.setUTCFullYear(s,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),ua(e,n)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(e,t,r,n){return cc("R"===t?4:t.length,e)},set:function(e,t,r,n){var a=new Date(0);return a.setUTCFullYear(r,0,4),a.setUTCHours(0,0,0,0),za(a)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(e,t,r,n){return cc("u"===t?4:t.length,e)},set:function(e,t,r,n){return e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(e,t,r,n){switch(t){case"Q":case"QQ":return fa(t.length,e);case"Qo":return r.ordinalNumber(e,{unit:"quarter"});case"QQQ":return r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(e,{width:"wide",context:"formatting"})||r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"});}},validate:function(e,t,r){return t>=1&&t<=4},set:function(e,t,r,n){return e.setUTCMonth(3*(r-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(e,t,r,n){switch(t){case"q":case"qq":return fa(t.length,e);case"qo":return r.ordinalNumber(e,{unit:"quarter"});case"qqq":return r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(e,{width:"wide",context:"standalone"})||r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"});}},validate:function(e,t,r){return t>=1&&t<=4},set:function(e,t,r,n){return e.setUTCMonth(3*(r-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(e,t,r,n){var a=function(e){return e-1};switch(t){case"M":return ca(ga.month,e,a);case"MM":return fa(2,e,a);case"Mo":return r.ordinalNumber(e,{unit:"month",valueCallback:a});case"MMM":return r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(e,{width:"wide",context:"formatting"})||r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"});}},validate:function(e,t,r){return t>=0&&t<=11},set:function(e,t,r,n){return e.setUTCMonth(r,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(e,t,r,n){var a=function(e){return e-1};switch(t){case"L":return ca(ga.month,e,a);case"LL":return fa(2,e,a);case"Lo":return r.ordinalNumber(e,{unit:"month",valueCallback:a});case"LLL":return r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(e,{width:"wide",context:"standalone"})||r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"});}},validate:function(e,t,r){return t>=0&&t<=11},set:function(e,t,r,n){return e.setUTCMonth(r,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(e,t,r,n){switch(t){case"w":return ca(ga.week,e);case"wo":return r.ordinalNumber(e,{unit:"week"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=1&&t<=53},set:function(e,t,r,n){return ua(ah(e,r,n),n)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(e,t,r,n){switch(t){case"I":return ca(ga.week,e);case"Io":return r.ordinalNumber(e,{unit:"week"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=1&&t<=53},set:function(e,t,r,n){return za(_g(e,r,n),n)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,parse:function(e,t,r,n){switch(t){case"d":return ca(ga.date,e);case"do":return r.ordinalNumber(e,{unit:"date"});default:return fa(t.length,e);}},validate:function(e,t,r){var n=ec(e.getUTCFullYear()),a=e.getUTCMonth();return n?t>=1&&t<=fh[a]:t>=1&&t<=eh[a]},set:function(e,t,r,n){return e.setUTCDate(r),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,parse:function(e,t,r,n){switch(t){case"D":case"DD":return ca(ga.dayOfYear,e);case"Do":return r.ordinalNumber(e,{unit:"date"});default:return fa(t.length,e);}},validate:function(e,t,r){return ec(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,r,n){return e.setUTCMonth(0,r),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(e,t,r,n){switch(t){case"E":case"EE":case"EEE":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});}},validate:function(e,t,r){return t>=0&&t<=6},set:function(e,t,r,n){return(e=eb(e,r,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(e,t,r,n){var a=function(e){var t=7*Math.floor((e-1)/7);return(e+n.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return fa(t.length,e,a);case"eo":return r.ordinalNumber(e,{unit:"day",valueCallback:a});case"eee":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"eeeee":return r.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});}},validate:function(e,t,r){return t>=0&&t<=6},set:function(e,t,r,n){return(e=eb(e,r,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(e,t,r,n){var a=function(e){var t=7*Math.floor((e-1)/7);return(e+n.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return fa(t.length,e,a);case"co":return r.ordinalNumber(e,{unit:"day",valueCallback:a});case"ccc":return r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});case"ccccc":return r.day(e,{width:"narrow",context:"standalone"});case"cccccc":return r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return r.day(e,{width:"wide",context:"standalone"})||r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});}},validate:function(e,t,r){return t>=0&&t<=6},set:function(e,t,r,n){return(e=eb(e,r,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(e,t,r,n){var a=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return fa(t.length,e);case"io":return r.ordinalNumber(e,{unit:"day"});case"iii":return r.day(e,{width:"abbreviated",context:"formatting",valueCallback:a})||r.day(e,{width:"short",context:"formatting",valueCallback:a})||r.day(e,{width:"narrow",context:"formatting",valueCallback:a});case"iiiii":return r.day(e,{width:"narrow",context:"formatting",valueCallback:a});case"iiiiii":return r.day(e,{width:"short",context:"formatting",valueCallback:a})||r.day(e,{width:"narrow",context:"formatting",valueCallback:a});case"iiii":default:return r.day(e,{width:"wide",context:"formatting",valueCallback:a})||r.day(e,{width:"abbreviated",context:"formatting",valueCallback:a})||r.day(e,{width:"short",context:"formatting",valueCallback:a})||r.day(e,{width:"narrow",context:"formatting",valueCallback:a});}},validate:function(e,t,r){return t>=1&&t<=7},set:function(e,t,r,n){return(e=$g(e,r,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:{priority:80,parse:function(e,t,r,n){switch(t){case"a":case"aa":case"aaa":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});}},set:function(e,t,r,n){return e.setUTCHours(fb(r),0,0,0),e},incompatibleTokens:["b","B","H","K","k","t","T"]},b:{priority:80,parse:function(e,t,r,n){switch(t){case"b":case"bb":case"bbb":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});}},set:function(e,t,r,n){return e.setUTCHours(fb(r),0,0,0),e},incompatibleTokens:["a","B","H","K","k","t","T"]},B:{priority:80,parse:function(e,t,r,n){switch(t){case"B":case"BB":case"BBB":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});}},set:function(e,t,r,n){return e.setUTCHours(fb(r),0,0,0),e},incompatibleTokens:["a","b","t","T"]},h:{priority:70,parse:function(e,t,r,n){switch(t){case"h":return ca(ga.hour12h,e);case"ho":return r.ordinalNumber(e,{unit:"hour"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=1&&t<=12},set:function(e,t,r,n){var a=e.getUTCHours()>=12;return a&&r<12?e.setUTCHours(r+12,0,0,0):a||12!==r?e.setUTCHours(r,0,0,0):e.setUTCHours(0,0,0,0),e},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(e,t,r,n){switch(t){case"H":return ca(ga.hour23h,e);case"Ho":return r.ordinalNumber(e,{unit:"hour"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=0&&t<=23},set:function(e,t,r,n){return e.setUTCHours(r,0,0,0),e},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(e,t,r,n){switch(t){case"K":return ca(ga.hour11h,e);case"Ko":return r.ordinalNumber(e,{unit:"hour"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=0&&t<=11},set:function(e,t,r,n){return e.getUTCHours()>=12&&r<12?e.setUTCHours(r+12,0,0,0):e.setUTCHours(r,0,0,0),e},incompatibleTokens:["a","b","h","H","k","t","T"]},k:{priority:70,parse:function(e,t,r,n){switch(t){case"k":return ca(ga.hour24h,e);case"ko":return r.ordinalNumber(e,{unit:"hour"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=1&&t<=24},set:function(e,t,r,n){var a=r<=24?r%24:r;return e.setUTCHours(a,0,0,0),e},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(e,t,r,n){switch(t){case"m":return ca(ga.minute,e);case"mo":return r.ordinalNumber(e,{unit:"minute"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=0&&t<=59},set:function(e,t,r,n){return e.setUTCMinutes(r,0,0),e},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(e,t,r,n){switch(t){case"s":return ca(ga.second,e);case"so":return r.ordinalNumber(e,{unit:"second"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=0&&t<=59},set:function(e,t,r,n){return e.setUTCSeconds(r,0),e},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(e,t,r,n){return fa(t.length,e,function(e){return Math.floor(e*Math.pow(10,3-t.length))})},set:function(e,t,r,n){return e.setUTCMilliseconds(r),e},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(e,t,r,n){switch(t){case"X":return pa(oa.basicOptionalMinutes,e);case"XX":return pa(oa.basic,e);case"XXXX":return pa(oa.basicOptionalSeconds,e);case"XXXXX":return pa(oa.extendedOptionalSeconds,e);case"XXX":default:return pa(oa.extended,e);}},set:function(e,t,r,n){return t.timestampIsSet?e:new Date(e.getTime()-r)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(e,t,r,n){switch(t){case"x":return pa(oa.basicOptionalMinutes,e);case"xx":return pa(oa.basic,e);case"xxxx":return pa(oa.basicOptionalSeconds,e);case"xxxxx":return pa(oa.extendedOptionalSeconds,e);case"xxx":default:return pa(oa.extended,e);}},set:function(e,t,r,n){return t.timestampIsSet?e:new Date(e.getTime()-r)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(e,t,r,n){return bc(e)},set:function(e,t,r,n){return[new Date(1e3*r),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(e,t,r,n){return bc(e)},set:function(e,t,r,n){return[new Date(r),{timestampIsSet:!0}]},incompatibleTokens:"*"}},hh=10,ih=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,jh=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,kh=/^'(.*?)'?$/,lh=/''/g,mh=/\S/,nh=/[a-zA-Z]/;function fc(e,t,r,n){if(arguments.length<3)throw new TypeError("3 arguments required, but only "+arguments.length+" present");var a=String(e),o=String(t),s=n||{},i=s.locale||Rb;if(!i.match)throw new RangeError("locale must contain match property");var u=i.options&&i.options.firstWeekContainsDate,c=null==u?1:ea(u),l=null==s.firstWeekContainsDate?c:ea(s.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var $=i.options&&i.options.weekStartsOn,d=null==$?0:ea($),f=null==s.weekStartsOn?d:ea(s.weekStartsOn);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===o)return""===a?ia(r):new Date(NaN);var v,h={firstWeekContainsDate:l,weekStartsOn:f,locale:i},w=[{priority:hh,set:oh,index:0}],p=o.match(jh).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,$b[t])(e,i.formatLong,h):e}).join("").match(ih),g=[];for(v=0;v0&&mh.test(a))return new Date(NaN);var x=w.map(function(e){return e.priority}).sort(function(e,t){return t-e}).filter(function(e,t,r){return r.indexOf(e)===t}).map(function(e){return w.filter(function(t){return t.priority===e}).reverse()}).map(function(e){return e[0]}),S=ia(r);if(isNaN(S))return new Date(NaN);var O=Sb(S,Qb(S)),k={};for(v=0;v=0?parseFloat(e):parseInt(e,10)}return(e="number"==typeof e?e:r(e))<(t="number"==typeof t?t:r(t))?-1:e>t?1:0};var rh=Object.freeze({default:wa}),gc=ka(wa);gc.format=function(e){return null==e?"":parseFloat(Math.round(100*e)/100).toFixed(2)};var sh=Object.freeze({default:gc}),hc=ka(wa);hc.format=function(e){return null==e?"":"".concat(parseFloat(100*e).toFixed(2),"%")};var th=Object.freeze({default:hc}),Ea=ka(ya);Ea.isRight=!0,Ea.filterPredicate=function(e,t){return 0===Ea.compare(e,t)},Ea.compare=function(e,t){function r(e){return"boolean"==typeof e?e?1:0:"string"==typeof e?"true"===e?1:0:-1/0}return(e=r(e))<(t=r(t))?-1:e>t?1:0};var uh=Object.freeze({default:Ea}),vh={date:qh,decimal:sh,number:rh,percentage:th,boolean:uh},ic={},jc=vh;da(Object.keys(jc),function(e){var t=e.replace(/^\.\//,"").replace(/\.js/,"");ic[t]=jc[e].default});var wh={name:"vue-good-table",props:{isLoading:{default:null,type:Boolean},maxHeight:{default:null,type:String},fixedHeader:Boolean,theme:{default:""},mode:{default:"local"},totalRows:{},styleClass:{default:"vgt-table bordered"},columns:{},rows:{},lineNumbers:Boolean,responsive:{default:!0,type:Boolean},rtl:Boolean,rowStyleClass:{default:null,type:[Function,String]},compactMode:Boolean,groupOptions:{default:function(){return{enabled:!1,collapsable:!1,rowKey:null}}},selectOptions:{default:function(){return{enabled:!1,selectionInfoClass:"",selectionText:"rows selected",clearSelectionText:"clear",disableSelectInfo:!1,selectAllByGroup:!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",maintainExpanded:!0,expandedRowKeys:new Set,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:ic||{}}},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(e,t){ab(e,t)||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(e,t){ab(e,t)||this.initializeSort()},deep:!0},selectedRows:function(e,t){ab(e,t)||this.$emit("on-selected-rows-change",{selectedRows:this.selectedRows})}},computed:{tableStyles:function(){return this.compactMode?this.tableStyleClasses+"vgt-compact":this.tableStyleClasses},hasFooterSlot:function(){return!!this.$slots["table-actions-bottom"]},wrapperStyles:function(){return{overflow:"scroll-y",maxHeight:this.maxHeight?this.maxHeight:"auto"}},rowKeyField:function(){return this.groupOptions.rowKey||"vgt_header_id"},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 e=[];return da(this.paginated,function(t){da(t.children,function(t){t.vgtSelected&&e.push(t)})}),e},selectedRows:function(){var e=[];return da(this.processedRows,function(t){da(t.children,function(t){t.vgtSelected&&e.push(t)})}),e.sort(function(e,t){return e.originalIndex-t.originalIndex})},fullColspan:function(){for(var e=0,t=0;t=t.length||-1===this.currentPerPage)&&(this.currentPage=1,r=0);var n=t.length+1;-1!==this.currentPerPage&&(n=this.currentPage*this.currentPerPage),t=t.slice(r,n)}var a=[];return t.forEach(function(t){if(void 0!==t.vgt_header_id){e.handleExpanded(t);var r=ka(t);r.children=[],a.push(r)}else{var n=a.find(function(e){return e.vgt_header_id===t.vgt_id});n||(n=e.processedRows.find(function(e){return e.vgt_header_id===t.vgt_id}))&&((n=ka(n)).children=[],a.push(n)),n.children.push(t)}}),a},originalRows:function(){var e=ka(this.rows),t=[];t=this.groupOptions.enabled?this.handleGrouped(e):this.handleGrouped([{label:"no groups",children:e}]);var r=0;return da(t,function(e,t){da(e.children,function(e,t){e.originalIndex=r++})}),t},typedColumns:function(){for(var e=Jb(this.columns,[]),t=0;t2&&void 0!==arguments[2]&&arguments[2]&&t.headerField?this.collect(e,t.headerField):this.collect(e,t.field)))return"";if(t.formatFn&&"function"==typeof t.formatFn)return t.formatFn(r,e);var n=t.typeDef;n||(n=this.dataTypes[t.type]||ya);var a=n.format(r,t);return!this.compactMode||""!=a&&null!=a?a:"-"},formattedRow:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={},n=0;n1&&void 0!==arguments[1])||arguments[1];this.columnFilters=e;var n=ka(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=n);for(var a=function(e){var r=t.typedColumns[e];t.columnFilters[r.field]&&(n=da(n,function(e){var n=e.children.filter(function(e){return r.filterOptions&&"function"==typeof r.filterOptions.filterFn?r.filterOptions.filterFn(t.collect(e,r.field),t.columnFilters[r.field]):r.typeDef.filterPredicate(t.collect(e,r.field),t.columnFilters[r.field],!1,r.filterOptions&&"object"===Ma(r.filterOptions.filterDropdownItems))});e.children=n}))},o=0;o0&&this.options.search&&this.rows.length},storeName:function(){return"kirby$plugin$pagetable"+this.parent+"-"+this.name},showOptions:function(){return this.options.showStatus||this.options.showActions}},watch:{language:function(){this.reload()}},created:function(){this.load(),this.loadStoredState()},methods:{replaceInvalidDate:function(t){return t.replace("Invalid Date","-")},load:function(t){var e=this;t||(this.isLoading=!0),this.$api.get(this.parent+"/sections/"+this.name).then(function(t){e.isLoading=!1,e.options=t.options,e.columns=t.data.columns,e.rows=e.items(t.data.rows);var s=t.translations;Object.keys(s).forEach(function(t){null==s[t]&&delete s[t]}),e.translations=Object.assign({},e.translations,s)}).catch(function(t){e.isLoading=!1,e.error=t.message})},openRef:function(t){this.$refs[t].toggle()},onSearch:function(t){this.storeCurrentState(),this.checkReset()},onPerPageChange:function(t){this.$refs.table&&this.$refs.table.changePage(1)},onPageChange:function(t){this.storeCurrentState(),this.checkReset()},onSortChange:function(t){this.storeCurrentState(),this.checkReset()},checkReset:function(){this.showReset=this.rows.length&&(this.searchTerm.length>0||this.$refs.table&&this.$refs.table.sorts.length||this.$refs.table&&1!=this.$refs.table.currentPage)},loadStoredState:function(){var t=JSON.parse(sessionStorage.getItem(this.storeName));null!==t&&(this.storedState=t,t.searchTerm&&t.searchTerm.length>0&&(this.searchTerm=t.searchTerm))},storeCurrentState:function(){if(this.$refs.table){var t={};t.page={currentPage:this.$refs.table.currentPage,currentPerPage:this.$refs.table.currentPerPage},this.$refs.table.sorts[0]&&(t.sort={field:this.$refs.table.sorts[0].field,type:this.$refs.table.sorts[0].type}),t.searchTerm=this.searchTerm,sessionStorage.setItem(this.storeName,JSON.stringify(t))}},resetTable:function(){this.$refs.table.changeSort([]),document.querySelectorAll(".sorting").forEach(function(t){"TH"==t.tagName&&t.classList.remove("sorting","sorting-asc","sorting-desc")}),this.searchTerm="",this.$refs.table.currentPerPage=this.options.limit,this.$refs.table.perPage=this.options.limit,this.$refs.table.changePage(1),this.storeCurrentState()},imageOptions:function(t){var e=t.list.url,s=t.list.srcset;return!!e&&{src:e,srcset:s,back:t.back||"black",cover:t.cover}}}};if(typeof Ua==="function"){Ua=Ua.options}Object.assign(Ua,function(){var render=function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("section",{staticClass:"k-pagetable-section"},[_c("header",{staticClass:"k-section-header"},[_c("k-headline",{attrs:{"link":_vm.options.link}},[_vm.isLoading?_c("span",[_vm._v("\u2026")]):_c("span",[_vm._v(_vm._s(_vm.headline))])]),_vm._v(" "),_c("k-button-group",[_vm.showReset?_c("button",{staticClass:"pagetable-reset-button",domProps:{"innerHTML":_vm._s(_vm.translations.reset)},on:{"click":_vm.resetTable}}):_vm._e(),_vm._v(" "),_vm.showSearch?_c("input",{directives:[{name:"model",rawName:"v-model",value:_vm.searchTerm,expression:"searchTerm"}],staticClass:"pagetable-search-input",attrs:{"type":"text","placeholder":_vm.translations.filter},domProps:{"value":_vm.searchTerm},on:{"input":function($event){if($event.target.composing){return}_vm.searchTerm=$event.target.value}}}):_vm._e(),_vm._v(" "),_vm.add?_c("k-button",{attrs:{"icon":"add"},on:{"click":_vm.create}},[_vm._v(_vm._s(_vm.$t("add")))]):_vm._e()],1)],1),_vm._v(" "),_vm.rows.length&&!_vm.isLoading?_c("vue-good-table",{ref:"table",attrs:{"columns":_vm.columns,"rows":_vm.rows,"sort-options":_vm.sortOptions,"search-options":_vm.searchOptions,"pagination-options":_vm.paginationOptions},on:{"on-search":_vm.onSearch,"on-sort-change":_vm.onSortChange,"on-page-change":_vm.onPageChange,"on-per-page-change":_vm.onPerPageChange},scopedSlots:_vm._u([{key:"table-row",fn:function(props){return[props.column.field=="p-cover-image"&&_vm.options.showImage?_c("span",[_c("k-link",{attrs:{"to":props.row.link}},[_c("figure",{staticClass:"k-list-item-image"},[props.row.image?_c("k-image",_vm._b({},"k-image",_vm.imageOptions(props.row.image),false)):_c("k-icon",_vm._b({},"k-icon",props.row.icon,false))],1)])],1):props.column.field=="p-options"&&_vm.showOptions?_c("span",[_c("div",{staticClass:"k-list-item-options"},[_vm._t("options",[props.row.statusIcon&&_vm.options.showStatus?_c("k-status-icon",_vm._b({staticClass:"k-list-item-status"},"k-status-icon",props.row.statusIcon,false)):_vm._e(),_vm._v(" "),props.row.options&&_vm.options.showActions?_c("k-button",{staticClass:"k-list-item-toggle",attrs:{"tooltip":_vm.$t("options"),"icon":"dots","alt":"Options"},on:{"click":function($event){$event.stopPropagation();return _vm.openRef("dropdown-"+props.row.originalIndex)}}}):_vm._e(),_vm._v(" "),_vm.options.showActions?_c("k-dropdown-content",{ref:"dropdown-"+props.row.originalIndex,attrs:{"options":props.row.options,"align":"right"},on:{"action":function($event){return _vm.action(props.row,$event)}}}):_vm._e()])],2)]):_c("k-link",{attrs:{"to":props.row.link},domProps:{"innerHTML":_vm._s(_vm.replaceInvalidDate(props.formattedRow[props.column.field]))}})]}}],null,false,1749372853)}):!_vm.rows.length&&!_vm.isLoading?[_c("k-empty",{attrs:{"layout":_vm.options.layout,"data-invalid":_vm.isInvalid,"icon":"page"},on:{"click":_vm.create}},[_vm._v(" "+_vm._s(_vm.translations.empty)+" ")]),_vm._v(" "),_c("footer",{staticClass:"k-collection-footer"},[_vm.help?_c("k-text",{staticClass:"k-collection-help",attrs:{"theme":"help"},domProps:{"innerHTML":_vm._s(_vm.help)}}):_vm._e()],1)]:_vm.isLoading?_c("div",{staticClass:"loading"},[_c("k-empty",{attrs:{"layout":_vm.options.layout,"icon":"pagetableLoader"}},[_vm._v(" "+_vm._s(_vm.translations.loading)+" ")])],1):_vm._e(),_vm._v(" "),_c("k-page-create-dialog",{ref:"create"}),_vm._v(" "),_c("k-page-duplicate-dialog",{ref:"duplicate"}),_vm._v(" "),_c("k-page-rename-dialog",{ref:"rename",on:{"success":_vm.update}}),_vm._v(" "),_c("k-page-sort-dialog",{ref:"sort",on:{"success":_vm.update}}),_vm._v(" "),_c("k-page-status-dialog",{ref:"status",on:{"success":_vm.update}}),_vm._v(" "),_c("k-page-template-dialog",{ref:"template",on:{"success":_vm.update}}),_vm._v(" "),_c("k-page-remove-dialog",{ref:"remove",on:{"success":_vm.update}})],2)};var staticRenderFns=[];return{render:render,staticRenderFns:staticRenderFns,_compiled:true,_scopeId:null,functional:undefined}}());panel.plugin("sylvainjule/pagetable",{sections:{pagetable:Ua},icons:{pagetableLoader:""}});})(); \ No newline at end of file +(function () {var Fa=this;var kc=pc;var hb=sc;for(var na=[],la=[],lc="undefined"!=typeof Uint8Array?Uint8Array:Array,Va="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xa=0,mc=Va.length;xa0)throw new Error("Invalid string. Length must be a multiple of 4");var p=$.indexOf("=");return-1===p&&(p=r),[p,p===r?0:4-p%4]}function oc($,r,p){return 3*(r+p)/4-p}function pc($){var r,p,o=nc($),e=o[0],y=o[1],h=new lc(oc($,e,y)),a=0,t=y>0?e-4:e;for(p=0;p>16&255,h[a++]=r>>8&255,h[a++]=255&r;return 2===y&&(r=la[$.charCodeAt(p)]<<2|la[$.charCodeAt(p+1)]>>4,h[a++]=255&r),1===y&&(r=la[$.charCodeAt(p)]<<10|la[$.charCodeAt(p+1)]<<4|la[$.charCodeAt(p+2)]>>2,h[a++]=r>>8&255,h[a++]=255&r),h}function qc($){return na[$>>18&63]+na[$>>12&63]+na[$>>6&63]+na[63&$]}function rc($,r,p){for(var o,e=[],y=r;yh?h:y+16383));return 1===o?(r=$[p-1],e.push(na[r>>2]+na[r<<4&63]+"==")):2===o&&(r=($[p-2]<<8)+$[p-1],e.push(na[r>>10]+na[r>>4&63]+na[r<<2&63]+"=")),e.join("")}la["-".charCodeAt(0)]=62,la["_".charCodeAt(0)]=63;var Ga=function(t,r,o,a,$){var e,p,J=8*$-a-1,N=(1<>1,M=-7,w=o?$-1:0,f=o?-1:1,i=t[r+w];for(w+=f,e=i&(1<<-M)-1,i>>=-M,M+=J;M>0;e=256*e+t[r+w],w+=f,M-=8);for(p=e&(1<<-M)-1,e>>=-M,M+=a;M>0;p=256*p+t[r+w],w+=f,M-=8);if(0===e)e=1-h;else{if(e===N)return p?NaN:1/0*(i?-1:1);p+=Math.pow(2,a),e-=h}return(i?-1:1)*p*Math.pow(2,e-a)};var ib=function(t,r,o,a,$,e){var p,J,N,h=8*e-$-1,M=(1<>1,f=23===$?Math.pow(2,-24)-Math.pow(2,-77):0,i=a?0:e-1,g=a?1:-1,s=r<0||0===r&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(J=isNaN(r)?1:0,p=M):(p=Math.floor(Math.log(r)/Math.LN2),r*(N=Math.pow(2,-p))<1&&(p--,N*=2),(r+=p+w>=1?f/N:f*Math.pow(2,1-w))*N>=2&&(p++,N/=2),p+w>=M?(J=0,p=M):p+w>=1?(J=(r*N-1)*Math.pow(2,$),p+=w):(J=r*Math.pow(2,w-1)*Math.pow(2,$),p=0));$>=8;t[o+i]=255&J,i+=g,J/=256,$-=8);for(p=p<<$|J,h+=$;h>0;t[o+i]=255&p,i+=g,p/=256,h-=8);t[o+i-g]|=128*s};var jb={},tc={}.toString;jb=Array.isArray||function(r){return"[object Array]"==tc.call(r)};var uc=50;aa.TYPED_ARRAY_SUPPORT=void 0!==Fa.TYPED_ARRAY_SUPPORT?Fa.TYPED_ARRAY_SUPPORT:vc();var a=Ha();function vc(){try{var r=new Uint8Array(1);return r.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===r.foo()&&"function"==typeof r.subarray&&0===r.subarray(1,1).byteLength}catch(e){return!1}}function Ha(){return aa.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function qa(r,e){if(Ha()=Ha())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ha().toString(16)+" bytes");return 0|r}function mb(r,e){if(aa.isBuffer(r))return r.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(r)||r instanceof ArrayBuffer))return r.byteLength;"string"!=typeof r&&(r=""+r);var t=r.length;if(0===t)return 0;for(var $=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":case void 0:return Ka(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return vb(r).length;default:if($)return Ka(r).length;e=(""+e).toLowerCase(),$=!0;}}function Ac(r,e,t){var $=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===t||t>this.length)&&(t=this.length),t<=0)return"";if((t>>>=0)<=(e>>>=0))return"";for(r||(r="utf8");;)switch(r){case"hex":return Kc(this,e,t);case"utf8":case"utf-8":return qb(this,e,t);case"ascii":return Ic(this,e,t);case"latin1":case"binary":return Jc(this,e,t);case"base64":return Gc(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Lc(this,e,t);default:if($)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),$=!0;}}function sa(r,e,t){var $=r[e];r[e]=r[t],r[t]=$}function nb(r,e,t,$,n){if(0===r.length)return-1;if("string"==typeof t?($=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,isNaN(t)&&(t=n?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(n)return-1;t=r.length-1}else if(t<0){if(!n)return-1;t=0}if("string"==typeof e&&(e=aa.from(e,$)),aa.isBuffer(e))return 0===e.length?-1:ob(r,e,t,$,n);if("number"==typeof e)return e&=255,aa.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):ob(r,[e],t,$,n);throw new TypeError("val must be string, number or Buffer")}function ob(r,e,t,$,n){var s,f=1,h=r.length,a=e.length;if(void 0!==$&&("ucs2"===($=String($).toLowerCase())||"ucs-2"===$||"utf16le"===$||"utf-16le"===$)){if(r.length<2||e.length<2)return-1;f=2,h/=2,a/=2,t/=2}function i(r,e){return 1===f?r[e]:r.readUInt16BE(e*f)}if(n){var o=-1;for(s=t;sh&&(t=h-a),s=t;s>=0;s--){for(var u=!0,d=0;dn&&($=n):$=n;var s=e.length;if(s%2!=0)throw new TypeError("Invalid hex string");$>s/2&&($=s/2);for(var f=0;f<$;++f){var h=parseInt(e.substr(2*f,2),16);if(isNaN(h))return f;r[t+f]=h}return f}function Cc(r,e,t,$){return La(Ka(e,r.length-t),r,t,$)}function pb(r,e,t,$){return La(Qc(e),r,t,$)}function Dc(r,e,t,$){return pb(r,e,t,$)}function Ec(r,e,t,$){return La(vb(e),r,t,$)}function Fc(r,e,t,$){return La(Rc(e,r.length-t),r,t,$)}function Gc(r,e,t){return 0===e&&t===r.length?hb(r):hb(r.slice(e,t))}function qb(r,e,t){t=Math.min(r.length,t);for(var $=[],n=e;n239?4:i>223?3:i>191?2:1;if(n+u<=t)switch(u){case 1:i<128&&(o=i);break;case 2:128==(192&(s=r[n+1]))&&(a=(31&i)<<6|63&s)>127&&(o=a);break;case 3:s=r[n+1],f=r[n+2],128==(192&s)&&128==(192&f)&&(a=(15&i)<<12|(63&s)<<6|63&f)>2047&&(a<55296||a>57343)&&(o=a);break;case 4:s=r[n+1],f=r[n+2],h=r[n+3],128==(192&s)&&128==(192&f)&&128==(192&h)&&(a=(15&i)<<18|(63&s)<<12|(63&f)<<6|63&h)>65535&&a<1114112&&(o=a);}null===o?(o=65533,u=1):o>65535&&(o-=65536,$.push(o>>>10&1023|55296),o=56320|1023&o),$.push(o),n+=u}return Hc($)}aa.poolSize=8192,aa._augment=function(r){return r.__proto__=aa.prototype,r},aa.from=function(r,e,t){return kb(null,r,e,t)},aa.TYPED_ARRAY_SUPPORT&&(aa.prototype.__proto__=Uint8Array.prototype,aa.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&aa[Symbol.species]===aa&&Object.defineProperty(aa,Symbol.species,{value:null,configurable:!0})),aa.alloc=function(r,e,t){return wc(null,r,e,t)},aa.allocUnsafe=function(r){return Wa(null,r)},aa.allocUnsafeSlow=function(r){return Wa(null,r)},aa.isBuffer=function(r){return!(null==r||!r._isBuffer)},aa.compare=function(r,e){if(!aa.isBuffer(r)||!aa.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(r===e)return 0;for(var t=r.length,$=e.length,n=0,s=Math.min(t,$);n0&&(r=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(r+=" ... ")),""},aa.prototype.compare=function(r,e,t,$,n){if(!aa.isBuffer(r))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===t&&(t=r?r.length:0),void 0===$&&($=0),void 0===n&&(n=this.length),e<0||t>r.length||$<0||n>this.length)throw new RangeError("out of range index");if($>=n&&e>=t)return 0;if($>=n)return-1;if(e>=t)return 1;if(this===r)return 0;for(var s=(n>>>=0)-($>>>=0),f=(t>>>=0)-(e>>>=0),h=Math.min(s,f),a=this.slice($,n),i=r.slice(e,t),o=0;on)&&(t=n),r.length>0&&(t<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");$||($="utf8");for(var s=!1;;)switch($){case"hex":return Bc(this,r,e,t);case"utf8":case"utf-8":return Cc(this,r,e,t);case"ascii":return pb(this,r,e,t);case"latin1":case"binary":return Dc(this,r,e,t);case"base64":return Ec(this,r,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Fc(this,r,e,t);default:if(s)throw new TypeError("Unknown encoding: "+$);$=(""+$).toLowerCase(),s=!0;}},aa.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var rb=4096;function Hc(r){var e=r.length;if(e<=rb)return String.fromCharCode.apply(String,r);for(var t="",$=0;$$)&&(t=$);for(var n="",s=e;st)throw new RangeError("Trying to access beyond buffer length")}function ja(r,e,t,$,n,s){if(!aa.isBuffer(r))throw new TypeError("\"buffer\" argument must be a Buffer instance");if(e>n||er.length)throw new RangeError("Index out of range")}function Ia(r,e,t,$){e<0&&(e=65535+e+1);for(var n=0,s=Math.min(r.length-t,2);n>>8*($?n:1-n)}function Ja(r,e,t,$){e<0&&(e=4294967295+e+1);for(var n=0,s=Math.min(r.length-t,4);n>>8*($?n:3-n)&255}function sb(r,e,t,$,n,s){if(t+$>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function tb(r,e,t,$,n){return n||sb(r,e,t,4,3.4028234663852886e38,-3.4028234663852886e38),ib(r,e,t,$,23,4),t+4}function ub(r,e,t,$,n){return n||sb(r,e,t,8,1.7976931348623157e308,-1.7976931348623157e308),ib(r,e,t,$,52,8),t+8}aa.prototype.slice=function(r,e){var t,$=this.length;if((r=~~r)<0?(r+=$)<0&&(r=0):r>$&&(r=$),(e=void 0===e?$:~~e)<0?(e+=$)<0&&(e=0):e>$&&(e=$),e0&&(n*=256);)$+=this[r+--e]*n;return $},aa.prototype.readUInt8=function(r,e){return e||ha(r,1,this.length),this[r]},aa.prototype.readUInt16LE=function(r,e){return e||ha(r,2,this.length),this[r]|this[r+1]<<8},aa.prototype.readUInt16BE=function(r,e){return e||ha(r,2,this.length),this[r]<<8|this[r+1]},aa.prototype.readUInt32LE=function(r,e){return e||ha(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+16777216*this[r+3]},aa.prototype.readUInt32BE=function(r,e){return e||ha(r,4,this.length),16777216*this[r]+(this[r+1]<<16|this[r+2]<<8|this[r+3])},aa.prototype.readIntLE=function(r,e,t){r|=0,e|=0,t||ha(r,e,this.length);for(var $=this[r],n=1,s=0;++s=(n*=128)&&($-=Math.pow(2,8*e)),$},aa.prototype.readIntBE=function(r,e,t){r|=0,e|=0,t||ha(r,e,this.length);for(var $=e,n=1,s=this[r+--$];$>0&&(n*=256);)s+=this[r+--$]*n;return s>=(n*=128)&&(s-=Math.pow(2,8*e)),s},aa.prototype.readInt8=function(r,e){return e||ha(r,1,this.length),128&this[r]?-1*(255-this[r]+1):this[r]},aa.prototype.readInt16LE=function(r,e){e||ha(r,2,this.length);var t=this[r]|this[r+1]<<8;return 32768&t?4294901760|t:t},aa.prototype.readInt16BE=function(r,e){e||ha(r,2,this.length);var t=this[r+1]|this[r]<<8;return 32768&t?4294901760|t:t},aa.prototype.readInt32LE=function(r,e){return e||ha(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},aa.prototype.readInt32BE=function(r,e){return e||ha(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},aa.prototype.readFloatLE=function(r,e){return e||ha(r,4,this.length),Ga(this,r,!0,23,4)},aa.prototype.readFloatBE=function(r,e){return e||ha(r,4,this.length),Ga(this,r,!1,23,4)},aa.prototype.readDoubleLE=function(r,e){return e||ha(r,8,this.length),Ga(this,r,!0,52,8)},aa.prototype.readDoubleBE=function(r,e){return e||ha(r,8,this.length),Ga(this,r,!1,52,8)},aa.prototype.writeUIntLE=function(r,e,t,$){(r=+r,e|=0,t|=0,$)||ja(this,r,e,t,Math.pow(2,8*t)-1,0);var n=1,s=0;for(this[e]=255&r;++s=0&&(s*=256);)this[e+n]=r/s&255;return e+t},aa.prototype.writeUInt8=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,1,255,0),aa.TYPED_ARRAY_SUPPORT||(r=Math.floor(r)),this[e]=255&r,e+1},aa.prototype.writeUInt16LE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,2,65535,0),aa.TYPED_ARRAY_SUPPORT?(this[e]=255&r,this[e+1]=r>>>8):Ia(this,r,e,!0),e+2},aa.prototype.writeUInt16BE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,2,65535,0),aa.TYPED_ARRAY_SUPPORT?(this[e]=r>>>8,this[e+1]=255&r):Ia(this,r,e,!1),e+2},aa.prototype.writeUInt32LE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,4,4294967295,0),aa.TYPED_ARRAY_SUPPORT?(this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=255&r):Ja(this,r,e,!0),e+4},aa.prototype.writeUInt32BE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,4,4294967295,0),aa.TYPED_ARRAY_SUPPORT?(this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=255&r):Ja(this,r,e,!1),e+4},aa.prototype.writeIntLE=function(r,e,t,$){if(r=+r,e|=0,!$){var n=Math.pow(2,8*t-1);ja(this,r,e,t,n-1,-n)}var s=0,f=1,h=0;for(this[e]=255&r;++s>0)-h&255;return e+t},aa.prototype.writeIntBE=function(r,e,t,$){if(r=+r,e|=0,!$){var n=Math.pow(2,8*t-1);ja(this,r,e,t,n-1,-n)}var s=t-1,f=1,h=0;for(this[e+s]=255&r;--s>=0&&(f*=256);)r<0&&0===h&&0!==this[e+s+1]&&(h=1),this[e+s]=(r/f>>0)-h&255;return e+t},aa.prototype.writeInt8=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,1,127,-128),aa.TYPED_ARRAY_SUPPORT||(r=Math.floor(r)),r<0&&(r=255+r+1),this[e]=255&r,e+1},aa.prototype.writeInt16LE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,2,32767,-32768),aa.TYPED_ARRAY_SUPPORT?(this[e]=255&r,this[e+1]=r>>>8):Ia(this,r,e,!0),e+2},aa.prototype.writeInt16BE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,2,32767,-32768),aa.TYPED_ARRAY_SUPPORT?(this[e]=r>>>8,this[e+1]=255&r):Ia(this,r,e,!1),e+2},aa.prototype.writeInt32LE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,4,2147483647,-2147483648),aa.TYPED_ARRAY_SUPPORT?(this[e]=255&r,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24):Ja(this,r,e,!0),e+4},aa.prototype.writeInt32BE=function(r,e,t){return r=+r,e|=0,t||ja(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),aa.TYPED_ARRAY_SUPPORT?(this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=255&r):Ja(this,r,e,!1),e+4},aa.prototype.writeFloatLE=function(r,e,t){return tb(this,r,e,!0,t)},aa.prototype.writeFloatBE=function(r,e,t){return tb(this,r,e,!1,t)},aa.prototype.writeDoubleLE=function(r,e,t){return ub(this,r,e,!0,t)},aa.prototype.writeDoubleBE=function(r,e,t){return ub(this,r,e,!1,t)},aa.prototype.copy=function(r,e,t,$){if(t||(t=0),$||0===$||($=this.length),e>=r.length&&(e=r.length),e||(e=0),$>0&&$=this.length)throw new RangeError("sourceStart out of bounds");if($<0)throw new RangeError("sourceEnd out of bounds");$>this.length&&($=this.length),r.length-e<$-t&&($=r.length-e+t);var n,s=$-t;if(this===r&&t=0;--n)r[n+e]=this[n+t];else if(s<1e3||!aa.TYPED_ARRAY_SUPPORT)for(n=0;n>>=0,t=void 0===t?this.length:t>>>0,r||(r=0),"number"==typeof r)for(s=e;s55295&&t<57344){if(!n){if(t>56319){(e-=3)>-1&&s.push(239,191,189);continue}if(f+1===$){(e-=3)>-1&&s.push(239,191,189);continue}n=t;continue}if(t<56320){(e-=3)>-1&&s.push(239,191,189),n=t;continue}t=65536+(n-55296<<10|t-56320)}else n&&(e-=3)>-1&&s.push(239,191,189);if(n=null,t<128){if((e-=1)<0)break;s.push(t)}else if(t<2048){if((e-=2)<0)break;s.push(t>>6|192,63&t|128)}else if(t<65536){if((e-=3)<0)break;s.push(t>>12|224,t>>6&63|128,63&t|128)}else{if(!(t<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;s.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}}return s}function Qc(r){for(var e=[],t=0;t>8,n=t%256,s.push(n),s.push($);return s}function vb(r){return kc(Nc(r))}function La(r,e,t,$){for(var n=0;n<$&&!(n+t>=e.length||n>=r.length);++n)e[n+t]=r[n];return n}function Sc(r){return r!=r}function Ma(e){return(Ma="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Tc(e,t){return Vc(e)||Xc(e,t)||Zc()}function wb(e){return Uc(e)||Wc(e)||Yc()}function Uc(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t-1&&e%1==0&&e-1&&e%1==0&&e<=xb}function wd(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function xd(e){return!!e&&"object"==typeof e}function yd(e){return $a(e)?id(e):md(e)}function zd(e){return e}var da=rd,Ab=9007199254740991,Ad="[object Arguments]",Bd="[object Function]",Cd="[object GeneratorFunction]",Dd=/^(?:0|[1-9]\d*)$/;function Ed(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2]);}return e.apply(t,r)}function Fd(e,t){for(var r=-1,n=Array(e);++r1?r[a-1]:void 0,s=a>2?r[2]:void 0;for(o=e.length>3&&"function"==typeof o?(a--,o):void 0,s&&Od(r[0],r[1],s)&&(o=a<3?void 0:o,a=1),t=Object(t);++n-1&&e%1==0&&e-1&&e%1==0&&e<=Ab}function Ib(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ud(e){return!!e&&"object"==typeof e}var Vd=Nd(function(e,t){if(Id||Gb(t)||Pa(t))Md(t,Wd(t),e);else for(var r in t)Ba.call(t,r)&&Eb(e,r,t[r])});function Wd(e){return Pa(e)?Jd(e):Kd(e)}var Jb=Vd,ma="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof Fa?Fa:"undefined"!=typeof self?self:{};function _a(e,t){return e(t={exports:{}},t.exports),t.exports}var ka=_a(function(e,t){var r=200,n="__lodash_hash_undefined__",a=9007199254740991,o="[object Arguments]",s="[object Boolean]",i="[object Date]",u="[object Function]",c="[object GeneratorFunction]",l="[object Map]",$="[object Number]",d="[object Object]",f="[object RegExp]",v="[object Set]",h="[object String]",w="[object Symbol]",p="[object ArrayBuffer]",g="[object DataView]",m="[object Float32Array]",C="[object Float64Array]",_="[object Int8Array]",y="[object Int16Array]",b="[object Int32Array]",J="[object Uint8Array]",T="[object Uint8ClampedArray]",P="[object Uint16Array]",x="[object Uint32Array]",S=/\w*$/,O=/^\[object .+?Constructor\]$/,k=/^(?:0|[1-9]\d*)$/,E={};E[o]=E["[object Array]"]=E[p]=E[g]=E[s]=E[i]=E[m]=E[C]=E[_]=E[y]=E[b]=E[l]=E[$]=E[d]=E[f]=E[v]=E[h]=E[w]=E[J]=E[T]=E[P]=E[x]=!0,E["[object Error]"]=E[u]=E["[object WeakMap]"]=!1;var D="object"==typeof ma&&ma&&ma.Object===Object&&ma,j="object"==typeof self&&self&&self.Object===Object&&self,R=D||j||Function("return this")(),I=t&&!t.nodeType&&t,F=I&&e&&!e.nodeType&&e,A=F&&F.exports===I;function M(e,t){return e.set(t[0],t[1]),e}function N(e,t){return e.add(t),e}function L(e,t,r,n){var a=-1,o=e?e.length:0;for(n&&o&&(r=e[++a]);++a-1},Te.prototype.set=function(e,t){var r=this.__data__,n=ke(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},Pe.prototype.clear=function(){this.__data__={hash:new Je,map:new(de||Te),string:new Je}},Pe.prototype.delete=function(e){return Ie(this,e).delete(e)},Pe.prototype.get=function(e){return Ie(this,e).get(e)},Pe.prototype.has=function(e){return Ie(this,e).has(e)},Pe.prototype.set=function(e,t){return Ie(this,e).set(e,t),this},xe.prototype.clear=function(){this.__data__=new Te},xe.prototype.delete=function(e){return this.__data__.delete(e)},xe.prototype.get=function(e){return this.__data__.get(e)},xe.prototype.has=function(e){return this.__data__.has(e)},xe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Te){var a=n.__data__;if(!de||a.length-1&&e%1==0&&e-1&&e%1==0&&e<=a}(e.length)&&!Be(e)}var qe=ce||function(){return!1};function Be(e){var t=He(e)?Z.call(e):"";return t==u||t==c}function He(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ge(e){return Ye(e)?Se(e):function(e){if(!Le(e))return le(e);var t=[];for(var r in Object(e))X.call(e,r)&&"constructor"!=r&&t.push(r);return t}(e)}e.exports=function(e){return Ee(e,!0,!0)}}),Xd=_a(function(e,t){var r=200,n="Expected a function",a="__lodash_hash_undefined__",o=1,s=2,i=1/0,u=9007199254740991,c="[object Arguments]",l="[object Array]",$="[object Boolean]",d="[object Date]",f="[object Error]",v="[object Function]",h="[object GeneratorFunction]",w="[object Map]",p="[object Number]",g="[object Object]",m="[object RegExp]",C="[object Set]",_="[object String]",y="[object Symbol]",b="[object ArrayBuffer]",J="[object DataView]",T=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,P=/^\w*$/,x=/^\./,S=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,O=/\\(\\)?/g,k=/^\[object .+?Constructor\]$/,E=/^(?:0|[1-9]\d*)$/,D={};D["[object Float32Array]"]=D["[object Float64Array]"]=D["[object Int8Array]"]=D["[object Int16Array]"]=D["[object Int32Array]"]=D["[object Uint8Array]"]=D["[object Uint8ClampedArray]"]=D["[object Uint16Array]"]=D["[object Uint32Array]"]=!0,D[c]=D[l]=D[b]=D[$]=D[J]=D[d]=D[f]=D[v]=D[w]=D[p]=D[g]=D[m]=D[C]=D[_]=D["[object WeakMap]"]=!1;var j="object"==typeof ma&&ma&&ma.Object===Object&&ma,R="object"==typeof self&&self&&self.Object===Object&&self,I=j||R||Function("return this")(),F=t&&!t.nodeType&&t,A=F&&e&&!e.nodeType&&e,M=A&&A.exports===F&&j.process,N=function(){try{return M&&M.binding("util")}catch(e){}}(),L=N&&N.isTypedArray;function U(e,t){for(var r=-1,n=e?e.length:0,a=0,o=[];++r-1},Je.prototype.set=function(e,t){var r=this.__data__,n=Oe(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},Te.prototype.clear=function(){this.__data__={hash:new be,map:new(le||Je),string:new be}},Te.prototype.delete=function(e){return We(this,e).delete(e)},Te.prototype.get=function(e){return We(this,e).get(e)},Te.prototype.has=function(e){return We(this,e).has(e)},Te.prototype.set=function(e,t){return We(this,e).set(e,t),this},Pe.prototype.add=Pe.prototype.push=function(e){return this.__data__.set(e,a),this},Pe.prototype.has=function(e){return this.__data__.has(e)},xe.prototype.clear=function(){this.__data__=new Je},xe.prototype.delete=function(e){return this.__data__.delete(e)},xe.prototype.get=function(e){return this.__data__.get(e)},xe.prototype.has=function(e){return this.__data__.has(e)},xe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Je){var a=n.__data__;if(!le||a.lengthc))return!1;var $=i.get(e);if($&&i.get(t))return $==t;var d=-1,f=!0,v=a&o?new Pe:void 0;for(i.set(e,t),i.set(t,e);++d-1&&e%1==0&&e-1&&e%1==0&&e<=u}function st(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function it(e){return!!e&&"object"==typeof e}function ut(e){return"symbol"==typeof e||it(e)&&re.call(e)==y}var ct=L?function(e){return function(t){return e(t)}}(L):function(e){return it(e)&&ot(e.length)&&!!D[re.call(e)]};function lt(e){return nt(e)?Se(e):Le(e)}function $t(e){return e}e.exports=function(e,t){return(rt(e)?U:je)(e,Ne(t))}}),ab=_a(function(e,t){var r=200,n="__lodash_hash_undefined__",a=1,o=2,s=9007199254740991,i="[object Arguments]",u="[object Array]",c="[object AsyncFunction]",l="[object Boolean]",$="[object Date]",d="[object Error]",f="[object Function]",v="[object GeneratorFunction]",h="[object Map]",w="[object Number]",p="[object Null]",g="[object Object]",m="[object Proxy]",C="[object RegExp]",_="[object Set]",y="[object String]",b="[object Symbol]",J="[object Undefined]",T="[object ArrayBuffer]",P="[object DataView]",x=/^\[object .+?Constructor\]$/,S=/^(?:0|[1-9]\d*)$/,O={};O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O[i]=O[u]=O[T]=O[l]=O[P]=O[$]=O[d]=O[f]=O[h]=O[w]=O[g]=O[C]=O[_]=O[y]=O["[object WeakMap]"]=!1;var k="object"==typeof ma&&ma&&ma.Object===Object&&ma,E="object"==typeof self&&self&&self.Object===Object&&self,D=k||E||Function("return this")(),j=t&&!t.nodeType&&t,R=j&&e&&!e.nodeType&&e,I=R&&R.exports===j,F=I&&k.process,A=function(){try{return F&&F.binding&&F.binding("util")}catch(e){}}(),M=A&&A.isTypedArray;function N(e,t){for(var r=-1,n=null==e?0:e.length;++rc))return!1;var $=i.get(e);if($&&i.get(t))return $==t;var d=-1,f=!0,v=r&o?new Te:void 0;for(i.set(e,t),i.set(t,e);++d-1},be.prototype.set=function(e,t){var r=this.__data__,n=Se(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Je.prototype.clear=function(){this.size=0,this.__data__={hash:new ye,map:new(le||be),string:new ye}},Je.prototype.delete=function(e){var t=Fe(this,e).delete(e);return this.size-=t?1:0,t},Je.prototype.get=function(e){return Fe(this,e).get(e)},Je.prototype.has=function(e){return Fe(this,e).has(e)},Je.prototype.set=function(e,t){var r=Fe(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Te.prototype.add=Te.prototype.push=function(e){return this.__data__.set(e,n),this},Te.prototype.has=function(e){return this.__data__.has(e)},Pe.prototype.clear=function(){this.__data__=new be,this.size=0},Pe.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Pe.prototype.get=function(e){return this.__data__.get(e)},Pe.prototype.has=function(e){return this.__data__.has(e)},Pe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof be){var a=n.__data__;if(!le||a.length-1&&e%1==0&&e-1&&e%1==0&&e<=s}function Ge(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Qe(e){return null!=e&&"object"==typeof e}var Ke=M?function(e){return function(t){return e(t)}}(M):function(e){return Qe(e)&&He(e.length)&&!!O[Oe(e)]};function Ve(e){return null!=(t=e)&&He(t.length)&&!Be(t)?xe(e):je(e);var t}e.exports=function(e,t){return Ee(e,t)}}),Kb={a:["a","\xE0","\xE1","\xE2","\xE3","\xE4","\xE5","\xE6","\u0101","\u0103","\u0105","\u01CE","\u01DF","\u01E1","\u01FB","\u0201","\u0203","\u0227","\u0250","\u0251","\u0252","\u0363","\u0430","\u04D1","\u04D3","\u1D43","\u1D44","\u1D8F","\u1E01","\u1E9A","\u1EA1","\u1EA3","\u1EA5","\u1EA7","\u1EA9","\u1EAB","\u1EAD","\u1EAF","\u1EB1","\u1EB3","\u1EB5","\u1EB7","\u2090","\u2C65","\uFF41"],A:["A","\xC0","\xC1","\xC2","\xC3","\xC4","\xC5","\u0100","\u0102","\u0104","\u01CD","\u01DE","\u01E0","\u01FA","\u0200","\u0202","\u0226","\u023A","\u0410","\u04D0","\u04D2","\u1D00","\u1D2C","\u1E00","\u1EA0","\u1EA2","\u1EA4","\u1EA6","\u1EA8","\u1EAA","\u1EAC","\u1EAE","\u1EB0","\u1EB2","\u1EB4","\u1EB6","\uFF21"],b:["b","\u0180","\u0183","\u0253","\u15AF","\u1D47","\u1D6C","\u1D80","\u1E03","\u1E05","\u1E07","\uFF42"],B:["B","\u0181","\u0182","\u0243","\u0299","\u16D2","\u1D03","\u1D2E","\u1D2F","\u1E02","\u1E04","\u1E06","\uFF22"],c:["c","\xE7","\u0107","\u0109","\u010B","\u010D","\u0188","\u023C","\u0255","\u0368","\u1D04","\u1D9C","\u1E09","\u2184","\uFF43"],C:["C","\xC7","\u0106","\u0108","\u010A","\u010C","\u0187","\u023B","\u0297","\u1E08","\uFF23"],d:["d","\u010F","\u0111","\u018B","\u018C","\u0221","\u0256","\u0257","\u0369","\u1D48","\u1D6D","\u1D81","\u1D91","\u1E0B","\u1E0D","\u1E0F","\u1E11","\u1E13","\uFF44"],D:["D","\u010E","\u0110","\u0189","\u018A","\u1D30","\u1E0A","\u1E0C","\u1E0E","\u1E10","\u1E12","\uFF24"],e:["e","\xE8","\xE9","\xEA","\xEB","\u0113","\u0115","\u0117","\u0119","\u011B","\u01DD","\u0205","\u0207","\u0229","\u0247","\u0258","\u0364","\u1D49","\u1D92","\u1E15","\u1E17","\u1E19","\u1E1B","\u1E1D","\u1EB9","\u1EBB","\u1EBD","\u1EBF","\u1EC1","\u1EC3","\u1EC5","\u1EC7","\u2091","\uFF45"],E:["E","\xC8","\xC9","\xCA","\xCB","\u0112","\u0114","\u0116","\u0118","\u011A","\u0152","\u018E","\u0190","\u0204","\u0206","\u0228","\u0246","\u025B","\u025C","\u0276","\u0404","\u042D","\u044D","\u0454","\u04EC","\u04ED","\u1D07","\u1D08","\u1D31","\u1D32","\u1D4B","\u1D4C","\u1D93","\u1D94","\u1D9F","\u1E14","\u1E16","\u1E18","\u1E1A","\u1E1C","\u1EB8","\u1EBA","\u1EBC","\u1EBE","\u1EC0","\u1EC2","\u1EC4","\u1EC6","\uFF25","\uD801\uDC01","\uD801\uDC29"],f:["f","\u0192","\u1D6E","\u1D82","\u1DA0","\u1E1F","\uFF46"],F:["F","\u0191","\u1E1E","\u214E","\uFF26"],g:["g","\u011D","\u011F","\u0121","\u0123","\u01E5","\u01E7","\u01F5","\u0260","\u0261","\u1D4D","\u1D77","\u1D79","\u1D83","\u1DA2","\u1E21","\uFF47"],G:["G","\u011C","\u011E","\u0120","\u0122","\u0193","\u01E4","\u01E6","\u01F4","\u0262","\u029B","\u1D33","\u1E20","\uFF27"],h:["h","\u0125","\u0127","\u0195","\u021F","\u0265","\u0266","\u02AE","\u02AF","\u02B0","\u02B1","\u036A","\u04BA","\u04BB","\u144B","\u1DA3","\u1E23","\u1E25","\u1E27","\u1E29","\u1E2B","\u2C68","\uFF48"],H:["H","\u0124","\u0126","\u021E","\u029C","\u157C","\u16BA","\u16BB","\u1D34","\u1E22","\u1E24","\u1E26","\u1E28","\u1E2A","\u2C67","\uFF28"],i:["i","\xEC","\xED","\xEE","\xEF","\u0129","\u012B","\u012D","\u012F","\u01D0","\u0209","\u020B","\u0268","\u0365","\u1D09","\u1D4E","\u1D62","\u1D96","\u1DA4","\u1E2D","\u1E2F","\u1EC9","\u1ECB","\uFF49"],I:["I","\xCC","\xCD","\xCE","\xCF","\u0128","\u012A","\u012C","\u012E","\u0130","\u01CF","\u0208","\u020A","\u026A","\u0406","\u1D35","\u1D7B","\u1DA6","\u1DA7","\u1E2C","\u1E2E","\u1EC8","\u1ECA","\uFF29"],j:["j","\u0135","\u01F0","\u0249","\u029D","\u02B2","\u1DA1","\u1DA8","\uFF4A"],J:["J","\u0134","\u1D0A","\u1D36","\uFF2A"],k:["k","\u0137","\u0199","\u01E9","\u029E","\u1D4F","\u1D84","\u1E31","\u1E33","\u1E35","\u2C6A","\uFF4B"],K:["K","\u0136","\u0198","\u01E8","\u1D37","\u1E30","\u1E32","\u1E34","\u2C69","\uFF2B"],l:["l","\u013A","\u013C","\u013E","\u0140","\u0142","\u019A","\u0234","\u026B","\u026C","\u026D","\u02E1","\u1D85","\u1DA9","\u1DAA","\u1E37","\u1E39","\u1E3B","\u1E3D","\u2113","\u2C61"],L:["L","\u0139","\u013B","\u013D","\u013F","\u0141","\u023D","\u029F","\u1D0C","\u1D38","\u1DAB","\u1E36","\u1E38","\u1E3A","\u1E3C","\u2C60","\u2C62"],m:["m","\u026F","\u0270","\u0271","\u036B","\u1D1F","\u1D50","\u1D5A","\u1D6F","\u1D86","\u1DAC","\u1DAD","\u1E3F","\u1E41","\u1E43","\u33A1","\u33A5","\uFF4D"],M:["M","\u019C","\u1D0D","\u1D39","\u1E3E","\u1E40","\u1E42","\uFF2D"],n:["n","\xF1","\u0144","\u0146","\u0148","\u0149","\u019E","\u01F9","\u0235","\u0272","\u0273","\u1D70","\u1D87","\u1DAE","\u1DAF","\u1E45","\u1E47","\u1E49","\u1E4B","\u207F","\uFF4E"],N:["N","\xD1","\u0143","\u0145","\u0147","\u019D","\u01F8","\u0220","\u0274","\u1D0E","\u1D3A","\u1D3B","\u1DB0","\u1E44","\u1E46","\u1E48","\u1E4A","\uFF2E"],o:["o","\xF2","\xF3","\xF4","\xF5","\xF6","\xF8","\u014D","\u014F","\u0151","\u01A1","\u01D2","\u01EB","\u01ED","\u01FF","\u020D","\u020F","\u022B","\u022D","\u022F","\u0231","\u0275","\u0366","\u043E","\u04E7","\u04E9","\u1D0F","\u1D11","\u1D13","\u1D3C","\u1D52","\u1DB1","\u1E4D","\u1E4F","\u1E51","\u1E53","\u1ECD","\u1ECF","\u1ED1","\u1ED3","\u1ED5","\u1ED7","\u1ED9","\u1EDB","\u1EDD","\u1EDF","\u1EE1","\u1EE3","\u2092","\uFF4F","\uD801\uDC2C"],O:["O","\xD2","\xD3","\xD4","\xD5","\xD6","\xD8","\u014C","\u014E","\u0150","\u019F","\u01A0","\u01D1","\u01EA","\u01EC","\u01FE","\u020C","\u020E","\u022A","\u022C","\u022E","\u0230","\u041E","\u04E6","\u04E8","\u1E4C","\u1E4E","\u1E50","\u1E52","\u1ECC","\u1ECE","\u1ED0","\u1ED2","\u1ED4","\u1ED6","\u1ED8","\u1EDA","\u1EDC","\u1EDE","\u1EE0","\u1EE2","\uFF2F","\uD801\uDC04"],p:["p","\u1D56","\u1D71","\u1D7D","\u1D88","\u1E55","\u1E57","\uFF50"],P:["P","\u01A4","\u1D18","\u1D3E","\u1E54","\u1E56","\u2C63","\uFF30"],q:["q","\u024B","\u02A0","\u16E9","\uFF51"],Q:["Q","\u024A","\uFF31"],r:["r","\u0155","\u0157","\u0159","\u0211","\u0213","\u024D","\u0279","\u027B","\u02B3","\u02B4","\u02B5","\u036C","\u1D63","\u1D72","\u1D89","\u1E59","\u1E5B","\u1E5D","\u1E5F"],R:["R","\u0154","\u0156","\u0158","\u01A6","\u0210","\u0212","\u024C","\u0280","\u0281","\u02B6","\u16B1","\u1D19","\u1D1A","\u1D3F","\u1E58","\u1E5A","\u1E5C","\u1E5E","\u2C64"],s:["s","\u015B","\u015D","\u015F","\u0161","\u0219","\u0282","\u1506","\u1D8A","\u1E61","\u1E63","\u1E65","\u1E67","\u1E69","\uFF53"],S:["S","\u015A","\u015C","\u015E","\u0160","\u0218","\u023F","\u02E2","\u1D74","\u1E60","\u1E62","\u1E64","\u1E66","\u1E68","\uFF33"],t:["t","\u0163","\u0165","\u0167","\u01AB","\u01AD","\u021B","\u0287","\u036D","\u1D40","\u1D57","\u1D75","\u1DB5","\u1E6B","\u1E6D","\u1E6F","\u1E71","\u1E97","\uFF54"],T:["T","\u0162","\u0164","\u01AC","\u01AE","\u021A","\u023E","\u1D1B","\u1D40","\u1E6A","\u1E6C","\u1E6E","\u1E70","\uFF34"],u:["u","\xF9","\xFA","\xFB","\xFC","\u0169","\u016B","\u016D","\u016F","\u0171","\u0173","\u01B0","\u01D4","\u01D6","\u01D8","\u01DA","\u01DC","\u0215","\u0217","\u0367","\u07CE","\u1D58","\u1D64","\u1E73","\u1E75","\u1E77","\u1E79","\u1E7B","\u1EE5","\u1EE7","\u1EE9","\u1EEB","\u1EED","\u1EEF","\u1EF1","\uFF55"],U:["U","\xD9","\xDA","\xDB","\xDC","\u0168","\u016A","\u016C","\u016E","\u0170","\u0172","\u01AF","\u01D3","\u01D5","\u01D7","\u01D9","\u01DB","\u0214","\u0216","\u0244","\u1D1C","\u1D41","\u1D7E","\u1E72","\u1E74","\u1E76","\u1E78","\u1E7A","\u1EE4","\u1EE6","\u1EE8","\u1EEA","\u1EEC","\u1EEE","\u1EF0","\uFF35"],v:["v","\u028B","\u036E","\u1D5B","\u1D65","\u1DB9","\u1E7D","\u1E7F","\u2C71","\uFF56","\u2C74"],V:["V","\u01B2","\u0245","\u028C","\u1D20","\u1D8C","\u1E7C","\u1E7E","\uFF36"],w:["w","\u0175","\u02B7","\u1D42","\u1E81","\u1E83","\u1E85","\u1E87","\u1E89","\u1E98","\u2C73","\uFF57"],W:["W","\u0174","\u028D","\u1D21","\u1E80","\u1E82","\u1E84","\u1E86","\u1E88","\u2C72","\uFF37"],x:["x","\u033D","\u0353","\u1D8D","\u036F","\u1E8B","\u1E8D","\u2093","\uFF58"],X:["X","\u02E3","\u036F","\u1E8A","\u1E8C","\u2612","\u2715","\u2716","\u2717","\u2718","\uFF38"],y:["y","\xFD","\xFF","\u0177","\u0233","\u024F","\u02B8","\u1E8F","\u1EF3","\u1EF5","\u1EF7","\u1EF9","\uFF59"],Y:["Y","\xDD","\u0176","\u0178","\u01B3","\u01B4","\u0232","\u024E","\u028E","\u028F","\u1E8E","\u1EF2","\u1EF4","\u1EF6","\u1EF8","\uFF39"],z:["z","\u017A","\u017C","\u017E","\u01B6","\u0225","\u0240","\u0290","\u0291","\u1646","\u1647","\u1DBB","\u1DBC","\u1DBD","\u1E91","\u1E93","\u1E95","\u2C6C","\uFF5A"],Z:["Z","\u0179","\u017B","\u017D","\u01B5","\u0224","\u1D22","\u1D76","\u1E90","\u1E92","\u1E94","\u2C6B","\uFF3A"]},bb=function(e){for(var t=[],r=0;r2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)return!1;var a=r?String(e).toLowerCase():bb(Lb(String(e)).toLowerCase()),o=r?t.toLowerCase():bb(Lb(t).toLowerCase());return n?a===o:a.indexOf(o)>-1},compare:function(e,t){function r(e){return null==e?"":bb(e.toLowerCase())}return(e=r(e))<(t=r(t))?-1:e>t?1:0}},Yd={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(e){var t=parseInt(e.target.value,10);if(Number.isNaN(t)||t>this.lastPage||t<1)return e.target.value=this.currentPage,!1;e.target.value=t,this.$emit("page-changed",t)}},mounted:function(){},components:{}};function ta(e,t,r,n,a,o,s,i,u,c){"boolean"!=typeof s&&(u=i,i=s,s=!1);const l="function"==typeof r?r.options:r;let $;if(e&&e.render&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,a&&(l.functional=!0)),n&&(l._scopeId=n),o?($=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,u(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=$):t&&($=s?function(e){t.call(this,c(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,i(e))}),$)if(l.functional){const e=l.render;l.render=function(t,r){return $.call(r),e(t,r)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,$):[$]}return r}var Zd=Yd,$d=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"footer__navigation__page-info"},[e._v("\n "+e._s(e.pageText)+" "),r("input",{staticClass:"footer__navigation__page-info__current-entry",attrs:{type:"text"},domProps:{value:e.currentPage},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.stopPropagation(),e.changePage(t))}}}),e._v(" "+e._s(e.pageInfo)+"\n")])},_d=[],af=void 0,bf="data-v-9a8cd1f4",cf=void 0,df=!1,ef=ta({render:$d,staticRenderFns:_d},af,Zd,bf,df,cf,!1,void 0,void 0,void 0),ff=[10,20,30,40,50],gf={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(e,t){this.handlePerPage(),this.perPageChanged(t)},immediate:!0},customRowsPerPageDropdown:function(){this.handlePerPage()},total:{handler:function(e,t){-1===this.rowsPerPageOptions.indexOf(this.currentPerPage)&&(this.currentPerPage=e)}}},computed:{pagesCount:function(){var e=Math.floor(this.total/this.currentPerPage);return 0===this.total%this.currentPerPage?e:e+1},paginatedInfo:function(){var e=(this.currentPage-1)*this.currentPerPage+1,t=Math.min(this.total,this.currentPage*this.currentPerPage);return 0===t&&(e=0),"".concat(e," - ").concat(t," ").concat(this.ofText," ").concat(this.total)},nextIsPossible:function(){return this.currentPage1}},methods:{changePage:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e>0&&this.total>this.currentPerPage*(e-1)&&(this.prevPage=this.currentPage,this.currentPage=e,t&&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(e){e&&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=ka(this.customRowsPerPageDropdown):this.rowsPerPageOptions=ka(ff),this.perPage){this.currentPerPage=this.perPage;for(var e=!1,t=0;t0&&void 0!==arguments[0]&&arguments[0];this.columnFilters={},e&&this.$emit("filter-changed",this.columnFilters)},isFilterable:function(e){return e.filterOptions&&e.filterOptions.enabled},isDropdown:function(e){return this.isFilterable(e)&&e.filterOptions.filterDropdownItems&&e.filterOptions.filterDropdownItems.length},isDropdownObjects:function(e){return this.isDropdown(e)&&"object"===Ma(e.filterOptions.filterDropdownItems[0])},isDropdownArray:function(e){return this.isDropdown(e)&&"object"!==Ma(e.filterOptions.filterDropdownItems[0])},getPlaceholder:function(e){return this.isFilterable(e)&&e.filterOptions.placeholder||"Filter ".concat(e.label)},updateFiltersOnEnter:function(e,t){this.timer&&clearTimeout(this.timer),this.updateFiltersImmediately(e.field,t)},updateFiltersOnKeyup:function(e,t){"enter"!==e.filterOptions.trigger&&this.updateFilters(e,t)},updateSlotFilter:function(e,t){var r=e.filterOptions.slotFilterField||e.field;"function"==typeof e.filterOptions.formatValue&&(t=e.filterOptions.formatValue(t)),this.updateFiltersImmediately(r,t)},updateFilters:function(e,t){var r=this;this.timer&&clearTimeout(this.timer),this.timer=setTimeout(function(){r.updateFiltersImmediately(e.field,t)},400)},updateFiltersImmediately:function(e,t){this.$set(this.columnFilters,e,t),this.$emit("filter-changed",this.columnFilters)},populateInitialFilters:function(){for(var e=0;e0?1:a}function Qa(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=ia(e);return!isNaN(t)}var Ra={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 eg(e,t,r){var n;return r=r||{},n="string"==typeof Ra[e]?Ra[e]:1===t?Ra[e].one:Ra[e].other.replace("{{count}}",t),r.addSuffix?r.comparison>0?"in "+n:n+" ago":n}function cb(e){return function(t){var r=t||{},n=r.width?String(r.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var fg={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},gg={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},hg={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ig={date:cb({formats:fg,defaultWidth:"full"}),time:cb({formats:gg,defaultWidth:"full"}),dateTime:cb({formats:hg,defaultWidth:"full"})},jg={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function kg(e,t,r,n){return jg[e]}function Ca(e){return function(t,r){var n,a=r||{};if("formatting"===(a.context?String(a.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,s=a.width?String(a.width):o;n=e.formattingValues[s]||e.formattingValues[o]}else{var i=e.defaultWidth,u=a.width?String(a.width):e.defaultWidth;n=e.values[u]||e.values[i]}return n[e.argumentCallback?e.argumentCallback(t):t]}}var lg={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},mg={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ng={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"]},og={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"]},pg={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"}},qg={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"}};function rg(e,t){var r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd";}return r+"th"}var sg={ordinalNumber:rg,era:Ca({values:lg,defaultWidth:"wide"}),quarter:Ca({values:mg,defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:Ca({values:ng,defaultWidth:"wide"}),day:Ca({values:og,defaultWidth:"wide"}),dayPeriod:Ca({values:pg,defaultWidth:"wide",formattingValues:qg,defaultFormattingWidth:"wide"})};function tg(e){return function(t,r){var n=String(t),a=r||{},o=n.match(e.matchPattern);if(!o)return null;var s=o[0],i=n.match(e.parsePattern);if(!i)return null;var u=e.valueCallback?e.valueCallback(i[0]):i[0];return{value:u=a.valueCallback?a.valueCallback(u):u,rest:n.slice(s.length)}}}function Da(e){return function(t,r){var n=String(t),a=r||{},o=a.width,s=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],i=n.match(s);if(!i)return null;var u,c=i[0],l=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth];return u="[object Array]"===Object.prototype.toString.call(l)?l.findIndex(function(e){return e.test(n)}):ug(l,function(e){return e.test(n)}),u=e.valueCallback?e.valueCallback(u):u,{value:u=a.valueCallback?a.valueCallback(u):u,rest:n.slice(c.length)}}}function ug(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}var vg=/^(\d+)(th|st|nd|rd)?/i,wg=/\d+/i,xg={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},yg={any:[/^b/i,/^(a|c)/i]},zg={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Ag={any:[/1/i,/2/i,/3/i,/4/i]},Bg={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},Cg={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]},Dg={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},Eg={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]},Fg={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},Gg={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}},Hg={ordinalNumber:tg({matchPattern:vg,parsePattern:wg,valueCallback:function(e){return parseInt(e,10)}}),era:Da({matchPatterns:xg,defaultMatchWidth:"wide",parsePatterns:yg,defaultParseWidth:"any"}),quarter:Da({matchPatterns:zg,defaultMatchWidth:"wide",parsePatterns:Ag,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Da({matchPatterns:Bg,defaultMatchWidth:"wide",parsePatterns:Cg,defaultParseWidth:"any"}),day:Da({matchPatterns:Dg,defaultMatchWidth:"wide",parsePatterns:Eg,defaultParseWidth:"any"}),dayPeriod:Da({matchPatterns:Fg,defaultMatchWidth:"any",parsePatterns:Gg,defaultParseWidth:"any"})},Rb={formatDistance:eg,formatLong:ig,formatRelative:kg,localize:sg,match:Hg,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Sb(e,t){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return cg(e,-ea(t))}function ba(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length0?r:1-r;return ba("yy"===t?n%100:n,t.length)},M:function(e,t){var r=e.getUTCMonth();return"M"===t?String(r+1):ba(r+1,2)},d:function(e,t){return ba(e.getUTCDate(),t.length)},a:function(e,t){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":case"aaa":return r.toUpperCase();case"aaaaa":return r[0];case"aaaa":default:return"am"===r?"a.m.":"p.m.";}},h:function(e,t){return ba(e.getUTCHours()%12||12,t.length)},H:function(e,t){return ba(e.getUTCHours(),t.length)},m:function(e,t){return ba(e.getUTCMinutes(),t.length)},s:function(e,t){return ba(e.getUTCSeconds(),t.length)},S:function(e,t){var r=t.length,n=e.getUTCMilliseconds();return ba(Math.floor(n*Math.pow(10,r-3)),t.length)}},Ig=864e5;function Jg(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=ia(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=r-t.getTime();return Math.floor(n/Ig)+1}function za(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=ia(e),r=t.getUTCDay(),n=(r<1?7:0)+r-1;return t.setUTCDate(t.getUTCDate()-n),t.setUTCHours(0,0,0,0),t}function Tb(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=ia(e),r=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var a=za(n),o=new Date(0);o.setUTCFullYear(r,0,4),o.setUTCHours(0,0,0,0);var s=za(o);return t.getTime()>=a.getTime()?r+1:t.getTime()>=s.getTime()?r:r-1}function Kg(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=Tb(e),r=new Date(0);return r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0),za(r)}var Lg=6048e5;function Ub(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=ia(e),r=za(t).getTime()-Kg(t).getTime();return Math.round(r/Lg)+1}function ua(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var r=t||{},n=r.locale,a=n&&n.options&&n.options.weekStartsOn,o=null==a?0:ea(a),s=null==r.weekStartsOn?o:ea(r.weekStartsOn);if(!(s>=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var i=ia(e),u=i.getUTCDay(),c=(u=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var c=new Date(0);c.setUTCFullYear(n+1,0,u),c.setUTCHours(0,0,0,0);var l=ua(c,t),$=new Date(0);$.setUTCFullYear(n,0,u),$.setUTCHours(0,0,0,0);var d=ua($,t);return r.getTime()>=l.getTime()?n+1:r.getTime()>=d.getTime()?n:n-1}function Mg(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var r=t||{},n=r.locale,a=n&&n.options&&n.options.firstWeekContainsDate,o=null==a?1:ea(a),s=null==r.firstWeekContainsDate?o:ea(r.firstWeekContainsDate),i=db(e,t),u=new Date(0);return u.setUTCFullYear(i,0,s),u.setUTCHours(0,0,0,0),ua(u,t)}var Ng=6048e5;function Vb(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var r=ia(e),n=ua(r,t).getTime()-Mg(r,t).getTime();return Math.round(n/Ng)+1}var Aa={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Og={G:function(e,t,r){var n=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"});}},y:function(e,t,r){if("yo"===t){var n=e.getUTCFullYear(),a=n>0?n:1-n;return r.ordinalNumber(a,{unit:"year"})}return ra.y(e,t)},Y:function(e,t,r,n){var a=db(e,n),o=a>0?a:1-a;return"YY"===t?ba(o%100,2):"Yo"===t?r.ordinalNumber(o,{unit:"year"}):ba(o,t.length)},R:function(e,t){return ba(Tb(e),t.length)},u:function(e,t){return ba(e.getUTCFullYear(),t.length)},Q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return ba(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"});}},q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return ba(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"});}},M:function(e,t,r){var n=e.getUTCMonth();switch(t){case"M":case"MM":return ra.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"});}},L:function(e,t,r){var n=e.getUTCMonth();switch(t){case"L":return String(n+1);case"LL":return ba(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"});}},w:function(e,t,r,n){var a=Vb(e,n);return"wo"===t?r.ordinalNumber(a,{unit:"week"}):ba(a,t.length)},I:function(e,t,r){var n=Ub(e);return"Io"===t?r.ordinalNumber(n,{unit:"week"}):ba(n,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getUTCDate(),{unit:"date"}):ra.d(e,t)},D:function(e,t,r){var n=Jg(e);return"Do"===t?r.ordinalNumber(n,{unit:"dayOfYear"}):ba(n,t.length)},E:function(e,t,r){var n=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"});}},e:function(e,t,r,n){var a=e.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return ba(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"});}},c:function(e,t,r,n){var a=e.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return ba(o,t.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"});}},i:function(e,t,r){var n=e.getUTCDay(),a=0===n?7:n;switch(t){case"i":return String(a);case"ii":return ba(a,t.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"});}},a:function(e,t,r){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(n,{width:"wide",context:"formatting"});}},b:function(e,t,r){var n,a=e.getUTCHours();switch(n=12===a?Aa.noon:0===a?Aa.midnight:a/12>=1?"pm":"am",t){case"b":case"bb":case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(n,{width:"wide",context:"formatting"});}},B:function(e,t,r){var n,a=e.getUTCHours();switch(n=a>=17?Aa.evening:a>=12?Aa.afternoon:a>=4?Aa.morning:Aa.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(n,{width:"wide",context:"formatting"});}},h:function(e,t,r){if("ho"===t){var n=e.getUTCHours()%12;return 0===n&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return ra.h(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getUTCHours(),{unit:"hour"}):ra.H(e,t)},K:function(e,t,r){var n=e.getUTCHours()%12;return"Ko"===t?r.ordinalNumber(n,{unit:"hour"}):ba(n,t.length)},k:function(e,t,r){var n=e.getUTCHours();return 0===n&&(n=24),"ko"===t?r.ordinalNumber(n,{unit:"hour"}):ba(n,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):ra.m(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):ra.s(e,t)},S:function(e,t){return ra.S(e,t)},X:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();if(0===a)return"Z";switch(t){case"X":return Xb(a);case"XXXX":case"XX":return va(a);case"XXXXX":case"XXX":default:return va(a,":");}},x:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();switch(t){case"x":return Xb(a);case"xxxx":case"xx":return va(a);case"xxxxx":case"xxx":default:return va(a,":");}},O:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Wb(a,":");case"OOOO":default:return"GMT"+va(a,":");}},z:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Wb(a,":");case"zzzz":default:return"GMT"+va(a,":");}},t:function(e,t,r,n){var a=n._originalDate||e;return ba(Math.floor(a.getTime()/1e3),t.length)},T:function(e,t,r,n){return ba((n._originalDate||e).getTime(),t.length)}};function Wb(e,t){var r=e>0?"-":"+",n=Math.abs(e),a=Math.floor(n/60),o=n%60;if(0===o)return r+String(a);var s=t||"";return r+String(a)+s+ba(o,2)}function Xb(e,t){return e%60==0?(e>0?"-":"+")+ba(Math.abs(e)/60,2):va(e,t)}function va(e,t){var r=t||"",n=e>0?"-":"+",a=Math.abs(e);return n+ba(Math.floor(a/60),2)+r+ba(a%60,2)}function Yb(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"});}}function Zb(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"});}}function Pg(e,t){var r,n=e.match(/(P+)(p+)?/),a=n[1],o=n[2];if(!o)return Yb(e,t);switch(a){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;case"PPPP":default:r=t.dateTime({width:"full"});}return r.replace("{{date}}",Yb(a,t)).replace("{{time}}",Zb(o,t))}var $b={p:Zb,P:Pg},Qg=["D","DD"],Rg=["YY","YYYY"];function _b(e){return-1!==Qg.indexOf(e)}function ac(e){return-1!==Rg.indexOf(e)}function Sa(e){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` for formatting years; see: https://git.io/fxCyr");if("YY"===e)throw new RangeError("Use `yy` instead of `YY` for formatting years; see: https://git.io/fxCyr");if("D"===e)throw new RangeError("Use `d` instead of `D` for formatting days of the month; see: https://git.io/fxCyr");if("DD"===e)throw new RangeError("Use `dd` instead of `DD` for formatting days of the month; see: https://git.io/fxCyr")}var Sg=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Tg=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ug=/^'(.*?)'?$/,Vg=/''/g,Wg=/[a-zA-Z]/;function Xg(e,t,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=String(t),a=r||{},o=a.locale||Rb,s=o.options&&o.options.firstWeekContainsDate,i=null==s?1:ea(s),u=null==a.firstWeekContainsDate?i:ea(a.firstWeekContainsDate);if(!(u>=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var c=o.options&&o.options.weekStartsOn,l=null==c?0:ea(c),$=null==a.weekStartsOn?l:ea(a.weekStartsOn);if(!($>=0&&$<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!o.localize)throw new RangeError("locale must contain localize property");if(!o.formatLong)throw new RangeError("locale must contain formatLong property");var d=ia(e);if(!Qa(d))throw new RangeError("Invalid time value");var f=Sb(d,Qb(d)),v={firstWeekContainsDate:u,weekStartsOn:$,locale:o,_originalDate:d};return n.match(Tg).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,$b[t])(e,o.formatLong,v):e}).join("").match(Sg).map(function(e){if("''"===e)return"'";var t=e[0];if("'"===t)return Yg(e);var r=Og[t];if(r)return!a.useAdditionalWeekYearTokens&&ac(e)&&Sa(e),!a.useAdditionalDayOfYearTokens&&_b(e)&&Sa(e),r(f,e,o.localize,v);if(t.match(Wg))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return e}).join("")}function Yg(e){return e.match(Ug)[1].replace(Vg,"'")}function Zg(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var r in t=t||{})t.hasOwnProperty(r)&&(e[r]=t[r]);return e}function eb(e,t,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=r||{},a=n.locale,o=a&&a.options&&a.options.weekStartsOn,s=null==o?0:ea(o),i=null==n.weekStartsOn?s:ea(n.weekStartsOn);if(!(i>=0&&i<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=ia(e),c=ea(t),l=((c%7+7)%70,a=n?t:1-t;if(a<=50)r=e||100;else{var o=a+50;r=e+100*Math.floor(o/100)-(e>=o%100?100:0)}return n?r:1-r}var eh=[31,28,31,30,31,30,31,31,30,31,30,31],fh=[31,29,31,30,31,30,31,31,30,31,30,31];function ec(e){return e%400==0||e%4==0&&e%100!=0}var gh={G:{priority:140,parse:function(e,t,r,n){switch(t){case"G":case"GG":case"GGG":return r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"});case"GGGGG":return r.era(e,{width:"narrow"});case"GGGG":default:return r.era(e,{width:"wide"})||r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"});}},set:function(e,t,r,n){return t.era=r,e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(e,t,r,n){var a=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return fa(4,e,a);case"yo":return r.ordinalNumber(e,{unit:"year",valueCallback:a});default:return fa(t.length,e,a);}},validate:function(e,t,r){return t.isTwoDigitYear||t.year>0},set:function(e,t,r,n){var a=e.getUTCFullYear();if(r.isTwoDigitYear){var o=dc(r.year,a);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}var s="era"in t&&1!==t.era?1-r.year:r.year;return e.setUTCFullYear(s,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(e,t,r,n){var a=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return fa(4,e,a);case"Yo":return r.ordinalNumber(e,{unit:"year",valueCallback:a});default:return fa(t.length,e,a);}},validate:function(e,t,r){return t.isTwoDigitYear||t.year>0},set:function(e,t,r,n){var a=db(e,n);if(r.isTwoDigitYear){var o=dc(r.year,a);return e.setUTCFullYear(o,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),ua(e,n)}var s="era"in t&&1!==t.era?1-r.year:r.year;return e.setUTCFullYear(s,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),ua(e,n)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(e,t,r,n){return cc("R"===t?4:t.length,e)},set:function(e,t,r,n){var a=new Date(0);return a.setUTCFullYear(r,0,4),a.setUTCHours(0,0,0,0),za(a)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(e,t,r,n){return cc("u"===t?4:t.length,e)},set:function(e,t,r,n){return e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(e,t,r,n){switch(t){case"Q":case"QQ":return fa(t.length,e);case"Qo":return r.ordinalNumber(e,{unit:"quarter"});case"QQQ":return r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(e,{width:"wide",context:"formatting"})||r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"});}},validate:function(e,t,r){return t>=1&&t<=4},set:function(e,t,r,n){return e.setUTCMonth(3*(r-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(e,t,r,n){switch(t){case"q":case"qq":return fa(t.length,e);case"qo":return r.ordinalNumber(e,{unit:"quarter"});case"qqq":return r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(e,{width:"wide",context:"standalone"})||r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"});}},validate:function(e,t,r){return t>=1&&t<=4},set:function(e,t,r,n){return e.setUTCMonth(3*(r-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(e,t,r,n){var a=function(e){return e-1};switch(t){case"M":return ca(ga.month,e,a);case"MM":return fa(2,e,a);case"Mo":return r.ordinalNumber(e,{unit:"month",valueCallback:a});case"MMM":return r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(e,{width:"wide",context:"formatting"})||r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"});}},validate:function(e,t,r){return t>=0&&t<=11},set:function(e,t,r,n){return e.setUTCMonth(r,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(e,t,r,n){var a=function(e){return e-1};switch(t){case"L":return ca(ga.month,e,a);case"LL":return fa(2,e,a);case"Lo":return r.ordinalNumber(e,{unit:"month",valueCallback:a});case"LLL":return r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(e,{width:"wide",context:"standalone"})||r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"});}},validate:function(e,t,r){return t>=0&&t<=11},set:function(e,t,r,n){return e.setUTCMonth(r,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(e,t,r,n){switch(t){case"w":return ca(ga.week,e);case"wo":return r.ordinalNumber(e,{unit:"week"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=1&&t<=53},set:function(e,t,r,n){return ua(ah(e,r,n),n)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(e,t,r,n){switch(t){case"I":return ca(ga.week,e);case"Io":return r.ordinalNumber(e,{unit:"week"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=1&&t<=53},set:function(e,t,r,n){return za(_g(e,r,n),n)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,parse:function(e,t,r,n){switch(t){case"d":return ca(ga.date,e);case"do":return r.ordinalNumber(e,{unit:"date"});default:return fa(t.length,e);}},validate:function(e,t,r){var n=ec(e.getUTCFullYear()),a=e.getUTCMonth();return n?t>=1&&t<=fh[a]:t>=1&&t<=eh[a]},set:function(e,t,r,n){return e.setUTCDate(r),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,parse:function(e,t,r,n){switch(t){case"D":case"DD":return ca(ga.dayOfYear,e);case"Do":return r.ordinalNumber(e,{unit:"date"});default:return fa(t.length,e);}},validate:function(e,t,r){return ec(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,r,n){return e.setUTCMonth(0,r),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(e,t,r,n){switch(t){case"E":case"EE":case"EEE":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});}},validate:function(e,t,r){return t>=0&&t<=6},set:function(e,t,r,n){return(e=eb(e,r,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(e,t,r,n){var a=function(e){var t=7*Math.floor((e-1)/7);return(e+n.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return fa(t.length,e,a);case"eo":return r.ordinalNumber(e,{unit:"day",valueCallback:a});case"eee":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"eeeee":return r.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});}},validate:function(e,t,r){return t>=0&&t<=6},set:function(e,t,r,n){return(e=eb(e,r,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(e,t,r,n){var a=function(e){var t=7*Math.floor((e-1)/7);return(e+n.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return fa(t.length,e,a);case"co":return r.ordinalNumber(e,{unit:"day",valueCallback:a});case"ccc":return r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});case"ccccc":return r.day(e,{width:"narrow",context:"standalone"});case"cccccc":return r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return r.day(e,{width:"wide",context:"standalone"})||r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});}},validate:function(e,t,r){return t>=0&&t<=6},set:function(e,t,r,n){return(e=eb(e,r,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(e,t,r,n){var a=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return fa(t.length,e);case"io":return r.ordinalNumber(e,{unit:"day"});case"iii":return r.day(e,{width:"abbreviated",context:"formatting",valueCallback:a})||r.day(e,{width:"short",context:"formatting",valueCallback:a})||r.day(e,{width:"narrow",context:"formatting",valueCallback:a});case"iiiii":return r.day(e,{width:"narrow",context:"formatting",valueCallback:a});case"iiiiii":return r.day(e,{width:"short",context:"formatting",valueCallback:a})||r.day(e,{width:"narrow",context:"formatting",valueCallback:a});case"iiii":default:return r.day(e,{width:"wide",context:"formatting",valueCallback:a})||r.day(e,{width:"abbreviated",context:"formatting",valueCallback:a})||r.day(e,{width:"short",context:"formatting",valueCallback:a})||r.day(e,{width:"narrow",context:"formatting",valueCallback:a});}},validate:function(e,t,r){return t>=1&&t<=7},set:function(e,t,r,n){return(e=$g(e,r,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:{priority:80,parse:function(e,t,r,n){switch(t){case"a":case"aa":case"aaa":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});}},set:function(e,t,r,n){return e.setUTCHours(fb(r),0,0,0),e},incompatibleTokens:["b","B","H","K","k","t","T"]},b:{priority:80,parse:function(e,t,r,n){switch(t){case"b":case"bb":case"bbb":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});}},set:function(e,t,r,n){return e.setUTCHours(fb(r),0,0,0),e},incompatibleTokens:["a","B","H","K","k","t","T"]},B:{priority:80,parse:function(e,t,r,n){switch(t){case"B":case"BB":case"BBB":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});}},set:function(e,t,r,n){return e.setUTCHours(fb(r),0,0,0),e},incompatibleTokens:["a","b","t","T"]},h:{priority:70,parse:function(e,t,r,n){switch(t){case"h":return ca(ga.hour12h,e);case"ho":return r.ordinalNumber(e,{unit:"hour"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=1&&t<=12},set:function(e,t,r,n){var a=e.getUTCHours()>=12;return a&&r<12?e.setUTCHours(r+12,0,0,0):a||12!==r?e.setUTCHours(r,0,0,0):e.setUTCHours(0,0,0,0),e},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(e,t,r,n){switch(t){case"H":return ca(ga.hour23h,e);case"Ho":return r.ordinalNumber(e,{unit:"hour"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=0&&t<=23},set:function(e,t,r,n){return e.setUTCHours(r,0,0,0),e},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(e,t,r,n){switch(t){case"K":return ca(ga.hour11h,e);case"Ko":return r.ordinalNumber(e,{unit:"hour"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=0&&t<=11},set:function(e,t,r,n){return e.getUTCHours()>=12&&r<12?e.setUTCHours(r+12,0,0,0):e.setUTCHours(r,0,0,0),e},incompatibleTokens:["a","b","h","H","k","t","T"]},k:{priority:70,parse:function(e,t,r,n){switch(t){case"k":return ca(ga.hour24h,e);case"ko":return r.ordinalNumber(e,{unit:"hour"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=1&&t<=24},set:function(e,t,r,n){var a=r<=24?r%24:r;return e.setUTCHours(a,0,0,0),e},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(e,t,r,n){switch(t){case"m":return ca(ga.minute,e);case"mo":return r.ordinalNumber(e,{unit:"minute"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=0&&t<=59},set:function(e,t,r,n){return e.setUTCMinutes(r,0,0),e},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(e,t,r,n){switch(t){case"s":return ca(ga.second,e);case"so":return r.ordinalNumber(e,{unit:"second"});default:return fa(t.length,e);}},validate:function(e,t,r){return t>=0&&t<=59},set:function(e,t,r,n){return e.setUTCSeconds(r,0),e},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(e,t,r,n){return fa(t.length,e,function(e){return Math.floor(e*Math.pow(10,3-t.length))})},set:function(e,t,r,n){return e.setUTCMilliseconds(r),e},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(e,t,r,n){switch(t){case"X":return pa(oa.basicOptionalMinutes,e);case"XX":return pa(oa.basic,e);case"XXXX":return pa(oa.basicOptionalSeconds,e);case"XXXXX":return pa(oa.extendedOptionalSeconds,e);case"XXX":default:return pa(oa.extended,e);}},set:function(e,t,r,n){return t.timestampIsSet?e:new Date(e.getTime()-r)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(e,t,r,n){switch(t){case"x":return pa(oa.basicOptionalMinutes,e);case"xx":return pa(oa.basic,e);case"xxxx":return pa(oa.basicOptionalSeconds,e);case"xxxxx":return pa(oa.extendedOptionalSeconds,e);case"xxx":default:return pa(oa.extended,e);}},set:function(e,t,r,n){return t.timestampIsSet?e:new Date(e.getTime()-r)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(e,t,r,n){return bc(e)},set:function(e,t,r,n){return[new Date(1e3*r),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(e,t,r,n){return bc(e)},set:function(e,t,r,n){return[new Date(r),{timestampIsSet:!0}]},incompatibleTokens:"*"}},hh=10,ih=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,jh=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,kh=/^'(.*?)'?$/,lh=/''/g,mh=/\S/,nh=/[a-zA-Z]/;function fc(e,t,r,n){if(arguments.length<3)throw new TypeError("3 arguments required, but only "+arguments.length+" present");var a=String(e),o=String(t),s=n||{},i=s.locale||Rb;if(!i.match)throw new RangeError("locale must contain match property");var u=i.options&&i.options.firstWeekContainsDate,c=null==u?1:ea(u),l=null==s.firstWeekContainsDate?c:ea(s.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var $=i.options&&i.options.weekStartsOn,d=null==$?0:ea($),f=null==s.weekStartsOn?d:ea(s.weekStartsOn);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===o)return""===a?ia(r):new Date(NaN);var v,h={firstWeekContainsDate:l,weekStartsOn:f,locale:i},w=[{priority:hh,set:oh,index:0}],p=o.match(jh).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,$b[t])(e,i.formatLong,h):e}).join("").match(ih),g=[];for(v=0;v0&&mh.test(a))return new Date(NaN);var x=w.map(function(e){return e.priority}).sort(function(e,t){return t-e}).filter(function(e,t,r){return r.indexOf(e)===t}).map(function(e){return w.filter(function(t){return t.priority===e}).reverse()}).map(function(e){return e[0]}),S=ia(r);if(isNaN(S))return new Date(NaN);var O=Sb(S,Qb(S)),k={};for(v=0;v=0?parseFloat(e):parseInt(e,10)}return(e="number"==typeof e?e:r(e))<(t="number"==typeof t?t:r(t))?-1:e>t?1:0};var rh=Object.freeze({default:wa}),gc=ka(wa);gc.format=function(e){return null==e?"":parseFloat(Math.round(100*e)/100).toFixed(2)};var sh=Object.freeze({default:gc}),hc=ka(wa);hc.format=function(e){return null==e?"":"".concat(parseFloat(100*e).toFixed(2),"%")};var th=Object.freeze({default:hc}),Ea=ka(ya);Ea.isRight=!0,Ea.filterPredicate=function(e,t){return 0===Ea.compare(e,t)},Ea.compare=function(e,t){function r(e){return"boolean"==typeof e?e?1:0:"string"==typeof e?"true"===e?1:0:-1/0}return(e=r(e))<(t=r(t))?-1:e>t?1:0};var uh=Object.freeze({default:Ea}),vh={date:qh,decimal:sh,number:rh,percentage:th,boolean:uh},ic={},jc=vh;da(Object.keys(jc),function(e){var t=e.replace(/^\.\//,"").replace(/\.js/,"");ic[t]=jc[e].default});var wh={name:"vue-good-table",props:{isLoading:{default:null,type:Boolean},maxHeight:{default:null,type:String},fixedHeader:Boolean,theme:{default:""},mode:{default:"local"},totalRows:{},styleClass:{default:"vgt-table bordered"},columns:{},rows:{},lineNumbers:Boolean,responsive:{default:!0,type:Boolean},rtl:Boolean,rowStyleClass:{default:null,type:[Function,String]},compactMode:Boolean,groupOptions:{default:function(){return{enabled:!1,collapsable:!1,rowKey:null}}},selectOptions:{default:function(){return{enabled:!1,selectionInfoClass:"",selectionText:"rows selected",clearSelectionText:"clear",disableSelectInfo:!1,selectAllByGroup:!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",maintainExpanded:!0,expandedRowKeys:new Set,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:ic||{}}},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(e,t){ab(e,t)||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(e,t){ab(e,t)||this.initializeSort()},deep:!0},selectedRows:function(e,t){ab(e,t)||this.$emit("on-selected-rows-change",{selectedRows:this.selectedRows})}},computed:{tableStyles:function(){return this.compactMode?this.tableStyleClasses+"vgt-compact":this.tableStyleClasses},hasFooterSlot:function(){return!!this.$slots["table-actions-bottom"]},wrapperStyles:function(){return{overflow:"scroll-y",maxHeight:this.maxHeight?this.maxHeight:"auto"}},rowKeyField:function(){return this.groupOptions.rowKey||"vgt_header_id"},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 e=[];return da(this.paginated,function(t){da(t.children,function(t){t.vgtSelected&&e.push(t)})}),e},selectedRows:function(){var e=[];return da(this.processedRows,function(t){da(t.children,function(t){t.vgtSelected&&e.push(t)})}),e.sort(function(e,t){return e.originalIndex-t.originalIndex})},fullColspan:function(){for(var e=0,t=0;t=t.length||-1===this.currentPerPage)&&(this.currentPage=1,r=0);var n=t.length+1;-1!==this.currentPerPage&&(n=this.currentPage*this.currentPerPage),t=t.slice(r,n)}var a=[];return t.forEach(function(t){if(void 0!==t.vgt_header_id){e.handleExpanded(t);var r=ka(t);r.children=[],a.push(r)}else{var n=a.find(function(e){return e.vgt_header_id===t.vgt_id});n||(n=e.processedRows.find(function(e){return e.vgt_header_id===t.vgt_id}))&&((n=ka(n)).children=[],a.push(n)),n.children.push(t)}}),a},originalRows:function(){var e=ka(this.rows),t=[];t=this.groupOptions.enabled?this.handleGrouped(e):this.handleGrouped([{label:"no groups",children:e}]);var r=0;return da(t,function(e,t){da(e.children,function(e,t){e.originalIndex=r++})}),t},typedColumns:function(){for(var e=Jb(this.columns,[]),t=0;t2&&void 0!==arguments[2]&&arguments[2]&&t.headerField?this.collect(e,t.headerField):this.collect(e,t.field)))return"";if(t.formatFn&&"function"==typeof t.formatFn)return t.formatFn(r,e);var n=t.typeDef;n||(n=this.dataTypes[t.type]||ya);var a=n.format(r,t);return!this.compactMode||""!=a&&null!=a?a:"-"},formattedRow:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={},n=0;n1&&void 0!==arguments[1])||arguments[1];this.columnFilters=e;var n=ka(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=n);for(var a=function(e){var r=t.typedColumns[e];t.columnFilters[r.field]&&(n=da(n,function(e){var n=e.children.filter(function(e){return r.filterOptions&&"function"==typeof r.filterOptions.filterFn?r.filterOptions.filterFn(t.collect(e,r.field),t.columnFilters[r.field]):r.typeDef.filterPredicate(t.collect(e,r.field),t.columnFilters[r.field],!1,r.filterOptions&&"object"===Ma(r.filterOptions.filterDropdownItems))});e.children=n}))},o=0;o0&&this.options.search&&this.rows.length},storeName:function(){return"kirby$plugin$pagetable"+this.parent+"-"+this.name},showOptions:function(){return this.options.showStatus||this.options.showActions}},watch:{language:function(){this.reload()}},created:function(){this.load(),this.loadStoredState()},methods:{replaceInvalidDate:function(t){return t.replace("Invalid Date","-")},load:function(t){var e=this;t||(this.isLoading=!0),this.$api.get(this.parent+"/sections/"+this.name).then(function(t){e.isLoading=!1,e.options=t.options,e.columns=t.data.columns,e.rows=e.items(t.data.rows);var s=t.translations;Object.keys(s).forEach(function(t){null==s[t]&&delete s[t]}),e.translations=Object.assign({},e.translations,s)}).catch(function(t){e.isLoading=!1,e.error=t.message})},openRef:function(t){this.$refs[t].toggle()},onSearch:function(t){this.storeCurrentState(),this.checkReset()},onPerPageChange:function(t){this.$refs.table&&this.$refs.table.changePage(1)},onPageChange:function(t){this.storeCurrentState(),this.checkReset()},onSortChange:function(t){this.storeCurrentState(),this.checkReset()},checkReset:function(){this.showReset=this.rows.length&&(this.searchTerm.length>0||this.$refs.table&&this.$refs.table.sorts.length||this.$refs.table&&1!=this.$refs.table.currentPage)},loadStoredState:function(){var t=JSON.parse(sessionStorage.getItem(this.storeName));null!==t&&(this.storedState=t,t.searchTerm&&t.searchTerm.length>0&&(this.searchTerm=t.searchTerm))},storeCurrentState:function(){if(this.$refs.table){var t={};t.page={currentPage:this.$refs.table.currentPage,currentPerPage:this.$refs.table.currentPerPage},this.$refs.table.sorts[0]&&(t.sort={field:this.$refs.table.sorts[0].field,type:this.$refs.table.sorts[0].type}),t.searchTerm=this.searchTerm,sessionStorage.setItem(this.storeName,JSON.stringify(t))}},resetTable:function(){this.$refs.table.changeSort([]),document.querySelectorAll(".sorting").forEach(function(t){"TH"==t.tagName&&t.classList.remove("sorting","sorting-asc","sorting-desc")}),this.searchTerm="",this.$refs.table.currentPerPage=this.options.limit,this.$refs.table.perPage=this.options.limit,this.$refs.table.changePage(1),this.storeCurrentState()},imageOptions:function(t){if(!t||0===t.length||!t.url)return!1;var e=t.list.url,s=t.list.srcset;return!!e&&{src:e,srcset:s,back:t.back||"black",cover:t.cover}}}};if(typeof Ua==="function"){Ua=Ua.options}Object.assign(Ua,function(){var render=function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("section",{staticClass:"k-pagetable-section"},[_c("header",{staticClass:"k-section-header"},[_c("k-headline",{attrs:{"link":_vm.options.link}},[_vm.isLoading?_c("span",[_vm._v("\u2026")]):_c("span",[_vm._v(_vm._s(_vm.headline))])]),_vm._v(" "),_c("k-button-group",[_vm.showReset?_c("button",{staticClass:"pagetable-reset-button",domProps:{"innerHTML":_vm._s(_vm.translations.reset)},on:{"click":_vm.resetTable}}):_vm._e(),_vm._v(" "),_vm.showSearch?_c("input",{directives:[{name:"model",rawName:"v-model",value:_vm.searchTerm,expression:"searchTerm"}],staticClass:"pagetable-search-input",attrs:{"type":"text","placeholder":_vm.translations.filter},domProps:{"value":_vm.searchTerm},on:{"input":function($event){if($event.target.composing){return}_vm.searchTerm=$event.target.value}}}):_vm._e(),_vm._v(" "),_vm.add?_c("k-button",{attrs:{"icon":"add"},on:{"click":_vm.create}},[_vm._v(_vm._s(_vm.$t("add")))]):_vm._e()],1)],1),_vm._v(" "),_vm.rows.length&&!_vm.isLoading?_c("vue-good-table",{ref:"table",attrs:{"columns":_vm.columns,"rows":_vm.rows,"sort-options":_vm.sortOptions,"search-options":_vm.searchOptions,"pagination-options":_vm.paginationOptions},on:{"on-search":_vm.onSearch,"on-sort-change":_vm.onSortChange,"on-page-change":_vm.onPageChange,"on-per-page-change":_vm.onPerPageChange},scopedSlots:_vm._u([{key:"table-row",fn:function(props){return[props.column.field=="p-cover-image"&&_vm.options.showImage?_c("span",[_c("k-link",{attrs:{"to":props.row.link}},[_c("figure",{staticClass:"k-list-item-image"},[_vm.imageOptions(props.row.image)?_c("k-image",_vm._b({},"k-image",_vm.imageOptions(props.row.image),false)):_c("k-icon",_vm._b({},"k-icon",props.row.icon,false))],1)])],1):props.column.field=="p-options"&&_vm.showOptions?_c("span",[_c("div",{staticClass:"k-list-item-options"},[_vm._t("options",[props.row.statusIcon&&_vm.options.showStatus?_c("k-status-icon",_vm._b({staticClass:"k-list-item-status"},"k-status-icon",props.row.statusIcon,false)):_vm._e(),_vm._v(" "),props.row.options&&_vm.options.showActions?_c("k-button",{staticClass:"k-list-item-toggle",attrs:{"tooltip":_vm.$t("options"),"icon":"dots","alt":"Options"},on:{"click":function($event){$event.stopPropagation();return _vm.openRef("dropdown-"+props.row.originalIndex)}}}):_vm._e(),_vm._v(" "),_vm.options.showActions?_c("k-dropdown-content",{ref:"dropdown-"+props.row.originalIndex,attrs:{"options":props.row.options,"align":"right"},on:{"action":function($event){return _vm.action(props.row,$event)}}}):_vm._e()])],2)]):_c("k-link",{attrs:{"to":props.row.link},domProps:{"innerHTML":_vm._s(_vm.replaceInvalidDate(props.formattedRow[props.column.field]))}})]}}],null,false,2945208707)}):!_vm.rows.length&&!_vm.isLoading?[_c("k-empty",{attrs:{"layout":_vm.options.layout,"data-invalid":_vm.isInvalid,"icon":"page"},on:{"click":_vm.create}},[_vm._v(" "+_vm._s(_vm.translations.empty)+" ")]),_vm._v(" "),_c("footer",{staticClass:"k-collection-footer"},[_vm.help?_c("k-text",{staticClass:"k-collection-help",attrs:{"theme":"help"},domProps:{"innerHTML":_vm._s(_vm.help)}}):_vm._e()],1)]:_vm.isLoading?_c("div",{staticClass:"loading"},[_c("k-empty",{attrs:{"layout":_vm.options.layout,"icon":"pagetableLoader"}},[_vm._v(" "+_vm._s(_vm.translations.loading)+" ")])],1):_vm._e(),_vm._v(" "),_c("k-page-create-dialog",{ref:"create"}),_vm._v(" "),_c("k-page-duplicate-dialog",{ref:"duplicate"}),_vm._v(" "),_c("k-page-rename-dialog",{ref:"rename",on:{"success":_vm.update}}),_vm._v(" "),_c("k-page-sort-dialog",{ref:"sort",on:{"success":_vm.update}}),_vm._v(" "),_c("k-page-status-dialog",{ref:"status",on:{"success":_vm.update}}),_vm._v(" "),_c("k-page-template-dialog",{ref:"template",on:{"success":_vm.update}}),_vm._v(" "),_c("k-page-remove-dialog",{ref:"remove",on:{"success":_vm.update}})],2)};var staticRenderFns=[];return{render:render,staticRenderFns:staticRenderFns,_compiled:true,_scopeId:null,functional:undefined}}());panel.plugin("sylvainjule/pagetable",{sections:{pagetable:Ua},icons:{pagetableLoader:""}});})(); \ No newline at end of file diff --git a/lib/pagetable.php b/lib/pagetable.php index b76efb3..a2ebef6 100644 --- a/lib/pagetable.php +++ b/lib/pagetable.php @@ -192,7 +192,6 @@ ); $data['rows'] = array(); - $thumb = ['width' => 100, 'height' => 100]; foreach ($this->pages as $item) { $permissions = $item->permissions(); diff --git a/src/components/PageTable.vue b/src/components/PageTable.vue index fe2ddea..47e9b77 100644 --- a/src/components/PageTable.vue +++ b/src/components/PageTable.vue @@ -29,7 +29,7 @@
- +
@@ -293,6 +293,10 @@ export default { this.storeCurrentState() }, imageOptions(image) { + if (!image || image.length === 0 || !image.url) { + return false; + } + let src = image.list.url; let srcset = image.list.srcset; if (!src) {