(()=>{"use strict";var t={93200:(t,r,e)=>{var n=e(933),o=e(70321),a=TypeError;t.exports=function(t){if(n(t))return t;throw a(o(t)+" is not a function")}},94831:(t,r,e)=>{var n=e(53538),o=e(70321),a=TypeError;t.exports=function(t){if(n(t))return t;throw a(o(t)+" is not a constructor")}},98563:(t,r,e)=>{var n=e(933),o=String,a=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw a("Can't set "+o(t)+" as a prototype")}},90186:(t,r,e)=>{var n=e(97952),o=e(76997),a=e(47108).f,i=n("unscopables"),u=Array.prototype;void 0===u[i]&&a(u,i,{configurable:!0,value:o(null)}),t.exports=function(t){u[i][t]=!0}},73264:(t,r,e)=>{var n=e(12370).charAt;t.exports=function(t,r,e){return r+(e?n(t,r).length:1)}},75209:(t,r,e)=>{var n=e(62346),o=TypeError;t.exports=function(t,r){if(n(r,t))return t;throw o("Incorrect invocation")}},93536:(t,r,e)=>{var n=e(76913),o=String,a=TypeError;t.exports=function(t){if(n(t))return t;throw a(o(t)+" is not an object")}},8094:t=>{t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},2162:(t,r,e)=>{var n=e(53694);t.exports=n((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},67740:(t,r,e)=>{var n,o,a,i=e(8094),u=e(26079),s=e(77230),c=e(933),f=e(76913),l=e(33225),h=e(40996),p=e(70321),v=e(5399),g=e(46272),d=e(11331),y=e(62346),b=e(65024),m=e(91403),x=e(97952),w=e(14525),E=e(60021),A=E.enforce,S=E.get,O=s.Int8Array,R=O&&O.prototype,T=s.Uint8ClampedArray,I=T&&T.prototype,M=O&&b(O),k=R&&b(R),P=Object.prototype,j=s.TypeError,C=x("toStringTag"),L=w("TYPED_ARRAY_TAG"),N="TypedArrayConstructor",U=i&&!!m&&"Opera"!==h(s.opera),_=!1,D={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},F={BigInt64Array:8,BigUint64Array:8},B=function(t){var r=b(t);if(f(r)){var e=S(r);return e&&l(e,N)?e[N]:B(r)}},z=function(t){if(!f(t))return!1;var r=h(t);return l(D,r)||l(F,r)};for(n in D)(a=(o=s[n])&&o.prototype)?A(a)[N]=o:U=!1;for(n in F)(a=(o=s[n])&&o.prototype)&&(A(a)[N]=o);if((!U||!c(M)||M===Function.prototype)&&(M=function(){throw j("Incorrect invocation")},U))for(n in D)s[n]&&m(s[n],M);if((!U||!k||k===P)&&(k=M.prototype,U))for(n in D)s[n]&&m(s[n].prototype,k);if(U&&b(I)!==k&&m(I,k),u&&!l(k,C))for(n in _=!0,d(k,C,{configurable:!0,get:function(){return f(this)?this[L]:void 0}}),D)s[n]&&v(s[n],L,n);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:U,TYPED_ARRAY_TAG:_&&L,aTypedArray:function(t){if(z(t))return t;throw j("Target is not a typed array")},aTypedArrayConstructor:function(t){if(c(t)&&(!m||y(M,t)))return t;throw j(p(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,r,e,n){if(u){if(e)for(var o in D){var a=s[o];if(a&&l(a.prototype,t))try{delete a.prototype[t]}catch(e){try{a.prototype[t]=r}catch(t){}}}k[t]&&!e||g(k,t,e?r:U&&R[t]||r,n)}},exportTypedArrayStaticMethod:function(t,r,e){var n,o;if(u){if(m){if(e)for(n in D)if((o=s[n])&&l(o,t))try{delete o[t]}catch(t){}if(M[t]&&!e)return;try{return g(M,t,e?r:U&&M[t]||r)}catch(t){}}for(n in D)!(o=s[n])||o[t]&&!e||g(o,t,r)}},getTypedArrayConstructor:B,isView:function(t){if(!f(t))return!1;var r=h(t);return"DataView"===r||l(D,r)||l(F,r)},isTypedArray:z,TypedArray:M,TypedArrayPrototype:k}},62292:(t,r,e)=>{var n=e(77230),o=e(51916),a=e(26079),i=e(8094),u=e(20567),s=e(5399),c=e(11331),f=e(28278),l=e(53694),h=e(75209),p=e(84982),v=e(96092),g=e(64800),d=e(37419),y=e(65024),b=e(91403),m=e(67852).f,x=e(30240),w=e(70696),E=e(5411),A=e(60021),S=u.PROPER,O=u.CONFIGURABLE,R="ArrayBuffer",T="DataView",I="prototype",M="Wrong index",k=A.getterFor(R),P=A.getterFor(T),j=A.set,C=n[R],L=C,N=L&&L[I],U=n[T],_=U&&U[I],D=Object.prototype,F=n.Array,B=n.RangeError,z=o(x),W=o([].reverse),V=d.pack,H=d.unpack,q=function(t){return[255&t]},G=function(t){return[255&t,t>>8&255]},Y=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},$=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},K=function(t){return V(t,23,4)},J=function(t){return V(t,52,8)},X=function(t,r,e){c(t[I],r,{configurable:!0,get:function(){return e(this)[r]}})},Q=function(t,r,e,n){var o=P(t),a=g(e),i=!!n;if(a+r>o.byteLength)throw B(M);var u=o.bytes,s=a+o.byteOffset,c=w(u,s,s+r);return i?c:W(c)},Z=function(t,r,e,n,o,a){var i=P(t),u=g(e),s=n(+o),c=!!a;if(u+r>i.byteLength)throw B(M);for(var f=i.bytes,l=u+i.byteOffset,h=0;h<r;h++)f[l+h]=s[c?h:r-h-1]};if(i){var tt=S&&C.name!==R;if(l((function(){C(1)}))&&l((function(){new C(-1)}))&&!l((function(){return new C,new C(1.5),new C(NaN),1!==C.length||tt&&!O})))tt&&O&&s(C,"name",R);else{(L=function(t){return h(this,N),new C(g(t))})[I]=N;for(var rt,et=m(C),nt=0;et.length>nt;)(rt=et[nt++])in L||s(L,rt,C[rt]);N.constructor=L}b&&y(_)!==D&&b(_,D);var ot=new U(new L(2)),at=o(_.setInt8);ot.setInt8(0,2147483648),ot.setInt8(1,2147483649),!ot.getInt8(0)&&ot.getInt8(1)||f(_,{setInt8:function(t,r){at(this,t,r<<24>>24)},setUint8:function(t,r){at(this,t,r<<24>>24)}},{unsafe:!0})}else N=(L=function(t){h(this,N);var r=g(t);j(this,{type:R,bytes:z(F(r),0),byteLength:r}),a||(this.byteLength=r,this.detached=!1)})[I],_=(U=function(t,r,e){h(this,_),h(t,N);var n=k(t),o=n.byteLength,i=p(r);if(i<0||i>o)throw B("Wrong offset");if(i+(e=void 0===e?o-i:v(e))>o)throw B("Wrong length");j(this,{type:T,buffer:t,byteLength:e,byteOffset:i,bytes:n.bytes}),a||(this.buffer=t,this.byteLength=e,this.byteOffset=i)})[I],a&&(X(L,"byteLength",k),X(U,"buffer",P),X(U,"byteLength",P),X(U,"byteOffset",P)),f(_,{getInt8:function(t){return Q(this,1,t)[0]<<24>>24},getUint8:function(t){return Q(this,1,t)[0]},getInt16:function(t){var r=Q(this,2,t,arguments.length>1&&arguments[1]);return(r[1]<<8|r[0])<<16>>16},getUint16:function(t){var r=Q(this,2,t,arguments.length>1&&arguments[1]);return r[1]<<8|r[0]},getInt32:function(t){return $(Q(this,4,t,arguments.length>1&&arguments[1]))},getUint32:function(t){return $(Q(this,4,t,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(t){return H(Q(this,4,t,arguments.length>1&&arguments[1]),23)},getFloat64:function(t){return H(Q(this,8,t,arguments.length>1&&arguments[1]),52)},setInt8:function(t,r){Z(this,1,t,q,r)},setUint8:function(t,r){Z(this,1,t,q,r)},setInt16:function(t,r){Z(this,2,t,G,r,arguments.length>2&&arguments[2])},setUint16:function(t,r){Z(this,2,t,G,r,arguments.length>2&&arguments[2])},setInt32:function(t,r){Z(this,4,t,Y,r,arguments.length>2&&arguments[2])},setUint32:function(t,r){Z(this,4,t,Y,r,arguments.length>2&&arguments[2])},setFloat32:function(t,r){Z(this,4,t,K,r,arguments.length>2&&arguments[2])},setFloat64:function(t,r){Z(this,8,t,J,r,arguments.length>2&&arguments[2])}});E(L,R),E(U,T),t.exports={ArrayBuffer:L,DataView:U}},38012:(t,r,e)=>{var n=e(20987),o=e(62966),a=e(71646),i=e(17444),u=Math.min;t.exports=[].copyWithin||function(t,r){var e=n(this),s=a(e),c=o(t,s),f=o(r,s),l=arguments.length>2?arguments[2]:void 0,h=u((void 0===l?s:o(l,s))-f,s-c),p=1;for(f<c&&c<f+h&&(p=-1,f+=h-1,c+=h-1);h-- >0;)f in e?e[c]=e[f]:i(e,c),c+=p,f+=p;return e}},30240:(t,r,e)=>{var n=e(20987),o=e(62966),a=e(71646);t.exports=function(t){for(var r=n(this),e=a(r),i=arguments.length,u=o(i>1?arguments[1]:void 0,e),s=i>2?arguments[2]:void 0,c=void 0===s?e:o(s,e);c>u;)r[u++]=t;return r}},60866:(t,r,e)=>{var n=e(1569).forEach,o=e(2245)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},37004:(t,r,e)=>{var n=e(71646);t.exports=function(t,r){for(var e=0,o=n(r),a=new t(o);o>e;)a[e]=r[e++];return a}},38897:(t,r,e)=>{var n=e(81248),o=e(44225),a=e(20987),i=e(66996),u=e(61855),s=e(53538),c=e(71646),f=e(93859),l=e(99853),h=e(6418),p=Array;t.exports=function(t){var r=a(t),e=s(this),v=arguments.length,g=v>1?arguments[1]:void 0,d=void 0!==g;d&&(g=n(g,v>2?arguments[2]:void 0));var y,b,m,x,w,E,A=h(r),S=0;if(!A||this===p&&u(A))for(y=c(r),b=e?new this(y):p(y);y>S;S++)E=d?g(r[S],S):r[S],f(b,S,E);else for(w=(x=l(r,A)).next,b=e?new this:[];!(m=o(w,x)).done;S++)E=d?i(x,g,[m.value,S],!0):m.value,f(b,S,E);return b.length=S,b}},17945:(t,r,e)=>{var n=e(9164),o=e(62966),a=e(71646),i=function(t){return function(r,e,i){var u,s=n(r),c=a(s),f=o(i,c);if(t&&e!=e){for(;c>f;)if((u=s[f++])!=u)return!0}else for(;c>f;f++)if((t||f in s)&&s[f]===e)return t||f||0;return!t&&-1}};t.exports={includes:i(!0),indexOf:i(!1)}},6126:(t,r,e)=>{var n=e(81248),o=e(6801),a=e(20987),i=e(71646),u=function(t){var r=1===t;return function(e,u,s){for(var c,f=a(e),l=o(f),h=n(u,s),p=i(l);p-- >0;)if(h(c=l[p],p,f))switch(t){case 0:return c;case 1:return p}return r?-1:void 0}};t.exports={findLast:u(0),findLastIndex:u(1)}},1569:(t,r,e)=>{var n=e(81248),o=e(51916),a=e(6801),i=e(20987),u=e(71646),s=e(11204),c=o([].push),f=function(t){var r=1===t,e=2===t,o=3===t,f=4===t,l=6===t,h=7===t,p=5===t||l;return function(v,g,d,y){for(var b,m,x=i(v),w=a(x),E=n(g,d),A=u(w),S=0,O=y||s,R=r?O(v,A):e||h?O(v,0):void 0;A>S;S++)if((p||S in w)&&(m=E(b=w[S],S,x),t))if(r)R[S]=m;else if(m)switch(t){case 3:return!0;case 5:return b;case 6:return S;case 2:c(R,b)}else switch(t){case 4:return!1;case 7:c(R,b)}return l?-1:o||f?f:R}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},73604:(t,r,e)=>{var n=e(10251),o=e(9164),a=e(84982),i=e(71646),u=e(2245),s=Math.min,c=[].lastIndexOf,f=!!c&&1/[1].lastIndexOf(1,-0)<0,l=u("lastIndexOf"),h=f||!l;t.exports=h?function(t){if(f)return n(c,this,arguments)||0;var r=o(this),e=i(r),u=e-1;for(arguments.length>1&&(u=s(u,a(arguments[1]))),u<0&&(u=e+u);u>=0;u--)if(u in r&&r[u]===t)return u||0;return-1}:c},79321:(t,r,e)=>{var n=e(53694),o=e(97952),a=e(67806),i=o("species");t.exports=function(t){return a>=51||!n((function(){var r=[];return(r.constructor={})[i]=function(){return{foo:1}},1!==r[t](Boolean).foo}))}},2245:(t,r,e)=>{var n=e(53694);t.exports=function(t,r){var e=[][t];return!!e&&n((function(){e.call(null,r||function(){return 1},1)}))}},28605:(t,r,e)=>{var n=e(93200),o=e(20987),a=e(6801),i=e(71646),u=TypeError,s=function(t){return function(r,e,s,c){n(e);var f=o(r),l=a(f),h=i(f),p=t?h-1:0,v=t?-1:1;if(s<2)for(;;){if(p in l){c=l[p],p+=v;break}if(p+=v,t?p<0:h<=p)throw u("Reduce of empty array with no initial value")}for(;t?p>=0:h>p;p+=v)p in l&&(c=e(c,l[p],p,f));return c}};t.exports={left:s(!1),right:s(!0)}},80121:(t,r,e)=>{var n=e(26079),o=e(44893),a=TypeError,i=Object.getOwnPropertyDescriptor,u=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=u?function(t,r){if(o(t)&&!i(t,"length").writable)throw a("Cannot set read only .length");return t.length=r}:function(t,r){return t.length=r}},70696:(t,r,e)=>{var n=e(62966),o=e(71646),a=e(93859),i=Array,u=Math.max;t.exports=function(t,r,e){for(var s=o(t),c=n(r,s),f=n(void 0===e?s:e,s),l=i(u(f-c,0)),h=0;c<f;c++,h++)a(l,h,t[c]);return l.length=h,l}},69663:(t,r,e)=>{var n=e(51916);t.exports=n([].slice)},68813:(t,r,e)=>{var n=e(70696),o=Math.floor,a=function(t,r){var e=t.length,s=o(e/2);return e<8?i(t,r):u(t,a(n(t,0,s),r),a(n(t,s),r),r)},i=function(t,r){for(var e,n,o=t.length,a=1;a<o;){for(n=a,e=t[a];n&&r(t[n-1],e)>0;)t[n]=t[--n];n!==a++&&(t[n]=e)}return t},u=function(t,r,e,n){for(var o=r.length,a=e.length,i=0,u=0;i<o||u<a;)t[i+u]=i<o&&u<a?n(r[i],e[u])<=0?r[i++]:e[u++]:i<o?r[i++]:e[u++];return t};t.exports=a},33824:(t,r,e)=>{var n=e(44893),o=e(53538),a=e(76913),i=e(97952)("species"),u=Array;t.exports=function(t){var r;return n(t)&&(r=t.constructor,(o(r)&&(r===u||n(r.prototype))||a(r)&&null===(r=r[i]))&&(r=void 0)),void 0===r?u:r}},11204:(t,r,e)=>{var n=e(33824);t.exports=function(t,r){return new(n(t))(0===r?0:r)}},77326:(t,r,e)=>{var n=e(71646);t.exports=function(t,r){for(var e=n(t),o=new r(e),a=0;a<e;a++)o[a]=t[e-a-1];return o}},88718:(t,r,e)=>{var n=e(71646),o=e(84982),a=RangeError;t.exports=function(t,r,e,i){var u=n(t),s=o(e),c=s<0?u+s:s;if(c>=u||c<0)throw a("Incorrect index");for(var f=new r(u),l=0;l<u;l++)f[l]=l===c?i:t[l];return f}},50673:t=>{for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",e={},n=0;n<66;n++)e[r.charAt(n)]=n;t.exports={itoc:r,ctoi:e}},66996:(t,r,e)=>{var n=e(93536),o=e(25635);t.exports=function(t,r,e,a){try{return a?r(n(e)[0],e[1]):r(e)}catch(r){o(t,"throw",r)}}},31964:(t,r,e)=>{var n=e(97952)("iterator"),o=!1;try{var a=0,i={next:function(){return{done:!!a++}},return:function(){o=!0}};i[n]=function(){return this},Array.from(i,(function(){throw 2}))}catch(t){}t.exports=function(t,r){if(!r&&!o)return!1;var e=!1;try{var a={};a[n]=function(){return{next:function(){return{done:e=!0}}}},t(a)}catch(t){}return e}},92248:(t,r,e)=>{var n=e(51916),o=n({}.toString),a=n("".slice);t.exports=function(t){return a(o(t),8,-1)}},40996:(t,r,e)=>{var n=e(96695),o=e(933),a=e(92248),i=e(97952)("toStringTag"),u=Object,s="Arguments"===a(function(){return arguments}());t.exports=n?a:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=u(t),i))?e:s?a(r):"Object"===(n=a(r))&&o(r.callee)?"Arguments":n}},73342:(t,r,e)=>{var n=e(76997),o=e(11331),a=e(28278),i=e(81248),u=e(75209),s=e(76623),c=e(55103),f=e(62061),l=e(47822),h=e(26898),p=e(26079),v=e(43792).fastKey,g=e(60021),d=g.set,y=g.getterFor;t.exports={getConstructor:function(t,r,e,f){var l=t((function(t,o){u(t,h),d(t,{type:r,index:n(null),first:void 0,last:void 0,size:0}),p||(t.size=0),s(o)||c(o,t[f],{that:t,AS_ENTRIES:e})})),h=l.prototype,g=y(r),b=function(t,r,e){var n,o,a=g(t),i=m(t,r);return i?i.value=e:(a.last=i={index:o=v(r,!0),key:r,value:e,previous:n=a.last,next:void 0,removed:!1},a.first||(a.first=i),n&&(n.next=i),p?a.size++:t.size++,"F"!==o&&(a.index[o]=i)),t},m=function(t,r){var e,n=g(t),o=v(r);if("F"!==o)return n.index[o];for(e=n.first;e;e=e.next)if(e.key===r)return e};return a(h,{clear:function(){for(var t=g(this),r=t.index,e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=void 0),delete r[e.index],e=e.next;t.first=t.last=void 0,p?t.size=0:this.size=0},delete:function(t){var r=this,e=g(r),n=m(r,t);if(n){var o=n.next,a=n.previous;delete e.index[n.index],n.removed=!0,a&&(a.next=o),o&&(o.previous=a),e.first===n&&(e.first=o),e.last===n&&(e.last=a),p?e.size--:r.size--}return!!n},forEach:function(t){for(var r,e=g(this),n=i(t,arguments.length>1?arguments[1]:void 0);r=r?r.next:e.first;)for(n(r.value,r.key,this);r&&r.removed;)r=r.previous},has:function(t){return!!m(this,t)}}),a(h,e?{get:function(t){var r=m(this,t);return r&&r.value},set:function(t,r){return b(this,0===t?0:t,r)}}:{add:function(t){return b(this,t=0===t?0:t,t)}}),p&&o(h,"size",{configurable:!0,get:function(){return g(this).size}}),l},setStrong:function(t,r,e){var n=r+" Iterator",o=y(r),a=y(n);f(t,r,(function(t,r){d(this,{type:n,target:t,state:o(t),kind:r,last:void 0})}),(function(){for(var t=a(this),r=t.kind,e=t.last;e&&e.removed;)e=e.previous;return t.target&&(t.last=e=e?e.next:t.state.first)?l("keys"===r?e.key:"values"===r?e.value:[e.key,e.value],!1):(t.target=void 0,l(void 0,!0))}),e?"entries":"values",!e,!0),h(r)}}},32744:(t,r,e)=>{var n=e(51916),o=e(28278),a=e(43792).getWeakData,i=e(75209),u=e(93536),s=e(76623),c=e(76913),f=e(55103),l=e(1569),h=e(33225),p=e(60021),v=p.set,g=p.getterFor,d=l.find,y=l.findIndex,b=n([].splice),m=0,x=function(t){return t.frozen||(t.frozen=new w)},w=function(){this.entries=[]},E=function(t,r){return d(t.entries,(function(t){return t[0]===r}))};w.prototype={get:function(t){var r=E(this,t);if(r)return r[1]},has:function(t){return!!E(this,t)},set:function(t,r){var e=E(this,t);e?e[1]=r:this.entries.push([t,r])},delete:function(t){var r=y(this.entries,(function(r){return r[0]===t}));return~r&&b(this.entries,r,1),!!~r}},t.exports={getConstructor:function(t,r,e,n){var l=t((function(t,o){i(t,p),v(t,{type:r,id:m++,frozen:void 0}),s(o)||f(o,t[n],{that:t,AS_ENTRIES:e})})),p=l.prototype,d=g(r),y=function(t,r,e){var n=d(t),o=a(u(r),!0);return!0===o?x(n).set(r,e):o[n.id]=e,t};return o(p,{delete:function(t){var r=d(this);if(!c(t))return!1;var e=a(t);return!0===e?x(r).delete(t):e&&h(e,r.id)&&delete e[r.id]},has:function(t){var r=d(this);if(!c(t))return!1;var e=a(t);return!0===e?x(r).has(t):e&&h(e,r.id)}}),o(p,e?{get:function(t){var r=d(this);if(c(t)){var e=a(t);return!0===e?x(r).get(t):e?e[r.id]:void 0}},set:function(t,r){return y(this,t,r)}}:{add:function(t){return y(this,t,!0)}}),l}}},35003:(t,r,e)=>{var n=e(15302),o=e(77230),a=e(51916),i=e(94545),u=e(46272),s=e(43792),c=e(55103),f=e(75209),l=e(933),h=e(76623),p=e(76913),v=e(53694),g=e(31964),d=e(5411),y=e(68089);t.exports=function(t,r,e){var b=-1!==t.indexOf("Map"),m=-1!==t.indexOf("Weak"),x=b?"set":"add",w=o[t],E=w&&w.prototype,A=w,S={},O=function(t){var r=a(E[t]);u(E,t,"add"===t?function(t){return r(this,0===t?0:t),this}:"delete"===t?function(t){return!(m&&!p(t))&&r(this,0===t?0:t)}:"get"===t?function(t){return m&&!p(t)?void 0:r(this,0===t?0:t)}:"has"===t?function(t){return!(m&&!p(t))&&r(this,0===t?0:t)}:function(t,e){return r(this,0===t?0:t,e),this})};if(i(t,!l(w)||!(m||E.forEach&&!v((function(){(new w).entries().next()})))))A=e.getConstructor(r,t,b,x),s.enable();else if(i(t,!0)){var R=new A,T=R[x](m?{}:-0,1)!==R,I=v((function(){R.has(1)})),M=g((function(t){new w(t)})),k=!m&&v((function(){for(var t=new w,r=5;r--;)t[x](r,r);return!t.has(-0)}));M||((A=r((function(t,r){f(t,E);var e=y(new w,t,A);return h(r)||c(r,e[x],{that:e,AS_ENTRIES:b}),e}))).prototype=E,E.constructor=A),(I||k)&&(O("delete"),O("has"),b&&O("get")),(k||T)&&O(x),m&&E.clear&&delete E.clear}return S[t]=A,n({global:!0,constructor:!0,forced:A!==w},S),d(A,t),m||e.setStrong(A,t,b),A}},21831:(t,r,e)=>{var n=e(33225),o=e(3697),a=e(55027),i=e(47108);t.exports=function(t,r,e){for(var u=o(r),s=i.f,c=a.f,f=0;f<u.length;f++){var l=u[f];n(t,l)||e&&n(e,l)||s(t,l,c(r,l))}}},80937:(t,r,e)=>{var n=e(97952)("match");t.exports=function(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[n]=!1,"/./"[t](r)}catch(t){}}return!1}},30560:(t,r,e)=>{var n=e(53694);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},50328:(t,r,e)=>{var n=e(51916),o=e(57105),a=e(99851),i=/"/g,u=n("".replace);t.exports=function(t,r,e,n){var s=a(o(t)),c="<"+r;return""!==e&&(c+=" "+e+'="'+u(a(n),i,"&quot;")+'"'),c+">"+s+"</"+r+">"}},47822:t=>{t.exports=function(t,r){return{value:t,done:r}}},5399:(t,r,e)=>{var n=e(26079),o=e(47108),a=e(88828);t.exports=n?function(t,r,e){return o.f(t,r,a(1,e))}:function(t,r,e){return t[r]=e,t}},88828:t=>{t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},93859:(t,r,e)=>{var n=e(65831),o=e(47108),a=e(88828);t.exports=function(t,r,e){var i=n(r);i in t?o.f(t,i,a(0,e)):t[i]=e}},38948:(t,r,e)=>{var n=e(51916),o=e(53694),a=e(21984).start,i=RangeError,u=isFinite,s=Math.abs,c=Date.prototype,f=c.toISOString,l=n(c.getTime),h=n(c.getUTCDate),p=n(c.getUTCFullYear),v=n(c.getUTCHours),g=n(c.getUTCMilliseconds),d=n(c.getUTCMinutes),y=n(c.getUTCMonth),b=n(c.getUTCSeconds);t.exports=o((function(){return"0385-07-25T07:06:39.999Z"!==f.call(new Date(-50000000000001))}))||!o((function(){f.call(new Date(NaN))}))?function(){if(!u(l(this)))throw i("Invalid time value");var t=this,r=p(t),e=g(t),n=r<0?"-":r>9999?"+":"";return n+a(s(r),n?6:4,0)+"-"+a(y(t)+1,2,0)+"-"+a(h(t),2,0)+"T"+a(v(t),2,0)+":"+a(d(t),2,0)+":"+a(b(t),2,0)+"."+a(e,3,0)+"Z"}:f},58243:(t,r,e)=>{var n=e(93536),o=e(57013),a=TypeError;t.exports=function(t){if(n(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw a("Incorrect hint");return o(this,t)}},11331:(t,r,e)=>{var n=e(3202),o=e(47108);t.exports=function(t,r,e){return e.get&&n(e.get,r,{getter:!0}),e.set&&n(e.set,r,{setter:!0}),o.f(t,r,e)}},46272:(t,r,e)=>{var n=e(933),o=e(47108),a=e(3202),i=e(56e3);t.exports=function(t,r,e,u){u||(u={});var s=u.enumerable,c=void 0!==u.name?u.name:r;if(n(e)&&a(e,c,u),u.global)s?t[r]=e:i(r,e);else{try{u.unsafe?t[r]&&(s=!0):delete t[r]}catch(t){}s?t[r]=e:o.f(t,r,{value:e,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return t}},28278:(t,r,e)=>{var n=e(46272);t.exports=function(t,r,e){for(var o in r)n(t,o,r[o],e);return t}},56e3:(t,r,e)=>{var n=e(77230),o=Object.defineProperty;t.exports=function(t,r){try{o(n,t,{value:r,configurable:!0,writable:!0})}catch(e){n[t]=r}return r}},17444:(t,r,e)=>{var n=e(70321),o=TypeError;t.exports=function(t,r){if(!delete t[r])throw o("Cannot delete property "+n(r)+" of "+n(t))}},26079:(t,r,e)=>{var n=e(53694);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},71110:t=>{var r="object"==typeof document&&document.all,e=void 0===r&&void 0!==r;t.exports={all:r,IS_HTMLDDA:e}},72200:(t,r,e)=>{var n=e(77230),o=e(76913),a=n.document,i=o(a)&&o(a.createElement);t.exports=function(t){return i?a.createElement(t):{}}},30924:t=>{var r=TypeError;t.exports=function(t){if(t>9007199254740991)throw r("Maximum allowed index exceeded");return t}},5231:t=>{t.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},95941:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},3050:(t,r,e)=>{var n=e(72200)("span").classList,o=n&&n.constructor&&n.constructor.prototype;t.exports=o===Object.prototype?void 0:o},41346:(t,r,e)=>{var n=e(77749).match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]},10417:(t,r,e)=>{var n=e(75406),o=e(95009);t.exports=!n&&!o&&"object"==typeof window&&"object"==typeof document},8061:t=>{t.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},75406:t=>{t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},17636:(t,r,e)=>{var n=e(77749);t.exports=/MSIE|Trident/.test(n)},74370:(t,r,e)=>{var n=e(77749);t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},54619:(t,r,e)=>{var n=e(77749);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},95009:(t,r,e)=>{var n=e(77230),o=e(92248);t.exports="process"===o(n.process)},92811:(t,r,e)=>{var n=e(77749);t.exports=/web0s(?!.*chrome)/i.test(n)},77749:t=>{t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},67806:(t,r,e)=>{var n,o,a=e(77230),i=e(77749),u=a.process,s=a.Deno,c=u&&u.versions||s&&s.version,f=c&&c.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&i&&(!(n=i.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=i.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},47041:(t,r,e)=>{var n=e(77749).match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]},57410:(t,r,e)=>{var n=e(77230);t.exports=function(t){return n[t].prototype}},59799:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2416:(t,r,e)=>{var n=e(51916),o=Error,a=n("".replace),i=String(o("zxcasd").stack),u=/\n\s*at [^:]*:[^\n]*/,s=u.test(i);t.exports=function(t,r){if(s&&"string"==typeof t&&!o.prepareStackTrace)for(;r--;)t=a(t,u,"");return t}},73712:(t,r,e)=>{var n=e(5399),o=e(2416),a=e(90302),i=Error.captureStackTrace;t.exports=function(t,r,e,u){a&&(i?i(t,r):n(t,"stack",o(e,u)))}},90302:(t,r,e)=>{var n=e(53694),o=e(88828);t.exports=!n((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},41525:(t,r,e)=>{var n=e(26079),o=e(53694),a=e(93536),i=e(76997),u=e(88792),s=Error.prototype.toString,c=o((function(){if(n){var t=i(Object.defineProperty({},"name",{get:function(){return this===t}}));if("true"!==s.call(t))return!0}return"2: 1"!==s.call({message:1,name:2})||"Error"!==s.call({})}));t.exports=c?function(){var t=a(this),r=u(t.name,"Error"),e=u(t.message);return r?e?r+": "+e:r:e}:s},15302:(t,r,e)=>{var n=e(77230),o=e(55027).f,a=e(5399),i=e(46272),u=e(56e3),s=e(21831),c=e(94545);t.exports=function(t,r){var e,f,l,h,p,v=t.target,g=t.global,d=t.stat;if(e=g?n:d?n[v]||u(v,{}):(n[v]||{}).prototype)for(f in r){if(h=r[f],l=t.dontCallGetSet?(p=o(e,f))&&p.value:e[f],!c(g?f:v+(d?".":"#")+f,t.forced)&&void 0!==l){if(typeof h==typeof l)continue;s(h,l)}(t.sham||l&&l.sham)&&a(h,"sham",!0),i(e,f,h,t)}}},53694:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},54430:(t,r,e)=>{e(35098);var n=e(58623),o=e(46272),a=e(39735),i=e(53694),u=e(97952),s=e(5399),c=u("species"),f=RegExp.prototype;t.exports=function(t,r,e,l){var h=u(t),p=!i((function(){var r={};return r[h]=function(){return 7},7!==""[t](r)})),v=p&&!i((function(){var r=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[c]=function(){return e},e.flags="",e[h]=/./[h]),e.exec=function(){return r=!0,null},e[h](""),!r}));if(!p||!v||e){var g=n(/./[h]),d=r(h,""[t],(function(t,r,e,o,i){var u=n(t),s=r.exec;return s===a||s===f.exec?p&&!i?{done:!0,value:g(r,e,o)}:{done:!0,value:u(e,r,o)}:{done:!1}}));o(String.prototype,t,d[0]),o(f,h,d[1])}l&&s(f[h],"sham",!0)}},84364:(t,r,e)=>{var n=e(44893),o=e(71646),a=e(30924),i=e(81248),u=function(t,r,e,s,c,f,l,h){for(var p,v,g=c,d=0,y=!!l&&i(l,h);d<s;)d in e&&(p=y?y(e[d],d,r):e[d],f>0&&n(p)?(v=o(p),g=u(t,r,p,v,g,f-1)-1):(a(g+1),t[g]=p),g++),d++;return g};t.exports=u},52913:(t,r,e)=>{var n=e(53694);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},10251:(t,r,e)=>{var n=e(20592),o=Function.prototype,a=o.apply,i=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?i.bind(a):function(){return i.apply(a,arguments)})},81248:(t,r,e)=>{var n=e(58623),o=e(93200),a=e(20592),i=n(n.bind);t.exports=function(t,r){return o(t),void 0===r?t:a?i(t,r):function(){return t.apply(r,arguments)}}},20592:(t,r,e)=>{var n=e(53694);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},24418:(t,r,e)=>{var n=e(51916),o=e(93200),a=e(76913),i=e(33225),u=e(69663),s=e(20592),c=Function,f=n([].concat),l=n([].join),h={};t.exports=s?c.bind:function(t){var r=o(this),e=r.prototype,n=u(arguments,1),s=function(){var e=f(n,u(arguments));return this instanceof s?function(t,r,e){if(!i(h,r)){for(var n=[],o=0;o<r;o++)n[o]="a["+o+"]";h[r]=c("C,a","return new C("+l(n,",")+")")}return h[r](t,e)}(r,e.length,e):r.apply(t,e)};return a(e)&&(s.prototype=e),s}},44225:(t,r,e)=>{var n=e(20592),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},20567:(t,r,e)=>{var n=e(26079),o=e(33225),a=Function.prototype,i=n&&Object.getOwnPropertyDescriptor,u=o(a,"name"),s=u&&"something"===function(){}.name,c=u&&(!n||n&&i(a,"name").configurable);t.exports={EXISTS:u,PROPER:s,CONFIGURABLE:c}},6073:(t,r,e)=>{var n=e(51916),o=e(93200);t.exports=function(t,r,e){try{return n(o(Object.getOwnPropertyDescriptor(t,r)[e]))}catch(t){}}},58623:(t,r,e)=>{var n=e(92248),o=e(51916);t.exports=function(t){if("Function"===n(t))return o(t)}},51916:(t,r,e)=>{var n=e(20592),o=Function.prototype,a=o.call,i=n&&o.bind.bind(a,a);t.exports=n?i:function(t){return function(){return a.apply(t,arguments)}}},71223:(t,r,e)=>{var n=e(77230),o=e(933);t.exports=function(t,r){return arguments.length<2?(e=n[t],o(e)?e:void 0):n[t]&&n[t][r];var e}},6418:(t,r,e)=>{var n=e(40996),o=e(95048),a=e(76623),i=e(63019),u=e(97952)("iterator");t.exports=function(t){if(!a(t))return o(t,u)||o(t,"@@iterator")||i[n(t)]}},99853:(t,r,e)=>{var n=e(44225),o=e(93200),a=e(93536),i=e(70321),u=e(6418),s=TypeError;t.exports=function(t,r){var e=arguments.length<2?u(t):r;if(o(e))return a(n(e,t));throw s(i(t)+" is not iterable")}},16189:(t,r,e)=>{var n=e(51916),o=e(44893),a=e(933),i=e(92248),u=e(99851),s=n([].push);t.exports=function(t){if(a(t))return t;if(o(t)){for(var r=t.length,e=[],n=0;n<r;n++){var c=t[n];"string"==typeof c?s(e,c):"number"!=typeof c&&"Number"!==i(c)&&"String"!==i(c)||s(e,u(c))}var f=e.length,l=!0;return function(t,r){if(l)return l=!1,r;if(o(this))return r;for(var n=0;n<f;n++)if(e[n]===t)return r}}}},95048:(t,r,e)=>{var n=e(93200),o=e(76623);t.exports=function(t,r){var e=t[r];return o(e)?void 0:n(e)}},66968:(t,r,e)=>{var n=e(51916),o=e(20987),a=Math.floor,i=n("".charAt),u=n("".replace),s=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,r,e,n,l,h){var p=e+t.length,v=n.length,g=f;return void 0!==l&&(l=o(l),g=c),u(h,g,(function(o,u){var c;switch(i(u,0)){case"$":return"$";case"&":return t;case"`":return s(r,0,e);case"'":return s(r,p);case"<":c=l[s(u,1,-1)];break;default:var f=+u;if(0===f)return o;if(f>v){var h=a(f/10);return 0===h?o:h<=v?void 0===n[h-1]?i(u,1):n[h-1]+i(u,1):o}c=n[f-1]}return void 0===c?"":c}))}},77230:function(t,r,e){var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e.g&&e.g)||function(){return this}()||this||Function("return this")()},33225:(t,r,e)=>{var n=e(51916),o=e(20987),a=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return a(o(t),r)}},97076:t=>{t.exports={}},55812:t=>{t.exports=function(t,r){try{1===arguments.length?console.error(t):console.error(t,r)}catch(t){}}},76507:(t,r,e)=>{var n=e(71223);t.exports=n("document","documentElement")},44253:(t,r,e)=>{var n=e(26079),o=e(53694),a=e(72200);t.exports=!n&&!o((function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},37419:(t,r,e)=>{var n=e(58007),o=e(33194),a=Array,i=Math.abs,u=Math.pow,s=Math.floor,c=Math.log,f=Math.LN2,l=function(t){var r=o(t),e=i(t-r);return e>.5||.5===e&&r%2!=0?r+n(t):r};t.exports={pack:function(t,r,e){var n,o,h,p=a(e),v=8*e-r-1,g=(1<<v)-1,d=g>>1,y=23===r?u(2,-24)-u(2,-77):0,b=t<0||0===t&&1/t<0?1:0,m=0;for((t=i(t))!=t||t===1/0?(o=t!=t?1:0,n=g):(n=s(c(t)/f),t*(h=u(2,-n))<1&&(n--,h*=2),(t+=n+d>=1?y/h:y*u(2,1-d))*h>=2&&(n++,h/=2),n+d>=g?(o=0,n=g):n+d>=1?(o=l((t*h-1)*u(2,r)),n+=d):(o=l(t*u(2,d-1)*u(2,r)),n=0));r>=8;)p[m++]=255&o,o/=256,r-=8;for(n=n<<r|o,v+=r;v>0;)p[m++]=255&n,n/=256,v-=8;return p[--m]|=128*b,p},unpack:function(t,r){var e,n=t.length,o=8*n-r-1,a=(1<<o)-1,i=a>>1,s=o-7,c=n-1,f=t[c--],l=127&f;for(f>>=7;s>0;)l=256*l+t[c--],s-=8;for(e=l&(1<<-s)-1,l>>=-s,s+=r;s>0;)e=256*e+t[c--],s-=8;if(0===l)l=1-i;else{if(l===a)return e?NaN:f?-1/0:1/0;e+=u(2,r),l-=i}return(f?-1:1)*e*u(2,l-r)}}},6801:(t,r,e)=>{var n=e(51916),o=e(53694),a=e(92248),i=Object,u=n("".split);t.exports=o((function(){return!i("z").propertyIsEnumerable(0)}))?function(t){return"String"===a(t)?u(t,""):i(t)}:i},68089:(t,r,e)=>{var n=e(933),o=e(76913),a=e(91403);t.exports=function(t,r,e){var i,u;return a&&n(i=r.constructor)&&i!==e&&o(u=i.prototype)&&u!==e.prototype&&a(t,u),t}},24335:(t,r,e)=>{var n=e(51916),o=e(933),a=e(1393),i=n(Function.toString);o(a.inspectSource)||(a.inspectSource=function(t){return i(t)}),t.exports=a.inspectSource},10863:(t,r,e)=>{var n=e(76913),o=e(5399);t.exports=function(t,r){n(r)&&"cause"in r&&o(t,"cause",r.cause)}},43792:(t,r,e)=>{var n=e(15302),o=e(51916),a=e(97076),i=e(76913),u=e(33225),s=e(47108).f,c=e(67852),f=e(43959),l=e(10067),h=e(14525),p=e(52913),v=!1,g=h("meta"),d=0,y=function(t){s(t,g,{value:{objectID:"O"+d++,weakData:{}}})},b=t.exports={enable:function(){b.enable=function(){},v=!0;var t=c.f,r=o([].splice),e={};e[g]=1,t(e).length&&(c.f=function(e){for(var n=t(e),o=0,a=n.length;o<a;o++)if(n[o]===g){r(n,o,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(t,r){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!u(t,g)){if(!l(t))return"F";if(!r)return"E";y(t)}return t[g].objectID},getWeakData:function(t,r){if(!u(t,g)){if(!l(t))return!0;if(!r)return!1;y(t)}return t[g].weakData},onFreeze:function(t){return p&&v&&l(t)&&!u(t,g)&&y(t),t}};a[g]=!0},60021:(t,r,e)=>{var n,o,a,i=e(86934),u=e(77230),s=e(76913),c=e(5399),f=e(33225),l=e(1393),h=e(375),p=e(97076),v="Object already initialized",g=u.TypeError,d=u.WeakMap;if(i||l.state){var y=l.state||(l.state=new d);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,r){if(y.has(t))throw g(v);return r.facade=t,y.set(t,r),r},o=function(t){return y.get(t)||{}},a=function(t){return y.has(t)}}else{var b=h("state");p[b]=!0,n=function(t,r){if(f(t,b))throw g(v);return r.facade=t,c(t,b,r),r},o=function(t){return f(t,b)?t[b]:{}},a=function(t){return f(t,b)}}t.exports={set:n,get:o,has:a,enforce:function(t){return a(t)?o(t):n(t,{})},getterFor:function(t){return function(r){var e;if(!s(r)||(e=o(r)).type!==t)throw g("Incompatible receiver, "+t+" required");return e}}}},61855:(t,r,e)=>{var n=e(97952),o=e(63019),a=n("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||i[a]===t)}},44893:(t,r,e)=>{var n=e(92248);t.exports=Array.isArray||function(t){return"Array"===n(t)}},45168:(t,r,e)=>{var n=e(40996);t.exports=function(t){var r=n(t);return"BigInt64Array"===r||"BigUint64Array"===r}},933:(t,r,e)=>{var n=e(71110),o=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},53538:(t,r,e)=>{var n=e(51916),o=e(53694),a=e(933),i=e(40996),u=e(71223),s=e(24335),c=function(){},f=[],l=u("Reflect","construct"),h=/^\s*(?:class|function)\b/,p=n(h.exec),v=!h.exec(c),g=function(t){if(!a(t))return!1;try{return l(c,f,t),!0}catch(t){return!1}},d=function(t){if(!a(t))return!1;switch(i(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v||!!p(h,s(t))}catch(t){return!0}};d.sham=!0,t.exports=!l||o((function(){var t;return g(g.call)||!g(Object)||!g((function(){t=!0}))||t}))?d:g},89611:(t,r,e)=>{var n=e(33225);t.exports=function(t){return void 0!==t&&(n(t,"value")||n(t,"writable"))}},94545:(t,r,e)=>{var n=e(53694),o=e(933),a=/#|\.prototype\./,i=function(t,r){var e=s[u(t)];return e===f||e!==c&&(o(r)?n(r):!!r)},u=i.normalize=function(t){return String(t).replace(a,".").toLowerCase()},s=i.data={},c=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},62604:(t,r,e)=>{var n=e(76913),o=Math.floor;t.exports=Number.isInteger||function(t){return!n(t)&&isFinite(t)&&o(t)===t}},76623:t=>{t.exports=function(t){return null==t}},76913:(t,r,e)=>{var n=e(933),o=e(71110),a=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===a}:function(t){return"object"==typeof t?null!==t:n(t)}},57442:t=>{t.exports=!1},70385:(t,r,e)=>{var n=e(76913),o=e(92248),a=e(97952)("match");t.exports=function(t){var r;return n(t)&&(void 0!==(r=t[a])?!!r:"RegExp"===o(t))}},77581:(t,r,e)=>{var n=e(71223),o=e(933),a=e(62346),i=e(29264),u=Object;t.exports=i?function(t){return"symbol"==typeof t}:function(t){var r=n("Symbol");return o(r)&&a(r.prototype,u(t))}},55103:(t,r,e)=>{var n=e(81248),o=e(44225),a=e(93536),i=e(70321),u=e(61855),s=e(71646),c=e(62346),f=e(99853),l=e(6418),h=e(25635),p=TypeError,v=function(t,r){this.stopped=t,this.result=r},g=v.prototype;t.exports=function(t,r,e){var d,y,b,m,x,w,E,A=e&&e.that,S=!(!e||!e.AS_ENTRIES),O=!(!e||!e.IS_RECORD),R=!(!e||!e.IS_ITERATOR),T=!(!e||!e.INTERRUPTED),I=n(r,A),M=function(t){return d&&h(d,"normal",t),new v(!0,t)},k=function(t){return S?(a(t),T?I(t[0],t[1],M):I(t[0],t[1])):T?I(t,M):I(t)};if(O)d=t.iterator;else if(R)d=t;else{if(!(y=l(t)))throw p(i(t)+" is not iterable");if(u(y)){for(b=0,m=s(t);m>b;b++)if((x=k(t[b]))&&c(g,x))return x;return new v(!1)}d=f(t,y)}for(w=O?t.next:d.next;!(E=o(w,d)).done;){try{x=k(E.value)}catch(t){h(d,"throw",t)}if("object"==typeof x&&x&&c(g,x))return x}return new v(!1)}},25635:(t,r,e)=>{var n=e(44225),o=e(93536),a=e(95048);t.exports=function(t,r,e){var i,u;o(t);try{if(!(i=a(t,"return"))){if("throw"===r)throw e;return e}i=n(i,t)}catch(t){u=!0,i=t}if("throw"===r)throw e;if(u)throw i;return o(i),e}},13718:(t,r,e)=>{var n=e(47824).IteratorPrototype,o=e(76997),a=e(88828),i=e(5411),u=e(63019),s=function(){return this};t.exports=function(t,r,e,c){var f=r+" Iterator";return t.prototype=o(n,{next:a(+!c,e)}),i(t,f,!1,!0),u[f]=s,t}},62061:(t,r,e)=>{var n=e(15302),o=e(44225),a=e(57442),i=e(20567),u=e(933),s=e(13718),c=e(65024),f=e(91403),l=e(5411),h=e(5399),p=e(46272),v=e(97952),g=e(63019),d=e(47824),y=i.PROPER,b=i.CONFIGURABLE,m=d.IteratorPrototype,x=d.BUGGY_SAFARI_ITERATORS,w=v("iterator"),E="keys",A="values",S="entries",O=function(){return this};t.exports=function(t,r,e,i,v,d,R){s(e,r,i);var T,I,M,k=function(t){if(t===v&&N)return N;if(!x&&t in C)return C[t];switch(t){case E:case A:case S:return function(){return new e(this,t)}}return function(){return new e(this)}},P=r+" Iterator",j=!1,C=t.prototype,L=C[w]||C["@@iterator"]||v&&C[v],N=!x&&L||k(v),U="Array"===r&&C.entries||L;if(U&&(T=c(U.call(new t)))!==Object.prototype&&T.next&&(a||c(T)===m||(f?f(T,m):u(T[w])||p(T,w,O)),l(T,P,!0,!0),a&&(g[P]=O)),y&&v===A&&L&&L.name!==A&&(!a&&b?h(C,"name",A):(j=!0,N=function(){return o(L,this)})),v)if(I={values:k(A),keys:d?N:k(E),entries:k(S)},R)for(M in I)(x||j||!(M in C))&&p(C,M,I[M]);else n({target:r,proto:!0,forced:x||j},I);return a&&!R||C[w]===N||p(C,w,N,{name:v}),g[r]=N,I}},47824:(t,r,e)=>{var n,o,a,i=e(53694),u=e(933),s=e(76913),c=e(76997),f=e(65024),l=e(46272),h=e(97952),p=e(57442),v=h("iterator"),g=!1;[].keys&&("next"in(a=[].keys())?(o=f(f(a)))!==Object.prototype&&(n=o):g=!0),!s(n)||i((function(){var t={};return n[v].call(t)!==t}))?n={}:p&&(n=c(n)),u(n[v])||l(n,v,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},63019:t=>{t.exports={}},71646:(t,r,e)=>{var n=e(96092);t.exports=function(t){return n(t.length)}},3202:(t,r,e)=>{var n=e(51916),o=e(53694),a=e(933),i=e(33225),u=e(26079),s=e(20567).CONFIGURABLE,c=e(24335),f=e(60021),l=f.enforce,h=f.get,p=String,v=Object.defineProperty,g=n("".slice),d=n("".replace),y=n([].join),b=u&&!o((function(){return 8!==v((function(){}),"length",{value:8}).length})),m=String(String).split("String"),x=t.exports=function(t,r,e){"Symbol("===g(p(r),0,7)&&(r="["+d(p(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!i(t,"name")||s&&t.name!==r)&&(u?v(t,"name",{value:r,configurable:!0}):t.name=r),b&&e&&i(e,"arity")&&t.length!==e.arity&&v(t,"length",{value:e.arity});try{e&&i(e,"constructor")&&e.constructor?u&&v(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=l(t);return i(n,"source")||(n.source=y(m,"string"==typeof r?r:"")),t};Function.prototype.toString=x((function(){return a(this)&&h(this).source||c(this)}),"toString")},87924:(t,r,e)=>{var n=e(51916),o=Map.prototype;t.exports={Map,set:n(o.set),get:n(o.get),has:n(o.has),remove:n(o.delete),proto:o}},68187:t=>{var r=Math.expm1,e=Math.exp;t.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||-2e-17!==r(-2e-17)?function(t){var r=+t;return 0===r?r:r>-1e-6&&r<1e-6?r+r*r/2:e(r)-1}:r},3564:(t,r,e)=>{var n=e(58007),o=Math.abs,a=Math.pow,i=a(2,-52),u=a(2,-23),s=a(2,127)*(2-u),c=a(2,-126);t.exports=Math.fround||function(t){var r,e,a=+t,f=o(a),l=n(a);return f<c?l*function(t){return t+1/i-1/i}(f/c/u)*c*u:(e=(r=(1+u/i)*f)-(r-f))>s||e!=e?l*(1/0):l*e}},90424:t=>{var r=Math.log,e=Math.LOG10E;t.exports=Math.log10||function(t){return r(t)*e}},99636:t=>{var r=Math.log;t.exports=Math.log1p||function(t){var e=+t;return e>-1e-8&&e<1e-8?e-e*e/2:r(1+e)}},58007:t=>{t.exports=Math.sign||function(t){var r=+t;return 0===r||r!=r?r:r<0?-1:1}},33194:t=>{var r=Math.ceil,e=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?e:r)(n)}},43012:(t,r,e)=>{var n,o,a,i,u,s=e(77230),c=e(81248),f=e(55027).f,l=e(17823).set,h=e(5818),p=e(54619),v=e(74370),g=e(92811),d=e(95009),y=s.MutationObserver||s.WebKitMutationObserver,b=s.document,m=s.process,x=s.Promise,w=f(s,"queueMicrotask"),E=w&&w.value;if(!E){var A=new h,S=function(){var t,r;for(d&&(t=m.domain)&&t.exit();r=A.get();)try{r()}catch(t){throw A.head&&n(),t}t&&t.enter()};p||d||g||!y||!b?!v&&x&&x.resolve?((i=x.resolve(void 0)).constructor=x,u=c(i.then,i),n=function(){u(S)}):d?n=function(){m.nextTick(S)}:(l=c(l,s),n=function(){l(S)}):(o=!0,a=b.createTextNode(""),new y(S).observe(a,{characterData:!0}),n=function(){a.data=o=!o}),E=function(t){A.head||n(),A.add(t)}}t.exports=E},36935:(t,r,e)=>{var n=e(93200),o=TypeError,a=function(t){var r,e;this.promise=new t((function(t,n){if(void 0!==r||void 0!==e)throw o("Bad Promise constructor");r=t,e=n})),this.resolve=n(r),this.reject=n(e)};t.exports.f=function(t){return new a(t)}},88792:(t,r,e)=>{var n=e(99851);t.exports=function(t,r){return void 0===t?arguments.length<2?"":r:n(t)}},56487:(t,r,e)=>{var n=e(70385),o=TypeError;t.exports=function(t){if(n(t))throw o("The method doesn't accept regular expressions");return t}},81791:(t,r,e)=>{var n=e(77230).isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&n(t)}},54530:(t,r,e)=>{var n=e(77230),o=e(53694),a=e(51916),i=e(99851),u=e(17011).trim,s=e(13392),c=a("".charAt),f=n.parseFloat,l=n.Symbol,h=l&&l.iterator,p=1/f(s+"-0")!=-1/0||h&&!o((function(){f(Object(h))}));t.exports=p?function(t){var r=u(i(t)),e=f(r);return 0===e&&"-"===c(r,0)?-0:e}:f},47309:(t,r,e)=>{var n=e(77230),o=e(53694),a=e(51916),i=e(99851),u=e(17011).trim,s=e(13392),c=n.parseInt,f=n.Symbol,l=f&&f.iterator,h=/^[+-]?0x/i,p=a(h.exec),v=8!==c(s+"08")||22!==c(s+"0x16")||l&&!o((function(){c(Object(l))}));t.exports=v?function(t,r){var e=u(i(t));return c(e,r>>>0||(p(h,e)?16:10))}:c},65016:(t,r,e)=>{var n=e(26079),o=e(51916),a=e(44225),i=e(53694),u=e(86127),s=e(7375),c=e(25486),f=e(20987),l=e(6801),h=Object.assign,p=Object.defineProperty,v=o([].concat);t.exports=!h||i((function(){if(n&&1!==h({b:1},h(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},r={},e=Symbol("assign detection"),o="abcdefghijklmnopqrst";return t[e]=7,o.split("").forEach((function(t){r[t]=t})),7!==h({},t)[e]||u(h({},r)).join("")!==o}))?function(t,r){for(var e=f(t),o=arguments.length,i=1,h=s.f,p=c.f;o>i;)for(var g,d=l(arguments[i++]),y=h?v(u(d),h(d)):u(d),b=y.length,m=0;b>m;)g=y[m++],n&&!a(p,d,g)||(e[g]=d[g]);return e}:h},76997:(t,r,e)=>{var n,o=e(93536),a=e(27673),i=e(59799),u=e(97076),s=e(76507),c=e(72200),f=e(375),l="prototype",h="script",p=f("IE_PROTO"),v=function(){},g=function(t){return"<"+h+">"+t+"</"+h+">"},d=function(t){t.write(g("")),t.close();var r=t.parentWindow.Object;return t=null,r},y=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,r,e;y="undefined"!=typeof document?document.domain&&n?d(n):(r=c("iframe"),e="java"+h+":",r.style.display="none",s.appendChild(r),r.src=String(e),(t=r.contentWindow.document).open(),t.write(g("document.F=Object")),t.close(),t.F):d(n);for(var o=i.length;o--;)delete y[l][i[o]];return y()};u[p]=!0,t.exports=Object.create||function(t,r){var e;return null!==t?(v[l]=o(t),e=new v,v[l]=null,e[p]=t):e=y(),void 0===r?e:a.f(e,r)}},27673:(t,r,e)=>{var n=e(26079),o=e(83202),a=e(47108),i=e(93536),u=e(9164),s=e(86127);r.f=n&&!o?Object.defineProperties:function(t,r){i(t);for(var e,n=u(r),o=s(r),c=o.length,f=0;c>f;)a.f(t,e=o[f++],n[e]);return t}},47108:(t,r,e)=>{var n=e(26079),o=e(44253),a=e(83202),i=e(93536),u=e(65831),s=TypeError,c=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",h="configurable",p="writable";r.f=n?a?function(t,r,e){if(i(t),r=u(r),i(e),"function"==typeof t&&"prototype"===r&&"value"in e&&p in e&&!e[p]){var n=f(t,r);n&&n[p]&&(t[r]=e.value,e={configurable:h in e?e[h]:n[h],enumerable:l in e?e[l]:n[l],writable:!1})}return c(t,r,e)}:c:function(t,r,e){if(i(t),r=u(r),i(e),o)try{return c(t,r,e)}catch(t){}if("get"in e||"set"in e)throw s("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},55027:(t,r,e)=>{var n=e(26079),o=e(44225),a=e(25486),i=e(88828),u=e(9164),s=e(65831),c=e(33225),f=e(44253),l=Object.getOwnPropertyDescriptor;r.f=n?l:function(t,r){if(t=u(t),r=s(r),f)try{return l(t,r)}catch(t){}if(c(t,r))return i(!o(a.f,t,r),t[r])}},43959:(t,r,e)=>{var n=e(92248),o=e(9164),a=e(67852).f,i=e(70696),u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"Window"===n(t)?function(t){try{return a(t)}catch(t){return i(u)}}(t):a(o(t))}},67852:(t,r,e)=>{var n=e(63821),o=e(59799).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},7375:(t,r)=>{r.f=Object.getOwnPropertySymbols},65024:(t,r,e)=>{var n=e(33225),o=e(933),a=e(20987),i=e(375),u=e(30560),s=i("IE_PROTO"),c=Object,f=c.prototype;t.exports=u?c.getPrototypeOf:function(t){var r=a(t);if(n(r,s))return r[s];var e=r.constructor;return o(e)&&r instanceof e?e.prototype:r instanceof c?f:null}},10067:(t,r,e)=>{var n=e(53694),o=e(76913),a=e(92248),i=e(2162),u=Object.isExtensible,s=n((function(){u(1)}));t.exports=s||i?function(t){return!!o(t)&&(!i||"ArrayBuffer"!==a(t))&&(!u||u(t))}:u},62346:(t,r,e)=>{var n=e(51916);t.exports=n({}.isPrototypeOf)},63821:(t,r,e)=>{var n=e(51916),o=e(33225),a=e(9164),i=e(17945).indexOf,u=e(97076),s=n([].push);t.exports=function(t,r){var e,n=a(t),c=0,f=[];for(e in n)!o(u,e)&&o(n,e)&&s(f,e);for(;r.length>c;)o(n,e=r[c++])&&(~i(f,e)||s(f,e));return f}},86127:(t,r,e)=>{var n=e(63821),o=e(59799);t.exports=Object.keys||function(t){return n(t,o)}},25486:(t,r)=>{var e={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!e.call({1:2},1);r.f=o?function(t){var r=n(this,t);return!!r&&r.enumerable}:e},62563:(t,r,e)=>{var n=e(57442),o=e(77230),a=e(53694),i=e(47041);t.exports=n||!a((function(){if(!(i&&i<535)){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete o[t]}}))},91403:(t,r,e)=>{var n=e(6073),o=e(93536),a=e(98563);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=n(Object.prototype,"__proto__","set"))(e,[]),r=e instanceof Array}catch(t){}return function(e,n){return o(e),a(n),r?t(e,n):e.__proto__=n,e}}():void 0)},8821:(t,r,e)=>{var n=e(26079),o=e(53694),a=e(51916),i=e(65024),u=e(86127),s=e(9164),c=a(e(25486).f),f=a([].push),l=n&&o((function(){var t=Object.create(null);return t[2]=2,!c(t,2)})),h=function(t){return function(r){for(var e,o=s(r),a=u(o),h=l&&null===i(o),p=a.length,v=0,g=[];p>v;)e=a[v++],n&&!(h?e in o:c(o,e))||f(g,t?[e,o[e]]:o[e]);return g}};t.exports={entries:h(!0),values:h(!1)}},14168:(t,r,e)=>{var n=e(96695),o=e(40996);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},57013:(t,r,e)=>{var n=e(44225),o=e(933),a=e(76913),i=TypeError;t.exports=function(t,r){var e,u;if("string"===r&&o(e=t.toString)&&!a(u=n(e,t)))return u;if(o(e=t.valueOf)&&!a(u=n(e,t)))return u;if("string"!==r&&o(e=t.toString)&&!a(u=n(e,t)))return u;throw i("Can't convert object to primitive value")}},3697:(t,r,e)=>{var n=e(71223),o=e(51916),a=e(67852),i=e(7375),u=e(93536),s=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var r=a.f(u(t)),e=i.f;return e?s(r,e(t)):r}},25030:(t,r,e)=>{var n=e(77230);t.exports=n},37731:t=>{t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},13306:(t,r,e)=>{var n=e(77230),o=e(33657),a=e(933),i=e(94545),u=e(24335),s=e(97952),c=e(10417),f=e(75406),l=e(57442),h=e(67806),p=o&&o.prototype,v=s("species"),g=!1,d=a(n.PromiseRejectionEvent),y=i("Promise",(function(){var t=u(o),r=t!==String(o);if(!r&&66===h)return!0;if(l&&(!p.catch||!p.finally))return!0;if(!h||h<51||!/native code/.test(t)){var e=new o((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((e.constructor={})[v]=n,!(g=e.then((function(){}))instanceof n))return!0}return!r&&(c||f)&&!d}));t.exports={CONSTRUCTOR:y,REJECTION_EVENT:d,SUBCLASSING:g}},33657:(t,r,e)=>{var n=e(77230);t.exports=n.Promise},8888:(t,r,e)=>{var n=e(93536),o=e(76913),a=e(36935);t.exports=function(t,r){if(n(t),o(r)&&r.constructor===t)return r;var e=a.f(t);return(0,e.resolve)(r),e.promise}},43560:(t,r,e)=>{var n=e(33657),o=e(31964),a=e(13306).CONSTRUCTOR;t.exports=a||!o((function(t){n.all(t).then(void 0,(function(){}))}))},45300:(t,r,e)=>{var n=e(47108).f;t.exports=function(t,r,e){e in t||n(t,e,{configurable:!0,get:function(){return r[e]},set:function(t){r[e]=t}})}},5818:t=>{var r=function(){this.head=null,this.tail=null};r.prototype={add:function(t){var r={item:t,next:null},e=this.tail;e?e.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=r},55731:(t,r,e)=>{var n=e(44225),o=e(93536),a=e(933),i=e(92248),u=e(39735),s=TypeError;t.exports=function(t,r){var e=t.exec;if(a(e)){var c=n(e,t,r);return null!==c&&o(c),c}if("RegExp"===i(t))return n(u,t,r);throw s("RegExp#exec called on incompatible receiver")}},39735:(t,r,e)=>{var n,o,a=e(44225),i=e(51916),u=e(99851),s=e(88608),c=e(39154),f=e(33268),l=e(76997),h=e(60021).get,p=e(75021),v=e(92916),g=f("native-string-replace",String.prototype.replace),d=RegExp.prototype.exec,y=d,b=i("".charAt),m=i("".indexOf),x=i("".replace),w=i("".slice),E=(o=/b*/g,a(d,n=/a/,"a"),a(d,o,"a"),0!==n.lastIndex||0!==o.lastIndex),A=c.BROKEN_CARET,S=void 0!==/()??/.exec("")[1];(E||S||A||p||v)&&(y=function(t){var r,e,n,o,i,c,f,p=this,v=h(p),O=u(t),R=v.raw;if(R)return R.lastIndex=p.lastIndex,r=a(y,R,O),p.lastIndex=R.lastIndex,r;var T=v.groups,I=A&&p.sticky,M=a(s,p),k=p.source,P=0,j=O;if(I&&(M=x(M,"y",""),-1===m(M,"g")&&(M+="g"),j=w(O,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==b(O,p.lastIndex-1))&&(k="(?: "+k+")",j=" "+j,P++),e=new RegExp("^(?:"+k+")",M)),S&&(e=new RegExp("^"+k+"$(?!\\s)",M)),E&&(n=p.lastIndex),o=a(d,I?e:p,j),I?o?(o.input=w(o.input,P),o[0]=w(o[0],P),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:E&&o&&(p.lastIndex=p.global?o.index+o[0].length:n),S&&o&&o.length>1&&a(g,o[0],e,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&T)for(o.groups=c=l(null),i=0;i<T.length;i++)c[(f=T[i])[0]]=o[f[1]];return o}),t.exports=y},88608:(t,r,e)=>{var n=e(93536);t.exports=function(){var t=n(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r}},4688:(t,r,e)=>{var n=e(44225),o=e(33225),a=e(62346),i=e(88608),u=RegExp.prototype;t.exports=function(t){var r=t.flags;return void 0!==r||"flags"in u||o(t,"flags")||!a(u,t)?r:n(i,t)}},39154:(t,r,e)=>{var n=e(53694),o=e(77230).RegExp,a=n((function(){var t=o("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),i=a||n((function(){return!o("a","y").sticky})),u=a||n((function(){var t=o("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:u,MISSED_STICKY:i,UNSUPPORTED_Y:a}},75021:(t,r,e)=>{var n=e(53694),o=e(77230).RegExp;t.exports=n((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},92916:(t,r,e)=>{var n=e(53694),o=e(77230).RegExp;t.exports=n((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},57105:(t,r,e)=>{var n=e(76623),o=TypeError;t.exports=function(t){if(n(t))throw o("Can't call method on "+t);return t}},51262:t=>{t.exports=Object.is||function(t,r){return t===r?0!==t||1/t==1/r:t!=t&&r!=r}},71630:(t,r,e)=>{var n,o=e(77230),a=e(10251),i=e(933),u=e(8061),s=e(77749),c=e(69663),f=e(2234),l=o.Function,h=/MSIE .\./.test(s)||u&&((n=o.Bun.version.split(".")).length<3||"0"===n[0]&&(n[1]<3||"3"===n[1]&&"0"===n[2]));t.exports=function(t,r){var e=r?2:1;return h?function(n,o){var u=f(arguments.length,1)>e,s=i(n)?n:l(n),h=u?c(arguments,e):[],p=u?function(){a(s,this,h)}:s;return r?t(p,o):t(p)}:t}},28978:(t,r,e)=>{var n=e(51916),o=Set.prototype;t.exports={Set,add:n(o.add),has:n(o.has),remove:n(o.delete),proto:o}},26898:(t,r,e)=>{var n=e(71223),o=e(11331),a=e(97952),i=e(26079),u=a("species");t.exports=function(t){var r=n(t);i&&r&&!r[u]&&o(r,u,{configurable:!0,get:function(){return this}})}},5411:(t,r,e)=>{var n=e(47108).f,o=e(33225),a=e(97952)("toStringTag");t.exports=function(t,r,e){t&&!e&&(t=t.prototype),t&&!o(t,a)&&n(t,a,{configurable:!0,value:r})}},375:(t,r,e)=>{var n=e(33268),o=e(14525),a=n("keys");t.exports=function(t){return a[t]||(a[t]=o(t))}},1393:(t,r,e)=>{var n=e(77230),o=e(56e3),a="__core-js_shared__",i=n[a]||o(a,{});t.exports=i},33268:(t,r,e)=>{var n=e(57442),o=e(1393);(t.exports=function(t,r){return o[t]||(o[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.32.1",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.1/LICENSE",source:"https://github.com/zloirock/core-js"})},640:(t,r,e)=>{var n=e(93536),o=e(94831),a=e(76623),i=e(97952)("species");t.exports=function(t,r){var e,u=n(t).constructor;return void 0===u||a(e=n(u)[i])?r:o(e)}},34278:(t,r,e)=>{var n=e(53694);t.exports=function(t){return n((function(){var r=""[t]('"');return r!==r.toLowerCase()||r.split('"').length>3}))}},12370:(t,r,e)=>{var n=e(51916),o=e(84982),a=e(99851),i=e(57105),u=n("".charAt),s=n("".charCodeAt),c=n("".slice),f=function(t){return function(r,e){var n,f,l=a(i(r)),h=o(e),p=l.length;return h<0||h>=p?t?"":void 0:(n=s(l,h))<55296||n>56319||h+1===p||(f=s(l,h+1))<56320||f>57343?t?u(l,h):n:t?c(l,h,h+2):f-56320+(n-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},82374:(t,r,e)=>{var n=e(77749);t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},21984:(t,r,e)=>{var n=e(51916),o=e(96092),a=e(99851),i=e(97710),u=e(57105),s=n(i),c=n("".slice),f=Math.ceil,l=function(t){return function(r,e,n){var i,l,h=a(u(r)),p=o(e),v=h.length,g=void 0===n?" ":a(n);return p<=v||""===g?h:((l=s(g,f((i=p-v)/g.length))).length>i&&(l=c(l,0,i)),t?h+l:l+h)}};t.exports={start:l(!1),end:l(!0)}},47137:(t,r,e)=>{var n=e(51916),o=2147483647,a=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,u="Overflow: input needs wider integers to process",s=RangeError,c=n(i.exec),f=Math.floor,l=String.fromCharCode,h=n("".charCodeAt),p=n([].join),v=n([].push),g=n("".replace),d=n("".split),y=n("".toLowerCase),b=function(t){return t+22+75*(t<26)},m=function(t,r,e){var n=0;for(t=e?f(t/700):t>>1,t+=f(t/r);t>455;)t=f(t/35),n+=36;return f(n+36*t/(t+38))},x=function(t){var r=[];t=function(t){for(var r=[],e=0,n=t.length;e<n;){var o=h(t,e++);if(o>=55296&&o<=56319&&e<n){var a=h(t,e++);56320==(64512&a)?v(r,((1023&o)<<10)+(1023&a)+65536):(v(r,o),e--)}else v(r,o)}return r}(t);var e,n,a=t.length,i=128,c=0,g=72;for(e=0;e<t.length;e++)(n=t[e])<128&&v(r,l(n));var d=r.length,y=d;for(d&&v(r,"-");y<a;){var x=o;for(e=0;e<t.length;e++)(n=t[e])>=i&&n<x&&(x=n);var w=y+1;if(x-i>f((o-c)/w))throw s(u);for(c+=(x-i)*w,i=x,e=0;e<t.length;e++){if((n=t[e])<i&&++c>o)throw s(u);if(n===i){for(var E=c,A=36;;){var S=A<=g?1:A>=g+26?26:A-g;if(E<S)break;var O=E-S,R=36-S;v(r,l(b(S+O%R))),E=f(O/R),A+=36}v(r,l(b(E))),g=m(c,w,y===d),c=0,y++}}c++,i++}return p(r,"")};t.exports=function(t){var r,e,n=[],o=d(g(y(t),i,"."),".");for(r=0;r<o.length;r++)e=o[r],v(n,c(a,e)?"xn--"+x(e):e);return p(n,".")}},97710:(t,r,e)=>{var n=e(84982),o=e(99851),a=e(57105),i=RangeError;t.exports=function(t){var r=o(a(this)),e="",u=n(t);if(u<0||u===1/0)throw i("Wrong number of repetitions");for(;u>0;(u>>>=1)&&(r+=r))1&u&&(e+=r);return e}},30053:(t,r,e)=>{var n=e(17011).end,o=e(80511);t.exports=o("trimEnd")?function(){return n(this)}:"".trimEnd},80511:(t,r,e)=>{var n=e(20567).PROPER,o=e(53694),a=e(13392);t.exports=function(t){return o((function(){return!!a[t]()||"​᠎"!=="​᠎"[t]()||n&&a[t].name!==t}))}},38385:(t,r,e)=>{var n=e(17011).start,o=e(80511);t.exports=o("trimStart")?function(){return n(this)}:"".trimStart},17011:(t,r,e)=>{var n=e(51916),o=e(57105),a=e(99851),i=e(13392),u=n("".replace),s=RegExp("^["+i+"]+"),c=RegExp("(^|[^"+i+"])["+i+"]+$"),f=function(t){return function(r){var e=a(o(r));return 1&t&&(e=u(e,s,"")),2&t&&(e=u(e,c,"$1")),e}};t.exports={start:f(1),end:f(2),trim:f(3)}},38255:(t,r,e)=>{var n=e(77230),o=e(53694),a=e(67806),i=e(10417),u=e(75406),s=e(95009),c=n.structuredClone;t.exports=!!c&&!o((function(){if(u&&a>92||s&&a>94||i&&a>97)return!1;var t=new ArrayBuffer(8),r=c(t,{transfer:[t]});return 0!==t.byteLength||8!==r.byteLength}))},44146:(t,r,e)=>{var n=e(67806),o=e(53694),a=e(77230).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!a(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},88252:(t,r,e)=>{var n=e(44225),o=e(71223),a=e(97952),i=e(46272);t.exports=function(){var t=o("Symbol"),r=t&&t.prototype,e=r&&r.valueOf,u=a("toPrimitive");r&&!r[u]&&i(r,u,(function(t){return n(e,this)}),{arity:1})}},19063:(t,r,e)=>{var n=e(44146);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},17823:(t,r,e)=>{var n,o,a,i,u=e(77230),s=e(10251),c=e(81248),f=e(933),l=e(33225),h=e(53694),p=e(76507),v=e(69663),g=e(72200),d=e(2234),y=e(54619),b=e(95009),m=u.setImmediate,x=u.clearImmediate,w=u.process,E=u.Dispatch,A=u.Function,S=u.MessageChannel,O=u.String,R=0,T={},I="onreadystatechange";h((function(){n=u.location}));var M=function(t){if(l(T,t)){var r=T[t];delete T[t],r()}},k=function(t){return function(){M(t)}},P=function(t){M(t.data)},j=function(t){u.postMessage(O(t),n.protocol+"//"+n.host)};m&&x||(m=function(t){d(arguments.length,1);var r=f(t)?t:A(t),e=v(arguments,1);return T[++R]=function(){s(r,void 0,e)},o(R),R},x=function(t){delete T[t]},b?o=function(t){w.nextTick(k(t))}:E&&E.now?o=function(t){E.now(k(t))}:S&&!y?(i=(a=new S).port2,a.port1.onmessage=P,o=c(i.postMessage,i)):u.addEventListener&&f(u.postMessage)&&!u.importScripts&&n&&"file:"!==n.protocol&&!h(j)?(o=j,u.addEventListener("message",P,!1)):o=I in g("script")?function(t){p.appendChild(g("script"))[I]=function(){p.removeChild(this),M(t)}}:function(t){setTimeout(k(t),0)}),t.exports={set:m,clear:x}},47175:(t,r,e)=>{var n=e(51916);t.exports=n(1..valueOf)},62966:(t,r,e)=>{var n=e(84982),o=Math.max,a=Math.min;t.exports=function(t,r){var e=n(t);return e<0?o(e+r,0):a(e,r)}},9234:(t,r,e)=>{var n=e(65962),o=TypeError;t.exports=function(t){var r=n(t,"number");if("number"==typeof r)throw o("Can't convert number to bigint");return BigInt(r)}},64800:(t,r,e)=>{var n=e(84982),o=e(96092),a=RangeError;t.exports=function(t){if(void 0===t)return 0;var r=n(t),e=o(r);if(r!==e)throw a("Wrong length or index");return e}},9164:(t,r,e)=>{var n=e(6801),o=e(57105);t.exports=function(t){return n(o(t))}},84982:(t,r,e)=>{var n=e(33194);t.exports=function(t){var r=+t;return r!=r||0===r?0:n(r)}},96092:(t,r,e)=>{var n=e(84982),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},20987:(t,r,e)=>{var n=e(57105),o=Object;t.exports=function(t){return o(n(t))}},11302:(t,r,e)=>{var n=e(89643),o=RangeError;t.exports=function(t,r){var e=n(t);if(e%r)throw o("Wrong offset");return e}},89643:(t,r,e)=>{var n=e(84982),o=RangeError;t.exports=function(t){var r=n(t);if(r<0)throw o("The argument can't be less than 0");return r}},65962:(t,r,e)=>{var n=e(44225),o=e(76913),a=e(77581),i=e(95048),u=e(57013),s=e(97952),c=TypeError,f=s("toPrimitive");t.exports=function(t,r){if(!o(t)||a(t))return t;var e,s=i(t,f);if(s){if(void 0===r&&(r="default"),e=n(s,t,r),!o(e)||a(e))return e;throw c("Can't convert object to primitive value")}return void 0===r&&(r="number"),u(t,r)}},65831:(t,r,e)=>{var n=e(65962),o=e(77581);t.exports=function(t){var r=n(t,"string");return o(r)?r:r+""}},96695:(t,r,e)=>{var n={};n[e(97952)("toStringTag")]="z",t.exports="[object z]"===String(n)},99851:(t,r,e)=>{var n=e(40996),o=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},70582:t=>{var r=Math.round;t.exports=function(t){var e=r(t);return e<0?0:e>255?255:255&e}},93571:(t,r,e)=>{var n=e(95009);t.exports=function(t){try{if(n)return Function('return require("'+t+'")')()}catch(t){}}},70321:t=>{var r=String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},48298:(t,r,e)=>{var n=e(15302),o=e(77230),a=e(44225),i=e(26079),u=e(63462),s=e(67740),c=e(62292),f=e(75209),l=e(88828),h=e(5399),p=e(62604),v=e(96092),g=e(64800),d=e(11302),y=e(70582),b=e(65831),m=e(33225),x=e(40996),w=e(76913),E=e(77581),A=e(76997),S=e(62346),O=e(91403),R=e(67852).f,T=e(39740),I=e(1569).forEach,M=e(26898),k=e(11331),P=e(47108),j=e(55027),C=e(60021),L=e(68089),N=C.get,U=C.set,_=C.enforce,D=P.f,F=j.f,B=o.RangeError,z=c.ArrayBuffer,W=z.prototype,V=c.DataView,H=s.NATIVE_ARRAY_BUFFER_VIEWS,q=s.TYPED_ARRAY_TAG,G=s.TypedArray,Y=s.TypedArrayPrototype,$=s.aTypedArrayConstructor,K=s.isTypedArray,J="BYTES_PER_ELEMENT",X="Wrong length",Q=function(t,r){$(t);for(var e=0,n=r.length,o=new t(n);n>e;)o[e]=r[e++];return o},Z=function(t,r){k(t,r,{configurable:!0,get:function(){return N(this)[r]}})},tt=function(t){var r;return S(W,t)||"ArrayBuffer"===(r=x(t))||"SharedArrayBuffer"===r},rt=function(t,r){return K(t)&&!E(r)&&r in t&&p(+r)&&r>=0},et=function(t,r){return r=b(r),rt(t,r)?l(2,t[r]):F(t,r)},nt=function(t,r,e){return r=b(r),!(rt(t,r)&&w(e)&&m(e,"value"))||m(e,"get")||m(e,"set")||e.configurable||m(e,"writable")&&!e.writable||m(e,"enumerable")&&!e.enumerable?D(t,r,e):(t[r]=e.value,t)};i?(H||(j.f=et,P.f=nt,Z(Y,"buffer"),Z(Y,"byteOffset"),Z(Y,"byteLength"),Z(Y,"length")),n({target:"Object",stat:!0,forced:!H},{getOwnPropertyDescriptor:et,defineProperty:nt}),t.exports=function(t,r,e){var i=t.match(/\d+/)[0]/8,s=t+(e?"Clamped":"")+"Array",c="get"+t,l="set"+t,p=o[s],b=p,m=b&&b.prototype,x={},E=function(t,r){D(t,r,{get:function(){return function(t,r){var e=N(t);return e.view[c](r*i+e.byteOffset,!0)}(this,r)},set:function(t){return function(t,r,n){var o=N(t);o.view[l](r*i+o.byteOffset,e?y(n):n,!0)}(this,r,t)},enumerable:!0})};H?u&&(b=r((function(t,r,e,n){return f(t,m),L(w(r)?tt(r)?void 0!==n?new p(r,d(e,i),n):void 0!==e?new p(r,d(e,i)):new p(r):K(r)?Q(b,r):a(T,b,r):new p(g(r)),t,b)})),O&&O(b,G),I(R(p),(function(t){t in b||h(b,t,p[t])})),b.prototype=m):(b=r((function(t,r,e,n){f(t,m);var o,u,s,c=0,l=0;if(w(r)){if(!tt(r))return K(r)?Q(b,r):a(T,b,r);o=r,l=d(e,i);var h=r.byteLength;if(void 0===n){if(h%i)throw B(X);if((u=h-l)<0)throw B(X)}else if((u=v(n)*i)+l>h)throw B(X);s=u/i}else s=g(r),o=new z(u=s*i);for(U(t,{buffer:o,byteOffset:l,byteLength:u,length:s,view:new V(o)});c<s;)E(t,c++)})),O&&O(b,G),m=b.prototype=A(Y)),m.constructor!==b&&h(m,"constructor",b),_(m).TypedArrayConstructor=b,q&&h(m,q,s);var S=b!==p;x[s]=b,n({global:!0,constructor:!0,forced:S,sham:!H},x),J in b||h(b,J,i),J in m||h(m,J,i),M(s)}):t.exports=function(){}},63462:(t,r,e)=>{var n=e(77230),o=e(53694),a=e(31964),i=e(67740).NATIVE_ARRAY_BUFFER_VIEWS,u=n.ArrayBuffer,s=n.Int8Array;t.exports=!i||!o((function(){s(1)}))||!o((function(){new s(-1)}))||!a((function(t){new s,new s(null),new s(1.5),new s(t)}),!0)||o((function(){return 1!==new s(new u(2),1,void 0).length}))},46425:(t,r,e)=>{var n=e(37004),o=e(44647);t.exports=function(t,r){return n(o(t),r)}},39740:(t,r,e)=>{var n=e(81248),o=e(44225),a=e(94831),i=e(20987),u=e(71646),s=e(99853),c=e(6418),f=e(61855),l=e(45168),h=e(67740).aTypedArrayConstructor,p=e(9234);t.exports=function(t){var r,e,v,g,d,y,b,m,x=a(this),w=i(t),E=arguments.length,A=E>1?arguments[1]:void 0,S=void 0!==A,O=c(w);if(O&&!f(O))for(m=(b=s(w,O)).next,w=[];!(y=o(m,b)).done;)w.push(y.value);for(S&&E>2&&(A=n(A,arguments[2])),e=u(w),v=new(h(x))(e),g=l(v),r=0;e>r;r++)d=S?A(w[r],r):w[r],v[r]=g?p(d):+d;return v}},44647:(t,r,e)=>{var n=e(67740),o=e(640),a=n.aTypedArrayConstructor,i=n.getTypedArrayConstructor;t.exports=function(t){return a(o(t,i(t)))}},14525:(t,r,e)=>{var n=e(51916),o=0,a=Math.random(),i=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+i(++o+a,36)}},60327:(t,r,e)=>{var n=e(53694),o=e(97952),a=e(26079),i=e(57442),u=o("iterator");t.exports=!n((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),r=t.searchParams,e=new URLSearchParams("a=1&a=2&b=3"),n="";return t.pathname="c%20d",r.forEach((function(t,e){r.delete("b"),n+=e+t})),e.delete("a",2),e.delete("b",void 0),i&&(!t.toJSON||!e.has("a",1)||e.has("a",2)||!e.has("a",void 0)||e.has("b"))||!r.size&&(i||!a)||!r.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==r.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!r[u]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},29264:(t,r,e)=>{var n=e(44146);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},83202:(t,r,e)=>{var n=e(26079),o=e(53694);t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2234:t=>{var r=TypeError;t.exports=function(t,e){if(t<e)throw r("Not enough arguments");return t}},86934:(t,r,e)=>{var n=e(77230),o=e(933),a=n.WeakMap;t.exports=o(a)&&/native code/.test(String(a))},31725:(t,r,e)=>{var n=e(25030),o=e(33225),a=e(63081),i=e(47108).f;t.exports=function(t){var r=n.Symbol||(n.Symbol={});o(r,t)||i(r,t,{value:a.f(t)})}},63081:(t,r,e)=>{var n=e(97952);r.f=n},97952:(t,r,e)=>{var n=e(77230),o=e(33268),a=e(33225),i=e(14525),u=e(44146),s=e(29264),c=n.Symbol,f=o("wks"),l=s?c.for||c:c&&c.withoutSetter||i;t.exports=function(t){return a(f,t)||(f[t]=u&&a(c,t)?c[t]:l("Symbol."+t)),f[t]}},13392:t=>{t.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},36238:(t,r,e)=>{var n=e(71223),o=e(33225),a=e(5399),i=e(62346),u=e(91403),s=e(21831),c=e(45300),f=e(68089),l=e(88792),h=e(10863),p=e(73712),v=e(26079),g=e(57442);t.exports=function(t,r,e,d){var y="stackTraceLimit",b=d?2:1,m=t.split("."),x=m[m.length-1],w=n.apply(null,m);if(w){var E=w.prototype;if(!g&&o(E,"cause")&&delete E.cause,!e)return w;var A=n("Error"),S=r((function(t,r){var e=l(d?r:t,void 0),n=d?new w(t):new w;return void 0!==e&&a(n,"message",e),p(n,S,n.stack,2),this&&i(E,this)&&f(n,this,S),arguments.length>b&&h(n,arguments[b]),n}));if(S.prototype=E,"Error"!==x?u?u(S,A):s(S,A,{name:!0}):v&&y in w&&(c(S,w,y),c(S,w,"prepareStackTrace")),s(S,w),!g)try{E.name!==x&&a(E,"name",x),E.constructor=S}catch(t){}return S}}},41895:(t,r,e)=>{var n=e(15302),o=e(71223),a=e(10251),i=e(53694),u=e(36238),s="AggregateError",c=o(s),f=!i((function(){return 1!==c([1]).errors[0]}))&&i((function(){return 7!==c([1],s,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:f},{AggregateError:u(s,(function(t){return function(r,e){return a(t,this,arguments)}}),f,!0)})},77707:(t,r,e)=>{var n=e(15302),o=e(62346),a=e(65024),i=e(91403),u=e(21831),s=e(76997),c=e(5399),f=e(88828),l=e(10863),h=e(73712),p=e(55103),v=e(88792),g=e(97952)("toStringTag"),d=Error,y=[].push,b=function(t,r){var e,n=o(m,this);i?e=i(d(),n?a(this):m):(e=n?this:s(m),c(e,g,"Error")),void 0!==r&&c(e,"message",v(r)),h(e,b,e.stack,1),arguments.length>2&&l(e,arguments[2]);var u=[];return p(t,y,{that:u}),c(e,"errors",u),e};i?i(b,d):u(b,d,{name:!0});var m=b.prototype=s(d.prototype,{constructor:f(1,b),message:f(1,""),name:f(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:b})},75635:(t,r,e)=>{e(77707)},9511:(t,r,e)=>{var n=e(15302),o=e(77230),a=e(62292),i=e(26898),u="ArrayBuffer",s=a[u];n({global:!0,constructor:!0,forced:o[u]!==s},{ArrayBuffer:s}),i(u)},20539:(t,r,e)=>{var n=e(15302),o=e(67740);n({target:"ArrayBuffer",stat:!0,forced:!o.NATIVE_ARRAY_BUFFER_VIEWS},{isView:o.isView})},11938:(t,r,e)=>{var n=e(15302),o=e(58623),a=e(53694),i=e(62292),u=e(93536),s=e(62966),c=e(96092),f=e(640),l=i.ArrayBuffer,h=i.DataView,p=h.prototype,v=o(l.prototype.slice),g=o(p.getUint8),d=o(p.setUint8);n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:a((function(){return!new l(2).slice(1,void 0).byteLength}))},{slice:function(t,r){if(v&&void 0===r)return v(u(this),t);for(var e=u(this).byteLength,n=s(t,e),o=s(void 0===r?e:r,e),a=new(f(this,l))(c(o-n)),i=new h(this),p=new h(a),y=0;n<o;)d(p,y++,g(i,n++));return a}})},62682:(t,r,e)=>{var n=e(15302),o=e(20987),a=e(71646),i=e(84982),u=e(90186);n({target:"Array",proto:!0},{at:function(t){var r=o(this),e=a(r),n=i(t),u=n>=0?n:e+n;return u<0||u>=e?void 0:r[u]}}),u("at")},59655:(t,r,e)=>{var n=e(15302),o=e(53694),a=e(44893),i=e(76913),u=e(20987),s=e(71646),c=e(30924),f=e(93859),l=e(11204),h=e(79321),p=e(97952),v=e(67806),g=p("isConcatSpreadable"),d=v>=51||!o((function(){var t=[];return t[g]=!1,t.concat()[0]!==t})),y=function(t){if(!i(t))return!1;var r=t[g];return void 0!==r?!!r:a(t)};n({target:"Array",proto:!0,arity:1,forced:!d||!h("concat")},{concat:function(t){var r,e,n,o,a,i=u(this),h=l(i,0),p=0;for(r=-1,n=arguments.length;r<n;r++)if(y(a=-1===r?i:arguments[r]))for(o=s(a),c(p+o),e=0;e<o;e++,p++)e in a&&f(h,p,a[e]);else c(p+1),f(h,p++,a);return h.length=p,h}})},10026:(t,r,e)=>{var n=e(15302),o=e(38012),a=e(90186);n({target:"Array",proto:!0},{copyWithin:o}),a("copyWithin")},59159:(t,r,e)=>{var n=e(15302),o=e(1569).every;n({target:"Array",proto:!0,forced:!e(2245)("every")},{every:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},52931:(t,r,e)=>{var n=e(15302),o=e(30240),a=e(90186);n({target:"Array",proto:!0},{fill:o}),a("fill")},97505:(t,r,e)=>{var n=e(15302),o=e(1569).filter;n({target:"Array",proto:!0,forced:!e(79321)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},57293:(t,r,e)=>{var n=e(15302),o=e(1569).findIndex,a=e(90186),i="findIndex",u=!0;i in[]&&Array(1)[i]((function(){u=!1})),n({target:"Array",proto:!0,forced:u},{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),a(i)},25147:(t,r,e)=>{var n=e(15302),o=e(6126).findLastIndex,a=e(90186);n({target:"Array",proto:!0},{findLastIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),a("findLastIndex")},96987:(t,r,e)=>{var n=e(15302),o=e(6126).findLast,a=e(90186);n({target:"Array",proto:!0},{findLast:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),a("findLast")},21871:(t,r,e)=>{var n=e(15302),o=e(1569).find,a=e(90186),i="find",u=!0;i in[]&&Array(1)[i]((function(){u=!1})),n({target:"Array",proto:!0,forced:u},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),a(i)},65416:(t,r,e)=>{var n=e(15302),o=e(84364),a=e(93200),i=e(20987),u=e(71646),s=e(11204);n({target:"Array",proto:!0},{flatMap:function(t){var r,e=i(this),n=u(e);return a(t),(r=s(e,0)).length=o(r,e,e,n,0,1,t,arguments.length>1?arguments[1]:void 0),r}})},84918:(t,r,e)=>{var n=e(15302),o=e(84364),a=e(20987),i=e(71646),u=e(84982),s=e(11204);n({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,r=a(this),e=i(r),n=s(r,0);return n.length=o(n,r,r,e,0,void 0===t?1:u(t)),n}})},56360:(t,r,e)=>{var n=e(15302),o=e(60866);n({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},65991:(t,r,e)=>{var n=e(15302),o=e(38897);n({target:"Array",stat:!0,forced:!e(31964)((function(t){Array.from(t)}))},{from:o})},6025:(t,r,e)=>{var n=e(15302),o=e(17945).includes,a=e(53694),i=e(90186);n({target:"Array",proto:!0,forced:a((function(){return!Array(1).includes()}))},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},47979:(t,r,e)=>{var n=e(15302),o=e(58623),a=e(17945).indexOf,i=e(2245),u=o([].indexOf),s=!!u&&1/u([1],1,-0)<0;n({target:"Array",proto:!0,forced:s||!i("indexOf")},{indexOf:function(t){var r=arguments.length>1?arguments[1]:void 0;return s?u(this,t,r)||0:a(this,t,r)}})},60047:(t,r,e)=>{e(15302)({target:"Array",stat:!0},{isArray:e(44893)})},84836:(t,r,e)=>{var n=e(9164),o=e(90186),a=e(63019),i=e(60021),u=e(47108).f,s=e(62061),c=e(47822),f=e(57442),l=e(26079),h="Array Iterator",p=i.set,v=i.getterFor(h);t.exports=s(Array,"Array",(function(t,r){p(this,{type:h,target:n(t),index:0,kind:r})}),(function(){var t=v(this),r=t.target,e=t.kind,n=t.index++;if(!r||n>=r.length)return t.target=void 0,c(void 0,!0);switch(e){case"keys":return c(n,!1);case"values":return c(r[n],!1)}return c([n,r[n]],!1)}),"values");var g=a.Arguments=a.Array;if(o("keys"),o("values"),o("entries"),!f&&l&&"values"!==g.name)try{u(g,"name",{value:"values"})}catch(t){}},284:(t,r,e)=>{var n=e(15302),o=e(51916),a=e(6801),i=e(9164),u=e(2245),s=o([].join);n({target:"Array",proto:!0,forced:a!==Object||!u("join",",")},{join:function(t){return s(i(this),void 0===t?",":t)}})},58002:(t,r,e)=>{var n=e(15302),o=e(73604);n({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},60372:(t,r,e)=>{var n=e(15302),o=e(1569).map;n({target:"Array",proto:!0,forced:!e(79321)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},46406:(t,r,e)=>{var n=e(15302),o=e(53694),a=e(53538),i=e(93859),u=Array;n({target:"Array",stat:!0,forced:o((function(){function t(){}return!(u.of.call(t)instanceof t)}))},{of:function(){for(var t=0,r=arguments.length,e=new(a(this)?this:u)(r);r>t;)i(e,t,arguments[t++]);return e.length=r,e}})},91327:(t,r,e)=>{var n=e(15302),o=e(20987),a=e(71646),i=e(80121),u=e(30924);n({target:"Array",proto:!0,arity:1,forced:e(53694)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var r=o(this),e=a(r),n=arguments.length;u(e+n);for(var s=0;s<n;s++)r[e]=arguments[s],e++;return i(r,e),e}})},67142:(t,r,e)=>{var n=e(15302),o=e(28605).right,a=e(2245),i=e(67806);n({target:"Array",proto:!0,forced:!e(95009)&&i>79&&i<83||!a("reduceRight")},{reduceRight:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},35035:(t,r,e)=>{var n=e(15302),o=e(28605).left,a=e(2245),i=e(67806);n({target:"Array",proto:!0,forced:!e(95009)&&i>79&&i<83||!a("reduce")},{reduce:function(t){var r=arguments.length;return o(this,t,r,r>1?arguments[1]:void 0)}})},51719:(t,r,e)=>{var n=e(15302),o=e(51916),a=e(44893),i=o([].reverse),u=[1,2];n({target:"Array",proto:!0,forced:String(u)===String(u.reverse())},{reverse:function(){return a(this)&&(this.length=this.length),i(this)}})},33289:(t,r,e)=>{var n=e(15302),o=e(44893),a=e(53538),i=e(76913),u=e(62966),s=e(71646),c=e(9164),f=e(93859),l=e(97952),h=e(79321),p=e(69663),v=h("slice"),g=l("species"),d=Array,y=Math.max;n({target:"Array",proto:!0,forced:!v},{slice:function(t,r){var e,n,l,h=c(this),v=s(h),b=u(t,v),m=u(void 0===r?v:r,v);if(o(h)&&(e=h.constructor,(a(e)&&(e===d||o(e.prototype))||i(e)&&null===(e=e[g]))&&(e=void 0),e===d||void 0===e))return p(h,b,m);for(n=new(void 0===e?d:e)(y(m-b,0)),l=0;b<m;b++,l++)b in h&&f(n,l,h[b]);return n.length=l,n}})},87133:(t,r,e)=>{var n=e(15302),o=e(1569).some;n({target:"Array",proto:!0,forced:!e(2245)("some")},{some:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},68512:(t,r,e)=>{var n=e(15302),o=e(51916),a=e(93200),i=e(20987),u=e(71646),s=e(17444),c=e(99851),f=e(53694),l=e(68813),h=e(2245),p=e(41346),v=e(17636),g=e(67806),d=e(47041),y=[],b=o(y.sort),m=o(y.push),x=f((function(){y.sort(void 0)})),w=f((function(){y.sort(null)})),E=h("sort"),A=!f((function(){if(g)return g<70;if(!(p&&p>3)){if(v)return!0;if(d)return d<603;var t,r,e,n,o="";for(t=65;t<76;t++){switch(r=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:e=3;break;case 68:case 71:e=4;break;default:e=2}for(n=0;n<47;n++)y.push({k:r+n,v:e})}for(y.sort((function(t,r){return r.v-t.v})),n=0;n<y.length;n++)r=y[n].k.charAt(0),o.charAt(o.length-1)!==r&&(o+=r);return"DGBEFHACIJK"!==o}}));n({target:"Array",proto:!0,forced:x||!w||!E||!A},{sort:function(t){void 0!==t&&a(t);var r=i(this);if(A)return void 0===t?b(r):b(r,t);var e,n,o=[],f=u(r);for(n=0;n<f;n++)n in r&&m(o,r[n]);for(l(o,function(t){return function(r,e){return void 0===e?-1:void 0===r?1:void 0!==t?+t(r,e)||0:c(r)>c(e)?1:-1}}(t)),e=u(o),n=0;n<e;)r[n]=o[n++];for(;n<f;)s(r,n++);return r}})},36898:(t,r,e)=>{e(26898)("Array")},88744:(t,r,e)=>{var n=e(15302),o=e(20987),a=e(62966),i=e(84982),u=e(71646),s=e(80121),c=e(30924),f=e(11204),l=e(93859),h=e(17444),p=e(79321)("splice"),v=Math.max,g=Math.min;n({target:"Array",proto:!0,forced:!p},{splice:function(t,r){var e,n,p,d,y,b,m=o(this),x=u(m),w=a(t,x),E=arguments.length;for(0===E?e=n=0:1===E?(e=0,n=x-w):(e=E-2,n=g(v(i(r),0),x-w)),c(x+e-n),p=f(m,n),d=0;d<n;d++)(y=w+d)in m&&l(p,d,m[y]);if(p.length=n,e<n){for(d=w;d<x-n;d++)b=d+e,(y=d+n)in m?m[b]=m[y]:h(m,b);for(d=x;d>x-n+e;d--)h(m,d-1)}else if(e>n)for(d=x-n;d>w;d--)b=d+e-1,(y=d+n-1)in m?m[b]=m[y]:h(m,b);for(d=0;d<e;d++)m[d+w]=arguments[d+2];return s(m,x-n+e),p}})},8007:(t,r,e)=>{var n=e(15302),o=e(77326),a=e(9164),i=e(90186),u=Array;n({target:"Array",proto:!0},{toReversed:function(){return o(a(this),u)}}),i("toReversed")},85412:(t,r,e)=>{var n=e(15302),o=e(51916),a=e(93200),i=e(9164),u=e(37004),s=e(57410),c=e(90186),f=Array,l=o(s("Array").sort);n({target:"Array",proto:!0},{toSorted:function(t){void 0!==t&&a(t);var r=i(this),e=u(f,r);return l(e,t)}}),c("toSorted")},32533:(t,r,e)=>{var n=e(15302),o=e(90186),a=e(30924),i=e(71646),u=e(62966),s=e(9164),c=e(84982),f=Array,l=Math.max,h=Math.min;n({target:"Array",proto:!0},{toSpliced:function(t,r){var e,n,o,p,v=s(this),g=i(v),d=u(t,g),y=arguments.length,b=0;for(0===y?e=n=0:1===y?(e=0,n=g-d):(e=y-2,n=h(l(c(r),0),g-d)),o=a(g+e-n),p=f(o);b<d;b++)p[b]=v[b];for(;b<d+e;b++)p[b]=arguments[b-d+2];for(;b<o;b++)p[b]=v[b+n-e];return p}}),o("toSpliced")},35448:(t,r,e)=>{e(90186)("flatMap")},44831:(t,r,e)=>{e(90186)("flat")},31068:(t,r,e)=>{var n=e(15302),o=e(20987),a=e(71646),i=e(80121),u=e(17444),s=e(30924);n({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(t){return t instanceof TypeError}}()},{unshift:function(t){var r=o(this),e=a(r),n=arguments.length;if(n){s(e+n);for(var c=e;c--;){var f=c+n;c in r?r[f]=r[c]:u(r,f)}for(var l=0;l<n;l++)r[l]=arguments[l]}return i(r,e+n)}})},67161:(t,r,e)=>{var n=e(15302),o=e(88718),a=e(9164),i=Array;n({target:"Array",proto:!0},{with:function(t,r){return o(a(this),i,t,r)}})},10378:(t,r,e)=>{var n=e(15302),o=e(62292);n({global:!0,constructor:!0,forced:!e(8094)},{DataView:o.DataView})},79966:(t,r,e)=>{e(10378)},75909:(t,r,e)=>{var n=e(15302),o=e(51916),a=e(53694)((function(){return 120!==new Date(16e11).getYear()})),i=o(Date.prototype.getFullYear);n({target:"Date",proto:!0,forced:a},{getYear:function(){return i(this)-1900}})},5111:(t,r,e)=>{var n=e(15302),o=e(51916),a=Date,i=o(a.prototype.getTime);n({target:"Date",stat:!0},{now:function(){return i(new a)}})},33581:(t,r,e)=>{var n=e(15302),o=e(51916),a=e(84982),i=Date.prototype,u=o(i.getTime),s=o(i.setFullYear);n({target:"Date",proto:!0},{setYear:function(t){u(this);var r=a(t);return s(this,r>=0&&r<=99?r+1900:r)}})},86178:(t,r,e)=>{e(15302)({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},83512:(t,r,e)=>{var n=e(15302),o=e(38948);n({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},8217:(t,r,e)=>{var n=e(15302),o=e(53694),a=e(20987),i=e(65962);n({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(t){var r=a(this),e=i(r,"number");return"number"!=typeof e||isFinite(e)?r.toISOString():null}})},46739:(t,r,e)=>{var n=e(33225),o=e(46272),a=e(58243),i=e(97952)("toPrimitive"),u=Date.prototype;n(u,i)||o(u,i,a)},21861:(t,r,e)=>{var n=e(51916),o=e(46272),a=Date.prototype,i="Invalid Date",u="toString",s=n(a[u]),c=n(a.getTime);String(new Date(NaN))!==i&&o(a,u,(function(){var t=c(this);return t==t?s(this):i}))},73098:(t,r,e)=>{var n=e(15302),o=e(77230),a=e(10251),i=e(36238),u="WebAssembly",s=o[u],c=7!==Error("e",{cause:7}).cause,f=function(t,r){var e={};e[t]=i(t,r,c),n({global:!0,constructor:!0,arity:1,forced:c},e)},l=function(t,r){if(s&&s[t]){var e={};e[t]=i(u+"."+t,r,c),n({target:u,stat:!0,constructor:!0,arity:1,forced:c},e)}};f("Error",(function(t){return function(r){return a(t,this,arguments)}})),f("EvalError",(function(t){return function(r){return a(t,this,arguments)}})),f("RangeError",(function(t){return function(r){return a(t,this,arguments)}})),f("ReferenceError",(function(t){return function(r){return a(t,this,arguments)}})),f("SyntaxError",(function(t){return function(r){return a(t,this,arguments)}})),f("TypeError",(function(t){return function(r){return a(t,this,arguments)}})),f("URIError",(function(t){return function(r){return a(t,this,arguments)}})),l("CompileError",(function(t){return function(r){return a(t,this,arguments)}})),l("LinkError",(function(t){return function(r){return a(t,this,arguments)}})),l("RuntimeError",(function(t){return function(r){return a(t,this,arguments)}}))},59591:(t,r,e)=>{var n=e(46272),o=e(41525),a=Error.prototype;a.toString!==o&&n(a,"toString",o)},61807:(t,r,e)=>{var n=e(15302),o=e(51916),a=e(99851),i=o("".charAt),u=o("".charCodeAt),s=o(/./.exec),c=o(1..toString),f=o("".toUpperCase),l=/[\w*+\-./@]/,h=function(t,r){for(var e=c(t,16);e.length<r;)e="0"+e;return e};n({global:!0},{escape:function(t){for(var r,e,n=a(t),o="",c=n.length,p=0;p<c;)r=i(n,p++),s(l,r)?o+=r:o+=(e=u(r,0))<256?"%"+h(e,2):"%u"+f(h(e,4));return o}})},4607:(t,r,e)=>{var n=e(15302),o=e(24418);n({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},19114:(t,r,e)=>{var n=e(933),o=e(76913),a=e(47108),i=e(65024),u=e(97952),s=e(3202),c=u("hasInstance"),f=Function.prototype;c in f||a.f(f,c,{value:s((function(t){if(!n(this)||!o(t))return!1;var r=this.prototype;if(!o(r))return t instanceof this;for(;t=i(t);)if(r===t)return!0;return!1}),c)})},8855:(t,r,e)=>{var n=e(26079),o=e(20567).EXISTS,a=e(51916),i=e(11331),u=Function.prototype,s=a(u.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,f=a(c.exec);n&&!o&&i(u,"name",{configurable:!0,get:function(){try{return f(c,s(this))[1]}catch(t){return""}}})},68059:(t,r,e)=>{var n=e(15302),o=e(77230);n({global:!0,forced:o.globalThis!==o},{globalThis:o})},34546:(t,r,e)=>{var n=e(15302),o=e(71223),a=e(10251),i=e(44225),u=e(51916),s=e(53694),c=e(933),f=e(77581),l=e(69663),h=e(16189),p=e(44146),v=String,g=o("JSON","stringify"),d=u(/./.exec),y=u("".charAt),b=u("".charCodeAt),m=u("".replace),x=u(1..toString),w=/[\uD800-\uDFFF]/g,E=/^[\uD800-\uDBFF]$/,A=/^[\uDC00-\uDFFF]$/,S=!p||s((function(){var t=o("Symbol")("stringify detection");return"[null]"!==g([t])||"{}"!==g({a:t})||"{}"!==g(Object(t))})),O=s((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),R=function(t,r){var e=l(arguments),n=h(r);if(c(n)||void 0!==t&&!f(t))return e[1]=function(t,r){if(c(n)&&(r=i(n,this,v(t),r)),!f(r))return r},a(g,null,e)},T=function(t,r,e){var n=y(e,r-1),o=y(e,r+1);return d(E,t)&&!d(A,o)||d(A,t)&&!d(E,n)?"\\u"+x(b(t,0),16):t};g&&n({target:"JSON",stat:!0,arity:3,forced:S||O},{stringify:function(t,r,e){var n=l(arguments),o=a(S?R:g,null,n);return O&&"string"==typeof o?m(o,w,T):o}})},69952:(t,r,e)=>{var n=e(77230);e(5411)(n.JSON,"JSON",!0)},1501:(t,r,e)=>{e(35003)("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),e(73342))},27134:(t,r,e)=>{e(1501)},28584:(t,r,e)=>{var n=e(15302),o=e(99636),a=Math.acosh,i=Math.log,u=Math.sqrt,s=Math.LN2;n({target:"Math",stat:!0,forced:!a||710!==Math.floor(a(Number.MAX_VALUE))||a(1/0)!==1/0},{acosh:function(t){var r=+t;return r<1?NaN:r>94906265.62425156?i(r)+s:o(r-1+u(r-1)*u(r+1))}})},95309:(t,r,e)=>{var n=e(15302),o=Math.asinh,a=Math.log,i=Math.sqrt;n({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function t(r){var e=+r;return isFinite(e)&&0!==e?e<0?-t(-e):a(e+i(e*e+1)):e}})},91974:(t,r,e)=>{var n=e(15302),o=Math.atanh,a=Math.log;n({target:"Math",stat:!0,forced:!(o&&1/o(-0)<0)},{atanh:function(t){var r=+t;return 0===r?r:a((1+r)/(1-r))/2}})},98913:(t,r,e)=>{var n=e(15302),o=e(58007),a=Math.abs,i=Math.pow;n({target:"Math",stat:!0},{cbrt:function(t){var r=+t;return o(r)*i(a(r),1/3)}})},41316:(t,r,e)=>{var n=e(15302),o=Math.floor,a=Math.log,i=Math.LOG2E;n({target:"Math",stat:!0},{clz32:function(t){var r=t>>>0;return r?31-o(a(r+.5)*i):32}})},41468:(t,r,e)=>{var n=e(15302),o=e(68187),a=Math.cosh,i=Math.abs,u=Math.E;n({target:"Math",stat:!0,forced:!a||a(710)===1/0},{cosh:function(t){var r=o(i(t)-1)+1;return(r+1/(r*u*u))*(u/2)}})},69294:(t,r,e)=>{var n=e(15302),o=e(68187);n({target:"Math",stat:!0,forced:o!==Math.expm1},{expm1:o})},35264:(t,r,e)=>{e(15302)({target:"Math",stat:!0},{fround:e(3564)})},35994:(t,r,e)=>{var n=e(15302),o=Math.hypot,a=Math.abs,i=Math.sqrt;n({target:"Math",stat:!0,arity:2,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(t,r){for(var e,n,o=0,u=0,s=arguments.length,c=0;u<s;)c<(e=a(arguments[u++]))?(o=o*(n=c/e)*n+1,c=e):o+=e>0?(n=e/c)*n:e;return c===1/0?1/0:c*i(o)}})},14882:(t,r,e)=>{var n=e(15302),o=e(53694),a=Math.imul;n({target:"Math",stat:!0,forced:o((function(){return-5!==a(4294967295,5)||2!==a.length}))},{imul:function(t,r){var e=65535,n=+t,o=+r,a=e&n,i=e&o;return 0|a*i+((e&n>>>16)*i+a*(e&o>>>16)<<16>>>0)}})},15386:(t,r,e)=>{e(15302)({target:"Math",stat:!0},{log10:e(90424)})},8865:(t,r,e)=>{e(15302)({target:"Math",stat:!0},{log1p:e(99636)})},77375:(t,r,e)=>{var n=e(15302),o=Math.log,a=Math.LN2;n({target:"Math",stat:!0},{log2:function(t){return o(t)/a}})},50241:(t,r,e)=>{e(15302)({target:"Math",stat:!0},{sign:e(58007)})},76104:(t,r,e)=>{var n=e(15302),o=e(53694),a=e(68187),i=Math.abs,u=Math.exp,s=Math.E;n({target:"Math",stat:!0,forced:o((function(){return-2e-17!==Math.sinh(-2e-17)}))},{sinh:function(t){var r=+t;return i(r)<1?(a(r)-a(-r))/2:(u(r-1)-u(-r-1))*(s/2)}})},71661:(t,r,e)=>{var n=e(15302),o=e(68187),a=Math.exp;n({target:"Math",stat:!0},{tanh:function(t){var r=+t,e=o(r),n=o(-r);return e===1/0?1:n===1/0?-1:(e-n)/(a(r)+a(-r))}})},77604:(t,r,e)=>{e(5411)(Math,"Math",!0)},86504:(t,r,e)=>{e(15302)({target:"Math",stat:!0},{trunc:e(33194)})},91336:(t,r,e)=>{var n=e(15302),o=e(57442),a=e(26079),i=e(77230),u=e(25030),s=e(51916),c=e(94545),f=e(33225),l=e(68089),h=e(62346),p=e(77581),v=e(65962),g=e(53694),d=e(67852).f,y=e(55027).f,b=e(47108).f,m=e(47175),x=e(17011).trim,w="Number",E=i[w],A=u[w],S=E.prototype,O=i.TypeError,R=s("".slice),T=s("".charCodeAt),I=c(w,!E(" 0o1")||!E("0b1")||E("+0x1")),M=function(t){var r,e=arguments.length<1?0:E(function(t){var r=v(t,"number");return"bigint"==typeof r?r:function(t){var r,e,n,o,a,i,u,s,c=v(t,"number");if(p(c))throw O("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=x(c),43===(r=T(c,0))||45===r){if(88===(e=T(c,2))||120===e)return NaN}else if(48===r){switch(T(c,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(i=(a=R(c,2)).length,u=0;u<i;u++)if((s=T(a,u))<48||s>o)return NaN;return parseInt(a,n)}return+c}(r)}(t));return h(S,r=this)&&g((function(){m(r)}))?l(Object(e),this,M):e};M.prototype=S,I&&!o&&(S.constructor=M),n({global:!0,constructor:!0,wrap:!0,forced:I},{Number:M});var k=function(t,r){for(var e,n=a?d(r):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)f(r,e=n[o])&&!f(t,e)&&b(t,e,y(r,e))};o&&A&&k(u[w],A),(I||o)&&k(u[w],E)},49214:(t,r,e)=>{e(15302)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},61463:(t,r,e)=>{e(15302)({target:"Number",stat:!0},{isFinite:e(81791)})},36647:(t,r,e)=>{e(15302)({target:"Number",stat:!0},{isInteger:e(62604)})},23740:(t,r,e)=>{e(15302)({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},97719:(t,r,e)=>{var n=e(15302),o=e(62604),a=Math.abs;n({target:"Number",stat:!0},{isSafeInteger:function(t){return o(t)&&a(t)<=9007199254740991}})},91760:(t,r,e)=>{e(15302)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},90098:(t,r,e)=>{e(15302)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},3131:(t,r,e)=>{var n=e(15302),o=e(54530);n({target:"Number",stat:!0,forced:Number.parseFloat!==o},{parseFloat:o})},60350:(t,r,e)=>{var n=e(15302),o=e(47309);n({target:"Number",stat:!0,forced:Number.parseInt!==o},{parseInt:o})},95209:(t,r,e)=>{var n=e(15302),o=e(51916),a=e(84982),i=e(47175),u=e(97710),s=e(90424),c=e(53694),f=RangeError,l=String,h=isFinite,p=Math.abs,v=Math.floor,g=Math.pow,d=Math.round,y=o(1..toExponential),b=o(u),m=o("".slice),x="-6.9000e-11"===y(-69e-12,4)&&"1.25e+0"===y(1.255,2)&&"1.235e+4"===y(12345,3)&&"3e+1"===y(25,0);n({target:"Number",proto:!0,forced:!x||!(c((function(){y(1,1/0)}))&&c((function(){y(1,-1/0)})))||!!c((function(){y(1/0,1/0),y(NaN,1/0)}))},{toExponential:function(t){var r=i(this);if(void 0===t)return y(r);var e=a(t);if(!h(r))return String(r);if(e<0||e>20)throw f("Incorrect fraction digits");if(x)return y(r,e);var n="",o="",u=0,c="",w="";if(r<0&&(n="-",r=-r),0===r)u=0,o=b("0",e+1);else{var E=s(r);u=v(E);var A=0,S=g(10,u-e);2*r>=(2*(A=d(r/S))+1)*S&&(A+=1),A>=g(10,e+1)&&(A/=10,u+=1),o=l(A)}return 0!==e&&(o=m(o,0,1)+"."+m(o,1)),0===u?(c="+",w="0"):(c=u>0?"+":"-",w=l(p(u))),n+(o+"e")+c+w}})},24257:(t,r,e)=>{var n=e(15302),o=e(51916),a=e(84982),i=e(47175),u=e(97710),s=e(53694),c=RangeError,f=String,l=Math.floor,h=o(u),p=o("".slice),v=o(1..toFixed),g=function(t,r,e){return 0===r?e:r%2==1?g(t,r-1,e*t):g(t*t,r/2,e)},d=function(t,r,e){for(var n=-1,o=e;++n<6;)o+=r*t[n],t[n]=o%1e7,o=l(o/1e7)},y=function(t,r){for(var e=6,n=0;--e>=0;)n+=t[e],t[e]=l(n/r),n=n%r*1e7},b=function(t){for(var r=6,e="";--r>=0;)if(""!==e||0===r||0!==t[r]){var n=f(t[r]);e=""===e?n:e+h("0",7-n.length)+n}return e};n({target:"Number",proto:!0,forced:s((function(){return"0.000"!==v(8e-5,3)||"1"!==v(.9,0)||"1.25"!==v(1.255,2)||"1000000000000000128"!==v(0xde0b6b3a7640080,0)}))||!s((function(){v({})}))},{toFixed:function(t){var r,e,n,o,u=i(this),s=a(t),l=[0,0,0,0,0,0],v="",m="0";if(s<0||s>20)throw c("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return f(u);if(u<0&&(v="-",u=-u),u>1e-21)if(e=(r=function(t){for(var r=0,e=t;e>=4096;)r+=12,e/=4096;for(;e>=2;)r+=1,e/=2;return r}(u*g(2,69,1))-69)<0?u*g(2,-r,1):u/g(2,r,1),e*=4503599627370496,(r=52-r)>0){for(d(l,0,e),n=s;n>=7;)d(l,1e7,0),n-=7;for(d(l,g(10,n,1),0),n=r-1;n>=23;)y(l,1<<23),n-=23;y(l,1<<n),d(l,1,1),y(l,2),m=b(l)}else d(l,0,e),d(l,1<<-r,0),m=b(l)+h("0",s);return s>0?v+((o=m.length)<=s?"0."+h("0",s-o)+m:p(m,0,o-s)+"."+p(m,o-s)):v+m}})},19382:(t,r,e)=>{var n=e(15302),o=e(51916),a=e(53694),i=e(47175),u=o(1..toPrecision);n({target:"Number",proto:!0,forced:a((function(){return"1"!==u(1,void 0)}))||!a((function(){u({})}))},{toPrecision:function(t){return void 0===t?u(i(this)):u(i(this),t)}})},60110:(t,r,e)=>{var n=e(15302),o=e(65016);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},65066:(t,r,e)=>{e(15302)({target:"Object",stat:!0,sham:!e(26079)},{create:e(76997)})},59125:(t,r,e)=>{var n=e(15302),o=e(26079),a=e(62563),i=e(93200),u=e(20987),s=e(47108);o&&n({target:"Object",proto:!0,forced:a},{__defineGetter__:function(t,r){s.f(u(this),t,{get:i(r),enumerable:!0,configurable:!0})}})},90182:(t,r,e)=>{var n=e(15302),o=e(26079),a=e(27673).f;n({target:"Object",stat:!0,forced:Object.defineProperties!==a,sham:!o},{defineProperties:a})},46926:(t,r,e)=>{var n=e(15302),o=e(26079),a=e(47108).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==a,sham:!o},{defineProperty:a})},60467:(t,r,e)=>{var n=e(15302),o=e(26079),a=e(62563),i=e(93200),u=e(20987),s=e(47108);o&&n({target:"Object",proto:!0,forced:a},{__defineSetter__:function(t,r){s.f(u(this),t,{set:i(r),enumerable:!0,configurable:!0})}})},43526:(t,r,e)=>{var n=e(15302),o=e(8821).entries;n({target:"Object",stat:!0},{entries:function(t){return o(t)}})},99119:(t,r,e)=>{var n=e(15302),o=e(52913),a=e(53694),i=e(76913),u=e(43792).onFreeze,s=Object.freeze;n({target:"Object",stat:!0,forced:a((function(){s(1)})),sham:!o},{freeze:function(t){return s&&i(t)?s(u(t)):t}})},65619:(t,r,e)=>{var n=e(15302),o=e(55103),a=e(93859);n({target:"Object",stat:!0},{fromEntries:function(t){var r={};return o(t,(function(t,e){a(r,t,e)}),{AS_ENTRIES:!0}),r}})},57558:(t,r,e)=>{var n=e(15302),o=e(53694),a=e(9164),i=e(55027).f,u=e(26079);n({target:"Object",stat:!0,forced:!u||o((function(){i(1)})),sham:!u},{getOwnPropertyDescriptor:function(t,r){return i(a(t),r)}})},61071:(t,r,e)=>{var n=e(15302),o=e(26079),a=e(3697),i=e(9164),u=e(55027),s=e(93859);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var r,e,n=i(t),o=u.f,c=a(n),f={},l=0;c.length>l;)void 0!==(e=o(n,r=c[l++]))&&s(f,r,e);return f}})},67446:(t,r,e)=>{var n=e(15302),o=e(53694),a=e(43959).f;n({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:a})},27808:(t,r,e)=>{var n=e(15302),o=e(44146),a=e(53694),i=e(7375),u=e(20987);n({target:"Object",stat:!0,forced:!o||a((function(){i.f(1)}))},{getOwnPropertySymbols:function(t){var r=i.f;return r?r(u(t)):[]}})},72772:(t,r,e)=>{var n=e(15302),o=e(53694),a=e(20987),i=e(65024),u=e(30560);n({target:"Object",stat:!0,forced:o((function(){i(1)})),sham:!u},{getPrototypeOf:function(t){return i(a(t))}})},11944:(t,r,e)=>{e(15302)({target:"Object",stat:!0},{hasOwn:e(33225)})},63931:(t,r,e)=>{var n=e(15302),o=e(10067);n({target:"Object",stat:!0,forced:Object.isExtensible!==o},{isExtensible:o})},46870:(t,r,e)=>{var n=e(15302),o=e(53694),a=e(76913),i=e(92248),u=e(2162),s=Object.isFrozen;n({target:"Object",stat:!0,forced:u||o((function(){s(1)}))},{isFrozen:function(t){return!a(t)||!(!u||"ArrayBuffer"!==i(t))||!!s&&s(t)}})},72918:(t,r,e)=>{var n=e(15302),o=e(53694),a=e(76913),i=e(92248),u=e(2162),s=Object.isSealed;n({target:"Object",stat:!0,forced:u||o((function(){s(1)}))},{isSealed:function(t){return!a(t)||!(!u||"ArrayBuffer"!==i(t))||!!s&&s(t)}})},85445:(t,r,e)=>{e(15302)({target:"Object",stat:!0},{is:e(51262)})},67186:(t,r,e)=>{var n=e(15302),o=e(20987),a=e(86127);n({target:"Object",stat:!0,forced:e(53694)((function(){a(1)}))},{keys:function(t){return a(o(t))}})},41692:(t,r,e)=>{var n=e(15302),o=e(26079),a=e(62563),i=e(20987),u=e(65831),s=e(65024),c=e(55027).f;o&&n({target:"Object",proto:!0,forced:a},{__lookupGetter__:function(t){var r,e=i(this),n=u(t);do{if(r=c(e,n))return r.get}while(e=s(e))}})},42623:(t,r,e)=>{var n=e(15302),o=e(26079),a=e(62563),i=e(20987),u=e(65831),s=e(65024),c=e(55027).f;o&&n({target:"Object",proto:!0,forced:a},{__lookupSetter__:function(t){var r,e=i(this),n=u(t);do{if(r=c(e,n))return r.set}while(e=s(e))}})},96156:(t,r,e)=>{var n=e(15302),o=e(76913),a=e(43792).onFreeze,i=e(52913),u=e(53694),s=Object.preventExtensions;n({target:"Object",stat:!0,forced:u((function(){s(1)})),sham:!i},{preventExtensions:function(t){return s&&o(t)?s(a(t)):t}})},20698:(t,r,e)=>{var n=e(26079),o=e(11331),a=e(76913),i=e(20987),u=e(57105),s=Object.getPrototypeOf,c=Object.setPrototypeOf,f=Object.prototype,l="__proto__";if(n&&s&&c&&!(l in f))try{o(f,l,{configurable:!0,get:function(){return s(i(this))},set:function(t){var r=u(this);(a(t)||null===t)&&a(r)&&c(r,t)}})}catch(t){}},4124:(t,r,e)=>{var n=e(15302),o=e(76913),a=e(43792).onFreeze,i=e(52913),u=e(53694),s=Object.seal;n({target:"Object",stat:!0,forced:u((function(){s(1)})),sham:!i},{seal:function(t){return s&&o(t)?s(a(t)):t}})},87874:(t,r,e)=>{e(15302)({target:"Object",stat:!0},{setPrototypeOf:e(91403)})},32981:(t,r,e)=>{var n=e(96695),o=e(46272),a=e(14168);n||o(Object.prototype,"toString",a,{unsafe:!0})},72964:(t,r,e)=>{var n=e(15302),o=e(8821).values;n({target:"Object",stat:!0},{values:function(t){return o(t)}})},48673:(t,r,e)=>{var n=e(15302),o=e(54530);n({global:!0,forced:parseFloat!==o},{parseFloat:o})},90538:(t,r,e)=>{var n=e(15302),o=e(47309);n({global:!0,forced:parseInt!==o},{parseInt:o})},46512:(t,r,e)=>{var n=e(15302),o=e(44225),a=e(93200),i=e(36935),u=e(37731),s=e(55103);n({target:"Promise",stat:!0,forced:e(43560)},{allSettled:function(t){var r=this,e=i.f(r),n=e.resolve,c=e.reject,f=u((function(){var e=a(r.resolve),i=[],u=0,c=1;s(t,(function(t){var a=u++,s=!1;c++,o(e,r,t).then((function(t){s||(s=!0,i[a]={status:"fulfilled",value:t},--c||n(i))}),(function(t){s||(s=!0,i[a]={status:"rejected",reason:t},--c||n(i))}))})),--c||n(i)}));return f.error&&c(f.value),e.promise}})},57769:(t,r,e)=>{var n=e(15302),o=e(44225),a=e(93200),i=e(36935),u=e(37731),s=e(55103);n({target:"Promise",stat:!0,forced:e(43560)},{all:function(t){var r=this,e=i.f(r),n=e.resolve,c=e.reject,f=u((function(){var e=a(r.resolve),i=[],u=0,f=1;s(t,(function(t){var a=u++,s=!1;f++,o(e,r,t).then((function(t){s||(s=!0,i[a]=t,--f||n(i))}),c)})),--f||n(i)}));return f.error&&c(f.value),e.promise}})},48601:(t,r,e)=>{var n=e(15302),o=e(44225),a=e(93200),i=e(71223),u=e(36935),s=e(37731),c=e(55103),f=e(43560),l="No one promise resolved";n({target:"Promise",stat:!0,forced:f},{any:function(t){var r=this,e=i("AggregateError"),n=u.f(r),f=n.resolve,h=n.reject,p=s((function(){var n=a(r.resolve),i=[],u=0,s=1,p=!1;c(t,(function(t){var a=u++,c=!1;s++,o(n,r,t).then((function(t){c||p||(p=!0,f(t))}),(function(t){c||p||(c=!0,i[a]=t,--s||h(new e(i,l)))}))})),--s||h(new e(i,l))}));return p.error&&h(p.value),n.promise}})},53714:(t,r,e)=>{var n=e(15302),o=e(57442),a=e(13306).CONSTRUCTOR,i=e(33657),u=e(71223),s=e(933),c=e(46272),f=i&&i.prototype;if(n({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(t){return this.then(void 0,t)}}),!o&&s(i)){var l=u("Promise").prototype.catch;f.catch!==l&&c(f,"catch",l,{unsafe:!0})}},87229:(t,r,e)=>{var n,o,a,i=e(15302),u=e(57442),s=e(95009),c=e(77230),f=e(44225),l=e(46272),h=e(91403),p=e(5411),v=e(26898),g=e(93200),d=e(933),y=e(76913),b=e(75209),m=e(640),x=e(17823).set,w=e(43012),E=e(55812),A=e(37731),S=e(5818),O=e(60021),R=e(33657),T=e(13306),I=e(36935),M="Promise",k=T.CONSTRUCTOR,P=T.REJECTION_EVENT,j=T.SUBCLASSING,C=O.getterFor(M),L=O.set,N=R&&R.prototype,U=R,_=N,D=c.TypeError,F=c.document,B=c.process,z=I.f,W=z,V=!!(F&&F.createEvent&&c.dispatchEvent),H="unhandledrejection",q=function(t){var r;return!(!y(t)||!d(r=t.then))&&r},G=function(t,r){var e,n,o,a=r.value,i=1===r.state,u=i?t.ok:t.fail,s=t.resolve,c=t.reject,l=t.domain;try{u?(i||(2===r.rejection&&X(r),r.rejection=1),!0===u?e=a:(l&&l.enter(),e=u(a),l&&(l.exit(),o=!0)),e===t.promise?c(D("Promise-chain cycle")):(n=q(e))?f(n,e,s,c):s(e)):c(a)}catch(t){l&&!o&&l.exit(),c(t)}},Y=function(t,r){t.notified||(t.notified=!0,w((function(){for(var e,n=t.reactions;e=n.get();)G(e,t);t.notified=!1,r&&!t.rejection&&K(t)})))},$=function(t,r,e){var n,o;V?((n=F.createEvent("Event")).promise=r,n.reason=e,n.initEvent(t,!1,!0),c.dispatchEvent(n)):n={promise:r,reason:e},!P&&(o=c["on"+t])?o(n):t===H&&E("Unhandled promise rejection",e)},K=function(t){f(x,c,(function(){var r,e=t.facade,n=t.value;if(J(t)&&(r=A((function(){s?B.emit("unhandledRejection",n,e):$(H,e,n)})),t.rejection=s||J(t)?2:1,r.error))throw r.value}))},J=function(t){return 1!==t.rejection&&!t.parent},X=function(t){f(x,c,(function(){var r=t.facade;s?B.emit("rejectionHandled",r):$("rejectionhandled",r,t.value)}))},Q=function(t,r,e){return function(n){t(r,n,e)}},Z=function(t,r,e){t.done||(t.done=!0,e&&(t=e),t.value=r,t.state=2,Y(t,!0))},tt=function(t,r,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===r)throw D("Promise can't be resolved itself");var n=q(r);n?w((function(){var e={done:!1};try{f(n,r,Q(tt,e,t),Q(Z,e,t))}catch(r){Z(e,r,t)}})):(t.value=r,t.state=1,Y(t,!1))}catch(r){Z({done:!1},r,t)}}};if(k&&(_=(U=function(t){b(this,_),g(t),f(n,this);var r=C(this);try{t(Q(tt,r),Q(Z,r))}catch(t){Z(r,t)}}).prototype,(n=function(t){L(this,{type:M,done:!1,notified:!1,parent:!1,reactions:new S,rejection:!1,state:0,value:void 0})}).prototype=l(_,"then",(function(t,r){var e=C(this),n=z(m(this,U));return e.parent=!0,n.ok=!d(t)||t,n.fail=d(r)&&r,n.domain=s?B.domain:void 0,0===e.state?e.reactions.add(n):w((function(){G(n,e)})),n.promise})),o=function(){var t=new n,r=C(t);this.promise=t,this.resolve=Q(tt,r),this.reject=Q(Z,r)},I.f=z=function(t){return t===U||void 0===t?new o(t):W(t)},!u&&d(R)&&N!==Object.prototype)){a=N.then,j||l(N,"then",(function(t,r){var e=this;return new U((function(t,r){f(a,e,t,r)})).then(t,r)}),{unsafe:!0});try{delete N.constructor}catch(t){}h&&h(N,_)}i({global:!0,constructor:!0,wrap:!0,forced:k},{Promise:U}),p(U,M,!1,!0),v(M)},3481:(t,r,e)=>{var n=e(15302),o=e(57442),a=e(33657),i=e(53694),u=e(71223),s=e(933),c=e(640),f=e(8888),l=e(46272),h=a&&a.prototype;if(n({target:"Promise",proto:!0,real:!0,forced:!!a&&i((function(){h.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var r=c(this,u("Promise")),e=s(t);return this.then(e?function(e){return f(r,t()).then((function(){return e}))}:t,e?function(e){return f(r,t()).then((function(){throw e}))}:t)}}),!o&&s(a)){var p=u("Promise").prototype.finally;h.finally!==p&&l(h,"finally",p,{unsafe:!0})}},95754:(t,r,e)=>{e(87229),e(57769),e(53714),e(87300),e(94126),e(70671)},87300:(t,r,e)=>{var n=e(15302),o=e(44225),a=e(93200),i=e(36935),u=e(37731),s=e(55103);n({target:"Promise",stat:!0,forced:e(43560)},{race:function(t){var r=this,e=i.f(r),n=e.reject,c=u((function(){var i=a(r.resolve);s(t,(function(t){o(i,r,t).then(e.resolve,n)}))}));return c.error&&n(c.value),e.promise}})},94126:(t,r,e)=>{var n=e(15302),o=e(44225),a=e(36935);n({target:"Promise",stat:!0,forced:e(13306).CONSTRUCTOR},{reject:function(t){var r=a.f(this);return o(r.reject,void 0,t),r.promise}})},70671:(t,r,e)=>{var n=e(15302),o=e(71223),a=e(57442),i=e(33657),u=e(13306).CONSTRUCTOR,s=e(8888),c=o("Promise"),f=a&&!u;n({target:"Promise",stat:!0,forced:a||u},{resolve:function(t){return s(f&&this===c?i:this,t)}})},29885:(t,r,e)=>{var n=e(15302),o=e(10251),a=e(93200),i=e(93536);n({target:"Reflect",stat:!0,forced:!e(53694)((function(){Reflect.apply((function(){}))}))},{apply:function(t,r,e){return o(a(t),r,i(e))}})},60388:(t,r,e)=>{var n=e(15302),o=e(71223),a=e(10251),i=e(24418),u=e(94831),s=e(93536),c=e(76913),f=e(76997),l=e(53694),h=o("Reflect","construct"),p=Object.prototype,v=[].push,g=l((function(){function t(){}return!(h((function(){}),[],t)instanceof t)})),d=!l((function(){h((function(){}))})),y=g||d;n({target:"Reflect",stat:!0,forced:y,sham:y},{construct:function(t,r){u(t),s(r);var e=arguments.length<3?t:u(arguments[2]);if(d&&!g)return h(t,r,e);if(t===e){switch(r.length){case 0:return new t;case 1:return new t(r[0]);case 2:return new t(r[0],r[1]);case 3:return new t(r[0],r[1],r[2]);case 4:return new t(r[0],r[1],r[2],r[3])}var n=[null];return a(v,n,r),new(a(i,t,n))}var o=e.prototype,l=f(c(o)?o:p),y=a(t,l,r);return c(y)?y:l}})},44731:(t,r,e)=>{var n=e(15302),o=e(26079),a=e(93536),i=e(65831),u=e(47108);n({target:"Reflect",stat:!0,forced:e(53694)((function(){Reflect.defineProperty(u.f({},1,{value:1}),1,{value:2})})),sham:!o},{defineProperty:function(t,r,e){a(t);var n=i(r);a(e);try{return u.f(t,n,e),!0}catch(t){return!1}}})},44400:(t,r,e)=>{var n=e(15302),o=e(93536),a=e(55027).f;n({target:"Reflect",stat:!0},{deleteProperty:function(t,r){var e=a(o(t),r);return!(e&&!e.configurable)&&delete t[r]}})},54738:(t,r,e)=>{var n=e(15302),o=e(26079),a=e(93536),i=e(55027);n({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(t,r){return i.f(a(t),r)}})},52469:(t,r,e)=>{var n=e(15302),o=e(93536),a=e(65024);n({target:"Reflect",stat:!0,sham:!e(30560)},{getPrototypeOf:function(t){return a(o(t))}})},17787:(t,r,e)=>{var n=e(15302),o=e(44225),a=e(76913),i=e(93536),u=e(89611),s=e(55027),c=e(65024);n({target:"Reflect",stat:!0},{get:function t(r,e){var n,f,l=arguments.length<3?r:arguments[2];return i(r)===l?r[e]:(n=s.f(r,e))?u(n)?n.value:void 0===n.get?void 0:o(n.get,l):a(f=c(r))?t(f,e,l):void 0}})},93106:(t,r,e)=>{e(15302)({target:"Reflect",stat:!0},{has:function(t,r){return r in t}})},50857:(t,r,e)=>{var n=e(15302),o=e(93536),a=e(10067);n({target:"Reflect",stat:!0},{isExtensible:function(t){return o(t),a(t)}})},46274:(t,r,e)=>{e(15302)({target:"Reflect",stat:!0},{ownKeys:e(3697)})},36006:(t,r,e)=>{var n=e(15302),o=e(71223),a=e(93536);n({target:"Reflect",stat:!0,sham:!e(52913)},{preventExtensions:function(t){a(t);try{var r=o("Object","preventExtensions");return r&&r(t),!0}catch(t){return!1}}})},18017:(t,r,e)=>{var n=e(15302),o=e(93536),a=e(98563),i=e(91403);i&&n({target:"Reflect",stat:!0},{setPrototypeOf:function(t,r){o(t),a(r);try{return i(t,r),!0}catch(t){return!1}}})},31095:(t,r,e)=>{var n=e(15302),o=e(44225),a=e(93536),i=e(76913),u=e(89611),s=e(53694),c=e(47108),f=e(55027),l=e(65024),h=e(88828);n({target:"Reflect",stat:!0,forced:s((function(){var t=function(){},r=c.f(new t,"a",{configurable:!0});return!1!==Reflect.set(t.prototype,"a",1,r)}))},{set:function t(r,e,n){var s,p,v,g=arguments.length<4?r:arguments[3],d=f.f(a(r),e);if(!d){if(i(p=l(r)))return t(p,e,n,g);d=h(0)}if(u(d)){if(!1===d.writable||!i(g))return!1;if(s=f.f(g,e)){if(s.get||s.set||!1===s.writable)return!1;s.value=n,c.f(g,e,s)}else c.f(g,e,h(0,n))}else{if(void 0===(v=d.set))return!1;o(v,g,n)}return!0}})},94267:(t,r,e)=>{var n=e(15302),o=e(77230),a=e(5411);n({global:!0},{Reflect:{}}),a(o.Reflect,"Reflect",!0)},30222:(t,r,e)=>{var n=e(26079),o=e(77230),a=e(51916),i=e(94545),u=e(68089),s=e(5399),c=e(67852).f,f=e(62346),l=e(70385),h=e(99851),p=e(4688),v=e(39154),g=e(45300),d=e(46272),y=e(53694),b=e(33225),m=e(60021).enforce,x=e(26898),w=e(97952),E=e(75021),A=e(92916),S=w("match"),O=o.RegExp,R=O.prototype,T=o.SyntaxError,I=a(R.exec),M=a("".charAt),k=a("".replace),P=a("".indexOf),j=a("".slice),C=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,L=/a/g,N=/a/g,U=new O(L)!==L,_=v.MISSED_STICKY,D=v.UNSUPPORTED_Y;if(i("RegExp",n&&(!U||_||E||A||y((function(){return N[S]=!1,O(L)!==L||O(N)===N||"/a/i"!==String(O(L,"i"))}))))){for(var F=function(t,r){var e,n,o,a,i,c,v=f(R,this),g=l(t),d=void 0===r,y=[],x=t;if(!v&&g&&d&&t.constructor===F)return t;if((g||f(R,t))&&(t=t.source,d&&(r=p(x))),t=void 0===t?"":h(t),r=void 0===r?"":h(r),x=t,E&&"dotAll"in L&&(n=!!r&&P(r,"s")>-1)&&(r=k(r,/s/g,"")),e=r,_&&"sticky"in L&&(o=!!r&&P(r,"y")>-1)&&D&&(r=k(r,/y/g,"")),A&&(a=function(t){for(var r,e=t.length,n=0,o="",a=[],i={},u=!1,s=!1,c=0,f="";n<=e;n++){if("\\"===(r=M(t,n)))r+=M(t,++n);else if("]"===r)u=!1;else if(!u)switch(!0){case"["===r:u=!0;break;case"("===r:I(C,j(t,n+1))&&(n+=2,s=!0),o+=r,c++;continue;case">"===r&&s:if(""===f||b(i,f))throw new T("Invalid capture group name");i[f]=!0,a[a.length]=[f,c],s=!1,f="";continue}s?f+=r:o+=r}return[o,a]}(t),t=a[0],y=a[1]),i=u(O(t,r),v?this:R,F),(n||o||y.length)&&(c=m(i),n&&(c.dotAll=!0,c.raw=F(function(t){for(var r,e=t.length,n=0,o="",a=!1;n<=e;n++)"\\"!==(r=M(t,n))?a||"."!==r?("["===r?a=!0:"]"===r&&(a=!1),o+=r):o+="[\\s\\S]":o+=r+M(t,++n);return o}(t),e)),o&&(c.sticky=!0),y.length&&(c.groups=y)),t!==x)try{s(i,"source",""===x?"(?:)":x)}catch(t){}return i},B=c(O),z=0;B.length>z;)g(F,O,B[z++]);R.constructor=F,F.prototype=R,d(o,"RegExp",F,{constructor:!0})}x("RegExp")},11997:(t,r,e)=>{var n=e(26079),o=e(75021),a=e(92248),i=e(11331),u=e(60021).get,s=RegExp.prototype,c=TypeError;n&&o&&i(s,"dotAll",{configurable:!0,get:function(){if(this!==s){if("RegExp"===a(this))return!!u(this).dotAll;throw c("Incompatible receiver, RegExp required")}}})},35098:(t,r,e)=>{var n=e(15302),o=e(39735);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8945:(t,r,e)=>{var n=e(77230),o=e(26079),a=e(11331),i=e(88608),u=e(53694),s=n.RegExp,c=s.prototype;o&&u((function(){var t=!0;try{s(".","d")}catch(r){t=!1}var r={},e="",n=t?"dgimsy":"gimsy",o=function(t,n){Object.defineProperty(r,t,{get:function(){return e+=n,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var i in t&&(a.hasIndices="d"),a)o(i,a[i]);return Object.getOwnPropertyDescriptor(c,"flags").get.call(r)!==n||e!==n}))&&a(c,"flags",{configurable:!0,get:i})},14845:(t,r,e)=>{var n=e(26079),o=e(39154).MISSED_STICKY,a=e(92248),i=e(11331),u=e(60021).get,s=RegExp.prototype,c=TypeError;n&&o&&i(s,"sticky",{configurable:!0,get:function(){if(this!==s){if("RegExp"===a(this))return!!u(this).sticky;throw c("Incompatible receiver, RegExp required")}}})},95130:(t,r,e)=>{e(35098);var n,o,a=e(15302),i=e(44225),u=e(933),s=e(93536),c=e(99851),f=(n=!1,(o=/[ac]/).exec=function(){return n=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&n),l=/./.test;a({target:"RegExp",proto:!0,forced:!f},{test:function(t){var r=s(this),e=c(t),n=r.exec;if(!u(n))return i(l,r,e);var o=i(n,r,e);return null!==o&&(s(o),!0)}})},6858:(t,r,e)=>{var n=e(20567).PROPER,o=e(46272),a=e(93536),i=e(99851),u=e(53694),s=e(4688),c="toString",f=RegExp.prototype[c],l=u((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),h=n&&f.name!==c;(l||h)&&o(RegExp.prototype,c,(function(){var t=a(this);return"/"+i(t.source)+"/"+i(s(t))}),{unsafe:!0})},48519:(t,r,e)=>{e(35003)("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),e(73342))},81875:(t,r,e)=>{e(48519)},61132:(t,r,e)=>{var n=e(15302),o=e(50328);n({target:"String",proto:!0,forced:e(34278)("anchor")},{anchor:function(t){return o(this,"a","name",t)}})},53585:(t,r,e)=>{var n=e(15302),o=e(51916),a=e(57105),i=e(84982),u=e(99851),s=e(53694),c=o("".charAt);n({target:"String",proto:!0,forced:s((function(){return"\ud842"!=="𠮷".at(-2)}))},{at:function(t){var r=u(a(this)),e=r.length,n=i(t),o=n>=0?n:e+n;return o<0||o>=e?void 0:c(r,o)}})},4841:(t,r,e)=>{var n=e(15302),o=e(50328);n({target:"String",proto:!0,forced:e(34278)("big")},{big:function(){return o(this,"big","","")}})},33491:(t,r,e)=>{var n=e(15302),o=e(50328);n({target:"String",proto:!0,forced:e(34278)("blink")},{blink:function(){return o(this,"blink","","")}})},78370:(t,r,e)=>{var n=e(15302),o=e(50328);n({target:"String",proto:!0,forced:e(34278)("bold")},{bold:function(){return o(this,"b","","")}})},80123:(t,r,e)=>{var n=e(15302),o=e(12370).codeAt;n({target:"String",proto:!0},{codePointAt:function(t){return o(this,t)}})},73661:(t,r,e)=>{var n,o=e(15302),a=e(58623),i=e(55027).f,u=e(96092),s=e(99851),c=e(56487),f=e(57105),l=e(80937),h=e(57442),p=a("".endsWith),v=a("".slice),g=Math.min,d=l("endsWith");o({target:"String",proto:!0,forced:!(!h&&!d&&(n=i(String.prototype,"endsWith"),n&&!n.writable)||d)},{endsWith:function(t){var r=s(f(this));c(t);var e=arguments.length>1?arguments[1]:void 0,n=r.length,o=void 0===e?n:g(u(e),n),a=s(t);return p?p(r,a,o):v(r,o-a.length,o)===a}})},88593:(t,r,e)=>{var n=e(15302),o=e(50328);n({target:"String",proto:!0,forced:e(34278)("fixed")},{fixed:function(){return o(this,"tt","","")}})},15391:(t,r,e)=>{var n=e(15302),o=e(50328);n({target:"String",proto:!0,forced:e(34278)("fontcolor")},{fontcolor:function(t){return o(this,"font","color",t)}})},22297:(t,r,e)=>{var n=e(15302),o=e(50328);n({target:"String",proto:!0,forced:e(34278)("fontsize")},{fontsize:function(t){return o(this,"font","size",t)}})},34919:(t,r,e)=>{var n=e(15302),o=e(51916),a=e(62966),i=RangeError,u=String.fromCharCode,s=String.fromCodePoint,c=o([].join);n({target:"String",stat:!0,arity:1,forced:!!s&&1!==s.length},{fromCodePoint:function(t){for(var r,e=[],n=arguments.length,o=0;n>o;){if(r=+arguments[o++],a(r,1114111)!==r)throw i(r+" is not a valid code point");e[o]=r<65536?u(r):u(55296+((r-=65536)>>10),r%1024+56320)}return c(e,"")}})},49470:(t,r,e)=>{var n=e(15302),o=e(51916),a=e(56487),i=e(57105),u=e(99851),s=e(80937),c=o("".indexOf);n({target:"String",proto:!0,forced:!s("includes")},{includes:function(t){return!!~c(u(i(this)),u(a(t)),arguments.length>1?arguments[1]:void 0)}})},36299:(t,r,e)=>{var n=e(15302),o=e(51916),a=e(57105),i=e(99851),u=o("".charCodeAt);n({target:"String",proto:!0},{isWellFormed:function(){for(var t=i(a(this)),r=t.length,e=0;e<r;e++){var n=u(t,e);if(55296==(63488&n)&&(n>=56320||++e>=r||56320!=(64512&u(t,e))))return!1}return!0}})},98164:(t,r,e)=>{var n=e(15302),o=e(50328);n({target:"String",proto:!0,forced:e(34278)("italics")},{italics:function(){return o(this,"i","","")}})},30270:(t,r,e)=>{var n=e(12370).charAt,o=e(99851),a=e(60021),i=e(62061),u=e(47822),s="String Iterator",c=a.set,f=a.getterFor(s);i(String,"String",(function(t){c(this,{type:s,string:o(t),index:0})}),(function(){var t,r=f(this),e=r.string,o=r.index;return o>=e.length?u(void 0,!0):(t=n(e,o),r.index+=t.length,u(t,!1))}))},69621:(t,r,e)=>{var n=e(15302),o=e(50328);n({target:"String",proto:!0,forced:e(34278)("link")},{link:function(t){return o(this,"a","href",t)}})},99412:(t,r,e)=>{var n=e(15302),o=e(44225),a=e(58623),i=e(13718),u=e(47822),s=e(57105),c=e(96092),f=e(99851),l=e(93536),h=e(76623),p=e(92248),v=e(70385),g=e(4688),d=e(95048),y=e(46272),b=e(53694),m=e(97952),x=e(640),w=e(73264),E=e(55731),A=e(60021),S=e(57442),O=m("matchAll"),R="RegExp String",T=R+" Iterator",I=A.set,M=A.getterFor(T),k=RegExp.prototype,P=TypeError,j=a("".indexOf),C=a("".matchAll),L=!!C&&!b((function(){C("a",/./)})),N=i((function(t,r,e,n){I(this,{type:T,regexp:t,string:r,global:e,unicode:n,done:!1})}),R,(function(){var t=M(this);if(t.done)return u(void 0,!0);var r=t.regexp,e=t.string,n=E(r,e);return null===n?(t.done=!0,u(void 0,!0)):t.global?(""===f(n[0])&&(r.lastIndex=w(e,c(r.lastIndex),t.unicode)),u(n,!1)):(t.done=!0,u(n,!1))})),U=function(t){var r,e,n,o=l(this),a=f(t),i=x(o,RegExp),u=f(g(o));return r=new i(i===RegExp?o.source:o,u),e=!!~j(u,"g"),n=!!~j(u,"u"),r.lastIndex=c(o.lastIndex),new N(r,a,e,n)};n({target:"String",proto:!0,forced:L},{matchAll:function(t){var r,e,n,a,i=s(this);if(h(t)){if(L)return C(i,t)}else{if(v(t)&&(r=f(s(g(t))),!~j(r,"g")))throw P("`.matchAll` does not allow non-global regexes");if(L)return C(i,t);if(void 0===(n=d(t,O))&&S&&"RegExp"===p(t)&&(n=U),n)return o(n,t,i)}return e=f(i),a=new RegExp(t,"g"),S?o(U,a,e):a[O](e)}}),S||O in k||y(k,O,U)},71237:(t,r,e)=>{var n=e(44225),o=e(54430),a=e(93536),i=e(76623),u=e(96092),s=e(99851),c=e(57105),f=e(95048),l=e(73264),h=e(55731);o("match",(function(t,r,e){return[function(r){var e=c(this),o=i(r)?void 0:f(r,t);return o?n(o,r,e):new RegExp(r)[t](s(e))},function(t){var n=a(this),o=s(t),i=e(r,n,o);if(i.done)return i.value;if(!n.global)return h(n,o);var c=n.unicode;n.lastIndex=0;for(var f,p=[],v=0;null!==(f=h(n,o));){var g=s(f[0]);p[v]=g,""===g&&(n.lastIndex=l(o,u(n.lastIndex),c)),v++}return 0===v?null:p}]}))},26842:(t,r,e)=>{var n=e(15302),o=e(21984).end;n({target:"String",proto:!0,forced:e(82374)},{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},20124:(t,r,e)=>{var n=e(15302),o=e(21984).start;n({target:"String",proto:!0,forced:e(82374)},{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},91668:(t,r,e)=>{var n=e(15302),o=e(51916),a=e(9164),i=e(20987),u=e(99851),s=e(71646),c=o([].push),f=o([].join);n({target:"String",stat:!0},{raw:function(t){var r=a(i(t).raw),e=s(r);if(!e)return"";for(var n=arguments.length,o=[],l=0;;){if(c(o,u(r[l++])),l===e)return f(o,"");l<n&&c(o,u(arguments[l]))}}})},35536:(t,r,e)=>{e(15302)({target:"String",proto:!0},{repeat:e(97710)})},76754:(t,r,e)=>{var n=e(15302),o=e(44225),a=e(51916),i=e(57105),u=e(933),s=e(76623),c=e(70385),f=e(99851),l=e(95048),h=e(4688),p=e(66968),v=e(97952),g=e(57442),d=v("replace"),y=TypeError,b=a("".indexOf),m=a("".replace),x=a("".slice),w=Math.max,E=function(t,r,e){return e>t.length?-1:""===r?e:b(t,r,e)};n({target:"String",proto:!0},{replaceAll:function(t,r){var e,n,a,v,A,S,O,R,T,I=i(this),M=0,k=0,P="";if(!s(t)){if((e=c(t))&&(n=f(i(h(t))),!~b(n,"g")))throw y("`.replaceAll` does not allow non-global regexes");if(a=l(t,d))return o(a,t,I,r);if(g&&e)return m(f(I),t,r)}for(v=f(I),A=f(t),(S=u(r))||(r=f(r)),O=A.length,R=w(1,O),M=E(v,A,0);-1!==M;)T=S?f(r(A,M,v)):p(A,v,M,[],void 0,r),P+=x(v,k,M)+T,k=M+O,M=E(v,A,M+R);return k<v.length&&(P+=x(v,k)),P}})},99544:(t,r,e)=>{var n=e(10251),o=e(44225),a=e(51916),i=e(54430),u=e(53694),s=e(93536),c=e(933),f=e(76623),l=e(84982),h=e(96092),p=e(99851),v=e(57105),g=e(73264),d=e(95048),y=e(66968),b=e(55731),m=e(97952)("replace"),x=Math.max,w=Math.min,E=a([].concat),A=a([].push),S=a("".indexOf),O=a("".slice),R="$0"==="a".replace(/./,"$0"),T=!!/./[m]&&""===/./[m]("a","$0");i("replace",(function(t,r,e){var a=T?"$":"$0";return[function(t,e){var n=v(this),a=f(t)?void 0:d(t,m);return a?o(a,t,n,e):o(r,p(n),t,e)},function(t,o){var i=s(this),u=p(t);if("string"==typeof o&&-1===S(o,a)&&-1===S(o,"$<")){var f=e(r,i,u,o);if(f.done)return f.value}var v=c(o);v||(o=p(o));var d,m=i.global;m&&(d=i.unicode,i.lastIndex=0);for(var R,T=[];null!==(R=b(i,u))&&(A(T,R),m);)""===p(R[0])&&(i.lastIndex=g(u,h(i.lastIndex),d));for(var I,M="",k=0,P=0;P<T.length;P++){for(var j,C=p((R=T[P])[0]),L=x(w(l(R.index),u.length),0),N=[],U=1;U<R.length;U++)A(N,void 0===(I=R[U])?I:String(I));var _=R.groups;if(v){var D=E([C],N,L,u);void 0!==_&&A(D,_),j=p(n(o,void 0,D))}else j=y(C,u,L,N,_,o);L>=k&&(M+=O(u,k,L)+j,k=L+C.length)}return M+O(u,k)}]}),!!u((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!R||T)},62026:(t,r,e)=>{var n=e(44225),o=e(54430),a=e(93536),i=e(76623),u=e(57105),s=e(51262),c=e(99851),f=e(95048),l=e(55731);o("search",(function(t,r,e){return[function(r){var e=u(this),o=i(r)?void 0:f(r,t);return o?n(o,r,e):new RegExp(r)[t](c(e))},function(t){var n=a(this),o=c(t),i=e(r,n,o);if(i.done)return i.value;var u=n.lastIndex;s(u,0)||(n.lastIndex=0);var f=l(n,o);return s(n.lastIndex,u)||(n.lastIndex=u),null===f?-1:f.index}]}))},78521:(t,r,e)=>{var n=e(15302),o=e(50328);n({target:"String",proto:!0,forced:e(34278)("small")},{small:function(){return o(this,"small","","")}})},7807:(t,r,e)=>{var n=e(10251),o=e(44225),a=e(51916),i=e(54430),u=e(93536),s=e(76623),c=e(70385),f=e(57105),l=e(640),h=e(73264),p=e(96092),v=e(99851),g=e(95048),d=e(70696),y=e(55731),b=e(39735),m=e(39154),x=e(53694),w=m.UNSUPPORTED_Y,E=4294967295,A=Math.min,S=[].push,O=a(/./.exec),R=a(S),T=a("".slice);i("split",(function(t,r,e){var a;return a="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,e){var a=v(f(this)),i=void 0===e?E:e>>>0;if(0===i)return[];if(void 0===t)return[a];if(!c(t))return o(r,a,t,i);for(var u,s,l,h=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),g=0,y=new RegExp(t.source,p+"g");(u=o(b,y,a))&&!((s=y.lastIndex)>g&&(R(h,T(a,g,u.index)),u.length>1&&u.index<a.length&&n(S,h,d(u,1)),l=u[0].length,g=s,h.length>=i));)y.lastIndex===u.index&&y.lastIndex++;return g===a.length?!l&&O(y,"")||R(h,""):R(h,T(a,g)),h.length>i?d(h,0,i):h}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:o(r,this,t,e)}:r,[function(r,e){var n=f(this),i=s(r)?void 0:g(r,t);return i?o(i,r,n,e):o(a,v(n),r,e)},function(t,n){var o=u(this),i=v(t),s=e(a,o,i,n,a!==r);if(s.done)return s.value;var c=l(o,RegExp),f=o.unicode,g=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(w?"g":"y"),d=new c(w?"^(?:"+o.source+")":o,g),b=void 0===n?E:n>>>0;if(0===b)return[];if(0===i.length)return null===y(d,i)?[i]:[];for(var m=0,x=0,S=[];x<i.length;){d.lastIndex=w?0:x;var O,I=y(d,w?T(i,x):i);if(null===I||(O=A(p(d.lastIndex+(w?x:0)),i.length))===m)x=h(i,x,f);else{if(R(S,T(i,m,x)),S.length===b)return S;for(var M=1;M<=I.length-1;M++)if(R(S,I[M]),S.length===b)return S;x=m=O}}return R(S,T(i,m)),S}]}),!!x((function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"b"!==e[1]})),w)},60217:(t,r,e)=>{var n,o=e(15302),a=e(58623),i=e(55027).f,u=e(96092),s=e(99851),c=e(56487),f=e(57105),l=e(80937),h=e(57442),p=a("".startsWith),v=a("".slice),g=Math.min,d=l("startsWith");o({target:"String",proto:!0,forced:!(!h&&!d&&(n=i(String.prototype,"startsWith"),n&&!n.writable)||d)},{startsWith:function(t){var r=s(f(this));c(t);var e=u(g(arguments.length>1?arguments[1]:void 0,r.length)),n=s(t);return p?p(r,n,e):v(r,e,e+n.length)===n}})},73528:(t,r,e)=>{var n=e(15302),o=e(50328);n({target:"String",proto:!0,forced:e(34278)("strike")},{strike:function(){return o(this,"strike","","")}})},69008:(t,r,e)=>{var n=e(15302),o=e(50328);n({target:"String",proto:!0,forced:e(34278)("sub")},{sub:function(){return o(this,"sub","","")}})},72686:(t,r,e)=>{var n=e(15302),o=e(51916),a=e(57105),i=e(84982),u=e(99851),s=o("".slice),c=Math.max,f=Math.min;n({target:"String",proto:!0,forced:!"".substr||"b"!=="ab".substr(-1)},{substr:function(t,r){var e,n,o=u(a(this)),l=o.length,h=i(t);return h===1/0&&(h=0),h<0&&(h=c(l+h,0)),(e=void 0===r?l:i(r))<=0||e===1/0||h>=(n=f(h+e,l))?"":s(o,h,n)}})},85867:(t,r,e)=>{var n=e(15302),o=e(50328);n({target:"String",proto:!0,forced:e(34278)("sup")},{sup:function(){return o(this,"sup","","")}})},28360:(t,r,e)=>{var n=e(15302),o=e(44225),a=e(51916),i=e(57105),u=e(99851),s=e(53694),c=Array,f=a("".charAt),l=a("".charCodeAt),h=a([].join),p="".toWellFormed,v=p&&s((function(){return"1"!==o(p,1)}));n({target:"String",proto:!0,forced:v},{toWellFormed:function(){var t=u(i(this));if(v)return o(p,t);for(var r=t.length,e=c(r),n=0;n<r;n++){var a=l(t,n);55296!=(63488&a)?e[n]=f(t,n):a>=56320||n+1>=r||56320!=(64512&l(t,n+1))?e[n]="�":(e[n]=f(t,n),e[++n]=f(t,n))}return h(e,"")}})},91164:(t,r,e)=>{e(76798);var n=e(15302),o=e(30053);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==o},{trimEnd:o})},47230:(t,r,e)=>{var n=e(15302),o=e(38385);n({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==o},{trimLeft:o})},76798:(t,r,e)=>{var n=e(15302),o=e(30053);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==o},{trimRight:o})},11910:(t,r,e)=>{e(47230);var n=e(15302),o=e(38385);n({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==o},{trimStart:o})},60200:(t,r,e)=>{var n=e(15302),o=e(17011).trim;n({target:"String",proto:!0,forced:e(80511)("trim")},{trim:function(){return o(this)}})},38878:(t,r,e)=>{e(31725)("asyncIterator")},88087:(t,r,e)=>{var n=e(15302),o=e(77230),a=e(44225),i=e(51916),u=e(57442),s=e(26079),c=e(44146),f=e(53694),l=e(33225),h=e(62346),p=e(93536),v=e(9164),g=e(65831),d=e(99851),y=e(88828),b=e(76997),m=e(86127),x=e(67852),w=e(43959),E=e(7375),A=e(55027),S=e(47108),O=e(27673),R=e(25486),T=e(46272),I=e(11331),M=e(33268),k=e(375),P=e(97076),j=e(14525),C=e(97952),L=e(63081),N=e(31725),U=e(88252),_=e(5411),D=e(60021),F=e(1569).forEach,B=k("hidden"),z="Symbol",W="prototype",V=D.set,H=D.getterFor(z),q=Object[W],G=o.Symbol,Y=G&&G[W],$=o.TypeError,K=o.QObject,J=A.f,X=S.f,Q=w.f,Z=R.f,tt=i([].push),rt=M("symbols"),et=M("op-symbols"),nt=M("wks"),ot=!K||!K[W]||!K[W].findChild,at=s&&f((function(){return 7!==b(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(t,r,e){var n=J(q,r);n&&delete q[r],X(t,r,e),n&&t!==q&&X(q,r,n)}:X,it=function(t,r){var e=rt[t]=b(Y);return V(e,{type:z,tag:t,description:r}),s||(e.description=r),e},ut=function(t,r,e){t===q&&ut(et,r,e),p(t);var n=g(r);return p(e),l(rt,n)?(e.enumerable?(l(t,B)&&t[B][n]&&(t[B][n]=!1),e=b(e,{enumerable:y(0,!1)})):(l(t,B)||X(t,B,y(1,{})),t[B][n]=!0),at(t,n,e)):X(t,n,e)},st=function(t,r){p(t);var e=v(r),n=m(e).concat(ht(e));return F(n,(function(r){s&&!a(ct,e,r)||ut(t,r,e[r])})),t},ct=function(t){var r=g(t),e=a(Z,this,r);return!(this===q&&l(rt,r)&&!l(et,r))&&(!(e||!l(this,r)||!l(rt,r)||l(this,B)&&this[B][r])||e)},ft=function(t,r){var e=v(t),n=g(r);if(e!==q||!l(rt,n)||l(et,n)){var o=J(e,n);return!o||!l(rt,n)||l(e,B)&&e[B][n]||(o.enumerable=!0),o}},lt=function(t){var r=Q(v(t)),e=[];return F(r,(function(t){l(rt,t)||l(P,t)||tt(e,t)})),e},ht=function(t){var r=t===q,e=Q(r?et:v(t)),n=[];return F(e,(function(t){!l(rt,t)||r&&!l(q,t)||tt(n,rt[t])})),n};c||(T(Y=(G=function(){if(h(Y,this))throw $("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?d(arguments[0]):void 0,r=j(t),e=function(t){this===q&&a(e,et,t),l(this,B)&&l(this[B],r)&&(this[B][r]=!1),at(this,r,y(1,t))};return s&&ot&&at(q,r,{configurable:!0,set:e}),it(r,t)})[W],"toString",(function(){return H(this).tag})),T(G,"withoutSetter",(function(t){return it(j(t),t)})),R.f=ct,S.f=ut,O.f=st,A.f=ft,x.f=w.f=lt,E.f=ht,L.f=function(t){return it(C(t),t)},s&&(I(Y,"description",{configurable:!0,get:function(){return H(this).description}}),u||T(q,"propertyIsEnumerable",ct,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:G}),F(m(nt),(function(t){N(t)})),n({target:z,stat:!0,forced:!c},{useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(t,r){return void 0===r?b(t):st(b(t),r)},defineProperty:ut,defineProperties:st,getOwnPropertyDescriptor:ft}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:lt}),U(),_(G,z),P[B]=!0},83373:(t,r,e)=>{var n=e(15302),o=e(26079),a=e(77230),i=e(51916),u=e(33225),s=e(933),c=e(62346),f=e(99851),l=e(11331),h=e(21831),p=a.Symbol,v=p&&p.prototype;if(o&&s(p)&&(!("description"in v)||void 0!==p().description)){var g={},d=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),r=c(v,this)?new p(t):void 0===t?p():p(t);return""===t&&(g[r]=!0),r};h(d,p),d.prototype=v,v.constructor=d;var y="Symbol(description detection)"===String(p("description detection")),b=i(v.valueOf),m=i(v.toString),x=/^Symbol\((.*)\)[^)]+$/,w=i("".replace),E=i("".slice);l(v,"description",{configurable:!0,get:function(){var t=b(this);if(u(g,t))return"";var r=m(t),e=y?E(r,7,-1):w(r,x,"$1");return""===e?void 0:e}}),n({global:!0,constructor:!0,forced:!0},{Symbol:d})}},22414:(t,r,e)=>{var n=e(15302),o=e(71223),a=e(33225),i=e(99851),u=e(33268),s=e(19063),c=u("string-to-symbol-registry"),f=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!s},{for:function(t){var r=i(t);if(a(c,r))return c[r];var e=o("Symbol")(r);return c[r]=e,f[e]=r,e}})},6478:(t,r,e)=>{e(31725)("hasInstance")},66040:(t,r,e)=>{e(31725)("isConcatSpreadable")},71881:(t,r,e)=>{e(31725)("iterator")},38689:(t,r,e)=>{e(88087),e(22414),e(39257),e(34546),e(27808)},39257:(t,r,e)=>{var n=e(15302),o=e(33225),a=e(77581),i=e(70321),u=e(33268),s=e(19063),c=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!s},{keyFor:function(t){if(!a(t))throw TypeError(i(t)+" is not a symbol");if(o(c,t))return c[t]}})},86582:(t,r,e)=>{e(31725)("matchAll")},21860:(t,r,e)=>{e(31725)("match")},40034:(t,r,e)=>{e(31725)("replace")},5058:(t,r,e)=>{e(31725)("search")},61397:(t,r,e)=>{e(31725)("species")},4396:(t,r,e)=>{e(31725)("split")},49351:(t,r,e)=>{var n=e(31725),o=e(88252);n("toPrimitive"),o()},79818:(t,r,e)=>{var n=e(71223),o=e(31725),a=e(5411);o("toStringTag"),a(n("Symbol"),"Symbol")},68685:(t,r,e)=>{e(31725)("unscopables")},769:(t,r,e)=>{var n=e(67740),o=e(71646),a=e(84982),i=n.aTypedArray;(0,n.exportTypedArrayMethod)("at",(function(t){var r=i(this),e=o(r),n=a(t),u=n>=0?n:e+n;return u<0||u>=e?void 0:r[u]}))},92152:(t,r,e)=>{var n=e(51916),o=e(67740),a=n(e(38012)),i=o.aTypedArray;(0,o.exportTypedArrayMethod)("copyWithin",(function(t,r){return a(i(this),t,r,arguments.length>2?arguments[2]:void 0)}))},13294:(t,r,e)=>{var n=e(67740),o=e(1569).every,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("every",(function(t){return o(a(this),t,arguments.length>1?arguments[1]:void 0)}))},51615:(t,r,e)=>{var n=e(67740),o=e(30240),a=e(9234),i=e(40996),u=e(44225),s=e(51916),c=e(53694),f=n.aTypedArray,l=n.exportTypedArrayMethod,h=s("".slice);l("fill",(function(t){var r=arguments.length;f(this);var e="Big"===h(i(this),0,3)?a(t):+t;return u(o,this,e,r>1?arguments[1]:void 0,r>2?arguments[2]:void 0)}),c((function(){var t=0;return new Int8Array(2).fill({valueOf:function(){return t++}}),1!==t})))},41157:(t,r,e)=>{var n=e(67740),o=e(1569).filter,a=e(46425),i=n.aTypedArray;(0,n.exportTypedArrayMethod)("filter",(function(t){var r=o(i(this),t,arguments.length>1?arguments[1]:void 0);return a(this,r)}))},3083:(t,r,e)=>{var n=e(67740),o=e(1569).findIndex,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("findIndex",(function(t){return o(a(this),t,arguments.length>1?arguments[1]:void 0)}))},25432:(t,r,e)=>{var n=e(67740),o=e(6126).findLastIndex,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLastIndex",(function(t){return o(a(this),t,arguments.length>1?arguments[1]:void 0)}))},18742:(t,r,e)=>{var n=e(67740),o=e(6126).findLast,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLast",(function(t){return o(a(this),t,arguments.length>1?arguments[1]:void 0)}))},40472:(t,r,e)=>{var n=e(67740),o=e(1569).find,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("find",(function(t){return o(a(this),t,arguments.length>1?arguments[1]:void 0)}))},68950:(t,r,e)=>{e(48298)("Float32",(function(t){return function(r,e,n){return t(this,r,e,n)}}))},13945:(t,r,e)=>{e(48298)("Float64",(function(t){return function(r,e,n){return t(this,r,e,n)}}))},72906:(t,r,e)=>{var n=e(67740),o=e(1569).forEach,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("forEach",(function(t){o(a(this),t,arguments.length>1?arguments[1]:void 0)}))},55892:(t,r,e)=>{var n=e(63462);(0,e(67740).exportTypedArrayStaticMethod)("from",e(39740),n)},26959:(t,r,e)=>{var n=e(67740),o=e(17945).includes,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("includes",(function(t){return o(a(this),t,arguments.length>1?arguments[1]:void 0)}))},89293:(t,r,e)=>{var n=e(67740),o=e(17945).indexOf,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("indexOf",(function(t){return o(a(this),t,arguments.length>1?arguments[1]:void 0)}))},958:(t,r,e)=>{e(48298)("Int16",(function(t){return function(r,e,n){return t(this,r,e,n)}}))},50834:(t,r,e)=>{e(48298)("Int32",(function(t){return function(r,e,n){return t(this,r,e,n)}}))},7923:(t,r,e)=>{e(48298)("Int8",(function(t){return function(r,e,n){return t(this,r,e,n)}}))},78723:(t,r,e)=>{var n=e(77230),o=e(53694),a=e(51916),i=e(67740),u=e(84836),s=e(97952)("iterator"),c=n.Uint8Array,f=a(u.values),l=a(u.keys),h=a(u.entries),p=i.aTypedArray,v=i.exportTypedArrayMethod,g=c&&c.prototype,d=!o((function(){g[s].call([1])})),y=!!g&&g.values&&g[s]===g.values&&"values"===g.values.name,b=function(){return f(p(this))};v("entries",(function(){return h(p(this))}),d),v("keys",(function(){return l(p(this))}),d),v("values",b,d||!y,{name:"values"}),v(s,b,d||!y,{name:"values"})},28951:(t,r,e)=>{var n=e(67740),o=e(51916),a=n.aTypedArray,i=n.exportTypedArrayMethod,u=o([].join);i("join",(function(t){return u(a(this),t)}))},67230:(t,r,e)=>{var n=e(67740),o=e(10251),a=e(73604),i=n.aTypedArray;(0,n.exportTypedArrayMethod)("lastIndexOf",(function(t){var r=arguments.length;return o(a,i(this),r>1?[t,arguments[1]]:[t])}))},82566:(t,r,e)=>{var n=e(67740),o=e(1569).map,a=e(44647),i=n.aTypedArray;(0,n.exportTypedArrayMethod)("map",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0,(function(t,r){return new(a(t))(r)}))}))},68234:(t,r,e)=>{var n=e(67740),o=e(63462),a=n.aTypedArrayConstructor;(0,n.exportTypedArrayStaticMethod)("of",(function(){for(var t=0,r=arguments.length,e=new(a(this))(r);r>t;)e[t]=arguments[t++];return e}),o)},58131:(t,r,e)=>{var n=e(67740),o=e(28605).right,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduceRight",(function(t){var r=arguments.length;return o(a(this),t,r,r>1?arguments[1]:void 0)}))},96289:(t,r,e)=>{var n=e(67740),o=e(28605).left,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduce",(function(t){var r=arguments.length;return o(a(this),t,r,r>1?arguments[1]:void 0)}))},28660:(t,r,e)=>{var n=e(67740),o=n.aTypedArray,a=n.exportTypedArrayMethod,i=Math.floor;a("reverse",(function(){for(var t,r=this,e=o(r).length,n=i(e/2),a=0;a<n;)t=r[a],r[a++]=r[--e],r[e]=t;return r}))},9199:(t,r,e)=>{var n=e(77230),o=e(44225),a=e(67740),i=e(71646),u=e(11302),s=e(20987),c=e(53694),f=n.RangeError,l=n.Int8Array,h=l&&l.prototype,p=h&&h.set,v=a.aTypedArray,g=a.exportTypedArrayMethod,d=!c((function(){var t=new Uint8ClampedArray(2);return o(p,t,{length:1,0:3},1),3!==t[1]})),y=d&&a.NATIVE_ARRAY_BUFFER_VIEWS&&c((function(){var t=new l(2);return t.set(1),t.set("2",1),0!==t[0]||2!==t[1]}));g("set",(function(t){v(this);var r=u(arguments.length>1?arguments[1]:void 0,1),e=s(t);if(d)return o(p,this,e,r);var n=this.length,a=i(e),c=0;if(a+r>n)throw f("Wrong length");for(;c<a;)this[r+c]=e[c++]}),!d||y)},51378:(t,r,e)=>{var n=e(67740),o=e(44647),a=e(53694),i=e(69663),u=n.aTypedArray;(0,n.exportTypedArrayMethod)("slice",(function(t,r){for(var e=i(u(this),t,r),n=o(this),a=0,s=e.length,c=new n(s);s>a;)c[a]=e[a++];return c}),a((function(){new Int8Array(1).slice()})))},19319:(t,r,e)=>{var n=e(67740),o=e(1569).some,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("some",(function(t){return o(a(this),t,arguments.length>1?arguments[1]:void 0)}))},52895:(t,r,e)=>{var n=e(77230),o=e(58623),a=e(53694),i=e(93200),u=e(68813),s=e(67740),c=e(41346),f=e(17636),l=e(67806),h=e(47041),p=s.aTypedArray,v=s.exportTypedArrayMethod,g=n.Uint16Array,d=g&&o(g.prototype.sort),y=!(!d||a((function(){d(new g(2),null)}))&&a((function(){d(new g(2),{})}))),b=!!d&&!a((function(){if(l)return l<74;if(c)return c<67;if(f)return!0;if(h)return h<602;var t,r,e=new g(516),n=Array(516);for(t=0;t<516;t++)r=t%4,e[t]=515-t,n[t]=t-2*r+3;for(d(e,(function(t,r){return(t/4|0)-(r/4|0)})),t=0;t<516;t++)if(e[t]!==n[t])return!0}));v("sort",(function(t){return void 0!==t&&i(t),b?d(this,t):u(p(this),function(t){return function(r,e){return void 0!==t?+t(r,e)||0:e!=e?-1:r!=r?1:0===r&&0===e?1/r>0&&1/e<0?1:-1:r>e}}(t))}),!b||y)},32336:(t,r,e)=>{var n=e(67740),o=e(96092),a=e(62966),i=e(44647),u=n.aTypedArray;(0,n.exportTypedArrayMethod)("subarray",(function(t,r){var e=u(this),n=e.length,s=a(t,n);return new(i(e))(e.buffer,e.byteOffset+s*e.BYTES_PER_ELEMENT,o((void 0===r?n:a(r,n))-s))}))},40727:(t,r,e)=>{var n=e(77230),o=e(10251),a=e(67740),i=e(53694),u=e(69663),s=n.Int8Array,c=a.aTypedArray,f=a.exportTypedArrayMethod,l=[].toLocaleString,h=!!s&&i((function(){l.call(new s(1))}));f("toLocaleString",(function(){return o(l,h?u(c(this)):c(this),u(arguments))}),i((function(){return[1,2].toLocaleString()!==new s([1,2]).toLocaleString()}))||!i((function(){s.prototype.toLocaleString.call([1,2])})))},65267:(t,r,e)=>{var n=e(77326),o=e(67740),a=o.aTypedArray,i=o.exportTypedArrayMethod,u=o.getTypedArrayConstructor;i("toReversed",(function(){return n(a(this),u(this))}))},47966:(t,r,e)=>{var n=e(67740),o=e(51916),a=e(93200),i=e(37004),u=n.aTypedArray,s=n.getTypedArrayConstructor,c=n.exportTypedArrayMethod,f=o(n.TypedArrayPrototype.sort);c("toSorted",(function(t){void 0!==t&&a(t);var r=u(this),e=i(s(r),r);return f(e,t)}))},22112:(t,r,e)=>{var n=e(67740).exportTypedArrayMethod,o=e(53694),a=e(77230),i=e(51916),u=a.Uint8Array,s=u&&u.prototype||{},c=[].toString,f=i([].join);o((function(){c.call({})}))&&(c=function(){return f(this)});var l=s.toString!==c;n("toString",c,l)},25631:(t,r,e)=>{e(48298)("Uint16",(function(t){return function(r,e,n){return t(this,r,e,n)}}))},99359:(t,r,e)=>{e(48298)("Uint32",(function(t){return function(r,e,n){return t(this,r,e,n)}}))},4398:(t,r,e)=>{e(48298)("Uint8",(function(t){return function(r,e,n){return t(this,r,e,n)}}))},9028:(t,r,e)=>{e(48298)("Uint8",(function(t){return function(r,e,n){return t(this,r,e,n)}}),!0)},56416:(t,r,e)=>{var n=e(88718),o=e(67740),a=e(45168),i=e(84982),u=e(9234),s=o.aTypedArray,c=o.getTypedArrayConstructor,f=o.exportTypedArrayMethod,l=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(t){return 8===t}}();f("with",{with:function(t,r){var e=s(this),o=i(t),f=a(e)?u(r):+r;return n(e,c(e),o,f)}}.with,!l)},10024:(t,r,e)=>{var n=e(15302),o=e(51916),a=e(99851),i=String.fromCharCode,u=o("".charAt),s=o(/./.exec),c=o("".slice),f=/^[\da-f]{2}$/i,l=/^[\da-f]{4}$/i;n({global:!0},{unescape:function(t){for(var r,e,n=a(t),o="",h=n.length,p=0;p<h;){if("%"===(r=u(n,p++)))if("u"===u(n,p)){if(e=c(n,p+1,p+5),s(l,e)){o+=i(parseInt(e,16)),p+=5;continue}}else if(e=c(n,p,p+2),s(f,e)){o+=i(parseInt(e,16)),p+=2;continue}o+=r}return o}})},98093:(t,r,e)=>{var n,o=e(52913),a=e(77230),i=e(51916),u=e(28278),s=e(43792),c=e(35003),f=e(32744),l=e(76913),h=e(60021).enforce,p=e(53694),v=e(86934),g=Object,d=Array.isArray,y=g.isExtensible,b=g.isFrozen,m=g.isSealed,x=g.freeze,w=g.seal,E={},A={},S=!a.ActiveXObject&&"ActiveXObject"in a,O=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},R=c("WeakMap",O,f),T=R.prototype,I=i(T.set);if(v)if(S){n=f.getConstructor(O,"WeakMap",!0),s.enable();var M=i(T.delete),k=i(T.has),P=i(T.get);u(T,{delete:function(t){if(l(t)&&!y(t)){var r=h(this);return r.frozen||(r.frozen=new n),M(this,t)||r.frozen.delete(t)}return M(this,t)},has:function(t){if(l(t)&&!y(t)){var r=h(this);return r.frozen||(r.frozen=new n),k(this,t)||r.frozen.has(t)}return k(this,t)},get:function(t){if(l(t)&&!y(t)){var r=h(this);return r.frozen||(r.frozen=new n),k(this,t)?P(this,t):r.frozen.get(t)}return P(this,t)},set:function(t,r){if(l(t)&&!y(t)){var e=h(this);e.frozen||(e.frozen=new n),k(this,t)?I(this,t,r):e.frozen.set(t,r)}else I(this,t,r);return this}})}else o&&p((function(){var t=x([]);return I(new R,t,1),!b(t)}))&&u(T,{set:function(t,r){var e;return d(t)&&(b(t)?e=E:m(t)&&(e=A)),I(this,t,r),e===E&&x(t),e===A&&w(t),this}})},94470:(t,r,e)=>{e(98093)},24057:(t,r,e)=>{e(35003)("WeakSet",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),e(32744))},9509:(t,r,e)=>{e(24057)},21376:(t,r,e)=>{var n=e(15302),o=e(77230),a=e(71223),i=e(51916),u=e(44225),s=e(53694),c=e(99851),f=e(33225),l=e(2234),h=e(50673).ctoi,p=/[^\d+/a-z]/i,v=/[\t\n\f\r ]+/g,g=/[=]{1,2}$/,d=a("atob"),y=String.fromCharCode,b=i("".charAt),m=i("".replace),x=i(p.exec),w=s((function(){return""!==d(" ")})),E=!s((function(){d("a")})),A=!w&&!E&&!s((function(){d()})),S=!w&&!E&&1!==d.length;n({global:!0,bind:!0,enumerable:!0,forced:w||E||A||S},{atob:function(t){if(l(arguments.length,1),A||S)return u(d,o,t);var r,e,n=m(c(t),v,""),i="",s=0,w=0;if(n.length%4==0&&(n=m(n,g,"")),n.length%4==1||x(p,n))throw new(a("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;r=b(n,s++);)f(h,r)&&(e=w%4?64*e+h[r]:h[r],w++%4&&(i+=y(255&e>>(-2*w&6))));return i}})},95844:(t,r,e)=>{var n=e(15302),o=e(77230),a=e(71223),i=e(51916),u=e(44225),s=e(53694),c=e(99851),f=e(2234),l=e(50673).itoc,h=a("btoa"),p=i("".charAt),v=i("".charCodeAt),g=!!h&&!s((function(){h()})),d=!!h&&s((function(){return"bnVsbA=="!==h(null)})),y=!!h&&1!==h.length;n({global:!0,bind:!0,enumerable:!0,forced:g||d||y},{btoa:function(t){if(f(arguments.length,1),g||d||y)return u(h,o,c(t));for(var r,e,n=c(t),i="",s=0,b=l;p(n,s)||(b="=",s%1);){if((e=v(n,s+=3/4))>255)throw new(a("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");i+=p(b,63&(r=r<<8|e)>>8-s%1*8)}return i}})},67901:(t,r,e)=>{var n=e(15302),o=e(77230),a=e(17823).clear;n({global:!0,bind:!0,enumerable:!0,forced:o.clearImmediate!==a},{clearImmediate:a})},60570:(t,r,e)=>{var n=e(77230),o=e(95941),a=e(3050),i=e(60866),u=e(5399),s=function(t){if(t&&t.forEach!==i)try{u(t,"forEach",i)}catch(r){t.forEach=i}};for(var c in o)o[c]&&s(n[c]&&n[c].prototype);s(a)},38127:(t,r,e)=>{var n=e(77230),o=e(95941),a=e(3050),i=e(84836),u=e(5399),s=e(97952),c=s("iterator"),f=s("toStringTag"),l=i.values,h=function(t,r){if(t){if(t[c]!==l)try{u(t,c,l)}catch(r){t[c]=l}if(t[f]||u(t,f,r),o[r])for(var e in i)if(t[e]!==i[e])try{u(t,e,i[e])}catch(r){t[e]=i[e]}}};for(var p in o)h(n[p]&&n[p].prototype,p);h(a,"DOMTokenList")},35743:(t,r,e)=>{var n=e(15302),o=e(93571),a=e(71223),i=e(53694),u=e(76997),s=e(88828),c=e(47108).f,f=e(46272),l=e(11331),h=e(33225),p=e(75209),v=e(93536),g=e(41525),d=e(88792),y=e(5231),b=e(2416),m=e(60021),x=e(26079),w=e(57442),E="DOMException",A="DATA_CLONE_ERR",S=a("Error"),O=a(E)||function(){try{(new(a("MessageChannel")||o("worker_threads").MessageChannel)).port1.postMessage(new WeakMap)}catch(t){if(t.name===A&&25===t.code)return t.constructor}}(),R=O&&O.prototype,T=S.prototype,I=m.set,M=m.getterFor(E),k="stack"in S(E),P=function(t){return h(y,t)&&y[t].m?y[t].c:0},j=function(){p(this,C);var t=arguments.length,r=d(t<1?void 0:arguments[0]),e=d(t<2?void 0:arguments[1],"Error"),n=P(e);if(I(this,{type:E,name:e,message:r,code:n}),x||(this.name=e,this.message=r,this.code=n),k){var o=S(r);o.name=E,c(this,"stack",s(1,b(o.stack,1)))}},C=j.prototype=u(T),L=function(t){return{enumerable:!0,configurable:!0,get:t}},N=function(t){return L((function(){return M(this)[t]}))};x&&(l(C,"code",N("code")),l(C,"message",N("message")),l(C,"name",N("name"))),c(C,"constructor",s(1,j));var U=i((function(){return!(new O instanceof S)})),_=U||i((function(){return T.toString!==g||"2: 1"!==String(new O(1,2))})),D=U||i((function(){return 25!==new O(1,"DataCloneError").code})),F=U||25!==O[A]||25!==R[A],B=w?_||D||F:U;n({global:!0,constructor:!0,forced:B},{DOMException:B?j:O});var z=a(E),W=z.prototype;for(var V in _&&(w||O===z)&&f(W,"toString",g),D&&x&&O===z&&l(W,"code",L((function(){return P(v(this).name)}))),y)if(h(y,V)){var H=y[V],q=H.s,G=s(6,H.c);h(z,q)||c(z,q,G),h(W,q)||c(W,q,G)}},18846:(t,r,e)=>{var n=e(15302),o=e(77230),a=e(71223),i=e(88828),u=e(47108).f,s=e(33225),c=e(75209),f=e(68089),l=e(88792),h=e(5231),p=e(2416),v=e(26079),g=e(57442),d="DOMException",y=a("Error"),b=a(d),m=function(){c(this,x);var t=arguments.length,r=l(t<1?void 0:arguments[0]),e=l(t<2?void 0:arguments[1],"Error"),n=new b(r,e),o=y(r);return o.name=d,u(n,"stack",i(1,p(o.stack,1))),f(n,this,m),n},x=m.prototype=b.prototype,w="stack"in y(d),E="stack"in new b(1,2),A=b&&v&&Object.getOwnPropertyDescriptor(o,d),S=!(!A||A.writable&&A.configurable),O=w&&!S&&!E;n({global:!0,constructor:!0,forced:g||O},{DOMException:O?m:b});var R=a(d),T=R.prototype;if(T.constructor!==R)for(var I in g||u(T,"constructor",i(1,R)),h)if(s(h,I)){var M=h[I],k=M.s;s(R,k)||u(R,k,i(6,M.c))}},95602:(t,r,e)=>{var n=e(71223),o="DOMException";e(5411)(n(o),o)},46772:(t,r,e)=>{e(67901),e(77170)},97897:(t,r,e)=>{var n=e(15302),o=e(77230),a=e(43012),i=e(93200),u=e(2234),s=e(95009),c=o.process;n({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(t){u(arguments.length,1),i(t);var r=s&&c.domain;a(r?r.bind(t):t)}})},12639:(t,r,e)=>{var n=e(15302),o=e(77230),a=e(11331),i=e(26079),u=TypeError,s=Object.defineProperty,c=o.self!==o;try{if(i){var f=Object.getOwnPropertyDescriptor(o,"self");!c&&f&&f.get&&f.enumerable||a(o,"self",{get:function(){return o},set:function(t){if(this!==o)throw u("Illegal invocation");s(o,"self",{value:t,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else n({global:!0,simple:!0,forced:c},{self:o})}catch(t){}},77170:(t,r,e)=>{var n=e(15302),o=e(77230),a=e(17823).set,i=e(71630),u=o.setImmediate?i(a,!1):a;n({global:!0,bind:!0,enumerable:!0,forced:o.setImmediate!==u},{setImmediate:u})},9659:(t,r,e)=>{var n=e(15302),o=e(77230),a=e(71630)(o.setInterval,!0);n({global:!0,bind:!0,forced:o.setInterval!==a},{setInterval:a})},15232:(t,r,e)=>{var n=e(15302),o=e(77230),a=e(71630)(o.setTimeout,!0);n({global:!0,bind:!0,forced:o.setTimeout!==a},{setTimeout:a})},14070:(t,r,e)=>{var n,o=e(57442),a=e(15302),i=e(77230),u=e(71223),s=e(51916),c=e(53694),f=e(14525),l=e(933),h=e(53538),p=e(76623),v=e(76913),g=e(77581),d=e(55103),y=e(93536),b=e(40996),m=e(33225),x=e(93859),w=e(5399),E=e(71646),A=e(2234),S=e(4688),O=e(87924),R=e(28978),T=e(90302),I=e(38255),M=i.Object,k=i.Array,P=i.Date,j=i.Error,C=i.EvalError,L=i.RangeError,N=i.ReferenceError,U=i.SyntaxError,_=i.TypeError,D=i.URIError,F=i.PerformanceMark,B=i.WebAssembly,z=B&&B.CompileError||j,W=B&&B.LinkError||j,V=B&&B.RuntimeError||j,H=u("DOMException"),q=O.Map,G=O.has,Y=O.get,$=O.set,K=R.Set,J=R.add,X=u("Object","keys"),Q=s([].push),Z=s((!0).valueOf),tt=s(1..valueOf),rt=s("".valueOf),et=s(P.prototype.getTime),nt=f("structuredClone"),ot="DataCloneError",at="Transferring",it=function(t){return!c((function(){var r=new i.Set([7]),e=t(r),n=t(M(7));return e===r||!e.has(7)||"object"!=typeof n||7!==n}))&&t},ut=function(t,r){return!c((function(){var e=new r,n=t({a:e,b:e});return!(n&&n.a===n.b&&n.a instanceof r&&n.a.stack===e.stack)}))},st=i.structuredClone,ct=o||!ut(st,j)||!ut(st,H)||(n=st,!!c((function(){var t=n(new i.AggregateError([1],nt,{cause:3}));return"AggregateError"!==t.name||1!==t.errors[0]||t.message!==nt||3!==t.cause}))),ft=!st&&it((function(t){return new F(nt,{detail:t}).detail})),lt=it(st)||ft,ht=function(t){throw new H("Uncloneable type: "+t,ot)},pt=function(t,r){throw new H((r||"Cloning")+" of "+t+" cannot be properly polyfilled in this engine",ot)},vt=function(t,r){return lt||pt(r),lt(t)},gt=function(t,r,e){if(G(r,t))return Y(r,t);var n,o,a,u,s,c;if("SharedArrayBuffer"===(e||b(t)))n=lt?lt(t):t;else{var f=i.DataView;f||"function"==typeof t.slice||pt("ArrayBuffer");try{if("function"!=typeof t.slice||t.resizable){o=t.byteLength,a="maxByteLength"in t?{maxByteLength:t.maxByteLength}:void 0,n=new ArrayBuffer(o,a),u=new f(t),s=new f(n);for(c=0;c<o;c++)s.setUint8(c,u.getUint8(c))}else n=t.slice(0)}catch(t){throw new H("ArrayBuffer is detached",ot)}}return $(r,t,n),n},dt=function(t,r,e,n,o){var a=i[r];return v(a)||pt(r),new a(gt(t.buffer,o),e,n)},yt=function(t,r,e){this.object=t,this.type=r,this.metadata=e},bt=function(t,r,e){if(g(t)&&ht("Symbol"),!v(t))return t;if(r){if(G(r,t))return Y(r,t)}else r=new q;var n,o,a,s,c,f,h,p,d=b(t);switch(d){case"Array":a=k(E(t));break;case"Object":a={};break;case"Map":a=new q;break;case"Set":a=new K;break;case"RegExp":a=new RegExp(t.source,S(t));break;case"Error":switch(o=t.name){case"AggregateError":a=u("AggregateError")([]);break;case"EvalError":a=C();break;case"RangeError":a=L();break;case"ReferenceError":a=N();break;case"SyntaxError":a=U();break;case"TypeError":a=_();break;case"URIError":a=D();break;case"CompileError":a=z();break;case"LinkError":a=W();break;case"RuntimeError":a=V();break;default:a=j()}break;case"DOMException":a=new H(t.message,t.name);break;case"ArrayBuffer":case"SharedArrayBuffer":a=e?new yt(t,d):gt(t,r,d);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":f="DataView"===d?t.byteLength:t.length,a=e?new yt(t,d,{offset:t.byteOffset,length:f}):dt(t,d,t.byteOffset,f,r);break;case"DOMQuad":try{a=new DOMQuad(bt(t.p1,r,e),bt(t.p2,r,e),bt(t.p3,r,e),bt(t.p4,r,e))}catch(r){a=vt(t,d)}break;case"File":if(lt)try{a=lt(t),b(a)!==d&&(a=void 0)}catch(t){}if(!a)try{a=new File([t],t.name,t)}catch(t){}a||pt(d);break;case"FileList":if(s=function(){var t;try{t=new i.DataTransfer}catch(r){try{t=new i.ClipboardEvent("").clipboardData}catch(t){}}return t&&t.items&&t.files?t:null}()){for(c=0,f=E(t);c<f;c++)s.items.add(bt(t[c],r,e));a=s.files}else a=vt(t,d);break;case"ImageData":try{a=new ImageData(bt(t.data,r,e),t.width,t.height,{colorSpace:t.colorSpace})}catch(r){a=vt(t,d)}break;default:if(lt)a=lt(t);else switch(d){case"BigInt":a=M(t.valueOf());break;case"Boolean":a=M(Z(t));break;case"Number":a=M(tt(t));break;case"String":a=M(rt(t));break;case"Date":a=new P(et(t));break;case"Blob":try{a=t.slice(0,t.size,t.type)}catch(t){pt(d)}break;case"DOMPoint":case"DOMPointReadOnly":n=i[d];try{a=n.fromPoint?n.fromPoint(t):new n(t.x,t.y,t.z,t.w)}catch(t){pt(d)}break;case"DOMRect":case"DOMRectReadOnly":n=i[d];try{a=n.fromRect?n.fromRect(t):new n(t.x,t.y,t.width,t.height)}catch(t){pt(d)}break;case"DOMMatrix":case"DOMMatrixReadOnly":n=i[d];try{a=n.fromMatrix?n.fromMatrix(t):new n(t)}catch(t){pt(d)}break;case"AudioData":case"VideoFrame":l(t.clone)||pt(d);try{a=t.clone()}catch(t){ht(d)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":pt(d);default:ht(d)}}switch($(r,t,a),d){case"Array":case"Object":for(h=X(t),c=0,f=E(h);c<f;c++)p=h[c],x(a,p,bt(t[p],r,e));break;case"Map":t.forEach((function(t,n){$(a,bt(n,r,e),bt(t,r,e))}));break;case"Set":t.forEach((function(t){J(a,bt(t,r,e))}));break;case"Error":w(a,"message",bt(t.message,r,e)),m(t,"cause")&&w(a,"cause",bt(t.cause,r,e)),"AggregateError"===o&&(a.errors=bt(t.errors,r,e));case"DOMException":T&&w(a,"stack",bt(t.stack,r,e))}return a},mt=function(t,r){if(!v(t))return t;if(G(r,t))return Y(r,t);var e,n,o,a,i,u,s,c;if(t instanceof yt)switch(e=t.type,n=t.object,e){case"ArrayBuffer":case"SharedArrayBuffer":c=gt(n,r,e);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":o=t.metadata,c=dt(n,e,o.offset,o.length,r)}else switch(b(t)){case"Array":case"Object":for(u=X(t),a=0,i=E(u);a<i;a++)t[s=u[a]]=mt(t[s],r);break;case"Map":c=new q,t.forEach((function(t,e){$(c,mt(e,r),mt(t,r))}));break;case"Set":c=new K,t.forEach((function(t){J(c,mt(t,r))}));break;case"Error":t.message=mt(t.message,r),m(t,"cause")&&(t.cause=mt(t.cause,r)),"AggregateError"===t.name&&(t.errors=mt(t.errors,r));case"DOMException":T&&(t.stack=mt(t.stack,r))}return $(r,t,c||t),c||t};a({global:!0,enumerable:!0,sham:!I,forced:ct},{structuredClone:function(t){var r,e,n=A(arguments.length,1)>1&&!p(arguments[1])?y(arguments[1]):void 0,o=n?n.transfer:void 0,a=!1;void 0!==o&&(e=function(t,r){if(!v(t))throw _("Transfer option cannot be converted to a sequence");var e=[];d(t,(function(t){Q(e,y(t))}));for(var n,o,a,u,s,c=0,f=E(e),p=[];c<f;)if(n=e[c++],"ArrayBuffer"!==(o=b(n))){if(G(r,n))throw new H("Duplicate transferable",ot);if(I)u=st(n,{transfer:[n]});else switch(o){case"ImageBitmap":a=i.OffscreenCanvas,h(a)||pt(o,at);try{(s=new a(n.width,n.height)).getContext("bitmaprenderer").transferFromImageBitmap(n),u=s.transferToImageBitmap()}catch(t){}break;case"AudioData":case"VideoFrame":l(n.clone)&&l(n.close)||pt(o,at);try{u=n.clone(),n.close()}catch(t){}break;case"MediaSourceHandle":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":pt(o,at)}if(void 0===u)throw new H("This object cannot be transferred: "+o,ot);$(r,n,u)}else Q(p,n);return p}(o,r=new q),a=!!E(e));var u=bt(t,r,a);return a&&(function(t,r){for(var e,n,o=0,a=E(t);o<a;){if(e=t[o++],G(r,e))throw new H("Duplicate transferable",ot);I?n=st(e,{transfer:[e]}):(l(e.transfer)||pt("ArrayBuffer",at),n=e.transfer()),$(r,e,n)}}(o,r=new q),u=mt(u,r)),u}})},44166:(t,r,e)=>{e(9659),e(15232)},77928:(t,r,e)=>{e(84836);var n=e(15302),o=e(77230),a=e(44225),i=e(51916),u=e(26079),s=e(60327),c=e(46272),f=e(11331),l=e(28278),h=e(5411),p=e(13718),v=e(60021),g=e(75209),d=e(933),y=e(33225),b=e(81248),m=e(40996),x=e(93536),w=e(76913),E=e(99851),A=e(76997),S=e(88828),O=e(99853),R=e(6418),T=e(2234),I=e(97952),M=e(68813),k=I("iterator"),P="URLSearchParams",j=P+"Iterator",C=v.set,L=v.getterFor(P),N=v.getterFor(j),U=Object.getOwnPropertyDescriptor,_=function(t){if(!u)return o[t];var r=U(o,t);return r&&r.value},D=_("fetch"),F=_("Request"),B=_("Headers"),z=F&&F.prototype,W=B&&B.prototype,V=o.RegExp,H=o.TypeError,q=o.decodeURIComponent,G=o.encodeURIComponent,Y=i("".charAt),$=i([].join),K=i([].push),J=i("".replace),X=i([].shift),Q=i([].splice),Z=i("".split),tt=i("".slice),rt=/\+/g,et=Array(4),nt=function(t){return et[t-1]||(et[t-1]=V("((?:%[\\da-f]{2}){"+t+"})","gi"))},ot=function(t){try{return q(t)}catch(r){return t}},at=function(t){var r=J(t,rt," "),e=4;try{return q(r)}catch(t){for(;e;)r=J(r,nt(e--),ot);return r}},it=/[!'()~]|%20/g,ut={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},st=function(t){return ut[t]},ct=function(t){return J(G(t),it,st)},ft=p((function(t,r){C(this,{type:j,iterator:O(L(t).entries),kind:r})}),"Iterator",(function(){var t=N(this),r=t.kind,e=t.iterator.next(),n=e.value;return e.done||(e.value="keys"===r?n.key:"values"===r?n.value:[n.key,n.value]),e}),!0),lt=function(t){this.entries=[],this.url=null,void 0!==t&&(w(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===Y(t,0)?tt(t,1):t:E(t)))};lt.prototype={type:P,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var r,e,n,o,i,u,s,c=R(t);if(c)for(e=(r=O(t,c)).next;!(n=a(e,r)).done;){if(i=(o=O(x(n.value))).next,(u=a(i,o)).done||(s=a(i,o)).done||!a(i,o).done)throw H("Expected sequence with length 2");K(this.entries,{key:E(u.value),value:E(s.value)})}else for(var f in t)y(t,f)&&K(this.entries,{key:f,value:E(t[f])})},parseQuery:function(t){if(t)for(var r,e,n=Z(t,"&"),o=0;o<n.length;)(r=n[o++]).length&&(e=Z(r,"="),K(this.entries,{key:at(X(e)),value:at($(e,"="))}))},serialize:function(){for(var t,r=this.entries,e=[],n=0;n<r.length;)t=r[n++],K(e,ct(t.key)+"="+ct(t.value));return $(e,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ht=function(){g(this,pt);var t=C(this,new lt(arguments.length>0?arguments[0]:void 0));u||(this.size=t.entries.length)},pt=ht.prototype;if(l(pt,{append:function(t,r){var e=L(this);T(arguments.length,2),K(e.entries,{key:E(t),value:E(r)}),u||this.length++,e.updateURL()},delete:function(t){for(var r=L(this),e=T(arguments.length,1),n=r.entries,o=E(t),a=e<2?void 0:arguments[1],i=void 0===a?a:E(a),s=0;s<n.length;){var c=n[s];if(c.key!==o||void 0!==i&&c.value!==i)s++;else if(Q(n,s,1),void 0!==i)break}u||(this.size=n.length),r.updateURL()},get:function(t){var r=L(this).entries;T(arguments.length,1);for(var e=E(t),n=0;n<r.length;n++)if(r[n].key===e)return r[n].value;return null},getAll:function(t){var r=L(this).entries;T(arguments.length,1);for(var e=E(t),n=[],o=0;o<r.length;o++)r[o].key===e&&K(n,r[o].value);return n},has:function(t){for(var r=L(this).entries,e=T(arguments.length,1),n=E(t),o=e<2?void 0:arguments[1],a=void 0===o?o:E(o),i=0;i<r.length;){var u=r[i++];if(u.key===n&&(void 0===a||u.value===a))return!0}return!1},set:function(t,r){var e=L(this);T(arguments.length,1);for(var n,o=e.entries,a=!1,i=E(t),s=E(r),c=0;c<o.length;c++)(n=o[c]).key===i&&(a?Q(o,c--,1):(a=!0,n.value=s));a||K(o,{key:i,value:s}),u||(this.size=o.length),e.updateURL()},sort:function(){var t=L(this);M(t.entries,(function(t,r){return t.key>r.key?1:-1})),t.updateURL()},forEach:function(t){for(var r,e=L(this).entries,n=b(t,arguments.length>1?arguments[1]:void 0),o=0;o<e.length;)n((r=e[o++]).value,r.key,this)},keys:function(){return new ft(this,"keys")},values:function(){return new ft(this,"values")},entries:function(){return new ft(this,"entries")}},{enumerable:!0}),c(pt,k,pt.entries,{name:"entries"}),c(pt,"toString",(function(){return L(this).serialize()}),{enumerable:!0}),u&&f(pt,"size",{get:function(){return L(this).entries.length},configurable:!0,enumerable:!0}),h(ht,P),n({global:!0,constructor:!0,forced:!s},{URLSearchParams:ht}),!s&&d(B)){var vt=i(W.has),gt=i(W.set),dt=function(t){if(w(t)){var r,e=t.body;if(m(e)===P)return r=t.headers?new B(t.headers):new B,vt(r,"content-type")||gt(r,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),A(t,{body:S(0,E(e)),headers:S(0,r)})}return t};if(d(D)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return D(t,arguments.length>1?dt(arguments[1]):{})}}),d(F)){var yt=function(t){return g(this,z),new F(t,arguments.length>1?dt(arguments[1]):{})};z.constructor=yt,yt.prototype=z,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:yt})}}t.exports={URLSearchParams:ht,getState:L}},98605:(t,r,e)=>{var n=e(46272),o=e(51916),a=e(99851),i=e(2234),u=URLSearchParams,s=u.prototype,c=o(s.append),f=o(s.delete),l=o(s.forEach),h=o([].push),p=new u("a=1&a=2&b=3");p.delete("a",1),p.delete("b",void 0),p+""!="a=2"&&n(s,"delete",(function(t){var r=arguments.length,e=r<2?void 0:arguments[1];if(r&&void 0===e)return f(this,t);var n=[];l(this,(function(t,r){h(n,{key:r,value:t})})),i(r,1);for(var o,u=a(t),s=a(e),p=0,v=0,g=!1,d=n.length;p<d;)o=n[p++],g||o.key===u?(g=!0,f(this,o.key)):v++;for(;v<d;)(o=n[v++]).key===u&&o.value===s||c(this,o.key,o.value)}),{enumerable:!0,unsafe:!0})},82583:(t,r,e)=>{var n=e(46272),o=e(51916),a=e(99851),i=e(2234),u=URLSearchParams,s=u.prototype,c=o(s.getAll),f=o(s.has),l=new u("a=1");!l.has("a",2)&&l.has("a",void 0)||n(s,"has",(function(t){var r=arguments.length,e=r<2?void 0:arguments[1];if(r&&void 0===e)return f(this,t);var n=c(this,t);i(r,1);for(var o=a(e),u=0;u<n.length;)if(n[u++]===o)return!0;return!1}),{enumerable:!0,unsafe:!0})},15979:(t,r,e)=>{e(77928)},32398:(t,r,e)=>{var n=e(26079),o=e(51916),a=e(11331),i=URLSearchParams.prototype,u=o(i.forEach);n&&!("size"in i)&&a(i,"size",{get:function(){var t=0;return u(this,(function(){t++})),t},configurable:!0,enumerable:!0})},40813:(t,r,e)=>{var n=e(15302),o=e(71223),a=e(53694),i=e(2234),u=e(99851),s=e(60327),c=o("URL");n({target:"URL",stat:!0,forced:!(s&&a((function(){c.canParse()})))},{canParse:function(t){var r=i(arguments.length,1),e=u(t),n=r<2||void 0===arguments[1]?void 0:u(arguments[1]);try{return!!new c(e,n)}catch(t){return!1}}})},1544:(t,r,e)=>{e(30270);var n,o=e(15302),a=e(26079),i=e(60327),u=e(77230),s=e(81248),c=e(51916),f=e(46272),l=e(11331),h=e(75209),p=e(33225),v=e(65016),g=e(38897),d=e(70696),y=e(12370).codeAt,b=e(47137),m=e(99851),x=e(5411),w=e(2234),E=e(77928),A=e(60021),S=A.set,O=A.getterFor("URL"),R=E.URLSearchParams,T=E.getState,I=u.URL,M=u.TypeError,k=u.parseInt,P=Math.floor,j=Math.pow,C=c("".charAt),L=c(/./.exec),N=c([].join),U=c(1..toString),_=c([].pop),D=c([].push),F=c("".replace),B=c([].shift),z=c("".split),W=c("".slice),V=c("".toLowerCase),H=c([].unshift),q="Invalid scheme",G="Invalid host",Y="Invalid port",$=/[a-z]/i,K=/[\d+-.a-z]/i,J=/\d/,X=/^0x/i,Q=/^[0-7]+$/,Z=/^\d+$/,tt=/^[\da-f]+$/i,rt=/[\0\t\n\r #%/:<>?@[\\\]^|]/,et=/[\0\t\n\r #/:<>?@[\\\]^|]/,nt=/^[\u0000-\u0020]+/,ot=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,at=/[\t\n\r]/g,it=function(t){var r,e,n,o;if("number"==typeof t){for(r=[],e=0;e<4;e++)H(r,t%256),t=P(t/256);return N(r,".")}if("object"==typeof t){for(r="",n=function(t){for(var r=null,e=1,n=null,o=0,a=0;a<8;a++)0!==t[a]?(o>e&&(r=n,e=o),n=null,o=0):(null===n&&(n=a),++o);return o>e&&(r=n,e=o),r}(t),e=0;e<8;e++)o&&0===t[e]||(o&&(o=!1),n===e?(r+=e?":":"::",o=!0):(r+=U(t[e],16),e<7&&(r+=":")));return"["+r+"]"}return t},ut={},st=v({},ut,{" ":1,'"':1,"<":1,">":1,"`":1}),ct=v({},st,{"#":1,"?":1,"{":1,"}":1}),ft=v({},ct,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),lt=function(t,r){var e=y(t,0);return e>32&&e<127&&!p(r,t)?t:encodeURIComponent(t)},ht={ftp:21,file:null,http:80,https:443,ws:80,wss:443},pt=function(t,r){var e;return 2===t.length&&L($,C(t,0))&&(":"===(e=C(t,1))||!r&&"|"===e)},vt=function(t){var r;return t.length>1&&pt(W(t,0,2))&&(2===t.length||"/"===(r=C(t,2))||"\\"===r||"?"===r||"#"===r)},gt=function(t){return"."===t||"%2e"===V(t)},dt={},yt={},bt={},mt={},xt={},wt={},Et={},At={},St={},Ot={},Rt={},Tt={},It={},Mt={},kt={},Pt={},jt={},Ct={},Lt={},Nt={},Ut={},_t=function(t,r,e){var n,o,a,i=m(t);if(r){if(o=this.parse(i))throw M(o);this.searchParams=null}else{if(void 0!==e&&(n=new _t(e,!0)),o=this.parse(i,null,n))throw M(o);(a=T(new R)).bindURL(this),this.searchParams=a}};_t.prototype={type:"URL",parse:function(t,r,e){var o,a,i,u,s,c=this,f=r||dt,l=0,h="",v=!1,y=!1,b=!1;for(t=m(t),r||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,t=F(t,nt,""),t=F(t,ot,"$1")),t=F(t,at,""),o=g(t);l<=o.length;){switch(a=o[l],f){case dt:if(!a||!L($,a)){if(r)return q;f=bt;continue}h+=V(a),f=yt;break;case yt:if(a&&(L(K,a)||"+"===a||"-"===a||"."===a))h+=V(a);else{if(":"!==a){if(r)return q;h="",f=bt,l=0;continue}if(r&&(c.isSpecial()!==p(ht,h)||"file"===h&&(c.includesCredentials()||null!==c.port)||"file"===c.scheme&&!c.host))return;if(c.scheme=h,r)return void(c.isSpecial()&&ht[c.scheme]===c.port&&(c.port=null));h="","file"===c.scheme?f=Mt:c.isSpecial()&&e&&e.scheme===c.scheme?f=mt:c.isSpecial()?f=At:"/"===o[l+1]?(f=xt,l++):(c.cannotBeABaseURL=!0,D(c.path,""),f=Lt)}break;case bt:if(!e||e.cannotBeABaseURL&&"#"!==a)return q;if(e.cannotBeABaseURL&&"#"===a){c.scheme=e.scheme,c.path=d(e.path),c.query=e.query,c.fragment="",c.cannotBeABaseURL=!0,f=Ut;break}f="file"===e.scheme?Mt:wt;continue;case mt:if("/"!==a||"/"!==o[l+1]){f=wt;continue}f=St,l++;break;case xt:if("/"===a){f=Ot;break}f=Ct;continue;case wt:if(c.scheme=e.scheme,a===n)c.username=e.username,c.password=e.password,c.host=e.host,c.port=e.port,c.path=d(e.path),c.query=e.query;else if("/"===a||"\\"===a&&c.isSpecial())f=Et;else if("?"===a)c.username=e.username,c.password=e.password,c.host=e.host,c.port=e.port,c.path=d(e.path),c.query="",f=Nt;else{if("#"!==a){c.username=e.username,c.password=e.password,c.host=e.host,c.port=e.port,c.path=d(e.path),c.path.length--,f=Ct;continue}c.username=e.username,c.password=e.password,c.host=e.host,c.port=e.port,c.path=d(e.path),c.query=e.query,c.fragment="",f=Ut}break;case Et:if(!c.isSpecial()||"/"!==a&&"\\"!==a){if("/"!==a){c.username=e.username,c.password=e.password,c.host=e.host,c.port=e.port,f=Ct;continue}f=Ot}else f=St;break;case At:if(f=St,"/"!==a||"/"!==C(h,l+1))continue;l++;break;case St:if("/"!==a&&"\\"!==a){f=Ot;continue}break;case Ot:if("@"===a){v&&(h="%40"+h),v=!0,i=g(h);for(var x=0;x<i.length;x++){var w=i[x];if(":"!==w||b){var E=lt(w,ft);b?c.password+=E:c.username+=E}else b=!0}h=""}else if(a===n||"/"===a||"?"===a||"#"===a||"\\"===a&&c.isSpecial()){if(v&&""===h)return"Invalid authority";l-=g(h).length+1,h="",f=Rt}else h+=a;break;case Rt:case Tt:if(r&&"file"===c.scheme){f=Pt;continue}if(":"!==a||y){if(a===n||"/"===a||"?"===a||"#"===a||"\\"===a&&c.isSpecial()){if(c.isSpecial()&&""===h)return G;if(r&&""===h&&(c.includesCredentials()||null!==c.port))return;if(u=c.parseHost(h))return u;if(h="",f=jt,r)return;continue}"["===a?y=!0:"]"===a&&(y=!1),h+=a}else{if(""===h)return G;if(u=c.parseHost(h))return u;if(h="",f=It,r===Tt)return}break;case It:if(!L(J,a)){if(a===n||"/"===a||"?"===a||"#"===a||"\\"===a&&c.isSpecial()||r){if(""!==h){var A=k(h,10);if(A>65535)return Y;c.port=c.isSpecial()&&A===ht[c.scheme]?null:A,h=""}if(r)return;f=jt;continue}return Y}h+=a;break;case Mt:if(c.scheme="file","/"===a||"\\"===a)f=kt;else{if(!e||"file"!==e.scheme){f=Ct;continue}switch(a){case n:c.host=e.host,c.path=d(e.path),c.query=e.query;break;case"?":c.host=e.host,c.path=d(e.path),c.query="",f=Nt;break;case"#":c.host=e.host,c.path=d(e.path),c.query=e.query,c.fragment="",f=Ut;break;default:vt(N(d(o,l),""))||(c.host=e.host,c.path=d(e.path),c.shortenPath()),f=Ct;continue}}break;case kt:if("/"===a||"\\"===a){f=Pt;break}e&&"file"===e.scheme&&!vt(N(d(o,l),""))&&(pt(e.path[0],!0)?D(c.path,e.path[0]):c.host=e.host),f=Ct;continue;case Pt:if(a===n||"/"===a||"\\"===a||"?"===a||"#"===a){if(!r&&pt(h))f=Ct;else if(""===h){if(c.host="",r)return;f=jt}else{if(u=c.parseHost(h))return u;if("localhost"===c.host&&(c.host=""),r)return;h="",f=jt}continue}h+=a;break;case jt:if(c.isSpecial()){if(f=Ct,"/"!==a&&"\\"!==a)continue}else if(r||"?"!==a)if(r||"#"!==a){if(a!==n&&(f=Ct,"/"!==a))continue}else c.fragment="",f=Ut;else c.query="",f=Nt;break;case Ct:if(a===n||"/"===a||"\\"===a&&c.isSpecial()||!r&&("?"===a||"#"===a)){if(".."===(s=V(s=h))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(c.shortenPath(),"/"===a||"\\"===a&&c.isSpecial()||D(c.path,"")):gt(h)?"/"===a||"\\"===a&&c.isSpecial()||D(c.path,""):("file"===c.scheme&&!c.path.length&&pt(h)&&(c.host&&(c.host=""),h=C(h,0)+":"),D(c.path,h)),h="","file"===c.scheme&&(a===n||"?"===a||"#"===a))for(;c.path.length>1&&""===c.path[0];)B(c.path);"?"===a?(c.query="",f=Nt):"#"===a&&(c.fragment="",f=Ut)}else h+=lt(a,ct);break;case Lt:"?"===a?(c.query="",f=Nt):"#"===a?(c.fragment="",f=Ut):a!==n&&(c.path[0]+=lt(a,ut));break;case Nt:r||"#"!==a?a!==n&&("'"===a&&c.isSpecial()?c.query+="%27":c.query+="#"===a?"%23":lt(a,ut)):(c.fragment="",f=Ut);break;case Ut:a!==n&&(c.fragment+=lt(a,st))}l++}},parseHost:function(t){var r,e,n;if("["===C(t,0)){if("]"!==C(t,t.length-1))return G;if(r=function(t){var r,e,n,o,a,i,u,s=[0,0,0,0,0,0,0,0],c=0,f=null,l=0,h=function(){return C(t,l)};if(":"===h()){if(":"!==C(t,1))return;l+=2,f=++c}for(;h();){if(8===c)return;if(":"!==h()){for(r=e=0;e<4&&L(tt,h());)r=16*r+k(h(),16),l++,e++;if("."===h()){if(0===e)return;if(l-=e,c>6)return;for(n=0;h();){if(o=null,n>0){if(!("."===h()&&n<4))return;l++}if(!L(J,h()))return;for(;L(J,h());){if(a=k(h(),10),null===o)o=a;else{if(0===o)return;o=10*o+a}if(o>255)return;l++}s[c]=256*s[c]+o,2!=++n&&4!==n||c++}if(4!==n)return;break}if(":"===h()){if(l++,!h())return}else if(h())return;s[c++]=r}else{if(null!==f)return;l++,f=++c}}if(null!==f)for(i=c-f,c=7;0!==c&&i>0;)u=s[c],s[c--]=s[f+i-1],s[f+--i]=u;else if(8!==c)return;return s}(W(t,1,-1)),!r)return G;this.host=r}else if(this.isSpecial()){if(t=b(t),L(rt,t))return G;if(r=function(t){var r,e,n,o,a,i,u,s=z(t,".");if(s.length&&""===s[s.length-1]&&s.length--,(r=s.length)>4)return t;for(e=[],n=0;n<r;n++){if(""===(o=s[n]))return t;if(a=10,o.length>1&&"0"===C(o,0)&&(a=L(X,o)?16:8,o=W(o,8===a?1:2)),""===o)i=0;else{if(!L(10===a?Z:8===a?Q:tt,o))return t;i=k(o,a)}D(e,i)}for(n=0;n<r;n++)if(i=e[n],n===r-1){if(i>=j(256,5-r))return null}else if(i>255)return null;for(u=_(e),n=0;n<e.length;n++)u+=e[n]*j(256,3-n);return u}(t),null===r)return G;this.host=r}else{if(L(et,t))return G;for(r="",e=g(t),n=0;n<e.length;n++)r+=lt(e[n],ut);this.host=r}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return p(ht,this.scheme)},shortenPath:function(){var t=this.path,r=t.length;!r||"file"===this.scheme&&1===r&&pt(t[0],!0)||t.length--},serialize:function(){var t=this,r=t.scheme,e=t.username,n=t.password,o=t.host,a=t.port,i=t.path,u=t.query,s=t.fragment,c=r+":";return null!==o?(c+="//",t.includesCredentials()&&(c+=e+(n?":"+n:"")+"@"),c+=it(o),null!==a&&(c+=":"+a)):"file"===r&&(c+="//"),c+=t.cannotBeABaseURL?i[0]:i.length?"/"+N(i,"/"):"",null!==u&&(c+="?"+u),null!==s&&(c+="#"+s),c},setHref:function(t){var r=this.parse(t);if(r)throw M(r);this.searchParams.update()},getOrigin:function(){var t=this.scheme,r=this.port;if("blob"===t)try{return new Dt(t.path[0]).origin}catch(t){return"null"}return"file"!==t&&this.isSpecial()?t+"://"+it(this.host)+(null!==r?":"+r:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(m(t)+":",dt)},getUsername:function(){return this.username},setUsername:function(t){var r=g(m(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var e=0;e<r.length;e++)this.username+=lt(r[e],ft)}},getPassword:function(){return this.password},setPassword:function(t){var r=g(m(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var e=0;e<r.length;e++)this.password+=lt(r[e],ft)}},getHost:function(){var t=this.host,r=this.port;return null===t?"":null===r?it(t):it(t)+":"+r},setHost:function(t){this.cannotBeABaseURL||this.parse(t,Rt)},getHostname:function(){var t=this.host;return null===t?"":it(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,Tt)},getPort:function(){var t=this.port;return null===t?"":m(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""===(t=m(t))?this.port=null:this.parse(t,It))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+N(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,jt))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""===(t=m(t))?this.query=null:("?"===C(t,0)&&(t=W(t,1)),this.query="",this.parse(t,Nt)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!==(t=m(t))?("#"===C(t,0)&&(t=W(t,1)),this.fragment="",this.parse(t,Ut)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Dt=function(t){var r=h(this,Ft),e=w(arguments.length,1)>1?arguments[1]:void 0,n=S(r,new _t(t,!1,e));a||(r.href=n.serialize(),r.origin=n.getOrigin(),r.protocol=n.getProtocol(),r.username=n.getUsername(),r.password=n.getPassword(),r.host=n.getHost(),r.hostname=n.getHostname(),r.port=n.getPort(),r.pathname=n.getPathname(),r.search=n.getSearch(),r.searchParams=n.getSearchParams(),r.hash=n.getHash())},Ft=Dt.prototype,Bt=function(t,r){return{get:function(){return O(this)[t]()},set:r&&function(t){return O(this)[r](t)},configurable:!0,enumerable:!0}};if(a&&(l(Ft,"href",Bt("serialize","setHref")),l(Ft,"origin",Bt("getOrigin")),l(Ft,"protocol",Bt("getProtocol","setProtocol")),l(Ft,"username",Bt("getUsername","setUsername")),l(Ft,"password",Bt("getPassword","setPassword")),l(Ft,"host",Bt("getHost","setHost")),l(Ft,"hostname",Bt("getHostname","setHostname")),l(Ft,"port",Bt("getPort","setPort")),l(Ft,"pathname",Bt("getPathname","setPathname")),l(Ft,"search",Bt("getSearch","setSearch")),l(Ft,"searchParams",Bt("getSearchParams")),l(Ft,"hash",Bt("getHash","setHash"))),f(Ft,"toJSON",(function(){return O(this).serialize()}),{enumerable:!0}),f(Ft,"toString",(function(){return O(this).serialize()}),{enumerable:!0}),I){var zt=I.createObjectURL,Wt=I.revokeObjectURL;zt&&f(Dt,"createObjectURL",s(zt,I)),Wt&&f(Dt,"revokeObjectURL",s(Wt,I))}x(Dt,"URL"),o({global:!0,constructor:!0,forced:!i,sham:!a},{URL:Dt})},94049:(t,r,e)=>{e(1544)},10426:(t,r,e)=>{var n=e(15302),o=e(44225);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return o(URL.prototype.toString,this)}})},56350:(t,r,e)=>{e(38689),e(83373),e(38878),e(6478),e(66040),e(71881),e(21860),e(86582),e(40034),e(5058),e(61397),e(4396),e(49351),e(79818),e(68685),e(73098),e(59591),e(75635),e(41895),e(62682),e(59655),e(10026),e(59159),e(52931),e(97505),e(21871),e(57293),e(96987),e(25147),e(84918),e(65416),e(56360),e(65991),e(6025),e(47979),e(60047),e(84836),e(284),e(58002),e(60372),e(46406),e(91327),e(35035),e(67142),e(51719),e(33289),e(87133),e(68512),e(36898),e(88744),e(8007),e(85412),e(32533),e(44831),e(35448),e(31068),e(67161),e(9511),e(20539),e(11938),e(79966),e(75909),e(5111),e(33581),e(86178),e(83512),e(8217),e(46739),e(21861),e(61807),e(4607),e(19114),e(8855),e(68059),e(34546),e(69952),e(27134),e(28584),e(95309),e(91974),e(98913),e(41316),e(41468),e(69294),e(35264),e(35994),e(14882),e(15386),e(8865),e(77375),e(50241),e(76104),e(71661),e(77604),e(86504),e(91336),e(49214),e(61463),e(36647),e(23740),e(97719),e(91760),e(90098),e(3131),e(60350),e(95209),e(24257),e(19382),e(60110),e(65066),e(59125),e(90182),e(46926),e(60467),e(43526),e(99119),e(65619),e(57558),e(61071),e(67446),e(72772),e(11944),e(85445),e(63931),e(46870),e(72918),e(67186),e(41692),e(42623),e(96156),e(20698),e(4124),e(87874),e(32981),e(72964),e(48673),e(90538),e(95754),e(46512),e(48601),e(3481),e(29885),e(60388),e(44731),e(44400),e(17787),e(54738),e(52469),e(93106),e(50857),e(46274),e(36006),e(31095),e(18017),e(94267),e(30222),e(11997),e(35098),e(8945),e(14845),e(95130),e(6858),e(81875),e(53585),e(80123),e(73661),e(34919),e(49470),e(36299),e(30270),e(71237),e(99412),e(26842),e(20124),e(91668),e(35536),e(99544),e(76754),e(62026),e(7807),e(60217),e(72686),e(28360),e(60200),e(91164),e(11910),e(61132),e(4841),e(33491),e(78370),e(88593),e(15391),e(22297),e(98164),e(69621),e(78521),e(73528),e(69008),e(85867),e(68950),e(13945),e(7923),e(958),e(50834),e(4398),e(9028),e(25631),e(99359),e(769),e(92152),e(13294),e(51615),e(41157),e(40472),e(3083),e(18742),e(25432),e(72906),e(55892),e(26959),e(89293),e(78723),e(28951),e(67230),e(82566),e(68234),e(96289),e(58131),e(28660),e(9199),e(51378),e(19319),e(52895),e(32336),e(40727),e(65267),e(47966),e(22112),e(56416),e(10024),e(94470),e(9509),e(21376),e(95844),e(60570),e(38127),e(35743),e(18846),e(95602),e(46772),e(97897),e(12639),e(14070),e(44166),e(94049),e(40813),e(10426),e(15979),e(98605),e(82583),e(32398),e(25030)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var a=r[n]={exports:{}};return t[n].call(a.exports,a,a.exports,e),a.exports}e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e(56350)})();
function mobileNavigationBurgerMenu(){$("[data-burger-menu]").on("click",function(e){$(this).closest(".c-header").toggleClass("menu-active"),$("[data-burger-menu]").toggleClass("open"),$('[data-toggle="search-toggle"]').removeClass("js-toggle--active"),$(this).closest("html").toggleClass("overflow-hidden"),$(".c-header nav").toggle()})}function mobileNavigationAccordions(){$("[data-has-child-nav]").on("click",function(e){e.preventDefault(),$(this).hasClass("nav-active")?($(this).next().slideToggle(),$(this).removeClass("nav-active"),$(".subnav-active").parent().next().slideToggle(),$(".subnav-active").removeClass("subnav-active")):0<$(".nav-active").length?($(".nav-active").next().slideToggle(),$(".nav-active").removeClass("nav-active"),$(".subnav-active").parent().next().slideToggle(),$(".subnav-active").removeClass("subnav-active"),$(this).next().slideToggle(),$(this).addClass("nav-active")):($(this).next().slideToggle(),$(this).toggleClass("nav-active"))}),$("[data-mega-with-sub-nav]").on("click",function(e){e.preventDefault(),$(this).parent().next().slideToggle(),$(this).toggleClass("subnav-active")})}function mobileNavigationReset(){$(".c-mega-menu, .c-dropdown, .c-header nav").hide()}function changeNavPositionMobile(){$(".c-main-nav").insertBefore(".c-top-nav_nav")}function desktopNavigationReset(){$(".c-header nav").removeAttr("style"),$(".c-mega-menu, .c-dropdown").removeAttr("style"),$(".c-header").removeClass("menu-active"),$(".nav-active").removeClass("nav-active"),$(".subnav-active").removeClass("subnav-active"),$("[data-burger-menu]").removeClass("open"),$("html").removeClass("overflow-hidden"),$(".mobile").removeClass("mobile"),$("[data-has-child-nav]").on("click",function(e){window.location.href=this.href}),$("[data-mega-with-sub-nav]").on("click",function(e){window.location.href=this.href})}function changeNavPositionDesktop(){$(".c-main-nav").insertAfter(".c-top-nav")}function desktopNavigationKeyboard(){$(window).keyup(function(e){var e=e.keyCode||e.which;9===e&&!$(".js-menu a:focus").length&&$(".js-keyboard-accessible").length&&$(".js-keyboard-accessible").removeClass("js-keyboard-accessible"),9===e&&$(".js-menu a:focus").length&&!$(".js-keyboard-accessible").length&&$(".js-menu a:focus").closest(".js-menu").prev("a").addClass("js-keyboard-accessible"),9===e&&$("[data-has-child-nav]:focus").length&&(e=$("[data-has-child-nav]:focus")[0],$(e).addClass("js-keyboard-accessible"))}),$(window).click(function(){$(".js-keyboard-accessible").length&&$(".js-keyboard-accessible").removeClass("js-keyboard-accessible")})}function getAllElementsWithAttribute(e){for(var t=[],i=document.getElementsByTagName("*"),n=0,s=i.length;n<s;n++)null!==i[n].getAttribute(e)&&t.push(i[n]);return t}function handlRibbonBlock(){(window.matchMedia("(min-width: 768px)").matches?ribbonContentUnOrder:ribbonContentOrder)()}function ribbonContentOrder(){$(".js-ribbon-list").append($(".js-ribbon-content"))}function ribbonContentUnOrder(){$(".c-ribbon_content-wrap").append($(".js-ribbon-content"))}!function(d,h,p){var e=[],n=[],t={_version:"3.3.1",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var i=this;setTimeout(function(){t(i[e])},0)},addTest:function(e,t,i){n.push({name:e,fn:t,options:i})},addAsyncTest:function(e){n.push({name:null,fn:e})}},i=function(){};function f(e,t){return typeof e===t}i.prototype=t,(i=new i).addTest("geolocation","geolocation"in navigator);var u=h.documentElement,g="svg"===u.nodeName.toLowerCase();function m(e){return"function"!=typeof h.createElement?h.createElement(e):g?h.createElementNS.call(h,"http://www.w3.org/2000/svg",e):h.createElement.apply(h,arguments)}function v(e){return e.replace(/([a-z])-([a-z])/g,function(e,t,i){return t+i.toUpperCase()}).replace(/^-/,"")}i.addTest("scriptasync","async"in m("script")),i.addTest("scriptdefer","defer"in m("script"));function s(e){var t,i=prefixes.length,n=d.CSSRule;if(void 0===n)return p;if(e){if((t=(e=e.replace(/^@/,"")).replace(/-/g,"_").toUpperCase()+"_RULE")in n)return"@"+e;for(var s=0;s<i;s++){var o=prefixes[s];if(o.toUpperCase()+"_"+t in n)return"@-"+o.toLowerCase()+"-"+e}}return!1}var o="Moz O ms Webkit",b=t._config.usePrefixes?o.split(" "):[],y=(t._cssomPrefixes=b,t.atRule=s,t._config.usePrefixes?o.toLowerCase().split(" "):[]);t._domPrefixes=y;var a={elem:m("modernizr")},_=(i._q.push(function(){delete a.elem}),{style:a.elem.style});function w(e){return e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function k(e,t,i,n){var s,o,a,r,l="modernizr",c=m("div");(r=h.body)||((r=m(g?"svg":"body")).fake=!0);if(parseInt(i,10))for(;i--;)(o=m("div")).id=n?n[i]:l+(i+1),c.appendChild(o);return(s=m("style")).type="text/css",s.id="s"+l,(r.fake?r:c).appendChild(s),r.appendChild(c),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(h.createTextNode(e)),c.id=l,r.fake&&(r.style.background="",r.style.overflow="hidden",a=u.style.overflow,u.style.overflow="hidden",u.appendChild(r)),s=t(c,e),r.fake?(r.parentNode.removeChild(r),u.style.overflow=a,u.offsetHeight):c.parentNode.removeChild(c),!!s}function x(e,t,i,n){if(n=void 0!==n&&n,void 0!==i){var s=function(e,t){var i=e.length;if("CSS"in d&&"supports"in d.CSS){for(;i--;)if(d.CSS.supports(w(e[i]),t))return!0;return!1}if("CSSSupportsRule"in d){for(var n=[];i--;)n.push("("+w(e[i])+":"+t+")");return k("@supports ("+(n=n.join(" or "))+") { #modernizr { position: absolute; } }",function(e){return"absolute"==getComputedStyle(e,null).position})}return p}(e,i);if(void 0!==s)return s}for(var o,a,r,l,c,h=["modernizr","tspan","samp"];!_.style&&h.length;)o=!0,_.modElem=m(h.shift()),_.style=_.modElem.style;function u(){o&&(delete _.style,delete _.modElem)}for(r=e.length,a=0;a<r;a++)if(l=e[a],c=_.style[l],~(""+l).indexOf("-")&&(l=v(l)),_.style[l]!==p){if(n||void 0===i)return u(),"pfx"!=t||l;try{_.style[l]=i}catch(e){}if(_.style[l]!=c)return u(),"pfx"!=t||l}return u(),!1}function r(e,t,i,n,s){var o=e.charAt(0).toUpperCase()+e.slice(1),a=(e+" "+b.join(o+" ")+o).split(" ");if(f(t,"string")||void 0===t)return x(a,t,n,s);var r,l,c,h,u=(e+" "+y.join(o+" ")+o).split(" "),d=t,p=i;for(r in u)if(u[r]in d)return!1===p?u[r]:f(h=d[u[r]],"function")?(l=h,c=p||d,function(){return l.apply(c,arguments)}):h;return!1}i._q.unshift(function(){delete _.style}),t.testAllProps=r;var l,c,C,T,S,D,P,M,I,E,A=t.prefixed=function(e,t,i){return 0===e.indexOf("@")?s(e):(-1!=e.indexOf("-")&&(e=v(e)),t?r(e,t,i):r(e,"pfx"))};for(P in i.addTest("lowbattery",function(){var e=A("battery",navigator);return!!(e&&!e.charging&&e.level<=.2)}),n)if(n.hasOwnProperty(P)){if(l=[],(c=n[P]).name&&(l.push(c.name.toLowerCase()),c.options)&&c.options.aliases&&c.options.aliases.length)for(C=0;C<c.options.aliases.length;C++)l.push(c.options.aliases[C].toLowerCase());for(T=f(c.fn,"function")?c.fn():c.fn,S=0;S<l.length;S++)1===(D=l[S].split(".")).length?i[D[0]]=T:(!i[D[0]]||i[D[0]]instanceof Boolean||(i[D[0]]=new Boolean(i[D[0]])),i[D[0]][D[1]]=T),e.push((T?"":"no-")+D.join("-"))}o=e,I=u.className,E=i._config.classPrefix||"",g&&(I=I.baseVal),i._config.enableJSClass&&(M=new RegExp("(^|\\s)"+E+"no-js(\\s|$)"),I=I.replace(M,"$1"+E+"js$2")),i._config.enableClasses&&(I+=" "+E+o.join(" "+E),g?u.className.baseVal=I:u.className=I),delete t.addTest,delete t.addAsyncTest;for(var $=0;$<i._q.length;$++)i._q[$]();d.Modernizr=i}(window,document),function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(e.document)return t(e);throw new Error("jQuery requires a window with a document")}:t(e)}("undefined"!=typeof window?window:this,function(w,H){"use strict";function b(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item}function g(e){return null!=e&&e===e.window}var t=[],z=Object.getPrototypeOf,r=t.slice,L=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},j=t.push,W=t.indexOf,F={},R=F.toString,q=F.hasOwnProperty,B=q.toString,Y=B.call(Object),m={},k=w.document,U={type:!0,src:!0,nonce:!0,noModule:!0};function V(e,t,i){var n,s,o=(i=i||k).createElement("script");if(o.text=e,t)for(n in U)(s=t[n]||t.getAttribute&&t.getAttribute(n))&&o.setAttribute(n,s);i.head.appendChild(o).parentNode.removeChild(o)}function f(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?F[R.call(e)]||"object":typeof e}var x=function(e,t){return new x.fn.init(e,t)};function K(e){var t=!!e&&"length"in e&&e.length,i=f(e);return!b(e)&&!g(e)&&("array"===i||0===t||"number"==typeof t&&0<t&&t-1 in e)}x.fn=x.prototype={jquery:"3.6.0",constructor:x,length:0,toArray:function(){return r.call(this)},get:function(e){return null==e?r.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){e=x.merge(this.constructor(),e);return e.prevObject=this,e},each:function(e){return x.each(this,e)},map:function(i){return this.pushStack(x.map(this,function(e,t){return i.call(e,t,e)}))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(x.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,e=+e+(e<0?t:0);return this.pushStack(0<=e&&e<t?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:j,sort:t.sort,splice:t.splice},x.extend=x.fn.extend=function(){var e,t,i,n,s,o=arguments[0]||{},a=1,r=arguments.length,l=!1;for("boolean"==typeof o&&(l=o,o=arguments[a]||{},a++),"object"==typeof o||b(o)||(o={}),a===r&&(o=this,a--);a<r;a++)if(null!=(e=arguments[a]))for(t in e)i=e[t],"__proto__"!==t&&o!==i&&(l&&i&&(x.isPlainObject(i)||(n=Array.isArray(i)))?(s=o[t],s=n&&!Array.isArray(s)?[]:n||x.isPlainObject(s)?s:{},n=!1,o[t]=x.extend(l,s,i)):void 0!==i&&(o[t]=i));return o},x.extend({expando:"jQuery"+("3.6.0"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){return!(!e||"[object Object]"!==R.call(e)||(e=z(e))&&("function"!=typeof(e=q.call(e,"constructor")&&e.constructor)||B.call(e)!==Y))},isEmptyObject:function(e){for(var t in e)return!1;return!0},globalEval:function(e,t,i){V(e,{nonce:t&&t.nonce},i)},each:function(e,t){var i,n=0;if(K(e))for(i=e.length;n<i&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},makeArray:function(e,t){t=t||[];return null!=e&&(K(Object(e))?x.merge(t,"string"==typeof e?[e]:e):j.call(t,e)),t},inArray:function(e,t,i){return null==t?-1:W.call(t,e,i)},merge:function(e,t){for(var i=+t.length,n=0,s=e.length;n<i;n++)e[s++]=t[n];return e.length=s,e},grep:function(e,t,i){for(var n=[],s=0,o=e.length,a=!i;s<o;s++)!t(e[s],s)!=a&&n.push(e[s]);return n},map:function(e,t,i){var n,s,o=0,a=[];if(K(e))for(n=e.length;o<n;o++)null!=(s=t(e[o],o,i))&&a.push(s);else for(o in e)null!=(s=t(e[o],o,i))&&a.push(s);return L(a)},guid:1,support:m}),"function"==typeof Symbol&&(x.fn[Symbol.iterator]=t[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){F["[object "+t+"]"]=t.toLowerCase()});function n(e,t,i){for(var n=[],s=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(s&&x(e).is(i))break;n.push(e)}return n}function X(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i}var e=function(H){function u(e,t){return e="0x"+e.slice(1)-65536,t||(e<0?String.fromCharCode(65536+e):String.fromCharCode(e>>10|55296,1023&e|56320))}function z(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}function L(){k()}var e,d,_,o,j,p,W,F,w,l,c,k,x,i,C,f,n,s,g,T="sizzle"+ +new Date,h=H.document,S=0,R=0,q=E(),B=E(),Y=E(),m=E(),U=function(e,t){return e===t&&(c=!0),0},V={}.hasOwnProperty,t=[],K=t.pop,X=t.push,D=t.push,G=t.slice,b=function(e,t){for(var i=0,n=e.length;i<n;i++)if(e[i]===t)return i;return-1},Q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",a="[\\x20\\t\\r\\n\\f]",r="(?:\\\\[\\da-fA-F]{1,6}"+a+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",J="\\["+a+"*("+r+")(?:"+a+"*([*^$|!~]?=)"+a+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+r+"))|)"+a+"*\\]",Z=":("+r+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+J+")*)|.*)\\)|)",ee=new RegExp(a+"+","g"),v=new RegExp("^"+a+"+|((?:^|[^\\\\])(?:\\\\.)*)"+a+"+$","g"),te=new RegExp("^"+a+"*,"+a+"*"),ie=new RegExp("^"+a+"*([>+~]|"+a+")"+a+"*"),ne=new RegExp(a+"|>"),se=new RegExp(Z),oe=new RegExp("^"+r+"$"),y={ID:new RegExp("^#("+r+")"),CLASS:new RegExp("^\\.("+r+")"),TAG:new RegExp("^("+r+"|[*])"),ATTR:new RegExp("^"+J),PSEUDO:new RegExp("^"+Z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+a+"*(even|odd|(([+-]|)(\\d*)n|)"+a+"*(?:([+-]|)"+a+"*(\\d+)|))"+a+"*\\)|)","i"),bool:new RegExp("^(?:"+Q+")$","i"),needsContext:new RegExp("^"+a+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+a+"*((?:-\\d)?\\d*)"+a+"*\\)|)(?=[^-]|$)","i")},ae=/HTML$/i,re=/^(?:input|select|textarea|button)$/i,le=/^h\d$/i,P=/^[^{]+\{\s*\[native \w/,ce=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,he=/[+~]/,M=new RegExp("\\\\[\\da-fA-F]{1,6}"+a+"?|\\\\([^\\r\\n\\f])","g"),ue=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,de=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{D.apply(t=G.call(h.childNodes),h.childNodes),t[h.childNodes.length].nodeType}catch(e){D={apply:t.length?function(e,t){X.apply(e,G.call(t))}:function(e,t){for(var i=e.length,n=0;e[i++]=t[n++];);e.length=i-1}}}function I(t,e,i,n){var s,o,a,r,l,c,h=e&&e.ownerDocument,u=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==u&&9!==u&&11!==u)return i;if(!n&&(k(e),e=e||x,C)){if(11!==u&&(r=ce.exec(t)))if(s=r[1]){if(9===u){if(!(c=e.getElementById(s)))return i;if(c.id===s)return i.push(c),i}else if(h&&(c=h.getElementById(s))&&g(e,c)&&c.id===s)return i.push(c),i}else{if(r[2])return D.apply(i,e.getElementsByTagName(t)),i;if((s=r[3])&&d.getElementsByClassName&&e.getElementsByClassName)return D.apply(i,e.getElementsByClassName(s)),i}if(d.qsa&&!m[t+" "]&&(!f||!f.test(t))&&(1!==u||"object"!==e.nodeName.toLowerCase())){if(c=t,h=e,1===u&&(ne.test(t)||ie.test(t))){for((h=he.test(t)&&me(e.parentNode)||e)===e&&d.scope||((a=e.getAttribute("id"))?a=a.replace(ue,z):e.setAttribute("id",a=T)),o=(l=p(t)).length;o--;)l[o]=(a?"#"+a:":scope")+" "+O(l[o]);c=l.join(",")}try{return D.apply(i,h.querySelectorAll(c)),i}catch(e){m(t,!0)}finally{a===T&&e.removeAttribute("id")}}}return F(t.replace(v,"$1"),e,i,n)}function E(){var i=[];function n(e,t){return i.push(e+" ")>_.cacheLength&&delete n[i.shift()],n[e+" "]=t}return n}function A(e){return e[T]=!0,e}function $(e){var t=x.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function pe(e,t){for(var i=e.split("|"),n=i.length;n--;)_.attrHandle[i[n]]=t}function fe(e,t){var i=t&&e,n=i&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return e?1:-1}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&de(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function N(a){return A(function(o){return o=+o,A(function(e,t){for(var i,n=a([],e.length,o),s=n.length;s--;)e[i=n[s]]&&(e[i]=!(t[i]=e[i]))})})}function me(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in d=I.support={},j=I.isXML=function(e){var t=e&&e.namespaceURI,e=e&&(e.ownerDocument||e).documentElement;return!ae.test(t||e&&e.nodeName||"HTML")},k=I.setDocument=function(e){var e=e?e.ownerDocument||e:h;return e!=x&&9===e.nodeType&&e.documentElement&&(i=(x=e).documentElement,C=!j(x),h!=x&&(e=x.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",L,!1):e.attachEvent&&e.attachEvent("onunload",L)),d.scope=$(function(e){return i.appendChild(e).appendChild(x.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=$(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=$(function(e){return e.appendChild(x.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=P.test(x.getElementsByClassName),d.getById=$(function(e){return i.appendChild(e).id=T,!x.getElementsByName||!x.getElementsByName(T).length}),d.getById?(_.filter.ID=function(e){var t=e.replace(M,u);return function(e){return e.getAttribute("id")===t}},_.find.ID=function(e,t){if(void 0!==t.getElementById&&C)return(t=t.getElementById(e))?[t]:[]}):(_.filter.ID=function(e){var t=e.replace(M,u);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}},_.find.ID=function(e,t){if(void 0!==t.getElementById&&C){var i,n,s,o=t.getElementById(e);if(o){if((i=o.getAttributeNode("id"))&&i.value===e)return[o];for(s=t.getElementsByName(e),n=0;o=s[n++];)if((i=o.getAttributeNode("id"))&&i.value===e)return[o]}return[]}}),_.find.TAG=d.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var i,n=[],s=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;i=o[s++];)1===i.nodeType&&n.push(i);return n},_.find.CLASS=d.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&C)return t.getElementsByClassName(e)},n=[],f=[],(d.qsa=P.test(x.querySelectorAll))&&($(function(e){var t;i.appendChild(e).innerHTML="<a id='"+T+"'></a><select id='"+T+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&f.push("[*^$]="+a+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||f.push("\\["+a+"*(?:value|"+Q+")"),e.querySelectorAll("[id~="+T+"-]").length||f.push("~="),(t=x.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||f.push("\\["+a+"*name"+a+"*="+a+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||f.push(":checked"),e.querySelectorAll("a#"+T+"+*").length||f.push(".#.+[+~]"),e.querySelectorAll("\\\f"),f.push("[\\r\\n\\f]")}),$(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=x.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&f.push("name"+a+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&f.push(":enabled",":disabled"),i.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),f.push(",.*:")})),(d.matchesSelector=P.test(s=i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.oMatchesSelector||i.msMatchesSelector))&&$(function(e){d.disconnectedMatch=s.call(e,"*"),s.call(e,"[s!='']:x"),n.push("!=",Z)}),f=f.length&&new RegExp(f.join("|")),n=n.length&&new RegExp(n.join("|")),e=P.test(i.compareDocumentPosition),g=e||P.test(i.contains)?function(e,t){var i=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(i.contains?i.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},U=e?function(e,t){var i;return e===t?(c=!0,0):(i=!e.compareDocumentPosition-!t.compareDocumentPosition)||(1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===i?e==x||e.ownerDocument==h&&g(h,e)?-1:t==x||t.ownerDocument==h&&g(h,t)?1:l?b(l,e)-b(l,t):0:4&i?-1:1)}:function(e,t){if(e===t)return c=!0,0;var i,n=0,s=e.parentNode,o=t.parentNode,a=[e],r=[t];if(!s||!o)return e==x?-1:t==x?1:s?-1:o?1:l?b(l,e)-b(l,t):0;if(s===o)return fe(e,t);for(i=e;i=i.parentNode;)a.unshift(i);for(i=t;i=i.parentNode;)r.unshift(i);for(;a[n]===r[n];)n++;return n?fe(a[n],r[n]):a[n]==h?-1:r[n]==h?1:0}),x},I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(k(e),d.matchesSelector&&C&&!m[t+" "]&&(!n||!n.test(t))&&(!f||!f.test(t)))try{var i=s.call(e,t);if(i||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){m(t,!0)}return 0<I(t,x,null,[e]).length},I.contains=function(e,t){return(e.ownerDocument||e)!=x&&k(e),g(e,t)},I.attr=function(e,t){(e.ownerDocument||e)!=x&&k(e);var i=_.attrHandle[t.toLowerCase()],i=i&&V.call(_.attrHandle,t.toLowerCase())?i(e,t,!C):void 0;return void 0!==i?i:d.attributes||!C?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},I.escape=function(e){return(e+"").replace(ue,z)},I.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},I.uniqueSort=function(e){var t,i=[],n=0,s=0;if(c=!d.detectDuplicates,l=!d.sortStable&&e.slice(0),e.sort(U),c){for(;t=e[s++];)t===e[s]&&(n=i.push(s));for(;n--;)e.splice(i[n],1)}return l=null,e},o=I.getText=function(e){var t,i="",n=0,s=e.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)i+=o(e)}else if(3===s||4===s)return e.nodeValue}else for(;t=e[n++];)i+=o(t);return i},(_=I.selectors={cacheLength:50,createPseudo:A,match:y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(M,u),e[3]=(e[3]||e[4]||e[5]||"").replace(M,u),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&se.test(i)&&(t=(t=p(i,!0))&&i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(M,u).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=q[e+" "];return t||(t=new RegExp("(^|"+a+")"+e+"("+a+"|$)"))&&q(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(e){e=I.attr(e,t);return null==e?"!="===i:!i||(e+="","="===i?e===n:"!="===i?e!==n:"^="===i?n&&0===e.indexOf(n):"*="===i?n&&-1<e.indexOf(n):"$="===i?n&&e.slice(-n.length)===n:"~="===i?-1<(" "+e.replace(ee," ")+" ").indexOf(n):"|="===i&&(e===n||e.slice(0,n.length+1)===n+"-"))}},CHILD:function(f,e,t,g,m){var v="nth"!==f.slice(0,3),b="last"!==f.slice(-4),y="of-type"===e;return 1===g&&0===m?function(e){return!!e.parentNode}:function(e,t,i){var n,s,o,a,r,l,c=v!=b?"nextSibling":"previousSibling",h=e.parentNode,u=y&&e.nodeName.toLowerCase(),d=!i&&!y,p=!1;if(h){if(v){for(;c;){for(a=e;a=a[c];)if(y?a.nodeName.toLowerCase()===u:1===a.nodeType)return!1;l=c="only"===f&&!l&&"nextSibling"}return!0}if(l=[b?h.firstChild:h.lastChild],b&&d){for(p=(r=(n=(s=(o=(a=h)[T]||(a[T]={}))[a.uniqueID]||(o[a.uniqueID]={}))[f]||[])[0]===S&&n[1])&&n[2],a=r&&h.childNodes[r];a=++r&&a&&a[c]||(p=r=0,l.pop());)if(1===a.nodeType&&++p&&a===e){s[f]=[S,r,p];break}}else if(!1===(p=d?r=(n=(s=(o=(a=e)[T]||(a[T]={}))[a.uniqueID]||(o[a.uniqueID]={}))[f]||[])[0]===S&&n[1]:p))for(;(a=++r&&a&&a[c]||(p=r=0,l.pop()))&&((y?a.nodeName.toLowerCase()!==u:1!==a.nodeType)||!++p||(d&&((s=(o=a[T]||(a[T]={}))[a.uniqueID]||(o[a.uniqueID]={}))[f]=[S,p]),a!==e)););return(p-=m)===g||p%g==0&&0<=p/g}}},PSEUDO:function(e,o){var t,a=_.pseudos[e]||_.setFilters[e.toLowerCase()]||I.error("unsupported pseudo: "+e);return a[T]?a(o):1<a.length?(t=[e,e,"",o],_.setFilters.hasOwnProperty(e.toLowerCase())?A(function(e,t){for(var i,n=a(e,o),s=n.length;s--;)e[i=b(e,n[s])]=!(t[i]=n[s])}):function(e){return a(e,0,t)}):a}},pseudos:{not:A(function(e){var n=[],s=[],r=W(e.replace(v,"$1"));return r[T]?A(function(e,t,i,n){for(var s,o=r(e,null,n,[]),a=e.length;a--;)(s=o[a])&&(e[a]=!(t[a]=s))}):function(e,t,i){return n[0]=e,r(n,null,i,s),n[0]=null,!s.pop()}}),has:A(function(t){return function(e){return 0<I(t,e).length}}),contains:A(function(t){return t=t.replace(M,u),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),lang:A(function(i){return oe.test(i||"")||I.error("unsupported lang: "+i),i=i.replace(M,u).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===i||0===t.indexOf(i+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=H.location&&H.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===i},focus:function(e){return e===x.activeElement&&(!x.hasFocus||x.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!_.pseudos.empty(e)},header:function(e){return le.test(e.nodeName)},input:function(e){return re.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase())},first:N(function(){return[0]}),last:N(function(e,t){return[t-1]}),eq:N(function(e,t,i){return[i<0?i+t:i]}),even:N(function(e,t){for(var i=0;i<t;i+=2)e.push(i);return e}),odd:N(function(e,t){for(var i=1;i<t;i+=2)e.push(i);return e}),lt:N(function(e,t,i){for(var n=i<0?i+t:t<i?t:i;0<=--n;)e.push(n);return e}),gt:N(function(e,t,i){for(var n=i<0?i+t:i;++n<t;)e.push(n);return e})}}).pseudos.nth=_.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})_.pseudos[e]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(e);for(e in{submit:!0,reset:!0})_.pseudos[e]=function(i){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===i}}(e);function ve(){}function O(e){for(var t=0,i=e.length,n="";t<i;t++)n+=e[t].value;return n}function be(a,e,t){var r=e.dir,l=e.next,c=l||r,h=t&&"parentNode"===c,u=R++;return e.first?function(e,t,i){for(;e=e[r];)if(1===e.nodeType||h)return a(e,t,i);return!1}:function(e,t,i){var n,s,o=[S,u];if(i){for(;e=e[r];)if((1===e.nodeType||h)&&a(e,t,i))return!0}else for(;e=e[r];)if(1===e.nodeType||h)if(s=(s=e[T]||(e[T]={}))[e.uniqueID]||(s[e.uniqueID]={}),l&&l===e.nodeName.toLowerCase())e=e[r]||e;else{if((n=s[c])&&n[0]===S&&n[1]===u)return o[2]=n[2];if((s[c]=o)[2]=a(e,t,i))return!0}return!1}}function ye(s){return 1<s.length?function(e,t,i){for(var n=s.length;n--;)if(!s[n](e,t,i))return!1;return!0}:s[0]}function _e(e,t,i,n,s){for(var o,a=[],r=0,l=e.length,c=null!=t;r<l;r++)!(o=e[r])||i&&!i(o,n,s)||(a.push(o),c&&t.push(r));return a}function we(p,f,g,m,v,e){return m&&!m[T]&&(m=we(m)),v&&!v[T]&&(v=we(v,e)),A(function(e,t,i,n){var s,o,a,r=[],l=[],c=t.length,h=e||function(e,t,i){for(var n=0,s=t.length;n<s;n++)I(e,t[n],i);return i}(f||"*",i.nodeType?[i]:i,[]),u=!p||!e&&f?h:_e(h,r,p,i,n),d=g?v||(e?p:c||m)?[]:t:u;if(g&&g(u,d,i,n),m)for(s=_e(d,l),m(s,[],i,n),o=s.length;o--;)(a=s[o])&&(d[l[o]]=!(u[l[o]]=a));if(e){if(v||p){if(v){for(s=[],o=d.length;o--;)(a=d[o])&&s.push(u[o]=a);v(null,d=[],s,n)}for(o=d.length;o--;)(a=d[o])&&-1<(s=v?b(e,a):r[o])&&(e[s]=!(t[s]=a))}}else d=_e(d===t?d.splice(c,d.length):d),v?v(null,t,d,n):D.apply(t,d)})}function ke(m,v){function e(e,t,i,n,s){var o,a,r,l=0,c="0",h=e&&[],u=[],d=w,p=e||y&&_.find.TAG("*",s),f=S+=null==d?1:Math.random()||.1,g=p.length;for(s&&(w=t==x||t||s);c!==g&&null!=(o=p[c]);c++){if(y&&o){for(a=0,t||o.ownerDocument==x||(k(o),i=!C);r=m[a++];)if(r(o,t||x,i)){n.push(o);break}s&&(S=f)}b&&((o=!r&&o)&&l--,e)&&h.push(o)}if(l+=c,b&&c!==l){for(a=0;r=v[a++];)r(h,u,t,i);if(e){if(0<l)for(;c--;)h[c]||u[c]||(u[c]=K.call(n));u=_e(u)}D.apply(n,u),s&&!e&&0<u.length&&1<l+v.length&&I.uniqueSort(n)}return s&&(S=f,w=d),h}var b=0<v.length,y=0<m.length;return b?A(e):e}return ve.prototype=_.filters=_.pseudos,_.setFilters=new ve,p=I.tokenize=function(e,t){var i,n,s,o,a,r,l,c=B[e+" "];if(c)return t?0:c.slice(0);for(a=e,r=[],l=_.preFilter;a;){for(o in i&&!(n=te.exec(a))||(n&&(a=a.slice(n[0].length)||a),r.push(s=[])),i=!1,(n=ie.exec(a))&&(i=n.shift(),s.push({value:i,type:n[0].replace(v," ")}),a=a.slice(i.length)),_.filter)!(n=y[o].exec(a))||l[o]&&!(n=l[o](n))||(i=n.shift(),s.push({value:i,type:o,matches:n}),a=a.slice(i.length));if(!i)break}return t?a.length:a?I.error(e):B(e,r).slice(0)},W=I.compile=function(e,t){var i,n=[],s=[],o=Y[e+" "];if(!o){for(i=(t=t||p(e)).length;i--;)((o=function e(t){for(var n,i,s,o=t.length,a=_.relative[t[0].type],r=a||_.relative[" "],l=a?1:0,c=be(function(e){return e===n},r,!0),h=be(function(e){return-1<b(n,e)},r,!0),u=[function(e,t,i){return e=!a&&(i||t!==w)||((n=t).nodeType?c:h)(e,t,i),n=null,e}];l<o;l++)if(i=_.relative[t[l].type])u=[be(ye(u),i)];else{if((i=_.filter[t[l].type].apply(null,t[l].matches))[T]){for(s=++l;s<o&&!_.relative[t[s].type];s++);return we(1<l&&ye(u),1<l&&O(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(v,"$1"),i,l<s&&e(t.slice(l,s)),s<o&&e(t=t.slice(s)),s<o&&O(t))}u.push(i)}return ye(u)}(t[i]))[T]?n:s).push(o);(o=Y(e,ke(s,n))).selector=e}return o},F=I.select=function(e,t,i,n){var s,o,a,r,l,c="function"==typeof e&&e,h=!n&&p(e=c.selector||e);if(i=i||[],1===h.length){if(2<(o=h[0]=h[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&C&&_.relative[o[1].type]){if(!(t=(_.find.ID(a.matches[0].replace(M,u),t)||[])[0]))return i;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(s=y.needsContext.test(e)?0:o.length;s--&&(a=o[s],!_.relative[r=a.type]);)if((l=_.find[r])&&(n=l(a.matches[0].replace(M,u),he.test(o[0].type)&&me(t.parentNode)||t))){if(o.splice(s,1),e=n.length&&O(o))break;return D.apply(i,n),i}}return(c||W(e,h))(n,t,!C,i,!t||he.test(e)&&me(t.parentNode)||t),i},d.sortStable=T.split("").sort(U).join("")===T,d.detectDuplicates=!!c,k(),d.sortDetached=$(function(e){return 1&e.compareDocumentPosition(x.createElement("fieldset"))}),$(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||pe("type|href|height|width",function(e,t,i){if(!i)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),d.attributes&&$(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||pe("value",function(e,t,i){if(!i&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),$(function(e){return null==e.getAttribute("disabled")})||pe(Q,function(e,t,i){if(!i)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),I}(w),G=(x.find=e,x.expr=e.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=e.uniqueSort,x.text=e.getText,x.isXMLDoc=e.isXML,x.contains=e.contains,x.escapeSelector=e.escape,x.expr.match.needsContext);function l(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var Q=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function J(e,i,n){return b(i)?x.grep(e,function(e,t){return!!i.call(e,t,e)!==n}):i.nodeType?x.grep(e,function(e){return e===i!==n}):"string"!=typeof i?x.grep(e,function(e){return-1<W.call(i,e)!==n}):x.filter(i,e,n)}x.filter=function(e,t,i){var n=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?x.find.matchesSelector(n,e)?[n]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},x.fn.extend({find:function(e){var t,i,n=this.length,s=this;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;t<n;t++)if(x.contains(s[t],this))return!0}));for(i=this.pushStack([]),t=0;t<n;t++)x.find(e,s[t],i);return 1<n?x.uniqueSort(i):i},filter:function(e){return this.pushStack(J(this,e||[],!1))},not:function(e){return this.pushStack(J(this,e||[],!0))},is:function(e){return!!J(this,"string"==typeof e&&G.test(e)?x(e):e||[],!1).length}});var Z,ee=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,te=((x.fn.init=function(e,t,i){if(e){if(i=i||Z,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==i.ready?i.ready(e):e(x):x.makeArray(e,this);if(!(n="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:ee.exec(e))||!n[1]&&t)return(!t||t.jquery?t||i:this.constructor(t)).find(e);if(n[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:k,!0)),Q.test(n[1])&&x.isPlainObject(t))for(var n in t)b(this[n])?this[n](t[n]):this.attr(n,t[n])}else(i=k.getElementById(n[2]))&&(this[0]=i,this.length=1)}return this}).prototype=x.fn,Z=x(k),/^(?:parents|prev(?:Until|All))/),ie={children:!0,contents:!0,next:!0,prev:!0};function ne(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),i=t.length;return this.filter(function(){for(var e=0;e<i;e++)if(x.contains(this,t[e]))return!0})},closest:function(e,t){var i,n=0,s=this.length,o=[],a="string"!=typeof e&&x(e);if(!G.test(e))for(;n<s;n++)for(i=this[n];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(a?-1<a.index(i):1===i.nodeType&&x.find.matchesSelector(i,e))){o.push(i);break}return this.pushStack(1<o.length?x.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?W.call(x(e),this[0]):W.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return n(e,"parentNode")},parentsUntil:function(e,t,i){return n(e,"parentNode",i)},next:function(e){return ne(e,"nextSibling")},prev:function(e){return ne(e,"previousSibling")},nextAll:function(e){return n(e,"nextSibling")},prevAll:function(e){return n(e,"previousSibling")},nextUntil:function(e,t,i){return n(e,"nextSibling",i)},prevUntil:function(e,t,i){return n(e,"previousSibling",i)},siblings:function(e){return X((e.parentNode||{}).firstChild,e)},children:function(e){return X(e.firstChild)},contents:function(e){return null!=e.contentDocument&&z(e.contentDocument)?e.contentDocument:(l(e,"template")&&(e=e.content||e),x.merge([],e.childNodes))}},function(n,s){x.fn[n]=function(e,t){var i=x.map(this,s,e);return(t="Until"!==n.slice(-5)?e:t)&&"string"==typeof t&&(i=x.filter(t,i)),1<this.length&&(ie[n]||x.uniqueSort(i),te.test(n))&&i.reverse(),this.pushStack(i)}});var C=/[^\x20\t\r\n\f]+/g;function h(e){return e}function se(e){throw e}function oe(e,t,i,n){var s;try{e&&b(s=e.promise)?s.call(e).done(t).fail(i):e&&b(s=e.then)?s.call(e,t,i):t.apply(void 0,[e].slice(n))}catch(e){i.apply(void 0,[e])}}x.Callbacks=function(n){var e,i;n="string"==typeof n?(e=n,i={},x.each(e.match(C)||[],function(e,t){i[t]=!0}),i):x.extend({},n);function s(){for(r=r||n.once,a=o=!0;c.length;h=-1)for(t=c.shift();++h<l.length;)!1===l[h].apply(t[0],t[1])&&n.stopOnFalse&&(h=l.length,t=!1);n.memory||(t=!1),o=!1,r&&(l=t?[]:"")}var o,t,a,r,l=[],c=[],h=-1,u={add:function(){return l&&(t&&!o&&(h=l.length-1,c.push(t)),function i(e){x.each(e,function(e,t){b(t)?n.unique&&u.has(t)||l.push(t):t&&t.length&&"string"!==f(t)&&i(t)})}(arguments),t)&&!o&&s(),this},remove:function(){return x.each(arguments,function(e,t){for(var i;-1<(i=x.inArray(t,l,i));)l.splice(i,1),i<=h&&h--}),this},has:function(e){return e?-1<x.inArray(e,l):0<l.length},empty:function(){return l=l&&[],this},disable:function(){return r=c=[],l=t="",this},disabled:function(){return!l},lock:function(){return r=c=[],t||o||(l=t=""),this},locked:function(){return!!r},fireWith:function(e,t){return r||(t=[e,(t=t||[]).slice?t.slice():t],c.push(t),o)||s(),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!a}};return u},x.extend({Deferred:function(e){var o=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],s="pending",a={state:function(){return s},always:function(){return r.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var s=arguments;return x.Deferred(function(n){x.each(o,function(e,t){var i=b(s[t[4]])&&s[t[4]];r[t[1]](function(){var e=i&&i.apply(this,arguments);e&&b(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[t[0]+"With"](this,i?[e]:arguments)})}),s=null}).promise()},then:function(t,i,n){var l=0;function c(s,o,a,r){return function(){function e(){var e,t;if(!(s<l)){if((e=a.apply(i,n))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,b(t)?r?t.call(e,c(l,o,h,r),c(l,o,se,r)):(l++,t.call(e,c(l,o,h,r),c(l,o,se,r),c(l,o,h,o.notifyWith))):(a!==h&&(i=void 0,n=[e]),(r||o.resolveWith)(i,n))}}var i=this,n=arguments,t=r?e:function(){try{e()}catch(e){x.Deferred.exceptionHook&&x.Deferred.exceptionHook(e,t.stackTrace),l<=s+1&&(a!==se&&(i=void 0,n=[e]),o.rejectWith(i,n))}};s?t():(x.Deferred.getStackHook&&(t.stackTrace=x.Deferred.getStackHook()),w.setTimeout(t))}}return x.Deferred(function(e){o[0][3].add(c(0,e,b(n)?n:h,e.notifyWith)),o[1][3].add(c(0,e,b(t)?t:h)),o[2][3].add(c(0,e,b(i)?i:se))}).promise()},promise:function(e){return null!=e?x.extend(e,a):a}},r={};return x.each(o,function(e,t){var i=t[2],n=t[5];a[t[1]]=i.add,n&&i.add(function(){s=n},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),i.add(t[3].fire),r[t[0]]=function(){return r[t[0]+"With"](this===r?void 0:this,arguments),this},r[t[0]+"With"]=i.fireWith}),a.promise(r),e&&e.call(r,r),r},when:function(e){function t(t){return function(e){s[t]=this,o[t]=1<arguments.length?r.call(arguments):e,--i||a.resolveWith(s,o)}}var i=arguments.length,n=i,s=Array(n),o=r.call(arguments),a=x.Deferred();if(i<=1&&(oe(e,a.done(t(n)).resolve,a.reject,!i),"pending"===a.state()||b(o[n]&&o[n].then)))return a.then();for(;n--;)oe(o[n],t(n),a.reject);return a.promise()}});var ae=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/,re=(x.Deferred.exceptionHook=function(e,t){w.console&&w.console.warn&&e&&ae.test(e.name)&&w.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},x.readyException=function(e){w.setTimeout(function(){throw e})},x.Deferred());function le(){k.removeEventListener("DOMContentLoaded",le),w.removeEventListener("load",le),x.ready()}x.fn.ready=function(e){return re.then(e).catch(function(e){x.readyException(e)}),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0)!==e&&0<--x.readyWait||re.resolveWith(k,[x])}}),x.ready.then=re.then,"complete"===k.readyState||"loading"!==k.readyState&&!k.documentElement.doScroll?w.setTimeout(x.ready):(k.addEventListener("DOMContentLoaded",le),w.addEventListener("load",le));function u(e,t,i,n,s,o,a){var r=0,l=e.length,c=null==i;if("object"===f(i))for(r in s=!0,i)u(e,t,r,i[r],!0,o,a);else if(void 0!==n&&(s=!0,b(n)||(a=!0),t=c?a?(t.call(e,n),null):(c=t,function(e,t,i){return c.call(x(e),i)}):t))for(;r<l;r++)t(e[r],i,a?n:n.call(e[r],r,t(e[r],i)));return s?e:c?t.call(e):l?t(e[0],i):o}var ce=/^-ms-/,he=/-([a-z])/g;function ue(e,t){return t.toUpperCase()}function y(e){return e.replace(ce,"ms-").replace(he,ue)}function v(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function de(){this.expando=x.expando+de.uid++}de.uid=1,de.prototype={cache:function(e){var t=e[this.expando];return t||(t={},v(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,i){var n,s=this.cache(e);if("string"==typeof t)s[y(t)]=i;else for(n in t)s[y(n)]=t[n];return s},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][y(t)]},access:function(e,t,i){return void 0===t||t&&"string"==typeof t&&void 0===i?this.get(e,t):(this.set(e,t,i),void 0!==i?i:t)},remove:function(e,t){var i,n=e[this.expando];if(void 0!==n){if(void 0!==t){i=(t=Array.isArray(t)?t.map(y):(t=y(t))in n?[t]:t.match(C)||[]).length;for(;i--;)delete n[t[i]]}void 0!==t&&!x.isEmptyObject(n)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){e=e[this.expando];return void 0!==e&&!x.isEmptyObject(e)}};var _=new de,c=new de,pe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,fe=/[A-Z]/g;function ge(e,t,i){var n,s;if(void 0===i&&1===e.nodeType)if(n="data-"+t.replace(fe,"-$&").toLowerCase(),"string"==typeof(i=e.getAttribute(n))){try{i="true"===(s=i)||"false"!==s&&("null"===s?null:s===+s+""?+s:pe.test(s)?JSON.parse(s):s)}catch(e){}c.set(e,t,i)}else i=void 0;return i}x.extend({hasData:function(e){return c.hasData(e)||_.hasData(e)},data:function(e,t,i){return c.access(e,t,i)},removeData:function(e,t){c.remove(e,t)},_data:function(e,t,i){return _.access(e,t,i)},_removeData:function(e,t){_.remove(e,t)}}),x.fn.extend({data:function(i,e){var t,n,s,o=this[0],a=o&&o.attributes;if(void 0!==i)return"object"==typeof i?this.each(function(){c.set(this,i)}):u(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=c.get(o,i))||void 0!==(t=ge(o,i))?t:void 0;this.each(function(){c.set(this,i,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(s=c.get(o),1===o.nodeType)&&!_.get(o,"hasDataAttrs")){for(t=a.length;t--;)a[t]&&0===(n=a[t].name).indexOf("data-")&&(n=y(n.slice(5)),ge(o,n,s[n]));_.set(o,"hasDataAttrs",!0)}return s},removeData:function(e){return this.each(function(){c.remove(this,e)})}}),x.extend({queue:function(e,t,i){var n;if(e)return n=_.get(e,t=(t||"fx")+"queue"),i&&(!n||Array.isArray(i)?n=_.access(e,t,x.makeArray(i)):n.push(i)),n||[]},dequeue:function(e,t){t=t||"fx";var i=x.queue(e,t),n=i.length,s=i.shift(),o=x._queueHooks(e,t);"inprogress"===s&&(s=i.shift(),n--),s&&("fx"===t&&i.unshift("inprogress"),delete o.stop,s.call(e,function(){x.dequeue(e,t)},o)),!n&&o&&o.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return _.get(e,i)||_.access(e,i,{empty:x.Callbacks("once memory").add(function(){_.remove(e,[t+"queue",i])})})}}),x.fn.extend({queue:function(t,i){var e=2;return"string"!=typeof t&&(i=t,t="fx",e--),arguments.length<e?x.queue(this[0],t):void 0===i?this:this.each(function(){var e=x.queue(this,t,i);x._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&x.dequeue(this,t)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function i(){--s||o.resolveWith(a,[a])}var n,s=1,o=x.Deferred(),a=this,r=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";r--;)(n=_.get(a[r],e+"queueHooks"))&&n.empty&&(s++,n.empty.add(i));return i(),o.promise(t)}});function me(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&S(e)&&"none"===x.css(e,"display")}var e=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ve=new RegExp("^(?:([+-])=|)("+e+")([a-z%]*)$","i"),d=["Top","Right","Bottom","Left"],T=k.documentElement,S=function(e){return x.contains(e.ownerDocument,e)},be={composed:!0};T.getRootNode&&(S=function(e){return x.contains(e.ownerDocument,e)||e.getRootNode(be)===e.ownerDocument});function ye(e,t,i,n){var s,o,a=20,r=n?function(){return n.cur()}:function(){return x.css(e,t,"")},l=r(),c=i&&i[3]||(x.cssNumber[t]?"":"px"),h=e.nodeType&&(x.cssNumber[t]||"px"!==c&&+l)&&ve.exec(x.css(e,t));if(h&&h[3]!==c){for(c=c||h[3],h=+(l/=2)||1;a--;)x.style(e,t,h+c),(1-o)*(1-(o=r()/l||.5))<=0&&(a=0),h/=o;x.style(e,t,(h*=2)+c),i=i||[]}return i&&(h=+h||+l||0,s=i[1]?h+(i[1]+1)*i[2]:+i[2],n)&&(n.unit=c,n.start=h,n.end=s),s}var _e={};function D(e,t){for(var i,n,s,o,a,r=[],l=0,c=e.length;l<c;l++)(n=e[l]).style&&(i=n.style.display,t?("none"===i&&(r[l]=_.get(n,"display")||null,r[l]||(n.style.display="")),""===n.style.display&&me(n)&&(r[l]=(a=o=void 0,o=(s=n).ownerDocument,s=s.nodeName,(a=_e[s])||(o=o.body.appendChild(o.createElement(s)),a=x.css(o,"display"),o.parentNode.removeChild(o),_e[s]=a="none"===a?"block":a),a))):"none"!==i&&(r[l]="none",_.set(n,"display",i)));for(l=0;l<c;l++)null!=r[l]&&(e[l].style.display=r[l]);return e}x.fn.extend({show:function(){return D(this,!0)},hide:function(){return D(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){me(this)?x(this).show():x(this).hide()})}});var we=/^(?:checkbox|radio)$/i,ke=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,xe=/^$|^module$|\/(?:java|ecma)script/i,P=(A=k.createDocumentFragment().appendChild(k.createElement("div")),(a=k.createElement("input")).setAttribute("type","radio"),a.setAttribute("checked","checked"),a.setAttribute("name","t"),A.appendChild(a),m.checkClone=A.cloneNode(!0).cloneNode(!0).lastChild.checked,A.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!A.cloneNode(!0).lastChild.defaultValue,A.innerHTML="<option></option>",m.option=!!A.lastChild,{thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]});function M(e,t){var i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&l(e,t)?x.merge([e],i):i}function Ce(e,t){for(var i=0,n=e.length;i<n;i++)_.set(e[i],"globalEval",!t||_.get(t[i],"globalEval"))}P.tbody=P.tfoot=P.colgroup=P.caption=P.thead,P.th=P.td,m.option||(P.optgroup=P.option=[1,"<select multiple='multiple'>","</select>"]);var Te=/<|&#?\w+;/;function Se(e,t,i,n,s){for(var o,a,r,l,c,h=t.createDocumentFragment(),u=[],d=0,p=e.length;d<p;d++)if((o=e[d])||0===o)if("object"===f(o))x.merge(u,o.nodeType?[o]:o);else if(Te.test(o)){for(a=a||h.appendChild(t.createElement("div")),r=(ke.exec(o)||["",""])[1].toLowerCase(),r=P[r]||P._default,a.innerHTML=r[1]+x.htmlPrefilter(o)+r[2],c=r[0];c--;)a=a.lastChild;x.merge(u,a.childNodes),(a=h.firstChild).textContent=""}else u.push(t.createTextNode(o));for(h.textContent="",d=0;o=u[d++];)if(n&&-1<x.inArray(o,n))s&&s.push(o);else if(l=S(o),a=M(h.appendChild(o),"script"),l&&Ce(a),i)for(c=0;o=a[c++];)xe.test(o.type||"")&&i.push(o);return h}var De=/^([^.]*)(?:\.(.+)|)/;function i(){return!0}function p(){return!1}function Pe(e,t){return e===function(){try{return k.activeElement}catch(e){}}()==("focus"===t)}function Me(e,t,i,n,s,o){var a,r;if("object"==typeof t){for(r in"string"!=typeof i&&(n=n||i,i=void 0),t)Me(e,r,i,n,t[r],o);return e}if(null==n&&null==s?(s=i,n=i=void 0):null==s&&("string"==typeof i?(s=n,n=void 0):(s=n,n=i,i=void 0)),!1===s)s=p;else if(!s)return e;return 1===o&&(a=s,(s=function(e){return x().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=x.guid++)),e.each(function(){x.event.add(this,t,s,n,i)})}function Ie(e,s,o){o?(_.set(e,s,!1),x.event.add(e,s,{namespace:!1,handler:function(e){var t,i,n=_.get(this,s);if(1&e.isTrigger&&this[s]){if(n.length)(x.event.special[s]||{}).delegateType&&e.stopPropagation();else if(n=r.call(arguments),_.set(this,s,n),t=o(this,s),this[s](),n!==(i=_.get(this,s))||t?_.set(this,s,!1):i={},n!==i)return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}else n.length&&(_.set(this,s,{value:x.event.trigger(x.extend(n[0],x.Event.prototype),n.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===_.get(e,s)&&x.event.add(e,s,i)}x.event={global:{},add:function(t,e,i,n,s){var o,a,r,l,c,h,u,d,p,f=_.get(t);if(v(t))for(i.handler&&(i=(o=i).handler,s=o.selector),s&&x.find.matchesSelector(T,s),i.guid||(i.guid=x.guid++),r=(r=f.events)||(f.events=Object.create(null)),a=(a=f.handle)||(f.handle=function(e){return void 0!==x&&x.event.triggered!==e.type?x.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(C)||[""]).length;l--;)u=p=(d=De.exec(e[l])||[])[1],d=(d[2]||"").split(".").sort(),u&&(c=x.event.special[u]||{},u=(s?c.delegateType:c.bindType)||u,c=x.event.special[u]||{},p=x.extend({type:u,origType:p,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&x.expr.match.needsContext.test(s),namespace:d.join(".")},o),(h=r[u])||((h=r[u]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,n,d,a))||t.addEventListener&&t.addEventListener(u,a),c.add&&(c.add.call(t,p),p.handler.guid||(p.handler.guid=i.guid)),s?h.splice(h.delegateCount++,0,p):h.push(p),x.event.global[u]=!0)},remove:function(e,t,i,n,s){var o,a,r,l,c,h,u,d,p,f,g,m=_.hasData(e)&&_.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(C)||[""]).length;c--;)if(p=g=(r=De.exec(t[c])||[])[1],f=(r[2]||"").split(".").sort(),p){for(u=x.event.special[p]||{},d=l[p=(n?u.delegateType:u.bindType)||p]||[],r=r[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)h=d[o],!s&&g!==h.origType||i&&i.guid!==h.guid||r&&!r.test(h.namespace)||n&&n!==h.selector&&("**"!==n||!h.selector)||(d.splice(o,1),h.selector&&d.delegateCount--,u.remove&&u.remove.call(e,h));a&&!d.length&&(u.teardown&&!1!==u.teardown.call(e,f,m.handle)||x.removeEvent(e,p,m.handle),delete l[p])}else for(p in l)x.event.remove(e,p+t[c],i,n,!0);x.isEmptyObject(l)&&_.remove(e,"handle events")}},dispatch:function(e){var t,i,n,s,o,a=new Array(arguments.length),r=x.event.fix(e),e=(_.get(this,"events")||Object.create(null))[r.type]||[],l=x.event.special[r.type]||{};for(a[0]=r,t=1;t<arguments.length;t++)a[t]=arguments[t];if(r.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,r)){for(o=x.event.handlers.call(this,r,e),t=0;(n=o[t++])&&!r.isPropagationStopped();)for(r.currentTarget=n.elem,i=0;(s=n.handlers[i++])&&!r.isImmediatePropagationStopped();)r.rnamespace&&!1!==s.namespace&&!r.rnamespace.test(s.namespace)||(r.handleObj=s,r.data=s.data,void 0!==(s=((x.event.special[s.origType]||{}).handle||s.handler).apply(n.elem,a))&&!1===(r.result=s)&&(r.preventDefault(),r.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,r),r.result}},handlers:function(e,t){var i,n,s,o,a,r=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&1<=e.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],a={},i=0;i<l;i++)void 0===a[s=(n=t[i]).selector+" "]&&(a[s]=n.needsContext?-1<x(s,this).index(c):x.find(s,this,null,[c]).length),a[s]&&o.push(n);o.length&&r.push({elem:c,handlers:o})}return c=this,l<t.length&&r.push({elem:c,handlers:t.slice(l)}),r},addProp:function(t,e){Object.defineProperty(x.Event.prototype,t,{enumerable:!0,configurable:!0,get:b(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[x.expando]?e:new x.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){e=this||e;return we.test(e.type)&&e.click&&l(e,"input")&&Ie(e,"click",i),!1},trigger:function(e){e=this||e;return we.test(e.type)&&e.click&&l(e,"input")&&Ie(e,"click"),!0},_default:function(e){e=e.target;return we.test(e.type)&&e.click&&l(e,"input")&&_.get(e,"click")||l(e,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},x.removeEvent=function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i)},x.Event=function(e,t){if(!(this instanceof x.Event))return new x.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?i:p,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&x.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[x.expando]=!0},x.Event.prototype={constructor:x.Event,isDefaultPrevented:p,isPropagationStopped:p,isImmediatePropagationStopped:p,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=i,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=i,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=i,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},x.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},x.event.addProp),x.each({focus:"focusin",blur:"focusout"},function(e,t){x.event.special[e]={setup:function(){return Ie(this,e,Pe),!1},trigger:function(){return Ie(this,e),!0},_default:function(){return!0},delegateType:t}}),x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,s){x.event.special[e]={delegateType:s,bindType:s,handle:function(e){var t,i=e.relatedTarget,n=e.handleObj;return i&&(i===this||x.contains(this,i))||(e.type=n.origType,t=n.handler.apply(this,arguments),e.type=s),t}}}),x.fn.extend({on:function(e,t,i,n){return Me(this,e,t,i,n)},one:function(e,t,i,n){return Me(this,e,t,i,n,1)},off:function(e,t,i){var n,s;if(e&&e.preventDefault&&e.handleObj)n=e.handleObj,x(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler);else{if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(i=t,t=void 0),!1===i&&(i=p),this.each(function(){x.event.remove(this,e,i,t)});for(s in e)this.off(s,t,e[s])}return this}});var Ee=/<script|<style|<link/i,Ae=/checked\s*(?:[^=]|=\s*.checked.)/i,$e=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ne(e,t){return l(e,"table")&&l(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function Oe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function He(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function ze(e,t){var i,n,s,o;if(1===t.nodeType){if(_.hasData(e)&&(o=_.get(e).events))for(s in _.remove(t,"handle events"),o)for(i=0,n=o[s].length;i<n;i++)x.event.add(t,s,o[s][i]);c.hasData(e)&&(e=c.access(e),e=x.extend({},e),c.set(t,e))}}function I(i,n,s,o){n=L(n);var e,t,a,r,l,c,h=0,u=i.length,d=u-1,p=n[0],f=b(p);if(f||1<u&&"string"==typeof p&&!m.checkClone&&Ae.test(p))return i.each(function(e){var t=i.eq(e);f&&(n[0]=p.call(this,e,t.html())),I(t,n,s,o)});if(u&&(t=(e=Se(n,i[0].ownerDocument,!1,i,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(r=(a=x.map(M(e,"script"),Oe)).length;h<u;h++)l=e,h!==d&&(l=x.clone(l,!0,!0),r)&&x.merge(a,M(l,"script")),s.call(i[h],l,h);if(r)for(c=a[a.length-1].ownerDocument,x.map(a,He),h=0;h<r;h++)l=a[h],xe.test(l.type||"")&&!_.access(l,"globalEval")&&x.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?x._evalUrl&&!l.noModule&&x._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):V(l.textContent.replace($e,""),l,c))}return i}function Le(e,t,i){for(var n,s=t?x.filter(t,e):e,o=0;null!=(n=s[o]);o++)i||1!==n.nodeType||x.cleanData(M(n)),n.parentNode&&(i&&S(n)&&Ce(M(n,"script")),n.parentNode.removeChild(n));return e}x.extend({htmlPrefilter:function(e){return e},clone:function(e,t,i){var n,s,o,a,r,l,c,h=e.cloneNode(!0),u=S(e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(a=M(h),n=0,s=(o=M(e)).length;n<s;n++)r=o[n],l=a[n],c=void 0,"input"===(c=l.nodeName.toLowerCase())&&we.test(r.type)?l.checked=r.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=r.defaultValue);if(t)if(i)for(o=o||M(e),a=a||M(h),n=0,s=o.length;n<s;n++)ze(o[n],a[n]);else ze(e,h);return 0<(a=M(h,"script")).length&&Ce(a,!u&&M(e,"script")),h},cleanData:function(e){for(var t,i,n,s=x.event.special,o=0;void 0!==(i=e[o]);o++)if(v(i)){if(t=i[_.expando]){if(t.events)for(n in t.events)s[n]?x.event.remove(i,n):x.removeEvent(i,n,t.handle);i[_.expando]=void 0}i[c.expando]&&(i[c.expando]=void 0)}}}),x.fn.extend({detach:function(e){return Le(this,e,!0)},remove:function(e){return Le(this,e)},text:function(e){return u(this,function(e){return void 0===e?x.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return I(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ne(this,e).appendChild(e)})},prepend:function(){return I(this,arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=Ne(this,e)).insertBefore(e,t.firstChild)})},before:function(){return I(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return I(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(M(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return u(this,function(e){var t=this[0]||{},i=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ee.test(e)&&!P[(ke.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;i<n;i++)1===(t=this[i]||{}).nodeType&&(x.cleanData(M(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var i=[];return I(this,arguments,function(e){var t=this.parentNode;x.inArray(this,i)<0&&(x.cleanData(M(this)),t)&&t.replaceChild(e,this)},i)}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){x.fn[e]=function(e){for(var t,i=[],n=x(e),s=n.length-1,o=0;o<=s;o++)t=o===s?this:this.clone(!0),x(n[o])[a](t),j.apply(i,t.get());return this.pushStack(i)}});function je(e){var t=e.ownerDocument.defaultView;return(t=t&&t.opener?t:w).getComputedStyle(e)}function We(e,t,i){var n,s={};for(n in t)s[n]=e.style[n],e.style[n]=t[n];for(n in i=i.call(e),t)e.style[n]=s[n];return i}var Fe,Re,qe,Be,Ye,Ue,Ve,s,Ke=new RegExp("^("+e+")(?!px)[a-z%]+$","i"),Xe=new RegExp(d.join("|"),"i");function Ge(){var e;s&&(Ve.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",s.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",T.appendChild(Ve).appendChild(s),e=w.getComputedStyle(s),Fe="1%"!==e.top,Ue=12===Qe(e.marginLeft),s.style.right="60%",Be=36===Qe(e.right),Re=36===Qe(e.width),s.style.position="absolute",qe=12===Qe(s.offsetWidth/3),T.removeChild(Ve),s=null)}function Qe(e){return Math.round(parseFloat(e))}function Je(e,t,i){var n,s,o=e.style;return(i=i||je(e))&&(""!==(s=i.getPropertyValue(t)||i[t])||S(e)||(s=x.style(e,t)),!m.pixelBoxStyles())&&Ke.test(s)&&Xe.test(t)&&(e=o.width,t=o.minWidth,n=o.maxWidth,o.minWidth=o.maxWidth=o.width=s,s=i.width,o.width=e,o.minWidth=t,o.maxWidth=n),void 0!==s?s+"":s}function Ze(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}Ve=k.createElement("div"),(s=k.createElement("div")).style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===s.style.backgroundClip,x.extend(m,{boxSizingReliable:function(){return Ge(),Re},pixelBoxStyles:function(){return Ge(),Be},pixelPosition:function(){return Ge(),Fe},reliableMarginLeft:function(){return Ge(),Ue},scrollboxSize:function(){return Ge(),qe},reliableTrDimensions:function(){var e,t,i;return null==Ye&&(e=k.createElement("table"),t=k.createElement("tr"),i=k.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",i.style.height="9px",i.style.display="block",T.appendChild(e).appendChild(t).appendChild(i),i=w.getComputedStyle(t),Ye=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,T.removeChild(e)),Ye}}));var et=["Webkit","Moz","ms"],tt=k.createElement("div").style,it={};function nt(e){var t=x.cssProps[e]||it[e];return t||(e in tt?e:it[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),i=et.length;i--;)if((e=et[i]+t)in tt)return e}(e)||e)}var st=/^(none|table(?!-c[ea]).+)/,ot=/^--/,at={position:"absolute",visibility:"hidden",display:"block"},rt={letterSpacing:"0",fontWeight:"400"};function lt(e,t,i){var n=ve.exec(t);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):t}function ct(e,t,i,n,s,o){var a="width"===t?1:0,r=0,l=0;if(i===(n?"border":"content"))return 0;for(;a<4;a+=2)"margin"===i&&(l+=x.css(e,i+d[a],!0,s)),n?("content"===i&&(l-=x.css(e,"padding"+d[a],!0,s)),"margin"!==i&&(l-=x.css(e,"border"+d[a]+"Width",!0,s))):(l+=x.css(e,"padding"+d[a],!0,s),"padding"!==i?l+=x.css(e,"border"+d[a]+"Width",!0,s):r+=x.css(e,"border"+d[a]+"Width",!0,s));return!n&&0<=o&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-r-.5))||0),l}function ht(e,t,i){var n=je(e),s=(!m.boxSizingReliable()||i)&&"border-box"===x.css(e,"boxSizing",!1,n),o=s,a=Je(e,t,n),r="offset"+t[0].toUpperCase()+t.slice(1);if(Ke.test(a)){if(!i)return a;a="auto"}return(!m.boxSizingReliable()&&s||!m.reliableTrDimensions()&&l(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===x.css(e,"display",!1,n))&&e.getClientRects().length&&(s="border-box"===x.css(e,"boxSizing",!1,n),o=r in e)&&(a=e[r]),(a=parseFloat(a)||0)+ct(e,t,i||(s?"border":"content"),o,n,a)+"px"}function o(e,t,i,n,s){return new o.prototype.init(e,t,i,n,s)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t)return""===(t=Je(e,"opacity"))?"1":t}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,i,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var s,o,a,r=y(t),l=ot.test(t),c=e.style;if(l||(t=nt(r)),a=x.cssHooks[t]||x.cssHooks[r],void 0===i)return a&&"get"in a&&void 0!==(s=a.get(e,!1,n))?s:c[t];"string"===(o=typeof i)&&(s=ve.exec(i))&&s[1]&&(i=ye(e,t,s),o="number"),null==i||i!=i||("number"!==o||l||(i+=s&&s[3]||(x.cssNumber[r]?"":"px")),m.clearCloneStyle||""!==i||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(i=a.set(e,i,n)))||(l?c.setProperty(t,i):c[t]=i)}},css:function(e,t,i,n){var s,o=y(t);return ot.test(t)||(t=nt(o)),"normal"===(s=void 0===(s=(o=x.cssHooks[t]||x.cssHooks[o])&&"get"in o?o.get(e,!0,i):s)?Je(e,t,n):s)&&t in rt&&(s=rt[t]),(""===i||i)&&(o=parseFloat(s),!0===i||isFinite(o))?o||0:s}}),x.each(["height","width"],function(e,a){x.cssHooks[a]={get:function(e,t,i){if(t)return!st.test(x.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ht(e,a,i):We(e,at,function(){return ht(e,a,i)})},set:function(e,t,i){var n=je(e),s=!m.scrollboxSize()&&"absolute"===n.position,o=(s||i)&&"border-box"===x.css(e,"boxSizing",!1,n),i=i?ct(e,a,i,o,n):0;return o&&s&&(i-=Math.ceil(e["offset"+a[0].toUpperCase()+a.slice(1)]-parseFloat(n[a])-ct(e,a,"border",!1,n)-.5)),i&&(o=ve.exec(t))&&"px"!==(o[3]||"px")&&(e.style[a]=t,t=x.css(e,a)),lt(0,t,i)}}}),x.cssHooks.marginLeft=Ze(m.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Je(e,"marginLeft"))||e.getBoundingClientRect().left-We(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),x.each({margin:"",padding:"",border:"Width"},function(s,o){x.cssHooks[s+o]={expand:function(e){for(var t=0,i={},n="string"==typeof e?e.split(" "):[e];t<4;t++)i[s+d[t]+o]=n[t]||n[t-2]||n[0];return i}},"margin"!==s&&(x.cssHooks[s+o].set=lt)}),x.fn.extend({css:function(e,t){return u(this,function(e,t,i){var n,s,o={},a=0;if(Array.isArray(t)){for(n=je(e),s=t.length;a<s;a++)o[t[a]]=x.css(e,t[a],!1,n);return o}return void 0!==i?x.style(e,t,i):x.css(e,t)},e,t,1<arguments.length)}}),((x.Tween=o).prototype={constructor:o,init:function(e,t,i,n,s,o){this.elem=e,this.prop=i,this.easing=s||x.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=o||(x.cssNumber[i]?"":"px")},cur:function(){var e=o.propHooks[this.prop];return(e&&e.get?e:o.propHooks._default).get(this)},run:function(e){var t,i=o.propHooks[this.prop];return this.options.duration?this.pos=t=x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(i&&i.set?i:o.propHooks._default).set(this),this}}).init.prototype=o.prototype,(o.propHooks={_default:{get:function(e){return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(e=x.css(e.elem,e.prop,""))&&"auto"!==e?e:0},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):1!==e.elem.nodeType||!x.cssHooks[e.prop]&&null==e.elem.style[nt(e.prop)]?e.elem[e.prop]=e.now:x.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=o.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},x.fx=o.prototype.init,x.fx.step={};var E,ut,a,A,dt=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function ft(){ut&&(!1===k.hidden&&w.requestAnimationFrame?w.requestAnimationFrame(ft):w.setTimeout(ft,x.fx.interval),x.fx.tick())}function gt(){return w.setTimeout(function(){E=void 0}),E=Date.now()}function mt(e,t){var i,n=0,s={height:e};for(t=t?1:0;n<4;n+=2-t)s["margin"+(i=d[n])]=s["padding"+i]=e;return t&&(s.opacity=s.width=e),s}function vt(e,t,i){for(var n,s=($.tweeners[t]||[]).concat($.tweeners["*"]),o=0,a=s.length;o<a;o++)if(n=s[o].call(i,t,e))return n}function $(s,e,t){var i,o,n,a,r,l,c,h=0,u=$.prefilters.length,d=x.Deferred().always(function(){delete p.elem}),p=function(){if(!o){for(var e=E||gt(),e=Math.max(0,f.startTime+f.duration-e),t=1-(e/f.duration||0),i=0,n=f.tweens.length;i<n;i++)f.tweens[i].run(t);if(d.notifyWith(s,[f,t,e]),t<1&&n)return e;n||d.notifyWith(s,[f,1,0]),d.resolveWith(s,[f])}return!1},f=d.promise({elem:s,props:x.extend({},e),opts:x.extend(!0,{specialEasing:{},easing:x.easing._default},t),originalProperties:e,originalOptions:t,startTime:E||gt(),duration:t.duration,tweens:[],createTween:function(e,t){t=x.Tween(s,f.opts,e,t,f.opts.specialEasing[e]||f.opts.easing);return f.tweens.push(t),t},stop:function(e){var t=0,i=e?f.tweens.length:0;if(!o){for(o=!0;t<i;t++)f.tweens[t].run(1);e?(d.notifyWith(s,[f,1,0]),d.resolveWith(s,[f,e])):d.rejectWith(s,[f,e])}return this}}),g=f.props,m=g,v=f.opts.specialEasing;for(n in m)if(r=v[a=y(n)],l=m[n],Array.isArray(l)&&(r=l[1],l=m[n]=l[0]),n!==a&&(m[a]=l,delete m[n]),(c=x.cssHooks[a])&&"expand"in c)for(n in l=c.expand(l),delete m[a],l)n in m||(m[n]=l[n],v[n]=r);else v[a]=r;for(;h<u;h++)if(i=$.prefilters[h].call(f,s,g,f.opts))return b(i.stop)&&(x._queueHooks(f.elem,f.opts.queue).stop=i.stop.bind(i)),i;return x.map(g,vt,f),b(f.opts.start)&&f.opts.start.call(s,f),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always),x.fx.timer(x.extend(p,{elem:s,anim:f,queue:f.opts.queue})),f}x.Animation=x.extend($,{tweeners:{"*":[function(e,t){var i=this.createTween(e,t);return ye(i.elem,e,ve.exec(t),i),i}]},tweener:function(e,t){for(var i,n=0,s=(e=b(e)?(t=e,["*"]):e.match(C)).length;n<s;n++)i=e[n],$.tweeners[i]=$.tweeners[i]||[],$.tweeners[i].unshift(t)},prefilters:[function(e,t,i){var n,s,o,a,r,l,c,h="width"in t||"height"in t,u=this,d={},p=e.style,f=e.nodeType&&me(e),g=_.get(e,"fxshow");for(n in i.queue||(null==(a=x._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,r=a.empty.fire,a.empty.fire=function(){a.unqueued||r()}),a.unqueued++,u.always(function(){u.always(function(){a.unqueued--,x.queue(e,"fx").length||a.empty.fire()})})),t)if(s=t[n],dt.test(s)){if(delete t[n],o=o||"toggle"===s,s===(f?"hide":"show")){if("show"!==s||!g||void 0===g[n])continue;f=!0}d[n]=g&&g[n]||x.style(e,n)}if((l=!x.isEmptyObject(t))||!x.isEmptyObject(d))for(n in h&&1===e.nodeType&&(i.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=g&&g.display)&&(c=_.get(e,"display")),"none"===(h=x.css(e,"display"))&&(c?h=c:(D([e],!0),c=e.style.display||c,h=x.css(e,"display"),D([e]))),"inline"===h||"inline-block"===h&&null!=c)&&"none"===x.css(e,"float")&&(l||(u.done(function(){p.display=c}),null==c&&(h=p.display,c="none"===h?"":h)),p.display="inline-block"),i.overflow&&(p.overflow="hidden",u.always(function(){p.overflow=i.overflow[0],p.overflowX=i.overflow[1],p.overflowY=i.overflow[2]})),l=!1,d)l||(g?"hidden"in g&&(f=g.hidden):g=_.access(e,"fxshow",{display:c}),o&&(g.hidden=!f),f&&D([e],!0),u.done(function(){for(n in f||D([e]),_.remove(e,"fxshow"),d)x.style(e,n,d[n])})),l=vt(f?g[n]:0,n,u),n in g||(g[n]=l.start,f&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?$.prefilters.unshift(e):$.prefilters.push(e)}}),x.speed=function(e,t,i){var n=e&&"object"==typeof e?x.extend({},e):{complete:i||!i&&t||b(e)&&e,duration:e,easing:i&&t||t&&!b(t)&&t};return x.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in x.fx.speeds?n.duration=x.fx.speeds[n.duration]:n.duration=x.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){b(n.old)&&n.old.call(this),n.queue&&x.dequeue(this,n.queue)},n},x.fn.extend({fadeTo:function(e,t,i,n){return this.filter(me).css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(t,e,i,n){function s(){var e=$(this,x.extend({},t),a);(o||_.get(this,"finish"))&&e.stop(!0)}var o=x.isEmptyObject(t),a=x.speed(e,i,n);return s.finish=s,o||!1===a.queue?this.each(s):this.queue(a.queue,s)},stop:function(s,e,o){function a(e){var t=e.stop;delete e.stop,t(o)}return"string"!=typeof s&&(o=e,e=s,s=void 0),e&&this.queue(s||"fx",[]),this.each(function(){var e=!0,t=null!=s&&s+"queueHooks",i=x.timers,n=_.get(this);if(t)n[t]&&n[t].stop&&a(n[t]);else for(t in n)n[t]&&n[t].stop&&pt.test(t)&&a(n[t]);for(t=i.length;t--;)i[t].elem!==this||null!=s&&i[t].queue!==s||(i[t].anim.stop(o),e=!1,i.splice(t,1));!e&&o||x.dequeue(this,s)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=_.get(this),i=t[a+"queue"],n=t[a+"queueHooks"],s=x.timers,o=i?i.length:0;for(t.finish=!0,x.queue(this,a,[]),n&&n.stop&&n.stop.call(this,!0),e=s.length;e--;)s[e].elem===this&&s[e].queue===a&&(s[e].anim.stop(!0),s.splice(e,1));for(e=0;e<o;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete t.finish})}}),x.each(["toggle","show","hide"],function(e,n){var s=x.fn[n];x.fn[n]=function(e,t,i){return null==e||"boolean"==typeof e?s.apply(this,arguments):this.animate(mt(n,!0),e,t,i)}}),x.each({slideDown:mt("show"),slideUp:mt("hide"),slideToggle:mt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,n){x.fn[e]=function(e,t,i){return this.animate(n,e,t,i)}}),x.timers=[],x.fx.tick=function(){var e,t=0,i=x.timers;for(E=Date.now();t<i.length;t++)(e=i[t])()||i[t]!==e||i.splice(t--,1);i.length||x.fx.stop(),E=void 0},x.fx.timer=function(e){x.timers.push(e),x.fx.start()},x.fx.interval=13,x.fx.start=function(){ut||(ut=!0,ft())},x.fx.stop=function(){ut=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fn.delay=function(n,e){return n=x.fx&&x.fx.speeds[n]||n,this.queue(e=e||"fx",function(e,t){var i=w.setTimeout(e,n);t.stop=function(){w.clearTimeout(i)}})},a=k.createElement("input"),A=k.createElement("select").appendChild(k.createElement("option")),a.type="checkbox",m.checkOn=""!==a.value,m.optSelected=A.selected,(a=k.createElement("input")).value="t",a.type="radio",m.radioValue="t"===a.value;var bt,yt=x.expr.attrHandle,_t=(x.fn.extend({attr:function(e,t){return u(this,x.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})}}),x.extend({attr:function(e,t,i){var n,s,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?x.prop(e,t,i):(1===o&&x.isXMLDoc(e)||(s=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?bt:void 0)),void 0!==i?null===i?void x.removeAttr(e,t):s&&"set"in s&&void 0!==(n=s.set(e,i,t))?n:(e.setAttribute(t,i+""),i):!(s&&"get"in s&&null!==(n=s.get(e,t)))&&null==(n=x.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){var i;if(!m.radioValue&&"radio"===t&&l(e,"input"))return i=e.value,e.setAttribute("type",t),i&&(e.value=i),t}}},removeAttr:function(e,t){var i,n=0,s=t&&t.match(C);if(s&&1===e.nodeType)for(;i=s[n++];)e.removeAttribute(i)}}),bt={set:function(e,t,i){return!1===t?x.removeAttr(e,i):e.setAttribute(i,i),i}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,t){var a=yt[t]||x.find.attr;yt[t]=function(e,t,i){var n,s,o=t.toLowerCase();return i||(s=yt[o],yt[o]=n,n=null!=a(e,t,i)?o:null,yt[o]=s),n}}),/^(?:input|select|textarea|button)$/i),wt=/^(?:a|area)$/i;function N(e){return(e.match(C)||[]).join(" ")}function O(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(C)||[]}x.fn.extend({prop:function(e,t){return u(this,x.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[x.propFix[e]||e]})}}),x.extend({prop:function(e,t,i){var n,s,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&x.isXMLDoc(e)||(t=x.propFix[t]||t,s=x.propHooks[t]),void 0!==i?s&&"set"in s&&void 0!==(n=s.set(e,i,t))?n:e[t]=i:s&&"get"in s&&null!==(n=s.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):_t.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(x.propHooks.selected={get:function(e){e=e.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(e){e=e.parentNode;e&&(e.selectedIndex,e.parentNode)&&e.parentNode.selectedIndex}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.fn.extend({addClass:function(t){var e,i,n,s,o,a,r=0;if(b(t))return this.each(function(e){x(this).addClass(t.call(this,e,O(this)))});if((e=kt(t)).length)for(;i=this[r++];)if(a=O(i),n=1===i.nodeType&&" "+N(a)+" "){for(o=0;s=e[o++];)n.indexOf(" "+s+" ")<0&&(n+=s+" ");a!==(a=N(n))&&i.setAttribute("class",a)}return this},removeClass:function(t){var e,i,n,s,o,a,r=0;if(b(t))return this.each(function(e){x(this).removeClass(t.call(this,e,O(this)))});if(!arguments.length)return this.attr("class","");if((e=kt(t)).length)for(;i=this[r++];)if(a=O(i),n=1===i.nodeType&&" "+N(a)+" "){for(o=0;s=e[o++];)for(;-1<n.indexOf(" "+s+" ");)n=n.replace(" "+s+" "," ");a!==(a=N(n))&&i.setAttribute("class",a)}return this},toggleClass:function(s,t){var o=typeof s,a="string"==o||Array.isArray(s);return"boolean"==typeof t&&a?t?this.addClass(s):this.removeClass(s):b(s)?this.each(function(e){x(this).toggleClass(s.call(this,e,O(this),t),t)}):this.each(function(){var e,t,i,n;if(a)for(t=0,i=x(this),n=kt(s);e=n[t++];)i.hasClass(e)?i.removeClass(e):i.addClass(e);else void 0!==s&&"boolean"!=o||((e=O(this))&&_.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==s&&_.get(this,"__className__")||""))})},hasClass:function(e){for(var t,i=0,n=" "+e+" ";t=this[i++];)if(1===t.nodeType&&-1<(" "+N(O(t))+" ").indexOf(n))return!0;return!1}});function xt(e){e.stopPropagation()}var Ct=/\r/g,Tt=(x.fn.extend({val:function(t){var i,e,n,s=this[0];return arguments.length?(n=b(t),this.each(function(e){1!==this.nodeType||(null==(e=n?t.call(this,e,x(this).val()):t)?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=x.map(e,function(e){return null==e?"":e+""})),(i=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,e,"value"))||(this.value=e)})):s?(i=x.valHooks[s.type]||x.valHooks[s.nodeName.toLowerCase()])&&"get"in i&&void 0!==(e=i.get(s,"value"))?e:"string"==typeof(e=s.value)?e.replace(Ct,""):null==e?"":e:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:N(x.text(e))}},select:{get:function(e){for(var t,i=e.options,n=e.selectedIndex,s="select-one"===e.type,o=s?null:[],a=s?n+1:i.length,r=n<0?a:s?n:0;r<a;r++)if(((t=i[r]).selected||r===n)&&!t.disabled&&(!t.parentNode.disabled||!l(t.parentNode,"optgroup"))){if(t=x(t).val(),s)return t;o.push(t)}return o},set:function(e,t){for(var i,n,s=e.options,o=x.makeArray(t),a=s.length;a--;)((n=s[a]).selected=-1<x.inArray(x.valHooks.option.get(n),o))&&(i=!0);return i||(e.selectedIndex=-1),o}}}}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<x.inArray(x(e).val(),t)}},m.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),m.focusin="onfocusin"in w,/^(?:focusinfocus|focusoutblur)$/),St=(x.extend(x.event,{trigger:function(e,t,i,n){var s,o,a,r,l,c,h,u=[i||k],d=q.call(e,"type")?e.type:e,p=q.call(e,"namespace")?e.namespace.split("."):[],f=h=o=i=i||k;if(3!==i.nodeType&&8!==i.nodeType&&!Tt.test(d+x.event.triggered)&&(-1<d.indexOf(".")&&(d=(p=d.split(".")).shift(),p.sort()),r=d.indexOf(":")<0&&"on"+d,(e=e[x.expando]?e:new x.Event(d,"object"==typeof e&&e)).isTrigger=n?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:x.makeArray(t,[e]),c=x.event.special[d]||{},n||!c.trigger||!1!==c.trigger.apply(i,t))){if(!n&&!c.noBubble&&!g(i)){for(a=c.delegateType||d,Tt.test(a+d)||(f=f.parentNode);f;f=f.parentNode)u.push(f),o=f;o===(i.ownerDocument||k)&&u.push(o.defaultView||o.parentWindow||w)}for(s=0;(f=u[s++])&&!e.isPropagationStopped();)h=f,e.type=1<s?a:c.bindType||d,(l=(_.get(f,"events")||Object.create(null))[e.type]&&_.get(f,"handle"))&&l.apply(f,t),(l=r&&f[r])&&l.apply&&v(f)&&(e.result=l.apply(f,t),!1===e.result)&&e.preventDefault();return e.type=d,n||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(u.pop(),t)||!v(i)||r&&b(i[d])&&!g(i)&&((o=i[r])&&(i[r]=null),x.event.triggered=d,e.isPropagationStopped()&&h.addEventListener(d,xt),i[d](),e.isPropagationStopped()&&h.removeEventListener(d,xt),x.event.triggered=void 0,o)&&(i[r]=o),e.result}},simulate:function(e,t,i){i=x.extend(new x.Event,i,{type:e,isSimulated:!0});x.event.trigger(i,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,t){var i=this[0];if(i)return x.event.trigger(e,t,i,!0)}}),m.focusin||x.each({focus:"focusin",blur:"focusout"},function(i,n){function s(e){x.event.simulate(n,e.target,x.event.fix(e))}x.event.special[n]={setup:function(){var e=this.ownerDocument||this.document||this,t=_.access(e,n);t||e.addEventListener(i,s,!0),_.access(e,n,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=_.access(e,n)-1;t?_.access(e,n,t):(e.removeEventListener(i,s,!0),_.remove(e,n))}}}),w.location),Dt={guid:Date.now()},Pt=/\?/,Mt=(x.parseXML=function(e){var t,i;if(!e||"string"!=typeof e)return null;try{t=(new w.DOMParser).parseFromString(e,"text/xml")}catch(e){}return i=t&&t.getElementsByTagName("parsererror")[0],t&&!i||x.error("Invalid XML: "+(i?x.map(i.childNodes,function(e){return e.textContent}).join("\n"):e)),t},/\[\]$/),It=/\r?\n/g,Et=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;x.param=function(e,t){function i(e,t){t=b(t)?t():t,s[s.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==t?"":t)}var n,s=[];if(null==e)return"";if(Array.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){i(this.name,this.value)});else for(n in e)!function i(n,e,s,o){if(Array.isArray(e))x.each(e,function(e,t){s||Mt.test(n)?o(n,t):i(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,s,o)});else if(s||"object"!==f(e))o(n,e);else for(var t in e)i(n+"["+t+"]",e[t],s,o)}(n,e[n],t,i);return s.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&At.test(this.nodeName)&&!Et.test(e)&&(this.checked||!we.test(e))}).map(function(e,t){var i=x(this).val();return null==i?null:Array.isArray(i)?x.map(i,function(e){return{name:t.name,value:e.replace(It,"\r\n")}}):{name:t.name,value:i.replace(It,"\r\n")}}).get()}});var $t=/%20/g,Nt=/#.*$/,Ot=/([?&])_=[^&]*/,Ht=/^(.*?):[ \t]*([^\r\n]*)$/gm,zt=/^(?:GET|HEAD)$/,Lt=/^\/\//,jt={},Wt={},Ft="*/".concat("*"),Rt=k.createElement("a");function qt(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var i,n=0,s=e.toLowerCase().match(C)||[];if(b(t))for(;i=s[n++];)"+"===i[0]?(i=i.slice(1)||"*",(o[i]=o[i]||[]).unshift(t)):(o[i]=o[i]||[]).push(t)}}function Bt(t,n,s,o){var a={},r=t===Wt;function l(e){var i;return a[e]=!0,x.each(t[e]||[],function(e,t){t=t(n,s,o);return"string"!=typeof t||r||a[t]?r?!(i=t):void 0:(n.dataTypes.unshift(t),l(t),!1)}),i}return l(n.dataTypes[0])||!a["*"]&&l("*")}function Yt(e,t){var i,n,s=x.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((s[i]?e:n=n||{})[i]=t[i]);return n&&x.extend(!0,e,n),e}Rt.href=St.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(St.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ft,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Yt(Yt(e,x.ajaxSettings),t):Yt(x.ajaxSettings,e)},ajaxPrefilter:qt(jt),ajaxTransport:qt(Wt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var l,c,h,i,u,d,p,n,f=x.ajaxSetup({},t=t||{}),g=f.context||f,m=f.context&&(g.nodeType||g.jquery)?x(g):x.event,v=x.Deferred(),b=x.Callbacks("once memory"),y=f.statusCode||{},s={},o={},a="canceled",_={readyState:0,getResponseHeader:function(e){var t;if(d){if(!i)for(i={};t=Ht.exec(h);)i[t[1].toLowerCase()+" "]=(i[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=i[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return d?h:null},setRequestHeader:function(e,t){return null==d&&(e=o[e.toLowerCase()]=o[e.toLowerCase()]||e,s[e]=t),this},overrideMimeType:function(e){return null==d&&(f.mimeType=e),this},statusCode:function(e){if(e)if(d)_.always(e[_.status]);else for(var t in e)y[t]=[y[t],e[t]];return this},abort:function(e){e=e||a;return l&&l.abort(e),r(0,e),this}};if(v.promise(_),f.url=((e||f.url||St.href)+"").replace(Lt,St.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(C)||[""],null==f.crossDomain){e=k.createElement("a");try{e.href=f.url,e.href=e.href,f.crossDomain=Rt.protocol+"//"+Rt.host!=e.protocol+"//"+e.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=x.param(f.data,f.traditional)),Bt(jt,f,t,_),!d){for(n in(p=x.event&&f.global)&&0==x.active++&&x.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!zt.test(f.type),c=f.url.replace(Nt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace($t,"+")):(e=f.url.slice(c.length),f.data&&(f.processData||"string"==typeof f.data)&&(c+=(Pt.test(c)?"&":"?")+f.data,delete f.data),!1===f.cache&&(c=c.replace(Ot,"$1"),e=(Pt.test(c)?"&":"?")+"_="+Dt.guid+++e),f.url=c+e),f.ifModified&&(x.lastModified[c]&&_.setRequestHeader("If-Modified-Since",x.lastModified[c]),x.etag[c])&&_.setRequestHeader("If-None-Match",x.etag[c]),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&_.setRequestHeader("Content-Type",f.contentType),_.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Ft+"; q=0.01":""):f.accepts["*"]),f.headers)_.setRequestHeader(n,f.headers[n]);if(f.beforeSend&&(!1===f.beforeSend.call(g,_,f)||d))return _.abort();if(a="abort",b.add(f.complete),_.done(f.success),_.fail(f.error),l=Bt(Wt,f,t,_)){if(_.readyState=1,p&&m.trigger("ajaxSend",[_,f]),d)return _;f.async&&0<f.timeout&&(u=w.setTimeout(function(){_.abort("timeout")},f.timeout));try{d=!1,l.send(s,r)}catch(e){if(d)throw e;r(-1,e)}}else r(-1,"No Transport")}return _;function r(e,t,i,n){var s,o,a,r=t;d||(d=!0,u&&w.clearTimeout(u),l=void 0,h=n||"",_.readyState=0<e?4:0,n=200<=e&&e<300||304===e,i&&(a=function(e,t,i){for(var n,s,o,a,r=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(s in r)if(r[s]&&r[s].test(n)){l.unshift(s);break}if(l[0]in i)o=l[0];else{for(s in i){if(!l[0]||e.converters[s+" "+l[0]]){o=s;break}a=a||s}o=o||a}if(o)return o!==l[0]&&l.unshift(o),i[o]}(f,_,i)),!n&&-1<x.inArray("script",f.dataTypes)&&x.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),a=function(e,t,i,n){var s,o,a,r,l,c={},h=e.dataTypes.slice();if(h[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=h.shift();o;)if(e.responseFields[o]&&(i[e.responseFields[o]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=h.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=c[l+" "+o]||c["* "+o]))for(s in c)if((r=s.split(" "))[1]===o&&(a=c[l+" "+r[0]]||c["* "+r[0]])){!0===a?a=c[s]:!0!==c[s]&&(o=r[0],h.unshift(r[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(f,a,_,n),n?(f.ifModified&&((i=_.getResponseHeader("Last-Modified"))&&(x.lastModified[c]=i),i=_.getResponseHeader("etag"))&&(x.etag[c]=i),204===e||"HEAD"===f.type?r="nocontent":304===e?r="notmodified":(r=a.state,s=a.data,n=!(o=a.error))):(o=r,!e&&r||(r="error",e<0&&(e=0))),_.status=e,_.statusText=(t||r)+"",n?v.resolveWith(g,[s,r,_]):v.rejectWith(g,[_,r,o]),_.statusCode(y),y=void 0,p&&m.trigger(n?"ajaxSuccess":"ajaxError",[_,f,n?s:o]),b.fireWith(g,[_,r]),p&&(m.trigger("ajaxComplete",[_,f]),--x.active||x.event.trigger("ajaxStop")))}},getJSON:function(e,t,i){return x.get(e,t,i,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],function(e,s){x[s]=function(e,t,i,n){return b(t)&&(n=n||i,i=t,t=void 0),x.ajax(x.extend({url:e,type:s,dataType:n,data:t,success:i},x.isPlainObject(e)&&e))}}),x.ajaxPrefilter(function(e){for(var t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),x._evalUrl=function(e,t,i){return x.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){x.globalEval(e,t,i)}})},x.fn.extend({wrapAll:function(e){return this[0]&&(b(e)&&(e=e.call(this[0])),e=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(i){return b(i)?this.each(function(e){x(this).wrapInner(i.call(this,e))}):this.each(function(){var e=x(this),t=e.contents();t.length?t.wrapAll(i):e.append(i)})},wrap:function(t){var i=b(t);return this.each(function(e){x(this).wrapAll(i?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){x(this).replaceWith(this.childNodes)}),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new w.XMLHttpRequest}catch(e){}};var Ut={0:200,1223:204},Vt=x.ajaxSettings.xhr(),Kt=(m.cors=!!Vt&&"withCredentials"in Vt,m.ajax=Vt=!!Vt,x.ajaxTransport(function(s){var o,a;if(m.cors||Vt&&!s.crossDomain)return{send:function(e,t){var i,n=s.xhr();if(n.open(s.type,s.url,s.async,s.username,s.password),s.xhrFields)for(i in s.xhrFields)n[i]=s.xhrFields[i];for(i in s.mimeType&&n.overrideMimeType&&n.overrideMimeType(s.mimeType),s.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)n.setRequestHeader(i,e[i]);o=function(e){return function(){o&&(o=a=n.onload=n.onerror=n.onabort=n.ontimeout=n.onreadystatechange=null,"abort"===e?n.abort():"error"===e?"number"!=typeof n.status?t(0,"error"):t(n.status,n.statusText):t(Ut[n.status]||n.status,n.statusText,"text"!==(n.responseType||"text")||"string"!=typeof n.responseText?{binary:n.response}:{text:n.responseText},n.getAllResponseHeaders()))}},n.onload=o(),a=n.onerror=n.ontimeout=o("error"),void 0!==n.onabort?n.onabort=a:n.onreadystatechange=function(){4===n.readyState&&w.setTimeout(function(){o&&a()})},o=o("abort");try{n.send(s.hasContent&&s.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),x.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),x.ajaxTransport("script",function(i){var n,s;if(i.crossDomain||i.scriptAttrs)return{send:function(e,t){n=x("<script>").attr(i.scriptAttrs||{}).prop({charset:i.scriptCharset,src:i.url}).on("load error",s=function(e){n.remove(),s=null,e&&t("error"===e.type?404:200,e.type)}),k.head.appendChild(n[0])},abort:function(){s&&s()}}}),[]),Xt=/(=)\?(?=&|$)|\?\?/,Gt=(x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||x.expando+"_"+Dt.guid++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(e,t,i){var n,s,o,a=!1!==e.jsonp&&(Xt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return n=e.jsonpCallback=b(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Xt,"$1"+n):!1!==e.jsonp&&(e.url+=(Pt.test(e.url)?"&":"?")+e.jsonp+"="+n),e.converters["script json"]=function(){return o||x.error(n+" was not called"),o[0]},e.dataTypes[0]="json",s=w[n],w[n]=function(){o=arguments},i.always(function(){void 0===s?x(w).removeProp(n):w[n]=s,e[n]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(n)),o&&b(s)&&s(o[0]),o=s=void 0}),"script"}),m.createHTMLDocument=((e=k.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===e.childNodes.length),x.parseHTML=function(e,t,i){var n;return"string"!=typeof e?[]:("boolean"==typeof t&&(i=t,t=!1),t||(m.createHTMLDocument?((n=(t=k.implementation.createHTMLDocument("")).createElement("base")).href=k.location.href,t.head.appendChild(n)):t=k),n=!i&&[],(i=Q.exec(e))?[t.createElement(i[1])]:(i=Se([e],t,n),n&&n.length&&x(n).remove(),x.merge([],i.childNodes)))},x.fn.load=function(e,t,i){var n,s,o,a=this,r=e.indexOf(" ");return-1<r&&(n=N(e.slice(r)),e=e.slice(0,r)),b(t)?(i=t,t=void 0):t&&"object"==typeof t&&(s="POST"),0<a.length&&x.ajax({url:e,type:s||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(n?x("<div>").append(x.parseHTML(e)).find(n):e)}).always(i&&function(e,t){a.each(function(){i.apply(this,o||[e.responseText,t,e])})}),this},x.expr.pseudos.animated=function(t){return x.grep(x.timers,function(e){return t===e.elem}).length},x.offset={setOffset:function(e,t,i){var n,s,o,a,r=x.css(e,"position"),l=x(e),c={};"static"===r&&(e.style.position="relative"),o=l.offset(),n=x.css(e,"top"),a=x.css(e,"left"),r=("absolute"===r||"fixed"===r)&&-1<(n+a).indexOf("auto")?(s=(r=l.position()).top,r.left):(s=parseFloat(n)||0,parseFloat(a)||0),null!=(t=b(t)?t.call(e,i,x.extend({},o)):t).top&&(c.top=t.top-o.top+s),null!=t.left&&(c.left=t.left-o.left+r),"using"in t?t.using.call(e,c):l.css(c)}},x.fn.extend({offset:function(t){var e,i;return arguments.length?void 0===t?this:this.each(function(e){x.offset.setOffset(this,t,e)}):(i=this[0])?i.getClientRects().length?(e=i.getBoundingClientRect(),i=i.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,i,n=this[0],s={top:0,left:0};if("fixed"===x.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),i=n.ownerDocument,e=n.offsetParent||i.documentElement;e&&(e===i.body||e===i.documentElement)&&"static"===x.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((s=x(e).offset()).top+=x.css(e,"borderTopWidth",!0),s.left+=x.css(e,"borderLeftWidth",!0))}return{top:t.top-s.top-x.css(n,"marginTop",!0),left:t.left-s.left-x.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===x.css(e,"position");)e=e.offsetParent;return e||T})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,s){var o="pageYOffset"===s;x.fn[t]=function(e){return u(this,function(e,t,i){var n;if(g(e)?n=e:9===e.nodeType&&(n=e.defaultView),void 0===i)return n?n[s]:e[t];n?n.scrollTo(o?n.pageXOffset:i,o?i:n.pageYOffset):e[t]=i},t,e,arguments.length)}}),x.each(["top","left"],function(e,i){x.cssHooks[i]=Ze(m.pixelPosition,function(e,t){if(t)return t=Je(e,i),Ke.test(t)?x(e).position()[i]+"px":t})}),x.each({Height:"height",Width:"width"},function(a,r){x.each({padding:"inner"+a,content:r,"":"outer"+a},function(n,o){x.fn[o]=function(e,t){var i=arguments.length&&(n||"boolean"!=typeof e),s=n||(!0===e||!0===t?"margin":"border");return u(this,function(e,t,i){var n;return g(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(n=e.documentElement,Math.max(e.body["scroll"+a],n["scroll"+a],e.body["offset"+a],n["offset"+a],n["client"+a])):void 0===i?x.css(e,t,s):x.style(e,t,i,s)},r,i?e:void 0,i)}})}),x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),x.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,i){x.fn[i]=function(e,t){return 0<arguments.length?this.on(i,null,e,t):this.trigger(i)}}),/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g),Qt=(x.proxy=function(e,t){var i,n;if("string"==typeof t&&(n=e[t],t=e,e=n),b(e))return i=r.call(arguments,2),(n=function(){return e.apply(t||this,i.concat(r.call(arguments)))}).guid=e.guid=e.guid||x.guid++,n},x.holdReady=function(e){e?x.readyWait++:x.ready(!0)},x.isArray=Array.isArray,x.parseJSON=JSON.parse,x.nodeName=l,x.isFunction=b,x.isWindow=g,x.camelCase=y,x.type=f,x.now=Date.now,x.isNumeric=function(e){var t=x.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},x.trim=function(e){return null==e?"":(e+"").replace(Gt,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return x}),w.jQuery),Jt=w.$;return x.noConflict=function(e){return w.$===x&&(w.$=Jt),e&&w.jQuery===x&&(w.jQuery=Qt),x},void 0===H&&(w.jQuery=w.$=x),x}),function(u){var i=!0;u.flexslider=function(p,e){var t,f=u(p),a=(f.vars=u.extend({},u.flexslider.defaults,e),f.vars.namespace),g=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,r=("ontouchstart"in window||g||window.DocumentTouch&&document instanceof DocumentTouch)&&f.vars.touch,o="click touchend MSPointerUp keyup",l="",m="vertical"===f.vars.direction,v=f.vars.reverse,b=0<f.vars.itemWidth,y="fade"===f.vars.animation,c=""!==f.vars.asNavFor,h={};u.data(p,"flexslider",f),h={init:function(){f.animating=!1,f.currentSlide=parseInt(f.vars.startAt||0,10),isNaN(f.currentSlide)&&(f.currentSlide=0),f.animatingTo=f.currentSlide,f.atEnd=0===f.currentSlide||f.currentSlide===f.last,f.containerSelector=f.vars.selector.substr(0,f.vars.selector.search(" ")),f.slides=u(f.vars.selector,f),f.container=u(f.containerSelector,f),f.count=f.slides.length,f.syncExists=0<u(f.vars.sync).length,"slide"===f.vars.animation&&(f.vars.animation="swing"),f.prop=m?"top":"marginLeft",f.args={},f.manualPause=!1,f.stopped=!1,f.started=!1,f.startTimeout=null,f.transitions=!f.vars.video&&!y&&f.vars.useCSS&&function(){var e,t=document.createElement("div"),i=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(e in i)if(void 0!==t.style[i[e]])return f.pfx=i[e].replace("Perspective","").toLowerCase(),f.prop="-"+f.pfx+"-transform",!0;return!1}(),(f.ensureAnimationEnd="")!==f.vars.controlsContainer&&(f.controlsContainer=0<u(f.vars.controlsContainer).length&&u(f.vars.controlsContainer)),""!==f.vars.manualControls&&(f.manualControls=0<u(f.vars.manualControls).length&&u(f.vars.manualControls)),""!==f.vars.customDirectionNav&&(f.customDirectionNav=2===u(f.vars.customDirectionNav).length&&u(f.vars.customDirectionNav)),f.vars.randomize&&(f.slides.sort(function(){return Math.round(Math.random())-.5}),f.container.empty().append(f.slides)),f.doMath(),f.setup("init"),f.vars.controlNav&&h.controlNav.setup(),f.vars.directionNav&&h.directionNav.setup(),f.vars.keyboard&&(1===u(f.containerSelector).length||f.vars.multipleKeyboard)&&u(document).bind("keyup",function(e){var e=e.keyCode;f.animating||39!==e&&37!==e||(e=39===e?f.getTarget("next"):37===e&&f.getTarget("prev"),f.flexAnimate(e,f.vars.pauseOnAction))}),f.vars.mousewheel&&f.bind("mousewheel",function(e,t,i,n){e.preventDefault();e=t<0?f.getTarget("next"):f.getTarget("prev");f.flexAnimate(e,f.vars.pauseOnAction)}),f.vars.pausePlay&&h.pausePlay.setup(),f.vars.slideshow&&f.vars.pauseInvisible&&h.pauseInvisible.init(),f.vars.slideshow&&(f.vars.pauseOnHover&&f.hover(function(){f.manualPlay||f.manualPause||f.pause()},function(){f.manualPause||f.manualPlay||f.stopped||f.play()}),f.vars.pauseInvisible&&h.pauseInvisible.isHidden()||(0<f.vars.initDelay?f.startTimeout=setTimeout(f.play,f.vars.initDelay):f.play())),c&&h.asNav.setup(),r&&f.vars.touch&&h.touch(),y&&!f.vars.smoothHeight||u(window).bind("resize orientationchange focus",h.resize),f.find("img").attr("draggable","false"),setTimeout(function(){f.vars.start(f)},200)},asNav:{setup:function(){f.asNav=!0,f.animatingTo=Math.floor(f.currentSlide/f.move),f.currentItem=f.currentSlide,f.slides.removeClass(a+"active-slide").eq(f.currentItem).addClass(a+"active-slide"),g?(p._slider=f).slides.each(function(){var e=this;e._gesture=new MSGesture,(e._gesture.target=e).addEventListener("MSPointerDown",function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1),e.addEventListener("MSGestureTap",function(e){e.preventDefault();var e=u(this),t=e.index();u(f.vars.asNavFor).data("flexslider").animating||e.hasClass("active")||(f.direction=f.currentItem<t?"next":"prev",f.flexAnimate(t,f.vars.pauseOnAction,!1,!0,!0))})}):f.slides.on(o,function(e){e.preventDefault();var e=u(this),t=e.index();e.offset().left-u(f).scrollLeft()<=0&&e.hasClass(a+"active-slide")?f.flexAnimate(f.getTarget("prev"),!0):u(f.vars.asNavFor).data("flexslider").animating||e.hasClass(a+"active-slide")||(f.direction=f.currentItem<t?"next":"prev",f.flexAnimate(t,f.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){f.manualControls?h.controlNav.setupManual():h.controlNav.setupPaging()},setupPaging:function(){var e="thumbnails"===f.vars.controlNav?"control-thumbs":"control-paging",t=1;if(f.controlNavScaffold=u('<ol class="'+a+"control-nav "+a+e+'"></ol>'),1<f.pagingCount)for(var i=0;i<f.pagingCount;i++){void 0===(n=f.slides.eq(i)).attr("data-thumb-alt")&&n.attr("data-thumb-alt","");var n,s=""!==n.attr("data-thumb-alt")?' alt="'+n.attr("data-thumb-alt")+'"':"",s="thumbnails"===f.vars.controlNav?'<img src="'+n.attr("data-thumb")+'"'+s+"/>":'<a href="#">'+t+"</a>";"thumbnails"===f.vars.controlNav&&!0===f.vars.thumbCaptions&&""!==(n=n.attr("data-thumbcaption"))&&void 0!==n&&(s+='<span class="'+a+'caption">'+n+"</span>"),f.controlNavScaffold.append("<li>"+s+"</li>"),t++}(f.controlsContainer?u(f.controlsContainer):f).append(f.controlNavScaffold),h.controlNav.set(),h.controlNav.active(),f.controlNavScaffold.delegate("a, img",o,function(e){var t,i;e.preventDefault(),""!==l&&l!==e.type||(t=u(this),i=f.controlNav.index(t),t.hasClass(a+"active"))||(f.direction=i>f.currentSlide?"next":"prev",f.flexAnimate(i,f.vars.pauseOnAction)),""===l&&(l=e.type),h.setToClearWatchedEvent()})},setupManual:function(){f.controlNav=f.manualControls,h.controlNav.active(),f.controlNav.bind(o,function(e){var t,i;e.preventDefault(),""!==l&&l!==e.type||(t=u(this),i=f.controlNav.index(t),t.hasClass(a+"active"))||(i>f.currentSlide?f.direction="next":f.direction="prev",f.flexAnimate(i,f.vars.pauseOnAction)),""===l&&(l=e.type),h.setToClearWatchedEvent()})},set:function(){var e="thumbnails"===f.vars.controlNav?"img":"a";f.controlNav=u("."+a+"control-nav li "+e,f.controlsContainer||f)},active:function(){f.controlNav.removeClass(a+"active").eq(f.animatingTo).addClass(a+"active")},update:function(e,t){1<f.pagingCount&&"add"===e?f.controlNavScaffold.append(u('<li><a href="#">'+f.count+"</a></li>")):(1===f.pagingCount?f.controlNavScaffold.find("li"):f.controlNav.eq(t).closest("li")).remove(),h.controlNav.set(),1<f.pagingCount&&f.pagingCount!==f.controlNav.length?f.update(t,e):h.controlNav.active()}},directionNav:{setup:function(){var e=u('<ul class="'+a+'direction-nav"><li class="'+a+'nav-prev"><a class="'+a+'prev" href="#">'+f.vars.prevText+'</a></li><li class="'+a+'nav-next"><a class="'+a+'next" href="#">'+f.vars.nextText+"</a></li></ul>");f.customDirectionNav?f.directionNav=f.customDirectionNav:f.controlsContainer?(u(f.controlsContainer).append(e),f.directionNav=u("."+a+"direction-nav li a",f.controlsContainer)):(f.append(e),f.directionNav=u("."+a+"direction-nav li a",f)),h.directionNav.update(),f.directionNav.bind(o,function(e){var t;e.preventDefault(),""!==l&&l!==e.type||(t=u(this).hasClass(a+"next")?f.getTarget("next"):f.getTarget("prev"),f.flexAnimate(t,f.vars.pauseOnAction)),""===l&&(l=e.type),h.setToClearWatchedEvent()})},update:function(){var e=a+"disabled";1===f.pagingCount?f.directionNav.addClass(e).attr("tabindex","-1"):f.vars.animationLoop?f.directionNav.removeClass(e).removeAttr("tabindex"):0===f.animatingTo?f.directionNav.removeClass(e).filter("."+a+"prev").addClass(e).attr("tabindex","-1"):f.animatingTo===f.last?f.directionNav.removeClass(e).filter("."+a+"next").addClass(e).attr("tabindex","-1"):f.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var e=u('<div class="'+a+'pauseplay"><a href="#"></a></div>');f.controlsContainer?(f.controlsContainer.append(e),f.pausePlay=u("."+a+"pauseplay a",f.controlsContainer)):(f.append(e),f.pausePlay=u("."+a+"pauseplay a",f)),h.pausePlay.update(f.vars.slideshow?a+"pause":a+"play"),f.pausePlay.bind(o,function(e){e.preventDefault(),""!==l&&l!==e.type||(u(this).hasClass(a+"pause")?(f.manualPause=!0,f.manualPlay=!1,f.pause()):(f.manualPause=!1,f.manualPlay=!0,f.play())),""===l&&(l=e.type),h.setToClearWatchedEvent()})},update:function(e){"play"===e?f.pausePlay.removeClass(a+"pause").addClass(a+"play").html(f.vars.playText):f.pausePlay.removeClass(a+"play").addClass(a+"pause").html(f.vars.pauseText)}},touch:function(){var n,s,o,a,r,l,c,h,u=!1,t=0,i=0,d=0;g?(p.style.msTouchAction="none",p._gesture=new MSGesture,(p._gesture.target=p).addEventListener("MSPointerDown",function(e){e.stopPropagation(),f.animating?e.preventDefault():(f.pause(),p._gesture.addPointer(e.pointerId),d=0,a=m?f.h:f.w,l=Number(new Date),o=b&&v&&f.animatingTo===f.last?0:b&&v?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:b&&f.currentSlide===f.last?f.limit:b?(f.itemW+f.vars.itemMargin)*f.move*f.currentSlide:v?(f.last-f.currentSlide+f.cloneOffset)*a:(f.currentSlide+f.cloneOffset)*a)},!1),p._slider=f,p.addEventListener("MSGestureChange",function(e){e.stopPropagation();var t,i,n=e.target._slider;n&&(t=-e.translationX,i=-e.translationY,r=d+=m?i:t,u=m?Math.abs(d)<Math.abs(-t):Math.abs(d)<Math.abs(-i),e.detail===e.MSGESTURE_FLAG_INERTIA?setImmediate(function(){p._gesture.stop()}):(!u||500<Number(new Date)-l)&&(e.preventDefault(),!y)&&n.transitions&&(n.vars.animationLoop||(r=d/(0===n.currentSlide&&d<0||n.currentSlide===n.last&&0<d?Math.abs(d)/a+2:1)),n.setProps(o+r,"setTouch")))},!1),p.addEventListener("MSGestureEnd",function(e){e.stopPropagation();var t,i,e=e.target._slider;e&&(e.animatingTo!==e.currentSlide||u||null===r||(i=0<(t=v?-r:r)?e.getTarget("next"):e.getTarget("prev"),e.canAdvance(i)&&(Number(new Date)-l<550&&50<Math.abs(t)||Math.abs(t)>a/2)?e.flexAnimate(i,e.vars.pauseOnAction):y||e.flexAnimate(e.currentSlide,e.vars.pauseOnAction,!0)),o=r=s=n=null,d=0)},!1)):(c=function(e){t=e.touches[0].pageX,i=e.touches[0].pageY,r=m?n-i:n-t;(!(u=m?Math.abs(r)<Math.abs(t-s):Math.abs(r)<Math.abs(i-s))||500<Number(new Date)-l)&&(e.preventDefault(),!y)&&f.transitions&&(f.vars.animationLoop||(r/=0===f.currentSlide&&r<0||f.currentSlide===f.last&&0<r?Math.abs(r)/a+2:1),f.setProps(o+r,"setTouch"))},h=function(e){var t,i;p.removeEventListener("touchmove",c,!1),f.animatingTo!==f.currentSlide||u||null===r||(i=0<(t=v?-r:r)?f.getTarget("next"):f.getTarget("prev"),f.canAdvance(i)&&(Number(new Date)-l<550&&50<Math.abs(t)||Math.abs(t)>a/2)?f.flexAnimate(i,f.vars.pauseOnAction):y||f.flexAnimate(f.currentSlide,f.vars.pauseOnAction,!0)),p.removeEventListener("touchend",h,!1),o=r=s=n=null},p.addEventListener("touchstart",function(e){f.animating?e.preventDefault():!window.navigator.msPointerEnabled&&1!==e.touches.length||(f.pause(),a=m?f.h:f.w,l=Number(new Date),t=e.touches[0].pageX,i=e.touches[0].pageY,o=b&&v&&f.animatingTo===f.last?0:b&&v?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:b&&f.currentSlide===f.last?f.limit:b?(f.itemW+f.vars.itemMargin)*f.move*f.currentSlide:v?(f.last-f.currentSlide+f.cloneOffset)*a:(f.currentSlide+f.cloneOffset)*a,n=m?i:t,s=m?t:i,p.addEventListener("touchmove",c,!1),p.addEventListener("touchend",h,!1))},!1))},resize:function(){!f.animating&&f.is(":visible")&&(b||f.doMath(),y?h.smoothHeight():b?(f.slides.width(f.computedW),f.update(f.pagingCount),f.setProps()):m?(f.viewport.height(f.h),f.setProps(f.h,"setTotal")):(f.vars.smoothHeight&&h.smoothHeight(),f.newSlides.width(f.computedW),f.setProps(f.computedW,"setTotal")))},smoothHeight:function(e){var t;m&&!y||(t=y?f:f.viewport,e?t.animate({height:f.slides.eq(f.animatingTo).innerHeight()},e):t.innerHeight(f.slides.eq(f.animatingTo).innerHeight()))},sync:function(e){var t=u(f.vars.sync).data("flexslider"),i=f.animatingTo;switch(e){case"animate":t.flexAnimate(i,f.vars.pauseOnAction,!1,!0);break;case"play":t.playing||t.asNav||t.play();break;case"pause":t.pause()}},uniqueID:function(e){return e.filter("[id]").add(e.find("[id]")).each(function(){var e=u(this);e.attr("id",e.attr("id")+"_clone")}),e},pauseInvisible:{visProp:null,init:function(){var e=h.pauseInvisible.getHiddenProp();e&&(e=e.replace(/[H|h]idden/,"")+"visibilitychange",document.addEventListener(e,function(){h.pauseInvisible.isHidden()?f.startTimeout?clearTimeout(f.startTimeout):f.pause():!f.started&&0<f.vars.initDelay?setTimeout(f.play,f.vars.initDelay):f.play()}))},isHidden:function(){var e=h.pauseInvisible.getHiddenProp();return!!e&&document[e]},getHiddenProp:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)if(e[t]+"Hidden"in document)return e[t]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(t),t=setTimeout(function(){l=""},3e3)}},f.flexAnimate=function(e,t,i,n,s){if(f.vars.animationLoop||e===f.currentSlide||(f.direction=e>f.currentSlide?"next":"prev"),c&&1===f.pagingCount&&(f.direction=f.currentItem<e?"next":"prev"),!f.animating&&(f.canAdvance(e,s)||i)&&f.is(":visible")){if(c&&n){i=u(f.vars.asNavFor).data("flexslider");if(f.atEnd=0===e||e===f.count-1,i.flexAnimate(e,!0,!1,!0,s),f.direction=f.currentItem<e?"next":"prev",i.direction=f.direction,Math.ceil((e+1)/f.visible)-1===f.currentSlide||0===e)return f.currentItem=e,f.slides.removeClass(a+"active-slide").eq(e).addClass(a+"active-slide"),!1;f.currentItem=e,f.slides.removeClass(a+"active-slide").eq(e).addClass(a+"active-slide"),e=Math.floor(e/f.visible)}var o;f.animating=!0,f.animatingTo=e,t&&f.pause(),f.vars.before(f),f.syncExists&&!s&&h.sync("animate"),f.vars.controlNav&&h.controlNav.active(),b||f.slides.removeClass(a+"active-slide").eq(e).addClass(a+"active-slide"),f.atEnd=0===e||e===f.last,f.vars.directionNav&&h.directionNav.update(),e===f.last&&(f.vars.end(f),f.vars.animationLoop||f.pause()),y?r?(f.slides.eq(f.currentSlide).css({opacity:0,zIndex:1}),f.slides.eq(e).css({opacity:1,zIndex:2}),f.wrapup(o)):(f.slides.eq(f.currentSlide).css({zIndex:1}).animate({opacity:0},f.vars.animationSpeed,f.vars.easing),f.slides.eq(e).css({zIndex:2}).animate({opacity:1},f.vars.animationSpeed,f.vars.easing,f.wrapup)):(o=m?f.slides.filter(":first").height():f.computedW,t=b?(n=f.vars.itemMargin,(i=(f.itemW+n)*f.move*f.animatingTo)>f.limit&&1!==f.visible?f.limit:i):0===f.currentSlide&&e===f.count-1&&f.vars.animationLoop&&"next"!==f.direction?v?(f.count+f.cloneOffset)*o:0:f.currentSlide===f.last&&0===e&&f.vars.animationLoop&&"prev"!==f.direction?v?0:(f.count+1)*o:v?(f.count-1-e+f.cloneOffset)*o:(e+f.cloneOffset)*o,f.setProps(t,"",f.vars.animationSpeed),f.transitions?(f.vars.animationLoop&&f.atEnd||(f.animating=!1,f.currentSlide=f.animatingTo),f.container.unbind("webkitTransitionEnd transitionend"),f.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(f.ensureAnimationEnd),f.wrapup(o)}),clearTimeout(f.ensureAnimationEnd),f.ensureAnimationEnd=setTimeout(function(){f.wrapup(o)},f.vars.animationSpeed+100)):f.container.animate(f.args,f.vars.animationSpeed,f.vars.easing,function(){f.wrapup(o)})),f.vars.smoothHeight&&h.smoothHeight(f.vars.animationSpeed)}},f.wrapup=function(e){y||b||(0===f.currentSlide&&f.animatingTo===f.last&&f.vars.animationLoop?f.setProps(e,"jumpEnd"):f.currentSlide===f.last&&0===f.animatingTo&&f.vars.animationLoop&&f.setProps(e,"jumpStart")),f.animating=!1,f.currentSlide=f.animatingTo,f.vars.after(f)},f.animateSlides=function(){!f.animating&&i&&f.flexAnimate(f.getTarget("next"))},f.pause=function(){clearInterval(f.animatedSlides),f.animatedSlides=null,f.playing=!1,f.vars.pausePlay&&h.pausePlay.update("play"),f.syncExists&&h.sync("pause")},f.play=function(){f.playing&&clearInterval(f.animatedSlides),f.animatedSlides=f.animatedSlides||setInterval(f.animateSlides,f.vars.slideshowSpeed),f.started=f.playing=!0,f.vars.pausePlay&&h.pausePlay.update("pause"),f.syncExists&&h.sync("play")},f.stop=function(){f.pause(),f.stopped=!0},f.canAdvance=function(e,t){var i=c?f.pagingCount-1:f.last;return!!t||c&&f.currentItem===f.count-1&&0===e&&"prev"===f.direction||!(c&&0===f.currentItem&&e===f.pagingCount-1&&"next"!==f.direction||e===f.currentSlide&&!c||!f.vars.animationLoop&&(f.atEnd&&0===f.currentSlide&&e===i&&"next"!==f.direction||f.atEnd&&f.currentSlide===i&&0===e&&"next"===f.direction))},f.getTarget=function(e){return"next"===(f.direction=e)?f.currentSlide===f.last?0:f.currentSlide+1:0===f.currentSlide?f.last:f.currentSlide-1},f.setProps=function(e,t,i){n=e||(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo;var n,s=-1*function(){if(b)return"setTouch"===t?e:v&&f.animatingTo===f.last?0:v?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:f.animatingTo===f.last?f.limit:n;switch(t){case"setTotal":return v?(f.count-1-f.currentSlide+f.cloneOffset)*e:(f.currentSlide+f.cloneOffset)*e;case"setTouch":return e;case"jumpEnd":return v?e:f.count*e;case"jumpStart":return v?f.count*e:e;default:return e}}()+"px";f.transitions&&(s=m?"translate3d(0,"+s+",0)":"translate3d("+s+",0,0)",f.container.css("-"+f.pfx+"-transition-duration",i=void 0!==i?i/1e3+"s":"0s"),f.container.css("transition-duration",i)),f.args[f.prop]=s,!f.transitions&&void 0!==i||f.container.css(f.args),f.container.css("transform",s)},f.setup=function(e){var t,i;y?(f.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===e&&(r?f.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+f.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(f.currentSlide).css({opacity:1,zIndex:2}):0==f.vars.fadeFirstSlide?f.slides.css({opacity:0,display:"block",zIndex:1}).eq(f.currentSlide).css({zIndex:2}).css({opacity:1}):f.slides.css({opacity:0,display:"block",zIndex:1}).eq(f.currentSlide).css({zIndex:2}).animate({opacity:1},f.vars.animationSpeed,f.vars.easing)),f.vars.smoothHeight&&h.smoothHeight()):("init"===e&&(f.viewport=u('<div class="'+a+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(f).append(f.container),f.cloneCount=0,f.cloneOffset=0,v)&&(i=u.makeArray(f.slides).reverse(),f.slides=u(i),f.container.empty().append(f.slides)),f.vars.animationLoop&&!b&&(f.cloneCount=2,f.cloneOffset=1,"init"!==e&&f.container.find(".clone").remove(),f.container.append(h.uniqueID(f.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(h.uniqueID(f.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),f.newSlides=u(f.vars.selector,f),t=v?f.count-1-f.currentSlide+f.cloneOffset:f.currentSlide+f.cloneOffset,m&&!b?(f.container.height(200*(f.count+f.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){f.newSlides.css({display:"block"}),f.doMath(),f.viewport.height(f.h),f.setProps(t*f.h,"init")},"init"===e?100:0)):(f.container.width(200*(f.count+f.cloneCount)+"%"),f.setProps(t*f.computedW,"init"),setTimeout(function(){f.doMath(),f.newSlides.css({width:f.computedW,marginRight:f.computedM,float:"left",display:"block"}),f.vars.smoothHeight&&h.smoothHeight()},"init"===e?100:0))),b||f.slides.removeClass(a+"active-slide").eq(f.currentSlide).addClass(a+"active-slide"),f.vars.init(f)},f.doMath=function(){var e=f.slides.first(),t=f.vars.itemMargin,i=f.vars.minItems,n=f.vars.maxItems;f.w=(void 0===f.viewport?f:f.viewport).width(),f.h=e.height(),f.boxPadding=e.outerWidth()-e.width(),b?(f.itemT=f.vars.itemWidth+t,f.itemM=t,f.minW=i?i*f.itemT:f.w,f.maxW=n?n*f.itemT-t:f.w,f.itemW=f.minW>f.w?(f.w-t*(i-1))/i:f.maxW<f.w?(f.w-t*(n-1))/n:f.vars.itemWidth>f.w?f.w:f.vars.itemWidth,f.visible=Math.floor(f.w/f.itemW),f.move=0<f.vars.move&&f.vars.move<f.visible?f.vars.move:f.visible,f.pagingCount=Math.ceil((f.count-f.visible)/f.move+1),f.last=f.pagingCount-1,f.limit=1===f.pagingCount?0:f.vars.itemWidth>f.w?f.itemW*(f.count-1)+t*(f.count-1):(f.itemW+t)*f.count-f.w-t):(f.itemW=f.w,f.itemM=t,f.pagingCount=f.count,f.last=f.count-1),f.computedW=f.itemW-f.boxPadding,f.computedM=f.itemM},f.update=function(e,t){f.doMath(),b||(e<f.currentSlide?f.currentSlide+=1:e<=f.currentSlide&&0!==e&&--f.currentSlide,f.animatingTo=f.currentSlide),f.vars.controlNav&&!f.manualControls&&("add"===t&&!b||f.pagingCount>f.controlNav.length?h.controlNav.update("add"):("remove"===t&&!b||f.pagingCount<f.controlNav.length)&&(b&&f.currentSlide>f.last&&(--f.currentSlide,--f.animatingTo),h.controlNav.update("remove",f.last))),f.vars.directionNav&&h.directionNav.update()},f.addSlide=function(e,t){e=u(e);f.count+=1,f.last=f.count-1,m&&v?void 0!==t?f.slides.eq(f.count-t).after(e):f.container.prepend(e):void 0!==t?f.slides.eq(t).before(e):f.container.append(e),f.update(t,"add"),f.slides=u(f.vars.selector+":not(.clone)",f),f.setup(),f.vars.added(f)},f.removeSlide=function(e){var t=isNaN(e)?f.slides.index(u(e)):e;--f.count,f.last=f.count-1,(isNaN(e)?u(e,f.slides):m&&v?f.slides.eq(f.last):f.slides.eq(e)).remove(),f.doMath(),f.update(t,"remove"),f.slides=u(f.vars.selector+":not(.clone)",f),f.setup(),f.vars.removed(f)},h.init()},u(window).blur(function(e){i=!1}).focus(function(e){i=!0}),u.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}},u.fn.flexslider=function(i){if("object"==typeof(i=void 0===i?{}:i))return this.each(function(){var e=u(this),t=i.selector||".slides > li",t=e.find(t);1===t.length&&!1===i.allowOneSlide||0===t.length?(t.fadeIn(400),i.start&&i.start(e)):void 0===e.data("flexslider")&&new u.flexslider(this,i)});var e=u(this).data("flexslider");switch(i){case"play":e.play();break;case"pause":e.pause();break;case"stop":e.stop();break;case"next":e.flexAnimate(e.getTarget("next"),!0);break;case"prev":case"previous":e.flexAnimate(e.getTarget("prev"),!0);break;default:"number"==typeof i&&e.flexAnimate(i,!0)}}}(jQuery),function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(a){function r(e){return parseFloat(e)||0}function l(e){var e=a(e),n=null,s=[];return e.each(function(){var e=a(this),t=e.offset().top-r(e.css("margin-top")),i=0<s.length?s[s.length-1]:null;null!==i&&Math.floor(Math.abs(n-t))<=1?s[s.length-1]=i.add(e):s.push(e),n=t}),s}function c(e){var t={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof e?a.extend(t,e):("boolean"==typeof e?t.byRow=e:"remove"===e&&(t.remove=!0),t)}function n(e){h._beforeUpdate&&h._beforeUpdate(e,h._groups),a.each(h._groups,function(){h._apply(this.elements,this.options)}),h._afterUpdate&&h._afterUpdate(e,h._groups)}var s=-1,o=-1,h=a.fn.matchHeight=function(e){var i,e=c(e);return e.remove?((i=this).css(e.property,""),a.each(h._groups,function(e,t){t.elements=t.elements.not(i)})):this.length<=1&&!e.target||(h._groups.push({elements:this,options:e}),h._apply(this,e)),this};h.version="0.7.0",h._groups=[],h._throttle=80,h._maintainScroll=!1,h._beforeUpdate=null,h._afterUpdate=null,h._rows=l,h._parse=r,h._parseOptions=c,h._apply=function(e,t){var s=c(t),t=a(e),e=[t],i=a(window).scrollTop(),n=a("html").outerHeight(!0),o=t.parents().filter(":hidden");return o.each(function(){var e=a(this);e.data("style-cache",e.attr("style"))}),o.css("display","block"),s.byRow&&!s.target&&(t.each(function(){var e=a(this),t=e.css("display");"inline-block"!==t&&"flex"!==t&&"inline-flex"!==t&&(t="block"),e.data("style-cache",e.attr("style")),e.css({display:t,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})}),e=l(t),t.each(function(){var e=a(this);e.attr("style",e.data("style-cache")||"")})),a.each(e,function(e,t){var t=a(t),n=0;if(s.target)n=s.target.outerHeight(!1);else{if(s.byRow&&t.length<=1)return void t.css(s.property,"");t.each(function(){var e=a(this),t=e.attr("style"),i=e.css("display"),i={display:i="inline-block"!==i&&"flex"!==i&&"inline-flex"!==i?"block":i};i[s.property]="",e.css(i),e.outerHeight(!1)>n&&(n=e.outerHeight(!1)),t?e.attr("style",t):e.css("display","")})}t.each(function(){var e=a(this),t=0;s.target&&e.is(s.target)||("border-box"!==e.css("box-sizing")&&(t=(t+=r(e.css("border-top-width"))+r(e.css("border-bottom-width")))+(r(e.css("padding-top"))+r(e.css("padding-bottom")))),e.css(s.property,n-t+"px"))})}),o.each(function(){var e=a(this);e.attr("style",e.data("style-cache")||null)}),h._maintainScroll&&a(window).scrollTop(i/n*a("html").outerHeight(!0)),this},h._applyDataApi=function(){var i={};a("[data-match-height], [data-mh]").each(function(){var e=a(this),t=e.attr("data-mh")||e.attr("data-match-height");t in i?i[t]=i[t].add(e):i[t]=e}),a.each(i,function(){this.matchHeight(!0)})};h._update=function(e,t){if(t&&"resize"===t.type){var i=a(window).width();if(i===s)return;s=i}e?-1===o&&(o=setTimeout(function(){n(t),o=-1},h._throttle)):n(t)},a(h._applyDataApi),a(window).bind("load",function(e){h._update(!1,e)}),a(window).bind("resize orientationchange",function(e){h._update(!0,e)})}),jQuery(document).on("stickyTable",function(){$(".sticky-headers").scroll(function(){$(this).find("table tr.sticky-row th").css("top",$(this).scrollTop()),$(this).find("table tr.sticky-row td").css("top",$(this).scrollTop())}),$(".sticky-ltr-cells").scroll(function(){$(this).find("table th.sticky-cell").css("left",$(this).scrollLeft()),$(this).find("table td.sticky-cell").css("left",$(this).scrollLeft())}),$(".sticky-rtl-cells").scroll(function(){var e=$(this).find("table").prop("clientWidth")-$(this).prop("clientWidth");$(this).find("table th.sticky-cell").css("right",e-$(this).scrollLeft()),$(this).find("table td.sticky-cell").css("right",e-$(this).scrollLeft())})}),$(document).ready(function(){$(document).trigger("stickyTable")}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(V){V.ui=V.ui||{};V.ui.version="1.13.0";var s,n,k,x,o,a,r,l,c,i,O=0,H=Array.prototype.hasOwnProperty,h=Array.prototype.slice;V.cleanData=(s=V.cleanData,function(e){for(var t,i,n=0;null!=(i=e[n]);n++)(t=V._data(i,"events"))&&t.remove&&V(i).triggerHandler("remove");s(e)}),V.widget=function(e,i,t){var n,s,o,a={},r=e.split(".")[0],l=r+"-"+(e=e.split(".")[1]);return t||(t=i,i=V.Widget),Array.isArray(t)&&(t=V.extend.apply(null,[{}].concat(t))),V.expr.pseudos[l.toLowerCase()]=function(e){return!!V.data(e,l)},V[r]=V[r]||{},n=V[r][e],s=V[r][e]=function(e,t){if(!this._createWidget)return new s(e,t);arguments.length&&this._createWidget(e,t)},V.extend(s,n,{version:t.version,_proto:V.extend({},t),_childConstructors:[]}),(o=new i).options=V.widget.extend({},o.options),V.each(t,function(t,n){function s(){return i.prototype[t].apply(this,arguments)}function o(e){return i.prototype[t].apply(this,e)}a[t]="function"!=typeof n?n:function(){var e,t=this._super,i=this._superApply;return this._super=s,this._superApply=o,e=n.apply(this,arguments),this._super=t,this._superApply=i,e}}),s.prototype=V.widget.extend(o,{widgetEventPrefix:n&&o.widgetEventPrefix||e},a,{constructor:s,namespace:r,widgetName:e,widgetFullName:l}),n?(V.each(n._childConstructors,function(e,t){var i=t.prototype;V.widget(i.namespace+"."+i.widgetName,s,t._proto)}),delete n._childConstructors):i._childConstructors.push(s),V.widget.bridge(e,s),s},V.widget.extend=function(e){for(var t,i,n=h.call(arguments,1),s=0,o=n.length;s<o;s++)for(t in n[s])i=n[s][t],H.call(n[s],t)&&void 0!==i&&(V.isPlainObject(i)?e[t]=V.isPlainObject(e[t])?V.widget.extend({},e[t],i):V.widget.extend({},i):e[t]=i);return e},V.widget.bridge=function(o,t){var a=t.prototype.widgetFullName||o;V.fn[o]=function(i){var e="string"==typeof i,n=h.call(arguments,1),s=this;return e?this.length||"instance"!==i?this.each(function(){var e,t=V.data(this,a);return"instance"===i?(s=t,!1):t?"function"!=typeof t[i]||"_"===i.charAt(0)?V.error("no such method '"+i+"' for "+o+" widget instance"):(e=t[i].apply(t,n))!==t&&void 0!==e?(s=e&&e.jquery?s.pushStack(e.get()):e,!1):void 0:V.error("cannot call methods on "+o+" prior to initialization; attempted to call method '"+i+"'")}):s=void 0:(n.length&&(i=V.widget.extend.apply(null,[i].concat(n))),this.each(function(){var e=V.data(this,a);e?(e.option(i||{}),e._init&&e._init()):V.data(this,a,new t(i,this))})),s}},V.Widget=function(){},V.Widget._childConstructors=[],V.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,t){t=V(t||this.defaultElement||this)[0],this.element=V(t),this.uuid=O++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=V(),this.hoverable=V(),this.focusable=V(),this.classesElementLookup={},t!==this&&(V.data(t,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===t&&this.destroy()}}),this.document=V(t.style?t.ownerDocument:t.document||t),this.window=V(this.document[0].defaultView||this.document[0].parentWindow)),this.options=V.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:V.noop,_create:V.noop,_init:V.noop,destroy:function(){var i=this;this._destroy(),V.each(this.classesElementLookup,function(e,t){i._removeClass(t,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:V.noop,widget:function(){return this.element},option:function(e,t){var i,n,s,o=e;if(0===arguments.length)return V.widget.extend({},this.options);if("string"==typeof e)if(o={},e=(i=e.split(".")).shift(),i.length){for(n=o[e]=V.widget.extend({},this.options[e]),s=0;s<i.length-1;s++)n[i[s]]=n[i[s]]||{},n=n[i[s]];if(e=i.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=t}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];o[e]=t}return this._setOptions(o),this},_setOptions:function(e){for(var t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(e){var t,i,n;for(t in e)n=this.classesElementLookup[t],e[t]!==this.options.classes[t]&&n&&n.length&&(i=V(n.get()),this._removeClass(n,t),i.addClass(this._classes({element:i,keys:t,classes:e,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(s){var o=[],a=this;function e(e,t){for(var i,n=0;n<e.length;n++)i=a.classesElementLookup[e[n]]||V(),i=s.add?(s.element.each(function(e,t){V.map(a.classesElementLookup,function(e){return e}).some(function(e){return e.is(t)})||a._on(V(t),{remove:"_untrackClassesElement"})}),V(V.uniqueSort(i.get().concat(s.element.get())))):V(i.not(s.element).get()),a.classesElementLookup[e[n]]=i,o.push(e[n]),t&&s.classes[e[n]]&&o.push(s.classes[e[n]])}return(s=V.extend({element:this.element,classes:this.options.classes||{}},s)).keys&&e(s.keys.match(/\S+/g)||[],!0),s.extra&&e(s.extra.match(/\S+/g)||[]),o.join(" ")},_untrackClassesElement:function(i){var n=this;V.each(n.classesElementLookup,function(e,t){-1!==V.inArray(i.target,t)&&(n.classesElementLookup[e]=V(t.not(i.target).get()))}),this._off(V(i.target))},_removeClass:function(e,t,i){return this._toggleClass(e,t,i,!1)},_addClass:function(e,t,i){return this._toggleClass(e,t,i,!0)},_toggleClass:function(e,t,i,n){var s="string"==typeof e||null===e,t={extra:s?t:i,keys:s?e:t,element:s?this.element:e,add:n="boolean"==typeof n?n:i};return t.element.toggleClass(this._classes(t),n),this},_on:function(s,o,e){var a,r=this;"boolean"!=typeof s&&(e=o,o=s,s=!1),e?(o=a=V(o),this.bindings=this.bindings.add(o)):(e=o,o=this.element,a=this.widget()),V.each(e,function(e,t){function i(){if(s||!0!==r.options.disabled&&!V(this).hasClass("ui-state-disabled"))return("string"==typeof t?r[t]:t).apply(r,arguments)}"string"!=typeof t&&(i.guid=t.guid=t.guid||i.guid||V.guid++);var e=e.match(/^([\w:-]*)\s*(.*)$/),n=e[1]+r.eventNamespace,e=e[2];e?a.on(n,e,i):o.on(n,i)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(t),this.bindings=V(this.bindings.not(e).get()),this.focusable=V(this.focusable.not(e).get()),this.hoverable=V(this.hoverable.not(e).get())},_delay:function(e,t){var i=this;return setTimeout(function(){return("string"==typeof e?i[e]:e).apply(i,arguments)},t||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(V(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(V(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(V(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(V(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,t,i){var n,s,o=this.options[e];if(i=i||{},(t=V.Event(t)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),t.target=this.element[0],s=t.originalEvent)for(n in s)n in t||(t[n]=s[n]);return this.element.trigger(t,i),!("function"==typeof o&&!1===o.apply(this.element[0],[t].concat(i))||t.isDefaultPrevented())}},V.each({show:"fadeIn",hide:"fadeOut"},function(o,a){V.Widget.prototype["_"+o]=function(t,e,i){var n,s=(e="string"==typeof e?{effect:e}:e)?!0!==e&&"number"!=typeof e&&e.effect||a:o;"number"==typeof(e=e||{})?e={duration:e}:!0===e&&(e={}),n=!V.isEmptyObject(e),e.complete=i,e.delay&&t.delay(e.delay),n&&V.effects&&V.effects.effect[s]?t[o](e):s!==o&&t[s]?t[s](e.duration,e.easing,i):t.queue(function(e){V(this)[o](),i&&i.call(t[0]),e()})}}),V.widget;function C(e,t,i){return[parseFloat(e[0])*(c.test(e[0])?t/100:1),parseFloat(e[1])*(c.test(e[1])?i/100:1)]}function T(e,t){return parseInt(V.css(e,t),10)||0}function S(e){return null!=e&&e===e.window}k=Math.max,x=Math.abs,o=/left|center|right/,a=/top|center|bottom/,r=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,c=/%$/,i=V.fn.position,V.position={scrollbarWidth:function(){var e,t,i;return void 0!==n?n:(i=(t=V("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>")).children()[0],V("body").append(t),e=i.offsetWidth,t.css("overflow","scroll"),e===(i=i.offsetWidth)&&(i=t[0].clientWidth),t.remove(),n=e-i)},getScrollInfo:function(e){var t=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),i=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),t="scroll"===t||"auto"===t&&e.width<e.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&e.height<e.element[0].scrollHeight?V.position.scrollbarWidth():0,height:t?V.position.scrollbarWidth():0}},getWithinInfo:function(e){var t=V(e||window),i=S(t[0]),n=!!t[0]&&9===t[0].nodeType;return{element:t,isWindow:i,isDocument:n,offset:!i&&!n?V(e).offset():{left:0,top:0},scrollLeft:t.scrollLeft(),scrollTop:t.scrollTop(),width:t.outerWidth(),height:t.outerHeight()}}},V.fn.position=function(u){var d,p,f,g,m,v,b,y,_,w,e,t;return u&&u.of?(v="string"==typeof(u=V.extend({},u)).of?V(document).find(u.of):V(u.of),b=V.position.getWithinInfo(u.within),y=V.position.getScrollInfo(b),_=(u.collision||"flip").split(" "),w={},t=9===(t=(e=v)[0]).nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:S(t)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:t.preventDefault?{width:0,height:0,offset:{top:t.pageY,left:t.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()},v[0].preventDefault&&(u.at="left top"),p=t.width,f=t.height,m=V.extend({},g=t.offset),V.each(["my","at"],function(){var e,t,i=(u[this]||"").split(" ");(i=1===i.length?o.test(i[0])?i.concat(["center"]):a.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=o.test(i[0])?i[0]:"center",i[1]=a.test(i[1])?i[1]:"center",e=r.exec(i[0]),t=r.exec(i[1]),w[this]=[e?e[0]:0,t?t[0]:0],u[this]=[l.exec(i[0])[0],l.exec(i[1])[0]]}),1===_.length&&(_[1]=_[0]),"right"===u.at[0]?m.left+=p:"center"===u.at[0]&&(m.left+=p/2),"bottom"===u.at[1]?m.top+=f:"center"===u.at[1]&&(m.top+=f/2),d=C(w.at,p,f),m.left+=d[0],m.top+=d[1],this.each(function(){var i,e,a=V(this),r=a.outerWidth(),l=a.outerHeight(),t=T(this,"marginLeft"),n=T(this,"marginTop"),s=r+t+T(this,"marginRight")+y.width,o=l+n+T(this,"marginBottom")+y.height,c=V.extend({},m),h=C(w.my,a.outerWidth(),a.outerHeight());"right"===u.my[0]?c.left-=r:"center"===u.my[0]&&(c.left-=r/2),"bottom"===u.my[1]?c.top-=l:"center"===u.my[1]&&(c.top-=l/2),c.left+=h[0],c.top+=h[1],i={marginLeft:t,marginTop:n},V.each(["left","top"],function(e,t){V.ui.position[_[e]]&&V.ui.position[_[e]][t](c,{targetWidth:p,targetHeight:f,elemWidth:r,elemHeight:l,collisionPosition:i,collisionWidth:s,collisionHeight:o,offset:[d[0]+h[0],d[1]+h[1]],my:u.my,at:u.at,within:b,elem:a})}),u.using&&(e=function(e){var t=g.left-c.left,i=t+p-r,n=g.top-c.top,s=n+f-l,o={target:{element:v,left:g.left,top:g.top,width:p,height:f},element:{element:a,left:c.left,top:c.top,width:r,height:l},horizontal:i<0?"left":0<t?"right":"center",vertical:s<0?"top":0<n?"bottom":"middle"};p<r&&x(t+i)<p&&(o.horizontal="center"),f<l&&x(n+s)<f&&(o.vertical="middle"),k(x(t),x(i))>k(x(n),x(s))?o.important="horizontal":o.important="vertical",u.using.call(this,e,o)}),a.offset(V.extend(c,{using:e}))})):i.apply(this,arguments)},V.ui.position={fit:{left:function(e,t){var i,n=t.within,s=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,o=e.left-t.collisionPosition.marginLeft,a=s-o,r=o+t.collisionWidth-n-s;t.collisionWidth>n?0<a&&r<=0?(i=e.left+a+t.collisionWidth-n-s,e.left+=a-i):e.left=!(0<r&&a<=0)&&r<a?s+n-t.collisionWidth:s:0<a?e.left+=a:0<r?e.left-=r:e.left=k(e.left-o,e.left)},top:function(e,t){var i,n=t.within,n=n.isWindow?n.scrollTop:n.offset.top,s=t.within.height,o=e.top-t.collisionPosition.marginTop,a=n-o,r=o+t.collisionHeight-s-n;t.collisionHeight>s?0<a&&r<=0?(i=e.top+a+t.collisionHeight-s-n,e.top+=a-i):e.top=!(0<r&&a<=0)&&r<a?n+s-t.collisionHeight:n:0<a?e.top+=a:0<r?e.top-=r:e.top=k(e.top-o,e.top)}},flip:{left:function(e,t){var i=t.within,n=i.offset.left+i.scrollLeft,s=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,o=e.left-t.collisionPosition.marginLeft,a=o-i,o=o+t.collisionWidth-s-i,r="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,l="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,c=-2*t.offset[0];a<0?((s=e.left+r+l+c+t.collisionWidth-s-n)<0||s<x(a))&&(e.left+=r+l+c):0<o&&(0<(n=e.left-t.collisionPosition.marginLeft+r+l+c-i)||x(n)<o)&&(e.left+=r+l+c)},top:function(e,t){var i=t.within,n=i.offset.top+i.scrollTop,s=i.height,i=i.isWindow?i.scrollTop:i.offset.top,o=e.top-t.collisionPosition.marginTop,a=o-i,o=o+t.collisionHeight-s-i,r="top"===t.my[1]?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,l="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,c=-2*t.offset[1];a<0?((s=e.top+r+l+c+t.collisionHeight-s-n)<0||s<x(a))&&(e.top+=r+l+c):0<o&&(0<(n=e.top-t.collisionPosition.marginTop+r+l+c-i)||x(n)<o)&&(e.top+=r+l+c)}},flipfit:{left:function(){V.ui.position.flip.left.apply(this,arguments),V.ui.position.fit.left.apply(this,arguments)},top:function(){V.ui.position.flip.top.apply(this,arguments),V.ui.position.fit.top.apply(this,arguments)}}};V.ui.position,V.extend(V.expr.pseudos,{data:V.expr.createPseudo?V.expr.createPseudo(function(t){return function(e){return!!V.data(e,t)}}):function(e,t,i){return!!V.data(e,i[3])}}),V.fn.extend({disableSelection:(z="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(z+".ui-disableSelection",function(e){e.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}});var z,u=V,d={},L=d.toString,j=/^([\-+])=\s*(\d+\.?\d*)/,W=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16),e[4]?(parseInt(e[4],16)/255).toFixed(2):1]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16),e[4]?(parseInt(e[4]+e[4],16)/255).toFixed(2):1]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],p=u.Color=function(e,t,i,n){return new u.Color.fn.parse(e,t,i,n)},f={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},F={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},R=p.support={},e=u("<p>")[0],g=u.each;function m(e){return null==e?e+"":"object"==typeof e?d[L.call(e)]||"object":typeof e}function v(e,t,i){var n=F[t.type]||{};return null==e?i||!t.def?null:t.def:(e=n.floor?~~e:parseFloat(e),isNaN(e)?t.def:n.mod?(e+n.mod)%n.mod:Math.min(n.max,Math.max(0,e)))}function q(n){var s=p(),o=s._rgba=[];return n=n.toLowerCase(),g(W,function(e,t){var i=t.re.exec(n),i=i&&t.parse(i),t=t.space||"rgba";if(i)return i=s[t](i),s[f[t].cache]=i[f[t].cache],o=s._rgba=i._rgba,!1}),o.length?("0,0,0,0"===o.join()&&u.extend(o,_.transparent),s):_[n]}function b(e,t,i){return 6*(i=(i+1)%1)<1?e+(t-e)*i*6:2*i<1?t:3*i<2?e+(t-e)*(2/3-i)*6:e}e.style.cssText="background-color:rgba(1,1,1,.5)",R.rgba=-1<e.style.backgroundColor.indexOf("rgba"),g(f,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),u.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){d["[object "+t+"]"]=t.toLowerCase()}),(p.fn=u.extend(p.prototype,{parse:function(s,e,t,i){if(void 0===s)return this._rgba=[null,null,null,null],this;(s.jquery||s.nodeType)&&(s=u(s).css(e),e=void 0);var o=this,n=m(s),a=this._rgba=[];return void 0!==e&&(s=[s,e,t,i],n="array"),"string"===n?this.parse(q(s)||_._default):"array"===n?(g(f.rgba.props,function(e,t){a[t.idx]=v(s[t.idx],t)}),this):"object"===n?(s instanceof p?g(f,function(e,t){s[t.cache]&&(o[t.cache]=s[t.cache].slice())}):g(f,function(e,i){var n=i.cache;g(i.props,function(e,t){if(!o[n]&&i.to){if("alpha"===e||null==s[e])return;o[n]=i.to(o._rgba)}o[n][t.idx]=v(s[e],t,!0)}),o[n]&&u.inArray(null,o[n].slice(0,3))<0&&(null==o[n][3]&&(o[n][3]=1),i.from)&&(o._rgba=i.from(o[n]))}),this):void 0},is:function(e){var s=p(e),o=!0,a=this;return g(f,function(e,t){var i,n=s[t.cache];return n&&(i=a[t.cache]||t.to&&t.to(a._rgba)||[],g(t.props,function(e,t){if(null!=n[t.idx])return o=n[t.idx]===i[t.idx]})),o}),o},_space:function(){var i=[],n=this;return g(f,function(e,t){n[t.cache]&&i.push(e)}),i.pop()},transition:function(e,a){var e=(c=p(e))._space(),t=f[e],i=0===this.alpha()?p("transparent"):this,r=i[t.cache]||t.to(i._rgba),l=r.slice(),c=c[t.cache];return g(t.props,function(e,t){var i=t.idx,n=r[i],s=c[i],o=F[t.type]||{};null!==s&&(null===n?l[i]=s:(o.mod&&(s-n>o.mod/2?n+=o.mod:n-s>o.mod/2&&(n-=o.mod)),l[i]=v((s-n)*a+n,t)))}),this[e](l)},blend:function(e){var t,i,n;return 1===this._rgba[3]?this:(t=this._rgba.slice(),i=t.pop(),n=p(e)._rgba,p(u.map(t,function(e,t){return(1-i)*n[t]+i*e})))},toRgbaString:function(){var e="rgba(",t=u.map(this._rgba,function(e,t){return null!=e?e:2<t?1:0});return 1===t[3]&&(t.pop(),e="rgb("),e+t.join()+")"},toHslaString:function(){var e="hsla(",t=u.map(this.hsla(),function(e,t){return null==e&&(e=2<t?1:0),e=t&&t<3?Math.round(100*e)+"%":e});return 1===t[3]&&(t.pop(),e="hsl("),e+t.join()+")"},toHexString:function(e){var t=this._rgba.slice(),i=t.pop();return e&&t.push(~~(255*i)),"#"+u.map(t,function(e){return 1===(e=(e||0).toString(16)).length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}})).parse.prototype=p.fn,f.hsla.to=function(e){var t,i,n,s,o,a,r,l;return null==e[0]||null==e[1]||null==e[2]?[null,null,null,e[3]]:(t=e[0]/255,i=e[1]/255,n=e[2]/255,e=e[3],s=(l=Math.max(t,i,n))-(r=Math.min(t,i,n)),a=.5*(o=l+r),r=r===l?0:t===l?60*(i-n)/s+360:i===l?60*(n-t)/s+120:60*(t-i)/s+240,l=0==s?0:a<=.5?s/o:s/(2-o),[Math.round(r)%360,l,a,null==e?1:e])},f.hsla.from=function(e){var t,i,n;return null==e[0]||null==e[1]||null==e[2]?[null,null,null,e[3]]:(t=e[0]/360,n=e[1],i=e[2],e=e[3],n=2*i-(i=i<=.5?i*(1+n):i+n-i*n),[Math.round(255*b(n,i,t+1/3)),Math.round(255*b(n,i,t)),Math.round(255*b(n,i,t-1/3)),e])},g(f,function(r,e){var o=e.props,a=e.cache,l=e.to,c=e.from;p.fn[r]=function(e){var t,i,n,s;return l&&!this[a]&&(this[a]=l(this._rgba)),void 0===e?this[a].slice():(i=m(e),n="array"===i||"object"===i?e:arguments,s=this[a].slice(),g(o,function(e,t){e=n["object"===i?e:t.idx];null==e&&(e=s[t.idx]),s[t.idx]=v(e,t)}),c?((t=p(c(s)))[a]=s,t):p(s))},g(o,function(o,a){p.fn[o]||(p.fn[o]=function(e){var t=m(e),i="alpha"===o?this._hsla?"hsla":"rgba":r,n=this[i](),s=n[a.idx];return"undefined"===t?s:("function"===t&&(t=m(e=e.call(this,s))),null==e&&a.empty?this:("string"===t&&(t=j.exec(e))&&(e=s+parseFloat(t[2])*("+"===t[1]?1:-1)),n[a.idx]=e,this[i](n)))})})}),(p.hook=function(e){e=e.split(" ");g(e,function(e,o){u.cssHooks[o]={set:function(e,t){var i,n,s="";if("transparent"!==t&&("string"!==m(t)||(i=q(t)))){if(t=p(i||t),!R.rgba&&1!==t._rgba[3]){for(n="backgroundColor"===o?e.parentNode:e;(""===s||"transparent"===s)&&n&&n.style;)try{s=u.css(n,"backgroundColor"),n=n.parentNode}catch(e){}t=t.blend(s&&"transparent"!==s?s:"_default")}t=t.toRgbaString()}try{e.style[o]=t}catch(e){}}},u.fx.step[o]=function(e){e.colorInit||(e.start=p(e.elem,o),e.end=p(e.end),e.colorInit=!0),u.cssHooks[o].set(e.elem,e.start.transition(e.end,e.pos))}})})("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),u.cssHooks.borderColor={expand:function(i){var n={};return g(["Top","Right","Bottom","Left"],function(e,t){n["border"+t+"Color"]=i}),n}};var B,Y,U,K,X,G,Q,J,Z,y,_=u.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"},w="ui-effects-",t="ui-effects-style",D="ui-effects-animated";function ee(e){var t,i,n=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,s={};if(n&&n.length&&n[0]&&n[n[0]])for(i=n.length;i--;)"string"==typeof n[t=n[i]]&&(s[t.replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]=n[t]);else for(t in n)"string"==typeof n[t]&&(s[t]=n[t]);return s}function P(e,t,i,n){return e={effect:e=V.isPlainObject(e)?(t=e).effect:e},"function"==typeof(t=null==t?{}:t)&&(n=t,i=null,t={}),"number"!=typeof t&&!V.fx.speeds[t]||(n=i,i=t,t={}),"function"==typeof i&&(n=i,i=null),t&&V.extend(e,t),i=i||t.duration,e.duration=V.fx.off?0:"number"==typeof i?i:i in V.fx.speeds?V.fx.speeds[i]:V.fx.speeds._default,e.complete=n||t.complete,e}function M(e){return!e||"number"==typeof e||V.fx.speeds[e]||"string"==typeof e&&!V.effects.effect[e]||"function"==typeof e||"object"==typeof e&&!e.effect}function te(e,t){var i=t.outerWidth(),t=t.outerHeight(),e=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(e)||["",0,i,t,0];return{top:parseFloat(e[1])||0,right:"auto"===e[2]?i:parseFloat(e[2]),bottom:"auto"===e[3]?t:parseFloat(e[3]),left:parseFloat(e[4])||0}}V.effects={effect:{}},K=["add","remove","toggle"],X={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1},V.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,t){V.fx.step[t]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(u.style(e.elem,t,e.end),e.setAttr=!0)}}),V.fn.addBack||(V.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),V.effects.animateClass=function(s,e,t,i){var o=V.speed(e,t,i);return this.queue(function(){var i=V(this),e=i.attr("class")||"",t=(t=o.children?i.find("*").addBack():i).map(function(){return{el:V(this),start:ee(this)}}),n=function(){V.each(K,function(e,t){s[t]&&i[t+"Class"](s[t])})};n(),t=t.map(function(){return this.end=ee(this.el[0]),this.diff=function(e,t){var i,n,s={};for(i in t)n=t[i],e[i]===n||X[i]||!V.fx.step[i]&&isNaN(parseFloat(n))||(s[i]=n);return s}(this.start,this.end),this}),i.attr("class",e),t=t.map(function(){var e=this,t=V.Deferred(),i=V.extend({},o,{queue:!1,complete:function(){t.resolve(e)}});return this.el.animate(this.diff,i),t.promise()}),V.when.apply(V,t.get()).done(function(){n(),V.each(arguments,function(){var t=this.el;V.each(this.diff,function(e){t.css(e,"")})}),o.complete.call(i[0])})})},V.fn.extend({addClass:(U=V.fn.addClass,function(e,t,i,n){return t?V.effects.animateClass.call(this,{add:e},t,i,n):U.apply(this,arguments)}),removeClass:(Y=V.fn.removeClass,function(e,t,i,n){return 1<arguments.length?V.effects.animateClass.call(this,{remove:e},t,i,n):Y.apply(this,arguments)}),toggleClass:(B=V.fn.toggleClass,function(e,t,i,n,s){return"boolean"==typeof t||void 0===t?i?V.effects.animateClass.call(this,t?{add:e}:{remove:e},i,n,s):B.apply(this,arguments):V.effects.animateClass.call(this,{toggle:e},t,i,n)}),switchClass:function(e,t,i,n,s){return V.effects.animateClass.call(this,{add:t,remove:e},i,n,s)}}),V.expr&&V.expr.pseudos&&V.expr.pseudos.animated&&(V.expr.pseudos.animated=(G=V.expr.pseudos.animated,function(e){return!!V(e).data(D)||G(e)})),!1!==V.uiBackCompat&&V.extend(V.effects,{save:function(e,t){for(var i=0,n=t.length;i<n;i++)null!==t[i]&&e.data(w+t[i],e[0].style[t[i]])},restore:function(e,t){for(var i,n=0,s=t.length;n<s;n++)null!==t[n]&&(i=e.data(w+t[n]),e.css(t[n],i))},setMode:function(e,t){return t="toggle"===t?e.is(":hidden")?"show":"hide":t},createWrapper:function(i){if(i.parent().is(".ui-effects-wrapper"))return i.parent();var n={width:i.outerWidth(!0),height:i.outerHeight(!0),float:i.css("float")},e=V("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),t={width:i.width(),height:i.height()},s=document.activeElement;try{s.id}catch(e){s=document.body}return i.wrap(e),i[0]!==s&&!V.contains(i[0],s)||V(s).trigger("focus"),e=i.parent(),"static"===i.css("position")?(e.css({position:"relative"}),i.css({position:"relative"})):(V.extend(n,{position:i.css("position"),zIndex:i.css("z-index")}),V.each(["top","left","bottom","right"],function(e,t){n[t]=i.css(t),isNaN(parseInt(n[t],10))&&(n[t]="auto")}),i.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),i.css(t),e.css(n).show()},removeWrapper:function(e){var t=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),e[0]!==t&&!V.contains(e[0],t)||V(t).trigger("focus")),e}}),V.extend(V.effects,{version:"1.13.0",define:function(e,t,i){return i||(i=t,t="effect"),V.effects.effect[e]=i,V.effects.effect[e].mode=t,i},scaledDimensions:function(e,t,i){var n;return 0===t?{height:0,width:0,outerHeight:0,outerWidth:0}:(n="horizontal"!==i?(t||100)/100:1,i="vertical"!==i?(t||100)/100:1,{height:e.height()*i,width:e.width()*n,outerHeight:e.outerHeight()*i,outerWidth:e.outerWidth()*n})},clipToBox:function(e){return{width:e.clip.right-e.clip.left,height:e.clip.bottom-e.clip.top,left:e.clip.left,top:e.clip.top}},unshift:function(e,t,i){var n=e.queue();1<t&&n.splice.apply(n,[1,0].concat(n.splice(t,i))),e.dequeue()},saveStyle:function(e){e.data(t,e[0].style.cssText)},restoreStyle:function(e){e[0].style.cssText=e.data(t)||"",e.removeData(t)},mode:function(e,t){e=e.is(":hidden");return"toggle"===t&&(t=e?"show":"hide"),t=(e?"hide"===t:"show"===t)?"none":t},getBaseline:function(e,t){var i,n;switch(e[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=e[0]/t.height}switch(e[1]){case"left":n=0;break;case"center":n=.5;break;case"right":n=1;break;default:n=e[1]/t.width}return{x:n,y:i}},createPlaceholder:function(e){var t,i=e.css("position"),n=e.position();return e.css({marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()),/^(static|relative)/.test(i)&&(i="absolute",t=V("<"+e[0].nodeName+">").insertAfter(e).css({display:/^(inline|ruby)/.test(e.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight"),float:e.css("float")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).addClass("ui-effects-placeholder"),e.data(w+"placeholder",t)),e.css({position:i,left:n.left,top:n.top}),t},removePlaceholder:function(e){var t=w+"placeholder",i=e.data(t);i&&(i.remove(),e.removeData(t))},cleanUp:function(e){V.effects.restoreStyle(e),V.effects.removePlaceholder(e)},setTransition:function(n,e,s,o){return o=o||{},V.each(e,function(e,t){var i=n.cssUnit(t);0<i[0]&&(o[t]=i[0]*s+i[1])}),o}}),V.fn.extend({effect:function(){function e(e){var t=V(this),i=V.effects.mode(t,r)||o;t.data(D,!0),l.push(i),o&&("show"===i||i===o&&"hide"===i)&&t.show(),o&&"none"===i||V.effects.saveStyle(t),"function"==typeof e&&e()}var n=P.apply(this,arguments),s=V.effects.effect[n.effect],o=s.mode,t=n.queue,i=t||"fx",a=n.complete,r=n.mode,l=[];return V.fx.off||!s?r?this[r](n.duration,a):this.each(function(){a&&a.call(this)}):!1===t?this.each(e).each(c):this.queue(i,e).queue(i,c);function c(e){var t=V(this);function i(){"function"==typeof a&&a.call(t[0]),"function"==typeof e&&e()}n.mode=l.shift(),!1===V.uiBackCompat||o?"none"===n.mode?(t[r](),i()):s.call(t[0],n,function(){t.removeData(D),V.effects.cleanUp(t),"hide"===n.mode&&t.hide(),i()}):(t.is(":hidden")?"hide"===r:"show"===r)?(t[r](),i()):s.call(t[0],n,i)}},show:(Z=V.fn.show,function(e){var t;return M(e)?Z.apply(this,arguments):((t=P.apply(this,arguments)).mode="show",this.effect.call(this,t))}),hide:(J=V.fn.hide,function(e){var t;return M(e)?J.apply(this,arguments):((t=P.apply(this,arguments)).mode="hide",this.effect.call(this,t))}),toggle:(Q=V.fn.toggle,function(e){var t;return M(e)||"boolean"==typeof e?Q.apply(this,arguments):((t=P.apply(this,arguments)).mode="toggle",this.effect.call(this,t))}),cssUnit:function(e){var i=this.css(e),n=[];return V.each(["em","px","%","pt"],function(e,t){0<i.indexOf(t)&&(n=[parseFloat(i),t])}),n},cssClip:function(e){return e?this.css("clip","rect("+e.top+"px "+e.right+"px "+e.bottom+"px "+e.left+"px)"):te(this.css("clip"),this)},transfer:function(e,t){var i=V(this),n=V(e.to),s="fixed"===n.css("position"),o=V("body"),a=s?o.scrollTop():0,o=s?o.scrollLeft():0,r=n.offset(),r={top:r.top-a,left:r.left-o,height:n.innerHeight(),width:n.innerWidth()},n=i.offset(),l=V("<div class='ui-effects-transfer'></div>");l.appendTo("body").addClass(e.className).css({top:n.top-a,left:n.left-o,height:i.innerHeight(),width:i.innerWidth(),position:s?"fixed":"absolute"}).animate(r,e.duration,e.easing,function(){l.remove(),"function"==typeof t&&t()})}}),V.fx.step.clip=function(e){e.clipInit||(e.start=V(e.elem).cssClip(),"string"==typeof e.end&&(e.end=te(e.end,e.elem)),e.clipInit=!0),V(e.elem).cssClip({top:e.pos*(e.end.top-e.start.top)+e.start.top,right:e.pos*(e.end.right-e.start.right)+e.start.right,bottom:e.pos*(e.end.bottom-e.start.bottom)+e.start.bottom,left:e.pos*(e.end.left-e.start.left)+e.start.left})},y={},V.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,e){y[e]=function(e){return Math.pow(e,t+2)}}),V.extend(y,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,i=4;e<((t=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}}),V.each(y,function(e,t){V.easing["easeIn"+e]=t,V.easing["easeOut"+e]=function(e){return 1-t(1-e)},V.easing["easeInOut"+e]=function(e){return e<.5?t(2*e)/2:1-t(-2*e+2)/2}});e=V.effects;V.effects.define("blind","hide",function(e,t){var i={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},n=V(this),s=e.direction||"up",o=n.cssClip(),a={clip:V.extend({},o)},r=V.effects.createPlaceholder(n);a.clip[i[s][0]]=a.clip[i[s][1]],"show"===e.mode&&(n.cssClip(a.clip),r&&r.css(V.effects.clipToBox(a)),a.clip=o),r&&r.animate(V.effects.clipToBox(a),e.duration,e.easing),n.animate(a,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),V.effects.define("bounce",function(e,t){var i,n,s=V(this),o=e.mode,a="hide"===o,o="show"===o,r=e.direction||"up",l=e.distance,c=e.times||5,h=2*c+(o||a?1:0),u=e.duration/h,d=e.easing,p="up"===r||"down"===r?"top":"left",f="up"===r||"left"===r,g=0,e=s.queue().length;for(V.effects.createPlaceholder(s),r=s.css(p),l=l||s["top"==p?"outerHeight":"outerWidth"]()/3,o&&((n={opacity:1})[p]=r,s.css("opacity",0).css(p,f?2*-l:2*l).animate(n,u,d)),a&&(l/=Math.pow(2,c-1)),(n={})[p]=r;g<c;g++)(i={})[p]=(f?"-=":"+=")+l,s.animate(i,u,d).animate(n,u,d),l=a?2*l:l/2;a&&((i={opacity:0})[p]=(f?"-=":"+=")+l,s.animate(i,u,d)),s.queue(t),V.effects.unshift(s,e,1+h)}),V.effects.define("clip","hide",function(e,t){var i={},n=V(this),s=e.direction||"vertical",o="both"===s,a=o||"horizontal"===s,o=o||"vertical"===s,s=n.cssClip();i.clip={top:o?(s.bottom-s.top)/2:s.top,right:a?(s.right-s.left)/2:s.right,bottom:o?(s.bottom-s.top)/2:s.bottom,left:a?(s.right-s.left)/2:s.left},V.effects.createPlaceholder(n),"show"===e.mode&&(n.cssClip(i.clip),i.clip=s),n.animate(i,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),V.effects.define("drop","hide",function(e,t){var i,n=V(this),s="show"===e.mode,o=e.direction||"left",a="up"===o||"down"===o?"top":"left",o="up"===o||"left"===o?"-=":"+=",r="+="==o?"-=":"+=",l={opacity:0};V.effects.createPlaceholder(n),i=e.distance||n["top"==a?"outerHeight":"outerWidth"](!0)/2,l[a]=o+i,s&&(n.css(l),l[a]=r+i,l.opacity=1),n.animate(l,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),V.effects.define("explode","hide",function(e,t){var i,n,s,o,a,r,l=e.pieces?Math.round(Math.sqrt(e.pieces)):3,c=l,h=V(this),u="show"===e.mode,d=h.show().css("visibility","hidden").offset(),p=Math.ceil(h.outerWidth()/c),f=Math.ceil(h.outerHeight()/l),g=[];function m(){g.push(this),g.length===l*c&&(h.css({visibility:"visible"}),V(g).remove(),t())}for(i=0;i<l;i++)for(o=d.top+i*f,r=i-(l-1)/2,n=0;n<c;n++)s=d.left+n*p,a=n-(c-1)/2,h.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-n*p,top:-i*f}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:p,height:f,left:s+(u?a*p:0),top:o+(u?r*f:0),opacity:u?0:1}).animate({left:s+(u?0:a*p),top:o+(u?0:r*f),opacity:u?1:0},e.duration||500,e.easing,m)}),V.effects.define("fade","toggle",function(e,t){var i="show"===e.mode;V(this).css("opacity",i?0:1).animate({opacity:i?1:0},{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),V.effects.define("fold","hide",function(t,e){var i=V(this),n=t.mode,s="show"===n,n="hide"===n,o=t.size||15,a=/([0-9]+)%/.exec(o),r=!!t.horizFirst?["right","bottom"]:["bottom","right"],l=t.duration/2,c=V.effects.createPlaceholder(i),h=i.cssClip(),u={clip:V.extend({},h)},d={clip:V.extend({},h)},p=[h[r[0]],h[r[1]]],f=i.queue().length;a&&(o=parseInt(a[1],10)/100*p[n?0:1]),u.clip[r[0]]=o,d.clip[r[0]]=o,d.clip[r[1]]=0,s&&(i.cssClip(d.clip),c&&c.css(V.effects.clipToBox(d)),d.clip=h),i.queue(function(e){c&&c.animate(V.effects.clipToBox(u),l,t.easing).animate(V.effects.clipToBox(d),l,t.easing),e()}).animate(u,l,t.easing).animate(d,l,t.easing).queue(e),V.effects.unshift(i,f,4)}),V.effects.define("highlight","show",function(e,t){var i=V(this),n={backgroundColor:i.css("backgroundColor")};"hide"===e.mode&&(n.opacity=0),V.effects.saveStyle(i),i.css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(n,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),V.effects.define("size",function(n,t){var s,i=V(this),e=["fontSize"],o=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],a=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],r=n.mode,l="effect"!==r,c=n.scale||"both",h=n.origin||["middle","center"],u=i.css("position"),d=i.position(),p=V.effects.scaledDimensions(i),f=n.from||p,g=n.to||V.effects.scaledDimensions(i,0);V.effects.createPlaceholder(i),"show"===r&&(r=f,f=g,g=r),s={from:{y:f.height/p.height,x:f.width/p.width},to:{y:g.height/p.height,x:g.width/p.width}},"box"!==c&&"both"!==c||(s.from.y!==s.to.y&&(f=V.effects.setTransition(i,o,s.from.y,f),g=V.effects.setTransition(i,o,s.to.y,g)),s.from.x!==s.to.x&&(f=V.effects.setTransition(i,a,s.from.x,f),g=V.effects.setTransition(i,a,s.to.x,g))),"content"!==c&&"both"!==c||s.from.y!==s.to.y&&(f=V.effects.setTransition(i,e,s.from.y,f),g=V.effects.setTransition(i,e,s.to.y,g)),h&&(r=V.effects.getBaseline(h,p),f.top=(p.outerHeight-f.outerHeight)*r.y+d.top,f.left=(p.outerWidth-f.outerWidth)*r.x+d.left,g.top=(p.outerHeight-g.outerHeight)*r.y+d.top,g.left=(p.outerWidth-g.outerWidth)*r.x+d.left),delete f.outerHeight,delete f.outerWidth,i.css(f),"content"!==c&&"both"!==c||(o=o.concat(["marginTop","marginBottom"]).concat(e),a=a.concat(["marginLeft","marginRight"]),i.find("*[width]").each(function(){var e=V(this),t=V.effects.scaledDimensions(e),i={height:t.height*s.from.y,width:t.width*s.from.x,outerHeight:t.outerHeight*s.from.y,outerWidth:t.outerWidth*s.from.x},t={height:t.height*s.to.y,width:t.width*s.to.x,outerHeight:t.height*s.to.y,outerWidth:t.width*s.to.x};s.from.y!==s.to.y&&(i=V.effects.setTransition(e,o,s.from.y,i),t=V.effects.setTransition(e,o,s.to.y,t)),s.from.x!==s.to.x&&(i=V.effects.setTransition(e,a,s.from.x,i),t=V.effects.setTransition(e,a,s.to.x,t)),l&&V.effects.saveStyle(e),e.css(i),e.animate(t,n.duration,n.easing,function(){l&&V.effects.restoreStyle(e)})})),i.animate(g,{queue:!1,duration:n.duration,easing:n.easing,complete:function(){var e=i.offset();0===g.opacity&&i.css("opacity",f.opacity),l||(i.css("position","static"===u?"relative":u).offset(e),V.effects.saveStyle(i)),t()}})}),V.effects.define("scale",function(e,t){var i=V(this),n=e.mode,n=parseInt(e.percent,10)||(0===parseInt(e.percent,10)||"effect"!==n?0:100),i=V.extend(!0,{from:V.effects.scaledDimensions(i),to:V.effects.scaledDimensions(i,n,e.direction||"both"),origin:e.origin||["middle","center"]},e);e.fade&&(i.from.opacity=1,i.to.opacity=0),V.effects.effect.size.call(this,i,t)}),V.effects.define("puff","hide",function(e,t){e=V.extend(!0,{},e,{fade:!0,percent:parseInt(e.percent,10)||150});V.effects.effect.scale.call(this,e,t)}),V.effects.define("pulsate","show",function(e,t){var i=V(this),n=e.mode,s="show"===n,o=2*(e.times||5)+(s||"hide"===n?1:0),a=e.duration/o,r=0,l=1,n=i.queue().length;for(!s&&i.is(":visible")||(i.css("opacity",0).show(),r=1);l<o;l++)i.animate({opacity:r},a,e.easing),r=1-r;i.animate({opacity:r},a,e.easing),i.queue(t),V.effects.unshift(i,n,1+o)}),V.effects.define("shake",function(e,t){var i=1,n=V(this),s=e.direction||"left",o=e.distance||20,a=e.times||3,r=2*a+1,l=Math.round(e.duration/r),c="up"===s||"down"===s?"top":"left",s="up"===s||"left"===s,h={},u={},d={},p=n.queue().length;for(V.effects.createPlaceholder(n),h[c]=(s?"-=":"+=")+o,u[c]=(s?"+=":"-=")+2*o,d[c]=(s?"-=":"+=")+2*o,n.animate(h,l,e.easing);i<a;i++)n.animate(u,l,e.easing).animate(d,l,e.easing);n.animate(u,l,e.easing).animate(h,l/2,e.easing).queue(t),V.effects.unshift(n,p,1+r)}),V.effects.define("slide","show",function(e,t){var i,n,s=V(this),o={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},a=e.mode,r=e.direction||"left",l="up"===r||"down"===r?"top":"left",c="up"===r||"left"===r,h=e.distance||s["top"==l?"outerHeight":"outerWidth"](!0),u={};V.effects.createPlaceholder(s),i=s.cssClip(),n=s.position()[l],u[l]=(c?-1:1)*h+n,u.clip=s.cssClip(),u.clip[o[r][1]]=u.clip[o[r][0]],"show"===a&&(s.cssClip(u.clip),s.css(l,u[l]),u.clip=i,u[l]=n),s.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),e=!1!==V.uiBackCompat?V.effects.define("transfer",function(e,t){V(this).transfer(e,t)}):e;V.ui.focusable=function(e,t){var i,n,s,o=e.nodeName.toLowerCase();return"area"===o?(s=(i=e.parentNode).name,!(!e.href||!s||"map"!==i.nodeName.toLowerCase())&&0<(i=V("img[usemap='#"+s+"']")).length&&i.is(":visible")):(/^(input|select|textarea|button|object)$/.test(o)?(n=!e.disabled)&&(s=V(e).closest("fieldset")[0])&&(n=!s.disabled):n="a"===o&&e.href||t,n&&V(e).is(":visible")&&function(e){var t=e.css("visibility");for(;"inherit"===t;)e=e.parent(),t=e.css("visibility");return"visible"===t}(V(e)))},V.extend(V.expr.pseudos,{focusable:function(e){return V.ui.focusable(e,null!=V.attr(e,"tabindex"))}});V.ui.focusable,V.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):V(this[0].form)},V.ui.formResetMixin={_formResetHandler:function(){var t=V(this);setTimeout(function(){var e=t.data("ui-form-reset-instances");V.each(e,function(){this.refresh()})})},_bindFormResetHandler:function(){var e;this.form=this.element._form(),this.form.length&&((e=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),e.push(this),this.form.data("ui-form-reset-instances",e))},_unbindFormResetHandler:function(){var e;this.form.length&&((e=this.form.data("ui-form-reset-instances")).splice(V.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},V.expr.pseudos||(V.expr.pseudos=V.expr[":"]),V.uniqueSort||(V.uniqueSort=V.unique),V.escapeSelector||(ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},V.escapeSelector=function(e){return(e+"").replace(ie,ne)}),V.fn.even&&V.fn.odd||V.fn.extend({even:function(){return this.filter(function(e){return e%2==0})},odd:function(){return this.filter(function(e){return e%2==1})}}),V.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},V.fn.labels=function(){var e,t,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(t=this.eq(0).parents("label"),(e=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),e="label[for='"+V.escapeSelector(e)+"']",t=t.add(i.find(e).addBack(e))),this.pushStack(t)):this.pushStack([])},V.fn.scrollParent=function(e){var t=this.css("position"),i="absolute"===t,n=e?/(auto|scroll|hidden)/:/(auto|scroll)/,e=this.parents().filter(function(){var e=V(this);return(!i||"static"!==e.css("position"))&&n.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==t&&e.length?e:V(this[0].ownerDocument||document)},V.extend(V.expr.pseudos,{tabbable:function(e){var t=V.attr(e,"tabindex"),i=null!=t;return(!i||0<=t)&&V.ui.focusable(e,i)}}),V.fn.extend({uniqueId:(se=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++se)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&V(this).removeAttr("id")})}}),V.widget("ui.accordion",{version:"1.13.0",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:function(e){return e.find("> li > :first-child").add(e.find("> :not(li)").even())},heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var e=this.options;this.prevShow=this.prevHide=V(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),e.collapsible||!1!==e.active&&null!=e.active||(e.active=0),this._processPanels(),e.active<0&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():V()}},_createIcons:function(){var e,t=this.options.icons;t&&(e=V("<span>"),this._addClass(e,"ui-accordion-header-icon","ui-icon "+t.header),e.prependTo(this.headers),e=this.active.children(".ui-accordion-header-icon"),this._removeClass(e,t.header)._addClass(e,null,t.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var e;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),e=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&e.css("height","")},_setOption:function(e,t){"active"===e?this._activate(t):("event"===e&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),"collapsible"!==e||t||!1!==this.options.active||this._activate(0),"icons"===e&&(this._destroyIcons(),t)&&this._createIcons())},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e),this._toggleClass(null,"ui-state-disabled",!!e),this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!e)},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var t=V.ui.keyCode,i=this.headers.length,n=this.headers.index(e.target),s=!1;switch(e.keyCode){case t.RIGHT:case t.DOWN:s=this.headers[(n+1)%i];break;case t.LEFT:case t.UP:s=this.headers[(n-1+i)%i];break;case t.SPACE:case t.ENTER:this._eventHandler(e);break;case t.HOME:s=this.headers[0];break;case t.END:s=this.headers[i-1]}s&&(V(e.target).attr("tabIndex",-1),V(s).attr("tabIndex",0),V(s).trigger("focus"),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===V.ui.keyCode.UP&&e.ctrlKey&&V(e.currentTarget).prev().trigger("focus")},refresh:function(){var e=this.options;this._processPanels(),!1===e.active&&!0===e.collapsible||!this.headers.length?(e.active=!1,this.active=V()):!1===e.active?this._activate(0):this.active.length&&!V.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=V()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var e=this.headers,t=this.panels;"function"==typeof this.options.header?this.headers=this.options.header(this.element):this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),t&&(this._off(e.not(this.headers)),this._off(t.not(this.panels)))},_refresh:function(){var i,e=this.options,t=e.heightStyle,n=this.element.parent();this.active=this._findActive(e.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each(function(){var e=V(this),t=e.uniqueId().attr("id"),i=e.next(),n=i.uniqueId().attr("id");e.attr("aria-controls",n),i.attr("aria-labelledby",t)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(e.event),"fill"===t?(i=n.height(),this.element.siblings(":visible").each(function(){var e=V(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(i-=e.outerHeight(!0))}),this.headers.each(function(){i-=V(this).outerHeight(!0)}),this.headers.next().each(function(){V(this).height(Math.max(0,i-V(this).innerHeight()+V(this).height()))}).css("overflow","auto")):"auto"===t&&(i=0,this.headers.next().each(function(){var e=V(this).is(":visible");e||V(this).show(),i=Math.max(i,V(this).css("height","").height()),e||V(this).hide()}).height(i))},_activate:function(e){e=this._findActive(e)[0];e!==this.active[0]&&(e=e||this.active[0],this._eventHandler({target:e,currentTarget:e,preventDefault:V.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):V()},_setupEvents:function(e){var i={keydown:"_keydown"};e&&V.each(e.split(" "),function(e,t){i[t]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var t=this.options,i=this.active,n=V(e.currentTarget),s=n[0]===i[0],o=s&&t.collapsible,a=o?V():n.next(),r=i.next(),r={oldHeader:i,oldPanel:r,newHeader:o?V():n,newPanel:a};e.preventDefault(),s&&!t.collapsible||!1===this._trigger("beforeActivate",e,r)||(t.active=!o&&this.headers.index(n),this.active=s?V():n,this._toggle(r),this._removeClass(i,"ui-accordion-header-active","ui-state-active"),t.icons&&(a=i.children(".ui-accordion-header-icon"),this._removeClass(a,null,t.icons.activeHeader)._addClass(a,null,t.icons.header)),s)||(this._removeClass(n,"ui-accordion-header-collapsed")._addClass(n,"ui-accordion-header-active","ui-state-active"),t.icons&&(e=n.children(".ui-accordion-header-icon"),this._removeClass(e,null,t.icons.header)._addClass(e,null,t.icons.activeHeader)),this._addClass(n.next(),"ui-accordion-content-active"))},_toggle:function(e){var t=e.newPanel,i=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=t,this.prevHide=i,this.options.animate?this._animate(t,i,e):(i.hide(),t.show(),this._toggleComplete(e)),i.attr({"aria-hidden":"true"}),i.prev().attr({"aria-selected":"false","aria-expanded":"false"}),t.length&&i.length?i.prev().attr({tabIndex:-1,"aria-expanded":"false"}):t.length&&this.headers.filter(function(){return 0===parseInt(V(this).attr("tabIndex"),10)}).attr("tabIndex",-1),t.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(e,i,t){function n(){o._toggleComplete(t)}var s,o=this,a=0,r=e.css("box-sizing"),l=e.length&&(!i.length||e.index()<i.index()),c=this.options.animate||{},l=l&&c.down||c,h=(h="string"==typeof l?l:h)||l.easing||c.easing,u=(u="number"==typeof l?l:u)||l.duration||c.duration;return i.length?e.length?(s=e.show().outerHeight(),i.animate(this.hideProps,{duration:u,easing:h,step:function(e,t){t.now=Math.round(e)}}),void e.hide().animate(this.showProps,{duration:u,easing:h,complete:n,step:function(e,t){t.now=Math.round(e),"height"!==t.prop?"content-box"===r&&(a+=t.now):"content"!==o.options.heightStyle&&(t.now=Math.round(s-i.outerHeight()-a),a=0)}})):i.animate(this.hideProps,u,h,n):e.animate(this.showProps,u,h,n)},_toggleComplete:function(e){var t=e.oldPanel,i=t.prev();this._removeClass(t,"ui-accordion-content-active"),this._removeClass(i,"ui-accordion-header-active")._addClass(i,"ui-accordion-header-collapsed"),t.length&&(t.parent()[0].className=t.parent()[0].className),this._trigger("activate",null,e)}}),V.ui.safeActiveElement=function(t){var i;try{i=t.activeElement}catch(e){i=t.body}return i=(i=i||t.body).nodeName?i:t.body},V.widget("ui.menu",{version:"1.13.0",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(e){e.preventDefault(),this._activateItem(e)},"click .ui-menu-item":function(e){var t=V(e.target),i=V(V.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&t.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),t.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&i.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active)&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var i=this.active||this._menuItems().first();t||this.focus(e,i)},blur:function(e){this._delay(function(){V.contains(this.element[0],V.ui.safeActiveElement(this.document[0]))||this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){this._closeOnDocumentClick(e)&&this.collapseAll(e,!0),this.mouseHandled=!1}})},_activateItem:function(e){var t,i;this.previousFilter||e.clientX===this.lastMousePosition.x&&e.clientY===this.lastMousePosition.y||(this.lastMousePosition={x:e.clientX,y:e.clientY},t=V(e.target).closest(".ui-menu-item"),i=V(e.currentTarget),t[0]!==i[0])||i.is(".ui-state-active")||(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(e,i))},_destroy:function(){var e=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),e.children().each(function(){var e=V(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(e){var t,i,n,s=!0;switch(e.keyCode){case V.ui.keyCode.PAGE_UP:this.previousPage(e);break;case V.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case V.ui.keyCode.HOME:this._move("first","first",e);break;case V.ui.keyCode.END:this._move("last","last",e);break;case V.ui.keyCode.UP:this.previous(e);break;case V.ui.keyCode.DOWN:this.next(e);break;case V.ui.keyCode.LEFT:this.collapse(e);break;case V.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case V.ui.keyCode.ENTER:case V.ui.keyCode.SPACE:this._activate(e);break;case V.ui.keyCode.ESCAPE:this.collapse(e);break;default:t=this.previousFilter||"",n=s=!1,i=96<=e.keyCode&&e.keyCode<=105?(e.keyCode-96).toString():String.fromCharCode(e.keyCode),clearTimeout(this.filterTimer),i===t?n=!0:i=t+i,t=this._filterMenuItems(i),(t=n&&-1!==t.index(this.active.next())?this.active.nextAll(".ui-menu-item"):t).length||(i=String.fromCharCode(e.keyCode),t=this._filterMenuItems(i)),t.length?(this.focus(e,t),this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}s&&e.preventDefault()},_activate:function(e){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(e):this.select(e))},refresh:function(){var e,t,n=this,s=this.options.icons.submenu,i=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),e=i.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=V(this),t=e.prev(),i=V("<span>").data("ui-menu-submenu-caret",!0);n._addClass(i,"ui-menu-icon","ui-icon "+s),t.attr("aria-haspopup","true").prepend(i),e.attr("aria-labelledby",t.attr("id"))}),this._addClass(e,"ui-menu","ui-widget ui-widget-content ui-front"),(e=i.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var e=V(this);n._isDivider(e)&&n._addClass(e,"ui-menu-divider","ui-widget-content")}),t=(i=e.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(i,"ui-menu-item")._addClass(t,"ui-menu-item-wrapper"),e.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!V.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(e,t){var i;"icons"===e&&(i=this.element.find(".ui-menu-icon"),this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,t.submenu)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",String(e)),this._toggleClass(null,"ui-state-disabled",!!e)},focus:function(e,t){var i;this.blur(e,e&&"focus"===e.type),this._scrollIntoView(t),this.active=t.first(),i=this.active.children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),i=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),e&&"keydown"===e.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=t.children(".ui-menu")).length&&e&&/^mouse/.test(e.type)&&this._startOpening(i),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(e){var t,i,n;this._hasScroll()&&(t=parseFloat(V.css(this.activeMenu[0],"borderTopWidth"))||0,i=parseFloat(V.css(this.activeMenu[0],"paddingTop"))||0,t=e.offset().top-this.activeMenu.offset().top-t-i,i=this.activeMenu.scrollTop(),n=this.activeMenu.height(),e=e.outerHeight(),t<0?this.activeMenu.scrollTop(i+t):n<t+e&&this.activeMenu.scrollTop(i+t-n+e))},blur:function(e,t){t||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",e,{item:this.active}),this.active=null)},_startOpening:function(e){clearTimeout(this.timer),"true"===e.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(e)},this.delay))},_open:function(e){var t=V.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(t)},collapseAll:function(t,i){clearTimeout(this.timer),this.timer=this._delay(function(){var e=i?this.element:V(t&&t.target).closest(this.element.find(".ui-menu"));e.length||(e=this.element),this._close(e),this.blur(t),this._removeClass(e.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=e},i?0:this.delay)},_close:function(e){(e=e||(this.active?this.active.parent():this.element)).find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeOnDocumentClick:function(e){return!V(e.target).closest(".ui-menu").length},_isDivider:function(e){return!/[^\-\u2014\u2013\s]/.test(e.text())},collapse:function(e){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(e,t))},expand:function(e){var t=this.active&&this._menuItems(this.active.children(".ui-menu")).first();t&&t.length&&(this._open(t.parent()),this._delay(function(){this.focus(e,t)}))},next:function(e){this._move("next","first",e)},previous:function(e){this._move("prev","last",e)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_menuItems:function(e){return(e||this.element).find(this.options.items).filter(".ui-menu-item")},_move:function(e,t,i){var n;(n=this.active?"first"===e||"last"===e?this.active["first"===e?"prevAll":"nextAll"](".ui-menu-item").last():this.active[e+"All"](".ui-menu-item").first():n)&&n.length&&this.active||(n=this._menuItems(this.activeMenu)[t]()),this.focus(i,n)},nextPage:function(e){var t,i,n;this.active?this.isLastItem()||(this._hasScroll()?(i=this.active.offset().top,n=this.element.innerHeight(),0===V.fn.jquery.indexOf("3.2.")&&(n+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.nextAll(".ui-menu-item").each(function(){return(t=V(this)).offset().top-i-n<0}),this.focus(e,t)):this.focus(e,this._menuItems(this.activeMenu)[this.active?"last":"first"]())):this.next(e)},previousPage:function(e){var t,i,n;this.active?this.isFirstItem()||(this._hasScroll()?(i=this.active.offset().top,n=this.element.innerHeight(),0===V.fn.jquery.indexOf("3.2.")&&(n+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.prevAll(".ui-menu-item").each(function(){return 0<(t=V(this)).offset().top-i+n}),this.focus(e,t)):this.focus(e,this._menuItems(this.activeMenu).first())):this.next(e)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||V(e.target).closest(".ui-menu-item");var t={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,t)},_filterMenuItems:function(e){var e=e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),t=new RegExp("^"+e,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return t.test(String.prototype.trim.call(V(this).children(".ui-menu-item-wrapper").text()))})}}),V.widget("ui.autocomplete",{version:"1.13.0",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var i,n,s,e=this.element[0].nodeName.toLowerCase(),t="textarea"===e,e="input"===e;this.isMultiLine=t||!e&&this._isContentEditable(this.element),this.valueMethod=this.element[t||e?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(e){if(this.element.prop("readOnly"))n=s=i=!0;else{n=s=i=!1;var t=V.ui.keyCode;switch(e.keyCode){case t.PAGE_UP:i=!0,this._move("previousPage",e);break;case t.PAGE_DOWN:i=!0,this._move("nextPage",e);break;case t.UP:i=!0,this._keyEvent("previous",e);break;case t.DOWN:i=!0,this._keyEvent("next",e);break;case t.ENTER:this.menu.active&&(i=!0,e.preventDefault(),this.menu.select(e));break;case t.TAB:this.menu.active&&this.menu.select(e);break;case t.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(e),e.preventDefault());break;default:n=!0,this._searchTimeout(e)}}},keypress:function(e){if(i)i=!1,this.isMultiLine&&!this.menu.element.is(":visible")||e.preventDefault();else if(!n){var t=V.ui.keyCode;switch(e.keyCode){case t.PAGE_UP:this._move("previousPage",e);break;case t.PAGE_DOWN:this._move("nextPage",e);break;case t.UP:this._keyEvent("previous",e);break;case t.DOWN:this._keyEvent("next",e)}}},input:function(e){s?(s=!1,e.preventDefault()):this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){clearTimeout(this.searching),this.close(e),this._change(e)}}),this._initSource(),this.menu=V("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().attr({unselectable:"on"}).menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault()},menufocus:function(e,t){var i;this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent)&&/^mouse/.test(e.originalEvent.type)?(this.menu.blur(),this.document.one("mousemove",function(){V(e.target).trigger(e.originalEvent)})):(i=t.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",e,{item:i})&&e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(i.value),(t=t.item.attr("aria-label")||i.value)&&String.prototype.trim.call(t).length&&(this.liveRegion.children().hide(),V("<div>").text(t).appendTo(this.liveRegion)))},menuselect:function(e,t){var i=t.item.data("ui-autocomplete-item"),n=this.previous;this.element[0]!==V.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=n,this._delay(function(){this.previous=n,this.selectedItem=i})),!1!==this._trigger("select",e,{item:i})&&this._value(i.value),this.term=this._value(),this.close(e),this.selectedItem=i}}),this.liveRegion=V("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(e,t){this._super(e,t),"source"===e&&this._initSource(),"appendTo"===e&&this.menu.element.appendTo(this._appendTo()),"disabled"===e&&t&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(e){var t=this.menu.element[0];return e.target===this.element[0]||e.target===t||V.contains(t,e.target)},_closeOnClickOutside:function(e){this._isEventTargetInWidget(e)||this.close()},_appendTo:function(){var e=this.options.appendTo;return e=(e=(e=e&&(e.jquery||e.nodeType?V(e):this.document.find(e).eq(0)))&&e[0]?e:this.element.closest(".ui-front, dialog")).length?e:this.document[0].body},_initSource:function(){var i,n,s=this;Array.isArray(this.options.source)?(i=this.options.source,this.source=function(e,t){t(V.ui.autocomplete.filter(i,e.term))}):"string"==typeof this.options.source?(n=this.options.source,this.source=function(e,t){s.xhr&&s.xhr.abort(),s.xhr=V.ajax({url:n,data:e,dataType:"json",success:function(e){t(e)},error:function(){t([])}})}):this.source=this.options.source},_searchTimeout:function(n){clearTimeout(this.searching),this.searching=this._delay(function(){var e=this.term===this._value(),t=this.menu.element.is(":visible"),i=n.altKey||n.ctrlKey||n.metaKey||n.shiftKey;e&&(t||i)||(this.selectedItem=null,this.search(null,n))},this.options.delay)},search:function(e,t){return e=null!=e?e:this._value(),this.term=this._value(),e.length<this.options.minLength?this.close(t):!1!==this._trigger("search",t)?this._search(e):void 0},_search:function(e){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:e},this._response())},_response:function(){var t=++this.requestIndex;return function(e){t===this.requestIndex&&this.__response(e),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")}.bind(this)},__response:function(e){e=e&&this._normalize(e),this._trigger("response",null,{content:e}),!this.options.disabled&&e&&e.length&&!this.cancelSearch?(this._suggest(e),this._trigger("open")):this._close()},close:function(e){this.cancelSearch=!0,this._close(e)},_close:function(e){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",e))},_change:function(e){this.previous!==this._value()&&this._trigger("change",e,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:V.map(e,function(e){return"string"==typeof e?{label:e,value:e}:V.extend({},e,{label:e.label||e.value,value:e.value||e.label})})},_suggest:function(e){var t=this.menu.element.empty();this._renderMenu(t,e),this.isNewMenu=!0,this.menu.refresh(),t.show(),this._resizeMenu(),t.position(V.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var e=this.menu.element;e.outerWidth(Math.max(e.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(i,e){var n=this;V.each(e,function(e,t){n._renderItemData(i,t)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-autocomplete-item",t)},_renderItem:function(e,t){return V("<li>").append(V("<div>").text(t.label)).appendTo(e)},_move:function(e,t){this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(e)||this.menu.isLastItem()&&/^next/.test(e)?(this.isMultiLine||this._value(this.term),this.menu.blur()):this.menu[e](t):this.search(null,t)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(e,t){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(e,t),t.preventDefault())},_isContentEditable:function(e){var t;return!!e.length&&("inherit"===(t=e.prop("contentEditable"))?this._isContentEditable(e.parent()):"true"===t)}}),V.extend(V.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,t){var i=new RegExp(V.ui.autocomplete.escapeRegex(t),"i");return V.grep(e,function(e){return i.test(e.label||e.value||e)})}}),V.widget("ui.autocomplete",V.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(e){return e+(1<e?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var t;this._superApply(arguments),this.options.disabled||this.cancelSearch||(t=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,this.liveRegion.children().hide(),V("<div>").text(t).appendTo(this.liveRegion))}}),V.ui.autocomplete;var ie,ne,se,oe,I,ae=/ui-corner-([a-z]){2,6}/g;V.widget("ui.controlgroup",{version:"1.13.0",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var o=this,a=[];V.each(this.options.items,function(n,e){var t,s={};e&&("controlgroupLabel"===n?((t=o.element.find(e)).each(function(){var e=V(this);e.children(".ui-controlgroup-label-contents").length||e.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),o._addClass(t,null,"ui-widget ui-widget-content ui-state-default"),a=a.concat(t.get())):V.fn[n]&&(s=o["_"+n+"Options"]?o["_"+n+"Options"]("middle"):{classes:{}},o.element.find(e).each(function(){var e=V(this),t=e[n]("instance"),i=V.widget.extend({},s);"button"===n&&e.parent(".ui-spinner").length||((t=t||e[n]()[n]("instance"))&&(i.classes=o._resolveClassesValues(i.classes,t)),e[n](i),i=e[n]("widget"),V.data(i[0],"ui-controlgroup-data",t||e[n]("instance")),a.push(i[0]))})))}),this.childWidgets=V(V.uniqueSort(a)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(t){this.childWidgets.each(function(){var e=V(this).data("ui-controlgroup-data");e&&e[t]&&e[t]()})},_updateCornerClass:function(e,t){t=this._buildSimpleOptions(t,"label").classes.label;this._removeClass(e,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all"),this._addClass(e,null,t)},_buildSimpleOptions:function(e,t){var i="vertical"===this.options.direction,n={classes:{}};return n.classes[t]={middle:"",first:"ui-corner-"+(i?"top":"left"),last:"ui-corner-"+(i?"bottom":"right"),only:"ui-corner-all"}[e],n},_spinnerOptions:function(e){e=this._buildSimpleOptions(e,"ui-spinner");return e.classes["ui-spinner-up"]="",e.classes["ui-spinner-down"]="",e},_buttonOptions:function(e){return this._buildSimpleOptions(e,"ui-button")},_checkboxradioOptions:function(e){return this._buildSimpleOptions(e,"ui-checkboxradio-label")},_selectmenuOptions:function(e){var t="vertical"===this.options.direction;return{width:t&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(t?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(t?"top":"left")},last:{"ui-selectmenu-button-open":t?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(t?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[e]}},_resolveClassesValues:function(i,n){var s={};return V.each(i,function(e){var t=n.options.classes[e]||"",t=String.prototype.trim.call(t.replace(ae,""));s[e]=(t+" "+i[e]).replace(/\s+/g," ")}),s},_setOption:function(e,t){"direction"===e&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(e,t),"disabled"===e?this._callChildMethod(t?"disable":"enable"):this.refresh()},refresh:function(){var s,o=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),s=this.childWidgets,(s=this.options.onlyVisible?s.filter(":visible"):s).length&&(V.each(["first","last"],function(e,t){var i,n=s[t]().data("ui-controlgroup-data");n&&o["_"+n.widgetName+"Options"]?((i=o["_"+n.widgetName+"Options"](1===s.length?"only":t)).classes=o._resolveClassesValues(i.classes,n),n.element[n.widgetName](i)):o._updateCornerClass(s[t](),t)}),this._callChildMethod("refresh"))}}),V.widget("ui.checkboxradio",[V.ui.formResetMixin,{version:"1.13.0",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var e,t=this,i=this._super()||{};return this._readType(),e=this.element.labels(),this.label=V(e[e.length-1]),this.label.length||V.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each(function(){t.originalLabel+=3===this.nodeType?V(this).text():this.outerHTML}),this.originalLabel&&(i.label=this.originalLabel),null!=(e=this.element[0].disabled)&&(i.disabled=e),i},_create:function(){var e=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),e&&this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var e=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,"input"===e&&/radio|checkbox/.test(this.type)||V.error("Can't create checkboxradio on element.nodeName="+e+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var e=this.element[0].name,t="input[name='"+V.escapeSelector(e)+"']";return e?(this.form.length?V(this.form[0].elements).filter(t):V(t).filter(function(){return 0===V(this)._form().length})).not(this.element):V([])},_toggleClasses:function(){var e=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",e)._toggleClass(this.icon,null,"ui-icon-blank",!e),"radio"===this.type&&this._getRadioGroup().each(function(){var e=V(this).checkboxradio("instance");e&&e._removeClass(e.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(e,t){"label"===e&&!t||(this._super(e,t),"disabled"===e?(this._toggleClass(this.label,null,"ui-state-disabled",t),this.element[0].disabled=t):this.refresh())},_updateIcon:function(e){var t="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=V("<span>"),this.iconSpace=V("<span> </span>"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(t+=e?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,e?"ui-icon-blank":"ui-icon-check")):t+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",t),e||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var e=this.label.contents().not(this.element[0]);this.icon&&(e=e.not(this.icon[0])),(e=this.iconSpace?e.not(this.iconSpace[0]):e).remove(),this.label.append(this.options.label)},refresh:function(){var e=this.element[0].checked,t=this.element[0].disabled;this._updateIcon(e),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),null!==this.options.label&&this._updateLabel(),t!==this.options.disabled&&this._setOptions({disabled:t})}}]),V.ui.checkboxradio,V.widget("ui.button",{version:"1.13.0",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var e,t=this._super()||{};return this.isInput=this.element.is("input"),null!=(e=this.element[0].disabled)&&(t.disabled=e),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(t.label=this.originalLabel),t},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(e){e.keyCode===V.ui.keyCode.SPACE&&(e.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(e,t){var e="iconPosition"!==e,i=e?this.options.iconPosition:t,n="top"===i||"bottom"===i;this.icon?e&&this._removeClass(this.icon,null,this.options.icon):(this.icon=V("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),e&&this._addClass(this.icon,null,t),this._attachIcon(i),n?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconSpace||(this.iconSpace=V("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(i))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(e){this.icon[/^(?:end|bottom)/.test(e)?"before":"after"](this.iconSpace)},_attachIcon:function(e){this.element[/^(?:end|bottom)/.test(e)?"append":"prepend"](this.icon)},_setOptions:function(e){var t=(void 0===e.showLabel?this.options:e).showLabel,i=(void 0===e.icon?this.options:e).icon;t||i||(e.showLabel=!0),this._super(e)},_setOption:function(e,t){"icon"===e&&(t?this._updateIcon(e,t):this.icon&&(this.icon.remove(),this.iconSpace)&&this.iconSpace.remove()),"iconPosition"===e&&this._updateIcon(e,t),"showLabel"===e&&(this._toggleClass("ui-button-icon-only",null,!t),this._updateTooltip()),"label"===e&&(this.isInput?this.element.val(t):(this.element.html(t),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(e,t),"disabled"===e&&(this._toggleClass(null,"ui-state-disabled",t),this.element[0].disabled=t)&&this.element.trigger("blur")},refresh:function(){var e=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");e!==this.options.disabled&&this._setOptions({disabled:e}),this._updateTooltip()}}),!1!==V.uiBackCompat&&(V.widget("ui.button",V.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"),this._super()},_setOption:function(e,t){"text"===e?this._super("showLabel",t):("showLabel"===e&&(this.options.text=t),"icon"===e&&(this.options.icons.primary=t),"icons"===e&&(t.primary?(this._super("icon",t.primary),this._super("iconPosition","beginning")):t.secondary&&(this._super("icon",t.secondary),this._super("iconPosition","end"))),this._superApply(arguments))}}),V.fn.button=(oe=V.fn.button,function(i){var e="string"==typeof i,n=Array.prototype.slice.call(arguments,1),s=this;return e?this.length||"instance"!==i?this.each(function(){var e,t=V(this).attr("type"),t=V.data(this,"ui-"+("checkbox"!==t&&"radio"!==t?"button":"checkboxradio"));return"instance"===i?(s=t,!1):t?"function"!=typeof t[i]||"_"===i.charAt(0)?V.error("no such method '"+i+"' for button widget instance"):(e=t[i].apply(t,n))!==t&&void 0!==e?(s=e&&e.jquery?s.pushStack(e.get()):e,!1):void 0:V.error("cannot call methods on button prior to initialization; attempted to call method '"+i+"'")}):s=void 0:(n.length&&(i=V.widget.extend.apply(null,[i].concat(n))),this.each(function(){var e=V(this).attr("type"),e="checkbox"!==e&&"radio"!==e?"button":"checkboxradio",t=V.data(this,"ui-"+e);t?(t.option(i||{}),t._init&&t._init()):"button"==e?oe.call(V(this),i):V(this).checkboxradio(V.extend({icon:!1},i))})),s}),V.fn.buttonset=function(){return V.ui.controlgroup||V.error("Controlgroup widget missing"),"option"===arguments[0]&&"items"===arguments[1]&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):"option"===arguments[0]&&"items"===arguments[1]?this.controlgroup.apply(this,[arguments[0],"items.button"]):("object"==typeof arguments[0]&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))}),V.ui.button;function re(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",selectMonthLabel:"Select month",selectYearLabel:"Select year"},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,onUpdateDatepicker:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},V.extend(this._defaults,this.regional[""]),this.regional.en=V.extend(!0,{},this.regional[""]),this.regional["en-US"]=V.extend(!0,{},this.regional.en),this.dpDiv=le(V("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function le(e){var t="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.on("mouseout",t,function(){V(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&V(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&V(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",t,ce)}function ce(){V.datepicker._isDisabledDatepicker((I.inline?I.dpDiv.parent():I.input)[0])||(V(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),V(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&V(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&V(this).addClass("ui-datepicker-next-hover"))}function E(e,t){for(var i in V.extend(e,t),t)null==t[i]&&(e[i]=t[i])}V.extend(V.ui,{datepicker:{version:"1.13.0"}}),V.extend(re.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return E(this._defaults,e||{}),this},_attachDatepicker:function(e,t){var i,n=e.nodeName.toLowerCase(),s="div"===n||"span"===n;e.id||(this.uuid+=1,e.id="dp"+this.uuid),(i=this._newInst(V(e),s)).settings=V.extend({},t||{}),"input"===n?this._connectDatepicker(e,i):s&&this._inlineDatepicker(e,i)},_newInst:function(e,t){return{id:e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:t,dpDiv:t?le(V("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(e,t){var i=V(e);t.append=V([]),t.trigger=V([]),i.hasClass(this.markerClassName)||(this._attachments(i,t),i.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(t),V.data(e,"datepicker",t),t.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,t){var i,n=this._get(t,"appendText"),s=this._get(t,"isRTL");t.append&&t.append.remove(),n&&(t.append=V("<span>").addClass(this._appendClass).text(n),e[s?"before":"after"](t.append)),e.off("focus",this._showDatepicker),t.trigger&&t.trigger.remove(),"focus"!==(n=this._get(t,"showOn"))&&"both"!==n||e.on("focus",this._showDatepicker),"button"!==n&&"both"!==n||(n=this._get(t,"buttonText"),i=this._get(t,"buttonImage"),this._get(t,"buttonImageOnly")?t.trigger=V("<img>").addClass(this._triggerClass).attr({src:i,alt:n,title:n}):(t.trigger=V("<button type='button'>").addClass(this._triggerClass),i?t.trigger.html(V("<img>").attr({src:i,alt:n,title:n})):t.trigger.text(n)),e[s?"before":"after"](t.trigger),t.trigger.on("click",function(){return V.datepicker._datepickerShowing&&V.datepicker._lastInput===e[0]?V.datepicker._hideDatepicker():(V.datepicker._datepickerShowing&&V.datepicker._lastInput!==e[0]&&V.datepicker._hideDatepicker(),V.datepicker._showDatepicker(e[0])),!1}))},_autoSize:function(e){var t,i,n,s,o,a;this._get(e,"autoSize")&&!e.inline&&(o=new Date(2009,11,20),(a=this._get(e,"dateFormat")).match(/[DM]/)&&(o.setMonth((t=function(e){for(s=n=i=0;s<e.length;s++)e[s].length>i&&(i=e[s].length,n=s);return n})(this._get(e,a.match(/MM/)?"monthNames":"monthNamesShort"))),o.setDate(t(this._get(e,a.match(/DD/)?"dayNames":"dayNamesShort"))+20-o.getDay())),e.input.attr("size",this._formatDate(e,o).length))},_inlineDatepicker:function(e,t){var i=V(e);i.hasClass(this.markerClassName)||(i.addClass(this.markerClassName).append(t.dpDiv),V.data(e,"datepicker",t),this._setDate(t,this._getDefaultDate(t),!0),this._updateDatepicker(t),this._updateAlternate(t),t.settings.disabled&&this._disableDatepicker(e),t.dpDiv.css("display","block"))},_dialogDatepicker:function(e,t,i,n,s){var o,a=this._dialogInst;return a||(this.uuid+=1,o="dp"+this.uuid,this._dialogInput=V("<input type='text' id='"+o+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.on("keydown",this._doKeyDown),V("body").append(this._dialogInput),(a=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},V.data(this._dialogInput[0],"datepicker",a)),E(a.settings,n||{}),t=t&&t.constructor===Date?this._formatDate(a,t):t,this._dialogInput.val(t),this._pos=s?s.length?s:[s.pageX,s.pageY]:null,this._pos||(o=document.documentElement.clientWidth,n=document.documentElement.clientHeight,t=document.documentElement.scrollLeft||document.body.scrollLeft,s=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[o/2-100+t,n/2-150+s]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),a.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),V.blockUI&&V.blockUI(this.dpDiv),V.data(this._dialogInput[0],"datepicker",a),this},_destroyDatepicker:function(e){var t,i=V(e),n=V.data(e,"datepicker");i.hasClass(this.markerClassName)&&(t=e.nodeName.toLowerCase(),V.removeData(e,"datepicker"),"input"===t?(n.append.remove(),n.trigger.remove(),i.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==t&&"span"!==t||i.removeClass(this.markerClassName).empty(),I===n)&&(I=null,this._curInst=null)},_enableDatepicker:function(t){var e,i=V(t),n=V.data(t,"datepicker");i.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!1,n.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==e&&"span"!==e||((n=i.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=V.map(this._disabledInputs,function(e){return e===t?null:e}))},_disableDatepicker:function(t){var e,i=V(t),n=V.data(t,"datepicker");i.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!0,n.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==e&&"span"!==e||((n=i.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=V.map(this._disabledInputs,function(e){return e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(e)for(var t=0;t<this._disabledInputs.length;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(e){try{return V.data(e,"datepicker")}catch(e){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(e,t,i){var n,s,o,a,r=this._getInst(e);if(2===arguments.length&&"string"==typeof t)return"defaults"===t?V.extend({},V.datepicker._defaults):r?"all"===t?V.extend({},r.settings):this._get(r,t):null;n=t||{},"string"==typeof t&&((n={})[t]=i),r&&(this._curInst===r&&this._hideDatepicker(),s=this._getDateDatepicker(e,!0),o=this._getMinMaxDate(r,"min"),a=this._getMinMaxDate(r,"max"),E(r.settings,n),null!==o&&void 0!==n.dateFormat&&void 0===n.minDate&&(r.settings.minDate=this._formatDate(r,o)),null!==a&&void 0!==n.dateFormat&&void 0===n.maxDate&&(r.settings.maxDate=this._formatDate(r,a)),"disabled"in n&&(n.disabled?this._disableDatepicker(e):this._enableDatepicker(e)),this._attachments(V(e),r),this._autoSize(r),this._setDate(r,s),this._updateAlternate(r),this._updateDatepicker(r))},_changeDatepicker:function(e,t,i){this._optionDatepicker(e,t,i)},_refreshDatepicker:function(e){e=this._getInst(e);e&&this._updateDatepicker(e)},_setDateDatepicker:function(e,t){e=this._getInst(e);e&&(this._setDate(e,t),this._updateDatepicker(e),this._updateAlternate(e))},_getDateDatepicker:function(e,t){e=this._getInst(e);return e&&!e.inline&&this._setDateFromField(e,t),e?this._getDate(e):null},_doKeyDown:function(e){var t,i,n=V.datepicker._getInst(e.target),s=!0,o=n.dpDiv.is(".ui-datepicker-rtl");if(n._keyEvent=!0,V.datepicker._datepickerShowing)switch(e.keyCode){case 9:V.datepicker._hideDatepicker(),s=!1;break;case 13:return(i=V("td."+V.datepicker._dayOverClass+":not(."+V.datepicker._currentClass+")",n.dpDiv))[0]&&V.datepicker._selectDay(e.target,n.selectedMonth,n.selectedYear,i[0]),(i=V.datepicker._get(n,"onSelect"))?(t=V.datepicker._formatDate(n),i.apply(n.input?n.input[0]:null,[t,n])):V.datepicker._hideDatepicker(),!1;case 27:V.datepicker._hideDatepicker();break;case 33:V.datepicker._adjustDate(e.target,e.ctrlKey?-V.datepicker._get(n,"stepBigMonths"):-V.datepicker._get(n,"stepMonths"),"M");break;case 34:V.datepicker._adjustDate(e.target,e.ctrlKey?+V.datepicker._get(n,"stepBigMonths"):+V.datepicker._get(n,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&V.datepicker._clearDate(e.target),s=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&V.datepicker._gotoToday(e.target),s=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&V.datepicker._adjustDate(e.target,o?1:-1,"D"),s=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&V.datepicker._adjustDate(e.target,e.ctrlKey?-V.datepicker._get(n,"stepBigMonths"):-V.datepicker._get(n,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&V.datepicker._adjustDate(e.target,-7,"D"),s=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&V.datepicker._adjustDate(e.target,o?-1:1,"D"),s=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&V.datepicker._adjustDate(e.target,e.ctrlKey?+V.datepicker._get(n,"stepBigMonths"):+V.datepicker._get(n,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&V.datepicker._adjustDate(e.target,7,"D"),s=e.ctrlKey||e.metaKey;break;default:s=!1}else 36===e.keyCode&&e.ctrlKey?V.datepicker._showDatepicker(this):s=!1;s&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var t,i=V.datepicker._getInst(e.target);if(V.datepicker._get(i,"constrainInput"))return i=V.datepicker._possibleChars(V.datepicker._get(i,"dateFormat")),t=String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),e.ctrlKey||e.metaKey||t<" "||!i||-1<i.indexOf(t)},_doKeyUp:function(e){e=V.datepicker._getInst(e.target);if(e.input.val()!==e.lastVal)try{V.datepicker.parseDate(V.datepicker._get(e,"dateFormat"),e.input?e.input.val():null,V.datepicker._getFormatConfig(e))&&(V.datepicker._setDateFromField(e),V.datepicker._updateAlternate(e),V.datepicker._updateDatepicker(e))}catch(e){}return!0},_showDatepicker:function(e){var t,i,n,s;"input"!==(e=e.target||e).nodeName.toLowerCase()&&(e=V("input",e.parentNode)[0]),V.datepicker._isDisabledDatepicker(e)||V.datepicker._lastInput===e||(s=V.datepicker._getInst(e),V.datepicker._curInst&&V.datepicker._curInst!==s&&(V.datepicker._curInst.dpDiv.stop(!0,!0),s)&&V.datepicker._datepickerShowing&&V.datepicker._hideDatepicker(V.datepicker._curInst.input[0]),!1===(i=(i=V.datepicker._get(s,"beforeShow"))?i.apply(e,[e,s]):{}))||(E(s.settings,i),s.lastVal=null,V.datepicker._lastInput=e,V.datepicker._setDateFromField(s),V.datepicker._inDialog&&(e.value=""),V.datepicker._pos||(V.datepicker._pos=V.datepicker._findPos(e),V.datepicker._pos[1]+=e.offsetHeight),t=!1,V(e).parents().each(function(){return!(t|="fixed"===V(this).css("position"))}),i={left:V.datepicker._pos[0],top:V.datepicker._pos[1]},V.datepicker._pos=null,s.dpDiv.empty(),s.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),V.datepicker._updateDatepicker(s),i=V.datepicker._checkOffset(s,i,t),s.dpDiv.css({position:V.datepicker._inDialog&&V.blockUI?"static":t?"fixed":"absolute",display:"none",left:i.left+"px",top:i.top+"px"}),s.inline)||(i=V.datepicker._get(s,"showAnim"),n=V.datepicker._get(s,"duration"),s.dpDiv.css("z-index",function(e){for(var t;e.length&&e[0]!==document;){if(("absolute"===(t=e.css("position"))||"relative"===t||"fixed"===t)&&(t=parseInt(e.css("zIndex"),10),!isNaN(t))&&0!==t)return t;e=e.parent()}return 0}(V(e))+1),V.datepicker._datepickerShowing=!0,V.effects&&V.effects.effect[i]?s.dpDiv.show(i,V.datepicker._get(s,"showOptions"),n):s.dpDiv[i||"show"](i?n:null),V.datepicker._shouldFocusInput(s)&&s.input.trigger("focus"),V.datepicker._curInst=s)},_updateDatepicker:function(e){this.maxRows=4,(I=e).dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e);var t,i=this._getNumberOfMonths(e),n=i[1],s=e.dpDiv.find("."+this._dayOverClass+" a"),o=V.datepicker._get(e,"onUpdateDatepicker");0<s.length&&ce.apply(s.get(0)),e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),1<n&&e.dpDiv.addClass("ui-datepicker-multi-"+n).css("width",17*n+"em"),e.dpDiv[(1!==i[0]||1!==i[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===V.datepicker._curInst&&V.datepicker._datepickerShowing&&V.datepicker._shouldFocusInput(e)&&e.input.trigger("focus"),e.yearshtml&&(t=e.yearshtml,setTimeout(function(){t===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year").first().replaceWith(e.yearshtml),t=e.yearshtml=null},0)),o&&o.apply(e.input?e.input[0]:null,[e])},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus")},_checkOffset:function(e,t,i){var n=e.dpDiv.outerWidth(),s=e.dpDiv.outerHeight(),o=e.input?e.input.outerWidth():0,a=e.input?e.input.outerHeight():0,r=document.documentElement.clientWidth+(i?0:V(document).scrollLeft()),l=document.documentElement.clientHeight+(i?0:V(document).scrollTop());return t.left-=this._get(e,"isRTL")?n-o:0,t.left-=i&&t.left===e.input.offset().left?V(document).scrollLeft():0,t.top-=i&&t.top===e.input.offset().top+a?V(document).scrollTop():0,t.left-=Math.min(t.left,t.left+n>r&&n<r?Math.abs(t.left+n-r):0),t.top-=Math.min(t.top,t.top+s>l&&s<l?Math.abs(s+a):0),t},_findPos:function(e){for(var t=this._getInst(e),i=this._get(t,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||V.expr.pseudos.hidden(e));)e=e[i?"previousSibling":"nextSibling"];return[(t=V(e).offset()).left,t.top]},_hideDatepicker:function(e){var t,i,n=this._curInst;!n||e&&n!==V.data(e,"datepicker")||this._datepickerShowing&&(e=this._get(n,"showAnim"),i=this._get(n,"duration"),t=function(){V.datepicker._tidyDialog(n)},V.effects&&(V.effects.effect[e]||V.effects[e])?n.dpDiv.hide(e,V.datepicker._get(n,"showOptions"),i,t):n.dpDiv["slideDown"===e?"slideUp":"fadeIn"===e?"fadeOut":"hide"](e?i:null,t),e||t(),this._datepickerShowing=!1,(i=this._get(n,"onClose"))&&i.apply(n.input?n.input[0]:null,[n.input?n.input.val():"",n]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),V.blockUI)&&(V.unblockUI(),V("body").append(this.dpDiv)),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(e){var t;V.datepicker._curInst&&(e=V(e.target),t=V.datepicker._getInst(e[0]),!(e[0].id===V.datepicker._mainDivId||0!==e.parents("#"+V.datepicker._mainDivId).length||e.hasClass(V.datepicker.markerClassName)||e.closest("."+V.datepicker._triggerClass).length||!V.datepicker._datepickerShowing||V.datepicker._inDialog&&V.blockUI)||e.hasClass(V.datepicker.markerClassName)&&V.datepicker._curInst!==t)&&V.datepicker._hideDatepicker()},_adjustDate:function(e,t,i){var e=V(e),n=this._getInst(e[0]);this._isDisabledDatepicker(e[0])||(this._adjustInstDate(n,t,i),this._updateDatepicker(n))},_gotoToday:function(e){var t,e=V(e),i=this._getInst(e[0]);this._get(i,"gotoCurrent")&&i.currentDay?(i.selectedDay=i.currentDay,i.drawMonth=i.selectedMonth=i.currentMonth,i.drawYear=i.selectedYear=i.currentYear):(t=new Date,i.selectedDay=t.getDate(),i.drawMonth=i.selectedMonth=t.getMonth(),i.drawYear=i.selectedYear=t.getFullYear()),this._notifyChange(i),this._adjustDate(e)},_selectMonthYear:function(e,t,i){var e=V(e),n=this._getInst(e[0]);n["selected"+("M"===i?"Month":"Year")]=n["draw"+("M"===i?"Month":"Year")]=parseInt(t.options[t.selectedIndex].value,10),this._notifyChange(n),this._adjustDate(e)},_selectDay:function(e,t,i,n){var s=V(e);V(n).hasClass(this._unselectableClass)||this._isDisabledDatepicker(s[0])||((s=this._getInst(s[0])).selectedDay=s.currentDay=parseInt(V("a",n).attr("data-date")),s.selectedMonth=s.currentMonth=t,s.selectedYear=s.currentYear=i,this._selectDate(e,this._formatDate(s,s.currentDay,s.currentMonth,s.currentYear)))},_clearDate:function(e){e=V(e);this._selectDate(e,"")},_selectDate:function(e,t){var i,e=V(e),e=this._getInst(e[0]);t=null!=t?t:this._formatDate(e),e.input&&e.input.val(t),this._updateAlternate(e),(i=this._get(e,"onSelect"))?i.apply(e.input?e.input[0]:null,[t,e]):e.input&&e.input.trigger("change"),e.inline?this._updateDatepicker(e):(this._hideDatepicker(),this._lastInput=e.input[0],"object"!=typeof e.input[0]&&e.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(e){var t,i,n=this._get(e,"altField");n&&(i=this._get(e,"altFormat")||this._get(e,"dateFormat"),t=this._getDate(e),i=this.formatDate(i,t,this._getFormatConfig(e)),V(document).find(n).val(i))},noWeekends:function(e){e=e.getDay();return[0<e&&e<6,""]},iso8601Week:function(e){var t,e=new Date(e.getTime());return e.setDate(e.getDate()+4-(e.getDay()||7)),t=e.getTime(),e.setMonth(0),e.setDate(1),Math.floor(Math.round((t-e)/864e5)/7)+1},parseDate:function(t,s,e){if(null==t||null==s)throw"Invalid arguments";if(""===(s="object"==typeof s?s.toString():s+""))return null;function i(e){var t=y(e),t="@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2,e=new RegExp("^\\d{"+("y"===e?t:1)+","+t+"}");if(t=s.substring(l).match(e))return l+=t[0].length,parseInt(t[0],10);throw"Missing number at position "+l}function n(e,t,i){var n=-1,e=V.map(y(e)?i:t,function(e,t){return[[t,e]]}).sort(function(e,t){return-(e[1].length-t[1].length)});if(V.each(e,function(e,t){var i=t[1];if(s.substr(l,i.length).toLowerCase()===i.toLowerCase())return n=t[0],l+=i.length,!1}),-1!==n)return n+1;throw"Unknown name at position "+l}function o(){if(s.charAt(l)!==t.charAt(_))throw"Unexpected literal at position "+l;l++}for(var a,r,l=0,c=(e?e.shortYearCutoff:null)||this._defaults.shortYearCutoff,c="string"!=typeof c?c:(new Date).getFullYear()%100+parseInt(c,10),h=(e?e.dayNamesShort:null)||this._defaults.dayNamesShort,u=(e?e.dayNames:null)||this._defaults.dayNames,d=(e?e.monthNamesShort:null)||this._defaults.monthNamesShort,p=(e?e.monthNames:null)||this._defaults.monthNames,f=-1,g=-1,m=-1,v=-1,b=!1,y=function(e){e=_+1<t.length&&t.charAt(_+1)===e;return e&&_++,e},_=0;_<t.length;_++)if(b)"'"!==t.charAt(_)||y("'")?o():b=!1;else switch(t.charAt(_)){case"d":m=i("d");break;case"D":n("D",h,u);break;case"o":v=i("o");break;case"m":g=i("m");break;case"M":g=n("M",d,p);break;case"y":f=i("y");break;case"@":f=(r=new Date(i("@"))).getFullYear(),g=r.getMonth()+1,m=r.getDate();break;case"!":f=(r=new Date((i("!")-this._ticksTo1970)/1e4)).getFullYear(),g=r.getMonth()+1,m=r.getDate();break;case"'":y("'")?o():b=!0;break;default:o()}if(l<s.length&&(e=s.substr(l),!/^\s+/.test(e)))throw"Extra/unparsed characters found in date: "+e;if(-1===f?f=(new Date).getFullYear():f<100&&(f+=(new Date).getFullYear()-(new Date).getFullYear()%100+(f<=c?0:-100)),-1<v)for(g=1,m=v;;){if(m<=(a=this._getDaysInMonth(f,g-1)))break;g++,m-=a}if((r=this._daylightSavingAdjust(new Date(f,g-1,m))).getFullYear()!==f||r.getMonth()+1!==g||r.getDate()!==m)throw"Invalid date";return r},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(t,e,i){if(!e)return"";function n(e,t,i){var n=""+t;if(h(e))for(;n.length<i;)n="0"+n;return n}function s(e,t,i,n){return(h(e)?n:i)[t]}var o,a=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,r=(i?i.dayNames:null)||this._defaults.dayNames,l=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,c=(i?i.monthNames:null)||this._defaults.monthNames,h=function(e){e=o+1<t.length&&t.charAt(o+1)===e;return e&&o++,e},u="",d=!1;if(e)for(o=0;o<t.length;o++)if(d)"'"!==t.charAt(o)||h("'")?u+=t.charAt(o):d=!1;else switch(t.charAt(o)){case"d":u+=n("d",e.getDate(),2);break;case"D":u+=s("D",e.getDay(),a,r);break;case"o":u+=n("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":u+=n("m",e.getMonth()+1,2);break;case"M":u+=s("M",e.getMonth(),l,c);break;case"y":u+=h("y")?e.getFullYear():(e.getFullYear()%100<10?"0":"")+e.getFullYear()%100;break;case"@":u+=e.getTime();break;case"!":u+=1e4*e.getTime()+this._ticksTo1970;break;case"'":h("'")?u+="'":d=!0;break;default:u+=t.charAt(o)}return u},_possibleChars:function(t){function e(e){return(e=s+1<t.length&&t.charAt(s+1)===e)&&s++,e}for(var i="",n=!1,s=0;s<t.length;s++)if(n)"'"!==t.charAt(s)||e("'")?i+=t.charAt(s):n=!1;else switch(t.charAt(s)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":e("'")?i+="'":n=!0;break;default:i+=t.charAt(s)}return i},_get:function(e,t){return(void 0!==e.settings[t]?e.settings:this._defaults)[t]},_setDateFromField:function(e,t){if(e.input.val()!==e.lastVal){var i=this._get(e,"dateFormat"),n=e.lastVal=e.input?e.input.val():null,s=this._getDefaultDate(e),o=s,a=this._getFormatConfig(e);try{o=this.parseDate(i,n,a)||s}catch(e){n=t?"":n}e.selectedDay=o.getDate(),e.drawMonth=e.selectedMonth=o.getMonth(),e.drawYear=e.selectedYear=o.getFullYear(),e.currentDay=n?o.getDate():0,e.currentMonth=n?o.getMonth():0,e.currentYear=n?o.getFullYear():0,this._adjustInstDate(e)}},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),new Date))},_determineDate:function(r,e,t){var i,n=null==e||""===e?t:"string"==typeof e?function(e){try{return V.datepicker.parseDate(V.datepicker._get(r,"dateFormat"),e,V.datepicker._getFormatConfig(r))}catch(e){}for(var t=(e.toLowerCase().match(/^c/)?V.datepicker._getDate(r):null)||new Date,i=t.getFullYear(),n=t.getMonth(),s=t.getDate(),o=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,a=o.exec(e);a;){switch(a[2]||"d"){case"d":case"D":s+=parseInt(a[1],10);break;case"w":case"W":s+=7*parseInt(a[1],10);break;case"m":case"M":n+=parseInt(a[1],10),s=Math.min(s,V.datepicker._getDaysInMonth(i,n));break;case"y":case"Y":i+=parseInt(a[1],10),s=Math.min(s,V.datepicker._getDaysInMonth(i,n))}a=o.exec(e)}return new Date(i,n,s)}(e):"number"==typeof e?isNaN(e)?t:(n=e,(i=new Date).setDate(i.getDate()+n),i):new Date(e.getTime());return(n=n&&"Invalid Date"===n.toString()?t:n)&&(n.setHours(0),n.setMinutes(0),n.setSeconds(0),n.setMilliseconds(0)),this._daylightSavingAdjust(n)},_daylightSavingAdjust:function(e){return e?(e.setHours(12<e.getHours()?e.getHours()+2:0),e):null},_setDate:function(e,t,i){var n=!t,s=e.selectedMonth,o=e.selectedYear,t=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=t.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=t.getMonth(),e.drawYear=e.selectedYear=e.currentYear=t.getFullYear(),s===e.selectedMonth&&o===e.selectedYear||i||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(n?"":this._formatDate(e))},_getDate:function(e){return!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay))},_attachHandlers:function(e){var t=this._get(e,"stepMonths"),i="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){V.datepicker._adjustDate(i,-t,"M")},next:function(){V.datepicker._adjustDate(i,+t,"M")},hide:function(){V.datepicker._hideDatepicker()},today:function(){V.datepicker._gotoToday(i)},selectDay:function(){return V.datepicker._selectDay(i,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return V.datepicker._selectMonthYear(i,this,"M"),!1},selectYear:function(){return V.datepicker._selectMonthYear(i,this,"Y"),!1}};V(this).on(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(e){var t,i,n,s,o,H,z,L,j,a,r,W,l,c,h,u,d,p,f,g,m,v,F,b,y,R,_,q,B,w,k,x,C=new Date,Y=this._daylightSavingAdjust(new Date(C.getFullYear(),C.getMonth(),C.getDate())),T=this._get(e,"isRTL"),C=this._get(e,"showButtonPanel"),S=this._get(e,"hideIfNoPrevNext"),D=this._get(e,"navigationAsDateFormat"),P=this._getNumberOfMonths(e),M=this._get(e,"showCurrentAtPos"),I=this._get(e,"stepMonths"),U=1!==P[0]||1!==P[1],E=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),A=this._getMinMaxDate(e,"min"),$=this._getMinMaxDate(e,"max"),N=e.drawMonth-M,O=e.drawYear;if(N<0&&(N+=12,O--),$)for(t=this._daylightSavingAdjust(new Date($.getFullYear(),$.getMonth()-P[0]*P[1]+1,$.getDate())),t=A&&t<A?A:t;this._daylightSavingAdjust(new Date(O,N,1))>t;)--N<0&&(N=11,O--);for(e.drawMonth=N,e.drawYear=O,M=this._get(e,"prevText"),M=D?this.formatDate(M,this._daylightSavingAdjust(new Date(O,N-I,1)),this._getFormatConfig(e)):M,i=this._canAdjustMonth(e,-1,O,N)?V("<a>").attr({class:"ui-datepicker-prev ui-corner-all","data-handler":"prev","data-event":"click",title:M}).append(V("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(T?"e":"w")).text(M))[0].outerHTML:S?"":V("<a>").attr({class:"ui-datepicker-prev ui-corner-all ui-state-disabled",title:M}).append(V("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(T?"e":"w")).text(M))[0].outerHTML,M=this._get(e,"nextText"),M=D?this.formatDate(M,this._daylightSavingAdjust(new Date(O,N+I,1)),this._getFormatConfig(e)):M,n=this._canAdjustMonth(e,1,O,N)?V("<a>").attr({class:"ui-datepicker-next ui-corner-all","data-handler":"next","data-event":"click",title:M}).append(V("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(T?"w":"e")).text(M))[0].outerHTML:S?"":V("<a>").attr({class:"ui-datepicker-next ui-corner-all ui-state-disabled",title:M}).append(V("<span>").attr("class","ui-icon ui-icon-circle-triangle-"+(T?"w":"e")).text(M))[0].outerHTML,I=this._get(e,"currentText"),S=this._get(e,"gotoCurrent")&&e.currentDay?E:Y,I=D?this.formatDate(I,S,this._getFormatConfig(e)):I,M="",e.inline||(M=V("<button>").attr({type:"button",class:"ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all","data-handler":"hide","data-event":"click"}).text(this._get(e,"closeText"))[0].outerHTML),D="",C&&(D=V("<div class='ui-datepicker-buttonpane ui-widget-content'>").append(T?M:"").append(this._isInRange(e,S)?V("<button>").attr({type:"button",class:"ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all","data-handler":"today","data-event":"click"}).text(I):"").append(T?"":M)[0].outerHTML),s=parseInt(this._get(e,"firstDay"),10),s=isNaN(s)?0:s,o=this._get(e,"showWeek"),H=this._get(e,"dayNames"),z=this._get(e,"dayNamesMin"),L=this._get(e,"monthNames"),j=this._get(e,"monthNamesShort"),a=this._get(e,"beforeShowDay"),r=this._get(e,"showOtherMonths"),W=this._get(e,"selectOtherMonths"),l=this._getDefaultDate(e),c="",u=0;u<P[0];u++){for(d="",this.maxRows=4,p=0;p<P[1];p++){if(f=this._daylightSavingAdjust(new Date(O,N,e.selectedDay)),g=" ui-corner-all",m="",U){if(m+="<div class='ui-datepicker-group",1<P[1])switch(p){case 0:m+=" ui-datepicker-group-first",g=" ui-corner-"+(T?"right":"left");break;case P[1]-1:m+=" ui-datepicker-group-last",g=" ui-corner-"+(T?"left":"right");break;default:m+=" ui-datepicker-group-middle",g=""}m+="'>"}for(m+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+g+"'>"+(/all|left/.test(g)&&0===u?T?n:i:"")+(/all|right/.test(g)&&0===u?T?i:n:"")+this._generateMonthYearHeader(e,N,O,A,$,0<u||0<p,L,j)+"</div><table class='ui-datepicker-calendar'><thead><tr>",v=o?"<th class='ui-datepicker-week-col'>"+this._get(e,"weekHeader")+"</th>":"",h=0;h<7;h++)v+="<th scope='col'"+(5<=(h+s+6)%7?" class='ui-datepicker-week-end'":"")+"><span title='"+H[F=(h+s)%7]+"'>"+z[F]+"</span></th>";for(m+=v+"</tr></thead><tbody>",y=this._getDaysInMonth(O,N),O===e.selectedYear&&N===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,y)),b=(this._getFirstDayOfMonth(O,N)-s+7)%7,y=Math.ceil((b+y)/7),R=U&&this.maxRows>y?this.maxRows:y,this.maxRows=R,_=this._daylightSavingAdjust(new Date(O,N,1-b)),q=0;q<R;q++){for(m+="<tr>",B=o?"<td class='ui-datepicker-week-col'>"+this._get(e,"calculateWeek")(_)+"</td>":"",h=0;h<7;h++)w=a?a.apply(e.input?e.input[0]:null,[_]):[!0,""],x=(k=_.getMonth()!==N)&&!W||!w[0]||A&&_<A||$&&$<_,B+="<td class='"+(5<=(h+s+6)%7?" ui-datepicker-week-end":"")+(k?" ui-datepicker-other-month":"")+(_.getTime()===f.getTime()&&N===e.selectedMonth&&e._keyEvent||l.getTime()===_.getTime()&&l.getTime()===f.getTime()?" "+this._dayOverClass:"")+(x?" "+this._unselectableClass+" ui-state-disabled":"")+(k&&!r?"":" "+w[1]+(_.getTime()===E.getTime()?" "+this._currentClass:"")+(_.getTime()===Y.getTime()?" ui-datepicker-today":""))+"'"+(k&&!r||!w[2]?"":" title='"+w[2].replace(/'/g,"&#39;")+"'")+(x?"":" data-handler='selectDay' data-event='click' data-month='"+_.getMonth()+"' data-year='"+_.getFullYear()+"'")+">"+(k&&!r?"&#xa0;":x?"<span class='ui-state-default'>"+_.getDate()+"</span>":"<a class='ui-state-default"+(_.getTime()===Y.getTime()?" ui-state-highlight":"")+(_.getTime()===E.getTime()?" ui-state-active":"")+(k?" ui-priority-secondary":"")+"' href='#' aria-current='"+(_.getTime()===E.getTime()?"true":"false")+"' data-date='"+_.getDate()+"'>"+_.getDate()+"</a>")+"</td>",_.setDate(_.getDate()+1),_=this._daylightSavingAdjust(_);m+=B+"</tr>"}11<++N&&(N=0,O++),d+=m+="</tbody></table>"+(U?"</div>"+(0<P[0]&&p===P[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}c+=d}return c+=D,e._keyEvent=!1,c},_generateMonthYearHeader:function(e,t,i,n,s,o,a,r){var l,c,h,u,d,p,f=this._get(e,"changeMonth"),g=this._get(e,"changeYear"),m=this._get(e,"showMonthAfterYear"),v=this._get(e,"selectMonthLabel"),b=this._get(e,"selectYearLabel"),y="<div class='ui-datepicker-title'>",_="";if(o||!f)_+="<span class='ui-datepicker-month'>"+a[t]+"</span>";else{for(l=n&&n.getFullYear()===i,c=s&&s.getFullYear()===i,_+="<select class='ui-datepicker-month' aria-label='"+v+"' data-handler='selectMonth' data-event='change'>",h=0;h<12;h++)(!l||h>=n.getMonth())&&(!c||h<=s.getMonth())&&(_+="<option value='"+h+"'"+(h===t?" selected='selected'":"")+">"+r[h]+"</option>");_+="</select>"}if(m||(y+=_+(!o&&f&&g?"":"&#xa0;")),!e.yearshtml)if(e.yearshtml="",o||!g)y+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(a=this._get(e,"yearRange").split(":"),u=(new Date).getFullYear(),d=(v=function(e){e=e.match(/c[+\-].*/)?i+parseInt(e.substring(1),10):e.match(/[+\-].*/)?u+parseInt(e,10):parseInt(e,10);return isNaN(e)?u:e})(a[0]),p=Math.max(d,v(a[1]||"")),d=n?Math.max(d,n.getFullYear()):d,p=s?Math.min(p,s.getFullYear()):p,e.yearshtml+="<select class='ui-datepicker-year' aria-label='"+b+"' data-handler='selectYear' data-event='change'>";d<=p;d++)e.yearshtml+="<option value='"+d+"'"+(d===i?" selected='selected'":"")+">"+d+"</option>";e.yearshtml+="</select>",y+=e.yearshtml,e.yearshtml=null}return y+=this._get(e,"yearSuffix"),m&&(y+=(!o&&f&&g?"":"&#xa0;")+_),y+="</div>"},_adjustInstDate:function(e,t,i){var n=e.selectedYear+("Y"===i?t:0),s=e.selectedMonth+("M"===i?t:0),t=Math.min(e.selectedDay,this._getDaysInMonth(n,s))+("D"===i?t:0),n=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(n,s,t)));e.selectedDay=n.getDate(),e.drawMonth=e.selectedMonth=n.getMonth(),e.drawYear=e.selectedYear=n.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(e)},_restrictMinMax:function(e,t){var i=this._getMinMaxDate(e,"min"),e=this._getMinMaxDate(e,"max"),i=i&&t<i?i:t;return e&&e<i?e:i},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){e=this._get(e,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,i,n){var s=this._getNumberOfMonths(e),i=this._daylightSavingAdjust(new Date(i,n+(t<0?t:s[0]*s[1]),1));return t<0&&i.setDate(this._getDaysInMonth(i.getFullYear(),i.getMonth())),this._isInRange(e,i)},_isInRange:function(e,t){var i,n=this._getMinMaxDate(e,"min"),s=this._getMinMaxDate(e,"max"),o=null,a=null,e=this._get(e,"yearRange");return e&&(e=e.split(":"),i=(new Date).getFullYear(),o=parseInt(e[0],10),a=parseInt(e[1],10),e[0].match(/[+\-].*/)&&(o+=i),e[1].match(/[+\-].*/))&&(a+=i),(!n||t.getTime()>=n.getTime())&&(!s||t.getTime()<=s.getTime())&&(!o||t.getFullYear()>=o)&&(!a||t.getFullYear()<=a)},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return{shortYearCutoff:"string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,i,n){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);n=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(n,i,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),n,this._getFormatConfig(e))}}),V.fn.datepicker=function(e){if(!this.length)return this;V.datepicker.initialized||(V(document).on("mousedown",V.datepicker._checkExternalClick),V.datepicker.initialized=!0),0===V("#"+V.datepicker._mainDivId).length&&V("body").append(V.datepicker.dpDiv);var t=Array.prototype.slice.call(arguments,1);return"string"==typeof e&&("isDisabled"===e||"getDate"===e||"widget"===e)||"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?V.datepicker["_"+e+"Datepicker"].apply(V.datepicker,[this[0]].concat(t)):this.each(function(){"string"==typeof e?V.datepicker["_"+e+"Datepicker"].apply(V.datepicker,[this].concat(t)):V.datepicker._attachDatepicker(this,e)})},V.datepicker=new re,V.datepicker.initialized=!1,V.datepicker.uuid=(new Date).getTime(),V.datepicker.version="1.13.0";V.datepicker,V.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var A=!1;V(document).on("mouseup",function(){A=!1}),V.widget("ui.mouse",{version:"1.13.0",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).on("click."+this.widgetName,function(e){if(!0===V.data(e.target,t.widgetName+".preventClickEvent"))return V.removeData(e.target,t.widgetName+".preventClickEvent"),e.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){var t,i,n;if(!A)return this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),i=1===(this._mouseDownEvent=e).which,n=!("string"!=typeof(t=this).options.cancel||!e.target.nodeName)&&V(e.target).closest(this.options.cancel).length,i&&!n&&this._mouseCapture(e)&&(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){t.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?e.preventDefault():(!0===V.data(e.target,this.widgetName+".preventClickEvent")&&V.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return t._mouseMove(e)},this._mouseUpDelegate=function(e){return t._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),A=!0)),!0},_mouseMove:function(e){if(this._mouseMoved){if(V.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&V.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,A=!1,e.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),V.ui.plugin={add:function(e,t,i){var n,s=V.ui[e].prototype;for(n in i)s.plugins[n]=s.plugins[n]||[],s.plugins[n].push([t,i[n]])},call:function(e,t,i,n){var s,o=e.plugins[t];if(o&&(n||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(s=0;s<o.length;s++)e.options[o[s][0]]&&o[s][1].apply(e.element,i)}},V.ui.safeBlur=function(e){e&&"body"!==e.nodeName.toLowerCase()&&V(e).trigger("blur")},V.widget("ui.draggable",V.ui.mouse,{version:"1.13.0",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(e,t){this._super(e,t),"handle"===e&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(e){var t=this.options;return!(this.helper||t.disabled||0<V(e.target).closest(".ui-resizable-handle").length||(this.handle=this._getHandle(e),!this.handle)||(this._blurActiveElement(e),this._blockFrames(!0===t.iframeFix?"iframe":t.iframeFix),0))},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map(function(){var e=V(this);return V("<div>").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var t=V.ui.safeActiveElement(this.document[0]);V(e.target).closest(t).length||V.ui.safeBlur(t)},_mouseStart:function(e){var t=this.options;return this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),V.ui.ddmanager&&(V.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=0<this.helper.parents().filter(function(){return"fixed"===V(this).css("position")}).length,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,t.cursorAt&&this._adjustOffsetFromHelper(t.cursorAt),this._setContainment(),!1===this._trigger("start",e)?(this._clear(),!1):(this._cacheHelperProportions(),V.ui.ddmanager&&!t.dropBehaviour&&V.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),V.ui.ddmanager&&V.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(e){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:e.pageX-this.offset.left,top:e.pageY-this.offset.top}},_mouseDrag:function(e,t){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!t){t=this._uiHash();if(!1===this._trigger("drag",e,t))return this._mouseUp(new V.Event("mouseup",e)),!1;this.position=t.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",V.ui.ddmanager&&V.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var t=this,i=!1;return V.ui.ddmanager&&!this.options.dropBehaviour&&(i=V.ui.ddmanager.drop(this,e)),this.dropped&&(i=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!i||"valid"===this.options.revert&&i||!0===this.options.revert||"function"==typeof this.options.revert&&this.options.revert.call(this.element,i)?V(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==t._trigger("stop",e)&&t._clear()}):!1!==this._trigger("stop",e)&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),V.ui.ddmanager&&V.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),V.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new V.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!V(e.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var t=this.options,i="function"==typeof t.helper,e=i?V(t.helper.apply(this.element[0],[e])):"clone"===t.helper?this.element.clone().removeAttr("id"):this.element;return e.parents("body").length||e.appendTo("parent"===t.appendTo?this.element[0].parentNode:t.appendTo),i&&e[0]===this.element[0]&&this._setPositionRelative(),e[0]===this.element[0]||/(fixed|absolute)/.test(e.css("position"))||e.css("position","absolute"),e},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),"left"in(e=Array.isArray(e)?{left:+e[0],top:+e[1]||0}:e)&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(e){return/(html|body)/i.test(e.tagName)||e===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),t=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==t&&V.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),{top:(e=this._isRootNode(this.offsetParent[0])?{top:0,left:0}:e).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){var e,t;return"relative"!==this.cssPosition?{top:0,left:0}:(e=this.element.position(),t=this._isRootNode(this.scrollParent[0]),{top:e.top-(parseInt(this.helper.css("top"),10)||0)+(t?0:this.scrollParent.scrollTop()),left:e.left-(parseInt(this.helper.css("left"),10)||0)+(t?0:this.scrollParent.scrollLeft())})},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,t=this.options,i=this.document[0];this.relativeContainer=null,t.containment?"window"===t.containment?this.containment=[V(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,V(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,V(window).scrollLeft()+V(window).width()-this.helperProportions.width-this.margins.left,V(window).scrollTop()+(V(window).height()||i.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:"document"===t.containment?this.containment=[0,0,V(i).width()-this.helperProportions.width-this.margins.left,(V(i).height()||i.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:t.containment.constructor===Array?this.containment=t.containment:("parent"===t.containment&&(t.containment=this.helper[0].parentNode),(t=(i=V(t.containment))[0])&&(e=/(scroll|auto)/.test(i.css("overflow")),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(e?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=i)):this.containment=null},_convertPositionTo:function(e,t){t=t||this.position;var e="absolute"===e?1:-1,i=this._isRootNode(this.scrollParent[0]);return{top:t.top+this.offset.relative.top*e+this.offset.parent.top*e-("fixed"===this.cssPosition?-this.offset.scroll.top:i?0:this.offset.scroll.top)*e,left:t.left+this.offset.relative.left*e+this.offset.parent.left*e-("fixed"===this.cssPosition?-this.offset.scroll.left:i?0:this.offset.scroll.left)*e}},_generatePosition:function(e,t){var i,n=this.options,s=this._isRootNode(this.scrollParent[0]),o=e.pageX,a=e.pageY;return s&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),{top:(a=t&&(this.containment&&(i=this.relativeContainer?(t=this.relativeContainer.offset(),[this.containment[0]+t.left,this.containment[1]+t.top,this.containment[2]+t.left,this.containment[3]+t.top]):this.containment,e.pageX-this.offset.click.left<i[0]&&(o=i[0]+this.offset.click.left),e.pageY-this.offset.click.top<i[1]&&(a=i[1]+this.offset.click.top),e.pageX-this.offset.click.left>i[2]&&(o=i[2]+this.offset.click.left),e.pageY-this.offset.click.top>i[3])&&(a=i[3]+this.offset.click.top),n.grid&&(t=n.grid[1]?this.originalPageY+Math.round((a-this.originalPageY)/n.grid[1])*n.grid[1]:this.originalPageY,a=!i||t-this.offset.click.top>=i[1]||t-this.offset.click.top>i[3]?t:t-this.offset.click.top>=i[1]?t-n.grid[1]:t+n.grid[1],e=n.grid[0]?this.originalPageX+Math.round((o-this.originalPageX)/n.grid[0])*n.grid[0]:this.originalPageX,o=!i||e-this.offset.click.left>=i[0]||e-this.offset.click.left>i[2]?e:e-this.offset.click.left>=i[0]?e-n.grid[0]:e+n.grid[0]),"y"===n.axis&&(o=this.originalPageX),"x"===n.axis)?this.originalPageY:a)-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top),left:o-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,t,i){return i=i||this._uiHash(),V.ui.plugin.call(this,e,[t,i,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),i.offset=this.positionAbs),V.Widget.prototype._trigger.call(this,e,t,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),V.ui.plugin.add("draggable","connectToSortable",{start:function(t,e,i){var n=V.extend({},e,{item:i.element});i.sortables=[],V(i.options.connectToSortable).each(function(){var e=V(this).sortable("instance");e&&!e.options.disabled&&(i.sortables.push(e),e.refreshPositions(),e._trigger("activate",t,n))})},stop:function(t,e,i){var n=V.extend({},e,{item:i.element});i.cancelHelperRemoval=!1,V.each(i.sortables,function(){var e=this;e.isOver?(e.isOver=0,i.cancelHelperRemoval=!0,e.cancelHelperRemoval=!1,e._storedCSS={position:e.placeholder.css("position"),top:e.placeholder.css("top"),left:e.placeholder.css("left")},e._mouseStop(t),e.options.helper=e.options._helper):(e.cancelHelperRemoval=!0,e._trigger("deactivate",t,n))})},drag:function(i,n,s){V.each(s.sortables,function(){var e=!1,t=this;t.positionAbs=s.positionAbs,t.helperProportions=s.helperProportions,t.offset.click=s.offset.click,t._intersectsWith(t.containerCache)&&(e=!0,V.each(s.sortables,function(){return this.positionAbs=s.positionAbs,this.helperProportions=s.helperProportions,this.offset.click=s.offset.click,e=this!==t&&this._intersectsWith(this.containerCache)&&V.contains(t.element[0],this.element[0])?!1:e})),e?(t.isOver||(t.isOver=1,s._parent=n.helper.parent(),t.currentItem=n.helper.appendTo(t.element).data("ui-sortable-item",!0),t.options._helper=t.options.helper,t.options.helper=function(){return n.helper[0]},i.target=t.currentItem[0],t._mouseCapture(i,!0),t._mouseStart(i,!0,!0),t.offset.click.top=s.offset.click.top,t.offset.click.left=s.offset.click.left,t.offset.parent.left-=s.offset.parent.left-t.offset.parent.left,t.offset.parent.top-=s.offset.parent.top-t.offset.parent.top,s._trigger("toSortable",i),s.dropped=t.element,V.each(s.sortables,function(){this.refreshPositions()}),s.currentItem=s.element,t.fromOutside=s),t.currentItem&&(t._mouseDrag(i),n.position=t.position)):t.isOver&&(t.isOver=0,t.cancelHelperRemoval=!0,t.options._revert=t.options.revert,t.options.revert=!1,t._trigger("out",i,t._uiHash(t)),t._mouseStop(i,!0),t.options.revert=t.options._revert,t.options.helper=t.options._helper,t.placeholder&&t.placeholder.remove(),n.helper.appendTo(s._parent),s._refreshOffsets(i),n.position=s._generatePosition(i,!0),s._trigger("fromSortable",i),s.dropped=!1,V.each(s.sortables,function(){this.refreshPositions()}))})}}),V.ui.plugin.add("draggable","cursor",{start:function(e,t,i){var n=V("body"),i=i.options;n.css("cursor")&&(i._cursor=n.css("cursor")),n.css("cursor",i.cursor)},stop:function(e,t,i){i=i.options;i._cursor&&V("body").css("cursor",i._cursor)}}),V.ui.plugin.add("draggable","opacity",{start:function(e,t,i){t=V(t.helper),i=i.options;t.css("opacity")&&(i._opacity=t.css("opacity")),t.css("opacity",i.opacity)},stop:function(e,t,i){i=i.options;i._opacity&&V(t.helper).css("opacity",i._opacity)}}),V.ui.plugin.add("draggable","scroll",{start:function(e,t,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(e,t,i){var n=i.options,s=!1,o=i.scrollParentNotHidden[0],a=i.document[0];o!==a&&"HTML"!==o.tagName?(n.axis&&"x"===n.axis||(i.overflowOffset.top+o.offsetHeight-e.pageY<n.scrollSensitivity?o.scrollTop=s=o.scrollTop+n.scrollSpeed:e.pageY-i.overflowOffset.top<n.scrollSensitivity&&(o.scrollTop=s=o.scrollTop-n.scrollSpeed)),n.axis&&"y"===n.axis||(i.overflowOffset.left+o.offsetWidth-e.pageX<n.scrollSensitivity?o.scrollLeft=s=o.scrollLeft+n.scrollSpeed:e.pageX-i.overflowOffset.left<n.scrollSensitivity&&(o.scrollLeft=s=o.scrollLeft-n.scrollSpeed))):(n.axis&&"x"===n.axis||(e.pageY-V(a).scrollTop()<n.scrollSensitivity?s=V(a).scrollTop(V(a).scrollTop()-n.scrollSpeed):V(window).height()-(e.pageY-V(a).scrollTop())<n.scrollSensitivity&&(s=V(a).scrollTop(V(a).scrollTop()+n.scrollSpeed))),n.axis&&"y"===n.axis||(e.pageX-V(a).scrollLeft()<n.scrollSensitivity?s=V(a).scrollLeft(V(a).scrollLeft()-n.scrollSpeed):V(window).width()-(e.pageX-V(a).scrollLeft())<n.scrollSensitivity&&(s=V(a).scrollLeft(V(a).scrollLeft()+n.scrollSpeed)))),!1!==s&&V.ui.ddmanager&&!n.dropBehaviour&&V.ui.ddmanager.prepareOffsets(i,e)}}),V.ui.plugin.add("draggable","snap",{start:function(e,t,i){var n=i.options;i.snapElements=[],V(n.snap.constructor!==String?n.snap.items||":data(ui-draggable)":n.snap).each(function(){var e=V(this),t=e.offset();this!==i.element[0]&&i.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:t.top,left:t.left})})},drag:function(e,t,i){for(var n,s,o,a,r,l,c,h,u,d=i.options,p=d.snapTolerance,f=t.offset.left,g=f+i.helperProportions.width,m=t.offset.top,v=m+i.helperProportions.height,b=i.snapElements.length-1;0<=b;b--)l=(r=i.snapElements[b].left-i.margins.left)+i.snapElements[b].width,h=(c=i.snapElements[b].top-i.margins.top)+i.snapElements[b].height,g<r-p||l+p<f||v<c-p||h+p<m||!V.contains(i.snapElements[b].item.ownerDocument,i.snapElements[b].item)?(i.snapElements[b].snapping&&i.options.snap.release&&i.options.snap.release.call(i.element,e,V.extend(i._uiHash(),{snapItem:i.snapElements[b].item})),i.snapElements[b].snapping=!1):("inner"!==d.snapMode&&(n=Math.abs(c-v)<=p,s=Math.abs(h-m)<=p,o=Math.abs(r-g)<=p,a=Math.abs(l-f)<=p,n&&(t.position.top=i._convertPositionTo("relative",{top:c-i.helperProportions.height,left:0}).top),s&&(t.position.top=i._convertPositionTo("relative",{top:h,left:0}).top),o&&(t.position.left=i._convertPositionTo("relative",{top:0,left:r-i.helperProportions.width}).left),a)&&(t.position.left=i._convertPositionTo("relative",{top:0,left:l}).left),u=n||s||o||a,"outer"!==d.snapMode&&(n=Math.abs(c-m)<=p,s=Math.abs(h-v)<=p,o=Math.abs(r-f)<=p,a=Math.abs(l-g)<=p,n&&(t.position.top=i._convertPositionTo("relative",{top:c,left:0}).top),s&&(t.position.top=i._convertPositionTo("relative",{top:h-i.helperProportions.height,left:0}).top),o&&(t.position.left=i._convertPositionTo("relative",{top:0,left:r}).left),a)&&(t.position.left=i._convertPositionTo("relative",{top:0,left:l-i.helperProportions.width}).left),!i.snapElements[b].snapping&&(n||s||o||a||u)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,e,V.extend(i._uiHash(),{snapItem:i.snapElements[b].item})),i.snapElements[b].snapping=n||s||o||a||u)}}),V.ui.plugin.add("draggable","stack",{start:function(e,t,i){var n,i=i.options,i=V.makeArray(V(i.stack)).sort(function(e,t){return(parseInt(V(e).css("zIndex"),10)||0)-(parseInt(V(t).css("zIndex"),10)||0)});i.length&&(n=parseInt(V(i[0]).css("zIndex"),10)||0,V(i).each(function(e){V(this).css("zIndex",n+e)}),this.css("zIndex",n+i.length))}}),V.ui.plugin.add("draggable","zIndex",{start:function(e,t,i){t=V(t.helper),i=i.options;t.css("zIndex")&&(i._zIndex=t.css("zIndex")),t.css("zIndex",i.zIndex)},stop:function(e,t,i){i=i.options;i._zIndex&&V(t.helper).css("zIndex",i._zIndex)}}),V.ui.draggable,V.widget("ui.resizable",V.ui.mouse,{version:"1.13.0",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(e){return parseFloat(e)||0},_isNumber:function(e){return!isNaN(parseFloat(e))},_hasScroll:function(e,t){if("hidden"===V(e).css("overflow"))return!1;var t=t&&"left"===t?"scrollLeft":"scrollTop",i=!1;if(0<e[t])return!0;try{e[t]=1,i=0<e[t],e[t]=0}catch(e){}return i},_create:function(){var e,t=this.options,i=this;this._addClass("ui-resizable"),V.extend(this,{_aspectRatio:!!t.aspectRatio,aspectRatio:t.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:t.helper||t.ghost||t.animate?t.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(V("<div class='ui-wrapper'></div>").css({overflow:"hidden",position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),t.autoHide&&V(this.element).on("mouseenter",function(){t.disabled||(i._removeClass("ui-resizable-autohide"),i._handles.show())}).on("mouseleave",function(){t.disabled||i.resizing||(i._addClass("ui-resizable-autohide"),i._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy(),this._addedHandles.remove();function e(e){V(e).removeData("resizable").removeData("ui-resizable").off(".resizable")}var t;return this.elementIsWrapper&&(e(this.element),t=this.element,this.originalElement.css({position:t.css("position"),width:t.outerWidth(),height:t.outerHeight(),top:t.css("top"),left:t.css("left")}).insertAfter(t),t.remove()),this.originalElement.css("resize",this.originalResizeStyle),e(this.originalElement),this},_setOption:function(e,t){switch(this._super(e,t),e){case"handles":this._removeHandles(),this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!t}},_setupHandles:function(){var e,t,i,n,s,o=this.options,a=this;if(this.handles=o.handles||(V(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=V(),this._addedHandles=V(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),i=this.handles.split(","),this.handles={},t=0;t<i.length;t++)n="ui-resizable-"+(e=String.prototype.trim.call(i[t])),s=V("<div>"),this._addClass(s,"ui-resizable-handle "+n),s.css({zIndex:o.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.children(this.handles[e]).length||(this.element.append(s),this._addedHandles=this._addedHandles.add(s));this._renderAxis=function(e){var t,i,n;for(t in e=e||this.element,this.handles)this.handles[t].constructor===String?this.handles[t]=this.element.children(this.handles[t]).first().show():(this.handles[t].jquery||this.handles[t].nodeType)&&(this.handles[t]=V(this.handles[t]),this._on(this.handles[t],{mousedown:a._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(n=V(this.handles[t],this.element),n=/sw|ne|nw|se|n|s/.test(t)?n.outerHeight():n.outerWidth(),i=["padding",/ne|nw|n/.test(t)?"Top":/se|sw|s/.test(t)?"Bottom":/^e$/.test(t)?"Right":"Left"].join(""),e.css(i,n),this._proportionallyResize()),this._handles=this._handles.add(this.handles[t])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){a.resizing||(this.className&&(s=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),a.axis=s&&s[1]?s[1]:"se")}),o.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(e){var t,i,n=!1;for(t in this.handles)(i=V(this.handles[t])[0])!==e.target&&!V.contains(i,e.target)||(n=!0);return!this.options.disabled&&n},_mouseStart:function(e){var t,i,n=this.options,s=this.element;return this.resizing=!0,this._renderProxy(),t=this._num(this.helper.css("left")),i=this._num(this.helper.css("top")),n.containment&&(t+=V(n.containment).scrollLeft()||0,i+=V(n.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:t,top:i},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:s.width(),height:s.height()},this.originalSize=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.sizeDiff={width:s.outerWidth()-s.width(),height:s.outerHeight()-s.height()},this.originalPosition={left:t,top:i},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof n.aspectRatio?n.aspectRatio:this.originalSize.width/this.originalSize.height||1,s=V(".ui-resizable-"+this.axis).css("cursor"),V("body").css("cursor","auto"===s?this.axis+"-resize":s),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var t=this.originalMousePosition,i=this.axis,n=e.pageX-t.left||0,t=e.pageY-t.top||0,i=this._change[i];return this._updatePrevProperties(),i&&(i=i.apply(this,[e,n,t]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),n=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),V.isEmptyObject(n)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges())),!1},_mouseStop:function(e){this.resizing=!1;var t,i,n,s=this.options,o=this;return this._helper&&(i=(t=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:o.sizeDiff.height,t=t?0:o.sizeDiff.width,t={width:o.helper.width()-t,height:o.helper.height()-i},i=parseFloat(o.element.css("left"))+(o.position.left-o.originalPosition.left)||null,n=parseFloat(o.element.css("top"))+(o.position.top-o.originalPosition.top)||null,s.animate||this.element.css(V.extend(t,{top:n,left:i})),o.helper.height(o.size.height),o.helper.width(o.size.width),this._helper)&&!s.animate&&this._proportionallyResize(),V("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var e={};return this.position.top!==this.prevPosition.top&&(e.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(e.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(e.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(e.height=this.size.height+"px"),this.helper.css(e),e},_updateVirtualBoundaries:function(e){var t,i,n,s=this.options,s={minWidth:this._isNumber(s.minWidth)?s.minWidth:0,maxWidth:this._isNumber(s.maxWidth)?s.maxWidth:1/0,minHeight:this._isNumber(s.minHeight)?s.minHeight:0,maxHeight:this._isNumber(s.maxHeight)?s.maxHeight:1/0};(this._aspectRatio||e)&&(e=s.minHeight*this.aspectRatio,i=s.minWidth/this.aspectRatio,t=s.maxHeight*this.aspectRatio,n=s.maxWidth/this.aspectRatio,s.minWidth<e&&(s.minWidth=e),s.minHeight<i&&(s.minHeight=i),t<s.maxWidth&&(s.maxWidth=t),n<s.maxHeight)&&(s.maxHeight=n),this._vBoundaries=s},_updateCache:function(e){this.offset=this.helper.offset(),this._isNumber(e.left)&&(this.position.left=e.left),this._isNumber(e.top)&&(this.position.top=e.top),this._isNumber(e.height)&&(this.size.height=e.height),this._isNumber(e.width)&&(this.size.width=e.width)},_updateRatio:function(e){var t=this.position,i=this.size,n=this.axis;return this._isNumber(e.height)?e.width=e.height*this.aspectRatio:this._isNumber(e.width)&&(e.height=e.width/this.aspectRatio),"sw"===n&&(e.left=t.left+(i.width-e.width),e.top=null),"nw"===n&&(e.top=t.top+(i.height-e.height),e.left=t.left+(i.width-e.width)),e},_respectSize:function(e){var t=this._vBoundaries,i=this.axis,n=this._isNumber(e.width)&&t.maxWidth&&t.maxWidth<e.width,s=this._isNumber(e.height)&&t.maxHeight&&t.maxHeight<e.height,o=this._isNumber(e.width)&&t.minWidth&&t.minWidth>e.width,a=this._isNumber(e.height)&&t.minHeight&&t.minHeight>e.height,r=this.originalPosition.left+this.originalSize.width,l=this.originalPosition.top+this.originalSize.height,c=/sw|nw|w/.test(i),i=/nw|ne|n/.test(i);return o&&(e.width=t.minWidth),a&&(e.height=t.minHeight),n&&(e.width=t.maxWidth),s&&(e.height=t.maxHeight),o&&c&&(e.left=r-t.minWidth),n&&c&&(e.left=r-t.maxWidth),a&&i&&(e.top=l-t.minHeight),s&&i&&(e.top=l-t.maxHeight),e.width||e.height||e.left||!e.top?e.width||e.height||e.top||!e.left||(e.left=null):e.top=null,e},_getPaddingPlusBorderDimensions:function(e){for(var t=0,i=[],n=[e.css("borderTopWidth"),e.css("borderRightWidth"),e.css("borderBottomWidth"),e.css("borderLeftWidth")],s=[e.css("paddingTop"),e.css("paddingRight"),e.css("paddingBottom"),e.css("paddingLeft")];t<4;t++)i[t]=parseFloat(n[t])||0,i[t]+=parseFloat(s[t])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var e,t=0,i=this.helper||this.element;t<this._proportionallyResizeElements.length;t++)e=this._proportionallyResizeElements[t],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(e)),e.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,t=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||V("<div></div>").css({overflow:"hidden"}),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++t.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(e,t){return{width:this.originalSize.width+t}},w:function(e,t){var i=this.originalSize;return{left:this.originalPosition.left+t,width:i.width-t}},n:function(e,t,i){var n=this.originalSize;return{top:this.originalPosition.top+i,height:n.height-i}},s:function(e,t,i){return{height:this.originalSize.height+i}},se:function(e,t,i){return V.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,t,i]))},sw:function(e,t,i){return V.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,t,i]))},ne:function(e,t,i){return V.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,t,i]))},nw:function(e,t,i){return V.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,t,i]))}},_propagate:function(e,t){V.ui.plugin.call(this,e,[t,this.ui()]),"resize"!==e&&this._trigger(e,t,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),V.ui.plugin.add("resizable","animate",{stop:function(t){var i=V(this).resizable("instance"),e=i.options,n=i._proportionallyResizeElements,s=n.length&&/textarea/i.test(n[0].nodeName),o=s&&i._hasScroll(n[0],"left")?0:i.sizeDiff.height,s=s?0:i.sizeDiff.width,s={width:i.size.width-s,height:i.size.height-o},o=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,a=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(V.extend(s,a&&o?{top:a,left:o}:{}),{duration:e.animateDuration,easing:e.animateEasing,step:function(){var e={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};n&&n.length&&V(n[0]).css({width:e.width,height:e.height}),i._updateCache(e),i._propagate("resize",t)}})}}),V.ui.plugin.add("resizable","containment",{start:function(){var i,n,e,t,s=V(this).resizable("instance"),o=s.options,a=s.element,o=o.containment,a=o instanceof V?o.get(0):/parent/.test(o)?a.parent().get(0):o;a&&(s.containerElement=V(a),/document/.test(o)||o===document?(s.containerOffset={left:0,top:0},s.containerPosition={left:0,top:0},s.parentData={element:V(document),left:0,top:0,width:V(document).width(),height:V(document).height()||document.body.parentNode.scrollHeight}):(i=V(a),n=[],V(["Top","Right","Left","Bottom"]).each(function(e,t){n[e]=s._num(i.css("padding"+t))}),s.containerOffset=i.offset(),s.containerPosition=i.position(),s.containerSize={height:i.innerHeight()-n[3],width:i.innerWidth()-n[1]},o=s.containerOffset,t=s.containerSize.height,e=s.containerSize.width,e=s._hasScroll(a,"left")?a.scrollWidth:e,t=s._hasScroll(a)?a.scrollHeight:t,s.parentData={element:a,left:o.left,top:o.top,width:e,height:t}))},resize:function(e){var t=V(this).resizable("instance"),i=t.options,n=t.containerOffset,s=t.position,e=t._aspectRatio||e.shiftKey,o={top:0,left:0},a=t.containerElement,r=!0;a[0]!==document&&/static/.test(a.css("position"))&&(o=n),s.left<(t._helper?n.left:0)&&(t.size.width=t.size.width+(t._helper?t.position.left-n.left:t.position.left-o.left),e&&(t.size.height=t.size.width/t.aspectRatio,r=!1),t.position.left=i.helper?n.left:0),s.top<(t._helper?n.top:0)&&(t.size.height=t.size.height+(t._helper?t.position.top-n.top:t.position.top),e&&(t.size.width=t.size.height*t.aspectRatio,r=!1),t.position.top=t._helper?n.top:0),a=t.containerElement.get(0)===t.element.parent().get(0),i=/relative|absolute/.test(t.containerElement.css("position")),a&&i?(t.offset.left=t.parentData.left+t.position.left,t.offset.top=t.parentData.top+t.position.top):(t.offset.left=t.element.offset().left,t.offset.top=t.element.offset().top),s=Math.abs(t.sizeDiff.width+(t._helper?t.offset.left-o.left:t.offset.left-n.left)),a=Math.abs(t.sizeDiff.height+(t._helper?t.offset.top-o.top:t.offset.top-n.top)),s+t.size.width>=t.parentData.width&&(t.size.width=t.parentData.width-s,e)&&(t.size.height=t.size.width/t.aspectRatio,r=!1),a+t.size.height>=t.parentData.height&&(t.size.height=t.parentData.height-a,e)&&(t.size.width=t.size.height*t.aspectRatio,r=!1),r||(t.position.left=t.prevPosition.left,t.position.top=t.prevPosition.top,t.size.width=t.prevSize.width,t.size.height=t.prevSize.height)},stop:function(){var e=V(this).resizable("instance"),t=e.options,i=e.containerOffset,n=e.containerPosition,s=e.containerElement,o=V(e.helper),a=o.offset(),r=o.outerWidth()-e.sizeDiff.width,o=o.outerHeight()-e.sizeDiff.height;e._helper&&!t.animate&&/relative/.test(s.css("position"))&&V(this).css({left:a.left-n.left-i.left,width:r,height:o}),e._helper&&!t.animate&&/static/.test(s.css("position"))&&V(this).css({left:a.left-n.left-i.left,width:r,height:o})}}),V.ui.plugin.add("resizable","alsoResize",{start:function(){var e=V(this).resizable("instance").options;V(e.alsoResize).each(function(){var e=V(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,i){var t=V(this).resizable("instance"),n=t.options,s=t.originalSize,o=t.originalPosition,a={height:t.size.height-s.height||0,width:t.size.width-s.width||0,top:t.position.top-o.top||0,left:t.position.left-o.left||0};V(n.alsoResize).each(function(){var e=V(this),n=V(this).data("ui-resizable-alsoresize"),s={},t=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];V.each(t,function(e,t){var i=(n[t]||0)+(a[t]||0);i&&0<=i&&(s[t]=i||null)}),e.css(s)})},stop:function(){V(this).removeData("ui-resizable-alsoresize")}}),V.ui.plugin.add("resizable","ghost",{start:function(){var e=V(this).resizable("instance"),t=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:t.height,width:t.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),!1!==V.uiBackCompat&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=V(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=V(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),V.ui.plugin.add("resizable","grid",{resize:function(){var e,t=V(this).resizable("instance"),i=t.options,n=t.size,s=t.originalSize,o=t.originalPosition,a=t.axis,r="number"==typeof i.grid?[i.grid,i.grid]:i.grid,l=r[0]||1,c=r[1]||1,h=Math.round((n.width-s.width)/l)*l,n=Math.round((n.height-s.height)/c)*c,u=s.width+h,d=s.height+n,p=i.maxWidth&&i.maxWidth<u,f=i.maxHeight&&i.maxHeight<d,g=i.minWidth&&i.minWidth>u,m=i.minHeight&&i.minHeight>d;i.grid=r,g&&(u+=l),m&&(d+=c),p&&(u-=l),f&&(d-=c),/^(se|s|e)$/.test(a)?(t.size.width=u,t.size.height=d):/^(ne)$/.test(a)?(t.size.width=u,t.size.height=d,t.position.top=o.top-n):/^(sw)$/.test(a)?(t.size.width=u,t.size.height=d,t.position.left=o.left-h):((d-c<=0||u-l<=0)&&(e=t._getPaddingPlusBorderDimensions(this)),0<d-c?(t.size.height=d,t.position.top=o.top-n):(d=c-e.height,t.size.height=d,t.position.top=o.top+s.height-d),0<u-l?(t.size.width=u,t.position.left=o.left-h):(u=l-e.width,t.size.width=u,t.position.left=o.left+s.width-u))}}),V.ui.resizable,V.widget("ui.dialog",{version:"1.13.0",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var t=V(this).css(e).offset().top;t<0&&V(this).css("top",e.top-t)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&V.fn.draggable&&this._makeDraggable(),this.options.resizable&&V.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?V(e):this.document.find(e||"body").eq(0)},_destroy:function(){var e,t=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(e=t.parent.children().eq(t.index)).length&&e[0]!==this.element[0]?e.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},disable:V.noop,enable:V.noop,close:function(e){var t=this;this._isOpen&&!1!==this._trigger("beforeClose",e)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||V.ui.safeBlur(V.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,function(){t._trigger("close",e)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(e,t){var i=!1,n=this.uiDialog.siblings(".ui-front:visible").map(function(){return+V(this).css("z-index")}).get(),n=Math.max.apply(null,n);return n>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",n+1),i=!0),i&&!t&&this._trigger("focus",e),i},open:function(){var e=this;this._isOpen?this._moveToTop()&&this._focusTabbable():(this._isOpen=!0,this.opener=V(V.ui.safeActiveElement(this.document[0])),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger("focus")}),this._makeFocusTarget(),this._trigger("open"))},_focusTabbable:function(){var e=this._focusedElement;(e=(e=(e=(e=(e=e||this.element.find("[autofocus]")).length?e:this.element.find(":tabbable")).length?e:this.uiDialogButtonPane.find(":tabbable")).length?e:this.uiDialogTitlebarClose.filter(":tabbable")).length?e:this.uiDialog).eq(0).trigger("focus")},_restoreTabbableFocus:function(){var e=V.ui.safeActiveElement(this.document[0]);this.uiDialog[0]===e||V.contains(this.uiDialog[0],e)||this._focusTabbable()},_keepFocus:function(e){e.preventDefault(),this._restoreTabbableFocus(),this._delay(this._restoreTabbableFocus)},_createWrapper:function(){this.uiDialog=V("<div>").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(e){var t,i,n;this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===V.ui.keyCode.ESCAPE?(e.preventDefault(),this.close(e)):e.keyCode!==V.ui.keyCode.TAB||e.isDefaultPrevented()||(t=this.uiDialog.find(":tabbable"),i=t.first(),n=t.last(),e.target!==n[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==i[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(this._delay(function(){n.trigger("focus")}),e.preventDefault()):(this._delay(function(){i.trigger("focus")}),e.preventDefault()))},mousedown:function(e){this._moveToTop(e)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=V("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(e){V(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=V("<button type='button'></button>").button({label:V("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(e){e.preventDefault(),this.close(e)}}),e=V("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(e,"ui-dialog-title"),this._title(e),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(e){this.options.title?e.text(this.options.title):e.html("&#160;")},_createButtonPane:function(){this.uiDialogButtonPane=V("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=V("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var n=this,e=this.options.buttons;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),V.isEmptyObject(e)||Array.isArray(e)&&!e.length?this._removeClass(this.uiDialog,"ui-dialog-buttons"):(V.each(e,function(e,t){var i;t=V.extend({type:"button"},t="function"==typeof t?{click:t,text:e}:t),i=t.click,e={icon:t.icon,iconPosition:t.iconPosition,showLabel:t.showLabel,icons:t.icons,text:t.text},delete t.click,delete t.icon,delete t.iconPosition,delete t.showLabel,delete t.icons,"boolean"==typeof t.text&&delete t.text,V("<button></button>",t).button(e).appendTo(n.uiButtonSet).on("click",function(){i.apply(n.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){var s=this,o=this.options;function a(e){return{position:e.position,offset:e.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(e,t){s._addClass(V(this),"ui-dialog-dragging"),s._blockFrames(),s._trigger("dragStart",e,a(t))},drag:function(e,t){s._trigger("drag",e,a(t))},stop:function(e,t){var i=t.offset.left-s.document.scrollLeft(),n=t.offset.top-s.document.scrollTop();o.position={my:"left top",at:"left"+(0<=i?"+":"")+i+" top"+(0<=n?"+":"")+n,of:s.window},s._removeClass(V(this),"ui-dialog-dragging"),s._unblockFrames(),s._trigger("dragStop",e,a(t))}})},_makeResizable:function(){var s=this,o=this.options,e=o.resizable,t=this.uiDialog.css("position"),e="string"==typeof e?e:"n,e,s,w,se,sw,ne,nw";function a(e){return{originalPosition:e.originalPosition,originalSize:e.originalSize,position:e.position,size:e.size}}this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:o.maxWidth,maxHeight:o.maxHeight,minWidth:o.minWidth,minHeight:this._minHeight(),handles:e,start:function(e,t){s._addClass(V(this),"ui-dialog-resizing"),s._blockFrames(),s._trigger("resizeStart",e,a(t))},resize:function(e,t){s._trigger("resize",e,a(t))},stop:function(e,t){var i=s.uiDialog.offset(),n=i.left-s.document.scrollLeft(),i=i.top-s.document.scrollTop();o.height=s.uiDialog.height(),o.width=s.uiDialog.width(),o.position={my:"left top",at:"left"+(0<=n?"+":"")+n+" top"+(0<=i?"+":"")+i,of:s.window},s._removeClass(V(this),"ui-dialog-resizing"),s._unblockFrames(),s._trigger("resizeStop",e,a(t))}}).css("position",t)},_trackFocus:function(){this._on(this.widget(),{focusin:function(e){this._makeFocusTarget(),this._focusedElement=V(e.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var e=this._trackingInstances(),t=V.inArray(this,e);-1!==t&&e.splice(t,1)},_trackingInstances:function(){var e=this.document.data("ui-dialog-instances");return e||this.document.data("ui-dialog-instances",e=[]),e},_minHeight:function(){var e=this.options;return"auto"===e.height?e.minHeight:Math.min(e.minHeight,e.height)},_position:function(){var e=this.uiDialog.is(":visible");e||this.uiDialog.show(),this.uiDialog.position(this.options.position),e||this.uiDialog.hide()},_setOptions:function(e){var i=this,n=!1,s={};V.each(e,function(e,t){i._setOption(e,t),e in i.sizeRelatedOptions&&(n=!0),e in i.resizableRelatedOptions&&(s[e]=t)}),n&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",s)},_setOption:function(e,t){var i,n=this.uiDialog;"disabled"!==e&&(this._super(e,t),"appendTo"===e&&this.uiDialog.appendTo(this._appendTo()),"buttons"===e&&this._createButtons(),"closeText"===e&&this.uiDialogTitlebarClose.button({label:V("<a>").text(""+this.options.closeText).html()}),"draggable"===e&&((i=n.is(":data(ui-draggable)"))&&!t&&n.draggable("destroy"),!i)&&t&&this._makeDraggable(),"position"===e&&this._position(),"resizable"===e&&((i=n.is(":data(ui-resizable)"))&&!t&&n.resizable("destroy"),i&&"string"==typeof t&&n.resizable("option","handles",t),i||!1===t||this._makeResizable()),"title"===e)&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title"))},_size:function(){var e,t,i,n=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),n.minWidth>n.width&&(n.width=n.minWidth),e=this.uiDialog.css({height:"auto",width:n.width}).outerHeight(),t=Math.max(0,n.minHeight-e),i="number"==typeof n.maxHeight?Math.max(0,n.maxHeight-e):"none","auto"===n.height?this.element.css({minHeight:t,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,n.height-e)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=V(this);return V("<div>").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return!!V(e.target).closest(".ui-dialog").length||!!V(e.target).closest(".ui-datepicker").length},_createOverlay:function(){var i,n;this.options.modal&&(i=V.fn.jquery.substring(0,4),n=!0,this._delay(function(){n=!1}),this.document.data("ui-dialog-overlays")||this.document.on("focusin.ui-dialog",function(e){var t;n||(t=this._trackingInstances()[0])._allowInteraction(e)||(e.preventDefault(),t._focusTabbable(),"3.4."!==i&&"3.5."!==i)||t._delay(t._restoreTabbableFocus)}.bind(this)),this.overlay=V("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1))},_destroyOverlay:function(){var e;this.options.modal&&this.overlay&&((e=this.document.data("ui-dialog-overlays")-1)?this.document.data("ui-dialog-overlays",e):(this.document.off("focusin.ui-dialog"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null)}}),!1!==V.uiBackCompat&&V.widget("ui.dialog",V.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(e,t){"dialogClass"===e&&this.uiDialog.removeClass(this.options.dialogClass).addClass(t),this._superApply(arguments)}}),V.ui.dialog;function he(e,t,i){return t<=e&&e<t+i}V.widget("ui.droppable",{version:"1.13.0",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e,t=this.options,i=t.accept;this.isover=!1,this.isout=!0,this.accept="function"==typeof i?i:function(e){return e.is(i)},this.proportions=function(){if(!arguments.length)return e=e||{width:this.element[0].offsetWidth,height:this.element[0].offsetHeight};e=arguments[0]},this._addToManager(t.scope),t.addClasses&&this._addClass("ui-droppable")},_addToManager:function(e){V.ui.ddmanager.droppables[e]=V.ui.ddmanager.droppables[e]||[],V.ui.ddmanager.droppables[e].push(this)},_splice:function(e){for(var t=0;t<e.length;t++)e[t]===this&&e.splice(t,1)},_destroy:function(){var e=V.ui.ddmanager.droppables[this.options.scope];this._splice(e)},_setOption:function(e,t){var i;"accept"===e?this.accept="function"==typeof t?t:function(e){return e.is(t)}:"scope"===e&&(i=V.ui.ddmanager.droppables[this.options.scope],this._splice(i),this._addToManager(t)),this._super(e,t)},_activate:function(e){var t=V.ui.ddmanager.current;this._addActiveClass(),t&&this._trigger("activate",e,this.ui(t))},_deactivate:function(e){var t=V.ui.ddmanager.current;this._removeActiveClass(),t&&this._trigger("deactivate",e,this.ui(t))},_over:function(e){var t=V.ui.ddmanager.current;t&&(t.currentItem||t.element)[0]!==this.element[0]&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this._addHoverClass(),this._trigger("over",e,this.ui(t)))},_out:function(e){var t=V.ui.ddmanager.current;t&&(t.currentItem||t.element)[0]!==this.element[0]&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this._removeHoverClass(),this._trigger("out",e,this.ui(t)))},_drop:function(t,e){var i=e||V.ui.ddmanager.current,n=!1;return!(!i||(i.currentItem||i.element)[0]===this.element[0]||(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var e=V(this).droppable("instance");if(e.options.greedy&&!e.options.disabled&&e.options.scope===i.options.scope&&e.accept.call(e.element[0],i.currentItem||i.element)&&V.ui.intersect(i,V.extend(e,{offset:e.element.offset()}),e.options.tolerance,t))return!(n=!0)}),n)||!this.accept.call(this.element[0],i.currentItem||i.element))&&(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",t,this.ui(i)),this.element)},ui:function(e){return{draggable:e.currentItem||e.element,helper:e.helper,position:e.position,offset:e.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}}),V.ui.intersect=function(e,t,i,n){if(!t.offset)return!1;var s=(e.positionAbs||e.position.absolute).left+e.margins.left,o=(e.positionAbs||e.position.absolute).top+e.margins.top,a=s+e.helperProportions.width,r=o+e.helperProportions.height,l=t.offset.left,c=t.offset.top,h=l+t.proportions().width,u=c+t.proportions().height;switch(i){case"fit":return l<=s&&a<=h&&c<=o&&r<=u;case"intersect":return l<s+e.helperProportions.width/2&&a-e.helperProportions.width/2<h&&c<o+e.helperProportions.height/2&&r-e.helperProportions.height/2<u;case"pointer":return he(n.pageY,c,t.proportions().height)&&he(n.pageX,l,t.proportions().width);case"touch":return(c<=o&&o<=u||c<=r&&r<=u||o<c&&u<r)&&(l<=s&&s<=h||l<=a&&a<=h||s<l&&h<a);default:return!1}},!(V.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(e,t){var i,n,s=V.ui.ddmanager.droppables[e.options.scope]||[],o=t?t.type:null,a=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();e:for(i=0;i<s.length;i++)if(!(s[i].options.disabled||e&&!s[i].accept.call(s[i].element[0],e.currentItem||e.element))){for(n=0;n<a.length;n++)if(a[n]===s[i].element[0]){s[i].proportions().height=0;continue e}s[i].visible="none"!==s[i].element.css("display"),s[i].visible&&("mousedown"===o&&s[i]._activate.call(s[i],t),s[i].offset=s[i].element.offset(),s[i].proportions({width:s[i].element[0].offsetWidth,height:s[i].element[0].offsetHeight}))}},drop:function(e,t){var i=!1;return V.each((V.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&V.ui.intersect(e,this,this.options.tolerance,t)&&(i=this._drop.call(this,t)||i),!this.options.disabled)&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,t))}),i},dragStart:function(e,t){e.element.parentsUntil("body").on("scroll.droppable",function(){e.options.refreshPositions||V.ui.ddmanager.prepareOffsets(e,t)})},drag:function(s,o){s.options.refreshPositions&&V.ui.ddmanager.prepareOffsets(s,o),V.each(V.ui.ddmanager.droppables[s.options.scope]||[],function(){var e,t,i,n;this.options.disabled||this.greedyChild||!this.visible||(n=!(n=V.ui.intersect(s,this,this.options.tolerance,o))&&this.isover?"isout":n&&!this.isover?"isover":null)&&(this.options.greedy&&(t=this.options.scope,(i=this.element.parents(":data(ui-droppable)").filter(function(){return V(this).droppable("instance").options.scope===t})).length)&&((e=V(i[0]).droppable("instance")).greedyChild="isover"===n),e&&"isover"===n&&(e.isover=!1,e.isout=!0,e._out.call(e,o)),this[n]=!0,this["isout"===n?"isover":"isout"]=!1,this["isover"===n?"_over":"_out"].call(this,o),e)&&"isout"===n&&(e.isout=!1,e.isover=!0,e._over.call(e,o))})},dragStop:function(e,t){e.element.parentsUntil("body").off("scroll.droppable"),e.options.refreshPositions||V.ui.ddmanager.prepareOffsets(e,t)}})!==V.uiBackCompat&&V.widget("ui.droppable",V.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}});V.ui.droppable,V.widget("ui.progressbar",{version:"1.13.0",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.attr({role:"progressbar","aria-valuemin":this.min}),this._addClass("ui-progressbar","ui-widget ui-widget-content"),this.valueDiv=V("<div>").appendTo(this.element),this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header"),this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow"),this.valueDiv.remove()},value:function(e){if(void 0===e)return this.options.value;this.options.value=this._constrainedValue(e),this._refreshValue()},_constrainedValue:function(e){return void 0===e&&(e=this.options.value),this.indeterminate=!1===e,"number"!=typeof e&&(e=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,e))},_setOptions:function(e){var t=e.value;delete e.value,this._super(e),this.options.value=this._constrainedValue(t),this._refreshValue()},_setOption:function(e,t){"max"===e&&(t=Math.max(this.min,t)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e),this._toggleClass(null,"ui-state-disabled",!!e)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,t=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).width(t.toFixed(0)+"%"),this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,e===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=V("<div>").appendTo(this.valueDiv),this._addClass(this.overlayDiv,"ui-progressbar-overlay"))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),e===this.options.max&&this._trigger("complete")}}),V.widget("ui.selectable",V.ui.mouse,{version:"1.13.0",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var i=this;this._addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){i.elementPos=V(i.element[0]).offset(),i.selectees=V(i.options.filter,i.element[0]),i._addClass(i.selectees,"ui-selectee"),i.selectees.each(function(){var e=V(this),t=e.offset(),t={left:t.left-i.elementPos.left,top:t.top-i.elementPos.top};V.data(this,"selectable-item",{element:this,$element:e,left:t.left,top:t.top,right:t.left+e.outerWidth(),bottom:t.top+e.outerHeight(),startselected:!1,selected:e.hasClass("ui-selected"),selecting:e.hasClass("ui-selecting"),unselecting:e.hasClass("ui-unselecting")})})},this.refresh(),this._mouseInit(),this.helper=V("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(i){var n=this,e=this.options;this.opos=[i.pageX,i.pageY],this.elementPos=V(this.element[0]).offset(),this.options.disabled||(this.selectees=V(e.filter,this.element[0]),this._trigger("start",i),V(e.appendTo).append(this.helper),this.helper.css({left:i.pageX,top:i.pageY,width:0,height:0}),e.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var e=V.data(this,"selectable-item");e.startselected=!0,i.metaKey||i.ctrlKey||(n._removeClass(e.$element,"ui-selected"),e.selected=!1,n._addClass(e.$element,"ui-unselecting"),e.unselecting=!0,n._trigger("unselecting",i,{unselecting:e.element}))}),V(i.target).parents().addBack().each(function(){var e,t=V.data(this,"selectable-item");if(t)return e=!i.metaKey&&!i.ctrlKey||!t.$element.hasClass("ui-selected"),n._removeClass(t.$element,e?"ui-unselecting":"ui-selected")._addClass(t.$element,e?"ui-selecting":"ui-unselecting"),t.unselecting=!e,t.selecting=e,(t.selected=e)?n._trigger("selecting",i,{selecting:t.element}):n._trigger("unselecting",i,{unselecting:t.element}),!1}))},_mouseDrag:function(n){var e,s,o,a,r,l,c;if(this.dragged=!0,!this.options.disabled)return o=(s=this).options,a=this.opos[0],r=this.opos[1],l=n.pageX,c=n.pageY,l<a&&(e=l,l=a,a=e),c<r&&(e=c,c=r,r=e),this.helper.css({left:a,top:r,width:l-a,height:c-r}),this.selectees.each(function(){var e=V.data(this,"selectable-item"),t=!1,i={};e&&e.element!==s.element[0]&&(i.left=e.left+s.elementPos.left,i.right=e.right+s.elementPos.left,i.top=e.top+s.elementPos.top,i.bottom=e.bottom+s.elementPos.top,"touch"===o.tolerance?t=!(l<i.left||i.right<a||c<i.top||i.bottom<r):"fit"===o.tolerance&&(t=a<i.left&&i.right<l&&r<i.top&&i.bottom<c),t?(e.selected&&(s._removeClass(e.$element,"ui-selected"),e.selected=!1),e.unselecting&&(s._removeClass(e.$element,"ui-unselecting"),e.unselecting=!1),e.selecting||(s._addClass(e.$element,"ui-selecting"),e.selecting=!0,s._trigger("selecting",n,{selecting:e.element}))):(e.selecting&&((n.metaKey||n.ctrlKey)&&e.startselected?(s._removeClass(e.$element,"ui-selecting"),e.selecting=!1,s._addClass(e.$element,"ui-selected"),e.selected=!0):(s._removeClass(e.$element,"ui-selecting"),e.selecting=!1,e.startselected&&(s._addClass(e.$element,"ui-unselecting"),e.unselecting=!0),s._trigger("unselecting",n,{unselecting:e.element}))),!e.selected||n.metaKey||n.ctrlKey||e.startselected||(s._removeClass(e.$element,"ui-selected"),e.selected=!1,s._addClass(e.$element,"ui-unselecting"),e.unselecting=!0,s._trigger("unselecting",n,{unselecting:e.element}))))}),!1},_mouseStop:function(t){var i=this;return this.dragged=!1,V(".ui-unselecting",this.element[0]).each(function(){var e=V.data(this,"selectable-item");i._removeClass(e.$element,"ui-unselecting"),e.unselecting=!1,e.startselected=!1,i._trigger("unselected",t,{unselected:e.element})}),V(".ui-selecting",this.element[0]).each(function(){var e=V.data(this,"selectable-item");i._removeClass(e.$element,"ui-selecting")._addClass(e.$element,"ui-selected"),e.selecting=!1,e.selected=!0,e.startselected=!0,i._trigger("selected",t,{selected:e.element})}),this._trigger("stop",t),this.helper.remove(),!1}}),V.widget("ui.selectmenu",[V.ui.formResetMixin,{version:"1.13.0",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:!1,change:null,close:null,focus:null,open:null,select:null},_create:function(){var e=this.element.uniqueId().attr("id");this.ids={element:e,button:e+"-button",menu:e+"-menu"},this._drawButton(),this._drawMenu(),this._bindFormResetHandler(),this._rendered=!1,this.menuItems=V()},_drawButton:function(){var e,t=this,i=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button),this._on(this.labels,{click:function(e){this.button.trigger("focus"),e.preventDefault()}}),this.element.hide(),this.button=V("<span>",{tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element),this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget"),e=V("<span>").appendTo(this.button),this._addClass(e,"ui-selectmenu-icon","ui-icon "+this.options.icons.button),this.buttonItem=this._renderButtonItem(i).appendTo(this.button),!1!==this.options.width&&this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){t._rendered||t._refreshMenu()})},_drawMenu:function(){var i=this;this.menu=V("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=V("<div>").append(this.menu),this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front"),this.menuWrap.appendTo(this._appendTo()),this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",select:function(e,t){e.preventDefault(),i._setSelection(),i._select(t.item.data("ui-selectmenu-item"),e)},focus:function(e,t){t=t.item.data("ui-selectmenu-item");null!=i.focusIndex&&t.index!==i.focusIndex&&(i._trigger("focus",e,{item:t}),i.isOpen||i._select(t,e)),i.focusIndex=t.index,i.button.attr("aria-activedescendant",i.menuItems.eq(t.index).attr("id"))}}).menu("instance"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{})),null===this.options.width&&this._resizeButton()},_refreshMenu:function(){var e=this.element.find("option");this.menu.empty(),this._parseOptions(e),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper"),this._rendered=!0,e.length&&(e=this._getSelectedItem(),this.menuInstance.focus(null,e),this._setAria(e.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(e){this.options.disabled||(this._rendered?(this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.menuItems.length&&(this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",e)))},_position:function(){this.menuWrap.position(V.extend({of:this.button},this.options.position))},close:function(e){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",e))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(e){var t=V("<span>");return this._setText(t,e.label),this._addClass(t,"ui-selectmenu-text"),t},_renderMenu:function(n,e){var s=this,o="";V.each(e,function(e,t){var i;t.optgroup!==o&&(i=V("<li>",{text:t.optgroup}),s._addClass(i,"ui-selectmenu-optgroup","ui-menu-divider"+(t.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),i.appendTo(n),o=t.optgroup),s._renderItemData(n,t)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-selectmenu-item",t)},_renderItem:function(e,t){var i=V("<li>"),n=V("<div>",{title:t.element.attr("title")});return t.disabled&&this._addClass(i,null,"ui-state-disabled"),this._setText(n,t.label),i.append(n).appendTo(e)},_setText:function(e,t){t?e.text(t):e.html("&#160;")},_move:function(e,t){var i,n=".ui-menu-item";this.isOpen?i=this.menuItems.eq(this.focusIndex).parent("li"):(i=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),n+=":not(.ui-state-disabled)"),(i="first"===e||"last"===e?i["first"===e?"prevAll":"nextAll"](n).eq(-1):i[e+"All"](n).eq(0)).length&&this.menuInstance.focus(t,i)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")},_toggle:function(e){this[this.isOpen?"close":"open"](e)},_setSelection:function(){var e;this.range&&(window.getSelection?((e=window.getSelection()).removeAllRanges(),e.addRange(this.range)):this.range.select(),this.button.focus())},_documentClick:{mousedown:function(e){!this.isOpen||V(e.target).closest(".ui-selectmenu-menu, #"+V.escapeSelector(this.ids.button)).length||this.close(e)}},_buttonEvents:{mousedown:function(){var e;window.getSelection?(e=window.getSelection()).rangeCount&&(this.range=e.getRangeAt(0)):this.range=document.selection.createRange()},click:function(e){this._setSelection(),this._toggle(e)},keydown:function(e){var t=!0;switch(e.keyCode){case V.ui.keyCode.TAB:case V.ui.keyCode.ESCAPE:this.close(e),t=!1;break;case V.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(e);break;case V.ui.keyCode.UP:e.altKey?this._toggle(e):this._move("prev",e);break;case V.ui.keyCode.DOWN:e.altKey?this._toggle(e):this._move("next",e);break;case V.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(e):this._toggle(e);break;case V.ui.keyCode.LEFT:this._move("prev",e);break;case V.ui.keyCode.RIGHT:this._move("next",e);break;case V.ui.keyCode.HOME:case V.ui.keyCode.PAGE_UP:this._move("first",e);break;case V.ui.keyCode.END:case V.ui.keyCode.PAGE_DOWN:this._move("last",e);break;default:this.menu.trigger(e),t=!1}t&&e.preventDefault()}},_selectFocusedItem:function(e){var t=this.menuItems.eq(this.focusIndex).parent("li");t.hasClass("ui-state-disabled")||this._select(t.data("ui-selectmenu-item"),e)},_select:function(e,t){var i=this.element[0].selectedIndex;this.element[0].selectedIndex=e.index,this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(e)),this._setAria(e),this._trigger("select",t,{item:e}),e.index!==i&&this._trigger("change",t,{item:e}),this.close(t)},_setAria:function(e){e=this.menuItems.eq(e.index).attr("id");this.button.attr({"aria-labelledby":e,"aria-activedescendant":e}),this.menu.attr("aria-activedescendant",e)},_setOption:function(e,t){var i;"icons"===e&&(i=this.button.find("span.ui-icon"),this._removeClass(i,null,this.options.icons.button)._addClass(i,null,t.button)),this._super(e,t),"appendTo"===e&&this.menuWrap.appendTo(this._appendTo()),"width"===e&&this._resizeButton()},_setOptionDisabled:function(e){this._super(e),this.menuInstance.option("disabled",e),this.button.attr("aria-disabled",e),this._toggleClass(this.button,null,"ui-state-disabled",e),this.element.prop("disabled",e),e?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)},_appendTo:function(){var e=this.options.appendTo;return e=(e=(e=e&&(e.jquery||e.nodeType?V(e):this.document.find(e).eq(0)))&&e[0]?e:this.element.closest(".ui-front, dialog")).length?e:this.document[0].body},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen),this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var e=this.options.width;!1===e?this.button.css("width",""):(null===e&&(e=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(e))},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){var e=this._super();return e.disabled=this.element.prop("disabled"),e},_parseOptions:function(e){var i=this,n=[];e.each(function(e,t){t.hidden||n.push(i._parseOption(V(t),e))}),this.items=n},_parseOption:function(e,t){var i=e.parent("optgroup");return{element:e,index:t,value:e.val(),label:e.text(),optgroup:i.attr("label")||"",disabled:i.prop("disabled")||e.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler(),this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.labels.attr("for",this.ids.element)}}]),V.widget("ui.slider",V.ui.mouse,{version:"1.13.0",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,t=this.options,i=this.element.find(".ui-slider-handle"),n=[],s=t.values&&t.values.length||1;for(i.length>s&&(i.slice(s).remove(),i=i.slice(0,s)),e=i.length;e<s;e++)n.push("<span tabindex='0'></span>");this.handles=i.add(V(n.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(e){V(this).data("ui-slider-handle-index",e).attr("tabIndex",0)})},_createRange:function(){var e=this.options;e.range?(!0===e.range&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:Array.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=V("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),"min"!==e.range&&"max"!==e.range||this._addClass(this.range,"ui-slider-range-"+e.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(e){var i,n,s,o,t,a,r=this,l=this.options;return!l.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),t={x:e.pageX,y:e.pageY},i=this._normValueFromMouse(t),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var t=Math.abs(i-r.values(e));(t<n||n===t&&(e===r._lastChangedValue||r.values(e)===l.min))&&(n=t,s=V(this),o=e)}),!1!==this._start(e,o))&&(this._mouseSliding=!0,this._handleIndex=o,this._addClass(s,null,"ui-state-active"),s.trigger("focus"),t=s.offset(),a=!V(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=a?{left:0,top:0}:{left:e.pageX-t.left-s.width()/2,top:e.pageY-t.top-s.height()/2-(parseInt(s.css("borderTopWidth"),10)||0)-(parseInt(s.css("borderBottomWidth"),10)||0)+(parseInt(s.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,o,i),this._animateOff=!0)},_mouseStart:function(){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},t=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,t),!1},_mouseStop:function(e){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(e){var t,e="horizontal"===this.orientation?(t=this.elementSize.width,e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),e=e/t;return(e=1<e?1:e)<0&&(e=0),"vertical"===this.orientation&&(e=1-e),t=this._valueMax()-this._valueMin(),e=this._valueMin()+e*t,this._trimAlignValue(e)},_uiHash:function(e,t,i){var n={handle:this.handles[e],handleIndex:e,value:void 0!==t?t:this.value()};return this._hasMultipleValues()&&(n.value=void 0!==t?t:this.values(e),n.values=i||this.values()),n},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(e,t){return this._trigger("start",e,this._uiHash(t))},_slide:function(e,t,i){var n,s=this.value(),o=this.values();this._hasMultipleValues()&&(n=this.values(t?0:1),s=this.values(t),2===this.options.values.length&&!0===this.options.range&&(i=0===t?Math.min(n,i):Math.max(n,i)),o[t]=i),i!==s&&!1!==this._trigger("slide",e,this._uiHash(t,i,o))&&(this._hasMultipleValues()?this.values(t,i):this.value(i))},_stop:function(e,t){this._trigger("stop",e,this._uiHash(t))},_change:function(e,t){this._keySliding||this._mouseSliding||(this._lastChangedValue=t,this._trigger("change",e,this._uiHash(t)))},value:function(e){if(!arguments.length)return this._value();this.options.value=this._trimAlignValue(e),this._refreshValue(),this._change(null,0)},values:function(e,t){var i,n,s;if(1<arguments.length)this.options.values[e]=this._trimAlignValue(t),this._refreshValue(),this._change(null,e);else{if(!arguments.length)return this._values();if(!Array.isArray(e))return this._hasMultipleValues()?this._values(e):this.value();for(i=this.options.values,n=e,s=0;s<i.length;s+=1)i[s]=this._trimAlignValue(n[s]),this._change(null,s);this._refreshValue()}},_setOption:function(e,t){var i,n=0;switch("range"===e&&!0===this.options.range&&("min"===t?(this.options.value=this._values(0),this.options.values=null):"max"===t&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),Array.isArray(this.options.values)&&(n=this.options.values.length),this._super(e,t),e){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(t),this.handles.css("horizontal"===t?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),i=n-1;0<=i;i--)this._change(null,i);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(e){this._super(e),this._toggleClass(null,"ui-state-disabled",!!e)},_value:function(){var e=this.options.value;return this._trimAlignValue(e)},_values:function(e){var t,i,n;if(arguments.length)return t=this.options.values[e],this._trimAlignValue(t);if(this._hasMultipleValues()){for(i=this.options.values.slice(),n=0;n<i.length;n+=1)i[n]=this._trimAlignValue(i[n]);return i}return[]},_trimAlignValue:function(e){var t,i;return e<=this._valueMin()?this._valueMin():e>=this._valueMax()?this._valueMax():(t=0<this.options.step?this.options.step:1,i=e-(e=(e-this._valueMin())%t),2*Math.abs(e)>=t&&(i+=0<e?t:-t),parseFloat(i.toFixed(5)))},_calculateNewMax:function(){var e=this.options.max,t=this._valueMin(),i=this.options.step;(e=Math.round((e-t)/i)*i+t)>this.options.max&&(e-=i),this.max=parseFloat(e.toFixed(this._precision()))},_precision:function(){var e=this._precisionOf(this.options.step);return e=null!==this.options.min?Math.max(e,this._precisionOf(this.options.min)):e},_precisionOf:function(e){var e=e.toString(),t=e.indexOf(".");return-1===t?0:e.length-t-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(e){"vertical"===e&&this.range.css({width:"",left:""}),"horizontal"===e&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var t,i,e,n,s,o=this.options.range,a=this.options,r=this,l=!this._animateOff&&a.animate,c={};this._hasMultipleValues()?this.handles.each(function(e){i=(r.values(e)-r._valueMin())/(r._valueMax()-r._valueMin())*100,c["horizontal"===r.orientation?"left":"bottom"]=i+"%",V(this).stop(1,1)[l?"animate":"css"](c,a.animate),!0===r.options.range&&("horizontal"===r.orientation?(0===e&&r.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},a.animate),1===e&&r.range[l?"animate":"css"]({width:i-t+"%"},{queue:!1,duration:a.animate})):(0===e&&r.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},a.animate),1===e&&r.range[l?"animate":"css"]({height:i-t+"%"},{queue:!1,duration:a.animate}))),t=i}):(e=this.value(),n=this._valueMin(),s=this._valueMax(),i=s!==n?(e-n)/(s-n)*100:0,c["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](c,a.animate),"min"===o&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},a.animate),"max"===o&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:100-i+"%"},a.animate),"min"===o&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},a.animate),"max"===o&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:100-i+"%"},a.animate))},_handleEvents:{keydown:function(e){var t,i,n,s=V(e.target).data("ui-slider-handle-index");switch(e.keyCode){case V.ui.keyCode.HOME:case V.ui.keyCode.END:case V.ui.keyCode.PAGE_UP:case V.ui.keyCode.PAGE_DOWN:case V.ui.keyCode.UP:case V.ui.keyCode.RIGHT:case V.ui.keyCode.DOWN:case V.ui.keyCode.LEFT:if(e.preventDefault(),this._keySliding||(this._keySliding=!0,this._addClass(V(e.target),null,"ui-state-active"),!1!==this._start(e,s)))break;return}switch(n=this.options.step,t=i=this._hasMultipleValues()?this.values(s):this.value(),e.keyCode){case V.ui.keyCode.HOME:i=this._valueMin();break;case V.ui.keyCode.END:i=this._valueMax();break;case V.ui.keyCode.PAGE_UP:i=this._trimAlignValue(t+(this._valueMax()-this._valueMin())/this.numPages);break;case V.ui.keyCode.PAGE_DOWN:i=this._trimAlignValue(t-(this._valueMax()-this._valueMin())/this.numPages);break;case V.ui.keyCode.UP:case V.ui.keyCode.RIGHT:if(t===this._valueMax())return;i=this._trimAlignValue(t+n);break;case V.ui.keyCode.DOWN:case V.ui.keyCode.LEFT:if(t===this._valueMin())return;i=this._trimAlignValue(t-n)}this._slide(e,s,i)},keyup:function(e){var t=V(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,t),this._change(e,t),this._removeClass(V(e.target),null,"ui-state-active"))}}}),V.widget("ui.sortable",V.ui.mouse,{version:"1.13.0",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(e,t,i){return t<=e&&e<t+i},_isFloating:function(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(e,t){this._super(e,t),"handle"===e&&this._setHandleClassName()},_setHandleClassName:function(){var e=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),V.each(this.items,function(){e._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var e=this.items.length-1;0<=e;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,t){var i=null,n=!1,s=this;return!(this.reverting||this.options.disabled||"static"===this.options.type||(this._refreshItems(e),V(e.target).parents().each(function(){if(V.data(this,s.widgetName+"-item")===s)return i=V(this),!1}),!(i=V.data(e.target,s.widgetName+"-item")===s?V(e.target):i))||(this.options.handle&&!t&&(V(this.options.handle,i).find("*").addBack().each(function(){this===e.target&&(n=!0)}),!n)||(this.currentItem=i,this._removeCurrentsFromItems(),0)))},_mouseStart:function(e,t,i){var n,s,o=this.options;if((this.currentContainer=this).refreshPositions(),this.appendTo=V("parent"!==o.appendTo?o.appendTo:this.currentItem.parent()),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},V.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),this.scrollParent=this.placeholder.scrollParent(),V.extend(this.offset,{parent:this._getParentOffset()}),o.containment&&this._setContainment(),o.cursor&&"auto"!==o.cursor&&(s=this.document.find("body"),this.storedCursor=s.css("cursor"),s.css("cursor",o.cursor),this.storedStylesheet=V("<style>*{ cursor: "+o.cursor+" !important; }</style>").appendTo(s)),o.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",o.zIndex)),o.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",o.opacity)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!i)for(n=this.containers.length-1;0<=n;n--)this.containers[n]._trigger("activate",e,this._uiHash(this));return V.ui.ddmanager&&(V.ui.ddmanager.current=this),V.ui.ddmanager&&!o.dropBehaviour&&V.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this.helper.parent().is(this.appendTo)||(this.helper.detach().appendTo(this.appendTo),this.offset.parent=this._getParentOffset()),this.position=this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,this.lastPositionAbs=this.positionAbs=this._convertPositionTo("absolute"),this._mouseDrag(e),!0},_scroll:function(e){var t=this.options,i=!1;return this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<t.scrollSensitivity?this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop+t.scrollSpeed:e.pageY-this.overflowOffset.top<t.scrollSensitivity&&(this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop-t.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<t.scrollSensitivity?this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft+t.scrollSpeed:e.pageX-this.overflowOffset.left<t.scrollSensitivity&&(this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft-t.scrollSpeed)):(e.pageY-this.document.scrollTop()<t.scrollSensitivity?i=this.document.scrollTop(this.document.scrollTop()-t.scrollSpeed):this.window.height()-(e.pageY-this.document.scrollTop())<t.scrollSensitivity&&(i=this.document.scrollTop(this.document.scrollTop()+t.scrollSpeed)),e.pageX-this.document.scrollLeft()<t.scrollSensitivity?i=this.document.scrollLeft(this.document.scrollLeft()-t.scrollSpeed):this.window.width()-(e.pageX-this.document.scrollLeft())<t.scrollSensitivity&&(i=this.document.scrollLeft(this.document.scrollLeft()+t.scrollSpeed))),i},_mouseDrag:function(e){var t,i,n,s,o=this.options;if(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),this._contactContainers(e),null!==this.innermostContainer)for(o.scroll&&!1!==this._scroll(e)&&(this._refreshItemPositions(!0),V.ui.ddmanager)&&!o.dropBehaviour&&V.ui.ddmanager.prepareOffsets(this,e),this.dragDirection={vertical:this._getDragVerticalDirection(),horizontal:this._getDragHorizontalDirection()},t=this.items.length-1;0<=t;t--)if(n=(i=this.items[t]).item[0],(s=this._intersectsWithPointer(i))&&i.instance===this.currentContainer&&!(n===this.currentItem[0]||this.placeholder[1===s?"next":"prev"]()[0]===n||V.contains(this.placeholder[0],n)||"semi-dynamic"===this.options.type&&V.contains(this.element[0],n))){if(this.direction=1===s?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(i))break;this._rearrange(e,i),this._trigger("change",e,this._uiHash());break}return V.ui.ddmanager&&V.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,t){var i,n,s,o;if(e)return V.ui.ddmanager&&!this.options.dropBehaviour&&V.ui.ddmanager.drop(this,e),this.options.revert?(n=(i=this).placeholder.offset(),o={},(s=this.options.axis)&&"x"!==s||(o.left=n.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),s&&"y"!==s||(o.top=n.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,V(this.helper).animate(o,parseInt(this.options.revert,10)||500,function(){i._clear(e)})):this._clear(e,t),!1},cancel:function(){if(this.dragging){this._mouseUp(new V.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var e=this.containers.length-1;0<=e;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),V.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?V(this.domPosition.prev).after(this.currentItem):V(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var e=this._getItemsAsjQuery(t&&t.connected),i=[];return t=t||{},V(e).each(function(){var e=(V(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);e&&i.push((t.key||e[1]+"[]")+"="+(t.key&&t.expression?e[1]:e[2]))}),!i.length&&t.key&&i.push(t.key+"="),i.join("&")},toArray:function(e){var t=this._getItemsAsjQuery(e&&e.connected),i=[];return e=e||{},t.each(function(){i.push(V(e.item||this).attr(e.attribute||"id")||"")}),i},_intersectsWith:function(e){var t=this.positionAbs.left,i=t+this.helperProportions.width,n=this.positionAbs.top,s=n+this.helperProportions.height,o=e.left,a=o+e.width,r=e.top,l=r+e.height,c=this.offset.click.top,h=this.offset.click.left,c="x"===this.options.axis||r<n+c&&n+c<l,h="y"===this.options.axis||o<t+h&&t+h<a;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>e[this.floating?"width":"height"]?c&&h:o<t+this.helperProportions.width/2&&i-this.helperProportions.width/2<a&&r<n+this.helperProportions.height/2&&s-this.helperProportions.height/2<l},_intersectsWithPointer:function(e){var t="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top,e.height),e="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left,e.width);return!(!t||!e)&&(t=this.dragDirection.vertical,e=this.dragDirection.horizontal,this.floating?"right"===e||"down"===t?2:1:t&&("down"===t?2:1))},_intersectsWithSides:function(e){var t=this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top+e.height/2,e.height),e=this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left+e.width/2,e.width),i=this.dragDirection.vertical,n=this.dragDirection.horizontal;return this.floating&&n?"right"===n&&e||"left"===n&&!e:i&&("down"===i&&t||"up"===i&&!t)},_getDragVerticalDirection:function(){var e=this.positionAbs.top-this.lastPositionAbs.top;return 0!=e&&(0<e?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return 0!=e&&(0<e?"right":"left")},refresh:function(e){return this._refreshItems(e),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(e){var t,i,n,s,o=[],a=[],r=this._connectWith();if(r&&e)for(t=r.length-1;0<=t;t--)for(i=(n=V(r[t],this.document[0])).length-1;0<=i;i--)(s=V.data(n[i],this.widgetFullName))&&s!==this&&!s.options.disabled&&a.push(["function"==typeof s.options.items?s.options.items.call(s.element):V(s.options.items,s.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),s]);function l(){o.push(this)}for(a.push(["function"==typeof this.options.items?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):V(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),t=a.length-1;0<=t;t--)a[t][0].each(l);return V(o)},_removeCurrentsFromItems:function(){var i=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=V.grep(this.items,function(e){for(var t=0;t<i.length;t++)if(i[t]===e.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var t,i,n,s,o,a,r,l,c=this.items,h=[["function"==typeof this.options.items?this.options.items.call(this.element[0],e,{item:this.currentItem}):V(this.options.items,this.element),this]],u=this._connectWith();if(u&&this.ready)for(t=u.length-1;0<=t;t--)for(i=(n=V(u[t],this.document[0])).length-1;0<=i;i--)(s=V.data(n[i],this.widgetFullName))&&s!==this&&!s.options.disabled&&(h.push(["function"==typeof s.options.items?s.options.items.call(s.element[0],e,{item:this.currentItem}):V(s.options.items,s.element),s]),this.containers.push(s));for(t=h.length-1;0<=t;t--)for(o=h[t][1],l=(a=h[t][i=0]).length;i<l;i++)(r=V(a[i])).data(this.widgetName+"-item",o),c.push({item:r,instance:o,width:0,height:0,left:0,top:0})},_refreshItemPositions:function(e){for(var t,i,n=this.items.length-1;0<=n;n--)t=this.items[n],this.currentContainer&&t.instance!==this.currentContainer&&t.item[0]!==this.currentItem[0]||(i=this.options.toleranceElement?V(this.options.toleranceElement,t.item):t.item,e||(t.width=i.outerWidth(),t.height=i.outerHeight()),i=i.offset(),t.left=i.left,t.top=i.top)},refreshPositions:function(e){var t,i;if(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),null!==this.innermostContainer&&this._refreshItemPositions(e),this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(t=this.containers.length-1;0<=t;t--)i=this.containers[t].element.offset(),this.containers[t].containerCache.left=i.left,this.containers[t].containerCache.top=i.top,this.containers[t].containerCache.width=this.containers[t].element.outerWidth(),this.containers[t].containerCache.height=this.containers[t].element.outerHeight();return this},_createPlaceholder:function(i){var n,s,o=(i=i||this).options;o.placeholder&&o.placeholder.constructor!==String||(n=o.placeholder,s=i.currentItem[0].nodeName.toLowerCase(),o.placeholder={element:function(){var e=V("<"+s+">",i.document[0]);return i._addClass(e,"ui-sortable-placeholder",n||i.currentItem[0].className)._removeClass(e,"ui-sortable-helper"),"tbody"===s?i._createTrPlaceholder(i.currentItem.find("tr").eq(0),V("<tr>",i.document[0]).appendTo(e)):"tr"===s?i._createTrPlaceholder(i.currentItem,e):"img"===s&&e.attr("src",i.currentItem.attr("src")),n||e.css("visibility","hidden"),e},update:function(e,t){n&&!o.forcePlaceholderSize||(t.height()&&(!o.forcePlaceholderSize||"tbody"!==s&&"tr"!==s)||t.height(i.currentItem.innerHeight()-parseInt(i.currentItem.css("paddingTop")||0,10)-parseInt(i.currentItem.css("paddingBottom")||0,10)),t.width())||t.width(i.currentItem.innerWidth()-parseInt(i.currentItem.css("paddingLeft")||0,10)-parseInt(i.currentItem.css("paddingRight")||0,10))}}),i.placeholder=V(o.placeholder.element.call(i.element,i.currentItem)),i.currentItem.after(i.placeholder),o.placeholder.update(i,i.placeholder)},_createTrPlaceholder:function(e,t){var i=this;e.children().each(function(){V("<td>&#160;</td>",i.document[0]).attr("colspan",V(this).attr("colspan")||1).appendTo(t)})},_contactContainers:function(e){for(var t,i,n,s,o,a,r,l,c,h=null,u=null,d=this.containers.length-1;0<=d;d--)V.contains(this.currentItem[0],this.containers[d].element[0])||(this._intersectsWith(this.containers[d].containerCache)?h&&V.contains(this.containers[d].element[0],h.element[0])||(h=this.containers[d],u=d):this.containers[d].containerCache.over&&(this.containers[d]._trigger("out",e,this._uiHash(this)),this.containers[d].containerCache.over=0));if(this.innermostContainer=h)if(1===this.containers.length)this.containers[u].containerCache.over||(this.containers[u]._trigger("over",e,this._uiHash(this)),this.containers[u].containerCache.over=1);else{for(i=1e4,n=null,s=(l=h.floating||this._isFloating(this.currentItem))?"left":"top",o=l?"width":"height",c=l?"pageX":"pageY",t=this.items.length-1;0<=t;t--)V.contains(this.containers[u].element[0],this.items[t].item[0])&&this.items[t].item[0]!==this.currentItem[0]&&(a=this.items[t].item.offset()[s],r=!1,e[c]-a>this.items[t][o]/2&&(r=!0),Math.abs(e[c]-a)<i)&&(i=Math.abs(e[c]-a),n=this.items[t],this.direction=r?"up":"down");(n||this.options.dropOnEmpty)&&(this.currentContainer===this.containers[u]?this.currentContainer.containerCache.over||(this.containers[u]._trigger("over",e,this._uiHash()),this.currentContainer.containerCache.over=1):(n?this._rearrange(e,n,null,!0):this._rearrange(e,null,this.containers[u].element,!0),this._trigger("change",e,this._uiHash()),this.containers[u]._trigger("change",e,this._uiHash(this)),this.currentContainer=this.containers[u],this.options.placeholder.update(this.currentContainer,this.placeholder),this.scrollParent=this.placeholder.scrollParent(),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this.containers[u]._trigger("over",e,this._uiHash(this)),this.containers[u].containerCache.over=1))}},_createHelper:function(e){var t=this.options,e="function"==typeof t.helper?V(t.helper.apply(this.element[0],[e,this.currentItem])):"clone"===t.helper?this.currentItem.clone():this.currentItem;return e.parents("body").length||this.appendTo[0].appendChild(e[0]),e[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),e[0].style.width&&!t.forceHelperSize||e.width(this.currentItem.width()),e[0].style.height&&!t.forceHelperSize||e.height(this.currentItem.height()),e},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),"left"in(e=Array.isArray(e)?{left:+e[0],top:+e[1]||0}:e)&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&V.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),{top:(e=this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&V.ui.ie?{top:0,left:0}:e).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){var e;return"relative"===this.cssPosition?{top:(e=this.currentItem.position()).top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}:{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,t,i=this.options;"parent"===i.containment&&(i.containment=this.helper[0].parentNode),"document"!==i.containment&&"window"!==i.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===i.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===i.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||(e=V(i.containment)[0],i=V(i.containment).offset(),t="hidden"!==V(e).css("overflow"),this.containment=[i.left+(parseInt(V(e).css("borderLeftWidth"),10)||0)+(parseInt(V(e).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(V(e).css("borderTopWidth"),10)||0)+(parseInt(V(e).css("paddingTop"),10)||0)-this.margins.top,i.left+(t?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(V(e).css("borderLeftWidth"),10)||0)-(parseInt(V(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(t?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(V(e).css("borderTopWidth"),10)||0)-(parseInt(V(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,t){t=t||this.position;var e="absolute"===e?1:-1,i="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&V.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,n=/(html|body)/i.test(i[0].tagName);return{top:t.top+this.offset.relative.top*e+this.offset.parent.top*e-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():n?0:i.scrollTop())*e,left:t.left+this.offset.relative.left*e+this.offset.parent.left*e-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():n?0:i.scrollLeft())*e}},_generatePosition:function(e){var t=this.options,i=e.pageX,n=e.pageY,s="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&V.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(s[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(i=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(n=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(i=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3])&&(n=this.containment[3]+this.offset.click.top),t.grid)&&(e=this.originalPageY+Math.round((n-this.originalPageY)/t.grid[1])*t.grid[1],n=!this.containment||e-this.offset.click.top>=this.containment[1]&&e-this.offset.click.top<=this.containment[3]?e:e-this.offset.click.top>=this.containment[1]?e-t.grid[1]:e+t.grid[1],e=this.originalPageX+Math.round((i-this.originalPageX)/t.grid[0])*t.grid[0],i=!this.containment||e-this.offset.click.left>=this.containment[0]&&e-this.offset.click.left<=this.containment[2]?e:e-this.offset.click.left>=this.containment[0]?e-t.grid[0]:e+t.grid[0]),{top:n-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():o?0:s.scrollTop()),left:i-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():o?0:s.scrollLeft())}},_rearrange:function(e,t,i,n){i?i[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var s=this.counter;this._delay(function(){s===this.counter&&this.refreshPositions(!n)})},_clear:function(e,t){this.reverting=!1;var i,n=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)"auto"!==this._storedCSS[i]&&"static"!==this._storedCSS[i]||(this._storedCSS[i]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function s(t,i,n){return function(e){n._trigger(t,e,i._uiHash(i))}}for(this.fromOutside&&!t&&n.push(function(e){this._trigger("receive",e,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||t||n.push(function(e){this._trigger("update",e,this._uiHash())}),this===this.currentContainer||t||(n.push(function(e){this._trigger("remove",e,this._uiHash())}),n.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),n.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer))),i=this.containers.length-1;0<=i;i--)t||n.push(s("deactivate",this,this.containers[i])),this.containers[i].containerCache.over&&(n.push(s("out",this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,t||this._trigger("beforeStop",e,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!t){for(i=0;i<n.length;i++)n[i].call(this,e);this._trigger("stop",e,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===V.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(e){var t=e||this;return{helper:t.helper,placeholder:t.placeholder||V([]),position:t.position,originalPosition:t.originalPosition,offset:t.positionAbs,item:t.currentItem,sender:e?e.element:null}}});function $(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}V.widget("ui.spinner",{version:"1.13.0",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var n=this._super(),s=this.element;return V.each(["min","max","step"],function(e,t){var i=s.attr(t);null!=i&&i.length&&(n[t]=i)}),n},_events:{keydown:function(e){this._start(e)&&this._keydown(e)&&e.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(e){this.cancelBlur?delete this.cancelBlur:(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",e))},mousewheel:function(e,t){var i=V.ui.safeActiveElement(this.document[0]);if(this.element[0]===i&&t){if(!this.spinning&&!this._start(e))return!1;this._spin((0<t?1:-1)*this.options.step,e),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(e)},100),e.preventDefault()}},"mousedown .ui-spinner-button":function(e){var t;function i(){this.element[0]!==V.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=t,this._delay(function(){this.previous=t}))}t=this.element[0]===V.ui.safeActiveElement(this.document[0])?this.previous:this.element.val(),e.preventDefault(),i.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,i.call(this)}),!1!==this._start(e)&&this._repeat(null,V(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){if(V(e.currentTarget).hasClass("ui-state-active"))return!1!==this._start(e)&&void this._repeat(null,V(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&0<this.uiSpinner.height()&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(e){var t=this.options,i=V.ui.keyCode;switch(e.keyCode){case i.UP:return this._repeat(null,1,e),!0;case i.DOWN:return this._repeat(null,-1,e),!0;case i.PAGE_UP:return this._repeat(null,t.page,e),!0;case i.PAGE_DOWN:return this._repeat(null,-t.page,e),!0}return!1},_start:function(e){return!(!this.spinning&&!1===this._trigger("start",e))&&(this.counter||(this.counter=1),this.spinning=!0)},_repeat:function(e,t,i){e=e||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,t,i)},e),this._spin(t*this.options.step,i)},_spin:function(e,t){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+e*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",t,{value:i})||(this._value(i),this.counter++)},_increment:function(e){var t=this.options.incremental;return t?"function"==typeof t?t(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var e=this._precisionOf(this.options.step);return e=null!==this.options.min?Math.max(e,this._precisionOf(this.options.min)):e},_precisionOf:function(e){var e=e.toString(),t=e.indexOf(".");return-1===t?0:e.length-t-1},_adjustValue:function(e){var t=this.options,i=null!==t.min?t.min:0,n=e-i;return e=i+Math.round(n/t.step)*t.step,e=parseFloat(e.toFixed(this._precision())),null!==t.max&&e>t.max?t.max:null!==t.min&&e<t.min?t.min:e},_stop:function(e){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",e))},_setOption:function(e,t){var i;"culture"===e||"numberFormat"===e?(i=this._parse(this.element.val()),this.options[e]=t,this.element.val(this._format(i))):("max"!==e&&"min"!==e&&"step"!==e||"string"==typeof t&&(t=this._parse(t)),"icons"===e&&(i=this.buttons.first().find(".ui-icon"),this._removeClass(i,null,this.options.icons.up),this._addClass(i,null,t.up),i=this.buttons.last().find(".ui-icon"),this._removeClass(i,null,this.options.icons.down),this._addClass(i,null,t.down)),this._super(e,t))},_setOptionDisabled:function(e){this._super(e),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!e),this.element.prop("disabled",!!e),this.buttons.button(e?"disable":"enable")},_setOptions:$(function(e){this._super(e)}),_parse:function(e){return""===(e="string"==typeof e&&""!==e?window.Globalize&&this.options.numberFormat?Globalize.parseFloat(e,10,this.options.culture):+e:e)||isNaN(e)?null:e},_format:function(e){return""===e?"":window.Globalize&&this.options.numberFormat?Globalize.format(e,this.options.numberFormat,this.options.culture):e},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var e=this.value();return null!==e&&e===this._adjustValue(e)},_value:function(e,t){var i;""!==e&&null!==(i=this._parse(e))&&(t||(i=this._adjustValue(i)),e=this._format(i)),this.element.val(e),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:$(function(e){this._stepUp(e)}),_stepUp:function(e){this._start()&&(this._spin((e||1)*this.options.step),this._stop())},stepDown:$(function(e){this._stepDown(e)}),_stepDown:function(e){this._start()&&(this._spin((e||1)*-this.options.step),this._stop())},pageUp:$(function(e){this._stepUp((e||1)*this.options.page)}),pageDown:$(function(e){this._stepDown((e||1)*this.options.page)}),value:function(e){if(!arguments.length)return this._parse(this.element.val());$(this._value).call(this,e)},widget:function(){return this.uiSpinner}}),!1!==V.uiBackCompat&&V.widget("ui.spinner",V.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}});var N;V.ui.spinner,V.widget("ui.tabs",{version:"1.13.0",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:(N=/#.*$/,function(e){var t=e.href.replace(N,""),i=location.href.replace(N,"");try{t=decodeURIComponent(t)}catch(e){}try{i=decodeURIComponent(i)}catch(e){}return 1<e.hash.length&&t===i}),_create:function(){var t=this,e=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,e.collapsible),this._processTabs(),e.active=this._initialActive(),Array.isArray(e.disabled)&&(e.disabled=V.uniqueSort(e.disabled.concat(V.map(this.tabs.filter(".ui-state-disabled"),function(e){return t.tabs.index(e)}))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(e.active):this.active=V(),this._refresh(),this.active.length&&this.load(e.active)},_initialActive:function(){var i=this.options.active,e=this.options.collapsible,n=location.hash.substring(1);return null===i&&(n&&this.tabs.each(function(e,t){if(V(t).attr("aria-controls")===n)return i=e,!1}),null!==(i=null===i?this.tabs.index(this.tabs.filter(".ui-tabs-active")):i)&&-1!==i||(i=!!this.tabs.length&&0)),!1!==i&&-1===(i=this.tabs.index(this.tabs.eq(i)))&&(i=!e&&0),i=!e&&!1===i&&this.anchors.length?0:i},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):V()}},_tabKeydown:function(e){var t=V(V.ui.safeActiveElement(this.document[0])).closest("li"),i=this.tabs.index(t),n=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case V.ui.keyCode.RIGHT:case V.ui.keyCode.DOWN:i++;break;case V.ui.keyCode.UP:case V.ui.keyCode.LEFT:n=!1,i--;break;case V.ui.keyCode.END:i=this.anchors.length-1;break;case V.ui.keyCode.HOME:i=0;break;case V.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),void this._activate(i);case V.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),void this._activate(i!==this.options.active&&i);default:return}e.preventDefault(),clearTimeout(this.activating),i=this._focusNextTab(i,n),e.ctrlKey||e.metaKey||(t.attr("aria-selected","false"),this.tabs.eq(i).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",i)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===V.ui.keyCode.UP&&(e.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(e){return e.altKey&&e.keyCode===V.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===V.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,t){var i=this.tabs.length-1;for(;-1!==V.inArray(e=(e=i<e?0:e)<0?i:e,this.options.disabled);)e=t?e+1:e-1;return e},_focusNextTab:function(e,t){return e=this._findNextTab(e,t),this.tabs.eq(e).trigger("focus"),e},_setOption:function(e,t){"active"===e?this._activate(t):(this._super(e,t),"collapsible"===e&&(this._toggleClass("ui-tabs-collapsible",null,t),t||!1!==this.options.active||this._activate(0)),"event"===e&&this._setupEvents(t),"heightStyle"===e&&this._setupHeightStyle(t))},_sanitizeSelector:function(e){return e?e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,t=this.tablist.children(":has(a[href])");e.disabled=V.map(t.filter(".ui-state-disabled"),function(e){return t.index(e)}),this._processTabs(),!1!==e.active&&this.anchors.length?this.active.length&&!V.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=V()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=V()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var l=this,e=this.tabs,t=this.anchors,i=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(e){V(this).is(".ui-state-disabled")&&e.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){V(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return V("a",this)[0]}).attr({tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=V(),this.anchors.each(function(e,t){var i,n,s,o=V(t).uniqueId().attr("id"),a=V(t).closest("li"),r=a.attr("aria-controls");l._isLocal(t)?(s=(i=t.hash).substring(1),n=l.element.find(l._sanitizeSelector(i))):(s=a.attr("aria-controls")||V({}).uniqueId()[0].id,(n=l.element.find(i="#"+s)).length||(n=l._createPanel(s)).insertAfter(l.panels[e-1]||l.tablist),n.attr("aria-live","polite")),n.length&&(l.panels=l.panels.add(n)),r&&a.data("ui-tabs-aria-controls",r),a.attr({"aria-controls":s,"aria-labelledby":o}),n.attr("aria-labelledby",o)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),e&&(this._off(e.not(this.tabs)),this._off(t.not(this.anchors)),this._off(i.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(e){return V("<div>").attr("id",e).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(e){var t,i;for(Array.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1),i=0;t=this.tabs[i];i++)t=V(t),!0===e||-1!==V.inArray(i,e)?(t.attr("aria-disabled","true"),this._addClass(t,null,"ui-state-disabled")):(t.removeAttr("aria-disabled"),this._removeClass(t,null,"ui-state-disabled"));this.options.disabled=e,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===e)},_setupEvents:function(e){var i={};e&&V.each(e.split(" "),function(e,t){i[t]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(e){e.preventDefault()}}),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var i,t=this.element.parent();"fill"===e?(i=t.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=V(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(i-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=V(this).outerHeight(!0)}),this.panels.each(function(){V(this).height(Math.max(0,i-V(this).innerHeight()+V(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.panels.each(function(){i=Math.max(i,V(this).height("").height())}).height(i))},_eventHandler:function(e){var t=this.options,i=this.active,n=V(e.currentTarget).closest("li"),s=n[0]===i[0],o=s&&t.collapsible,a=o?V():this._getPanelForTab(n),r=i.length?this._getPanelForTab(i):V(),i={oldTab:i,oldPanel:r,newTab:o?V():n,newPanel:a};e.preventDefault(),n.hasClass("ui-state-disabled")||n.hasClass("ui-tabs-loading")||this.running||s&&!t.collapsible||!1===this._trigger("beforeActivate",e,i)||(t.active=!o&&this.tabs.index(n),this.active=s?V():n,this.xhr&&this.xhr.abort(),r.length||a.length||V.error("jQuery UI Tabs: Mismatching fragment identifier."),a.length&&this.load(this.tabs.index(n),e),this._toggle(e,i))},_toggle:function(e,t){var i=this,n=t.newPanel,s=t.oldPanel;function o(){i.running=!1,i._trigger("activate",e,t)}function a(){i._addClass(t.newTab.closest("li"),"ui-tabs-active","ui-state-active"),n.length&&i.options.show?i._show(n,i.options.show,o):(n.show(),o())}this.running=!0,s.length&&this.options.hide?this._hide(s,this.options.hide,function(){i._removeClass(t.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),a()}):(this._removeClass(t.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),s.hide(),a()),s.attr("aria-hidden","true"),t.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),n.length&&s.length?t.oldTab.attr("tabIndex",-1):n.length&&this.tabs.filter(function(){return 0===V(this).attr("tabIndex")}).attr("tabIndex",-1),n.attr("aria-hidden","false"),t.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(e){var e=this._findActive(e);e[0]!==this.active[0]&&(e=(e=e.length?e:this.active).find(".ui-tabs-anchor")[0],this._eventHandler({target:e,currentTarget:e,preventDefault:V.noop}))},_findActive:function(e){return!1===e?V():this.tabs.eq(e)},_getIndex:function(e){return e="string"==typeof e?this.anchors.index(this.anchors.filter("[href$='"+V.escapeSelector(e)+"']")):e},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){V.data(this,"ui-tabs-destroy")?V(this).remove():V(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var e=V(this),t=e.data("ui-tabs-aria-controls");t?e.attr("aria-controls",t).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var e=this.options.disabled;!1!==e&&(e=void 0!==i&&(i=this._getIndex(i),Array.isArray(e)?V.map(e,function(e){return e!==i?e:null}):V.map(this.tabs,function(e,t){return t!==i?t:null})),this._setOptionDisabled(e))},disable:function(e){var t=this.options.disabled;if(!0!==t){if(void 0===e)t=!0;else{if(e=this._getIndex(e),-1!==V.inArray(e,t))return;t=Array.isArray(t)?V.merge([e],t).sort():[e]}this._setOptionDisabled(t)}},load:function(e,n){e=this._getIndex(e);function s(e,t){"abort"===t&&o.panels.stop(!1,!0),o._removeClass(i,"ui-tabs-loading"),a.removeAttr("aria-busy"),e===o.xhr&&delete o.xhr}var o=this,i=this.tabs.eq(e),e=i.find(".ui-tabs-anchor"),a=this._getPanelForTab(i),r={tab:i,panel:a};this._isLocal(e[0])||(this.xhr=V.ajax(this._ajaxSettings(e,n,r)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(i,"ui-tabs-loading"),a.attr("aria-busy","true"),this.xhr.done(function(e,t,i){setTimeout(function(){a.html(e),o._trigger("load",n,r),s(i,t)},1)}).fail(function(e,t){setTimeout(function(){s(e,t)},1)})))},_ajaxSettings:function(e,i,n){var s=this;return{url:e.attr("href").replace(/#.*$/,""),beforeSend:function(e,t){return s._trigger("beforeLoad",i,V.extend({jqXHR:e,ajaxSettings:t},n))}}},_getPanelForTab:function(e){e=V(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+e))}}),!1!==V.uiBackCompat&&V.widget("ui.tabs",V.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}}),V.ui.tabs,V.widget("ui.tooltip",{version:"1.13.0",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var e=V(this).attr("title");return V("<a>").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(e,t){var i=(e.attr("aria-describedby")||"").split(/\s+/);i.push(t),e.data("ui-tooltip-id",t).attr("aria-describedby",String.prototype.trim.call(i.join(" ")))},_removeDescribedBy:function(e){var t=e.data("ui-tooltip-id"),i=(e.attr("aria-describedby")||"").split(/\s+/),t=V.inArray(t,i);-1!==t&&i.splice(t,1),e.removeData("ui-tooltip-id"),(i=String.prototype.trim.call(i.join(" ")))?e.attr("aria-describedby",i):e.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=V("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=V([])},_setOption:function(e,t){var i=this;this._super(e,t),"content"===e&&V.each(this.tooltips,function(e,t){i._updateContent(t.element)})},_setOptionDisabled:function(e){this[e?"_disable":"_enable"]()},_disable:function(){var n=this;V.each(this.tooltips,function(e,t){var i=V.Event("blur");i.target=i.currentTarget=t.element[0],n.close(i,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var e=V(this);if(e.is("[title]"))return e.data("ui-tooltip-title",e.attr("title")).removeAttr("title")}))},_enable:function(){this.disabledTitles.each(function(){var e=V(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))}),this.disabledTitles=V([])},open:function(e){var i=this,t=V(e?e.target:this.element).closest(this.options.items);t.length&&!t.data("ui-tooltip-id")&&(t.attr("title")&&t.data("ui-tooltip-title",t.attr("title")),t.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&t.parents().each(function(){var e,t=V(this);t.data("ui-tooltip-open")&&((e=V.Event("blur")).target=e.currentTarget=this,i.close(e,!0)),t.attr("title")&&(t.uniqueId(),i.parents[this.id]={element:this,title:t.attr("title")},t.attr("title",""))}),this._registerCloseHandlers(e,t),this._updateContent(t,e))},_updateContent:function(t,i){var e=this.options.content,n=this,s=i?i.type:null;if("string"==typeof e||e.nodeType||e.jquery)return this._open(i,t,e);(e=e.call(t[0],function(e){n._delay(function(){t.data("ui-tooltip-open")&&(i&&(i.type=s),this._open(i,t,e))})}))&&this._open(i,t,e)},_open:function(e,t,i){var n,s,o,a=V.extend({},this.options.position);function r(e){a.of=e,n.is(":hidden")||n.position(a)}i&&((o=this._find(t))?o.tooltip.find(".ui-tooltip-content").html(i):(t.is("[title]")&&(e&&"mouseover"===e.type?t.attr("title",""):t.removeAttr("title")),o=this._tooltip(t),n=o.tooltip,this._addDescribedBy(t,n.attr("id")),n.find(".ui-tooltip-content").html(i),this.liveRegion.children().hide(),(o=V("<div>").html(n.find(".ui-tooltip-content").html())).removeAttr("name").find("[name]").removeAttr("name"),o.removeAttr("id").find("[id]").removeAttr("id"),o.appendTo(this.liveRegion),this.options.track&&e&&/^mouse/.test(e.type)?(this._on(this.document,{mousemove:r}),r(e)):n.position(V.extend({of:t},this.options.position)),n.hide(),this._show(n,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(s=this.delayedShow=setInterval(function(){n.is(":visible")&&(r(a.of),clearInterval(s))},13)),this._trigger("open",e,{tooltip:n})))},_registerCloseHandlers:function(e,t){var i={keyup:function(e){e.keyCode===V.ui.keyCode.ESCAPE&&((e=V.Event(e)).currentTarget=t[0],this.close(e,!0))}};t[0]!==this.element[0]&&(i.remove=function(){this._removeTooltip(this._find(t).tooltip)}),e&&"mouseover"!==e.type||(i.mouseleave="close"),e&&"focusin"!==e.type||(i.focusout="close"),this._on(!0,t,i)},close:function(e){var t,i=this,n=V(e?e.currentTarget:this.element),s=this._find(n);s?(t=s.tooltip,s.closing||(clearInterval(this.delayedShow),n.data("ui-tooltip-title")&&!n.attr("title")&&n.attr("title",n.data("ui-tooltip-title")),this._removeDescribedBy(n),s.hiding=!0,t.stop(!0),this._hide(t,this.options.hide,function(){i._removeTooltip(V(this))}),n.removeData("ui-tooltip-open"),this._off(n,"mouseleave focusout keyup"),n[0]!==this.element[0]&&this._off(n,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&V.each(this.parents,function(e,t){V(t.element).attr("title",t.title),delete i.parents[e]}),s.closing=!0,this._trigger("close",e,{tooltip:t}),s.hiding)||(s.closing=!1)):n.removeData("ui-tooltip-open")},_tooltip:function(e){var t=V("<div>").attr("role","tooltip"),i=V("<div>").appendTo(t),n=t.uniqueId().attr("id");return this._addClass(i,"ui-tooltip-content"),this._addClass(t,"ui-tooltip","ui-widget ui-widget-content"),t.appendTo(this._appendTo(e)),this.tooltips[n]={element:e,tooltip:t}},_find:function(e){e=e.data("ui-tooltip-id");return e?this.tooltips[e]:null},_removeTooltip:function(e){clearInterval(this.delayedShow),e.remove(),delete this.tooltips[e.attr("id")]},_appendTo:function(e){e=e.closest(".ui-front, dialog");return e=e.length?e:this.document[0].body},_destroy:function(){var n=this;V.each(this.tooltips,function(e,t){var i=V.Event("blur"),t=t.element;i.target=i.currentTarget=t[0],n.close(i,!0),V("#"+e).remove(),t.data("ui-tooltip-title")&&(t.attr("title")||t.attr("title",t.data("ui-tooltip-title")),t.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),!1!==V.uiBackCompat&&V.widget("ui.tooltip",V.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var e=this._superApply(arguments);return this.options.tooltipClass&&e.tooltip.addClass(this.options.tooltipClass),e}}),V.ui.tooltip}),function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(c){"use strict";var n,o=window.Slick||{};n=0,(o=function(e,t){var i=this;i.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:c(e),appendDots:c(e),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return c('<button type="button" />').text(t+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},i.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},c.extend(i,i.initials),i.activeBreakpoint=null,i.animType=null,i.animProp=null,i.breakpoints=[],i.breakpointSettings=[],i.cssTransitions=!1,i.focussed=!1,i.interrupted=!1,i.hidden="hidden",i.paused=!0,i.positionProp=null,i.respondTo=null,i.rowCount=1,i.shouldClick=!0,i.$slider=c(e),i.$slidesCache=null,i.transformType=null,i.transitionType=null,i.visibilityChange="visibilitychange",i.windowWidth=0,i.windowTimer=null,e=c(e).data("slick")||{},i.options=c.extend({},i.defaults,t,e),i.currentSlide=i.options.initialSlide,i.originalSettings=i.options,void 0!==document.mozHidden?(i.hidden="mozHidden",i.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(i.hidden="webkitHidden",i.visibilityChange="webkitvisibilitychange"),i.autoPlay=c.proxy(i.autoPlay,i),i.autoPlayClear=c.proxy(i.autoPlayClear,i),i.autoPlayIterator=c.proxy(i.autoPlayIterator,i),i.changeSlide=c.proxy(i.changeSlide,i),i.clickHandler=c.proxy(i.clickHandler,i),i.selectHandler=c.proxy(i.selectHandler,i),i.setPosition=c.proxy(i.setPosition,i),i.swipeHandler=c.proxy(i.swipeHandler,i),i.dragHandler=c.proxy(i.dragHandler,i),i.keyHandler=c.proxy(i.keyHandler,i),i.instanceUid=n++,i.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,i.registerBreakpoints(),i.init(!0)}).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},o.prototype.addSlide=o.prototype.slickAdd=function(e,t,i){var n=this;if("boolean"==typeof t)i=t,t=null;else if(t<0||t>=n.slideCount)return!1;n.unload(),"number"==typeof t?0===t&&0===n.$slides.length?c(e).appendTo(n.$slideTrack):i?c(e).insertBefore(n.$slides.eq(t)):c(e).insertAfter(n.$slides.eq(t)):!0===i?c(e).prependTo(n.$slideTrack):c(e).appendTo(n.$slideTrack),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slides.each(function(e,t){c(t).attr("data-slick-index",e)}),n.$slidesCache=n.$slides,n.reinit()},o.prototype.animateHeight=function(){var e;1===this.options.slidesToShow&&!0===this.options.adaptiveHeight&&!1===this.options.vertical&&(e=this.$slides.eq(this.currentSlide).outerHeight(!0),this.$list.animate({height:e},this.options.speed))},o.prototype.animateSlide=function(e,t){var i={},n=this;n.animateHeight(),!0===n.options.rtl&&!1===n.options.vertical&&(e=-e),!1===n.transformsEnabled?!1===n.options.vertical?n.$slideTrack.animate({left:e},n.options.speed,n.options.easing,t):n.$slideTrack.animate({top:e},n.options.speed,n.options.easing,t):!1===n.cssTransitions?(!0===n.options.rtl&&(n.currentLeft=-n.currentLeft),c({animStart:n.currentLeft}).animate({animStart:e},{duration:n.options.speed,easing:n.options.easing,step:function(e){e=Math.ceil(e),!1===n.options.vertical?i[n.animType]="translate("+e+"px, 0px)":i[n.animType]="translate(0px,"+e+"px)",n.$slideTrack.css(i)},complete:function(){t&&t.call()}})):(n.applyTransition(),e=Math.ceil(e),!1===n.options.vertical?i[n.animType]="translate3d("+e+"px, 0px, 0px)":i[n.animType]="translate3d(0px,"+e+"px, 0px)",n.$slideTrack.css(i),t&&setTimeout(function(){n.disableTransition(),t.call()},n.options.speed))},o.prototype.getNavTarget=function(){var e=this.options.asNavFor;return e=e&&null!==e?c(e).not(this.$slider):e},o.prototype.asNavFor=function(t){var e=this.getNavTarget();null!==e&&"object"==typeof e&&e.each(function(){var e=c(this).slick("getSlick");e.unslicked||e.slideHandler(t,!0)})},o.prototype.applyTransition=function(e){var t=this,i={};!1===t.options.fade?i[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:i[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,(!1===t.options.fade?t.$slideTrack:t.$slides.eq(e)).css(i)},o.prototype.autoPlay=function(){this.autoPlayClear(),this.slideCount>this.options.slidesToShow&&(this.autoPlayTimer=setInterval(this.autoPlayIterator,this.options.autoplaySpeed))},o.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},o.prototype.autoPlayIterator=function(){var e=this,t=e.currentSlide+e.options.slidesToScroll;e.paused||e.interrupted||e.focussed||(!1===e.options.infinite&&(1===e.direction&&e.currentSlide+1===e.slideCount-1?e.direction=0:0===e.direction&&(t=e.currentSlide-e.options.slidesToScroll,e.currentSlide-1==0)&&(e.direction=1)),e.slideHandler(t))},o.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=c(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=c(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},o.prototype.buildDots=function(){var e,t;if(!0===this.options.dots){for(this.$slider.addClass("slick-dotted"),t=c("<ul />").addClass(this.options.dotsClass),e=0;e<=this.getDotCount();e+=1)t.append(c("<li />").append(this.options.customPaging.call(this,this,e)));this.$dots=t.appendTo(this.options.appendDots),this.$dots.find("li").first().addClass("slick-active")}},o.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,t){c(t).attr("data-slick-index",e).data("originalStyling",c(t).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?c('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),c("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},o.prototype.buildRows=function(){var e,t,i,n=this,s=document.createDocumentFragment(),o=n.$slider.children();if(1<n.options.rows){for(i=n.options.slidesPerRow*n.options.rows,t=Math.ceil(o.length/i),e=0;e<t;e++){for(var a=document.createElement("div"),r=0;r<n.options.rows;r++){for(var l=document.createElement("div"),c=0;c<n.options.slidesPerRow;c++){var h=e*i+(r*n.options.slidesPerRow+c);o.get(h)&&l.appendChild(o.get(h))}a.appendChild(l)}s.appendChild(a)}n.$slider.empty().append(s),n.$slider.children().children().children().css({width:100/n.options.slidesPerRow+"%",display:"inline-block"})}},o.prototype.checkResponsive=function(e,t){var i,n,s,o=this,a=!1,r=o.$slider.width(),l=window.innerWidth||c(window).width();if("window"===o.respondTo?s=l:"slider"===o.respondTo?s=r:"min"===o.respondTo&&(s=Math.min(l,r)),o.options.responsive&&o.options.responsive.length&&null!==o.options.responsive){for(i in n=null,o.breakpoints)o.breakpoints.hasOwnProperty(i)&&(!1===o.originalSettings.mobileFirst?s<o.breakpoints[i]&&(n=o.breakpoints[i]):s>o.breakpoints[i]&&(n=o.breakpoints[i]));null!==n?null!==o.activeBreakpoint&&n===o.activeBreakpoint&&!t||(o.activeBreakpoint=n,"unslick"===o.breakpointSettings[n]?o.unslick(n):(o.options=c.extend({},o.originalSettings,o.breakpointSettings[n]),!0===e&&(o.currentSlide=o.options.initialSlide),o.refresh(e)),a=n):null!==o.activeBreakpoint&&(o.activeBreakpoint=null,o.options=o.originalSettings,!0===e&&(o.currentSlide=o.options.initialSlide),o.refresh(e),a=n),e||!1===a||o.$slider.trigger("breakpoint",[o,a])}},o.prototype.changeSlide=function(e,t){var i,n=this,s=c(e.currentTarget);switch(s.is("a")&&e.preventDefault(),s.is("li")||(s=s.closest("li")),i=n.slideCount%n.options.slidesToScroll!=0?0:(n.slideCount-n.currentSlide)%n.options.slidesToScroll,e.data.message){case"previous":o=0==i?n.options.slidesToScroll:n.options.slidesToShow-i,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide-o,!1,t);break;case"next":o=0==i?n.options.slidesToScroll:i,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide+o,!1,t);break;case"index":var o=0===e.data.index?0:e.data.index||s.index()*n.options.slidesToScroll;n.slideHandler(n.checkNavigable(o),!1,t),s.children().trigger("focus");break;default:return}},o.prototype.checkNavigable=function(e){var t=this.getNavigableIndexes(),i=0;if(e>t[t.length-1])e=t[t.length-1];else for(var n in t){if(e<t[n]){e=i;break}i=t[n]}return e},o.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(c("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",c.proxy(e.interrupt,e,!0)).off("mouseleave.slick",c.proxy(e.interrupt,e,!1)),!0===e.options.accessibility)&&e.$dots.off("keydown.slick",e.keyHandler),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),!0===e.options.accessibility)&&(e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler),e.$nextArrow)&&e.$nextArrow.off("keydown.slick",e.keyHandler),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),c(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&c(e.$slideTrack).children().off("click.slick",e.selectHandler),c(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),c(window).off("resize.slick.slick-"+e.instanceUid,e.resize),c("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),c(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},o.prototype.cleanUpSlideEvents=function(){this.$list.off("mouseenter.slick",c.proxy(this.interrupt,this,!0)),this.$list.off("mouseleave.slick",c.proxy(this.interrupt,this,!1))},o.prototype.cleanUpRows=function(){var e;1<this.options.rows&&((e=this.$slides.children().children()).removeAttr("style"),this.$slider.empty().append(e))},o.prototype.clickHandler=function(e){!1===this.shouldClick&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},o.prototype.destroy=function(e){var t=this;t.autoPlayClear(),t.touchObject={},t.cleanUpEvents(),c(".slick-cloned",t.$slider).detach(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.$prevArrow.length&&(t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.prevArrow))&&t.$prevArrow.remove(),t.$nextArrow&&t.$nextArrow.length&&(t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.nextArrow))&&t.$nextArrow.remove(),t.$slides&&(t.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){c(this).attr("style",c(this).data("originalStyling"))}),t.$slideTrack.children(this.options.slide).detach(),t.$slideTrack.detach(),t.$list.detach(),t.$slider.append(t.$slides)),t.cleanUpRows(),t.$slider.removeClass("slick-slider"),t.$slider.removeClass("slick-initialized"),t.$slider.removeClass("slick-dotted"),t.unslicked=!0,e||t.$slider.trigger("destroy",[t])},o.prototype.disableTransition=function(e){var t={};t[this.transitionType]="",(!1===this.options.fade?this.$slideTrack:this.$slides.eq(e)).css(t)},o.prototype.fadeSlide=function(e,t){var i=this;!1===i.cssTransitions?(i.$slides.eq(e).css({zIndex:i.options.zIndex}),i.$slides.eq(e).animate({opacity:1},i.options.speed,i.options.easing,t)):(i.applyTransition(e),i.$slides.eq(e).css({opacity:1,zIndex:i.options.zIndex}),t&&setTimeout(function(){i.disableTransition(e),t.call()},i.options.speed))},o.prototype.fadeSlideOut=function(e){!1===this.cssTransitions?this.$slides.eq(e).animate({opacity:0,zIndex:this.options.zIndex-2},this.options.speed,this.options.easing):(this.applyTransition(e),this.$slides.eq(e).css({opacity:0,zIndex:this.options.zIndex-2}))},o.prototype.filterSlides=o.prototype.slickFilter=function(e){null!==e&&(this.$slidesCache=this.$slides,this.unload(),this.$slideTrack.children(this.options.slide).detach(),this.$slidesCache.filter(e).appendTo(this.$slideTrack),this.reinit())},o.prototype.focusHandler=function(){var i=this;i.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(e){e.stopImmediatePropagation();var t=c(this);setTimeout(function(){i.options.pauseOnFocus&&(i.focussed=t.is(":focus"),i.autoPlay())},0)})},o.prototype.getCurrent=o.prototype.slickCurrentSlide=function(){return this.currentSlide},o.prototype.getDotCount=function(){var e=this,t=0,i=0,n=0;if(!0===e.options.infinite)if(e.slideCount<=e.options.slidesToShow)++n;else for(;t<e.slideCount;)++n,t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else if(!0===e.options.centerMode)n=e.slideCount;else if(e.options.asNavFor)for(;t<e.slideCount;)++n,t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else n=1+Math.ceil((e.slideCount-e.options.slidesToShow)/e.options.slidesToScroll);return n-1},o.prototype.getLeft=function(e){var t,i,n=this,s=0;return n.slideOffset=0,t=n.$slides.first().outerHeight(!0),!0===n.options.infinite?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,i=-1,!0===n.options.vertical&&!0===n.options.centerMode&&(2===n.options.slidesToShow?i=-1.5:1===n.options.slidesToShow&&(i=-2)),s=t*n.options.slidesToShow*i),n.slideCount%n.options.slidesToScroll!=0&&e+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(s=e>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(e-n.slideCount))*n.slideWidth*-1,(n.options.slidesToShow-(e-n.slideCount))*t*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,n.slideCount%n.options.slidesToScroll*t*-1))):e+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(e+n.options.slidesToShow-n.slideCount)*n.slideWidth,s=(e+n.options.slidesToShow-n.slideCount)*t),n.slideCount<=n.options.slidesToShow&&(s=n.slideOffset=0),!0===n.options.centerMode&&n.slideCount<=n.options.slidesToShow?n.slideOffset=n.slideWidth*Math.floor(n.options.slidesToShow)/2-n.slideWidth*n.slideCount/2:!0===n.options.centerMode&&!0===n.options.infinite?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:!0===n.options.centerMode&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),i=!1===n.options.vertical?e*n.slideWidth*-1+n.slideOffset:e*t*-1+s,!0===n.options.variableWidth&&(t=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(e):n.$slideTrack.children(".slick-slide").eq(e+n.options.slidesToShow),i=!0===n.options.rtl?t[0]?-1*(n.$slideTrack.width()-t[0].offsetLeft-t.width()):0:t[0]?-1*t[0].offsetLeft:0,!0===n.options.centerMode)&&(t=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(e):n.$slideTrack.children(".slick-slide").eq(e+n.options.slidesToShow+1),i=!0===n.options.rtl?t[0]?-1*(n.$slideTrack.width()-t[0].offsetLeft-t.width()):0:t[0]?-1*t[0].offsetLeft:0,i+=(n.$list.width()-t.outerWidth())/2),i},o.prototype.getOption=o.prototype.slickGetOption=function(e){return this.options[e]},o.prototype.getNavigableIndexes=function(){for(var e=this,t=0,i=0,n=[],s=!1===e.options.infinite?e.slideCount:(t=-1*e.options.slidesToScroll,i=-1*e.options.slidesToScroll,2*e.slideCount);t<s;)n.push(t),t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return n},o.prototype.getSlick=function(){return this},o.prototype.getSlideCount=function(){var i,n=this,s=!0===n.options.centerMode?n.slideWidth*Math.floor(n.options.slidesToShow/2):0;return!0===n.options.swipeToSlide?(n.$slideTrack.find(".slick-slide").each(function(e,t){if(t.offsetLeft-s+c(t).outerWidth()/2>-1*n.swipeLeft)return i=t,!1}),Math.abs(c(i).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},o.prototype.goTo=o.prototype.slickGoTo=function(e,t){this.changeSlide({data:{message:"index",index:parseInt(e)}},t)},o.prototype.init=function(e){var t=this;c(t.$slider).hasClass("slick-initialized")||(c(t.$slider).addClass("slick-initialized"),t.buildRows(),t.buildOut(),t.setProps(),t.startLoad(),t.loadSlider(),t.initializeEvents(),t.updateArrows(),t.updateDots(),t.checkResponsive(!0),t.focusHandler()),e&&t.$slider.trigger("init",[t]),!0===t.options.accessibility&&t.initADA(),t.options.autoplay&&(t.paused=!1,t.autoPlay())},o.prototype.initADA=function(){var i=this,n=Math.ceil(i.slideCount/i.options.slidesToShow),s=i.getNavigableIndexes().filter(function(e){return 0<=e&&e<i.slideCount});i.$slides.add(i.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==i.$dots&&(i.$slides.not(i.$slideTrack.find(".slick-cloned")).each(function(e){var t=s.indexOf(e);c(this).attr({role:"tabpanel",id:"slick-slide"+i.instanceUid+e,tabindex:-1}),-1!==t&&c(this).attr({"aria-describedby":"slick-slide-control"+i.instanceUid+t})}),i.$dots.attr("role","tablist").find("li").each(function(e){var t=s[e];c(this).attr({role:"presentation"}),c(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+i.instanceUid+e,"aria-controls":"slick-slide"+i.instanceUid+t,"aria-label":e+1+" of "+n,"aria-selected":null,tabindex:"-1"})}).eq(i.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var e=i.currentSlide,t=e+i.options.slidesToShow;e<t;e++)i.$slides.eq(e).attr("tabindex",0);i.activateADA()},o.prototype.initArrowEvents=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.off("click.slick").on("click.slick",{message:"next"},e.changeSlide),!0===e.options.accessibility)&&(e.$prevArrow.on("keydown.slick",e.keyHandler),e.$nextArrow.on("keydown.slick",e.keyHandler))},o.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&(c("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.accessibility)&&e.$dots.on("keydown.slick",e.keyHandler),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&c("li",e.$dots).on("mouseenter.slick",c.proxy(e.interrupt,e,!0)).on("mouseleave.slick",c.proxy(e.interrupt,e,!1))},o.prototype.initSlideEvents=function(){this.options.pauseOnHover&&(this.$list.on("mouseenter.slick",c.proxy(this.interrupt,this,!0)),this.$list.on("mouseleave.slick",c.proxy(this.interrupt,this,!1)))},o.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),c(document).on(e.visibilityChange,c.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&c(e.$slideTrack).children().on("click.slick",e.selectHandler),c(window).on("orientationchange.slick.slick-"+e.instanceUid,c.proxy(e.orientationChange,e)),c(window).on("resize.slick.slick-"+e.instanceUid,c.proxy(e.resize,e)),c("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),c(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),c(e.setPosition)},o.prototype.initUI=function(){!0===this.options.arrows&&this.slideCount>this.options.slidesToShow&&(this.$prevArrow.show(),this.$nextArrow.show()),!0===this.options.dots&&this.slideCount>this.options.slidesToShow&&this.$dots.show()},o.prototype.keyHandler=function(e){e.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===e.keyCode&&!0===this.options.accessibility?this.changeSlide({data:{message:!0===this.options.rtl?"next":"previous"}}):39===e.keyCode&&!0===this.options.accessibility&&this.changeSlide({data:{message:!0===this.options.rtl?"previous":"next"}}))},o.prototype.lazyLoad=function(){var e,t,i,o=this;function n(e){c("img[data-lazy]",e).each(function(){var e=c(this),t=c(this).attr("data-lazy"),i=c(this).attr("data-srcset"),n=c(this).attr("data-sizes")||o.$slider.attr("data-sizes"),s=document.createElement("img");s.onload=function(){e.animate({opacity:0},100,function(){i&&(e.attr("srcset",i),n)&&e.attr("sizes",n),e.attr("src",t).animate({opacity:1},200,function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),o.$slider.trigger("lazyLoaded",[o,e,t])})},s.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),o.$slider.trigger("lazyLoadError",[o,e,t])},s.src=t})}if(!0===o.options.centerMode?i=!0===o.options.infinite?(t=o.currentSlide+(o.options.slidesToShow/2+1))+o.options.slidesToShow+2:(t=Math.max(0,o.currentSlide-(o.options.slidesToShow/2+1)),o.options.slidesToShow/2+1+2+o.currentSlide):(t=o.options.infinite?o.options.slidesToShow+o.currentSlide:o.currentSlide,i=Math.ceil(t+o.options.slidesToShow),!0===o.options.fade&&(0<t&&t--,i<=o.slideCount)&&i++),e=o.$slider.find(".slick-slide").slice(t,i),"anticipated"===o.options.lazyLoad)for(var s=t-1,a=i,r=o.$slider.find(".slick-slide"),l=0;l<o.options.slidesToScroll;l++)s<0&&(s=o.slideCount-1),e=(e=e.add(r.eq(s))).add(r.eq(a)),s--,a++;n(e),o.slideCount<=o.options.slidesToShow?n(o.$slider.find(".slick-slide")):o.currentSlide>=o.slideCount-o.options.slidesToShow?n(o.$slider.find(".slick-cloned").slice(0,o.options.slidesToShow)):0===o.currentSlide&&n(o.$slider.find(".slick-cloned").slice(-1*o.options.slidesToShow))},o.prototype.loadSlider=function(){this.setPosition(),this.$slideTrack.css({opacity:1}),this.$slider.removeClass("slick-loading"),this.initUI(),"progressive"===this.options.lazyLoad&&this.progressiveLazyLoad()},o.prototype.next=o.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},o.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},o.prototype.pause=o.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},o.prototype.play=o.prototype.slickPlay=function(){this.autoPlay(),this.options.autoplay=!0,this.paused=!1,this.focussed=!1,this.interrupted=!1},o.prototype.postSlide=function(e){var t=this;t.unslicked||(t.$slider.trigger("afterChange",[t,e]),t.animating=!1,t.slideCount>t.options.slidesToShow&&t.setPosition(),t.swipeLeft=null,t.options.autoplay&&t.autoPlay(),!0===t.options.accessibility&&(t.initADA(),t.options.focusOnChange)&&c(t.$slides.get(t.currentSlide)).attr("tabindex",0).focus())},o.prototype.prev=o.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},o.prototype.preventDefault=function(e){e.preventDefault()},o.prototype.progressiveLazyLoad=function(e){e=e||1;var t,i,n,s,o=this,a=c("img[data-lazy]",o.$slider);a.length?(t=a.first(),i=t.attr("data-lazy"),n=t.attr("data-srcset"),s=t.attr("data-sizes")||o.$slider.attr("data-sizes"),(a=document.createElement("img")).onload=function(){n&&(t.attr("srcset",n),s)&&t.attr("sizes",s),t.attr("src",i).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===o.options.adaptiveHeight&&o.setPosition(),o.$slider.trigger("lazyLoaded",[o,t,i]),o.progressiveLazyLoad()},a.onerror=function(){e<3?setTimeout(function(){o.progressiveLazyLoad(e+1)},500):(t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),o.$slider.trigger("lazyLoadError",[o,t,i]),o.progressiveLazyLoad())},a.src=i):o.$slider.trigger("allImagesLoaded",[o])},o.prototype.refresh=function(e){var t=this,i=t.slideCount-t.options.slidesToShow;!t.options.infinite&&t.currentSlide>i&&(t.currentSlide=i),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),i=t.currentSlide,t.destroy(!0),c.extend(t,t.initials,{currentSlide:i}),t.init(),e||t.changeSlide({data:{message:"index",index:i}},!1)},o.prototype.registerBreakpoints=function(){var e,t,i,n=this,s=n.options.responsive||null;if("array"===c.type(s)&&s.length){for(e in n.respondTo=n.options.respondTo||"window",s)if(i=n.breakpoints.length-1,s.hasOwnProperty(e)){for(t=s[e].breakpoint;0<=i;)n.breakpoints[i]&&n.breakpoints[i]===t&&n.breakpoints.splice(i,1),i--;n.breakpoints.push(t),n.breakpointSettings[t]=s[e].settings}n.breakpoints.sort(function(e,t){return n.options.mobileFirst?e-t:t-e})}},o.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&c(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},o.prototype.resize=function(){var e=this;c(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=c(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},o.prototype.removeSlide=o.prototype.slickRemove=function(e,t,i){var n=this;if(e="boolean"==typeof e?!0===(t=e)?0:n.slideCount-1:!0===t?--e:e,n.slideCount<1||e<0||e>n.slideCount-1)return!1;n.unload(),(!0===i?n.$slideTrack.children():n.$slideTrack.children(this.options.slide).eq(e)).remove(),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slidesCache=n.$slides,n.reinit()},o.prototype.setCSS=function(e){var t,i,n=this,s={};!0===n.options.rtl&&(e=-e),t="left"==n.positionProp?Math.ceil(e)+"px":"0px",i="top"==n.positionProp?Math.ceil(e)+"px":"0px",s[n.positionProp]=e,!1!==n.transformsEnabled&&(!(s={})===n.cssTransitions?s[n.animType]="translate("+t+", "+i+")":s[n.animType]="translate3d("+t+", "+i+", 0px)"),n.$slideTrack.css(s)},o.prototype.setDimensions=function(){var e=this,t=(!1===e.options.vertical?!0===e.options.centerMode&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),!0===e.options.centerMode&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),!1===e.options.vertical&&!1===e.options.variableWidth?(e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))):!0===e.options.variableWidth?e.$slideTrack.width(5e3*e.slideCount):(e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length))),e.$slides.first().outerWidth(!0)-e.$slides.first().width());!1===e.options.variableWidth&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},o.prototype.setFade=function(){var i,n=this;n.$slides.each(function(e,t){i=n.slideWidth*e*-1,!0===n.options.rtl?c(t).css({position:"relative",right:i,top:0,zIndex:n.options.zIndex-2,opacity:0}):c(t).css({position:"relative",left:i,top:0,zIndex:n.options.zIndex-2,opacity:0})}),n.$slides.eq(n.currentSlide).css({zIndex:n.options.zIndex-1,opacity:1})},o.prototype.setHeight=function(){var e;1===this.options.slidesToShow&&!0===this.options.adaptiveHeight&&!1===this.options.vertical&&(e=this.$slides.eq(this.currentSlide).outerHeight(!0),this.$list.css("height",e))},o.prototype.setOption=o.prototype.slickSetOption=function(){var e,t,i,n,s,o=this,a=!1;if("object"===c.type(arguments[0])?(i=arguments[0],a=arguments[1],s="multiple"):"string"===c.type(arguments[0])&&(i=arguments[0],n=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===c.type(arguments[1])?s="responsive":void 0!==arguments[1]&&(s="single")),"single"===s)o.options[i]=n;else if("multiple"===s)c.each(i,function(e,t){o.options[e]=t});else if("responsive"===s)for(t in n)if("array"!==c.type(o.options.responsive))o.options.responsive=[n[t]];else{for(e=o.options.responsive.length-1;0<=e;)o.options.responsive[e].breakpoint===n[t].breakpoint&&o.options.responsive.splice(e,1),e--;o.options.responsive.push(n[t])}a&&(o.unload(),o.reinit())},o.prototype.setPosition=function(){this.setDimensions(),this.setHeight(),!1===this.options.fade?this.setCSS(this.getLeft(this.currentSlide)):this.setFade(),this.$slider.trigger("setPosition",[this])},o.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=!0===e.options.vertical?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),void 0===t.WebkitTransition&&void 0===t.MozTransition&&void 0===t.msTransition||!0===e.options.useCSS&&(e.cssTransitions=!0),e.options.fade&&("number"==typeof e.options.zIndex?e.options.zIndex<3&&(e.options.zIndex=3):e.options.zIndex=e.defaults.zIndex),void 0!==t.OTransform&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",void 0===t.perspectiveProperty)&&void 0===t.webkitPerspective&&(e.animType=!1),void 0!==t.MozTransform&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",void 0===t.perspectiveProperty)&&void 0===t.MozPerspective&&(e.animType=!1),void 0!==t.webkitTransform&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",void 0===t.perspectiveProperty)&&void 0===t.webkitPerspective&&(e.animType=!1),void 0!==t.msTransform&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",void 0===t.msTransform)&&(e.animType=!1),void 0!==t.transform&&!1!==e.animType&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=e.options.useTransform&&null!==e.animType&&!1!==e.animType},o.prototype.setSlideClasses=function(e){var t,i,n,s=this,o=s.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true");s.$slides.eq(e).addClass("slick-current"),!0===s.options.centerMode?(i=s.options.slidesToShow%2==0?1:0,n=Math.floor(s.options.slidesToShow/2),!0===s.options.infinite&&((n<=e&&e<=s.slideCount-1-n?s.$slides.slice(e-n+i,e+n+1):(t=s.options.slidesToShow+e,o.slice(t-n+1+i,t+n+2))).addClass("slick-active").attr("aria-hidden","false"),0===e?o.eq(o.length-1-s.options.slidesToShow).addClass("slick-center"):e===s.slideCount-1&&o.eq(s.options.slidesToShow).addClass("slick-center")),s.$slides.eq(e).addClass("slick-center")):(0<=e&&e<=s.slideCount-s.options.slidesToShow?s.$slides.slice(e,e+s.options.slidesToShow):o.length<=s.options.slidesToShow?o:(i=s.slideCount%s.options.slidesToShow,t=!0===s.options.infinite?s.options.slidesToShow+e:e,s.options.slidesToShow==s.options.slidesToScroll&&s.slideCount-e<s.options.slidesToShow?o.slice(t-(s.options.slidesToShow-i),t+i):o.slice(t,t+s.options.slidesToShow))).addClass("slick-active").attr("aria-hidden","false"),"ondemand"!==s.options.lazyLoad&&"anticipated"!==s.options.lazyLoad||s.lazyLoad()},o.prototype.setupInfinite=function(){var e,t,i,n=this;if(!0===n.options.fade&&(n.options.centerMode=!1),!0===n.options.infinite&&!1===n.options.fade&&(t=null,n.slideCount>n.options.slidesToShow)){for(i=!0===n.options.centerMode?n.options.slidesToShow+1:n.options.slidesToShow,e=n.slideCount;e>n.slideCount-i;--e)c(n.$slides[t=e-1]).clone(!0).attr("id","").attr("data-slick-index",t-n.slideCount).prependTo(n.$slideTrack).addClass("slick-cloned");for(e=0;e<i+n.slideCount;e+=1)t=e,c(n.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t+n.slideCount).appendTo(n.$slideTrack).addClass("slick-cloned");n.$slideTrack.find(".slick-cloned").find("[id]").each(function(){c(this).attr("id","")})}},o.prototype.interrupt=function(e){e||this.autoPlay(),this.interrupted=e},o.prototype.selectHandler=function(e){e=c(e.target).is(".slick-slide")?c(e.target):c(e.target).parents(".slick-slide"),e=(e=parseInt(e.attr("data-slick-index")))||0;this.slideCount<=this.options.slidesToShow?this.slideHandler(e,!1,!0):this.slideHandler(e)},o.prototype.slideHandler=function(e,t,i){var n,s,o,a=this;t=t||!1,!0===a.animating&&!0===a.options.waitForAnimate||!0===a.options.fade&&a.currentSlide===e||(!1===t&&a.asNavFor(e),n=e,t=a.getLeft(n),o=a.getLeft(a.currentSlide),a.currentLeft=null===a.swipeLeft?o:a.swipeLeft,!1===a.options.infinite&&!1===a.options.centerMode&&(e<0||e>a.getDotCount()*a.options.slidesToScroll)||!1===a.options.infinite&&!0===a.options.centerMode&&(e<0||e>a.slideCount-a.options.slidesToScroll)?!1===a.options.fade&&(n=a.currentSlide,!0!==i?a.animateSlide(o,function(){a.postSlide(n)}):a.postSlide(n)):(a.options.autoplay&&clearInterval(a.autoPlayTimer),s=n<0?a.slideCount%a.options.slidesToScroll!=0?a.slideCount-a.slideCount%a.options.slidesToScroll:a.slideCount+n:n>=a.slideCount?a.slideCount%a.options.slidesToScroll!=0?0:n-a.slideCount:n,a.animating=!0,a.$slider.trigger("beforeChange",[a,a.currentSlide,s]),e=a.currentSlide,a.currentSlide=s,a.setSlideClasses(a.currentSlide),a.options.asNavFor&&(o=(o=a.getNavTarget()).slick("getSlick")).slideCount<=o.options.slidesToShow&&o.setSlideClasses(a.currentSlide),a.updateDots(),a.updateArrows(),!0===a.options.fade?(!0!==i?(a.fadeSlideOut(e),a.fadeSlide(s,function(){a.postSlide(s)})):a.postSlide(s),a.animateHeight()):!0!==i?a.animateSlide(t,function(){a.postSlide(s)}):a.postSlide(s)))},o.prototype.startLoad=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading")},o.prototype.swipeDirection=function(){var e=this.touchObject.startX-this.touchObject.curX,t=this.touchObject.startY-this.touchObject.curY,t=Math.atan2(t,e),e=Math.round(180*t/Math.PI);return(e=e<0?360-Math.abs(e):e)<=45&&0<=e||e<=360&&315<=e?!1===this.options.rtl?"left":"right":135<=e&&e<=225?!1===this.options.rtl?"right":"left":!0===this.options.verticalSwiping?35<=e&&e<=135?"down":"up":"vertical"},o.prototype.swipeEnd=function(e){var t,i,n=this;if(n.dragging=!1,n.swiping=!1,n.scrolling)return n.scrolling=!1;if(n.interrupted=!1,n.shouldClick=!(10<n.touchObject.swipeLength),void 0===n.touchObject.curX)return!1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount(),n.currentDirection=0;break;case"right":case"up":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount(),n.currentDirection=1}"vertical"!=i&&(n.slideHandler(t),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})},o.prototype.swipeHandler=function(e){var t=this;if(!(!1===t.options.swipe||"ontouchend"in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==e.type.indexOf("mouse")))switch(t.touchObject.fingerCount=e.originalEvent&&void 0!==e.originalEvent.touches?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e)}},o.prototype.swipeMove=function(e){var t,i,n=this,s=void 0!==e.originalEvent?e.originalEvent.touches:null;return!(!n.dragging||n.scrolling||s&&1!==s.length)&&(t=n.getLeft(n.currentSlide),n.touchObject.curX=void 0!==s?s[0].pageX:e.clientX,n.touchObject.curY=void 0!==s?s[0].pageY:e.clientY,n.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(n.touchObject.curX-n.touchObject.startX,2))),s=Math.round(Math.sqrt(Math.pow(n.touchObject.curY-n.touchObject.startY,2))),!n.options.verticalSwiping&&!n.swiping&&4<s?!(n.scrolling=!0):(!0===n.options.verticalSwiping&&(n.touchObject.swipeLength=s),s=n.swipeDirection(),void 0!==e.originalEvent&&4<n.touchObject.swipeLength&&(n.swiping=!0,e.preventDefault()),e=(!1===n.options.rtl?1:-1)*(n.touchObject.curX>n.touchObject.startX?1:-1),!0===n.options.verticalSwiping&&(e=n.touchObject.curY>n.touchObject.startY?1:-1),i=n.touchObject.swipeLength,(n.touchObject.edgeHit=!1)===n.options.infinite&&(0===n.currentSlide&&"right"===s||n.currentSlide>=n.getDotCount()&&"left"===s)&&(i=n.touchObject.swipeLength*n.options.edgeFriction,n.touchObject.edgeHit=!0),!1===n.options.vertical?n.swipeLeft=t+i*e:n.swipeLeft=t+i*(n.$list.height()/n.listWidth)*e,!0===n.options.verticalSwiping&&(n.swipeLeft=t+i*e),!0!==n.options.fade&&!1!==n.options.touchMove&&(!0===n.animating?(n.swipeLeft=null,!1):void n.setCSS(n.swipeLeft))))},o.prototype.swipeStart=function(e){var t,i=this;if(i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return!(i.touchObject={});void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==t?t.pageX:e.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==t?t.pageY:e.clientY,i.dragging=!0},o.prototype.unfilterSlides=o.prototype.slickUnfilter=function(){null!==this.$slidesCache&&(this.unload(),this.$slideTrack.children(this.options.slide).detach(),this.$slidesCache.appendTo(this.$slideTrack),this.reinit())},o.prototype.unload=function(){var e=this;c(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},o.prototype.unslick=function(e){this.$slider.trigger("unslick",[this,e]),this.destroy()},o.prototype.updateArrows=function(){var e=this;Math.floor(e.options.slidesToShow/2);!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(e.currentSlide>=e.slideCount-e.options.slidesToShow&&!1===e.options.centerMode||e.currentSlide>=e.slideCount-1&&!0===e.options.centerMode)&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},o.prototype.updateDots=function(){null!==this.$dots&&(this.$dots.find("li").removeClass("slick-active").end(),this.$dots.find("li").eq(Math.floor(this.currentSlide/this.options.slidesToScroll)).addClass("slick-active"))},o.prototype.visibility=function(){this.options.autoplay&&(document[this.hidden]?this.interrupted=!0:this.interrupted=!1)},c.fn.slick=function(){for(var e,t=arguments[0],i=Array.prototype.slice.call(arguments,1),n=this.length,s=0;s<n;s++)if("object"==typeof t||void 0===t?this[s].slick=new o(this[s],t):e=this[s].slick[t].apply(this[s].slick,i),void 0!==e)return e;return this}}),function(e,t){var i=window.matchMedia;"undefined"!=typeof module&&module.exports?module.exports=t(i):"function"==typeof define&&define.amd?define(function(){return e.enquire=t(i)}):e.enquire=t(i)}(this,function(n){"use strict";function s(e,t){for(var i=0,n=e.length;i<n&&!1!==t(e[i],i);i++);}function o(e){return"function"==typeof e}function t(e){(this.options=e).deferSetup||this.setup()}function a(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=n(e);var i=this;this.listener=function(e){i.mql=e,i.assess()},this.mql.addListener(this.listener)}function e(){if(!n)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!n("only all").matches}return t.prototype={setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){this.initialised||this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},a.prototype={addHandler:function(e){e=new t(e);this.handlers.push(e),this.matches()&&e.on()},removeHandler:function(i){var n=this.handlers;s(n,function(e,t){if(e.equals(i))return e.destroy(),!n.splice(t,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){s(this.handlers,function(e){e.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var t=this.matches()?"on":"off";s(this.handlers,function(e){e[t]()})}},e.prototype={register:function(t,e,i){var n=this.queries,i=i&&this.browserIsIncapable;return n[t]||(n[t]=new a(t,i)),o(e)&&(e={match:e}),i=e,s(e="[object Array]"!==Object.prototype.toString.apply(i)?[e]:e,function(e){o(e)&&(e={match:e}),n[t].addHandler(e)}),this},unregister:function(e,t){var i=this.queries[e];return i&&(t?i.removeHandler(t):(i.clear(),delete this.queries[e])),this}},new e}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):((e=e||self).Vimeo=e.Vimeo||{},e.Vimeo.Player=t())}(this,function(){"use strict";function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var t="undefined"!=typeof global&&"[object global]"==={}.toString.call(global);function o(e,t){return 0===e.indexOf(t.toLowerCase())?e:"".concat(t.toLowerCase()).concat(e.substr(0,1).toUpperCase()).concat(e.substr(1))}function h(e){return/^(https?:)?\/\/((player|www)\.)?vimeo\.com(?=$|\/)/.test(e)}function n(e){var t,e=0<arguments.length&&void 0!==e?e:{},i=e.id,e=e.url,e=i||e;if(!e)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(t=e,!isNaN(parseFloat(t))&&isFinite(t)&&Math.floor(t)==t)return"https://vimeo.com/".concat(e);if(h(e))return e.replace("http:","https:");if(i)throw new TypeError("“".concat(i,"” is not a valid video id."));throw new TypeError("“".concat(e,"” is not a vimeo.com url."))}var i=void 0!==Array.prototype.indexOf,s="undefined"!=typeof window&&void 0!==window.postMessage;if(!(t||i&&s))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var a,r,i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function l(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id","_WeakMap_"+u()+"."+u()),0<arguments.length)throw new TypeError("WeakMap iterable is not supported")}function c(e,t){if(!d(e)||!a.call(e,"_id"))throw new TypeError(t+" method called on incompatible receiver "+typeof e)}function u(){return Math.random().toString().substring(2)}function d(e){return Object(e)===e}(s="undefined"!=typeof self?self:"undefined"!=typeof window?window:i).WeakMap||(a=Object.prototype.hasOwnProperty,s.WeakMap=((r=function(e,t,i){Object.defineProperty?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:i}):e[t]=i})(l.prototype,"delete",function(e){var t;return c(this,"delete"),!!d(e)&&!(!(t=e[this._id])||t[0]!==e||(delete e[this._id],0))}),r(l.prototype,"get",function(e){var t;return c(this,"get"),d(e)&&(t=e[this._id])&&t[0]===e?t[1]:void 0}),r(l.prototype,"has",function(e){var t;return c(this,"has"),!!d(e)&&!(!(t=e[this._id])||t[0]!==e)}),r(l.prototype,"set",function(e,t){var i;if(c(this,"set"),d(e))return(i=e[this._id])&&i[0]===e?i[1]=t:r(e,this._id,[e,t]),this;throw new TypeError("Invalid value used as weak map key")}),r(l,"_polyfill",!0),l));I=s={exports:{}},(i=i)["Promise"]=i.Promise||function(){var e,i,n,s,o,a,r=Object.prototype.toString,l="undefined"!=typeof setImmediate?function(e){return setImmediate(e)}:setTimeout;try{Object.defineProperty({},"x",{}),e=function(e,t,i,n){return Object.defineProperty(e,t,{value:i,writable:!0,configurable:!1!==n})}}catch(r){e=function(e,t,i){return e[t]=i,e}}function c(e,t){this.fn=e,this.self=t,this.next=void 0}function h(e,t){n.add(e,t),i=i||l(n.drain)}function u(e){var t,i=typeof e;return"function"==typeof(t=null==e||"object"!=i&&"function"!=i?t:e.then)&&t}function d(){for(var e,t,i=0;i<this.chain.length;i++){n=void 0;s=void 0;o=void 0;e=void 0;t=void 0;var n=this;var s=1===this.state?this.chain[i].success:this.chain[i].failure;var o=this.chain[i];try{!1===s?o.reject(n.msg):(e=!0===s?n.msg:s.call(void 0,n.msg))===o.promise?o.reject(TypeError("Promise-chain cycle")):(t=u(e))?t.call(e,o.resolve,o.reject):o.resolve(e)}catch(n){o.reject(n)}}this.chain.length=0}function p(e){var t=this;t.triggered||(t.triggered=!0,(t=t.def?t.def:t).msg=e,t.state=2,0<t.chain.length&&h(d,t))}function f(e,i,n,s){for(var t=0;t<i.length;t++)!function(t){e.resolve(i[t]).then(function(e){n(t,e)},s)}(t)}function g(e){this.def=e,this.triggered=!1}function t(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function m(e){if("function"!=typeof e)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var n=new t(this);this.then=function(e,t){var i={success:"function"!=typeof e||e,failure:"function"==typeof t&&t};return i.promise=new this.constructor(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");i.resolve=e,i.reject=t}),n.chain.push(i),0!==n.state&&h(d,n),i.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){!function e(i){var n,s=this;if(!s.triggered){s.triggered=!0,s.def&&(s=s.def);try{(n=u(i))?h(function(){var t=new g(s);try{n.call(i,function(){e.apply(t,arguments)},function(){p.apply(t,arguments)})}catch(e){p.call(t,e)}}):(s.msg=i,s.state=1,0<s.chain.length&&h(d,s))}catch(e){p.call(new g(s),e)}}}.call(n,e)},function(e){p.call(n,e)})}catch(e){p.call(n,e)}}var v=e({},"constructor",m,!(n={add:function(e,t){a=new c(e,t),o?o.next=a:s=a,o=a},drain:function(){var e=s;for(s=o=i=void 0;e;)e.fn.call(e.self),e=e.next}}));return e(m.prototype=v,"__NPO__",0,!1),e(m,"resolve",function(i){return i&&"object"==typeof i&&1===i.__NPO__?i:new this(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");e(i)})}),e(m,"reject",function(i){return new this(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");t(i)})}),e(m,"all",function(t){var a=this;return"[object Array]"!=r.call(t)?a.reject(TypeError("Not an array")):0===t.length?a.resolve([]):new a(function(i,e){if("function"!=typeof i||"function"!=typeof e)throw TypeError("Not a function");var n=t.length,s=Array(n),o=0;f(a,t,function(e,t){s[e]=t,++o===n&&i(s)},e)})}),e(m,"race",function(t){var n=this;return"[object Array]"!=r.call(t)?n.reject(TypeError("Not an array")):new n(function(i,e){if("function"!=typeof i||"function"!=typeof e)throw TypeError("Not a function");f(n,t,function(e,t){i(t)},e)})}),m}(),I.exports&&(I.exports=i.Promise);var p=s.exports,f=new WeakMap;function g(e,t,i){var n=f.get(e.element)||{};t in n||(n[t]=[]),n[t].push(i),f.set(e.element,n)}function m(e,t){return(f.get(e.element)||{})[t]||[]}function v(e,t,i){var n=f.get(e.element)||{};return!n[t]||(i?(-1!==(i=n[t].indexOf(i))&&n[t].splice(i,1),f.set(e.element,n),n[t]&&0===n[t].length):(n[t]=[],f.set(e.element,n),1))}var b=["autopause","autoplay","background","byline","color","controls","dnt","height","id","loop","maxheight","maxwidth","muted","playsinline","portrait","responsive","speed","texttrack","title","transparent","url","width"];function y(n,e){return b.reduce(function(e,t){var i=n.getAttribute("data-vimeo-".concat(t));return!i&&""!==i||(e[t]=""===i?1:i),e},1<arguments.length&&void 0!==e?e:{})}function _(e,t){var i,e=e.html;if(t)return null===t.getAttribute("data-vimeo-initialized")&&((i=document.createElement("div")).innerHTML=e,t.appendChild(i.firstChild),t.setAttribute("data-vimeo-initialized","true")),t.querySelector("iframe");throw new TypeError("An element must be provided")}function w(o,e,t){var a=1<arguments.length&&void 0!==e?e:{},r=2<arguments.length?t:void 0;return new Promise(function(t,i){if(!h(o))throw new TypeError("“".concat(o,"” is not a vimeo.com url."));var e,n="https://vimeo.com/api/oembed.json?url=".concat(encodeURIComponent(o));for(e in a)a.hasOwnProperty(e)&&(n+="&".concat(e,"=").concat(encodeURIComponent(a[e])));var s=new("XDomainRequest"in window?XDomainRequest:XMLHttpRequest);s.open("GET",n,!0),s.onload=function(){if(404!==s.status)if(403!==s.status)try{var e=JSON.parse(s.responseText);403===e.domain_status_code?(_(e,r),i(new Error("“".concat(o,"” is not embeddable.")))):t(e)}catch(e){i(e)}else i(new Error("“".concat(o,"” is not embeddable.")));else i(new Error("“".concat(o,"” was not found.")))},s.onerror=function(){var e=s.status?" (".concat(s.status,")"):"";i(new Error("There was an error fetching the embed code from Vimeo".concat(e,".")))},s.send()})}function k(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){return console.warn(e),{}}return e}function x(e,t,i){e.element.contentWindow&&e.element.contentWindow.postMessage&&(t={method:t},void 0!==i&&(t.value=i),8<=(i=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1")))&&i<10&&(t=JSON.stringify(t)),e.element.contentWindow.postMessage(t,e.origin))}var C,T,S,D=new WeakMap,P=new WeakMap,M={},I=(e(E.prototype,[{key:"callMethod",value:function(i,e){var n=this,s=1<arguments.length&&void 0!==e?e:{};return new p(function(e,t){return n.ready().then(function(){g(n,i,{resolve:e,reject:t}),x(n,i,s)}).catch(t)})}},{key:"get",value:function(i){var n=this;return new p(function(e,t){return i=o(i,"get"),n.ready().then(function(){g(n,i,{resolve:e,reject:t}),x(n,i)}).catch(t)})}},{key:"set",value:function(i,n){var s=this;return new p(function(e,t){if(i=o(i,"set"),null==n)throw new TypeError("There must be a value to set.");return s.ready().then(function(){g(s,i,{resolve:e,reject:t}),x(s,i,n)}).catch(t)})}},{key:"on",value:function(e,t){if(!e)throw new TypeError("You must pass an event name.");if(!t)throw new TypeError("You must pass a callback function.");if("function"!=typeof t)throw new TypeError("The callback must be a function.");0===m(this,"event:".concat(e)).length&&this.callMethod("addEventListener",e).catch(function(){}),g(this,"event:".concat(e),t)}},{key:"off",value:function(e,t){if(!e)throw new TypeError("You must pass an event name.");if(t&&"function"!=typeof t)throw new TypeError("The callback must be a function.");v(this,"event:".concat(e),t)&&this.callMethod("removeEventListener",e).catch(function(e){})}},{key:"loadVideo",value:function(e){return this.callMethod("loadVideo",e)}},{key:"ready",value:function(){var e=P.get(this)||new p(function(e,t){t(new Error("Unknown player. Probably unloaded."))});return p.resolve(e)}},{key:"addCuePoint",value:function(e,t){return this.callMethod("addCuePoint",{time:e,data:1<arguments.length&&void 0!==t?t:{}})}},{key:"removeCuePoint",value:function(e){return this.callMethod("removeCuePoint",e)}},{key:"enableTextTrack",value:function(e,t){if(e)return this.callMethod("enableTextTrack",{language:e,kind:t});throw new TypeError("You must pass a language.")}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return M.isEnabled?M.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return M.isEnabled?M.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return M.isEnabled?p.resolve(M.isFullscreen):this.get("fullscreen")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var t=this;return new p(function(e){P.delete(t),D.delete(t.element),t._originalElement&&(D.delete(t._originalElement),t._originalElement.removeAttribute("data-vimeo-initialized")),t.element&&"IFRAME"===t.element.nodeName&&t.element.parentNode&&t.element.parentNode.removeChild(t.element),t._window.removeEventListener("message",t._onMessage),e()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(e){return this.set("autopause",e)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"setColor",value:function(e){return this.set("color",e)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(e){return this.set("currentTime",e)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(e){return this.set("loop",e)}},{key:"setMuted",value:function(e){return this.set("muted",e)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(e){return this.set("playbackRate",e)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(e){return this.set("volume",e)}}]),E);function E(s){var c=this,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},e=this;if(!(e instanceof E))throw new TypeError("Cannot call a class as a function");if(window.jQuery&&s instanceof jQuery&&(1<s.length&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),s=s[0]),e=s="undefined"!=typeof document&&"string"==typeof s?document.getElementById(s):s,!Boolean(e&&1===e.nodeType&&"nodeName"in e&&e.ownerDocument&&e.ownerDocument.defaultView))throw new TypeError("You must pass either a valid element or a valid id.");if("IFRAME"===(s="IFRAME"!==s.nodeName&&(e=s.querySelector("iframe"))?e:s).nodeName&&!h(s.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(D.has(s))return D.get(s);this._window=s.ownerDocument.defaultView,this.element=s,this.origin="*";var i,e=new p(function(r,l){var e;c._onMessage=function(e){var i,n,t,s,o,a;h(e.origin)&&c.element.contentWindow===e.source&&("*"===c.origin&&(c.origin=e.origin),(e=k(e.data))&&"error"===e.event&&e.data&&"ready"===e.data.method?((a=new Error(e.data.message)).name=e.data.name,l(a)):(a=e&&"ready"===e.event,s=e&&"ping"===e.method,a||s?(c.element.setAttribute("data-ready","true"),r()):(i=c,a=[],(n=k(n=e)).event?("error"===n.event&&m(i,n.data.method).forEach(function(e){var t=new Error(n.data.message);t.name=n.data.name,e.reject(t),v(i,n.data.method,e)}),a=m(i,"event:".concat(n.event)),t=n.data):n.method&&(s=i,e=n.method,e=!((o=m(s,e)).length<1)&&(v(s,e,s=o.shift()),s))&&(a.push(e),t=n.value),a.forEach(function(e){try{"function"==typeof e?e.call(i,t):e.resolve(t)}catch(e){}}))))},c._window.addEventListener("message",c._onMessage),"IFRAME"!==c.element.nodeName&&w(n(e=y(s,t)),e,s).then(function(e){var t,i,n=_(e,s);return c.element=n,t=c._originalElement=s,n=n,i=f.get(t),f.set(n,i),f.delete(t),D.set(c.element,c),e}).catch(l)});return P.set(this,e),D.set(this.element,this),"IFRAME"===this.element.nodeName&&x(this,"ping"),M.isEnabled&&(i=function(){return M.exit()},M.on("fullscreenchange",function(){(M.isFullscreen?g:v)(c,"event:exitFullscreen",i),c.ready().then(function(){x(c,"fullscreenchange",M.isFullscreen)})})),this}return t||(C=function(){for(var e,t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],i=0,n=t.length,s={};i<n;i++)if((e=t[i])&&e[1]in document){for(i=0;i<e.length;i++)s[t[0][i]]=e[i];return s}return!1}(),T={fullscreenchange:C.fullscreenchange,fullscreenerror:C.fullscreenerror},S={request:function(s){return new Promise(function(e,t){function i(){S.off("fullscreenchange",i),e()}S.on("fullscreenchange",i);var n=(s=s||document.documentElement)[C.requestFullscreen]();n instanceof Promise&&n.then(i).catch(t)})},exit:function(){return new Promise(function(t,e){var i,n;S.isFullscreen?(S.on("fullscreenchange",i=function e(){S.off("fullscreenchange",e),t()}),(n=document[C.exitFullscreen]())instanceof Promise&&n.then(i).catch(e)):t()})},on:function(e,t){e=T[e];e&&document.addEventListener(e,t)},off:function(e,t){e=T[e];e&&document.removeEventListener(e,t)}},Object.defineProperties(S,{isFullscreen:{get:function(){return Boolean(document[C.fullscreenElement])}},element:{enumerable:!0,get:function(){return document[C.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(document[C.fullscreenEnabled])}}}),M=S,function(){function i(e){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(e))}var e=document;[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")).forEach(function(t){try{var e;null===t.getAttribute("data-vimeo-defer")&&w(n(e=y(t)),e,t).then(function(e){return _(e,t)}).catch(i)}catch(e){i(e)}})}(),function(){var n=document;window.VimeoPlayerResizeEmbeds_||(window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",function(e){if(h(e.origin)&&e.data&&"spacechange"===e.data.event)for(var t=n.querySelectorAll("iframe"),i=0;i<t.length;i++)if(t[i].contentWindow===e.source){t[i].parentElement.style.paddingBottom="".concat(e.data.data[0].bottom,"px");break}}))}()),I}),$(document).ready(function(){enquire.register("screen and (max-width: 1023px)",{setup:function(){mobileNavigationBurgerMenu(),mobileNavigationAccordions()},match:function(){mobileNavigationReset(),changeNavPositionMobile()},unmatch:function(){}}),enquire.register("screen and (max-width: 767px)",{setup:function(){},match:function(){ribbonContentOrder()},unmatch:function(){ribbonContentUnOrder()}}),enquire.register("screen and (min-width: 768px)",{setup:function(){},match:function(){ribbonContentUnOrder()},unmatch:function(){ribbonContentOrder()}}),enquire.register("screen and (min-width: 1024px)",{match:function(){desktopNavigationReset(),changeNavPositionDesktop(),desktopNavigationKeyboard()},unmatch:function(){}}),window.document.documentMode&&($(".c-two-column-outer_item").has(".c-twitter-feed").css("display","none").prev(".c-two-column-outer_item").css("width","100%"),$(".c-banner-block-wide_container").each(function(){var e=$(this),t=e.find("img").prop("src");t&&e.css("backgroundImage","url("+t+")").css("backgroundRepeat","no-repeat").css("backgroundSize","cover").children(".c-banner-block-wide_img-background").hide()}))});var resizeEvents={globals:{currentHeight:0,currentWidth:0},init:function(){function e(i,n){var s;return n=n||20,function(){var e=this,t=arguments;clearTimeout(s),s=setTimeout(function(){i.apply(e,Array.prototype.slice.call(t))},n)}}$(window).on("load",e(function(){var e=$(window).height(),t=$(window).width();resizeEvents.globals.currentHeight===e&&resizeEvents.globals.currentWidth===t||(equalHeights.set(),resizeEvents.globals.currentHeight=e,resizeEvents.globals.currentWidth=t)})),$(window).on("resize",e(function(){var e=$(window).height(),t=$(window).width();resizeEvents.globals.currentHeight===e&&resizeEvents.globals.currentWidth===t||(equalHeights.set(),resizeEvents.globals.currentHeight=e,resizeEvents.globals.currentWidth=t)}))}},watchCssBreakpoints={init:function(){"undefined"!=typeof enquire&&this.mediaQueries()},mediaQueries:function(){enquire.register("screen and (max-width: 767px)",{match:function(){},unmatch:function(){}}),enquire.register("screen and (min-width: 768px)",{match:function(){},unmatch:function(){}}),enquire.register("screen and (min-width: 960px)",{match:function(){},unmatch:function(){}},!0)}},setRadioItemSelected=(mq={isMobile:function(){return $(window).width()<768},isTablet:function(){return 768<=$(window).width()&&$(window).width()<960},isDesktop:function(){return 960<=$(window).width()},current:function(){return mq.isMobile()?"mobile":mq.isTablet()?"tablet":"desktop"},currentAllowed:function(e){if(e){for(var t=e.split(","),i=!1,n=0;n<t.length;n++)t[n]===mq.current()&&(i=!0);return i}return!0}},$(document).ready(function(){resizeEvents.init(),watchCssBreakpoints.init()}),$(window).on("load",function(){}),"insight-us-cookie-set-radio"),channelexists="",countyGridClose=($(document).ready(function(){$(window).scrollTop(0),legalDisclaimer&&legalDisclaimer.init(),ribbonFeature.init(),perspectiveLandingFilter.init(),handleEPIPDFLink.setup(),countyGridClose.init(),gmrHubFilter.init(),$(".u-prevent-default").on("click",function(e){e.preventDefault()}),$(".c-wide-text-editor table").wrap('<div class="c-wide-text-editor_table-wrapper"></div>'),window.addEventListener("orientationchange",function(){handlRibbonBlock&&handlRibbonBlock()}),SetCountryCookie(),$(document).on("click",".recent-promo",function(e){var i;e.preventDefault(),i=0<$(this).closest(".js-t65-hub-blocks").length?"/T65HubResults/AddViewedPromoBlock":0<$(this).closest(".js-t64-hub-blocks").length?"/T64HubLandingPage/AddViewedPromoBlock":0<$(this).closest(".js-hub-promo-blocks").length?"/WideLatestHubPromoBlock/AddViewedPromoBlock":"/PerspectivesLanding/AddViewedPromoBlock",$("#href").val($(this).attr("href")),void 0!==$(this).attr("target")&&null!==$(this).attr("target")&&""!==$(this).attr("target")?$("#target").val($(this).attr("target")):$("#target").val("_self"),$("#contentId").val($(this).attr("data-content-id")),"False"===channelexists?UpdatePromoblockViewCount($(this).attr("data-content-id"),i):$.ajax({type:"Get",dataType:"html",url:"/CountryLandingPage/GetLegalDisclaimer",data:{countryPage:$("#header").attr("data-countrypage"),currentPage:$("#header").attr("data-currentpage"),siteBlockData:$(this).attr("data-content-id")},success:function(e){var t=$.parseHTML(e);void 0!==$(t).filter("#legal-disclaimer").val()&&($("#ajaxLegalDsiclaimer").html(e),null!==e)?legalDisclaimer.open($("#href").val(),$("#target").val(),$("#contentId").val()):(UpdatePromoblockViewCount($("#contentId").val(),i),window.open($("#href").val(),$("#target").val()))},error:function(e){}})}),$(document).on("click",".js-channel-select li",function(e){e.preventDefault();var t,i,e={closeCookie:!0,cookieSettings:{path:"/",expires:3e3,duration:"seconds"}},n=$(this).attr("data-channelguid");ValidateAndSaveSetChannelCookie(n),$("#audiencecategorylist").length&&""!==$("#audiencecategorylist").val()&&(t=$("#audiencecategorylist").val().split(","),i=GetChannelId(n),-1===t.indexOf(i))?window.location.href=$(".js-channel-select li[data-channelguid$="+i+"] a").attr("href"):(cookieManager.cookie(setRadioItemSelected,n,e),window.location.reload(!0))}),$(document).on("change",".c-legal-disclaimer_container input[type=radio][name=channel]",function(){var e=$(this).attr("data-channelguid");$(".c-legal-disclaimer_container input[type=radio][name=channel]").each(function(e){var t=$(this).attr("data-id");$("#"+t).hide()}),ValidateLegalChannel(e)?(ValidateAndSaveSetChannelCookie(e),legalDisclaimer.close(),window.location.reload(!0)):(e=$(this).attr("data-id"),$("#"+e).show())}),$(document).on("click",".js-legal-disclaimer-data",function(e){e.preventDefault();e=$("#header").data("channelexists");$("#href").val($(this).attr("href")),void 0!==$(this).attr("target")&&null!==$(this).attr("target")&&""!==$(this).attr("target")?$("#target").val($(this).attr("target")):$("#target").val("_self"),$("#contentId").val($(this).attr("data-content-id")),"True"===e?$.ajax({type:"Get",dataType:"html",url:"/CountryLandingPage/GetLegalDisclaimer",data:{countryPage:$("#header").attr("data-countrypage"),currentPage:$("#header").attr("data-currentpage"),siteBlockData:$(this).attr("data-content-id")},success:function(e){var t=$.parseHTML(e);void 0!==$(t).filter("#legal-disclaimer").val()&&($("#ajaxLegalDsiclaimer").html(e),null!==e)?legalDisclaimer.open($("#href").val(),$("#target").val(),null):window.open($("#href").val(),$("#target").val())},error:function(e){}}):window.open($("#href").val(),$("#target").val())});var e=cookieManager.cookie(USER_COOKIES_CHANNEL_NAME);null!=e&&0<$(".js-channel-select a.c-dropdown-nav_link").contents().length&&0<(e=GetChannelId(e))&&(e=$(".js-channel-select li[data-channelguid$="+e+"] a").text(),$(".js-channel-select a.c-dropdown-nav_link").contents()[0].data="   "+e+"   "),$("div[id=AudienceCategories]").is(":visible")&&null!==cookieManager.cookie(setRadioItemSelected)&&(cookieManager.cookie(setRadioItemSelected),1)&&null!=(e=cookieManager.cookie(setRadioItemSelected))&&$(".c-legal-disclaimer_container input[type=radio][data-channelguid$="+GetChannelId(e)+"]").trigger("click")}),$(document).on("click","#js-legal-disclaimer_media-button-accept",function(e){e.preventDefault();var e="insight-us-legal-disclaimer",t="",i="",t=cookieManager.cookie(e),n=(($(".c-legal-disclaimer_container div[name$=ld]").length?(i=$(".c-legal-disclaimer_container div[name$=ld]").attr("data-channelid"),$(".c-legal-disclaimer_container div[name$=ld]")):(i=$(".c-legal-disclaimer_container input[type=radio]:checked").attr("data-channelid"),$(".c-legal-disclaimer_container input[type=radio]:checked"))).attr("data-channelguid"),!1),s="",o="";if((s=null!=t?t.split("|"):s).length)for(var a=0;a<s.length;a++)i===s[a]&&(n=!0),o=""===o?s[a]:o+"|"+s[a];(i=s=n?o:o+"|"+i)&&cookieManager.cookie(e,i,{closeCookie:!0,cookieSettings:{path:"/",expires:3,duration:"months"}}),legalDisclaimer.close(),window.location.reload(!0)}),$(document).on("click","#js-legal-disclaimer_media-button-decline",function(e){window.close()}),$(document).on("click",".js-legal-disclaimer_media-button-close",function(e){window.close()}),$(window).on("load",function(){$(window).scrollTop(0);var e,t=window.location.hash;"#ribbonTabs"===t&&$(t).length&&(e=$(t).offset().top,setTimeout(function(){$(window).scrollTop(e-100)},0)),handleEPIPDFLink.setup(),window.externalLinks&&window.externalLinks.init&&window.externalLinks.init($(".js-toast-message-link"))}),{init:function(){var e=$(".js-region-grid_close");e.length&&(e.on("click",function(e){e.preventDefault(),$(this).parents(".c-dropdown-nav_item--dropdown").addClass("c-passive")}),$("a.c-dropdown-nav_link").on("click",function(e){var t=$(this).parents(".c-dropdown-nav_item--dropdown");t.hasClass("c-passive")&&t.removeClass("c-passive")}))}}),handleEPIPDFLink={init:function(){$(".js-wide-find-result").length&&($(".js-wide-find-result").each(function(e,t){$(this).get(0).removeAttribute("onclick")}),$(".js-wide-result").on("mouseover",".js-wide-find-result",function(){$(this).get(0).removeAttribute("onclick")}))},setup:function(){setTimeout(function(){handleEPIPDFLink.init()},1800)}},gmrHubFilter={init:function(){$("#gmr-hub-filter").on("selectmenuchange change",function(){$(this).parents("form").submit()})}},perspectiveLandingFilter={init:function(){$("#perspectiveFilter").on("selectmenuchange change",function(e){e.preventDefault();var t=parseInt($("#perspectiveFilter").val(),10);perspectiveLandingFilter.toggleView(e),perpectiveResults.perpectivePromoResults($("#pageid").val(),1,0<t?12:10,$("#txtPromoSearchTerm").val())})},toggleView:function(e){e.preventDefault();e=$("#perspectiveFilter").val();0<parseInt(e,10)?$(".js-perspective-filter").addClass("c-perspectives--hide-carousel"):$(".js-perspective-filter").removeClass("c-perspectives--hide-carousel")}},ribbonFeature={init:function(){$(".js-ribbon").each(function(e,t){var i=$(t).find(".js-ribbon-list"),n=$(t).find(".js-ribbon-content");$(t).find(".js-ribbon--close").on("click",function(e){e.preventDefault(),n.find(".c-ribbon_content-item").removeClass("c-ribbon_content-item--active"),i.find(".c-ribbon_link").removeClass("c-ribbon_link--active")}),i.on("click",".c-ribbon_link",function(){var e;event.preventDefault(),$(this).siblings().removeClass("c-ribbon_link--active"),$(this).toggleClass("c-ribbon_link--active"),$(this).hasClass("c-ribbon_link--active")?(n.find(".c-ribbon_content-item").removeClass("c-ribbon_content-item--active"),e=$(this).data("pick-to"),1===(e=n.find("#"+e)).length&&e.addClass("c-ribbon_content-item--active")):n.find(".c-ribbon_content-item").removeClass("c-ribbon_content-item--active"),ribbonFeature.handleRibbonOrder()})})},handleRibbonOrder:function(){var e,t,i,n,s;window.matchMedia("(max-width: 767px)").matches&&(e=$(".js-ribbon-list").find(".c-ribbon_link--active"),t=$(".js-ribbon-list").find(".c-ribbon_link"),i=$(".js-ribbon-content"),e.length)&&(n=e.nextAll(".c-ribbon_link"),setTimeout(function(){$("html, body").animate({scrollTop:parseInt(e.offset().top,10)-150},250)}),n.length?(s=t.length-n.length,e.css("order",s),s++,i.css("order",s),$.each(n,function(e,t){s++,$(this).css("order",s)})):i.css("order",t.length+1))}},equalHeights={init:function(){equalHeights.set()},set:function(){$(".js-ui-all-equal-heights-container").each(function(){var t=null,i=null,e=$(this).data("equal-heights-use-shortest")&&mq.isDesktop(),n=$(this).data("restrict-to-breakpoints"),n=mq.currentAllowed(n);e&&$(this).find(".js-ui-all-equal-heights").each(function(){$(this).addClass("truncated");var e=$(this).height();0<e&&(e<i||!i)&&(i=e,t=$(this))}),n?$(this).find(".js-ui-all-equal-heights").matchHeight({byRow:!0,target:t}):$(this).find(".js-ui-all-equal-heights").removeClass("truncated").matchHeight({remove:!0})})}},DONOTACCEPT_COOKIE_NAME="insight-us-cookie-donotaccept",USE_COOKIES_DISC_NAME="insight-us-legal-disclaimer",legalDisclaimer={init:function(){var e=$("#header").data("channelexists"),t=cookieManager.cookie(USER_COOKIES_CHANNEL_NAME),i="";if("False"===e&&(i=$(".c-legal-disclaimer_container div[name$=ld]").attr("data-channelid")),null!=t&&"True"===e&&(i=$(".c-legal-disclaimer_container input[type=radio][data-channelguid$="+GetChannelId(t)+"]").attr("data-channelid")),cookieManager.cookie(USE_COOKIES_DISC_NAME)){var t=cookieManager.cookie(USE_COOKIES_DISC_NAME),n=!1;if(""===i&&"True"===e)legalDisclaimer.open(null,null,null);else if(i&&t){var s=t.split("|"),o=i.split("|");if(s.length&&o.length)for(var a=0;a<o.length;a++)for(var r=0;r<s.length;r++)if(o[a]===s[r]){n=!0;break}if(!n)return void legalDisclaimer.open(null,null,null)}else legalDisclaimer.open(null,null,null);cookieManager.cookie(DONOTACCEPT_COOKIE_NAME)||null!==cookieManager.cookie(USE_COOKIES_DISC_NAME)||legalDisclaimer.open(null,null,null)}else legalDisclaimer.open(null,null,null)},open:function(c,h,u){var d;$("#header").data("channelexists");$(".js-legal-disclaimer").removeClass("!u-hidden").attr("aria-hidden","false"),$(".js-legal-disclaimer").length&&$("body").css("overflow","hidden"),$(".js-legal-disclaimer_close, .js-legal-disclaimer_button-decline").on("click",function(e){legalDisclaimer.close();e=$(e.target).data("redirect")||"/";return window.location.assign(window.location.origin+e),!1}),$(".js-legal-disclaimer_button-accept").on("click",function(e){e.preventDefault();var e=e.currentTarget,t="",e=$(e).closest("div[name$=ld]"),e=(null!=(t=(e.length?e:$(".c-legal-disclaimer_container input[type=radio]:checked")).attr("data-channelguid"))&&ValidateAndSaveSetChannelCookie(t),null!=u&&UpdatePromoblockViewCount(u),cookieManager.cookie(USER_COOKIES_CHANNEL_NAME)),i=(null==e&&ValidateAndSaveSetChannelCookie(e=$(".c-legal-disclaimer_container input[type=radio]:checked").attr("data-channelguid")),$(".c-legal-disclaimer_container input[type=radio][data-channelguid$="+GetChannelId(e)+"]").attr("data-channelid")),t=cookieManager.cookie(USE_COOKIES_DISC_NAME),n=$("#header").attr("data-legal-page"),s=!1,o="",a="";if("False"!==(d=$("#header").data("channelexists"))&&void 0!==d||(n=$(".c-legal-disclaimer_container div[name$=ld]").attr("data-channelid")),null!=(i=null==i?n:i)&&null!=t){if((o=t.split("|")).length)for(var r=0;r<o.length;r++)i===o[r]&&(s=!0),a=""===a?o[r]:a+"|"+o[r];n=o=s?a:a+"|"+i}else if(null!=i&&null==t)n=i;else if(null!=t){if((o=t.split("|")).length)for(var l=0;l<o.length;l++)n===o[l]&&(s=!0),a=""===a?o[l]:a+"|"+o[l];n=o=s?a:a+"|"+n}n&&cookieManager.cookie(USE_COOKIES_DISC_NAME,n,{closeCookie:!0,cookieSettings:{path:"/",expires:3,duration:"months"}}),legalDisclaimer.close(),(null!=e&&null==c||null!=c&&(window.open(c),"_self"!==h))&&window.location.reload(!0),cookieManager.remove(setRadioItemSelected)})},close:function(){$(".js-legal-disclaimer").addClass("!u-hidden").attr("aria-hidden","true"),$(".js-legal-disclaimer").length&&$("body").css("overflow","auto")}},cookieManager={cookie:function(e,t,i){var n=null;if(void 0!==t){var s="",o="",o=(0!==i.cookieSettings.expires&&"seconds"===i.cookieSettings.duration?((o=new Date).setTime(o.getTime()+1e3*i.cookieSettings.expires),s="; expires="+o.toGMTString()):0!==i.cookieSettings.expires&&"years"===i.cookieSettings.duration?((o=new Date).setFullYear(o.getFullYear()+i.cookieSettings.expires),s="; expires="+o.toGMTString()):0!==i.cookieSettings.expires&&"months"===i.cookieSettings.duration&&((o=new Date).setMonth(o.getMonth()+i.cookieSettings.expires),s="; expires="+o.toGMTString()),i.cookieSettings.path||"/");document.cookie=e+"="+encodeURIComponent(t||"")+s+"; path="+o}else{var a=null;if(document.cookie&&""!==document.cookie)for(var r=document.cookie.split(";"),l=r.length,c=0;c<l;++c)if((a=$.trim(r[c])).substring(0,e.length+1)===e+"="){var h=e.length,n=decodeURIComponent(a.substring(h+1));break}}return n},remove:function(e){document.cookie=e+"=; path=/; expires=Thu, 01 Jan 1970 00:00:01 GMT;"}},USER_COOKIES_CHANNEL_NAME="insight-user-selected-channel",channelCookie={set:function(e){cookieManager.cookie("insight-user-selected-channel",e,{closeCookie:!0,cookieSettings:{path:"/",expires:3,duration:"months"}})}};function ValidateLegalChannel(e){var t,i=$(".c-legal-disclaimer_container input[type=radio][data-channelguid$="+GetChannelId(e)+"]").attr("data-channelid"),e=cookieManager.cookie(USE_COOKIES_DISC_NAME),n=!1;if(null!=i&&null!=e&&(t=e.split("|")).length)for(var s=0;s<t.length;s++)if(i===t[s]){n=!0;break}return n}function UpdatePromoblockViewCount(e,t){$.ajax({type:"POST",dataType:"json",url:t,data:{contentId:e},success:function(e){},error:function(e){}})}function ValidateAndSaveSetChannelCookie(e){var t=cookieManager.cookie(USER_COOKIES_CHANNEL_NAME),i="",n=!1;if(null!=t&&""!==t){if(null!=e&&""!==e){var s=t.split("|");if(s.length){for(var o,a,r=0;r<s.length;r++)e!==s[r]&&(o=s[r].split(","),a=e.split(","),o[0]===a[0])&&(n=!0,i=t.replace(s[r],e));n||(i=t+"|"+a)}}}else i=e;channelCookie.set(i)}function GetChannelId(e){if(void 0!==e&&""!==e){var t=cookieManager.cookie("insight-aus-country-page");if(null===t&&void 0===t&&(t=""),null!=e&&""!==e){var i=e.split("|");if(i.length)for(var n=0;n<i.length;n++){var s=i[n].split(",");if(s[0]===t||""===s[0]||""===t)return s[1]}}return 0}}function SetCountryCookie(){var e=$("#header").attr("data-country");null!=e&&""!==e&&cookieManager.cookie("insight-aus-country-page",e,{closeCookie:!0,cookieSettings:{path:"/",expires:3,duration:"months"}})}function RedirectToGlobalHome(){window.location="/"}jQuery(document).ready(function(u){var e=u(".js-timeline"),d=120,n=null;0<e.length&&(n=e.clone()),0<e.length&&s(e);function s(e){e.each(function(){var t,n=u(this),s={},e=(s.timelineWrapper=n.find(".c-timeline_events-wrapper"),s.eventsWrapper=s.timelineWrapper.children(".c-timeline_events"),s.fillingLine=s.eventsWrapper.children(".c-timeline_filling-line"),s.timelineEvents=s.eventsWrapper.find("a"),s.timelineDates=(t=[],s.timelineEvents.each(function(){var e=u(this).data("date"),e=/\d\d\/\d\d\/\d\d\d\d/.test(e)?(e=u(this).data("date").split("/"),new Date(e[2],e[1]-1,e[0])):new Date(e,0,1);t.push(e)}),t),s.eventsMinLapse=function(e){var t=[];for(i=1;i<e.length;i++){var n=y(e[i-1],e[i]);t.push(n)}return Math.min.apply(null,t)}(s.timelineDates),s.timelineNavigation=n.find(".c-timeline_navigation"),s.eventsContent=n.children(".c-timeline_events-content"),d=Math.round(s.timelineWrapper.get(0).clientWidth/6),s),o=d;for(i=0;i<e.timelineDates.length;i++){var a=y(e.timelineDates[0],e.timelineDates[i]);Math.round(a/e.eventsMinLapse);e.timelineEvents.eq(i).css("left",(i+1)*o+"px")}l=d,c=y((r=s).timelineDates[0],r.timelineDates[r.timelineDates.length-1])/r.eventsMinLapse,c=Math.round(c)+4,c=(r.timelineDates.length+1)*l,r.eventsWrapper.css("width",c+"px"),m(r.timelineEvents.filter(".selected"),r.fillingLine,c);var r,l,c,h=c;n.addClass("loaded"),s.timelineNavigation.on("click",".next",function(e){return e.preventDefault(),p(s,h,"next"),!1}),s.timelineNavigation.on("click",".prev",function(e){e.preventDefault(),p(s,h,"prev")}),g("next",s.timelineEvents.filter(".selected"),s),s.eventsWrapper.on("click","a",function(e){e.preventDefault(),s.timelineEvents.removeClass("selected"),u(this).addClass("selected"),b(u(this)),m(u(this),s.fillingLine,h),v(u(this),s.eventsContent)}),s.eventsContent.on("swipeleft",function(){"mobile"===w()&&f(s,h,"next")}),s.eventsContent.on("swiperight",function(){"mobile"===w()&&f(s,h,"prev")}),u(document).keyup(function(e){37===e.which&&_(n.get(0))?f(s,h,"prev"):39===e.which&&_(n.get(0))&&f(s,h,"next")})})}function p(e,t,i){var n=r(e.eventsWrapper),s=Number(e.timelineWrapper.css("width").replace("px",""));"next"===i?a(e,n-s+d,s-t):a(e,n+s-d)}function f(e,t,i){var n,s=e.eventsContent.find(".selected");0<("next"===i?s.next():s.prev()).length&&(s=e.eventsWrapper.find(".selected"),m(n=("next"===i?s.parent("li").next("li"):s.parent("li").prev("li")).children("a"),e.fillingLine,t),v(n,e.eventsContent),n.addClass("selected"),s.removeClass("selected"),b(n),g(i,n,e))}function g(e,t,i,n){var t=window.getComputedStyle(t.get(0),null),t=Number(t.getPropertyValue("left").replace("px","")),s=Number(i.timelineWrapper.css("width").replace("px","")),o=r(i.eventsWrapper);n=Number(i.eventsWrapper.css("width").replace("px","")),("next"===e&&s-o<t||"prev"===e&&t<-o)&&a(i,s/2-t,s-n)}function a(e,t,i){t=0<t?0:t,o(e.eventsWrapper.get(0),"translateX",(t=void 0!==i&&t<i?i:t)+"px"),0===t?e.timelineNavigation.find(".prev").addClass("inactive"):e.timelineNavigation.find(".prev").removeClass("inactive");t===i?e.timelineNavigation.find(".next").addClass("inactive"):e.timelineNavigation.find(".next").removeClass("inactive")}function m(e,t,i){var e=window.getComputedStyle(e.get(0),null),n=e.getPropertyValue("left"),e=e.getPropertyValue("width"),e=(n=Number(n.replace("px",""))+Number(e.replace("px",""))/2)/i;o(t.get(0),"scaleX",e)}function v(e,t){var i,e=e.data("date"),n=t.find(".selected"),s=t.find('[data-date="'+e+'"]'),e=s.height(),o=s.index()>n.index()?(i="c-timeline_events-content-item selected enter-right","c-timeline_events-content-item leave-left"):(i="c-timeline_events-content-item selected enter-left","c-timeline_events-content-item leave-right");s.attr("class",i),n.attr("class",o).one("animationend",function(){n.removeClass("leave-right leave-left"),s.removeClass("enter-left enter-right")}),t.css("minHeight",e+"px")}function b(e){e.parent("li").prevAll("li").children("a").addClass("older-event").end().end().nextAll("li").children("a").removeClass("older-event")}function r(e){e=window.getComputedStyle(e.get(0),null).getPropertyValue("transform"),e=0<=e.indexOf("(")?(e=(e=(e=e.split("(")[1]).split(")")[0]).split(","))[4]:0;return Number(e)}function o(e,t,i){e.style.transform=t+"("+i+")"}function y(e,t){return Math.round(t-e)}function _(e){for(var t=e.offsetTop,i=e.offsetLeft,n=e.offsetWidth,s=e.offsetHeight;e.offsetParent;)t+=(e=e.offsetParent).offsetTop,i+=e.offsetLeft;return t<window.pageYOffset+window.innerHeight&&i<window.pageXOffset+window.innerWidth&&t+s>window.pageYOffset&&i+n>window.pageXOffset}function w(){return window.getComputedStyle(document.querySelector(".js-timeline"),"::before").getPropertyValue("content").replace(/'/g,"").replace(/"/g,"")}window.addEventListener("orientationchange",function(){var e,t;n&&(e=n.clone(),t=s,u(".js-timeline").replaceWith(e),setTimeout(function(){t(u(".js-timeline"))},2e3))})}),$(document).ready(function(){cookiePolicy.init();var l="insight-us-cookie-exclusion-items",t="insight-us-allow-all",i="insight-us-confirm-choice";function n(e){var t="",t=e?".js_cookie_exclusion_allow_popup":".js_cookie_exclusion_allow";$(t).each(function(e,t){if(!1===$(this).prop("checked")){var i=$(this).attr("data-block-id"),n="",s="",o=!1,a="";if(null!==cookieManager.cookie(l)&&(cookieManager.cookie(l),1)){if(n=cookieManager.cookie(l),(s=null!=n?n.split(","):s).length)for(var r=0;r<s.length;r++)i===s[r]&&(o=!0),a=""===a?s[r]:a+","+s[r];s=o?a:a+","+i}else s=i;s.length&&cookieManager.cookie(l,s,{closeCookie:!0,cookieSettings:{path:"/",expires:3e3,duration:"seconds"}})}})}$(".c-table-funds_row-additional-btn").click(function(){window.equalHeights.init()}),$(".js_allow_all").on("click",function(e){cookieManager.remove(i),cookieManager.remove(l),cookieManager.cookie(t,"true",{closeCookie:!0,cookieSettings:{path:"/",expires:3e3,duration:"seconds"}}),$(".js-cookies-accept-button").trigger("click")}),$(".js_confirm_choice").on("click",function(e){cookieManager.remove(t),cookieManager.remove(l),cookieManager.cookie(i,"true",{closeCookie:!0,cookieSettings:{path:"/",expires:3e3,duration:"seconds"}}),n(!1),VerifyCookieConfirmOrNot(),$(".js-cookies-accept-button").trigger("click")}),$(".js_confirm_choice_popup").on("click",function(e){cookieManager.remove(t),cookieManager.remove(l),cookieManager.cookie(i,"true",{closeCookie:!0,cookieSettings:{path:"/",expires:3e3,duration:"seconds"}}),n(!0),$(".js-cookies-accept-button").trigger("click")}),$(".js_cookie_exclusion_allow_popup").on("change",function(e){var t=$(this).is(":checked"),i=$(this).next().find(".js_cookie_exclusion_allow_popup_label"),n=i.data("allow-text"),s=i.data("disallow-text");i.text(t?n:s)})});var cookiePolicy={init:function(){var t={closeCookie:!0,cookieSettings:{path:"/",expires:3,duration:"months"}};"false"===cookieManager.cookie(DONOTACCEPT_COOKIE_NAME)?($("#cookie-allow-tickbox").attr("checked","checked"),$(".CookieExclusionBlock").removeClass("js-disallow").addClass("js-alow")):$(".CookieExclusionBlock").removeClass("js-alow").addClass("js-disallow"),$(".js-save-cookie-settings-button").click(function(e){return e.preventDefault(e),$("#cookie-allow-tickbox").is(":checked")?(cookieManager.cookie(DONOTACCEPT_COOKIE_NAME,"false",t),$(".CookieExclusionBlock").removeClass("js-disallow").addClass("js-alow")):(cookieManager.cookie(DONOTACCEPT_COOKIE_NAME,"true",t),$(".CookieExclusionBlock").removeClass("js-alow").addClass("js-disallow"),cookieBanner.removeCookies()),cookieBanner.close(),!1})}},perpectiveResults={loadPromoBlocks:function(t,i,n){""!==window.location.hash&&(i=window.location.hash),perpectiveResults.perpectivePromoResults(t,i,n,$("#txtPromoSearchTerm").val()),$("#txtPromoSearchForm").submit(function(e){e.preventDefault(),perpectiveResults.perpectivePromoResults(t,i,n,$("#txtPromoSearchTerm").val())})},searchResultPaging:function(i,e,n,t){$("#search-result-pagination").paging({recordsPerPage:n,currentPage:e,totalRecords:t,paginationSelector:"#pagination",pagingTemplateSelector:"#pagingTemplate",recordsPerPageSelector:"#recordsPerPage",onPaging:function(e,t){window.location.hash=e,perpectiveResults.perpectivePromoResults(i,e,n,$("#txtPromoSearchTerm").val())}})},perpectivePromoResults:function(e,t,i,n){$.ajax({type:"GET",dataType:"html",url:"/PerspectivesLanding/GetPerspectivesPromoBlocks",data:{currentPage:e,categoryId:$("#perspectiveFilter").val(),pageNumber:t,pageSize:i,searchTerm:n},success:function(e){$("#search-result-list").html(e),flexSliderCarousel.imageLoadArr=[],flexSliderCarousel.timeout=null,flexSliderCarousel.imageLoadFlag=!1,flexSliderCarousel.perpectivePromoImageCount=0,externalLinks.init($("#search-result-list"))},error:function(e){},complete:function(e){$(".js-perspective-filter>.c-perspectives-tile").remove(),$(".js-perspective-filter").next("#search-result-pagination").remove(),$(".js-perspective-filter").append($("#search-result-list>.c-perspectives-tile")),0<$("#search-result-list").find("#search-result-pagination").length&&$(".js-perspective-filter").after($("#search-result-list #search-result-pagination")),window.renderDate&&window.renderDate.init(),setTimeout(function(){$(window).scrollTop(0),resizeEvents.globals.currentHeight++,$(window).resize()},100)}})}},ajaxUtil={preCall:function(){$(".loader-overlay").show()},postCall:function(){$(".loader-overlay").hide()}},centerLessBlocks={init:function(){var e=$(".js-center-less");e.length&&e.each(function(e,t){t=$(t).find(".js-ui-all-equal-heights:visible");t.length<4?t.eq(0).parent().addClass("js-center-blocks"):t.eq(0).parent().removeClass("js-center-blocks")})}};
//# sourceMappingURL=global-scripts.js.map

(function ($) {

   displayPageNumbers = function (pageData, pageSettings, controls) {
       controls.pageList.empty();
       controls.paginationTemplate.tmpl(pageData).appendTo(controls.pageList);

       // Adding the 6th pagenumber
       if (pageSettings.currentPage > 3) {
           var firstPageNo = pageData[0].pageNumber - 1;
           controls.paginationControl.find(pageSettings.paginationSelector).prepend('<li><a href="#" data-page-no="' + firstPageNo + '" class="pageLink">...</a></li>');
       }
       if ((pageSettings.numberOfPages - pageSettings.currentPage) > 2 && pageSettings.numberOfPages > 5) {
           var lastPageNo = pageData[pageData.length - 1].pageNumber + 1;
           controls.paginationControl.find(pageSettings.paginationSelector).append('<li><a href="#" data-page-no="' + lastPageNo + '" class="pageLink">...</a></li>');
       }

       if (pageSettings.currentPage == 1) {
           controls.paginationControl.find('.prev-f-i').each(function () {
               $(this).addClass('link-disabled');
           });
           controls.paginationControl.find('.prev-i').each(function () {
               $(this).addClass('link-disabled');
           });
       }
       else {
           controls.paginationControl.find('.prev-f-i').each(function () {
               $(this).removeClass('link-disabled');
           });
           controls.paginationControl.find('.prev-i').each(function () {
               $(this).removeClass('link-disabled');
           });
       }

       if (pageSettings.currentPage == pageSettings.numberOfPages) {
           controls.paginationControl.find('.next-l-i').each(function () {
               $(this).addClass('link-disabled');
           });
           controls.paginationControl.find('.next-i').each(function () {
               $(this).addClass('link-disabled');
           });
       }
       else {
           controls.paginationControl.find('.next-l-i').each(function () {
               $(this).removeClass('link-disabled');
           });
           controls.paginationControl.find('.next-i').each(function () {
               $(this).removeClass('link-disabled');
           });
       }

       controls.paginationControl.find('.pageLink').each(function () {
           $(this).click(function (event) {
               event.preventDefault();
               if (pageSettings.onPaging != null && !$(this).hasClass('link-disabled')) {
                   pageSettings.onPaging($(this).attr('data-page-no'), controls.recordsPerPage.val());
                   pageSettings.currentPage = (parseInt($(this).attr('data-page-no')));
                   displayPaging(pageSettings, controls);
               }
           });
       });

       controls.paginationControl.find('.prev-f-i').each(function () {
           $(this).unbind("click");
           $(this).click(function (event) {
               event.preventDefault();
               if (pageSettings.onPaging != null && !$(this).hasClass('link-disabled')) {
                   pageSettings.onPaging(1, controls.recordsPerPage.val());
                   pageSettings.currentPage = 1;
                   displayPaging(pageSettings, controls);
               }
           });
       });

       controls.paginationControl.find('.prev-i').each(function () {
           $(this).unbind("click");
           $(this).click(function (event) {
               event.preventDefault();
               if (pageSettings.currentPage > 1) {
                   if (pageSettings.onPaging != null && !$(this).hasClass('link-disabled')) {
                       var previousPageNumber = parseInt(pageSettings.currentPage) - 1;
                       pageSettings.onPaging(previousPageNumber, controls.recordsPerPage.val());
                       pageSettings.currentPage = previousPageNumber;
                       displayPaging(pageSettings, controls);
                   }
               }
           });
       });

       controls.paginationControl.find('.next-l-i').each(function () {
           $(this).unbind("click");
           $(this).click(function (event) {
               event.preventDefault();
               if (pageSettings.onPaging != null && !$(this).hasClass('link-disabled')) {
                   pageSettings.onPaging(pageSettings.numberOfPages, controls.recordsPerPage.val());
                   pageSettings.currentPage = pageSettings.numberOfPages;
                   displayPaging(pageSettings, controls);
               }
           });
       });

       controls.paginationControl.find('.next-i').each(function () {
           $(this).unbind("click");
           $(this).click(function (event) {
               event.preventDefault();
               if (pageSettings.currentPage < pageSettings.numberOfPages) {
                   if (pageSettings.onPaging != null && !$(this).hasClass('link-disabled')) {
                       var nextPageNumber = parseInt(pageSettings.currentPage) + 1;
                       pageSettings.onPaging(nextPageNumber, controls.recordsPerPage.val());
                       pageSettings.currentPage = nextPageNumber;
                       displayPaging(pageSettings, controls);
                   }
               }
           });
       });
   },
   displayPaging = function (pageSettings, controls) {
       this.pageSettings = pageSettings;
       var currentPageNumber = pageSettings.currentPage;
       var totalRecords = parseInt(pageSettings.totalRecords);
       var recordsPerPage = parseInt(pageSettings.recordsPerPage);

       if (totalRecords > 0 && recordsPerPage > 0) {                                          //If records exist
           var numberOfPages = Math.ceil(parseInt(pageSettings.totalRecords) / parseInt(pageSettings.recordsPerPage));
           this.pageSettings.numberOfPages = numberOfPages;
           var startPageIndex = 1;
           if (numberOfPages > 5) {
               if (currentPageNumber <= 3) {
                   startPageIndex = 1;
               }
               else {
                   startPageIndex = currentPageNumber - 2;
               }
           }
           var pageData = [];
           var j = 1;
           for (var i = startPageIndex; i <= numberOfPages; i++) {
               if (j <= 5) {    //displaying only 5 digits for page numbers
                   var obj =
                           {
                               pageNumber: i,
                               currentPage: currentPageNumber
                           }
                   pageData.push(obj);
                   j++;
               }
           }
           displayPageNumbers(pageData, pageSettings, controls);
       }
   },
   init = function (paginationControl, pageSettings) {
       var controls = {
           paginationControl: paginationControl,
           recordsPerPage: paginationControl.find(pageSettings.recordsPerPageSelector),
           pageList: paginationControl.find(pageSettings.paginationSelector), 
           paginationTemplate: $(pageSettings.pagingTemplateSelector)
       }
       controls.recordsPerPage.unbind('change');
       controls.recordsPerPage.change(function () {
           if (pageSettings.onPaging != null) {
               pageSettings.currentPage = 1;
               pageSettings.recordsPerPage = $(this).val();
               pageSettings.onPaging(1, $(this).val());
               displayPaging(pageSettings, controls);
           }
       });
       return controls;
   }
    $.fn.paging = function (pageSettings) {
        
        return this.each(function () {
            if (pageSettings.totalRecords != 0) {
                var controls = init($(this), pageSettings);
                controls.recordsPerPage.val(pageSettings.recordsPerPage);
                displayPaging(pageSettings, controls);
                $(this).show();
            }
            else {
                $(this).hide();
            }
        });
    }
}(jQuery));
/*!
 * jQuery Templates Plugin 1.0.0pre
 * http://github.com/jquery/jquery-tmpl
 * Requires jQuery 1.4.2
 *
 * Copyright 2011, Software Freedom Conservancy, Inc.
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 */
(function (jQuery, undefined) {
    var oldManip = jQuery.fn.domManip, tmplItmAtt = "_tmplitem", htmlExpr = /^[^<]*(<[\w\W]+>)[^>]*$|\{\{\! /,
		newTmplItems = {}, wrappedItems = {}, appendToTmplItems, topTmplItem = { key: 0, data: {} }, itemKey = 0, cloneIndex = 0, stack = [];

    function newTmplItem(options, parentItem, fn, data) {
        // Returns a template item data structure for a new rendered instance of a template (a 'template item').
        // The content field is a hierarchical array of strings and nested items (to be
        // removed and replaced by nodes field of dom elements, once inserted in DOM).
        var newItem = {
            data: data || (data === 0 || data === false) ? data : (parentItem ? parentItem.data : {}),
            _wrap: parentItem ? parentItem._wrap : null,
            tmpl: null,
            parent: parentItem || null,
            nodes: [],
            calls: tiCalls,
            nest: tiNest,
            wrap: tiWrap,
            html: tiHtml,
            update: tiUpdate
        };
        if (options) {
            jQuery.extend(newItem, options, { nodes: [], parent: parentItem });
        }
        if (fn) {
            // Build the hierarchical content to be used during insertion into DOM
            newItem.tmpl = fn;
            newItem._ctnt = newItem._ctnt || newItem.tmpl(jQuery, newItem);
            newItem.key = ++itemKey;
            // Keep track of new template item, until it is stored as jQuery Data on DOM element
            (stack.length ? wrappedItems : newTmplItems)[itemKey] = newItem;
        }
        return newItem;
    }

    // Override appendTo etc., in order to provide support for targeting multiple elements. (This code would disappear if integrated in jquery core).
    jQuery.each({
        appendTo: "append",
        prependTo: "prepend",
        insertBefore: "before",
        insertAfter: "after",
        replaceAll: "replaceWith"
    }, function (name, original) {
        jQuery.fn[name] = function (selector) {
            var ret = [], insert = jQuery(selector), elems, i, l, tmplItems,
				parent = this.length === 1 && this[0].parentNode;

            appendToTmplItems = newTmplItems || {};
            if (parent && parent.nodeType === 11 && parent.childNodes.length === 1 && insert.length === 1) {
                insert[original](this[0]);
                ret = this;
            } else {
                for (i = 0, l = insert.length; i < l; i++) {
                    cloneIndex = i;
                    elems = (i > 0 ? this.clone(true) : this).get();
                    jQuery(insert[i])[original](elems);
                    ret = ret.concat(elems);
                }
                cloneIndex = 0;
                ret = this.pushStack(ret, name, insert.selector);
            }
            tmplItems = appendToTmplItems;
            appendToTmplItems = null;
            jQuery.tmpl.complete(tmplItems);
            return ret;
        };
    });

    jQuery.fn.extend({
        // Use first wrapped element as template markup.
        // Return wrapped set of template items, obtained by rendering template against data.
        tmpl: function (data, options, parentItem) {
            return jQuery.tmpl(this[0], data, options, parentItem);
        },

        // Find which rendered template item the first wrapped DOM element belongs to
        tmplItem: function () {
            return jQuery.tmplItem(this[0]);
        },

        // Consider the first wrapped element as a template declaration, and get the compiled template or store it as a named template.
        template: function (name) {
            return jQuery.template(name, this[0]);
        },

        domManip: function (args, table, callback, options) {
            if (args[0] && jQuery.isArray(args[0])) {
                var dmArgs = jQuery.makeArray(arguments), elems = args[0], elemsLength = elems.length, i = 0, tmplItem;
                while (i < elemsLength && !(tmplItem = jQuery.data(elems[i++], "tmplItem"))) { }
                if (tmplItem && cloneIndex) {
                    dmArgs[2] = function (fragClone) {
                        // Handler called by oldManip when rendered template has been inserted into DOM.
                        jQuery.tmpl.afterManip(this, fragClone, callback);
                    };
                }
                oldManip.apply(this, dmArgs);
            } else {
                oldManip.apply(this, arguments);
            }
            cloneIndex = 0;
            if (!appendToTmplItems) {
                jQuery.tmpl.complete(newTmplItems);
            }
            return this;
        }
    });

    jQuery.extend({
        // Return wrapped set of template items, obtained by rendering template against data.
        tmpl: function (tmpl, data, options, parentItem) {
            var ret, topLevel = !parentItem;
            if (topLevel) {
                // This is a top-level tmpl call (not from a nested template using {{tmpl}})
                parentItem = topTmplItem;
                tmpl = jQuery.template[tmpl] || jQuery.template(null, tmpl);
                wrappedItems = {}; // Any wrapped items will be rebuilt, since this is top level
            } else if (!tmpl) {
                // The template item is already associated with DOM - this is a refresh.
                // Re-evaluate rendered template for the parentItem
                tmpl = parentItem.tmpl;
                newTmplItems[parentItem.key] = parentItem;
                parentItem.nodes = [];
                if (parentItem.wrapped) {
                    updateWrapped(parentItem, parentItem.wrapped);
                }
                // Rebuild, without creating a new template item
                return jQuery(build(parentItem, null, parentItem.tmpl(jQuery, parentItem)));
            }
            if (!tmpl) {
                return []; // Could throw...
            }
            if (typeof data === "function") {
                data = data.call(parentItem || {});
            }
            if (options && options.wrapped) {
                updateWrapped(options, options.wrapped);
            }
            ret = jQuery.isArray(data) ?
				jQuery.map(data, function (dataItem) {
				    return dataItem ? newTmplItem(options, parentItem, tmpl, dataItem) : null;
				}) :
				[newTmplItem(options, parentItem, tmpl, data)];
            return topLevel ? jQuery(build(parentItem, null, ret)) : ret;
        },

        // Return rendered template item for an element.
        tmplItem: function (elem) {
            var tmplItem;
            if (elem instanceof jQuery) {
                elem = elem[0];
            }
            while (elem && elem.nodeType === 1 && !(tmplItem = jQuery.data(elem, "tmplItem")) && (elem = elem.parentNode)) { }
            return tmplItem || topTmplItem;
        },

        // Set:
        // Use $.template( name, tmpl ) to cache a named template,
        // where tmpl is a template string, a script element or a jQuery instance wrapping a script element, etc.
        // Use $( "selector" ).template( name ) to provide access by name to a script block template declaration.

        // Get:
        // Use $.template( name ) to access a cached template.
        // Also $( selectorToScriptBlock ).template(), or $.template( null, templateString )
        // will return the compiled template, without adding a name reference.
        // If templateString includes at least one HTML tag, $.template( templateString ) is equivalent
        // to $.template( null, templateString )
        template: function (name, tmpl) {
            if (tmpl) {
                // Compile template and associate with name
                if (typeof tmpl === "string") {
                    // This is an HTML string being passed directly in.
                    tmpl = buildTmplFn(tmpl);
                } else if (tmpl instanceof jQuery) {
                    tmpl = tmpl[0] || {};
                }
                if (tmpl.nodeType) {
                    // If this is a template block, use cached copy, or generate tmpl function and cache.
                    tmpl = jQuery.data(tmpl, "tmpl") || jQuery.data(tmpl, "tmpl", buildTmplFn(tmpl.innerHTML));
                    // Issue: In IE, if the container element is not a script block, the innerHTML will remove quotes from attribute values whenever the value does not include white space.
                    // This means that foo="${x}" will not work if the value of x includes white space: foo="${x}" -> foo=value of x.
                    // To correct this, include space in tag: foo="${ x }" -> foo="value of x"
                }
                return typeof name === "string" ? (jQuery.template[name] = tmpl) : tmpl;
            }
            // Return named compiled template
            return name ? (typeof name !== "string" ? jQuery.template(null, name) :
				(jQuery.template[name] ||
					// If not in map, and not containing at least on HTML tag, treat as a selector.
					// (If integrated with core, use quickExpr.exec)
					jQuery.template(null, htmlExpr.test(name) ? name : jQuery(name)))) : null;
        },

        encode: function (text) {
            // Do HTML encoding replacing < > & and ' and " by corresponding entities.
            return ("" + text).split("<").join("&lt;").split(">").join("&gt;").split('"').join("&#34;").split("'").join("&#39;");
        }
    });

    jQuery.extend(jQuery.tmpl, {
        tag: {
            "tmpl": {
                _default: { $2: "null" },
                open: "if($notnull_1){__=__.concat($item.nest($1,$2));}"
                // tmpl target parameter can be of type function, so use $1, not $1a (so not auto detection of functions)
                // This means that {{tmpl foo}} treats foo as a template (which IS a function).
                // Explicit parens can be used if foo is a function that returns a template: {{tmpl foo()}}.
            },
            "wrap": {
                _default: { $2: "null" },
                open: "$item.calls(__,$1,$2);__=[];",
                close: "call=$item.calls();__=call._.concat($item.wrap(call,__));"
            },
            "each": {
                _default: { $2: "$index, $value" },
                open: "if($notnull_1){$.each($1a,function($2){with(this){",
                close: "}});}"
            },
            "if": {
                open: "if(($notnull_1) && $1a){",
                close: "}"
            },
            "else": {
                _default: { $1: "true" },
                open: "}else if(($notnull_1) && $1a){"
            },
            "html": {
                // Unecoded expression evaluation.
                open: "if($notnull_1){__.push($1a);}"
            },
            "=": {
                // Encoded expression evaluation. Abbreviated form is ${}.
                _default: { $1: "$data" },
                open: "if($notnull_1){__.push($.encode($1a));}"
            },
            "!": {
                // Comment tag. Skipped by parser
                open: ""
            }
        },

        // This stub can be overridden, e.g. in jquery.tmplPlus for providing rendered events
        complete: function (items) {
            newTmplItems = {};
        },

        // Call this from code which overrides domManip, or equivalent
        // Manage cloning/storing template items etc.
        afterManip: function afterManip(elem, fragClone, callback) {
            // Provides cloned fragment ready for fixup prior to and after insertion into DOM
            var content = fragClone.nodeType === 11 ?
				jQuery.makeArray(fragClone.childNodes) :
				fragClone.nodeType === 1 ? [fragClone] : [];

            // Return fragment to original caller (e.g. append) for DOM insertion
            callback.call(elem, fragClone);

            // Fragment has been inserted:- Add inserted nodes to tmplItem data structure. Replace inserted element annotations by jQuery.data.
            storeTmplItems(content);
            cloneIndex++;
        }
    });

    //========================== Private helper functions, used by code above ==========================

    function build(tmplItem, nested, content) {
        // Convert hierarchical content into flat string array
        // and finally return array of fragments ready for DOM insertion
        var frag, ret = content ? jQuery.map(content, function (item) {
            return (typeof item === "string") ?
				// Insert template item annotations, to be converted to jQuery.data( "tmplItem" ) when elems are inserted into DOM.
				(tmplItem.key ? item.replace(/(<\w+)(?=[\s>])(?![^>]*_tmplitem)([^>]*)/g, "$1 " + tmplItmAtt + "=\"" + tmplItem.key + "\" $2") : item) :
				// This is a child template item. Build nested template.
				build(item, tmplItem, item._ctnt);
        }) :
		// If content is not defined, insert tmplItem directly. Not a template item. May be a string, or a string array, e.g. from {{html $item.html()}}.
		tmplItem;
        if (nested) {
            return ret;
        }

        // top-level template
        ret = ret.join("");

        // Support templates which have initial or final text nodes, or consist only of text
        // Also support HTML entities within the HTML markup.
        ret.replace(/^\s*([^<\s][^<]*)?(<[\w\W]+>)([^>]*[^>\s])?\s*$/, function (all, before, middle, after) {
            frag = jQuery(middle).get();

            storeTmplItems(frag);
            if (before) {
                frag = unencode(before).concat(frag);
            }
            if (after) {
                frag = frag.concat(unencode(after));
            }
        });
        return frag ? frag : unencode(ret);
    }

    function unencode(text) {
        // Use createElement, since createTextNode will not render HTML entities correctly
        var el = document.createElement("div");
        el.innerHTML = text;
        return jQuery.makeArray(el.childNodes);
    }

    // Generate a reusable function that will serve to render a template against data
    function buildTmplFn(markup) {
        return new Function("jQuery", "$item",
			// Use the variable __ to hold a string array while building the compiled template. (See https://github.com/jquery/jquery-tmpl/issues#issue/10).
			"var $=jQuery,call,__=[],$data=$item.data;" +

			// Introduce the data as local variables using with(){}
			"with($data){__.push('" +

			// Convert the template into pure JavaScript
			jQuery.trim(markup)
				.replace(/([\\'])/g, "\\$1")
				.replace(/[\r\t\n]/g, " ")
				.replace(/\$\{([^\}]*)\}/g, "{{= $1}}")
				.replace(/\{\{(\/?)(\w+|.)(?:\(((?:[^\}]|\}(?!\}))*?)?\))?(?:\s+(.*?)?)?(\(((?:[^\}]|\}(?!\}))*?)\))?\s*\}\}/g,
				function (all, slash, type, fnargs, target, parens, args) {
				    var tag = jQuery.tmpl.tag[type], def, expr, exprAutoFnDetect;
				    if (!tag) {
				        throw "Unknown template tag: " + type;
				    }
				    def = tag._default || [];
				    if (parens && !/\w$/.test(target)) {
				        target += parens;
				        parens = "";
				    }
				    if (target) {
				        target = unescape(target);
				        args = args ? ("," + unescape(args) + ")") : (parens ? ")" : "");
				        // Support for target being things like a.toLowerCase();
				        // In that case don't call with template item as 'this' pointer. Just evaluate...
				        expr = parens ? (target.indexOf(".") > -1 ? target + unescape(parens) : ("(" + target + ").call($item" + args)) : target;
				        exprAutoFnDetect = parens ? expr : "(typeof(" + target + ")==='function'?(" + target + ").call($item):(" + target + "))";
				    } else {
				        exprAutoFnDetect = expr = def.$1 || "null";
				    }
				    fnargs = unescape(fnargs);
				    return "');" +
						tag[slash ? "close" : "open"]
							.split("$notnull_1").join(target ? "typeof(" + target + ")!=='undefined' && (" + target + ")!=null" : "true")
							.split("$1a").join(exprAutoFnDetect)
							.split("$1").join(expr)
							.split("$2").join(fnargs || def.$2 || "") +
						"__.push('";
				}) +
			"');}return __;"
		);
    }
    function updateWrapped(options, wrapped) {
        // Build the wrapped content.
        options._wrap = build(options, true,
			// Suport imperative scenario in which options.wrapped can be set to a selector or an HTML string.
			jQuery.isArray(wrapped) ? wrapped : [htmlExpr.test(wrapped) ? wrapped : jQuery(wrapped).html()]
		).join("");
    }

    function unescape(args) {
        return args ? args.replace(/\\'/g, "'").replace(/\\\\/g, "\\") : null;
    }
    function outerHtml(elem) {
        var div = document.createElement("div");
        div.appendChild(elem.cloneNode(true));
        return div.innerHTML;
    }

    // Store template items in jQuery.data(), ensuring a unique tmplItem data data structure for each rendered template instance.
    function storeTmplItems(content) {
        var keySuffix = "_" + cloneIndex, elem, elems, newClonedItems = {}, i, l, m;
        for (i = 0, l = content.length; i < l; i++) {
            if ((elem = content[i]).nodeType !== 1) {
                continue;
            }
            elems = elem.getElementsByTagName("*");
            for (m = elems.length - 1; m >= 0; m--) {
                processItemKey(elems[m]);
            }
            processItemKey(elem);
        }
        function processItemKey(el) {
            var pntKey, pntNode = el, pntItem, tmplItem, key;
            // Ensure that each rendered template inserted into the DOM has its own template item,
            if ((key = el.getAttribute(tmplItmAtt))) {
                while (pntNode.parentNode && (pntNode = pntNode.parentNode).nodeType === 1 && !(pntKey = pntNode.getAttribute(tmplItmAtt))) { }
                if (pntKey !== key) {
                    // The next ancestor with a _tmplitem expando is on a different key than this one.
                    // So this is a top-level element within this template item
                    // Set pntNode to the key of the parentNode, or to 0 if pntNode.parentNode is null, or pntNode is a fragment.
                    pntNode = pntNode.parentNode ? (pntNode.nodeType === 11 ? 0 : (pntNode.getAttribute(tmplItmAtt) || 0)) : 0;
                    if (!(tmplItem = newTmplItems[key])) {
                        // The item is for wrapped content, and was copied from the temporary parent wrappedItem.
                        tmplItem = wrappedItems[key];
                        tmplItem = newTmplItem(tmplItem, newTmplItems[pntNode] || wrappedItems[pntNode]);
                        tmplItem.key = ++itemKey;
                        newTmplItems[itemKey] = tmplItem;
                    }
                    if (cloneIndex) {
                        cloneTmplItem(key);
                    }
                }
                el.removeAttribute(tmplItmAtt);
            } else if (cloneIndex && (tmplItem = jQuery.data(el, "tmplItem"))) {
                // This was a rendered element, cloned during append or appendTo etc.
                // TmplItem stored in jQuery data has already been cloned in cloneCopyEvent. We must replace it with a fresh cloned tmplItem.
                cloneTmplItem(tmplItem.key);
                newTmplItems[tmplItem.key] = tmplItem;
                pntNode = jQuery.data(el.parentNode, "tmplItem");
                pntNode = pntNode ? pntNode.key : 0;
            }
            if (tmplItem) {
                pntItem = tmplItem;
                // Find the template item of the parent element.
                // (Using !=, not !==, since pntItem.key is number, and pntNode may be a string)
                while (pntItem && pntItem.key != pntNode) {
                    // Add this element as a top-level node for this rendered template item, as well as for any
                    // ancestor items between this item and the item of its parent element
                    pntItem.nodes.push(el);
                    pntItem = pntItem.parent;
                }
                // Delete content built during rendering - reduce API surface area and memory use, and avoid exposing of stale data after rendering...
                delete tmplItem._ctnt;
                delete tmplItem._wrap;
                // Store template item as jQuery data on the element
                jQuery.data(el, "tmplItem", tmplItem);
            }
            function cloneTmplItem(key) {
                key = key + keySuffix;
                tmplItem = newClonedItems[key] =
					(newClonedItems[key] || newTmplItem(tmplItem, newTmplItems[tmplItem.parent.key + keySuffix] || tmplItem.parent));
            }
        }
    }

    //---- Helper functions for template item ----

    function tiCalls(content, tmpl, data, options) {
        if (!content) {
            return stack.pop();
        }
        stack.push({ _: content, tmpl: tmpl, item: this, data: data, options: options });
    }

    function tiNest(tmpl, data, options) {
        // nested template, using {{tmpl}} tag
        return jQuery.tmpl(jQuery.template(tmpl), data, options, this);
    }

    function tiWrap(call, wrapped) {
        // nested template, using {{wrap}} tag
        var options = call.options || {};
        options.wrapped = wrapped;
        // Apply the template, which may incorporate wrapped content,
        return jQuery.tmpl(jQuery.template(call.tmpl), call.data, options, call.item);
    }

    function tiHtml(filter, textOnly) {
        var wrapped = this._wrap;
        return jQuery.map(
			jQuery(jQuery.isArray(wrapped) ? wrapped.join("") : wrapped).filter(filter || "*"),
			function (e) {
			    return textOnly ?
					e.innerText || e.textContent :
					e.outerHTML || outerHtml(e);
			});
    }

    function tiUpdate() {
        var coll = this.nodes;
        jQuery.tmpl(null, null, null, this).insertBefore(coll[0]);
        jQuery(coll).remove();
    }
})(jQuery);
/*! For license information please see global.js.LICENSE.txt */
(()=>{var t={61044:(t,e)=>{"use strict";function i(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function r(t){return t instanceof i(t).Element||t instanceof Element}function a(t){return t instanceof i(t).HTMLElement||t instanceof HTMLElement}function n(t){return"undefined"!=typeof ShadowRoot&&(t instanceof i(t).ShadowRoot||t instanceof ShadowRoot)}Object.defineProperty(e,"__esModule",{value:!0});var o=Math.max,s=Math.min,u=Math.round;function l(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function c(){return!/^((?!chrome|android).)*safari/i.test(l())}function d(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var o=t.getBoundingClientRect(),s=1,l=1;e&&a(t)&&(s=t.offsetWidth>0&&u(o.width)/t.offsetWidth||1,l=t.offsetHeight>0&&u(o.height)/t.offsetHeight||1);var d=(r(t)?i(t):window).visualViewport,h=!c()&&n,f=(o.left+(h&&d?d.offsetLeft:0))/s,p=(o.top+(h&&d?d.offsetTop:0))/l,m=o.width/s,b=o.height/l;return{width:m,height:b,top:p,right:f+m,bottom:p+b,left:f,x:f,y:p}}function h(t){var e=i(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function f(t){return t?(t.nodeName||"").toLowerCase():null}function p(t){return((r(t)?t.ownerDocument:t.document)||window.document).documentElement}function m(t){return d(p(t)).left+h(t).scrollLeft}function b(t){return i(t).getComputedStyle(t)}function g(t){var e=b(t),i=e.overflow,r=e.overflowX,a=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+a+r)}function v(t,e,r){void 0===r&&(r=!1);var n,o,s=a(e),l=a(e)&&function(t){var e=t.getBoundingClientRect(),i=u(e.width)/t.offsetWidth||1,r=u(e.height)/t.offsetHeight||1;return 1!==i||1!==r}(e),c=p(e),b=d(t,l,r),v={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(s||!s&&!r)&&(("body"!==f(e)||g(c))&&(v=(n=e)!==i(n)&&a(n)?{scrollLeft:(o=n).scrollLeft,scrollTop:o.scrollTop}:h(n)),a(e)?((y=d(e,!0)).x+=e.clientLeft,y.y+=e.clientTop):c&&(y.x=m(c))),{x:b.left+v.scrollLeft-y.x,y:b.top+v.scrollTop-y.y,width:b.width,height:b.height}}function y(t){var e=d(t),i=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:r}}function _(t){return"html"===f(t)?t:t.assignedSlot||t.parentNode||(n(t)?t.host:null)||p(t)}function x(t){return["html","body","#document"].indexOf(f(t))>=0?t.ownerDocument.body:a(t)&&g(t)?t:x(_(t))}function k(t,e){var r;void 0===e&&(e=[]);var a=x(t),n=a===(null==(r=t.ownerDocument)?void 0:r.body),o=i(a),s=n?[o].concat(o.visualViewport||[],g(a)?a:[]):a,u=e.concat(s);return n?u:u.concat(k(_(s)))}function w(t){return["table","td","th"].indexOf(f(t))>=0}function S(t){return a(t)&&"fixed"!==b(t).position?t.offsetParent:null}function E(t){for(var e=i(t),r=S(t);r&&w(r)&&"static"===b(r).position;)r=S(r);return r&&("html"===f(r)||"body"===f(r)&&"static"===b(r).position)?e:r||function(t){var e=/firefox/i.test(l());if(/Trident/i.test(l())&&a(t)&&"fixed"===b(t).position)return null;var i=_(t);for(n(i)&&(i=i.host);a(i)&&["html","body"].indexOf(f(i))<0;){var r=b(i);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||e&&"filter"===r.willChange||e&&r.filter&&"none"!==r.filter)return i;i=i.parentNode}return null}(t)||e}var j="top",T="bottom",P="right",A="left",C="auto",O=[j,T,P,A],M="start",D="end",z="clippingParents",L="viewport",I="popper",F="reference",q=O.reduce((function(t,e){return t.concat([e+"-"+M,e+"-"+D])}),[]),R=[].concat(O,[C]).reduce((function(t,e){return t.concat([e,e+"-"+M,e+"-"+D])}),[]),B=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function N(t){var e=new Map,i=new Set,r=[];function a(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var r=e.get(t);r&&a(r)}})),r.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||a(t)})),r}function $(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&n(i)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function V(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function H(t,e,a){return e===L?V(function(t,e){var r=i(t),a=p(t),n=r.visualViewport,o=a.clientWidth,s=a.clientHeight,u=0,l=0;if(n){o=n.width,s=n.height;var d=c();(d||!d&&"fixed"===e)&&(u=n.offsetLeft,l=n.offsetTop)}return{width:o,height:s,x:u+m(t),y:l}}(t,a)):r(e)?function(t,e){var i=d(t,!1,"fixed"===e);return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}(e,a):V(function(t){var e,i=p(t),r=h(t),a=null==(e=t.ownerDocument)?void 0:e.body,n=o(i.scrollWidth,i.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),s=o(i.scrollHeight,i.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),u=-r.scrollLeft+m(t),l=-r.scrollTop;return"rtl"===b(a||i).direction&&(u+=o(i.clientWidth,a?a.clientWidth:0)-n),{width:n,height:s,x:u,y:l}}(p(t)))}function U(t){return t.split("-")[0]}function W(t){return t.split("-")[1]}function Y(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function G(t){var e,i=t.reference,r=t.element,a=t.placement,n=a?U(a):null,o=a?W(a):null,s=i.x+i.width/2-r.width/2,u=i.y+i.height/2-r.height/2;switch(n){case j:e={x:s,y:i.y-r.height};break;case T:e={x:s,y:i.y+i.height};break;case P:e={x:i.x+i.width,y:u};break;case A:e={x:i.x-r.width,y:u};break;default:e={x:i.x,y:i.y}}var l=n?Y(n):null;if(null!=l){var c="y"===l?"height":"width";switch(o){case M:e[l]=e[l]-(i[c]/2-r[c]/2);break;case D:e[l]=e[l]+(i[c]/2-r[c]/2)}}return e}function K(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function X(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}function J(t,e){void 0===e&&(e={});var i=e,n=i.placement,u=void 0===n?t.placement:n,l=i.strategy,c=void 0===l?t.strategy:l,h=i.boundary,m=void 0===h?z:h,g=i.rootBoundary,v=void 0===g?L:g,y=i.elementContext,x=void 0===y?I:y,w=i.altBoundary,S=void 0!==w&&w,A=i.padding,C=void 0===A?0:A,M=K("number"!=typeof C?C:X(C,O)),D=x===I?F:I,q=t.rects.popper,R=t.elements[S?D:x],B=function(t,e,i,n){var u="clippingParents"===e?function(t){var e=k(_(t)),i=["absolute","fixed"].indexOf(b(t).position)>=0&&a(t)?E(t):t;return r(i)?e.filter((function(t){return r(t)&&$(t,i)&&"body"!==f(t)})):[]}(t):[].concat(e),l=[].concat(u,[i]),c=l[0],d=l.reduce((function(e,i){var r=H(t,i,n);return e.top=o(r.top,e.top),e.right=s(r.right,e.right),e.bottom=s(r.bottom,e.bottom),e.left=o(r.left,e.left),e}),H(t,c,n));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}(r(R)?R:R.contextElement||p(t.elements.popper),m,v,c),N=d(t.elements.reference),U=G({reference:N,element:q,strategy:"absolute",placement:u}),W=V(Object.assign({},q,U)),Y=x===I?W:N,J={top:B.top-Y.top+M.top,bottom:Y.bottom-B.bottom+M.bottom,left:B.left-Y.left+M.left,right:Y.right-B.right+M.right},Z=t.modifiersData.offset;if(x===I&&Z){var Q=Z[u];Object.keys(J).forEach((function(t){var e=[P,T].indexOf(t)>=0?1:-1,i=[j,T].indexOf(t)>=0?"y":"x";J[t]+=Q[i]*e}))}return J}var Z={placement:"bottom",modifiers:[],strategy:"absolute"};function Q(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function tt(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,a=void 0===i?[]:i,n=e.defaultOptions,o=void 0===n?Z:n;return function(t,e,i){void 0===i&&(i=o);var n,s,u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Z,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,d={state:u,setOptions:function(i){var n="function"==typeof i?i(u.options):i;h(),u.options=Object.assign({},o,u.options,n),u.scrollParents={reference:r(t)?k(t):t.contextElement?k(t.contextElement):[],popper:k(e)};var s,c,f=function(t){var e=N(t);return B.reduce((function(t,i){return t.concat(e.filter((function(t){return t.phase===i})))}),[])}((s=[].concat(a,u.options.modifiers),c=s.reduce((function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t}),{}),Object.keys(c).map((function(t){return c[t]}))));return u.orderedModifiers=f.filter((function(t){return t.enabled})),u.orderedModifiers.forEach((function(t){var e=t.name,i=t.options,r=void 0===i?{}:i,a=t.effect;if("function"==typeof a){var n=a({state:u,name:e,instance:d,options:r});l.push(n||function(){})}})),d.update()},forceUpdate:function(){if(!c){var t=u.elements,e=t.reference,i=t.popper;if(Q(e,i)){u.rects={reference:v(e,E(i),"fixed"===u.options.strategy),popper:y(i)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach((function(t){return u.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<u.orderedModifiers.length;r++)if(!0!==u.reset){var a=u.orderedModifiers[r],n=a.fn,o=a.options,s=void 0===o?{}:o,l=a.name;"function"==typeof n&&(u=n({state:u,options:s,name:l,instance:d})||u)}else u.reset=!1,r=-1}}},update:(n=function(){return new Promise((function(t){d.forceUpdate(),t(u)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(n())}))}))),s}),destroy:function(){h(),c=!0}};if(!Q(t,e))return d;function h(){l.forEach((function(t){return t()})),l=[]}return d.setOptions(i).then((function(t){!c&&i.onFirstUpdate&&i.onFirstUpdate(t)})),d}}var et={passive:!0},it={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,r=t.instance,a=t.options,n=a.scroll,o=void 0===n||n,s=a.resize,u=void 0===s||s,l=i(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",r.update,et)})),u&&l.addEventListener("resize",r.update,et),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",r.update,et)})),u&&l.removeEventListener("resize",r.update,et)}},data:{}},rt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=G({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},at={top:"auto",right:"auto",bottom:"auto",left:"auto"};function nt(t){var e,r=t.popper,a=t.popperRect,n=t.placement,o=t.variation,s=t.offsets,l=t.position,c=t.gpuAcceleration,d=t.adaptive,h=t.roundOffsets,f=t.isFixed,m=s.x,g=void 0===m?0:m,v=s.y,y=void 0===v?0:v,_="function"==typeof h?h({x:g,y}):{x:g,y};g=_.x,y=_.y;var x=s.hasOwnProperty("x"),k=s.hasOwnProperty("y"),w=A,S=j,C=window;if(d){var O=E(r),M="clientHeight",z="clientWidth";O===i(r)&&"static"!==b(O=p(r)).position&&"absolute"===l&&(M="scrollHeight",z="scrollWidth"),(n===j||(n===A||n===P)&&o===D)&&(S=T,y-=(f&&O===C&&C.visualViewport?C.visualViewport.height:O[M])-a.height,y*=c?1:-1),n!==A&&(n!==j&&n!==T||o!==D)||(w=P,g-=(f&&O===C&&C.visualViewport?C.visualViewport.width:O[z])-a.width,g*=c?1:-1)}var L,I=Object.assign({position:l},d&&at),F=!0===h?function(t,e){var i=t.x,r=t.y,a=e.devicePixelRatio||1;return{x:u(i*a)/a||0,y:u(r*a)/a||0}}({x:g,y},i(r)):{x:g,y};return g=F.x,y=F.y,c?Object.assign({},I,((L={})[S]=k?"0":"",L[w]=x?"0":"",L.transform=(C.devicePixelRatio||1)<=1?"translate("+g+"px, "+y+"px)":"translate3d("+g+"px, "+y+"px, 0)",L)):Object.assign({},I,((e={})[S]=k?y+"px":"",e[w]=x?g+"px":"",e.transform="",e))}var ot={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,r=i.gpuAcceleration,a=void 0===r||r,n=i.adaptive,o=void 0===n||n,s=i.roundOffsets,u=void 0===s||s,l={placement:U(e.placement),variation:W(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:a,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,nt(Object.assign({},l,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:u})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,nt(Object.assign({},l,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},st={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},r=e.attributes[t]||{},n=e.elements[t];a(n)&&f(n)&&(Object.assign(n.style,i),Object.keys(r).forEach((function(t){var e=r[t];!1===e?n.removeAttribute(t):n.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var r=e.elements[t],n=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});a(r)&&f(r)&&(Object.assign(r.style,o),Object.keys(n).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},ut={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,r=t.name,a=i.offset,n=void 0===a?[0,0]:a,o=R.reduce((function(t,i){return t[i]=function(t,e,i){var r=U(t),a=[A,j].indexOf(r)>=0?-1:1,n="function"==typeof i?i(Object.assign({},e,{placement:t})):i,o=n[0],s=n[1];return o=o||0,s=(s||0)*a,[A,P].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}(i,e.rects,n),t}),{}),s=o[e.placement],u=s.x,l=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=l),e.modifiersData[r]=o}},lt={left:"right",right:"left",bottom:"top",top:"bottom"};function ct(t){return t.replace(/left|right|bottom|top/g,(function(t){return lt[t]}))}var dt={start:"end",end:"start"};function ht(t){return t.replace(/start|end/g,(function(t){return dt[t]}))}function ft(t,e){void 0===e&&(e={});var i=e,r=i.placement,a=i.boundary,n=i.rootBoundary,o=i.padding,s=i.flipVariations,u=i.allowedAutoPlacements,l=void 0===u?R:u,c=W(r),d=c?s?q:q.filter((function(t){return W(t)===c})):O,h=d.filter((function(t){return l.indexOf(t)>=0}));0===h.length&&(h=d);var f=h.reduce((function(e,i){return e[i]=J(t,{placement:i,boundary:a,rootBoundary:n,padding:o})[U(i)],e}),{});return Object.keys(f).sort((function(t,e){return f[t]-f[e]}))}var pt={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var a=i.mainAxis,n=void 0===a||a,o=i.altAxis,s=void 0===o||o,u=i.fallbackPlacements,l=i.padding,c=i.boundary,d=i.rootBoundary,h=i.altBoundary,f=i.flipVariations,p=void 0===f||f,m=i.allowedAutoPlacements,b=e.options.placement,g=U(b),v=u||(g!==b&&p?function(t){if(U(t)===C)return[];var e=ct(t);return[ht(t),e,ht(e)]}(b):[ct(b)]),y=[b].concat(v).reduce((function(t,i){return t.concat(U(i)===C?ft(e,{placement:i,boundary:c,rootBoundary:d,padding:l,flipVariations:p,allowedAutoPlacements:m}):i)}),[]),_=e.rects.reference,x=e.rects.popper,k=new Map,w=!0,S=y[0],E=0;E<y.length;E++){var O=y[E],D=U(O),z=W(O)===M,L=[j,T].indexOf(D)>=0,I=L?"width":"height",F=J(e,{placement:O,boundary:c,rootBoundary:d,altBoundary:h,padding:l}),q=L?z?P:A:z?T:j;_[I]>x[I]&&(q=ct(q));var R=ct(q),B=[];if(n&&B.push(F[D]<=0),s&&B.push(F[q]<=0,F[R]<=0),B.every((function(t){return t}))){S=O,w=!1;break}k.set(O,B)}if(w)for(var N=function(t){var e=y.find((function(e){var i=k.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return S=e,"break"},$=p?3:1;$>0&&"break"!==N($);$--);e.placement!==S&&(e.modifiersData[r]._skip=!0,e.placement=S,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function mt(t,e,i){return o(t,s(e,i))}var bt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,r=t.name,a=i.mainAxis,n=void 0===a||a,u=i.altAxis,l=void 0!==u&&u,c=i.boundary,d=i.rootBoundary,h=i.altBoundary,f=i.padding,p=i.tether,m=void 0===p||p,b=i.tetherOffset,g=void 0===b?0:b,v=J(e,{boundary:c,rootBoundary:d,padding:f,altBoundary:h}),_=U(e.placement),x=W(e.placement),k=!x,w=Y(_),S="x"===w?"y":"x",C=e.modifiersData.popperOffsets,O=e.rects.reference,D=e.rects.popper,z="function"==typeof g?g(Object.assign({},e.rects,{placement:e.placement})):g,L="number"==typeof z?{mainAxis:z,altAxis:z}:Object.assign({mainAxis:0,altAxis:0},z),I=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,F={x:0,y:0};if(C){if(n){var q,R="y"===w?j:A,B="y"===w?T:P,N="y"===w?"height":"width",$=C[w],V=$+v[R],H=$-v[B],G=m?-D[N]/2:0,K=x===M?O[N]:D[N],X=x===M?-D[N]:-O[N],Z=e.elements.arrow,Q=m&&Z?y(Z):{width:0,height:0},tt=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},et=tt[R],it=tt[B],rt=mt(0,O[N],Q[N]),at=k?O[N]/2-G-rt-et-L.mainAxis:K-rt-et-L.mainAxis,nt=k?-O[N]/2+G+rt+it+L.mainAxis:X+rt+it+L.mainAxis,ot=e.elements.arrow&&E(e.elements.arrow),st=ot?"y"===w?ot.clientTop||0:ot.clientLeft||0:0,ut=null!=(q=null==I?void 0:I[w])?q:0,lt=$+nt-ut,ct=mt(m?s(V,$+at-ut-st):V,$,m?o(H,lt):H);C[w]=ct,F[w]=ct-$}if(l){var dt,ht="x"===w?j:A,ft="x"===w?T:P,pt=C[S],bt="y"===S?"height":"width",gt=pt+v[ht],vt=pt-v[ft],yt=-1!==[j,A].indexOf(_),_t=null!=(dt=null==I?void 0:I[S])?dt:0,xt=yt?gt:pt-O[bt]-D[bt]-_t+L.altAxis,kt=yt?pt+O[bt]+D[bt]-_t-L.altAxis:vt,wt=m&&yt?function(t,e,i){var r=mt(t,e,i);return r>i?i:r}(xt,pt,kt):mt(m?xt:gt,pt,m?kt:vt);C[S]=wt,F[S]=wt-pt}e.modifiersData[r]=F}},requiresIfExists:["offset"]},gt={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,r=t.name,a=t.options,n=i.elements.arrow,o=i.modifiersData.popperOffsets,s=U(i.placement),u=Y(s),l=[A,P].indexOf(s)>=0?"height":"width";if(n&&o){var c=function(t,e){return K("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:X(t,O))}(a.padding,i),d=y(n),h="y"===u?j:A,f="y"===u?T:P,p=i.rects.reference[l]+i.rects.reference[u]-o[u]-i.rects.popper[l],m=o[u]-i.rects.reference[u],b=E(n),g=b?"y"===u?b.clientHeight||0:b.clientWidth||0:0,v=p/2-m/2,_=c[h],x=g-d[l]-c[f],k=g/2-d[l]/2+v,w=mt(_,k,x),S=u;i.modifiersData[r]=((e={})[S]=w,e.centerOffset=w-k,e)}},effect:function(t){var e=t.state,i=t.options.element,r=void 0===i?"[data-popper-arrow]":i;null!=r&&("string"!=typeof r||(r=e.elements.popper.querySelector(r)))&&$(e.elements.popper,r)&&(e.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function vt(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function yt(t){return[j,P,T,A].some((function(e){return t[e]>=0}))}var _t={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,r=e.rects.reference,a=e.rects.popper,n=e.modifiersData.preventOverflow,o=J(e,{elementContext:"reference"}),s=J(e,{altBoundary:!0}),u=vt(o,r),l=vt(s,a,n),c=yt(u),d=yt(l);e.modifiersData[i]={referenceClippingOffsets:u,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}},xt=tt({defaultModifiers:[it,rt,ot,st]}),kt=[it,rt,ot,st,ut,pt,bt,gt,_t],wt=tt({defaultModifiers:kt});e.applyStyles=st,e.arrow=gt,e.computeStyles=ot,e.createPopper=wt,e.createPopperLite=xt,e.defaultModifiers=kt,e.detectOverflow=J,e.eventListeners=it,e.flip=pt,e.hide=_t,e.offset=ut,e.popperGenerator=tt,e.popperOffsets=rt,e.preventOverflow=bt},77232:(t,e)=>{"use strict";function i(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var r="(prefers-reduced-motion: reduce)",a={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:7};function n(t){t.length=0}function o(t,e,i){return Array.prototype.slice.call(t,e,i)}function s(t){return t.bind.apply(t,[null].concat(o(arguments,1)))}var u=setTimeout,l=function(){};function c(t){return requestAnimationFrame(t)}function d(t,e){return typeof e===t}function h(t){return!g(t)&&d("object",t)}var f=Array.isArray,p=s(d,"function"),m=s(d,"string"),b=s(d,"undefined");function g(t){return null===t}function v(t){try{return t instanceof(t.ownerDocument.defaultView||window).HTMLElement}catch(t){return!1}}function y(t){return f(t)?t:[t]}function _(t,e){y(t).forEach(e)}function x(t,e){return t.indexOf(e)>-1}function k(t,e){return t.push.apply(t,y(e)),t}function w(t,e,i){t&&_(e,(function(e){e&&t.classList[i?"add":"remove"](e)}))}function S(t,e){w(t,m(e)?e.split(" "):e,!0)}function E(t,e){_(e,t.appendChild.bind(t))}function j(t,e){_(t,(function(t){var i=(e||t).parentNode;i&&i.insertBefore(t,e)}))}function T(t,e){return v(t)&&(t.msMatchesSelector||t.matches).call(t,e)}function P(t,e){var i=t?o(t.children):[];return e?i.filter((function(t){return T(t,e)})):i}function A(t,e){return e?P(t,e)[0]:t.firstElementChild}var C=Object.keys;function O(t,e,i){return t&&(i?C(t).reverse():C(t)).forEach((function(i){"__proto__"!==i&&e(t[i],i)})),t}function M(t){return o(arguments,1).forEach((function(e){O(e,(function(i,r){t[r]=e[r]}))})),t}function D(t){return o(arguments,1).forEach((function(e){O(e,(function(e,i){f(e)?t[i]=e.slice():h(e)?t[i]=D({},h(t[i])?t[i]:{},e):t[i]=e}))})),t}function z(t,e){_(e||C(t),(function(e){delete t[e]}))}function L(t,e){_(t,(function(t){_(e,(function(e){t&&t.removeAttribute(e)}))}))}function I(t,e,i){h(e)?O(e,(function(e,i){I(t,i,e)})):_(t,(function(t){g(i)||""===i?L(t,e):t.setAttribute(e,String(i))}))}function F(t,e,i){var r=document.createElement(t);return e&&(m(e)?S(r,e):I(r,e)),i&&E(i,r),r}function q(t,e,i){if(b(i))return getComputedStyle(t)[e];g(i)||(t.style[e]=""+i)}function R(t,e){q(t,"display",e)}function B(t){t.setActive&&t.setActive()||t.focus({preventScroll:!0})}function N(t,e){return t.getAttribute(e)}function $(t,e){return t&&t.classList.contains(e)}function V(t){return t.getBoundingClientRect()}function H(t){_(t,(function(t){t&&t.parentNode&&t.parentNode.removeChild(t)}))}function U(t){return A((new DOMParser).parseFromString(t,"text/html").body)}function W(t,e){t.preventDefault(),e&&(t.stopPropagation(),t.stopImmediatePropagation())}function Y(t,e){return t&&t.querySelector(e)}function G(t,e){return e?o(t.querySelectorAll(e)):[]}function K(t,e){w(t,e,!1)}function X(t){return t.timeStamp}function J(t){return m(t)?t:t?t+"px":""}var Z="splide",Q="data-"+Z;function tt(t,e){if(!t)throw new Error("["+Z+"] "+(e||""))}var et=Math.min,it=Math.max,rt=Math.floor,at=Math.ceil,nt=Math.abs;function ot(t,e,i){return nt(t-e)<i}function st(t,e,i,r){var a=et(e,i),n=it(e,i);return r?a<t&&t<n:a<=t&&t<=n}function ut(t,e,i){var r=et(e,i),a=it(e,i);return et(it(r,t),a)}function lt(t){return+(t>0)-+(t<0)}function ct(t){return t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function dt(t,e){return _(e,(function(e){t=t.replace("%s",""+e)})),t}function ht(t){return t<10?"0"+t:""+t}var ft={};function pt(t){return""+t+ht(ft[t]=(ft[t]||0)+1)}function mt(){var t=[];function e(t,e,i){_(t,(function(t){t&&_(e,(function(e){e.split(" ").forEach((function(e){var r=e.split(".");i(t,r[0],r[1])}))}))}))}return{bind:function(i,r,a,n){e(i,r,(function(e,i,r){var o="addEventListener"in e,s=o?e.removeEventListener.bind(e,i,a,n):e.removeListener.bind(e,a);o?e.addEventListener(i,a,n):e.addListener(a),t.push([e,i,r,a,s])}))},unbind:function(i,r,a){e(i,r,(function(e,i,r){t=t.filter((function(t){return!!(t[0]!==e||t[1]!==i||t[2]!==r||a&&t[3]!==a)||(t[4](),!1)}))}))},dispatch:function(t,e,i){var r;return"function"==typeof CustomEvent?r=new CustomEvent(e,{bubbles:!0,detail:i}):(r=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!1,i),t.dispatchEvent(r),r},destroy:function(){t.forEach((function(t){t[4]()})),n(t)}}}var bt="mounted",gt="ready",vt="move",yt="moved",_t="click",xt="active",kt="inactive",wt="visible",St="hidden",Et="refresh",jt="updated",Tt="resize",Pt="resized",At="drag",Ct="dragging",Ot="dragged",Mt="scroll",Dt="scrolled",zt="overflow",Lt="destroy",It="arrows:mounted",Ft="arrows:updated",qt="pagination:mounted",Rt="pagination:updated",Bt="navigation:mounted",Nt="autoplay:play",$t="autoplay:playing",Vt="autoplay:pause",Ht="lazyload:loaded",Ut="sk",Wt="sh",Yt="ei";function Gt(t){var e=t?t.event.bus:document.createDocumentFragment(),i=mt();return t&&t.event.on(Lt,i.destroy),M(i,{bus:e,on:function(t,r){i.bind(e,y(t).join(" "),(function(t){r.apply(r,f(t.detail)?t.detail:[])}))},off:s(i.unbind,e),emit:function(t){i.dispatch(e,t,o(arguments,1))}})}function Kt(t,e,i,r){var a,n,o=Date.now,s=0,u=!0,l=0;function d(){if(!u){if(s=t?et((o()-a)/t,1):1,i&&i(s),s>=1&&(e(),a=o(),r&&++l>=r))return h();n=c(d)}}function h(){u=!0}function f(){n&&cancelAnimationFrame(n),s=0,n=0,u=!0}return{start:function(e){e||f(),a=o()-(e?s*t:0),u=!1,n=c(d)},rewind:function(){a=o(),s=0,i&&i(s)},pause:h,cancel:f,set:function(e){t=e},isPaused:function(){return u}}}function Xt(t){var e=t;return{set:function(t){e=t},is:function(t){return x(y(t),e)}}}function Jt(t,e){var i=Kt(e||0,t,null,1);return function(){i.isPaused()&&i.start()}}var Zt="Arrow",Qt=Zt+"Left",te=Zt+"Right",ee=Zt+"Up",ie=Zt+"Down",re="rtl",ae="ttb",ne={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[ee,te],ArrowRight:[ie,Qt]};function oe(t,e,i){return{resolve:function(t,e,r){var a=(r=r||i.direction)!==re||e?r===ae?0:-1:1;return ne[t]&&ne[t][a]||t.replace(/width|left|right/i,(function(t,e){var i=ne[t.toLowerCase()][a]||t;return e>0?i.charAt(0).toUpperCase()+i.slice(1):i}))},orient:function(t){return t*(i.direction===re?1:-1)}}}var se="role",ue="tabindex",le="aria-",ce=le+"controls",de=le+"current",he=le+"selected",fe=le+"label",pe=le+"labelledby",me=le+"hidden",be=le+"orientation",ge=le+"roledescription",ve=le+"live",ye=le+"busy",_e=le+"atomic",xe=[se,ue,"disabled",ce,de,fe,pe,me,be,ge],ke=Z+"__",we="is-",Se=Z,Ee=ke+"track",je=ke+"list",Te=ke+"slide",Pe=Te+"--clone",Ae=Te+"__container",Ce=ke+"arrows",Oe=ke+"arrow",Me=Oe+"--prev",De=Oe+"--next",ze=ke+"pagination",Le=ze+"__page",Ie=ke+"progress",Fe=Ie+"__bar",qe=ke+"toggle",Re=qe+"__play",Be=qe+"__pause",Ne=ke+"spinner",$e=ke+"sr",Ve=we+"initialized",He=we+"active",Ue=we+"prev",We=we+"next",Ye=we+"visible",Ge=we+"loading",Ke=we+"focus-in",Xe=we+"overflow",Je=[He,Ye,Ue,We,Ge,Ke,Xe],Ze={slide:Te,clone:Pe,arrows:Ce,arrow:Oe,prev:Me,next:De,pagination:ze,page:Le,spinner:Ne},Qe="touchstart mousedown",ti="touchmove mousemove",ei="touchend touchcancel mouseup click",ii="slide",ri="loop",ai="fade";var ni="http://www.w3.org/2000/svg",oi="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z",si=Q+"-interval",ui={passive:!1,capture:!0},li={Spacebar:" ",Right:te,Left:Qt,Up:ee,Down:ie};function ci(t){return t=m(t)?t:t.key,li[t]||t}var di="keydown",hi=Q+"-lazy",fi=hi+"-srcset",pi="["+hi+"], ["+fi+"]",mi=[" ","Enter"],bi=Object.freeze({__proto__:null,Media:function(t,e,i){var a=t.state,n=i.breakpoints||{},o=i.reducedMotion||{},s=mt(),u=[];function l(t){t&&s.destroy()}function c(t,e){var i=matchMedia(e);s.bind(i,"change",d),u.push([t,i])}function d(){var e=a.is(7),r=i.direction,n=u.reduce((function(t,e){return D(t,e[1].matches?e[0]:{})}),{});z(i),h(n),i.destroy?t.destroy("completely"===i.destroy):e?(l(!0),t.mount()):r!==i.direction&&t.refresh()}function h(e,r,n){D(i,e),r&&D(Object.getPrototypeOf(i),e),!n&&a.is(1)||t.emit(jt,i)}return{setup:function(){var t="min"===i.mediaQuery;C(n).sort((function(e,i){return t?+e-+i:+i-+e})).forEach((function(e){c(n[e],"("+(t?"min":"max")+"-width:"+e+"px)")})),c(o,r),d()},destroy:l,reduce:function(t){matchMedia(r).matches&&(t?D(i,o):z(i,C(o)))},set:h}},Direction:oe,Elements:function(t,e,i){var r,a,o,s=Gt(t),u=s.on,l=s.bind,c=t.root,d=i.i18n,h={},f=[],m=[],b=[];function g(){var t,e;r=_("."+Ee),a=A(r,"."+je),tt(r&&a,"A track/list element is missing."),k(f,P(a,"."+Te+":not(."+Pe+")")),O({arrows:Ce,pagination:ze,prev:Me,next:De,bar:Fe,toggle:qe},(function(t,e){h[e]=_("."+t)})),M(h,{root:c,track:r,list:a,slides:f}),t=c.id||pt(Z),e=i.role,c.id=t,r.id=r.id||t+"-track",a.id=a.id||t+"-list",!N(c,se)&&"SECTION"!==c.tagName&&e&&I(c,se,e),I(c,ge,d.carousel),I(a,se,"presentation"),y()}function v(t){var e=xe.concat("style");n(f),K(c,m),K(r,b),L([r,a],e),L(c,t?e:["style",ge])}function y(){K(c,m),K(r,b),m=x(Se),b=x(Ee),S(c,m),S(r,b),I(c,fe,i.label),I(c,pe,i.labelledby)}function _(t){var e=Y(c,t);return e&&function(t,e){if(p(t.closest))return t.closest(e);for(var i=t;i&&1===i.nodeType&&!T(i,e);)i=i.parentElement;return i}(e,"."+Se)===c?e:void 0}function x(t){return[t+"--"+i.type,t+"--"+i.direction,i.drag&&t+"--draggable",i.isNavigation&&t+"--nav",t===Se&&He]}return M(h,{setup:g,mount:function(){u(Et,v),u(Et,g),u(jt,y),l(document,Qe+" keydown",(function(t){o="keydown"===t.type}),{capture:!0}),l(c,"focusin",(function(){w(c,Ke,!!o)}))},destroy:v})},Slides:function(t,e,i){var r=Gt(t),a=r.on,o=r.emit,u=r.bind,l=e.Elements,c=l.slides,d=l.list,h=[];function f(){c.forEach((function(t,e){g(t,e,-1)}))}function b(){P((function(t){t.destroy()})),n(h)}function g(e,i,r){var a=function(t,e,i,r){var a,n=Gt(t),o=n.on,u=n.emit,l=n.bind,c=t.Components,d=t.root,h=t.options,f=h.isNavigation,p=h.updateOnMove,m=h.i18n,b=h.pagination,g=h.slideFocus,v=c.Direction.resolve,y=N(r,"style"),_=N(r,fe),x=i>-1,k=A(r,"."+Ae);function S(){var a=t.splides.map((function(t){var i=t.splide.Components.Slides.getAt(e);return i?i.slide.id:""})).join(" ");I(r,fe,dt(m.slideX,(x?i:e)+1)),I(r,ce,a),I(r,se,g?"button":""),g&&L(r,ge)}function E(){a||j()}function j(){if(!a){var i=t.index;(n=T())!==$(r,He)&&(w(r,He,n),I(r,de,f&&n||""),u(n?xt:kt,P)),function(){var e=function(){if(t.is(ai))return T();var e=V(c.Elements.track),i=V(r),a=v("left",!0),n=v("right",!0);return rt(e[a])<=at(i[a])&&rt(i[n])<=at(e[n])}(),i=!e&&(!T()||x);if(t.state.is([4,5])||I(r,me,i||""),I(G(r,h.focusableNodes||""),ue,i?-1:""),g&&I(r,ue,i?-1:0),e!==$(r,Ye)&&(w(r,Ye,e),u(e?wt:St,P)),!e&&document.activeElement===r){var a=c.Slides.getAt(t.index);a&&B(a.slide)}}(),w(r,Ue,e===i-1),w(r,We,e===i+1)}var n}function T(){var r=t.index;return r===e||h.cloneStatus&&r===i}var P={index:e,slideIndex:i,slide:r,container:k,isClone:x,mount:function(){x||(r.id=d.id+"-slide"+ht(e+1),I(r,se,b?"tabpanel":"group"),I(r,ge,m.slide),I(r,fe,_||dt(m.slideLabel,[e+1,t.length]))),l(r,"click",s(u,_t,P)),l(r,"keydown",s(u,Ut,P)),o([yt,Wt,Dt],j),o(Bt,S),p&&o(vt,E)},destroy:function(){a=!0,n.destroy(),K(r,Je),L(r,xe),I(r,"style",y),I(r,fe,_||"")},update:j,style:function(t,e,i){q(i&&k||r,t,e)},isWithin:function(i,r){var a=nt(i-e);return x||!h.rewind&&!t.is(ri)||(a=et(a,t.length-a)),a<=r}};return P}(t,i,r,e);a.mount(),h.push(a),h.sort((function(t,e){return t.index-e.index}))}function k(t){return t?C((function(t){return!t.isClone})):h}function P(t,e){k(e).forEach(t)}function C(t){return h.filter(p(t)?t:function(e){return m(t)?T(e.slide,t):x(y(t),e.index)})}return{mount:function(){f(),a(Et,b),a(Et,f)},destroy:b,update:function(){P((function(t){t.update()}))},register:g,get:k,getIn:function(t){var r=e.Controller,a=r.toIndex(t),n=r.hasFocus()?1:i.perPage;return C((function(t){return st(t.index,a,a+n-1)}))},getAt:function(t){return C(t)[0]},add:function(t,e){_(t,(function(t){if(m(t)&&(t=U(t)),v(t)){var r=c[e];r?j(t,r):E(d,t),S(t,i.classes.slide),a=t,n=s(o,Tt),l=G(a,"img"),(h=l.length)?l.forEach((function(t){u(t,"load error",(function(){--h||n()}))})):n()}var a,n,l,h})),o(Et)},remove:function(t){H(C(t).map((function(t){return t.slide}))),o(Et)},forEach:P,filter:C,style:function(t,e,i){P((function(r){r.style(t,e,i)}))},getLength:function(t){return t?c.length:h.length},isEnough:function(){return h.length>i.perPage}}},Layout:function(t,e,i){var r,a,n,o=Gt(t),u=o.on,l=o.bind,c=o.emit,d=e.Slides,f=e.Direction.resolve,p=e.Elements,m=p.root,b=p.track,g=p.list,v=d.getAt,y=d.style;function _(){r=i.direction===ae,q(m,"maxWidth",J(i.width)),q(b,f("paddingLeft"),k(!1)),q(b,f("paddingRight"),k(!0)),x(!0)}function x(t){var e,o=V(m);(t||a.width!==o.width||a.height!==o.height)&&(q(b,"height",(e="",r&&(tt(e=S(),"height or heightRatio is missing."),e="calc("+e+" - "+k(!1)+" - "+k(!0)+")"),e)),y(f("marginRight"),J(i.gap)),y("width",i.autoWidth?null:J(i.fixedWidth)||(r?"":E())),y("height",J(i.fixedHeight)||(r?i.autoHeight?null:E():S()),!0),a=o,c(Pt),n!==(n=O())&&(w(m,Xe,n),c(zt,n)))}function k(t){var e=i.padding,r=f(t?"right":"left");return e&&J(e[r]||(h(e)?0:e))||"0px"}function S(){return J(i.height||V(g).width*i.heightRatio)}function E(){var t=J(i.gap);return"calc((100%"+(t&&" + "+t)+")/"+(i.perPage||1)+(t&&" - "+t)+")"}function j(){return V(g)[f("width")]}function T(t,e){var i=v(t||0);return i?V(i.slide)[f("width")]+(e?0:C()):0}function P(t,e){var i=v(t);if(i){var r=V(i.slide)[f("right")],a=V(g)[f("left")];return nt(r-a)+(e?0:C())}return 0}function A(e){return P(t.length-1)-P(0)+T(0,e)}function C(){var t=v(0);return t&&parseFloat(q(t.slide,f("marginRight")))||0}function O(){return t.is(ai)||A(!0)>j()}return{mount:function(){_(),l(window,"resize load",Jt(s(c,Tt))),u([jt,Et],_),u(Tt,x)},resize:x,listSize:j,slideSize:T,sliderSize:A,totalSize:P,getPadding:function(t){return parseFloat(q(b,f("padding"+(t?"Right":"Left"))))||0},isOverflow:O}},Clones:function(t,e,i){var r,a=Gt(t),o=a.on,s=e.Elements,u=e.Slides,l=e.Direction.resolve,c=[];function d(){o(Et,h),o([jt,Tt],p),(r=m())&&(function(e){var r=u.get().slice(),a=r.length;if(a){for(;r.length<e;)k(r,r);k(r.slice(-e),r.slice(0,e)).forEach((function(n,o){var l=o<e,d=function(e,r){var a=e.cloneNode(!0);return S(a,i.classes.clone),a.id=t.root.id+"-clone"+ht(r+1),a}(n.slide,o);l?j(d,r[0].slide):E(s.list,d),k(c,d),u.register(d,o-e+(l?0:a),n.index)}))}}(r),e.Layout.resize(!0))}function h(){f(),d()}function f(){H(c),n(c),a.destroy()}function p(){var t=m();r!==t&&(r<t||!t)&&a.emit(Et)}function m(){var r=i.clones;if(t.is(ri)){if(b(r)){var a=i[l("fixedWidth")]&&e.Layout.slideSize(0);r=a&&at(V(s.track)[l("width")]/a)||i[l("autoWidth")]&&t.length||2*i.perPage}}else r=0;return r}return{mount:d,destroy:f}},Move:function(t,e,i){var r,a=Gt(t),n=a.on,o=a.emit,s=t.state.set,u=e.Layout,l=u.slideSize,c=u.getPadding,d=u.totalSize,h=u.listSize,f=u.sliderSize,p=e.Direction,m=p.resolve,g=p.orient,v=e.Elements,y=v.list,_=v.track;function x(){e.Controller.isBusy()||(e.Scroll.cancel(),k(t.index),e.Slides.update())}function k(t){w(T(t,!0))}function w(i,r){if(!t.is(ai)){var a=r?i:function(i){if(t.is(ri)){var r=j(i),a=r>e.Controller.getEnd();(r<0||a)&&(i=S(i,a))}return i}(i);q(y,"transform","translate"+m("X")+"("+a+"px)"),i!==a&&o(Wt)}}function S(t,e){var i=t-A(e),r=f();return t-g(r*(at(nt(i)/r)||1))*(e?1:-1)}function E(){w(P(),!0),r.cancel()}function j(t){for(var i=e.Slides.get(),r=0,a=1/0,n=0;n<i.length;n++){var o=i[n].index,s=nt(T(o,!0)-t);if(!(s<=a))break;a=s,r=o}return r}function T(e,r){var a=g(d(e-1)-function(t){var e=i.focus;return"center"===e?(h()-l(t,!0))/2:+e*l(t)||0}(e));return r?function(e){return i.trimSpace&&t.is(ii)&&(e=ut(e,0,g(f(!0)-h()))),e}(a):a}function P(){var t=m("left");return V(y)[t]-V(_)[t]+g(c(!1))}function A(t){return T(t?e.Controller.getEnd():0,!!i.trimSpace)}return{mount:function(){r=e.Transition,n([bt,Pt,jt,Et],x)},move:function(t,e,i,a){var n,u;t!==e&&(n=t>i,u=g(S(P(),n)),n?u>=0:u<=y[m("scrollWidth")]-V(_)[m("width")])&&(E(),w(S(P(),t>i),!0)),s(4),o(vt,e,i,t),r.start(e,(function(){s(3),o(yt,e,i,t),a&&a()}))},jump:k,translate:w,shift:S,cancel:E,toIndex:j,toPosition:T,getPosition:P,getLimit:A,exceededLimit:function(t,e){e=b(e)?P():e;var i=!0!==t&&g(e)<g(A(!1)),r=!1!==t&&g(e)>g(A(!0));return i||r},reposition:x}},Controller:function(t,e,i){var r,a,n,o,u=Gt(t),l=u.on,c=u.emit,d=e.Move,h=d.getPosition,f=d.getLimit,p=d.toPosition,g=e.Slides,v=g.isEnough,y=g.getLength,_=i.omitEnd,x=t.is(ri),k=t.is(ii),w=s(A,!1),S=s(A,!0),E=i.start||0,j=E;function T(){a=y(!0),n=i.perMove,o=i.perPage,r=M();var t=ut(E,0,_?r:a-1);t!==E&&(E=t,d.reposition())}function P(){r!==M()&&c(Yt)}function A(t,e){var i=n||(I()?1:o),a=C(E+i*(t?-1:1),E,!(n||I()));return-1===a&&k&&!ot(h(),f(!t),1)?t?0:r:e?a:O(a)}function C(e,s,u){if(v()||I()){var l=function(e){if(k&&"move"===i.trimSpace&&e!==E)for(var r=h();r===p(e,!0)&&st(e,0,t.length-1,!i.rewind);)e<E?--e:++e;return e}(e);l!==e&&(s=e,e=l,u=!1),e<0||e>r?e=n||!st(0,e,s,!0)&&!st(r,s,e,!0)?x?u?e<0?-(a%o||o):a:e:i.rewind?e<0?r:0:-1:D(z(e)):u&&e!==s&&(e=D(z(s)+(e<s?-1:1)))}else e=-1;return e}function O(t){return x?(t+a)%a||0:t}function M(){for(var t=a-(I()||x&&n?1:o);_&&t-- >0;)if(p(a-1,!0)!==p(t,!0)){t++;break}return ut(t,0,a-1)}function D(t){return ut(I()?t:o*t,0,r)}function z(t){return I()?et(t,r):rt((t>=r?a-1:t)/o)}function L(t){t!==E&&(j=E,E=t)}function I(){return!b(i.focus)||i.isNavigation}function F(){return t.state.is([4,5])&&!!i.waitForTransition}return{mount:function(){T(),l([jt,Et,Yt],T),l(Pt,P)},go:function(t,e,i){if(!F()){var a=function(t){var e=E;if(m(t)){var i=t.match(/([+\-<>])(\d+)?/)||[],a=i[1],n=i[2];"+"===a||"-"===a?e=C(E+ +(""+a+(+n||1)),E):">"===a?e=n?D(+n):w(!0):"<"===a&&(e=S(!0))}else e=x?t:ut(t,0,r);return e}(t),n=O(a);n>-1&&(e||n!==E)&&(L(n),d.move(a,n,j,i))}},scroll:function(t,i,a,n){e.Scroll.scroll(t,i,a,(function(){var t=O(d.toIndex(h()));L(_?et(t,r):t),n&&n()}))},getNext:w,getPrev:S,getAdjacent:A,getEnd:M,setIndex:L,getIndex:function(t){return t?j:E},toIndex:D,toPage:z,toDest:function(t){var e=d.toIndex(t);return k?ut(e,0,r):e},hasFocus:I,isBusy:F}},Arrows:function(t,e,i){var r,a,n=Gt(t),o=n.on,u=n.bind,l=n.emit,c=i.classes,d=i.i18n,h=e.Elements,f=e.Controller,p=h.arrows,m=h.track,b=p,g=h.prev,v=h.next,y={};function _(){var t;!(t=i.arrows)||g&&v||(b=p||F("div",c.arrows),g=T(!0),v=T(!1),r=!0,E(b,[g,v]),!p&&j(b,m)),g&&v&&(M(y,{prev:g,next:v}),R(b,t?"":"none"),S(b,a=Ce+"--"+i.direction),t&&(o([bt,yt,Et,Dt,Yt],P),u(v,"click",s(w,">")),u(g,"click",s(w,"<")),P(),I([g,v],ce,m.id),l(It,g,v))),o(jt,x)}function x(){k(),_()}function k(){n.destroy(),K(b,a),r?(H(p?[g,v]:b),g=v=null):L([g,v],xe)}function w(t){f.go(t,!0)}function T(t){return U('<button class="'+c.arrow+" "+(t?c.prev:c.next)+'" type="button"><svg xmlns="'+ni+'" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(i.arrowPath||oi)+'" />')}function P(){if(g&&v){var e=t.index,i=f.getPrev(),r=f.getNext(),a=i>-1&&e<i?d.last:d.prev,n=r>-1&&e>r?d.first:d.next;g.disabled=i<0,v.disabled=r<0,I(g,fe,a),I(v,fe,n),l(Ft,g,v,i,r)}}return{arrows:y,mount:_,destroy:k,update:P}},Autoplay:function(t,e,i){var r,a,n=Gt(t),o=n.on,s=n.bind,u=n.emit,l=Kt(i.interval,t.go.bind(t,">"),(function(t){var e=d.bar;e&&q(e,"width",100*t+"%"),u($t,t)})),c=l.isPaused,d=e.Elements,h=e.Elements,f=h.root,p=h.toggle,m=i.autoplay,b="pause"===m;function g(){c()&&e.Slides.isEnough()&&(l.start(!i.resetProgress),a=r=b=!1,_(),u(Nt))}function v(t){void 0===t&&(t=!0),b=!!t,_(),c()||(l.pause(),u(Vt))}function y(){b||(r||a?v(!1):g())}function _(){p&&(w(p,He,!b),I(p,fe,i.i18n[b?"play":"pause"]))}function x(t){var r=e.Slides.getAt(t);l.set(r&&+N(r.slide,si)||i.interval)}return{mount:function(){m&&(i.pauseOnHover&&s(f,"mouseenter mouseleave",(function(t){r="mouseenter"===t.type,y()})),i.pauseOnFocus&&s(f,"focusin focusout",(function(t){a="focusin"===t.type,y()})),p&&s(p,"click",(function(){b?g():v(!0)})),o([vt,Mt,Et],l.rewind),o(vt,x),p&&I(p,ce,d.track.id),b||g(),_())},destroy:l.cancel,play:g,pause:v,isPaused:c}},Cover:function(t,e,i){var r=Gt(t).on;function a(t){e.Slides.forEach((function(e){var i=A(e.container||e.slide,"img");i&&i.src&&n(t,i,e)}))}function n(t,e,i){i.style("background",t?'center/cover no-repeat url("'+e.src+'")':"",!0),R(e,t?"none":"")}return{mount:function(){i.cover&&(r(Ht,s(n,!0)),r([bt,jt,Et],s(a,!0)))},destroy:s(a,!1)}},Scroll:function(t,e,i){var r,a,n=Gt(t),o=n.on,u=n.emit,l=t.state.set,c=e.Move,d=c.getPosition,h=c.getLimit,f=c.exceededLimit,p=c.translate,m=t.is(ii),b=1;function g(t,i,n,o,h){var p=d();if(_(),n&&(!m||!f())){var g=e.Layout.sliderSize(),x=lt(t)*g*rt(nt(t)/g)||0;t=c.toPosition(e.Controller.toDest(t%g))+x}var k=ot(p,t,1);b=1,i=k?0:i||it(nt(t-p)/1.5,800),a=o,r=Kt(i,v,s(y,p,t,h),1),l(5),u(Mt),r.start()}function v(){l(3),a&&a(),u(Dt)}function y(t,e,r,n){var o,s,u=d(),l=(t+(e-t)*(o=n,(s=i.easingFunc)?s(o):1-Math.pow(1-o,4))-u)*b;p(u+l),m&&!r&&f()&&(b*=.6,nt(l)<10&&g(h(f(!0)),600,!1,a,!0))}function _(){r&&r.cancel()}function x(){r&&!r.isPaused()&&(_(),v())}return{mount:function(){o(vt,_),o([jt,Et],x)},destroy:_,scroll:g,cancel:x}},Drag:function(t,e,i){var r,a,n,o,s,u,c,d,f=Gt(t),p=f.on,m=f.emit,b=f.bind,g=f.unbind,v=t.state,y=e.Move,_=e.Scroll,x=e.Controller,k=e.Elements.track,w=e.Media.reduce,S=e.Direction,E=S.resolve,j=S.orient,P=y.getPosition,A=y.exceededLimit,C=!1;function O(){var t=i.drag;$(!t),o="free"===t}function M(t){if(u=!1,!c){var e=N(t);r=t.target,a=i.noDrag,T(r,"."+Le+", ."+Oe)||a&&T(r,a)||!e&&t.button||(x.isBusy()?W(t,!0):(d=e?k:window,s=v.is([4,5]),n=null,b(d,ti,D,ui),b(d,ei,z,ui),y.cancel(),_.cancel(),I(t)))}var r,a}function D(e){if(v.is(6)||(v.set(6),m(At)),e.cancelable)if(s){y.translate(r+F(e)/(C&&t.is(ii)?5:1));var a=q(e)>200,n=C!==(C=A());(a||n)&&I(e),u=!0,m(Ct),W(e)}else(function(t){return nt(F(t))>nt(F(t,!0))})(e)&&(s=function(t){var e=i.dragMinThreshold,r=h(e),a=r&&e.mouse||0,n=(r?e.touch:+e)||10;return nt(F(t))>(N(t)?n:a)}(e),W(e))}function z(r){v.is(6)&&(v.set(3),m(Ot)),s&&(function(r){var a=function(e){if(t.is(ri)||!C){var i=q(e);if(i&&i<200)return F(e)/i}return 0}(r),n=function(t){return P()+lt(t)*et(nt(t)*(i.flickPower||600),o?1/0:e.Layout.listSize()*(i.flickMaxPages||1))}(a),s=i.rewind&&i.rewindByDrag;w(!1),o?x.scroll(n,0,i.snap):t.is(ai)?x.go(j(lt(a))<0?s?"<":"-":s?">":"+"):t.is(ii)&&C&&s?x.go(A(!0)?">":"<"):x.go(x.toDest(n),!0),w(!0)}(r),W(r)),g(d,ti,D),g(d,ei,z),s=!1}function L(t){!c&&u&&W(t,!0)}function I(t){n=a,a=t,r=P()}function F(t,e){return B(t,e)-B(R(t),e)}function q(t){return X(t)-X(R(t))}function R(t){return a===t&&n||a}function B(t,e){return(N(t)?t.changedTouches[0]:t)["page"+E(e?"Y":"X")]}function N(t){return"undefined"!=typeof TouchEvent&&t instanceof TouchEvent}function $(t){c=t}return{mount:function(){b(k,ti,l,ui),b(k,ei,l,ui),b(k,Qe,M,ui),b(k,"click",L,{capture:!0}),b(k,"dragstart",W),p([bt,jt],O)},disable:$,isDragging:function(){return s}}},Keyboard:function(t,e,i){var r,a,n=Gt(t),o=n.on,s=n.bind,l=n.unbind,c=t.root,d=e.Direction.resolve;function h(){var t=i.keyboard;t&&(r="global"===t?window:c,s(r,di,m))}function f(){l(r,di)}function p(){var t=a;a=!0,u((function(){a=t}))}function m(e){if(!a){var i=ci(e);i===d(Qt)?t.go("<"):i===d(te)&&t.go(">")}}return{mount:function(){h(),o(jt,f),o(jt,h),o(vt,p)},destroy:f,disable:function(t){a=t}}},LazyLoad:function(t,e,i){var r=Gt(t),a=r.on,o=r.off,u=r.bind,l=r.emit,c="sequential"===i.lazyLoad,d=[yt,Dt],h=[];function f(){n(h),e.Slides.forEach((function(t){G(t.slide,pi).forEach((function(e){var r=N(e,hi),a=N(e,fi);if(r!==e.src||a!==e.srcset){var n=i.classes.spinner,o=e.parentElement,s=A(o,"."+n)||F("span",n,o);h.push([e,t,s]),e.src||R(e,"none")}}))})),c?g():(o(d),a(d,p),p())}function p(){(h=h.filter((function(e){var r=i.perPage*((i.preloadPages||1)+1)-1;return!e[1].isWithin(t.index,r)||m(e)}))).length||o(d)}function m(t){var e=t[0];S(t[1].slide,Ge),u(e,"load error",s(b,t)),I(e,"src",N(e,hi)),I(e,"srcset",N(e,fi)),L(e,hi),L(e,fi)}function b(t,e){var i=t[0],r=t[1];K(r.slide,Ge),"error"!==e.type&&(H(t[2]),R(i,""),l(Ht,i,r),l(Tt)),c&&g()}function g(){h.length&&m(h.shift())}return{mount:function(){i.lazyLoad&&(f(),a(Et,f))},destroy:s(n,h),check:p}},Pagination:function(t,e,i){var r,a,u=Gt(t),l=u.on,c=u.emit,d=u.bind,h=e.Slides,f=e.Elements,p=e.Controller,m=p.hasFocus,b=p.getIndex,g=p.go,v=e.Direction.resolve,y=f.pagination,_=[];function x(){r&&(H(y?o(r.children):r),K(r,a),n(_),r=null),u.destroy()}function k(t){g(">"+t,!0)}function w(t,e){var i=_.length,r=ci(e),a=E(),n=-1;r===v(te,!1,a)?n=++t%i:r===v(Qt,!1,a)?n=(--t+i)%i:"Home"===r?n=0:"End"===r&&(n=i-1);var o=_[n];o&&(B(o.button),g(">"+n),W(e,!0))}function E(){return i.paginationDirection||i.direction}function j(t){return _[p.toPage(t)]}function T(){var t=j(b(!0)),e=j(b());if(t){var i=t.button;K(i,He),L(i,he),I(i,ue,-1)}if(e){var a=e.button;S(a,He),I(a,he,!0),I(a,ue,"")}c(Rt,{list:r,items:_},t,e)}return{items:_,mount:function e(){x(),l([jt,Et,Yt],e);var n=i.pagination;y&&R(y,n?"":"none"),n&&(l([vt,Mt,Dt],T),function(){var e=t.length,n=i.classes,o=i.i18n,u=i.perPage,l=m()?p.getEnd()+1:at(e/u);S(r=y||F("ul",n.pagination,f.track.parentElement),a=ze+"--"+E()),I(r,se,"tablist"),I(r,fe,o.select),I(r,be,E()===ae?"vertical":"");for(var c=0;c<l;c++){var b=F("li",null,r),g=F("button",{class:n.page,type:"button"},b),v=h.getIn(c).map((function(t){return t.slide.id})),x=!m()&&u>1?o.pageX:o.slideX;d(g,"click",s(k,c)),i.paginationKeyboard&&d(g,"keydown",s(w,c)),I(b,se,"presentation"),I(g,se,"tab"),I(g,ce,v.join(" ")),I(g,fe,dt(x,c+1)),I(g,ue,-1),_.push({li:b,button:g,page:c})}}(),T(),c(qt,{list:r,items:_},j(t.index)))},destroy:x,getAt:j,update:T}},Sync:function(t,e,i){var r=i.isNavigation,a=i.slideFocus,o=[];function u(){t.splides.forEach((function(e){e.isParent||(c(t,e.splide),c(e.splide,t))})),r&&function(){var e=Gt(t),i=e.on;i(_t,h),i(Ut,f),i([bt,jt],d),o.push(e),e.emit(Bt,t.splides)}()}function l(){o.forEach((function(t){t.destroy()})),n(o)}function c(t,e){var i=Gt(t);i.on(vt,(function(t,i,r){e.go(e.is(ri)?r:t)})),o.push(i)}function d(){I(e.Elements.list,be,i.direction===ae?"vertical":"")}function h(e){t.go(e.index)}function f(t,e){x(mi,ci(e))&&(h(t),W(e))}return{setup:s(e.Media.set,{slideFocus:b(a)?r:a},!0),mount:u,destroy:l,remount:function(){l(),u()}}},Wheel:function(t,e,i){var r=Gt(t).bind,a=0;function n(r){if(r.cancelable){var n=r.deltaY,o=n<0,s=X(r),u=i.wheelMinThreshold||0,l=i.wheelSleep||0;nt(n)>u&&s-a>l&&(t.go(o?"<":">"),a=s),function(r){return!i.releaseWheel||t.state.is(4)||-1!==e.Controller.getAdjacent(r)}(o)&&W(r)}}return{mount:function(){i.wheel&&r(e.Elements.track,"wheel",n,ui)}}},Live:function(t,e,i){var r=Gt(t).on,a=e.Elements.track,n=i.live&&!i.isNavigation,o=F("span",$e),u=Kt(90,s(l,!1));function l(t){I(a,ye,t),t?(E(a,o),u.start()):(H(o),u.cancel())}function c(t){n&&I(a,ve,t?"off":"polite")}return{mount:function(){n&&(c(!e.Autoplay.isPaused()),I(a,_e,!0),o.textContent="…",r(Nt,s(c,!0)),r(Vt,s(c,!1)),r([yt,Dt],s(l,!0)))},disable:c,destroy:function(){L(a,[ve,_e,ye]),H(o)}}}}),gi={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:Ze,i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function vi(t,e,i){var r=e.Slides;function a(){r.forEach((function(t){t.style("transform","translateX(-"+100*t.index+"%)")}))}return{mount:function(){Gt(t).on([bt,Et],a)},start:function(t,e){r.style("transition","opacity "+i.speed+"ms "+i.easing),u(e)},cancel:l}}function yi(t,e,i){var r,a=e.Move,n=e.Controller,o=e.Scroll,u=e.Elements.list,l=s(q,u,"transition");function c(){l(""),o.cancel()}return{mount:function(){Gt(t).bind(u,"transitionend",(function(t){t.target===u&&r&&(c(),r())}))},start:function(e,s){var u=a.toPosition(e,!0),c=a.getPosition(),d=function(e){var r=i.rewindSpeed;if(t.is(ii)&&r){var a=n.getIndex(!0),o=n.getEnd();if(0===a&&e>=o||a>=o&&0===e)return r}return i.speed}(e);nt(u-c)>=1&&d>=1?i.useScroll?o.scroll(u,d,!1,s):(l("transform "+d+"ms "+i.easing),a.translate(u,!0),r=s):(a.jump(e),s())},cancel:c}}var _i=function(){function t(e,i){this.event=Gt(),this.Components={},this.state=Xt(1),this.splides=[],this._o={},this._E={};var r=m(e)?Y(document,e):e;tt(r,r+" is invalid."),this.root=r,i=D({label:N(r,fe)||"",labelledby:N(r,pe)||""},gi,t.defaults,i||{});try{D(i,JSON.parse(N(r,Q)))}catch(t){tt(!1,"Invalid JSON")}this._o=Object.create(D({},i))}var e,r,a=t.prototype;return a.mount=function(t,e){var i=this,r=this.state,a=this.Components;return tt(r.is([1,7]),"Already mounted!"),r.set(1),this._C=a,this._T=e||this._T||(this.is(ai)?vi:yi),this._E=t||this._E,O(M({},bi,this._E,{Transition:this._T}),(function(t,e){var r=t(i,a,i._o);a[e]=r,r.setup&&r.setup()})),O(a,(function(t){t.mount&&t.mount()})),this.emit(bt),S(this.root,Ve),r.set(3),this.emit(gt),this},a.sync=function(t){return this.splides.push({splide:t}),t.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this._C.Sync.remount(),t.Components.Sync.remount()),this},a.go=function(t){return this._C.Controller.go(t),this},a.on=function(t,e){return this.event.on(t,e),this},a.off=function(t){return this.event.off(t),this},a.emit=function(t){var e;return(e=this.event).emit.apply(e,[t].concat(o(arguments,1))),this},a.add=function(t,e){return this._C.Slides.add(t,e),this},a.remove=function(t){return this._C.Slides.remove(t),this},a.is=function(t){return this._o.type===t},a.refresh=function(){return this.emit(Et),this},a.destroy=function(t){void 0===t&&(t=!0);var e=this.event,i=this.state;return i.is(1)?Gt(this).on(gt,this.destroy.bind(this,t)):(O(this._C,(function(e){e.destroy&&e.destroy(t)}),!0),e.emit(Lt),e.destroy(),t&&n(this.splides),i.set(7)),this},e=t,(r=[{key:"options",get:function(){return this._o},set:function(t){this._C.Media.set(t,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}])&&i(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();_i.defaults={},_i.STATES=a;var xi={listTag:"ul",slideTag:"li"},ki=function(){function t(t,e){this.styles={},this.id=t,this.options=e}var e=t.prototype;return e.rule=function(t,e,i,r){r=r||"default";var a=this.styles[r]=this.styles[r]||{};(a[t]=a[t]||{})[e]=i},e.build=function(){var t=this,e="";return this.styles.default&&(e+=this.buildSelectors(this.styles.default)),Object.keys(this.styles).sort((function(e,i){return"min"===t.options.mediaQuery?+e-+i:+i-+e})).forEach((function(i){"default"!==i&&(e+="@media screen and (max-width: "+i+"px) {",e+=t.buildSelectors(t.styles[i]),e+="}")})),e},e.buildSelectors=function(t){var e=this,i="";return O(t,(function(t,r){r=("#"+e.id+" "+r).trim(),i+=r+" {",O(t,(function(t,e){(t||0===t)&&(i+=e+": "+t+";")})),i+="}"})),i},t}(),wi=function(){function t(t,e,i,r){this.slides=[],this.options={},this.breakpoints=[],D(gi,r||{}),D(D(this.options,gi),e||{}),this.contents=t,this.config=M({},xi,i||{}),this.id=this.config.id||pt("splide"),this.Style=new ki(this.id,this.options),this.Direction=oe(0,0,this.options),tt(this.contents.length,"Provide at least 1 content."),this.init()}t.clean=function(t){var e=Gt(t).on,i=t.root,r=G(i,"."+Pe);e(bt,(function(){H(A(i,"style"))})),H(r)};var e=t.prototype;return e.init=function(){this.parseBreakpoints(),this.initSlides(),this.registerRootStyles(),this.registerTrackStyles(),this.registerSlideStyles(),this.registerListStyles()},e.initSlides=function(){var t=this;k(this.slides,this.contents.map((function(e,i){(e=m(e)?{html:e}:e).styles=e.styles||{},e.attrs=e.attrs||{},t.cover(e);var r=t.options.classes.slide+" "+(0===i?He:"");return M(e.attrs,{class:(r+" "+(e.attrs.class||"")).trim(),style:t.buildStyles(e.styles)}),e}))),this.isLoop()&&this.generateClones(this.slides)},e.registerRootStyles=function(){var t=this;this.breakpoints.forEach((function(e){var i=e[0],r=e[1];t.Style.rule(" ","max-width",J(r.width),i)}))},e.registerTrackStyles=function(){var t=this,e=this.Style,i="."+Ee;this.breakpoints.forEach((function(r){var a=r[0],n=r[1];e.rule(i,t.resolve("paddingLeft"),t.cssPadding(n,!1),a),e.rule(i,t.resolve("paddingRight"),t.cssPadding(n,!0),a),e.rule(i,"height",t.cssTrackHeight(n),a)}))},e.registerListStyles=function(){var t=this,e=this.Style,i="."+je;this.breakpoints.forEach((function(r){var a=r[0],n=r[1];e.rule(i,"transform",t.buildTranslate(n),a),t.cssSlideHeight(n)||e.rule(i,"aspect-ratio",t.cssAspectRatio(n),a)}))},e.registerSlideStyles=function(){var t=this,e=this.Style,i="."+Te;this.breakpoints.forEach((function(r){var a=r[0],n=r[1];e.rule(i,"width",t.cssSlideWidth(n),a),e.rule(i,"height",t.cssSlideHeight(n)||"100%",a),e.rule(i,t.resolve("marginRight"),J(n.gap)||"0px",a),e.rule(i+" > img","display",n.cover?"none":"inline",a)}))},e.buildTranslate=function(t){var e=this.Direction,i=e.resolve,r=e.orient,a=[];return a.push(this.cssOffsetClones(t)),a.push(this.cssOffsetGaps(t)),this.isCenter(t)&&(a.push(this.buildCssValue(r(-50),"%")),a.push.apply(a,this.cssOffsetCenter(t))),a.filter(Boolean).map((function(t){return"translate"+i("X")+"("+t+")"})).join(" ")},e.cssOffsetClones=function(t){var e=this.Direction,i=e.resolve,r=e.orient,a=this.getCloneCount();if(this.isFixedWidth(t)){var n=this.parseCssValue(t[i("fixedWidth")]),o=n.value,s=n.unit;return this.buildCssValue(r(o)*a,s)}return r(100*a/t.perPage)+"%"},e.cssOffsetCenter=function(t){var e=this.Direction,i=e.resolve,r=e.orient;if(this.isFixedWidth(t)){var a=this.parseCssValue(t[i("fixedWidth")]),n=a.value,o=a.unit;return[this.buildCssValue(r(n/2),o)]}var s=[],u=t.perPage,l=t.gap;if(s.push(r(50/u)+"%"),l){var c=this.parseCssValue(l),d=c.value,h=c.unit,f=(d/u-d)/2;s.push(this.buildCssValue(r(f),h))}return s},e.cssOffsetGaps=function(t){var e=this.getCloneCount();if(e&&t.gap){var i=this.Direction.orient,r=this.parseCssValue(t.gap),a=r.value,n=r.unit;if(this.isFixedWidth(t))return this.buildCssValue(i(a*e),n);var o=e/t.perPage;return this.buildCssValue(i(o*a),n)}return""},e.resolve=function(t){return ct(this.Direction.resolve(t))},e.cssPadding=function(t,e){var i=t.padding,r=this.Direction.resolve(e?"right":"left",!0);return i&&J(i[r]||(h(i)?0:i))||"0px"},e.cssTrackHeight=function(t){var e="";return this.isVertical()&&(tt(e=this.cssHeight(t),'"height" is missing.'),e="calc("+e+" - "+this.cssPadding(t,!1)+" - "+this.cssPadding(t,!0)+")"),e},e.cssHeight=function(t){return J(t.height)},e.cssSlideWidth=function(t){return t.autoWidth?"":J(t.fixedWidth)||(this.isVertical()?"":this.cssSlideSize(t))},e.cssSlideHeight=function(t){return J(t.fixedHeight)||(this.isVertical()?t.autoHeight?"":this.cssSlideSize(t):this.cssHeight(t))},e.cssSlideSize=function(t){var e=J(t.gap);return"calc((100%"+(e&&" + "+e)+")/"+(t.perPage||1)+(e&&" - "+e)+")"},e.cssAspectRatio=function(t){var e=t.heightRatio;return e?""+1/e:""},e.buildCssValue=function(t,e){return""+t+e},e.parseCssValue=function(t){return m(t)?{value:parseFloat(t)||0,unit:t.replace(/\d*(\.\d*)?/,"")||"px"}:{value:t,unit:"px"}},e.parseBreakpoints=function(){var t=this,e=this.options.breakpoints;this.breakpoints.push(["default",this.options]),e&&O(e,(function(e,i){t.breakpoints.push([i,D(D({},t.options),e)])}))},e.isFixedWidth=function(t){return!!t[this.Direction.resolve("fixedWidth")]},e.isLoop=function(){return this.options.type===ri},e.isCenter=function(t){if("center"===t.focus){if(this.isLoop())return!0;if(this.options.type===ii)return!this.options.trimSpace}return!1},e.isVertical=function(){return this.options.direction===ae},e.buildClasses=function(){var t=this.options;return[Se,Se+"--"+t.type,Se+"--"+t.direction,t.drag&&Se+"--draggable",t.isNavigation&&Se+"--nav",He,!this.config.hidden&&"is-rendered"].filter(Boolean).join(" ")},e.buildAttrs=function(t){var e="";return O(t,(function(t,i){e+=t?" "+ct(i)+'="'+t+'"':""})),e.trim()},e.buildStyles=function(t){var e="";return O(t,(function(t,i){e+=" "+ct(i)+":"+t+";"})),e.trim()},e.renderSlides=function(){var t=this,e=this.config.slideTag;return this.slides.map((function(i){return"<"+e+" "+t.buildAttrs(i.attrs)+">"+(i.html||"")+"</"+e+">"})).join("")},e.cover=function(t){var e=t.styles,i=t.html,r=void 0===i?"":i;if(this.options.cover&&!this.options.lazyLoad){var a=r.match(/<img.*?src\s*=\s*(['"])(.+?)\1.*?>/);a&&a[2]&&(e.background="center/cover no-repeat url('"+a[2]+"')")}},e.generateClones=function(t){for(var e=this.options.classes,i=this.getCloneCount(),r=t.slice();r.length<i;)k(r,r);k(r.slice(-i).reverse(),r.slice(0,i)).forEach((function(r,a){var n=M({},r.attrs,{class:r.attrs.class+" "+e.clone}),o=M({},r,{attrs:n});a<i?t.unshift(o):t.push(o)}))},e.getCloneCount=function(){if(this.isLoop()){var t=this.options;return t.clones?t.clones:it.apply(void 0,this.breakpoints.map((function(t){return t[1].perPage})))*((t.flickMaxPages||1)+1)}return 0},e.renderArrows=function(){var t="";return t+='<div class="'+this.options.classes.arrows+'">',t+=this.renderArrow(!0),(t+=this.renderArrow(!1))+"</div>"},e.renderArrow=function(t){var e=this.options,i=e.classes,r=e.i18n,a={class:i.arrow+" "+(t?i.prev:i.next),type:"button",ariaLabel:t?r.prev:r.next};return"<button "+this.buildAttrs(a)+'><svg xmlns="'+ni+'" viewBox="0 0 40 40" width="40" height="40"><path d="'+(this.options.arrowPath||oi)+'" /></svg></button>'},e.html=function(){var t=this.config,e=t.rootClass,i=t.listTag,r=t.arrows,a=t.beforeTrack,n=t.afterTrack,o=t.slider,s=t.beforeSlider,u=t.afterSlider,l="";return l+='<div id="'+this.id+'" class="'+this.buildClasses()+" "+(e||"")+'">',l+="<style>"+this.Style.build()+"</style>",o&&(l+=s||"",l+='<div class="splide__slider">'),l+=a||"",r&&(l+=this.renderArrows()),l+='<div class="splide__track">',l+="<"+i+' class="splide__list">',l+=this.renderSlides(),l+="</"+i+">",l+="</div>",l+=n||"",o&&(l+="</div>",l+=u||""),l+="</div>"},t}();e.CLASSES=Ze,e.CLASS_ACTIVE=He,e.CLASS_ARROW=Oe,e.CLASS_ARROWS=Ce,e.CLASS_ARROW_NEXT=De,e.CLASS_ARROW_PREV=Me,e.CLASS_CLONE=Pe,e.CLASS_CONTAINER=Ae,e.CLASS_FOCUS_IN=Ke,e.CLASS_INITIALIZED=Ve,e.CLASS_LIST=je,e.CLASS_LOADING=Ge,e.CLASS_NEXT=We,e.CLASS_OVERFLOW=Xe,e.CLASS_PAGINATION=ze,e.CLASS_PAGINATION_PAGE=Le,e.CLASS_PREV=Ue,e.CLASS_PROGRESS=Ie,e.CLASS_PROGRESS_BAR=Fe,e.CLASS_ROOT=Se,e.CLASS_SLIDE=Te,e.CLASS_SPINNER=Ne,e.CLASS_SR=$e,e.CLASS_TOGGLE=qe,e.CLASS_TOGGLE_PAUSE=Be,e.CLASS_TOGGLE_PLAY=Re,e.CLASS_TRACK=Ee,e.CLASS_VISIBLE=Ye,e.DEFAULTS=gi,e.EVENT_ACTIVE=xt,e.EVENT_ARROWS_MOUNTED=It,e.EVENT_ARROWS_UPDATED=Ft,e.EVENT_AUTOPLAY_PAUSE=Vt,e.EVENT_AUTOPLAY_PLAY=Nt,e.EVENT_AUTOPLAY_PLAYING=$t,e.EVENT_CLICK=_t,e.EVENT_DESTROY=Lt,e.EVENT_DRAG=At,e.EVENT_DRAGGED=Ot,e.EVENT_DRAGGING=Ct,e.EVENT_END_INDEX_CHANGED=Yt,e.EVENT_HIDDEN=St,e.EVENT_INACTIVE=kt,e.EVENT_LAZYLOAD_LOADED=Ht,e.EVENT_MOUNTED=bt,e.EVENT_MOVE=vt,e.EVENT_MOVED=yt,e.EVENT_NAVIGATION_MOUNTED=Bt,e.EVENT_OVERFLOW=zt,e.EVENT_PAGINATION_MOUNTED=qt,e.EVENT_PAGINATION_UPDATED=Rt,e.EVENT_READY=gt,e.EVENT_REFRESH=Et,e.EVENT_RESIZE=Tt,e.EVENT_RESIZED=Pt,e.EVENT_SCROLL=Mt,e.EVENT_SCROLLED=Dt,e.EVENT_SHIFTED=Wt,e.EVENT_SLIDE_KEYDOWN=Ut,e.EVENT_UPDATED=jt,e.EVENT_VISIBLE=wt,e.EventBinder=mt,e.EventInterface=Gt,e.FADE=ai,e.LOOP=ri,e.LTR="ltr",e.RTL=re,e.RequestInterval=Kt,e.SLIDE=ii,e.STATUS_CLASSES=Je,e.Splide=_i,e.SplideRenderer=wi,e.State=Xt,e.TTB=ae,e.Throttle=Jt,e.default=_i},86929:t=>{var e;window,e=function(){return function(t){var e={};function i(r){if(e[r])return e[r].exports;var a=e[r]={i:r,l:!1,exports:{}};return t[r].call(a.exports,a,a.exports,i),a.l=!0,a.exports}return i.m=t,i.c=e,i.d=function(t,e,r){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)i.d(r,a,function(e){return t[e]}.bind(null,a));return r},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/",i(i.s=37)}([function(t,e,i){var r=i(1),a=i(6),n=i(7),o=i(16),s=i(18),u="prototype",l=function(t,e,i){var c,d,h,f,p=t&l.F,m=t&l.G,b=t&l.S,g=t&l.P,v=t&l.B,y=m?r:b?r[e]||(r[e]={}):(r[e]||{})[u],_=m?a:a[e]||(a[e]={}),x=_[u]||(_[u]={});for(c in m&&(i=e),i)h=((d=!p&&y&&void 0!==y[c])?y:i)[c],f=v&&d?s(h,r):g&&"function"==typeof h?s(Function.call,h):h,y&&o(y,c,h,t&l.U),_[c]!=h&&n(_,c,f),g&&x[c]!=h&&(x[c]=h)};r.core=a,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,i){t.exports=!i(4)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,i){"use strict";i.r(e),i.d(e,"h",(function(){return s})),i.d(e,"createElement",(function(){return s})),i.d(e,"cloneElement",(function(){return c})),i.d(e,"Component",(function(){return z})),i.d(e,"render",(function(){return L})),i.d(e,"rerender",(function(){return p})),i.d(e,"options",(function(){return a}));var r=function(){},a={},n=[],o=[];function s(t,e){var i,s,u,l,c=o;for(l=arguments.length;2<l--;)n.push(arguments[l]);for(e&&null!=e.children&&(n.length||n.push(e.children),delete e.children);n.length;)if((s=n.pop())&&void 0!==s.pop)for(l=s.length;l--;)n.push(s[l]);else"boolean"==typeof s&&(s=null),(u="function"!=typeof t)&&(null==s?s="":"number"==typeof s?s=String(s):"string"!=typeof s&&(u=!1)),u&&i?c[c.length-1]+=s:c===o?c=[s]:c.push(s),i=u;var d=new r;return d.nodeName=t,d.children=c,d.attributes=null==e?void 0:e,d.key=null==e?void 0:e.key,void 0!==a.vnode&&a.vnode(d),d}function u(t,e){for(var i in e)t[i]=e[i];return t}var l="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout;function c(t,e){return s(t.nodeName,u(u({},t.attributes),e),2<arguments.length?[].slice.call(arguments,2):t.children)}var d=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,h=[];function f(t){!t._dirty&&(t._dirty=!0)&&1==h.push(t)&&(a.debounceRendering||l)(p)}function p(){var t,e=h;for(h=[];t=e.pop();)t._dirty&&M(t)}function m(t,e){return t.normalizedNodeName===e||t.nodeName.toLowerCase()===e.toLowerCase()}function b(t){var e=u({},t.attributes);e.children=t.children;var i=t.nodeName.defaultProps;if(void 0!==i)for(var r in i)void 0===e[r]&&(e[r]=i[r]);return e}function g(t){var e=t.parentNode;e&&e.removeChild(t)}function v(t,e,i,r,a){if("className"===e&&(e="class"),"key"===e);else if("ref"===e)i&&i(null),r&&r(t);else if("class"!==e||a)if("style"===e){if(r&&"string"!=typeof r&&"string"!=typeof i||(t.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof i)for(var n in i)n in r||(t.style[n]="");for(var n in r)t.style[n]="number"==typeof r[n]&&!1===d.test(n)?r[n]+"px":r[n]}}else if("dangerouslySetInnerHTML"===e)r&&(t.innerHTML=r.__html||"");else if("o"==e[0]&&"n"==e[1]){var o=e!==(e=e.replace(/Capture$/,""));e=e.toLowerCase().substring(2),r?i||t.addEventListener(e,y,o):t.removeEventListener(e,y,o),(t._listeners||(t._listeners={}))[e]=r}else if("list"!==e&&"type"!==e&&!a&&e in t){try{t[e]=null==r?"":r}catch(t){}null!=r&&!1!==r||"spellcheck"==e||t.removeAttribute(e)}else{var s=a&&e!==(e=e.replace(/^xlink:?/,""));null==r||!1===r?s?t.removeAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase()):t.removeAttribute(e):"function"!=typeof r&&(s?t.setAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase(),r):t.setAttribute(e,r))}else t.className=r||""}function y(t){return this._listeners[t.type](a.event&&a.event(t)||t)}var _=[],x=0,k=!1,w=!1;function S(){for(var t;t=_.pop();)a.afterMount&&a.afterMount(t),t.componentDidMount&&t.componentDidMount()}function E(t,e,i,r,a){var n=t,o=k;if(null!=e&&"boolean"!=typeof e||(e=""),"string"==typeof e||"number"==typeof e)return t&&void 0!==t.splitText&&t.parentNode&&(!t._component||a)?t.nodeValue!=e&&(t.nodeValue=e):(n=document.createTextNode(e),t&&(t.parentNode&&t.parentNode.replaceChild(n,t),j(t,!0))),n.__preactattr_=!0,n;var s=e.nodeName;if("function"==typeof s)return function(t,e,i,r){for(var a=t&&t._component,n=a,o=t,s=a&&t._componentConstructor===e.nodeName,u=s,l=b(e);a&&!u&&(a=a._parentComponent);)u=a.constructor===e.nodeName;return a&&u&&(!r||a._component)?(O(a,l,3,i,r),t=a.base):(n&&!s&&(D(n),t=o=null),a=A(e.nodeName,l,i),t&&!a.nextBase&&(a.nextBase=t,o=null),O(a,l,1,i,r),t=a.base,o&&t!==o&&(o._component=null,j(o,!1))),t}(t,e,i,r);if(k="svg"===s||"foreignObject"!==s&&k,s=String(s),(!t||!m(t,s))&&(n=function(t,e){var i=e?document.createElementNS("http://www.w3.org/2000/svg",t):document.createElement(t);return i.normalizedNodeName=t,i}(s,k),t)){for(;t.firstChild;)n.appendChild(t.firstChild);t.parentNode&&t.parentNode.replaceChild(n,t),j(t,!0)}var u=n.firstChild,l=n.__preactattr_,c=e.children;if(null==l){l=n.__preactattr_={};for(var d=n.attributes,h=d.length;h--;)l[d[h].name]=d[h].value}return!w&&c&&1===c.length&&"string"==typeof c[0]&&null!=u&&void 0!==u.splitText&&null==u.nextSibling?u.nodeValue!=c[0]&&(u.nodeValue=c[0]):(c&&c.length||null!=u)&&function(t,e,i,r,a){var n,o,s,u,l,c,d,h,f=t.childNodes,p=[],b={},v=0,y=0,_=f.length,x=0,k=e?e.length:0;if(0!==_)for(var w=0;w<_;w++){var S=f[w],T=S.__preactattr_;null!=(P=k&&T?S._component?S._component.__key:T.key:null)?(v++,b[P]=S):(T||(void 0!==S.splitText?!a||S.nodeValue.trim():a))&&(p[x++]=S)}if(0!==k)for(w=0;w<k;w++){var P;if(l=null,null!=(P=(u=e[w]).key))v&&void 0!==b[P]&&(l=b[P],b[P]=void 0,v--);else if(y<x)for(n=y;n<x;n++)if(void 0!==p[n]&&(c=o=p[n],h=a,"string"==typeof(d=u)||"number"==typeof d?void 0!==c.splitText:"string"==typeof d.nodeName?!c._componentConstructor&&m(c,d.nodeName):h||c._componentConstructor===d.nodeName)){l=o,p[n]=void 0,n===x-1&&x--,n===y&&y++;break}l=E(l,u,i,r),s=f[w],l&&l!==t&&l!==s&&(null==s?t.appendChild(l):l===s.nextSibling?g(s):t.insertBefore(l,s))}if(v)for(var w in b)void 0!==b[w]&&j(b[w],!1);for(;y<=x;)void 0!==(l=p[x--])&&j(l,!1)}(n,c,i,r,w||null!=l.dangerouslySetInnerHTML),function(t,e,i){var r;for(r in i)e&&null!=e[r]||null==i[r]||v(t,r,i[r],i[r]=void 0,k);for(r in e)"children"===r||"innerHTML"===r||r in i&&e[r]===("value"===r||"checked"===r?t[r]:i[r])||v(t,r,i[r],i[r]=e[r],k)}(n,e.attributes,l),k=o,n}function j(t,e){var i=t._component;i?D(i):(null!=t.__preactattr_&&t.__preactattr_.ref&&t.__preactattr_.ref(null),!1!==e&&null!=t.__preactattr_||g(t),T(t))}function T(t){for(t=t.lastChild;t;){var e=t.previousSibling;j(t,!0),t=e}}var P=[];function A(t,e,i){var r,a=P.length;for(t.prototype&&t.prototype.render?(r=new t(e,i),z.call(r,e,i)):((r=new z(e,i)).constructor=t,r.render=C);a--;)if(P[a].constructor===t)return r.nextBase=P[a].nextBase,P.splice(a,1),r;return r}function C(t,e,i){return this.constructor(t,i)}function O(t,e,i,r,n){t._disable||(t._disable=!0,t.__ref=e.ref,t.__key=e.key,delete e.ref,delete e.key,void 0===t.constructor.getDerivedStateFromProps&&(!t.base||n?t.componentWillMount&&t.componentWillMount():t.componentWillReceiveProps&&t.componentWillReceiveProps(e,r)),r&&r!==t.context&&(t.prevContext||(t.prevContext=t.context),t.context=r),t.prevProps||(t.prevProps=t.props),t.props=e,t._disable=!1,0!==i&&(1!==i&&!1===a.syncComponentUpdates&&t.base?f(t):M(t,1,n)),t.__ref&&t.__ref(t))}function M(t,e,i,r){if(!t._disable){var n,o,s,l=t.props,c=t.state,d=t.context,h=t.prevProps||l,f=t.prevState||c,p=t.prevContext||d,m=t.base,g=t.nextBase,v=m||g,y=t._component,T=!1,P=p;if(t.constructor.getDerivedStateFromProps&&(c=u(u({},c),t.constructor.getDerivedStateFromProps(l,c)),t.state=c),m&&(t.props=h,t.state=f,t.context=p,2!==e&&t.shouldComponentUpdate&&!1===t.shouldComponentUpdate(l,c,d)?T=!0:t.componentWillUpdate&&t.componentWillUpdate(l,c,d),t.props=l,t.state=c,t.context=d),t.prevProps=t.prevState=t.prevContext=t.nextBase=null,t._dirty=!1,!T){n=t.render(l,c,d),t.getChildContext&&(d=u(u({},d),t.getChildContext())),m&&t.getSnapshotBeforeUpdate&&(P=t.getSnapshotBeforeUpdate(h,f));var C,z,L=n&&n.nodeName;if("function"==typeof L){var I=b(n);(o=y)&&o.constructor===L&&I.key==o.__key?O(o,I,1,d,!1):(C=o,t._component=o=A(L,I,d),o.nextBase=o.nextBase||g,o._parentComponent=t,O(o,I,0,d,!1),M(o,1,i,!0)),z=o.base}else s=v,(C=y)&&(s=t._component=null),(v||1===e)&&(s&&(s._component=null),z=function(t,e,i,r,a,n){x++||(k=null!=a&&void 0!==a.ownerSVGElement,w=null!=t&&!("__preactattr_"in t));var o=E(t,e,i,r,true);return a&&o.parentNode!==a&&a.appendChild(o),--x||(w=!1),o}(s,n,d,i||!m,v&&v.parentNode));if(v&&z!==v&&o!==y){var F=v.parentNode;F&&z!==F&&(F.replaceChild(z,v),C||(v._component=null,j(v,!1)))}if(C&&D(C),(t.base=z)&&!r){for(var q=t,R=t;R=R._parentComponent;)(q=R).base=z;z._component=q,z._componentConstructor=q.constructor}}for(!m||i?_.unshift(t):T||(t.componentDidUpdate&&t.componentDidUpdate(h,f,P),a.afterUpdate&&a.afterUpdate(t));t._renderCallbacks.length;)t._renderCallbacks.pop().call(t);x||r||S()}}function D(t){a.beforeUnmount&&a.beforeUnmount(t);var e=t.base;t._disable=!0,t.componentWillUnmount&&t.componentWillUnmount(),t.base=null;var i=t._component;i?D(i):e&&(e.__preactattr_&&e.__preactattr_.ref&&e.__preactattr_.ref(null),g(t.nextBase=e),P.push(t),T(e)),t.__ref&&t.__ref(null)}function z(t,e){this._dirty=!0,this.context=e,this.props=t,this.state=this.state||{},this._renderCallbacks=[]}function L(t,e,i){return function(t,e,i,r,a,n){x++||(k=null!=a&&void 0!==a.ownerSVGElement,w=null!=t&&!("__preactattr_"in t));var o=E(t,e,{},!1,false);return a&&o.parentNode!==a&&a.appendChild(o),--x||(w=!1,S()),o}(i,t,0,0,e)}u(z.prototype,{setState:function(t,e){this.prevState||(this.prevState=this.state),this.state=u(u({},this.state),"function"==typeof t?t(this.state,this.props):t),e&&this._renderCallbacks.push(e),f(this)},forceUpdate:function(t){t&&this._renderCallbacks.push(t),M(this,2)},render:function(){}});var I={h:s,createElement:s,cloneElement:c,Component:z,render:L,rerender:p,options:a};e.default=I},function(t,e){var i=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=i)},function(t,e,i){var r=i(8),a=i(40);t.exports=i(3)?function(t,e,i){return r.f(t,e,a(1,i))}:function(t,e,i){return t[e]=i,t}},function(t,e,i){var r=i(9),a=i(38),n=i(39),o=Object.defineProperty;e.f=i(3)?Object.defineProperty:function(t,e,i){if(r(t),e=n(e,!0),r(i),a)try{return o(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},function(t,e,i){var r=i(2);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var i=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+r).toString(36))}},function(t,e,i){var r=i(22);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t}},function(t,e,i){"use strict";var r=i(4);t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},function(t,e,i){var r=i(0);r(r.S+r.F,"Object",{assign:i(41)})},function(t,e,i){var r=i(2),a=i(1).document,n=r(a)&&r(a.createElement);t.exports=function(t){return n?a.createElement(t):{}}},function(t,e,i){var r=i(1),a=i(7),n=i(17),o=i(10)("src"),s="toString",u=Function[s],l=(""+u).split(s);i(6).inspectSource=function(t){return u.call(t)},(t.exports=function(t,e,i,s){var u="function"==typeof i;u&&(n(i,"name")||a(i,"name",e)),t[e]!==i&&(u&&(n(i,o)||a(i,o,t[e]?""+t[e]:l.join(String(e)))),t===r?t[e]=i:s?t[e]?t[e]=i:a(t,e,i):(delete t[e],a(t,e,i)))})(Function.prototype,s,(function(){return"function"==typeof this&&this[o]||u.call(this)}))},function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},function(t,e,i){var r=i(19);t.exports=function(t,e,i){if(r(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,r){return t.call(e,i,r)};case 3:return function(i,r,a){return t.call(e,i,r,a)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,i){var r=i(42),a=i(28);t.exports=Object.keys||function(t){return r(t,a)}},function(t,e,i){var r=i(11),a=i(12);t.exports=function(t){return r(a(t))}},function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},function(t,e,i){var r=i(21),a=i(24),n=i(43);t.exports=function(t){return function(e,i,o){var s,u=r(e),l=a(u.length),c=n(o,l);if(t&&i!=i){for(;c<l;)if((s=u[c++])!=s)return!0}else for(;c<l;c++)if((t||c in u)&&u[c]===i)return t||c||0;return!t&&-1}}},function(t,e,i){var r=i(25),a=Math.min;t.exports=function(t){return 0<t?a(r(t),9007199254740991):0}},function(t,e){var i=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(0<t?r:i)(t)}},function(t,e,i){var r=i(27)("keys"),a=i(10);t.exports=function(t){return r[t]||(r[t]=a(t))}},function(t,e,i){var r=i(6),a=i(1),n="__core-js_shared__",o=a[n]||(a[n]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:i(44)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,i){var r=i(12);t.exports=function(t){return Object(r(t))}},function(t,e,i){var r=i(8).f,a=Function.prototype,n=/^\s*function ([^ (]*)/;"name"in a||i(3)&&r(a,"name",{configurable:!0,get:function(){try{return(""+this).match(n)[1]}catch(t){return""}}})},function(t,e,i){"use strict";var r=i(0),a=i(32)(1);r(r.P+r.F*!i(13)([].map,!0),"Array",{map:function(t){return a(this,t,arguments[1])}})},function(t,e,i){var r=i(18),a=i(11),n=i(29),o=i(24),s=i(47);t.exports=function(t,e){var i=1==t,u=2==t,l=3==t,c=4==t,d=6==t,h=5==t||d,f=e||s;return function(e,s,p){for(var m,b,g=n(e),v=a(g),y=r(s,p,3),_=o(v.length),x=0,k=i?f(e,_):u?f(e,0):void 0;x<_;x++)if((h||x in v)&&(b=y(m=v[x],x,g),t))if(i)k[x]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return x;case 2:k.push(m)}else if(c)return!1;return d?-1:l||c?c:k}}},function(t,e,i){var r=i(22);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,i){var r=i(27)("wks"),a=i(10),n=i(1).Symbol,o="function"==typeof n;(t.exports=function(t){return r[t]||(r[t]=o&&n[t]||(o?n:a)("Symbol."+t))}).store=r},function(t,e,i){"use strict";var r=i(0),a=i(23)(!1),n=[].indexOf,o=!!n&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(o||!i(13)(n)),"Array",{indexOf:function(t){return o?n.apply(this,arguments)||0:a(this,t,arguments[1])}})},function(t,e,i){var r=i(0);r(r.S,"Object",{create:i(52)})},function(t,e,i){"use strict";e.__esModule=!0,e.default=void 0,i(14),i(30),i(31),i(35),i(49),i(50);var r=i(5),a=function(t){return t&&t.__esModule?t:{default:t}}(i(51));function n(t){if(!t.element)throw new Error("element is not defined");if(!t.id)throw new Error("id is not defined");if(!t.source)throw new Error("source is not defined");Array.isArray(t.source)&&(t.source=o(t.source)),(0,r.render)((0,r.createElement)(a.default,t),t.element)}var o=function(t){return function(e,i){i(t.filter((function(t){return-1!==t.toLowerCase().indexOf(e.toLowerCase())})))}};n.enhanceSelectElement=function(t){if(!t.selectElement)throw new Error("selectElement is not defined");if(!t.source){var e=[].filter.call(t.selectElement.options,(function(e){return e.value||t.preserveNullOptions}));t.source=e.map((function(t){return t.textContent||t.innerText}))}if(t.onConfirm=t.onConfirm||function(e){var i=[].filter.call(t.selectElement.options,(function(t){return(t.textContent||t.innerText)===e}))[0];i&&(i.selected=!0)},t.selectElement.value||void 0===t.defaultValue){var i=t.selectElement.options[t.selectElement.options.selectedIndex];t.defaultValue=i.textContent||i.innerText}void 0===t.name&&(t.name=""),void 0===t.id&&(void 0===t.selectElement.id?t.id="":t.id=t.selectElement.id),void 0===t.autoselect&&(t.autoselect=!0);var r=document.createElement("div");t.selectElement.parentNode.insertBefore(r,t.selectElement),n(Object.assign({},t,{element:r})),t.selectElement.style.display="none",t.selectElement.id=t.selectElement.id+"-select"};var s=n;e.default=s},function(t,e,i){t.exports=!i(3)&&!i(4)((function(){return 7!=Object.defineProperty(i(15)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,i){var r=i(2);t.exports=function(t,e){if(!r(t))return t;var i,a;if(e&&"function"==typeof(i=t.toString)&&!r(a=i.call(t)))return a;if("function"==typeof(i=t.valueOf)&&!r(a=i.call(t)))return a;if(!e&&"function"==typeof(i=t.toString)&&!r(a=i.call(t)))return a;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,i){"use strict";var r=i(20),a=i(45),n=i(46),o=i(29),s=i(11),u=Object.assign;t.exports=!u||i(4)((function(){var t={},e={},i=Symbol(),r="abcdefghijklmnopqrst";return t[i]=7,r.split("").forEach((function(t){e[t]=t})),7!=u({},t)[i]||Object.keys(u({},e)).join("")!=r}))?function(t,e){for(var i=o(t),u=arguments.length,l=1,c=a.f,d=n.f;l<u;)for(var h,f=s(arguments[l++]),p=c?r(f).concat(c(f)):r(f),m=p.length,b=0;b<m;)d.call(f,h=p[b++])&&(i[h]=f[h]);return i}:u},function(t,e,i){var r=i(17),a=i(21),n=i(23)(!1),o=i(26)("IE_PROTO");t.exports=function(t,e){var i,s=a(t),u=0,l=[];for(i in s)i!=o&&r(s,i)&&l.push(i);for(;e.length>u;)r(s,i=e[u++])&&(~n(l,i)||l.push(i));return l}},function(t,e,i){var r=i(25),a=Math.max,n=Math.min;t.exports=function(t,e){return(t=r(t))<0?a(t+e,0):n(t,e)}},function(t,e){t.exports=!1},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,i){var r=i(48);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,i){var r=i(2),a=i(33),n=i(34)("species");t.exports=function(t){var e;return a(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!a(e.prototype)||(e=void 0),r(e)&&null===(e=e[n])&&(e=void 0)),void 0===e?Array:e}},function(t,e,i){"use strict";var r=i(0),a=i(32)(2);r(r.P+r.F*!i(13)([].filter,!0),"Array",{filter:function(t){return a(this,t,arguments[1])}})},function(t,e,i){var r=i(0);r(r.S,"Array",{isArray:i(33)})},function(t,e,i){"use strict";e.__esModule=!0,e.default=void 0,i(14),i(36),i(30),i(31),i(35),i(55),i(58);var r=i(5),a=o(i(60)),n=o(i(61));function o(t){return t&&t.__esModule?t:{default:t}}function s(){return(s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(this,arguments)}function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var l={13:"enter",27:"escape",32:"space",38:"up",40:"down"};function c(){return"undefined"!=typeof navigator&&!(!navigator.userAgent.match(/(iPod|iPhone|iPad)/g)||!navigator.userAgent.match(/AppleWebKit/g))}var d=function(t){function e(e){var i;return(i=t.call(this,e)||this).elementReferences={},i.state={focused:null,hovered:null,menuOpen:!1,options:e.defaultValue?[e.defaultValue]:[],query:e.defaultValue,validChoiceMade:!1,selected:null,ariaHint:!0},i.handleComponentBlur=i.handleComponentBlur.bind(u(u(i))),i.handleKeyDown=i.handleKeyDown.bind(u(u(i))),i.handleUpArrow=i.handleUpArrow.bind(u(u(i))),i.handleDownArrow=i.handleDownArrow.bind(u(u(i))),i.handleEnter=i.handleEnter.bind(u(u(i))),i.handlePrintableKey=i.handlePrintableKey.bind(u(u(i))),i.handleListMouseLeave=i.handleListMouseLeave.bind(u(u(i))),i.handleOptionBlur=i.handleOptionBlur.bind(u(u(i))),i.handleOptionClick=i.handleOptionClick.bind(u(u(i))),i.handleOptionFocus=i.handleOptionFocus.bind(u(u(i))),i.handleOptionMouseDown=i.handleOptionMouseDown.bind(u(u(i))),i.handleOptionMouseEnter=i.handleOptionMouseEnter.bind(u(u(i))),i.handleInputBlur=i.handleInputBlur.bind(u(u(i))),i.handleInputChange=i.handleInputChange.bind(u(u(i))),i.handleInputFocus=i.handleInputFocus.bind(u(u(i))),i.pollInputElement=i.pollInputElement.bind(u(u(i))),i.getDirectInputChanges=i.getDirectInputChanges.bind(u(u(i))),i}!function(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}(e,t);var i=e.prototype;return i.isQueryAnOption=function(t,e){var i=this;return-1!==e.map((function(t){return i.templateInputValue(t).toLowerCase()})).indexOf(t.toLowerCase())},i.componentDidMount=function(){this.pollInputElement()},i.componentWillUnmount=function(){clearTimeout(this.$pollInput)},i.pollInputElement=function(){var t=this;this.getDirectInputChanges(),this.$pollInput=setTimeout((function(){t.pollInputElement()}),100)},i.getDirectInputChanges=function(){var t=this.elementReferences[-1];t&&t.value!==this.state.query&&this.handleInputChange({target:{value:t.value}})},i.componentDidUpdate=function(t,e){var i=this.state.focused,r=null===i,a=e.focused!==i;a&&!r&&this.elementReferences[i].focus();var n=-1===i,o=a&&null===e.focused;if(n&&o){var s=this.elementReferences[i];s.setSelectionRange(0,s.value.length)}},i.hasAutoselect=function(){return!c()&&this.props.autoselect},i.templateInputValue=function(t){var e=this.props.templates&&this.props.templates.inputValue;return e?e(t):t},i.templateSuggestion=function(t){var e=this.props.templates&&this.props.templates.suggestion;return e?e(t):t},i.handleComponentBlur=function(t){var e,i=this.state,r=i.options,a=i.query,n=i.selected;this.props.confirmOnBlur?(e=t.query||a,this.props.onConfirm(r[n])):e=a,this.setState({focused:null,menuOpen:t.menuOpen||!1,query:e,selected:null,validChoiceMade:this.isQueryAnOption(e,r)})},i.handleListMouseLeave=function(t){this.setState({hovered:null})},i.handleOptionBlur=function(t,e){var i=this.state,r=i.focused,a=i.menuOpen,n=i.options,o=i.selected,s=null===t.relatedTarget,u=t.relatedTarget===this.elementReferences[-1],l=r!==e&&-1!==r;if(!l&&s||!l&&!u){var d=a&&c();this.handleComponentBlur({menuOpen:d,query:this.templateInputValue(n[o])})}},i.handleInputBlur=function(t){var e=this.state,i=e.focused,r=e.menuOpen,a=e.options,n=e.query,o=e.selected;if(-1===i){var s=r&&c(),u=c()?n:this.templateInputValue(a[o]);this.handleComponentBlur({menuOpen:s,query:u})}},i.handleInputChange=function(t){var e=this,i=this.props,r=i.minLength,a=i.source,n=i.showAllValues,o=this.hasAutoselect(),s=t.target.value,u=0===s.length,l=this.state.query.length!==s.length,c=s.length>=r;this.setState({query:s,ariaHint:u}),n||!u&&l&&c?a(s,(function(t){var i=0<t.length;e.setState({menuOpen:i,options:t,selected:o&&i?0:-1,validChoiceMade:!1})})):!u&&c||this.setState({menuOpen:!1,options:[]})},i.handleInputClick=function(t){this.handleInputChange(t)},i.handleInputFocus=function(t){var e=this.state,i=e.query,r=e.validChoiceMade,a=e.options,n=this.props.minLength,o=!r&&i.length>=n&&0<a.length;o?this.setState((function(t){var e=t.menuOpen;return{focused:-1,menuOpen:o||e,selected:-1}})):this.setState({focused:-1})},i.handleOptionFocus=function(t){this.setState({focused:t,hovered:null,selected:t})},i.handleOptionMouseEnter=function(t,e){c()||this.setState({hovered:e})},i.handleOptionClick=function(t,e){var i=this.state.options[e],r=this.templateInputValue(i);this.props.onConfirm(i),this.setState({focused:-1,hovered:null,menuOpen:!1,query:r,selected:-1,validChoiceMade:!0}),this.forceUpdate()},i.handleOptionMouseDown=function(t){t.preventDefault()},i.handleUpArrow=function(t){t.preventDefault();var e=this.state,i=e.menuOpen,r=e.selected;-1!==r&&i&&this.handleOptionFocus(r-1)},i.handleDownArrow=function(t){var e=this;if(t.preventDefault(),this.props.showAllValues&&!1===this.state.menuOpen)t.preventDefault(),this.props.source("",(function(t){e.setState({menuOpen:!0,options:t,selected:0,focused:0,hovered:null})}));else if(!0===this.state.menuOpen){var i=this.state,r=i.menuOpen,a=i.options,n=i.selected;n!==a.length-1&&r&&this.handleOptionFocus(n+1)}},i.handleSpace=function(t){var e=this;this.props.showAllValues&&!1===this.state.menuOpen&&""===this.state.query&&(t.preventDefault(),this.props.source("",(function(t){e.setState({menuOpen:!0,options:t})}))),-1!==this.state.focused&&(t.preventDefault(),this.handleOptionClick(t,this.state.focused))},i.handleEnter=function(t){this.state.menuOpen&&(t.preventDefault(),0<=this.state.selected&&this.handleOptionClick(t,this.state.selected))},i.handlePrintableKey=function(t){var e=this.elementReferences[-1];t.target===e||e.focus()},i.handleKeyDown=function(t){switch(l[t.keyCode]){case"up":this.handleUpArrow(t);break;case"down":this.handleDownArrow(t);break;case"space":this.handleSpace(t);break;case"enter":this.handleEnter(t);break;case"escape":this.handleComponentBlur({query:this.state.query});break;default:(function(t){return 47<t&&t<58||32===t||8===t||64<t&&t<91||95<t&&t<112||185<t&&t<193||218<t&&t<223})(t.keyCode)&&this.handlePrintableKey(t)}},i.render=function(){var t,e=this,i=this.props,n=i.cssNamespace,o=i.displayMenu,u=i.id,l=i.minLength,d=i.name,h=i.placeholder,f=i.required,p=i.showAllValues,m=i.tNoResults,b=i.tStatusQueryTooShort,g=i.tStatusNoResults,v=i.tStatusSelectedOption,y=i.tStatusResults,_=i.tAssistiveHint,x=i.dropdownArrow,k=this.state,w=k.focused,S=k.hovered,E=k.menuOpen,j=k.options,T=k.query,P=k.selected,A=k.ariaHint,C=k.validChoiceMade,O=this.hasAutoselect(),M=-1===w,D=0===j.length,z=0!==T.length,L=T.length>=l,I=this.props.showNoOptionsFound&&M&&D&&z&&L,F=n+"__wrapper",q=n+"__input",R=null!==w?" "+q+"--focused":"",B=this.props.showAllValues?" "+q+"--show-all-values":" "+q+"--default",N=n+"__dropdown-arrow-down",$=-1!==w&&null!==w,V=n+"__menu",H=V+"--"+o,U=V+"--"+(E||I?"visible":"hidden"),W=n+"__option",Y=n+"__hint",G=this.templateInputValue(j[P]),K=G&&0===G.toLowerCase().indexOf(T.toLowerCase())&&O?T+G.substr(T.length):"",X=u+"__assistiveHint",J=A?{"aria-describedby":X}:null;return p&&"string"==typeof(t=x({className:N}))&&(t=(0,r.createElement)("div",{className:n+"__dropdown-arrow-down-wrapper",dangerouslySetInnerHTML:{__html:t}})),(0,r.createElement)("div",{className:F,onKeyDown:this.handleKeyDown},(0,r.createElement)(a.default,{id:u,length:j.length,queryLength:T.length,minQueryLength:l,selectedOption:this.templateInputValue(j[P]),selectedOptionIndex:P,validChoiceMade:C,isInFocus:null!==this.state.focused,tQueryTooShort:b,tNoResults:g,tSelectedOption:v,tResults:y}),K&&(0,r.createElement)("span",null,(0,r.createElement)("input",{className:Y,readonly:!0,tabIndex:"-1",value:K})),(0,r.createElement)("input",s({"aria-expanded":E?"true":"false","aria-activedescendant":!!$&&u+"__option--"+w,"aria-owns":u+"__listbox","aria-autocomplete":this.hasAutoselect()?"both":"list"},J,{autoComplete:"off",className:""+q+R+B,id:u,onClick:function(t){return e.handleInputClick(t)},onBlur:this.handleInputBlur},function(t){return{onInput:t}}(this.handleInputChange),{onFocus:this.handleInputFocus,name:d,placeholder:h,ref:function(t){e.elementReferences[-1]=t},type:"text",role:"combobox",required:f,value:T})),t,(0,r.createElement)("ul",{className:V+" "+H+" "+U,onMouseLeave:function(t){return e.handleListMouseLeave(t)},id:u+"__listbox",role:"listbox"},j.map((function(t,i){var a=(-1===w?P===i:w===i)&&null===S?" "+W+"--focused":"",n=i%2?" "+W+"--odd":"",o=c()?"<span id="+u+"__option-suffix--"+i+' style="border:0;clip:rect(0 0 0 0);height:1px;marginBottom:-1px;marginRight:-1px;overflow:hidden;padding:0;position:absolute;whiteSpace:nowrap;width:1px"> '+(i+1)+" of "+j.length+"</span>":"";return(0,r.createElement)("li",{"aria-selected":w===i?"true":"false",className:""+W+a+n,dangerouslySetInnerHTML:{__html:e.templateSuggestion(t)+o},id:u+"__option--"+i,key:i,onBlur:function(t){return e.handleOptionBlur(t,i)},onClick:function(t){return e.handleOptionClick(t,i)},onMouseDown:e.handleOptionMouseDown,onMouseEnter:function(t){return e.handleOptionMouseEnter(t,i)},ref:function(t){e.elementReferences[i]=t},role:"option",tabIndex:"-1","aria-posinset":i+1,"aria-setsize":j.length})})),I&&(0,r.createElement)("li",{className:W+" "+W+"--no-results"},m())),(0,r.createElement)("span",{id:X,style:{display:"none"}},_()))},e}(r.Component);(e.default=d).defaultProps={autoselect:!1,cssNamespace:"autocomplete",defaultValue:"",displayMenu:"inline",minLength:0,name:"input-autocomplete",placeholder:"",onConfirm:function(){},confirmOnBlur:!0,showNoOptionsFound:!0,showAllValues:!1,required:!1,tNoResults:function(){return"No results found"},tAssistiveHint:function(){return"When autocomplete results are available use up and down arrows to review and enter to select.  Touch device users, explore by touch or with swipe gestures."},dropdownArrow:n.default}},function(t,e,i){var r=i(9),a=i(53),n=i(28),o=i(26)("IE_PROTO"),s=function(){},u="prototype",l=function(){var t,e=i(15)("iframe"),r=n.length;for(e.style.display="none",i(54).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;r--;)delete l[u][n[r]];return l()};t.exports=Object.create||function(t,e){var i;return null!==t?(s[u]=r(t),i=new s,s[u]=null,i[o]=t):i=l(),void 0===e?i:a(i,e)}},function(t,e,i){var r=i(8),a=i(9),n=i(20);t.exports=i(3)?Object.defineProperties:function(t,e){a(t);for(var i,o=n(e),s=o.length,u=0;u<s;)r.f(t,i=o[u++],e[i]);return t}},function(t,e,i){var r=i(1).document;t.exports=r&&r.documentElement},function(t,e,i){var r=i(0);r(r.P,"Function",{bind:i(56)})},function(t,e,i){"use strict";var r=i(19),a=i(2),n=i(57),o=[].slice,s={};t.exports=Function.bind||function(t){var e=r(this),i=o.call(arguments,1),u=function(){var r=i.concat(o.call(arguments));return this instanceof u?function(t,e,i){if(!(e in s)){for(var r=[],a=0;a<e;a++)r[a]="a["+a+"]";s[e]=Function("F,a","return new F("+r.join(",")+")")}return s[e](t,i)}(e,r.length,r):n(e,r,t)};return a(e.prototype)&&(u.prototype=e.prototype),u}},function(t,e){t.exports=function(t,e,i){var r=void 0===i;switch(e.length){case 0:return r?t():t.call(i);case 1:return r?t(e[0]):t.call(i,e[0]);case 2:return r?t(e[0],e[1]):t.call(i,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(i,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(i,e[0],e[1],e[2],e[3])}return t.apply(i,e)}},function(t,e,i){i(59)("match",1,(function(t,e,i){return[function(i){"use strict";var r=t(this),a=null==i?void 0:i[e];return void 0!==a?a.call(i,r):new RegExp(i)[e](String(r))},i]}))},function(t,e,i){"use strict";var r=i(7),a=i(16),n=i(4),o=i(12),s=i(34);t.exports=function(t,e,i){var u=s(t),l=i(o,u,""[t]),c=l[0],d=l[1];n((function(){var e={};return e[u]=function(){return 7},7!=""[t](e)}))&&(a(String.prototype,t,c),r(RegExp.prototype,u,2==e?function(t,e){return d.call(t,this,e)}:function(t){return d.call(t,this)}))}},function(t,e,i){"use strict";e.__esModule=!0,e.default=void 0,i(36);var r=i(5),a=function(t){function e(){for(var e,i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).state={bump:!1,debounced:!1},e}!function(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}(e,t);var i=e.prototype;return i.componentWillMount=function(){var t=this;this.debounceStatusUpdate=function(t,e,i){var r;return function(){var e=this,i=arguments;clearTimeout(r),r=setTimeout((function(){r=null,t.apply(e,i)}),1400)}}((function(){if(!t.state.debounced){var e=!t.props.isInFocus||t.props.validChoiceMade;t.setState((function(t){return{bump:!t.bump,debounced:!0,silenced:e}}))}}))},i.componentWillReceiveProps=function(t){t.queryLength,this.setState({debounced:!1})},i.render=function(){var t,e=this.props,i=e.id,a=e.length,n=e.queryLength,o=e.minQueryLength,s=e.selectedOption,u=e.selectedOptionIndex,l=e.tQueryTooShort,c=e.tNoResults,d=e.tSelectedOption,h=e.tResults,f=this.state,p=f.bump,m=f.debounced,b=f.silenced,g=n<o,v=0===a,y=s?d(s,a,u):"";return t=g?l(o):v?c():h(a,y),this.debounceStatusUpdate(),(0,r.createElement)("div",{style:{border:"0",clip:"rect(0 0 0 0)",height:"1px",marginBottom:"-1px",marginRight:"-1px",overflow:"hidden",padding:"0",position:"absolute",whiteSpace:"nowrap",width:"1px"}},(0,r.createElement)("div",{id:i+"__status--A",role:"status","aria-atomic":"true","aria-live":"polite"},!b&&m&&p?t:""),(0,r.createElement)("div",{id:i+"__status--B",role:"status","aria-atomic":"true","aria-live":"polite"},b||!m||p?"":t))},e}(r.Component);(e.default=a).defaultProps={tQueryTooShort:function(t){return"Type in "+t+" or more characters for results"},tNoResults:function(){return"No search results"},tSelectedOption:function(t,e,i){return t+" "+(i+1)+" of "+e+" is highlighted"},tResults:function(t,e){return t+" "+(1===t?"result":"results")+" "+(1===t?"is":"are")+" available. "+e}}},function(t,e,i){"use strict";e.__esModule=!0,e.default=void 0;var r=i(5);e.default=function(t){var e=t.className;return(0,r.createElement)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:e,focusable:"false"},(0,r.createElement)("g",{stroke:"none",fill:"none","fill-rule":"evenodd"},(0,r.createElement)("polygon",{fill:"#000000",points:"0 0 22 0 11 17"})))}}]).default},t.exports=e()},65078:function(t){t.exports=function(){"use strict";function t(){}const e=function(){let t=0;return function(){return t++}}();function i(t){return null==t}function r(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function a(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}const n=t=>("number"==typeof t||t instanceof Number)&&isFinite(+t);function o(t,e){return n(t)?t:e}function s(t,e){return void 0===t?e:t}const u=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:t/e,l=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function c(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)}function d(t,e,i,n){let o,s,u;if(r(t))if(s=t.length,n)for(o=s-1;o>=0;o--)e.call(i,t[o],o);else for(o=0;o<s;o++)e.call(i,t[o],o);else if(a(t))for(u=Object.keys(t),s=u.length,o=0;o<s;o++)e.call(i,t[u[o]],u[o])}function h(t,e){let i,r,a,n;if(!t||!e||t.length!==e.length)return!1;for(i=0,r=t.length;i<r;++i)if(a=t[i],n=e[i],a.datasetIndex!==n.datasetIndex||a.index!==n.index)return!1;return!0}function f(t){if(r(t))return t.map(f);if(a(t)){const e=Object.create(null),i=Object.keys(t),r=i.length;let a=0;for(;a<r;++a)e[i[a]]=f(t[i[a]]);return e}return t}function p(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function m(t,e,i,r){if(!p(t))return;const n=e[t],o=i[t];a(n)&&a(o)?b(n,o,r):e[t]=f(o)}function b(t,e,i){const n=r(e)?e:[e],o=n.length;if(!a(t))return t;const s=(i=i||{}).merger||m;for(let r=0;r<o;++r){if(!a(e=n[r]))continue;const o=Object.keys(e);for(let r=0,a=o.length;r<a;++r)s(o[r],t,e,i)}return t}function g(t,e){return b(t,e,{merger:v})}function v(t,e,i){if(!p(t))return;const r=e[t],n=i[t];a(r)&&a(n)?g(r,n):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=f(n))}const y={"":t=>t,x:t=>t.x,y:t=>t.y};function _(t,e){return(y[e]||(y[e]=function(t){const e=x(t);return t=>{for(const i of e){if(""===i)break;t=t&&t[i]}return t}}(e)))(t)}function x(t){const e=t.split("."),i=[];let r="";for(const t of e)r+=t,r.endsWith("\\")?r=r.slice(0,-1)+".":(i.push(r),r="");return i}function k(t){return t.charAt(0).toUpperCase()+t.slice(1)}const w=t=>void 0!==t,S=t=>"function"==typeof t,E=(t,e)=>{if(t.size!==e.size)return!1;for(const i of t)if(!e.has(i))return!1;return!0};function j(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}const T=Math.PI,P=2*T,A=P+T,C=Number.POSITIVE_INFINITY,O=T/180,M=T/2,D=T/4,z=2*T/3,L=Math.log10,I=Math.sign;function F(t){const e=Math.round(t);t=B(t,e,t/1e3)?e:t;const i=Math.pow(10,Math.floor(L(t))),r=t/i;return(r<=1?1:r<=2?2:r<=5?5:10)*i}function q(t){const e=[],i=Math.sqrt(t);let r;for(r=1;r<i;r++)t%r==0&&(e.push(r),e.push(t/r));return i===(0|i)&&e.push(i),e.sort(((t,e)=>t-e)).pop(),e}function R(t){return!isNaN(parseFloat(t))&&isFinite(t)}function B(t,e,i){return Math.abs(t-e)<i}function N(t,e){const i=Math.round(t);return i-e<=t&&i+e>=t}function $(t,e,i){let r,a,n;for(r=0,a=t.length;r<a;r++)n=t[r][i],isNaN(n)||(e.min=Math.min(e.min,n),e.max=Math.max(e.max,n))}function V(t){return t*(T/180)}function H(t){return t*(180/T)}function U(t){if(!n(t))return;let e=1,i=0;for(;Math.round(t*e)/e!==t;)e*=10,i++;return i}function W(t,e){const i=e.x-t.x,r=e.y-t.y,a=Math.sqrt(i*i+r*r);let n=Math.atan2(r,i);return n<-.5*T&&(n+=P),{angle:n,distance:a}}function Y(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function G(t,e){return(t-e+A)%P-T}function K(t){return(t%P+P)%P}function X(t,e,i,r){const a=K(t),n=K(e),o=K(i),s=K(n-a),u=K(o-a),l=K(a-n),c=K(a-o);return a===n||a===o||r&&n===o||s>u&&l<c}function J(t,e,i){return Math.max(e,Math.min(i,t))}function Z(t){return J(t,-32768,32767)}function Q(t,e,i,r=1e-6){return t>=Math.min(e,i)-r&&t<=Math.max(e,i)+r}function tt(t,e,i){i=i||(i=>t[i]<e);let r,a=t.length-1,n=0;for(;a-n>1;)r=n+a>>1,i(r)?n=r:a=r;return{lo:n,hi:a}}const et=(t,e,i,r)=>tt(t,i,r?r=>t[r][e]<=i:r=>t[r][e]<i),it=(t,e,i)=>tt(t,i,(r=>t[r][e]>=i));function rt(t,e,i){let r=0,a=t.length;for(;r<a&&t[r]<e;)r++;for(;a>r&&t[a-1]>i;)a--;return r>0||a<t.length?t.slice(r,a):t}const at=["push","pop","shift","splice","unshift"];function nt(t,e){t._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),at.forEach((e=>{const i="_onData"+k(e),r=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...e){const a=r.apply(this,e);return t._chartjs.listeners.forEach((t=>{"function"==typeof t[i]&&t[i](...e)})),a}})})))}function ot(t,e){const i=t._chartjs;if(!i)return;const r=i.listeners,a=r.indexOf(e);-1!==a&&r.splice(a,1),r.length>0||(at.forEach((e=>{delete t[e]})),delete t._chartjs)}function st(t){const e=new Set;let i,r;for(i=0,r=t.length;i<r;++i)e.add(t[i]);return e.size===r?t:Array.from(e)}const ut="undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame;function lt(t,e,i){const r=i||(t=>Array.prototype.slice.call(t));let a=!1,n=[];return function(...i){n=r(i),a||(a=!0,ut.call(window,(()=>{a=!1,t.apply(e,n)})))}}function ct(t,e){let i;return function(...r){return e?(clearTimeout(i),i=setTimeout(t,e,r)):t.apply(this,r),e}}const dt=t=>"start"===t?"left":"end"===t?"right":"center",ht=(t,e,i)=>"start"===t?e:"end"===t?i:(e+i)/2,ft=(t,e,i,r)=>t===(r?"left":"right")?i:"center"===t?(e+i)/2:e;function pt(t,e,i){const r=e.length;let a=0,n=r;if(t._sorted){const{iScale:o,_parsed:s}=t,u=o.axis,{min:l,max:c,minDefined:d,maxDefined:h}=o.getUserBounds();d&&(a=J(Math.min(et(s,o.axis,l).lo,i?r:et(e,u,o.getPixelForValue(l)).lo),0,r-1)),n=h?J(Math.max(et(s,o.axis,c,!0).hi+1,i?0:et(e,u,o.getPixelForValue(c),!0).hi+1),a,r)-a:r-a}return{start:a,count:n}}function mt(t){const{xScale:e,yScale:i,_scaleRanges:r}=t,a={xmin:e.min,xmax:e.max,ymin:i.min,ymax:i.max};if(!r)return t._scaleRanges=a,!0;const n=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==i.min||r.ymax!==i.max;return Object.assign(r,a),n}var bt=new class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,i,r){const a=e.listeners[r],n=e.duration;a.forEach((r=>r({chart:t,initial:e.initial,numSteps:n,currentStep:Math.min(i-e.start,n)})))}_refresh(){this._request||(this._running=!0,this._request=ut.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(t=Date.now()){let e=0;this._charts.forEach(((i,r)=>{if(!i.running||!i.items.length)return;const a=i.items;let n,o=a.length-1,s=!1;for(;o>=0;--o)n=a[o],n._active?(n._total>i.duration&&(i.duration=n._total),n.tick(t),s=!0):(a[o]=a[a.length-1],a.pop());s&&(r.draw(),this._notify(r,i,t,"progress")),a.length||(i.running=!1,this._notify(r,i,t,"complete"),i.initial=!1),e+=a.length})),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let i=e.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,i)),i}listen(t,e,i){this._getAnims(t).listeners[e].push(i)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce(((t,e)=>Math.max(t,e._duration)),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const i=e.items;let r=i.length-1;for(;r>=0;--r)i[r].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}};function gt(t){return t+.5|0}const vt=(t,e,i)=>Math.max(Math.min(t,i),e);function yt(t){return vt(gt(2.55*t),0,255)}function _t(t){return vt(gt(255*t),0,255)}function xt(t){return vt(gt(t/2.55)/100,0,1)}function kt(t){return vt(gt(100*t),0,100)}const wt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},St=[..."0123456789ABCDEF"],Et=t=>St[15&t],jt=t=>St[(240&t)>>4]+St[15&t],Tt=t=>(240&t)>>4==(15&t);function Pt(t){var e=(t=>Tt(t.r)&&Tt(t.g)&&Tt(t.b)&&Tt(t.a))(t)?Et:jt;return t?"#"+e(t.r)+e(t.g)+e(t.b)+((t,e)=>t<255?e(t):"")(t.a,e):void 0}const At=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Ct(t,e,i){const r=e*Math.min(i,1-i),a=(e,a=(e+t/30)%12)=>i-r*Math.max(Math.min(a-3,9-a,1),-1);return[a(0),a(8),a(4)]}function Ot(t,e,i){const r=(r,a=(r+t/60)%6)=>i-i*e*Math.max(Math.min(a,4-a,1),0);return[r(5),r(3),r(1)]}function Mt(t,e,i){const r=Ct(t,1,.5);let a;for(e+i>1&&(a=1/(e+i),e*=a,i*=a),a=0;a<3;a++)r[a]*=1-e-i,r[a]+=e;return r}function Dt(t){const e=t.r/255,i=t.g/255,r=t.b/255,a=Math.max(e,i,r),n=Math.min(e,i,r),o=(a+n)/2;let s,u,l;return a!==n&&(l=a-n,u=o>.5?l/(2-a-n):l/(a+n),s=function(t,e,i,r,a){return t===a?(e-i)/r+(e<i?6:0):e===a?(i-t)/r+2:(t-e)/r+4}(e,i,r,l,a),s=60*s+.5),[0|s,u||0,o]}function zt(t,e,i,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,i,r)).map(_t)}function Lt(t,e,i){return zt(Ct,t,e,i)}function It(t){return(t%360+360)%360}function Ft(t){const e=At.exec(t);let i,r=255;if(!e)return;e[5]!==i&&(r=e[6]?yt(+e[5]):_t(+e[5]));const a=It(+e[2]),n=+e[3]/100,o=+e[4]/100;return i="hwb"===e[1]?function(t,e,i){return zt(Mt,t,e,i)}(a,n,o):"hsv"===e[1]?function(t,e,i){return zt(Ot,t,e,i)}(a,n,o):Lt(a,n,o),{r:i[0],g:i[1],b:i[2],a:r}}const qt={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Rt={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let Bt;function Nt(t){Bt||(Bt=function(){const t={},e=Object.keys(Rt),i=Object.keys(qt);let r,a,n,o,s;for(r=0;r<e.length;r++){for(o=s=e[r],a=0;a<i.length;a++)n=i[a],s=s.replace(n,qt[n]);n=parseInt(Rt[o],16),t[s]=[n>>16&255,n>>8&255,255&n]}return t}(),Bt.transparent=[0,0,0,0]);const e=Bt[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}const $t=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const Vt=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,Ht=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function Ut(t,e,i){if(t){let r=Dt(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*i,0===e?360:1)),r=Lt(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function Wt(t,e){return t?Object.assign(e||{},t):t}function Yt(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=_t(t[3]))):(e=Wt(t,{r:0,g:0,b:0,a:1})).a=_t(e.a),e}function Gt(t){return"r"===t.charAt(0)?function(t){const e=$t.exec(t);let i,r,a,n=255;if(e){if(e[7]!==i){const t=+e[7];n=e[8]?yt(t):vt(255*t,0,255)}return i=+e[1],r=+e[3],a=+e[5],i=255&(e[2]?yt(i):vt(i,0,255)),r=255&(e[4]?yt(r):vt(r,0,255)),a=255&(e[6]?yt(a):vt(a,0,255)),{r:i,g:r,b:a,a:n}}}(t):Ft(t)}class Kt{constructor(t){if(t instanceof Kt)return t;const e=typeof t;let i;var r,a,n;"object"===e?i=Yt(t):"string"===e&&(n=(r=t).length,"#"===r[0]&&(4===n||5===n?a={r:255&17*wt[r[1]],g:255&17*wt[r[2]],b:255&17*wt[r[3]],a:5===n?17*wt[r[4]]:255}:7!==n&&9!==n||(a={r:wt[r[1]]<<4|wt[r[2]],g:wt[r[3]]<<4|wt[r[4]],b:wt[r[5]]<<4|wt[r[6]],a:9===n?wt[r[7]]<<4|wt[r[8]]:255})),i=a||Nt(t)||Gt(t)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var t=Wt(this._rgb);return t&&(t.a=xt(t.a)),t}set rgb(t){this._rgb=Yt(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${xt(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):void 0;var t}hexString(){return this._valid?Pt(this._rgb):void 0}hslString(){return this._valid?function(t){if(!t)return;const e=Dt(t),i=e[0],r=kt(e[1]),a=kt(e[2]);return t.a<255?`hsla(${i}, ${r}%, ${a}%, ${xt(t.a)})`:`hsl(${i}, ${r}%, ${a}%)`}(this._rgb):void 0}mix(t,e){if(t){const i=this.rgb,r=t.rgb;let a;const n=e===a?.5:e,o=2*n-1,s=i.a-r.a,u=((o*s==-1?o:(o+s)/(1+o*s))+1)/2;a=1-u,i.r=255&u*i.r+a*r.r+.5,i.g=255&u*i.g+a*r.g+.5,i.b=255&u*i.b+a*r.b+.5,i.a=n*i.a+(1-n)*r.a,this.rgb=i}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,i){const r=Ht(xt(t.r)),a=Ht(xt(t.g)),n=Ht(xt(t.b));return{r:_t(Vt(r+i*(Ht(xt(e.r))-r))),g:_t(Vt(a+i*(Ht(xt(e.g))-a))),b:_t(Vt(n+i*(Ht(xt(e.b))-n))),a:t.a+i*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new Kt(this.rgb)}alpha(t){return this._rgb.a=_t(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=gt(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return Ut(this._rgb,2,t),this}darken(t){return Ut(this._rgb,2,-t),this}saturate(t){return Ut(this._rgb,1,t),this}desaturate(t){return Ut(this._rgb,1,-t),this}rotate(t){return function(t,e){var i=Dt(t);i[0]=It(i[0]+e),i=Lt(i),t.r=i[0],t.g=i[1],t.b=i[2]}(this._rgb,t),this}}function Xt(t){return new Kt(t)}function Jt(t){if(t&&"object"==typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function Zt(t){return Jt(t)?t:Xt(t)}function Qt(t){return Jt(t)?t:Xt(t).saturate(.5).darken(.1).hexString()}const te=Object.create(null),ee=Object.create(null);function ie(t,e){if(!e)return t;const i=e.split(".");for(let e=0,r=i.length;e<r;++e){const r=i[e];t=t[r]||(t[r]=Object.create(null))}return t}function re(t,e,i){return"string"==typeof e?b(ie(t,e),i):b(ie(t,""),e)}var ae=new class{constructor(t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=t=>t.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>Qt(e.backgroundColor),this.hoverBorderColor=(t,e)=>Qt(e.borderColor),this.hoverColor=(t,e)=>Qt(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,e){return re(this,t,e)}get(t){return ie(this,t)}describe(t,e){return re(ee,t,e)}override(t,e){return re(te,t,e)}route(t,e,i,r){const n=ie(this,t),o=ie(this,i),u="_"+e;Object.defineProperties(n,{[u]:{value:n[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[u],e=o[r];return a(t)?Object.assign({},e,t):s(t,e)},set(t){this[u]=t}}})}}({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function ne(){return"undefined"!=typeof window&&"undefined"!=typeof document}function oe(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function se(t,e,i){let r;return"string"==typeof t?(r=parseInt(t,10),-1!==t.indexOf("%")&&(r=r/100*e.parentNode[i])):r=t,r}const ue=t=>window.getComputedStyle(t,null);function le(t,e){return ue(t).getPropertyValue(e)}const ce=["top","right","bottom","left"];function de(t,e,i){const r={};i=i?"-"+i:"";for(let a=0;a<4;a++){const n=ce[a];r[n]=parseFloat(t[e+"-"+n+i])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const he=(t,e,i)=>(t>0||e>0)&&(!i||!i.shadowRoot);function fe(t,e){if("native"in t)return t;const{canvas:i,currentDevicePixelRatio:r}=e,a=ue(i),n="border-box"===a.boxSizing,o=de(a,"padding"),s=de(a,"border","width"),{x:u,y:l,box:c}=function(t,e){const i=t.touches,r=i&&i.length?i[0]:t,{offsetX:a,offsetY:n}=r;let o,s,u=!1;if(he(a,n,t.target))o=a,s=n;else{const t=e.getBoundingClientRect();o=r.clientX-t.left,s=r.clientY-t.top,u=!0}return{x:o,y:s,box:u}}(t,i),d=o.left+(c&&s.left),h=o.top+(c&&s.top);let{width:f,height:p}=e;return n&&(f-=o.width+s.width,p-=o.height+s.height),{x:Math.round((u-d)/f*i.width/r),y:Math.round((l-h)/p*i.height/r)}}const pe=t=>Math.round(10*t)/10;function me(t,e,i,r){const a=ue(t),n=de(a,"margin"),o=se(a.maxWidth,t,"clientWidth")||C,s=se(a.maxHeight,t,"clientHeight")||C,u=function(t,e,i){let r,a;if(void 0===e||void 0===i){const n=oe(t);if(n){const t=n.getBoundingClientRect(),o=ue(n),s=de(o,"border","width"),u=de(o,"padding");e=t.width-u.width-s.width,i=t.height-u.height-s.height,r=se(o.maxWidth,n,"clientWidth"),a=se(o.maxHeight,n,"clientHeight")}else e=t.clientWidth,i=t.clientHeight}return{width:e,height:i,maxWidth:r||C,maxHeight:a||C}}(t,e,i);let{width:l,height:c}=u;if("content-box"===a.boxSizing){const t=de(a,"border","width"),e=de(a,"padding");l-=e.width+t.width,c-=e.height+t.height}return l=Math.max(0,l-n.width),c=Math.max(0,r?Math.floor(l/r):c-n.height),l=pe(Math.min(l,o,u.maxWidth)),c=pe(Math.min(c,s,u.maxHeight)),l&&!c&&(c=pe(l/2)),{width:l,height:c}}function be(t,e,i){const r=e||1,a=Math.floor(t.height*r),n=Math.floor(t.width*r);t.height=a/r,t.width=n/r;const o=t.canvas;return o.style&&(i||!o.style.height&&!o.style.width)&&(o.style.height=`${t.height}px`,o.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==r||o.height!==a||o.width!==n)&&(t.currentDevicePixelRatio=r,o.height=a,o.width=n,t.ctx.setTransform(r,0,0,r,0,0),!0)}const ge=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}();function ve(t,e){const i=le(t,e),r=i&&i.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function ye(t){return!t||i(t.size)||i(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function _e(t,e,i,r,a){let n=e[a];return n||(n=e[a]=t.measureText(a).width,i.push(a)),n>r&&(r=n),r}function xe(t,e,i,a){let n=(a=a||{}).data=a.data||{},o=a.garbageCollect=a.garbageCollect||[];a.font!==e&&(n=a.data={},o=a.garbageCollect=[],a.font=e),t.save(),t.font=e;let s=0;const u=i.length;let l,c,d,h,f;for(l=0;l<u;l++)if(h=i[l],null!=h&&!0!==r(h))s=_e(t,n,o,s,h);else if(r(h))for(c=0,d=h.length;c<d;c++)f=h[c],null==f||r(f)||(s=_e(t,n,o,s,f));t.restore();const p=o.length/2;if(p>i.length){for(l=0;l<p;l++)delete n[o[l]];o.splice(0,p)}return s}function ke(t,e,i){const r=t.currentDevicePixelRatio,a=0!==i?Math.max(i/2,.5):0;return Math.round((e-a)*r)/r+a}function we(t,e){(e=e||t.getContext("2d")).save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function Se(t,e,i,r){Ee(t,e,i,r,null)}function Ee(t,e,i,r,a){let n,o,s,u,l,c;const d=e.pointStyle,h=e.rotation,f=e.radius;let p=(h||0)*O;if(d&&"object"==typeof d&&(n=d.toString(),"[object HTMLImageElement]"===n||"[object HTMLCanvasElement]"===n))return t.save(),t.translate(i,r),t.rotate(p),t.drawImage(d,-d.width/2,-d.height/2,d.width,d.height),void t.restore();if(!(isNaN(f)||f<=0)){switch(t.beginPath(),d){default:a?t.ellipse(i,r,a/2,f,0,0,P):t.arc(i,r,f,0,P),t.closePath();break;case"triangle":t.moveTo(i+Math.sin(p)*f,r-Math.cos(p)*f),p+=z,t.lineTo(i+Math.sin(p)*f,r-Math.cos(p)*f),p+=z,t.lineTo(i+Math.sin(p)*f,r-Math.cos(p)*f),t.closePath();break;case"rectRounded":l=.516*f,u=f-l,o=Math.cos(p+D)*u,s=Math.sin(p+D)*u,t.arc(i-o,r-s,l,p-T,p-M),t.arc(i+s,r-o,l,p-M,p),t.arc(i+o,r+s,l,p,p+M),t.arc(i-s,r+o,l,p+M,p+T),t.closePath();break;case"rect":if(!h){u=Math.SQRT1_2*f,c=a?a/2:u,t.rect(i-c,r-u,2*c,2*u);break}p+=D;case"rectRot":o=Math.cos(p)*f,s=Math.sin(p)*f,t.moveTo(i-o,r-s),t.lineTo(i+s,r-o),t.lineTo(i+o,r+s),t.lineTo(i-s,r+o),t.closePath();break;case"crossRot":p+=D;case"cross":o=Math.cos(p)*f,s=Math.sin(p)*f,t.moveTo(i-o,r-s),t.lineTo(i+o,r+s),t.moveTo(i+s,r-o),t.lineTo(i-s,r+o);break;case"star":o=Math.cos(p)*f,s=Math.sin(p)*f,t.moveTo(i-o,r-s),t.lineTo(i+o,r+s),t.moveTo(i+s,r-o),t.lineTo(i-s,r+o),p+=D,o=Math.cos(p)*f,s=Math.sin(p)*f,t.moveTo(i-o,r-s),t.lineTo(i+o,r+s),t.moveTo(i+s,r-o),t.lineTo(i-s,r+o);break;case"line":o=a?a/2:Math.cos(p)*f,s=Math.sin(p)*f,t.moveTo(i-o,r-s),t.lineTo(i+o,r+s);break;case"dash":t.moveTo(i,r),t.lineTo(i+Math.cos(p)*f,r+Math.sin(p)*f)}t.fill(),e.borderWidth>0&&t.stroke()}}function je(t,e,i){return i=i||.5,!e||t&&t.x>e.left-i&&t.x<e.right+i&&t.y>e.top-i&&t.y<e.bottom+i}function Te(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function Pe(t){t.restore()}function Ae(t,e,i,r,a){if(!e)return t.lineTo(i.x,i.y);if("middle"===a){const r=(e.x+i.x)/2;t.lineTo(r,e.y),t.lineTo(r,i.y)}else"after"===a!=!!r?t.lineTo(e.x,i.y):t.lineTo(i.x,e.y);t.lineTo(i.x,i.y)}function Ce(t,e,i,r){if(!e)return t.lineTo(i.x,i.y);t.bezierCurveTo(r?e.cp1x:e.cp2x,r?e.cp1y:e.cp2y,r?i.cp2x:i.cp1x,r?i.cp2y:i.cp1y,i.x,i.y)}function Oe(t,e,a,n,o,s={}){const u=r(e)?e:[e],l=s.strokeWidth>0&&""!==s.strokeColor;let c,d;for(t.save(),t.font=o.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),i(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,s),c=0;c<u.length;++c)d=u[c],l&&(s.strokeColor&&(t.strokeStyle=s.strokeColor),i(s.strokeWidth)||(t.lineWidth=s.strokeWidth),t.strokeText(d,a,n,s.maxWidth)),t.fillText(d,a,n,s.maxWidth),Me(t,a,n,d,s),n+=o.lineHeight;t.restore()}function Me(t,e,i,r,a){if(a.strikethrough||a.underline){const n=t.measureText(r),o=e-n.actualBoundingBoxLeft,s=e+n.actualBoundingBoxRight,u=i-n.actualBoundingBoxAscent,l=i+n.actualBoundingBoxDescent,c=a.strikethrough?(u+l)/2:l;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=a.decorationWidth||2,t.moveTo(o,c),t.lineTo(s,c),t.stroke()}}function De(t,e){const{x:i,y:r,w:a,h:n,radius:o}=e;t.arc(i+o.topLeft,r+o.topLeft,o.topLeft,-M,T,!0),t.lineTo(i,r+n-o.bottomLeft),t.arc(i+o.bottomLeft,r+n-o.bottomLeft,o.bottomLeft,T,M,!0),t.lineTo(i+a-o.bottomRight,r+n),t.arc(i+a-o.bottomRight,r+n-o.bottomRight,o.bottomRight,M,0,!0),t.lineTo(i+a,r+o.topRight),t.arc(i+a-o.topRight,r+o.topRight,o.topRight,0,-M,!0),t.lineTo(i+o.topLeft,r)}function ze(t,e=[""],i=t,r,a=(()=>t[0])){w(r)||(r=Ue("_fallback",t));const n={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:r,_getTarget:a,override:a=>ze([a,...t],e,i,r)};return new Proxy(n,{deleteProperty:(e,i)=>(delete e[i],delete e._keys,delete t[0][i],!0),get:(i,r)=>Re(i,r,(()=>function(t,e,i,r){let a;for(const n of e)if(a=Ue(Fe(n,t),i),w(a))return qe(t,a)?Ve(i,r,t,a):a}(r,e,t,i))),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>We(t).includes(e),ownKeys:t=>We(t),set(t,e,i){const r=t._storage||(t._storage=a());return t[e]=r[e]=i,delete t._keys,!0}})}function Le(t,e,i,n){const o={_cacheable:!1,_proxy:t,_context:e,_subProxy:i,_stack:new Set,_descriptors:Ie(t,n),setContext:e=>Le(t,e,i,n),override:r=>Le(t.override(r),e,i,n)};return new Proxy(o,{deleteProperty:(e,i)=>(delete e[i],delete t[i],!0),get:(t,e,i)=>Re(t,e,(()=>function(t,e,i){const{_proxy:n,_context:o,_subProxy:s,_descriptors:u}=t;let l=n[e];return S(l)&&u.isScriptable(e)&&(l=function(t,e,i,r){const{_proxy:a,_context:n,_subProxy:o,_stack:s}=i;if(s.has(t))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+t);return s.add(t),e=e(n,o||r),s.delete(t),qe(t,e)&&(e=Ve(a._scopes,a,t,e)),e}(e,l,t,i)),r(l)&&l.length&&(l=function(t,e,i,r){const{_proxy:n,_context:o,_subProxy:s,_descriptors:u}=i;if(w(o.index)&&r(t))e=e[o.index%e.length];else if(a(e[0])){const i=e,r=n._scopes.filter((t=>t!==i));e=[];for(const a of i){const i=Ve(r,n,t,a);e.push(Le(i,o,s&&s[t],u))}}return e}(e,l,t,u.isIndexable)),qe(e,l)&&(l=Le(l,o,s&&s[e],u)),l}(t,e,i))),getOwnPropertyDescriptor:(e,i)=>e._descriptors.allKeys?Reflect.has(t,i)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,i),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,i)=>Reflect.has(t,i),ownKeys:()=>Reflect.ownKeys(t),set:(e,i,r)=>(t[i]=r,delete e[i],!0)})}function Ie(t,e={scriptable:!0,indexable:!0}){const{_scriptable:i=e.scriptable,_indexable:r=e.indexable,_allKeys:a=e.allKeys}=t;return{allKeys:a,scriptable:i,indexable:r,isScriptable:S(i)?i:()=>i,isIndexable:S(r)?r:()=>r}}const Fe=(t,e)=>t?t+k(e):e,qe=(t,e)=>a(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function Re(t,e,i){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const r=i();return t[e]=r,r}function Be(t,e,i){return S(t)?t(e,i):t}const Ne=(t,e)=>!0===t?e:"string"==typeof t?_(e,t):void 0;function $e(t,e,i,r,a){for(const n of e){const e=Ne(i,n);if(e){t.add(e);const n=Be(e._fallback,i,a);if(w(n)&&n!==i&&n!==r)return n}else if(!1===e&&w(r)&&i!==r)return null}return!1}function Ve(t,e,i,n){const o=e._rootScopes,s=Be(e._fallback,i,n),u=[...t,...o],l=new Set;l.add(n);let c=He(l,u,i,s||i,n);return null!==c&&(!w(s)||s===i||(c=He(l,u,s,c,n),null!==c))&&ze(Array.from(l),[""],o,s,(()=>function(t,e,i){const n=t._getTarget();e in n||(n[e]={});const o=n[e];return r(o)&&a(i)?i:o}(e,i,n)))}function He(t,e,i,r,a){for(;i;)i=$e(t,e,i,r,a);return i}function Ue(t,e){for(const i of e){if(!i)continue;const e=i[t];if(w(e))return e}}function We(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const i of t)for(const t of Object.keys(i).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}(t._scopes)),e}function Ye(t,e,i,r){const{iScale:a}=t,{key:n="r"}=this._parsing,o=new Array(r);let s,u,l,c;for(s=0,u=r;s<u;++s)l=s+i,c=e[l],o[s]={r:a.parse(_(c,n),l)};return o}const Ge=Number.EPSILON||1e-14,Ke=(t,e)=>e<t.length&&!t[e].skip&&t[e],Xe=t=>"x"===t?"y":"x";function Je(t,e,i,r){const a=t.skip?e:t,n=e,o=i.skip?e:i,s=Y(n,a),u=Y(o,n);let l=s/(s+u),c=u/(s+u);l=isNaN(l)?0:l,c=isNaN(c)?0:c;const d=r*l,h=r*c;return{previous:{x:n.x-d*(o.x-a.x),y:n.y-d*(o.y-a.y)},next:{x:n.x+h*(o.x-a.x),y:n.y+h*(o.y-a.y)}}}function Ze(t,e="x"){const i=Xe(e),r=t.length,a=Array(r).fill(0),n=Array(r);let o,s,u,l=Ke(t,0);for(o=0;o<r;++o)if(s=u,u=l,l=Ke(t,o+1),u){if(l){const t=l[e]-u[e];a[o]=0!==t?(l[i]-u[i])/t:0}n[o]=s?l?I(a[o-1])!==I(a[o])?0:(a[o-1]+a[o])/2:a[o-1]:a[o]}(function(t,e,i){const r=t.length;let a,n,o,s,u,l=Ke(t,0);for(let c=0;c<r-1;++c)u=l,l=Ke(t,c+1),u&&l&&(B(e[c],0,Ge)?i[c]=i[c+1]=0:(a=i[c]/e[c],n=i[c+1]/e[c],s=Math.pow(a,2)+Math.pow(n,2),s<=9||(o=3/Math.sqrt(s),i[c]=a*o*e[c],i[c+1]=n*o*e[c])))})(t,a,n),function(t,e,i="x"){const r=Xe(i),a=t.length;let n,o,s,u=Ke(t,0);for(let l=0;l<a;++l){if(o=s,s=u,u=Ke(t,l+1),!s)continue;const a=s[i],c=s[r];o&&(n=(a-o[i])/3,s[`cp1${i}`]=a-n,s[`cp1${r}`]=c-n*e[l]),u&&(n=(u[i]-a)/3,s[`cp2${i}`]=a+n,s[`cp2${r}`]=c+n*e[l])}}(t,n,e)}function Qe(t,e,i){return Math.max(Math.min(t,i),e)}function ti(t,e,i,r,a){let n,o,s,u;if(e.spanGaps&&(t=t.filter((t=>!t.skip))),"monotone"===e.cubicInterpolationMode)Ze(t,a);else{let i=r?t[t.length-1]:t[0];for(n=0,o=t.length;n<o;++n)s=t[n],u=Je(i,s,t[Math.min(n+1,o-(r?0:1))%o],e.tension),s.cp1x=u.previous.x,s.cp1y=u.previous.y,s.cp2x=u.next.x,s.cp2y=u.next.y,i=s}e.capBezierPoints&&function(t,e){let i,r,a,n,o,s=je(t[0],e);for(i=0,r=t.length;i<r;++i)o=n,n=s,s=i<r-1&&je(t[i+1],e),n&&(a=t[i],o&&(a.cp1x=Qe(a.cp1x,e.left,e.right),a.cp1y=Qe(a.cp1y,e.top,e.bottom)),s&&(a.cp2x=Qe(a.cp2x,e.left,e.right),a.cp2y=Qe(a.cp2y,e.top,e.bottom)))}(t,i)}const ei=t=>0===t||1===t,ii=(t,e,i)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*P/i),ri=(t,e,i)=>Math.pow(2,-10*t)*Math.sin((t-e)*P/i)+1,ai={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*M),easeOutSine:t=>Math.sin(t*M),easeInOutSine:t=>-.5*(Math.cos(T*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>ei(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>ei(t)?t:ii(t,.075,.3),easeOutElastic:t=>ei(t)?t:ri(t,.075,.3),easeInOutElastic(t){const e=.1125;return ei(t)?t:t<.5?.5*ii(2*t,e,.45):.5+.5*ri(2*t-1,e,.45)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-ai.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,i=2.75;return t<1/i?e*t*t:t<2/i?e*(t-=1.5/i)*t+.75:t<2.5/i?e*(t-=2.25/i)*t+.9375:e*(t-=2.625/i)*t+.984375},easeInOutBounce:t=>t<.5?.5*ai.easeInBounce(2*t):.5*ai.easeOutBounce(2*t-1)+.5};function ni(t,e,i,r){return{x:t.x+i*(e.x-t.x),y:t.y+i*(e.y-t.y)}}function oi(t,e,i,r){return{x:t.x+i*(e.x-t.x),y:"middle"===r?i<.5?t.y:e.y:"after"===r?i<1?t.y:e.y:i>0?e.y:t.y}}function si(t,e,i,r){const a={x:t.cp2x,y:t.cp2y},n={x:e.cp1x,y:e.cp1y},o=ni(t,a,i),s=ni(a,n,i),u=ni(n,e,i),l=ni(o,s,i),c=ni(s,u,i);return ni(l,c,i)}const ui=new Map;function li(t,e,i){return function(t,e){e=e||{};const i=t+JSON.stringify(e);let r=ui.get(i);return r||(r=new Intl.NumberFormat(t,e),ui.set(i,r)),r}(e,i).format(t)}const ci=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),di=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function hi(t,e){const i=(""+t).match(ci);if(!i||"normal"===i[1])return 1.2*e;switch(t=+i[2],i[3]){case"px":return t;case"%":t/=100}return e*t}const fi=t=>+t||0;function pi(t,e){const i={},r=a(e),n=r?Object.keys(e):e,o=a(t)?r?i=>s(t[i],t[e[i]]):e=>t[e]:()=>t;for(const t of n)i[t]=fi(o(t));return i}function mi(t){return pi(t,{top:"y",right:"x",bottom:"y",left:"x"})}function bi(t){return pi(t,["topLeft","topRight","bottomLeft","bottomRight"])}function gi(t){const e=mi(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function vi(t,e){t=t||{},e=e||ae.font;let i=s(t.size,e.size);"string"==typeof i&&(i=parseInt(i,10));let r=s(t.style,e.style);r&&!(""+r).match(di)&&(console.warn('Invalid font style specified: "'+r+'"'),r="");const a={family:s(t.family,e.family),lineHeight:hi(s(t.lineHeight,e.lineHeight),i),size:i,style:r,weight:s(t.weight,e.weight),string:""};return a.string=ye(a),a}function yi(t,e,i,a){let n,o,s,u=!0;for(n=0,o=t.length;n<o;++n)if(s=t[n],void 0!==s&&(void 0!==e&&"function"==typeof s&&(s=s(e),u=!1),void 0!==i&&r(s)&&(s=s[i%s.length],u=!1),void 0!==s))return a&&!u&&(a.cacheable=!1),s}function _i(t,e,i){const{min:r,max:a}=t,n=l(e,(a-r)/2),o=(t,e)=>i&&0===t?0:t+e;return{min:o(r,-Math.abs(n)),max:o(a,n)}}function xi(t,e){return Object.assign(Object.create(t),e)}function ki(t,e,i){return t?function(t,e){return{x:i=>t+t+e-i,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,i):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function wi(t,e){let i,r;"ltr"!==e&&"rtl"!==e||(i=t.canvas.style,r=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",e,"important"),t.prevTextDirection=r)}function Si(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function Ei(t){return"angle"===t?{between:X,compare:G,normalize:K}:{between:Q,compare:(t,e)=>t-e,normalize:t=>t}}function ji({start:t,end:e,count:i,loop:r,style:a}){return{start:t%i,end:e%i,loop:r&&(e-t+1)%i==0,style:a}}function Ti(t,e,i){if(!i)return[t];const{property:r,start:a,end:n}=i,o=e.length,{compare:s,between:u,normalize:l}=Ei(r),{start:c,end:d,loop:h,style:f}=function(t,e,i){const{property:r,start:a,end:n}=i,{between:o,normalize:s}=Ei(r),u=e.length;let l,c,{start:d,end:h,loop:f}=t;if(f){for(d+=u,h+=u,l=0,c=u;l<c&&o(s(e[d%u][r]),a,n);++l)d--,h--;d%=u,h%=u}return h<d&&(h+=u),{start:d,end:h,loop:f,style:t.style}}(t,e,i),p=[];let m,b,g,v=!1,y=null;const _=()=>v||u(a,g,m)&&0!==s(a,g),x=()=>!v||0===s(n,m)||u(n,g,m);for(let t=c,i=c;t<=d;++t)b=e[t%o],b.skip||(m=l(b[r]),m!==g&&(v=u(m,a,n),null===y&&_()&&(y=0===s(m,a)?t:i),null!==y&&x()&&(p.push(ji({start:y,end:t,loop:h,count:o,style:f})),y=null),i=t,g=m));return null!==y&&p.push(ji({start:y,end:d,loop:h,count:o,style:f})),p}function Pi(t,e){const i=[],r=t.segments;for(let a=0;a<r.length;a++){const n=Ti(r[a],t.points,e);n.length&&i.push(...n)}return i}function Ai(t,e){const i=t.points,r=t.options.spanGaps,a=i.length;if(!a)return[];const n=!!t._loop,{start:o,end:s}=function(t,e,i,r){let a=0,n=e-1;if(i&&!r)for(;a<e&&!t[a].skip;)a++;for(;a<e&&t[a].skip;)a++;for(a%=e,i&&(n+=a);n>a&&t[n%e].skip;)n--;return n%=e,{start:a,end:n}}(i,a,n,r);return function(t,e,i,r){return r&&r.setContext&&i?function(t,e,i,r){const a=t._chart.getContext(),n=Ci(t.options),{_datasetIndex:o,options:{spanGaps:s}}=t,u=i.length,l=[];let c=n,d=e[0].start,h=d;function f(t,e,r,a){const n=s?-1:1;if(t!==e){for(t+=u;i[t%u].skip;)t-=n;for(;i[e%u].skip;)e+=n;t%u!=e%u&&(l.push({start:t%u,end:e%u,loop:r,style:a}),c=a,d=e%u)}}for(const t of e){d=s?d:t.start;let e,n=i[d%u];for(h=d+1;h<=t.end;h++){const s=i[h%u];e=Ci(r.setContext(xi(a,{type:"segment",p0:n,p1:s,p0DataIndex:(h-1)%u,p1DataIndex:h%u,datasetIndex:o}))),Oi(e,c)&&f(d,h-1,t.loop,c),n=s,c=e}d<h-1&&f(d,h-1,t.loop,c)}return l}(t,e,i,r):e}(t,!0===r?[{start:o,end:s,loop:n}]:function(t,e,i,r){const a=t.length,n=[];let o,s=e,u=t[e];for(o=e+1;o<=i;++o){const i=t[o%a];i.skip||i.stop?u.skip||(r=!1,n.push({start:e%a,end:(o-1)%a,loop:r}),e=s=i.stop?o:null):(s=o,u.skip&&(e=o)),u=i}return null!==s&&n.push({start:e%a,end:s%a,loop:r}),n}(i,o,s<o?s+a:s,!!t._fullLoop&&0===o&&s===a-1),i,e)}function Ci(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function Oi(t,e){return e&&JSON.stringify(t)!==JSON.stringify(e)}var Mi=Object.freeze({__proto__:null,easingEffects:ai,isPatternOrGradient:Jt,color:Zt,getHoverColor:Qt,noop:t,uid:e,isNullOrUndef:i,isArray:r,isObject:a,isFinite:n,finiteOrDefault:o,valueOrDefault:s,toPercentage:u,toDimension:l,callback:c,each:d,_elementsEqual:h,clone:f,_merger:m,merge:b,mergeIf:g,_mergerIf:v,_deprecated:function(t,e,i,r){void 0!==e&&console.warn(t+': "'+i+'" is deprecated. Please use "'+r+'" instead')},resolveObjectKey:_,_splitKey:x,_capitalize:k,defined:w,isFunction:S,setsEqual:E,_isClickEvent:j,toFontString:ye,_measureText:_e,_longestText:xe,_alignPixel:ke,clearCanvas:we,drawPoint:Se,drawPointLegend:Ee,_isPointInArea:je,clipArea:Te,unclipArea:Pe,_steppedLineTo:Ae,_bezierCurveTo:Ce,renderText:Oe,addRoundedRectPath:De,_lookup:tt,_lookupByKey:et,_rlookupByKey:it,_filterBetween:rt,listenArrayEvents:nt,unlistenArrayEvents:ot,_arrayUnique:st,_createResolver:ze,_attachContext:Le,_descriptors:Ie,_parseObjectDataRadialScale:Ye,splineCurve:Je,splineCurveMonotone:Ze,_updateBezierControlPoints:ti,_isDomSupported:ne,_getParentNode:oe,getStyle:le,getRelativePosition:fe,getMaximumSize:me,retinaScale:be,supportsEventListenerOptions:ge,readUsedSize:ve,fontString:function(t,e,i){return e+" "+t+"px "+i},requestAnimFrame:ut,throttled:lt,debounce:ct,_toLeftRightCenter:dt,_alignStartEnd:ht,_textX:ft,_getStartAndCountOfVisiblePoints:pt,_scaleRangesChanged:mt,_pointInLine:ni,_steppedInterpolation:oi,_bezierInterpolation:si,formatNumber:li,toLineHeight:hi,_readValueToProps:pi,toTRBL:mi,toTRBLCorners:bi,toPadding:gi,toFont:vi,resolve:yi,_addGrace:_i,createContext:xi,PI:T,TAU:P,PITAU:A,INFINITY:C,RAD_PER_DEG:O,HALF_PI:M,QUARTER_PI:D,TWO_THIRDS_PI:z,log10:L,sign:I,niceNum:F,_factorize:q,isNumber:R,almostEquals:B,almostWhole:N,_setMinAndMaxByKey:$,toRadians:V,toDegrees:H,_decimalPlaces:U,getAngleFromPoint:W,distanceBetweenPoints:Y,_angleDiff:G,_normalizeAngle:K,_angleBetween:X,_limitValue:J,_int16Range:Z,_isBetween:Q,getRtlAdapter:ki,overrideTextDirection:wi,restoreTextDirection:Si,_boundSegment:Ti,_boundSegments:Pi,_computeSegments:Ai});function Di(t,e,i,r){const{controller:a,data:n,_sorted:o}=t,s=a._cachedMeta.iScale;if(s&&e===s.axis&&"r"!==e&&o&&n.length){const t=s._reversePixels?it:et;if(!r)return t(n,e,i);if(a._sharedOptions){const r=n[0],a="function"==typeof r.getRange&&r.getRange(e);if(a){const r=t(n,e,i-a),o=t(n,e,i+a);return{lo:r.lo,hi:o.hi}}}}return{lo:0,hi:n.length-1}}function zi(t,e,i,r,a){const n=t.getSortedVisibleDatasetMetas(),o=i[e];for(let t=0,i=n.length;t<i;++t){const{index:i,data:s}=n[t],{lo:u,hi:l}=Di(n[t],e,o,a);for(let t=u;t<=l;++t){const e=s[t];e.skip||r(e,i,t)}}}function Li(t,e,i,r,a){const n=[];if(!a&&!t.isPointInArea(e))return n;return zi(t,i,e,(function(i,o,s){(a||je(i,t.chartArea,0))&&i.inRange(e.x,e.y,r)&&n.push({element:i,datasetIndex:o,index:s})}),!0),n}function Ii(t,e,i,r,a,n){let o=[];const s=function(t){const e=-1!==t.indexOf("x"),i=-1!==t.indexOf("y");return function(t,r){const a=e?Math.abs(t.x-r.x):0,n=i?Math.abs(t.y-r.y):0;return Math.sqrt(Math.pow(a,2)+Math.pow(n,2))}}(i);let u=Number.POSITIVE_INFINITY;return zi(t,i,e,(function(i,l,c){const d=i.inRange(e.x,e.y,a);if(r&&!d)return;const h=i.getCenterPoint(a);if(!n&&!t.isPointInArea(h)&&!d)return;const f=s(e,h);f<u?(o=[{element:i,datasetIndex:l,index:c}],u=f):f===u&&o.push({element:i,datasetIndex:l,index:c})})),o}function Fi(t,e,i,r,a,n){return n||t.isPointInArea(e)?"r"!==i||r?Ii(t,e,i,r,a,n):function(t,e,i,r){let a=[];return zi(t,i,e,(function(t,i,n){const{startAngle:o,endAngle:s}=t.getProps(["startAngle","endAngle"],r),{angle:u}=W(t,{x:e.x,y:e.y});X(u,o,s)&&a.push({element:t,datasetIndex:i,index:n})})),a}(t,e,i,a):[]}function qi(t,e,i,r,a){const n=[],o="x"===i?"inXRange":"inYRange";let s=!1;return zi(t,i,e,((t,r,u)=>{t[o](e[i],a)&&(n.push({element:t,datasetIndex:r,index:u}),s=s||t.inRange(e.x,e.y,a))})),r&&!s?[]:n}var Ri={evaluateInteractionItems:zi,modes:{index(t,e,i,r){const a=fe(e,t),n=i.axis||"x",o=i.includeInvisible||!1,s=i.intersect?Li(t,a,n,r,o):Fi(t,a,n,!1,r,o),u=[];return s.length?(t.getSortedVisibleDatasetMetas().forEach((t=>{const e=s[0].index,i=t.data[e];i&&!i.skip&&u.push({element:i,datasetIndex:t.index,index:e})})),u):[]},dataset(t,e,i,r){const a=fe(e,t),n=i.axis||"xy",o=i.includeInvisible||!1;let s=i.intersect?Li(t,a,n,r,o):Fi(t,a,n,!1,r,o);if(s.length>0){const e=s[0].datasetIndex,i=t.getDatasetMeta(e).data;s=[];for(let t=0;t<i.length;++t)s.push({element:i[t],datasetIndex:e,index:t})}return s},point:(t,e,i,r)=>Li(t,fe(e,t),i.axis||"xy",r,i.includeInvisible||!1),nearest(t,e,i,r){const a=fe(e,t),n=i.axis||"xy",o=i.includeInvisible||!1;return Fi(t,a,n,i.intersect,r,o)},x:(t,e,i,r)=>qi(t,fe(e,t),"x",i.intersect,r),y:(t,e,i,r)=>qi(t,fe(e,t),"y",i.intersect,r)}};const Bi=["left","top","right","bottom"];function Ni(t,e){return t.filter((t=>t.pos===e))}function $i(t,e){return t.filter((t=>-1===Bi.indexOf(t.pos)&&t.box.axis===e))}function Vi(t,e){return t.sort(((t,i)=>{const r=e?i:t,a=e?t:i;return r.weight===a.weight?r.index-a.index:r.weight-a.weight}))}function Hi(t,e){const i=function(t){const e={};for(const i of t){const{stack:t,pos:r,stackWeight:a}=i;if(!t||!Bi.includes(r))continue;const n=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});n.count++,n.weight+=a}return e}(t),{vBoxMaxWidth:r,hBoxMaxHeight:a}=e;let n,o,s;for(n=0,o=t.length;n<o;++n){s=t[n];const{fullSize:o}=s.box,u=i[s.stack],l=u&&s.stackWeight/u.weight;s.horizontal?(s.width=l?l*r:o&&e.availableWidth,s.height=a):(s.width=r,s.height=l?l*a:o&&e.availableHeight)}return i}function Ui(t,e,i,r){return Math.max(t[i],e[i])+Math.max(t[r],e[r])}function Wi(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function Yi(t,e,i,r){const{pos:n,box:o}=i,s=t.maxPadding;if(!a(n)){i.size&&(t[n]-=i.size);const e=r[i.stack]||{size:0,count:1};e.size=Math.max(e.size,i.horizontal?o.height:o.width),i.size=e.size/e.count,t[n]+=i.size}o.getPadding&&Wi(s,o.getPadding());const u=Math.max(0,e.outerWidth-Ui(s,t,"left","right")),l=Math.max(0,e.outerHeight-Ui(s,t,"top","bottom")),c=u!==t.w,d=l!==t.h;return t.w=u,t.h=l,i.horizontal?{same:c,other:d}:{same:d,other:c}}function Gi(t,e){const i=e.maxPadding;return function(t){const r={left:0,top:0,right:0,bottom:0};return t.forEach((t=>{r[t]=Math.max(e[t],i[t])})),r}(t?["left","right"]:["top","bottom"])}function Ki(t,e,i,r){const a=[];let n,o,s,u,l,c;for(n=0,o=t.length,l=0;n<o;++n){s=t[n],u=s.box,u.update(s.width||e.w,s.height||e.h,Gi(s.horizontal,e));const{same:o,other:d}=Yi(e,i,s,r);l|=o&&a.length,c=c||d,u.fullSize||a.push(s)}return l&&Ki(a,e,i,r)||c}function Xi(t,e,i,r,a){t.top=i,t.left=e,t.right=e+r,t.bottom=i+a,t.width=r,t.height=a}function Ji(t,e,i,r){const a=i.padding;let{x:n,y:o}=e;for(const s of t){const t=s.box,u=r[s.stack]||{count:1,placed:0,weight:1},l=s.stackWeight/u.weight||1;if(s.horizontal){const r=e.w*l,n=u.size||t.height;w(u.start)&&(o=u.start),t.fullSize?Xi(t,a.left,o,i.outerWidth-a.right-a.left,n):Xi(t,e.left+u.placed,o,r,n),u.start=o,u.placed+=r,o=t.bottom}else{const r=e.h*l,o=u.size||t.width;w(u.start)&&(n=u.start),t.fullSize?Xi(t,n,a.top,o,i.outerHeight-a.bottom-a.top):Xi(t,n,e.top+u.placed,o,r),u.start=n,u.placed+=r,n=t.right}}e.x=n,e.y=o}ae.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}});var Zi={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(t){e.draw(t)}}]},t.boxes.push(e)},removeBox(t,e){const i=t.boxes?t.boxes.indexOf(e):-1;-1!==i&&t.boxes.splice(i,1)},configure(t,e,i){e.fullSize=i.fullSize,e.position=i.position,e.weight=i.weight},update(t,e,i,r){if(!t)return;const a=gi(t.options.layout.padding),n=Math.max(e-a.width,0),o=Math.max(i-a.height,0),s=function(t){const e=function(t){const e=[];let i,r,a,n,o,s;for(i=0,r=(t||[]).length;i<r;++i)a=t[i],({position:n,options:{stack:o,stackWeight:s=1}}=a),e.push({index:i,box:a,pos:n,horizontal:a.isHorizontal(),weight:a.weight,stack:o&&n+o,stackWeight:s});return e}(t),i=Vi(e.filter((t=>t.box.fullSize)),!0),r=Vi(Ni(e,"left"),!0),a=Vi(Ni(e,"right")),n=Vi(Ni(e,"top"),!0),o=Vi(Ni(e,"bottom")),s=$i(e,"x"),u=$i(e,"y");return{fullSize:i,leftAndTop:r.concat(n),rightAndBottom:a.concat(u).concat(o).concat(s),chartArea:Ni(e,"chartArea"),vertical:r.concat(a).concat(u),horizontal:n.concat(o).concat(s)}}(t.boxes),u=s.vertical,l=s.horizontal;d(t.boxes,(t=>{"function"==typeof t.beforeLayout&&t.beforeLayout()}));const c=u.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,h=Object.freeze({outerWidth:e,outerHeight:i,padding:a,availableWidth:n,availableHeight:o,vBoxMaxWidth:n/2/c,hBoxMaxHeight:o/2}),f=Object.assign({},a);Wi(f,gi(r));const p=Object.assign({maxPadding:f,w:n,h:o,x:a.left,y:a.top},a),m=Hi(u.concat(l),h);Ki(s.fullSize,p,h,m),Ki(u,p,h,m),Ki(l,p,h,m)&&Ki(u,p,h,m),function(t){const e=t.maxPadding;function i(i){const r=Math.max(e[i]-t[i],0);return t[i]+=r,r}t.y+=i("top"),t.x+=i("left"),i("right"),i("bottom")}(p),Ji(s.leftAndTop,p,h,m),p.x+=p.w,p.y+=p.h,Ji(s.rightAndBottom,p,h,m),t.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},d(s.chartArea,(e=>{const i=e.box;Object.assign(i,t.chartArea),i.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})}))}};class Qi{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,i){}removeEventListener(t,e,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,i,r){return e=Math.max(0,e||t.width),i=i||t.height,{width:e,height:Math.max(0,r?Math.floor(e/r):i)}}isAttached(t){return!0}updateConfig(t){}}class tr extends Qi{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const er="$chartjs",ir={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},rr=t=>null===t||""===t;const ar=!!ge&&{passive:!0};function nr(t,e,i){t.canvas.removeEventListener(e,i,ar)}function or(t,e){for(const i of t)if(i===e||i.contains(e))return!0}function sr(t,e,i){const r=t.canvas,a=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||or(i.addedNodes,r),e=e&&!or(i.removedNodes,r);e&&i()}));return a.observe(document,{childList:!0,subtree:!0}),a}function ur(t,e,i){const r=t.canvas,a=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||or(i.removedNodes,r),e=e&&!or(i.addedNodes,r);e&&i()}));return a.observe(document,{childList:!0,subtree:!0}),a}const lr=new Map;let cr=0;function dr(){const t=window.devicePixelRatio;t!==cr&&(cr=t,lr.forEach(((e,i)=>{i.currentDevicePixelRatio!==t&&e()})))}function hr(t,e,i){const r=t.canvas,a=r&&oe(r);if(!a)return;const n=lt(((t,e)=>{const r=a.clientWidth;i(t,e),r<a.clientWidth&&i()}),window),o=new ResizeObserver((t=>{const e=t[0],i=e.contentRect.width,r=e.contentRect.height;0===i&&0===r||n(i,r)}));return o.observe(a),function(t,e){lr.size||window.addEventListener("resize",dr),lr.set(t,e)}(t,n),o}function fr(t,e,i){i&&i.disconnect(),"resize"===e&&function(t){lr.delete(t),lr.size||window.removeEventListener("resize",dr)}(t)}function pr(t,e,i){const r=t.canvas,a=lt((e=>{null!==t.ctx&&i(function(t,e){const i=ir[t.type]||t.type,{x:r,y:a}=fe(t,e);return{type:i,chart:e,native:t,x:void 0!==r?r:null,y:void 0!==a?a:null}}(e,t))}),t,(t=>{const e=t[0];return[e,e.offsetX,e.offsetY]}));return function(t,e,i){t.addEventListener(e,i,ar)}(r,e,a),a}class mr extends Qi{acquireContext(t,e){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(function(t,e){const i=t.style,r=t.getAttribute("height"),a=t.getAttribute("width");if(t[er]={initial:{height:r,width:a,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",rr(a)){const e=ve(t,"width");void 0!==e&&(t.width=e)}if(rr(r))if(""===t.style.height)t.height=t.width/(e||2);else{const e=ve(t,"height");void 0!==e&&(t.height=e)}}(t,e),i):null}releaseContext(t){const e=t.canvas;if(!e[er])return!1;const r=e[er].initial;["height","width"].forEach((t=>{const a=r[t];i(a)?e.removeAttribute(t):e.setAttribute(t,a)}));const a=r.style||{};return Object.keys(a).forEach((t=>{e.style[t]=a[t]})),e.width=e.width,delete e[er],!0}addEventListener(t,e,i){this.removeEventListener(t,e);const r=t.$proxies||(t.$proxies={}),a={attach:sr,detach:ur,resize:hr}[e]||pr;r[e]=a(t,e,i)}removeEventListener(t,e){const i=t.$proxies||(t.$proxies={}),r=i[e];r&&(({attach:fr,detach:fr,resize:fr}[e]||nr)(t,e,r),i[e]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,i,r){return me(t,e,i,r)}isAttached(t){const e=oe(t);return!(!e||!e.isConnected)}}function br(t){return!ne()||"undefined"!=typeof OffscreenCanvas&&t instanceof OffscreenCanvas?tr:mr}var gr=Object.freeze({__proto__:null,_detectPlatform:br,BasePlatform:Qi,BasicPlatform:tr,DomPlatform:mr});const vr="transparent",yr={boolean:(t,e,i)=>i>.5?e:t,color(t,e,i){const r=Zt(t||vr),a=r.valid&&Zt(e||vr);return a&&a.valid?a.mix(r,i).hexString():e},number:(t,e,i)=>t+(e-t)*i};class _r{constructor(t,e,i,r){const a=e[i];r=yi([t.to,r,a,t.from]);const n=yi([t.from,a,r]);this._active=!0,this._fn=t.fn||yr[t.type||typeof n],this._easing=ai[t.easing]||ai.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=i,this._from=n,this._to=r,this._promises=void 0}active(){return this._active}update(t,e,i){if(this._active){this._notify(!1);const r=this._target[this._prop],a=i-this._start,n=this._duration-a;this._start=i,this._duration=Math.floor(Math.max(n,t.duration)),this._total+=a,this._loop=!!t.loop,this._to=yi([t.to,e,r,t.from]),this._from=yi([t.from,r,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,i=this._duration,r=this._prop,a=this._from,n=this._loop,o=this._to;let s;if(this._active=a!==o&&(n||e<i),!this._active)return this._target[r]=o,void this._notify(!0);e<0?this._target[r]=a:(s=e/i%2,s=n&&s>1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(a,o,s))}wait(){const t=this._promises||(this._promises=[]);return new Promise(((e,i)=>{t.push({res:e,rej:i})}))}_notify(t){const e=t?"res":"rej",i=this._promises||[];for(let t=0;t<i.length;t++)i[t][e]()}}ae.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0});const xr=Object.keys(ae.animation);ae.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),ae.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),ae.describe("animations",{_fallback:"animation"}),ae.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}});class kr{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!a(t))return;const e=this._properties;Object.getOwnPropertyNames(t).forEach((i=>{const n=t[i];if(!a(n))return;const o={};for(const t of xr)o[t]=n[t];(r(n.properties)&&n.properties||[i]).forEach((t=>{t!==i&&e.has(t)||e.set(t,o)}))}))}_animateOptions(t,e){const i=e.options,r=function(t,e){if(!e)return;let i=t.options;if(i)return i.$shared&&(t.options=i=Object.assign({},i,{$shared:!1,$animations:{}})),i;t.options=e}(t,i);if(!r)return[];const a=this._createAnimations(r,i);return i.$shared&&function(t,e){const i=[],r=Object.keys(e);for(let e=0;e<r.length;e++){const a=t[r[e]];a&&a.active()&&i.push(a.wait())}return Promise.all(i)}(t.options.$animations,i).then((()=>{t.options=i}),(()=>{})),a}_createAnimations(t,e){const i=this._properties,r=[],a=t.$animations||(t.$animations={}),n=Object.keys(e),o=Date.now();let s;for(s=n.length-1;s>=0;--s){const u=n[s];if("$"===u.charAt(0))continue;if("options"===u){r.push(...this._animateOptions(t,e));continue}const l=e[u];let c=a[u];const d=i.get(u);if(c){if(d&&c.active()){c.update(d,l,o);continue}c.cancel()}d&&d.duration?(a[u]=c=new _r(d,t,u,l),r.push(c)):t[u]=l}return r}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const i=this._createAnimations(t,e);return i.length?(bt.add(this._chart,i),!0):void 0}}function wr(t,e){const i=t&&t.options||{},r=i.reverse,a=void 0===i.min?e:0,n=void 0===i.max?e:0;return{start:r?n:a,end:r?a:n}}function Sr(t,e){const i=[],r=t._getSortedDatasetMetas(e);let a,n;for(a=0,n=r.length;a<n;++a)i.push(r[a].index);return i}function Er(t,e,i,r={}){const a=t.keys,o="single"===r.mode;let s,u,l,c;if(null!==e){for(s=0,u=a.length;s<u;++s){if(l=+a[s],l===i){if(r.all)continue;break}c=t.values[l],n(c)&&(o||0===e||I(e)===I(c))&&(e+=c)}return e}}function jr(t,e){const i=t&&t.options.stacked;return i||void 0===i&&void 0!==e.stack}function Tr(t,e,i){const r=t[e]||(t[e]={});return r[i]||(r[i]={})}function Pr(t,e,i,r){for(const a of e.getMatchingVisibleMetas(r).reverse()){const e=t[a.index];if(i&&e>0||!i&&e<0)return a.index}return null}function Ar(t,e){const{chart:i,_cachedMeta:r}=t,a=i._stacks||(i._stacks={}),{iScale:n,vScale:o,index:s}=r,u=n.axis,l=o.axis,c=function(t,e,i){return`${t.id}.${e.id}.${i.stack||i.type}`}(n,o,r),d=e.length;let h;for(let t=0;t<d;++t){const i=e[t],{[u]:n,[l]:d}=i;h=(i._stacks||(i._stacks={}))[l]=Tr(a,c,n),h[s]=d,h._top=Pr(h,o,!0,r.type),h._bottom=Pr(h,o,!1,r.type)}}function Cr(t,e){const i=t.scales;return Object.keys(i).filter((t=>i[t].axis===e)).shift()}function Or(t,e){const i=t.controller.index,r=t.vScale&&t.vScale.axis;if(r){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[r]||void 0===e[r][i])return;delete e[r][i]}}}const Mr=t=>"reset"===t||"none"===t,Dr=(t,e)=>e?t:Object.assign({},t);class zr{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=jr(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&Or(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,i=this.getDataset(),r=(t,e,i,r)=>"x"===t?e:"r"===t?r:i,a=e.xAxisID=s(i.xAxisID,Cr(t,"x")),n=e.yAxisID=s(i.yAxisID,Cr(t,"y")),o=e.rAxisID=s(i.rAxisID,Cr(t,"r")),u=e.indexAxis,l=e.iAxisID=r(u,a,n,o),c=e.vAxisID=r(u,n,a,o);e.xScale=this.getScaleForId(a),e.yScale=this.getScaleForId(n),e.rScale=this.getScaleForId(o),e.iScale=this.getScaleForId(l),e.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&ot(this._data,this),t._stacked&&Or(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),i=this._data;if(a(e))this._data=function(t){const e=Object.keys(t),i=new Array(e.length);let r,a,n;for(r=0,a=e.length;r<a;++r)n=e[r],i[r]={x:n,y:t[n]};return i}(e);else if(i!==e){if(i){ot(i,this);const t=this._cachedMeta;Or(t),t._parsed=[]}e&&Object.isExtensible(e)&&nt(e,this),this._syncList=[],this._data=e}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,i=this.getDataset();let r=!1;this._dataCheck();const a=e._stacked;e._stacked=jr(e.vScale,e),e.stack!==i.stack&&(r=!0,Or(e),e.stack=i.stack),this._resyncElements(t),(r||a!==e._stacked)&&Ar(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),i=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:i,_data:n}=this,{iScale:o,_stacked:s}=i,u=o.axis;let l,c,d,h=0===t&&e===n.length||i._sorted,f=t>0&&i._parsed[t-1];if(!1===this._parsing)i._parsed=n,i._sorted=!0,d=n;else{d=r(n[t])?this.parseArrayData(i,n,t,e):a(n[t])?this.parseObjectData(i,n,t,e):this.parsePrimitiveData(i,n,t,e);const o=()=>null===c[u]||f&&c[u]<f[u];for(l=0;l<e;++l)i._parsed[l+t]=c=d[l],h&&(o()&&(h=!1),f=c);i._sorted=h}s&&Ar(this,d)}parsePrimitiveData(t,e,i,r){const{iScale:a,vScale:n}=t,o=a.axis,s=n.axis,u=a.getLabels(),l=a===n,c=new Array(r);let d,h,f;for(d=0,h=r;d<h;++d)f=d+i,c[d]={[o]:l||a.parse(u[f],f),[s]:n.parse(e[f],f)};return c}parseArrayData(t,e,i,r){const{xScale:a,yScale:n}=t,o=new Array(r);let s,u,l,c;for(s=0,u=r;s<u;++s)l=s+i,c=e[l],o[s]={x:a.parse(c[0],l),y:n.parse(c[1],l)};return o}parseObjectData(t,e,i,r){const{xScale:a,yScale:n}=t,{xAxisKey:o="x",yAxisKey:s="y"}=this._parsing,u=new Array(r);let l,c,d,h;for(l=0,c=r;l<c;++l)d=l+i,h=e[d],u[l]={x:a.parse(_(h,o),d),y:n.parse(_(h,s),d)};return u}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,e,i){const r=this.chart,a=this._cachedMeta,n=e[t.axis];return Er({keys:Sr(r,!0),values:e._stacks[t.axis]},n,a.index,{mode:i})}updateRangeFromParsed(t,e,i,r){const a=i[e.axis];let n=null===a?NaN:a;const o=r&&i._stacks[e.axis];r&&o&&(r.values=o,n=Er(r,a,this._cachedMeta.index)),t.min=Math.min(t.min,n),t.max=Math.max(t.max,n)}getMinMax(t,e){const i=this._cachedMeta,r=i._parsed,a=i._sorted&&t===i.iScale,o=r.length,s=this._getOtherScale(t),u=((t,e,i)=>t&&!e.hidden&&e._stacked&&{keys:Sr(i,!0),values:null})(e,i,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:d}=function(t){const{min:e,max:i,minDefined:r,maxDefined:a}=t.getUserBounds();return{min:r?e:Number.NEGATIVE_INFINITY,max:a?i:Number.POSITIVE_INFINITY}}(s);let h,f;function p(){f=r[h];const e=f[s.axis];return!n(f[t.axis])||c>e||d<e}for(h=0;h<o&&(p()||(this.updateRangeFromParsed(l,t,f,u),!a));++h);if(a)for(h=o-1;h>=0;--h)if(!p()){this.updateRangeFromParsed(l,t,f,u);break}return l}getAllParsedValues(t){const e=this._cachedMeta._parsed,i=[];let r,a,o;for(r=0,a=e.length;r<a;++r)o=e[r][t.axis],n(o)&&i.push(o);return i}getMaxOverflow(){return!1}getLabelAndValue(t){const e=this._cachedMeta,i=e.iScale,r=e.vScale,a=this.getParsed(t);return{label:i?""+i.getLabelForValue(a[i.axis]):"",value:r?""+r.getLabelForValue(a[r.axis]):""}}_update(t){const e=this._cachedMeta;this.update(t||"default"),e._clip=function(t){let e,i,r,n;return a(t)?(e=t.top,i=t.right,r=t.bottom,n=t.left):e=i=r=n=t,{top:e,right:i,bottom:r,left:n,disabled:!1===t}}(s(this.options.clip,function(t,e,i){if(!1===i)return!1;const r=wr(t,i),a=wr(e,i);return{top:a.end,right:r.end,bottom:a.start,left:r.start}}(e.xScale,e.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,e=this.chart,i=this._cachedMeta,r=i.data||[],a=e.chartArea,n=[],o=this._drawStart||0,s=this._drawCount||r.length-o,u=this.options.drawActiveElementsOnTop;let l;for(i.dataset&&i.dataset.draw(t,a,o,s),l=o;l<o+s;++l){const e=r[l];e.hidden||(e.active&&u?n.push(e):e.draw(t,a))}for(l=0;l<n.length;++l)n[l].draw(t,a)}getStyle(t,e){const i=e?"active":"default";return void 0===t&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(i):this.resolveDataElementOptions(t||0,i)}getContext(t,e,i){const r=this.getDataset();let a;if(t>=0&&t<this._cachedMeta.data.length){const e=this._cachedMeta.data[t];a=e.$context||(e.$context=function(t,e,i){return xi(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:i,index:e,mode:"default",type:"data"})}(this.getContext(),t,e)),a.parsed=this.getParsed(t),a.raw=r.data[t],a.index=a.dataIndex=t}else a=this.$context||(this.$context=function(t,e){return xi(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),a.dataset=r,a.index=a.datasetIndex=this.index;return a.active=!!e,a.mode=i,a}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,e){return this._resolveElementOptions(this.dataElementType.id,e,t)}_resolveElementOptions(t,e="default",i){const r="active"===e,a=this._cachedDataOpts,n=t+"-"+e,o=a[n],s=this.enableOptionSharing&&w(i);if(o)return Dr(o,s);const u=this.chart.config,l=u.datasetElementScopeKeys(this._type,t),c=r?[`${t}Hover`,"hover",t,""]:[t,""],d=u.getOptionScopes(this.getDataset(),l),h=Object.keys(ae.elements[t]),f=u.resolveNamedOptions(d,h,(()=>this.getContext(i,r)),c);return f.$shared&&(f.$shared=s,a[n]=Object.freeze(Dr(f,s))),f}_resolveAnimations(t,e,i){const r=this.chart,a=this._cachedDataOpts,n=`animation-${e}`,o=a[n];if(o)return o;let s;if(!1!==r.options.animation){const r=this.chart.config,a=r.datasetAnimationScopeKeys(this._type,e),n=r.getOptionScopes(this.getDataset(),a);s=r.createResolver(n,this.getContext(t,i,e))}const u=new kr(r,s&&s.animations);return s&&s._cacheable&&(a[n]=Object.freeze(u)),u}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||Mr(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const i=this.resolveDataElementOptions(t,e),r=this._sharedOptions,a=this.getSharedOptions(i),n=this.includeOptions(e,a)||a!==r;return this.updateSharedOptions(a,e,i),{sharedOptions:a,includeOptions:n}}updateElement(t,e,i,r){Mr(r)?Object.assign(t,i):this._resolveAnimations(e,r).update(t,i)}updateSharedOptions(t,e,i){t&&!Mr(e)&&this._resolveAnimations(void 0,e).update(t,i)}_setStyle(t,e,i,r){t.active=r;const a=this.getStyle(e,r);this._resolveAnimations(e,i,r).update(t,{options:!r&&this.getSharedOptions(a)||a})}removeHoverStyle(t,e,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,e,i){this._setStyle(t,i,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,i=this._cachedMeta.data;for(const[t,e,i]of this._syncList)this[t](e,i);this._syncList=[];const r=i.length,a=e.length,n=Math.min(a,r);n&&this.parse(0,n),a>r?this._insertElements(r,a-r,t):a<r&&this._removeElements(a,r-a)}_insertElements(t,e,i=!0){const r=this._cachedMeta,a=r.data,n=t+e;let o;const s=t=>{for(t.length+=e,o=t.length-1;o>=n;o--)t[o]=t[o-e]};for(s(a),o=t;o<n;++o)a[o]=new this.dataElementType;this._parsing&&s(r._parsed),this.parse(t,e),i&&this.updateElements(a,t,e,"reset")}updateElements(t,e,i,r){}_removeElements(t,e){const i=this._cachedMeta;if(this._parsing){const r=i._parsed.splice(t,e);i._stacked&&Or(i,r)}i.data.splice(t,e)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[e,i,r]=t;this[e](i,r)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,e){e&&this._sync(["_removeElements",t,e]);const i=arguments.length-2;i&&this._sync(["_insertElements",t,i])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}zr.defaults={},zr.prototype.datasetElementType=null,zr.prototype.dataElementType=null;class Lr{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(t){const{x:e,y:i}=this.getProps(["x","y"],t);return{x:e,y:i}}hasValue(){return R(this.x)&&R(this.y)}getProps(t,e){const i=this.$animations;if(!e||!i)return this;const r={};return t.forEach((t=>{r[t]=i[t]&&i[t].active()?i[t]._to:this[t]})),r}}Lr.defaults={},Lr.defaultRoutes=void 0;const Ir={values:t=>r(t)?t:""+t,numeric(t,e,i){if(0===t)return"0";const r=this.chart.options.locale;let a,n=t;if(i.length>1){const e=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(e<1e-4||e>1e15)&&(a="scientific"),n=function(t,e){let i=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(i)>=1&&t!==Math.floor(t)&&(i=t-Math.floor(t)),i}(t,i)}const o=L(Math.abs(n)),s=Math.max(Math.min(-1*Math.floor(o),20),0),u={notation:a,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(u,this.options.ticks.format),li(t,r,u)},logarithmic(t,e,i){if(0===t)return"0";const r=t/Math.pow(10,Math.floor(L(t)));return 1===r||2===r||5===r?Ir.numeric.call(this,t,e,i):""}};var Fr={formatters:Ir};function qr(t,e){const r=t.options.ticks,a=r.maxTicksLimit||function(t){const e=t.options.offset,i=t._tickSize(),r=t._length/i+(e?0:1),a=t._maxLength/i;return Math.floor(Math.min(r,a))}(t),n=r.major.enabled?function(t){const e=[];let i,r;for(i=0,r=t.length;i<r;i++)t[i].major&&e.push(i);return e}(e):[],o=n.length,s=n[0],u=n[o-1],l=[];if(o>a)return function(t,e,i,r){let a,n=0,o=i[0];for(r=Math.ceil(r),a=0;a<t.length;a++)a===o&&(e.push(t[a]),n++,o=i[n*r])}(e,l,n,o/a),l;const c=function(t,e,i){const r=function(t){const e=t.length;let i,r;if(e<2)return!1;for(r=t[0],i=1;i<e;++i)if(t[i]-t[i-1]!==r)return!1;return r}(t),a=e.length/i;if(!r)return Math.max(a,1);const n=q(r);for(let t=0,e=n.length-1;t<e;t++){const e=n[t];if(e>a)return e}return Math.max(a,1)}(n,e,a);if(o>0){let t,r;const a=o>1?Math.round((u-s)/(o-1)):null;for(Rr(e,l,c,i(a)?0:s-a,s),t=0,r=o-1;t<r;t++)Rr(e,l,c,n[t],n[t+1]);return Rr(e,l,c,u,i(a)?e.length:u+a),l}return Rr(e,l,c),l}function Rr(t,e,i,r,a){const n=s(r,0),o=Math.min(s(a,t.length),t.length);let u,l,c,d=0;for(i=Math.ceil(i),a&&(u=a-r,i=u/Math.floor(u/i)),c=n;c<0;)d++,c=Math.round(n+d*i);for(l=Math.max(n,0);l<o;l++)l===c&&(e.push(t[l]),d++,c=Math.round(n+d*i))}ae.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Fr.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),ae.route("scale.ticks","color","","color"),ae.route("scale.grid","color","","borderColor"),ae.route("scale.grid","borderColor","","borderColor"),ae.route("scale.title","color","","color"),ae.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t}),ae.describe("scales",{_fallback:"scale"}),ae.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t});const Br=(t,e,i)=>"top"===e||"left"===e?t[e]+i:t[e]-i;function Nr(t,e){const i=[],r=t.length/e,a=t.length;let n=0;for(;n<a;n+=r)i.push(t[Math.floor(n)]);return i}function $r(t,e,i){const r=t.ticks.length,a=Math.min(e,r-1),n=t._startPixel,o=t._endPixel,s=1e-6;let u,l=t.getPixelForTick(a);if(!(i&&(u=1===r?Math.max(l-n,o-l):0===e?(t.getPixelForTick(1)-l)/2:(l-t.getPixelForTick(a-1))/2,l+=a<e?u:-u,l<n-s||l>o+s)))return l}function Vr(t){return t.drawTicks?t.tickLength:0}function Hr(t,e){if(!t.display)return 0;const i=vi(t.font,e),a=gi(t.padding);return(r(t.text)?t.text.length:1)*i.lineHeight+a.height}function Ur(t,e,i){let r=dt(t);return(i&&"right"!==e||!i&&"right"===e)&&(r=(t=>"left"===t?"right":"right"===t?"left":t)(r)),r}class Wr extends Lr{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:i,_suggestedMax:r}=this;return t=o(t,Number.POSITIVE_INFINITY),e=o(e,Number.NEGATIVE_INFINITY),i=o(i,Number.POSITIVE_INFINITY),r=o(r,Number.NEGATIVE_INFINITY),{min:o(t,i),max:o(e,r),minDefined:n(t),maxDefined:n(e)}}getMinMax(t){let e,{min:i,max:r,minDefined:a,maxDefined:n}=this.getUserBounds();if(a&&n)return{min:i,max:r};const s=this.getMatchingVisibleMetas();for(let o=0,u=s.length;o<u;++o)e=s[o].controller.getMinMax(this,t),a||(i=Math.min(i,e.min)),n||(r=Math.max(r,e.max));return i=n&&i>r?r:i,r=a&&i>r?i:r,{min:o(i,o(r,i)),max:o(r,o(i,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){c(this.options.beforeUpdate,[this])}update(t,e,i){const{beginAtZero:r,grace:a,ticks:n}=this.options,o=n.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=_i(this,a,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const s=o<this.ticks.length;this._convertTicksToLabels(s?Nr(this.ticks,o):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),n.display&&(n.autoSkip||"auto"===n.source)&&(this.ticks=qr(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),s&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t,e,i=this.options.reverse;this.isHorizontal()?(t=this.left,e=this.right):(t=this.top,e=this.bottom,i=!i),this._startPixel=t,this._endPixel=e,this._reversePixels=i,this._length=e-t,this._alignToPixels=this.options.alignToPixels}afterUpdate(){c(this.options.afterUpdate,[this])}beforeSetDimensions(){c(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){c(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),c(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){c(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const e=this.options.ticks;let i,r,a;for(i=0,r=t.length;i<r;i++)a=t[i],a.label=c(e.callback,[a.value,i,t],this)}afterTickToLabelConversion(){c(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){c(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,e=t.ticks,i=this.ticks.length,r=e.minRotation||0,a=e.maxRotation;let n,o,s,u=r;if(!this._isVisible()||!e.display||r>=a||i<=1||!this.isHorizontal())return void(this.labelRotation=r);const l=this._getLabelSizes(),c=l.widest.width,d=l.highest.height,h=J(this.chart.width-c,0,this.maxWidth);n=t.offset?this.maxWidth/i:h/(i-1),c+6>n&&(n=h/(i-(t.offset?.5:1)),o=this.maxHeight-Vr(t.grid)-e.padding-Hr(t.title,this.chart.options.font),s=Math.sqrt(c*c+d*d),u=H(Math.min(Math.asin(J((l.highest.height+6)/n,-1,1)),Math.asin(J(o/s,-1,1))-Math.asin(J(d/s,-1,1)))),u=Math.max(r,Math.min(a,u))),this.labelRotation=u}afterCalculateLabelRotation(){c(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){c(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:i,title:r,grid:a}}=this,n=this._isVisible(),o=this.isHorizontal();if(n){const n=Hr(r,e.options.font);if(o?(t.width=this.maxWidth,t.height=Vr(a)+n):(t.height=this.maxHeight,t.width=Vr(a)+n),i.display&&this.ticks.length){const{first:e,last:r,widest:a,highest:n}=this._getLabelSizes(),s=2*i.padding,u=V(this.labelRotation),l=Math.cos(u),c=Math.sin(u);if(o){const e=i.mirror?0:c*a.width+l*n.height;t.height=Math.min(this.maxHeight,t.height+e+s)}else{const e=i.mirror?0:l*a.width+c*n.height;t.width=Math.min(this.maxWidth,t.width+e+s)}this._calculatePadding(e,r,c,l)}}this._handleMargins(),o?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,i,r){const{ticks:{align:a,padding:n},position:o}=this.options,s=0!==this.labelRotation,u="top"!==o&&"x"===this.axis;if(this.isHorizontal()){const o=this.getPixelForTick(0)-this.left,l=this.right-this.getPixelForTick(this.ticks.length-1);let c=0,d=0;s?u?(c=r*t.width,d=i*e.height):(c=i*t.height,d=r*e.width):"start"===a?d=e.width:"end"===a?c=t.width:"inner"!==a&&(c=t.width/2,d=e.width/2),this.paddingLeft=Math.max((c-o+n)*this.width/(this.width-o),0),this.paddingRight=Math.max((d-l+n)*this.width/(this.width-l),0)}else{let i=e.height/2,r=t.height/2;"start"===a?(i=0,r=t.height):"end"===a&&(i=e.height,r=0),this.paddingTop=i+n,this.paddingBottom=r+n}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){c(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,r;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,r=t.length;e<r;e++)i(t[e].label)&&(t.splice(e,1),r--,e--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const e=this.options.ticks.sampleSize;let i=this.ticks;e<i.length&&(i=Nr(i,e)),this._labelSizes=t=this._computeLabelSizes(i,i.length)}return t}_computeLabelSizes(t,e){const{ctx:a,_longestTextCache:n}=this,o=[],s=[];let u,l,c,h,f,p,m,b,g,v,y,_=0,x=0;for(u=0;u<e;++u){if(h=t[u].label,f=this._resolveTickFontOptions(u),a.font=p=f.string,m=n[p]=n[p]||{data:{},gc:[]},b=f.lineHeight,g=v=0,i(h)||r(h)){if(r(h))for(l=0,c=h.length;l<c;++l)y=h[l],i(y)||r(y)||(g=_e(a,m.data,m.gc,g,y),v+=b)}else g=_e(a,m.data,m.gc,g,h),v=b;o.push(g),s.push(v),_=Math.max(g,_),x=Math.max(v,x)}!function(t,e){d(t,(t=>{const i=t.gc,r=i.length/2;let a;if(r>e){for(a=0;a<r;++a)delete t.data[i[a]];i.splice(0,r)}}))}(n,e);const k=o.indexOf(_),w=s.indexOf(x),S=t=>({width:o[t]||0,height:s[t]||0});return{first:S(0),last:S(e-1),widest:S(k),highest:S(w),widths:o,heights:s}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return Z(this._alignToPixels?ke(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&t<e.length){const i=e[t];return i.$context||(i.$context=function(t,e,i){return xi(t,{tick:i,index:e,type:"tick"})}(this.getContext(),t,i))}return this.$context||(this.$context=xi(this.chart.getContext(),{scale:this,type:"scale"}))}_tickSize(){const t=this.options.ticks,e=V(this.labelRotation),i=Math.abs(Math.cos(e)),r=Math.abs(Math.sin(e)),a=this._getLabelSizes(),n=t.autoSkipPadding||0,o=a?a.widest.width+n:0,s=a?a.highest.height+n:0;return this.isHorizontal()?s*i>o*r?o/i:s/r:s*r<o*i?s/i:o/r}_isVisible(){const t=this.options.display;return"auto"!==t?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const e=this.axis,i=this.chart,r=this.options,{grid:n,position:o}=r,u=n.offset,l=this.isHorizontal(),c=this.ticks.length+(u?1:0),d=Vr(n),h=[],f=n.setContext(this.getContext()),p=f.drawBorder?f.borderWidth:0,m=p/2,b=function(t){return ke(i,t,p)};let g,v,y,_,x,k,w,S,E,j,T,P;if("top"===o)g=b(this.bottom),k=this.bottom-d,S=g-m,j=b(t.top)+m,P=t.bottom;else if("bottom"===o)g=b(this.top),j=t.top,P=b(t.bottom)-m,k=g+m,S=this.top+d;else if("left"===o)g=b(this.right),x=this.right-d,w=g-m,E=b(t.left)+m,T=t.right;else if("right"===o)g=b(this.left),E=t.left,T=b(t.right)-m,x=g+m,w=this.left+d;else if("x"===e){if("center"===o)g=b((t.top+t.bottom)/2+.5);else if(a(o)){const t=Object.keys(o)[0],e=o[t];g=b(this.chart.scales[t].getPixelForValue(e))}j=t.top,P=t.bottom,k=g+m,S=k+d}else if("y"===e){if("center"===o)g=b((t.left+t.right)/2);else if(a(o)){const t=Object.keys(o)[0],e=o[t];g=b(this.chart.scales[t].getPixelForValue(e))}x=g-m,w=x-d,E=t.left,T=t.right}const A=s(r.ticks.maxTicksLimit,c),C=Math.max(1,Math.ceil(c/A));for(v=0;v<c;v+=C){const t=n.setContext(this.getContext(v)),e=t.lineWidth,r=t.color,a=t.borderDash||[],o=t.borderDashOffset,s=t.tickWidth,c=t.tickColor,d=t.tickBorderDash||[],f=t.tickBorderDashOffset;y=$r(this,v,u),void 0!==y&&(_=ke(i,y,e),l?x=w=E=T=_:k=S=j=P=_,h.push({tx1:x,ty1:k,tx2:w,ty2:S,x1:E,y1:j,x2:T,y2:P,width:e,color:r,borderDash:a,borderDashOffset:o,tickWidth:s,tickColor:c,tickBorderDash:d,tickBorderDashOffset:f}))}return this._ticksLength=c,this._borderValue=g,h}_computeLabelItems(t){const e=this.axis,i=this.options,{position:n,ticks:o}=i,s=this.isHorizontal(),u=this.ticks,{align:l,crossAlign:c,padding:d,mirror:h}=o,f=Vr(i.grid),p=f+d,m=h?-d:p,b=-V(this.labelRotation),g=[];let v,y,_,x,k,w,S,E,j,T,P,A,C="middle";if("top"===n)w=this.bottom-m,S=this._getXAxisLabelAlignment();else if("bottom"===n)w=this.top+m,S=this._getXAxisLabelAlignment();else if("left"===n){const t=this._getYAxisLabelAlignment(f);S=t.textAlign,k=t.x}else if("right"===n){const t=this._getYAxisLabelAlignment(f);S=t.textAlign,k=t.x}else if("x"===e){if("center"===n)w=(t.top+t.bottom)/2+p;else if(a(n)){const t=Object.keys(n)[0],e=n[t];w=this.chart.scales[t].getPixelForValue(e)+p}S=this._getXAxisLabelAlignment()}else if("y"===e){if("center"===n)k=(t.left+t.right)/2-p;else if(a(n)){const t=Object.keys(n)[0],e=n[t];k=this.chart.scales[t].getPixelForValue(e)}S=this._getYAxisLabelAlignment(f).textAlign}"y"===e&&("start"===l?C="top":"end"===l&&(C="bottom"));const O=this._getLabelSizes();for(v=0,y=u.length;v<y;++v){_=u[v],x=_.label;const t=o.setContext(this.getContext(v));E=this.getPixelForTick(v)+o.labelOffset,j=this._resolveTickFontOptions(v),T=j.lineHeight,P=r(x)?x.length:1;const e=P/2,i=t.color,a=t.textStrokeColor,l=t.textStrokeWidth;let d,f=S;if(s?(k=E,"inner"===S&&(f=v===y-1?this.options.reverse?"left":"right":0===v?this.options.reverse?"right":"left":"center"),A="top"===n?"near"===c||0!==b?-P*T+T/2:"center"===c?-O.highest.height/2-e*T+T:-O.highest.height+T/2:"near"===c||0!==b?T/2:"center"===c?O.highest.height/2-e*T:O.highest.height-P*T,h&&(A*=-1)):(w=E,A=(1-P)*T/2),t.showLabelBackdrop){const e=gi(t.backdropPadding),i=O.heights[v],r=O.widths[v];let a=w+A-e.top,n=k-e.left;switch(C){case"middle":a-=i/2;break;case"bottom":a-=i}switch(S){case"center":n-=r/2;break;case"right":n-=r}d={left:n,top:a,width:r+e.width,height:i+e.height,color:t.backdropColor}}g.push({rotation:b,label:x,font:j,color:i,strokeColor:a,strokeWidth:l,textOffset:A,textAlign:f,textBaseline:C,translation:[k,w],backdrop:d})}return g}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-V(this.labelRotation))return"top"===t?"left":"right";let i="center";return"start"===e.align?i="left":"end"===e.align?i="right":"inner"===e.align&&(i="inner"),i}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:i,mirror:r,padding:a}}=this.options,n=t+a,o=this._getLabelSizes().widest.width;let s,u;return"left"===e?r?(u=this.right+a,"near"===i?s="left":"center"===i?(s="center",u+=o/2):(s="right",u+=o)):(u=this.right-n,"near"===i?s="right":"center"===i?(s="center",u-=o/2):(s="left",u=this.left)):"right"===e?r?(u=this.left+a,"near"===i?s="right":"center"===i?(s="center",u-=o/2):(s="left",u-=o)):(u=this.left+n,"near"===i?s="left":"center"===i?(s="center",u+=o/2):(s="right",u=this.right)):s="right",{textAlign:s,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:t.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:t.width}:void 0}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:i,top:r,width:a,height:n}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(i,r,a,n),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const i=this.ticks.findIndex((e=>e.value===t));return i>=0?e.setContext(this.getContext(i)).lineWidth:0}drawGrid(t){const e=this.options.grid,i=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let a,n;const o=(t,e,r)=>{r.width&&r.color&&(i.save(),i.lineWidth=r.width,i.strokeStyle=r.color,i.setLineDash(r.borderDash||[]),i.lineDashOffset=r.borderDashOffset,i.beginPath(),i.moveTo(t.x,t.y),i.lineTo(e.x,e.y),i.stroke(),i.restore())};if(e.display)for(a=0,n=r.length;a<n;++a){const t=r[a];e.drawOnChartArea&&o({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},t),e.drawTicks&&o({x:t.tx1,y:t.ty1},{x:t.tx2,y:t.ty2},{color:t.tickColor,width:t.tickWidth,borderDash:t.tickBorderDash,borderDashOffset:t.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:e,options:{grid:i}}=this,r=i.setContext(this.getContext()),a=i.drawBorder?r.borderWidth:0;if(!a)return;const n=i.setContext(this.getContext(0)).lineWidth,o=this._borderValue;let s,u,l,c;this.isHorizontal()?(s=ke(t,this.left,a)-a/2,u=ke(t,this.right,n)+n/2,l=c=o):(l=ke(t,this.top,a)-a/2,c=ke(t,this.bottom,n)+n/2,s=u=o),e.save(),e.lineWidth=r.borderWidth,e.strokeStyle=r.borderColor,e.beginPath(),e.moveTo(s,l),e.lineTo(u,c),e.stroke(),e.restore()}drawLabels(t){if(!this.options.ticks.display)return;const e=this.ctx,i=this._computeLabelArea();i&&Te(e,i);const r=this._labelItems||(this._labelItems=this._computeLabelItems(t));let a,n;for(a=0,n=r.length;a<n;++a){const t=r[a],i=t.font,n=t.label;t.backdrop&&(e.fillStyle=t.backdrop.color,e.fillRect(t.backdrop.left,t.backdrop.top,t.backdrop.width,t.backdrop.height)),Oe(e,n,0,t.textOffset,i,t)}i&&Pe(e)}drawTitle(){const{ctx:t,options:{position:e,title:i,reverse:n}}=this;if(!i.display)return;const o=vi(i.font),s=gi(i.padding),u=i.align;let l=o.lineHeight/2;"bottom"===e||"center"===e||a(e)?(l+=s.bottom,r(i.text)&&(l+=o.lineHeight*(i.text.length-1))):l+=s.top;const{titleX:c,titleY:d,maxWidth:h,rotation:f}=function(t,e,i,r){const{top:n,left:o,bottom:s,right:u,chart:l}=t,{chartArea:c,scales:d}=l;let h,f,p,m=0;const b=s-n,g=u-o;if(t.isHorizontal()){if(f=ht(r,o,u),a(i)){const t=Object.keys(i)[0],r=i[t];p=d[t].getPixelForValue(r)+b-e}else p="center"===i?(c.bottom+c.top)/2+b-e:Br(t,i,e);h=u-o}else{if(a(i)){const t=Object.keys(i)[0],r=i[t];f=d[t].getPixelForValue(r)-g+e}else f="center"===i?(c.left+c.right)/2-g+e:Br(t,i,e);p=ht(r,s,n),m="left"===i?-M:M}return{titleX:f,titleY:p,maxWidth:h,rotation:m}}(this,l,e,u);Oe(t,i.text,0,0,o,{color:i.color,maxWidth:h,rotation:f,textAlign:Ur(u,e,n),textBaseline:"middle",translation:[c,d]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,e=t.ticks&&t.ticks.z||0,i=s(t.grid&&t.grid.z,-1);return this._isVisible()&&this.draw===Wr.prototype.draw?[{z:i,draw:t=>{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:i+1,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",r=[];let a,n;for(a=0,n=e.length;a<n;++a){const n=e[a];n[i]!==this.id||t&&n.type!==t||r.push(n)}return r}_resolveTickFontOptions(t){return vi(this.options.ticks.setContext(this.getContext(t)).font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class Yr{constructor(t,e,i){this.type=t,this.scope=e,this.override=i,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const e=Object.getPrototypeOf(t);let i;(function(t){return"id"in t&&"defaults"in t})(e)&&(i=this.register(e));const r=this.items,a=t.id,n=this.scope+"."+a;if(!a)throw new Error("class does not have id: "+t);return a in r||(r[a]=t,function(t,e,i){const r=b(Object.create(null),[i?ae.get(i):{},ae.get(e),t.defaults]);ae.set(e,r),t.defaultRoutes&&function(t,e){Object.keys(e).forEach((i=>{const r=i.split("."),a=r.pop(),n=[t].concat(r).join("."),o=e[i].split("."),s=o.pop(),u=o.join(".");ae.route(n,a,u,s)}))}(e,t.defaultRoutes),t.descriptors&&ae.describe(e,t.descriptors)}(t,n,i),this.override&&ae.override(t.id,t.overrides)),n}get(t){return this.items[t]}unregister(t){const e=this.items,i=t.id,r=this.scope;i in e&&delete e[i],r&&i in ae[r]&&(delete ae[r][i],this.override&&delete te[i])}}var Gr=new class{constructor(){this.controllers=new Yr(zr,"datasets",!0),this.elements=new Yr(Lr,"elements"),this.plugins=new Yr(Object,"plugins"),this.scales=new Yr(Wr,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,i){[...e].forEach((e=>{const r=i||this._getRegistryForType(e);i||r.isForType(e)||r===this.plugins&&e.id?this._exec(t,r,e):d(e,(e=>{const r=i||this._getRegistryForType(e);this._exec(t,r,e)}))}))}_exec(t,e,i){const r=k(t);c(i["before"+r],[],i),e[t](i),c(i["after"+r],[],i)}_getRegistryForType(t){for(let e=0;e<this._typedRegistries.length;e++){const i=this._typedRegistries[e];if(i.isForType(t))return i}return this.plugins}_get(t,e,i){const r=e.get(t);if(void 0===r)throw new Error('"'+t+'" is not a registered '+i+".");return r}};class Kr{constructor(){this._init=[]}notify(t,e,i,r){"beforeInit"===e&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const a=r?this._descriptors(t).filter(r):this._descriptors(t),n=this._notify(a,t,e,i);return"afterDestroy"===e&&(this._notify(a,t,"stop"),this._notify(this._init,t,"uninstall")),n}_notify(t,e,i,r){r=r||{};for(const a of t){const t=a.plugin;if(!1===c(t[i],[e,r,a.options],t)&&r.cancelable)return!1}return!0}invalidate(){i(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}_createDescriptors(t,e){const i=t&&t.config,r=s(i.options&&i.options.plugins,{}),a=function(t){const e={},i=[],r=Object.keys(Gr.plugins.items);for(let t=0;t<r.length;t++)i.push(Gr.getPlugin(r[t]));const a=t.plugins||[];for(let t=0;t<a.length;t++){const r=a[t];-1===i.indexOf(r)&&(i.push(r),e[r.id]=!0)}return{plugins:i,localIds:e}}(i);return!1!==r||e?function(t,{plugins:e,localIds:i},r,a){const n=[],o=t.getContext();for(const s of e){const e=s.id,u=Xr(r[e],a);null!==u&&n.push({plugin:s,options:Jr(t.config,{plugin:s,local:i[e]},u,o)})}return n}(t,a,r,e):[]}_notifyStateChanges(t){const e=this._oldCache||[],i=this._cache,r=(t,e)=>t.filter((t=>!e.some((e=>t.plugin.id===e.plugin.id))));this._notify(r(e,i),t,"stop"),this._notify(r(i,e),t,"start")}}function Xr(t,e){return e||!1!==t?!0===t?{}:t:null}function Jr(t,{plugin:e,local:i},r,a){const n=t.pluginScopeKeys(e),o=t.getOptionScopes(r,n);return i&&e.defaults&&o.push(e.defaults),t.createResolver(o,a,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Zr(t,e){const i=ae.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||i.indexAxis||"x"}function Qr(t,e){return"x"===t||"y"===t?t:e.axis||("top"===(i=e.position)||"bottom"===i?"x":"left"===i||"right"===i?"y":void 0)||t.charAt(0).toLowerCase();var i}function ta(t){const e=t.options||(t.options={});e.plugins=s(e.plugins,{}),e.scales=function(t,e){const i=te[t.type]||{scales:{}},r=e.scales||{},n=Zr(t.type,e),o=Object.create(null),s=Object.create(null);return Object.keys(r).forEach((t=>{const e=r[t];if(!a(e))return console.error(`Invalid scale configuration for scale: ${t}`);if(e._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const u=Qr(t,e),l=function(t,e){return t===e?"_index_":"_value_"}(u,n),c=i.scales||{};o[u]=o[u]||t,s[t]=g(Object.create(null),[{axis:u},e,c[u],c[l]])})),t.data.datasets.forEach((i=>{const a=i.type||t.type,n=i.indexAxis||Zr(a,e),u=(te[a]||{}).scales||{};Object.keys(u).forEach((t=>{const e=function(t,e){let i=t;return"_index_"===t?i=e:"_value_"===t&&(i="x"===e?"y":"x"),i}(t,n),a=i[e+"AxisID"]||o[e]||e;s[a]=s[a]||Object.create(null),g(s[a],[{axis:e},r[a],u[t]])}))})),Object.keys(s).forEach((t=>{const e=s[t];g(e,[ae.scales[e.type],ae.scale])})),s}(t,e)}function ea(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const ia=new Map,ra=new Set;function aa(t,e){let i=ia.get(t);return i||(i=e(),ia.set(t,i),ra.add(i)),i}const na=(t,e,i)=>{const r=_(e,i);void 0!==r&&t.add(r)};class oa{constructor(t){this._config=function(t){return(t=t||{}).data=ea(t.data),ta(t),t}(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=ea(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),ta(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return aa(t,(()=>[[`datasets.${t}`,""]]))}datasetAnimationScopeKeys(t,e){return aa(`${t}.transition.${e}`,(()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]]))}datasetElementScopeKeys(t,e){return aa(`${t}-${e}`,(()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]]))}pluginScopeKeys(t){const e=t.id;return aa(`${this.type}-plugin-${e}`,(()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]]))}_cachedScopes(t,e){const i=this._scopeCache;let r=i.get(t);return r&&!e||(r=new Map,i.set(t,r)),r}getOptionScopes(t,e,i){const{options:r,type:a}=this,n=this._cachedScopes(t,i),o=n.get(e);if(o)return o;const s=new Set;e.forEach((e=>{t&&(s.add(t),e.forEach((e=>na(s,t,e)))),e.forEach((t=>na(s,r,t))),e.forEach((t=>na(s,te[a]||{},t))),e.forEach((t=>na(s,ae,t))),e.forEach((t=>na(s,ee,t)))}));const u=Array.from(s);return 0===u.length&&u.push(Object.create(null)),ra.has(e)&&n.set(e,u),u}chartOptionScopes(){const{options:t,type:e}=this;return[t,te[e]||{},ae.datasets[e]||{},{type:e},ae,ee]}resolveNamedOptions(t,e,i,a=[""]){const n={$shared:!0},{resolver:o,subPrefixes:s}=sa(this._resolverCache,t,a);let u=o;(function(t,e){const{isScriptable:i,isIndexable:a}=Ie(t);for(const n of e){const e=i(n),o=a(n),s=(o||e)&&t[n];if(e&&(S(s)||ua(s))||o&&r(s))return!0}return!1})(o,e)&&(n.$shared=!1,u=Le(o,i=S(i)?i():i,this.createResolver(t,i,s)));for(const t of e)n[t]=u[t];return n}createResolver(t,e,i=[""],r){const{resolver:n}=sa(this._resolverCache,t,i);return a(e)?Le(n,e,void 0,r):n}}function sa(t,e,i){let r=t.get(e);r||(r=new Map,t.set(e,r));const a=i.join();let n=r.get(a);return n||(n={resolver:ze(e,i),subPrefixes:i.filter((t=>!t.toLowerCase().includes("hover")))},r.set(a,n)),n}const ua=t=>a(t)&&Object.getOwnPropertyNames(t).reduce(((e,i)=>e||S(t[i])),!1);const la=["top","bottom","left","right","chartArea"];function ca(t,e){return"top"===t||"bottom"===t||-1===la.indexOf(t)&&"x"===e}function da(t,e){return function(i,r){return i[t]===r[t]?i[e]-r[e]:i[t]-r[t]}}function ha(t){const e=t.chart,i=e.options.animation;e.notifyPlugins("afterRender"),c(i&&i.onComplete,[t],e)}function fa(t){const e=t.chart,i=e.options.animation;c(i&&i.onProgress,[t],e)}function pa(t){return ne()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const ma={},ba=t=>{const e=pa(t);return Object.values(ma).filter((t=>t.canvas===e)).pop()};function ga(t,e,i){const r=Object.keys(t);for(const a of r){const r=+a;if(r>=e){const n=t[a];delete t[a],(i>0||r>e)&&(t[r+i]=n)}}}class va{constructor(t,i){const r=this.config=new oa(i),a=pa(t),n=ba(a);if(n)throw new Error("Canvas is already in use. Chart with ID '"+n.id+"' must be destroyed before the canvas with ID '"+n.canvas.id+"' can be reused.");const o=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||br(a)),this.platform.updateConfig(r);const s=this.platform.acquireContext(a,o.aspectRatio),u=s&&s.canvas,l=u&&u.height,c=u&&u.width;this.id=e(),this.ctx=s,this.canvas=u,this.width=c,this.height=l,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Kr,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=ct((t=>this.update(t)),o.resizeDelay||0),this._dataChanges=[],ma[this.id]=this,s&&u?(bt.listen(this,"complete",ha),bt.listen(this,"progress",fa),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:r,height:a,_aspectRatio:n}=this;return i(t)?e&&n?n:a?r/a:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():be(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return we(this.canvas,this.ctx),this}stop(){return bt.stop(this),this}resize(t,e){bt.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const i=this.options,r=this.canvas,a=i.maintainAspectRatio&&this.aspectRatio,n=this.platform.getMaximumSize(r,t,e,a),o=i.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?"resize":"attach";this.width=n.width,this.height=n.height,this._aspectRatio=this.aspectRatio,be(this,o,!0)&&(this.notifyPlugins("resize",{size:n}),c(i.onResize,[this,n],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){d(this.options.scales||{},((t,e)=>{t.id=e}))}buildOrUpdateScales(){const t=this.options,e=t.scales,i=this.scales,r=Object.keys(i).reduce(((t,e)=>(t[e]=!1,t)),{});let a=[];e&&(a=a.concat(Object.keys(e).map((t=>{const i=e[t],r=Qr(t,i),a="r"===r,n="x"===r;return{options:i,dposition:a?"chartArea":n?"bottom":"left",dtype:a?"radialLinear":n?"category":"linear"}})))),d(a,(e=>{const a=e.options,n=a.id,o=Qr(n,a),u=s(a.type,e.dtype);void 0!==a.position&&ca(a.position,o)===ca(e.dposition)||(a.position=e.dposition),r[n]=!0;let l=null;n in i&&i[n].type===u?l=i[n]:(l=new(Gr.getScale(u))({id:n,type:u,ctx:this.ctx,chart:this}),i[l.id]=l),l.init(a,t)})),d(r,((t,e)=>{t||delete i[e]})),d(i,(t=>{Zi.configure(this,t,t.options),Zi.addBox(this,t)}))}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,i=t.length;if(t.sort(((t,e)=>t.index-e.index)),i>e){for(let t=e;t<i;++t)this._destroyDatasetMeta(t);t.splice(e,i-e)}this._sortedMetasets=t.slice(0).sort(da("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:e}}=this;t.length>e.length&&delete this._stacks,t.forEach(((t,i)=>{0===e.filter((e=>e===t._dataset)).length&&this._destroyDatasetMeta(i)}))}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let i,r;for(this._removeUnreferencedMetasets(),i=0,r=e.length;i<r;i++){const r=e[i];let a=this.getDatasetMeta(i);const n=r.type||this.config.type;if(a.type&&a.type!==n&&(this._destroyDatasetMeta(i),a=this.getDatasetMeta(i)),a.type=n,a.indexAxis=r.indexAxis||Zr(n,this.options),a.order=r.order||0,a.index=i,a.label=""+r.label,a.visible=this.isDatasetVisible(i),a.controller)a.controller.updateIndex(i),a.controller.linkScales();else{const e=Gr.getController(n),{datasetElementType:r,dataElementType:o}=ae.datasets[n];Object.assign(e.prototype,{dataElementType:Gr.getElement(o),datasetElementType:r&&Gr.getElement(r)}),a.controller=new e(this,i),t.push(a.controller)}}return this._updateMetasets(),t}_resetElements(){d(this.data.datasets,((t,e)=>{this.getDatasetMeta(e).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const i=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const a=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let n=0;for(let t=0,e=this.data.datasets.length;t<e;t++){const{controller:e}=this.getDatasetMeta(t),i=!r&&-1===a.indexOf(e);e.buildOrUpdateElements(i),n=Math.max(+e.getMaxOverflow(),n)}n=this._minPadding=i.layout.autoPadding?n:0,this._updateLayout(n),r||d(a,(t=>{t.reset()})),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(da("z","_idx"));const{_active:o,_lastEvent:s}=this;s?this._eventHandler(s,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){d(this.scales,(t=>{Zi.removeBox(this,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),i=new Set(t.events);E(e,i)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:i,start:r,count:a}of e)ga(t,r,"_removeElements"===i?-a:a)}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,i=e=>new Set(t.filter((t=>t[0]===e)).map(((t,e)=>e+","+t.splice(1).join(",")))),r=i(0);for(let t=1;t<e;t++)if(!E(r,i(t)))return;return Array.from(r).map((t=>t.split(","))).map((t=>({method:t[1],start:+t[2],count:+t[3]})))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;Zi.update(this,this.width,this.height,t);const e=this.chartArea,i=e.width<=0||e.height<=0;this._layers=[],d(this.boxes,(t=>{i&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))}),this),this._layers.forEach(((t,e)=>{t._idx=e})),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t<e;++t)this.getDatasetMeta(t).controller.configure();for(let e=0,i=this.data.datasets.length;e<i;++e)this._updateDataset(e,S(t)?t({datasetIndex:e}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,e){const i=this.getDatasetMeta(t),r={meta:i,index:t,mode:e,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",r)&&(i.controller._update(e),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(bt.has(this)?this.attached&&!bt.running(this)&&bt.start(this):(this.draw(),ha({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:t,height:e}=this._resizeBeforeDraw;this._resize(t,e),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const e=this._layers;for(t=0;t<e.length&&e[t].z<=0;++t)e[t].draw(this.chartArea);for(this._drawDatasets();t<e.length;++t)e[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const e=this._sortedMetasets,i=[];let r,a;for(r=0,a=e.length;r<a;++r){const a=e[r];t&&!a.visible||i.push(a)}return i}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const t=this.getSortedVisibleDatasetMetas();for(let e=t.length-1;e>=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,i=t._clip,r=!i.disabled,a=this.chartArea,n={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",n)&&(r&&Te(e,{left:!1===i.left?0:a.left-i.left,right:!1===i.right?this.width:a.right+i.right,top:!1===i.top?0:a.top-i.top,bottom:!1===i.bottom?this.height:a.bottom+i.bottom}),t.controller.draw(),r&&Pe(e),n.cancelable=!1,this.notifyPlugins("afterDatasetDraw",n))}isPointInArea(t){return je(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,i,r){const a=Ri.modes[e];return"function"==typeof a?a(this,t,i,r):[]}getDatasetMeta(t){const e=this.data.datasets[t],i=this._metasets;let r=i.filter((t=>t&&t._dataset===e)).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},i.push(r)),r}getContext(){return this.$context||(this.$context=xi(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const i=this.getDatasetMeta(t);return"boolean"==typeof i.hidden?!i.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,i){const r=i?"show":"hide",a=this.getDatasetMeta(t),n=a.controller._resolveAnimations(void 0,r);w(e)?(a.data[e].hidden=!i,this.update()):(this.setDatasetVisibility(t,i),n.update(a,{visible:i}),this.update((e=>e.datasetIndex===t?r:void 0)))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),bt.remove(this),t=0,e=this.data.datasets.length;t<e;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:e}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),we(t,e),this.platform.releaseContext(e),this.canvas=null,this.ctx=null),this.notifyPlugins("destroy"),delete ma[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,e=this.platform,i=(i,r)=>{e.addEventListener(this,i,r),t[i]=r},r=(t,e,i)=>{t.offsetX=e,t.offsetY=i,this._eventHandler(t)};d(this.options.events,(t=>i(t,r)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,i=(i,r)=>{e.addEventListener(this,i,r),t[i]=r},r=(i,r)=>{t[i]&&(e.removeEventListener(this,i,r),delete t[i])},a=(t,e)=>{this.canvas&&this.resize(t,e)};let n;const o=()=>{r("attach",o),this.attached=!0,this.resize(),i("resize",a),i("detach",n)};n=()=>{this.attached=!1,r("resize",a),this._stop(),this._resize(0,0),i("attach",o)},e.isAttached(this.canvas)?o():n()}unbindEvents(){d(this._listeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._listeners={},d(this._responsiveListeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._responsiveListeners=void 0}updateHoverStyle(t,e,i){const r=i?"set":"remove";let a,n,o,s;for("dataset"===e&&(a=this.getDatasetMeta(t[0].datasetIndex),a.controller["_"+r+"DatasetHoverStyle"]()),o=0,s=t.length;o<s;++o){n=t[o];const e=n&&this.getDatasetMeta(n.datasetIndex).controller;e&&e[r+"HoverStyle"](n.element,n.datasetIndex,n.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const e=this._active||[],i=t.map((({datasetIndex:t,index:e})=>{const i=this.getDatasetMeta(t);if(!i)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:i.data[e],index:e}}));!h(i,e)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,e))}notifyPlugins(t,e,i){return this._plugins.notify(this,t,e,i)}_updateHoverStyles(t,e,i){const r=this.options.hover,a=(t,e)=>t.filter((t=>!e.some((e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)))),n=a(e,t),o=i?t:a(t,e);n.length&&this.updateHoverStyle(n,r.mode,!1),o.length&&r.mode&&this.updateHoverStyle(o,r.mode,!0)}_eventHandler(t,e){const i={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},r=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",i,r))return;const a=this._handleEvent(t,e,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,r),(a||i.changed)&&this.render(),this}_handleEvent(t,e,i){const{_active:r=[],options:a}=this,n=e,o=this._getActiveElements(t,r,i,n),s=j(t),u=function(t,e,i,r){return i&&"mouseout"!==t.type?r?e:t:null}(t,this._lastEvent,i,s);i&&(this._lastEvent=null,c(a.onHover,[t,o,this],this),s&&c(a.onClick,[t,o,this],this));const l=!h(o,r);return(l||e)&&(this._active=o,this._updateHoverStyles(o,r,e)),this._lastEvent=u,l}_getActiveElements(t,e,i,r){if("mouseout"===t.type)return[];if(!i)return e;const a=this.options.hover;return this.getElementsAtEventForMode(t,a.mode,a,r)}}const ya=()=>d(va.instances,(t=>t._plugins.invalidate())),_a=!0;function xa(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}Object.defineProperties(va,{defaults:{enumerable:_a,value:ae},instances:{enumerable:_a,value:ma},overrides:{enumerable:_a,value:te},registry:{enumerable:_a,value:Gr},version:{enumerable:_a,value:"3.9.1"},getChart:{enumerable:_a,value:ba},register:{enumerable:_a,value:(...t)=>{Gr.add(...t),ya()}},unregister:{enumerable:_a,value:(...t)=>{Gr.remove(...t),ya()}}});class ka{constructor(t){this.options=t||{}}init(t){}formats(){return xa()}parse(t,e){return xa()}format(t,e){return xa()}add(t,e,i){return xa()}diff(t,e,i){return xa()}startOf(t,e,i){return xa()}endOf(t,e){return xa()}}ka.override=function(t){Object.assign(ka.prototype,t)};var wa={_date:ka};function Sa(t){const e=t.iScale,i=function(t,e){if(!t._cache.$bar){const i=t.getMatchingVisibleMetas(e);let r=[];for(let e=0,a=i.length;e<a;e++)r=r.concat(i[e].controller.getAllParsedValues(t));t._cache.$bar=st(r.sort(((t,e)=>t-e)))}return t._cache.$bar}(e,t.type);let r,a,n,o,s=e._length;const u=()=>{32767!==n&&-32768!==n&&(w(o)&&(s=Math.min(s,Math.abs(n-o)||s)),o=n)};for(r=0,a=i.length;r<a;++r)n=e.getPixelForValue(i[r]),u();for(o=void 0,r=0,a=e.ticks.length;r<a;++r)n=e.getPixelForTick(r),u();return s}function Ea(t,e,i,a){return r(t)?function(t,e,i,r){const a=i.parse(t[0],r),n=i.parse(t[1],r),o=Math.min(a,n),s=Math.max(a,n);let u=o,l=s;Math.abs(o)>Math.abs(s)&&(u=s,l=o),e[i.axis]=l,e._custom={barStart:u,barEnd:l,start:a,end:n,min:o,max:s}}(t,e,i,a):e[i.axis]=i.parse(t,a),e}function ja(t,e,i,r){const a=t.iScale,n=t.vScale,o=a.getLabels(),s=a===n,u=[];let l,c,d,h;for(l=i,c=i+r;l<c;++l)h=e[l],d={},d[a.axis]=s||a.parse(o[l],l),u.push(Ea(h,d,n,l));return u}function Ta(t){return t&&void 0!==t.barStart&&void 0!==t.barEnd}function Pa(t,e,i,r){let a=e.borderSkipped;const n={};if(!a)return void(t.borderSkipped=n);if(!0===a)return void(t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:o,end:s,reverse:u,top:l,bottom:c}=function(t){let e,i,r,a,n;return t.horizontal?(e=t.base>t.x,i="left",r="right"):(e=t.base<t.y,i="bottom",r="top"),e?(a="end",n="start"):(a="start",n="end"),{start:i,end:r,reverse:e,top:a,bottom:n}}(t);"middle"===a&&i&&(t.enableBorderRadius=!0,(i._top||0)===r?a=l:(i._bottom||0)===r?a=c:(n[Aa(c,o,s,u)]=!0,a=l)),n[Aa(a,o,s,u)]=!0,t.borderSkipped=n}function Aa(t,e,i,r){return r?Ca((o=i,t=(a=t)===(n=e)?o:a===o?n:a),i,e):Ca(t,e,i);var a,n,o}function Ca(t,e,i){return"start"===t?e:"end"===t?i:t}function Oa(t,{inflateAmount:e},i){t.inflateAmount="auto"===e?1===i?.33:0:e}class Ma extends zr{parsePrimitiveData(t,e,i,r){return ja(t,e,i,r)}parseArrayData(t,e,i,r){return ja(t,e,i,r)}parseObjectData(t,e,i,r){const{iScale:a,vScale:n}=t,{xAxisKey:o="x",yAxisKey:s="y"}=this._parsing,u="x"===a.axis?o:s,l="x"===n.axis?o:s,c=[];let d,h,f,p;for(d=i,h=i+r;d<h;++d)p=e[d],f={},f[a.axis]=a.parse(_(p,u),d),c.push(Ea(_(p,l),f,n,d));return c}updateRangeFromParsed(t,e,i,r){super.updateRangeFromParsed(t,e,i,r);const a=i._custom;a&&e===this._cachedMeta.vScale&&(t.min=Math.min(t.min,a.min),t.max=Math.max(t.max,a.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const e=this._cachedMeta,{iScale:i,vScale:r}=e,a=this.getParsed(t),n=a._custom,o=Ta(n)?"["+n.start+", "+n.end+"]":""+r.getLabelForValue(a[r.axis]);return{label:""+i.getLabelForValue(a[i.axis]),value:o}}initialize(){this.enableOptionSharing=!0,super.initialize(),this._cachedMeta.stack=this.getDataset().stack}update(t){const e=this._cachedMeta;this.updateElements(e.data,0,e.data.length,t)}updateElements(t,e,r,a){const n="reset"===a,{index:o,_cachedMeta:{vScale:s}}=this,u=s.getBasePixel(),l=s.isHorizontal(),c=this._getRuler(),{sharedOptions:d,includeOptions:h}=this._getSharedOptions(e,a);for(let f=e;f<e+r;f++){const e=this.getParsed(f),r=n||i(e[s.axis])?{base:u,head:u}:this._calculateBarValuePixels(f),p=this._calculateBarIndexPixels(f,c),m=(e._stacks||{})[s.axis],b={horizontal:l,base:r.base,enableBorderRadius:!m||Ta(e._custom)||o===m._top||o===m._bottom,x:l?r.head:p.center,y:l?p.center:r.head,height:l?p.size:Math.abs(r.size),width:l?Math.abs(r.size):p.size};h&&(b.options=d||this.resolveDataElementOptions(f,t[f].active?"active":a));const g=b.options||t[f].options;Pa(b,g,m,o),Oa(b,g,c.ratio),this.updateElement(t[f],f,b,a)}}_getStacks(t,e){const{iScale:r}=this._cachedMeta,a=r.getMatchingVisibleMetas(this._type).filter((t=>t.controller.options.grouped)),n=r.options.stacked,o=[],s=t=>{const r=t.controller.getParsed(e),a=r&&r[t.vScale.axis];if(i(a)||isNaN(a))return!0};for(const i of a)if((void 0===e||!s(i))&&((!1===n||-1===o.indexOf(i.stack)||void 0===n&&void 0===i.stack)&&o.push(i.stack),i.index===t))break;return o.length||o.push(void 0),o}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,i){const r=this._getStacks(t,i),a=void 0!==e?r.indexOf(e):-1;return-1===a?r.length-1:a}_getRuler(){const t=this.options,e=this._cachedMeta,i=e.iScale,r=[];let a,n;for(a=0,n=e.data.length;a<n;++a)r.push(i.getPixelForValue(this.getParsed(a)[i.axis],a));const o=t.barThickness;return{min:o||Sa(e),pixels:r,start:i._startPixel,end:i._endPixel,stackCount:this._getStackCount(),scale:i,grouped:t.grouped,ratio:o?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:e,_stacked:r},options:{base:a,minBarLength:n}}=this,o=a||0,s=this.getParsed(t),u=s._custom,l=Ta(u);let c,d,h=s[e.axis],f=0,p=r?this.applyStack(e,s,r):h;p!==h&&(f=p-h,p=h),l&&(h=u.barStart,p=u.barEnd-u.barStart,0!==h&&I(h)!==I(u.barEnd)&&(f=0),f+=h);const m=i(a)||l?f:a;let b=e.getPixelForValue(m);if(c=this.chart.getDataVisibility(t)?e.getPixelForValue(f+p):b,d=c-b,Math.abs(d)<n){d=function(t,e,i){return 0!==t?I(t):(e.isHorizontal()?1:-1)*(e.min>=i?1:-1)}(d,e,o)*n,h===o&&(b-=d/2);const t=e.getPixelForDecimal(0),i=e.getPixelForDecimal(1),r=Math.min(t,i),a=Math.max(t,i);b=Math.max(Math.min(b,a),r),c=b+d}if(b===e.getPixelForValue(o)){const t=I(d)*e.getLineWidthForValue(o)/2;b+=t,d-=t}return{size:d,base:b,head:c,center:c+d/2}}_calculateBarIndexPixels(t,e){const r=e.scale,a=this.options,n=a.skipNull,o=s(a.maxBarThickness,1/0);let u,l;if(e.grouped){const r=n?this._getStackCount(t):e.stackCount,s="flex"===a.barThickness?function(t,e,i,r){const a=e.pixels,n=a[t];let o=t>0?a[t-1]:null,s=t<a.length-1?a[t+1]:null;const u=i.categoryPercentage;null===o&&(o=n-(null===s?e.end-e.start:s-n)),null===s&&(s=n+n-o);const l=n-(n-Math.min(o,s))/2*u;return{chunk:Math.abs(s-o)/2*u/r,ratio:i.barPercentage,start:l}}(t,e,a,r):function(t,e,r,a){const n=r.barThickness;let o,s;return i(n)?(o=e.min*r.categoryPercentage,s=r.barPercentage):(o=n*a,s=1),{chunk:o/a,ratio:s,start:e.pixels[t]-o/2}}(t,e,a,r),c=this._getStackIndex(this.index,this._cachedMeta.stack,n?t:void 0);u=s.start+s.chunk*c+s.chunk/2,l=Math.min(o,s.chunk*s.ratio)}else u=r.getPixelForValue(this.getParsed(t)[r.axis],t),l=Math.min(o,e.min*e.ratio);return{base:u-l/2,head:u+l/2,center:u,size:l}}draw(){const t=this._cachedMeta,e=t.vScale,i=t.data,r=i.length;let a=0;for(;a<r;++a)null!==this.getParsed(a)[e.axis]&&i[a].draw(this._ctx)}}Ma.id="bar",Ma.defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}},Ma.overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};class Da extends zr{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,e,i,r){const a=super.parsePrimitiveData(t,e,i,r);for(let t=0;t<a.length;t++)a[t]._custom=this.resolveDataElementOptions(t+i).radius;return a}parseArrayData(t,e,i,r){const a=super.parseArrayData(t,e,i,r);for(let t=0;t<a.length;t++){const r=e[i+t];a[t]._custom=s(r[2],this.resolveDataElementOptions(t+i).radius)}return a}parseObjectData(t,e,i,r){const a=super.parseObjectData(t,e,i,r);for(let t=0;t<a.length;t++){const r=e[i+t];a[t]._custom=s(r&&r.r&&+r.r,this.resolveDataElementOptions(t+i).radius)}return a}getMaxOverflow(){const t=this._cachedMeta.data;let e=0;for(let i=t.length-1;i>=0;--i)e=Math.max(e,t[i].size(this.resolveDataElementOptions(i))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,{xScale:i,yScale:r}=e,a=this.getParsed(t),n=i.getLabelForValue(a.x),o=r.getLabelForValue(a.y),s=a._custom;return{label:e.label,value:"("+n+", "+o+(s?", "+s:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,i,r){const a="reset"===r,{iScale:n,vScale:o}=this._cachedMeta,{sharedOptions:s,includeOptions:u}=this._getSharedOptions(e,r),l=n.axis,c=o.axis;for(let d=e;d<e+i;d++){const e=t[d],i=!a&&this.getParsed(d),h={},f=h[l]=a?n.getPixelForDecimal(.5):n.getPixelForValue(i[l]),p=h[c]=a?o.getBasePixel():o.getPixelForValue(i[c]);h.skip=isNaN(f)||isNaN(p),u&&(h.options=s||this.resolveDataElementOptions(d,e.active?"active":r),a&&(h.options.radius=0)),this.updateElement(e,d,h,r)}}resolveDataElementOptions(t,e){const i=this.getParsed(t);let r=super.resolveDataElementOptions(t,e);r.$shared&&(r=Object.assign({},r,{$shared:!1}));const a=r.radius;return"active"!==e&&(r.radius=0),r.radius+=s(i&&i._custom,a),r}}Da.id="bubble",Da.defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}},Da.overrides={scales:{x:{type:"linear"},y:{type:"linear"}},plugins:{tooltip:{callbacks:{title:()=>""}}}};class za extends zr{constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const i=this.getDataset().data,r=this._cachedMeta;if(!1===this._parsing)r._parsed=i;else{let n,o,s=t=>+i[t];if(a(i[t])){const{key:t="value"}=this._parsing;s=e=>+_(i[e],t)}for(n=t,o=t+e;n<o;++n)r._parsed[n]=s(n)}}_getRotation(){return V(this.options.rotation-90)}_getCircumference(){return V(this.options.circumference)}_getRotationExtents(){let t=P,e=-P;for(let i=0;i<this.chart.data.datasets.length;++i)if(this.chart.isDatasetVisible(i)){const r=this.chart.getDatasetMeta(i).controller,a=r._getRotation(),n=r._getCircumference();t=Math.min(t,a),e=Math.max(e,a+n)}return{rotation:t,circumference:e-t}}update(t){const e=this.chart,{chartArea:i}=e,r=this._cachedMeta,a=r.data,n=this.getMaxBorderWidth()+this.getMaxOffset(a)+this.options.spacing,o=Math.max((Math.min(i.width,i.height)-n)/2,0),s=Math.min(u(this.options.cutout,o),1),c=this._getRingWeight(this.index),{circumference:d,rotation:h}=this._getRotationExtents(),{ratioX:f,ratioY:p,offsetX:m,offsetY:b}=function(t,e,i){let r=1,a=1,n=0,o=0;if(e<P){const s=t,u=s+e,l=Math.cos(s),c=Math.sin(s),d=Math.cos(u),h=Math.sin(u),f=(t,e,r)=>X(t,s,u,!0)?1:Math.max(e,e*i,r,r*i),p=(t,e,r)=>X(t,s,u,!0)?-1:Math.min(e,e*i,r,r*i),m=f(0,l,d),b=f(M,c,h),g=p(T,l,d),v=p(T+M,c,h);r=(m-g)/2,a=(b-v)/2,n=-(m+g)/2,o=-(b+v)/2}return{ratioX:r,ratioY:a,offsetX:n,offsetY:o}}(h,d,s),g=(i.width-n)/f,v=(i.height-n)/p,y=Math.max(Math.min(g,v)/2,0),_=l(this.options.radius,y),x=(_-Math.max(_*s,0))/this._getVisibleDatasetWeightTotal();this.offsetX=m*_,this.offsetY=b*_,r.total=this.calculateTotal(),this.outerRadius=_-x*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-x*c,0),this.updateElements(a,0,a.length,t)}_circumference(t,e){const i=this.options,r=this._cachedMeta,a=this._getCircumference();return e&&i.animation.animateRotate||!this.chart.getDataVisibility(t)||null===r._parsed[t]||r.data[t].hidden?0:this.calculateCircumference(r._parsed[t]*a/P)}updateElements(t,e,i,r){const a="reset"===r,n=this.chart,o=n.chartArea,s=n.options.animation,u=(o.left+o.right)/2,l=(o.top+o.bottom)/2,c=a&&s.animateScale,d=c?0:this.innerRadius,h=c?0:this.outerRadius,{sharedOptions:f,includeOptions:p}=this._getSharedOptions(e,r);let m,b=this._getRotation();for(m=0;m<e;++m)b+=this._circumference(m,a);for(m=e;m<e+i;++m){const e=this._circumference(m,a),i=t[m],n={x:u+this.offsetX,y:l+this.offsetY,startAngle:b,endAngle:b+e,circumference:e,outerRadius:h,innerRadius:d};p&&(n.options=f||this.resolveDataElementOptions(m,i.active?"active":r)),b+=e,this.updateElement(i,m,n,r)}}calculateTotal(){const t=this._cachedMeta,e=t.data;let i,r=0;for(i=0;i<e.length;i++){const a=t._parsed[i];null===a||isNaN(a)||!this.chart.getDataVisibility(i)||e[i].hidden||(r+=Math.abs(a))}return r}calculateCircumference(t){const e=this._cachedMeta.total;return e>0&&!isNaN(t)?P*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,r=i.data.labels||[],a=li(e._parsed[t],i.options.locale);return{label:r[t]||"",value:a}}getMaxBorderWidth(t){let e=0;const i=this.chart;let r,a,n,o,s;if(!t)for(r=0,a=i.data.datasets.length;r<a;++r)if(i.isDatasetVisible(r)){n=i.getDatasetMeta(r),t=n.data,o=n.controller;break}if(!t)return 0;for(r=0,a=t.length;r<a;++r)s=o.resolveDataElementOptions(r),"inner"!==s.borderAlign&&(e=Math.max(e,s.borderWidth||0,s.hoverBorderWidth||0));return e}getMaxOffset(t){let e=0;for(let i=0,r=t.length;i<r;++i){const t=this.resolveDataElementOptions(i);e=Math.max(e,t.offset||0,t.hoverOffset||0)}return e}_getRingWeightOffset(t){let e=0;for(let i=0;i<t;++i)this.chart.isDatasetVisible(i)&&(e+=this._getRingWeight(i));return e}_getRingWeight(t){return Math.max(s(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}za.id="doughnut",za.defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"},za.descriptors={_scriptable:t=>"spacing"!==t,_indexable:t=>"spacing"!==t},za.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i}}=t.legend.options;return e.labels.map(((e,r)=>{const a=t.getDatasetMeta(0).controller.getStyle(r);return{text:e,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,lineWidth:a.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(r),index:r}}))}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label(t){let e=t.label;const i=": "+t.formattedValue;return r(e)?(e=e.slice(),e[0]+=i):e+=i,e}}}}};class La extends zr{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:i,data:r=[],_dataset:a}=e,n=this.chart._animationsDisabled;let{start:o,count:s}=pt(e,r,n);this._drawStart=o,this._drawCount=s,mt(e)&&(o=0,s=r.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!a._decimated,i.points=r;const u=this.resolveDatasetElementOptions(t);this.options.showLine||(u.borderWidth=0),u.segment=this.options.segment,this.updateElement(i,void 0,{animated:!n,options:u},t),this.updateElements(r,o,s,t)}updateElements(t,e,r,a){const n="reset"===a,{iScale:o,vScale:s,_stacked:u,_dataset:l}=this._cachedMeta,{sharedOptions:c,includeOptions:d}=this._getSharedOptions(e,a),h=o.axis,f=s.axis,{spanGaps:p,segment:m}=this.options,b=R(p)?p:Number.POSITIVE_INFINITY,g=this.chart._animationsDisabled||n||"none"===a;let v=e>0&&this.getParsed(e-1);for(let p=e;p<e+r;++p){const e=t[p],r=this.getParsed(p),y=g?e:{},_=i(r[f]),x=y[h]=o.getPixelForValue(r[h],p),k=y[f]=n||_?s.getBasePixel():s.getPixelForValue(u?this.applyStack(s,r,u):r[f],p);y.skip=isNaN(x)||isNaN(k)||_,y.stop=p>0&&Math.abs(r[h]-v[h])>b,m&&(y.parsed=r,y.raw=l.data[p]),d&&(y.options=c||this.resolveDataElementOptions(p,e.active?"active":a)),g||this.updateElement(e,p,y,a),v=r}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,i=e.options&&e.options.borderWidth||0,r=t.data||[];if(!r.length)return i;const a=r[0].size(this.resolveDataElementOptions(0)),n=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(i,a,n)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}La.id="line",La.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},La.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class Ia extends zr{constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,r=i.data.labels||[],a=li(e._parsed[t].r,i.options.locale);return{label:r[t]||"",value:a}}parseObjectData(t,e,i,r){return Ye.bind(this)(t,e,i,r)}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}getMinMax(){const t=this._cachedMeta,e={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach(((t,i)=>{const r=this.getParsed(i).r;!isNaN(r)&&this.chart.getDataVisibility(i)&&(r<e.min&&(e.min=r),r>e.max&&(e.max=r))})),e}_updateRadius(){const t=this.chart,e=t.chartArea,i=t.options,r=Math.min(e.right-e.left,e.bottom-e.top),a=Math.max(r/2,0),n=(a-Math.max(i.cutoutPercentage?a/100*i.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=a-n*this.index,this.innerRadius=this.outerRadius-n}updateElements(t,e,i,r){const a="reset"===r,n=this.chart,o=n.options.animation,s=this._cachedMeta.rScale,u=s.xCenter,l=s.yCenter,c=s.getIndexAngle(0)-.5*T;let d,h=c;const f=360/this.countVisibleElements();for(d=0;d<e;++d)h+=this._computeAngle(d,r,f);for(d=e;d<e+i;d++){const e=t[d];let i=h,p=h+this._computeAngle(d,r,f),m=n.getDataVisibility(d)?s.getDistanceFromCenterForValue(this.getParsed(d).r):0;h=p,a&&(o.animateScale&&(m=0),o.animateRotate&&(i=p=c));const b={x:u,y:l,innerRadius:0,outerRadius:m,startAngle:i,endAngle:p,options:this.resolveDataElementOptions(d,e.active?"active":r)};this.updateElement(e,d,b,r)}}countVisibleElements(){const t=this._cachedMeta;let e=0;return t.data.forEach(((t,i)=>{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&e++})),e}_computeAngle(t,e,i){return this.chart.getDataVisibility(t)?V(this.resolveDataElementOptions(t,e).angle||i):0}}Ia.id="polarArea",Ia.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},Ia.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i}}=t.legend.options;return e.labels.map(((e,r)=>{const a=t.getDatasetMeta(0).controller.getStyle(r);return{text:e,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,lineWidth:a.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(r),index:r}}))}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label:t=>t.chart.data.labels[t.dataIndex]+": "+t.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class Fa extends za{}Fa.id="pie",Fa.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class qa extends zr{getLabelAndValue(t){const e=this._cachedMeta.vScale,i=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(i[e.axis])}}parseObjectData(t,e,i,r){return Ye.bind(this)(t,e,i,r)}update(t){const e=this._cachedMeta,i=e.dataset,r=e.data||[],a=e.iScale.getLabels();if(i.points=r,"resize"!==t){const e=this.resolveDatasetElementOptions(t);this.options.showLine||(e.borderWidth=0);const n={_loop:!0,_fullLoop:a.length===r.length,options:e};this.updateElement(i,void 0,n,t)}this.updateElements(r,0,r.length,t)}updateElements(t,e,i,r){const a=this._cachedMeta.rScale,n="reset"===r;for(let o=e;o<e+i;o++){const e=t[o],i=this.resolveDataElementOptions(o,e.active?"active":r),s=a.getPointPositionForValue(o,this.getParsed(o).r),u=n?a.xCenter:s.x,l=n?a.yCenter:s.y,c={x:u,y:l,angle:s.angle,skip:isNaN(u)||isNaN(l),options:i};this.updateElement(e,o,c,r)}}}qa.id="radar",qa.defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}},qa.overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};class Ra extends zr{update(t){const e=this._cachedMeta,{data:i=[]}=e,r=this.chart._animationsDisabled;let{start:a,count:n}=pt(e,i,r);if(this._drawStart=a,this._drawCount=n,mt(e)&&(a=0,n=i.length),this.options.showLine){const{dataset:a,_dataset:n}=e;a._chart=this.chart,a._datasetIndex=this.index,a._decimated=!!n._decimated,a.points=i;const o=this.resolveDatasetElementOptions(t);o.segment=this.options.segment,this.updateElement(a,void 0,{animated:!r,options:o},t)}this.updateElements(i,a,n,t)}addElements(){const{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=Gr.getElement("line")),super.addElements()}updateElements(t,e,r,a){const n="reset"===a,{iScale:o,vScale:s,_stacked:u,_dataset:l}=this._cachedMeta,c=this.resolveDataElementOptions(e,a),d=this.getSharedOptions(c),h=this.includeOptions(a,d),f=o.axis,p=s.axis,{spanGaps:m,segment:b}=this.options,g=R(m)?m:Number.POSITIVE_INFINITY,v=this.chart._animationsDisabled||n||"none"===a;let y=e>0&&this.getParsed(e-1);for(let c=e;c<e+r;++c){const e=t[c],r=this.getParsed(c),m=v?e:{},_=i(r[p]),x=m[f]=o.getPixelForValue(r[f],c),k=m[p]=n||_?s.getBasePixel():s.getPixelForValue(u?this.applyStack(s,r,u):r[p],c);m.skip=isNaN(x)||isNaN(k)||_,m.stop=c>0&&Math.abs(r[f]-y[f])>g,b&&(m.parsed=r,m.raw=l.data[c]),h&&(m.options=d||this.resolveDataElementOptions(c,e.active?"active":a)),v||this.updateElement(e,c,m,a),y=r}this.updateSharedOptions(d,a,c)}getMaxOverflow(){const t=this._cachedMeta,e=t.data||[];if(!this.options.showLine){let t=0;for(let i=e.length-1;i>=0;--i)t=Math.max(t,e[i].size(this.resolveDataElementOptions(i))/2);return t>0&&t}const i=t.dataset,r=i.options&&i.options.borderWidth||0;if(!e.length)return r;const a=e[0].size(this.resolveDataElementOptions(0)),n=e[e.length-1].size(this.resolveDataElementOptions(e.length-1));return Math.max(r,a,n)/2}}Ra.id="scatter",Ra.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1},Ra.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title:()=>"",label:t=>"("+t.label+", "+t.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}};var Ba=Object.freeze({__proto__:null,BarController:Ma,BubbleController:Da,DoughnutController:za,LineController:La,PolarAreaController:Ia,PieController:Fa,RadarController:qa,ScatterController:Ra});function Na(t,e,i){const{startAngle:r,pixelMargin:a,x:n,y:o,outerRadius:s,innerRadius:u}=e;let l=a/s;t.beginPath(),t.arc(n,o,s,r-l,i+l),u>a?(l=a/u,t.arc(n,o,u,i+l,r-l,!0)):t.arc(n,o,a,i+M,r-M),t.closePath(),t.clip()}function $a(t,e,i,r){const a=pi(t.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]),n=(i-e)/2,o=Math.min(n,r*e/2),s=t=>{const e=(i-Math.min(n,t))*r/2;return J(t,0,Math.min(n,e))};return{outerStart:s(a.outerStart),outerEnd:s(a.outerEnd),innerStart:J(a.innerStart,0,o),innerEnd:J(a.innerEnd,0,o)}}function Va(t,e,i,r){return{x:i+t*Math.cos(e),y:r+t*Math.sin(e)}}function Ha(t,e,i,r,a,n){const{x:o,y:s,startAngle:u,pixelMargin:l,innerRadius:c}=e,d=Math.max(e.outerRadius+r+i-l,0),h=c>0?c+r+i+l:0;let f=0;const p=a-u;if(r){const t=((c>0?c-r:0)+(d>0?d-r:0))/2;f=(p-(0!==t?p*t/(t+r):p))/2}const m=(p-Math.max(.001,p*d-i/T)/d)/2,b=u+m+f,g=a-m-f,{outerStart:v,outerEnd:y,innerStart:_,innerEnd:x}=$a(e,h,d,g-b),k=d-v,w=d-y,S=b+v/k,E=g-y/w,j=h+_,P=h+x,A=b+_/j,C=g-x/P;if(t.beginPath(),n){if(t.arc(o,s,d,S,E),y>0){const e=Va(w,E,o,s);t.arc(e.x,e.y,y,E,g+M)}const e=Va(P,g,o,s);if(t.lineTo(e.x,e.y),x>0){const e=Va(P,C,o,s);t.arc(e.x,e.y,x,g+M,C+Math.PI)}if(t.arc(o,s,h,g-x/h,b+_/h,!0),_>0){const e=Va(j,A,o,s);t.arc(e.x,e.y,_,A+Math.PI,b-M)}const i=Va(k,b,o,s);if(t.lineTo(i.x,i.y),v>0){const e=Va(k,S,o,s);t.arc(e.x,e.y,v,b-M,S)}}else{t.moveTo(o,s);const e=Math.cos(S)*d+o,i=Math.sin(S)*d+s;t.lineTo(e,i);const r=Math.cos(E)*d+o,a=Math.sin(E)*d+s;t.lineTo(r,a)}t.closePath()}function Ua(t,e,i,r,a,n){const{options:o}=e,{borderWidth:s,borderJoinStyle:u}=o,l="inner"===o.borderAlign;s&&(l?(t.lineWidth=2*s,t.lineJoin=u||"round"):(t.lineWidth=s,t.lineJoin=u||"bevel"),e.fullCircles&&function(t,e,i){const{x:r,y:a,startAngle:n,pixelMargin:o,fullCircles:s}=e,u=Math.max(e.outerRadius-o,0),l=e.innerRadius+o;let c;for(i&&Na(t,e,n+P),t.beginPath(),t.arc(r,a,l,n+P,n,!0),c=0;c<s;++c)t.stroke();for(t.beginPath(),t.arc(r,a,u,n,n+P),c=0;c<s;++c)t.stroke()}(t,e,l),l&&Na(t,e,a),Ha(t,e,i,r,a,n),t.stroke())}class Wa extends Lr{constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,i){const r=this.getProps(["x","y"],i),{angle:a,distance:n}=W(r,{x:t,y:e}),{startAngle:o,endAngle:u,innerRadius:l,outerRadius:c,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),h=this.options.spacing/2,f=s(d,u-o)>=P||X(a,o,u),p=Q(n,l+h,c+h);return f&&p}getCenterPoint(t){const{x:e,y:i,startAngle:r,endAngle:a,innerRadius:n,outerRadius:o}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:s,spacing:u}=this.options,l=(r+a)/2,c=(n+o+u+s)/2;return{x:e+Math.cos(l)*c,y:i+Math.sin(l)*c}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:i}=this,r=(e.offset||0)/2,a=(e.spacing||0)/2,n=e.circular;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=i>P?Math.floor(i/P):0,0===i||this.innerRadius<0||this.outerRadius<0)return;t.save();let o=0;if(r){o=r/2;const e=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(e)*o,Math.sin(e)*o),this.circumference>=T&&(o=r)}t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor,Ua(t,this,o,a,function(t,e,i,r,a){const{fullCircles:n,startAngle:o,circumference:s}=e;let u=e.endAngle;if(n){Ha(t,e,i,r,o+P,a);for(let e=0;e<n;++e)t.fill();isNaN(s)||(u=o+s%P,s%P==0&&(u+=P))}return Ha(t,e,i,r,u,a),t.fill(),u}(t,this,o,a,n),n),t.restore()}}function Ya(t,e,i=e){t.lineCap=s(i.borderCapStyle,e.borderCapStyle),t.setLineDash(s(i.borderDash,e.borderDash)),t.lineDashOffset=s(i.borderDashOffset,e.borderDashOffset),t.lineJoin=s(i.borderJoinStyle,e.borderJoinStyle),t.lineWidth=s(i.borderWidth,e.borderWidth),t.strokeStyle=s(i.borderColor,e.borderColor)}function Ga(t,e,i){t.lineTo(i.x,i.y)}function Ka(t,e,i={}){const r=t.length,{start:a=0,end:n=r-1}=i,{start:o,end:s}=e,u=Math.max(a,o),l=Math.min(n,s),c=a<o&&n<o||a>s&&n>s;return{count:r,start:u,loop:e.loop,ilen:l<u&&!c?r+l-u:l-u}}function Xa(t,e,i,r){const{points:a,options:n}=e,{count:o,start:s,loop:u,ilen:l}=Ka(a,i,r),c=function(t){return t.stepped?Ae:t.tension||"monotone"===t.cubicInterpolationMode?Ce:Ga}(n);let d,h,f,{move:p=!0,reverse:m}=r||{};for(d=0;d<=l;++d)h=a[(s+(m?l-d:d))%o],h.skip||(p?(t.moveTo(h.x,h.y),p=!1):c(t,f,h,m,n.stepped),f=h);return u&&(h=a[(s+(m?l:0))%o],c(t,f,h,m,n.stepped)),!!u}function Ja(t,e,i,r){const a=e.points,{count:n,start:o,ilen:s}=Ka(a,i,r),{move:u=!0,reverse:l}=r||{};let c,d,h,f,p,m,b=0,g=0;const v=t=>(o+(l?s-t:t))%n,y=()=>{f!==p&&(t.lineTo(b,p),t.lineTo(b,f),t.lineTo(b,m))};for(u&&(d=a[v(0)],t.moveTo(d.x,d.y)),c=0;c<=s;++c){if(d=a[v(c)],d.skip)continue;const e=d.x,i=d.y,r=0|e;r===h?(i<f?f=i:i>p&&(p=i),b=(g*b+e)/++g):(y(),t.lineTo(e,i),h=r,g=0,f=p=i),m=i}y()}function Za(t){const e=t.options,i=e.borderDash&&e.borderDash.length;return t._decimated||t._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||i?Xa:Ja}Wa.id="arc",Wa.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0},Wa.defaultRoutes={backgroundColor:"backgroundColor"};const Qa="function"==typeof Path2D;function tn(t,e,i,r){Qa&&!e.options.segment?function(t,e,i,r){let a=e._path;a||(a=e._path=new Path2D,e.path(a,i,r)&&a.closePath()),Ya(t,e.options),t.stroke(a)}(t,e,i,r):function(t,e,i,r){const{segments:a,options:n}=e,o=Za(e);for(const s of a)Ya(t,n,s.style),t.beginPath(),o(t,e,s,{start:i,end:i+r-1})&&t.closePath(),t.stroke()}(t,e,i,r)}class en extends Lr{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const i=this.options;if((i.tension||"monotone"===i.cubicInterpolationMode)&&!i.stepped&&!this._pointsUpdated){const r=i.spanGaps?this._loop:this._fullLoop;ti(this._points,i,t,r,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=Ai(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,i=t.length;return i&&e[t[i-1].end]}interpolate(t,e){const i=this.options,r=t[e],a=this.points,n=Pi(this,{property:e,start:r,end:r});if(!n.length)return;const o=[],s=function(t){return t.stepped?oi:t.tension||"monotone"===t.cubicInterpolationMode?si:ni}(i);let u,l;for(u=0,l=n.length;u<l;++u){const{start:l,end:c}=n[u],d=a[l],h=a[c];if(d===h){o.push(d);continue}const f=s(d,h,Math.abs((r-d[e])/(h[e]-d[e])),i.stepped);f[e]=t[e],o.push(f)}return 1===o.length?o[0]:o}pathSegment(t,e,i){return Za(this)(t,this,e,i)}path(t,e,i){const r=this.segments,a=Za(this);let n=this._loop;e=e||0,i=i||this.points.length-e;for(const o of r)n&=a(t,this,o,{start:e,end:e+i-1});return!!n}draw(t,e,i,r){const a=this.options||{};(this.points||[]).length&&a.borderWidth&&(t.save(),tn(t,this,i,r),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function rn(t,e,i,r){const a=t.options,{[i]:n}=t.getProps([i],r);return Math.abs(e-n)<a.radius+a.hitRadius}en.id="line",en.defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0},en.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"},en.descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t};class an extends Lr{constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,i){const r=this.options,{x:a,y:n}=this.getProps(["x","y"],i);return Math.pow(t-a,2)+Math.pow(e-n,2)<Math.pow(r.hitRadius+r.radius,2)}inXRange(t,e){return rn(this,t,"x",e)}inYRange(t,e){return rn(this,t,"y",e)}getCenterPoint(t){const{x:e,y:i}=this.getProps(["x","y"],t);return{x:e,y:i}}size(t){let e=(t=t||this.options||{}).radius||0;return e=Math.max(e,e&&t.hoverRadius||0),2*(e+(e&&t.borderWidth||0))}draw(t,e){const i=this.options;this.skip||i.radius<.1||!je(this,e,this.size(i)/2)||(t.strokeStyle=i.borderColor,t.lineWidth=i.borderWidth,t.fillStyle=i.backgroundColor,Se(t,i,this.x,this.y))}getRange(){const t=this.options||{};return t.radius+t.hitRadius}}function nn(t,e){const{x:i,y:r,base:a,width:n,height:o}=t.getProps(["x","y","base","width","height"],e);let s,u,l,c,d;return t.horizontal?(d=o/2,s=Math.min(i,a),u=Math.max(i,a),l=r-d,c=r+d):(d=n/2,s=i-d,u=i+d,l=Math.min(r,a),c=Math.max(r,a)),{left:s,top:l,right:u,bottom:c}}function on(t,e,i,r){return t?0:J(e,i,r)}function sn(t){const e=nn(t),i=e.right-e.left,r=e.bottom-e.top,n=function(t,e,i){const r=t.options.borderWidth,a=t.borderSkipped,n=mi(r);return{t:on(a.top,n.top,0,i),r:on(a.right,n.right,0,e),b:on(a.bottom,n.bottom,0,i),l:on(a.left,n.left,0,e)}}(t,i/2,r/2),o=function(t,e,i){const{enableBorderRadius:r}=t.getProps(["enableBorderRadius"]),n=t.options.borderRadius,o=bi(n),s=Math.min(e,i),u=t.borderSkipped,l=r||a(n);return{topLeft:on(!l||u.top||u.left,o.topLeft,0,s),topRight:on(!l||u.top||u.right,o.topRight,0,s),bottomLeft:on(!l||u.bottom||u.left,o.bottomLeft,0,s),bottomRight:on(!l||u.bottom||u.right,o.bottomRight,0,s)}}(t,i/2,r/2);return{outer:{x:e.left,y:e.top,w:i,h:r,radius:o},inner:{x:e.left+n.l,y:e.top+n.t,w:i-n.l-n.r,h:r-n.t-n.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(n.t,n.l)),topRight:Math.max(0,o.topRight-Math.max(n.t,n.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(n.b,n.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(n.b,n.r))}}}}function un(t,e,i,r){const a=null===e,n=null===i,o=t&&!(a&&n)&&nn(t,r);return o&&(a||Q(e,o.left,o.right))&&(n||Q(i,o.top,o.bottom))}function ln(t,e){t.rect(e.x,e.y,e.w,e.h)}function cn(t,e,i={}){const r=t.x!==i.x?-e:0,a=t.y!==i.y?-e:0,n=(t.x+t.w!==i.x+i.w?e:0)-r,o=(t.y+t.h!==i.y+i.h?e:0)-a;return{x:t.x+r,y:t.y+a,w:t.w+n,h:t.h+o,radius:t.radius}}an.id="point",an.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},an.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};class dn extends Lr{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:e,options:{borderColor:i,backgroundColor:r}}=this,{inner:a,outer:n}=sn(this),o=(s=n.radius).topLeft||s.topRight||s.bottomLeft||s.bottomRight?De:ln;var s;t.save(),n.w===a.w&&n.h===a.h||(t.beginPath(),o(t,cn(n,e,a)),t.clip(),o(t,cn(a,-e,n)),t.fillStyle=i,t.fill("evenodd")),t.beginPath(),o(t,cn(a,e)),t.fillStyle=r,t.fill(),t.restore()}inRange(t,e,i){return un(this,t,e,i)}inXRange(t,e){return un(this,t,null,e)}inYRange(t,e){return un(this,null,t,e)}getCenterPoint(t){const{x:e,y:i,base:r,horizontal:a}=this.getProps(["x","y","base","horizontal"],t);return{x:a?(e+r)/2:e,y:a?i:(i+r)/2}}getRange(t){return"x"===t?this.width/2:this.height/2}}dn.id="bar",dn.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0},dn.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var hn=Object.freeze({__proto__:null,ArcElement:Wa,LineElement:en,PointElement:an,BarElement:dn});function fn(t){if(t._decimated){const e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{value:e})}}function pn(t){t.data.datasets.forEach((t=>{fn(t)}))}var mn={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,r)=>{if(!r.enabled)return void pn(t);const a=t.width;t.data.datasets.forEach(((e,n)=>{const{_data:o,indexAxis:s}=e,u=t.getDatasetMeta(n),l=o||e.data;if("y"===yi([s,t.options.indexAxis]))return;if(!u.controller.supportsDecimation)return;const c=t.scales[u.xAxisID];if("linear"!==c.type&&"time"!==c.type)return;if(t.options.parsing)return;let d,{start:h,count:f}=function(t,e){const i=e.length;let r,a=0;const{iScale:n}=t,{min:o,max:s,minDefined:u,maxDefined:l}=n.getUserBounds();return u&&(a=J(et(e,n.axis,o).lo,0,i-1)),r=l?J(et(e,n.axis,s).hi+1,a,i)-a:i-a,{start:a,count:r}}(u,l);if(f<=(r.threshold||4*a))fn(e);else{switch(i(o)&&(e._data=l,delete e.data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(t){this._data=t}})),r.algorithm){case"lttb":d=function(t,e,i,r,a){const n=a.samples||r;if(n>=i)return t.slice(e,e+i);const o=[],s=(i-2)/(n-2);let u=0;const l=e+i-1;let c,d,h,f,p,m=e;for(o[u++]=t[m],c=0;c<n-2;c++){let r,a=0,n=0;const l=Math.floor((c+1)*s)+1+e,b=Math.min(Math.floor((c+2)*s)+1,i)+e,g=b-l;for(r=l;r<b;r++)a+=t[r].x,n+=t[r].y;a/=g,n/=g;const v=Math.floor(c*s)+1+e,y=Math.min(Math.floor((c+1)*s)+1,i)+e,{x:_,y:x}=t[m];for(h=f=-1,r=v;r<y;r++)f=.5*Math.abs((_-a)*(t[r].y-x)-(_-t[r].x)*(n-x)),f>h&&(h=f,d=t[r],p=r);o[u++]=d,m=p}return o[u++]=t[l],o}(l,h,f,a,r);break;case"min-max":d=function(t,e,r,a){let n,o,s,u,l,c,d,h,f,p,m=0,b=0;const g=[],v=e+r-1,y=t[e].x,_=t[v].x-y;for(n=e;n<e+r;++n){o=t[n],s=(o.x-y)/_*a,u=o.y;const e=0|s;if(e===l)u<f?(f=u,c=n):u>p&&(p=u,d=n),m=(b*m+o.x)/++b;else{const r=n-1;if(!i(c)&&!i(d)){const e=Math.min(c,d),i=Math.max(c,d);e!==h&&e!==r&&g.push({...t[e],x:m}),i!==h&&i!==r&&g.push({...t[i],x:m})}n>0&&r!==h&&g.push(t[r]),g.push(o),l=e,b=0,f=p=u,c=d=h=n}}return g}(l,h,f,a);break;default:throw new Error(`Unsupported decimation algorithm '${r.algorithm}'`)}e._decimated=d}}))},destroy(t){pn(t)}};function bn(t,e,i,r){if(r)return;let a=e[t],n=i[t];return"angle"===t&&(a=K(a),n=K(n)),{property:t,start:a,end:n}}function gn(t,e,i){for(;e>t;e--){const t=i[e];if(!isNaN(t.x)&&!isNaN(t.y))break}return e}function vn(t,e,i,r){return t&&e?r(t[i],e[i]):t?t[i]:e?e[i]:0}function yn(t,e){let i=[],a=!1;return r(t)?(a=!0,i=t):i=function(t,e){const{x:i=null,y:r=null}=t||{},a=e.points,n=[];return e.segments.forEach((({start:t,end:e})=>{e=gn(t,e,a);const o=a[t],s=a[e];null!==r?(n.push({x:o.x,y:r}),n.push({x:s.x,y:r})):null!==i&&(n.push({x:i,y:o.y}),n.push({x:i,y:s.y}))})),n}(t,e),i.length?new en({points:i,options:{tension:0},_loop:a,_fullLoop:a}):null}function _n(t){return t&&!1!==t.fill}function xn(t,e,i){let r=t[e].fill;const a=[e];let o;if(!i)return r;for(;!1!==r&&-1===a.indexOf(r);){if(!n(r))return r;if(o=t[r],!o)return!1;if(o.visible)return r;a.push(r),r=o.fill}return!1}function kn(t,e,i){const r=function(t){const e=t.options,i=e.fill;let r=s(i&&i.target,i);return void 0===r&&(r=!!e.backgroundColor),!1!==r&&null!==r&&(!0===r?"origin":r)}(t);if(a(r))return!isNaN(r.value)&&r;let o=parseFloat(r);return n(o)&&Math.floor(o)===o?function(t,e,i,r){return"-"!==t&&"+"!==t||(i=e+i),!(i===e||i<0||i>=r)&&i}(r[0],e,o,i):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function wn(t,e,i){const r=[];for(let a=0;a<i.length;a++){const n=i[a],{first:o,last:s,point:u}=Sn(n,e,"x");if(!(!u||o&&s))if(o)r.unshift(u);else if(t.push(u),!s)break}t.push(...r)}function Sn(t,e,i){const r=t.interpolate(e,i);if(!r)return{};const a=r[i],n=t.segments,o=t.points;let s=!1,u=!1;for(let t=0;t<n.length;t++){const e=n[t],r=o[e.start][i],l=o[e.end][i];if(Q(a,r,l)){s=a===r,u=a===l;break}}return{first:s,last:u,point:r}}class En{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,e,i){const{x:r,y:a,radius:n}=this;return e=e||{start:0,end:P},t.arc(r,a,n,e.end,e.start,!0),!i.bounds}interpolate(t){const{x:e,y:i,radius:r}=this,a=t.angle;return{x:e+Math.cos(a)*r,y:i+Math.sin(a)*r,angle:a}}}function jn(t){const{chart:e,fill:i,line:r}=t;if(n(i))return function(t,e){const i=t.getDatasetMeta(e);return i&&t.isDatasetVisible(e)?i.dataset:null}(e,i);if("stack"===i)return function(t){const{scale:e,index:i,line:r}=t,a=[],n=r.segments,o=r.points,s=function(t,e){const i=[],r=t.getMatchingVisibleMetas("line");for(let t=0;t<r.length;t++){const a=r[t];if(a.index===e)break;a.hidden||i.unshift(a.dataset)}return i}(e,i);s.push(yn({x:null,y:e.bottom},r));for(let t=0;t<n.length;t++){const e=n[t];for(let t=e.start;t<=e.end;t++)wn(a,o[t],s)}return new en({points:a,options:{}})}(t);if("shape"===i)return!0;const o=function(t){return(t.scale||{}).getPointPositionForValue?function(t){const{scale:e,fill:i}=t,r=e.options,n=e.getLabels().length,o=r.reverse?e.max:e.min,s=function(t,e,i){let r;return r="start"===t?i:"end"===t?e.options.reverse?e.min:e.max:a(t)?t.value:e.getBaseValue(),r}(i,e,o),u=[];if(r.grid.circular){const t=e.getPointPositionForValue(0,o);return new En({x:t.x,y:t.y,radius:e.getDistanceFromCenterForValue(s)})}for(let t=0;t<n;++t)u.push(e.getPointPositionForValue(t,s));return u}(t):function(t){const{scale:e={},fill:i}=t,r=function(t,e){let i=null;return"start"===t?i=e.bottom:"end"===t?i=e.top:a(t)?i=e.getPixelForValue(t.value):e.getBasePixel&&(i=e.getBasePixel()),i}(i,e);if(n(r)){const t=e.isHorizontal();return{x:t?r:null,y:t?null:r}}return null}(t)}(t);return o instanceof En?o:yn(o,r)}function Tn(t,e,i){const r=jn(e),{line:a,scale:n,axis:o}=e,s=a.options,u=s.fill,l=s.backgroundColor,{above:c=l,below:d=l}=u||{};r&&a.points.length&&(Te(t,i),function(t,e){const{line:i,target:r,above:a,below:n,area:o,scale:s}=e,u=i._loop?"angle":e.axis;t.save(),"x"===u&&n!==a&&(Pn(t,r,o.top),An(t,{line:i,target:r,color:a,scale:s,property:u}),t.restore(),t.save(),Pn(t,r,o.bottom)),An(t,{line:i,target:r,color:n,scale:s,property:u}),t.restore()}(t,{line:a,target:r,above:c,below:d,area:i,scale:n,axis:o}),Pe(t))}function Pn(t,e,i){const{segments:r,points:a}=e;let n=!0,o=!1;t.beginPath();for(const s of r){const{start:r,end:u}=s,l=a[r],c=a[gn(r,u,a)];n?(t.moveTo(l.x,l.y),n=!1):(t.lineTo(l.x,i),t.lineTo(l.x,l.y)),o=!!e.pathSegment(t,s,{move:o}),o?t.closePath():t.lineTo(c.x,i)}t.lineTo(e.first().x,i),t.closePath(),t.clip()}function An(t,e){const{line:i,target:r,property:a,color:n,scale:o}=e,s=function(t,e,i){const r=t.segments,a=t.points,n=e.points,o=[];for(const t of r){let{start:r,end:s}=t;s=gn(r,s,a);const u=bn(i,a[r],a[s],t.loop);if(!e.segments){o.push({source:t,target:u,start:a[r],end:a[s]});continue}const l=Pi(e,u);for(const e of l){const r=bn(i,n[e.start],n[e.end],e.loop),s=Ti(t,a,r);for(const t of s)o.push({source:t,target:e,start:{[i]:vn(u,r,"start",Math.max)},end:{[i]:vn(u,r,"end",Math.min)}})}}return o}(i,r,a);for(const{source:e,target:u,start:l,end:c}of s){const{style:{backgroundColor:s=n}={}}=e,d=!0!==r;t.save(),t.fillStyle=s,Cn(t,o,d&&bn(a,l,c)),t.beginPath();const h=!!i.pathSegment(t,e);let f;if(d){h?t.closePath():On(t,r,c,a);const e=!!r.pathSegment(t,u,{move:h,reverse:!0});f=h&&e,f||On(t,r,l,a)}t.closePath(),t.fill(f?"evenodd":"nonzero"),t.restore()}}function Cn(t,e,i){const{top:r,bottom:a}=e.chart.chartArea,{property:n,start:o,end:s}=i||{};"x"===n&&(t.beginPath(),t.rect(o,r,s-o,a-r),t.clip())}function On(t,e,i,r){const a=e.interpolate(i,r);a&&t.lineTo(a.x,a.y)}var Mn={id:"filler",afterDatasetsUpdate(t,e,i){const r=(t.data.datasets||[]).length,a=[];let n,o,s,u;for(o=0;o<r;++o)n=t.getDatasetMeta(o),s=n.dataset,u=null,s&&s.options&&s instanceof en&&(u={visible:t.isDatasetVisible(o),index:o,fill:kn(s,o,r),chart:t,axis:n.controller.options.indexAxis,scale:n.vScale,line:s}),n.$filler=u,a.push(u);for(o=0;o<r;++o)u=a[o],u&&!1!==u.fill&&(u.fill=xn(a,o,i.propagate))},beforeDraw(t,e,i){const r="beforeDraw"===i.drawTime,a=t.getSortedVisibleDatasetMetas(),n=t.chartArea;for(let e=a.length-1;e>=0;--e){const i=a[e].$filler;i&&(i.line.updateControlPoints(n,i.axis),r&&i.fill&&Tn(t.ctx,i,n))}},beforeDatasetsDraw(t,e,i){if("beforeDatasetsDraw"!==i.drawTime)return;const r=t.getSortedVisibleDatasetMetas();for(let e=r.length-1;e>=0;--e){const i=r[e].$filler;_n(i)&&Tn(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,i){const r=e.meta.$filler;_n(r)&&"beforeDatasetDraw"===i.drawTime&&Tn(t.ctx,r,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Dn=(t,e)=>{let{boxHeight:i=e,boxWidth:r=e}=t;return t.usePointStyle&&(i=Math.min(i,e),r=t.pointStyleWidth||Math.min(r,e)),{boxWidth:r,boxHeight:i,itemHeight:Math.max(e,i)}};class zn extends Lr{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,i){this.maxWidth=t,this.maxHeight=e,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=c(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter((e=>t.filter(e,this.chart.data)))),t.sort&&(e=e.sort(((e,i)=>t.sort(e,i,this.chart.data)))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const i=t.labels,r=vi(i.font),a=r.size,n=this._computeTitleHeight(),{boxWidth:o,itemHeight:s}=Dn(i,a);let u,l;e.font=r.string,this.isHorizontal()?(u=this.maxWidth,l=this._fitRows(n,a,o,s)+10):(l=this.maxHeight,u=this._fitCols(n,a,o,s)+10),this.width=Math.min(u,t.maxWidth||this.maxWidth),this.height=Math.min(l,t.maxHeight||this.maxHeight)}_fitRows(t,e,i,r){const{ctx:a,maxWidth:n,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],u=this.lineWidths=[0],l=r+o;let c=t;a.textAlign="left",a.textBaseline="middle";let d=-1,h=-l;return this.legendItems.forEach(((t,f)=>{const p=i+e/2+a.measureText(t.text).width;(0===f||u[u.length-1]+p+2*o>n)&&(c+=l,u[u.length-(f>0?0:1)]=0,h+=l,d++),s[f]={left:0,top:h,row:d,width:p,height:r},u[u.length-1]+=p+o})),c}_fitCols(t,e,i,r){const{ctx:a,maxHeight:n,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],u=this.columnSizes=[],l=n-t;let c=o,d=0,h=0,f=0,p=0;return this.legendItems.forEach(((t,n)=>{const m=i+e/2+a.measureText(t.text).width;n>0&&h+r+2*o>l&&(c+=d+o,u.push({width:d,height:h}),f+=d+o,p++,d=h=0),s[n]={left:f,top:h,col:p,width:m,height:r},d=Math.max(d,m),h+=r+o})),c+=d,u.push({width:d,height:h}),c}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:i,labels:{padding:r},rtl:a}}=this,n=ki(a,this.left,this.width);if(this.isHorizontal()){let a=0,o=ht(i,this.left+r,this.right-this.lineWidths[a]);for(const s of e)a!==s.row&&(a=s.row,o=ht(i,this.left+r,this.right-this.lineWidths[a])),s.top+=this.top+t+r,s.left=n.leftForLtr(n.x(o),s.width),o+=s.width+r}else{let a=0,o=ht(i,this.top+t+r,this.bottom-this.columnSizes[a].height);for(const s of e)s.col!==a&&(a=s.col,o=ht(i,this.top+t+r,this.bottom-this.columnSizes[a].height)),s.top=o,s.left+=this.left+r,s.left=n.leftForLtr(n.x(s.left),s.width),o+=s.height+r}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;Te(t,this),this._draw(),Pe(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:i,ctx:r}=this,{align:a,labels:n}=t,o=ae.color,u=ki(t.rtl,this.left,this.width),l=vi(n.font),{color:c,padding:d}=n,h=l.size,f=h/2;let p;this.drawTitle(),r.textAlign=u.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=l.string;const{boxWidth:m,boxHeight:b,itemHeight:g}=Dn(n,h),v=this.isHorizontal(),y=this._computeTitleHeight();p=v?{x:ht(a,this.left+d,this.right-i[0]),y:this.top+d+y,line:0}:{x:this.left+d,y:ht(a,this.top+y+d,this.bottom-e[0].height),line:0},wi(this.ctx,t.textDirection);const _=g+d;this.legendItems.forEach(((x,k)=>{r.strokeStyle=x.fontColor||c,r.fillStyle=x.fontColor||c;const w=r.measureText(x.text).width,S=u.textAlign(x.textAlign||(x.textAlign=n.textAlign)),E=m+f+w;let j=p.x,T=p.y;u.setWidth(this.width),v?k>0&&j+E+d>this.right&&(T=p.y+=_,p.line++,j=p.x=ht(a,this.left+d,this.right-i[p.line])):k>0&&T+_>this.bottom&&(j=p.x=j+e[p.line].width+d,p.line++,T=p.y=ht(a,this.top+y+d,this.bottom-e[p.line].height));(function(t,e,i){if(isNaN(m)||m<=0||isNaN(b)||b<0)return;r.save();const a=s(i.lineWidth,1);if(r.fillStyle=s(i.fillStyle,o),r.lineCap=s(i.lineCap,"butt"),r.lineDashOffset=s(i.lineDashOffset,0),r.lineJoin=s(i.lineJoin,"miter"),r.lineWidth=a,r.strokeStyle=s(i.strokeStyle,o),r.setLineDash(s(i.lineDash,[])),n.usePointStyle){const o={radius:b*Math.SQRT2/2,pointStyle:i.pointStyle,rotation:i.rotation,borderWidth:a},s=u.xPlus(t,m/2);Ee(r,o,s,e+f,n.pointStyleWidth&&m)}else{const n=e+Math.max((h-b)/2,0),o=u.leftForLtr(t,m),s=bi(i.borderRadius);r.beginPath(),Object.values(s).some((t=>0!==t))?De(r,{x:o,y:n,w:m,h:b,radius:s}):r.rect(o,n,m,b),r.fill(),0!==a&&r.stroke()}r.restore()})(u.x(j),T,x),j=ft(S,j+m+f,v?j+E:this.right,t.rtl),function(t,e,i){Oe(r,i.text,t,e+g/2,l,{strikethrough:i.hidden,textAlign:u.textAlign(i.textAlign)})}(u.x(j),T,x),v?p.x+=E+d:p.y+=_})),Si(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,i=vi(e.font),r=gi(e.padding);if(!e.display)return;const a=ki(t.rtl,this.left,this.width),n=this.ctx,o=e.position,s=i.size/2,u=r.top+s;let l,c=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),l=this.top+u,c=ht(t.align,c,this.right-d);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);l=u+ht(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const h=ht(o,c,c+d);n.textAlign=a.textAlign(dt(o)),n.textBaseline="middle",n.strokeStyle=e.color,n.fillStyle=e.color,n.font=i.string,Oe(n,e.text,h,l,i)}_computeTitleHeight(){const t=this.options.title,e=vi(t.font),i=gi(t.padding);return t.display?e.lineHeight+i.height:0}_getLegendItemAt(t,e){let i,r,a;if(Q(t,this.left,this.right)&&Q(e,this.top,this.bottom))for(a=this.legendHitBoxes,i=0;i<a.length;++i)if(r=a[i],Q(t,r.left,r.left+r.width)&&Q(e,r.top,r.top+r.height))return this.legendItems[i];return null}handleEvent(t){const e=this.options;if(!function(t,e){return!("mousemove"!==t&&"mouseout"!==t||!e.onHover&&!e.onLeave)||!(!e.onClick||"click"!==t&&"mouseup"!==t)}(t.type,e))return;const i=this._getLegendItemAt(t.x,t.y);if("mousemove"===t.type||"mouseout"===t.type){const n=this._hoveredItem,o=(a=i,null!==(r=n)&&null!==a&&r.datasetIndex===a.datasetIndex&&r.index===a.index);n&&!o&&c(e.onLeave,[t,n,this],this),this._hoveredItem=i,i&&!o&&c(e.onHover,[t,i,this],this)}else i&&c(e.onClick,[t,i,this],this);var r,a}}var Ln={id:"legend",_element:zn,start(t,e,i){const r=t.legend=new zn({ctx:t.ctx,options:i,chart:t});Zi.configure(t,r,i),Zi.addBox(t,r)},stop(t){Zi.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,i){const r=t.legend;Zi.configure(t,r,i),r.options=i},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,i){const r=e.datasetIndex,a=i.chart;a.isDatasetVisible(r)?(a.hide(r),e.hidden=!0):(a.show(r),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:i,pointStyle:r,textAlign:a,color:n}}=t.legend.options;return t._getSortedDatasetMetas().map((t=>{const o=t.controller.getStyle(i?0:void 0),s=gi(o.borderWidth);return{text:e[t.index].label,fillStyle:o.backgroundColor,fontColor:n,hidden:!t.visible,lineCap:o.borderCapStyle,lineDash:o.borderDash,lineDashOffset:o.borderDashOffset,lineJoin:o.borderJoinStyle,lineWidth:(s.width+s.height)/4,strokeStyle:o.borderColor,pointStyle:r||o.pointStyle,rotation:o.rotation,textAlign:a||o.textAlign,borderRadius:0,datasetIndex:t.index}}),this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class In extends Lr{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const i=this.options;if(this.left=0,this.top=0,!i.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const a=r(i.text)?i.text.length:1;this._padding=gi(i.padding);const n=a*vi(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=n:this.width=n}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:i,bottom:r,right:a,options:n}=this,o=n.align;let s,u,l,c=0;return this.isHorizontal()?(u=ht(o,i,a),l=e+t,s=a-i):("left"===n.position?(u=i+t,l=ht(o,r,e),c=-.5*T):(u=a-t,l=ht(o,e,r),c=.5*T),s=r-e),{titleX:u,titleY:l,maxWidth:s,rotation:c}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const i=vi(e.font),r=i.lineHeight/2+this._padding.top,{titleX:a,titleY:n,maxWidth:o,rotation:s}=this._drawArgs(r);Oe(t,e.text,0,0,i,{color:e.color,maxWidth:o,rotation:s,textAlign:dt(e.align),textBaseline:"middle",translation:[a,n]})}}var Fn={id:"title",_element:In,start(t,e,i){!function(t,e){const i=new In({ctx:t.ctx,options:e,chart:t});Zi.configure(t,i,e),Zi.addBox(t,i),t.titleBlock=i}(t,i)},stop(t){const e=t.titleBlock;Zi.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,i){const r=t.titleBlock;Zi.configure(t,r,i),r.options=i},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const qn=new WeakMap;var Rn={id:"subtitle",start(t,e,i){const r=new In({ctx:t.ctx,options:i,chart:t});Zi.configure(t,r,i),Zi.addBox(t,r),qn.set(t,r)},stop(t){Zi.removeBox(t,qn.get(t)),qn.delete(t)},beforeUpdate(t,e,i){const r=qn.get(t);Zi.configure(t,r,i),r.options=i},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Bn={average(t){if(!t.length)return!1;let e,i,r=0,a=0,n=0;for(e=0,i=t.length;e<i;++e){const i=t[e].element;if(i&&i.hasValue()){const t=i.tooltipPosition();r+=t.x,a+=t.y,++n}}return{x:r/n,y:a/n}},nearest(t,e){if(!t.length)return!1;let i,r,a,n=e.x,o=e.y,s=Number.POSITIVE_INFINITY;for(i=0,r=t.length;i<r;++i){const r=t[i].element;if(r&&r.hasValue()){const t=Y(e,r.getCenterPoint());t<s&&(s=t,a=r)}}if(a){const t=a.tooltipPosition();n=t.x,o=t.y}return{x:n,y:o}}};function Nn(t,e){return e&&(r(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function $n(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function Vn(t,e){const{element:i,datasetIndex:r,index:a}=e,n=t.getDatasetMeta(r).controller,{label:o,value:s}=n.getLabelAndValue(a);return{chart:t,label:o,parsed:n.getParsed(a),raw:t.data.datasets[r].data[a],formattedValue:s,dataset:n.getDataset(),dataIndex:a,datasetIndex:r,element:i}}function Hn(t,e){const i=t.chart.ctx,{body:r,footer:a,title:n}=t,{boxWidth:o,boxHeight:s}=e,u=vi(e.bodyFont),l=vi(e.titleFont),c=vi(e.footerFont),h=n.length,f=a.length,p=r.length,m=gi(e.padding);let b=m.height,g=0,v=r.reduce(((t,e)=>t+e.before.length+e.lines.length+e.after.length),0);v+=t.beforeBody.length+t.afterBody.length,h&&(b+=h*l.lineHeight+(h-1)*e.titleSpacing+e.titleMarginBottom),v&&(b+=p*(e.displayColors?Math.max(s,u.lineHeight):u.lineHeight)+(v-p)*u.lineHeight+(v-1)*e.bodySpacing),f&&(b+=e.footerMarginTop+f*c.lineHeight+(f-1)*e.footerSpacing);let y=0;const _=function(t){g=Math.max(g,i.measureText(t).width+y)};return i.save(),i.font=l.string,d(t.title,_),i.font=u.string,d(t.beforeBody.concat(t.afterBody),_),y=e.displayColors?o+2+e.boxPadding:0,d(r,(t=>{d(t.before,_),d(t.lines,_),d(t.after,_)})),y=0,i.font=c.string,d(t.footer,_),i.restore(),g+=m.width,{width:g,height:b}}function Un(t,e,i,r){const{x:a,width:n}=i,{width:o,chartArea:{left:s,right:u}}=t;let l="center";return"center"===r?l=a<=(s+u)/2?"left":"right":a<=n/2?l="left":a>=o-n/2&&(l="right"),function(t,e,i,r){const{x:a,width:n}=r,o=i.caretSize+i.caretPadding;return"left"===t&&a+n+o>e.width||"right"===t&&a-n-o<0||void 0}(l,t,e,i)&&(l="center"),l}function Wn(t,e,i){const r=i.yAlign||e.yAlign||function(t,e){const{y:i,height:r}=e;return i<r/2?"top":i>t.height-r/2?"bottom":"center"}(t,i);return{xAlign:i.xAlign||e.xAlign||Un(t,e,i,r),yAlign:r}}function Yn(t,e,i,r){const{caretSize:a,caretPadding:n,cornerRadius:o}=t,{xAlign:s,yAlign:u}=i,l=a+n,{topLeft:c,topRight:d,bottomLeft:h,bottomRight:f}=bi(o);let p=function(t,e){let{x:i,width:r}=t;return"right"===e?i-=r:"center"===e&&(i-=r/2),i}(e,s);const m=function(t,e,i){let{y:r,height:a}=t;return"top"===e?r+=i:r-="bottom"===e?a+i:a/2,r}(e,u,l);return"center"===u?"left"===s?p+=l:"right"===s&&(p-=l):"left"===s?p-=Math.max(c,h)+a:"right"===s&&(p+=Math.max(d,f)+a),{x:J(p,0,r.width-e.width),y:J(m,0,r.height-e.height)}}function Gn(t,e,i){const r=gi(i.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-r.right:t.x+r.left}function Kn(t){return Nn([],$n(t))}function Xn(t,e){const i=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return i?t.override(i):t}class Jn extends Lr{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart||t._chart,this._chart=this.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,i=this.options.setContext(this.getContext()),r=i.enabled&&e.options.animation&&i.animations,a=new kr(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(a)),a}getContext(){return this.$context||(this.$context=(t=this.chart.getContext(),e=this,i=this._tooltipItems,xi(t,{tooltip:e,tooltipItems:i,type:"tooltip"})));var t,e,i}getTitle(t,e){const{callbacks:i}=e,r=i.beforeTitle.apply(this,[t]),a=i.title.apply(this,[t]),n=i.afterTitle.apply(this,[t]);let o=[];return o=Nn(o,$n(r)),o=Nn(o,$n(a)),o=Nn(o,$n(n)),o}getBeforeBody(t,e){return Kn(e.callbacks.beforeBody.apply(this,[t]))}getBody(t,e){const{callbacks:i}=e,r=[];return d(t,(t=>{const e={before:[],lines:[],after:[]},a=Xn(i,t);Nn(e.before,$n(a.beforeLabel.call(this,t))),Nn(e.lines,a.label.call(this,t)),Nn(e.after,$n(a.afterLabel.call(this,t))),r.push(e)})),r}getAfterBody(t,e){return Kn(e.callbacks.afterBody.apply(this,[t]))}getFooter(t,e){const{callbacks:i}=e,r=i.beforeFooter.apply(this,[t]),a=i.footer.apply(this,[t]),n=i.afterFooter.apply(this,[t]);let o=[];return o=Nn(o,$n(r)),o=Nn(o,$n(a)),o=Nn(o,$n(n)),o}_createItems(t){const e=this._active,i=this.chart.data,r=[],a=[],n=[];let o,s,u=[];for(o=0,s=e.length;o<s;++o)u.push(Vn(this.chart,e[o]));return t.filter&&(u=u.filter(((e,r,a)=>t.filter(e,r,a,i)))),t.itemSort&&(u=u.sort(((e,r)=>t.itemSort(e,r,i)))),d(u,(e=>{const i=Xn(t.callbacks,e);r.push(i.labelColor.call(this,e)),a.push(i.labelPointStyle.call(this,e)),n.push(i.labelTextColor.call(this,e))})),this.labelColors=r,this.labelPointStyles=a,this.labelTextColors=n,this.dataPoints=u,u}update(t,e){const i=this.options.setContext(this.getContext()),r=this._active;let a,n=[];if(r.length){const t=Bn[i.position].call(this,r,this._eventPosition);n=this._createItems(i),this.title=this.getTitle(n,i),this.beforeBody=this.getBeforeBody(n,i),this.body=this.getBody(n,i),this.afterBody=this.getAfterBody(n,i),this.footer=this.getFooter(n,i);const e=this._size=Hn(this,i),o=Object.assign({},t,e),s=Wn(this.chart,i,o),u=Yn(i,o,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,a={opacity:1,x:u.x,y:u.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(a={opacity:0});this._tooltipItems=n,this.$context=void 0,a&&this._resolveAnimations().update(this,a),t&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,i,r){const a=this.getCaretPosition(t,i,r);e.lineTo(a.x1,a.y1),e.lineTo(a.x2,a.y2),e.lineTo(a.x3,a.y3)}getCaretPosition(t,e,i){const{xAlign:r,yAlign:a}=this,{caretSize:n,cornerRadius:o}=i,{topLeft:s,topRight:u,bottomLeft:l,bottomRight:c}=bi(o),{x:d,y:h}=t,{width:f,height:p}=e;let m,b,g,v,y,_;return"center"===a?(y=h+p/2,"left"===r?(m=d,b=m-n,v=y+n,_=y-n):(m=d+f,b=m+n,v=y-n,_=y+n),g=m):(b="left"===r?d+Math.max(s,l)+n:"right"===r?d+f-Math.max(u,c)-n:this.caretX,"top"===a?(v=h,y=v-n,m=b-n,g=b+n):(v=h+p,y=v+n,m=b+n,g=b-n),_=v),{x1:m,x2:b,x3:g,y1:v,y2:y,y3:_}}drawTitle(t,e,i){const r=this.title,a=r.length;let n,o,s;if(a){const u=ki(i.rtl,this.x,this.width);for(t.x=Gn(this,i.titleAlign,i),e.textAlign=u.textAlign(i.titleAlign),e.textBaseline="middle",n=vi(i.titleFont),o=i.titleSpacing,e.fillStyle=i.titleColor,e.font=n.string,s=0;s<a;++s)e.fillText(r[s],u.x(t.x),t.y+n.lineHeight/2),t.y+=n.lineHeight+o,s+1===a&&(t.y+=i.titleMarginBottom-o)}}_drawColorBox(t,e,i,r,n){const o=this.labelColors[i],s=this.labelPointStyles[i],{boxHeight:u,boxWidth:l,boxPadding:c}=n,d=vi(n.bodyFont),h=Gn(this,"left",n),f=r.x(h),p=u<d.lineHeight?(d.lineHeight-u)/2:0,m=e.y+p;if(n.usePointStyle){const e={radius:Math.min(l,u)/2,pointStyle:s.pointStyle,rotation:s.rotation,borderWidth:1},i=r.leftForLtr(f,l)+l/2,a=m+u/2;t.strokeStyle=n.multiKeyBackground,t.fillStyle=n.multiKeyBackground,Se(t,e,i,a),t.strokeStyle=o.borderColor,t.fillStyle=o.backgroundColor,Se(t,e,i,a)}else{t.lineWidth=a(o.borderWidth)?Math.max(...Object.values(o.borderWidth)):o.borderWidth||1,t.strokeStyle=o.borderColor,t.setLineDash(o.borderDash||[]),t.lineDashOffset=o.borderDashOffset||0;const e=r.leftForLtr(f,l-c),i=r.leftForLtr(r.xPlus(f,1),l-c-2),s=bi(o.borderRadius);Object.values(s).some((t=>0!==t))?(t.beginPath(),t.fillStyle=n.multiKeyBackground,De(t,{x:e,y:m,w:l,h:u,radius:s}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),De(t,{x:i,y:m+1,w:l-2,h:u-2,radius:s}),t.fill()):(t.fillStyle=n.multiKeyBackground,t.fillRect(e,m,l,u),t.strokeRect(e,m,l,u),t.fillStyle=o.backgroundColor,t.fillRect(i,m+1,l-2,u-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,e,i){const{body:r}=this,{bodySpacing:a,bodyAlign:n,displayColors:o,boxHeight:s,boxWidth:u,boxPadding:l}=i,c=vi(i.bodyFont);let h=c.lineHeight,f=0;const p=ki(i.rtl,this.x,this.width),m=function(i){e.fillText(i,p.x(t.x+f),t.y+h/2),t.y+=h+a},b=p.textAlign(n);let g,v,y,_,x,k,w;for(e.textAlign=n,e.textBaseline="middle",e.font=c.string,t.x=Gn(this,b,i),e.fillStyle=i.bodyColor,d(this.beforeBody,m),f=o&&"right"!==b?"center"===n?u/2+l:u+2+l:0,_=0,k=r.length;_<k;++_){for(g=r[_],v=this.labelTextColors[_],e.fillStyle=v,d(g.before,m),y=g.lines,o&&y.length&&(this._drawColorBox(e,t,_,p,i),h=Math.max(c.lineHeight,s)),x=0,w=y.length;x<w;++x)m(y[x]),h=c.lineHeight;d(g.after,m)}f=0,h=c.lineHeight,d(this.afterBody,m),t.y-=a}drawFooter(t,e,i){const r=this.footer,a=r.length;let n,o;if(a){const s=ki(i.rtl,this.x,this.width);for(t.x=Gn(this,i.footerAlign,i),t.y+=i.footerMarginTop,e.textAlign=s.textAlign(i.footerAlign),e.textBaseline="middle",n=vi(i.footerFont),e.fillStyle=i.footerColor,e.font=n.string,o=0;o<a;++o)e.fillText(r[o],s.x(t.x),t.y+n.lineHeight/2),t.y+=n.lineHeight+i.footerSpacing}}drawBackground(t,e,i,r){const{xAlign:a,yAlign:n}=this,{x:o,y:s}=t,{width:u,height:l}=i,{topLeft:c,topRight:d,bottomLeft:h,bottomRight:f}=bi(r.cornerRadius);e.fillStyle=r.backgroundColor,e.strokeStyle=r.borderColor,e.lineWidth=r.borderWidth,e.beginPath(),e.moveTo(o+c,s),"top"===n&&this.drawCaret(t,e,i,r),e.lineTo(o+u-d,s),e.quadraticCurveTo(o+u,s,o+u,s+d),"center"===n&&"right"===a&&this.drawCaret(t,e,i,r),e.lineTo(o+u,s+l-f),e.quadraticCurveTo(o+u,s+l,o+u-f,s+l),"bottom"===n&&this.drawCaret(t,e,i,r),e.lineTo(o+h,s+l),e.quadraticCurveTo(o,s+l,o,s+l-h),"center"===n&&"left"===a&&this.drawCaret(t,e,i,r),e.lineTo(o,s+c),e.quadraticCurveTo(o,s,o+c,s),e.closePath(),e.fill(),r.borderWidth>0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,i=this.$animations,r=i&&i.x,a=i&&i.y;if(r||a){const i=Bn[t.position].call(this,this._active,this._eventPosition);if(!i)return;const n=this._size=Hn(this,t),o=Object.assign({},i,this._size),s=Wn(e,t,o),u=Yn(t,o,s,e);r._to===u.x&&a._to===u.y||(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=n.width,this.height=n.height,this.caretX=i.x,this.caretY=i.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(e);const r={width:this.width,height:this.height},a={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const n=gi(e.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&o&&(t.save(),t.globalAlpha=i,this.drawBackground(a,t,r,e),wi(t,e.textDirection),a.y+=n.top,this.drawTitle(a,t,e),this.drawBody(a,t,e),this.drawFooter(a,t,e),Si(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const i=this._active,r=t.map((({datasetIndex:t,index:e})=>{const i=this.chart.getDatasetMeta(t);if(!i)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:i.data[e],index:e}})),a=!h(i,r),n=this._positionChanged(r,e);(a||n)&&(this._active=r,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,i=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,a=this._active||[],n=this._getActiveElements(t,a,e,i),o=this._positionChanged(n,t),s=e||!h(n,a)||o;return s&&(this._active=n,(r.enabled||r.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),s}_getActiveElements(t,e,i,r){const a=this.options;if("mouseout"===t.type)return[];if(!r)return e;const n=this.chart.getElementsAtEventForMode(t,a.mode,a,i);return a.reverse&&n.reverse(),n}_positionChanged(t,e){const{caretX:i,caretY:r,options:a}=this,n=Bn[a.position].call(this,t,e);return!1!==n&&(i!==n.x||r!==n.y)}}Jn.positioners=Bn;var Zn={id:"tooltip",_element:Jn,positioners:Bn,afterInit(t,e,i){i&&(t.tooltip=new Jn({chart:t,options:i}))},beforeUpdate(t,e,i){t.tooltip&&t.tooltip.initialize(i)},reset(t,e,i){t.tooltip&&t.tooltip.initialize(i)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const i={tooltip:e};if(!1===t.notifyPlugins("beforeTooltipDraw",i))return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",i)}},afterEvent(t,e){if(t.tooltip){const i=e.replay;t.tooltip.handleEvent(e.event,i,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:t,title(t){if(t.length>0){const e=t[0],i=e.chart.data.labels,r=i?i.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(r>0&&e.dataIndex<r)return i[e.dataIndex]}return""},afterTitle:t,beforeBody:t,beforeLabel:t,label(t){if(this&&this.options&&"dataset"===this.options.mode)return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const r=t.formattedValue;return i(r)||(e+=r),e},labelColor(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:e.borderColor,backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:e.pointStyle,rotation:e.rotation}},afterLabel:t,afterBody:t,beforeFooter:t,footer:t,afterFooter:t}},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},Qn=Object.freeze({__proto__:null,Decimation:mn,Filler:Mn,Legend:Ln,SubTitle:Rn,Title:Fn,Tooltip:Zn});function to(t,e,i,r){const a=t.indexOf(e);return-1===a?((t,e,i,r)=>("string"==typeof e?(i=t.push(e)-1,r.unshift({index:i,label:e})):isNaN(e)&&(i=null),i))(t,e,i,r):a!==t.lastIndexOf(e)?i:a}class eo extends Wr{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const t=this.getLabels();for(const{index:i,label:r}of e)t[i]===r&&t.splice(i,1);this._addedLabels=[]}super.init(t)}parse(t,e){if(i(t))return null;const r=this.getLabels();return((t,e)=>null===t?null:J(Math.round(t),0,e))(e=isFinite(e)&&r[e]===t?e:to(r,t,s(e,t),this._addedLabels),r.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:i,max:r}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(i=0),e||(r=this.getLabels().length-1)),this.min=i,this.max=r}buildTicks(){const t=this.min,e=this.max,i=this.options.offset,r=[];let a=this.getLabels();a=0===t&&e===a.length-1?a:a.slice(t,e+1),this._valueRange=Math.max(a.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let i=t;i<=e;i++)r.push({value:i});return r}getLabelForValue(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return"number"!=typeof t&&(t=this.parse(t)),null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function io(t,e,{horizontal:i,minRotation:r}){const a=V(r),n=(i?Math.sin(a):Math.cos(a))||.001,o=.75*e*(""+t).length;return Math.min(e/n,o)}eo.id="category",eo.defaults={ticks:{callback:eo.prototype.getLabelForValue}};class ro extends Wr{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return i(t)||("number"==typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:i}=this.getUserBounds();let{min:r,max:a}=this;const n=t=>r=e?r:t,o=t=>a=i?a:t;if(t){const t=I(r),e=I(a);t<0&&e<0?o(0):t>0&&e>0&&n(0)}if(r===a){let e=1;(a>=Number.MAX_SAFE_INTEGER||r<=Number.MIN_SAFE_INTEGER)&&(e=Math.abs(.05*a)),o(a+e),t||n(r-e)}this.min=r,this.max=a}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:i,stepSize:r}=t;return r?(e=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3)):(e=this.computeTickLimit(),i=i||11),i&&(e=Math.min(i,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let r=this.getTickLimit();r=Math.max(2,r);const a=function(t,e){const r=[],{bounds:a,step:n,min:o,max:s,precision:u,count:l,maxTicks:c,maxDigits:d,includeBounds:h}=t,f=n||1,p=c-1,{min:m,max:b}=e,g=!i(o),v=!i(s),y=!i(l),_=(b-m)/(d+1);let x,k,w,S,E=F((b-m)/p/f)*f;if(E<1e-14&&!g&&!v)return[{value:m},{value:b}];S=Math.ceil(b/E)-Math.floor(m/E),S>p&&(E=F(S*E/p/f)*f),i(u)||(x=Math.pow(10,u),E=Math.ceil(E*x)/x),"ticks"===a?(k=Math.floor(m/E)*E,w=Math.ceil(b/E)*E):(k=m,w=b),g&&v&&n&&N((s-o)/n,E/1e3)?(S=Math.round(Math.min((s-o)/E,c)),E=(s-o)/S,k=o,w=s):y?(k=g?o:k,w=v?s:w,S=l-1,E=(w-k)/S):(S=(w-k)/E,S=B(S,Math.round(S),E/1e3)?Math.round(S):Math.ceil(S));const j=Math.max(U(E),U(k));x=Math.pow(10,i(u)?j:u),k=Math.round(k*x)/x,w=Math.round(w*x)/x;let T=0;for(g&&(h&&k!==o?(r.push({value:o}),k<o&&T++,B(Math.round((k+T*E)*x)/x,o,io(o,_,t))&&T++):k<o&&T++);T<S;++T)r.push({value:Math.round((k+T*E)*x)/x});return v&&h&&w!==s?r.length&&B(r[r.length-1].value,s,io(s,_,t))?r[r.length-1].value=s:r.push({value:s}):v&&w!==s||r.push({value:w}),r}({maxTicks:r,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===t.bounds&&$(a,this,"value"),t.reverse?(a.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),a}configure(){const t=this.ticks;let e=this.min,i=this.max;if(super.configure(),this.options.offset&&t.length){const r=(i-e)/Math.max(t.length-1,1)/2;e-=r,i+=r}this._startValue=e,this._endValue=i,this._valueRange=i-e}getLabelForValue(t){return li(t,this.chart.options.locale,this.options.ticks.format)}}class ao extends ro{determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=n(t)?t:0,this.max=n(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,i=V(this.options.ticks.minRotation),r=(t?Math.sin(i):Math.cos(i))||.001,a=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,a.lineHeight/r))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}function no(t){return 1==t/Math.pow(10,Math.floor(L(t)))}ao.id="linear",ao.defaults={ticks:{callback:Fr.formatters.numeric}};class oo extends Wr{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const i=ro.prototype.parse.apply(this,[t,e]);if(0!==i)return n(i)&&i>0?i:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=n(t)?Math.max(0,t):null,this.max=n(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let i=this.min,r=this.max;const a=e=>i=t?i:e,n=t=>r=e?r:t,o=(t,e)=>Math.pow(10,Math.floor(L(t))+e);i===r&&(i<=0?(a(1),n(10)):(a(o(i,-1)),n(o(r,1)))),i<=0&&a(o(r,-1)),r<=0&&n(o(i,1)),this._zero&&this.min!==this._suggestedMin&&i===o(this.min,0)&&a(o(i,-1)),this.min=i,this.max=r}buildTicks(){const t=this.options,e=function(t,e){const i=Math.floor(L(e.max)),r=Math.ceil(e.max/Math.pow(10,i)),a=[];let n=o(t.min,Math.pow(10,Math.floor(L(e.min)))),s=Math.floor(L(n)),u=Math.floor(n/Math.pow(10,s)),l=s<0?Math.pow(10,Math.abs(s)):1;do{a.push({value:n,major:no(n)}),++u,10===u&&(u=1,++s,l=s>=0?1:l),n=Math.round(u*Math.pow(10,s)*l)/l}while(s<i||s===i&&u<r);const c=o(t.max,n);return a.push({value:c,major:no(n)}),a}({min:this._userMin,max:this._userMax},this);return"ticks"===t.bounds&&$(e,this,"value"),t.reverse?(e.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),e}getLabelForValue(t){return void 0===t?"0":li(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=L(t),this._valueRange=L(this.max)-L(t)}getPixelForValue(t){return void 0!==t&&0!==t||(t=this.min),null===t||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(L(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}function so(t){const e=t.ticks;if(e.display&&t.display){const t=gi(e.backdropPadding);return s(e.font&&e.font.size,ae.font.size)+t.height}return 0}function uo(t,e,i,r,a){return t===r||t===a?{start:e-i/2,end:e+i/2}:t<r||t>a?{start:e-i,end:e}:{start:e,end:e+i}}function lo(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},i=Object.assign({},e),a=[],n=[],o=t._pointLabels.length,s=t.options.pointLabels,u=s.centerPointLabels?T/o:0;for(let h=0;h<o;h++){const o=s.setContext(t.getPointLabelContext(h));n[h]=o.padding;const f=t.getPointPosition(h,t.drawingArea+n[h],u),p=vi(o.font),m=(l=t.ctx,c=p,d=r(d=t._pointLabels[h])?d:[d],{w:xe(l,c.string,d),h:d.length*c.lineHeight});a[h]=m;const b=K(t.getIndexAngle(h)+u),g=Math.round(H(b));co(i,e,b,uo(g,f.x,m.w,0,180),uo(g,f.y,m.h,90,270))}var l,c,d;t.setCenterPoint(e.l-i.l,i.r-e.r,e.t-i.t,i.b-e.b),t._pointLabelItems=function(t,e,i){const r=[],a=t._pointLabels.length,n=t.options,o=so(n)/2,s=t.drawingArea,u=n.pointLabels.centerPointLabels?T/a:0;for(let n=0;n<a;n++){const a=t.getPointPosition(n,s+o+i[n],u),l=Math.round(H(K(a.angle+M))),c=e[n],d=po(a.y,c.h,l),h=ho(l),f=fo(a.x,c.w,h);r.push({x:a.x,y:d,textAlign:h,left:f,top:d,right:f+c.w,bottom:d+c.h})}return r}(t,a,n)}function co(t,e,i,r,a){const n=Math.abs(Math.sin(i)),o=Math.abs(Math.cos(i));let s=0,u=0;r.start<e.l?(s=(e.l-r.start)/n,t.l=Math.min(t.l,e.l-s)):r.end>e.r&&(s=(r.end-e.r)/n,t.r=Math.max(t.r,e.r+s)),a.start<e.t?(u=(e.t-a.start)/o,t.t=Math.min(t.t,e.t-u)):a.end>e.b&&(u=(a.end-e.b)/o,t.b=Math.max(t.b,e.b+u))}function ho(t){return 0===t||180===t?"center":t<180?"left":"right"}function fo(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function po(t,e,i){return 90===i||270===i?t-=e/2:(i>270||i<90)&&(t-=e),t}function mo(t,e,i,r){const{ctx:a}=t;if(i)a.arc(t.xCenter,t.yCenter,e,0,P);else{let i=t.getPointPosition(0,e);a.moveTo(i.x,i.y);for(let n=1;n<r;n++)i=t.getPointPosition(n,e),a.lineTo(i.x,i.y)}}oo.id="logarithmic",oo.defaults={ticks:{callback:Fr.formatters.logarithmic,major:{enabled:!0}}};class bo extends ro{constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=gi(so(this.options)/2),e=this.width=this.maxWidth-t.width,i=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+e/2+t.left),this.yCenter=Math.floor(this.top+i/2+t.top),this.drawingArea=Math.floor(Math.min(e,i)/2)}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!1);this.min=n(t)&&!isNaN(t)?t:0,this.max=n(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/so(this.options))}generateTickLabels(t){ro.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map(((t,e)=>{const i=c(this.options.pointLabels.callback,[t,e],this);return i||0===i?i:""})).filter(((t,e)=>this.chart.getDataVisibility(e)))}fit(){const t=this.options;t.display&&t.pointLabels.display?lo(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,i,r){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((i-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,i,r))}getIndexAngle(t){return K(t*(P/(this._pointLabels.length||1))+V(this.options.startAngle||0))}getDistanceFromCenterForValue(t){if(i(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(i(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t<e.length){const i=e[t];return function(t,e,i){return xi(t,{label:i,index:e,type:"pointLabel"})}(this.getContext(),t,i)}}getPointPosition(t,e,i=0){const r=this.getIndexAngle(t)-M+i;return{x:Math.cos(r)*e+this.xCenter,y:Math.sin(r)*e+this.yCenter,angle:r}}getPointPositionForValue(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:e,top:i,right:r,bottom:a}=this._pointLabelItems[t];return{left:e,top:i,right:r,bottom:a}}drawBackground(){const{backgroundColor:t,grid:{circular:e}}=this.options;if(t){const i=this.ctx;i.save(),i.beginPath(),mo(this,this.getDistanceFromCenterForValue(this._endValue),e,this._pointLabels.length),i.closePath(),i.fillStyle=t,i.fill(),i.restore()}}drawGrid(){const t=this.ctx,e=this.options,{angleLines:r,grid:a}=e,n=this._pointLabels.length;let o,s,u;if(e.pointLabels.display&&function(t,e){const{ctx:r,options:{pointLabels:a}}=t;for(let n=e-1;n>=0;n--){const e=a.setContext(t.getPointLabelContext(n)),o=vi(e.font),{x:s,y:u,textAlign:l,left:c,top:d,right:h,bottom:f}=t._pointLabelItems[n],{backdropColor:p}=e;if(!i(p)){const t=bi(e.borderRadius),i=gi(e.backdropPadding);r.fillStyle=p;const a=c-i.left,n=d-i.top,o=h-c+i.width,s=f-d+i.height;Object.values(t).some((t=>0!==t))?(r.beginPath(),De(r,{x:a,y:n,w:o,h:s,radius:t}),r.fill()):r.fillRect(a,n,o,s)}Oe(r,t._pointLabels[n],s,u+o.lineHeight/2,o,{color:e.color,textAlign:l,textBaseline:"middle"})}}(this,n),a.display&&this.ticks.forEach(((t,e)=>{0!==e&&(s=this.getDistanceFromCenterForValue(t.value),function(t,e,i,r){const a=t.ctx,n=e.circular,{color:o,lineWidth:s}=e;!n&&!r||!o||!s||i<0||(a.save(),a.strokeStyle=o,a.lineWidth=s,a.setLineDash(e.borderDash),a.lineDashOffset=e.borderDashOffset,a.beginPath(),mo(t,i,n,r),a.closePath(),a.stroke(),a.restore())}(this,a.setContext(this.getContext(e-1)),s,n))})),r.display){for(t.save(),o=n-1;o>=0;o--){const i=r.setContext(this.getPointLabelContext(o)),{color:a,lineWidth:n}=i;n&&a&&(t.lineWidth=n,t.strokeStyle=a,t.setLineDash(i.borderDash),t.lineDashOffset=i.borderDashOffset,s=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),u=this.getPointPosition(o,s),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(u.x,u.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,i=e.ticks;if(!i.display)return;const r=this.getIndexAngle(0);let a,n;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(r),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach(((r,o)=>{if(0===o&&!e.reverse)return;const s=i.setContext(this.getContext(o)),u=vi(s.font);if(a=this.getDistanceFromCenterForValue(this.ticks[o].value),s.showLabelBackdrop){t.font=u.string,n=t.measureText(r.label).width,t.fillStyle=s.backdropColor;const e=gi(s.backdropPadding);t.fillRect(-n/2-e.left,-a-u.size/2-e.top,n+e.width,u.size+e.height)}Oe(t,r.label,0,-a,u,{color:s.color})})),t.restore()}drawTitle(){}}bo.id="radialLinear",bo.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Fr.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:t=>t,padding:5,centerPointLabels:!1}},bo.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},bo.descriptors={angleLines:{_fallback:"grid"}};const go={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},vo=Object.keys(go);function yo(t,e){return t-e}function _o(t,e){if(i(e))return null;const r=t._adapter,{parser:a,round:o,isoWeekday:s}=t._parseOpts;let u=e;return"function"==typeof a&&(u=a(u)),n(u)||(u="string"==typeof a?r.parse(u,a):r.parse(u)),null===u?null:(o&&(u="week"!==o||!R(s)&&!0!==s?r.startOf(u,o):r.startOf(u,"isoWeek",s)),+u)}function xo(t,e,i,r){const a=vo.length;for(let n=vo.indexOf(t);n<a-1;++n){const t=go[vo[n]],a=t.steps?t.steps:Number.MAX_SAFE_INTEGER;if(t.common&&Math.ceil((i-e)/(a*t.size))<=r)return vo[n]}return vo[a-1]}function ko(t,e,i){if(i){if(i.length){const{lo:r,hi:a}=tt(i,e);t[i[r]>=e?i[r]:i[a]]=!0}}else t[e]=!0}function wo(t,e,i){const r=[],a={},n=e.length;let o,s;for(o=0;o<n;++o)s=e[o],a[s]=o,r.push({value:s,major:!1});return 0!==n&&i?function(t,e,i,r){const a=t._adapter,n=+a.startOf(e[0].value,r),o=e[e.length-1].value;let s,u;for(s=n;s<=o;s=+a.add(s,1,r))u=i[s],u>=0&&(e[u].major=!0);return e}(t,r,a,i):r}class So extends Wr{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e){const i=t.time||(t.time={}),r=this._adapter=new wa._date(t.adapters.date);r.init(e),g(i.displayFormats,r.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:_o(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,i=t.time.unit||"day";let{min:r,max:a,minDefined:o,maxDefined:s}=this.getUserBounds();function u(t){o||isNaN(t.min)||(r=Math.min(r,t.min)),s||isNaN(t.max)||(a=Math.max(a,t.max))}o&&s||(u(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||u(this.getMinMax(!1))),r=n(r)&&!isNaN(r)?r:+e.startOf(Date.now(),i),a=n(a)&&!isNaN(a)?a:+e.endOf(Date.now(),i)+1,this.min=Math.min(r,a-1),this.max=Math.max(r+1,a)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],i=t[t.length-1]),{min:e,max:i}}buildTicks(){const t=this.options,e=t.time,i=t.ticks,r="labels"===i.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const a=this.min,n=rt(r,a,this.max);return this._unit=e.unit||(i.autoSkip?xo(e.minUnit,this.min,this.max,this._getLabelCapacity(a)):function(t,e,i,r,a){for(let n=vo.length-1;n>=vo.indexOf(i);n--){const i=vo[n];if(go[i].common&&t._adapter.diff(a,r,i)>=e-1)return i}return vo[i?vo.indexOf(i):0]}(this,n.length,e.minUnit,this.min,this.max)),this._majorUnit=i.major.enabled&&"year"!==this._unit?function(t){for(let e=vo.indexOf(t)+1,i=vo.length;e<i;++e)if(go[vo[e]].common)return vo[e]}(this._unit):void 0,this.initOffsets(r),t.reverse&&n.reverse(),wo(this,n,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map((t=>+t.value)))}initOffsets(t){let e,i,r=0,a=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),r=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,i=this.getDecimalForValue(t[t.length-1]),a=1===t.length?i:(i-this.getDecimalForValue(t[t.length-2]))/2);const n=t.length<3?.5:.25;r=J(r,0,n),a=J(a,0,n),this._offsets={start:r,end:a,factor:1/(r+1+a)}}_generate(){const t=this._adapter,e=this.min,i=this.max,r=this.options,a=r.time,n=a.unit||xo(a.minUnit,e,i,this._getLabelCapacity(e)),o=s(a.stepSize,1),u="week"===n&&a.isoWeekday,l=R(u)||!0===u,c={};let d,h,f=e;if(l&&(f=+t.startOf(f,"isoWeek",u)),f=+t.startOf(f,l?"day":n),t.diff(i,e,n)>1e5*o)throw new Error(e+" and "+i+" are too far apart with stepSize of "+o+" "+n);const p="data"===r.ticks.source&&this.getDataTimestamps();for(d=f,h=0;d<i;d=+t.add(d,o,n),h++)ko(c,d,p);return d!==i&&"ticks"!==r.bounds&&1!==h||ko(c,d,p),Object.keys(c).sort(((t,e)=>t-e)).map((t=>+t))}getLabelForValue(t){const e=this._adapter,i=this.options.time;return i.tooltipFormat?e.format(t,i.tooltipFormat):e.format(t,i.displayFormats.datetime)}_tickFormatFunction(t,e,i,r){const a=this.options,n=a.time.displayFormats,o=this._unit,s=this._majorUnit,u=o&&n[o],l=s&&n[s],d=i[e],h=s&&l&&d&&d.major,f=this._adapter.format(t,r||(h?l:u)),p=a.ticks.callback;return p?c(p,[f,e,i],this):f}generateTickLabels(t){let e,i,r;for(e=0,i=t.length;e<i;++e)r=t[e],r.label=this._tickFormatFunction(r.value,e,t)}getDecimalForValue(t){return null===t?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const e=this._offsets,i=this.getDecimalForValue(t);return this.getPixelForDecimal((e.start+i)*e.factor)}getValueForPixel(t){const e=this._offsets,i=this.getDecimalForPixel(t)/e.factor-e.end;return this.min+i*(this.max-this.min)}_getLabelSize(t){const e=this.options.ticks,i=this.ctx.measureText(t).width,r=V(this.isHorizontal()?e.maxRotation:e.minRotation),a=Math.cos(r),n=Math.sin(r),o=this._resolveTickFontOptions(0).size;return{w:i*a+o*n,h:i*n+o*a}}_getLabelCapacity(t){const e=this.options.time,i=e.displayFormats,r=i[e.unit]||i.millisecond,a=this._tickFormatFunction(t,0,wo(this,[t],this._majorUnit),r),n=this._getLabelSize(a),o=Math.floor(this.isHorizontal()?this.width/n.w:this.height/n.h)-1;return o>0?o:1}getDataTimestamps(){let t,e,i=this._cache.data||[];if(i.length)return i;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(t=0,e=r.length;t<e;++t)i=i.concat(r[t].controller.getAllParsedValues(this));return this._cache.data=this.normalize(i)}getLabelTimestamps(){const t=this._cache.labels||[];let e,i;if(t.length)return t;const r=this.getLabels();for(e=0,i=r.length;e<i;++e)t.push(_o(this,r[e]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return st(t.sort(yo))}}function Eo(t,e,i){let r,a,n,o,s=0,u=t.length-1;i?(e>=t[s].pos&&e<=t[u].pos&&({lo:s,hi:u}=et(t,"pos",e)),({pos:r,time:n}=t[s]),({pos:a,time:o}=t[u])):(e>=t[s].time&&e<=t[u].time&&({lo:s,hi:u}=et(t,"time",e)),({time:r,pos:n}=t[s]),({time:a,pos:o}=t[u]));const l=a-r;return l?n+(o-n)*(e-r)/l:n}So.id="time",So.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class jo extends So{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=Eo(e,this.min),this._tableRange=Eo(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:i}=this,r=[],a=[];let n,o,s,u,l;for(n=0,o=t.length;n<o;++n)u=t[n],u>=e&&u<=i&&r.push(u);if(r.length<2)return[{time:e,pos:0},{time:i,pos:1}];for(n=0,o=r.length;n<o;++n)l=r[n+1],s=r[n-1],u=r[n],Math.round((l+s)/2)!==u&&a.push({time:u,pos:n/(o-1)});return a}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),i=this.getLabelTimestamps();return t=e.length&&i.length?this.normalize(e.concat(i)):e.length?e:i,t=this._cache.all=t,t}getDecimalForValue(t){return(Eo(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,i=this.getDecimalForPixel(t)/e.factor-e.end;return Eo(this._table,i*this._tableRange+this._minPos,!0)}}jo.id="timeseries",jo.defaults=So.defaults;var To=Object.freeze({__proto__:null,CategoryScale:eo,LinearScale:ao,LogarithmicScale:oo,RadialLinearScale:bo,TimeScale:So,TimeSeriesScale:jo});return va.register(Ba,To,hn,Qn),va.helpers={...Mi},va._adapters=wa,va.Animation=_r,va.Animations=kr,va.animator=bt,va.controllers=Gr.controllers.items,va.DatasetController=zr,va.Element=Lr,va.elements=hn,va.Interaction=Ri,va.layouts=Zi,va.platforms=gr,va.Scale=Wr,va.Ticks=Fr,Object.assign(va,Ba,To,hn,Qn,gr),va.Chart=va,"undefined"!=typeof window&&(window.Chart=va),va}()},38249:(t,e,i)=>{t.exports=i(65078).helpers},90852:function(t,e,i){t.exports=function(t,e){"use strict";var i=function(){if("undefined"!=typeof window){if(window.devicePixelRatio)return window.devicePixelRatio;var t=window.screen;if(t)return(t.deviceXDPI||1)/(t.logicalXDPI||1)}return 1}(),r=function(e){var i,r=[];for(e=[].concat(e);e.length;)"string"==typeof(i=e.pop())?r.unshift.apply(r,i.split("\n")):Array.isArray(i)?e.push.apply(e,i):t.isNullOrUndef(e)||r.unshift(""+i);return r},a=function(t,e,i){var r,a=[].concat(e),n=a.length,o=t.font,s=0;for(t.font=i.string,r=0;r<n;++r)s=Math.max(t.measureText(a[r]).width,s);return t.font=o,{height:n*i.lineHeight,width:s}},n=function(t,e,i){return Math.max(t,Math.min(e,i))},o=function(t,e){var i,r,a,n,o=t.slice(),s=[];for(i=0,a=e.length;i<a;++i)n=e[i],-1===(r=o.indexOf(n))?s.push([n,1]):o.splice(r,1);for(i=0,a=o.length;i<a;++i)s.push([o[i],-1]);return s};function s(t,e){var i=e.x,r=e.y;if(null===i)return{x:0,y:-1};if(null===r)return{x:1,y:0};var a=t.x-i,n=t.y-r,o=Math.sqrt(a*a+n*n);return{x:o?a/o:0,y:o?n/o:-1}}var u=0,l=1,c=2,d=4,h=8;function f(t,e,i){var r=u;return t<i.left?r|=l:t>i.right&&(r|=c),e<i.top?r|=h:e>i.bottom&&(r|=d),r}function p(t,e){var i,r,a=e.anchor,n=t;return e.clamp&&(n=function(t,e){for(var i,r,a,n=t.x0,o=t.y0,s=t.x1,u=t.y1,p=f(n,o,e),m=f(s,u,e);p|m&&!(p&m);)(i=p||m)&h?(r=n+(s-n)*(e.top-o)/(u-o),a=e.top):i&d?(r=n+(s-n)*(e.bottom-o)/(u-o),a=e.bottom):i&c?(a=o+(u-o)*(e.right-n)/(s-n),r=e.right):i&l&&(a=o+(u-o)*(e.left-n)/(s-n),r=e.left),i===p?p=f(n=r,o=a,e):m=f(s=r,u=a,e);return{x0:n,x1:s,y0:o,y1:u}}(n,e.area)),"start"===a?(i=n.x0,r=n.y0):"end"===a?(i=n.x1,r=n.y1):(i=(n.x0+n.x1)/2,r=(n.y0+n.y1)/2),function(t,e,i,r,a){switch(a){case"center":i=r=0;break;case"bottom":i=0,r=1;break;case"right":i=1,r=0;break;case"left":i=-1,r=0;break;case"top":i=0,r=-1;break;case"start":i=-i,r=-r;break;case"end":break;default:a*=Math.PI/180,i=Math.cos(a),r=Math.sin(a)}return{x:t,y:e,vx:i,vy:r}}(i,r,t.vx,t.vy,e.align)}var m={arc:function(t,e){var i=(t.startAngle+t.endAngle)/2,r=Math.cos(i),a=Math.sin(i),n=t.innerRadius,o=t.outerRadius;return p({x0:t.x+r*n,y0:t.y+a*n,x1:t.x+r*o,y1:t.y+a*o,vx:r,vy:a},e)},point:function(t,e){var i=s(t,e.origin),r=i.x*t.options.radius,a=i.y*t.options.radius;return p({x0:t.x-r,y0:t.y-a,x1:t.x+r,y1:t.y+a,vx:i.x,vy:i.y},e)},bar:function(t,e){var i=s(t,e.origin),r=t.x,a=t.y,n=0,o=0;return t.horizontal?(r=Math.min(t.x,t.base),n=Math.abs(t.base-t.x)):(a=Math.min(t.y,t.base),o=Math.abs(t.base-t.y)),p({x0:r,y0:a+o,x1:r+n,y1:a,vx:i.x,vy:i.y},e)},fallback:function(t,e){var i=s(t,e.origin);return p({x0:t.x,y0:t.y,x1:t.x+(t.width||0),y1:t.y+(t.height||0),vx:i.x,vy:i.y},e)}},b=function(t){return Math.round(t*i)/i};function g(t,e){var i=e.chart.getDatasetMeta(e.datasetIndex).vScale;if(!i)return null;if(void 0!==i.xCenter&&void 0!==i.yCenter)return{x:i.xCenter,y:i.yCenter};var r=i.getBasePixel();return t.horizontal?{x:r,y:null}:{x:null,y:r}}function v(t,e,i){var r=i.backgroundColor,a=i.borderColor,n=i.borderWidth;(r||a&&n)&&(t.beginPath(),function(t,e,i,r,a,n){var o=Math.PI/2;if(n){var s=Math.min(n,a/2,r/2),u=e+s,l=i+s,c=e+r-s,d=i+a-s;t.moveTo(e,l),u<c&&l<d?(t.arc(u,l,s,-Math.PI,-o),t.arc(c,l,s,-o,0),t.arc(c,d,s,0,o),t.arc(u,d,s,o,Math.PI)):u<c?(t.moveTo(u,i),t.arc(c,l,s,-o,o),t.arc(u,l,s,o,Math.PI+o)):l<d?(t.arc(u,l,s,-Math.PI,0),t.arc(u,d,s,0,Math.PI)):t.arc(u,l,s,-Math.PI,Math.PI),t.closePath(),t.moveTo(e,i)}else t.rect(e,i,r,a)}(t,b(e.x)+n/2,b(e.y)+n/2,b(e.w)-n,b(e.h)-n,i.borderRadius),t.closePath(),r&&(t.fillStyle=r,t.fill()),a&&n&&(t.strokeStyle=a,t.lineWidth=n,t.lineJoin="miter",t.stroke()))}function y(t,e,i){var r=t.shadowBlur,a=i.stroked,n=b(i.x),o=b(i.y),s=b(i.w);a&&t.strokeText(e,n,o,s),i.filled&&(r&&a&&(t.shadowBlur=0),t.fillText(e,n,o,s),r&&a&&(t.shadowBlur=r))}var _=function(t,e,i,r){var a=this;a._config=t,a._index=r,a._model=null,a._rects=null,a._ctx=e,a._el=i};t.merge(_.prototype,{_modelize:function(i,r,n,o){var s,u=this,l=u._index,c=t.toFont(t.resolve([n.font,{}],o,l)),d=t.resolve([n.color,e.defaults.color],o,l);return{align:t.resolve([n.align,"center"],o,l),anchor:t.resolve([n.anchor,"center"],o,l),area:o.chart.chartArea,backgroundColor:t.resolve([n.backgroundColor,null],o,l),borderColor:t.resolve([n.borderColor,null],o,l),borderRadius:t.resolve([n.borderRadius,0],o,l),borderWidth:t.resolve([n.borderWidth,0],o,l),clamp:t.resolve([n.clamp,!1],o,l),clip:t.resolve([n.clip,!1],o,l),color:d,display:i,font:c,lines:r,offset:t.resolve([n.offset,4],o,l),opacity:t.resolve([n.opacity,1],o,l),origin:g(u._el,o),padding:t.toPadding(t.resolve([n.padding,4],o,l)),positioner:(s=u._el,s instanceof e.ArcElement?m.arc:s instanceof e.PointElement?m.point:s instanceof e.BarElement?m.bar:m.fallback),rotation:t.resolve([n.rotation,0],o,l)*(Math.PI/180),size:a(u._ctx,r,c),textAlign:t.resolve([n.textAlign,"start"],o,l),textShadowBlur:t.resolve([n.textShadowBlur,0],o,l),textShadowColor:t.resolve([n.textShadowColor,d],o,l),textStrokeColor:t.resolve([n.textStrokeColor,d],o,l),textStrokeWidth:t.resolve([n.textStrokeWidth,0],o,l)}},update:function(e){var i,a,n,o=this,s=null,u=null,l=o._index,c=o._config,d=t.resolve([c.display,!0],e,l);d&&(i=e.dataset.data[l],a=t.valueOrDefault(t.callback(c.formatter,[i,e]),i),(n=t.isNullOrUndef(a)?[]:r(a)).length&&(u=function(t){var e=t.borderWidth||0,i=t.padding,r=t.size.height,a=t.size.width,n=-a/2,o=-r/2;return{frame:{x:n-i.left-e,y:o-i.top-e,w:a+i.width+2*e,h:r+i.height+2*e},text:{x:n,y:o,w:a,h:r}}}(s=o._modelize(d,n,c,e)))),o._model=s,o._rects=u},geometry:function(){return this._rects?this._rects.frame:{}},rotation:function(){return this._model?this._model.rotation:0},visible:function(){return this._model&&this._model.opacity},model:function(){return this._model},draw:function(t,e){var i,r=t.ctx,a=this._model,o=this._rects;this.visible()&&(r.save(),a.clip&&(i=a.area,r.beginPath(),r.rect(i.left,i.top,i.right-i.left,i.bottom-i.top),r.clip()),r.globalAlpha=n(0,a.opacity,1),r.translate(b(e.x),b(e.y)),r.rotate(a.rotation),v(r,o.frame,a),function(t,e,i,r){var a,n=r.textAlign,o=r.color,s=!!o,u=r.font,l=e.length,c=r.textStrokeColor,d=r.textStrokeWidth,h=c&&d;if(l&&(s||h))for(i=function(t,e,i){var r=i.lineHeight,a=t.w,n=t.x;return"center"===e?n+=a/2:"end"!==e&&"right"!==e||(n+=a),{h:r,w:a,x:n,y:t.y+r/2}}(i,n,u),t.font=u.string,t.textAlign=n,t.textBaseline="middle",t.shadowBlur=r.textShadowBlur,t.shadowColor=r.textShadowColor,s&&(t.fillStyle=o),h&&(t.lineJoin="round",t.lineWidth=d,t.strokeStyle=c),a=0,l=e.length;a<l;++a)y(t,e[a],{stroked:h,filled:s,w:i.w,x:i.x,y:i.y+i.h*a})}(r,a.lines,o.text,a),r.restore())}});var x=Number.MIN_SAFE_INTEGER||-9007199254740991,k=Number.MAX_SAFE_INTEGER||9007199254740991;function w(t,e,i){var r=Math.cos(i),a=Math.sin(i),n=e.x,o=e.y;return{x:n+r*(t.x-n)-a*(t.y-o),y:o+a*(t.x-n)+r*(t.y-o)}}function S(t,e){var i,r,a,n,o,s=k,u=x,l=e.origin;for(i=0;i<t.length;++i)a=(r=t[i]).x-l.x,n=r.y-l.y,o=e.vx*a+e.vy*n,s=Math.min(s,o),u=Math.max(u,o);return{min:s,max:u}}function E(t,e){var i=e.x-t.x,r=e.y-t.y,a=Math.sqrt(i*i+r*r);return{vx:(e.x-t.x)/a,vy:(e.y-t.y)/a,origin:t,ln:a}}var j=function(){this._rotation=0,this._rect={x:0,y:0,w:0,h:0}};function T(t,e,i){var r=e.positioner(t,e),a=r.vx,n=r.vy;if(!a&&!n)return{x:r.x,y:r.y};var o=i.w,s=i.h,u=e.rotation,l=Math.abs(o/2*Math.cos(u))+Math.abs(s/2*Math.sin(u)),c=Math.abs(o/2*Math.sin(u))+Math.abs(s/2*Math.cos(u)),d=1/Math.max(Math.abs(a),Math.abs(n));return l*=a*d,c*=n*d,l+=e.offset*a,c+=e.offset*n,{x:r.x+l,y:r.y+c}}t.merge(j.prototype,{center:function(){var t=this._rect;return{x:t.x+t.w/2,y:t.y+t.h/2}},update:function(t,e,i){this._rotation=i,this._rect={x:e.x+t.x,y:e.y+t.y,w:e.w,h:e.h}},contains:function(t){var e=this,i=e._rect;return!((t=w(t,e.center(),-e._rotation)).x<i.x-1||t.y<i.y-1||t.x>i.x+i.w+2||t.y>i.y+i.h+2)},intersects:function(t){var e,i,r,a=this._points(),n=t._points(),o=[E(a[0],a[1]),E(a[0],a[3])];for(this._rotation!==t._rotation&&o.push(E(n[0],n[1]),E(n[0],n[3])),e=0;e<o.length;++e)if(i=S(a,o[e]),r=S(n,o[e]),i.max<r.min||r.max<i.min)return!1;return!0},_points:function(){var t=this,e=t._rect,i=t._rotation,r=t.center();return[w({x:e.x,y:e.y},r,i),w({x:e.x+e.w,y:e.y},r,i),w({x:e.x+e.w,y:e.y+e.h},r,i),w({x:e.x,y:e.y+e.h},r,i)]}});var P={prepare:function(t){var e,i,r,a,n,o=[];for(e=0,r=t.length;e<r;++e)for(i=0,a=t[e].length;i<a;++i)n=t[e][i],o.push(n),n.$layout={_box:new j,_hidable:!1,_visible:!0,_set:e,_idx:n._index};return o.sort((function(t,e){var i=t.$layout,r=e.$layout;return i._idx===r._idx?r._set-i._set:r._idx-i._idx})),this.update(o),o},update:function(t){var e,i,r,a,n,o=!1;for(e=0,i=t.length;e<i;++e)a=(r=t[e]).model(),(n=r.$layout)._hidable=a&&"auto"===a.display,n._visible=r.visible(),o|=n._hidable;o&&function(t){var e,i,r,a,n,o,s;for(e=0,i=t.length;e<i;++e)(a=(r=t[e]).$layout)._visible&&(s=new Proxy(r._el,{get:(t,e)=>t.getProps([e],!0)[e]}),n=r.geometry(),o=T(s,r.model(),n),a._box.update(o,n,r.rotation()));(function(t,e){var i,r,a,n;for(i=t.length-1;i>=0;--i)for(a=t[i].$layout,r=i-1;r>=0&&a._visible;--r)(n=t[r].$layout)._visible&&a._box.intersects(n._box)&&e(a,n)})(t,(function(t,e){var i=t._hidable,r=e._hidable;i&&r||r?e._visible=!1:i&&(t._visible=!1)}))}(t)},lookup:function(t,e){var i,r;for(i=t.length-1;i>=0;--i)if((r=t[i].$layout)&&r._visible&&r._box.contains(e))return t[i];return null},draw:function(t,e){var i,r,a,n,o,s;for(i=0,r=e.length;i<r;++i)(n=(a=e[i]).$layout)._visible&&(o=a.geometry(),s=T(a._el,a.model(),o),n._box.update(s,o,a.rotation()),a.draw(t,s))}},A="$datalabels",C="$default";function O(e,i,r,a){if(i){var n,o=r.$context,s=r.$groups;i[s._set]&&(n=i[s._set][s._key])&&!0===t.callback(n,[o,a])&&(e[A]._dirty=!0,r.update(o))}}function M(t,e){var i,r,a=t[A],n=a._listeners;if(n.enter||n.leave){if("mousemove"===e.type)r=P.lookup(a._labels,e);else if("mouseout"!==e.type)return;i=a._hovered,a._hovered=r,function(t,e,i,r,a){var n,o;(i||r)&&(i?r?i!==r&&(o=n=!0):o=!0:n=!0,o&&O(t,e.leave,i,a),n&&O(t,e.enter,r,a))}(t,n,i,r,e)}}return{id:"datalabels",defaults:{align:"center",anchor:"center",backgroundColor:null,borderColor:null,borderRadius:0,borderWidth:0,clamp:!1,clip:!1,color:void 0,display:!0,font:{family:void 0,lineHeight:1.2,size:void 0,style:void 0,weight:null},formatter:function(e){if(t.isNullOrUndef(e))return null;var i,r,a,n=e;if(t.isObject(e))if(t.isNullOrUndef(e.label))if(t.isNullOrUndef(e.r))for(n="",a=0,r=(i=Object.keys(e)).length;a<r;++a)n+=(0!==a?", ":"")+i[a]+": "+e[i[a]];else n=e.r;else n=e.label;return""+n},labels:void 0,listeners:{},offset:4,opacity:1,padding:{top:4,right:4,bottom:4,left:4},rotation:0,textAlign:"start",textStrokeColor:void 0,textStrokeWidth:0,textShadowBlur:0,textShadowColor:void 0},beforeInit:function(t){t[A]={_actives:[]}},beforeUpdate:function(t){var e=t[A];e._listened=!1,e._listeners={},e._datasets=[],e._labels=[]},afterDatasetUpdate:function(e,i,r){var a,n,o,s,u,l,c,d,h=i.index,f=e[A],p=f._datasets[h]=[],m=e.isDatasetVisible(h),b=e.data.datasets[h],g=function(e,i){var r,a,n=e.datalabels,o={},s=[];return!1===n?null:(!0===n&&(n={}),i=t.merge({},[i,n]),r=i.labels||{},a=Object.keys(r),delete i.labels,a.length?a.forEach((function(e){r[e]&&s.push(t.merge({},[i,r[e],{_key:e}]))})):s.push(i),o=s.reduce((function(e,i){return t.each(i.listeners||{},(function(t,r){e[r]=e[r]||{},e[r][i._key||C]=t})),delete i.listeners,e}),{}),{labels:s,listeners:o})}(b,r),v=i.meta.data||[],y=e.ctx;for(y.save(),a=0,o=v.length;a<o;++a)if((c=v[a])[A]=[],m&&c&&e.getDataVisibility(a)&&!c.skip)for(n=0,s=g.labels.length;n<s;++n)l=(u=g.labels[n])._key,(d=new _(u,y,c,a)).$groups={_set:h,_key:l||C},d.$context={active:!1,chart:e,dataIndex:a,dataset:b,datasetIndex:h},d.update(d.$context),c[A].push(d),p.push(d);y.restore(),t.merge(f._listeners,g.listeners,{merger:function(t,e,r){e[t]=e[t]||{},e[t][i.index]=r[t],f._listened=!0}})},afterUpdate:function(t){t[A]._labels=P.prepare(t[A]._datasets)},afterDatasetsDraw:function(t){P.draw(t,t[A]._labels)},beforeEvent:function(t,e){if(t[A]._listened){var i=e.event;switch(i.type){case"mousemove":case"mouseout":M(t,i);break;case"click":!function(t,e){var i=t[A],r=i._listeners.click,a=r&&P.lookup(i._labels,e);a&&O(t,r,a,e)}(t,i)}}},afterEvent:function(t){var e,i,r,a,n,s,u,l=t[A],c=l._actives,d=l._actives=t.getActiveElements(),h=o(c,d);for(e=0,i=h.length;e<i;++e)if((n=h[e])[1])for(r=0,a=(u=n[0].element[A]||[]).length;r<a;++r)(s=u[r]).$context.active=1===n[1],s.update(s.$context);(l._dirty||h.length)&&(P.update(l._labels),t.render()),delete l._dirty}}}(i(38249),i(65078))},7629:function(t){t.exports=function(){"use strict";var t=window.CustomEvent;function e(t,e){var i="on"+e.type.toLowerCase();return"function"==typeof t[i]&&t[i](e),t.dispatchEvent(e)}function i(t){for(;t;){if("dialog"===t.localName)return t;t=t.parentElement?t.parentElement:t.parentNode?t.parentNode.host:null}return null}function r(t){for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;t&&t.blur&&t!==document.body&&t.blur()}function a(t,e){for(var i=0;i<t.length;++i)if(t[i]===e)return!0;return!1}function n(t){return!(!t||!t.hasAttribute("method"))&&"dialog"===t.getAttribute("method").toLowerCase()}function o(t){var e=["button","input","keygen","select","textarea"].map((function(t){return t+":not([disabled])"}));e.push('[tabindex]:not([disabled]):not([tabindex=""])');var i=t.querySelector(e.join(", "));if(!i&&"attachShadow"in Element.prototype)for(var r=t.querySelectorAll("*"),a=0;a<r.length&&!(r[a].tagName&&r[a].shadowRoot&&(i=o(r[a].shadowRoot)));a++);return i}function s(t){return t.isConnected||document.body.contains(t)}function u(t){if(t.submitter)return t.submitter;var e=t.target;if(!(e instanceof HTMLFormElement))return null;var i=d.formSubmitter;if(!i){var r=t.target;i=("getRootNode"in r&&r.getRootNode()||document).activeElement}return i&&i.form===e?i:null}function l(t){if(!t.defaultPrevented){var e=t.target,r=d.imagemapUseValue,a=u(t);null===r&&a&&(r=a.value);var n=i(e);n&&"dialog"===(a&&a.getAttribute("formmethod")||e.getAttribute("method"))&&(t.preventDefault(),null!=r?n.close(r):n.close())}}function c(t){if(this.dialog_=t,this.replacedStyleTop_=!1,this.openAsModal_=!1,t.hasAttribute("role")||t.setAttribute("role","dialog"),t.show=this.show.bind(this),t.showModal=this.showModal.bind(this),t.close=this.close.bind(this),t.addEventListener("submit",l,!1),"returnValue"in t||(t.returnValue=""),"MutationObserver"in window)new MutationObserver(this.maybeHideModal.bind(this)).observe(t,{attributes:!0,attributeFilter:["open"]});else{var e,i=!1,r=function(){i?this.downgradeModal():this.maybeHideModal(),i=!1}.bind(this),a=function(a){if(a.target===t){var n="DOMNodeRemoved";i|=a.type.substr(0,14)===n,window.clearTimeout(e),e=window.setTimeout(r,0)}};["DOMAttrModified","DOMNodeRemoved","DOMNodeRemovedFromDocument"].forEach((function(e){t.addEventListener(e,a)}))}Object.defineProperty(t,"open",{set:this.setOpen.bind(this),get:t.hasAttribute.bind(t,"open")}),this.backdrop_=document.createElement("div"),this.backdrop_.className="backdrop",this.backdrop_.addEventListener("mouseup",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("mousedown",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("click",this.backdropMouseEvent_.bind(this))}t&&"object"!=typeof t||((t=function(t,e){e=e||{};var i=document.createEvent("CustomEvent");return i.initCustomEvent(t,!!e.bubbles,!!e.cancelable,e.detail||null),i}).prototype=window.Event.prototype),c.prototype={get dialog(){return this.dialog_},maybeHideModal:function(){this.dialog_.hasAttribute("open")&&s(this.dialog_)||this.downgradeModal()},downgradeModal:function(){this.openAsModal_&&(this.openAsModal_=!1,this.dialog_.style.zIndex="",this.replacedStyleTop_&&(this.dialog_.style.top="",this.replacedStyleTop_=!1),this.backdrop_.parentNode&&this.backdrop_.parentNode.removeChild(this.backdrop_),d.dm.removeDialog(this))},setOpen:function(t){t?this.dialog_.hasAttribute("open")||this.dialog_.setAttribute("open",""):(this.dialog_.removeAttribute("open"),this.maybeHideModal())},backdropMouseEvent_:function(t){if(this.dialog_.hasAttribute("tabindex"))this.dialog_.focus();else{var e=document.createElement("div");this.dialog_.insertBefore(e,this.dialog_.firstChild),e.tabIndex=-1,e.focus(),this.dialog_.removeChild(e)}var i=document.createEvent("MouseEvents");i.initMouseEvent(t.type,t.bubbles,t.cancelable,window,t.detail,t.screenX,t.screenY,t.clientX,t.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget),this.dialog_.dispatchEvent(i),t.stopPropagation()},focus_:function(){var t=this.dialog_.querySelector("[autofocus]:not([disabled])");!t&&this.dialog_.tabIndex>=0&&(t=this.dialog_),t||(t=o(this.dialog_)),r(document.activeElement),t&&t.focus()},updateZIndex:function(t,e){if(t<e)throw new Error("dialogZ should never be < backdropZ");this.dialog_.style.zIndex=t,this.backdrop_.style.zIndex=e},show:function(){this.dialog_.open||(this.setOpen(!0),this.focus_())},showModal:function(){if(this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'showModal' on dialog: The element is already open, and therefore cannot be opened modally.");if(!s(this.dialog_))throw new Error("Failed to execute 'showModal' on dialog: The element is not in a Document.");if(!d.dm.pushDialog(this))throw new Error("Failed to execute 'showModal' on dialog: There are too many open modal dialogs.");(function(t){for(;t&&t!==document.body;){var e=window.getComputedStyle(t),i=function(t,i){return!(void 0===e[t]||e[t]===i)};if(e.opacity<1||i("zIndex","auto")||i("transform","none")||i("mixBlendMode","normal")||i("filter","none")||i("perspective","none")||"isolate"===e.isolation||"fixed"===e.position||"touch"===e.webkitOverflowScrolling)return!0;t=t.parentElement}return!1})(this.dialog_.parentElement)&&console.warn("A dialog is being shown inside a stacking context. This may cause it to be unusable. For more information, see this link: https://github.com/GoogleChrome/dialog-polyfill/#stacking-context"),this.setOpen(!0),this.openAsModal_=!0,d.needsCentering(this.dialog_)?(d.reposition(this.dialog_),this.replacedStyleTop_=!0):this.replacedStyleTop_=!1,this.dialog_.parentNode.insertBefore(this.backdrop_,this.dialog_.nextSibling),this.focus_()},close:function(i){if(!this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'close' on dialog: The element does not have an 'open' attribute, and therefore cannot be closed.");this.setOpen(!1),void 0!==i&&(this.dialog_.returnValue=i);var r=new t("close",{bubbles:!1,cancelable:!1});e(this.dialog_,r)}};var d={reposition:function(t){var e=document.body.scrollTop||document.documentElement.scrollTop,i=e+(window.innerHeight-t.offsetHeight)/2;t.style.top=Math.max(e,i)+"px"},isInlinePositionSetByStylesheet:function(t){for(var e=0;e<document.styleSheets.length;++e){var i=document.styleSheets[e],r=null;try{r=i.cssRules}catch(t){}if(r)for(var n=0;n<r.length;++n){var o=r[n],s=null;try{s=document.querySelectorAll(o.selectorText)}catch(t){}if(s&&a(s,t)){var u=o.style.getPropertyValue("top"),l=o.style.getPropertyValue("bottom");if(u&&"auto"!==u||l&&"auto"!==l)return!0}}}return!1},needsCentering:function(t){return!("absolute"!==window.getComputedStyle(t).position||"auto"!==t.style.top&&""!==t.style.top||"auto"!==t.style.bottom&&""!==t.style.bottom||d.isInlinePositionSetByStylesheet(t))},forceRegisterDialog:function(t){if((window.HTMLDialogElement||t.showModal)&&console.warn("This browser already supports <dialog>, the polyfill may not work correctly",t),"dialog"!==t.localName)throw new Error("Failed to register dialog: The element is not a dialog.");new c(t)},registerDialog:function(t){t.showModal||d.forceRegisterDialog(t)},DialogManager:function(){this.pendingDialogStack=[];var t=this.checkDOM_.bind(this);this.overlay=document.createElement("div"),this.overlay.className="_dialog_overlay",this.overlay.addEventListener("click",function(e){this.forwardTab_=void 0,e.stopPropagation(),t([])}.bind(this)),this.handleKey_=this.handleKey_.bind(this),this.handleFocus_=this.handleFocus_.bind(this),this.zIndexLow_=1e5,this.zIndexHigh_=100150,this.forwardTab_=void 0,"MutationObserver"in window&&(this.mo_=new MutationObserver((function(e){var i=[];e.forEach((function(t){for(var e,r=0;e=t.removedNodes[r];++r)e instanceof Element&&("dialog"===e.localName&&i.push(e),i=i.concat(e.querySelectorAll("dialog")))})),i.length&&t(i)})))}};if(d.DialogManager.prototype.blockDocument=function(){document.documentElement.addEventListener("focus",this.handleFocus_,!0),document.addEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.observe(document,{childList:!0,subtree:!0})},d.DialogManager.prototype.unblockDocument=function(){document.documentElement.removeEventListener("focus",this.handleFocus_,!0),document.removeEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.disconnect()},d.DialogManager.prototype.updateStacking=function(){for(var t,e=this.zIndexHigh_,i=0;t=this.pendingDialogStack[i];++i)t.updateZIndex(--e,--e),0===i&&(this.overlay.style.zIndex=--e);var r=this.pendingDialogStack[0];r?(r.dialog.parentNode||document.body).appendChild(this.overlay):this.overlay.parentNode&&this.overlay.parentNode.removeChild(this.overlay)},d.DialogManager.prototype.containedByTopDialog_=function(t){for(;t=i(t);){for(var e,r=0;e=this.pendingDialogStack[r];++r)if(e.dialog===t)return 0===r;t=t.parentElement}return!1},d.DialogManager.prototype.handleFocus_=function(t){var e=t.composedPath?t.composedPath()[0]:t.target;if(!this.containedByTopDialog_(e)&&document.activeElement!==document.documentElement&&(t.preventDefault(),t.stopPropagation(),r(e),void 0!==this.forwardTab_)){var i=this.pendingDialogStack[0];return i.dialog.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING&&(this.forwardTab_?i.focus_():e!==document.documentElement&&document.documentElement.focus()),!1}},d.DialogManager.prototype.handleKey_=function(i){if(this.forwardTab_=void 0,27===i.keyCode){i.preventDefault(),i.stopPropagation();var r=new t("cancel",{bubbles:!1,cancelable:!0}),a=this.pendingDialogStack[0];a&&e(a.dialog,r)&&a.dialog.close()}else 9===i.keyCode&&(this.forwardTab_=!i.shiftKey)},d.DialogManager.prototype.checkDOM_=function(t){this.pendingDialogStack.slice().forEach((function(e){-1!==t.indexOf(e.dialog)?e.downgradeModal():e.maybeHideModal()}))},d.DialogManager.prototype.pushDialog=function(t){var e=(this.zIndexHigh_-this.zIndexLow_)/2-1;return!(this.pendingDialogStack.length>=e||(1===this.pendingDialogStack.unshift(t)&&this.blockDocument(),this.updateStacking(),0))},d.DialogManager.prototype.removeDialog=function(t){var e=this.pendingDialogStack.indexOf(t);-1!==e&&(this.pendingDialogStack.splice(e,1),0===this.pendingDialogStack.length&&this.unblockDocument(),this.updateStacking())},d.dm=new d.DialogManager,d.formSubmitter=null,d.imagemapUseValue=null,void 0===window.HTMLDialogElement){var h=document.createElement("form");if(h.setAttribute("method","dialog"),"dialog"!==h.method){var f=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"method");if(f){var p=f.get;f.get=function(){return n(this)?"dialog":p.call(this)};var m=f.set;f.set=function(t){return"string"==typeof t&&"dialog"===t.toLowerCase()?this.setAttribute("method",t):m.call(this,t)},Object.defineProperty(HTMLFormElement.prototype,"method",f)}}document.addEventListener("click",(function(t){if(d.formSubmitter=null,d.imagemapUseValue=null,!t.defaultPrevented){var e=t.target;if("composedPath"in t&&(e=t.composedPath().shift()||e),e&&n(e.form)){if(!("submit"===e.type&&["button","input"].indexOf(e.localName)>-1)){if("input"!==e.localName||"image"!==e.type)return;d.imagemapUseValue=t.offsetX+","+t.offsetY}i(e)&&(d.formSubmitter=e)}}}),!1),document.addEventListener("submit",(function(t){var e=t.target;if(!i(e)){var r=u(t);"dialog"===(r&&r.getAttribute("formmethod")||e.getAttribute("method"))&&t.preventDefault()}}));var b=HTMLFormElement.prototype.submit;HTMLFormElement.prototype.submit=function(){if(!n(this))return b.call(this);var t=i(this);t&&t.close()}}return d}()},56187:t=>{"use strict";var e,i="object"==typeof Reflect?Reflect:null,r=i&&"function"==typeof i.apply?i.apply:function(t,e,i){return Function.prototype.apply.call(t,e,i)};e=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var a=Number.isNaN||function(t){return t!=t};function n(){n.init.call(this)}t.exports=n,t.exports.once=function(t,e){return new Promise((function(i,r){function a(i){t.removeListener(e,n),r(i)}function n(){"function"==typeof t.removeListener&&t.removeListener("error",a),i([].slice.call(arguments))}m(t,e,n,{once:!0}),"error"!==e&&function(t,e,i){"function"==typeof t.on&&m(t,"error",e,{once:!0})}(t,a)}))},n.EventEmitter=n,n.prototype._events=void 0,n.prototype._eventsCount=0,n.prototype._maxListeners=void 0;var o=10;function s(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function u(t){return void 0===t._maxListeners?n.defaultMaxListeners:t._maxListeners}function l(t,e,i,r){var a,n,o,l;if(s(i),void 0===(n=t._events)?(n=t._events=Object.create(null),t._eventsCount=0):(void 0!==n.newListener&&(t.emit("newListener",e,i.listener?i.listener:i),n=t._events),o=n[e]),void 0===o)o=n[e]=i,++t._eventsCount;else if("function"==typeof o?o=n[e]=r?[i,o]:[o,i]:r?o.unshift(i):o.push(i),(a=u(t))>0&&o.length>a&&!o.warned){o.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=t,c.type=e,c.count=o.length,l=c,console&&console.warn&&console.warn(l)}return t}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(t,e,i){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:i},a=c.bind(r);return a.listener=i,r.wrapFn=a,a}function h(t,e,i){var r=t._events;if(void 0===r)return[];var a=r[e];return void 0===a?[]:"function"==typeof a?i?[a.listener||a]:[a]:i?function(t){for(var e=new Array(t.length),i=0;i<e.length;++i)e[i]=t[i].listener||t[i];return e}(a):p(a,a.length)}function f(t){var e=this._events;if(void 0!==e){var i=e[t];if("function"==typeof i)return 1;if(void 0!==i)return i.length}return 0}function p(t,e){for(var i=new Array(e),r=0;r<e;++r)i[r]=t[r];return i}function m(t,e,i,r){if("function"==typeof t.on)r.once?t.once(e,i):t.on(e,i);else{if("function"!=typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function a(n){r.once&&t.removeEventListener(e,a),i(n)}))}}Object.defineProperty(n,"defaultMaxListeners",{enumerable:!0,get:function(){return o},set:function(t){if("number"!=typeof t||t<0||a(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");o=t}}),n.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},n.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||a(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},n.prototype.getMaxListeners=function(){return u(this)},n.prototype.emit=function(t){for(var e=[],i=1;i<arguments.length;i++)e.push(arguments[i]);var a="error"===t,n=this._events;if(void 0!==n)a=a&&void 0===n.error;else if(!a)return!1;if(a){var o;if(e.length>0&&(o=e[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var u=n[t];if(void 0===u)return!1;if("function"==typeof u)r(u,this,e);else{var l=u.length,c=p(u,l);for(i=0;i<l;++i)r(c[i],this,e)}return!0},n.prototype.addListener=function(t,e){return l(this,t,e,!1)},n.prototype.on=n.prototype.addListener,n.prototype.prependListener=function(t,e){return l(this,t,e,!0)},n.prototype.once=function(t,e){return s(e),this.on(t,d(this,t,e)),this},n.prototype.prependOnceListener=function(t,e){return s(e),this.prependListener(t,d(this,t,e)),this},n.prototype.removeListener=function(t,e){var i,r,a,n,o;if(s(e),void 0===(r=this._events))return this;if(void 0===(i=r[t]))return this;if(i===e||i.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,i.listener||e));else if("function"!=typeof i){for(a=-1,n=i.length-1;n>=0;n--)if(i[n]===e||i[n].listener===e){o=i[n].listener,a=n;break}if(a<0)return this;0===a?i.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(i,a),1===i.length&&(r[t]=i[0]),void 0!==r.removeListener&&this.emit("removeListener",t,o||e)}return this},n.prototype.off=n.prototype.removeListener,n.prototype.removeAllListeners=function(t){var e,i,r;if(void 0===(i=this._events))return this;if(void 0===i.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==i[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete i[t]),this;if(0===arguments.length){var a,n=Object.keys(i);for(r=0;r<n.length;++r)"removeListener"!==(a=n[r])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=i[t]))this.removeListener(t,e);else if(void 0!==e)for(r=e.length-1;r>=0;r--)this.removeListener(t,e[r]);return this},n.prototype.listeners=function(t){return h(this,t,!0)},n.prototype.rawListeners=function(t){return h(this,t,!1)},n.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):f.call(t,e)},n.prototype.listenerCount=f,n.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},12366:function(t,e){!function(t){"use strict";function e(t,e){if(null==t)return{};var i,r,a={},n=Object.keys(t);for(r=0;r<n.length;r++)i=n[r],e.indexOf(i)>=0||(a[i]=t[i]);return a}function i(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new i.InputMask(t,e)}class r{constructor(t){Object.assign(this,{inserted:"",rawInserted:"",skip:!1,tailShift:0},t)}aggregate(t){return this.rawInserted+=t.rawInserted,this.skip=this.skip||t.skip,this.inserted+=t.inserted,this.tailShift+=t.tailShift,this}get offset(){return this.tailShift+this.inserted.length}}function a(t){return"string"==typeof t||t instanceof String}i.ChangeDetails=r;const n="NONE",o="LEFT",s="FORCE_LEFT",u="RIGHT",l="FORCE_RIGHT";function c(t){return t.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function d(t){return Array.isArray(t)?t:[t,new r]}function h(t,e){if(e===t)return!0;var i,r=Array.isArray(e),a=Array.isArray(t);if(r&&a){if(e.length!=t.length)return!1;for(i=0;i<e.length;i++)if(!h(e[i],t[i]))return!1;return!0}if(r!=a)return!1;if(e&&t&&"object"==typeof e&&"object"==typeof t){var n=e instanceof Date,o=t instanceof Date;if(n&&o)return e.getTime()==t.getTime();if(n!=o)return!1;var s=e instanceof RegExp,u=t instanceof RegExp;if(s&&u)return e.toString()==t.toString();if(s!=u)return!1;var l=Object.keys(e);for(i=0;i<l.length;i++)if(!Object.prototype.hasOwnProperty.call(t,l[i]))return!1;for(i=0;i<l.length;i++)if(!h(t[l[i]],e[l[i]]))return!1;return!0}return!(!e||!t||"function"!=typeof e||"function"!=typeof t)&&e.toString()===t.toString()}class f{constructor(t,e,i,r){for(this.value=t,this.cursorPos=e,this.oldValue=i,this.oldSelection=r;this.value.slice(0,this.startChangePos)!==this.oldValue.slice(0,this.startChangePos);)--this.oldSelection.start}get startChangePos(){return Math.min(this.cursorPos,this.oldSelection.start)}get insertedCount(){return this.cursorPos-this.startChangePos}get inserted(){return this.value.substr(this.startChangePos,this.insertedCount)}get removedCount(){return Math.max(this.oldSelection.end-this.startChangePos||this.oldValue.length-this.value.length,0)}get removed(){return this.oldValue.substr(this.startChangePos,this.removedCount)}get head(){return this.value.substring(0,this.startChangePos)}get tail(){return this.value.substring(this.startChangePos+this.insertedCount)}get removeDirection(){return!this.removedCount||this.insertedCount?n:this.oldSelection.end!==this.cursorPos&&this.oldSelection.start!==this.cursorPos||this.oldSelection.end!==this.oldSelection.start?o:u}}class p{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;this.value=t,this.from=e,this.stop=i}toString(){return this.value}extend(t){this.value+=String(t)}appendTo(t){return t.append(this.toString(),{tail:!0}).aggregate(t._appendPlaceholder())}get state(){return{value:this.value,from:this.from,stop:this.stop}}set state(t){Object.assign(this,t)}unshift(t){if(!this.value.length||null!=t&&this.from>=t)return"";const e=this.value[0];return this.value=this.value.slice(1),e}shift(){if(!this.value.length)return"";const t=this.value[this.value.length-1];return this.value=this.value.slice(0,-1),t}}class m{constructor(t){this._value="",this._update(Object.assign({},m.DEFAULTS,t)),this.isInitialized=!0}updateOptions(t){Object.keys(t).length&&this.withValueRefresh(this._update.bind(this,t))}_update(t){Object.assign(this,t)}get state(){return{_value:this.value}}set state(t){this._value=t._value}reset(){this._value=""}get value(){return this._value}set value(t){this.resolve(t)}resolve(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{input:!0};return this.reset(),this.append(t,e,""),this.doCommit(),this.value}get unmaskedValue(){return this.value}set unmaskedValue(t){this.reset(),this.append(t,{},""),this.doCommit()}get typedValue(){return this.doParse(this.value)}set typedValue(t){this.value=this.doFormat(t)}get rawInputValue(){return this.extractInput(0,this.value.length,{raw:!0})}set rawInputValue(t){this.reset(),this.append(t,{raw:!0},""),this.doCommit()}get displayValue(){return this.value}get isComplete(){return!0}get isFilled(){return this.isComplete}nearestInputPos(t,e){return t}totalInputPositions(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;return Math.min(this.value.length,e-t)}extractInput(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;return this.value.slice(t,e)}extractTail(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;return new p(this.extractInput(t,e),t)}appendTail(t){return a(t)&&(t=new p(String(t))),t.appendTo(this)}_appendCharRaw(t){return t?(this._value+=t,new r({inserted:t,rawInserted:t})):new r}_appendChar(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;const a=this.state;let n;if([t,n]=d(this.doPrepare(t,e)),n=n.aggregate(this._appendCharRaw(t,e)),n.inserted){let t,o=!1!==this.doValidate(e);if(o&&null!=i){const e=this.state;!0===this.overwrite&&(t=i.state,i.unshift(this.value.length-n.tailShift));let r=this.appendTail(i);o=r.rawInserted===i.toString(),o&&r.inserted||"shift"!==this.overwrite||(this.state=e,t=i.state,i.shift(),r=this.appendTail(i),o=r.rawInserted===i.toString()),o&&r.inserted&&(this.state=e)}o||(n=new r,this.state=a,i&&t&&(i.state=t))}return n}_appendPlaceholder(){return new r}_appendEager(){return new r}append(t,e,i){if(!a(t))throw new Error("value should be string");const n=new r,o=a(i)?new p(String(i)):i;null!=e&&e.tail&&(e._beforeTailState=this.state);for(let i=0;i<t.length;++i){const r=this._appendChar(t[i],e,o);if(!r.rawInserted&&!this.doSkipInvalid(t[i],e,o))break;n.aggregate(r)}return(!0===this.eager||"append"===this.eager)&&null!=e&&e.input&&t&&n.aggregate(this._appendEager()),null!=o&&(n.tailShift+=this.appendTail(o).tailShift),n}remove(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;return this._value=this.value.slice(0,t)+this.value.slice(e),new r}withValueRefresh(t){if(this._refreshing||!this.isInitialized)return t();this._refreshing=!0;const e=this.rawInputValue,i=this.value,r=t();return this.rawInputValue=e,this.value&&this.value!==i&&0===i.indexOf(this.value)&&this.append(i.slice(this.value.length),{},""),delete this._refreshing,r}runIsolated(t){if(this._isolated||!this.isInitialized)return t(this);this._isolated=!0;const e=this.state,i=t(this);return this.state=e,delete this._isolated,i}doSkipInvalid(t){return this.skipInvalid}doPrepare(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.prepare?this.prepare(t,this,e):t}doValidate(t){return(!this.validate||this.validate(this.value,this,t))&&(!this.parent||this.parent.doValidate(t))}doCommit(){this.commit&&this.commit(this.value,this)}doFormat(t){return this.format?this.format(t,this):t}doParse(t){return this.parse?this.parse(t,this):t}splice(t,e,i,a){let c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{input:!0};const d=t+e,h=this.extractTail(d),f=!0===this.eager||"remove"===this.eager;let p;f&&(a=function(t){switch(t){case o:return s;case u:return l;default:return t}}(a),p=this.extractInput(0,d,{raw:!0}));let m=t;const b=new r;if(a!==n&&(m=this.nearestInputPos(t,e>1&&0!==t&&!f?n:a),b.tailShift=m-t),b.aggregate(this.remove(m)),f&&a!==n&&p===this.rawInputValue)if(a===s){let t;for(;p===this.rawInputValue&&(t=this.value.length);)b.aggregate(new r({tailShift:-1})).aggregate(this.remove(t-1))}else a===l&&h.unshift();return b.aggregate(this.append(i,c,h))}maskEquals(t){return this.mask===t}typedValueEquals(t){const e=this.typedValue;return t===e||m.EMPTY_VALUES.includes(t)&&m.EMPTY_VALUES.includes(e)||this.doFormat(t)===this.doFormat(this.typedValue)}}function b(t){if(null==t)throw new Error("mask property should be defined");return t instanceof RegExp?i.MaskedRegExp:a(t)?i.MaskedPattern:t instanceof Date||t===Date?i.MaskedDate:t instanceof Number||"number"==typeof t||t===Number?i.MaskedNumber:Array.isArray(t)||t===Array?i.MaskedDynamic:i.Masked&&t.prototype instanceof i.Masked?t:t instanceof i.Masked?t.constructor:t instanceof Function?i.MaskedFunction:(console.warn("Mask not found for mask",t),i.Masked)}function g(t){if(i.Masked&&t instanceof i.Masked)return t;const e=(t=Object.assign({},t)).mask;if(i.Masked&&e instanceof i.Masked)return e;const r=b(e);if(!r)throw new Error("Masked class is not found for provided mask, appropriate module needs to be import manually before creating mask.");return new r(t)}m.DEFAULTS={format:String,parse:t=>t,skipInvalid:!0},m.EMPTY_VALUES=[void 0,null,""],i.Masked=m,i.createMask=g;const v=["parent","isOptional","placeholderChar","displayChar","lazy","eager"],y={0:/\d/,a:/[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,"*":/./};class _{constructor(t){const{parent:i,isOptional:r,placeholderChar:a,displayChar:n,lazy:o,eager:s}=t,u=e(t,v);this.masked=g(u),Object.assign(this,{parent:i,isOptional:r,placeholderChar:a,displayChar:n,lazy:o,eager:s})}reset(){this.isFilled=!1,this.masked.reset()}remove(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;return 0===t&&e>=1?(this.isFilled=!1,this.masked.remove(t,e)):new r}get value(){return this.masked.value||(this.isFilled&&!this.isOptional?this.placeholderChar:"")}get unmaskedValue(){return this.masked.unmaskedValue}get displayValue(){return this.masked.value&&this.displayChar||this.value}get isComplete(){return Boolean(this.masked.value)||this.isOptional}_appendChar(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.isFilled)return new r;const i=this.masked.state,a=this.masked._appendChar(t,e);return a.inserted&&!1===this.doValidate(e)&&(a.inserted=a.rawInserted="",this.masked.state=i),a.inserted||this.isOptional||this.lazy||e.input||(a.inserted=this.placeholderChar),a.skip=!a.inserted&&!this.isOptional,this.isFilled=Boolean(a.inserted),a}append(){return this.masked.append(...arguments)}_appendPlaceholder(){const t=new r;return this.isFilled||this.isOptional||(this.isFilled=!0,t.inserted=this.placeholderChar),t}_appendEager(){return new r}extractTail(){return this.masked.extractTail(...arguments)}appendTail(){return this.masked.appendTail(...arguments)}extractInput(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,i=arguments.length>2?arguments[2]:void 0;return this.masked.extractInput(t,e,i)}nearestInputPos(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;const i=this.value.length,r=Math.min(Math.max(t,0),i);switch(e){case o:case s:return this.isComplete?r:0;case u:case l:return this.isComplete?r:i;default:return r}}totalInputPositions(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;return this.value.slice(t,e).length}doValidate(){return this.masked.doValidate(...arguments)&&(!this.parent||this.parent.doValidate(...arguments))}doCommit(){this.masked.doCommit()}get state(){return{masked:this.masked.state,isFilled:this.isFilled}}set state(t){this.masked.state=t.masked,this.isFilled=t.isFilled}}class x{constructor(t){Object.assign(this,t),this._value="",this.isFixed=!0}get value(){return this._value}get unmaskedValue(){return this.isUnmasking?this.value:""}get displayValue(){return this.value}reset(){this._isRawInput=!1,this._value=""}remove(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._value.length;return this._value=this._value.slice(0,t)+this._value.slice(e),this._value||(this._isRawInput=!1),new r}nearestInputPos(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;const i=this._value.length;switch(e){case o:case s:return 0;default:return i}}totalInputPositions(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._value.length;return this._isRawInput?e-t:0}extractInput(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._value.length;return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).raw&&this._isRawInput&&this._value.slice(t,e)||""}get isComplete(){return!0}get isFilled(){return Boolean(this._value)}_appendChar(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=new r;if(this.isFilled)return i;const a=!0===this.eager||"append"===this.eager,n=this.char===t&&(this.isUnmasking||e.input||e.raw)&&(!e.raw||!a)&&!e.tail;return n&&(i.rawInserted=this.char),this._value=i.inserted=this.char,this._isRawInput=n&&(e.raw||e.input),i}_appendEager(){return this._appendChar(this.char,{tail:!0})}_appendPlaceholder(){const t=new r;return this.isFilled||(this._value=t.inserted=this.char),t}extractTail(){return arguments.length>1&&void 0!==arguments[1]||this.value.length,new p("")}appendTail(t){return a(t)&&(t=new p(String(t))),t.appendTo(this)}append(t,e,i){const r=this._appendChar(t[0],e);return null!=i&&(r.tailShift+=this.appendTail(i).tailShift),r}doCommit(){}get state(){return{_value:this._value,_isRawInput:this._isRawInput}}set state(t){Object.assign(this,t)}}const k=["chunks"];class w{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.chunks=t,this.from=e}toString(){return this.chunks.map(String).join("")}extend(t){if(!String(t))return;a(t)&&(t=new p(String(t)));const e=this.chunks[this.chunks.length-1],i=e&&(e.stop===t.stop||null==t.stop)&&t.from===e.from+e.toString().length;if(t instanceof p)i?e.extend(t.toString()):this.chunks.push(t);else if(t instanceof w){if(null==t.stop){let e;for(;t.chunks.length&&null==t.chunks[0].stop;)e=t.chunks.shift(),e.from+=t.from,this.extend(e)}t.toString()&&(t.stop=t.blockIndex,this.chunks.push(t))}}appendTo(t){if(!(t instanceof i.MaskedPattern))return new p(this.toString()).appendTo(t);const e=new r;for(let i=0;i<this.chunks.length&&!e.skip;++i){const r=this.chunks[i],a=t._mapPosToBlock(t.value.length),n=r.stop;let o;if(null!=n&&(!a||a.index<=n)){if(r instanceof w||t._stops.indexOf(n)>=0){const i=t._appendPlaceholder(n);e.aggregate(i)}o=r instanceof w&&t._blocks[n]}if(o){const i=o.appendTail(r);i.skip=!1,e.aggregate(i),t._value+=i.inserted;const a=r.toString().slice(i.rawInserted.length);a&&e.aggregate(t.append(a,{tail:!0}))}else e.aggregate(t.append(r.toString(),{tail:!0}))}return e}get state(){return{chunks:this.chunks.map((t=>t.state)),from:this.from,stop:this.stop,blockIndex:this.blockIndex}}set state(t){const{chunks:i}=t,r=e(t,k);Object.assign(this,r),this.chunks=i.map((t=>{const e="chunks"in t?new w:new p;return e.state=t,e}))}unshift(t){if(!this.chunks.length||null!=t&&this.from>=t)return"";const e=null!=t?t-this.from:t;let i=0;for(;i<this.chunks.length;){const t=this.chunks[i],r=t.unshift(e);if(t.toString()){if(!r)break;++i}else this.chunks.splice(i,1);if(r)return r}return""}shift(){if(!this.chunks.length)return"";let t=this.chunks.length-1;for(;0<=t;){const e=this.chunks[t],i=e.shift();if(e.toString()){if(!i)break;--t}else this.chunks.splice(t,1);if(i)return i}return""}}class S{constructor(t,e){this.masked=t,this._log=[];const{offset:i,index:r}=t._mapPosToBlock(e)||(e<0?{index:0,offset:0}:{index:this.masked._blocks.length,offset:0});this.offset=i,this.index=r,this.ok=!1}get block(){return this.masked._blocks[this.index]}get pos(){return this.masked._blockStartPos(this.index)+this.offset}get state(){return{index:this.index,offset:this.offset,ok:this.ok}}set state(t){Object.assign(this,t)}pushState(){this._log.push(this.state)}popState(){const t=this._log.pop();return this.state=t,t}bindBlock(){this.block||(this.index<0&&(this.index=0,this.offset=0),this.index>=this.masked._blocks.length&&(this.index=this.masked._blocks.length-1,this.offset=this.block.value.length))}_pushLeft(t){for(this.pushState(),this.bindBlock();0<=this.index;--this.index,this.offset=(null===(e=this.block)||void 0===e?void 0:e.value.length)||0){var e;if(t())return this.ok=!0}return this.ok=!1}_pushRight(t){for(this.pushState(),this.bindBlock();this.index<this.masked._blocks.length;++this.index,this.offset=0)if(t())return this.ok=!0;return this.ok=!1}pushLeftBeforeFilled(){return this._pushLeft((()=>{if(!this.block.isFixed&&this.block.value)return this.offset=this.block.nearestInputPos(this.offset,s),0!==this.offset||void 0}))}pushLeftBeforeInput(){return this._pushLeft((()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,o),!0}))}pushLeftBeforeRequired(){return this._pushLeft((()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,o),!0}))}pushRightBeforeFilled(){return this._pushRight((()=>{if(!this.block.isFixed&&this.block.value)return this.offset=this.block.nearestInputPos(this.offset,l),this.offset!==this.block.value.length||void 0}))}pushRightBeforeInput(){return this._pushRight((()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,n),!0}))}pushRightBeforeRequired(){return this._pushRight((()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,n),!0}))}}class E extends m{_update(t){t.mask&&(t.validate=e=>e.search(t.mask)>=0),super._update(t)}}i.MaskedRegExp=E;const j=["_blocks"];class T extends m{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.definitions=Object.assign({},y,t.definitions),super(Object.assign({},T.DEFAULTS,t))}_update(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.definitions=Object.assign({},this.definitions,t.definitions),super._update(t),this._rebuildMask()}_rebuildMask(){const t=this.definitions;this._blocks=[],this._stops=[],this._maskedBlocks={};let e=this.mask;if(!e||!t)return;let r=!1,a=!1;for(let s=0;s<e.length;++s){var n,o;if(this.blocks){const t=e.slice(s),i=Object.keys(this.blocks).filter((e=>0===t.indexOf(e)));i.sort(((t,e)=>e.length-t.length));const r=i[0];if(r){const t=g(Object.assign({parent:this,lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,overwrite:this.overwrite},this.blocks[r]));t&&(this._blocks.push(t),this._maskedBlocks[r]||(this._maskedBlocks[r]=[]),this._maskedBlocks[r].push(this._blocks.length-1)),s+=r.length-1;continue}}let u=e[s],l=u in t;if(u===T.STOP_CHAR){this._stops.push(this._blocks.length);continue}if("{"===u||"}"===u){r=!r;continue}if("["===u||"]"===u){a=!a;continue}if(u===T.ESCAPE_CHAR){if(++s,u=e[s],!u)break;l=!1}const c=null===(n=t[u])||void 0===n||!n.mask||(null===(o=t[u])||void 0===o?void 0:o.mask.prototype)instanceof i.Masked?{mask:t[u]}:t[u],d=l?new _(Object.assign({parent:this,isOptional:a,lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar},c)):new x({char:u,eager:this.eager,isUnmasking:r});this._blocks.push(d)}}get state(){return Object.assign({},super.state,{_blocks:this._blocks.map((t=>t.state))})}set state(t){const{_blocks:i}=t,r=e(t,j);this._blocks.forEach(((t,e)=>t.state=i[e])),super.state=r}reset(){super.reset(),this._blocks.forEach((t=>t.reset()))}get isComplete(){return this._blocks.every((t=>t.isComplete))}get isFilled(){return this._blocks.every((t=>t.isFilled))}get isFixed(){return this._blocks.every((t=>t.isFixed))}get isOptional(){return this._blocks.every((t=>t.isOptional))}doCommit(){this._blocks.forEach((t=>t.doCommit())),super.doCommit()}get unmaskedValue(){return this._blocks.reduce(((t,e)=>t+e.unmaskedValue),"")}set unmaskedValue(t){super.unmaskedValue=t}get value(){return this._blocks.reduce(((t,e)=>t+e.value),"")}set value(t){super.value=t}get displayValue(){return this._blocks.reduce(((t,e)=>t+e.displayValue),"")}appendTail(t){return super.appendTail(t).aggregate(this._appendPlaceholder())}_appendEager(){var t;const e=new r;let i=null===(t=this._mapPosToBlock(this.value.length))||void 0===t?void 0:t.index;if(null==i)return e;this._blocks[i].isFilled&&++i;for(let t=i;t<this._blocks.length;++t){const i=this._blocks[t]._appendEager();if(!i.inserted)break;e.aggregate(i)}return e}_appendCharRaw(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=this._mapPosToBlock(this.value.length),a=new r;if(!i)return a;for(let r=i.index;;++r){var n,o;const i=this._blocks[r];if(!i)break;const s=i._appendChar(t,Object.assign({},e,{_beforeTailState:null===(n=e._beforeTailState)||void 0===n||null===(o=n._blocks)||void 0===o?void 0:o[r]})),u=s.skip;if(a.aggregate(s),u||s.rawInserted)break}return a}extractTail(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;const i=new w;return t===e||this._forEachBlocksInRange(t,e,((t,e,r,a)=>{const n=t.extractTail(r,a);n.stop=this._findStopBefore(e),n.from=this._blockStartPos(e),n instanceof w&&(n.blockIndex=e),i.extend(n)})),i}extractInput(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t===e)return"";let r="";return this._forEachBlocksInRange(t,e,((t,e,a,n)=>{r+=t.extractInput(a,n,i)})),r}_findStopBefore(t){let e;for(let i=0;i<this._stops.length;++i){const r=this._stops[i];if(!(r<=t))break;e=r}return e}_appendPlaceholder(t){const e=new r;if(this.lazy&&null==t)return e;const i=this._mapPosToBlock(this.value.length);if(!i)return e;const a=i.index,n=null!=t?t:this._blocks.length;return this._blocks.slice(a,n).forEach((i=>{if(!i.lazy||null!=t){const t=null!=i._blocks?[i._blocks.length]:[],r=i._appendPlaceholder(...t);this._value+=r.inserted,e.aggregate(r)}})),e}_mapPosToBlock(t){let e="";for(let i=0;i<this._blocks.length;++i){const r=this._blocks[i],a=e.length;if(e+=r.value,t<=e.length)return{index:i,offset:t-a}}}_blockStartPos(t){return this._blocks.slice(0,t).reduce(((t,e)=>t+e.value.length),0)}_forEachBlocksInRange(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,i=arguments.length>2?arguments[2]:void 0;const r=this._mapPosToBlock(t);if(r){const t=this._mapPosToBlock(e),a=t&&r.index===t.index,n=r.offset,o=t&&a?t.offset:this._blocks[r.index].value.length;if(i(this._blocks[r.index],r.index,n,o),t&&!a){for(let e=r.index+1;e<t.index;++e)i(this._blocks[e],e,0,this._blocks[e].value.length);i(this._blocks[t.index],t.index,0,t.offset)}}}remove(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;const i=super.remove(t,e);return this._forEachBlocksInRange(t,e,((t,e,r,a)=>{i.aggregate(t.remove(r,a))})),i}nearestInputPos(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;if(!this._blocks.length)return 0;const i=new S(this,t);if(e===n)return i.pushRightBeforeInput()?i.pos:(i.popState(),i.pushLeftBeforeInput()?i.pos:this.value.length);if(e===o||e===s){if(e===o){if(i.pushRightBeforeFilled(),i.ok&&i.pos===t)return t;i.popState()}if(i.pushLeftBeforeInput(),i.pushLeftBeforeRequired(),i.pushLeftBeforeFilled(),e===o){if(i.pushRightBeforeInput(),i.pushRightBeforeRequired(),i.ok&&i.pos<=t)return i.pos;if(i.popState(),i.ok&&i.pos<=t)return i.pos;i.popState()}return i.ok?i.pos:e===s?0:(i.popState(),i.ok?i.pos:(i.popState(),i.ok?i.pos:0))}return e===u||e===l?(i.pushRightBeforeInput(),i.pushRightBeforeRequired(),i.pushRightBeforeFilled()?i.pos:e===l?this.value.length:(i.popState(),i.ok?i.pos:(i.popState(),i.ok?i.pos:this.nearestInputPos(t,o)))):t}totalInputPositions(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,i=0;return this._forEachBlocksInRange(t,e,((t,e,r,a)=>{i+=t.totalInputPositions(r,a)})),i}maskedBlock(t){return this.maskedBlocks(t)[0]}maskedBlocks(t){const e=this._maskedBlocks[t];return e?e.map((t=>this._blocks[t])):[]}}T.DEFAULTS={lazy:!0,placeholderChar:"_"},T.STOP_CHAR="`",T.ESCAPE_CHAR="\\",T.InputDefinition=_,T.FixedDefinition=x,i.MaskedPattern=T;class P extends T{get _matchFrom(){return this.maxLength-String(this.from).length}_update(t){t=Object.assign({to:this.to||0,from:this.from||0,maxLength:this.maxLength||0},t);let e=String(t.to).length;null!=t.maxLength&&(e=Math.max(e,t.maxLength)),t.maxLength=e;const i=String(t.from).padStart(e,"0"),r=String(t.to).padStart(e,"0");let a=0;for(;a<r.length&&r[a]===i[a];)++a;t.mask=r.slice(0,a).replace(/0/g,"\\0")+"0".repeat(e-a),super._update(t)}get isComplete(){return super.isComplete&&Boolean(this.value)}boundaries(t){let e="",i="";const[,r,a]=t.match(/^(\D*)(\d*)(\D*)/)||[];return a&&(e="0".repeat(r.length)+a,i="9".repeat(r.length)+a),e=e.padEnd(this.maxLength,"0"),i=i.padEnd(this.maxLength,"9"),[e,i]}doPrepare(t){let e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if([t,e]=d(super.doPrepare(t.replace(/\D/g,""),i)),!this.autofix||!t)return t;const r=String(this.from).padStart(this.maxLength,"0"),a=String(this.to).padStart(this.maxLength,"0");let n=this.value+t;if(n.length>this.maxLength)return"";const[o,s]=this.boundaries(n);return Number(s)<this.from?r[n.length-1]:Number(o)>this.to?"pad"===this.autofix&&n.length<this.maxLength?["",e.aggregate(this.append(r[n.length-1]+t,i))]:a[n.length-1]:t}doValidate(){const t=this.value;if(-1===t.search(/[^0]/)&&t.length<=this._matchFrom)return!0;const[e,i]=this.boundaries(t);return this.from<=Number(i)&&Number(e)<=this.to&&super.doValidate(...arguments)}}i.MaskedRange=P;class A extends T{constructor(t){super(Object.assign({},A.DEFAULTS,t))}_update(t){t.mask===Date&&delete t.mask,t.pattern&&(t.mask=t.pattern);const e=t.blocks;t.blocks=Object.assign({},A.GET_DEFAULT_BLOCKS()),t.min&&(t.blocks.Y.from=t.min.getFullYear()),t.max&&(t.blocks.Y.to=t.max.getFullYear()),t.min&&t.max&&t.blocks.Y.from===t.blocks.Y.to&&(t.blocks.m.from=t.min.getMonth()+1,t.blocks.m.to=t.max.getMonth()+1,t.blocks.m.from===t.blocks.m.to&&(t.blocks.d.from=t.min.getDate(),t.blocks.d.to=t.max.getDate())),Object.assign(t.blocks,this.blocks,e),Object.keys(t.blocks).forEach((e=>{const i=t.blocks[e];!("autofix"in i)&&"autofix"in t&&(i.autofix=t.autofix)})),super._update(t)}doValidate(){const t=this.date;return super.doValidate(...arguments)&&(!this.isComplete||this.isDateExist(this.value)&&null!=t&&(null==this.min||this.min<=t)&&(null==this.max||t<=this.max))}isDateExist(t){return this.format(this.parse(t,this),this).indexOf(t)>=0}get date(){return this.typedValue}set date(t){this.typedValue=t}get typedValue(){return this.isComplete?super.typedValue:null}set typedValue(t){super.typedValue=t}maskEquals(t){return t===Date||super.maskEquals(t)}}A.DEFAULTS={pattern:"d{.}`m{.}`Y",format:t=>t?[String(t.getDate()).padStart(2,"0"),String(t.getMonth()+1).padStart(2,"0"),t.getFullYear()].join("."):"",parse:t=>{const[e,i,r]=t.split(".");return new Date(r,i-1,e)}},A.GET_DEFAULT_BLOCKS=()=>({d:{mask:P,from:1,to:31,maxLength:2},m:{mask:P,from:1,to:12,maxLength:2},Y:{mask:P,from:1900,to:9999}}),i.MaskedDate=A;class C{get selectionStart(){let t;try{t=this._unsafeSelectionStart}catch(t){}return null!=t?t:this.value.length}get selectionEnd(){let t;try{t=this._unsafeSelectionEnd}catch(t){}return null!=t?t:this.value.length}select(t,e){if(null!=t&&null!=e&&(t!==this.selectionStart||e!==this.selectionEnd))try{this._unsafeSelect(t,e)}catch(t){}}_unsafeSelect(t,e){}get isActive(){return!1}bindEvents(t){}unbindEvents(){}}i.MaskElement=C;class O extends C{constructor(t){super(),this.input=t,this._handlers={}}get rootElement(){var t,e,i;return null!==(t=null===(e=(i=this.input).getRootNode)||void 0===e?void 0:e.call(i))&&void 0!==t?t:document}get isActive(){return this.input===this.rootElement.activeElement}get _unsafeSelectionStart(){return this.input.selectionStart}get _unsafeSelectionEnd(){return this.input.selectionEnd}_unsafeSelect(t,e){this.input.setSelectionRange(t,e)}get value(){return this.input.value}set value(t){this.input.value=t}bindEvents(t){Object.keys(t).forEach((e=>this._toggleEventHandler(O.EVENTS_MAP[e],t[e])))}unbindEvents(){Object.keys(this._handlers).forEach((t=>this._toggleEventHandler(t)))}_toggleEventHandler(t,e){this._handlers[t]&&(this.input.removeEventListener(t,this._handlers[t]),delete this._handlers[t]),e&&(this.input.addEventListener(t,e),this._handlers[t]=e)}}O.EVENTS_MAP={selectionChange:"keydown",input:"input",drop:"drop",click:"click",focus:"focus",commit:"blur"},i.HTMLMaskElement=O;class M extends O{get _unsafeSelectionStart(){const t=this.rootElement,e=t.getSelection&&t.getSelection(),i=e&&e.anchorOffset,r=e&&e.focusOffset;return null==r||null==i||i<r?i:r}get _unsafeSelectionEnd(){const t=this.rootElement,e=t.getSelection&&t.getSelection(),i=e&&e.anchorOffset,r=e&&e.focusOffset;return null==r||null==i||i>r?i:r}_unsafeSelect(t,e){if(!this.rootElement.createRange)return;const i=this.rootElement.createRange();i.setStart(this.input.firstChild||this.input,t),i.setEnd(this.input.lastChild||this.input,e);const r=this.rootElement,a=r.getSelection&&r.getSelection();a&&(a.removeAllRanges(),a.addRange(i))}get value(){return this.input.textContent}set value(t){this.input.textContent=t}}i.HTMLContenteditableMaskElement=M;const D=["mask"];class z{constructor(t,e){this.el=t instanceof C?t:t.isContentEditable&&"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName?new M(t):new O(t),this.masked=g(e),this._listeners={},this._value="",this._unmaskedValue="",this._saveSelection=this._saveSelection.bind(this),this._onInput=this._onInput.bind(this),this._onChange=this._onChange.bind(this),this._onDrop=this._onDrop.bind(this),this._onFocus=this._onFocus.bind(this),this._onClick=this._onClick.bind(this),this.alignCursor=this.alignCursor.bind(this),this.alignCursorFriendly=this.alignCursorFriendly.bind(this),this._bindEvents(),this.updateValue(),this._onChange()}get mask(){return this.masked.mask}maskEquals(t){var e;return null==t||(null===(e=this.masked)||void 0===e?void 0:e.maskEquals(t))}set mask(t){if(this.maskEquals(t))return;if(!(t instanceof i.Masked)&&this.masked.constructor===b(t))return void this.masked.updateOptions({mask:t});const e=g({mask:t});e.unmaskedValue=this.masked.unmaskedValue,this.masked=e}get value(){return this._value}set value(t){this.value!==t&&(this.masked.value=t,this.updateControl(),this.alignCursor())}get unmaskedValue(){return this._unmaskedValue}set unmaskedValue(t){this.unmaskedValue!==t&&(this.masked.unmaskedValue=t,this.updateControl(),this.alignCursor())}get typedValue(){return this.masked.typedValue}set typedValue(t){this.masked.typedValueEquals(t)||(this.masked.typedValue=t,this.updateControl(),this.alignCursor())}get displayValue(){return this.masked.displayValue}_bindEvents(){this.el.bindEvents({selectionChange:this._saveSelection,input:this._onInput,drop:this._onDrop,click:this._onClick,focus:this._onFocus,commit:this._onChange})}_unbindEvents(){this.el&&this.el.unbindEvents()}_fireEvent(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),r=1;r<e;r++)i[r-1]=arguments[r];const a=this._listeners[t];a&&a.forEach((t=>t(...i)))}get selectionStart(){return this._cursorChanging?this._changingCursorPos:this.el.selectionStart}get cursorPos(){return this._cursorChanging?this._changingCursorPos:this.el.selectionEnd}set cursorPos(t){this.el&&this.el.isActive&&(this.el.select(t,t),this._saveSelection())}_saveSelection(){this.displayValue!==this.el.value&&console.warn("Element value was changed outside of mask. Syncronize mask using `mask.updateValue()` to work properly."),this._selection={start:this.selectionStart,end:this.cursorPos}}updateValue(){this.masked.value=this.el.value,this._value=this.masked.value}updateControl(){const t=this.masked.unmaskedValue,e=this.masked.value,i=this.displayValue,r=this.unmaskedValue!==t||this.value!==e;this._unmaskedValue=t,this._value=e,this.el.value!==i&&(this.el.value=i),r&&this._fireChangeEvents()}updateOptions(t){const{mask:i}=t,r=e(t,D),a=!this.maskEquals(i),n=!h(this.masked,r);a&&(this.mask=i),n&&this.masked.updateOptions(r),(a||n)&&this.updateControl()}updateCursor(t){null!=t&&(this.cursorPos=t,this._delayUpdateCursor(t))}_delayUpdateCursor(t){this._abortUpdateCursor(),this._changingCursorPos=t,this._cursorChanging=setTimeout((()=>{this.el&&(this.cursorPos=this._changingCursorPos,this._abortUpdateCursor())}),10)}_fireChangeEvents(){this._fireEvent("accept",this._inputEvent),this.masked.isComplete&&this._fireEvent("complete",this._inputEvent)}_abortUpdateCursor(){this._cursorChanging&&(clearTimeout(this._cursorChanging),delete this._cursorChanging)}alignCursor(){this.cursorPos=this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos,o))}alignCursorFriendly(){this.selectionStart===this.cursorPos&&this.alignCursor()}on(t,e){return this._listeners[t]||(this._listeners[t]=[]),this._listeners[t].push(e),this}off(t,e){if(!this._listeners[t])return this;if(!e)return delete this._listeners[t],this;const i=this._listeners[t].indexOf(e);return i>=0&&this._listeners[t].splice(i,1),this}_onInput(t){if(this._inputEvent=t,this._abortUpdateCursor(),!this._selection)return this.updateValue();const e=new f(this.el.value,this.cursorPos,this.displayValue,this._selection),i=this.masked.rawInputValue,r=this.masked.splice(e.startChangePos,e.removed.length,e.inserted,e.removeDirection,{input:!0,raw:!0}).offset,a=i===this.masked.rawInputValue?e.removeDirection:n;let o=this.masked.nearestInputPos(e.startChangePos+r,a);a!==n&&(o=this.masked.nearestInputPos(o,n)),this.updateControl(),this.updateCursor(o),delete this._inputEvent}_onChange(){this.displayValue!==this.el.value&&this.updateValue(),this.masked.doCommit(),this.updateControl(),this._saveSelection()}_onDrop(t){t.preventDefault(),t.stopPropagation()}_onFocus(t){this.alignCursorFriendly()}_onClick(t){this.alignCursorFriendly()}destroy(){this._unbindEvents(),this._listeners.length=0,delete this.el}}i.InputMask=z;class L extends T{_update(t){t.enum&&(t.mask="*".repeat(t.enum[0].length)),super._update(t)}doValidate(){return this.enum.some((t=>t.indexOf(this.unmaskedValue)>=0))&&super.doValidate(...arguments)}}i.MaskedEnum=L;class I extends m{constructor(t){super(Object.assign({},I.DEFAULTS,t))}_update(t){super._update(t),this._updateRegExps()}_updateRegExps(){let t="^"+(this.allowNegative?"[+|\\-]?":""),e=(this.scale?"(".concat(c(this.radix),"\\d{0,").concat(this.scale,"})?"):"")+"$";this._numberRegExp=new RegExp(t+"\\d*"+e),this._mapToRadixRegExp=new RegExp("[".concat(this.mapToRadix.map(c).join(""),"]"),"g"),this._thousandsSeparatorRegExp=new RegExp(c(this.thousandsSeparator),"g")}_removeThousandsSeparators(t){return t.replace(this._thousandsSeparatorRegExp,"")}_insertThousandsSeparators(t){const e=t.split(this.radix);return e[0]=e[0].replace(/\B(?=(\d{3})+(?!\d))/g,this.thousandsSeparator),e.join(this.radix)}doPrepare(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=this._removeThousandsSeparators(this.scale&&this.mapToRadix.length&&(e.input&&e.raw||!e.input&&!e.raw)?t.replace(this._mapToRadixRegExp,this.radix):t);const[i,r]=d(super.doPrepare(t,e));return t&&!i&&(r.skip=!0),[i,r]}_separatorsCount(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=0;for(let r=0;r<t;++r)this._value.indexOf(this.thousandsSeparator,r)===r&&(++i,e&&(t+=this.thousandsSeparator.length));return i}_separatorsCountFromSlice(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._value;return this._separatorsCount(this._removeThousandsSeparators(t).length,!0)}extractInput(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,i=arguments.length>2?arguments[2]:void 0;return[t,e]=this._adjustRangeWithSeparators(t,e),this._removeThousandsSeparators(super.extractInput(t,e,i))}_appendCharRaw(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.thousandsSeparator)return super._appendCharRaw(t,e);const i=e.tail&&e._beforeTailState?e._beforeTailState._value:this._value,r=this._separatorsCountFromSlice(i);this._value=this._removeThousandsSeparators(this.value);const a=super._appendCharRaw(t,e);this._value=this._insertThousandsSeparators(this._value);const n=e.tail&&e._beforeTailState?e._beforeTailState._value:this._value,o=this._separatorsCountFromSlice(n);return a.tailShift+=(o-r)*this.thousandsSeparator.length,a.skip=!a.rawInserted&&t===this.thousandsSeparator,a}_findSeparatorAround(t){if(this.thousandsSeparator){const e=t-this.thousandsSeparator.length+1,i=this.value.indexOf(this.thousandsSeparator,e);if(i<=t)return i}return-1}_adjustRangeWithSeparators(t,e){const i=this._findSeparatorAround(t);i>=0&&(t=i);const r=this._findSeparatorAround(e);return r>=0&&(e=r+this.thousandsSeparator.length),[t,e]}remove(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;[t,e]=this._adjustRangeWithSeparators(t,e);const i=this.value.slice(0,t),a=this.value.slice(e),n=this._separatorsCount(i.length);this._value=this._insertThousandsSeparators(this._removeThousandsSeparators(i+a));const o=this._separatorsCountFromSlice(i);return new r({tailShift:(o-n)*this.thousandsSeparator.length})}nearestInputPos(t,e){if(!this.thousandsSeparator)return t;switch(e){case n:case o:case s:{const i=this._findSeparatorAround(t-1);if(i>=0){const r=i+this.thousandsSeparator.length;if(t<r||this.value.length<=r||e===s)return i}break}case u:case l:{const e=this._findSeparatorAround(t);if(e>=0)return e+this.thousandsSeparator.length}}return t}doValidate(t){let e=Boolean(this._removeThousandsSeparators(this.value).match(this._numberRegExp));if(e){const t=this.number;e=e&&!isNaN(t)&&(null==this.min||this.min>=0||this.min<=this.number)&&(null==this.max||this.max<=0||this.number<=this.max)}return e&&super.doValidate(t)}doCommit(){if(this.value){const t=this.number;let e=t;null!=this.min&&(e=Math.max(e,this.min)),null!=this.max&&(e=Math.min(e,this.max)),e!==t&&(this.unmaskedValue=this.doFormat(e));let i=this.value;this.normalizeZeros&&(i=this._normalizeZeros(i)),this.padFractionalZeros&&this.scale>0&&(i=this._padFractionalZeros(i)),this._value=i}super.doCommit()}_normalizeZeros(t){const e=this._removeThousandsSeparators(t).split(this.radix);return e[0]=e[0].replace(/^(\D*)(0*)(\d*)/,((t,e,i,r)=>e+r)),t.length&&!/\d$/.test(e[0])&&(e[0]=e[0]+"0"),e.length>1&&(e[1]=e[1].replace(/0*$/,""),e[1].length||(e.length=1)),this._insertThousandsSeparators(e.join(this.radix))}_padFractionalZeros(t){if(!t)return t;const e=t.split(this.radix);return e.length<2&&e.push(""),e[1]=e[1].padEnd(this.scale,"0"),e.join(this.radix)}doSkipInvalid(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;const r=0===this.scale&&t!==this.thousandsSeparator&&(t===this.radix||t===I.UNMASKED_RADIX||this.mapToRadix.includes(t));return super.doSkipInvalid(t,e,i)&&!r}get unmaskedValue(){return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,I.UNMASKED_RADIX)}set unmaskedValue(t){super.unmaskedValue=t}get typedValue(){return this.doParse(this.unmaskedValue)}set typedValue(t){this.rawInputValue=this.doFormat(t).replace(I.UNMASKED_RADIX,this.radix)}get number(){return this.typedValue}set number(t){this.typedValue=t}get allowNegative(){return this.signed||null!=this.min&&this.min<0||null!=this.max&&this.max<0}typedValueEquals(t){return(super.typedValueEquals(t)||I.EMPTY_VALUES.includes(t)&&I.EMPTY_VALUES.includes(this.typedValue))&&!(0===t&&""===this.value)}}I.UNMASKED_RADIX=".",I.DEFAULTS={radix:",",thousandsSeparator:"",mapToRadix:[I.UNMASKED_RADIX],scale:2,signed:!1,normalizeZeros:!0,padFractionalZeros:!1,parse:Number,format:t=>t.toLocaleString("en-US",{useGrouping:!1,maximumFractionDigits:20})},I.EMPTY_VALUES=[...m.EMPTY_VALUES,0],i.MaskedNumber=I;class F extends m{_update(t){t.mask&&(t.validate=t.mask),super._update(t)}}i.MaskedFunction=F;const q=["compiledMasks","currentMaskRef","currentMask"],R=["mask"];class B extends m{constructor(t){super(Object.assign({},B.DEFAULTS,t)),this.currentMask=null}_update(t){super._update(t),"mask"in t&&(this.compiledMasks=Array.isArray(t.mask)?t.mask.map((t=>g(t))):[])}_appendCharRaw(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=this._applyDispatch(t,e);return this.currentMask&&i.aggregate(this.currentMask._appendChar(t,this.currentMaskFlags(e))),i}_applyDispatch(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const a=e.tail&&null!=e._beforeTailState?e._beforeTailState._value:this.value,n=this.rawInputValue,o=e.tail&&null!=e._beforeTailState?e._beforeTailState._rawInputValue:n,s=n.slice(o.length),u=this.currentMask,l=new r,c=null==u?void 0:u.state;if(this.currentMask=this.doDispatch(t,Object.assign({},e),i),this.currentMask)if(this.currentMask!==u){if(this.currentMask.reset(),o){const t=this.currentMask.append(o,{raw:!0});l.tailShift=t.inserted.length-a.length}s&&(l.tailShift+=this.currentMask.append(s,{raw:!0,tail:!0}).tailShift)}else this.currentMask.state=c;return l}_appendPlaceholder(){const t=this._applyDispatch(...arguments);return this.currentMask&&t.aggregate(this.currentMask._appendPlaceholder()),t}_appendEager(){const t=this._applyDispatch(...arguments);return this.currentMask&&t.aggregate(this.currentMask._appendEager()),t}appendTail(t){const e=new r;return t&&e.aggregate(this._applyDispatch("",{},t)),e.aggregate(this.currentMask?this.currentMask.appendTail(t):super.appendTail(t))}currentMaskFlags(t){var e,i;return Object.assign({},t,{_beforeTailState:(null===(e=t._beforeTailState)||void 0===e?void 0:e.currentMaskRef)===this.currentMask&&(null===(i=t._beforeTailState)||void 0===i?void 0:i.currentMask)||t._beforeTailState})}doDispatch(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return this.dispatch(t,this,e,i)}doValidate(t){return super.doValidate(t)&&(!this.currentMask||this.currentMask.doValidate(this.currentMaskFlags(t)))}doPrepare(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[i,r]=d(super.doPrepare(t,e));if(this.currentMask){let t;[i,t]=d(super.doPrepare(i,this.currentMaskFlags(e))),r=r.aggregate(t)}return[i,r]}reset(){var t;null===(t=this.currentMask)||void 0===t||t.reset(),this.compiledMasks.forEach((t=>t.reset()))}get value(){return this.currentMask?this.currentMask.value:""}set value(t){super.value=t}get unmaskedValue(){return this.currentMask?this.currentMask.unmaskedValue:""}set unmaskedValue(t){super.unmaskedValue=t}get typedValue(){return this.currentMask?this.currentMask.typedValue:""}set typedValue(t){let e=String(t);this.currentMask&&(this.currentMask.typedValue=t,e=this.currentMask.unmaskedValue),this.unmaskedValue=e}get displayValue(){return this.currentMask?this.currentMask.displayValue:""}get isComplete(){var t;return Boolean(null===(t=this.currentMask)||void 0===t?void 0:t.isComplete)}get isFilled(){var t;return Boolean(null===(t=this.currentMask)||void 0===t?void 0:t.isFilled)}remove(){const t=new r;return this.currentMask&&t.aggregate(this.currentMask.remove(...arguments)).aggregate(this._applyDispatch()),t}get state(){var t;return Object.assign({},super.state,{_rawInputValue:this.rawInputValue,compiledMasks:this.compiledMasks.map((t=>t.state)),currentMaskRef:this.currentMask,currentMask:null===(t=this.currentMask)||void 0===t?void 0:t.state})}set state(t){const{compiledMasks:i,currentMaskRef:r,currentMask:a}=t,n=e(t,q);this.compiledMasks.forEach(((t,e)=>t.state=i[e])),null!=r&&(this.currentMask=r,this.currentMask.state=a),super.state=n}extractInput(){return this.currentMask?this.currentMask.extractInput(...arguments):""}extractTail(){return this.currentMask?this.currentMask.extractTail(...arguments):super.extractTail(...arguments)}doCommit(){this.currentMask&&this.currentMask.doCommit(),super.doCommit()}nearestInputPos(){return this.currentMask?this.currentMask.nearestInputPos(...arguments):super.nearestInputPos(...arguments)}get overwrite(){return this.currentMask?this.currentMask.overwrite:super.overwrite}set overwrite(t){console.warn('"overwrite" option is not available in dynamic mask, use this option in siblings')}get eager(){return this.currentMask?this.currentMask.eager:super.eager}set eager(t){console.warn('"eager" option is not available in dynamic mask, use this option in siblings')}get skipInvalid(){return this.currentMask?this.currentMask.skipInvalid:super.skipInvalid}set skipInvalid(t){(this.isInitialized||t!==m.DEFAULTS.skipInvalid)&&console.warn('"skipInvalid" option is not available in dynamic mask, use this option in siblings')}maskEquals(t){return Array.isArray(t)&&this.compiledMasks.every(((i,r)=>{if(!t[r])return;const a=t[r],{mask:n}=a;return h(i,e(a,R))&&i.maskEquals(n)}))}typedValueEquals(t){var e;return Boolean(null===(e=this.currentMask)||void 0===e?void 0:e.typedValueEquals(t))}}B.DEFAULTS={dispatch:(t,e,i,r)=>{if(!e.compiledMasks.length)return;const a=e.rawInputValue,n=e.compiledMasks.map(((n,o)=>{const u=e.currentMask===n,l=u?n.value.length:n.nearestInputPos(n.value.length,s);return n.rawInputValue!==a?(n.reset(),n.append(a,{raw:!0})):u||n.remove(l),n.append(t,e.currentMaskFlags(i)),n.appendTail(r),{index:o,weight:n.rawInputValue.length,totalInputPositions:n.totalInputPositions(0,Math.max(l,n.nearestInputPos(n.value.length,s)))}}));return n.sort(((t,e)=>e.weight-t.weight||e.totalInputPositions-t.totalInputPositions)),e.compiledMasks[n[0].index]}},i.MaskedDynamic=B;const N={MASKED:"value",UNMASKED:"unmaskedValue",TYPED:"typedValue"};function $(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N.MASKED,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:N.MASKED;const r=g(t);return t=>r.runIsolated((r=>(r[e]=t,r[i])))}function V(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),r=1;r<e;r++)i[r-1]=arguments[r];return $(...i)(t)}i.PIPE_TYPE=N,i.createPipe=$,i.pipe=V;try{globalThis.IMask=i}catch(t){}t.ChangeDetails=r,t.HTMLContenteditableMaskElement=M,t.HTMLMaskElement=O,t.InputMask=z,t.MaskElement=C,t.Masked=m,t.MaskedDate=A,t.MaskedDynamic=B,t.MaskedEnum=L,t.MaskedFunction=F,t.MaskedNumber=I,t.MaskedPattern=T,t.MaskedRange=P,t.MaskedRegExp=E,t.PIPE_TYPE=N,t.createMask=g,t.createPipe=$,t.default=i,t.pipe=V,Object.defineProperty(t,"__esModule",{value:!0})}(e)},73594:function(t){t.exports=function(){"use strict";function t(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function e(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=new Array(e);i<e;i++)r[i]=t[i];return r}var r,a,n,o,s,u=(r=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'],a=function(){function i(t){var r=t.targetModal,a=t.triggers,n=void 0===a?[]:a,o=t.onShow,s=void 0===o?function(){}:o,u=t.onClose,l=void 0===u?function(){}:u,c=t.openTrigger,d=void 0===c?"data-micromodal-trigger":c,h=t.closeTrigger,f=void 0===h?"data-micromodal-close":h,p=t.openClass,m=void 0===p?"is-open":p,b=t.disableScroll,g=void 0!==b&&b,v=t.disableFocus,y=void 0!==v&&v,_=t.awaitCloseAnimation,x=void 0!==_&&_,k=t.awaitOpenAnimation,w=void 0!==k&&k,S=t.debugMode,E=void 0!==S&&S;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),this.modal=document.getElementById(r),this.config={debugMode:E,disableScroll:g,openTrigger:d,closeTrigger:f,openClass:m,onShow:s,onClose:l,awaitCloseAnimation:x,awaitOpenAnimation:w,disableFocus:y},n.length>0&&this.registerTriggers.apply(this,e(n)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var a,n;return a=i,(n=[{key:"registerTriggers",value:function(){for(var t=this,e=arguments.length,i=new Array(e),r=0;r<e;r++)i[r]=arguments[r];i.filter(Boolean).forEach((function(e){e.addEventListener("click",(function(e){return t.showModal(e)}))}))}},{key:"showModal",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation){this.modal.addEventListener("animationend",(function e(){t.modal.removeEventListener("animationend",e,!1),t.setFocusToFirstNode()}),!1)}else this.setFocusToFirstNode();this.config.onShow(this.modal,this.activeElement,e)}},{key:"closeModal",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,t),this.config.awaitCloseAnimation){var i=this.config.openClass;this.modal.addEventListener("animationend",(function t(){e.classList.remove(i),e.removeEventListener("animationend",t,!1)}),!1)}else e.classList.remove(this.config.openClass)}},{key:"closeModalById",value:function(t){this.modal=document.getElementById(t),this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(t){if(this.config.disableScroll){var e=document.querySelector("body");switch(t){case"enable":Object.assign(e.style,{overflow:""});break;case"disable":Object.assign(e.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(t){(t.target.hasAttribute(this.config.closeTrigger)||t.target.parentNode.hasAttribute(this.config.closeTrigger))&&(t.preventDefault(),t.stopPropagation(),this.closeModal(t))}},{key:"onKeydown",value:function(t){27===t.keyCode&&this.closeModal(t),9===t.keyCode&&this.retainFocus(t)}},{key:"getFocusableNodes",value:function(){var t=this.modal.querySelectorAll(r);return Array.apply(void 0,e(t))}},{key:"setFocusToFirstNode",value:function(){var t=this;if(!this.config.disableFocus){var e=this.getFocusableNodes();if(0!==e.length){var i=e.filter((function(e){return!e.hasAttribute(t.config.closeTrigger)}));i.length>0&&i[0].focus(),0===i.length&&e[0].focus()}}}},{key:"retainFocus",value:function(t){var e=this.getFocusableNodes();if(0!==e.length)if(e=e.filter((function(t){return null!==t.offsetParent})),this.modal.contains(document.activeElement)){var i=e.indexOf(document.activeElement);t.shiftKey&&0===i&&(e[e.length-1].focus(),t.preventDefault()),!t.shiftKey&&e.length>0&&i===e.length-1&&(e[0].focus(),t.preventDefault())}else e[0].focus()}}])&&t(a.prototype,n),i}(),n=null,o=function(t){if(!document.getElementById(t))return console.warn("MicroModal: ❗Seems like you have missed %c'".concat(t,"'"),"background-color: #f8f9fa;color: #50596c;font-weight: bold;","ID somewhere in your code. Refer example below to resolve it."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<div class="modal" id="'.concat(t,'"></div>')),!1},s=function(t,e){if(function(t){t.length<=0&&(console.warn("MicroModal: ❗Please specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<a href="#" data-micromodal-trigger="my-modal"></a>'))}(t),!e)return!0;for(var i in e)o(i);return!0},{init:function(t){var i=Object.assign({},{openTrigger:"data-micromodal-trigger"},t),r=e(document.querySelectorAll("[".concat(i.openTrigger,"]"))),o=function(t,e){var i=[];return t.forEach((function(t){var r=t.attributes[e].value;void 0===i[r]&&(i[r]=[]),i[r].push(t)})),i}(r,i.openTrigger);if(!0!==i.debugMode||!1!==s(r,o))for(var u in o){var l=o[u];i.targetModal=u,i.triggers=e(l),n=new a(i)}},show:function(t,e){var i=e||{};i.targetModal=t,!0===i.debugMode&&!1===o(t)||(n&&n.removeEventListeners(),(n=new a(i)).showModal())},close:function(t){t?n.closeModalById(t):n.closeModal()}});return"undefined"!=typeof window&&(window.MicroModal=u),u}()},63434:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(61044),a="tippy-content",n="tippy-backdrop",o="tippy-arrow",s="tippy-svg-arrow",u={passive:!0,capture:!0},l=function(){return document.body};function c(t,e,i){if(Array.isArray(t)){var r=t[e];return null==r?Array.isArray(i)?i[e]:i:r}return t}function d(t,e){var i={}.toString.call(t);return 0===i.indexOf("[object")&&i.indexOf(e+"]")>-1}function h(t,e){return"function"==typeof t?t.apply(void 0,e):t}function f(t,e){return 0===e?t:function(r){clearTimeout(i),i=setTimeout((function(){t(r)}),e)};var i}function p(t,e){var i=Object.assign({},t);return e.forEach((function(t){delete i[t]})),i}function m(t){return[].concat(t)}function b(t,e){-1===t.indexOf(e)&&t.push(e)}function g(t){return t.split("-")[0]}function v(t){return[].slice.call(t)}function y(t){return Object.keys(t).reduce((function(e,i){return void 0!==t[i]&&(e[i]=t[i]),e}),{})}function _(){return document.createElement("div")}function x(t){return["Element","Fragment"].some((function(e){return d(t,e)}))}function k(t){return d(t,"MouseEvent")}function w(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function S(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function E(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function j(t){var e,i=m(t)[0];return null!=i&&null!=(e=i.ownerDocument)&&e.body?i.ownerDocument:document}function T(t,e,i){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[r](e,i)}))}function P(t,e){for(var i=e;i;){var r;if(t.contains(i))return!0;i=null==i.getRootNode||null==(r=i.getRootNode())?void 0:r.host}return!1}var A={isTouch:!1},C=0;function O(){A.isTouch||(A.isTouch=!0,window.performance&&document.addEventListener("mousemove",M))}function M(){var t=performance.now();t-C<20&&(A.isTouch=!1,document.removeEventListener("mousemove",M)),C=t}function D(){var t=document.activeElement;if(w(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}var z=!("undefined"==typeof window||"undefined"==typeof document||!window.msCrypto),L=Object.assign({appendTo:l,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),I=Object.keys(L);function F(t){var e=(t.plugins||[]).reduce((function(e,i){var r,a=i.name,n=i.defaultValue;return a&&(e[a]=void 0!==t[a]?t[a]:null!=(r=L[a])?r:n),e}),{});return Object.assign({},t,e)}function q(t,e){var i=Object.assign({},e,{content:h(e.content,[t])},e.ignoreAttributes?{}:function(t,e){return(e?Object.keys(F(Object.assign({},L,{plugins:e}))):I).reduce((function(e,i){var r=(t.getAttribute("data-tippy-"+i)||"").trim();if(!r)return e;if("content"===i)e[i]=r;else try{e[i]=JSON.parse(r)}catch(t){e[i]=r}return e}),{})}(t,e.plugins));return i.aria=Object.assign({},L.aria,i.aria),i.aria={expanded:"auto"===i.aria.expanded?e.interactive:i.aria.expanded,content:"auto"===i.aria.content?e.interactive?null:"describedby":i.aria.content},i}var R=function(){return"innerHTML"};function B(t,e){t[R()]=e}function N(t){var e=_();return!0===t?e.className=o:(e.className=s,x(t)?e.appendChild(t):B(e,t)),e}function $(t,e){x(e.content)?(B(t,""),t.appendChild(e.content)):"function"!=typeof e.content&&(e.allowHTML?B(t,e.content):t.textContent=e.content)}function V(t){var e=t.firstElementChild,i=v(e.children);return{box:e,content:i.find((function(t){return t.classList.contains(a)})),arrow:i.find((function(t){return t.classList.contains(o)||t.classList.contains(s)})),backdrop:i.find((function(t){return t.classList.contains(n)}))}}function H(t){var e=_(),i=_();i.className="tippy-box",i.setAttribute("data-state","hidden"),i.setAttribute("tabindex","-1");var r=_();function n(i,r){var a=V(e),n=a.box,o=a.content,s=a.arrow;r.theme?n.setAttribute("data-theme",r.theme):n.removeAttribute("data-theme"),"string"==typeof r.animation?n.setAttribute("data-animation",r.animation):n.removeAttribute("data-animation"),r.inertia?n.setAttribute("data-inertia",""):n.removeAttribute("data-inertia"),n.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?n.setAttribute("role",r.role):n.removeAttribute("role"),i.content===r.content&&i.allowHTML===r.allowHTML||$(o,t.props),r.arrow?s?i.arrow!==r.arrow&&(n.removeChild(s),n.appendChild(N(r.arrow))):n.appendChild(N(r.arrow)):s&&n.removeChild(s)}return r.className=a,r.setAttribute("data-state","hidden"),$(r,t.props),e.appendChild(i),i.appendChild(r),n(t.props,t.props),{popper:e,onUpdate:n}}H.$$tippy=!0;var U=1,W=[],Y=[];function G(t,e){var i,a,n,o,s,d,p,x,w=q(t,Object.assign({},L,F(y(e)))),C=!1,O=!1,M=!1,D=!1,I=[],R=f(_t,w.interactiveDebounce),B=U++,N=(x=w.plugins).filter((function(t,e){return x.indexOf(t)===e})),$={id:B,reference:t,popper:_(),popperInstance:null,props:w,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:N,clearDelayTimeouts:function(){clearTimeout(i),clearTimeout(a),cancelAnimationFrame(n)},setProps:function(e){if(!$.state.isDestroyed){ot("onBeforeUpdate",[$,e]),vt();var i=$.props,r=q(t,Object.assign({},i,y(e),{ignoreAttributes:!0}));$.props=r,gt(),i.interactiveDebounce!==r.interactiveDebounce&&(lt(),R=f(_t,r.interactiveDebounce)),i.triggerTarget&&!r.triggerTarget?m(i.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):r.triggerTarget&&t.removeAttribute("aria-expanded"),ut(),nt(),K&&K(i,r),$.popperInstance&&(St(),jt().forEach((function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)}))),ot("onAfterUpdate",[$,e])}},setContent:function(t){$.setProps({content:t})},show:function(){var t=$.state.isVisible,e=$.state.isDestroyed,i=!$.state.isEnabled,r=A.isTouch&&!$.props.touch,a=c($.props.duration,0,L.duration);if(!(t||e||i||r||et().hasAttribute("disabled")||(ot("onShow",[$],!1),!1===$.props.onShow($)))){if($.state.isVisible=!0,tt()&&(G.style.visibility="visible"),nt(),ft(),$.state.isMounted||(G.style.transition="none"),tt()){var n=rt();S([n.box,n.content],0)}var o,s,u;d=function(){var t;if($.state.isVisible&&!D){if(D=!0,G.offsetHeight,G.style.transition=$.props.moveTransition,tt()&&$.props.animation){var e=rt(),i=e.box,r=e.content;S([i,r],a),E([i,r],"visible")}st(),ut(),b(Y,$),null==(t=$.popperInstance)||t.forceUpdate(),ot("onMount",[$]),$.props.animation&&tt()&&function(t,e){mt(t,(function(){$.state.isShown=!0,ot("onShown",[$])}))}(a)}},s=$.props.appendTo,u=et(),(o=$.props.interactive&&s===l||"parent"===s?u.parentNode:h(s,[u])).contains(G)||o.appendChild(G),$.state.isMounted=!0,St()}},hide:function(){var t=!$.state.isVisible,e=$.state.isDestroyed,i=!$.state.isEnabled,r=c($.props.duration,1,L.duration);if(!(t||e||i)&&(ot("onHide",[$],!1),!1!==$.props.onHide($))){if($.state.isVisible=!1,$.state.isShown=!1,D=!1,C=!1,tt()&&(G.style.visibility="hidden"),lt(),pt(),nt(!0),tt()){var a=rt(),n=a.box,o=a.content;$.props.animation&&(S([n,o],r),E([n,o],"hidden"))}st(),ut(),$.props.animation?tt()&&function(t,e){mt(t,(function(){!$.state.isVisible&&G.parentNode&&G.parentNode.contains(G)&&e()}))}(r,$.unmount):$.unmount()}},hideWithInteractivity:function(t){it().addEventListener("mousemove",R),b(W,R),R(t)},enable:function(){$.state.isEnabled=!0},disable:function(){$.hide(),$.state.isEnabled=!1},unmount:function(){$.state.isVisible&&$.hide(),$.state.isMounted&&(Et(),jt().forEach((function(t){t._tippy.unmount()})),G.parentNode&&G.parentNode.removeChild(G),Y=Y.filter((function(t){return t!==$})),$.state.isMounted=!1,ot("onHidden",[$]))},destroy:function(){$.state.isDestroyed||($.clearDelayTimeouts(),$.unmount(),vt(),delete t._tippy,$.state.isDestroyed=!0,ot("onDestroy",[$]))}};if(!w.render)return $;var H=w.render($),G=H.popper,K=H.onUpdate;G.setAttribute("data-tippy-root",""),G.id="tippy-"+$.id,$.popper=G,t._tippy=$,G._tippy=$;var X=N.map((function(t){return t.fn($)})),J=t.hasAttribute("aria-expanded");return gt(),ut(),nt(),ot("onCreate",[$]),w.showOnCreate&&Tt(),G.addEventListener("mouseenter",(function(){$.props.interactive&&$.state.isVisible&&$.clearDelayTimeouts()})),G.addEventListener("mouseleave",(function(){$.props.interactive&&$.props.trigger.indexOf("mouseenter")>=0&&it().addEventListener("mousemove",R)})),$;function Z(){var t=$.props.touch;return Array.isArray(t)?t:[t,0]}function Q(){return"hold"===Z()[0]}function tt(){var t;return!(null==(t=$.props.render)||!t.$$tippy)}function et(){return p||t}function it(){var t=et().parentNode;return t?j(t):document}function rt(){return V(G)}function at(t){return $.state.isMounted&&!$.state.isVisible||A.isTouch||o&&"focus"===o.type?0:c($.props.delay,t?0:1,L.delay)}function nt(t){void 0===t&&(t=!1),G.style.pointerEvents=$.props.interactive&&!t?"":"none",G.style.zIndex=""+$.props.zIndex}function ot(t,e,i){var r;void 0===i&&(i=!0),X.forEach((function(i){i[t]&&i[t].apply(i,e)})),i&&(r=$.props)[t].apply(r,e)}function st(){var e=$.props.aria;if(e.content){var i="aria-"+e.content,r=G.id;m($.props.triggerTarget||t).forEach((function(t){var e=t.getAttribute(i);if($.state.isVisible)t.setAttribute(i,e?e+" "+r:r);else{var a=e&&e.replace(r,"").trim();a?t.setAttribute(i,a):t.removeAttribute(i)}}))}}function ut(){!J&&$.props.aria.expanded&&m($.props.triggerTarget||t).forEach((function(t){$.props.interactive?t.setAttribute("aria-expanded",$.state.isVisible&&t===et()?"true":"false"):t.removeAttribute("aria-expanded")}))}function lt(){it().removeEventListener("mousemove",R),W=W.filter((function(t){return t!==R}))}function ct(e){if(!A.isTouch||!M&&"mousedown"!==e.type){var i=e.composedPath&&e.composedPath()[0]||e.target;if(!$.props.interactive||!P(G,i)){if(m($.props.triggerTarget||t).some((function(t){return P(t,i)}))){if(A.isTouch)return;if($.state.isVisible&&$.props.trigger.indexOf("click")>=0)return}else ot("onClickOutside",[$,e]);!0===$.props.hideOnClick&&($.clearDelayTimeouts(),$.hide(),O=!0,setTimeout((function(){O=!1})),$.state.isMounted||pt())}}}function dt(){M=!0}function ht(){M=!1}function ft(){var t=it();t.addEventListener("mousedown",ct,!0),t.addEventListener("touchend",ct,u),t.addEventListener("touchstart",ht,u),t.addEventListener("touchmove",dt,u)}function pt(){var t=it();t.removeEventListener("mousedown",ct,!0),t.removeEventListener("touchend",ct,u),t.removeEventListener("touchstart",ht,u),t.removeEventListener("touchmove",dt,u)}function mt(t,e){var i=rt().box;function r(t){t.target===i&&(T(i,"remove",r),e())}if(0===t)return e();T(i,"remove",s),T(i,"add",r),s=r}function bt(e,i,r){void 0===r&&(r=!1),m($.props.triggerTarget||t).forEach((function(t){t.addEventListener(e,i,r),I.push({node:t,eventType:e,handler:i,options:r})}))}function gt(){var t;Q()&&(bt("touchstart",yt,{passive:!0}),bt("touchend",xt,{passive:!0})),(t=$.props.trigger,t.split(/\s+/).filter(Boolean)).forEach((function(t){if("manual"!==t)switch(bt(t,yt),t){case"mouseenter":bt("mouseleave",xt);break;case"focus":bt(z?"focusout":"blur",kt);break;case"focusin":bt("focusout",kt)}}))}function vt(){I.forEach((function(t){var e=t.node,i=t.eventType,r=t.handler,a=t.options;e.removeEventListener(i,r,a)})),I=[]}function yt(t){var e,i=!1;if($.state.isEnabled&&!wt(t)&&!O){var r="focus"===(null==(e=o)?void 0:e.type);o=t,p=t.currentTarget,ut(),!$.state.isVisible&&k(t)&&W.forEach((function(e){return e(t)})),"click"===t.type&&($.props.trigger.indexOf("mouseenter")<0||C)&&!1!==$.props.hideOnClick&&$.state.isVisible?i=!0:Tt(t),"click"===t.type&&(C=!i),i&&!r&&Pt(t)}}function _t(t){var e=t.target,i=et().contains(e)||G.contains(e);if("mousemove"!==t.type||!i){var r=jt().concat(G).map((function(t){var e,i=null==(e=t._tippy.popperInstance)?void 0:e.state;return i?{popperRect:t.getBoundingClientRect(),popperState:i,props:w}:null})).filter(Boolean);(function(t,e){var i=e.clientX,r=e.clientY;return t.every((function(t){var e=t.popperRect,a=t.popperState,n=t.props.interactiveBorder,o=g(a.placement),s=a.modifiersData.offset;if(!s)return!0;var u="bottom"===o?s.top.y:0,l="top"===o?s.bottom.y:0,c="right"===o?s.left.x:0,d="left"===o?s.right.x:0,h=e.top-r+u>n,f=r-e.bottom-l>n,p=e.left-i+c>n,m=i-e.right-d>n;return h||f||p||m}))})(r,t)&&(lt(),Pt(t))}}function xt(t){wt(t)||$.props.trigger.indexOf("click")>=0&&C||($.props.interactive?$.hideWithInteractivity(t):Pt(t))}function kt(t){$.props.trigger.indexOf("focusin")<0&&t.target!==et()||$.props.interactive&&t.relatedTarget&&G.contains(t.relatedTarget)||Pt(t)}function wt(t){return!!A.isTouch&&Q()!==t.type.indexOf("touch")>=0}function St(){Et();var e=$.props,i=e.popperOptions,a=e.placement,n=e.offset,o=e.getReferenceClientRect,s=e.moveTransition,u=tt()?V(G).arrow:null,l=o?{getBoundingClientRect:o,contextElement:o.contextElement||et()}:t,c=[{name:"offset",options:{offset:n}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(tt()){var i=rt().box;["placement","reference-hidden","escaped"].forEach((function(t){"placement"===t?i.setAttribute("data-placement",e.placement):e.attributes.popper["data-popper-"+t]?i.setAttribute("data-"+t,""):i.removeAttribute("data-"+t)})),e.attributes.popper={}}}}];tt()&&u&&c.push({name:"arrow",options:{element:u,padding:3}}),c.push.apply(c,(null==i?void 0:i.modifiers)||[]),$.popperInstance=r.createPopper(l,G,Object.assign({},i,{placement:a,onFirstUpdate:d,modifiers:c}))}function Et(){$.popperInstance&&($.popperInstance.destroy(),$.popperInstance=null)}function jt(){return v(G.querySelectorAll("[data-tippy-root]"))}function Tt(t){$.clearDelayTimeouts(),t&&ot("onTrigger",[$,t]),ft();var e=at(!0),r=Z(),a=r[0],n=r[1];A.isTouch&&"hold"===a&&n&&(e=n),e?i=setTimeout((function(){$.show()}),e):$.show()}function Pt(t){if($.clearDelayTimeouts(),ot("onUntrigger",[$,t]),$.state.isVisible){if(!($.props.trigger.indexOf("mouseenter")>=0&&$.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(t.type)>=0&&C)){var e=at(!1);e?a=setTimeout((function(){$.state.isVisible&&$.hide()}),e):n=requestAnimationFrame((function(){$.hide()}))}}else pt()}}function K(t,e){void 0===e&&(e={});var i=L.plugins.concat(e.plugins||[]);document.addEventListener("touchstart",O,u),window.addEventListener("blur",D);var r,a=Object.assign({},e,{plugins:i}),n=(r=t,x(r)?[r]:function(t){return d(t,"NodeList")}(r)?v(r):Array.isArray(r)?r:v(document.querySelectorAll(r))).reduce((function(t,e){var i=e&&G(e,a);return i&&t.push(i),t}),[]);return x(t)?n[0]:n}K.defaultProps=L,K.setDefaultProps=function(t){Object.keys(t).forEach((function(e){L[e]=t[e]}))},K.currentInput=A;var X=Object.assign({},r.applyStyles,{effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow)}}),J={mouseover:"mouseenter",focusin:"focus",click:"click"},Z={name:"animateFill",defaultValue:!1,fn:function(t){var e;if(null==(e=t.props.render)||!e.$$tippy)return{};var i=V(t.popper),r=i.box,a=i.content,o=t.props.animateFill?function(){var t=_();return t.className=n,E([t],"hidden"),t}():null;return{onCreate:function(){o&&(r.insertBefore(o,r.firstElementChild),r.setAttribute("data-animatefill",""),r.style.overflow="hidden",t.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(o){var t=r.style.transitionDuration,e=Number(t.replace("ms",""));a.style.transitionDelay=Math.round(e/10)+"ms",o.style.transitionDuration=t,E([o],"visible")}},onShow:function(){o&&(o.style.transitionDuration="0ms")},onHide:function(){o&&E([o],"hidden")}}}},Q={clientX:0,clientY:0},tt=[];function et(t){var e=t.clientX,i=t.clientY;Q={clientX:e,clientY:i}}var it={name:"followCursor",defaultValue:!1,fn:function(t){var e=t.reference,i=j(t.props.triggerTarget||e),r=!1,a=!1,n=!0,o=t.props;function s(){return"initial"===t.props.followCursor&&t.state.isVisible}function u(){i.addEventListener("mousemove",d)}function l(){i.removeEventListener("mousemove",d)}function c(){r=!0,t.setProps({getReferenceClientRect:null}),r=!1}function d(i){var r=!i.target||e.contains(i.target),a=t.props.followCursor,n=i.clientX,o=i.clientY,s=e.getBoundingClientRect(),u=n-s.left,l=o-s.top;!r&&t.props.interactive||t.setProps({getReferenceClientRect:function(){var t=e.getBoundingClientRect(),i=n,r=o;"initial"===a&&(i=t.left+u,r=t.top+l);var s="horizontal"===a?t.top:r,c="vertical"===a?t.right:i,d="horizontal"===a?t.bottom:r,h="vertical"===a?t.left:i;return{width:c-h,height:d-s,top:s,right:c,bottom:d,left:h}}})}function h(){t.props.followCursor&&(tt.push({instance:t,doc:i}),function(t){t.addEventListener("mousemove",et)}(i))}function f(){0===(tt=tt.filter((function(e){return e.instance!==t}))).filter((function(t){return t.doc===i})).length&&function(t){t.removeEventListener("mousemove",et)}(i)}return{onCreate:h,onDestroy:f,onBeforeUpdate:function(){o=t.props},onAfterUpdate:function(e,i){var n=i.followCursor;r||void 0!==n&&o.followCursor!==n&&(f(),n?(h(),!t.state.isMounted||a||s()||u()):(l(),c()))},onMount:function(){t.props.followCursor&&!a&&(n&&(d(Q),n=!1),s()||u())},onTrigger:function(t,e){k(e)&&(Q={clientX:e.clientX,clientY:e.clientY}),a="focus"===e.type},onHidden:function(){t.props.followCursor&&(c(),l(),n=!0)}}}},rt={name:"inlinePositioning",defaultValue:!1,fn:function(t){var e,i=t.reference,r=-1,a=!1,n=[],o={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(a){var o=a.state;t.props.inlinePositioning&&(-1!==n.indexOf(o.placement)&&(n=[]),e!==o.placement&&-1===n.indexOf(o.placement)&&(n.push(o.placement),t.setProps({getReferenceClientRect:function(){return function(t){return function(t,e,i,r){if(i.length<2||null===t)return e;if(2===i.length&&r>=0&&i[0].left>i[1].right)return i[r]||e;switch(t){case"top":case"bottom":var a=i[0],n=i[i.length-1],o="top"===t,s=a.top,u=n.bottom,l=o?a.left:n.left,c=o?a.right:n.right;return{top:s,bottom:u,left:l,right:c,width:c-l,height:u-s};case"left":case"right":var d=Math.min.apply(Math,i.map((function(t){return t.left}))),h=Math.max.apply(Math,i.map((function(t){return t.right}))),f=i.filter((function(e){return"left"===t?e.left===d:e.right===h})),p=f[0].top,m=f[f.length-1].bottom;return{top:p,bottom:m,left:d,right:h,width:h-d,height:m-p};default:return e}}(g(t),i.getBoundingClientRect(),v(i.getClientRects()),r)}(o.placement)}})),e=o.placement)}};function s(){var e;a||(e=function(t,e){var i;return{popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat(((null==(i=t.popperOptions)?void 0:i.modifiers)||[]).filter((function(t){return t.name!==e.name})),[e])})}}(t.props,o),a=!0,t.setProps(e),a=!1)}return{onCreate:s,onAfterUpdate:s,onTrigger:function(e,i){if(k(i)){var a=v(t.reference.getClientRects()),n=a.find((function(t){return t.left-2<=i.clientX&&t.right+2>=i.clientX&&t.top-2<=i.clientY&&t.bottom+2>=i.clientY})),o=a.indexOf(n);r=o>-1?o:r}},onHidden:function(){r=-1}}}},at={name:"sticky",defaultValue:!1,fn:function(t){var e=t.reference,i=t.popper;function r(e){return!0===t.props.sticky||t.props.sticky===e}var a=null,n=null;function o(){var s=r("reference")?(t.popperInstance?t.popperInstance.state.elements.reference:e).getBoundingClientRect():null,u=r("popper")?i.getBoundingClientRect():null;(s&&nt(a,s)||u&&nt(n,u))&&t.popperInstance&&t.popperInstance.update(),a=s,n=u,t.state.isMounted&&requestAnimationFrame(o)}return{onMount:function(){t.props.sticky&&o()}}}};function nt(t,e){return!t||!e||t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left}K.setDefaultProps({render:H}),e.animateFill=Z,e.createSingleton=function(t,e){var i;void 0===e&&(e={});var r,a=t,n=[],o=[],s=e.overrides,u=[],l=!1;function c(){o=a.map((function(t){return m(t.props.triggerTarget||t.reference)})).reduce((function(t,e){return t.concat(e)}),[])}function d(){n=a.map((function(t){return t.reference}))}function h(t){a.forEach((function(e){t?e.enable():e.disable()}))}function f(t){return a.map((function(e){var i=e.setProps;return e.setProps=function(a){i(a),e.reference===r&&t.setProps(a)},function(){e.setProps=i}}))}function b(t,e){var i=o.indexOf(e);if(e!==r){r=e;var u=(s||[]).concat("content").reduce((function(t,e){return t[e]=a[i].props[e],t}),{});t.setProps(Object.assign({},u,{getReferenceClientRect:"function"==typeof u.getReferenceClientRect?u.getReferenceClientRect:function(){var t;return null==(t=n[i])?void 0:t.getBoundingClientRect()}}))}}h(!1),d(),c();var g={fn:function(){return{onDestroy:function(){h(!0)},onHidden:function(){r=null},onClickOutside:function(t){t.props.showOnCreate&&!l&&(l=!0,r=null)},onShow:function(t){t.props.showOnCreate&&!l&&(l=!0,b(t,n[0]))},onTrigger:function(t,e){b(t,e.currentTarget)}}}},v=K(_(),Object.assign({},p(e,["overrides"]),{plugins:[g].concat(e.plugins||[]),triggerTarget:o,popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat((null==(i=e.popperOptions)?void 0:i.modifiers)||[],[X])})})),y=v.show;v.show=function(t){if(y(),!r&&null==t)return b(v,n[0]);if(!r||null!=t){if("number"==typeof t)return n[t]&&b(v,n[t]);if(a.indexOf(t)>=0){var e=t.reference;return b(v,e)}return n.indexOf(t)>=0?b(v,t):void 0}},v.showNext=function(){var t=n[0];if(!r)return v.show(0);var e=n.indexOf(r);v.show(n[e+1]||t)},v.showPrevious=function(){var t=n[n.length-1];if(!r)return v.show(t);var e=n.indexOf(r),i=n[e-1]||t;v.show(i)};var x=v.setProps;return v.setProps=function(t){s=t.overrides||s,x(t)},v.setInstances=function(t){h(!0),u.forEach((function(t){return t()})),a=t,h(!1),d(),c(),u=f(v),v.setProps({triggerTarget:o})},u=f(v),v},e.default=K,e.delegate=function(t,e){var i=[],r=[],a=!1,n=e.target,o=p(e,["target"]),s=Object.assign({},o,{trigger:"manual",touch:!1}),l=Object.assign({touch:L.touch},o,{showOnCreate:!0}),c=K(t,s);function d(t){if(t.target&&!a){var i=t.target.closest(n);if(i){var o=i.getAttribute("data-tippy-trigger")||e.trigger||L.trigger;if(!i._tippy&&!("touchstart"===t.type&&"boolean"==typeof l.touch||"touchstart"!==t.type&&o.indexOf(J[t.type])<0)){var s=K(i,l);s&&(r=r.concat(s))}}}}function h(t,e,r,a){void 0===a&&(a=!1),t.addEventListener(e,r,a),i.push({node:t,eventType:e,handler:r,options:a})}return m(c).forEach((function(t){var e=t.destroy,n=t.enable,o=t.disable;t.destroy=function(t){void 0===t&&(t=!0),t&&r.forEach((function(t){t.destroy()})),r=[],i.forEach((function(t){var e=t.node,i=t.eventType,r=t.handler,a=t.options;e.removeEventListener(i,r,a)})),i=[],e()},t.enable=function(){n(),r.forEach((function(t){return t.enable()})),a=!1},t.disable=function(){o(),r.forEach((function(t){return t.disable()})),a=!0},function(t){var e=t.reference;h(e,"touchstart",d,u),h(e,"mouseover",d),h(e,"focusin",d),h(e,"click",d)}(t)})),c},e.followCursor=it,e.hideAll=function(t){var e=void 0===t?{}:t,i=e.exclude,r=e.duration;Y.forEach((function(t){var e=!1;if(i&&(e=w(i)?t.reference===i:t.popper===i.popper),!e){var a=t.props.duration;t.setProps({duration:r}),t.hide(),t.state.isDestroyed||t.setProps({duration:a})}}))},e.inlinePositioning=rt,e.roundArrow='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',e.sticky=at},17958:function(t,e,i){t.exports=function(){"use strict";var t=function(){this.__data__=[],this.size=0};var e=function(t,e){return t===e||t!=t&&e!=e};var r=function(t,i){for(var r=t.length;r--;)if(e(t[r][0],i))return r;return-1},a=Array.prototype.splice;var n=function(t){var e=this.__data__,i=r(e,t);return!(i<0||(i==e.length-1?e.pop():a.call(e,i,1),--this.size,0))};var o=function(t){var e=this.__data__,i=r(e,t);return i<0?void 0:e[i][1]};var s=function(t){return r(this.__data__,t)>-1};var u=function(t,e){var i=this.__data__,a=r(i,t);return a<0?(++this.size,i.push([t,e])):i[a][1]=e,this};function l(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var r=t[e];this.set(r[0],r[1])}}l.prototype.clear=t,l.prototype.delete=n,l.prototype.get=o,l.prototype.has=s,l.prototype.set=u;var c=l;var d=function(){this.__data__=new c,this.size=0};var h=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i};var f=function(t){return this.__data__.get(t)};var p=function(t){return this.__data__.has(t)},m="undefined"!=typeof window?window:void 0!==i.g?i.g:"undefined"!=typeof self?self:{};function b(t,e){return t(e={exports:{}},e.exports),e.exports}var g="object"==typeof m&&m&&m.Object===Object&&m,v="object"==typeof self&&self&&self.Object===Object&&self,y=g||v||Function("return this")(),_=y.Symbol,x=Object.prototype,k=x.hasOwnProperty,w=x.toString,S=_?_.toStringTag:void 0;var E=function(t){var e=k.call(t,S),i=t[S];try{t[S]=void 0;var r=!0}catch(t){}var a=w.call(t);return r&&(e?t[S]=i:delete t[S]),a},j=Object.prototype.toString;var T=function(t){return j.call(t)},P=_?_.toStringTag:void 0;var A=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":P&&P in Object(t)?E(t):T(t)};var C=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var O,M=function(t){if(!C(t))return!1;var e=A(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},D=y["__core-js_shared__"],z=(O=/[^.]+$/.exec(D&&D.keys&&D.keys.IE_PROTO||""))?"Symbol(src)_1."+O:"";var L=function(t){return!!z&&z in t},I=Function.prototype.toString;var F=function(t){if(null!=t){try{return I.call(t)}catch(t){}try{return t+""}catch(t){}}return""},q=/^\[object .+?Constructor\]$/,R=Function.prototype,B=Object.prototype,N=R.toString,$=B.hasOwnProperty,V=RegExp("^"+N.call($).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var H=function(t){return!(!C(t)||L(t))&&(M(t)?V:q).test(F(t))};var U=function(t,e){return null==t?void 0:t[e]};var W=function(t,e){var i=U(t,e);return H(i)?i:void 0},Y=W(y,"Map"),G=W(Object,"create");var K=function(){this.__data__=G?G(null):{},this.size=0};var X=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},J=Object.prototype.hasOwnProperty;var Z=function(t){var e=this.__data__;if(G){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return J.call(e,t)?e[t]:void 0},Q=Object.prototype.hasOwnProperty;var tt=function(t){var e=this.__data__;return G?void 0!==e[t]:Q.call(e,t)};var et=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=G&&void 0===e?"__lodash_hash_undefined__":e,this};function it(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var r=t[e];this.set(r[0],r[1])}}it.prototype.clear=K,it.prototype.delete=X,it.prototype.get=Z,it.prototype.has=tt,it.prototype.set=et;var rt=it;var at=function(){this.size=0,this.__data__={hash:new rt,map:new(Y||c),string:new rt}};var nt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var ot=function(t,e){var i=t.__data__;return nt(e)?i["string"==typeof e?"string":"hash"]:i.map};var st=function(t){var e=ot(this,t).delete(t);return this.size-=e?1:0,e};var ut=function(t){return ot(this,t).get(t)};var lt=function(t){return ot(this,t).has(t)};var ct=function(t,e){var i=ot(this,t),r=i.size;return i.set(t,e),this.size+=i.size==r?0:1,this};function dt(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var r=t[e];this.set(r[0],r[1])}}dt.prototype.clear=at,dt.prototype.delete=st,dt.prototype.get=ut,dt.prototype.has=lt,dt.prototype.set=ct;var ht=dt;var ft=function(t,e){var i=this.__data__;if(i instanceof c){var r=i.__data__;if(!Y||r.length<199)return r.push([t,e]),this.size=++i.size,this;i=this.__data__=new ht(r)}return i.set(t,e),this.size=i.size,this};function pt(t){var e=this.__data__=new c(t);this.size=e.size}pt.prototype.clear=d,pt.prototype.delete=h,pt.prototype.get=f,pt.prototype.has=p,pt.prototype.set=ft;var mt=pt,bt=function(){try{var t=W(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();var gt=function(t,e,i){"__proto__"==e&&bt?bt(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i};var vt=function(t,i,r){(void 0!==r&&!e(t[i],r)||void 0===r&&!(i in t))&&gt(t,i,r)};var yt,_t=function(t,e,i){for(var r=-1,a=Object(t),n=i(t),o=n.length;o--;){var s=n[yt?o:++r];if(!1===e(a[s],s,a))break}return t},xt=b((function(t,e){var i=e&&!e.nodeType&&e,r=i&&t&&!t.nodeType&&t,a=r&&r.exports===i?y.Buffer:void 0,n=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var i=t.length,r=n?n(i):new t.constructor(i);return t.copy(r),r}})),kt=y.Uint8Array;var wt=function(t){var e=new t.constructor(t.byteLength);return new kt(e).set(new kt(t)),e};var St=function(t,e){var i=e?wt(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)};var Et=function(t,e){var i=-1,r=t.length;for(e||(e=Array(r));++i<r;)e[i]=t[i];return e},jt=Object.create,Tt=function(){function t(){}return function(e){if(!C(e))return{};if(jt)return jt(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();var Pt,At,Ct=(Pt=Object.getPrototypeOf,At=Object,function(t){return Pt(At(t))}),Ot=Object.prototype;var Mt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Ot)};var Dt=function(t){return"function"!=typeof t.constructor||Mt(t)?{}:Tt(Ct(t))};var zt=function(t){return null!=t&&"object"==typeof t};var Lt=function(t){return zt(t)&&"[object Arguments]"==A(t)},It=Object.prototype,Ft=It.hasOwnProperty,qt=It.propertyIsEnumerable,Rt=Lt(function(){return arguments}())?Lt:function(t){return zt(t)&&Ft.call(t,"callee")&&!qt.call(t,"callee")},Bt=Rt,Nt=Array.isArray;var $t=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Vt=function(t){return null!=t&&$t(t.length)&&!M(t)};var Ht=function(t){return zt(t)&&Vt(t)};var Ut=function(){return!1},Wt=b((function(t,e){var i=e&&!e.nodeType&&e,r=i&&t&&!t.nodeType&&t,a=r&&r.exports===i?y.Buffer:void 0,n=(a?a.isBuffer:void 0)||Ut;t.exports=n})),Yt=Function.prototype,Gt=Object.prototype,Kt=Yt.toString,Xt=Gt.hasOwnProperty,Jt=Kt.call(Object);var Zt=function(t){if(!zt(t)||"[object Object]"!=A(t))return!1;var e=Ct(t);if(null===e)return!0;var i=Xt.call(e,"constructor")&&e.constructor;return"function"==typeof i&&i instanceof i&&Kt.call(i)==Jt},Qt={};Qt["[object Float32Array]"]=Qt["[object Float64Array]"]=Qt["[object Int8Array]"]=Qt["[object Int16Array]"]=Qt["[object Int32Array]"]=Qt["[object Uint8Array]"]=Qt["[object Uint8ClampedArray]"]=Qt["[object Uint16Array]"]=Qt["[object Uint32Array]"]=!0,Qt["[object Arguments]"]=Qt["[object Array]"]=Qt["[object ArrayBuffer]"]=Qt["[object Boolean]"]=Qt["[object DataView]"]=Qt["[object Date]"]=Qt["[object Error]"]=Qt["[object Function]"]=Qt["[object Map]"]=Qt["[object Number]"]=Qt["[object Object]"]=Qt["[object RegExp]"]=Qt["[object Set]"]=Qt["[object String]"]=Qt["[object WeakMap]"]=!1;var te=function(t){return zt(t)&&$t(t.length)&&!!Qt[A(t)]};var ee=function(t){return function(e){return t(e)}},ie=b((function(t,e){var i=e&&!e.nodeType&&e,r=i&&t&&!t.nodeType&&t,a=r&&r.exports===i&&g.process,n=function(){try{return r&&r.require&&r.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=n})),re=ie&&ie.isTypedArray,ae=re?ee(re):te;var ne=function(t,e){if("__proto__"!=e)return t[e]},oe=Object.prototype.hasOwnProperty;var se=function(t,i,r){var a=t[i];oe.call(t,i)&&e(a,r)&&(void 0!==r||i in t)||gt(t,i,r)};var ue=function(t,e,i,r){var a=!i;i||(i={});for(var n=-1,o=e.length;++n<o;){var s=e[n],u=r?r(i[s],t[s],s,i,t):void 0;void 0===u&&(u=t[s]),a?gt(i,s,u):se(i,s,u)}return i};var le=function(t,e){for(var i=-1,r=Array(t);++i<t;)r[i]=e(i);return r},ce=/^(?:0|[1-9]\d*)$/;var de=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&ce.test(t))&&t>-1&&t%1==0&&t<e},he=Object.prototype.hasOwnProperty;var fe=function(t,e){var i=Nt(t),r=!i&&Bt(t),a=!i&&!r&&Wt(t),n=!i&&!r&&!a&&ae(t),o=i||r||a||n,s=o?le(t.length,String):[],u=s.length;for(var l in t)!e&&!he.call(t,l)||o&&("length"==l||a&&("offset"==l||"parent"==l)||n&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||de(l,u))||s.push(l);return s};var pe=function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e},me=Object.prototype.hasOwnProperty;var be=function(t){if(!C(t))return pe(t);var e=Mt(t),i=[];for(var r in t)("constructor"!=r||!e&&me.call(t,r))&&i.push(r);return i};var ge=function(t){return Vt(t)?fe(t,!0):be(t)};var ve=function(t){return ue(t,ge(t))};var ye=function(t,e,i,r,a,n,o){var s=ne(t,i),u=ne(e,i),l=o.get(u);if(l)vt(t,i,l);else{var c=n?n(s,u,i+"",t,e,o):void 0,d=void 0===c;if(d){var h=Nt(u),f=!h&&Wt(u),p=!h&&!f&&ae(u);c=u,h||f||p?Nt(s)?c=s:Ht(s)?c=Et(s):f?(d=!1,c=xt(u,!0)):p?(d=!1,c=St(u,!0)):c=[]:Zt(u)||Bt(u)?(c=s,Bt(s)?c=ve(s):C(s)&&!M(s)||(c=Dt(u))):d=!1}d&&(o.set(u,c),a(c,u,r,n,o),o.delete(u)),vt(t,i,c)}};var _e=function t(e,i,r,a,n){e!==i&&_t(i,(function(o,s){if(C(o))n||(n=new mt),ye(e,i,s,r,t,a,n);else{var u=a?a(ne(e,s),o,s+"",e,i,n):void 0;void 0===u&&(u=o),vt(e,s,u)}}),ge)};var xe=function(t){return t};var ke=function(t,e,i){switch(i.length){case 0:return t.call(e);case 1:return t.call(e,i[0]);case 2:return t.call(e,i[0],i[1]);case 3:return t.call(e,i[0],i[1],i[2])}return t.apply(e,i)},we=Math.max;var Se=function(t,e,i){return e=we(void 0===e?t.length-1:e,0),function(){for(var r=arguments,a=-1,n=we(r.length-e,0),o=Array(n);++a<n;)o[a]=r[e+a];a=-1;for(var s=Array(e+1);++a<e;)s[a]=r[a];return s[e]=i(o),ke(t,this,s)}};var Ee=function(t){return function(){return t}},je=bt?function(t,e){return bt(t,"toString",{configurable:!0,enumerable:!1,value:Ee(e),writable:!0})}:xe,Te=Date.now;var Pe=function(t){var e=0,i=0;return function(){var r=Te(),a=16-(r-i);if(i=r,a>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(je);var Ae=function(t,e){return Pe(Se(t,e,xe),t+"")};var Ce=function(t,i,r){if(!C(r))return!1;var a=typeof i;return!!("number"==a?Vt(r)&&de(i,r.length):"string"==a&&i in r)&&e(r[i],t)};var Oe,Me=(Oe=function(t,e,i){_e(t,e,i)},Ae((function(t,e){var i=-1,r=e.length,a=r>1?e[r-1]:void 0,n=r>2?e[2]:void 0;for(a=Oe.length>3&&"function"==typeof a?(r--,a):void 0,n&&Ce(e[0],e[1],n)&&(a=r<3?void 0:a,r=1),t=Object(t);++i<r;){var o=e[i];o&&Oe(t,o,i,a)}return t}))),De=Object.prototype.toString,ze=function(t){var e=De.call(t),i="[object Arguments]"===e;return i||(i="[object Array]"!==e&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===De.call(t.callee)),i},Le=Object.prototype.hasOwnProperty,Ie=Object.prototype.toString,Fe=Array.prototype.slice,qe=Object.prototype.propertyIsEnumerable,Re=!qe.call({toString:null},"toString"),Be=qe.call((function(){}),"prototype"),Ne=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],$e=function(t){var e=t.constructor;return e&&e.prototype===t},Ve={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},He=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!Ve["$"+t]&&Le.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{$e(window[t])}catch(t){return!0}}catch(t){return!0}return!1}(),Ue=function(t){var e=null!==t&&"object"==typeof t,i="[object Function]"===Ie.call(t),r=ze(t),a=e&&"[object String]"===Ie.call(t),n=[];if(!e&&!i&&!r)throw new TypeError("Object.keys called on a non-object");var o=Be&&i;if(a&&t.length>0&&!Le.call(t,0))for(var s=0;s<t.length;++s)n.push(String(s));if(r&&t.length>0)for(var u=0;u<t.length;++u)n.push(String(u));else for(var l in t)o&&"prototype"===l||!Le.call(t,l)||n.push(String(l));if(Re)for(var c=function(t){if("undefined"==typeof window||!He)return $e(t);try{return $e(t)}catch(t){return!1}}(t),d=0;d<Ne.length;++d)c&&"constructor"===Ne[d]||!Le.call(t,Ne[d])||n.push(Ne[d]);return n};Ue.shim=function(){if(Object.keys){var t=function(){return 2===(Object.keys(arguments)||"").length}(1,2);if(!t){var e=Object.keys;Object.keys=function(t){return ze(t)?e(Fe.call(t)):e(t)}}}else Object.keys=Ue;return Object.keys||Ue};var We=Ue,Ye="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),Ge=Object.prototype.toString,Ke=Array.prototype.concat,Xe=Object.defineProperty,Je=Xe&&function(){var t={};try{for(var e in Xe(t,"x",{enumerable:!1,value:t}),t)return!1;return t.x===t}catch(t){return!1}}(),Ze=function(t,e,i,r){var a;(!(e in t)||"function"==typeof(a=r)&&"[object Function]"===Ge.call(a)&&r())&&(Je?Xe(t,e,{configurable:!0,enumerable:!1,value:i,writable:!0}):t[e]=i)},Qe=function(t,e){var i=arguments.length>2?arguments[2]:{},r=We(e);Ye&&(r=Ke.call(r,Object.getOwnPropertySymbols(e)));for(var a=0;a<r.length;a+=1)Ze(t,r[a],e[r[a]],i[r[a]])};Qe.supportsDescriptors=!!Je;var ti,ei=Qe,ii=Array.prototype.slice,ri=Object.prototype.toString,ai=Function.prototype.bind||function(t){var e=this;if("function"!=typeof e||"[object Function]"!==ri.call(e))throw new TypeError("Function.prototype.bind called on incompatible "+e);for(var i,r=ii.call(arguments,1),a=Math.max(0,e.length-r.length),n=[],o=0;o<a;o++)n.push("$"+o);if(i=Function("binder","return function ("+n.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof i){var a=e.apply(this,r.concat(ii.call(arguments)));return Object(a)===a?a:this}return e.apply(t,r.concat(ii.call(arguments)))})),e.prototype){var s=function(){};s.prototype=e.prototype,i.prototype=new s,s.prototype=null}return i},ni=m.Symbol,oi=TypeError,si=Object.getOwnPropertyDescriptor;if(si)try{si({},"")}catch(t){si=null}var ui=function(){throw new oi},li=si?function(){try{return ui}catch(t){try{return si(arguments,"callee").get}catch(t){return ui}}}():ui,ci="function"==typeof ni&&"function"==typeof Symbol&&"symbol"==typeof ni("foo")&&"symbol"==typeof Symbol("bar")&&function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),i=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(i))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,e);if(42!==a.value||!0!==a.enumerable)return!1}return!0}(),di=Object.getPrototypeOf||function(t){return t.__proto__},hi="undefined"==typeof Uint8Array?ti:di(Uint8Array),fi={"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?ti:ArrayBuffer,"%ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?ti:ArrayBuffer.prototype,"%ArrayIteratorPrototype%":ci?di([][Symbol.iterator]()):ti,"%ArrayPrototype%":Array.prototype,"%ArrayProto_entries%":Array.prototype.entries,"%ArrayProto_forEach%":Array.prototype.forEach,"%ArrayProto_keys%":Array.prototype.keys,"%ArrayProto_values%":Array.prototype.values,"%AsyncFromSyncIteratorPrototype%":ti,"%AsyncFunction%":undefined,"%AsyncFunctionPrototype%":ti,"%AsyncGenerator%":ti,"%AsyncGeneratorFunction%":undefined,"%AsyncGeneratorPrototype%":ti,"%AsyncIteratorPrototype%":ti,"%Atomics%":"undefined"==typeof Atomics?ti:Atomics,"%Boolean%":Boolean,"%BooleanPrototype%":Boolean.prototype,"%DataView%":"undefined"==typeof DataView?ti:DataView,"%DataViewPrototype%":"undefined"==typeof DataView?ti:DataView.prototype,"%Date%":Date,"%DatePrototype%":Date.prototype,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%ErrorPrototype%":Error.prototype,"%eval%":eval,"%EvalError%":EvalError,"%EvalErrorPrototype%":EvalError.prototype,"%Float32Array%":"undefined"==typeof Float32Array?ti:Float32Array,"%Float32ArrayPrototype%":"undefined"==typeof Float32Array?ti:Float32Array.prototype,"%Float64Array%":"undefined"==typeof Float64Array?ti:Float64Array,"%Float64ArrayPrototype%":"undefined"==typeof Float64Array?ti:Float64Array.prototype,"%Function%":Function,"%FunctionPrototype%":Function.prototype,"%Generator%":ti,"%GeneratorFunction%":undefined,"%GeneratorPrototype%":ti,"%Int8Array%":"undefined"==typeof Int8Array?ti:Int8Array,"%Int8ArrayPrototype%":"undefined"==typeof Int8Array?ti:Int8Array.prototype,"%Int16Array%":"undefined"==typeof Int16Array?ti:Int16Array,"%Int16ArrayPrototype%":"undefined"==typeof Int16Array?ti:Int8Array.prototype,"%Int32Array%":"undefined"==typeof Int32Array?ti:Int32Array,"%Int32ArrayPrototype%":"undefined"==typeof Int32Array?ti:Int32Array.prototype,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ci?di(di([][Symbol.iterator]())):ti,"%JSON%":"object"==typeof JSON?JSON:ti,"%JSONParse%":"object"==typeof JSON?JSON.parse:ti,"%Map%":"undefined"==typeof Map?ti:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&ci?di((new Map)[Symbol.iterator]()):ti,"%MapPrototype%":"undefined"==typeof Map?ti:Map.prototype,"%Math%":Math,"%Number%":Number,"%NumberPrototype%":Number.prototype,"%Object%":Object,"%ObjectPrototype%":Object.prototype,"%ObjProto_toString%":Object.prototype.toString,"%ObjProto_valueOf%":Object.prototype.valueOf,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?ti:Promise,"%PromisePrototype%":"undefined"==typeof Promise?ti:Promise.prototype,"%PromiseProto_then%":"undefined"==typeof Promise?ti:Promise.prototype.then,"%Promise_all%":"undefined"==typeof Promise?ti:Promise.all,"%Promise_reject%":"undefined"==typeof Promise?ti:Promise.reject,"%Promise_resolve%":"undefined"==typeof Promise?ti:Promise.resolve,"%Proxy%":"undefined"==typeof Proxy?ti:Proxy,"%RangeError%":RangeError,"%RangeErrorPrototype%":RangeError.prototype,"%ReferenceError%":ReferenceError,"%ReferenceErrorPrototype%":ReferenceError.prototype,"%Reflect%":"undefined"==typeof Reflect?ti:Reflect,"%RegExp%":RegExp,"%RegExpPrototype%":RegExp.prototype,"%Set%":"undefined"==typeof Set?ti:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&ci?di((new Set)[Symbol.iterator]()):ti,"%SetPrototype%":"undefined"==typeof Set?ti:Set.prototype,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?ti:SharedArrayBuffer,"%SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?ti:SharedArrayBuffer.prototype,"%String%":String,"%StringIteratorPrototype%":ci?di(""[Symbol.iterator]()):ti,"%StringPrototype%":String.prototype,"%Symbol%":ci?Symbol:ti,"%SymbolPrototype%":ci?Symbol.prototype:ti,"%SyntaxError%":SyntaxError,"%SyntaxErrorPrototype%":SyntaxError.prototype,"%ThrowTypeError%":li,"%TypedArray%":hi,"%TypedArrayPrototype%":hi?hi.prototype:ti,"%TypeError%":oi,"%TypeErrorPrototype%":oi.prototype,"%Uint8Array%":"undefined"==typeof Uint8Array?ti:Uint8Array,"%Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?ti:Uint8Array.prototype,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?ti:Uint8ClampedArray,"%Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?ti:Uint8ClampedArray.prototype,"%Uint16Array%":"undefined"==typeof Uint16Array?ti:Uint16Array,"%Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?ti:Uint16Array.prototype,"%Uint32Array%":"undefined"==typeof Uint32Array?ti:Uint32Array,"%Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?ti:Uint32Array.prototype,"%URIError%":URIError,"%URIErrorPrototype%":URIError.prototype,"%WeakMap%":"undefined"==typeof WeakMap?ti:WeakMap,"%WeakMapPrototype%":"undefined"==typeof WeakMap?ti:WeakMap.prototype,"%WeakSet%":"undefined"==typeof WeakSet?ti:WeakSet,"%WeakSetPrototype%":"undefined"==typeof WeakSet?ti:WeakSet.prototype},pi=ai.call(Function.call,String.prototype.replace),mi=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,bi=/\\(\\)?/g,gi=function(t,e){if("string"!=typeof t||0===t.length)throw new TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new TypeError('"allowMissing" argument must be a boolean');for(var i=function(t){var e=[];return pi(t,mi,(function(t,i,r,a){e[e.length]=r?pi(a,bi,"$1"):i||t})),e}(t),r=function(t,e){if(!(t in fi))throw new SyntaxError("intrinsic "+t+" does not exist!");if(void 0===fi[t]&&!e)throw new oi("intrinsic "+t+" exists, but is not available. Please file an issue!");return fi[t]}("%"+(i.length>0?i[0]:"")+"%",e),a=1;a<i.length;a+=1)if(null!=r)if(si&&a+1>=i.length){var n=si(r,i[a]);if(!e&&!(i[a]in r))throw new oi("base intrinsic for "+t+" exists, but the property is not available.");r=n?n.get||n.value:r[i[a]]}else r=r[i[a]];return r},vi=gi("%Function%"),yi=vi.apply,_i=vi.call,xi=function(){return ai.apply(_i,arguments)};xi.apply=function(){return ai.apply(yi,arguments)};var ki=function(t){return t instanceof Buffer},wi=b((function(t){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var i=function(){};i.prototype=e.prototype,t.prototype=new i,t.prototype.constructor=t}})),Si=b((function(t){try{var e=Ei;if("function"!=typeof e.inherits)throw"";t.exports=e.inherits}catch(e){t.exports=wi}})),Ei=b((function(t,e){var i=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),i={},r=0;r<e.length;r++)i[e[r]]=Object.getOwnPropertyDescriptor(t,e[r]);return i},r=/%[sdj%]/g;e.format=function(t){if(!b(t)){for(var e=[],i=0;i<arguments.length;i++)e.push(o(arguments[i]));return e.join(" ")}i=1;for(var a=arguments,n=a.length,s=String(t).replace(r,(function(t){if("%%"===t)return"%";if(i>=n)return t;switch(t){case"%s":return String(a[i++]);case"%d":return Number(a[i++]);case"%j":try{return JSON.stringify(a[i++])}catch(t){return"[Circular]"}default:return t}})),u=a[i];i<n;u=a[++i])p(u)||!y(u)?s+=" "+u:s+=" "+o(u);return s},e.deprecate=function(t,i){if("undefined"!=typeof process&&!0===process.noDeprecation)return t;if("undefined"==typeof process)return function(){return e.deprecate(t,i).apply(this,arguments)};var r=!1;return function(){if(!r){if(process.throwDeprecation)throw new Error(i);process.traceDeprecation?console.trace(i):console.error(i),r=!0}return t.apply(this,arguments)}};var a,n={};function o(t,i){var r={seen:[],stylize:u};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),f(i)?r.showHidden=i:i&&e._extend(r,i),g(r.showHidden)&&(r.showHidden=!1),g(r.depth)&&(r.depth=2),g(r.colors)&&(r.colors=!1),g(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=s),l(r,t,r.depth)}function s(t,e){var i=o.styles[e];return i?"["+o.colors[i][0]+"m"+t+"["+o.colors[i][1]+"m":t}function u(t,e){return t}function l(t,i,r){if(t.customInspect&&i&&k(i.inspect)&&i.inspect!==e.inspect&&(!i.constructor||i.constructor.prototype!==i)){var a=i.inspect(r,t);return b(a)||(a=l(t,a,r)),a}var n=function(t,e){if(g(e))return t.stylize("undefined","undefined");if(b(e)){var i="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(i,"string")}return m(e)?t.stylize(""+e,"number"):f(e)?t.stylize(""+e,"boolean"):p(e)?t.stylize("null","null"):void 0}(t,i);if(n)return n;var o=Object.keys(i),s=function(t){var e={};return t.forEach((function(t,i){e[t]=!0})),e}(o);if(t.showHidden&&(o=Object.getOwnPropertyNames(i)),x(i)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return c(i);if(0===o.length){if(k(i)){var u=i.name?": "+i.name:"";return t.stylize("[Function"+u+"]","special")}if(v(i))return t.stylize(RegExp.prototype.toString.call(i),"regexp");if(_(i))return t.stylize(Date.prototype.toString.call(i),"date");if(x(i))return c(i)}var y,w="",S=!1,E=["{","}"];return h(i)&&(S=!0,E=["[","]"]),k(i)&&(w=" [Function"+(i.name?": "+i.name:"")+"]"),v(i)&&(w=" "+RegExp.prototype.toString.call(i)),_(i)&&(w=" "+Date.prototype.toUTCString.call(i)),x(i)&&(w=" "+c(i)),0!==o.length||S&&0!=i.length?r<0?v(i)?t.stylize(RegExp.prototype.toString.call(i),"regexp"):t.stylize("[Object]","special"):(t.seen.push(i),y=S?function(t,e,i,r,a){for(var n=[],o=0,s=e.length;o<s;++o)j(e,String(o))?n.push(d(t,e,i,r,String(o),!0)):n.push("");return a.forEach((function(a){a.match(/^\d+$/)||n.push(d(t,e,i,r,a,!0))})),n}(t,i,r,s,o):o.map((function(e){return d(t,i,r,s,e,S)})),t.seen.pop(),function(t,e,i){return t.reduce((function(t,e){return e.indexOf("\n"),t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?i[0]+(""===e?"":e+"\n ")+" "+t.join(",\n  ")+" "+i[1]:i[0]+e+" "+t.join(", ")+" "+i[1]}(y,w,E)):E[0]+w+E[1]}function c(t){return"["+Error.prototype.toString.call(t)+"]"}function d(t,e,i,r,a,n){var o,s,u;if((u=Object.getOwnPropertyDescriptor(e,a)||{value:e[a]}).get?s=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(s=t.stylize("[Setter]","special")),j(r,a)||(o="["+a+"]"),s||(t.seen.indexOf(u.value)<0?(s=p(i)?l(t,u.value,null):l(t,u.value,i-1)).indexOf("\n")>-1&&(s=n?s.split("\n").map((function(t){return"  "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return"   "+t})).join("\n")):s=t.stylize("[Circular]","special")),g(o)){if(n&&a.match(/^\d+$/))return s;(o=JSON.stringify(""+a)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=t.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=t.stylize(o,"string"))}return o+": "+s}function h(t){return Array.isArray(t)}function f(t){return"boolean"==typeof t}function p(t){return null===t}function m(t){return"number"==typeof t}function b(t){return"string"==typeof t}function g(t){return void 0===t}function v(t){return y(t)&&"[object RegExp]"===w(t)}function y(t){return"object"==typeof t&&null!==t}function _(t){return y(t)&&"[object Date]"===w(t)}function x(t){return y(t)&&("[object Error]"===w(t)||t instanceof Error)}function k(t){return"function"==typeof t}function w(t){return Object.prototype.toString.call(t)}function S(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(t){if(g(a)&&(a=process.env.NODE_DEBUG||""),t=t.toUpperCase(),!n[t])if(new RegExp("\\b"+t+"\\b","i").test(a)){var i=process.pid;n[t]=function(){var r=e.format.apply(e,arguments);console.error("%s %d: %s",t,i,r)}}else n[t]=function(){};return n[t]},e.inspect=o,o.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},o.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=h,e.isBoolean=f,e.isNull=p,e.isNullOrUndefined=function(t){return null==t},e.isNumber=m,e.isString=b,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=g,e.isRegExp=v,e.isObject=y,e.isDate=_,e.isError=x,e.isFunction=k,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=ki;var E=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function j(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,i;console.log("%s - %s",(t=new Date,i=[S(t.getHours()),S(t.getMinutes()),S(t.getSeconds())].join(":"),[t.getDate(),E[t.getMonth()],i].join(" ")),e.format.apply(e,arguments))},e.inherits=Si,e._extend=function(t,e){if(!e||!y(e))return t;for(var i=Object.keys(e),r=i.length;r--;)t[i[r]]=e[i[r]];return t};var T="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function P(t,e){if(!t){var i=new Error("Promise was rejected with a falsy value");i.reason=t,t=i}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(T&&t[T]){var e;if("function"!=typeof(e=t[T]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,T,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,i,r=new Promise((function(t,r){e=t,i=r})),a=[],n=0;n<arguments.length;n++)a.push(arguments[n]);a.push((function(t,r){t?i(t):e(r)}));try{t.apply(this,a)}catch(t){i(t)}return r}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),T&&Object.defineProperty(e,T,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,i(t))},e.promisify.custom=T,e.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function e(){for(var e=[],i=0;i<arguments.length;i++)e.push(arguments[i]);var r=e.pop();if("function"!=typeof r)throw new TypeError("The last argument must be of type Function");var a=this,n=function(){return r.apply(a,arguments)};t.apply(this,e).then((function(t){process.nextTick(n,null,t)}),(function(t){process.nextTick(P,t,n)}))}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Object.defineProperties(e,i(t)),e}})),ji=(Ei.format,Ei.deprecate,Ei.debuglog,Ei.inspect,Ei.isArray,Ei.isBoolean,Ei.isNull,Ei.isNullOrUndefined,Ei.isNumber,Ei.isString,Ei.isSymbol,Ei.isUndefined,Ei.isRegExp,Ei.isObject,Ei.isDate,Ei.isError,Ei.isFunction,Ei.isPrimitive,Ei.isBuffer,Ei.log,Ei.inherits,Ei._extend,Ei.promisify,Ei.callbackify,Ei.inspect),Ti="function"==typeof Map&&Map.prototype,Pi=Object.getOwnPropertyDescriptor&&Ti?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Ai=Ti&&Pi&&"function"==typeof Pi.get?Pi.get:null,Ci=Ti&&Map.prototype.forEach,Oi="function"==typeof Set&&Set.prototype,Mi=Object.getOwnPropertyDescriptor&&Oi?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Di=Oi&&Mi&&"function"==typeof Mi.get?Mi.get:null,zi=Oi&&Set.prototype.forEach,Li="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,Ii="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,Fi=Boolean.prototype.valueOf,qi=Object.prototype.toString,Ri=String.prototype.match,Bi="function"==typeof BigInt?BigInt.prototype.valueOf:null,Ni=ji.custom,$i=Ni&&Yi(Ni)?Ni:null,Vi=function t(e,i,r,a){var n=i||{};if(Ki(n,"quoteStyle")&&"single"!==n.quoteStyle&&"double"!==n.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function(t,e){return Hi(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,Ji),"single",e)}(e,n);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var o,s=void 0===n.depth?5:n.depth;if(void 0===r&&(r=0),r>=s&&s>0&&"object"==typeof e)return"[Object]";if(void 0===a)a=[];else if(function(t,e){if(t.indexOf)return t.indexOf(e);for(var i=0,r=t.length;i<r;i++)if(t[i]===e)return i;return-1}(a,e)>=0)return"[Circular]";function u(e,i){return i&&(a=a.slice()).push(i),t(e,n,r+1,a)}if("function"==typeof e){var l=function(t){if(t.name)return t.name;var e=Ri.call(t,/^function\s*([\w$]+)/);return e?e[1]:null}(e);return"[Function"+(l?": "+l:"")+"]"}if(Yi(e)){var c=Symbol.prototype.toString.call(e);return"object"==typeof e?Zi(c):c}if((o=e)&&"object"==typeof o&&("undefined"!=typeof HTMLElement&&o instanceof HTMLElement||"string"==typeof o.nodeName&&"function"==typeof o.getAttribute)){for(var d="<"+String(e.nodeName).toLowerCase(),h=e.attributes||[],f=0;f<h.length;f++)d+=" "+h[f].name+"="+Hi(Ui(h[f].value),"double",n);return d+=">",e.childNodes&&e.childNodes.length&&(d+="..."),d+"</"+String(e.nodeName).toLowerCase()+">"}if(Wi(e))return 0===e.length?"[]":"[ "+er(e,u).join(", ")+" ]";if(function(t){return"[object Error]"===Xi(t)}(e)){var p=er(e,u);return 0===p.length?"["+String(e)+"]":"{ ["+String(e)+"] "+p.join(", ")+" }"}if("object"==typeof e){if($i&&"function"==typeof e[$i])return e[$i]();if("function"==typeof e.inspect)return e.inspect()}if(function(t){if(!Ai||!t||"object"!=typeof t)return!1;try{Ai.call(t);try{Di.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var m=[];return Ci.call(e,(function(t,i){m.push(u(i,e)+" => "+u(t,e))})),tr("Map",Ai.call(e),m)}if(function(t){if(!Di||!t||"object"!=typeof t)return!1;try{Di.call(t);try{Ai.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var b=[];return zi.call(e,(function(t){b.push(u(t,e))})),tr("Set",Di.call(e),b)}if(function(t){if(!Li||!t||"object"!=typeof t)return!1;try{Li.call(t,Li);try{Ii.call(t,Ii)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return Qi("WeakMap");if(function(t){if(!Ii||!t||"object"!=typeof t)return!1;try{Ii.call(t,Ii);try{Li.call(t,Li)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return Qi("WeakSet");if(function(t){return"[object Number]"===Xi(t)}(e))return Zi(u(Number(e)));if(function(t){return"[object BigInt]"===Xi(t)}(e))return Zi(u(Bi.call(e)));if(function(t){return"[object Boolean]"===Xi(t)}(e))return Zi(Fi.call(e));if(function(t){return"[object String]"===Xi(t)}(e))return Zi(u(String(e)));if(!function(t){return"[object Date]"===Xi(t)}(e)&&!function(t){return"[object RegExp]"===Xi(t)}(e)){var g=er(e,u);return 0===g.length?"{}":"{ "+g.join(", ")+" }"}return String(e)};function Hi(t,e,i){var r="double"===(i.quoteStyle||e)?'"':"'";return r+t+r}function Ui(t){return String(t).replace(/"/g,"&quot;")}function Wi(t){return"[object Array]"===Xi(t)}function Yi(t){return"[object Symbol]"===Xi(t)}var Gi=Object.prototype.hasOwnProperty||function(t){return t in this};function Ki(t,e){return Gi.call(t,e)}function Xi(t){return qi.call(t)}function Ji(t){var e=t.charCodeAt(0),i={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return i?"\\"+i:"\\x"+(e<16?"0":"")+e.toString(16)}function Zi(t){return"Object("+t+")"}function Qi(t){return t+" { ? }"}function tr(t,e,i){return t+" ("+e+") {"+i.join(", ")+"}"}function er(t,e){var i=Wi(t),r=[];if(i){r.length=t.length;for(var a=0;a<t.length;a++)r[a]=Ki(t,a)?e(t[a],t):""}for(var n in t)Ki(t,n)&&(i&&String(Number(n))===n&&n<t.length||(/[^\w$]/.test(n)?r.push(e(n,t)+": "+e(t[n],t)):r.push(n+": "+e(t[n],t))));return r}var ir=function(t){return"string"==typeof t||"symbol"==typeof t},rr=function(t){return"symbol"==typeof t?"Symbol":function(t){return null===t?"Null":void 0===t?"Undefined":"function"==typeof t||"object"==typeof t?"Object":"number"==typeof t?"Number":"boolean"==typeof t?"Boolean":"string"==typeof t?"String":void 0}(t)},ar=gi("%TypeError%"),nr=function(t,e){if("Object"!==rr(t))throw new ar("Assertion failed: Type(O) is not Object");if(!ir(e))throw new ar("Assertion failed: IsPropertyKey(P) is not true, got "+Vi(e));return t[e]},or=xi(gi("String.prototype.indexOf")),sr=function(t,e){var i=gi(t,!!e);return"function"==typeof i&&or(t,".prototype.")?xi(i):i},ur=gi("%Array%"),lr=!ur.isArray&&sr("Object.prototype.toString"),cr=ur.isArray||function(t){return"[object Array]"===lr(t)},dr=Number.isNaN||function(t){return t!=t},hr=Number.isNaN||function(t){return t!=t},fr=Number.isFinite||function(t){return"number"==typeof t&&!hr(t)&&t!==1/0&&t!==-1/0},pr=gi("%Math%"),mr=pr.floor,br=pr.abs,gr=gi("%Array%"),vr=gi("%Symbol.species%",!0),yr=gi("%TypeError%"),_r=function(t,e){if(!function(t){if("number"!=typeof t||dr(t)||!fr(t))return!1;var e=br(t);return mr(e)===e}(e)||e<0)throw new yr("Assertion failed: length must be an integer >= 0");var i,r,a=0===e?0:e;if(cr(t)&&(i=nr(t,"constructor"),vr&&"Object"===rr(i)&&null===(i=nr(i,vr))&&(i=void 0)),void 0===i)return gr(a);if("function"!=typeof(r=i)||!r.prototype)throw new yr("C must be a constructor");return new i(a)},xr=gi("%Math%"),kr=gi("%Number%").MAX_SAFE_INTEGER||xr.pow(2,53)-1,wr=Function.prototype.toString,Sr=/^\s*class\b/,Er=function(t){try{var e=wr.call(t);return Sr.test(e)}catch(t){return!1}},jr=Object.prototype.toString,Tr="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,Pr=function(t){if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if("function"==typeof t&&!t.prototype)return!0;if(Tr)return function(t){try{return!Er(t)&&(wr.call(t),!0)}catch(t){return!1}}(t);if(Er(t))return!1;var e=jr.call(t);return"[object Function]"===e||"[object GeneratorFunction]"===e},Ar=Pr,Cr=gi("%TypeError%"),Or=function(t,e){var i=arguments.length>2?arguments[2]:[];if(!Ar(t))throw new Cr(Vi(t)+" is not a function");return t.apply(e,i)},Mr=gi("%Object.defineProperty%",!0);if(Mr)try{Mr({},"a",{value:1})}catch(t){Mr=null}var Dr=sr("Object.prototype.propertyIsEnumerable"),zr=ai.call(Function.call,Object.prototype.hasOwnProperty),Lr=gi("%TypeError%"),Ir=gi("%SyntaxError%"),Fr={"Property Descriptor":function(t,e){if("Object"!==t(e))return!1;var i={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var r in e)if(zr(e,r)&&!i[r])return!1;var a=zr(e,"[[Value]]"),n=zr(e,"[[Get]]")||zr(e,"[[Set]]");if(a&&n)throw new Lr("Property Descriptors may not be both accessor and data descriptors");return!0}},qr=function(t,e,i,r){var a=Fr[e];if("function"!=typeof a)throw new Ir("unknown record type: "+e);if(!a(t,r))throw new Lr(i+" must be a "+e)},Rr=function(t){if(void 0===t)return t;qr(rr,"Property Descriptor","Desc",t);var e={};return"[[Value]]"in t&&(e.value=t["[[Value]]"]),"[[Writable]]"in t&&(e.writable=t["[[Writable]]"]),"[[Get]]"in t&&(e.get=t["[[Get]]"]),"[[Set]]"in t&&(e.set=t["[[Set]]"]),"[[Enumerable]]"in t&&(e.enumerable=t["[[Enumerable]]"]),"[[Configurable]]"in t&&(e.configurable=t["[[Configurable]]"]),e},Br=gi("%Object.getOwnPropertyDescriptor%");if(Br)try{Br([],"length")}catch(t){Br=null}var Nr=Br,$r=RegExp.prototype.exec,Vr=Object.getOwnPropertyDescriptor,Hr=Object.prototype.toString,Ur="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,Wr=function(t){if(!t||"object"!=typeof t)return!1;if(!Ur)return"[object RegExp]"===Hr.call(t);var e=Vr(t,"lastIndex");return!(!e||!zr(e,"value"))&&function(t){try{var e=t.lastIndex;return t.lastIndex=0,$r.call(t),!0}catch(t){return!1}finally{t.lastIndex=e}}(t)},Yr=function(t){return!!t},Gr=gi("%Symbol.match%",!0),Kr=gi("%TypeError%"),Xr=gi("%TypeError%"),Jr=sr("Object.prototype.propertyIsEnumerable"),Zr=function(t,e){if("Object"!==rr(t))throw new Xr("Assertion failed: O must be an Object");if(!ir(e))throw new Xr("Assertion failed: P must be a Property Key");if(zr(t,e)){if(!Nr){var i=cr(t)&&"length"===e,r=function(t){if(!t||"object"!=typeof t)return!1;if(Gr){var e=t[Gr];if(void 0!==e)return Yr(e)}return Wr(t)}(t)&&"lastIndex"===e;return{"[[Configurable]]":!(i||r),"[[Enumerable]]":Jr(t,e),"[[Value]]":t[e],"[[Writable]]":!0}}return function(t){if("Object"!==rr(t))throw new Kr("ToPropertyDescriptor requires an object");var e={};if(zr(t,"enumerable")&&(e["[[Enumerable]]"]=Yr(t.enumerable)),zr(t,"configurable")&&(e["[[Configurable]]"]=Yr(t.configurable)),zr(t,"value")&&(e["[[Value]]"]=t.value),zr(t,"writable")&&(e["[[Writable]]"]=Yr(t.writable)),zr(t,"get")){var i=t.get;if(void 0!==i&&!Ar(i))throw new TypeError("getter must be a function");e["[[Get]]"]=i}if(zr(t,"set")){var r=t.set;if(void 0!==r&&!Ar(r))throw new Kr("setter must be a function");e["[[Set]]"]=r}if((zr(e,"[[Get]]")||zr(e,"[[Set]]"))&&(zr(e,"[[Value]]")||zr(e,"[[Writable]]")))throw new Kr("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return e}(Nr(t,e))}},Qr=function(t){return void 0!==t&&(qr(rr,"Property Descriptor","Desc",t),!(!zr(t,"[[Value]]")&&!zr(t,"[[Writable]]")))},ta=function(t){return null===t||"function"!=typeof t&&"object"!=typeof t},ea=gi("%Object%"),ia=ea.preventExtensions,ra=ea.isExtensible,aa=ia?function(t){return!ta(t)&&ra(t)}:function(t){return!ta(t)},na=function(t,e){return t===e?0!==t||1/t==1/e:dr(t)&&dr(e)},oa=gi("%TypeError%"),sa=function(t,e,i){if("Object"!==rr(t))throw new oa("Assertion failed: Type(O) is not Object");if(!ir(e))throw new oa("Assertion failed: IsPropertyKey(P) is not true");var r=Zr(t,e),a=r||aa(t);return!(r&&(!r.writable||!r.configurable)||!a)&&function(t,e,i,r,a,n){if(!Mr){if(!t(n))return!1;if(!n["[[Configurable]]"]||!n["[[Writable]]"])return!1;if(a in r&&Dr(r,a)!==!!n["[[Enumerable]]"])return!1;var o=n["[[Value]]"];return r[a]=o,e(r[a],o)}return Mr(r,a,i(n)),!0}(Qr,na,Rr,t,e,{"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":i,"[[Writable]]":!0})},ua=gi("%TypeError%"),la=function(t,e,i){if("Object"!==rr(t))throw new ua("Assertion failed: Type(O) is not Object");if(!ir(e))throw new ua("Assertion failed: IsPropertyKey(P) is not true");var r=sa(t,e,i);if(!r)throw new ua("unable to create data property");return r},ca=gi("%TypeError%"),da=function(t,e){if("Object"!==rr(t))throw new ca("Assertion failed: `O` must be an Object");if(!ir(e))throw new ca("Assertion failed: `P` must be a Property Key");return e in t},ha=gi("%Math%"),fa=ha.floor,pa=ha.abs,ma=gi("RegExp.prototype.test"),ba=function(t){return xi(ma,t)},ga=function(t){return null===t||"function"!=typeof t&&"object"!=typeof t},va=Date.prototype.getDay,ya=Object.prototype.toString,_a="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,xa=function(t){return"object"==typeof t&&null!==t&&(_a?function(t){try{return va.call(t),!0}catch(t){return!1}}(t):"[object Date]"===ya.call(t))},ka=m.Symbol,wa=function(){return"function"==typeof ka&&"function"==typeof Symbol&&"symbol"==typeof ka("foo")&&"symbol"==typeof Symbol("bar")&&function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),i=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(i))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,e);if(42!==a.value||!0!==a.enumerable)return!1}return!0}()},Sa=b((function(t){var e=Object.prototype.toString;if(wa()){var i=Symbol.prototype.toString,r=/^Symbol\(.*\)$/;t.exports=function(t){if("symbol"==typeof t)return!0;if("[object Symbol]"!==e.call(t))return!1;try{return function(t){return"symbol"==typeof t.valueOf()&&r.test(i.call(t))}(t)}catch(t){return!1}}}else t.exports=function(t){return!1}})),Ea="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,ja=function(t){if(ga(t))return t;var e,i="default";if(arguments.length>1&&(arguments[1]===String?i="string":arguments[1]===Number&&(i="number")),Ea&&(Symbol.toPrimitive?e=function(t,e){var i=t[e];if(null!=i){if(!Pr(i))throw new TypeError(i+" returned for property "+e+" of object "+t+" is not a function");return i}}(t,Symbol.toPrimitive):Sa(t)&&(e=Symbol.prototype.valueOf)),void 0!==e){var r=e.call(t,i);if(ga(r))return r;throw new TypeError("unable to convert exotic object to primitive")}return"default"===i&&(xa(t)||Sa(t))&&(i="string"),function(t,e){if(null==t)throw new TypeError("Cannot call method on "+t);if("string"!=typeof e||"number"!==e&&"string"!==e)throw new TypeError('hint must be "string" or "number"');var i,r,a,n="string"===e?["toString","valueOf"]:["valueOf","toString"];for(a=0;a<n.length;++a)if(i=t[n[a]],Pr(i)&&(r=i.call(t),ga(r)))return r;throw new TypeError("No default value")}(t,"default"===i?"number":i)},Ta=gi("%TypeError%"),Pa=gi("%Number%"),Aa=gi("%RegExp%"),Ca=gi("%parseInt%"),Oa=sr("String.prototype.slice"),Ma=ba(/^0b[01]+$/i),Da=ba(/^0o[0-7]+$/i),za=ba(/^[-+]0x[0-9a-f]+$/i),La=ba(new Aa("["+["","​","￾"].join("")+"]","g")),Ia=["\t\n\v\f\r   ᠎    ","         　\u2028","\u2029\ufeff"].join(""),Fa=new RegExp("(^["+Ia+"]+)|(["+Ia+"]+$)","g"),qa=sr("String.prototype.replace"),Ra=function t(e){var i=ta(e)?e:function(t){return arguments.length>1?ja(t,arguments[1]):ja(t)}(e,Pa);if("symbol"==typeof i)throw new Ta("Cannot convert a Symbol value to a number");if("string"==typeof i){if(Ma(i))return t(Ca(Oa(i,2),2));if(Da(i))return t(Ca(Oa(i,2),8));if(La(i)||za(i))return NaN;var r=function(t){return qa(t,Fa,"")}(i);if(r!==i)return t(r)}return Pa(i)},Ba=function(t){return function(t){var e=function(t){return+t}(t);return dr(e)?0:0!==e&&fr(e)?function(t){return t>=0?1:-1}(e)*fa(pa(e)):e}(Ra(t))},Na=function(t){var e=Ba(t);return e<=0?0:e>kr?kr:e},$a=gi("%String%"),Va=gi("%TypeError%"),Ha=function(t){if("symbol"==typeof t)throw new Va("Cannot convert a Symbol value to a string");return $a(t)},Ua=gi("%TypeError%"),Wa=function t(e,i,r,a,n){var o;arguments.length>5&&(o=arguments[5]);for(var s=a,u=0;u<r;){var l=Ha(u);if(!0===da(i,l)){var c=nr(i,l);if(void 0!==o){if(arguments.length<=6)throw new Ua("Assertion failed: thisArg is required when mapperFunction is provided");c=Or(o,arguments[6],[c,u,i])}var d=!1;if(n>0&&(d=cr(c)),d)s=t(e,c,Na(nr(c,"length")),s,n-1);else{if(s>=kr)throw new Ua("index too large");la(e,Ha(s),c),s+=1}}u+=1}return s},Ya=gi("%TypeError%"),Ga=gi("%Object%"),Ka=function(t){return function(t,e){if(null==t)throw new Ya(e||"Cannot call method on "+t)}(t),Ga(t)},Xa=function(){var t=Ka(this),e=Na(nr(t,"length")),i=1;arguments.length>0&&void 0!==arguments[0]&&(i=Ba(arguments[0]));var r=_r(t,0);return Wa(r,t,e,0,i),r},Ja=function(){return Array.prototype.flat||Xa},Za=Ja(),Qa=xi(Za);ei(Qa,{getPolyfill:Ja,implementation:Xa,shim:function(){var t=Ja();return ei(Array.prototype,{flat:t},{flat:function(){return Array.prototype.flat!==t}}),t}});var tn=Qa,en=function(t){for(var e,i=[],r=1;r<arguments.length;r++)i[r-1]=arguments[r];var a=tn(i).map((function(t){return t.split(" ")}));(e=t.classList).add.apply(e,tn(a))},rn=function(){function t(t,e){void 0===e&&(e=""),this.hideEta=0,this.maxHideTime=0,this.previousTimeout=0,this.toastElement=t,this.progressElement=document.createElement("div"),en(this.progressElement,e),this.toastElement.insertBefore(this.progressElement,this.toastElement.firstChild)}return t.prototype.update=function(){var t=(this.hideEta-(new Date).getTime())/this.maxHideTime*100;this.progressElement.style.width=t+"%"},t.prototype.start=function(){var t=this;this.reset(this.previousTimeout),this.intervalId=setInterval((function(){return t.update()}),10)},t.prototype.resetWidth=function(){this.progressElement.style.width="0%"},t.prototype.stop=function(){this.maxHideTime=0,this.hideEta=0,this.resetWidth(),clearInterval(this.intervalId)},t.prototype.reset=function(t){this.previousTimeout=t,this.maxHideTime=t,this.hideEta=(new Date).getTime()+this.maxHideTime},t}();return function(){function t(t){this.toastId=0,this.previousToast=null,this.toastType={info:"info",error:"error",warning:"warning",success:"success"},this.version="3.0.0-alpha.18",this.options={tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:function(){},hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:function(){},closeMethod:!1,closeDuration:!1,closeEasing:!1,closeOnHover:!0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'<button type="button">&times;</button>',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1,onCloseClick:function(){},closeButton:!1,onclick:function(){}},this.$container=document.createElement("div"),this.options=Me({},this.options,t),this.createContainer()}return t.prototype.createContainer=function(){this.$container=document.createElement("div"),this.$container.setAttribute("id",this.options.containerId),en(this.$container,this.options.positionClass);var t=document.getElementsByTagName(this.options.target);return t&&t[0]&&t[0].appendChild(this.$container),this.$container},t.prototype.getContainer=function(t,e){void 0===t&&(t=this.options),void 0===e&&(e=!1);var i=document.getElementById(t.containerId||"");return i?(this.$container=i,this.$container):(e&&(this.$container=this.createContainer()),this.$container)},t.prototype.error=function(t,e,i){return this.notify({type:this.toastType.error,iconClass:this.options.iconClasses.error,message:t,optionsOverride:i,title:e})},t.prototype.warning=function(t,e,i){return this.notify({type:this.toastType.warning,iconClass:this.options.iconClasses.warning,message:t,optionsOverride:i,title:e})},t.prototype.success=function(t,e,i){return this.notify({type:this.toastType.success,iconClass:this.options.iconClasses.success,message:t,optionsOverride:i,title:e})},t.prototype.info=function(t,e,i){return this.notify({type:this.toastType.info,iconClass:this.options.iconClasses.info,message:t,optionsOverride:i,title:e})},t.prototype.subscribe=function(t){this.listener=t},t.prototype.publish=function(t){this.listener&&this.listener(t)},t.prototype.clear=function(t,e){void 0===e&&(e={}),this.$container||this.getContainer(this.options),this.clearToast(t,this.options,e)||this.clearContainer(this.options)},t.prototype.remove=function(t){if(this.$container||this.getContainer(this.options),this.$container)if(t&&t!==document.activeElement)this.removeToast(t);else if(!this.$container.hasChildNodes()){var e=this.$container.parentElement;e&&e.removeChild(this.$container)}},t.prototype.removeToast=function(t){this.$container||this.getContainer(),this.$container&&t.parentNode&&(t.parentNode.removeChild(t),t.offsetWidth>0&&t.offsetHeight>0||this.$container.hasChildNodes()||(this.$container.parentNode&&this.$container.parentNode.removeChild(this.$container),this.previousToast=null))},t.prototype.clearContainer=function(t){if(void 0===t&&(t=this.options),this.$container)for(var e=Array.from(this.$container.childNodes),i=e.length-1;i>=0;i-=1)this.clearToast(e[i],t)},t.prototype.clearToast=function(t,e,i){if(void 0===e&&(e=this.options),void 0===i&&(i={}),!t)return!1;var r=i.force||!1;return!(!t||!r&&t===document.activeElement||(this.removeToast(t),0))},t.prototype.notify=function(t){var e=this,i=this.options,r=t.iconClass||this.options.iconClass;if(void 0!==t.optionsOverride&&(i=Me({},i,t.optionsOverride),r=t.optionsOverride.iconClass||r),function(t,i){if(t.preventDuplicates){if(i.message===e.previousToast)return!0;e.previousToast=i.message||""}return!1}(i,t))return null;this.toastId+=1,this.$container=this.getContainer(i,!0);var a=null,n=null,o=document.createElement("div"),s=document.createElement("div"),u=document.createElement("div"),l=document.createElement("div");l.innerHTML=i.closeHtml.trim();var c=l.firstChild,d={toastId:this.toastId,state:"visible",startTime:new Date,endTime:void 0,options:i,map:t},h=function(t){void 0===t&&(t=null),(o!==document.activeElement||t)&&(n&&n.stop(),e.removeToast(o),a&&clearTimeout(a),i.onHidden&&"hidden"!==d.state&&i.onHidden(),d.state="hidden",d.endTime=new Date,e.publish(d))},f=function(t){return(null!==t?t:"").replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")};return r&&en(o,i.toastClass,r),function(){if(t.title){var e=t.title;i.escapeHtml&&(e=f(t.title)),s.innerHTML=e,en(s,i.titleClass),o.appendChild(s)}}(),function(){if(t.message){var e=t.message;i.escapeHtml&&(e=f(t.message)),u.innerHTML=e,en(u,i.messageClass),o.appendChild(u)}}(),i.closeButton&&c&&(en(c,i.closeClass),c.setAttribute("role","button"),o.insertBefore(c,o.firstChild)),i.progressBar&&(n=new rn(o,i.progressClass)),i.rtl&&en(o,"rtl"),i.newestOnTop?e.$container.insertBefore(o,e.$container.firstChild):e.$container.appendChild(o),function(){var t="";switch(r){case"toast-success":case"toast-info":t="polite";break;default:t="assertive"}o.setAttribute("aria-live",t)}(),i.onShown&&i.onShown(),i.timeOut>0&&(a=setTimeout(h,i.timeOut),n&&(n.reset(i.timeOut),n.start())),i.closeOnHover&&(o.addEventListener("mouseover",(function(){return a&&clearTimeout(a),void(n&&n.stop())})),o.addEventListener("mouseout",(function(){(i.timeOut>0||i.extendedTimeOut>0)&&(a=setTimeout(h,i.extendedTimeOut),n&&(n.reset(i.extendedTimeOut),n.start()))}))),!i.onclick&&i.tapToDismiss&&o.addEventListener("click",h),i.closeButton&&c&&c.addEventListener("click",(function(t){t.stopPropagation?t.stopPropagation():void 0!==t.cancelBubble&&!0!==t.cancelBubble&&(t.cancelBubble=!0),i.onCloseClick&&i.onCloseClick(t),h(!0)})),i.onclick&&o.addEventListener("click",(function(t){i.onclick&&i.onclick(t),h()})),this.publish(d),i.debug&&console&&console.log(d),o},t}()}()},3281:t=>{function e(t,e){this.onResolvedAll=e,this.onFailedOne=t,this.resolvers={},this.resolversCount=0,this.passed=[],this.failed=[],this.firing=!1}e.prototype={add:function(t){var e=this.resolversCount;return this.resolvers[e]=t,this.resolversCount++,e},resolve:function(t){var e=this.resolvers[t];!0===e.passes?this.passed.push(e):!1===e.passes&&(this.failed.push(e),this.onFailedOne(e)),this.fire()},isAllResolved:function(){return this.passed.length+this.failed.length===this.resolversCount},fire:function(){this.firing&&this.isAllResolved()&&this.onResolvedAll(0===this.failed.length)},enableFiring:function(){this.firing=!0}},t.exports=e},97426:t=>{t.exports={replacements:{between:function(t,e){var i=e.getParameters();return this._replacePlaceholders(e,t,{min:i[0],max:i[1]})},digits_between:function(t,e){var i=e.getParameters();return this._replacePlaceholders(e,t,{min:i[0],max:i[1]})},required_if:function(t,e){var i=e.getParameters();return this._replacePlaceholders(e,t,{other:this._getAttributeName(i[0]),value:i[1]})},required_unless:function(t,e){var i=e.getParameters();return this._replacePlaceholders(e,t,{other:this._getAttributeName(i[0]),value:i[1]})},required_with:function(t,e){var i=e.getParameters();return this._replacePlaceholders(e,t,{field:this._getAttributeName(i[0])})},required_with_all:function(t,e){var i=e.getParameters(),r=this._getAttributeName.bind(this);return this._replacePlaceholders(e,t,{fields:i.map(r).join(", ")})},required_without:function(t,e){var i=e.getParameters();return this._replacePlaceholders(e,t,{field:this._getAttributeName(i[0])})},required_without_all:function(t,e){var i=e.getParameters(),r=this._getAttributeName.bind(this);return this._replacePlaceholders(e,t,{fields:i.map(r).join(", ")})},after:function(t,e){var i=e.getParameters();return this._replacePlaceholders(e,t,{after:this._getAttributeName(i[0])})},before:function(t,e){var i=e.getParameters();return this._replacePlaceholders(e,t,{before:this._getAttributeName(i[0])})},after_or_equal:function(t,e){var i=e.getParameters();return this._replacePlaceholders(e,t,{after_or_equal:this._getAttributeName(i[0])})},before_or_equal:function(t,e){var i=e.getParameters();return this._replacePlaceholders(e,t,{before_or_equal:this._getAttributeName(i[0])})},same:function(t,e){var i=e.getParameters();return this._replacePlaceholders(e,t,{same:this._getAttributeName(i[0])})}},formatter:function(t){return t.replace(/[_\[]/g," ").replace(/]/g,"")}}},56430:t=>{var e=function(){this.errors={}};e.prototype={constructor:e,add:function(t,e){this.has(t)||(this.errors[t]=[]),-1===this.errors[t].indexOf(e)&&this.errors[t].push(e)},get:function(t){return this.has(t)?this.errors[t]:[]},first:function(t){return!!this.has(t)&&this.errors[t][0]},all:function(){return this.errors},has:function(t){return!!this.errors.hasOwnProperty(t)}},t.exports=e},63542:(t,e,i)=>{var r=i(16674);i(2363);var a={messages:{},_set:function(t,e){this.messages[t]=e},_setRuleMessage:function(t,e,i){this._load(t),void 0===i&&(i=this.messages[t].def),this.messages[t][e]=i},_load:function(t){if(!this.messages[t])try{var e=i(37518)("./"+t);this._set(t,e)}catch(t){}},_get:function(t){return this._load(t),this.messages[t]},_make:function(t){return this._load(t),new r(t,this.messages[t])}};t.exports=a},60897:t=>{t.exports={accepted:"الصفة :attribute يجب أن تكون مقبولة",after:"الصفة :attribute يجب أن تكون بعد الصفة :after.",after_or_equal:"الصفة :attribute يجب أن تكون مساوية أو بعد الصفة :after_or_equal.",alpha:"حقل الصفة  :attribute يجب أن تحتوي على أحرف فقط",alpha_dash:"حقل الصفة :attribute مسموح بأن يحتوي على حروف و أرقام و شرطة و شرطة منخفضة",alpha_num:"حقل الصفة :attribute يجب أن يحتوي على أحرف و أرقام",before:"الصفة :attribute يجب أن تكون قبل :before.",before_or_equal:"الصفة :attribute يجب أن تكون مساوية أو قبل الصفة :before_or_equal.",between:"حقل الصفة :attribute يجب أن يكون بين :min و :max.",confirmed:"تأكيد الصفة :attribute غير متطابق.",email:"الصفة :attribute صيغتها غير صحيحة",date:"الصفة :attribute صيغتها ليست تاريخ صحيح",def:"الصفة :attribute تحتوي على أخطاء",digits:"الصفة :attribute يجب أن تكون :digits أرقام.",digits_between:"يجب أن يحتوي :attribute بين :min و :max رقمًا/أرقام .",different:"الصفة :attribute و الصفة :different يجب أن تكونا مختلفتين",in:"الصفة :attribute المختارة، غير صحيحة.",integer:"الصفة :attribute يجب أن تكون عدد صحيح",hex:"حقل الصفة :attribute يجب أن يحتوي على صيغة هكسيديسمل",min:{numeric:"الصفة :attribute يجب أن تكون :min على الأقل",string:"الصفة :attribute يجب أن تكون :min حرف على الأقل."},max:{numeric:"الصفة :attribute لا يمكن أن تكون أكبر من  :max.",string:"الصفة :attribute يجب أن لا تكون أكثر من :max حرف."},not_in:"الصفة :attribute المختارة غير صحيحة.",numeric:"الصفة :attribute يجب أن تكون رقما.",present:"حقل الصفة :attribute يجب أن يكون معرفا ، يمكن أن يكون فارغا.",required:"حقل الصفة :attribute مطلوب.",required_if:"حقل الصفة :attribute مطلوب حين تكون قيمة الحقل :other تساوي :value.",required_unless:"حقل الصفة :attribute مطلوب حين تكون قيم الحقل :other لا تساوي :value.",required_with:"حقل الصفة :attribute مطلوب حين يكون الحقا :field غير فارغ.",required_with_all:"حقل الصفة :attribute مطلوب حين تكون الحقول :fields غير فارغة.",required_without:"حقل الصفة :attribute مطلوب حين يكون الحقل :field فارغا.",required_without_all:"حقل الصفة :attribute مطلوب حين تكون الحقول :fields فارغة.",same:"حقل الصفة :attribute و حقل الصفة :same يجب أن يتطابقا.",size:{numeric:"الصفة :attribute يجب أن تكون :size.",string:"الصفة :attribute يجب أن تكون :size حرفا."},string:"الصفة :attribute يجب أن تكون نص.",url:"الصفة :attribute صياغتها غير صحيحة.",regex:"الصفة :attribute صياغتها غير صحيحة.",attributes:{username:"اسم المستخدم",password:"كلمة المرور",email:"البريد الالكتروني",website:"الموقع الالكتروني",firstname:"الاسم الاول",lastname:"الاسم الاخير",subject:"الموضوع",city:"المدينة",region:"المنطقة",country:"الدولة",street:"الشارع",zipcode:"الرمز البريدي",phone:"رقم الهاتف",mobile:"رقم الجوال"}}},58872:t=>{t.exports={accepted:":attribute qəbul edilməlidir",active_url:":attribute doğru URL deyil",after:":attribute :date tarixindən sonra olmalıdır",after_or_equal:":attribute :date tarixi ilə eyni və ya sonra olmalıdır",alpha:":attribute yalnız hərflərdən ibarət ola bilər",alpha_dash:":attribute yalnız hərf, rəqəm və tire simvolundan ibarət ola bilər",alpha_num:":attribute yalnız hərf və rəqəmlərdən ibarət ola bilər",array:":attribute massiv formatında olmalıdır",before:":attribute :date tarixindən əvvəl olmalıdır",before_or_equal:":attribute :date tarixindən əvvəl və ya bərabər olmalıdır",between:{numeric:":attribute :min ilə :max arasında olmalıdır",file:":attribute :min ilə :max KB ölçüsü intervalında olmalıdır",string:":attribute :min ilə :max simvolu intervalında olmalıdır",array:":attribute :min ilə :max intervalında hissədən ibarət olmalıdır"},boolean:" :attribute doğru və ya yanlış ola bilər",confirmed:" :attribute doğrulanması yanlışdır",date:" :attribute tarix formatında olmalıdır",date_format:" :attribute :format formatında olmalıdır",different:" :attribute və :other fərqli olmalıdır",digits:" :attribute :digits rəqəmli olmalıdır",digits_between:" :attribute :min ilə :max rəqəmləri intervalında olmalıdır",dimensions:" :attribute doğru şəkil ölçülərində deyil",distinct:" :attribute dublikat qiymətlidir",email:" :attribute doğru email formatında deyil",exists:" seçilmiş :attribute yanlışdır",file:" :attribute fayl formatında olmalıdır",filled:" :attribute qiyməti olmalıdır",gt:{numeric:"The :attribute must be greater than :value.",file:"The :attribute must be greater than :value kilobytes.",string:"The :attribute must be greater than :value characters.",array:"The :attribute must have more than :value items."},gte:{numeric:"The :attribute must be greater than or equal :value.",file:"The :attribute must be greater than or equal :value kilobytes.",string:"The :attribute must be greater than or equal :value characters.",array:"The :attribute must have :value items or more."},image:" :attribute şəkil formatında olmalıdır",in:" seçilmiş :attribute yanlışdır",in_array:" :attribute :other qiymətləri arasında olmalıdır",integer:" :attribute tam ədəd olmalıdır",hex:"The :attribute field should have hexadecimal format",ip:" :attribute İP adres formatında olmalıdır",ipv4:" :attribute İPv4 adres formatında olmalıdır",ipv6:" :attribute İPv6 adres formatında olmalıdır",json:" :attribute JSON formatında olmalıdır",lt:{numeric:"The :attribute must be less than :value.",file:"The :attribute must be less than :value kilobytes.",string:"The :attribute must be less than :value characters.",array:"The :attribute must have less than :value items."},lte:{numeric:"The :attribute must be less than or equal :value.",file:"The :attribute must be less than or equal :value kilobytes.",string:"The :attribute must be less than or equal :value characters.",array:"The :attribute must not have more than :value items."},max:{numeric:" :attribute maksiumum :max rəqəmdən ibarət ola bilər",file:" :attribute maksimum :max KB ölçüsündə ola bilər",string:" :attribute maksimum :max simvoldan ibarət ola bilər",array:" :attribute maksimum :max hədd'dən ibarət ola bilər"},mimes:" :attribute :values tipində fayl olmalıdır",mimetypes:" :attribute :values tipində fayl olmalıdır",min:{numeric:" :attribute minimum :min rəqəmdən ibarət ola bilər",file:" :attribute minimum :min KB ölçüsündə ola bilər",string:" :attribute minimum :min simvoldan ibarət ola bilər",array:" :attribute minimum :min hədd'dən ibarət ola bilər"},not_in:" seçilmiş :attribute yanlışdır",numeric:" :attribute rəqəmlərdən ibarət olmalıdır",present:" :attribute iştirak etməlidir",regex:" :attribute formatı yanlışdır",required:" :attribute mütləqdir",required_if:" :attribute (:other :value ikən) mütləqdir",required_unless:" :attribute (:other :values 'ə daxil ikən) mütləqdir",required_with:" :attribute (:values var ikən) mütləqdir",required_with_all:" :attribute (:values var ikən) mütləqdir",required_without:" :attribute (:values yox ikən) mütləqdir",required_without_all:" :attribute (:values yox ikən) mütləqdir",same:" :attribute və :other eyni olmalıdır",size:{numeric:" :attribute :size ölçüsündə olmalıdır",file:" :attribute :size KB ölçüsündə olmalıdır",string:" :attribute :size simvoldan ibarət olmalıdır",array:" :attribute :size hədd'dən ibarət olmalıdır"},string:" :attribute hərf formatında olmalıdır",timezone:" :attribute ərazi formatında olmalıdır",unique:" :attribute artıq iştirak edib",uploaded:" :attribute yüklənməsi mümkün olmadı",url:" :attribute formatı yanlışdır"}},77900:t=>{t.exports={accepted:"Вы павінны прыняць :attribute.",active_url:"Поле :attribute утрымлівае несапраўдны URL.",after:"У полі :attribute павінна быць дата пасля :date.",after_or_equal:"The :attribute must be a date after or equal to :date.",alpha:"Поле :attribute можа мець толькі літары.",alpha_dash:"Поле :attribute можа мець толькі літары, лічбы і злучок.",alpha_num:"Поле :attribute можа мець толькі літары і лічбы.",array:"Поле :attribute павінна быць масівам.",before:"У полі :attribute павінна быць дата да :date.",before_or_equal:"The :attribute must be a date before or equal to :date.",between:{numeric:"Поле :attribute павінна быць паміж :min і :max.",file:"Памер файла ў поле :attribute павінен быць паміж :min і :max кілабайт.",string:"Колькасць сiмвалаў у поле :attribute павінна быць паміж :min і :max.",array:"Колькасць элементаў у поле :attribute павінна быць паміж :min і :max."},boolean:"Поле :attribute павінна мець значэнне лагічнага тыпу.",confirmed:"Поле :attribute не супадае з пацвярджэннем.",date:"Поле :attribute не з'яўляецца датай.",date_format:"Поле :attribute не адпавядае фармату :format.",different:"Палі :attribute і :other павінны адрознівацца.",digits:"Даўжыня лічбавага поля :attribute павінна быць :digits.",digits_between:"Даўжыня лічбавага поля :attribute павінна быць паміж :min і :max.",dimensions:"The :attribute has invalid image dimensions.",distinct:"The :attribute field has a duplicate value.",email:"Поле :attribute павінна быць сапраўдным электронным адрасам.",file:"The :attribute must be a file.",filled:"Поле :attribute абавязкова для запаўнення.",exists:"Выбранае значэнне для :attribute некарэктна.",gt:{numeric:"The :attribute must be greater than :value.",file:"The :attribute must be greater than :value kilobytes.",string:"The :attribute must be greater than :value characters.",array:"The :attribute must have more than :value items."},gte:{numeric:"The :attribute must be greater than or equal :value.",file:"The :attribute must be greater than or equal :value kilobytes.",string:"The :attribute must be greater than or equal :value characters.",array:"The :attribute must have :value items or more."},hex:"The :attribute field should have hexadecimal format",image:"Поле :attribute павінна быць малюнкам.",in:"Выбранае значэнне для :attribute памылкова.",in_array:"The :attribute field does not exist in :other.",integer:"Поле :attribute павінна быць цэлым лікам.",ip:"Поле :attribute дпавінна быць сапраўдным IP-адрасам.",ipv4:"The :attribute must be a valid IPv4 address.",ipv6:"The :attribute must be a valid IPv6 address.",json:"Поле :attribute павінна быць JSON радком.",lt:{numeric:"The :attribute must be less than :value.",file:"The :attribute must be less than :value kilobytes.",string:"The :attribute must be less than :value characters.",array:"The :attribute must have less than :value items."},lte:{numeric:"The :attribute must be less than or equal :value.",file:"The :attribute must be less than or equal :value kilobytes.",string:"The :attribute must be less than or equal :value characters.",array:"The :attribute must not have more than :value items."},max:{numeric:"Поле :attribute не можа быць больш :max.",file:"Памер файла ў поле :attribute не можа быць больш :max кілабайт).",string:"Колькасць сiмвалаў у поле :attribute не можа перавышаць :max.",array:"Колькасць элементаў у поле :attribute не можа перавышаць :max."},mimes:"Поле :attribute павінна быць файлам аднаго з наступных тыпаў: :values.",mimetypes:"Поле :attribute павінна быць файлам аднаго з наступных тыпаў: :values.",min:{numeric:"Поле :attribute павінна быць не менш :min.",file:"Памер файла ў полее :attribute павінен быць не менш :min кілабайт.",string:"Колькасць сiмвалаў у поле :attribute павінна быць не менш :min.",array:"Колькасць элементаў у поле :attribute павінна быць не менш :min."},not_in:"Выбранае значэнне для :attribute памылкова.",not_regex:"The :attribute format is invalid.",numeric:"Поле :attribute павінна быць лікам.",present:"The :attribute field must be present.",regex:"Поле :attribute мае памылковы фармат.",required:"Поле :attribute абавязкова для запаўнення.",required_if:"Поле :attribute абавязкова для запаўнення, калі :other раўняецца :value.",required_unless:"Поле :attribute абавязкова для запаўнення, калі :other не раўняецца :values.",required_with:"Поле :attribute абавязкова для запаўнення, калі :values ўказана.",required_with_all:"Поле :attribute абавязкова для запаўнення, калі :values ўказана.",required_without:"Поле :attribute абавязкова для запаўнення, калі :values не ўказана.",required_without_all:"Поле :attribute абавязкова для запаўнення, калі ні адно з :values не ўказана.",same:"Значэнне :attribute павінна супадаць з :other.",size:{numeric:"Поле :attribute павінна быць :size.",file:"Размер файла в поле :attribute павінен быць :size кілабайт.",string:"Колькасць сiмвалаў у поле :attribute павінна быць :size.",array:"Колькасць элементаў у поле :attribute павінна быць :size."},string:"Поле :attribute павінна быць радком.",timezone:"Поле :attribute павінна быць сапраўдным гадзінным поясам.",unique:"Такое значэнне поля :attribute ўжо існуе.",uploaded:"The :attribute failed to upload.",url:"Поле :attribute мае памылковы фармат."}},12678:t=>{t.exports={accepted:"Трябва да приемете :attribute.",active_url:"Полето :attribute не е валиден URL адрес.",after:"Полето :attribute трябва да бъде дата след :date.",after_or_equal:"Полето :attribute трябва да бъде дата след или равна на :date.",alpha:"Полето :attribute трябва да съдържа само букви.",alpha_dash:"Полето :attribute трябва да съдържа само букви, цифри, долна черта и тире.",alpha_num:"Полето :attribute трябва да съдържа само букви и цифри.",array:"Полето :attribute трябва да бъде масив.",before:"Полето :attribute трябва да бъде дата преди :date.",before_or_equal:"Полето :attribute трябва да бъде дата преди или равна на :date.",between:{numeric:"Полето :attribute трябва да бъде между :min и :max.",file:"Полето :attribute трябва да бъде между :min и :max килобайта.",string:"Полето :attribute трябва да бъде между :min и :max знака.",array:"Полето :attribute трябва да има между :min - :max елемента."},boolean:"Полето :attribute трябва да съдържа Да или Не",confirmed:"Полето :attribute не е потвърдено.",date:"Полето :attribute не е валидна дата.",date_format:"Полето :attribute не е във формат :format.",different:"Полетата :attribute и :other трябва да са различни.",digits:"Полето :attribute трябва да има :digits цифри.",digits_between:"Полето :attribute трябва да има между :min и :max цифри.",dimensions:"Невалидни размери за снимка :attribute.",distinct:"Данните в полето :attribute се дублират.",email:"Полето :attribute е в невалиден формат.",exists:"Избранато поле :attribute вече съществува.",file:"Полето :attribute трябва да бъде файл.",filled:"Полето :attribute е задължително.",gt:{numeric:"The :attribute must be greater than :value.",file:"The :attribute must be greater than :value kilobytes.",string:"The :attribute must be greater than :value characters.",array:"The :attribute must have more than :value items."},gte:{numeric:"The :attribute must be greater than or equal :value.",file:"The :attribute must be greater than or equal :value kilobytes.",string:"The :attribute must be greater than or equal :value characters.",array:"The :attribute must have :value items or more."},hex:"The :attribute field should have hexadecimal format",image:"Полето :attribute трябва да бъде изображение.",in:"Избраното поле :attribute е невалидно.",in_array:"Полето :attribute не съществува в :other.",integer:"Полето :attribute трябва да бъде цяло число.",ip:"Полето :attribute трябва да бъде IP адрес.",ipv4:"Полето :attribute трябва да бъде IPv4 адрес.",ipv6:"Полето :attribute трябва да бъде IPv6 адрес.",json:"Полето :attribute трябва да бъде JSON низ.",lt:{numeric:"The :attribute must be less than :value.",file:"The :attribute must be less than :value kilobytes.",string:"The :attribute must be less than :value characters.",array:"The :attribute must have less than :value items."},lte:{numeric:"The :attribute must be less than or equal :value.",file:"The :attribute must be less than or equal :value kilobytes.",string:"The :attribute must be less than or equal :value characters.",array:"The :attribute must not have more than :value items."},max:{numeric:"Полето :attribute трябва да бъде по-малко от :max.",file:"Полето :attribute трябва да бъде по-малко от :max килобайта.",string:"Полето :attribute трябва да бъде по-малко от :max знака.",array:"Полето :attribute трябва да има по-малко от :max елемента."},mimes:"Полето :attribute трябва да бъде файл от тип: :values.",mimetypes:"Полето :attribute трябва да бъде файл от тип: :values.",min:{numeric:"Полето :attribute трябва да бъде минимум :min.",file:"Полето :attribute трябва да бъде минимум :min килобайта.",string:"Полето :attribute трябва да бъде минимум :min знака.",array:"Полето :attribute трябва има минимум :min елемента."},not_in:"Избраното поле :attribute е невалидно.",not_regex:"The :attribute format is invalid.",numeric:"Полето :attribute трябва да бъде число.",present:"Полето :attribute трябва да съествува.",regex:"Полето :attribute е в невалиден формат.",required:"Полето :attribute е задължително.",required_if:"Полето :attribute се изисква, когато :other е :value.",required_unless:"Полето :attribute се изисква, освен ако :other не е в :values.",required_with:"Полето :attribute се изисква, когато :values има стойност.",required_with_all:"Полето :attribute е задължително, когато :values имат стойност.",required_without:"Полето :attribute се изисква, когато :values няма стойност.",required_without_all:"Полето :attribute се изисква, когато никое от полетата :values няма стойност.",same:"Полетата :attribute и :other трябва да съвпадат.",size:{numeric:"Полето :attribute трябва да бъде :size.",file:"Полето :attribute трябва да бъде :size килобайта.",string:"Полето :attribute трябва да бъде :size знака.",array:"Полето :attribute трябва да има :size елемента."},string:"Полето :attribute трябва да бъде знаков низ.",timezone:"Полето :attribute трябва да съдържа валидна часова зона.",unique:"Полето :attribute вече съществува.",uploaded:"Неуспешно качване на :attribute.",url:"Полето :attribute е в невалиден формат."}},8120:t=>{t.exports={accepted:"Polje :attribute mora biti prihvaćeno.",active_url:"Polje :attribute nije validan URL.",after:"Polje :attribute mora biti datum poslije :date.",after_or_equal:"The :attribute must be a date after or equal to :date.",alpha:"Polje :attribute može sadržati samo slova.",alpha_dash:"Polje :attribute može sadržati samo slova, brojeve i povlake.",alpha_num:"Polje :attribute može sadržati samo slova i brojeve.",attributes:{},array:"Polje :attribute mora biti niz.",before:"Polje :attribute mora biti datum prije :date.",before_or_equal:"The :attribute must be a date before or equal to :date.",between:{numeric:"Polje :attribute mora biti izmedju :min - :max.",file:"Fajl :attribute mora biti izmedju :min - :max kilobajta.",string:"Polje :attribute mora biti izmedju :min - :max karaktera.",array:"Polje :attribute mora biti između :min - :max karaktera."},boolean:"Polje :attribute mora biti tačno ili netačno",confirmed:"Potvrda polja :attribute se ne poklapa.",date:"Polje :attribute nema ispravan datum.",date_format:"Polje :attribute nema odgovarajući format :format.",different:"Polja :attribute i :other moraju biti različita.",digits:"Polje :attribute mora da sadži :digits brojeve.",digits_between:"Polje :attribute mora biti između :min i :max broja.",dimensions:"The :attribute has invalid image dimensions.",distinct:"The :attribute field has a duplicate value.",email:"Format polja :attribute mora biti validan email.",exists:"Odabrano polje :attribute nije validno.",file:"The :attribute must be a file.",filled:"Polje :attribute je obavezno.",gt:{numeric:"The :attribute must be greater than :value.",file:"The :attribute must be greater than :value kilobytes.",string:"The :attribute must be greater than :value characters.",array:"The :attribute must have more than :value items."},gte:{numeric:"The :attribute must be greater than or equal :value.",file:"The :attribute must be greater than or equal :value kilobytes.",string:"The :attribute must be greater than or equal :value characters.",array:"The :attribute must have :value items or more."},hex:"The :attribute field should have hexadecimal format",image:"Polje :attribute mora biti slika.",in:"Odabrano polje :attribute nije validno.",in_array:"The :attribute field does not exist in :other.",integer:"Polje :attribute mora biti broj.",ip:"Polje :attribute mora biti validna IP adresa.",ipv4:"The :attribute must be a valid IPv4 address.",ipv6:"The :attribute must be a valid IPv6 address.",json:"The :attribute must be a valid JSON string.",lt:{numeric:"The :attribute must be less than :value.",file:"The :attribute must be less than :value kilobytes.",string:"The :attribute must be less than :value characters.",array:"The :attribute must have less than :value items."},lte:{numeric:"The :attribute must be less than or equal :value.",file:"The :attribute must be less than or equal :value kilobytes.",string:"The :attribute must be less than or equal :value characters.",array:"The :attribute must not have more than :value items."},max:{numeric:"Polje :attribute mora biti manje od :max.",file:"Polje :attribute mora biti manje od :max kilobajta.",string:"Polje :attribute mora sadržati manje od :max karaktera.",array:"Polje :attribute mora sadržati manje od :max karaktera."},mimes:"Polje :attribute mora biti fajl tipa: :values.",mimetypes:"Polje :attribute mora biti fajl tipa: :values.",min:{numeric:"Polje :attribute mora biti najmanje :min.",file:"Fajl :attribute mora biti najmanje :min kilobajta.",string:"Polje :attribute mora sadržati najmanje :min karaktera.",array:"Polje :attribute mora sadržati najmanje :min karaktera."},not_in:"Odabrani element polja :attribute nije validan.",not_regex:"The :attribute format is invalid.",numeric:"Polje :attribute mora biti broj.",present:"The :attribute field must be present.",regex:"Polje :attribute ima neispravan format.",required:"Polje :attribute je obavezno.",required_if:"Polje :attribute je obavezno kada :other je :value.",required_unless:"The :attribute field is required unless :other is in :values.",required_with:"Polje :attribute je obavezno kada je :values prikazano.",required_with_all:"Polje :attribute je obavezno kada je :values prikazano.",required_without:"Polje :attribute je obavezno kada :values nije prikazano.",required_without_all:"Polje :attribute je obavezno kada nijedno :values nije prikazano.",same:"Polja :attribute i :other se moraju poklapati.",size:{numeric:"Polje :attribute mora biti :size.",file:"Fajl :attribute mora biti :size kilobajta.",string:"Polje :attribute mora biti :size karaktera.",array:"Polje :attribute mora biti :size karaktera."},string:"Polje :attribute mora sadrzavati slova.",timezone:"Polje :attribute mora biti ispravna vremenska zona.",unique:"Polje :attribute već postoji.",uploaded:"The :attribute failed to upload.",url:"Format polja :attribute nije validan."}},83540:t=>{t.exports={accepted:"El camp :attribute pot ser aceptat.",after:"El camp :attribute pot ser una data posterior a :after.",alpha:"El camp :attribute només pot contenir lletras.",alpha_dash:"El camp :attribute només pot contenir lletras, nombres y guions.",alpha_num:"El camp :attribute només pot contenir lletras y nombres.",attributes:{},between:"El camp :attribute té que estar entre :min - :max.",confirmed:"La confirmació de :attribute no coincideix.",different:"El camp :attribute y :other poden ser diferents.",digits:"El camp :attribute pot tindre :digits dígitos.",digits_between:"El camp  :attribute ha de tenir entre :min i :max dígits.",email:"El camp :attribute no es un correu válido.",in:"El camp :attribute es invàlid.",integer:"El camp :attribute pot ser un nombre enter.",hex:"El camp :attribute hauria de tenir format hexadecimal",max:{numeric:"El camp :attribute no pot ser mayor a :max.",string:"El camp :attribute no pot ser mayor que :max caràcters."},min:{numeric:"La mida del camp :attribute pot ser de al menys :min.",string:"El camp :attribute pot contenir al menys :min caràcters."},not_in:"El camp :attribute es invàlid.",numeric:"El camp :attribute pot ser numéric.",present:"El camp de :attribute pot estar present (però pot estar buit).",regex:"El format del camp :attribute es invàlid.",required:"El camp :attribute es obligatori.",required_if:"El camp :attribute es obligatori quan :other es :value.",same:"El camp :attribute y :other poden coincidir.",size:{numeric:"La mida del camp :attribute pot ser :size.",string:"El camp :attribute pot contenir :size caràcters."},url:"El format de :attribute es invàlid."}},99838:t=>{t.exports={accepted:":attribute musí být přijat.",active_url:":attribute není platnou URL adresou.",after:":attribute musí být datum po :date.",after_or_equal:"The :attribute must be a date after or equal to :date.",alpha:":attribute může obsahovat pouze písmena.",alpha_dash:":attribute může obsahovat pouze písmena, číslice, pomlčky a podtržítka. České znaky (á, é, í, ó, ú, ů, ž, š, č, ř, ď, ť, ň) nejsou podporovány.",alpha_num:":attribute může obsahovat pouze písmena a číslice.",attributes:{},array:":attribute musí být pole.",before:":attribute musí být datum před :date.",before_or_equal:"The :attribute must be a date before or equal to :date.",between:{numeric:":attribute musí být hodnota mezi :min a :max.",file:":attribute musí být větší než :min a menší než :max Kilobytů.",string:":attribute musí být delší než :min a kratší než :max znaků.",array:":attribute musí obsahovat nejméně :min a nesmí obsahovat více než :max prvků."},boolean:":attribute musí být true nebo false",confirmed:":attribute nebylo odsouhlaseno.",date:":attribute musí být platné datum.",date_format:":attribute není platný formát data podle :format.",different:":attribute a :other se musí lišit.",digits:":attribute musí být :digits pozic dlouhé.",digits_between:":attribute musí být dlouhé nejméně :min a nejvíce :max pozic.",dimensions:":attribute má neplatné rozměry.",distinct:":attribute má duplicitní hodnotu.",email:":attribute není platný formát.",exists:"Zvolená hodnota pro :attribute není platná.",file:":attribute musí být soubor.",filled:":attribute musí být vyplněno.",gt:{numeric:"The :attribute must be greater than :value.",file:"The :attribute must be greater than :value kilobytes.",string:"The :attribute must be greater than :value characters.",array:"The :attribute must have more than :value items."},gte:{numeric:"The :attribute must be greater than or equal :value.",file:"The :attribute must be greater than or equal :value kilobytes.",string:"The :attribute must be greater than or equal :value characters.",array:"The :attribute must have :value items or more."},hex:"The :attribute field should have hexadecimal format",image:":attribute musí být obrázek.",in:"Zvolená hodnota pro :attribute je neplatná.",in_array:":attribute není obsažen v :other.",integer:":attribute musí být celé číslo.",ip:":attribute musí být platnou IP adresou.",ipv4:"The :attribute must be a valid IPv4 address.",ipv6:"The :attribute must be a valid IPv6 address.",json:":attribute musí být platný JSON řetězec.",lt:{numeric:"The :attribute must be less than :value.",file:"The :attribute must be less than :value kilobytes.",string:"The :attribute must be less than :value characters.",array:"The :attribute must have less than :value items."},lte:{numeric:"The :attribute must be less than or equal :value.",file:"The :attribute must be less than or equal :value kilobytes.",string:"The :attribute must be less than or equal :value characters.",array:"The :attribute must not have more than :value items."},max:{numeric:":attribute musí být nižší než :max.",file:":attribute musí být menší než :max Kilobytů.",string:":attribute musí být kratší než :max znaků.",array:":attribute nesmí obsahovat více než :max prvků."},mimes:":attribute musí být jeden z následujících datových typů :values.",mimetypes:":attribute musí být jeden z následujících datových typů :values.",min:{numeric:":attribute musí být větší než :min.",file:":attribute musí být větší než :min Kilobytů.",string:":attribute musí být delší než :min znaků.",array:":attribute musí obsahovat více než :min prvků."},not_in:"Zvolená hodnota pro :attribute je neplatná.",not_regex:"The :attribute format is invalid.",numeric:":attribute musí být číslo.",present:":attribute musí být vyplněno.",regex:":attribute nemá správný formát.",required:":attribute musí být vyplněno.",required_if:":attribute musí být vyplněno pokud :other je :value.",required_unless:":attribute musí být vyplněno dokud :other je v :value.",required_with:":attribute musí být vyplněno pokud :field je vyplněno.",required_with_all:":attribute musí být vyplněno pokud :fields je zvoleno.",required_without:":attribute musí být vyplněno pokud :field není vyplněno.",required_without_all:":attribute musí být vyplněno pokud není žádné z :fields zvoleno.",same:":attribute a :other se musí shodovat.",size:{numeric:":attribute musí být přesně :size.",file:":attribute musí mít přesně :size Kilobytů.",string:":attribute musí být přesně :size znaků dlouhý.",array:":attribute musí obsahovat právě :size prvků."},string:":attribute musí být řetězec znaků.",timezone:":attribute musí být platná časová zóna.",unique:":attribute musí být unikátní.",uploaded:"Nahrávání :attribute se nezdařilo.",url:"Formát :attribute je neplatný."}},71018:t=>{t.exports={accepted:"Rhaid derbyn :attribute.",active_url:"Nid yw :attribute yn URL dilys.",after:"Rhaid i :attribute fod yn ddyddiad sydd ar ôl :date.",after_or_equal:"The :attribute must be a date after or equal to :date.",alpha:"Dim ond llythrennau'n unig gall :attribute gynnwys.",alpha_dash:"Dim ond llythrennau, rhifau a dash yn unig gall :attribute gynnwys.",alpha_num:"Dim ond llythrennau a rhifau yn unig gall :attribute gynnwys.",attributes:{},array:"Rhaid i :attribute fod yn array.",before:"Rhaid i :attribute fod yn ddyddiad sydd cyn :date.",before_or_equal:"The :attribute must be a date before or equal to :date.",between:{numeric:"Rhaid i :attribute fod rhwng :min a :max.",file:"Rhaid i :attribute fod rhwng :min a :max kilobytes.",string:"Rhaid i :attribute fod rhwng :min a :max nodyn.",array:"Rhaid i :attribute fod rhwng :min a :max eitem."},boolean:"Rhaid i'r maes :attribute fod yn wir neu gau.",confirmed:"Nid yw'r cadarnhad :attribute yn gyfwerth.",date:"Nid yw :attribute yn ddyddiad dilys.",date_format:"Nid yw :attribute yn y fformat :format.",different:"Rhaid i :attribute a :other fod yn wahanol.",digits:"Rhaid i :attribute fod yn :digits digid.",digits_between:"Rhaid i :attribute fod rhwng :min a :max digid.",dimensions:"The :attribute has invalid image dimensions.",distinct:"The :attribute field has a duplicate value.",email:"Rhaid i :attribute fod yn gyfeiriad ebost dilys.",file:"The :attribute must be a file.",filled:"Rhaid cynnwys :attribute.",exists:"Nid yw :attribute yn ddilys.",gt:{numeric:"The :attribute must be greater than :value.",file:"The :attribute must be greater than :value kilobytes.",string:"The :attribute must be greater than :value characters.",array:"The :attribute must have more than :value items."},gte:{numeric:"The :attribute must be greater than or equal :value.",file:"The :attribute must be greater than or equal :value kilobytes.",string:"The :attribute must be greater than or equal :value characters.",array:"The :attribute must have :value items or more."},hex:"The :attribute field should have hexadecimal format",image:"Rhaid i :attribute fod yn lun.",in:"Nid yw :attribute yn ddilys.",in_array:"The :attribute field does not exist in :other.",integer:"Rhaid i :attribute fod yn integer.",ip:"Rhaid i :attribute fod yn gyfeiriad IP dilys.",ipv4:"The :attribute must be a valid IPv4 address.",ipv6:"The :attribute must be a valid IPv6 address.",json:"The :attribute must be a valid JSON string.",lt:{numeric:"The :attribute must be less than :value.",file:"The :attribute must be less than :value kilobytes.",string:"The :attribute must be less than :value characters.",array:"The :attribute must have less than :value items."},lte:{numeric:"The :attribute must be less than or equal :value.",file:"The :attribute must be less than or equal :value kilobytes.",string:"The :attribute must be less than or equal :value characters.",array:"The :attribute must not have more than :value items."},max:{numeric:"Ni chai :attribute fod yn fwy na :max.",file:"Ni chai :attribute fod yn fwy na :max kilobytes.",string:"Ni chai :attribute fod yn fwy na :max nodyn.",array:"Ni chai :attribute fod yn fwy na :max eitem."},mimes:"Rhaid i :attribute fod yn ffeil o'r math: :values.",mimetypes:"Rhaid i :attribute fod yn ffeil o'r math: :values.",min:{numeric:"Rhaid i :attribute fod o leiaf :min.",file:"Rhaid i :attribute fod o leiaf :min kilobytes.",string:"Rhaid i :attribute fod o leiaf :min nodyn.",array:"Rhaid i :attribute fod o leiaf :min eitem."},not_in:"Nid yw :attribute yn ddilys.",not_regex:"The :attribute format is invalid.",numeric:"Rhaid i :attribute fod yn rif.",present:"The :attribute field must be present.",regex:"Nid yw fformat :attribute yn ddilys.",required:"Rhaid cynnwys :attribute.",required_if:"Rhaid cynnwys :attribute pan mae :other yn :value.",required_unless:"The :attribute field is required unless :other is in :values.",required_with:"Rhaid cynnwys :attribute pan mae :values yn bresennol.",required_with_all:"Rhaid cynnwys :attribute pan mae :values yn bresennol.",required_without:"Rhaid cynnwys :attribute pan nad oes :values yn bresennol.",required_without_all:"Rhaid cynnwys :attribute pan nad oes :values yn bresennol.",same:"Rhaid i :attribute a :other fod yn gyfwerth.",size:{numeric:"Rhaid i :attribute fod yn :size.",file:"Rhaid i :attribute fod yn :size kilobytes.",string:"Rhaid i :attribute fod yn :size nodyn.",array:"Rhaid i :attribute fod yn :size eitem."},string:"The :attribute must be a string.",timezone:"Rhaid i :attribute fod yn timezone dilys.",unique:"Mae :attribute eisoes yn bodoli.",uploaded:"The :attribute failed to upload.",url:"Nid yw fformat :attribute yn ddilys."}},89490:t=>{t.exports={accepted:":attribute skal accepteres.",after:":attribute skal være en dato efter :after.",after_or_equal:":attribute skal være en dato efter eller lig med :after_or_equal.",alpha:":attribute må kun bestå af bogstaver.",alpha_dash:":attribute må kun bestå af bogstaver, tal og bindestreger.",alpha_num:":attribute må kun bestå af bogstaver og tal.",before:":attribute skal være en dato før :before.",before_or_equal:":attribute skal være en dato før eller lig med :before_or_equal.",between:":attribute skal være mellem :min og :max.",confirmed:":attribute er ikke det samme som bekræftelsesfeltet.",email:":attribute skal være en gyldig email.",date:":attribute er ikke en gyldig dato.",def:":attribute attributen har fejl.",digits:":attribute skal have :digits cifre.",digits_between:":attribute skal have mellem :min og :max cifre.",different:":attribute og :different skal være forskellige.",in:"Det valgte :attribute er ugyldigt.",integer:":attribute skal være et heltal.",hex:":attribute skal have hexadecimalt format",min:{numeric:":attribute skal være mindst :min.",string:":attribute skal være mindst :min tegn."},max:{numeric:":attribute skal være højest :max.",string:":attribute skal være højest :max tegn."},not_in:"Den valgte :attribute er ugyldig",numeric:":attribute skal være et tal.",present:":attribute skal være tilstede.",required:":attribute skal udfyldes.",required_if:":attribute skal udfyldes når :other er :value.",required_unless:":attribute er påkrævet medmindre :other findes i :values.",required_with:":attribute skal udfyldes når :field er udfyldt.",required_with_all:":attribute skal udfyldes når :fields er udfyldt.",required_without:":attribute skal udfyldes når :field ikke er udfyldt.",required_without_all:":attribute skal udfyldes når ingen af :fields er udfyldt.",same:":attribute og :same skal være ens.",size:{numeric:":attribute skal være :size.",string:":attribute skal være :size tegn lang."},string:":attribute skal være en streng.",url:":attribute formatet er ugyldigt.",regex:":attribute formatet er ugyldigt.",attributes:{}}},40299:t=>{t.exports={accepted:"Das :attribute Feld muss akzeptiert werden.",after:"Das :attribute muss ein Datum nach dem :after sein.",after_or_equal:"Das :attribute Datum muss kleiner oder gleich dem :after_or_equal sein.",alpha:"Das :attribute Feld darf nur aus Buchstaben bestehen.",alpha_dash:"Das :attribute Feld darf nur aus Buchstaben, Zahlen, Binde- und Unterstrichen bestehen.",alpha_num:"Das :attribute Feld darf nur aus Buchstaben und Zahlen bestehen.",before:"Das :attribute muss ein Datum vor dem :before sein.",before_or_equal:"Das :attribute Datum muss größer oder gleich dem :before_or_equal sein.",between:"Das :attribute Feld muss zwischen :min und :max liegen.",confirmed:"Das :attribute Feld stimmt nicht mit der Bestätigung überein.",email:"Das :attribute Format ist ungültig.",date:"Das :attribute Feld muss ein gültiges Datum sein.",def:"Das :attribute Feld hat Fehler.",digits:"Das :attribute Feld muss :digits Stellen haben.",digits_between:"Das :attribute Feld muss zwischen :min und :max Stellen haben.",different:"Die Felder :attribute und :different müssen sich unterscheiden.",in:"Der gewählte Wert für :attribute ist ungültig.",integer:"Das :attribute Feld muss eine ganze Zahl sein.",hex:"Das :attribute Feld sollte hexadezimal sein",min:{numeric:"Das :attribute Feld muss mindestens :min sein.",string:"Das :attribute Feld muss mindestens :min Zeichen lang sein."},max:{numeric:"Das :attribute Feld darf maximal :max sein.",string:"Das :attribute Feld darf maximal :max Zeichen haben."},not_in:"Der gewählte Wert für :attribute ist ungültig.",numeric:"Das :attribute Feld muss eine Zahl sein.",present:"Das Feld :attribute muss vorhanden sein (kann aber leer sein).",required:"Das :attribute Feld muss ausgefüllt sein.",required_if:"Das :attribute Feld muss ausgefüllt sein, wenn :other :value ist.",same:"Die Felder :attribute und :same müssen übereinstimmen.",size:{numeric:"Das :attribute Feld muss gleich :size sein.",string:"Das :attribute Feld muss :size Zeichen lang sein."},string:"Das :attribute Feld muss ein Satz sein.",url:"Das Format von :attribute ist ungültig.",regex:"Das :attribute Format ist ungültig.",attributes:{}}},34325:t=>{t.exports={accepted:"Το πεδίο :attribute πρέπει να γίνει αποδεκτό.",after:"Το πεδίο :attribute πρέπει να είναι μία ημερομηνία μετά από :after.",alpha:"Το πεδίο :attribute μπορεί να περιέχει μόνο γράμματα.",alpha_dash:"Το πεδίο :attribute μπορεί να περιέχει μόνο γράμματα, αριθμούς, και παύλες.",alpha_num:"Το πεδίο :attribute μπορεί να περιέχει μόνο γράμματα και αριθμούς.",between:"Το πεδίο :attribute πρέπει να είναι μεταξύ :min και :max.",confirmed:"Η επιβεβαίωση του :attribute δεν ταιριάζει.",email:"Το πεδίο :attribute πρέπει να είναι μία έγκυρη διεύθυνση email.",date:"Το πεδίο :attribute δεν είναι έγκυρη ημερομηνία.",def:"Το πεδίο :attribute περιέχει σφάλματα.",digits:"Το πεδίο :attribute πρέπει να είναι :digits ψηφία.",digits_between:"Το πεδίο :attribute πρέπει να είναι μεταξύ :min και :max ψηφία.",different:"Το πεδίο :attribute  και :different πρέπει να είναι διαφορετικά.",in:"Το επιλεγμένο :attribute δεν είναι έγκυρο.",integer:"Το πεδίο :attribute πρέπει να είναι ακέραιος.",hex:"Το πεδίο :attribute πρέπει να είναι σε δεκαεξαδική μορφή.",min:{numeric:"Το πεδίο :attribute πρέπει να είναι τουλάχιστον :min.",string:"Το πεδίο :attribute πρέπει να έχει τουλάχιστον :min χαρακτήρες."},max:{numeric:"Το πεδίο :attribute δεν μπορεί να είναι μεγαλύτερο από :max.",string:"Το πεδίο :attribute δεν μπορεί να έχει περισσότερους από :max χαρακτήρες."},not_in:"Το επιλεγμένο :attribute δεν είναι αποδεκτό.",numeric:"Το πεδίο :attribute πρέπει να είναι αριθμός.",present:"The :attribute field must be present (but can be empty).",required:"Το πεδίο :attribute είναι απαραίτητο.",required_if:"Το πεδίο :attribute είναι απαραίτητο όταν το πεδίο :other είναι :value.",same:"Τα πεδία :attribute και :same πρέπει να είναι ίδια.",size:{numeric:"Το πεδίο :attribute πρέπει να είναι :size.",string:"Το πεδίο :attribute πρέπει να είναι :size χαρακτήρες."},string:"Το πεδίο :attribute πρέπει να είναι αλφαριθμητικό.",url:"Το πεδίο :attribute δεν είναι έγκυρη διεύθυνση URL.",regex:"Η μορφή του :attribute δεν είναι αποδεκτή.",attributes:{}}},2363:t=>{t.exports={accepted:"The :attribute must be accepted.",after:"The :attribute must be after :after.",after_or_equal:"The :attribute must be equal or after :after_or_equal.",alpha:"The :attribute field must contain only alphabetic characters.",alpha_dash:"The :attribute field may only contain alpha-numeric characters, as well as dashes and underscores.",alpha_num:"The :attribute field must be alphanumeric.",before:"The :attribute must be before :before.",before_or_equal:"The :attribute must be equal or before :before_or_equal.",between:{numeric:"The :attribute field must be between :min and :max.",string:"The :attribute field must be between :min and :max characters."},confirmed:"The :attribute confirmation does not match.",email:"The :attribute format is invalid.",date:"The :attribute is not a valid date format.",def:"The :attribute attribute has errors.",digits:"The :attribute must be :digits digits.",digits_between:"The :attribute field must be between :min and :max digits.",different:"The :attribute and :different must be different.",in:"The selected :attribute is invalid.",integer:"The :attribute must be an integer.",hex:"The :attribute field should have hexadecimal format",min:{numeric:"The :attribute must be at least :min.",string:"The :attribute must be at least :min characters."},max:{numeric:"The :attribute may not be greater than :max.",string:"The :attribute may not be greater than :max characters."},not_in:"The selected :attribute is invalid.",numeric:"The :attribute must be a number.",present:"The :attribute field must be present (but can be empty).",required:"The :attribute field is required.",required_if:"The :attribute field is required when :other is :value.",required_unless:"The :attribute field is required when :other is not :value.",required_with:"The :attribute field is required when :field is not empty.",required_with_all:"The :attribute field is required when :fields are not empty.",required_without:"The :attribute field is required when :field is empty.",required_without_all:"The :attribute field is required when :fields are empty.",same:"The :attribute and :same fields must match.",size:{numeric:"The :attribute must be :size.",string:"The :attribute must be :size characters."},string:"The :attribute must be a string.",url:"The :attribute format is invalid.",regex:"The :attribute format is invalid.",attributes:{}}},95789:t=>{t.exports={accepted:"El campo :attribute debe ser aceptado.",after:"El campo :attribute debe ser una fecha posterior a :after.",alpha:"El campo :attribute solo debe contener letras.",alpha_dash:"El campo :attribute solo debe contener letras, números y guiones.",alpha_num:"El campo :attribute solo debe contener letras y números.",attributes:{},between:"El campo :attribute tiene que estar entre :min - :max.",confirmed:"La confirmación de :attribute no coincide.",different:"El campo :attribute y :other deben ser diferentes.",digits:"El campo :attribute debe tener :digits dígitos.",digits_between:"El campo :attribute debe tener entre :min y :max dígitos.",email:"El campo :attribute no es un correo válido.",in:"El campo :attribute es inválido.",integer:"El campo :attribute debe ser un número entero.",hex:"El campo :attribute debe tener formato hexadecimal.",max:{numeric:"El campo :attribute no debe ser mayor a :max.",string:"El campo :attribute no debe ser mayor que :max caracteres."},min:{numeric:"El tamaño del campo :attribute debe ser de al menos :min.",string:"El campo :attribute debe contener al menos :min caracteres."},not_in:"El campo :attribute es inválido.",numeric:"El campo :attribute debe ser numérico.",present:"El campo de :attribute debe estar presente (pero puede estar vacío).",regex:"El formato del campo :attribute es inválido.",required:"El campo :attribute es obligatorio.",required_if:"El campo :attribute es obligatorio cuando :other es :value.",same:"El campo :attribute y :other deben coincidir.",size:{numeric:"El tamaño del campo :attribute debe ser :size.",string:"El campo :attribute debe contener :size caracteres."},url:"El formato de :attribute es inválido."}},24463:t=>{t.exports={accepted:":attribute tuleb aktsepteerida.",active_url:":attribute ei ole kehtiv URL.",after:":attribute peab olema kuupäev pärast :date.",after_or_equal:":attribute peab olema kuupäev pärast või samastuma :date.",alpha:":attribute võib sisaldada vaid tähemärke.",alpha_dash:":attribute võib sisaldada vaid tähti, numbreid ja kriipse.",alpha_num:":attribute võib sisaldada vaid tähti ja numbreid.",attributes:{},array:":attribute peab olema massiiv.",before:":attribute peab olema kuupäev enne :date.",before_or_equal:":attribute peab olema kuupäev enne või samastuma :date.",between:{numeric:":attribute peab olema :min ja :max vahel.",file:":attribute peab olema :min ja :max kilobaidi vahel.",string:":attribute peab olema :min ja :max tähemärgi vahel.",array:":attribute peab olema :min ja :max kirje vahel."},boolean:":attribute väli peab olema tõene või väär.",confirmed:":attribute kinnitus ei vasta.",date:":attribute pole kehtiv kuupäev.",date_format:":attribute ei vasta formaadile :format.",different:":attribute ja :other peavad olema erinevad.",digits:":attribute peab olema :digits numbrit.",digits_between:":attribute peab olema :min ja :max numbri vahel.",dimensions:":attribute on valed pildi suurused.",distinct:":attribute väljal on topeltväärtus.",email:":attribute peab olema kehtiv e-posti aadress.",exists:"Valitud :attribute on vigane.",file:":attribute peab olema fail.",filled:":attribute väli on nõutav.",gt:{numeric:"The :attribute must be greater than :value.",file:"The :attribute must be greater than :value kilobytes.",string:"The :attribute must be greater than :value characters.",array:"The :attribute must have more than :value items."},gte:{numeric:"The :attribute must be greater than or equal :value.",file:"The :attribute must be greater than or equal :value kilobytes.",string:"The :attribute must be greater than or equal :value characters.",array:"The :attribute must have :value items or more."},hex:"The :attribute field should have hexadecimal format",image:":attribute peab olema pilt.",in:"Valitud :attribute on vigane.",in_array:":attribute väli ei eksisteeri :other sees.",integer:":attribute peab olema täisarv.",ip:":attribute peab olema kehtiv IP aadress.",ipv4:":attribute peab olema kehtiv IPv4 aadress.",ipv6:":attribute peab olema kehtiv IPv6 aadress.",json:":attribute peab olema kehtiv JSON string.",lt:{numeric:"The :attribute must be less than :value.",file:"The :attribute must be less than :value kilobytes.",string:"The :attribute must be less than :value characters.",array:"The :attribute must have less than :value items."},lte:{numeric:"The :attribute must be less than or equal :value.",file:"The :attribute must be less than or equal :value kilobytes.",string:"The :attribute must be less than or equal :value characters.",array:"The :attribute must not have more than :value items."},max:{numeric:":attribute ei tohi olla suurem kui :max.",file:":attribute ei tohi olla suurem kui :max kilobaiti.",string:":attribute ei tohi olla suurem kui :max tähemärki.",array:":attribute ei tohi sisaldada rohkem kui :max kirjet."},mimes:":attribute peab olema :values tüüpi.",mimetypes:":attribute peab olema :values tüüpi.",min:{numeric:":attribute peab olema vähemalt :min.",file:":attribute peab olema vähemalt :min kilobaiti.",string:":attribute peab olema vähemalt :min tähemärki.",array:":attribute peab olema vähemalt :min kirjet."},not_in:"Valitud :attribute on vigane.",not_regex:"The :attribute format is invalid.",numeric:":attribute peab olema number.",present:":attribute väli peab olema esindatud.",regex:":attribute vorming on vigane.",required:":attribute väli on nõutud.",required_if:":attribute väli on nõutud, kui :other on :value.",required_unless:":attribute väli on nõutud, välja arvatud, kui :other on :values.",required_with:":attribute väli on nõutud, kui :values on esindatud.",required_with_all:":attribute väli on nõutud, kui :values on esindatud.",required_without:":attribute väli on nõutud, kui :values ei ole esindatud.",required_without_all:":attribute väli on nõutud, kui ükski :values pole esindatud.",same:":attribute ja :other peavad sobima.",size:{numeric:":attribute peab olema :size.",file:":attribute peab olema :size kilobaiti.",string:":attribute peab olema :size tähemärki.",array:":attribute peab sisaldama :size kirjet."},string:":attribute peab olema string.",timezone:":attribute peab olema kehtiv tsoon.",unique:":attribute on juba hõivatud.",uploaded:":attribute ei õnnestunud laadida.",url:":attribute vorming on vigane."}},12518:t=>{t.exports={accepted:":attribute onartua izan behar da.",active_url:":attribute ez da baliozko URL bat.",after:":attribute :date osteko data izan behar da.",after_or_equal:":attribute :date osteko data edo data berdina izan behar da.",alpha:":attribute hizkiak besterik ezin ditu izan.",alpha_dash:":attribute hizkiak, zenbakiak eta marrak besterik ezin ditu izan.",alpha_num:":attribute hizkiak eta zenbakiak besterik ezin ditu izan.",attributes:{},array:":attribute bilduma izan behar da.",before:":attribute :date aurreko data izan behar da.",before_or_equal:":attribute :date aurreko data edo data berdina izan behar da.",between:{numeric:":attribute :min eta :max artean egon behar da.",file:":attribute-k :min eta :max kilobyte arteko pisua izan behar du.",string:":attribute :min eta :max karaktere artean egon behar da.",array:":attribute-k :min eta :max arteko ale kantitatea euki behar du."},boolean:":attribute-ren balioa egia edo gezurra izan behar da.",confirmed:":attribute-ren konfirmazioa ez dator bat.",date:":attribute ez da baliozko data.",date_format:":attribute datak ez du :format formatua.",different:":attribute eta :other ezberdinak izan behar dira.",digits:":attribute-k :digits digitu euki behar ditu.",digits_between:":attribute-k :min eta :max arteko digitu kantitatea euki behar du.",dimensions:":attribute-k ez ditu irudi neurri aproposak.",distinct:":attribute-k balio bikoiztua dauka.",email:":attribute-k baliozko posta helbidea euki behar du.",exists:"Hautatutako :attribute baliogabea da.",file:":attribute fitxategi bat izan behar da.",filled:":attribute-k balioren bat euki behar du.",gt:{numeric:"The :attribute must be greater than :value.",file:"The :attribute must be greater than :value kilobytes.",string:"The :attribute must be greater than :value characters.",array:"The :attribute must have more than :value items."},gte:{numeric:"The :attribute must be greater than or equal :value.",file:"The :attribute must be greater than or equal :value kilobytes.",string:"The :attribute must be greater than or equal :value characters.",array:"The :attribute must have :value items or more."},hex:"The :attribute field should have hexadecimal format",image:":attribute irudi bat izan behar da.",in:"Hautatutako :attribute baliogabea da.",in_array:":attribute ez da :other-en existizen.",integer:":attribute zenbaki osoa izan behar da.",ip:":attribute baliozko IP helbidea izan behar da.",ipv4:":attribute baliozko IPv4 helbidea izan behar da.",ipv6:":attribute baliozko IPv6 helbidea izan behar da.",json:":attribute-k baliozko JSON karaktere-katea euki behar du.",lt:{numeric:"The :attribute must be less than :value.",file:"The :attribute must be less than :value kilobytes.",string:"The :attribute must be less than :value characters.",array:"The :attribute must have less than :value items."},lte:{numeric:"The :attribute must be less than or equal :value.",file:"The :attribute must be less than or equal :value kilobytes.",string:"The :attribute must be less than or equal :value characters.",array:"The :attribute must not have more than :value items."},max:{numeric:":attribute ezin da :max baino handiagoa izan.",file:":attribute-k ezin du :max kilobyte baino gehiagoko pisua euki.",string:":attribute-k ezin du :max karaktere baino gehiago euki.",array:":attribute-k ezin du :max ale baino gehiago euki."},mimes:":attribute :values motatako fitxategia izan behar da.",mimetypes:":attribute :values motatako fitxategia izan behar da.",min:{numeric:":attribute-k gutxienez :min-eko tamaina izan behar du.",file:":attribute-k gutxienez :min kilobyteko pisua euki behar du.",string:":attribute-k gutxienez :min karaktere euki behar ditu.",array:":attribute-k gutxienez :min ale euki behar ditu."},not_in:"Hautatutako :attribute baliogabea da.",not_regex:"The :attribute format is invalid.",numeric:":attribute zenbaki bat izan behar da.",present:":attribute bertan egon behar da.",regex:":attribute-k ez dauka formatu egokirik.",required:":attribute derrigorrezkoa da.",required_if:":attribute derrigorrezkoa da :other :value denean.",required_unless:":attribute derrigorrezkoa da :other :values-en egon ezean.",required_with:":attribute derrigorrezkoa da :values bertan dagoenean.",required_with_all:":attribute derrigorrezkoa da :values bertan dagoenean.",required_without:":attribute derrigorrezkoa da :values bertan ez dagoenean.",required_without_all:":attribute derrigorrezkoa da :values bertan ez dagoenean.",same:":attribute eta :other bat etorri behar dira.",size:{numeric:":attribute-k :size-eko tamaina izan behar du.",file:":attribute-k :size kilobyteko pisua euki behar du.",string:":attribute-k :size karaktere euki beha ditu.",array:":attribute-k :size ale euki behar ditu."},string:":attribute karaktere-katea izan behar da.",timezone:":attribute baliozko gunea izan behar da.",unique:":attribute jadanik erregistratua izan da.",uploaded:":attribute igotzerakoan huts egin du.",url:":attribute-k ez dauka formatu egokirik."}},32613:t=>{t.exports={accepted:"فیلد :attribute می بایست تایید شود",alpha:"فیلد :attribute می بایست فقط شامل حروف انگلیسی باشد",alpha_dash:"فیلد :attribute می بایست فقط شامل حروف انگلیسی و خط تیره و زیرخط باشد",alpha_num:"فیلد :attribute می بایست فقط شامل حروف و اعداد باشد",between:"فیلد :attribute می بایست بزرگتر از :min و کوچکتر از :max باشد",confirmed:"تطبیق فیلد :attribute صحیح نمی باشد",email:"فرمت ایمیل وارد شده در :attribute صحیح نمی‌باشد",date:"تاریخ درج شده در فیلد :attribute صحیح نیست",def:"فیلد :attribute اشکال دارد",digits:"فیلد :attribute می بایست شامل :digits رقم باشد",digits_between:":attribute باید بین :min و :max رقم باشد.",different:"فیلد :attribute می بایست مقداری غیر از :different داشته باشد",in:"فیلد :attribute انتخاب شده صحیح نمی باشد",integer:"فیلد :attribute می بایست عددی باشد",hex:"فیلد :attribute باید در فرمت مبنای ۱۶ باشد",min:{numeric:"فیلد :attribute می بایست از :min بزرگتر باشد",string:"فیلد :attribute بایستی حداقل :min کاراکتر طول داشته باشد"},max:{numeric:"فیلد :attribute می بایست از :max کوچکتر باشد",string:"فیلد :attribute نباید بیشتر از :max کاراکتر طول داشته باشد"},not_in:"فیلد :attribute انتخاب شده صحیح نمی باشد",numeric:"فیلد :attribute می بایست عددی باشد",present:"The :attribute field must be present (but can be empty).",required:"فیلد :attribute الزامی است",required_if:"در صورت دادن :value به :other تکمیل فیلد :attribute الزامی است",same:"فیلد :attribute می بایست با فیلد :same یکی باشد",size:{numeric:"فیلد :attribute می بایست :size باشد",string:"فیلد :attribute می بایست :size کاراکتر طول داشته باشد"},string:"فیلد :attribute می بایست متنی باشد",url:"آدرس فیلد :attribute صحیح نمی باشد",regex:"فرمت آدرس :attribute صحیح نمی باشد",attributes:{}}},37990:t=>{t.exports={accepted:":attribute on oltava hyväksytty.",after:":attribute on oltava :after jälkeen.",after_or_equal:":attribute täytyy olla sama kuin :after_or_equal tai sen jälkeen.",alpha:":attribute kenttä saa sisältää ainoastaan kirjaimia.",alpha_dash:":attribute kenttä saa sisältää ainoastaan kirjaimia tai numeroita, sekä pisteitä ja alaviivoja.",alpha_num:":attribute kenttä saa sisältää ainoastaan kirjaimia tai numeroita.",before:":attribute on oltava ennen kuin :before.",before_or_equal:":attribute on oltava sama tai ennen kuin :before_or_equal.",between:":attribute on oltava :min ja :max väliltä.",confirmed:":attribute vahvistus ei täsmää.",email:":attribute on väärässä muodossa.",date:":attribute ei ole päivämäärä.",def:":attribute sisältää virheitä.",digits:":attribute on oltava :digits numeroa pitkä.",digits_between:"Kentän :attribute arvon tulee olla :min - :max numeroa.",different:":attribute ei saa olla yhtä kuin :different.",in:"Valittu :attribute ei kelpaa.",integer:":attribute ei ole numero.",hex:":attribute on oltava heksadesimaali.",min:{numeric:":attribute on oltava vähintään :min.",string:":attribute on oltava vähintään :min merkkiä pitkä."},max:{numeric:":attribute on oltava enintään :max.",string:":attribute on oltava enintään :max merkkiä pitkä."},not_in:"Valittu :attribute ei kelpaa.",numeric:":attribute on oltava numero.",present:":attribute kenttä on oltava (mutta saa olla tyhjä).",required:":attribute kenttä on pakollinen.",required_if:":attribute kenttä on pakollinen, jos kenttä :other on :value.",required_unless:":attribute kenttä on pakollinen, jos kenttä :other ei ole :value.",required_with:":attribute kenttä on pakollinen, jos kenttä :field ei ole tyhjä.",required_with_all:":attribute kenttä on pakollinen, jos kentät :fields eivät ole tyhjiä.",required_without:":attribute kenttä on pakollinen, jos kenttä :field on tyhjä.",required_without_all:":attribute kenttä on pakollinen, jos kentät :fields ovat tyhjiä.",same:":attribute ja :same on oltava samat.",size:{numeric:":attribute on oltava :size.",string:":attribute on oltava :size merkkiä pitkä."},string:":attribute on oltava merkkijono.",url:":attribute on väärässä muodossa.",regex:":attribute on väärässä muodossa.",attributes:{}}},94339:t=>{t.exports={accepted:"Le champ :attribute doit être accepté.",alpha:"Le champ :attribute ne peut contenir que des caractères alphabétiques.",alpha_dash:"Le champ :attribute ne peut contenir que des caractères alphanumériques, des tirets et des underscores.",alpha_num:"Le champ :attribute ne peut contenir que des caractères alphanumériques.",between:"La longueur du champ :attribute doit être comprise entre :min and :max.",confirmed:"Le champ :attribute n'est pas confirmé.",email:"Le champ :attribute contient un format invalide.",def:"Le champ :attribute contient un attribut erroné.",digits:"Le champ :attribute doit être composé de :digits chiffres.",digits_between:"Le champ :attribute doit contenir entre :min et :max chiffres.",different:"Les champs :attribute et :different doivent être différents.",in:"Le champ :attribute est invalide.",integer:"Le champ :attribute doit être un entier.",hex:"Le champ :attribute doit être au format hexadécimal.",min:{numeric:"Le champ :attribute doit être supérieur à :min.",string:"Le champ :attribute doit contenir plus de :min caractères."},max:{numeric:"Le champ :attribute doit être inférieur à :max.",string:"Le champ :attribute doit contenir moins de :max caractères."},not_in:"Le champ :attribute est invalide.",numeric:"Le champ :attribute doit être un chiffre.",present:"Le champ :attribute doit être présent (mais peut être vide).",required:"Le champ :attribute est requis.",required_if:"Le champ :attribute est requis quand :other est :value.",same:"Les champs :attribute et :same doivent correspondre.",size:{numeric:"Le champ :attribute doit être égal à :size.",string:"Le champ :attribute doit contenir :size caractères."},url:"Le format du champ :attribute est invalide.",regex:"Le format du champ :attribute est invalide.",attributes:{}}},51502:t=>{t.exports={accepted:"Polje :attribute mora biti prihvaćeno.",active_url:"Polje :attribute nije ispravan URL.",after:"Polje :attribute mora biti datum nakon :date.",after_or_equal:"Polje :attribute mora biti datum veći ili jednak :date.",alpha:"Polje :attribute smije sadržavati samo slova.",alpha_dash:"Polje :attribute smije sadržavati samo slova, brojeve i crtice.",alpha_num:"Polje :attribute smije sadržavati samo slova i brojeve.",attributes:{},array:"Polje :attribute mora biti niz.",before:"Polje :attribute mora biti datum prije :date.",before_or_equal:"Polje :attribute mora biti datum manji ili jednak :date.",between:{numeric:"Polje :attribute mora biti između :min - :max.",file:"Polje :attribute mora biti između :min - :max kilobajta.",string:"Polje :attribute mora biti između :min - :max znakova.",array:"Polje :attribute mora imati između :min - :max stavki."},boolean:"Polje :attribute mora biti false ili true.",confirmed:"Potvrda polja :attribute se ne podudara.",date:"Polje :attribute nije ispravan datum.",date_format:"Polje :attribute ne podudara s formatom :format.",different:"Polja :attribute i :other moraju biti različita.",digits:"Polje :attribute mora sadržavati :digits znamenki.",digits_between:"Polje :attribute mora imati između :min i :max znamenki.",dimensions:"Polje :attribute ima neispravne dimenzije slike.",distinct:"Polje :attribute ima dupliciranu vrijednost.",email:"Polje :attribute mora biti ispravna e-mail adresa.",exists:"Odabrano polje :attribute nije ispravno.",file:"Polje :attribute mora biti datoteka.",filled:"Polje :attribute je obavezno.",gt:{numeric:"Polje :attribute mora biti veće od :value.",file:"Polje :attribute mora biti veće od :value kilobajta.",string:"Polje :attribute mora biti veće od :value karaktera.",array:"Polje :attribute mora biti veće od :value stavki."},gte:{numeric:"Polje :attribute mora biti veće ili jednako :value.",file:"Polje :attribute mora biti veće ili jednako :value kilobajta.",string:"Polje :attribute mora biti veće ili jednako :value znakova.",array:"Polje :attribute mora imati :value stavki ili više."},hex:"The :attribute field should have hexadecimal format",image:"Polje :attribute mora biti slika.",in:"Odabrano polje :attribute nije ispravno.",in_array:"Polje :attribute ne postoji u :other.",integer:"Polje :attribute mora biti broj.",ip:"Polje :attribute mora biti ispravna IP adresa.",ipv4:"Polje :attribute mora biti ispravna IPv4 adresa.",ipv6:"Polje :attribute mora biti ispravna IPv6 adresa.",json:"Polje :attribute mora biti ispravan JSON string.",lt:{numeric:"Polje :attribute mora biti manje od :value.",file:"Polje :attribute mora biti manje od :value kilobajta.",string:"Polje :attribute mora biti manje od :value znakova.",array:"Polje :attribute mora biti manje od :value stavki."},lte:{numeric:"Polje :attribute mora biti manje ili jednako :value.",file:"Polje :attribute mora biti manje ili jednako :value kilobajta.",string:"Polje :attribute mora biti manje ili jednako :value znakova.",array:"Polje :attribute ne smije imati više od :value stavki."},max:{numeric:"Polje :attribute mora biti manje od :max.",file:"Polje :attribute mora biti manje od :max kilobajta.",string:"Polje :attribute mora sadržavati manje od :max znakova.",array:"Polje :attribute ne smije imati više od :max stavki."},mimes:"Polje :attribute mora biti datoteka tipa: :values.",mimetypes:"Polje :attribute mora biti datoteka tipa: :values.",min:{numeric:"Polje :attribute mora biti najmanje :min.",file:"Polje :attribute mora biti najmanje :min kilobajta.",string:"Polje :attribute mora sadržavati najmanje :min znakova.",array:"Polje :attribute mora sadržavati najmanje :min stavki."},not_in:"Odabrano polje :attribute nije ispravno.",not_regex:"Format polja :attribute je neispravan.",numeric:"Polje :attribute mora biti broj.",present:"Polje :attribute mora biti prisutno.",regex:"Polje :attribute se ne podudara s formatom.",required:"Polje :attribute je obavezno.",required_if:"Polje :attribute je obavezno kada polje :other sadrži :value.",required_unless:"Polje :attribute je obavezno osim :other je u :values.",required_with:"Polje :attribute je obavezno kada postoji polje :values.",required_with_all:"Polje :attribute je obavezno kada postje polja :values.",required_without:"Polje :attribute je obavezno kada ne postoji polje :values.",required_without_all:"Polje :attribute je obavezno kada nijedno od polja :values ne postoji.",same:"Polja :attribute i :other se moraju podudarati.",size:{numeric:"Polje :attribute mora biti :size.",file:"Polje :attribute mora biti :size kilobajta.",string:"Polje :attribute mora biti :size znakova.",array:"Polje :attribute mora sadržavati :size stavki."},string:"Polje :attribute mora biti string.",timezone:"Polje :attribute mora biti ispravna vremenska zona.",unique:"Polje :attribute već postoji.",uploaded:"Polje :attribute nije uspešno učitano.",url:"Polje :attribute nije ispravnog formata."}},13254:t=>{t.exports={accepted:"A(z) :attribute el kell legyen fogadva!",active_url:"A(z) :attribute nem érvényes url!",after:"A(z) :attribute :date utáni dátum kell, hogy legyen!",after_or_equal:"A(z) :attribute nem lehet korábbi dátum, mint :date!",alpha:"A(z) :attribute kizárólag betűket tartalmazhat!",alpha_dash:"A(z) :attribute kizárólag betűket, számokat és kötőjeleket tartalmazhat!",alpha_num:"A(z) :attribute kizárólag betűket és számokat tartalmazhat!",attributes:{},array:"A(z) :attribute egy tömb kell, hogy legyen!",before:"A(z) :attribute :date előtti dátum kell, hogy legyen!",before_or_equal:"A(z) :attribute nem lehet későbbi dátum, mint :date!",between:{numeric:"A(z) :attribute :min és :max közötti szám kell, hogy legyen!",file:"A(z) :attribute mérete :min és :max kilobájt között kell, hogy legyen!",string:"A(z) :attribute hossza :min és :max karakter között kell, hogy legyen!",array:"A(z) :attribute :min - :max közötti elemet kell, hogy tartalmazzon!"},boolean:"A(z) :attribute mező csak true vagy false értéket kaphat!",confirmed:"A(z) :attribute nem egyezik a megerősítéssel.",date:"A(z) :attribute nem érvényes dátum.",date_format:"A(z) :attribute nem egyezik az alábbi dátum formátummal :format!",different:"A(z) :attribute és :other értékei különbözőek kell, hogy legyenek!",digits:"A(z) :attribute :digits számjegyű kell, hogy legyen!",digits_between:"A(z) :attribute értéke :min és :max közötti számjegy lehet!",dimensions:"A(z) :attribute felbontása nem megfelelő.",distinct:"A(z) :attribute értékének egyedinek kell lennie!",email:"A(z) :attribute nem érvényes email formátum.",exists:"A(z) :attribute már létezik.",file:"A(z) :attribute fájl kell, hogy legyen!",filled:"A(z) :attribute megadása kötelező!",gt:{numeric:"A(z) :attribute nagyobb kell, hogy legyen, mint :value!",file:"A(z) :attribute mérete nagyobb kell, hogy legyen, mint :value kilobájt.",string:"A(z) :attribute hosszabb kell, hogy legyen, mint :value karakter.",array:"A(z) :attribute több, mint :value elemet kell, hogy tartalmazzon."},gte:{numeric:"A(z) :attribute nagyobb vagy egyenlő kell, hogy legyen, mint :value!",file:"A(z) :attribute mérete nem lehet kevesebb, mint :value kilobájt.",string:"A(z) :attribute hossza nem lehet kevesebb, mint :value karakter.",array:"A(z) :attribute legalább :value elemet kell, hogy tartalmazzon."},hex:"The :attribute field should have hexadecimal format",image:"A(z) :attribute képfájl kell, hogy legyen!",in:"A kiválasztott :attribute érvénytelen.",in_array:"A(z) :attribute értéke nem található a(z) :other értékek között.",integer:"A(z) :attribute értéke szám kell, hogy legyen!",ip:"A(z) :attribute érvényes IP cím kell, hogy legyen!",ipv4:"A(z) :attribute érvényes IPv4 cím kell, hogy legyen!",ipv6:"A(z) :attribute érvényes IPv6 cím kell, hogy legyen!",json:"A(z) :attribute érvényes JSON szöveg kell, hogy legyen!",lt:{numeric:"A(z) :attribute kisebb kell, hogy legyen, mint :value!",file:"A(z) :attribute mérete kisebb kell, hogy legyen, mint :value kilobájt.",string:"A(z) :attribute rövidebb kell, hogy legyen, mint :value karakter.",array:"A(z) :attribute kevesebb, mint :value elemet kell, hogy tartalmazzon."},lte:{numeric:"A(z) :attribute kisebb vagy egyenlő kell, hogy legyen, mint :value!",file:"A(z) :attribute mérete nem lehet több, mint :value kilobájt.",string:"A(z) :attribute hossza nem lehet több, mint :value karakter.",array:"A(z) :attribute legfeljebb :value elemet kell, hogy tartalmazzon."},max:{numeric:"A(z) :attribute értéke nem lehet nagyobb, mint :max!",file:"A(z) :attribute mérete nem lehet több, mint :max kilobájt.",string:"A(z) :attribute hossza nem lehet több, mint :max karakter.",array:"A(z) :attribute legfeljebb :max elemet kell, hogy tartalmazzon."},mimes:"A(z) :attribute kizárólag az alábbi fájlformátumok egyike lehet: :values.",mimetypes:"A(z) :attribute kizárólag az alábbi fájlformátumok egyike lehet: :values.",min:{numeric:"A(z) :attribute értéke nem lehet kisebb, mint :min!",file:"A(z) :attribute mérete nem lehet kevesebb, mint :min kilobájt.",string:"A(z) :attribute hossza nem lehet kevesebb, mint :min karakter.",array:"A(z) :attribute legalább :min elemet kell, hogy tartalmazzon."},not_in:"A(z) :attribute értéke érvénytelen.",not_regex:"A(z) :attribute formátuma érvénytelen.",numeric:"A(z) :attribute szám kell, hogy legyen!",present:"A(z) :attribute mező nem található!",regex:"A(z) :attribute formátuma érvénytelen.",required:"A(z) :attribute megadása kötelező!",required_if:"A(z) :attribute megadása kötelező, ha a(z) :other értéke :value!",required_unless:"A(z) :attribute megadása kötelező, ha a(z) :other értéke nem :values!",required_with:"A(z) :attribute megadása kötelező, ha a(z) :values érték létezik.",required_with_all:"A(z) :attribute megadása kötelező, ha a(z) :values értékek léteznek.",required_without:"A(z) :attribute megadása kötelező, ha a(z) :values érték nem létezik.",required_without_all:"A(z) :attribute megadása kötelező, ha egyik :values érték sem létezik.",same:"A(z) :attribute és :other mezőknek egyezniük kell!",size:{numeric:"A(z) :attribute értéke :size kell, hogy legyen!",file:"A(z) :attribute mérete :size kilobájt kell, hogy legyen!",string:"A(z) :attribute hossza :size karakter kell, hogy legyen!",array:"A(z) :attribute :size elemet kell tartalmazzon!"},string:"A(z) :attribute szöveg kell, hogy legyen.",timezone:"A(z) :attribute nem létező időzona.",unique:"A(z) :attribute már foglalt.",uploaded:"A(z) :attribute feltöltése sikertelen.",url:"A(z) :attribute érvénytelen link."}},30576:t=>{t.exports={accepted:":attribute harus disetujui.",after:":attribute harus setelah :after.",after_or_equal:":attribute harus sama dengan atau setelah :after_or_equal.",alpha:":attribute hanya boleh berisi huruf.",alpha_dash:":attribute hanya boleh berisi huruf, - atau _.",alpha_num:":attribute hanya boleh berisi huruf dan angka.",before:":attribute harus sebelum :before.",before_or_equal:":attribute harus sama dengan atau sebelum :before_or_equal.",between:":attribute harus berisi antara :min dan :max.",confirmed:":attribute konfirmasi tidak sama.",email:":attribute harus berupa email.",date:":attribute format tanggal tidak benar.",def:":attribute attribute has errors.",digits:":attribute harus :digits digit.",digits_between:"Isian :attribute harus antara angka :min dan :max.",different:":attribute dan :different harus berbeda.",in:":attribute tidak benar.",integer:":attribute harus berupa angka.",hex:":attribute harus berformat heksadesimal",min:{numeric:":attribute minimal :min.",string:":attribute minimal :min karakter."},max:{numeric:":attribute harus lebih kecil :max.",string:":attribute maksimal :max karakter."},not_in:":attribute tidak benar.",numeric:":attribute harus berupa angka.",present:":attribute harus ada (tapi boleh kosong).",required:":attribute tidak boleh kosong.",required_if:":attribute harus di isi jika :other berisi :value.",required_unless:":attribute harus di isi jika :other tidak berisi :value.",required_with:":attribute harus di isi jika :field tidak kosong.",required_with_all:":attribute harus di isi jika :fields tidak kosong.",required_without:":attribute harus di isi jika :field kosong.",required_without_all:":attribute harus di isi jika :fields kosong.",same:":attribute dan :same harus sama.",size:{numeric:":attribute harus berisi :size.",string:":attribute harus berisi :size karakter."},string:":attribute harus berupa string.",url:":attribute harus berupa format url.",regex:":attribute format tidak benar.",attributes:{}}},3189:t=>{t.exports={accepted:"Il campo :attribute deve essere accettato.",alpha:"Il campo :attribute deve contenere sono caratteri alfabetici.",alpha_dash:"Il campo :attribute può contenere solo caratteri alfanumerici oltre a trattini e trattini bassi.",alpha_num:"Il campo :attribute deve essere alfanumerico.",between:"Il campo :attribute deve essere compreso tra :min e :max.",confirmed:"Il campo conferma :attribute non è uguale.",email:"Il formato dell'attributo :attribute non è valido.",def:"Gli attributi del campo :attribute contengono degli errori.",digits:"Il campo :attribute deve essere di :digits cifre.",digits_between:"Il campo :attribute deve essere tra :min e :max cifre.",different:"Il campo :attribute e :different devo essere diversi.",in:"Il valore del campo :attribute non è valido.",integer:"Il campo :attribute deve essere un valore intero.",hex:"Il campo :attribute deve essere in formato esadecimale",min:{numeric:"Il campo :attribute deve essere maggiore o uguale di :min.",string:"Il campo :attribute deve essere composto da almeno :min caratteri."},max:{numeric:"Il campo :attribute deve essere minore o uguale di :max.",string:"Il campo :attribute deve essere composto da massimo :max caratteri."},not_in:"Il campo :attribute non è valido.",numeric:"Il campo :attribute deve essere un numero.",present:"Il campo :attribute deve essere presente (ma può essere vuoto).",required:"Il campo :attribute è richiesto.",required_if:"Il campo :attribute è richiesto quando il campo :other è uguale a :value.",same:"I campi :attribute e :same devono essere uguali.",size:{numeric:"La dimensione del campo :attribute deve essere uguale a :size.",string:"Il campo :attribute deve essere di :size caratteri."},string:"Il campo :attribute deve essere una stringa.",url:"Il formato del campo :attribute non è valido.",regex:"Il formato del campo :attribute non è valido.",attributes:{}}},86054:t=>{t.exports={accepted:":attributeを確認してください。",after:":attributeは:afterより後の日付を入力してください。",after_or_equal:":attributeは:after_or_equal以降の日付を入力してください。",alpha:":attributeは英字のみで入力してください。",alpha_dash:":attributeは英字とダッシュと下線のみで入力してください。",alpha_num:":attributeは英数字のみで入力してください。",before:":attributeは:beforeより前の日付を入力してください。",before_or_equal:":attributeは:before_or_equal以前の日付を入力してください。",between:{numeric:":attributeは:min〜:maxの間で指定してください",string:":attributeは:min〜:max文字を入力してください"},confirmed:":attributeは確認が一致しません。",email:":attributeは正しいメールアドレスを入力してください。",date:":attributeは正しい日付形式を入力してください",def:":attributeは検証エラーが含まれています。",digits:":attributeは:digitsの数字のみで入力してください。",digits_between:":attributeは、:min桁から:max桁にしてください。",different:":attributeと:differentは同じであってはなりません。",in:"選択された:attributeは無効です。",integer:":attributeは整数で入力してください。",hex:":attributeは16進数で入力してください。",min:{numeric:":attributeは:min以上で入力してください。",string:":attributeは:min文字以上で入力してください。"},max:{numeric:":attributeは:max以下で入力してください。",string:":attributeは:max文字以下で入力してください。"},not_in:"選択された:attributeは無効です。",numeric:":attributeは数値で入力してください。",present:":attributeを入力してください（空欄も可能です）。",required:":attributeは必須です。",required_if:":otherは:valueになったら:attributeは必須です。",required_unless:":otherが:valueでなければ:attributeは必須です。",required_with:":fieldが空欄でなければ:attributeは必須です。",required_with_all:":fieldsが空欄でなければ:attributeは必須です。",required_without:":fieldが空欄なら:attributeは必須です。",required_without_all:":fieldsが空欄なら:attributeは必須です。",same:":attributeと:sameは同じでなければなりません。",size:{numeric:":attributeは:sizeを入力してください。",string:":attributeは:size文字で入力してください。"},string:":attributeは文字のみで入力してください。",url:":attributeは正しいURIを入力してください。",regex:":attributeの値はパターンにマッチする必要があります。",attributes:{}}},61064:t=>{t.exports={accepted:":attribute უნდა იყოს მონიშნული.",active_url:":attribute უნდა იყოს URL მისამართი.",after:":attribute უნდა იყოს :date-ის შემდეგ.",after_or_equal:":attribute უნდა იყოს :date-ის შემდეგ ან მისი ტოლი.",alpha:":attribute უნდა შეიცავდეს მხოლოდ ასოებს.",alpha_dash:":attribute უნდა შეიცავდეს მხოლოდ ასოებს, რიცხვებს და ტირეებს.",alpha_num:":attribute უნდა შეიცავდეს მხოლოდ ასოებს და რიცხვებს.",attributes:{},array:":attribute უნდა იყოს მასივი.",before:":attribute უნდა იყოს :date-მდე.",before_or_equal:":attribute უნდა იყოს :date-მდე ან მისი ტოლი.",between:{numeric:":attribute უნდა იყოს :min-სა და :max-ს შორის.",file:":attribute უნდა იყოს :min-სა და :max კილობაიტს შორის.",string:":attribute უნდა იყოს :min-სა და :max სიმბოლოს შორის.",array:":attribute-ის რაოდენობა უნდა იყოს :min-დან :max-მდე."},boolean:":attribute უნდა იყოს true, false, 0 ან 1.",confirmed:":attribute არ ემთხვევა დადასტურებას.",date:":attribute შეიცავს თარიღის არასწორ ფორმატს.",date_format:":attribute არ ემთხვევა თარიღის ფორმატს: :format.",different:":attribute და :other არ უნდა ემთხვეოდეს ერთმანეთს.",digits:":attribute უნდა შედგებოდეს :digits ციფრისგან.",digits_between:":attribute უნდა შედგებოდეს :min-დან :max ციფრამბდე.",dimensions:":attribute შეიცავს სურათის არასწორ ზომებს.",distinct:":attribute უნდა იყოს უნიკალური.",email:":attribute უნდა იყოს სწორი ელ.ფოსტა.",exists:"ასეთი :attribute არ არსებობს.",file:":attribute უნდა იყოს ფაილი.",filled:":attribute აუცილებელია.",gt:{numeric:":attribute უნდა იყოს :value-ზე მეტი.",file:":attribute უნდა იყოს :value კილობაიტზე მეტი.",string:":attribute უნდა შეიცავდეს :value სიმბოლოზე მეტს.",array:":attribute უნდა შეიცავლდეს :value ელემენტზე მეტს."},gte:{numeric:":attribute უნდა იყოს მინიმუმ :value.",file:":attribute უნდა იყოს მინიმუმ :value კილობაიტი.",string:":attribute უნდა შეიცავდეს მინიმუმ :value სიმბოლოს.",array:":attribute უნდა შეიცავდეს მინიმუმ :value ელემენტს."},hex:"The :attribute field should have hexadecimal format",image:":attribute უნდა იყოს სურათი.",in:"მითითებული :attribute არასწორია.",in_array:":attribute უნდა არსებობდეს :other-ში.",integer:":attribute უნდა იყოს მთელი რიცხვი.",ip:":attribute უნდა იყოს IP მისამართი.",ipv4:":attribute უნდა იყოს IPv4 მისამართი.",ipv6:":attribute უნდა იყოს IPv6 მისამართი.",json:":attribute უნდა იყოს JSON ტიპის.",lt:{numeric:":attribute უნდა იყოს :value-ზე ნაკლები.",file:":attribute უნდა იყოს :value კილობაიტზე ნაკლები.",string:":attribute უნდა შეიცავდეს :value სიმბოლოზე ნაკლებს.",array:":attribute უნდა შეიცავლდეს :value ელემენტზე ნაკლებს."},lte:{numeric:":attribute უნდა იყოს მაქსიმუმ :value.",file:":attribute უნდა იყოს მაქსიმუმ :value კილობაიტი.",string:":attribute უნდა შეიცავდეს მაქსიმუმ :value სიმბოლოს.",array:":attribute უნდა შეიცავდეს მაქსიმუმ :value ელემენტს."},max:{numeric:":attribute არ უნდა აღემატებოდეს :max-ს.",file:":attribute არ უნდა აღემატებოდეს :max კილობაიტს.",string:":attribute არ უნდა აღემატებოდეს :max სიმბოლოს.",array:":attribute-ის რაოდენობა არ უნდა აღემატებოდეს :max-ს."},mimes:":attribute უნდა იყოს შემდეგი ტიპის: :values.",mimetypes:":attribute უნდა იყოს შემდეგი ტიპის: :values.",min:{numeric:":attribute უნდა იყოს მინიმუმ :min.",file:":attribute უნდა იყოს მინიმუმ :min კილობაიტი.",string:":attribute უნდა შეიცავდეს მინიმუმ :min სიმბოლოს.",array:":attribute უნდა იყოს მინიმუმ :min."},not_in:"მითითებული :attribute არასწორია.",not_regex:":attribute არასწორ ფორმატშია.",numeric:":attribute უნდა იყოს რიცხვი.",present:":attribute უნდა არსებობდეს, თუნდაც ცარიელი.",regex:":attribute არ ემთხვევა ფორმატს.",required:":attribute აუცილებელია.",required_if:":attribute აუცილებელია, თუ :other-ის მნიშვნელობა ემთხვევა :value-ს.",required_unless:":attribute აუცილებელია, თუ :values არ შეიცავს :other-ს.",required_with:":attribute აუცილებელია, თუ :values მითითებულია.",required_with_all:":attribute აუცილებელია, თუ :values მითითებულია.",required_without:":attribute აუცილებელია, თუ :values არ არის მითითებული.",required_without_all:":attribute აუცილებელია, თუ :values არ არის მითითებული.",same:":attribute და :other უნდა ემთხვეოდეს ერთმანეთს.",size:{numeric:":attribute უნდა იყოს :size-ის ტოლი.",file:":attribute უნდა იყოს :size კილობაიტი.",string:":attribute უნდა შედგებოდეს :size სიმბოლოსგან.",array:":attribute უნდა შეიცავდეს :size ელემენტს."},string:":attribute უნდა იყოს ტექსტი.",timezone:":attribute უნდა იყოს სასაათო სარტყელი.",unique:"ასეთი :attribute უკვე არსებობს.",uploaded:":attribute-ის ატვირთვა ვერ მოხერხდა.",url:":attribute უნდა იყოს URL მისამართი."}},38929:t=>{t.exports={accepted:":attribute을(를) 동의해야 합니다.",active_url:":attribute은(는) 유효한 URL이 아닙니다.",after:":attribute은(는) :date 이후 날짜여야 합니다.",after_or_equal:":attribute은(는) :date 이후 날짜이거나 같은 날짜여야 합니다.",alpha:":attribute은(는) 문자만 포함할 수 있습니다.",alpha_dash:":attribute은(는) 문자, 숫자, 대쉬(-)만 포함할 수 있습니다.",alpha_num:":attribute은(는) 문자와 숫자만 포함할 수 있습니다.",attributes:{},array:":attribute은(는) 배열이어야 합니다.",before:":attribute은(는) :date 이전 날짜여야 합니다.",before_or_equal:":attribute은(는) :date 이전 날짜이거나 같은 날짜여야 합니다.",between:{numeric:":attribute은(는) :min에서 :max 사이여야 합니다.",file:":attribute은(는) :min에서 :max 킬로바이트 사이여야 합니다.",string:":attribute은(는) :min에서 :max 문자 사이여야 합니다.",array:":attribute은(는) :min에서 :max 개의 항목이 있어야 합니다."},boolean:":attribute은(는) true 또는 false 이어야 합니다.",confirmed:":attribute 확인 항목이 일치하지 않습니다.",date:":attribute은(는) 유효한 날짜가 아닙니다.",date_format:":attribute이(가) :format 형식과 일치하지 않습니다.",different:":attribute와(과) :other은(는) 서로 달라야 합니다.",digits:":attribute은(는) :digits 자리 숫자여야 합니다.",digits_between:":attribute)은(는) :min에서 :max 자리 사이여야 합니다.",dimensions:":attribute은(는) 유효하지 않는 이미지 크기입니다.",distinct:":attribute 필드에 중복된 값이 있습니다.",email:":attribute은(는) 유효한 이메일 주소여야 합니다.",exists:"선택된 :attribute은(는) 유효하지 않습니다.",file:":attribute은(는) 파일이어야 합니다.",filled:":attribute 필드는 값이 있어야 합니다.",gt:{numeric:":attribute의 값은 :value보다 커야 합니다.",file:":attribute의 용량은 :value킬로바이트보다 커야 합니다.",string:":attribute의 길이는 :value보다 길어야 합니다.",array:":attribute의 항목수는 :value개 보다 많아야 합니다."},gte:{numeric:":attribute의 값은 :value보다 같거나 커야 합니다.",file:":attribute의 용량은 :value킬로바이트보다 같거나 커야 합니다.",string:":attribute의 길이는 :value보다 같거나 길어야 합니다.",array:":attribute의 항목수는 :value개 보다 같거나 많아야 합니다."},hex:"The :attribute field should have hexadecimal format",image:":attribute은(는) 이미지여야 합니다.",in:"선택된 :attribute은(는) 유효하지 않습니다.",in_array:":attribute 필드는 :other에 존재하지 않습니다.",integer:":attribute은(는) 정수여야 합니다.",ip:":attribute은(는) 유효한 IP 주소여야 합니다.",ipv4:":attribute은(는) 유효한 IPv4 주소여야 합니다.",ipv6:":attribute은(는) 유효한 IPv6 주소여야 합니다.",json:":attribute은(는) JSON 문자열이어야 합니다.",lt:{numeric:":attribute의 값은 :value보다 작아야 합니다.",file:":attribute의 용량은 :value킬로바이트보다 작아야 합니다.",string:":attribute의 길이는 :value보다 짧아야 합니다.",array:":attribute의 항목수는 :value개 보다 작아야 합니다."},lte:{numeric:":attribute의 값은 :value보다 같거나 작아야 합니다.",file:":attribute의 용량은 :value킬로바이트보다 같거나 작아야 합니다.",string:":attribute의 길이는 :value보다 같거나 짧아야 합니다.",array:":attribute의 항목수는 :value개 보다 같거나 작아야 합니다."},max:{numeric:":attribute은(는) :max보다 클 수 없습니다.",file:":attribute은(는) :max킬로바이트보다 클 수 없습니다.",string:":attribute은(는) :max자보다 클 수 없습니다.",array:":attribute은(는) :max개보다 많을 수 없습니다."},mimes:":attribute은(는) 다음의 파일 형식이어야 합니다: :values.",mimetypes:":attribute은(는) 다음의 파일 형식이어야 합니다: :values.",min:{numeric:":attribute은(는) 최소한 :min이어야 합니다.",file:":attribute은(는) 최소한 :min킬로바이트이어야 합니다.",string:":attribute은(는) 최소한 :min자이어야 합니다.",array:":attribute은(는) 최소한 :min개의 항목이 있어야 합니다."},not_in:"선택된 :attribute이(가) 유효하지 않습니다.",not_regex:":attribute의 형식이 올바르지 않습니다.",numeric:":attribute은(는) 숫자여야 합니다.",present:":attribute 필드가 있어야 합니다.",regex:":attribute 형식이 유효하지 않습니다.",required:":attribute 필드는 필수입니다.",required_if:":other이(가) :value 일 때 :attribute 필드는 필수입니다.",required_unless:":other이(가) :value에 없다면 :attribute 필드는 필수입니다.",required_with:":values이(가) 있는 경우 :attribute 필드는 필수입니다.",required_with_all:":values이(가) 모두 있는 경우 :attribute 필드는 필수입니다.",required_without:":values이(가) 없는 경우 :attribute 필드는 필수입니다.",required_without_all:":values이(가) 모두 없는 경우 :attribute 필드는 필수입니다.",same:":attribute와(과) :other은(는) 일치해야 합니다.",size:{numeric:":attribute은(는) :size (이)여야 합니다.",file:":attribute은(는) :size킬로바이트여야 합니다.",string:":attribute은(는) :size자여야 합니다.",array:":attribute은(는) :size개의 항목을 포함해야 합니다."},string:":attribute은(는) 문자열이어야 합니다.",timezone:":attribute은(는) 올바른 시간대 이어야 합니다.",unique:":attribute은(는) 이미 사용 중입니다.",uploaded:":attribute을(를) 업로드하지 못했습니다.",url:":attribute 형식은 유효하지 않습니다."}},64391:t=>{t.exports={accepted:"Laukas :attribute turi būti priimtas.",active_url:"Laukas :attribute nėra galiojantis internetinis adresas.",after:"Lauko :attribute reikšmė turi būti po :date datos.",after_or_equal:"The :attribute must be a date after or equal to :date.",alpha:"Laukas :attribute gali turėti tik raides.",alpha_dash:"Laukas :attribute gali turėti tik raides, skaičius ir brūkšnelius.",alpha_num:"Laukas :attribute gali turėti tik raides ir skaičius.",attributes:{},array:"Laukas :attribute turi būti masyvas.",before:"Laukas :attribute turi būti data prieš :date.",before_or_equal:"The :attribute must be a date before or equal to :date.",between:{numeric:"Lauko :attribute reikšmė turi būti tarp :min ir :max.",file:"Failo dydis lauke :attribute turi būti tarp :min ir :max kilobaitų.",string:"Simbolių skaičius lauke :attribute turi būti tarp :min ir :max.",array:"Elementų skaičius lauke :attribute turi turėti nuo :min iki :max."},boolean:"Lauko reikšmė :attribute turi būti 'taip' arba 'ne'.",confirmed:"Lauko :attribute patvirtinimas nesutampa.",date:"Lauko :attribute reikšmė nėra galiojanti data.",date_format:"Lauko :attribute reikšmė neatitinka formato :format.",different:"Laukų :attribute ir :other reikšmės turi skirtis.",digits:"Laukas :attribute turi būti sudarytas iš :digits skaitmenų.",digits_between:"Laukas :attribute tuti turėti nuo :min iki :max skaitmenų.",dimensions:"Lauke :attribute įkeltas paveiksliukas neatitinka išmatavimų reikalavimo.",distinct:"Laukas :attribute pasikartoja.",email:"Lauko :attribute reikšmė turi būti galiojantis el. pašto adresas.",file:"The :attribute must be a file.",filled:"Laukas :attribute turi būti užpildytas.",exists:"Pasirinkta negaliojanti :attribute reikšmė.",gt:{numeric:"The :attribute must be greater than :value.",file:"The :attribute must be greater than :value kilobytes.",string:"The :attribute must be greater than :value characters.",array:"The :attribute must have more than :value items."},gte:{numeric:"The :attribute must be greater than or equal :value.",file:"The :attribute must be greater than or equal :value kilobytes.",string:"The :attribute must be greater than or equal :value characters.",array:"The :attribute must have :value items or more."},hex:"The :attribute field should have hexadecimal format",image:"Lauko :attribute reikšmė turi būti paveikslėlis.",in:"Pasirinkta negaliojanti :attribute reikšmė.",in_array:"Laukas :attribute neegzistuoja :other lauke.",integer:"Lauko :attribute reikšmė turi būti sveikasis skaičius.",ip:"Lauko :attribute reikšmė turi būti galiojantis IP adresas.",ipv4:"The :attribute must be a valid IPv4 address.",ipv6:"The :attribute must be a valid IPv6 address.",json:"Lauko :attribute reikšmė turi būti JSON tekstas.",lt:{numeric:"The :attribute must be less than :value.",file:"The :attribute must be less than :value kilobytes.",string:"The :attribute must be less than :value characters.",array:"The :attribute must have less than :value items."},lte:{numeric:"The :attribute must be less than or equal :value.",file:"The :attribute must be less than or equal :value kilobytes.",string:"The :attribute must be less than or equal :value characters.",array:"The :attribute must not have more than :value items."},max:{numeric:"Lauko :attribute reikšmė negali būti didesnė nei :max.",file:"Failo dydis lauke :attribute reikšmė negali būti didesnė nei :max kilobaitų.",string:"Simbolių kiekis lauke :attribute reikšmė negali būti didesnė nei :max simbolių.",array:"Elementų kiekis lauke :attribute negali turėti daugiau nei :max elementų."},mimes:"Lauko reikšmė :attribute turi būti failas vieno iš sekančių tipų: :values.",mimetypes:"Lauko reikšmė :attribute turi būti failas vieno iš sekančių tipų: :values.",min:{numeric:"Lauko :attribute reikšmė turi būti ne mažesnė nei :min.",file:"Failo dydis lauke :attribute turi būti ne mažesnis nei :min kilobaitų.",string:"Simbolių kiekis lauke :attribute turi būti ne mažiau nei :min.",array:"Elementų kiekis lauke :attribute turi būti ne mažiau nei :min."},not_in:"Pasirinkta negaliojanti reikšmė :attribute.",not_regex:"The :attribute format is invalid.",numeric:"Lauko :attribute reikšmė turi būti skaičius.",present:"Laukas :attribute turi egzistuoti.",regex:"Negaliojantis lauko :attribute formatas.",required:"Privaloma užpildyti lauką :attribute.",required_if:"Privaloma užpildyti lauką :attribute kai :other yra :value.",required_unless:"Laukas :attribute yra privalomas, nebent :other yra tarp :values reikšmių.",required_with:"Privaloma užpildyti lauką :attribute kai pateikta :values.",required_with_all:"Privaloma užpildyti lauką :attribute kai pateikta :values.",required_without:"Privaloma užpildyti lauką :attribute kai nepateikta :values.",required_without_all:"Privaloma užpildyti lauką :attribute kai nepateikta nei viena iš reikšmių :values.",same:"Laukai :attribute ir :other turi sutapti.",size:{numeric:"Lauko :attribute reikšmė turi būti :size.",file:"Failo dydis lauke :attribute turi būti :size kilobaitai.",string:"Simbolių skaičius lauke :attribute turi būti :size.",array:"Elementų kiekis lauke :attribute turi būti :size."},string:"Laukas :attribute turi būti tekstinis.",timezone:"Lauko :attribute reikšmė turi būti galiojanti laiko zona.",unique:"Tokia :attribute reikšmė jau pasirinkta.",uploaded:"The :attribute failed to upload.",url:"Negaliojantis lauko :attribute formatas."}},62247:t=>{t.exports={accepted:" :attribute ir jābūt pieņemtam.",active_url:" :attribute ir ar nederīgu linku.",after:" :attribute ir jābūt ar datumu pēc :datums.",after_or_equal:" :attribute ir jābūt ar datumu pēc vai vienādu ar :datums.",alpha:" :attribute var saturēt tikai burtus.",alpha_dash:" :attribute var saturēt tikai burtus, nummurus un atstarpes.",alpha_num:" :attribute var tikai saturēt burtus un nummurus.",attributes:{},array:" :attribute ir jābūt sakārtotam.",before:" :attribute ir jābūt ar datumu pirms :datums.",before_or_equal:" :attribute ir jābūt ar datumu pirms vai vienādu ar :datums.",between:{numeric:" :attribute jābūt starp :min un :max.",file:" :attribute jābūt starp :min un :max kilobaiti.",string:" :attribute jābūt no :min līdz :max zīmēm.",array:" :attribute jābūt no :min līdz :max vienībām."},boolean:" :attribute laiciņam jābūt atbilstošam vai neatbilstošam.",confirmed:" :attribute apstiprinājums neatbilst.",date:" :attribute nav derīgs.",date_format:" :attribute neatbilst formātam :format.",different:" :attribute un :other ir jābūt citiem.",digits:" :attribute ir jābūt :digits ciparam.",digits_between:" :attribute ir jābūt :min un :max ciparam.",dimensions:" :attribute ir nederīgs attēla izmērs.",distinct:" :attribute laikam ir dubulta vērtība.",email:" :attribute derīgam e-pastam.",exists:"Izvēlētais :attribute ir nederīgs.",file:" :attribute jābūt failam.",filled:":attribute lauks ir nepieciešams.",gt:{numeric:"The :attribute must be greater than :value.",file:"The :attribute must be greater than :value kilobytes.",string:"The :attribute must be greater than :value characters.",array:"The :attribute must have more than :value items."},gte:{numeric:"The :attribute must be greater than or equal :value.",file:"The :attribute must be greater than or equal :value kilobytes.",string:"The :attribute must be greater than or equal :value characters.",array:"The :attribute must have :value items or more."},hex:"The :attribute field should have hexadecimal format",image:" :attribute jābūt attēlam.",in:"Izvēlētais :attribute ir nederīgs.",in_array:" :attribute laiks neeksistē :cits.",integer:" :attribute ir jabūt skaitim.",ip:" :attribute jābūt derīgai IP adresei.",ipv4:"The :attribute must be a valid IPv4 address.",ipv6:"The :attribute must be a valid IPv6 address.",json:" :attribute jābūt derīgai JSON virknei.",lt:{numeric:"The :attribute must be less than :value.",file:"The :attribute must be less than :value kilobytes.",string:"The :attribute must be less than :value characters.",array:"The :attribute must have less than :value items."},lte:{numeric:"The :attribute must be less than or equal :value.",file:"The :attribute must be less than or equal :value kilobytes.",string:"The :attribute must be less than or equal :value characters.",array:"The :attribute must not have more than :value items."},max:{numeric:" :attribute nedrīkst pārsniegt :max.",file:" :attribute nedrīkst pārsniegt :max kilobaiti.",string:" :attribute nedrīkst pārsniegt :max zīmes.",array:" :attribute nedrīkst pārsniegt :max vienības."},mimes:" :attribute jābūt faila tipam: :values",mimetypes:" :attribute jābūt faile tipam: :values.",min:{numeric:" :attribute jābūt vismaz :min.",file:" :attribute jābūt vismaz :min kilobaiti.",string:" :attribute jābūt vismaz :min zīmes.",array:" :attribute jāsatur vismaz :min vienības."},not_in:" izvēlieties :attribute ir nederīgs.",not_regex:"The :attribute format is invalid.",numeric:" :attribute jābūt skaitlim.",present:" :attribute laikums ir nepieciešams.",regex:" :attribute formāts ir nederīgs.",required:" :attribute laukums ir nepieciešams.",required_if:" :attribute laukums ir nepieciešams, ja vien :other ir :values.",required_unless:" :attribute laukums ir nepieciešams, ja vien :other ir :values.",required_with:" :attribute laukums ir nepieciešams, kad :values ir pieejama.",required_with_all:" :attribute laukums ir nepieciešams, kad :values ir pieejama.",required_without:" :attribute laukums ir nepieciešams, kad :values nav pieejama.",required_without_all:" :attribute laukums ir nepieciešams, kad neviena no :values nav pieejama.",same:" :attribute un :citiem ir jāsakrīt.",size:{numeric:" :attribute jābūt :size.",file:" :attribute jābūt :size kilobaiti.",string:" :attribute jābūt :size zīmes.",array:" :attribute jāsatur :size vienības."},string:" :attribute jābūt virknē.",timezone:" :attribute jābūt derīgā zonā.",unique:" :attribute jau ir aizņemts.",uploaded:" :attribute netika augšuplādēts.",url:" :attribute formāts ir nederīgs."}},25058:t=>{t.exports={accepted:"Полето :attribute мора да биде прифатено.",active_url:"Полето :attribute не е валиден URL.",after:"Полето :attribute мора да биде датум после :date.",after_or_equal:"The :attribute must be a date after or equal to :date.",alpha:"Полето :attribute може да содржи само букви.",alpha_dash:"Полето :attribute може да содржи само букви, цифри, долна црта и тире.",alpha_num:"Полето :attribute може да содржи само букви и цифри.",attributes:{},array:"Полето :attribute мора да биде низа.",before:"Полето :attribute мора да биде датум пред :date.",before_or_equal:"The :attribute must be a date before or equal to :date.",between:{numeric:"Полето :attribute мора да биде помеѓу :min и :max.",file:"Полето :attribute мора да биде помеѓу :min и :max килобајти.",string:"Полето :attribute мора да биде помеѓу :min и :max карактери.",array:"Полето :attribute мора да има помеѓу :min - :max карактери."},boolean:"The :attribute field must be true or false",confirmed:"Полето :attribute не е потврдено.",date:"Полето :attribute не е валиден датум.",date_format:"Полето :attribute не е во формат :format.",different:"Полињата :attribute и :other треба да се различни.",digits:"Полето :attribute треба да има :digits цифри.",digits_between:"Полето :attribute треба да има помеѓу :min и :max цифри.",dimensions:"The :attribute has invalid image dimensions.",distinct:"The :attribute field has a duplicate value.",email:"Полето :attribute не е во валиден формат.",exists:"Избранато поле :attribute веќе постои.",file:"The :attribute must be a file.",filled:"Полето :attribute е задолжително.",gt:{numeric:"The :attribute must be greater than :value.",file:"The :attribute must be greater than :value kilobytes.",string:"The :attribute must be greater than :value characters.",array:"The :attribute must have more than :value items."},gte:{numeric:"The :attribute must be greater than or equal :value.",file:"The :attribute must be greater than or equal :value kilobytes.",string:"The :attribute must be greater than or equal :value characters.",array:"The :attribute must have :value items or more."},hex:"The :attribute field should have hexadecimal format",image:"Полето :attribute мора да биде слика.",in:"Избраното поле :attribute е невалидно.",in_array:"The :attribute field does not exist in :other.",integer:"Полето :attribute мора да биде цел број.",ip:"Полето :attribute мора да биде IP адреса.",ipv4:"The :attribute must be a valid IPv4 address.",ipv6:"The :attribute must be a valid IPv6 address.",json:"The :attribute must be a valid JSON string.",lt:{numeric:"The :attribute must be less than :value.",file:"The :attribute must be less than :value kilobytes.",string:"The :attribute must be less than :value characters.",array:"The :attribute must have less than :value items."},lte:{numeric:"The :attribute must be less than or equal :value.",file:"The :attribute must be less than or equal :value kilobytes.",string:"The :attribute must be less than or equal :value characters.",array:"The :attribute must not have more than :value items."},max:{numeric:"Полето :attribute мора да биде помало од :max.",file:"Полето :attribute мора да биде помало од :max килобајти.",string:"Полето :attribute мора да има помалку од :max карактери.",array:"Полето :attribute не може да има повеќе од :max карактери."},mimes:"Полето :attribute мора да биде фајл од типот: :values.",mimetypes:"Полето :attribute мора да биде фајл од типот: :values.",min:{numeric:"Полето :attribute мора да биде минимум :min.",file:"Полето :attribute мора да биде минимум :min килобајти.",string:"Полето :attribute мора да има минимум :min карактери.",array:"Полето :attribute мора да има минимум :min карактери."},not_in:"Избраното поле :attribute е невалидно.",not_regex:"The :attribute format is invalid.",numeric:"Полето :attribute мора да биде број.",present:"The :attribute field must be present.",regex:"Полето :attribute е во невалиден формат.",required:"Полето :attribute е задолжително.",required_if:"Полето :attribute е задолжително, кога :other е :value.",required_unless:"The :attribute field is required unless :other is in :values.",required_with:"Полето :attribute е задолжително, кога е внесено :values.",required_with_all:"The :attribute field is required when :values is present.",required_without:"Полето :attribute е задолжително, кога не е внесено :values.",required_without_all:"The :attribute field is required when none of :values are present.",same:"Полињата :attribute и :other треба да совпаѓаат.",size:{numeric:"Полето :attribute мора да биде :size.",file:"Полето :attribute мора да биде :size килобајти.",string:"Полето :attribute мора да има :size карактери.",array:"Полето :attribute мора да има :size карактери."},string:"The :attribute must be a string.",timezone:"The :attribute must be a valid zone.",unique:"Полето :attribute веќе постои.",uploaded:"The :attribute failed to upload.",url:"Полето :attribute не е во валиден формат."}},78541:t=>{t.exports={accepted:":Attribute баталсан байх шаардлагатай.",active_url:":Attribute талбарт зөв URL хаяг оруулна уу.",after:":Attribute талбарт :date-с хойш огноо оруулна уу.",after_or_equal:":Attribute талбарт :date эсвэл түүнээс хойш огноо оруулна уу.",alpha:":Attribute талбарт латин үсэг оруулна уу.",alpha_dash:":Attribute талбарт латин үсэг, тоо болон зураас оруулах боломжтой.",alpha_num:":Attribute талбарт латин үсэг болон тоо оруулах боломжтой.",attributes:{},array:":Attribute талбар массив байх шаардлагатай.",before:":Attribute талбарт :date-с өмнөх огноо оруулна уу.",before_or_equal:":attribute талбарт :date эсвэл түүнээс өмнөх огноо оруулна уу.",between:{numeric:":Attribute талбарт :min-:max хооронд тоо оруулна уу.",file:":Attribute талбарт :min-:max килобайт хэмжээтэй файл оруулна уу.",string:":Attribute талбарт :min-:max урттай текст оруулна уу.",array:":Attribute массивт :min-:max элемэнт байх шаардлагатай."},boolean:":Attribute талбарын утга үнэн эсвэл худал байх шаардлагатай.",confirmed:":Attribute талбарын баталагажуулалт тохирохгүй байна.",date:":Attribute талбарт оруулсан огноо буруу байна.",date_format:":Attribute талбарт :format хэлбэртэй огноо оруулна уу.",different:":Attribute талбарт :other -с өөр утга оруулах шаардлагатай.",digits:":Attribute талбарт дараах цифрүүдээс оруулах боломжтой. :digits.",digits_between:":Attribute талбарт :min-:max хоорондох цифр оруулах боломжтой.",dimensions:":Attribute талбарийн зургийн хэмжээс буруу байна.",distinct:":Attribute талбарт ялгаатай утга оруулах шаардлагатай.",email:":Attribute талбарт зөв и-мэйл хаяг оруулах шаардлагатай.",exists:"Сонгогдсон :attribute буруу байна.",file:":Attribute талбарт файл оруулах шаардлагатай.",filled:":Attribute талбар шаардлагатай.",gt:{numeric:"The :attribute must be greater than :value.",file:"The :attribute must be greater than :value kilobytes.",string:"The :attribute must be greater than :value characters.",array:"The :attribute must have more than :value items."},gte:{numeric:"The :attribute must be greater than or equal :value.",file:"The :attribute must be greater than or equal :value kilobytes.",string:"The :attribute must be greater than or equal :value characters.",array:"The :attribute must have :value items or more."},hex:"The :attribute field should have hexadecimal format",image:":Attribute талбарт зураг оруулна уу.",in:"Сонгогдсон :attribute буруу байна.",in_array:":Attribute талбарт оруулсан утга :other -д байхгүй байна.",integer:":Attribute талбарт бүхэл тоо оруулах шаардлагатай.",ip:":Attribute талбарт зөв IP хаяг оруулах шаардлагатай.",ipv4:"The :attribute must be a valid IPv4 address.",ipv6:"The :attribute must be a valid IPv6 address.",json:":Attribute талбарт зөв JSON тэмдэгт мөр оруулах шаардлагатай.",lt:{numeric:"The :attribute must be less than :value.",file:"The :attribute must be less than :value kilobytes.",string:"The :attribute must be less than :value characters.",array:"The :attribute must have less than :value items."},lte:{numeric:"The :attribute must be less than or equal :value.",file:"The :attribute must be less than or equal :value kilobytes.",string:"The :attribute must be less than or equal :value characters.",array:"The :attribute must not have more than :value items."},max:{numeric:":Attribute талбарт :max буюу түүнээс бага утга оруулна уу.",file:":Attribute талбарт :max килобайтаас бага хэмжээтэй файл оруулна уу.",string:":Attribute талбарт :max-с бага урттай текст оруулна уу.",array:":Attribute талбарт хамгийн ихдээ :max элемэнт оруулах боломжтой."},mimes:":Attribute талбарт дараах төрлийн файл оруулах боломжтой: :values.",mimetypes:":Attribute талбарт дараах төрлийн файл оруулах боломжтой: :values.",min:{numeric:":Attribute талбарт :min буюу түүнээс их тоо оруулна уу.",file:":Attribute талбарт :min килобайтаас их хэмжээтэй файл оруулна уу.",string:":Attribute талбарт :min буюу түүнээс их үсэг бүхий текст оруулна уу.",array:":Attribute талбарт хамгийн багадаа :min элемэнт оруулах боломжтой."},not_in:"Буруу :attribute сонгогдсон байна.",not_regex:"The :attribute format is invalid.",numeric:":Attribute талбарт тоон утга оруулна уу.",present:":Attribute талбар байх шаардлагатай.",regex:":Attribute талбарт оруулсан утга буруу байна.",required:":Attribute талбар шаардлагатай.",required_if:"Хэрэв :other :value бол :attribute табларт утга оруулах шаардлагатай.",required_unless:":other :values дотор байхгүй бол :attribute талбарт утга оруулах шаардлагатай.",required_with:":values утгуудийн аль нэг байвал :attribute талбар шаардлагатай.",required_with_all:":values утгууд байвал :attribute талбар шаардлагатай.",required_without:"The :attribute field is required when :values is not present.",required_without_all:"The :attribute field is required when none of :values are present.",same:"The :attribute and :other must match.",size:{numeric:":Attribute :size хэмжээтэй байх шаардлагатай.",file:":Attribute :size килобайт хэмжээтэй байх шаардлагатай.",string:":Attribute :size тэмдэгтийн урттай байх шаардлагатай.",array:":Attribute :size элемэнттэй байх шаардлагатай."},string:":Attribute талбарт текст оруулна уу.",timezone:":Attribute талбарт зөв цагийн бүс оруулна уу.",unique:"Оруулсан :attribute аль хэдий нь бүртгэгдсэн байна.",uploaded:":Attribute талбарт оруулсан файлыг хуулхад алдаа гарлаа.",url:":Attribute зөв url хаяг оруулна уу."}},80994:t=>{t.exports={accepted:":attribute mesti diterima pakai.",active_url:":attribute bukan URL yang sah.",after:":attribute mesti tarikh selepas :date.",after_or_equal:":attribute mesti tarikh selepas atau sama dengan :date.",alpha:":attribute hanya boleh mengandungi huruf.",alpha_dash:":attribute boleh mengandungi huruf, nombor, dan sengkang.",alpha_num:":attribute boleh mengandungi huruf dan nombor.",attributes:{},array:":attribute mesti jujukan.",before:":attribute mesti tarikh sebelum :date.",before_or_equal:":attribute mesti tarikh sebelum atau sama dengan :date.",between:{numeric:":attribute mesti mengandungi antara :min dan :max.",file:":attribute mesti mengandungi antara :min dan :max kilobait.",string:":attribute mesti mengandungi antara :min dan :max aksara.",array:":attribute mesti mengandungi antara :min dan :max perkara."},boolean:":attribute mesti benar atau salah.",confirmed:":attribute pengesahan yang tidak sepadan.",date:":attribute bukan tarikh yang sah.",date_format:":attribute tidak mengikut format :format.",different:":attribute dan :other mesti berlainan.",dimensions:":attribute tidak sah",digits:":attribute mesti :digits.",digits_between:":attribute mesti mengandungi antara :min dan :max digits.",distinct:":attribute adalah nilai yang berulang",email:":attribute tidak sah.",exists:":attribute tidak sah.",file:":attribute mesti fail yang sah.",filled:":attribute diperlukan.",gt:{numeric:":attribute mesti melebihi :value.",file:":attribute mesti melebihi :value kilobait.",string:":attribute mesti melebihi :value aksara.",array:":attribute mesti mengandungi lebih daripada :value perkara."},gte:{numeric:":attribute mesti melebihi atau bersamaan :value.",file:":attribute mesti melebihi atau bersamaan :value kilobait.",string:":attribute mesti melebihi atau bersamaan :value aksara.",array:":attribute mesti mengandungi :value perkara atau lebih."},hex:"The :attribute field should have hexadecimal format",image:":attribute mesti imej.",in:":attribute tidak sah.",in_array:":attribute tidak wujud dalam :other.",integer:":attribute mesti integer.",ip:":attribute mesti alamat IP yang sah.",ipv4:":attribute mesti alamat IPv4 yang sah.",ipv6:":attribute mesti alamat IPv6 yang sah",json:":attribute mesti JSON yang sah.",lt:{numeric:":attribute mesti kurang daripada :value.",file:":attribute mesti kurang daripada :value kilobait.",string:":attribute mesti kurang daripada :value aksara.",array:":attribute mesti mengandungi kurang daripada :value perkara."},lte:{numeric:":attribute mesti kurang daripada atau bersamaan dengan :value.",file:":attribute mesti kurang daripada atau bersamaan dengan :value kilobait.",string:":attribute mesti kurang daripada atau bersamaan dengan :value aksara.",array:":attribute mesti mengandungi kurang daripada atau bersamaan dengan :value perkara."},max:{numeric:"Jumlah :attribute mesti tidak melebihi :max.",file:"Jumlah :attribute mesti tidak melebihi :max kilobait.",string:"Jumlah :attribute mesti tidak melebihi :max aksara.",array:"Jumlah :attribute mesti tidak melebihi :max perkara."},mimes:":attribute mesti fail type: :values.",mimetypes:":attribute mesti fail type: :values.",min:{numeric:"Jumlah :attribute mesti sekurang-kurangnya :min.",file:"Jumlah :attribute mesti sekurang-kurangnya :min kilobait.",string:"Jumlah :attribute mesti sekurang-kurangnya :min aksara.",array:"Jumlah :attribute mesti sekurang-kurangnya :min perkara."},not_in:":attribute tidak sah.",not_regex:"Format :attribute adalah tidak sah.",numeric:":attribute mesti nombor.",present:":attribute mesti wujud.",regex:"Format :attribute tidak sah.",required:"Ruangan :attribute diperlukan.",required_if:"Ruangan :attribute diperlukan bila :other sama dengan :value.",required_unless:"Ruangan :attribute diperlukan sekiranya :other ada dalam :values.",required_with:"Ruangan :attribute diperlukan bila :values wujud.",required_with_all:"Ruangan :attribute diperlukan bila :values wujud.",required_without:"Ruangan :attribute diperlukan bila :values tidak wujud.",required_without_all:"Ruangan :attribute diperlukan bila kesemua :values wujud.",same:"Ruangan :attribute dan :other mesti sepadan.",size:{numeric:"Saiz :attribute mesti :size.",file:"Saiz :attribute mesti :size kilobait.",string:"Saiz :attribute mesti :size aksara.",array:"Saiz :attribute mesti mengandungi :size perkara."},string:":attribute mesti aksara.",timezone:":attribute mesti zon masa yang sah.",unique:":attribute telah wujud.",uploaded:":attribute gagal dimuat naik.",url:":attribute format tidak sah."}},51474:t=>{t.exports={accepted:":attribute må være akseptert.",alpha:":attribute feltet kan kun inneholde alfabetiske tegn.",alpha_dash:":attribute feltet kan kun inneholde alfanumeriske tegn, i tillegg til bindestreker og understreker.",alpha_num:":attribute feltet må være alfanumerisk.",between:":attribute feltet må være mellom :min og :max.",confirmed:":attribute feltet stemmer ikke overens med bekreftelsen.",email:":attribute formatet er ugyldig.",date:":attribute er et ugyldig datoformat.",def:":attribute attributtet har feil.",digits:":attribute må være på :digits siffer.",digits_between:":attribute må være mellom :min og :max siffer.",different:":attribute og :different må være forskjellige.",in:"Den oppgitte verdien for :attribute er ugyldig.",integer:":attribute må være et heltall.",hex:"The :attribute should have hexadecimal format",min:{numeric:":attribute må minst være :min.",string:":attribute må være på minst :min tegn."},max:{numeric:":attribute kan ikke være større enn :max.",string:":attribute kan maks ha :max tegn."},not_in:"Den oppgitte verdien for :attribute er ugyldig.",numeric:":attribute må være et tall.",present:"The :attribute field must be present (but can be empty).",required:":attribute feltet er påkrevd.",required_if:":attribute er påkrevd når :other er :value.",same:":attribute og :same må være like.",size:{numeric:":attribute må ha størrelsen :size.",string:":attribute må ha :size tegn."},string:":attribute må være tekst.",url:":attribute formatet er ugyldig.",regex:":attribute formatet er ugyldig.",attributes:{}}},15675:t=>{t.exports={accepted:"Het :attribute veld moet geaccepteerd worden.",after:":attribute moet een datum na :after zijn.",after_or_equal:"De :attribute datum moet op of na :after_or_equal zijn.",alpha:"Het :attribute veld mag alleen maar letters bevatten.",alpha_dash:"Het :attribute veld mag alleen maar letters, cijfers en (liggende) streepjes bevatten.",alpha_num:"Het :attribute veld mag alleen maar letters en cijfers bevatten.",before:":attribute moet vòòr :before zijn.",before_or_equal:":attribute moet vòòr of op :before_or_equal zijn.",between:"Het :attribute veld moet tussen :min en :max liggen.",confirmed:"Het :attribute veld komt niet met de bevestiging overeen.",email:"Het :attribute formaat is ongeldig.",date:"Het :attribute veld moet een geldige datum zijn.",def:"Het :attribute veld bevat fouten.",digits:"Het :attribute veld moet :digits cijfers hebben.",digits_between:":attribute moet bestaan uit minimaal :min en maximaal :max cijfers.",different:"Het :attribute en :different veld moeten verschillend zijn.",in:"De gekozen waarde voor :attribute is ongeldig.",integer:"Het :attribute veld moet een geheel getal zijn.",hex:"Het :attribute veld moet hexadecimaal zijn",min:{numeric:"Het :attribute veld moet minstens :min zijn.",string:"Het :attribute veld moet minstens :min karakters bevatten."},max:{numeric:"Het :attribute veld mag maximaal :max zijn.",string:"Het :attribute veld mag niet meer dan :max karakters bevatten."},not_in:"De gekozen waarde voor :attribute is ongeldig.",numeric:"Het :attribute veld moet een getal zijn.",present:"Het :attribute veld moet aanwezig zijn (maar mag leeg zijn).",required:"Het :attribute veld moet ingevuld zijn.",required_if:"Het :attribute veld moet ingevuld zijn, wanneer :other :value is.",required_unless:"Het :attribute veld moet ingevuld zijn, wanneer :other niet :value is.",required_with:"Het :attribute veld moet ingevuld zijn, wanneer :field niet leeg is.",required_with_all:"Het :attribute veld moet ingevuld zijn, wanneer :fields niet leeg zijn.",required_without:"Het :attribute veld moet ingevuld zijn, wanneer :field leeg is.",required_without_all:"Het :attribute veld moet ingevuld zijn, wanneer :fields leeg zijn.",same:"De :attribute en :same velden moeten overeenkomen.",size:{numeric:"Het :attribute veld moet :size zijn.",string:"Het :attribute veld moet :size karakters bevatten."},string:"Het :attribute veld moet een woord of zin zijn.",url:"Het :attribute veld heeft een ongeldig formaat.",regex:"Het :attribute veld heeft een ongeldig formaat.",attributes:{}}},32555:t=>{t.exports={accepted:"Pole :attribute musi być zaakceptowane.",alpha:"Pole :attribute może zawierać tylko litery.",alpha_dash:"Pole :attribute moze zawierać tylko litery, myślnik i podrkeślenie.",alpha_num:"Pole :attribute moze zawierac tylko znaki alfanumeryczne.",between:"Pole :attribute musi mieć długość od :min do :max.",confirmed:"Pole :attribute nie spełnia warunku potwierdzenia.",email:"Pole :attribute ma niepoprawny format adresu email.",date:"Pole :attribute musi mieć poprawny format daty.",def:"Pole :attribute zawiera błędy.",digits:"Pole :attribute może zawierać tylko cyfry ze zbioru :digits.",digits_between:"Pole :attribute musi mieć od :min do :max cyfr.",different:"Pola :attribute i :different muszą się różnić.",in:"Pole :attribute musi należeć do zbioru :in.",integer:"Pole :attribute musi być liczbą całkowitą.",hex:"The :attribute should have hexadecimal format",min:{numeric:"Pole :attribute musi być równe conajmniej :min.",string:"Pole :attribute musi zawierać conajmniej :min znaków."},max:{numeric:"Pole :attribute nie moze być większe :max.",string:"Pole :attribute nie moze być dłuższe niż :max znaków."},not_in:"Pole :attribute nie może należeć do zbioru :not_in.",numeric:"Pole :attribute musi być liczbą.",present:"Polu :attribute musi być obecny (ale może być pusta).",required:"Pole :attribute jest wymagane.",required_if:"Pole :attribute jest wymagane jeśli pole :other jest równe :value.",same:"Pola :attribute i :same muszą być takie same.",size:{numeric:"Pole :attribute musi być równe :size.",string:"Pole :attribute musi zawierać :size znaków."},string:"Pole :attribute musi być ciągiem znaków.",url:"Pole :attribute musi być poprawnym adresem URL.",regex:"Pole :attribute nie spełnia warunku.",attributes:{}}},77536:t=>{t.exports={accepted:"O campo :attribute deverá ser aceite.",active_url:"O campo :attribute não contém um URL válido.",after:"O campo :attribute deverá conter uma data posterior a :date.",after_or_equal:"O campo :attribute deverá conter uma data posterior ou igual a :date.",alpha:"O campo :attribute deverá conter apenas letras.",alpha_dash:"O campo :attribute deverá conter apenas letras, números e traços.",alpha_num:"O campo :attribute deverá conter apenas letras e números .",attributes:{},array:"O campo :attribute deverá conter uma coleção de elementos.",before:"O campo :attribute deverá conter uma data anterior a :date.",before_or_equal:"O Campo :attribute deverá conter uma data anterior ou igual a :date.",between:{numeric:"O campo :attribute deverá ter um valor entre :min - :max.",file:"O campo :attribute deverá ter um tamanho entre :min - :max kilobytes.",string:"O campo :attribute deverá conter entre :min - :max caracteres.",array:"O campo :attribute deverá conter entre :min - :max elementos."},boolean:"O campo :attribute deverá conter o valor verdadeiro ou falso.",confirmed:"A confirmação para o campo :attribute não coincide.",date:"O campo :attribute não contém uma data válida.",date_format:"A data indicada para o campo :attribute não respeita o formato :format.",different:"Os campos :attribute e :other deverão conter valores diferentes.",digits:"O campo :attribute deverá conter :digits caracteres.",digits_between:"O campo :attribute deverá conter entre :min a :max caracteres.",dimensions:"O campo :attribute deverá conter uma dimensão de imagem válida.",distinct:"O campo :attribute contém um valor duplicado.",email:"O campo :attribute não contém um endereço de correio eletrónico válido.",exists:"O valor selecionado para o campo :attribute é inválido.",file:"O campo :attribute deverá conter um ficheiro.",filled:"É obrigatória a indicação de um valor para o campo :attribute.",gt:{numeric:"The :attribute must be greater than :value.",file:"The :attribute must be greater than :value kilobytes.",string:"The :attribute must be greater than :value characters.",array:"The :attribute must have more than :value items."},gte:{numeric:"The :attribute must be greater than or equal :value.",file:"The :attribute must be greater than or equal :value kilobytes.",string:"The :attribute must be greater than or equal :value characters.",array:"The :attribute must have :value items or more."},hex:"The :attribute field should have hexadecimal format",image:"O campo :attribute deverá conter uma imagem.",in:"O campo :attribute não contém um valor válido.",in_array:"O campo :attribute não existe em :other.",integer:"O campo :attribute deverá conter um número inteiro.",ip:"O campo :attribute deverá conter um IP válido.",ipv4:"O campo :attribute deverá conter um IPv4 válido.",ipv6:"O campo :attribute deverá conter um IPv6 válido.",json:"O campo :attribute deverá conter um texto JSON válido.",lt:{numeric:"The :attribute must be less than :value.",file:"The :attribute must be less than :value kilobytes.",string:"The :attribute must be less than :value characters.",array:"The :attribute must have less than :value items."},lte:{numeric:"The :attribute must be less than or equal :value.",file:"The :attribute must be less than or equal :value kilobytes.",string:"The :attribute must be less than or equal :value characters.",array:"The :attribute must not have more than :value items."},max:{numeric:"O campo :attribute não deverá conter um valor superior a :max.",file:"O campo :attribute não deverá ter um tamanho superior a :max kilobytes.",string:"O campo :attribute não deverá conter mais de :max caracteres.",array:"O campo :attribute não deverá conter mais de :max elementos."},mimes:"O campo :attribute deverá conter um ficheiro do tipo: :values.",mimetypes:"O campo :attribute deverá conter um ficheiro do tipo: :values.",min:{numeric:"O campo :attribute deverá ter um valor superior ou igual a :min.",file:"O campo :attribute deverá ter no mínimo :min kilobytes.",string:"O campo :attribute deverá conter no mínimo :min caracteres.",array:"O campo :attribute deverá conter no mínimo :min elementos."},not_in:"O campo :attribute contém um valor inválido.",not_regex:"The :attribute format is invalid.",numeric:"O campo :attribute deverá conter um valor numérico.",present:"O campo :attribute deverá estar presente.",regex:"O formato do valor para o campo :attribute é inválido.",required:"É obrigatória a indicação de um valor para o campo :attribute.",required_if:"É obrigatória a indicação de um valor para o campo :attribute quando o valor do campo :other é igual a :value.",required_unless:"É obrigatória a indicação de um valor para o campo :attribute a menos que :other esteja presente em :values.",required_with:"É obrigatória a indicação de um valor para o campo :attribute quando :values está presente.",required_with_all:"É obrigatória a indicação de um valor para o campo :attribute quando um dos :values está presente.",required_without:"É obrigatória a indicação de um valor para o campo :attribute quando :values não está presente.",required_without_all:"É obrigatória a indicação de um valor para o campo :attribute quando nenhum dos :values está presente.",same:"Os campos :attribute e :other deverão conter valores iguais.",size:{numeric:"O campo :attribute deverá conter o valor :size.",file:"O campo :attribute deverá ter o tamanho de :size kilobytes.",string:"O campo :attribute deverá conter :size caracteres.",array:"O campo :attribute deverá conter :size elementos."},string:"O campo :attribute deverá conter texto.",timezone:"O campo :attribute deverá ter um fuso horário válido.",unique:"O valor indicado para o campo :attribute já se encontra registado.",uploaded:"O upload do ficheiro :attribute falhou.",url:"O formato do URL indicado para o campo :attribute é inválido."}},18217:t=>{t.exports={accepted:"O campo :attribute deve ser aceito.",active_url:"O campo :attribute deve conter uma URL válida.",after:"O campo :attribute deve conter uma data posterior a :date.",after_or_equal:"O campo :attribute deve conter uma data superior ou igual a :date.",alpha:"O campo :attribute deve conter apenas letras.",alpha_dash:"O campo :attribute deve conter apenas letras, números e traços.",alpha_num:"O campo :attribute deve conter apenas letras e números .",array:"O campo :attribute deve conter um array.",before:"O campo :attribute deve conter uma data anterior a :date.",before_or_equal:"O campo :attribute deve conter uma data inferior ou igual a :date.",between:{numeric:"O campo :attribute deve conter um número entre :min e :max.",file:"O campo :attribute deve conter um arquivo de :min a :max kilobytes.",string:"O campo :attribute deve conter entre :min a :max caracteres.",array:"O campo :attribute deve conter de :min a :max itens."},boolean:"O campo :attribute deve conter o valor verdadeiro ou falso.",confirmed:"A confirmação para o campo :attribute não coincide.",date:"O campo :attribute não contém uma data válida.",date_format:"A data informada para o campo :attribute não respeita o formato :format.",different:"Os campos :attribute e :other devem conter valores diferentes.",digits:"O campo :attribute deve conter :digits dígitos.",digits_between:"O campo :attribute deve conter entre :min a :max dígitos.",dimensions:"O valor informado para o campo :attribute não é uma dimensão de imagem válida.",distinct:"O campo :attribute contém um valor duplicado.",email:"O campo :attribute não contém um endereço de email válido.",exists:"O valor selecionado para o campo :attribute é inválido.",file:"O campo :attribute deve conter um arquivo.",filled:"O campo :attribute é obrigatório.",gt:{numeric:"O campo :attribute deve ser maior que :value.",file:"O arquivo :attribute deve ser maior que :value kilobytes.",string:"O campo :attribute deve ser maior que :value caracteres.",array:"O campo :attribute deve ter mais que :value itens."},gte:{numeric:"O campo :attribute deve ser maior ou igual a :value.",file:"O arquivo :attribute deve ser maior ou igual a :value kilobytes.",string:"O campo :attribute deve ser maior ou igual a :value caracteres.",array:"O campo :attribute deve ter :value itens ou mais."},hex:"The :attribute field should have hexadecimal format",image:"O campo :attribute deve conter uma imagem.",in:"O campo :attribute não contém um valor válido.",in_array:"O campo :attribute não existe em :other.",integer:"O campo :attribute deve conter um número inteiro.",ip:"O campo :attribute deve conter um IP válido.",ipv4:"O campo :attribute deve conter um IPv4 válido.",ipv6:"O campo :attribute deve conter um IPv6 válido.",json:"O campo :attribute deve conter uma string JSON válida.",lt:{numeric:"O campo :attribute deve ser menor que :value.",file:"O arquivo :attribute ser menor que :value kilobytes.",string:"O campo :attribute deve ser menor que :value caracteres.",array:"O campo :attribute deve ter menos que :value itens."},lte:{numeric:"O campo :attribute deve ser menor ou igual a :value.",file:"O arquivo :attribute ser menor ou igual a :value kilobytes.",string:"O campo :attribute deve ser menor ou igual a :value caracteres.",array:"O campo :attribute não deve ter mais que :value itens."},max:{numeric:"O campo :attribute não pode conter um valor superior a :max.",file:"O campo :attribute não pode conter um arquivo com mais de :max kilobytes.",string:"O campo :attribute não pode conter mais de :max caracteres.",array:"O campo :attribute deve conter no máximo :max itens."},mimes:"O campo :attribute deve conter um arquivo do tipo: :values.",mimetypes:"O campo :attribute deve conter um arquivo do tipo: :values.",min:{numeric:"O campo :attribute deve conter um número superior ou igual a :min.",file:"O campo :attribute deve conter um arquivo com no mínimo :min kilobytes.",string:"O campo :attribute deve conter no mínimo :min caracteres.",array:"O campo :attribute deve conter no mínimo :min itens."},not_in:"O campo :attribute contém um valor inválido.",not_regex:"O formato do valor :attribute é inválido.",numeric:"O campo :attribute deve conter um valor numérico.",present:"O campo :attribute deve estar presente.",regex:"O formato do valor informado no campo :attribute é inválido.",required:"O campo :attribute é obrigatório.",required_if:"O campo :attribute é obrigatório quando o valor do campo :other é igual a :value.",required_unless:"O campo :attribute é obrigatório a menos que :other esteja presente em :values.",required_with:"O campo :attribute é obrigatório quando :values está presente.",required_with_all:"O campo :attribute é obrigatório quando um dos :values está presente.",required_without:"O campo :attribute é obrigatório quando :values não está presente.",required_without_all:"O campo :attribute é obrigatório quando nenhum dos :values está presente.",same:"Os campos :attribute e :other devem conter valores iguais.",size:{numeric:"O campo :attribute deve conter o número :size.",file:"O campo :attribute deve conter um arquivo com o tamanho de :size kilobytes.",string:"O campo :attribute deve conter :size caracteres.",array:"O campo :attribute deve conter :size itens."},string:"O campo :attribute deve ser uma string.",timezone:"O campo :attribute deve conter um fuso horário válido.",unique:"O valor informado para o campo :attribute já está em uso.",uploaded:"Falha no Upload do arquivo :attribute.",url:"O formato da URL informada para o campo :attribute é inválido."}},4417:t=>{t.exports={accepted:":attribute trebuie acceptat.",after:":attribute trebuie să fie după :after.",after_or_equal:":attribute trebuie să fie egal sau după :after_or_equal.",alpha:"Câmpul :attribute rebuie să conțină numai caractere alfabetice.",alpha_dash:"Câmpul:attribute poate conține numai caractere alfanumerice, precum și liniuțe și subliniere.",alpha_num:"Câmpul :attribute trebuie să fie alfanumeric.",before:":attribute trebuie să fie înainte :before.",before_or_equal:":attribute trebuie să fie egal sau înainte :before_or_equal.",between:":attribute trebuie să fie între :min și :max.",confirmed:"Confirmarea :attribute nu se potrivește.",email:"Formatul :attribute nu este valid.",date:":attribute nu este un format de dată valid.",def:"Atributul :attribute are erori.",digits:":attribute trebuie să aibă  :digits cifre.",digits_between:"Câmpul :attribute trebuie să aibă între :min și :max cifre.",different:":attribute și :different trebuie sa fie diferite.",in:"Atributul selectat :attribute nu este valid.",integer:":attribute trebuie să fie un număr întreg.",hex:"Câmpul :attribute trebuie să aibă format hexazecimal.",min:{numeric:":attribute trebuie să fie mai mare de :min.",string:":attribute trebuie să contină cel puțin :min caractere."},max:{numeric:":attribute nu trebuie să fie mai mare de :max.",string:":attribute poate să contină maxim :max caractere."},not_in:":attribute selectat nu este valid.",numeric:":attribute trebuie sa fie un număr.",present:":attribute trebuie sa fie prezent(dar poate fi gol).",required:" Câmpul :attribute este obligatoriu.",required_if:"Câmpul :attribute este obligatoriu cănd :other este :value.",required_unless:"Câmpul :attribute este obligatoriu cănd :other nu este :value.",required_with:"Câmpul :attribute este obligatoriu cănd :field este completat.",required_with_all:"Câmpul :attribute este obligatoriu cănd :fields sunt completate.",required_without:"Câmpul :attribute este obligatoriu cănd :field nu este completat.",required_without_all:"Câmpul :attribute este obligatoriu cănd :fields nu sunt completate.",same:"Câmpurile :attribute și :same trebuie să fie egale.",size:{numeric:":attribute trebuie să fie :size.",string:":attribute trebuie să contina :size caractere."},string:":attribute trebuie să fie un contina doar caractere alfabetice.",url:"Formatul :attribute nu este valid.",regex:"Formatul :attribute nu este valid.",attributes:{}}},43682:t=>{t.exports={accepted:"Вы должны принять :attribute.",alpha:"Поле :attribute может содержать только буквы.",alpha_dash:"Поле :attribute может содержать только буквы, цифры, дефисы и символы подчёркивания.",alpha_num:"Поле :attribute может содержать только буквы и цифры.",between:"Поле :attribute должно быть между :min и :max.",confirmed:"Поле :attribute не совпадает с подтверждением.",email:"Поле :attribute должно быть действительным электронным адресом.",def:"Поле :attribute содержит ошибки.",digits:"Длина цифрового поля :attribute должна быть :digits.",digits_between:"Длинна цифрового поля :attribute должна быть от :min до :max знаков.",different:"Поля :attribute и :different должны различаться.",in:"Выбранное значение для :attribute ошибочно.",integer:"Поле :attribute должно быть целым числом.",hex:"Поле :attribute должно иметь шестнадцатеричный формат",min:{numeric:"Значение поля :attribute должно быть больше или равно :min.",string:"Количество символов в поле :attribute должно быть не менее :min."},max:{numeric:"Значение поля :attribute должно быть меньше или равно :max.",string:"Количество символов в поле :attribute не может превышать :max."},not_in:"Выбранное значение для :attribute ошибочно.",numeric:"Поле :attribute должно быть числом.",present:"Поле :attribute должно присутствовать (но может быть пустым).",required:"Поле :attribute обязательно для заполнения.",required_if:"Поле :attribute требуется когда значения поля :other равно :value.",same:"Значение :attribute должно совпадать с :same.",size:{numeric:"Значение поля :attribute должно быть равным :size.",string:"Количество символов в поле :attribute должно быть равно :size."},url:"Поле :attribute должно содержать валидный URL.",regex:"Неверный формат поля :attribute.",attributes:{}}},91680:t=>{t.exports={accepted:":attribute måste vara accepterat.",after:":attribute måste vara efter :after.",after_or_equal:":attribute måste vara samtidigt eller efter :after_or_equal.",alpha:":attribute får bara bestå av bokstäver.",alpha_dash:":attribute får bara bestå av alfanumeriska tecken, bindestreck och understreck.",alpha_num:":attribute får bara bestå av alfanumeriska tecken",before:":attribute måste vara före :before.",before_or_equal:":attribute måste vara samtidigt eller före :before_or_equal.",between:":attribute måste vara mellan :min och :max.",confirmed:":attribute stämmer inte överens med bekräftelsefältet.",email:"Felaktigt format för :attribute.",date:":attribute är inte ett giltigt datum.",def:"Attributet :attribute innehåller fel.",digits:":attribute ska innehålla :digits siffror.",different:":attribute och :different måste vara olika.",in:"Det valda :attribute är ogiltigt.",integer:":attribute måste vara ett heltal.",hex:":attribute måste vara i hexadecimalt format",min:{numeric:":attribute måste vara minst :min.",string:":attribute måste vara minst :min tecken."},max:{numeric:":attribute får inte vara högre än :max.",string:":attribute får inte innehålla fler än :max tecken."},not_in:"Det valda attributet :attribute är ogiltigt",numeric:":attribute måste vara en siffra.",present:":attribute måste vara tillgängligt.",required:":attribute måste vara ifyllt.",required_if:":attribute måste vara ifyllt när :other är :value.",required_unless:":attribute måste vara ifyllt när :other inte är :value.",required_with:":attribute måste vara ifyllt när :field är ifyllt.",required_with_all:":attribute måste vara ifyllt när :fields är ifyllda.",required_without:":attribute måste vara ifyllt när :field inte är ifyllt.",required_without_all:":attribute måste vara ifyllt när ingen av :fields är ifyllda.",same:":attribute och :same måste matcha.",size:{numeric:":attribute måste vara :size.",string:":attribute måste vara :size tecken lång."},string:":attribute måste vara en sträng.",url:":attribute formatet är ogiltigt.",regex:":attribute formatet är ogiltigt.",attributes:{}}},48004:t=>{t.exports={accepted:":attribute mora biti sprejet.",active_url:":attribute ni pravilen.",after:":attribute mora biti za datumom :date.",after_or_equal:":attribute mora biti za ali enak :date.",alpha:":attribute lahko vsebuje samo črke.",alpha_dash:":attribute lahko vsebuje samo črke, številke in črtice.",alpha_num:":attribute lahko vsebuje samo črke in številke.",attributes:{},array:":attribute mora biti polje.",before:":attribute mora biti pred datumom :date.",before_or_equal:":attribute mora biti pred ali enak :date.",between:{numeric:":attribute mora biti med :min in :max.",file:":attribute mora biti med :min in :max kilobajti.",string:":attribute mora biti med :min in :max znaki.",array:":attribute mora imeti med :min in :max elementov."},boolean:":attribute polje mora biti 1 ali 0",confirmed:":attribute potrditev se ne ujema.",date:":attribute ni veljaven datum.",date_format:":attribute se ne ujema z obliko :format.",different:":attribute in :other mora biti drugačen.",digits:":attribute mora imeti :digits cifer.",digits_between:":attribute mora biti med :min in :max ciframi.",dimensions:":attribute ima napačne dimenzije slike.",distinct:":attribute je duplikat.",email:":attribute mora biti veljaven e-poštni naslov.",exists:"izbran :attribute je neveljaven.",file:":attribute mora biti datoteka.",filled:":attribute mora biti izpolnjen.",gt:{numeric:"The :attribute must be greater than :value.",file:"The :attribute must be greater than :value kilobytes.",string:"The :attribute must be greater than :value characters.",array:"The :attribute must have more than :value items."},gte:{numeric:"The :attribute must be greater than or equal :value.",file:"The :attribute must be greater than or equal :value kilobytes.",string:"The :attribute must be greater than or equal :value characters.",array:"The :attribute must have :value items or more."},hex:"The :attribute field should have hexadecimal format",image:":attribute mora biti slika.",in:"izbran :attribute je neveljaven.",in_array:":attribute ne obstaja v :other.",integer:":attribute mora biti število.",ip:":attribute mora biti veljaven IP naslov.",ipv4:":attribute mora biti veljaven IPv4 naslov.",ipv6:":attribute mora biti veljaven IPv6 naslov.",json:":attribute mora biti veljaven JSON tekst.",lt:{numeric:"The :attribute must be less than :value.",file:"The :attribute must be less than :value kilobytes.",string:"The :attribute must be less than :value characters.",array:"The :attribute must have less than :value items."},lte:{numeric:"The :attribute must be less than or equal :value.",file:"The :attribute must be less than or equal :value kilobytes.",string:"The :attribute must be less than or equal :value characters.",array:"The :attribute must not have more than :value items."},max:{numeric:":attribute ne sme biti večje od :max.",file:":attribute ne sme biti večje :max kilobajtov.",string:":attribute ne sme biti večje :max znakov.",array:":attribute ne smejo imeti več kot :max elementov."},mimes:":attribute mora biti datoteka tipa: :values.",mimetypes:":attribute mora biti datoteka tipa: :values.",min:{numeric:":attribute mora biti vsaj dolžine :min.",file:":attribute mora imeti vsaj :min kilobajtov.",string:":attribute mora imeti vsaj :min znakov.",array:":attribute mora imeti vsaj :min elementov."},not_in:"izbran :attribute je neveljaven.",not_regex:"The :attribute format is invalid.",numeric:":attribute mora biti število.",present:"Polje :attribute mora biti prisotno.",regex:"Format polja :attribute je neveljaven.",required:"Polje :attribute je obvezno.",required_if:"Polje :attribute je obvezno, če je :other enak :value.",required_unless:"Polje :attribute je obvezno, razen če je :other v :values.",required_with:"Polje :attribute je obvezno, če je :values prisoten.",required_with_all:"Polje :attribute je obvezno, če so :values prisoten.",required_without:"Polje :attribute je obvezno, če :values ni prisoten.",required_without_all:"Polje :attribute je obvezno, če :values niso prisotni.",same:"Polje :attribute in :other se morata ujemati.",size:{numeric:":attribute mora biti :size.",file:":attribute mora biti :size kilobajtov.",string:":attribute mora biti :size znakov.",array:":attribute mora vsebovati :size elementov."},string:":attribute mora biti tekst.",timezone:":attribute mora biti časovna cona.",unique:":attribute je že zaseden.",uploaded:"Nalaganje :attribute ni uspelo.",url:":attribute format je neveljaven."}},71935:t=>{t.exports={accepted:":attribute duhet të pranohet.",active_url:":attribute nuk është adresë e saktë.",after:":attribute duhet të jetë datë pas :date.",after_or_equal:"The :attribute must be a date after or equal to :date.",alpha:":attribute mund të përmbajë vetëm shkronja.",alpha_dash:":attribute mund të përmbajë vetëm shkronja, numra, dhe viza.",alpha_num:":attribute mund të përmbajë vetëm shkronja dhe numra.",attributes:{},array:":attribute duhet të jetë një bashkësi (array).",before:":attribute duhet të jetë datë para :date.",before_or_equal:"The :attribute must be a date before or equal to :date.",between:{numeric:":attribute duhet të jetë midis :min - :max.",file:":attribute duhet të jetë midis :min - :max kilobajtëve.",string:":attribute duhet të jetë midis :min - :max karaktereve.",array:":attribute duhet të jetë midis :min - :max elementëve."},boolean:"Fusha :attribute duhet të jetë e vërtetë ose e gabuar",confirmed:":attribute konfirmimi nuk përputhet.",date:":attribute nuk është një datë e saktë.",date_format:":attribute nuk i përshtatet formatit :format.",different:":attribute dhe :other duhet të jenë të ndryshme.",digits:":attribute duhet të jetë :digits shifra.",digits_between:":attribute duhet të jetë midis :min dhe :max shifra.",dimensions:"The :attribute has invalid image dimensions.",distinct:"The :attribute field has a duplicate value.",email:":attribute formati është i pasaktë.",exists:":attribute përzgjedhur është i/e pasaktë.",file:"The :attribute must be a file.",filled:"Fusha :attribute është e kërkuar.",gt:{numeric:"The :attribute must be greater than :value.",file:"The :attribute must be greater than :value kilobytes.",string:"The :attribute must be greater than :value characters.",array:"The :attribute must have more than :value items."},gte:{numeric:"The :attribute must be greater than or equal :value.",file:"The :attribute must be greater than or equal :value kilobytes.",string:"The :attribute must be greater than or equal :value characters.",array:"The :attribute must have :value items or more."},hex:"The :attribute field should have hexadecimal format",image:":attribute duhet të jetë imazh.",in:":attribute përzgjedhur është i/e pasaktë.",in_array:"The :attribute field does not exist in :other.",integer:":attribute duhet të jetë numër i plotë.",ip:":attribute duhet të jetë një IP adresë e saktë.",ipv4:"The :attribute must be a valid IPv4 address.",ipv6:"The :attribute must be a valid IPv6 address.",json:"The :attribute must be a valid JSON string.",lt:{numeric:"The :attribute must be less than :value.",file:"The :attribute must be less than :value kilobytes.",string:"The :attribute must be less than :value characters.",array:"The :attribute must have less than :value items."},lte:{numeric:"The :attribute must be less than or equal :value.",file:"The :attribute must be less than or equal :value kilobytes.",string:"The :attribute must be less than or equal :value characters.",array:"The :attribute must not have more than :value items."},max:{numeric:":attribute nuk mund të jetë më tepër se :max.",file:":attribute nuk mund të jetë më tepër se :max kilobajtë.",string:":attribute nuk mund të jetë më tepër se :max karaktere.",array:":attribute nuk mund të ketë më tepër se :max elemente."},mimes:":attribute duhet të jetë një dokument i tipit: :values.",mimetypes:":attribute duhet të jetë një dokument i tipit: :values.",min:{numeric:":attribute nuk mund të jetë më pak se :min.",file:":attribute nuk mund të jetë më pak se :min kilobajtë.",string:":attribute nuk mund të jetë më pak se :min karaktere.",array:":attribute nuk mund të ketë më pak se :min elemente."},not_in:":attribute përzgjedhur është i/e pasaktë.",not_regex:"The :attribute format is invalid.",numeric:":attribute duhet të jetë një numër.",present:"The :attribute field must be present.",regex:"Formati i :attribute është i pasaktë.",required:"Fusha :attribute është e kërkuar.",required_if:"Fusha :attribute është e kërkuar kur :other është :value.",required_unless:"The :attribute field is required unless :other is in :values.",required_with:"Fusha :attribute është e kërkuar kur :values ekziston.",required_with_all:"Fusha :attribute është e kërkuar kur :values ekziston.",required_without:"Fusha :attribute është e kërkuar kur :values nuk ekziston.",required_without_all:"Fusha :attribute është e kërkuar kur nuk ekziston asnjë nga :values.",same:":attribute dhe :other duhet të përputhen.",size:{numeric:":attribute duhet të jetë :size.",file:":attribute duhet të jetë :size kilobajtë.",string:":attribute duhet të jetë :size karaktere.",array:":attribute duhet të ketë :size elemente."},string:":attribute duhet të jetë varg.",timezone:":attribute duhet të jetë zonë e saktë.",unique:":attribute është marrë tashmë.",uploaded:"The :attribute failed to upload.",url:"Formati i :attribute është i pasaktë."}},40987:t=>{t.exports={accepted:"Polje :attribute mora biti prihvaćeno.",active_url:"Polje :attribute nije validan URL.",after:"Polje :attribute mora biti datum posle :date.",after_or_equal:"The :attribute must be a date after or equal to :date.",alpha:"Polje :attribute može sadržati samo slova.",alpha_dash:"Polje :attribute može sadržati samo slova, brojeve i povlake.",alpha_num:"Polje :attribute može sadržati samo slova i brojeve.",attributes:{},array:"Polje :attribute mora sadržati nekih niz stavki.",before:"Polje :attribute mora biti datum pre :date.",before_or_equal:"The :attribute must be a date before or equal to :date.",between:{numeric:"Polje :attribute mora biti između :min - :max.",file:"Fajl :attribute mora biti između :min - :max kilobajta.",string:"Polje :attribute mora biti između :min - :max karaktera.",array:"Polje :attribute mora biti između :min - :max stavki."},boolean:"Polje :attribute mora biti tačno ili netačno",confirmed:"Potvrda polja :attribute se ne poklapa.",date:"Polje :attribute nije važeći datum.",date_format:"Polje :attribute ne odgovora prema formatu :format.",different:"Polja :attribute i :other moraju biti različita.",digits:"Polje :attribute mora sadržati :digits šifri.",digits_between:"Polje :attribute mora biti izemđu :min i :max šifri.",dimensions:"The :attribute has invalid image dimensions.",distinct:"The :attribute field has a duplicate value.",email:"Format polja :attribute nije validan.",exists:"Odabrano polje :attribute nije validno.",file:"The :attribute must be a file.",filled:"Polje :attribute je obavezno.",gt:{numeric:"The :attribute must be greater than :value.",file:"The :attribute must be greater than :value kilobytes.",string:"The :attribute must be greater than :value characters.",array:"The :attribute must have more than :value items."},gte:{numeric:"The :attribute must be greater than or equal :value.",file:"The :attribute must be greater than or equal :value kilobytes.",string:"The :attribute must be greater than or equal :value characters.",array:"The :attribute must have :value items or more."},hex:"The :attribute field should have hexadecimal format",image:"Polje :attribute mora biti slika.",in:"Odabrano polje :attribute nije validno.",in_array:"The :attribute field does not exist in :other.",integer:"Polje :attribute mora biti broj.",ip:"Polje :attribute mora biti validna IP adresa.",ipv4:"The :attribute must be a valid IPv4 address.",ipv6:"The :attribute must be a valid IPv6 address.",json:"The :attribute must be a valid JSON string.",lt:{numeric:"The :attribute must be less than :value.",file:"The :attribute must be less than :value kilobytes.",string:"The :attribute must be less than :value characters.",array:"The :attribute must have less than :value items."},lte:{numeric:"The :attribute must be less than or equal :value.",file:"The :attribute must be less than or equal :value kilobytes.",string:"The :attribute must be less than or equal :value characters.",array:"The :attribute must not have more than :value items."},max:{numeric:"Polje :attribute mora biti manje od :max.",file:"Polje :attribute mora biti manje od :max kilobajta.",string:"Polje :attribute mora sadržati manje od :max karaktera.",array:"Polje :attribute ne smije da image više od :max stavki."},mimes:"Polje :attribute mora biti fajl tipa: :values.",mimetypes:"Polje :attribute mora biti fajl tipa: :values.",min:{numeric:"Polje :attribute mora biti najmanje :min.",file:"Fajl :attribute mora biti najmanje :min kilobajta.",string:"Polje :attribute mora sadržati najmanje :min karaktera.",array:"Polje :attribute mora sadrzati najmanje :min stavku."},not_in:"Odabrani element polja :attribute nije validan.",not_regex:"The :attribute format is invalid.",numeric:"Polje :attribute mora biti broj.",present:"The :attribute field must be present.",regex:"Format polja :attribute nije validan.",required:"Polje :attribute je obavezno.",required_if:"Polje :attribute je potrebno kada polje :other sadrži :value.",required_unless:"The :attribute field is required unless :other is in :values.",required_with:"Polje :attribute je potrebno kada polje :values je prisutan.",required_with_all:"Polje :attribute je obavezno kada je :values prikazano.",required_without:"Polje :attribute je potrebno kada polje :values nije prisutan.",required_without_all:"Polje :attribute je potrebno kada nijedan od sledeći polja :values nisu prisutni.",same:"Polja :attribute i :other se moraju poklapati.",size:{numeric:"Polje :attribute mora biti :size.",file:"Fajl :attribute mora biti :size kilobajta.",string:"Polje :attribute mora biti :size karaktera.",array:"Polje :attribute mora sadržati :size stavki."},string:"Polje :attribute mora sadržati slova.",timezone:"Polje :attribute mora biti ispravna vremenska zona.",unique:"Polje :attribute već postoji.",uploaded:"The :attribute failed to upload.",url:"Format polja :attribute ne važi."}},87758:t=>{t.exports={accepted:":attribute måste accepteras.",active_url:":attribute är inte en giltig webbadress.",after:":attribute måste vara ett datum efter den :date.",after_or_equal:":attribute måste vara ett datum senare eller samma dag som :date.",alpha:":attribute får endast innehålla bokstäver.",alpha_dash:":attribute får endast innehålla bokstäver, siffror och bindestreck.",alpha_num:":attribute får endast innehålla bokstäver och siffror.",array:":attribute måste vara en array.",before:":attribute måste vara ett datum innan den :date.",before_or_equal:":attribute måste vara ett datum före eller samma dag som :date.",between:{numeric:":attribute måste vara en siffra mellan :min och :max.",file:":attribute måste vara mellan :min till :max kilobyte stor.",string:":attribute måste innehålla :min till :max tecken.",array:":attribute måste innehålla mellan :min - :max objekt."},boolean:":attribute måste vara sant eller falskt.",confirmed:":attribute bekräftelsen matchar inte.",date:":attribute är inte ett giltigt datum.",date_format:":attribute matchar inte formatet :format.",different:":attribute och :other får inte vara lika.",digits:":attribute måste vara :digits tecken.",digits_between:":attribute måste vara mellan :min och :max tecken.",dimensions:":attribute har felaktiga bilddimensioner.",distinct:":attribute innehåller fler än en repetition av samma element.",email:":attribute måste innehålla en korrekt e-postadress.",exists:":attribute är ogiltigt.",file:":attribute måste vara en fil.",filled:":attribute är obligatoriskt.",gt:{numeric:":attribute måste vara större än :value.",file:":attribute måste vara större än :value kilobyte stor.",string:":attribute måste vara längre än :value tecken.",array:":attribute måste innehålla fler än :value objekt."},gte:{numeric:":attribute måste vara lika med eller större än :value.",file:":attribute måste vara lika med eller större än :value kilobyte stor.",string:":attribute måste vara lika med eller längre än :value tecken.",array:":attribute måste innehålla lika många eller fler än :value objekt."},hex:"The :attribute field should have hexadecimal format",image:":attribute måste vara en bild.",in:":attribute är ogiltigt.",in_array:":attribute finns inte i :other.",integer:":attribute måste vara en siffra.",ip:":attribute måste vara en giltig IP-adress.",ipv4:":attribute måste vara en giltig IPv4-adress.",ipv6:":attribute måste vara en giltig IPv6-adress.",json:":attribute måste vara en giltig JSON-sträng.",lt:{numeric:":attribute måste vara mindre än :value.",file:":attribute måste vara mindre än :value kilobyte stor.",string:":attribute måste vara kortare än :value tecken.",array:":attribute måste innehålla färre än :value objekt."},lte:{numeric:":attribute måste vara lika med eller mindre än :value.",file:":attribute måste vara lika med eller mindre än :value kilobyte stor.",string:":attribute måste vara lika med eller kortare än :value tecken.",array:":attribute måste innehålla lika många eller färre än :value objekt."},max:{numeric:":attribute får inte vara större än :max.",file:":attribute får max vara :max kilobyte stor.",string:":attribute får max innehålla :max tecken.",array:":attribute får inte innehålla mer än :max objekt."},mimes:":attribute måste vara en fil av typen: :values.",mimetypes:":attribute måste vara en fil av typen: :values.",min:{numeric:":attribute måste vara större än :min.",file:":attribute måste vara minst :min kilobyte stor.",string:":attribute måste innehålla minst :min tecken.",array:":attribute måste innehålla minst :min objekt."},not_in:":attribute är ogiltigt.",not_regex:"Formatet för :attribute är ogiltigt.",numeric:":attribute måste vara en siffra.",present:":attribute måste finnas med.",regex:":attribute har ogiltigt format.",required:":attribute är obligatoriskt.",required_if:":attribute är obligatoriskt när :other är :value.",required_unless:":attribute är obligatoriskt när inte :other finns bland :values.",required_with:":attribute är obligatoriskt när :values är ifyllt.",required_with_all:":attribute är obligatoriskt när :values är ifyllt.",required_without:":attribute är obligatoriskt när :values ej är ifyllt.",required_without_all:":attribute är obligatoriskt när ingen av :values är ifyllt.",same:":attribute och :other måste vara lika.",size:{numeric:":attribute måste vara :size.",file:":attribute får endast vara :size kilobyte stor.",string:":attribute måste innehålla :size tecken.",array:":attribute måste innehålla :size objekt."},string:":attribute måste vara en sträng.",timezone:":attribute måste vara en giltig tidszon.",unique:":attribute används redan.",uploaded:":attribute kunde inte laddas upp.",url:":attribute har ett ogiltigt format."}},25603:t=>{t.exports={accepted:":attribute kabul edilmeli.",after:":attribute alanı :after alanından sonra olmalıdır.",after_or_equal:":attribute alanı :after_or_equal alanına eşit veya sonra olmalıdır.",alpha:":attribute alanı sadece harflerden oluşabilir.",alpha_dash:":attribute alanı sadece alfa-nümerik, tire ve alt çizgi karakterlerden oluşabilir.",alpha_num:":attribute alanı alfa-nümerik olmalıdır.",before:":attribute alanı :before alanından önce olmalıdır.",before_or_equal:":attribute alanı :before_or_equal alanına eşit veya önce olmalıdır.",between:":attribute alanı :min ile :max arasında olabilir.",confirmed:":attribute uyuşmuyor.",email:":attribute formatı geçersiz.",date:":attribute geöerli bir tarih alanı değil.",def:":attribute hatalar içeriyor.",digits:":attribute sadece rakamlardan oluşabilir.",digits_between:":attribute :min ile :max arasında rakam olmalıdır.",different:":attribute ve :different farklı olmalı.",in:"Seçilen :attribute geçerli değil.",integer:":attribute tam sayı olmalı.",hex:":attribute onaltılık formatta olmalı.",min:{numeric:":attribute en az :min olmalı.",string:":attribute en az :min karakter uzunluğunda olmalı."},max:{numeric:":attribute en çok :max olabilir.",string:":attribute uzunluğu en çok :max karakter uzunluğunda olabilir."},not_in:"Seçilen :attribute geçerli değil.",numeric:":attribute sayı olmalı.",present:":attribute alanı bulunmalıdır (ancak boş olabilir).",required:":attribute alanı gerekli.",required_if:":attribute alanı :other alanı :value olduğunda gerekli.",required_unless:":attribute alanı :other alanı :value değilse gereklidir.",required_with:":attribute alanı :field boş değilse gereklidir.",required_with_all:":attribute alanı :fields alanları boş değilse gereklidir.",required_without:":attribute alanı :field alanı boşsa gereklidir.",required_without_all:":attribute alanı :fields alanları boşsa gereklidir.",same:":attribute ve :same aynı olmalı.",size:{numeric:":attribute :size olmalı.",string:":attribute :size karakter uzunluğunda olmalı."},string:":attribute alfa-numerik olmalı.",url:":attribute formatı geçersiz.",regex:":attribute formatı geçersiz.",attributes:{}}},85152:t=>{t.exports={accepted:":attribute повиннен бути прийнятий.",alpha:"Поле :attribute може складатись тільки з літер.",alpha_dash:"Поле :attribute може складатись тільки з літер, чисел, дефісів та символів підкреслення.",alpha_num:"Поле :attribute може складатись тільки з літер та чисел.",between:"Значення поля :attribute повинно знаходитись між :min і :max.",confirmed:"Поле :attribute не співпадає з підтвердженням.",email:"Значення поля :attribute повинно бути існуючою електронною адресою.",def:"Поле :attribute містить помилки.",digits:"Довжина числового поля :attribute повинна бути :digits.",digits_between:"Довжина цифрового поля :attribute повинна бути від :min до :max.",different:"Поля :attribute і :different повинні відрізнятись.",in:"Обране значення для :attribute помилкове.",integer:"Значення поля :attribute повинно бути цілим числом.",hex:"Значення поля :attribute повинно бути шістнадцяткового формату",min:{numeric:"Значення поля :attribute повинно бути більшим або рівним :min.",string:"Кількість символів в полі :attribute повинна бути не менше :min."},max:{numeric:"Значення поля :attribute повинно бути менше або рівне :max.",string:"Кількість символів в полі :attribute не може превищувати :max."},not_in:"Обране значення для :attribute помилкове.",numeric:"Значення поля :attribute повинно бути числом.",present:"Поле :attribute повинно бути присутнім (але може бути пустим).",required:"Поле :attribute обов'язкове для заповнення.",required_if:"Поле :attribute потрібне у випадку коли значення поля :other рівне :value.",same:"Значеня поля :attribute повинно співпадати з :same.",size:{numeric:"Значення поля :attribute повинно бути рівним :size.",string:"Кількість символів в полі :attribute повинна бути рівною :size."},url:"Поле :attribute повинне містити валідний URL.",regex:"Неправильний формат значення :attribute.",attributes:{}}},93977:t=>{t.exports={accepted:"Ви повинні прийняти :attribute.",active_url:"Поле :attribute не є правильним URL.",after:"Поле :attribute має містити дату не раніше :date.",after_or_equal:"Поле :attribute має містити дату не раніше або дорівнюватися :date.",alpha:"Поле :attribute має містити лише літери.",alpha_dash:"Поле :attribute має містити лише літери, цифри та підкреслення.",alpha_num:"Поле :attribute має містити лише літери та цифри.",attributes:{},array:"Поле :attribute має бути масивом.",before:"Поле :attribute має містити дату не пізніше :date.",before_or_equal:"Поле :attribute має містити дату не пізніше або дорівнюватися :date.",between:{numeric:"Поле :attribute має бути між :min та :max.",file:"Розмір файлу в полі :attribute має бути не менше :min та не більше :max кілобайт.",string:"Текст в полі :attribute має бути не менше :min та не більше :max символів.",array:"Поле :attribute має містити від :min до :max елементів."},boolean:"Поле :attribute повинне містити логічний тип.",confirmed:"Поле :attribute не збігається з підтвердженням.",date:"Поле :attribute не є датою.",date_format:"Поле :attribute не відповідає формату :format.",different:"Поля :attribute та :other повинні бути різними.",digits:"Довжина цифрового поля :attribute повинна дорівнювати :digits.",digits_between:"Довжина цифрового поля :attribute повинна бути від :min до :max.",dimensions:"Поле :attribute містіть неприпустимі розміри зображення.",distinct:"Поле :attribute містить значення, яке дублюється.",email:"Поле :attribute повинне містити коректну електронну адресу.",file:"Поле :attribute має містити файл.",filled:"Поле :attribute є обов'язковим для заповнення.",exists:"Вибране для :attribute значення не коректне.",gt:{numeric:"The :attribute must be greater than :value.",file:"The :attribute must be greater than :value kilobytes.",string:"The :attribute must be greater than :value characters.",array:"The :attribute must have more than :value items."},gte:{numeric:"The :attribute must be greater than or equal :value.",file:"The :attribute must be greater than or equal :value kilobytes.",string:"The :attribute must be greater than or equal :value characters.",array:"The :attribute must have :value items or more."},hex:"The :attribute field should have hexadecimal format",image:"Поле :attribute має містити зображення.",in:"Вибране для :attribute значення не коректне.",in_array:"Значення поля :attribute не міститься в :other.",integer:"Поле :attribute має містити ціле число.",ip:"Поле :attribute має містити IP адресу.",ipv4:"Поле :attribute має містити IPv4 адресу.",ipv6:"Поле :attribute має містити IPv6 адресу.",json:"Дані поля :attribute мають бути в форматі JSON.",lt:{numeric:"The :attribute must be less than :value.",file:"The :attribute must be less than :value kilobytes.",string:"The :attribute must be less than :value characters.",array:"The :attribute must have less than :value items."},lte:{numeric:"The :attribute must be less than or equal :value.",file:"The :attribute must be less than or equal :value kilobytes.",string:"The :attribute must be less than or equal :value characters.",array:"The :attribute must not have more than :value items."},max:{numeric:"Поле :attribute має бути не більше :max.",file:"Файл в полі :attribute має бути не більше :max кілобайт.",string:"Текст в полі :attribute повинен мати довжину не більшу за :max.",array:"Поле :attribute повинне містити не більше :max елементів."},mimes:"Поле :attribute повинне містити файл одного з типів: :values.",mimetypes:"Поле :attribute повинне містити файл одного з типів: :values.",min:{numeric:"Поле :attribute повинне бути не менше :min.",file:"Розмір файлу в полі :attribute має бути не меншим :min кілобайт.",string:"Текст в полі :attribute повинен містити не менше :min символів.",array:"Поле :attribute повинне містити не менше :min елементів."},not_in:"Вибране для :attribute значення не коректне.",not_regex:"The :attribute format is invalid.",numeric:"Поле :attribute повинно містити число.",present:"Поле :attribute повинне бути присутнє.",regex:"Поле :attribute має хибний формат.",required:"Поле :attribute є обов'язковим для заповнення.",required_if:"Поле :attribute є обов'язковим для заповнення, коли :other є рівним :value.",required_unless:"Поле :attribute є обов'язковим для заповнення, коли :other відрізняється від :values",required_with:"Поле :attribute є обов'язковим для заповнення, коли :values вказано.",required_with_all:"Поле :attribute є обов'язковим для заповнення, коли :values вказано.",required_without:"Поле :attribute є обов'язковим для заповнення, коли :values не вказано.",required_without_all:"Поле :attribute є обов'язковим для заповнення, коли :values не вказано.",same:"Поля :attribute та :other мають співпадати.",size:{numeric:"Поле :attribute має бути довжини :size.",file:"Файл в полі :attribute має бути розміром :size кілобайт.",string:"Текст в полі :attribute повинен містити :size символів.",array:"Поле :attribute повинне містити :size елементів."},string:"Поле :attribute повинне містити текст.",timezone:"Поле :attribute повинне містити коректну часову зону.",unique:"Таке значення поля :attribute вже існує.",uploaded:"Завантаження поля :attribute не вдалося.",url:"Формат поля :attribute неправильний."}},50320:t=>{t.exports={accepted:":attribute phải được chấp nhận.",alpha:"Trường :attribute phải là ký tự",alpha_dash:":attribute chỉ chấp nhận ký tự chữ cái, số, dấu gạch chéo và gạch dưới.",alpha_num:":attribute phải là ký tự chữ cái hoặc chữ số.",between:":attribute phải nằm trong khoảng :min và :max.",confirmed:":attribute xác nhận không trùng khớp.",email:":attribute không phải là email.",date:":attribute không phải là ngày hợp lệ",def:"Thuộc tính :attribute có lỗi.",digits:":attribute phải là số và có chiều dài bằng :digits.",digits_between:"Độ dài của trường :attribute phải nằm trong khoảng :min and :max chữ số.",different:"Giá trị của hai trường :attribute và :different phải khác nhau.",in:"Giá trị được chọn của :attribute không hợp lệ.",integer:":attribute phải là số nguyên.",hex:"The :attribute should have hexadecimal format",min:{numeric:":attribute phải lớn hơn hoặc bằng :min.",string:":attribute phải có ít nhất :min ký tự."},max:{numeric:":attribute phải nhỏ hơn hoặc bằng :max.",string:":attribute phải có ít hơn :max ký tự."},not_in:"Giá trị được chọn của trường :attribute không hợp lệ.",numeric:":attribute phải là số.",present:"Trường :attribute phải có mặt (nhưng có thể để trống).",required:":attribute bắt buộc nhập.",required_if:":attribute là bắt buộc khi :other có giá trị :value.",same:"Giá trị của :attribute và :same phải như nhau.",size:{numeric:":attribute phải có chiều dài của bằng :size.",string:"Số ký tự của :attribute phải là :size ký tự."},string:":attribute không phải là một chuỗi",url:":attribute không phải là một Url hợp lệ.",regex:":attribute không đúng định dạng",attributes:{}}},46291:t=>{t.exports={accepted:":attribute必须是可接受的.",alpha:":attribute只能包含字母.",alpha_dash:":attribute只能包含字母,连字符和下划线.",alpha_num:":attribute只能包含字母和数字.",between:":attribute的(大小,长度等)只能在:min和:max之间.",confirmed:":attribute确认不一致.",email:":attribute格式不正确.",date:":attribute日期格式错误.",def:":attribute属性错误.",digits:":attribute必须是:digits位小数.",digits_between:":attribute 必须是介于 :min 和 :max 位的数字。",different:":attribute和:different必须不同.",in:"选择的:attribute无效",integer:":attribute必须是一个整数.",hex:"The :attribute should have hexadecimal format",min:{numeric:":attribute不能小于:min.",string:":attribute长度不能小于:min."},max:{numeric:":attribute不能大于:max.",string:":attribute长度不能大于:max."},not_in:"所选的:attribute无效.",numeric:":attribute必须是一个数字.",present:"The :attribute field must be present (but can be empty).",required:":attribute不能为空.",required_if:"当:other是:value时,:attribute不能为空.",same:":attribute和:same必须一致.",size:{numeric:":attribute必须等于:size.",string:":attribute的长度必须等于:size."},string:":attribute必须是一个字符串.",url:":attribute格式不正确.",regex:":attribute格式不正确.",attributes:{}}},21063:t=>{t.exports={accepted:":attribute必須接受。",alpha:":attribute只能包含字母。",alpha_dash:":attribute只能包含字母，連字符和下划線。",alpha_num:":attribute只能包含字母和數字。",between:":attribute的值只能在:min和:max之間。",confirmed:":attribute與確認輸入不一致。",email:":attribute的格式錯誤。",date:":attribute的日期格式錯誤。",def:":attribute屬性錯誤。",digits:":attribute必須是:digits位小數。",digits_between:":attribute 必須介於 :min 至 :max 位數字。",different:":attribute和:different必須不同。",in:"選擇的:attribute無效",integer:":attribute必須是一個整數。",hex:":attribute 必須是十六進位格式",min:{numeric:":attribute不能小於:min。",string:":attribute的長度不能小於:min."},max:{numeric:":attribute不能大於:max。",string:":attribute的長度不能大於:max."},not_in:"所選的:attribute無效。",numeric:":attribute必須是一個數字。",present:":attribute 一定要有值 (可以是空值)。",required:":attribute不能空白。",required_if:"當:other是:value時,:attribute不能空白。",same:":attribute和:same必須一致。",size:{numeric:":attribute必須等於:size。",string:":attribute的長度必須等於:size."},string:":attribute必須是一個字串。",url:":attribute格式不正確。",regex:":attribute格式不正確。",attributes:{}}},37518:(t,e,i)=>{var r={"./ar":60897,"./ar.js":60897,"./az":58872,"./az.js":58872,"./be":77900,"./be.js":77900,"./bg":12678,"./bg.js":12678,"./bs":8120,"./bs.js":8120,"./ca":83540,"./ca.js":83540,"./cs":99838,"./cs.js":99838,"./cy":71018,"./cy.js":71018,"./da":89490,"./da.js":89490,"./de":40299,"./de.js":40299,"./el":34325,"./el.js":34325,"./en":2363,"./en.js":2363,"./es":95789,"./es.js":95789,"./et":24463,"./et.js":24463,"./eu":12518,"./eu.js":12518,"./fa":32613,"./fa.js":32613,"./fi":37990,"./fi.js":37990,"./fr":94339,"./fr.js":94339,"./hr":51502,"./hr.js":51502,"./hu":13254,"./hu.js":13254,"./id":30576,"./id.js":30576,"./it":3189,"./it.js":3189,"./ja":86054,"./ja.js":86054,"./ka":61064,"./ka.js":61064,"./ko":38929,"./ko.js":38929,"./lt":64391,"./lt.js":64391,"./lv":62247,"./lv.js":62247,"./mk":25058,"./mk.js":25058,"./mn":78541,"./mn.js":78541,"./ms":80994,"./ms.js":80994,"./nb_NO":51474,"./nb_NO.js":51474,"./nl":15675,"./nl.js":15675,"./pl":32555,"./pl.js":32555,"./pt":77536,"./pt.js":77536,"./pt_BR":18217,"./pt_BR.js":18217,"./ro":4417,"./ro.js":4417,"./ru":43682,"./ru.js":43682,"./se":91680,"./se.js":91680,"./sl":48004,"./sl.js":48004,"./sq":71935,"./sq.js":71935,"./sr":40987,"./sr.js":40987,"./sv":87758,"./sv.js":87758,"./tr":25603,"./tr.js":25603,"./ua":85152,"./ua.js":85152,"./uk":93977,"./uk.js":93977,"./vi":50320,"./vi.js":50320,"./zh":46291,"./zh.js":46291,"./zh_TW":21063,"./zh_TW.js":21063};function a(t){var e=n(t);return i(e)}function n(t){if(!i.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}a.keys=function(){return Object.keys(r)},a.resolve=n,t.exports=a,a.id=37518},16674:(t,e,i)=>{var r=i(97426),a=function(t,e){this.lang=t,this.messages=e,this.customMessages={},this.attributeNames={}};a.prototype={constructor:a,_setCustom:function(t){this.customMessages=t||{}},_setAttributeNames:function(t){this.attributeNames=t},_setAttributeFormatter:function(t){this.attributeFormatter=t},_getAttributeName:function(t){var e=t;return this.attributeNames.hasOwnProperty(t)?this.attributeNames[t]:(this.messages.attributes.hasOwnProperty(t)&&(e=this.messages.attributes[t]),this.attributeFormatter&&(e=this.attributeFormatter(e)),e)},all:function(){return this.messages},render:function(t){if(t.customMessage)return t.customMessage;var e=this._getTemplate(t);return r.replacements[t.name]?r.replacements[t.name].apply(this,[e,t]):this._replacePlaceholders(t,e,{})},_getTemplate:function(t){for(var e,i=this.messages,r=i.def,a=this.customMessages,n=[t.name+"."+t.attribute,t.name],o=0;o<n.length;o++){if(e=n[o],a.hasOwnProperty(e)){r=a[e];break}if(i.hasOwnProperty(e)){r=i[e];break}}return"object"==typeof r&&(r=r[t._getValueType()]),r},_replacePlaceholders:function(t,e,i){var r,a;if(i.attribute=this._getAttributeName(t.attribute),i[t.name]=i[t.name]||t.getParameters().join(","),"string"==typeof e&&"object"==typeof i)for(a in r=e,i)r=r.replace(new RegExp(":"+a,"g"),i[a]);return r}},t.exports=a},70534:t=>{function e(t){let e;if("number"==typeof t&&(e=new Date(t),"object"==typeof e))return!0;if(e=new Date(t),"object"==typeof e)return"Invalid Date"!==e.toString()&&!!function(t=""){if(10===t.length){let i=t.replace(".","-").replace("/","-").split("-");if(3===i.length&&4===i[0].length){let t=parseInt(i[0]),r=parseInt(i[1]),a=parseInt(i[2]);if(2===r)if((e=t)%4==0&&e%100!=0||e%400==0){if(a>29)return!1}else if(a>28)return!1;if((4===r||6===r||9===r||11===r)&&a>30)return!1}return!0}var e;return!0}(t);if(!/^\d{4}\-\d{1,2}\-\d{1,2}$/.test(t))return!1;var i=t.split("-"),r=parseInt(i[2],10),a=parseInt(i[1],10),n=parseInt(i[0],10);if(n<1e3||n>3e3||0==a||a>12)return!1;var o=[31,28,31,30,31,30,31,31,30,31,30,31];return(n%400==0||n%100!=0&&n%4==0)&&(o[1]=29),r>0&&r<=o[a-1]}var i,r={required:function(t){return null!=t&&String(t).replace(/\s/g,"").length>0},required_if:function(t,e,i){return e=this.getParameters(),this.validator._objectPath(this.validator.input,e[0])!==e[1]||this.validator.getRule("required").validate(t)},required_unless:function(t,e,i){return e=this.getParameters(),this.validator._objectPath(this.validator.input,e[0])===e[1]||this.validator.getRule("required").validate(t)},required_with:function(t,e,i){return!this.validator._objectPath(this.validator.input,e)||this.validator.getRule("required").validate(t)},required_with_all:function(t,e,i){e=this.getParameters();for(var r=0;r<e.length;r++)if(!this.validator._objectPath(this.validator.input,e[r]))return!0;return this.validator.getRule("required").validate(t)},required_without:function(t,e,i){return!!this.validator._objectPath(this.validator.input,e)||this.validator.getRule("required").validate(t)},required_without_all:function(t,e,i){e=this.getParameters();for(var r=0;r<e.length;r++)if(this.validator._objectPath(this.validator.input,e[r]))return!0;return this.validator.getRule("required").validate(t)},boolean:function(t){return!0===t||!1===t||0===t||1===t||"0"===t||"1"===t||"true"===t||"false"===t},size:function(t,e,i){return!t||(e=parseFloat(e),this.getSize()===e)},string:function(t,e,i){return"string"==typeof t},sometimes:function(t){return!0},min:function(t,e,i){return this.getSize()>=e},max:function(t,e,i){return this.getSize()<=e},between:function(t,e,i){e=this.getParameters();var r=this.getSize(),a=parseFloat(e[0],10),n=parseFloat(e[1],10);return r>=a&&r<=n},email:function(t){var e=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return e.test(t)||(e=/^((?:[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]|[^\u0000-\u007F])+@(?:[a-zA-Z0-9]|[^\u0000-\u007F])(?:(?:[a-zA-Z0-9-]|[^\u0000-\u007F]){0,61}(?:[a-zA-Z0-9]|[^\u0000-\u007F]))?(?:\.(?:[a-zA-Z0-9]|[^\u0000-\u007F])(?:(?:[a-zA-Z0-9-]|[^\u0000-\u007F]){0,61}(?:[a-zA-Z0-9]|[^\u0000-\u007F]))?)+)*$/),e.test(t)},numeric:function(t){var e;return"number"==typeof(e=Number(t))&&!isNaN(e)&&"boolean"!=typeof t},array:function(t){return t instanceof Array},url:function(t){return/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_\+.~#?&/=]*)/i.test(t)},alpha:function(t){return/^[a-zA-Z]+$/.test(t)},alpha_dash:function(t){return/^[a-zA-Z0-9_\-]+$/.test(t)},alpha_num:function(t){return/^[a-zA-Z0-9]+$/.test(t)},same:function(t,e){return this.validator._flattenObject(this.validator.input)[e]===t},different:function(t,e){return this.validator._flattenObject(this.validator.input)[e]!==t},in:function(t,e){var i,r;if(t&&(i=this.getParameters()),t&&!(t instanceof Array)){var a=t;for(r=0;r<i.length;r++)if("string"==typeof i[r]&&(a=String(t)),a===i[r])return!0;return!1}if(t&&t instanceof Array)for(r=0;r<t.length;r++)if(i.indexOf(t[r])<0)return!1;return!0},not_in:function(t,e){for(var i=this.getParameters(),r=i.length,a=!0,n=0;n<r;n++){var o=t;if("string"==typeof i[n]&&(o=String(t)),o===i[n]){a=!1;break}}return a},accepted:function(t){return"on"===t||"yes"===t||1===t||"1"===t||!0===t},confirmed:function(t,e,i){var r=i+"_confirmation";return this.validator.input[r]===t},integer:function(t){return String(parseInt(t,10))===String(t)},digits:function(t,e){return!(!this.validator.getRule("numeric").validate(t)||String(t.trim()).length!==parseInt(e))},digits_between:function(t){var e=this.validator.getRule("numeric"),i=this.getParameters(),r=String(t).length,a=parseFloat(i[0],10),n=parseFloat(i[1],10);return!!(e.validate(t)&&r>=a&&r<=n)},regex:function(t,e){var i=/[g|i|m]{1,3}$/,r=e.match(i);return r=r?r[0]:"",e=e.replace(i,"").slice(1,-1),!!(e=new RegExp(e,r)).test(t)},date:function(t,i){return e(t)},present:function(t){return void 0!==t},after:function(t,i){var r=this.validator.input[i],a=t;return!!e(r)&&!!e(a)&&new Date(r).getTime()<new Date(a).getTime()},after_or_equal:function(t,i){var r=this.validator.input[i],a=t;return!!e(r)&&!!e(a)&&new Date(r).getTime()<=new Date(a).getTime()},before:function(t,i){var r=this.validator.input[i],a=t;return!!e(r)&&!!e(a)&&new Date(r).getTime()>new Date(a).getTime()},before_or_equal:function(t,i){var r=this.validator.input[i],a=t;return!!e(r)&&!!e(a)&&new Date(r).getTime()>=new Date(a).getTime()},hex:function(t){return/^[0-9a-f]+$/i.test(t)},ipv4:function(t,e,i){if("string"!=typeof t)return!1;var r=/^[0-9]+$/;if(octets=t.split("."),4!=octets.length)return!1;for(let t=0;t<octets.length;t++){const e=octets[t];if(!r.test(e))return!1;if(parseInt(e)>=256)return!1}return!0},ipv6:function(t,e,i){if("string"!=typeof t)return!1;var r=/^[0-9a-f]+$/;if(hextets=t.split(":"),colons=t.match(/::/),null!=colons&&t.match(/::/g).length>1)return!1;if(":"==t[0]&&(null==colons||null!=colons&&0!=colons.index))return!1;if(":"==t[t.length-1]&&(null==colons||null!=colons&&colons.index!=t.length-2))return!1;if(3>hextets.length)return!1;var a=9==hextets.length&&null!=colons&&(0==colons.index||colons.index==t.length-2);if(hextets.length>8&&!a)return!1;if(8!=hextets.length&&null==colons)return!1;for(let t=0;t<hextets.length;t++){const e=hextets[t];if(0!=e.length){if(!r.test(e))return!1;if(e.length>4)return!1}}return!0},ip:function(t,e,i){return r.ipv4(t,e,i)||r.ipv6(t,e,i)}},a=function(){throw new Error("Validator `"+this.name+"` is not defined!")};function n(t,e,i){this.name=t,this.fn=e,this.passes=null,this._customMessage=void 0,this.async=i}n.prototype={validate:function(t,e,i,r){var a=this;if(this._setValidatingData(i,t,e),"function"==typeof r){this.callback=r;var n=function(t,e){a.response(t,e)};return this.async?this._apply(t,e,i,n):n(this._apply(t,e,i))}return this._apply(t,e,i)},_apply:function(t,e,i,r){return(this.isMissed()?a:this.fn).apply(this,[t,e,i,r])},_setValidatingData:function(t,e,i){this.attribute=t,this.inputValue=e,this.ruleValue=i},getParameters:function(){var t=[];return"string"==typeof this.ruleValue&&(t=this.ruleValue.split(",")),"number"==typeof this.ruleValue&&t.push(this.ruleValue),this.ruleValue instanceof Array&&(t=this.ruleValue),t},getSize:function(){var t=this.inputValue;return t instanceof Array?t.length:"number"==typeof t?t:this.validator._hasNumericRule(this.attribute)?parseFloat(t,10):t.length},_getValueType:function(){return"number"==typeof this.inputValue||this.validator._hasNumericRule(this.attribute)?"numeric":"string"},response:function(t,e){this.passes=void 0===t||!0===t,this._customMessage=e,this.callback(this.passes,e)},setValidator:function(t){this.validator=t},isMissed:function(){return"function"!=typeof this.fn},get customMessage(){return this.isMissed()?i:this._customMessage}};var o={asyncRules:[],implicitRules:["required","required_if","required_unless","required_with","required_with_all","required_without","required_without_all","accepted","present"],make:function(t,e){var i=this.isAsync(t),a=new n(t,r[t],i);return a.setValidator(e),a},isAsync:function(t){for(var e=0,i=this.asyncRules.length;e<i;e++)if(this.asyncRules[e]===t)return!0;return!1},isImplicit:function(t){return this.implicitRules.indexOf(t)>-1},register:function(t,e){r[t]=e},registerImplicit:function(t,e){this.register(t,e),this.implicitRules.push(t)},registerAsync:function(t,e){this.register(t,e),this.asyncRules.push(t)},registerAsyncImplicit:function(t,e){this.registerImplicit(t,e),this.asyncRules.push(t)},registerMissedRuleValidator:function(t,e){a=t,i=e}};t.exports=o},30050:(t,e,i)=>{var r=i(70534),a=i(63542),n=i(56430),o=i(97426),s=i(3281),u=function(t,e,i){var r=u.getDefaultLang();this.input=t||{},this.messages=a._make(r),this.messages._setCustom(i),this.setAttributeFormatter(u.prototype.attributeFormatter),this.errors=new n,this.errorCount=0,this.hasAsync=!1,this.rules=this._parseRules(e)};u.prototype={constructor:u,lang:"en",numericRules:["integer","numeric"],attributeFormatter:o.formatter,check:function(){for(var t in this.rules){var e=this.rules[t],i=this._objectPath(this.input,t);if(!this._hasRule(t,["sometimes"])||this._suppliedWithData(t))for(var r,a,n,o=0,s=e.length;o<s&&(a=e[o],r=this.getRule(a.name),!this._isValidatable(r,i)||((n=r.validate(i,a.value,t))||this._addFailure(r),!this._shouldStopValidating(t,n)));o++);}return 0===this.errorCount},checkAsync:function(t,e){var i=this;t=t||function(){},e=e||function(){};var r=new s((function(t,e){i._addFailure(t,e)}),(function(i){i?t():e()})),a=function(t,e,i,a){return function(){var n=r.add(a);a.validate(t,e.value,i,(function(){r.resolve(n)}))}};for(var n in this.rules){var o=this.rules[n],u=this._objectPath(this.input,n);if(!this._hasRule(n,["sometimes"])||this._suppliedWithData(n))for(var l,c,d=0,h=o.length;d<h;d++)c=o[d],l=this.getRule(c.name),this._isValidatable(l,u)&&a(u,c,n,l)()}r.enableFiring(),r.fire()},_addFailure:function(t){var e=this.messages.render(t);this.errors.add(t.attribute,e),this.errorCount++},_flattenObject:function(t){var e={};return t&&function t(i,r){if(r||0!==Object.getOwnPropertyNames(i).length)if(Object(i)!==i||Array.isArray(i))e[r]=i;else{var a=!0;for(var n in i)a=!1,t(i[n],r?r+"."+n:n);a&&(e[r]={})}}(t),e},_objectPath:function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];var i=e.replace(/\[(\w+)\]/g,".$1").replace(/^\./,"").split("."),r={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(r[a]=t[a]);for(var n=0,o=i.length;n<o;n++){if("object"!=typeof r||null===r||!Object.hasOwnProperty.call(r,i[n]))return;r=r[i[n]]}return r},_parseRules:function(t){var e={};for(var i in t=this._flattenObject(t)){var r=t[i];this._parseRulesCheck(i,r,e)}return e},_parseRulesCheck:function(t,e,i,r){t.indexOf("*")>-1?this._parsedRulesRecurse(t,e,i,r):this._parseRulesDefault(t,e,i,r)},_parsedRulesRecurse:function(t,e,i,r){var a=t.substr(0,t.indexOf("*")-1),n=this._objectPath(this.input,a);if(n)for(var o=0;o<n.length;o++){var s=r?r.slice():[];s.push(o),this._parseRulesCheck(t.replace("*",o),e,i,s)}},_parseRulesDefault:function(t,e,i,a){var n=[];e instanceof Array&&(e=this._prepareRulesArray(e)),"string"==typeof e&&(e=e.split("|"));for(var o,s=0,u=e.length;s<u;s++)(o="string"==typeof e[s]?this._extractRuleAndRuleValue(e[s]):e[s]).value&&(o.value=this._replaceWildCards(o.value,a),this._replaceWildCardsMessages(a)),r.isAsync(o.name)&&(this.hasAsync=!0),n.push(o);i[t]=n},_replaceWildCards:function(t,e){if(!e)return t;var i=t;return e.forEach((function(t){Array.isArray(i)&&(i=i[0]);const e=i.indexOf("*");if(-1===e)return i;i=i.substr(0,e)+t+i.substr(e+1)})),Array.isArray(t)&&(t[0]=i,i=t),i},_replaceWildCardsMessages:function(t){var e=this.messages.customMessages,i=this;Object.keys(e).forEach((function(r){if(t){var a=i._replaceWildCards(r,t);e[a]=e[r]}})),this.messages._setCustom(e)},_prepareRulesArray:function(t){for(var e=[],i=0,r=t.length;i<r;i++)if("object"==typeof t[i])for(var a in t[i])e.push({name:a,value:t[i][a]});else e.push(t[i]);return e},_suppliedWithData:function(t){return this.input.hasOwnProperty(t)},_extractRuleAndRuleValue:function(t){var e,i={};return i.name=t,t.indexOf(":")>=0&&(e=t.split(":"),i.name=e[0],i.value=e.slice(1).join(":")),i},_hasRule:function(t,e){for(var i=this.rules[t]||[],r=0,a=i.length;r<a;r++)if(e.indexOf(i[r].name)>-1)return!0;return!1},_hasNumericRule:function(t){return this._hasRule(t,this.numericRules)},_isValidatable:function(t,e){return!!Array.isArray(e)||!!r.isImplicit(t.name)||this.getRule("required").validate(e)},_shouldStopValidating:function(t,e){var i=this.stopOnAttributes;return void 0!==i&&!1!==i&&!0!==e&&(!(i instanceof Array)||i.indexOf(t)>-1)},setAttributeNames:function(t){this.messages._setAttributeNames(t)},setAttributeFormatter:function(t){this.messages._setAttributeFormatter(t)},getRule:function(t){return r.make(t,this)},stopOnError:function(t){this.stopOnAttributes=t},passes:function(t){return this._checkAsync("passes",t)?this.checkAsync(t):this.check()},fails:function(t){return this._checkAsync("fails",t)?this.checkAsync((function(){}),t):!this.check()},_checkAsync:function(t,e){var i="function"==typeof e;if(this.hasAsync&&!i)throw t+" expects a callback when async rules are being tested.";return this.hasAsync||i}},u.setMessages=function(t,e){return a._set(t,e),this},u.getMessages=function(t){return a._get(t)},u.useLang=function(t){this.prototype.lang=t},u.getDefaultLang=function(){return this.prototype.lang},u.setAttributeFormatter=function(t){this.prototype.attributeFormatter=t},u.stopOnError=function(t){this.prototype.stopOnAttributes=t},u.register=function(t,e,i,n){var o=u.getDefaultLang();r.register(t,e),a._setRuleMessage(o,t,i)},u.registerImplicit=function(t,e,i,n){var o=u.getDefaultLang();r.registerImplicit(t,e),a._setRuleMessage(o,t,i)},u.registerAsync=function(t,e,i,n){var o=u.getDefaultLang();r.registerAsync(t,e),a._setRuleMessage(o,t,i)},u.registerAsyncImplicit=function(t,e,i){var n=u.getDefaultLang();r.registerAsyncImplicit(t,e),a._setRuleMessage(n,t,i)},u.registerMissedRuleValidator=function(t,e){r.registerMissedRuleValidator(t,e)},t.exports=u},35566:(t,e)=>{"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.styleUtilities=e.ICON_DELETE=e.ICON_CHEVRON_DOWN=e.ICON_CHEVRON_UP=e.assetPath=e.UNMATCH_DESKTOP=e.MATCH_DESKTOP=e.UNMATCH_TABLET=e.MATCH_TABLET=e.UNMATCH_MOBILE=e.MATCH_MOBILE=e.DESKTOP_MEDIA_QUERY=e.TABLET_MEDIA_QUERY=e.MOBILE_MEDIA_QUERY=e.DESKTOP_UPPER_BOUND=e.TABLET_LOWER_BOUND=void 0,e.TABLET_LOWER_BOUND=768,e.DESKTOP_UPPER_BOUND=960,e.MOBILE_MEDIA_QUERY="(max-width: ".concat(e.TABLET_LOWER_BOUND-1,"px)"),e.TABLET_MEDIA_QUERY="(min-width: ".concat(e.TABLET_LOWER_BOUND,"px)"),e.DESKTOP_MEDIA_QUERY="(min-width: ".concat(e.DESKTOP_UPPER_BOUND,"px)"),e.MATCH_MOBILE="MATCH_MOBILE",e.UNMATCH_MOBILE="UNMATCH_MOBILE",e.MATCH_TABLET="MATCH_TABLET",e.UNMATCH_TABLET="UNMATCH_TABLET",e.MATCH_DESKTOP="MATCH_DESKTOP",e.UNMATCH_DESKTOP="UNMATCH_DESKTOP",e.assetPath="/bundles/img/svg-icons/symbols.svg",e.ICON_CHEVRON_UP="".concat(e.assetPath,"#icon-chevron-up"),e.ICON_CHEVRON_DOWN="".concat(e.assetPath,"#icon-chevron-down"),e.ICON_DELETE="".concat(e.assetPath,"#icon-delete"),function(t){t.hidden="u-hidden"}(i||(e.styleUtilities=i={}))},19554:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.contactFormConfig=void 0,e.contactFormConfig={fields:[{id:"contact-first-name",validators:{input:"required",submit:"required"}},{id:"contact-last-name",validators:{input:"required",submit:"required"}},{id:"contact-email-address",validators:{input:"required",submit:"required|email"}},{id:"contact-comments",renderer:"textarea",args:{countCharacters:!0},validators:{input:"required|max:500",submit:"required"}}]}},66476:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.designSolutionConfig=void 0,e.designSolutionConfig={fields:[{id:"liability-value",validators:{input:"required|numeric",submit:"required|min:0|max:9999.999999"},mask:{type:"currency",scale:6}},{id:"hedge-ratio",validators:{input:"required|numeric",submit:"required|min:0|max:100"},mask:{type:"number",scale:1}},{id:"value-date",validators:{input:"required",submit:"required"}},{id:"duration",validators:{input:"required",submit:"required"}},{id:"inflation-linkage",validators:{input:"required",submit:"required"}},{id:"fund-type",validators:{input:"required",submit:"required"}}]}},25875:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.injectCerosScript=void 0,e.injectCerosScript=function(){if(null!==document.querySelector('iframe[src*="view.ceros.com/insight-investment"]')){var t=document.createElement("script");t.setAttribute("type","text/javascript"),t.setAttribute("src","//view.ceros.com/scroll-proxy.min.js"),t.setAttribute("data-ceros-origin-domain","view.ceros.com"),document.head.appendChild(t)}}},30306:function(t,e,i){"use strict";var r=this&&this.__awaiter||function(t,e,i,r){return new(i||(i=Promise))((function(a,n){function o(t){try{u(r.next(t))}catch(t){n(t)}}function s(t){try{u(r.throw(t))}catch(t){n(t)}}function u(t){var e;t.done?a(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(o,s)}u((r=r.apply(t,e||[])).next())}))},a=this&&this.__generator||function(t,e){var i,r,a,n,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(s){return function(u){return function(s){if(i)throw new TypeError("Generator is already executing.");for(;n&&(n=0,s[0]&&(o=0)),o;)try{if(i=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=e.call(t,o)}catch(t){s=[6,t],r=0}finally{i=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}};Object.defineProperty(e,"__esModule",{value:!0}),e.initUploadClientDocumentsForm=void 0;var n=i(89216),o=i(80905);e.initUploadClientDocumentsForm=function(t,e,i,s){void 0===i&&(i="client-instruction");var u=document.querySelector("#js-".concat(i,"-dialog")),l=document.querySelector(".js-".concat(i,"-dialog-button"));if(u&&l){var c,d=u.querySelector("#js-".concat(i,"-upload-form-complete")),h=u.querySelector("#js-".concat(i,"-upload-form-failed")),f=u.querySelector("#js-".concat(i,"-upload-form")),p=u.querySelector(".js-dialog-content"),m=u.querySelector(".js-loading-spinner"),b=u.querySelector(".js-dialog-close-button"),g=u.querySelector("form"),v=g.querySelector(".js-upload-clear-button"),y={errorTitle:h.querySelector(".js-form-error-title").textContent,errorMessage:h.querySelector(".js-form-error-message").textContent};l.addEventListener("click",(function(){u.toggleAttribute("open",!0)})),b.addEventListener("click",(function(){var i=g.querySelector(".c-file-input--has-value");t&&!d.classList.contains("u-hidden")&&(t.reload({}),e.options[0].selected=!0),c.resetForm(),v.classList.add("u-hidden"),null==i||i.classList.remove("c-file-input--has-value"),h.querySelector(".js-form-error-title").innerHTML=y.errorTitle,h.querySelector(".js-form-error-message").innerHTML=y.errorMessage,m.classList.add("u-hidden"),d.classList.add("u-hidden"),h.classList.add("u-hidden"),f.classList.remove("u-hidden"),p.classList.remove("u-hidden"),l.toggleAttribute("open",!1)}));var _=s(u);_.submit=function(t){return r(void 0,void 0,void 0,(function(){var t,e,i,r,o,s,u;return a(this,(function(a){switch(a.label){case 0:m.classList.remove("u-hidden"),p.classList.add("u-hidden"),t=new FormData(g),e=(0,n.setFetchOpts)({method:"POST",body:t,isMultiPartForm:!0}),a.label=1;case 1:return a.trys.push([1,6,,7]),[4,(0,n.fetchWithTimeOut)(g.action,e,6e4)];case 2:return i=a.sent(),m.classList.add("u-hidden"),p.classList.remove("u-hidden"),i.redirected&&window.location.reload(),i.ok?[4,i.json()]:[3,4];case 3:if(r=a.sent(),o=r.errorMessage,s=r.errorMessages,!1===r.success)if((null==o?void 0:o.length)>0)h.querySelector(".js-form-error-title").innerHTML="Something went wrong ...",h.querySelector(".js-form-error-message").innerHTML=o,f.classList.add("u-hidden"),h.classList.remove("u-hidden");else{if((null==s?void 0:s.length)>0)return u={},s.forEach((function(t){var e=t.Key,i=t.Value;u[e]=i})),[2,new Promise((function(t){return t(u)}))];f.classList.add("u-hidden"),h.classList.remove("u-hidden")}else d.classList.remove("u-hidden"),f.classList.add("u-hidden");return[3,5];case 4:f.classList.add("u-hidden"),h.classList.remove("u-hidden"),console.warn(i.status,i.statusText),a.label=5;case 5:return[3,7];case 6:return a.sent(),m.classList.add("u-hidden"),p.classList.remove("u-hidden"),f.classList.add("u-hidden"),h.classList.remove("u-hidden"),[3,7];case 7:return[2]}}))}))},c=new o.Form(g,_)}}},96623:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isVisible=e.prettyScroll=void 0,e.prettyScroll=function(t,e,i){void 0===i&&(i=!0);var r="scrollBehavior"in document.documentElement.style;"number"==typeof t&&"number"==typeof e&&(i&&r?window.scrollTo({behavior:"smooth",left:t,top:e}):window.scrollTo(t,e))},e.isVisible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}},89216:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.timer=e.setFetchOpts=e.fetchJSON=e.fetchWithTimeOut=void 0,e.fetchWithTimeOut=function(t,e,i){return Promise.race([fetch(t,e).then((function(t){return t})),new Promise((function(t,e){return setTimeout((function(){return e(new Error("The request timed out"))}),i)}))])},e.fetchJSON=function(t,i,r){return(0,e.fetchWithTimeOut)(t,i,r).then((function(t){return t.text().then((function(t){var e="";try{e=JSON.parse(t)}catch(i){e=t}return{json:e}}))}))},e.setFetchOpts=function(t){var e=t.method,i=t.headers,r=t.isMultiPartForm,a=t.body,n=new Headers({Accept:"application/json"});if(r||n.set("Content-Type","application/json"),i)for(var o in i)n.set(o,i[o]);var s={method:e,credentials:"include",headers:n};return(a&&"POST"===e||"PUT"===e||"PATCH"===e)&&(s.body=r?a:JSON.stringify(a)),s},e.timer=function(t){return new Promise((function(e){setTimeout((function(){return e({})}),t)}))}},40054:function(t,e,i){"use strict";var r,a=this&&this.__awaiter||function(t,e,i,r){return new(i||(i=Promise))((function(a,n){function o(t){try{u(r.next(t))}catch(t){n(t)}}function s(t){try{u(r.throw(t))}catch(t){n(t)}}function u(t){var e;t.done?a(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(o,s)}u((r=r.apply(t,e||[])).next())}))},n=this&&this.__generator||function(t,e){var i,r,a,n,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(s){return function(u){return function(s){if(i)throw new TypeError("Generator is already executing.");for(;n&&(n=0,s[0]&&(o=0)),o;)try{if(i=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=e.call(t,o)}catch(t){s=[6,t],r=0}finally{i=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.renderers=e.upload=e.textarea=e.applyRenderers=e.initContactForm=e.characterCounter=e.applyMask=e.getFieldById=e.isValueDefined=void 0;var s=o(i(12366)),u=i(80905),l=i(19554),c=i(89216),d=i(96623);e.isValueDefined=function(t){return null!=t&&""!==t},e.getFieldById=function(t,e){return t.find((function(t){return t.id===e}))},e.applyMask=function(t,e){var i=e.type;if(i)switch(i){case"currency":var r=e.scale;return(0,s.default)(t,{mask:Number,thousandsSeparator:",",scale:r||0,radix:"."});case"number":var a=e.scale;return(0,s.default)(t,{mask:Number,scale:a||0,radix:"."});default:console.warn("No input mask named ".concat(i," available"))}},e.characterCounter=function(t){var e=t.querySelector(".js-character-count-text-input"),i=t.querySelector(".js-count");e.addEventListener("input",(function(t){var r=e.value.length;i.innerHTML=r.toString()}))},e.initContactForm=function(){document.querySelectorAll(".js-contact-form").forEach((function(t){var e=t.querySelector("form"),i=t.querySelector(".js-response-message"),r=t.querySelector(".js-form-wrapper");l.contactFormConfig.submit=function(e){return a(void 0,void 0,void 0,(function(){var a,o,s,u,l,h,f,p,m,b;return n(this,(function(n){switch(n.label){case 0:return a=(0,c.setFetchOpts)({method:"POST"}),o=e["contact-first-name"],s=e["contact-last-name"],u=e["contact-email-address"],l=e["contact-comments"],h=e["contact-telephone"],f=t.getAttribute("data-content-id"),p=t.getAttribute("data-page-name"),m="/ContactFormBlock/EmailFormData?firstname=".concat(o,"&lastname=").concat(s,"&email=").concat(u,"&telephone=").concat(h,"&message=").concat(l,"&currentBlock=").concat(f,"&blocksCurrentPage=").concat(p),[4,(0,c.fetchWithTimeOut)(m,a,1e4)];case 1:return(b=n.sent()).ok?(i.classList.remove("u-hidden"),r.classList.add("u-hidden"),(0,d.prettyScroll)(0,i.offsetTop-160)):console.log("".concat(b.status,": ").concat(b.statusText)),[2]}}))}))},e&&new u.Form(e,l.contactFormConfig)}))},e.applyRenderers=function(t,i){var r,a=t.renderer,n=t.args;null===(r=e.renderers[a])||void 0===r||r.call(e.renderers,i,n)},e.textarea=function(t,i){if(i.countCharacters){var r=t.closest(".js-character-count");(0,e.characterCounter)(r)}},e.upload=function(t,i){var r=t.closest(".js-upload"),a=r.querySelector("input"),n=r.querySelector(".js-upload-clear-button");null==a||a.addEventListener("input",(function(){var t=(0,e.isValueDefined)(a.value);a.classList.toggle("c-file-input--has-value",t),n.classList.toggle("u-hidden",!t)})),null==n||n.addEventListener("click",(function(){n.classList.add("u-hidden"),t.value="",a.dispatchEvent(new Event("input",{bubbles:!0}))}))},e.renderers=((r={}).textarea=e.textarea,r.upload=e.upload,r)},48816:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.translate=void 0,e.translate=function(t){var e;return(null!==(e=($("#TranslationMonths").val()?JSON.parse($("#TranslationMonths").val()):{})[t])&&void 0!==e?e:t).trim()}},25183:function(t,e){"use strict";var i=this;Object.defineProperty(e,"__esModule",{value:!0}),e.isScrollable=e.getParameterValue=e.hasScrollReachedBottom=e.debounce=e.bindClassMethods=void 0,e.bindClassMethods=function(t){Object.getOwnPropertyNames(Object.getPrototypeOf(t)).filter((function(t){return"constructor"!==t})).forEach((function(e){t[e]=t[e].bind(t)}))},e.debounce=function(t,e){var r;return function(){for(var a=[],n=0;n<arguments.length;n++)a[n]=arguments[n];var o=i;clearTimeout(r),r=setTimeout((function(){return e.apply(o,a)}),t)}},e.hasScrollReachedBottom=function(t){return t.scrollHeight-t.scrollTop-t.clientHeight<1},e.getParameterValue=function(t){return new URL(window.location.href).searchParams.get(t)},e.isScrollable=function(t){var e=window.getComputedStyle(t)["overflow-y"],i=window.getComputedStyle(t)["overflow-x"];return{vertical:("scroll"===e||"auto"===e)&&t.scrollHeight>t.clientHeight,horizontal:("scroll"===i||"auto"===i)&&t.scrollWidth>t.clientWidth}}},11398:function(t,e,i){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var a=r(i(65311)),n=r(i(17958)),o=function(){function t(t){var e=this;this.toastr=null,this.loadToasts=function(t){a.default.ajax("".concat(window.location.origin,"/CountryLandingPage/GetRegulatoryMessages?currentPage=").concat(t),{method:"GET",success:function(t){e.createToasts(t)}})},this.addToast=function(t){var i=t.ContentId,r=t.MessageType,n=t.Title,o=t.DesktopText,s=t.MobileText,u=t.Icon,l=t.Location,c=t.Target;if(!window.sessionStorage||window.sessionStorage.getItem("toast".concat(i,"Closed"))!==i.toString()){var d,h,f=null!=l?l:"top-right",p=f.split("-")[0],m=n&&n.length?n:"",b=(0,a.default)("#js-toast-container-".concat(p,"--0")),g=(0,a.default)("#js-toast-container-".concat(p,"--1")),v=function(t){var e;return null!==(e=parseInt((0,a.default)(t).children(".toast").css("height")))&&void 0!==e?e:0};switch(r){case"information":default:d="info";break;case"warning":d="warning"}h=c&&c.length>0?"\n                <a class='toast-message_desktop js-toast-message-link' href='".concat(c,"'>").concat(o,"</a>\n                <a class='toast-message_mobile js-toast-message-link' href='").concat(c,"'>").concat(s,"</a>\n            "):"\n                <p class='toast-message_desktop'>".concat(o,"</p>\n                <p class='toast-message_mobile'>").concat(s,"</p>\n            "),b.children(".toast").is(":visible")?(g.addClass("toast-".concat(f)),e.toastr[d](h,m,{containerId:"js-toast-container-".concat(p,"--1"),onHidden:function(){window.sessionStorage.setItem("toast".concat(i,"Closed"),i),b.hasClass("toast-".concat(f))&&"bottom"===p&&(0,a.default)(b).css(p,5)},onShown:function(){b.hasClass("toast-".concat(p,"-full-width"))&&!g.hasClass("toast-".concat(p,"-full-width"))?(0,a.default)(g).css(p,v(b)+5):b.hasClass("toast-".concat(f))&&"bottom"===p?(0,a.default)(b).css(p,v(g)+5):b.hasClass("toast-".concat(f))&&(0,a.default)(g).css(p,v(b)+5)}}),e.addIcon("#js-toast-container-".concat(p,"--1"),u)):((0,a.default)("#js-toast-container-".concat(p,"--0")).addClass("toast-".concat(f)),e.toastr[d](h,m,{containerId:"js-toast-container-".concat(p,"--0"),onHidden:function(){(f.includes("full-width")||g.hasClass("toast-".concat(f)))&&(0,a.default)(g).css(p,5),window.sessionStorage.setItem("toast".concat(i,"Closed"),i)}}),e.addIcon("#js-toast-container-".concat(p,"--0"),u))}},this.addIcon=function(t,e){var i=(0,a.default)(t).children(".toast"),r=e&&e.length;i.css({padding:r?"auto":"15px"}),i[0].style.setProperty("background-image","".concat(r?"url(".concat(e,")"):"none"),"important")},this.createToasts=function(t){t.sort((function(t,e){var i,r,a=null!==(i=null==t?void 0:t.Location)&&void 0!==i?i:"top-right",n=null!==(r=null==e?void 0:e.Location)&&void 0!==r?r:"top-right";return a.includes("full-width")&&n.includes("full-width")?0:a.includes("full-width")?-1:1})),t.forEach((function(t,i){e.addToast(t)}))},this.adjustPosition=function(){var t=(0,a.default)(".c-top-nav_logo-img--white").is(":visible"),e=(0,a.default)(".c-hello-bar").is(":visible"),i=(0,a.default)(".c-regulatory-messages-banner_top"),r=(0,a.default)(".c-hello-bar");if(e){var n=parseInt(r.css("top").replace("px",""))+parseInt(r.css("height").replace("px",""));i.css("top",n+5+"px")}else t?i.css("top","190px"):i.css("top","140px")},this.toastr=new n.default,this.toastr.options.timeOut=0,this.toastr.options.extendedTimeOut=0,this.toastr.options.closeButton=!0,this.toastr.options.tapToDismiss=!1,this.toastr.options.closeOnHover=!1,this.toastr.options.onclick=null,this.loadToasts=this.loadToasts.bind(this),this.createToasts=this.createToasts.bind(this),this.addToast=this.addToast.bind(this),t&&this.loadToasts(t),this.adjustPosition()}return t.init=function(){var e=document.querySelector("#js-regulatory-banner-top"),i=document.querySelector("#js-regulatory-banner-bottom"),r=document.querySelector("#currentPage"),a=null==r?void 0:r.value;return e&&i&&a?new t(a):null},t}();e.default=o},29917:function(t,e,i){"use strict";var r=this&&this.__awaiter||function(t,e,i,r){return new(i||(i=Promise))((function(a,n){function o(t){try{u(r.next(t))}catch(t){n(t)}}function s(t){try{u(r.throw(t))}catch(t){n(t)}}function u(t){var e;t.done?a(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(o,s)}u((r=r.apply(t,e||[])).next())}))},a=this&&this.__generator||function(t,e){var i,r,a,n,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(s){return function(u){return function(s){if(i)throw new TypeError("Generator is already executing.");for(;n&&(n=0,s[0]&&(o=0)),o;)try{if(i=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=e.call(t,o)}catch(t){s=[6,t],r=0}finally{i=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.GenericAutoComplete=e.AutoComplete=void 0;var o=n(i(86929)),s=i(89216),u=function(t){var e=t.selectElement,i=t.element,n=t.params,u=this;this.resultCache={},this.params={},this.updateParams=function(t){u.params=Object.assign({},u.params,t)},this.suggestAPI=function(t,e){return r(u,void 0,void 0,(function(){var i,r,n,o,u,l,c=this;return a(this,(function(a){switch(a.label){case 0:return i=(0,s.setFetchOpts)({method:"GET"}),r="",Object.keys(this.params).forEach((function(t){c.params[t]&&(r+="&".concat(t,"=").concat(encodeURIComponent(c.params[t])))})),n=t+r,this.resultCache[n]?(e(this.resultCache[n]),[2]):(o="".concat(this.apiURL,"?searchTerm=").concat(t).concat(r),[4,(0,s.fetchJSON)(o,i,1e4)]);case 1:return u=a.sent(),l=u.json,this.resultCache[n]=l,e(l),[2]}}))}))},this.suggest=function(t,e){e(u.items.filter((function(e){return e.toLowerCase().includes(t.toLowerCase())})))},this.initialize=function(){var t,e,i,r;u.apiURL=u.element.getAttribute("data-api-url"),u.items=JSON.parse(u.element.getAttribute("data-items")),u.defaultValue=u.element.getAttribute("data-default-value"),u.label=null===(t=u.element)||void 0===t?void 0:t.querySelector(".js-autocomplete-label"),u.id=null===(e=u.label)||void 0===e?void 0:e.getAttribute("for"),u.selectElement?o.default.enhanceSelectElement({defaultValue:null!==(i=u.defaultValue)&&void 0!==i?i:"",selectElement:u.selectElement,id:u.id,cssNamespace:"c-autocomplete",minLength:3,showAllValues:!0,confirmOnBlur:!1,dropdownArrow:function(t){var e=t.className;return'\n            <svg class="'.concat(void 0===e?"":e,' svg-icon u-fill-teal-green u-absolute u-inline-block u-top-0 u-right-0"\n                    role="presentation" aria-hidden="true">\n                <use xlink:href="/bundles/img/svg-icons/symbols.svg#icon-chevron-down"></use>\n            </svg>\n          ')}}):u.element&&(0,o.default)({defaultValue:null!==(r=u.defaultValue)&&void 0!==r?r:"",element:u.element,id:u.id,cssNamespace:"c-autocomplete",source:u.apiURL?u.suggestAPI:u.suggest,minLength:3,showAllValues:!0})},this.selectElement=e,this.element=i,this.params=n||{},this.initialize()};e.AutoComplete=u,e.GenericAutoComplete=function(){document.querySelectorAll(".js-autocomplete").forEach((function(t){var e=t.querySelector(".js-autocomplete-select");new u(e?{element:t,selectElement:e}:{element:t})}))}},42545:function(t,e,i){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.backToTop=void 0;var a=r(i(65311));e.backToTop={init:function(){(0,a.default)(".js-floating").click((function(t){t.preventDefault();var e=2600;window.pageYOffset<2*window.innerHeight?e=1e3:window.pageYOffset<5*window.innerHeight&&(e=2e3),(0,a.default)("html, body").animate({scrollTop:0},e,(function(){return(0,a.default)(".js-floating").hide(),!1}))}));var t,i,r,n=(t=function(){e.backToTop.toggleWhen()},i=(i=250)||20,function(){var e=this,a=arguments;clearTimeout(r),r=setTimeout((function(){t.apply(e,Array.prototype.slice.call(a))}),i)});e.backToTop.toggleWhen(),(0,a.default)(window).scroll(n)},toggleWhen:function(){window.pageYOffset>(0,a.default)("#header").height()?(0,a.default)(".js-floating").show():(0,a.default)(".js-floating").hide()}}},20865:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.carousel=void 0;var r=i(84220);e.carousel={applyStyles:function(){var t,e=document.querySelector(".c-header"),i=document.querySelector(".c-hero-carousel"),a=null==e?void 0:e.classList.contains("c-header--fixed"),n=(new r.ResizeEvents).isDesktop();a&&(null===(t=null==i?void 0:i.classList)||void 0===t||t.toggle("c-hero-carousel--fixed",n))}}},55501:function(t,e,i){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.setupCharts=void 0;var a=r(i(90852)),n=i(65078);n.Chart.register(n.ArcElement,n.LineElement,n.BarElement,n.PointElement,n.BarController,n.BubbleController,n.DoughnutController,n.LineController,n.PieController,n.PolarAreaController,n.RadarController,n.ScatterController,n.CategoryScale,n.LinearScale,n.LogarithmicScale,n.RadialLinearScale,n.TimeScale,n.TimeSeriesScale,n.Decimation,n.Filler,n.Legend,n.Title,n.Tooltip,n.SubTitle,a.default),e.setupCharts=function(){var t=document.querySelectorAll(".js-chart");null==t||t.forEach((function(t){var e=t.querySelector("canvas"),i=null==e?void 0:e.getContext("2d"),r=null==e?void 0:e.getAttribute("id");if(r&&i){var a=window.charts[r];new n.Chart(i,a)}}))}},54356:function(t,e,i){"use strict";var r=this&&this.__awaiter||function(t,e,i,r){return new(i||(i=Promise))((function(a,n){function o(t){try{u(r.next(t))}catch(t){n(t)}}function s(t){try{u(r.throw(t))}catch(t){n(t)}}function u(t){var e;t.done?a(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(o,s)}u((r=r.apply(t,e||[])).next())}))},a=this&&this.__generator||function(t,e){var i,r,a,n,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(s){return function(u){return function(s){if(i)throw new TypeError("Generator is already executing.");for(;n&&(n=0,s[0]&&(o=0)),o;)try{if(i=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=e.call(t,o)}catch(t){s=[6,t],r=0}finally{i=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}};Object.defineProperty(e,"__esModule",{value:!0});var n=i(89216),o=i(10912),s=i(24522),u=function(){function t(){this.selectorPrefix="client-instruction",this.agreementElementId="".concat(this.selectorPrefix,"-agreements"),this.instructionsTemplateElementId="".concat(this.selectorPrefix,"-templates"),this.exportLink=void 0,this.currentAgreementId=""}return t.prototype.init=function(){this.wrapper=document.querySelector(".js-sortable#".concat(this.selectorPrefix,"-supertable")),this.wrapper&&(this.superTable=new o.SuperTable({wrapper:this.wrapper,tableSelector:"table",paginationSelector:".js-table-pagination",onReloadComplete:this.onReload.bind(this)}),this.requestCancellationHandler());var t=document.getElementById(this.agreementElementId);this.exportLink=document.getElementById("".concat(this.agreementElementId,"-download")),this.agreementHandler(t),this.instructionTemplatesHandler(),(0,s.initUploadInstructionForm)(this.superTable,t)},t.prototype.requestCancellationHandler=function(){var t=this;document.querySelectorAll(".js-cancel-".concat(this.selectorPrefix,"-request")).forEach((function(e){e.addEventListener("click",(function(){var i,o,s=e.dataset.cancelrequesturi,u=document.querySelector("#js-".concat(t.selectorPrefix,"-cancellation-dialog")),l=null==u?void 0:u.querySelector(".js-dialog-confirm"),c=null==u?void 0:u.querySelector(".js-dialog-title"),d=null==u?void 0:u.querySelector(".js-dialog-body"),h=c.innerText,f=d.innerText;u.setAttribute("open","true");var p=function(){c.innerText=h,d.innerText=f,l.classList.remove("u-hidden"),l.removeAttribute("disabled"),o&&(null==l||l.removeEventListener("click",o),null==u||u.querySelector(".js-dialog-close-button").removeEventListener("click",p))};null===(i=null==u?void 0:u.querySelector(".js-dialog-close-button"))||void 0===i||i.addEventListener("click",p),o=function(){return r(t,void 0,void 0,(function(){var t,e,i,r,o,u,p,m,b,g,v,y,_,x,k,w,S,E,j;return a(this,(function(a){switch(a.label){case 0:c.innerText=null!==(o=null===(r=c.dataset)||void 0===r?void 0:r.confirm)&&void 0!==o?o:h,d.innerText=null!==(p=null===(u=d.dataset)||void 0===u?void 0:u.confirm)&&void 0!==p?p:f,l.setAttribute("disabled","true"),a.label=1;case 1:return a.trys.push([1,6,,7]),t=(0,n.setFetchOpts)({method:"POST"}),[4,(0,n.fetchWithTimeOut)(s,t,1e4)];case 2:return(e=a.sent()).redirected&&window.location.reload(),e.ok?(d.innerText=null!==(b=null===(m=d.dataset)||void 0===m?void 0:m.success)&&void 0!==b?b:"Your request has been sent",l.classList.add("u-hidden"),[4,null===(v=null===(g=this.superTable)||void 0===g?void 0:g.reload)||void 0===v?void 0:v.call(g,{})]):[3,4];case 3:return a.sent(),[3,5];case 4:c.innerText=null!==(_=null===(y=c.dataset)||void 0===y?void 0:y.failure)&&void 0!==_?_:"Something went wrong",d.innerText=null!==(k=null===(x=d.dataset)||void 0===x?void 0:x.failure)&&void 0!==k?k:"An error occured, please try again later...",l.classList.add("u-hidden"),a.label=5;case 5:return[3,7];case 6:return i=a.sent(),c.innerText=null!==(S=null===(w=c.dataset)||void 0===w?void 0:w.failure)&&void 0!==S?S:"Something went wrong",d.innerText=null!==(j=null===(E=d.dataset)||void 0===E?void 0:E.failure)&&void 0!==j?j:"An error occured, please try again later...",l.classList.add("u-hidden"),console.error("Error when attempting to cancel request",i),[3,7];case 7:return[2]}}))}))},null==l||l.addEventListener("click",o)}))}))},t.prototype.agreementHandler=function(t){var e=this;null==t||t.addEventListener("change",(function(){var i,r=t.value;e.currentAgreementId=r,e.exportHandler(),null===(i=e.superTable)||void 0===i||i.reload({agreementId:r,shouldSort:!1})}))},t.prototype.instructionTemplatesHandler=function(){var t=this,e=document.getElementById(this.instructionsTemplateElementId);null==e||e.addEventListener("change",(function(){var i=e.value,r=document.getElementById("".concat(t.instructionsTemplateElementId,"-download"));if(r){var a=r.getAttribute("data-template-download-endpoint");i?(r.href="".concat(a,"?templateId=").concat(i),r.removeAttribute("disabled")):(r.removeAttribute("href"),r.setAttribute("disabled","true"))}}))},t.prototype.exportHandler=function(){var t,e;if(this.exportLink){var i=this.exportLink.getAttribute("data-export-history-endpoint");this.exportLink.href="".concat(i,"?agreementId=").concat(this.currentAgreementId),(null===(e=null===(t=this.wrapper)||void 0===t?void 0:t.querySelector("table"))||void 0===e?void 0:e.hasChildNodes())?(this.exportLink.removeAttribute("disabled"),this.exportLink.classList.remove("u-hidden")):(this.exportLink.removeAttribute("href"),this.exportLink.setAttribute("disabled","true"))}},t.prototype.onReload=function(){this.exportHandler(),this.requestCancellationHandler()},t}();e.default=u},24522:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.initUploadInstructionForm=void 0;var r=i(30306),a=function(t){var e,i=t.querySelector(".js-error-messages"),r=i.getAttribute("data-file-upload-required"),a=i.getAttribute("data-file-upload-size"),n=i.getAttribute("data-file-upload-type"),o=i.getAttribute("data-agreement-required"),s=i.getAttribute("data-instruction-required"),u=(null===(e=t.querySelector(".js-upload"))||void 0===e?void 0:e.getAttribute("data-max-upload-size"))||"30",l=1e6*parseInt(u);return{fields:[{id:"UploadedFile",renderer:"upload",type:"upload",validators:{submit:"required|maxFileSize:".concat(l,"|fileType:doc,docx,xls,xlsx,pdf")},customErrorMessages:{"required.UploadedFile":r,"maxFileSize.UploadedFile":a,"fileType.UploadedFile":n}},{id:"IsCashflowInstruction",type:"radio",validators:{submit:"required"},customErrorMessages:{"required.IsCashflowInstruction":s}},{id:"Agreements",type:"checkbox",validators:{submit:"required"},customErrorMessages:{"required.Agreements":o}},{id:"Notes",renderer:"textarea",args:{countCharacters:!0},validators:{submit:"max:100"}}]}};e.initUploadInstructionForm=function(t,e){return(0,r.initUploadClientDocumentsForm)(t,e,"client-instruction",a)}},20644:function(t,e,i){"use strict";var r=this&&this.__awaiter||function(t,e,i,r){return new(i||(i=Promise))((function(a,n){function o(t){try{u(r.next(t))}catch(t){n(t)}}function s(t){try{u(r.throw(t))}catch(t){n(t)}}function u(t){var e;t.done?a(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(o,s)}u((r=r.apply(t,e||[])).next())}))},a=this&&this.__generator||function(t,e){var i,r,a,n,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(s){return function(u){return function(s){if(i)throw new TypeError("Generator is already executing.");for(;n&&(n=0,s[0]&&(o=0)),o;)try{if(i=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=e.call(t,o)}catch(t){s=[6,t],r=0}finally{i=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.ClientKYCHandler=void 0;var o=n(i(30050)),s=i(74724),u=i(89216),l=i(96623),c=function(){function t(){var t=this;this.initFileSelectButtons=function(){document.querySelectorAll(".js-client-kyc-upload-request").forEach((function(e){e.addEventListener("click",(function(){t.uniqueFileIdField.value=e.getAttribute("data-unique-file-id"),t.documentRequestDescriptionField.value=e.getAttribute("data-document-request-desc"),t.fileInput.click()}))}))},this.togglePanel=function(e){t.panels.forEach((function(t){t.classList.toggle("u-hidden",!0)})),e.classList.toggle("u-hidden",!1)},this.genericError=function(){for(var e=t.fileInput.files,i=[],r=0;r<e.length;r++)i.push(e[r].name);t.handleFileErrors(t.uploadError,i)},this.connectionError=function(){for(var e=t.fileInput.files,i=[],r=0;r<e.length;r++)i.push(e[r].name);var a=document.querySelector(".js-connection-failed-filelist"),n="";i.forEach((function(t){n+='<p class="u-font-family-bold u-text-teal-green">'.concat(t,"</p>")})),a.innerHTML=n},this.validate=function(){var e=t.fileInput.files,i=[];if(e.length>t.maxNumberOfFiles){for(var r=0;r<e.length;r++)i.push(e[r].name);t.handleFileErrors(t.maxNumberOfFilesError,i)}else{for(r=0;r<e.length;r++)(0,s.maxFileSize)(e[r],t.maxFileSize,null)||i.push(e[r].name);if(i.length)t.handleFileErrors(t.fileInputSizeError,i);else{for(r=0;r<e.length;r++)(0,s.fileType)(e[r],t.allowedFileTypes,null)||i.push(e[r].name);i.length?t.handleFileErrors(t.fileInputTypeError,i):t.showSubmitScreen()}}},this.submit=function(e){return r(t,void 0,void 0,(function(){var t,i,r,n,o,s,l,c,d;return a(this,(function(a){switch(a.label){case 0:e.preventDefault(),this.togglePanel(this.loadingPanel),t=new FormData(this.form),i=(0,u.setFetchOpts)({method:"POST",body:t,isMultiPartForm:!0}),a.label=1;case 1:return a.trys.push([1,6,,7]),[4,(0,u.fetchWithTimeOut)(this.form.action,i,6e4)];case 2:return r=a.sent(),this.togglePanel(this.formPanel),r.redirected&&window.location.reload(),r.ok?[4,r.json()]:[3,4];case 3:return n=a.sent(),o=n.ErrorMessage,s=n.FileErrors,!1===n.Success?null!=s?(l=s.Message,c=s.FileList,this.handleFileErrors(l,c)):this.handleFileErrors(o):(this.reloadTable(),this.form.reset(),this.togglePanel(this.confirmationPanel)),[3,5];case 4:this.genericError(),a.label=5;case 5:return[3,7];case 6:return d=a.sent(),console.error(d),this.togglePanel(this.connectionErrorPanel),this.connectionError(),[3,7];case 7:return[2]}}))}))},this.reloadTable=function(){return r(t,void 0,void 0,(function(){var t,e,i;return a(this,(function(r){switch(r.label){case 0:return r.trys.push([0,4,,5]),[4,fetch(this.tableDataUrl)];case 1:return(t=r.sent()).ok?(e=this.tableWrapper,[4,t.text()]):[3,3];case 2:e.innerHTML=r.sent(),this.initFileSelectButtons(),(0,l.prettyScroll)(0,this.tableWrapper.offsetTop-230),r.label=3;case 3:throw new Error("Request failed!");case 4:return i=r.sent(),console.error(i),[3,5];case 5:return[2]}}))}))},this.showSubmitScreen=function(){t.submitMarkup.classList.toggle("u-hidden",!1),t.errorMarkup.classList.toggle("u-hidden",!0);for(var e=t.fileInput.files,i="",r=0;r<e.length;r++)i+='<p class="u-font-family-bold u-text-teal-green">'.concat(e[r].name,"</p>");t.fileListContainer.innerHTML=i},this.handleFileErrors=function(e,i){void 0===i&&(i=[]);var r='<p class="c-error-message">'.concat(e,"</p>");i.forEach((function(t){r+='<p class="u-font-family-bold u-text-teal-green">'.concat(t,"</p>")})),t.errorContainer.innerHTML=r,t.submitMarkup.classList.toggle("u-hidden",!0),t.errorMarkup.classList.toggle("u-hidden",!1)},this.openDialog=function(){t.dialogElement.open=!0,t.togglePanel(t.formPanel),t.validate()},this.closeDialog=function(){t.dialogElement.open=!1};var e=document.querySelector(".js-client-kyc-reselect-file");this.dialogElement=document.querySelector("#js-client-kyc-upload-dialog"),this.fileInput=this.dialogElement.querySelector(".js-client-kyc-upload-input");var i=this.dialogElement.querySelector(".js-error-messages");this.tableWrapper=document.querySelector("#kyc-table-wrapper");var n=document.querySelector("#kyc-table");this.tableDataUrl=null==n?void 0:n.getAttribute("data-table-data-endpoint"),this.fileInputRequiredError=i.getAttribute("data-file-upload-required"),this.fileInputSizeError=i.getAttribute("data-file-upload-size"),this.fileInputTypeError=i.getAttribute("data-file-upload-type"),this.maxNumberOfFilesError=i.getAttribute("data-file-upload-count"),this.uploadError=i.getAttribute("data-upload-error"),this.form=this.dialogElement.querySelector(".js-upload-form"),this.loadingPanel=this.dialogElement.querySelector("#js-client-kyc-loading"),this.formPanel=this.dialogElement.querySelector("#js-client-kyc-form"),this.confirmationPanel=this.dialogElement.querySelector("#js-client-kyc-upload-form-complete"),this.connectionErrorPanel=this.dialogElement.querySelector("#js-client-kyc-upload-form-failed"),this.errorMarkup=this.dialogElement.querySelector(".js-error-markup"),this.submitMarkup=this.dialogElement.querySelector(".js-submit-markup"),this.errorContainer=this.dialogElement.querySelector(".js-error-container"),this.fileListContainer=this.dialogElement.querySelector(".js-file-list-container"),this.uniqueFileIdField=this.dialogElement.querySelector("#UniqueFileId"),this.documentRequestDescriptionField=this.dialogElement.querySelector("#DocumentRequestDescription"),this.panels=[this.formPanel,this.confirmationPanel,this.connectionErrorPanel,this.loadingPanel];var c=this.dialogElement.querySelectorAll(".js-client-kyc-cancel-upload"),d=this.fileInput.getAttribute("data-max-upload-size")||"30",h=this.fileInput.getAttribute("data-max-number-of-files")||"10";this.maxNumberOfFiles=parseInt(h),this.maxFileSize=1e6*parseInt(d),this.allowedFileTypes=this.fileInput.getAttribute("data-allowed-file-types"),this.initFileSelectButtons(),this.fileInput.addEventListener("change",(function(){t.fileInput.value&&t.openDialog()})),e.addEventListener("click",(function(){t.fileInput.click()})),c.forEach((function(e){e.addEventListener("click",t.closeDialog)})),o.default.register("maxFileSize",s.maxFileSize),o.default.register("fileType",s.fileType),this.form.addEventListener("submit",this.submit)}return t.init=function(){$("#insight-client-kyc").length&&new t},t}();e.ClientKYCHandler=c},9151:function(t,e,i){"use strict";var r=this&&this.__awaiter||function(t,e,i,r){return new(i||(i=Promise))((function(a,n){function o(t){try{u(r.next(t))}catch(t){n(t)}}function s(t){try{u(r.throw(t))}catch(t){n(t)}}function u(t){var e;t.done?a(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(o,s)}u((r=r.apply(t,e||[])).next())}))},a=this&&this.__generator||function(t,e){var i,r,a,n,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(s){return function(u){return function(s){if(i)throw new TypeError("Generator is already executing.");for(;n&&(n=0,s[0]&&(o=0)),o;)try{if(i=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=e.call(t,o)}catch(t){s=[6,t],r=0}finally{i=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}};Object.defineProperty(e,"__esModule",{value:!0});var n=i(89216),o=i(10912),s=i(68249),u=function(){function t(){this.selectorPrefix="client-signatories",this.agreementElementId="".concat(this.selectorPrefix,"-agreements"),this.exportLink=void 0,this.currentAgreementId=""}return t.prototype.init=function(){this.wrapper=document.querySelector(".js-sortable#".concat(this.selectorPrefix,"-supertable")),this.wrapper&&(this.superTable=new o.SuperTable({wrapper:this.wrapper,tableSelector:"table",paginationSelector:".js-table-pagination",onReloadComplete:this.onReload.bind(this)}),this.requestCancellationHandler());var t=document.getElementById(this.agreementElementId);this.exportLink=document.getElementById("".concat(this.agreementElementId,"-download")),this.agreementHandler(t),(0,s.initUploadClientSignatoriesForm)(this.superTable,t)},t.prototype.requestCancellationHandler=function(){var t=this;document.querySelectorAll(".js-cancel-".concat(this.selectorPrefix,"-request")).forEach((function(e){e.addEventListener("click",(function(){var i,o,s=e.dataset.cancelrequesturi,u=document.querySelector("#js-".concat(t.selectorPrefix,"-cancellation-dialog")),l=null==u?void 0:u.querySelector(".js-dialog-confirm"),c=null==u?void 0:u.querySelector(".js-dialog-title"),d=null==u?void 0:u.querySelector(".js-dialog-body"),h=c.innerText,f=d.innerText;u.setAttribute("open","true");var p=function(){c.innerText=h,d.innerText=f,l.classList.remove("u-hidden"),l.removeAttribute("disabled"),o&&(null==l||l.removeEventListener("click",o),null==u||u.querySelector(".js-dialog-close-button").removeEventListener("click",p))};null===(i=null==u?void 0:u.querySelector(".js-dialog-close-button"))||void 0===i||i.addEventListener("click",p),o=function(){return r(t,void 0,void 0,(function(){var t,e,i,r,o,u,p,m,b,g,v,y,_,x,k,w,S,E,j;return a(this,(function(a){switch(a.label){case 0:c.innerText=null!==(o=null===(r=c.dataset)||void 0===r?void 0:r.confirm)&&void 0!==o?o:h,d.innerText=null!==(p=null===(u=d.dataset)||void 0===u?void 0:u.confirm)&&void 0!==p?p:f,l.setAttribute("disabled","true"),a.label=1;case 1:return a.trys.push([1,6,,7]),t=(0,n.setFetchOpts)({method:"POST"}),[4,(0,n.fetchWithTimeOut)(s,t,1e4)];case 2:return(e=a.sent()).redirected&&window.location.reload(),e.ok?(d.innerText=null!==(b=null===(m=d.dataset)||void 0===m?void 0:m.success)&&void 0!==b?b:"Your request has been sent",l.classList.add("u-hidden"),[4,null===(v=null===(g=this.superTable)||void 0===g?void 0:g.reload)||void 0===v?void 0:v.call(g,{})]):[3,4];case 3:return a.sent(),[3,5];case 4:c.innerText=null!==(_=null===(y=c.dataset)||void 0===y?void 0:y.failure)&&void 0!==_?_:"Something went wrong",d.innerText=null!==(k=null===(x=d.dataset)||void 0===x?void 0:x.failure)&&void 0!==k?k:"An error occured, please try again later...",l.classList.add("u-hidden"),a.label=5;case 5:return[3,7];case 6:return i=a.sent(),c.innerText=null!==(S=null===(w=c.dataset)||void 0===w?void 0:w.failure)&&void 0!==S?S:"Something went wrong",d.innerText=null!==(j=null===(E=d.dataset)||void 0===E?void 0:E.failure)&&void 0!==j?j:"An error occured, please try again later...",l.classList.add("u-hidden"),console.error("Error when attempting to cancel request",i),[3,7];case 7:return[2]}}))}))},null==l||l.addEventListener("click",o)}))}))},t.prototype.agreementHandler=function(t){var e=this;null==t||t.addEventListener("change",(function(){var i,r=t.value;e.currentAgreementId=r,e.exportHandler(),null===(i=e.superTable)||void 0===i||i.reload({agreementId:r,shouldSort:!1})}))},t.prototype.exportHandler=function(){var t;if(this.exportLink){var e=this.exportLink.getAttribute("data-export-history-endpoint");this.exportLink.href="".concat(e,"?agreementId=").concat(this.currentAgreementId),(null===(t=this.wrapper)||void 0===t?void 0:t.querySelector("table").hasChildNodes())?(this.exportLink.removeAttribute("disabled"),this.exportLink.classList.remove("u-hidden")):(this.exportLink.removeAttribute("href"),this.exportLink.setAttribute("disabled","true"))}},t.prototype.onReload=function(){this.exportHandler(),this.requestCancellationHandler()},t}();e.default=u},68249:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.initUploadClientSignatoriesForm=void 0;var r=i(30306),a=function(t){var e,i=t.querySelector(".js-error-messages"),r=i.getAttribute("data-file-upload-required"),a=i.getAttribute("data-file-upload-size"),n=i.getAttribute("data-file-upload-type"),o=i.getAttribute("data-agreement-required"),s=(null===(e=t.querySelector(".js-upload"))||void 0===e?void 0:e.getAttribute("data-max-upload-size"))||"30",u=1e6*parseInt(s);return{fields:[{id:"UploadedFile",renderer:"upload",type:"upload",validators:{submit:"required|maxFileSize:".concat(u,"|fileType:pdf")},customErrorMessages:{"required.UploadedFile":r,"maxFileSize.UploadedFile":a,"fileType.UploadedFile":n}},{id:"Agreements",type:"checkbox",validators:{submit:"required"},customErrorMessages:{"required.Agreements":o}}]}};e.initUploadClientSignatoriesForm=function(t,e){return(0,r.initUploadClientDocumentsForm)(t,e,"client-signatories",a)}},35808:function(t,e,i){"use strict";var r,a=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(i(65311)),s=i(56187);s.defaultMaxListeners=100;var u=function(t){function e(e){var i=t.call(this)||this;return i.setComponentVisibility=i.setComponentVisibility.bind(i),i.setComponentFormElementsState=i.setComponentFormElementsState.bind(i),i.$component=e,i}return a(e,t),e.prototype.setComponentFadeOut=function(t){this.$component.fadeOut(t),this.setComponentVisibility(!1),this.$component.attr("style","")},e.prototype.setComponentVisibility=function(t){this.$component.toggleClass("!u-hidden",!t)},e.prototype.setComponentFormElementsState=function(t){this.$component.find("input, select, textarea, button").each((function(e,i){var r=o.default(i);r.is(":visible")&&!r.hasClass("js-no-disable")&&r.prop("disabled",!t)}))},e}(s);e.default=u},59759:function(t,e,i){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.cookieManager=void 0;var a=r(i(65311));e.cookieManager={cookie:function(t,e,i){if(void 0!==e){var r=i.cookieSettings.path||"/",n=void 0,o=void 0;return 0!==i.cookieSettings.expires&&"seconds"===i.cookieSettings.duration?((o=new Date).setTime(o.getTime()+1e3*i.cookieSettings.expires),n="; expires="+o.toUTCString()):0!==i.cookieSettings.expires&&"years"===i.cookieSettings.duration&&((o=new Date).setFullYear(o.getFullYear()+i.cookieSettings.expires),n="; expires="+o.toUTCString()),document.cookie=t+"="+encodeURIComponent(e||"")+n+"; path="+r,!0}var s=null,u=null;if(document.cookie&&""!==document.cookie)for(var l=document.cookie.split(";"),c=l.length,d=0;d<c;++d)if((s=a.default.trim(l[d])).substring(0,t.length+1)===t+"="){var h=t.length;u=decodeURIComponent(s.substring(h+1));break}return u}}},33154:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Details=void 0,e.Details=function(){function t(t){var e=this;this.detailsElement=void 0,this.summaryElement=void 0,this.icon=void 0,this.detailsElement=t.detailsElement,this.summaryElement=this.detailsElement.querySelector(".js-details-summary"),this.icon=this.summaryElement.querySelector(".js-summary-icon use"),this.detailsElement&&this.summaryElement&&this.icon?(this.openIcon=t.openIcon||"#icon-sorted-down",this.closeIcon=t.closeIcon||"#icon-sorted-up",this.detailsElement.addEventListener("toggle",(function(){var t=e.detailsElement.open,i="/bundles/img/svg-icons/symbols.svg".concat(t?e.closeIcon:e.openIcon);e.icon.setAttribute("xlink:href",i);var r=e.summaryElement.querySelector(".js-details-closed"),a=e.summaryElement.querySelector(".js-details-opened");t?(r.classList.add("u-hidden"),a.classList.remove("u-hidden")):(r.classList.remove("u-hidden"),a.classList.add("u-hidden"))}))):console.error("Details, summary or icon missing")}return t.init=function(){document.querySelectorAll(".js-details").forEach((function(e){new t({detailsElement:e})}))},t}()},9734:function(t,e,i){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.setupDialogs=void 0;var a=r(i(7629));e.setupDialogs=function(){document.querySelectorAll("dialog").forEach((function(t){a.default.registerDialog(t)})),document.querySelectorAll(".js-basic-dialog").forEach((function(t){var e=t.querySelector(".js-dialog-close-button");e&&e.addEventListener("click",(function(e){t.close()}))}))}},30783:function(t,e,i){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.externalLinks=void 0;var a=r(i(65311));e.externalLinks={init:function(t){var e=new RegExp("\\w*\\.(pdf|doc|docx|xlsx|xls|txt|html|csv|ppt|pptx)$");t instanceof a.default==0&&(t=(0,a.default)(document)),Array.prototype.slice.call(t.find("a[href]")).filter((function(t){var i=t.href.split("?")[0];return e.test(i)||!t.href.startsWith(window.location.origin)})).forEach((function(t){(0,a.default)(t).attr("target","_blank")}))}}},54723:function(t,e,i){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.checkboxValueCookie=void 0;var a=r(i(65311)),n=i(59759);e.checkboxValueCookie={init:function(){e.checkboxValueCookie.enableGlobal(),(0,a.default)("[data-checkbox-key-cookie]").each((function(){var t=(0,a.default)(this),e=t.data("checkbox-cookie-type"),i=t.data("checkbox-key-cookie"),r=t.data("checkbox-value-cookie");if("exclusion"===e){var o=n.cookieManager.cookie(i),s=null!==o,u=null!==n.cookieManager.cookie("insight-us-confirm-choice"),l=null!==n.cookieManager.cookie("insight-us-allow-all");if(!s&&!u&&!l)return;s?(0,a.default)(this).prop("checked",!o.includes(r)):(0,a.default)(this).prop("checked",!0)}}))},enableGlobal:function(){window.checkboxValueCookie||(window.checkboxValueCookie=e.checkboxValueCookie)}}},8420:function(t,e,i){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.fadeIn=void 0;var a=r(i(65311));e.fadeIn={init:function(){e.fadeIn.enableGlobal(),(0,a.default)("[data-fadein]").each((function(){var t=(0,a.default)(this),e=parseInt(t.data("fadein")),i=parseFloat((0,a.default)(this).css("opacity"));t.css({opacity:0,visibility:"visible",display:"block"}),setTimeout((function(){t.animate({opacity:i,display:"block"})}),e)}))},enableGlobal:function(){window.fadeIn||(window.fadeIn=e.fadeIn)}}},67123:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toggleMultipleCheckboxes=e.checkboxValueCookie=e.stopPropagation=e.scrollContent=e.removeClasses=e.renderDate=e.tableFunds=e.simpleModal=e.fadeIn=void 0;var r=i(8420);Object.defineProperty(e,"fadeIn",{enumerable:!0,get:function(){return r.fadeIn}});var a=i(15688);Object.defineProperty(e,"simpleModal",{enumerable:!0,get:function(){return a.simpleModal}});var n=i(35570);Object.defineProperty(e,"tableFunds",{enumerable:!0,get:function(){return n.tableFunds}});var o=i(24043);Object.defineProperty(e,"renderDate",{enumerable:!0,get:function(){return o.renderDate}});var s=i(99983);Object.defineProperty(e,"removeClasses",{enumerable:!0,get:function(){return s.removeClasses}});var u=i(36018);Object.defineProperty(e,"scrollContent",{enumerable:!0,get:function(){return u.scrollContent}});var l=i(53518);Object.defineProperty(e,"stopPropagation",{enumerable:!0,get:function(){return l.stopPropagation}});var c=i(54723);Object.defineProperty(e,"checkboxValueCookie",{enumerable:!0,get:function(){return c.checkboxValueCookie}});var d=i(96935);Object.defineProperty(e,"toggleMultipleCheckboxes",{enumerable:!0,get:function(){return d.toggleMultipleCheckboxes}})},15688:function(t,e,i){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.simpleModal=e.microModal=void 0;var a=r(i(65311)),n=r(i(73594));e.microModal={init:function(){n.default.init({onShow:function(t){t.removeAttribute("aria-hidden"),(0,a.default)("#".concat(t.id)).removeClass("!u-hidden")},onClose:function(t){t.removeAttribute("aria-hidden"),(0,a.default)("#".concat(t.id)).addClass("!u-hidden")},disableScroll:!0})}},e.simpleModal={init:function(){e.simpleModal.enableGlobal(),(0,a.default)("[data-modal-target]").each((function(){var t=(0,a.default)(this);t.on("click",(function(){var e=t.data("modal-target"),i=(0,a.default)("#"+e),r=t.data("modal-action"),n=i.hasClass("!u-hidden"),o=(0,a.default)("body").hasClass("u-overflow-hidden"),s="show"===r;"hide"===r&&!n&&(i.addClass("!u-hidden"),o&&(0,a.default)("body").removeClass("u-overflow-hidden")),s&&n&&(i.removeClass("!u-hidden"),o||(0,a.default)("body").addClass("u-overflow-hidden"))}))}))},enableGlobal:function(){window.simpleModal||(window.simpleModal=e.simpleModal)}}},99983:function(t,e,i){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.removeClasses=void 0;var a=r(i(65311));e.removeClasses={init:function(){e.removeClasses.enableGlobal(),(0,a.default)("[data-remove-classes-for]").on("click",(function(){var t=(0,a.default)(this),e=t.data("remove-classes-for"),i=t.data("remove-classes").split(",").join(" ");(0,a.default)(e).removeClass(i)}))},enableGlobal:function(){window.removeClasses||(window.removeClasses=e.removeClasses)}}},24043:function(t,e,i){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.renderDate=void 0;var a=i(37531),n=r(i(65311));e.renderDate={init:function(){e.renderDate.enableGlobal();var t=(0,n.default)("[data-${attr}]");t.length&&t.each((function(){var t=(0,n.default)(this).data("".concat("convert-date"));(0,n.default)(this).html(a.Helpers.swapDateMonth(t))}))},enableGlobal:function(){window.renderDate||(window.renderDate=e.renderDate)}}},36018:function(t,e,i){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.scrollContent=void 0;var a=r(i(65311));e.scrollContent={init:function(){e.scrollContent.enableGlobal(),(0,a.default)("[data-scroll-content-target]").each((function(){var t=(0,a.default)(this),e=t.data("scroll-direction"),i=t.data("scroll-content-target");t.on("click",(function(){"left"===e?(0,a.default)("#"+i).animate({scrollLeft:0}):console.warn("Scroll content direction not supported")}))}))},enableGlobal:function(){window.scrollContent||(window.scrollContent=e.scrollContent)}}},53518:function(t,e,i){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.stopPropagation=void 0;var a=r(i(65311));e.stopPropagation={init:function(){e.stopPropagation.enableGlobal(),(0,a.default)("[data-stop-propagation]").each((function(){(0,a.default)(this).on("click",(function(t){t.stopPropagation()}))}))},enableGlobal:function(){window.stopPropagation||(window.stopPropagation=e.stopPropagation)}}},35570:function(t,e,i){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.tableFunds=void 0;var a=r(i(65311));e.tableFunds={init:function(){e.tableFunds.enableGlobal(),(0,a.default)(".c-table-funds--auto-dist").each((function(){var t=(0,a.default)(this),e=t.find(".c-table-funds_row"),i=t.find(".c-table-funds_row-additional"),r=t.find("th").length;e.each((function(t,e){t%2==0?(0,a.default)(e).addClass("c-table-funds_row--white"):(0,a.default)(e).addClass("c-table-funds_row--gray")})),i.each((function(t,e){(0,a.default)(e).find("> td").attr("colspan",r)}))}))},enableGlobal:function(){window.tableFunds||(window.tableFunds=e.tableFunds)}}},96935:function(t,e,i){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.toggleMultipleCheckboxes=void 0;var a=r(i(65311));e.toggleMultipleCheckboxes={init:function(){e.toggleMultipleCheckboxes.enableGlobal(),(0,a.default)("[data-multiple-check]").on("change",(function(){var t=(0,a.default)(this),e=t.data("multiple-check-shared"),i="[data-multiple-check-shared='".concat(e,"']");(0,a.default)(i).prop("checked",t.is(":checked"))}))},enableGlobal:function(){window.toggleMultipleCheckboxes||(window.toggleMultipleCheckboxes=e.toggleMultipleCheckboxes)}}},29636:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.filteredMediaLibraryResults=void 0;var r=i(30783);e.filteredMediaLibraryResults={pageInit:function(t,i){""!==window.location.hash&&window.location.hash;var r="page",a=$(".js-filter-category"),n=$(".js-filter-category-all");e.filteredMediaLibraryResults.addFilterEvent({contentId:t,filters:a,allButton:n,type:r}),e.filteredMediaLibraryResults.filteredMediaItemResults({contentId:t,pageNo:1,type:r})},blockInit:function(){var t=$(".js-filtered-library-block"),i="block";t.map((function(t,r){var a=$(r).attr("data-content-id"),n=$(r).find(".js-filter-category"),o=$(r).find(".js-filter-category-all");e.filteredMediaLibraryResults.addFilterEvent({contentId:a,filters:n,allButton:o,type:i}),e.filteredMediaLibraryResults.filteredMediaItemResults({contentId:a,pageNo:1,type:i})}))},addFilterEvent:function(t){var i=t.contentId,r=t.filters,a=t.allButton,n=t.type;a.click((function(t){var a=$(t.currentTarget);a.hasClass("o-filter-section_filter-btn--active")||(a.addClass("o-filter-section_filter-btn--active"),$(".js-filters-count").text("0"),r.prop("checked",!1),e.filteredMediaLibraryResults.filteredMediaItemResults({contentId:i,pageNo:1,type:n}))})),r.change((function(t){var o=r.filter((function(t,e){return e.checked}));$(".js-filters-count").text(o.length),a.toggleClass("o-filter-section_filter-btn--active",!(o.length>0)),e.filteredMediaLibraryResults.filteredMediaItemResults({contentId:i,pageNo:1,type:n})}))},searchResultPaging:function(t,i,r,a,n){var o="block"===n.toLowerCase(),s=$("[data-content-id='".concat(t,"']")).first(),u=o?".":"#";(o?$(s).find(".search-result-pagination"):$("#search-result-pagination")).paging({recordsPerPage:r,currentPage:parseInt(i)||0,totalRecords:a,paginationSelector:"".concat(u,"pagination"),pagingTemplateSelector:"".concat(u,"pagingTemplate"),recordsPerPageSelector:"".concat(u,"recordsPerPage"),onPaging:function(i,r){e.filteredMediaLibraryResults.filteredMediaItemResults({contentId:t,pageNo:i,type:n})}})},filteredMediaItemResults:function(t){var e=t.contentId,i=t.pageNo,a="block"===t.type.toLowerCase(),n=$("[data-content-id='".concat(e,"']")).first(),o=a?$("#currentPage").val():e,s=[];(a?$(n).find(".js-filter-category"):$(".js-filter-category")).each((function(t,e){if(e.checked){var i=$(e).data("filter-value");i&&s.push(i)}}));var u=a?$(n).find(".js-accordion-items-wrapper"):$(".js-c-wide-result"),l=a?"FilteredLibraryBlock":"FilteredLibrary",c={blockIds:{currentBlock:e,currentPage:parseInt(o)||null},pageIds:{currentPage:o}},d={pageNo:i,filterCategory:s.length?s.join(","):null},h=Object.assign(d,a?c.blockIds:c.pageIds);$.ajax({type:"GET",dataType:"html",url:"/".concat(l,"/GetFilteredLibraryMediaItems"),data:h,success:function(t){$(u).html("").append(t),r.externalLinks.init($(".js-c-wide-result"))},error:function(t){},complete:function(){var t=$(n).data("is-loaded");if(a){var e=$(n).parent().parent().offset().top,i=$("header").height();t?window.scrollTo({left:0,top:e-i,behavior:"smooth"}):$(n).attr("data-is-loaded","true")}else window.scrollTo({left:0,top:0,behavior:"smooth"})}})}}},92748:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Filters=void 0;var r=i(35566),a=i(25183),n=i(84220),o=function(){function t(t){var e=this;this.resizeEventHandler=new n.ResizeEvents,this.setupComponents=function(){e.resizeEventHandler.isTablet()&&e.summaryElement.classList.add("u-sr-only"),e.resizeEventHandler.isMobile()&&(e.detailsElement.open=!1),e.resizeEventHandler.on(r.MATCH_TABLET,(function(){e.summaryElement.classList.add("u-sr-only"),e.setPageHeaderDetailsState(!0)})),e.resizeEventHandler.on(r.MATCH_MOBILE,(function(){e.summaryElement.classList.remove("u-sr-only"),e.setPageHeaderDetailsState(!1)})),e.detailsElement.addEventListener("click",(function(){e.setIcon(!e.detailsElement.open)})),e.setIcon(e.detailsElement.open)},this.setIcon=function(t){e.icon.setAttribute("xlink:href",t?r.ICON_CHEVRON_UP:r.ICON_CHEVRON_DOWN)},this.setPageHeaderDetailsState=function(t){e.detailsElement.open=t,e.summaryElement.classList.toggle("u-hidden",t),e.setIcon(t)},(0,a.bindClassMethods)(this),this.detailsElement=t.querySelector(".js-filters-details"),this.summaryElement=t.querySelector(".js-filters-summary"),this.icon=this.summaryElement.querySelector(".js-filters-toggle-icon > use"),this.detailsElement&&this.summaryElement&&this.icon?this.setupComponents():console.error("Filters are missing details, summary or icon components")}return t.init=function(){document.querySelectorAll(".js-filters").forEach((function(e){new t(e)}))},t}();e.Filters=o},30280:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.flexSliderCarousel=void 0,e.flexSliderCarousel={init:function(){$(".js-wide-small-image-carousel").each((function(t,e){var i=$(e).find(".c-wide-small-image-carousel_top-content"),r=$(e).find(".c-wide-small-image-carousel_bottom-content");$(i).flexslider({animation:"slide",controlNav:!1,animationLoop:!1,slideshow:!1,itemWidth:100,asNavFor:r}),$(r).flexslider({animation:"slide",controlNav:!1,animationLoop:!0,slideshow:!1,sync:i})})),e.flexSliderCarousel.controlCarousel()},controlCarousel:function(){if($(".js-hero-carousel").length){var t={animation:"slide",pausePlay:!0,animationLoop:!0,pauseOnAction:!1,pauseOnHover:!0,slideShowSpeed:void 0},i=$(".js-hero-carousel").attr("data-slide-speed");i&&(t.slideShowSpeed=i),$(".js-hero-carousel").flexslider(t),setTimeout((function(){e.flexSliderCarousel.positionPlayButton()}),1e3)}},positionPlayButton:function(){$(".js-hero-carousel").each((function(t,e){var i=$(this),r=i.find(".flex-control-nav"),a=i.find(".flex-control-nav li");if(a.length>1){var n=a.last().position().left+40,o=r.position().top;i.find(".flex-pauseplay").css({left:n+"px",top:o+"px"})}else i.find(".flex-pauseplay").addClass("!u-hidden")}))},perpectivePromoImageCount:0,imageLoadArr:[],timeout:null,imageLoadFlag:!1,imageLoadDelay:1500,handleSliderHeight:function(t,i){if(!e.flexSliderCarousel.imageLoadArr.length)return e.flexSliderCarousel.imageLoadFlag=!1,void clearTimeout(e.flexSliderCarousel.timeout);e.flexSliderCarousel.timeout=setTimeout((function(){t&&(e.flexSliderCarousel.imageLoadArr.shift(),window.resizeEvents&&window.resizeEvents.globals.currentHeight++,t()),e.flexSliderCarousel.imageLoadArr.length?(window.resizeEvents&&window.resizeEvents.globals.currentHeight++,e.flexSliderCarousel.handleSliderHeight(t,i)):e.flexSliderCarousel.imageLoadFlag=!1}),i)},attatchPerspective:function(){var t=$(".js-perspective-filter>.c-perspectives-tile .c-perspectives-tile_thumbnail-overlay").length-1;e.flexSliderCarousel.perpectivePromoImageCount+=1,e.flexSliderCarousel.perpectivePromoImageCount>=t&&(e.flexSliderCarousel.imageLoadArr.push(e.flexSliderCarousel.imageLoadArr.length+1),e.flexSliderCarousel.imageLoadFlag||(e.flexSliderCarousel.imageLoadFlag=!0,e.flexSliderCarousel.handleSliderHeight((function(){$(window).resize()}),e.flexSliderCarousel.imageLoadDelay)))}}},80905:function(t,e,i){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(t){for(var e,i=1,r=arguments.length;i<r;i++)for(var a in e=arguments[i])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},r.apply(this,arguments)},a=this&&this.__awaiter||function(t,e,i,r){return new(i||(i=Promise))((function(a,n){function o(t){try{u(r.next(t))}catch(t){n(t)}}function s(t){try{u(r.throw(t))}catch(t){n(t)}}function u(t){var e;t.done?a(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(o,s)}u((r=r.apply(t,e||[])).next())}))},n=this&&this.__generator||function(t,e){var i,r,a,n,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(s){return function(u){return function(s){if(i)throw new TypeError("Generator is already executing.");for(;n&&(n=0,s[0]&&(o=0)),o;)try{if(i=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=e.call(t,o)}catch(t){s=[6,t],r=0}finally{i=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.Form=void 0;var s=o(i(30050)),u=i(96623),l=i(40054),c=i(74724);e.Form=function(t,e){var i,o,d=this;this.form=void 0,this.submitButton=void 0,this.masks={},this.formComponents={},this.setupFields=function(){var t=d.config.fields;t.forEach((function(e){var i=e.id,r=e.mask,a=e.renderer,n=e.type,o=e.validators.input,s=d.form.querySelectorAll('[name="'.concat(i,'"]'));s.length||console.error("No form controls found with this name: ".concat(i));var u="checkbox"===n||"radio"===n;d.formComponents[i]={id:i},u&&(d.formComponents[i].elements=[]),s.forEach((function(n,s){var c=u?"".concat(i,"_group_").concat(s):i;u?d.formComponents[i].elements.push(n):d.formComponents[i].element=n,r&&(d.masks[c]=(0,l.applyMask)(n,r)),a&&(0,l.applyRenderers)(e,n),o&&d.onInput(n,t)}))}))},this.getFieldValue=function(t){var e,i=t.id,r=t.mask,a=t.type;if("checkbox"===a){var n=d.formComponents[i].elements,o=[];return n.forEach((function(t){t.checked&&o.push(t.value)})),o}if("radio"===a)return(n=d.formComponents[i].elements).forEach((function(t){t.checked&&(e=t.value)})),e;if("upload"===a)return(s=d.formComponents[i].element).files[0];var s=d.formComponents[i].element;return r?d.getMaskedValue(r,i):s.value},this.getMaskedValue=function(t,e){return"number"===t.type||"currency"===t.type?parseFloat(d.masks[e].unmaskedValue):d.masks[e].unmaskedValue},this.getFieldValues=function(t){var e={};return t.forEach((function(t){var i=t.id;e[i]=d.getFieldValue(t)})),e},this.validateInput=function(t){var e={},i={},a={};return t.forEach((function(t){var n=t.id,o=t.validators.input,s=t.customErrorMessages;o&&(e[n]=d.getFieldValue(t),i[n]=o,a=r(r({},a),s))})),new s.default(e,i,a)},this.validateSubmit=function(t){var e={},i={},a={};return t.forEach((function(t){var n=t.id,o=t.validators.submit,s=t.customErrorMessages;o&&(e[n]=d.getFieldValue(t),i[n]=o,a=r(r({},a),s))})),new s.default(e,i,a)},this.handleValidationErrors=function(t){Object.keys(t).forEach((function(e,i){var r=(0,l.getFieldById)(d.config.fields,e);if(r){var a=r.id,n=r.type,o="checkbox"===n||"radio"===n?d.formComponents[a].elements[0]:d.formComponents[a].element,s=o.closest(".o-form-item1"),c=s.querySelector(".c-error-message");c.classList.remove("u-hidden"),s.classList.add("o-form-item1--validation-failed"),(0,u.prettyScroll)(0,o.scrollTop),o.focus(),t[e]&&(c.innerHTML=t[e])}}))},this.onInput=function(t,e){t.addEventListener("input",(function(){var i=t.closest(".o-form-item1");i.querySelector(".c-error-message").classList.add("u-hidden"),i.classList.remove("o-form-item1--validation-failed"),d.validateInput(e).passes()?d.submitButton.removeAttribute("disabled"):d.submitButton.setAttribute("disabled","")}))},this.onSubmit=function(t){return a(d,void 0,void 0,(function(){var e,i,r,a;return n(this,(function(n){switch(n.label){case 0:return t.preventDefault(),this.resetValidation(),(e=this.validateSubmit(this.config.fields)).passes()?(i=this.config.submit,r=this.getFieldValues(this.config.fields),[4,i(r)]):[3,2];case 1:return(a=n.sent())?this.handleValidationErrors(a):this.resetForm(),[3,3];case 2:a=e.errors.all(),this.handleValidationErrors(a),n.label=3;case 3:return[2]}}))}))},this.resetValidation=function(){var t=d.form.querySelectorAll(".o-form-item1"),e=d.form.querySelectorAll(".c-error-message");t.forEach((function(t){return t.classList.remove("o-form-item1--validation-failed")})),e.forEach((function(t){return t.classList.add("u-hidden")}))},this.resetForm=function(){d.resetValidation(),d.form.reset()},this.registerAdditionalValidators=function(){s.default.register("maxFileSize",c.maxFileSize),s.default.register("fileType",c.fileType)},this.config=e,this.form=t,this.submitButton=null===(i=this.form)||void 0===i?void 0:i.querySelector(".js-submit-button"),null===(o=this.form)||void 0===o||o.addEventListener("submit",this.onSubmit),this.registerAdditionalValidators(),this.setupFields()}},74724:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fileType=e.maxFileSize=void 0,e.maxFileSize=function(t,e,i){var r=parseInt(e);return t.size<=r},e.fileType=function(t,e,i){var r,a=null===(r=t.name.split("."))||void 0===r?void 0:r.pop();return e.includes(a)}},35792:function(t,e,i){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.fund=void 0;var a=i(67123),n=r(i(55584));e.fund={moneyMarketsFundDocument:function(t){e.fund.initSelectChoices(),e.fund.fundDateFilter(),e.fund.initDownload(t),$("#fund-query").autocomplete({source:window.AUTOCOMPLETE||[]});var i=function(){var i={umbrellaId:$("#fundUmbrella").val(),keywords:$("#fund-query").val(),selectedDate:$.datepicker.formatDate("dd-MM-yy",$("#datepicker").datepicker("getDate"))};$(".calendar-validation-message").addClass("!u-hidden"),e.fund.isDatePicker($("#datepicker").val())?e.fund.moneyMarketsAjaxCall(i,t):($(".calendar-validation-message").removeClass("!u-hidden"),$(".selected-fund-date").text(""))};$('.c-n-input-search button[type="submit"]').click(i),$(".money-markets-fund-filter").change(i),$(".calendar-button").click(i),$("#fund-query").autocomplete({close:i})},moneyMarketsAjaxCall:function(t,i){void 0!==t.umbrellaId&&""!==t.umbrellaId||(t.umbrellaId=0),void 0===t.keywords&&(t.keywords=""),$.ajax({url:i+"getfundprice/",type:"GET",dataType:"html",cache:!1,data:t,success:function(t){$("#money-markets-fund-price").html(t),$("#fund-query").autocomplete("close"),e.fund.bindFilterDate($("#datepicker").val()),a.tableFunds.init(),n.default.init(".js-toggle-container .js-toggle")},error:function(t){}})},liquidityFundDocument:function(t){e.fund.initDownload(t),e.fund.fundDateFilter(),e.fund.initSelectChoices(),$(".calendar-button").click((function(i){$(".calendar-validation-message").addClass("!u-hidden");var r=$("#datepicker").datepicker("getDate"),o=$.datepicker.formatDate("dd-MM-yy",r),s=$("#datepicker").val();e.fund.isDatePicker(s)?(e.fund.bindFilterDate(s),$.ajax({url:t+"getliquidityfundprice/",type:"GET",dataType:"html",cache:!1,data:{selectedDate:o},success:function(t){$("#liquidity-fund-price").html(t),a.tableFunds.init(),n.default.init(".js-toggle-container .js-toggle")},error:function(t){}})):($(".calendar-validation-message").removeClass("!u-hidden"),$(".selected-fund-date").text(""))}))},pooledFundPriceAjaxCall:function(t,i,r,o,s,u){void 0!==i&&""!==i||(i=0),void 0!==t&&""!==t||(t=0),void 0!==r&&""!==r||(r=0),void 0===s&&(s=""),$.ajax({url:u+"getpooledfundprice/",type:"GET",dataType:"html",cache:!1,data:{fundStructureId:parseInt(t),assetClassId:parseInt(i),umbrellaId:parseInt(r),keywords:s,selectedDate:o},success:function(t){$("#fund-prices-grid").html(t),$("#fund-query").autocomplete("close"),e.fund.bindFilterDate($("#datepicker").val()),a.tableFunds.init(),n.default.init(".js-toggle-container .js-toggle")},error:function(t){}})},initSelectChoices:function(){window.FUNDS=window.FUNDS||{};var t=0;Object.keys(window.FUNDS).sort().forEach((function(e){var i=document.createElement("option");i.value=e,i.innerHTML=e,document.getElementById("fundName").appendChild(i),t++})),document.getElementById("fundName").setAttribute("size",t.toString());var e=document.createElement("option");e.value=window.DEFAULT_FUNDS_TEXT,e.innerHTML=window.DEFAULT_FUNDS_TEXT,document.getElementById("shareClass").appendChild(e),document.getElementById("shareClass").setAttribute("size","1"),$("#fundName").change((function(){var t=$(this).val()||[],e=[];t.forEach((function(t){window.FUNDS[t]&&window.FUNDS[t].forEach((function(t){-1===e.indexOf(t.shareClass)&&e.push(t.shareClass)}))})),document.getElementById("shareClass").innerHTML="",0===e.length&&e.push(window.DEFAULT_FUNDS_TEXT);var i=0;e.sort().forEach((function(t){if(0===$('#shareClass option[value="'+t+'"]').length){var e=document.createElement("option");e.value=t,e.innerHTML=t,document.getElementById("shareClass").appendChild(e),i++}})),document.getElementById("shareClass").setAttribute("size",i.toString())}))},initDownload:function(t){$(".do-download").click((function(){if($(".date-error").addClass("!u-hidden"),void 0!==$("#fromDate").val()&&void 0!==$("#toDate").val()){if(!e.fund.isDatePicker($("#fromDate").val())&&!e.fund.isDatePicker($("#toDate").val()))return void $(".date-error-both").removeClass("!u-hidden");if(new Date($("#fromDate").val().split("/").reverse())>new Date($("#toDate").val().split("/").reverse()))return void $(".date-error-both").removeClass("!u-hidden")}void 0===$("#fromDate").val()||e.fund.isDatePicker($("#fromDate").val())?void 0===$("#toDate").val()||e.fund.isDatePicker($("#toDate").val())?(window.location=t+"export?"+e.fund.encodeArgs({fromDate:$("#fromDate").val(),toDate:$("#toDate").val(),fundNames:$("#fundName").val()||"",shareClasses:$("#shareClass").val()||""}),$("#downloadDialog").dialog("close")):$(".date-error-end").removeClass("!u-hidden"):$(".date-error-start").removeClass("!u-hidden")})),$(".open-download").click((function(t){$("#downloadDialog").dialog({draggable:!1,modal:!0,resizable:!1,width:"auto",dialogClass:"no-title-bar"})})),$(".cancel-download").click((function(t){$("#downloadDialog").dialog("close")}))},encodeArgs:function(t){return Object.keys(t).map((function(e){return null!==t[e]?encodeURIComponent(e)+"="+encodeURIComponent(t[e]):""})).join("&")},pooledFundDocument:function(t){function i(){var i=$("#fundstructure").val(),r=$("#assetclass").val(),a=$("#fundUmbrella").val(),n=$("#fund-query").val(),o=$("#datepicker").datepicker("getDate");e.fund.isDatePicker($("#datepicker").val())?e.fund.pooledFundPriceAjaxCall(i,r,a,$.datepicker.formatDate("dd-MM-yy",o),n,t):($(".calendar-validation-message").removeClass("!u-hidden"),$(".selected-fund-date").text(""))}e.fund.initDownload(t),e.fund.fundDateFilter(),e.fund.initSelectChoices(),$("#fund-query").keydown((function(t){9===t.keyCode&&(t.stopImmediatePropagation(),t.preventDefault())})).autocomplete({source:window.AUTOCOMPLETE||[]}),$(".js-pooled-accordion").on("click",(function(){$(this).parent().hasClass("active")?$(this).parent().parent().addClass("active"):$(this).parent().parent().removeClass("active")})),$(".pooled-fund-filter").change(i),$(".calendar-button").click(i),$('.filter-search button[type="submit"]').click(i),$("#fund-query").autocomplete({close:i})},bindFilterDate:function(t){var e=["January","February","March","April","May","June","July","August","September","October","November","December"],i=new RegExp("m{1,4}|d{1,4}|y{1,4}","gi"),r=$("#cmsDateFormat").val().replaceAll(i,(function(t){return(t=t.toLowerCase()).includes("y")&&t.length>=2?"yy":t.includes("m")?t.length>2?Array(t.length-1).join("M"):Array(t.length+1).join("m"):t.includes("d")&&t.length>2?"dd":t})),a=t.split("/").reverse().join("/"),n=$("#TranslationMonths").val()?JSON.parse($("#TranslationMonths").val()):{},o=Object.keys(n).length?e.map((function(t){return n[t]?n[t]:t})):e,s=$.datepicker.formatDate(r,new Date(a),{monthNames:o,monthNamesShort:o.map((function(t){return t.trim().slice(0,3)}))});$(".selected-fund-date").text(s)},isDatePicker:function(t){return""!==t&&!!/^(((0[1-9]|[12]\d|3[01])\/(0[13578]|1[02])\/((19|[2-9]\d)\d{2}))|((0[1-9]|[12]\d|30)\/(0[13456789]|1[012])\/((19|[2-9]\d)\d{2}))|((0[1-9]|1\d|2[0-8])\/02\/((19|[2-9]\d)\d{2}))|(29\/02\/((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))))$/g.test(t)},fundDateFilter:function(){e.fund.bindFilterDate($("#datepicker").val())}}},51685:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.gmrHub=void 0;var r=i(48816);e.gmrHub={init:function(){$("#gmr-hub-filter").on("selectmenuchange change",(function(){$(this).parents("form").submit()}));var t=$(".js-date-translate");null==t||t.each((function(t,e){var i=e.innerText.split(" ").map((function(t){return(0,r.translate)(t)})).join(" ");e.innerText=i}))},initialisePaginationUi:function(t,i,r,a,n){var o=$("#search-result-pagination");null==o||o.paging({recordsPerPage:i,currentPage:parseInt(t)||0,totalRecords:r,paginationSelector:"#pagination",pagingTemplateSelector:"#pagingTemplate",recordsPerPageSelector:"#recordsPerPage",onPaging:function(t){e.gmrHub.filteredGmrHubResults(t,i,a,n)}})},filteredGmrHubResults:function(t,e,i,r){var a=$(".js-gmrhub-results"),n=new URLSearchParams(window.location.search),o=n.get("filter")||"",s=n.get("searchTerm")||"",u=n.get("view")||"",l="/".concat("T65HubResults","/GetHubPromoBlocksList?pageNumber=").concat(t,"&filter=").concat(o,"&searchTerm=").concat(s,"&view=").concat(u,"&pageSize=").concat(e,"&currentPage=").concat(i);null==r||r.forEach((function(t){l+="&featuredContent=".concat(t)})),$.ajax({type:"GET",dataType:"html",url:l,success:function(t){$(a).html("").append(t)},error:function(t){},complete:function(){var t=a.offset().top,e=$("header").height();window.scrollTo({left:0,top:t-e,behavior:"smooth"})}})},legalDisclaimerCheck:function(){}}},21522:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.header=void 0;var r=i(96623);e.header={applyStylesForHeaderNav:function(){var t=document.querySelector(".c-header"),e=document.querySelector(".l-body"),i=0===window.scrollY,r=null==t?void 0:t.classList.contains("c-header--fixed"),a=null==t?void 0:t.classList.contains("c-header--not-fixed"),n=Boolean(document.querySelectorAll(".js-wide-result").length);(r||a)&&(r&&!n&&e.classList.toggle("l-body--fixed",i),a&&e.classList.toggle("l-body--not-fixed",i))},handleSearchPosition:function(){var t=document.querySelector(".c-header_search-wrapper"),e=document.querySelector(".c-autosuggest-search-result_wrapper"),i=document.querySelector(".c-top-nav_logo-img--white"),a=(0,r.isVisible)(i);null==t||t.classList.toggle("c-header_search-wrapper--low",a),null==e||e.classList.toggle("c-autosuggest-search-result_wrapper--low",a)}}},11288:function(t,e,i){"use strict";var r,a=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){function e(e){var i=t.call(this,e)||this;return i.adjustPosition=i.adjustPosition.bind(i),i.onCloseClick=i.onCloseClick.bind(i),i.$closeButton=i.$component.find(".c-hello-bar_close"),i.contentId=i.$component.attr("content-id"),window.sessionStorage&&window.sessionStorage.getItem("helloBarClosed")!==i.contentId&&i.$component.fadeIn().css("display","flex"),i.$closeButton.click(i.onCloseClick),i.adjustPosition(),i}return a(e,t),e.prototype.adjustPosition=function(){var t=$(".c-top-nav_logo-img--white").is(":visible");this.$component.toggleClass("c-hello-bar--low",t)},e.prototype.onCloseClick=function(){var t=this;window.sessionStorage&&sessionStorage.setItem("helloBarClosed",this.contentId),this.$component.fadeOut({complete:function(){t.emit("closed")}})},e.init=function(){var t=$(".c-hello-bar");return t.length?new e(t):null},e}(n(i(35808)).default);e.default=o},37531:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Helpers=void 0,e.Helpers={swapDateMonth:function(t){if(t){t=t.trim();var e=window.navigator.language.split("-"),i=(e[0],e[1]);switch(i||(i="US"),i.toUpperCase()){case"US":case"CA":return t;default:var r=t.match(/(\w+)\s+?(\d+)[, ]+?(\d+)/),a=t;if(r&&4===r.length){var n=r.slice(1),o=n[0],s=n[1],u=n[2];a="".concat(s," ").concat(o,", ").concat(u)}return a}}}}},63710:function(t,e,i){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.autoSuggest=void 0;var a=r(i(65311));e.autoSuggest={cache:[],init:function(){(0,a.default)(".js-data-all-auto-suggest").each((function(t,i){var r=(0,a.default)(i),n=r.data("auto-suggest-api"),o=r.data("auto-suggest-min-length")||3;e.autoSuggest.cache.push({}),n&&o&&r.autocomplete({minLength:o,delay:200,source:function(i,r){var o=i.term;o in e.autoSuggest.cache[t]?r(a.default.map(e.autoSuggest.cache[t][o],(function(t){return{value:t.Value}}))):a.default.getJSON(n,{q:i.term},(function(i){i.length&&(e.autoSuggest.cache[t][o]=i),r(a.default.map(i,(function(t){return{value:t.Value}})))}))},select:function(t,e){r.val(e.item.value),r.closest("form").submit()},open:function(){r.autocomplete("widget").width(r.outerWidth()-2)}})}))}}},47525:function(t,e,i){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.datePicker=void 0;var a=r(i(65311));e.datePicker={globals:{initialised:!1},init:function(){e.datePicker.globals.initialised||(e.datePicker.reverseYearSort(),e.datePicker.globals.initialised=!0),(0,a.default)("[data-datepicker-input]").each((function(t,i){var r=(0,a.default)(i),n=r.data("date-hide-picker"),o=r.closest(".js-date-picker").find("[data-datepicker-button]"),s={beforeShow:function(t,i){o&&o.addClass("active"),e.datePicker.calendarPosition(r,(0,a.default)("#ui-datepicker-div"))},changeYear:!0,constrainInput:!0,dateFormat:"dd/mm/yy",defaultDate:null,firstDay:0,hideIfNoPrevNext:!1,maxDate:"PastOnly"===r.data("val-date")?0:null,minDate:"FutureOnly"===r.data("val-date")?0:null,onClose:function(){o&&o.removeClass("active"),setTimeout((function(){(0,a.default)("head").find(".js-ui-all-datepicker-tool-arrow-style").remove()}),200)},onSelect:function(){r.change()},showOn:n?"off":"focus",showOptions:{},showOtherMonths:!0,selectOtherMonths:!0,yearRange:"-100:+10"};r.datepicker(s).on("change",(function(){var t=r.val(),e=r.attr("date-picker-message-error"),i=r.attr("date-picker-message-error-multiple"),n=!/^(((0[1-9]|[12]\d|3[01])\/(0[13578]|1[02])\/((19|[2-9]\d)\d{2}))|((0[1-9]|[12]\d|30)\/(0[13456789]|1[012])\/((19|[2-9]\d)\d{2}))|((0[1-9]|1\d|2[0-8])\/02\/((19|[2-9]\d)\d{2}))|(29\/02\/((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))))$/g.test(t),o=Boolean(e),s=Boolean(i);if(n?r.attr("has-error","datepicker"):r.removeAttr("has-error"),o&&n?(0,a.default)("#"+e).removeClass("!u-hidden"):(0,a.default)("#"+e).addClass("!u-hidden"),s){var u=[],l=[],c=(0,a.default)("[date-picker-message-error-multiple=".concat(i,"]")),d=(0,a.default)("[date-picker-message-error-multiple=".concat(i,"][has-error=datepicker]"));if(c.each((function(t,e){u.push((0,a.default)(e).attr("has-error")),l.push((0,a.default)(e).attr("date-picker-message-error"))})),u.every((function(t){return"datepicker"===t})))return(0,a.default)("#"+i).removeClass("!u-hidden"),void l.forEach((function(t){(0,a.default)("#"+t).addClass("!u-hidden")}));(0,a.default)("#"+i).addClass("!u-hidden"),d.each((function(t,e){var i=(0,a.default)(e).attr("date-picker-message-error");(0,a.default)("#"+i).removeClass("!u-hidden")}))}}))})),e.datePicker.pickerButton()},pickerButton:function(){(0,a.default)("[data-datepicker-button]").on("click",(function(t){var e=(0,a.default)(t.target);t.preventDefault(),t.stopImmediatePropagation();var i=e.closest(".js-date-picker").find("[data-datepicker-input]"),r=i.datepicker("widget").is(":visible")&&!i.datepicker("widget").is(":empty");i.datepicker(r?"hide":"show")}))},calendarPosition:function(t,e){setTimeout((function(){var i=t[0].getBoundingClientRect(),r=e[0].getBoundingClientRect();if(e.width()>=t.closest(".o-form-item").width()){var n=e.width()-t.closest(".o-form-item").width()+15;(0,a.default)('<style class="js-ui-all-datepicker-tool-arrow-style">.ui-datepicker:before { right:'+n+"px} .ui-datepicker:after { right:"+n+"px}</style>").appendTo("head")}r.top<i.top?(e.addClass("above-input c-date-picker_bubble-arrow-down"),e.removeClass("c-date-picker_bubble-arrow-up"),e.css({marginTop:"-12px"})):(e.addClass("c-date-picker_bubble-arrow-up"),e.removeClass("c-date-picker_bubble-arrow-down"),e.css({marginTop:"12px"}))}))},reverseYearSort:function(){a.default.datepicker._generateMonthYearHeader_original=a.default.datepicker._generateMonthYearHeader,a.default.datepicker._generateMonthYearHeader=function(t,e,i,r,n,o,s,u){var l=(0,a.default)(a.default.datepicker._generateMonthYearHeader_original(t,e,i,r,n,o,s,u)),c=l.find(".ui-datepicker-year");return c.html(Array.prototype.reverse.apply(c.children())),(0,a.default)("<div />").append(l).html()}}}},53028:function(t,e,i){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var a=r(i(30050)),n=i(66476),o=i(96623),s=i(40054),u=i(48816),l=i(35566),c=function(){function t(){var t=this;this.$ldiWrapper=void 0,this.contentId=void 0,this.$designSolutionSection=void 0,this.$designSolutionForm=void 0,this.$designSolutionResults=void 0,this.$designSolutionSubmit=void 0,this.designSolutionMasks={},this.$solutionReportingSection=void 0,this.$solutionReportingSubmit=void 0,this.$solutionReportingSelectFundsButton=void 0,this.$solutionReportingRadioFilters=void 0,this.$solutionReportingFilterGroup=void 0,this.$solutionReportingFilterTableBody=void 0,this.$solutionReportingFilterTable=void 0,this.$solutionReportingResults=void 0,this.$solutionReportingForm=void 0,this.solutionReportingMasks={},this.$loadingSpinner=void 0,this.$loadingSpinnerText=void 0,this.$dialog=void 0,this.setupSharedClickEvents=function(){$(document).on("click","#js-fund-results-table tr td > a",(function(e){var i=$(e.currentTarget).data("fundcode"),r="/LdiMicrositeBlock/GetFundDetails?fundCode=".concat(i,"&currentBlock=").concat(t.contentId);$.ajax({type:"GET",url:r,success:function(e){var i=e.FundName,r=e.FundDetails,a=e.FundPopupLabel,n=e.FundPopupTarget,o=t.$dialog.find(".js-dialog-link");o.toggleClass("u-hidden",!0),t.$dialog.find("h3").html(i),t.$dialog.find("p").html(r.Fragments[0].InternalFormat),n.Uri&&(o.toggleClass("u-hidden",!1),o.html(a),o.attr("href",n.Uri)),t.$dialog.prop("open",!0)},error:function(t){}})}))},this.solutionReportingSubmit=function(){event.preventDefault();var e=t.$loadingSpinnerText.attr("data-solution-reporting-loading"),i=[];t.$solutionReportingFilterTableBody.find("input").each((function(t,e){var r=$(e).attr("id");i.push({id:r,validators:{submit:"required|min:0"}})})),i.push({id:"sr-value-date",validators:{submit:"required|date"}});var r=t.validateSubmit(i);if(r.passes()){var a=t.$solutionReportingFilterGroup.find("input[name='fundTypeFilter']:checked").val(),n=$('[name="sr-value-date"]').val(),s=[];t.$solutionReportingFilterTableBody.find("input").each((function(e,i){var r=$(i),a=r.attr("id"),n=r.data("fundcode"),o=r.data("fundname"),u=t.solutionReportingMasks[a].unmaskedValue;s.push({fundcode:n,units:u,fundname:o})})),t.$loadingSpinnerText.html(e),t.$loadingSpinner.toggleClass("u-hidden",!1),$.ajax({type:"GET",dataType:"html",url:"/LdiMicrositeBlock/GetExistingSolutionsData",data:{valueDate:n,fund:JSON.stringify(s),currentBlock:t.contentId,type:a},success:function(e){t.$loadingSpinner.toggleClass("u-hidden",!0),t.$solutionReportingForm.addClass("u-hidden"),t.$solutionReportingResults.html(e),t.$solutionReportingResults.removeClass("u-hidden"),window.setTimeout((function(){(0,o.prettyScroll)(0,t.$solutionReportingResults.offset().top-160)}),100)},error:function(t){this.$loadingSpinner.toggleClass("u-hidden",!0)}})}else{var u=r.errors.all();t.$solutionReportingSubmit.prop("disabled",!0),Object.keys(u).forEach((function(t){$('[name="'.concat(t,'"]')).addClass("c-input-text1--validation-failed")})),$(".js-sp-table-body-error").removeClass("u-hidden")}},this.solutionReportingOnSelectFundsClick=function(){t.$solutionReportingFilterTableBody.html(""),t.$solutionReportingFilterGroup.each((function(e,i){var r=$(i).find("input");if(r.prop("checked")){var a=r.attr("name"),n=r.val(),o="table-input-".concat(e),u=$('\n                        <tr class="c-table_row">\n                            <td class="c-table_cell c-table_cell--bb">\n                                <label for="test">'.concat(a,'</label>\n                            </td>\n                            <td class="c-table_cell c-table_cell--bb u-p-0">\n                                <input\n                                id="').concat(o,'"\n                                name="').concat(o,'"\n                                type="text"\n                                data-fundname="').concat(a,'"\n                                data-fundcode="').concat(n,'"\n                                class="c-input-text1 c-input-text1--inline c-ldi_input"/>\n                            </td>\n                            <td class="c-table_cell c-table_cell--bb u-p-0">\n                                <button\n                                    type="button"\n                                    data-fund-code="').concat(n,'"\n                                    class="js-delete-button c-table_cell-btn c-table_cell--text-red">\n                                    <span class="u-sr-only">Delete</span>\n                                    <svg class="svg-icon" role="presentation" aria-hidden="true">\n                                        <use xlink:href="').concat(l.ICON_DELETE,'"/>\n                                    </svg>\n                                </button>\n                            </td>\n                        </tr>\n                    ')),c=u.find("input");t.solutionReportingMasks[o]=(0,s.applyMask)(c.get(0),{type:"currency"}),u.find(".js-delete-button").on("click",(function(e){var i=$(e.currentTarget).data("fund-code");$("#".concat(i)).prop("checked",!1),u.remove(),t.$solutionReportingFilterTableBody.find("input").length<=0&&(t.$solutionReportingSubmit.prop("disabled",!0),t.$solutionReportingFilterTable.addClass("u-hidden"))})),c.on("input",(function(e){var i=!0;$(e.currentTarget).toggleClass("c-input-text1--validation-failed",!1),$(".js-sp-table-body-error").addClass("u-hidden"),t.$solutionReportingFilterTableBody.find("input").each((function(t,e){var r=$(e).val();(0,s.isValueDefined)(r)||(i=!1)})),t.$solutionReportingSubmit.prop("disabled",!i)})),t.$solutionReportingFilterTableBody.append(u)}})),t.$solutionReportingSelectFundsButton.prop("disabled",!0),t.$solutionReportingFilterTable.removeClass("u-hidden")},this.setupSolutionReportingTab=function(){t.translateContent("sr-value-date"),t.$solutionReportingRadioFilters.each((function(e,i){$(i).on("input",t.onFilterGroupInput)})),t.$solutionReportingFilterGroup.each((function(e,i){$(i).find("input").on("input",(function(e){var i=!1;t.$solutionReportingFilterGroup.each((function(t,e){$(e).find("input").is(":checked")&&(i=!0)})),t.$solutionReportingSelectFundsButton.prop("disabled",!i)}))})),t.$solutionReportingResults.on("click",".js-edit-button",(function(){t.$solutionReportingForm.removeClass("u-hidden"),t.$solutionReportingResults.addClass("u-hidden"),window.setTimeout((function(){(0,o.prettyScroll)(0,t.$solutionReportingForm.offset().top-160)}),100)})),t.$solutionReportingSelectFundsButton.on("click",t.solutionReportingOnSelectFundsClick),t.$solutionReportingSection.on("submit",t.solutionReportingSubmit)},this.onFilterGroupInput=function(e){var i=$(e.currentTarget),r=i.data("filter-all"),a=i.val();r?t.$solutionReportingFilterGroup.each((function(t,e){$(e).toggleClass("u-hidden",!1)})):t.$solutionReportingFilterGroup.each((function(t,e){var i=$(e),r=i.find("input"),n=i.data("fundtype")===a;i.toggleClass("u-hidden",!n),r.prop("checked",!1)}))},this.validateInput=function(e){var i={},r={};return e.forEach((function(e){var a,n=e.id,o=e.validators.input,s=e.mask,u=$("#".concat(n));a=s?t.designSolutionMasks[n].unmaskedValue:u.val(),i[n]=a,r[n]=o})),new a.default(i,r).passes()},this.setupDesignSolutionTab=function(){n.designSolutionConfig.fields.forEach((function(e){var i=e.id,r=e.mask,a=$("#".concat(i));$("select#".concat(i))&&t.translateContent(i),r&&(t.designSolutionMasks[i]=(0,s.applyMask)(a.get(0),r)),a.on("input",(function(){a.siblings(".c-error-message").addClass("u-hidden"),a.closest(".o-form-item1").removeClass("o-form-item1--validation-failed");var e=t.validateInput(n.designSolutionConfig.fields);t.$designSolutionSubmit.prop("disabled",!e)}))})),t.$designSolutionSection.on("submit",t.designSolutionSubmit),t.$designSolutionResults.on("click",".js-edit-button",(function(){t.$designSolutionForm.removeClass("u-hidden"),t.$designSolutionResults.addClass("u-hidden"),window.setTimeout((function(){(0,o.prettyScroll)(0,t.$designSolutionForm.offset().top-160)}),100)}))},this.validateSubmit=function(e){var i={},r={};return e.forEach((function(e){var a,n=e.id,o=e.validators.submit,s=e.mask,u=$("#".concat(n));a=s?parseFloat(t.designSolutionMasks[n].unmaskedValue):u.val(),i[n]=a,r[n]=o})),new a.default(i,r)},this.designSolutionSubmit=function(e){e.preventDefault();var i=t.validateSubmit(n.designSolutionConfig.fields);if(i.passes()){var r=t.$loadingSpinnerText.attr("data-design-solution-loading"),a={};n.designSolutionConfig.fields.forEach((function(e){var i,r=e.id,n=e.mask,o=$("#".concat(r));i=n?t.designSolutionMasks[r].unmaskedValue:o.val(),a[r]=i})),t.$loadingSpinnerText.html(r),t.$loadingSpinner.toggleClass("u-hidden",!1);var u={valueDate:a["value-date"],duration:parseFloat(a.duration),inflationlinkage:a["inflation-linkage"],characteristicType:a["fund-type"],currentBlock:t.contentId,liabilityValue:a["liability-value"],targetRatio:a["hedge-ratio"]};$.ajax({type:"GET",dataType:"html",url:"/LdiMicrositeBlock/GetNewSolutionsData",data:u,success:function(e){t.$loadingSpinner.toggleClass("u-hidden",!0),t.$designSolutionForm.addClass("u-hidden"),t.$designSolutionResults.html(e),t.$designSolutionResults.removeClass("u-hidden"),window.setTimeout((function(){(0,o.prettyScroll)(0,t.$designSolutionResults.offset().top-160)}),100)},error:function(){t.$loadingSpinner.toggleClass("u-hidden",!1)}})}else{var l=i.errors.all();t.$designSolutionSubmit.prop("disabled",!0),Object.keys(l).forEach((function(t){var e=(0,s.getFieldById)(n.designSolutionConfig.fields,t);if(e){var i=e.id,r=$("#".concat(i));r.siblings(".c-error-message").removeClass("u-hidden"),r.closest(".o-form-item1").addClass("o-form-item1--validation-failed")}}))}},this.setupElements=function(){t.$ldiWrapper.find("select").selectmenu({classes:{"ui-selectmenu-button":"c-styled-select c-styled-select--inline c-ldi_select","ui-selectmenu-button-closed":"c-styled-select--closed","ui-selectmenu-button-open":"c-styled-select--open","ui-selectmenu-text":"c-styled-select_text","ui-selectmenu-icon":"c-styled-select_icon","ui-selectmenu-menu":"c-styled-select_menu","ui-selectmenu-open":"c-styled-select_menu--open","ui-menu-item-wrapper":"c-styled-select_menu-item"}})},this.translateContent=function(t){var e=$("select#".concat(t," option")).get(),i=$("#".concat(t,"-button")).find(".ui-selectmenu-text");e.forEach((function(t){var e=$(t).text().split(" ").map((function(t){return(0,u.translate)(t)})).join(" ");$(t).text(e)}));var r=$(i).text().split(" ").map((function(t){return(0,u.translate)(t)})).join(" ");$(i).text(r)},this.$ldiWrapper=$("#insight-ldi"),this.contentId=this.$ldiWrapper.data("content-id"),this.$dialog=this.$ldiWrapper.find("#js-ldi-dialog"),this.setupElements(),this.$loadingSpinner=this.$ldiWrapper.find(".js-loading-spinner"),this.$loadingSpinnerText=this.$loadingSpinner.find(".js-ldi-loading-text"),this.$designSolutionSection=this.$ldiWrapper.find("#js-design-solution-section"),this.$designSolutionForm=this.$designSolutionSection.find(".js-design-solution-form"),this.$designSolutionResults=this.$designSolutionSection.find(".js-results-container"),this.$designSolutionSubmit=this.$designSolutionSection.find(".js-submit-button"),this.setupDesignSolutionTab(),this.$solutionReportingSection=this.$ldiWrapper.find("#js-solution-reporting-section"),this.$solutionReportingSelectFundsButton=this.$solutionReportingSection.find(".js-filter-button"),this.$solutionReportingSubmit=this.$solutionReportingSection.find(".js-submit-button"),this.$solutionReportingRadioFilters=this.$solutionReportingSection.find('.js-radio-filter input[type="radio"]'),this.$solutionReportingFilterGroup=this.$solutionReportingSection.find(".js-filter-item"),this.$solutionReportingFilterTableBody=this.$solutionReportingSection.find(".js-sp-table-body"),this.$solutionReportingFilterTable=this.$solutionReportingSection.find(".js-selected-funds"),this.$solutionReportingResults=this.$solutionReportingSection.find(".js-results-container"),this.$solutionReportingForm=this.$solutionReportingSection.find(".js-solution-reporting-form"),this.setupSolutionReportingTab(),this.setupSharedClickEvents()}return t.init=function(){$("#insight-ldi").length&&new t},t}();e.default=c},94104:function(t,e,i){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.legalDisclaimer=void 0;var a,n=r(i(65311)),o=i(25183);e.legalDisclaimer={init:function(){(0,n.default)(".js-select-control").selectmenu(),(0,n.default)("#countrySelect").on("selectmenuchange change",(function(t,e){var i=e.item.element[0].getAttribute("data-icon");(0,n.default)(".c-legal-disclaimer_region-icon").attr("src",i),(0,n.default)(this).parents(".c-legal-disclaimer_region").find(".c-link")[0].href=t.target.value}));var t=document.querySelectorAll(".js-legal-disclaimer-scroll-container");Array.from(t).forEach((function(t,e){var i=t.parentElement.querySelector(".js-legal-disclaimer_button-accept");if(t)if((0,o.isScrollable)(t).vertical){t.scrollTop=0,null==i||i.setAttribute("disabled","true");var r=!1,a=(0,o.debounce)(50,(function(){!r&&function(t,e){var i=t.parentElement.querySelector(".js-legal-disclaimer_button-accept"),r=(0,o.hasScrollReachedBottom)(t);null==e||e(r),r?null==i||i.removeAttribute("disabled"):null==i||i.setAttribute("disabled","true")}(t,(function(t){r=t}))}));t.addEventListener("scroll",a)}else null==i||i.removeAttribute("disabled")})),a||(a=function(){setTimeout((function(){e.legalDisclaimer.init()}),100)}),document.querySelectorAll(".c-legal-disclaimer_container input[type=radio][name=channel]").forEach((function(t){t.removeEventListener("click",a),t.addEventListener("click",a)})),window.addEventListener("pageshow",(function(t){t.persisted&&document.querySelectorAll(".c-legal-disclaimer_container").length>0&&(e.legalDisclaimer.init(),window.legalDisclaimer.init())}))}}},57070:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.loaderFeature=e.setIsProcessingState=void 0,e.setIsProcessingState=function(t){var e=document.querySelector(".js-loading-spinner");e&&e.classList.toggle("u-hidden",t)},e.loaderFeature={init:function(){$(document).ajaxStart((function(){$(".js-loader").addClass("c-loader--active")})),$(document).ajaxComplete((function(){$(".js-loader").removeClass("c-loader--active")}))}}},4968:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ManualDatePicker=void 0;var i=function(){function t(t){this.accountElement=void 0,this.endOfMonthElement=void 0,this.endOfYearElement=void 0,this.grayTextClass="u-text-dove-grey",this.availablePerformanceData=t.availablePerformanceData,this.accountElement=t.accountElement,this.endOfMonthElement=t.endOfMonthElement,this.endOfYearElement=t.endOfYearElement}return t.prototype.updateMonths=function(t){var e,i,r=this;if(null===(e=this.availablePerformanceData)||void 0===e?void 0:e.hasOwnProperty(this.accountId)){var a=this.availablePerformanceData[this.accountId].find((function(e){return e.year===t}));(null===(i=null==a?void 0:a.months)||void 0===i?void 0:i.length)>0&&Array.from(this.endOfMonthElement.options).forEach((function(t){var e=a.months.includes(parseInt(t.value));t.classList.remove(r.grayTextClass),e||t.classList.add(r.grayTextClass)}))}},t.prototype.updateYears=function(){var t,e,i=this,r=[];(null===(e=this.availablePerformanceData)||void 0===e?void 0:e.hasOwnProperty(this.accountId))&&(r=this.availablePerformanceData[this.accountId].map((function(t){return t.year})));var a=r.includes(this.currentYear);!r||a||isNaN(this.currentYear)||r.push(this.currentYear),r.sort((function(t,e){return t<e?1:-1})),this.endOfYearElement.replaceChildren();var n=[];r.forEach((function(t){var e=document.createElement("option"),r=t===i.currentYear;e.value=t.toString(),e.text=t.toString(),e.selected=r,n.push(e)})),(t=this.endOfYearElement).replaceChildren.apply(t,n)},t.prototype.init=function(){var t,e,i=this;if(this.endOfMonthElement&&this.endOfYearElement&&(null===(e=null===(t=this.endOfYearElement)||void 0===t?void 0:t.value)||void 0===e?void 0:e.length)>0){this.accountId=this.accountElement.value.toLowerCase();var r=parseInt(this.endOfYearElement.value);if(isNaN(r))return;this.currentYear=r,this.updateYears(),this.updateMonths(this.currentYear),this.accountElement.addEventListener("change",(function(){var t=i.accountElement.options[i.accountElement.selectedIndex];i.accountId=t.value.toLowerCase(),i.updateYears(),i.updateMonths(i.currentYear)})),this.endOfYearElement.addEventListener("change",(function(){var t=i.endOfYearElement.options[i.endOfYearElement.selectedIndex],e=parseInt(t.value);i.currentYear===e||isNaN(e)||(i.currentYear=e,i.updateMonths(i.currentYear))}))}},t}();e.ManualDatePicker=i},27023:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.googleMapView=void 0,e.googleMapView={initializeMap:function(t,e,i){var r=window.google;t=t.split(",");var a={center:new r.maps.LatLng(t[0],t[1]),mapTypeId:r.maps.MapTypeId.ROADMAP,zoomControl:!1,streetViewControl:!1},n=new r.maps.Map(document.getElementById("map-"+e),a);i=$(".js-map-icon").eq(0).data("mapicon"),"-33.8648623, 151.210577"===t?n.setZoom(17):n.setZoom(18);var o=new r.maps.Marker({position:new r.maps.LatLng(t[0],t[1]),map:n,icon:i});r.maps.event.addListener(o,"click",(function(){window.open("https://www.google.com/maps/search/?api=1&query="+t+"&z=18","_blank")}))},submitRouteMap:function(t,e){""!==t&&""!==e&&window.open("https://www.google.com/maps/dir/"+t+"/"+e,"_blank")}}},84220:function(t,e,i){"use strict";var r,a=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.ResizeEvents=void 0;var n=i(56187),o=i(35566),s=i(25183),u=function(t){function e(){var e,i,r,a,n,u,l,c,d,h,f=this;return(f=t.call(this)||this).currentHeight=0,f.currentWidth=0,f.mobileQueryListener=window.matchMedia(o.MOBILE_MEDIA_QUERY),f.tabletQueryListener=window.matchMedia(o.TABLET_MEDIA_QUERY),f.desktopQueryListener=window.matchMedia(o.DESKTOP_MEDIA_QUERY),f.isMobile=function(){return f.mobileQueryListener.matches},f.isTablet=function(){return f.tabletQueryListener.matches},f.isDesktop=function(){return f.desktopQueryListener.matches},f.mobileQueryHandler=function(t){t.matches?f.emit(o.MATCH_MOBILE):f.emit(o.UNMATCH_MOBILE)},f.tabletQueryHandler=function(t){t.matches?f.emit(o.MATCH_TABLET):f.emit(o.UNMATCH_TABLET)},f.desktopQueryHandler=function(t){t.matches,f.emit(o.MATCH_DESKTOP)},(0,s.bindClassMethods)(f),(null===(e=null===window||void 0===window?void 0:window.insightInvestment)||void 0===e?void 0:e.resizeEvents)&&((null===(r=null===(i=null===window||void 0===window?void 0:window.insightInvestment)||void 0===i?void 0:i.resizeEvents)||void 0===r?void 0:r.mobile)||(window.insightInvestment.resizeEvents.mobile=f.mobileQueryListener,(null===(a=f.mobileQueryListener)||void 0===a?void 0:a.addEventListener)?f.mobileQueryListener.addEventListener("change",f.mobileQueryHandler):f.mobileQueryListener.addListener(f.mobileQueryHandler)),(null===(u=null===(n=null===window||void 0===window?void 0:window.insightInvestment)||void 0===n?void 0:n.resizeEvents)||void 0===u?void 0:u.tablet)||(window.insightInvestment.resizeEvents.tablet=f.tabletQueryListener,(null===(l=f.tabletQueryListener)||void 0===l?void 0:l.addEventListener)?f.tabletQueryListener.addEventListener("change",f.tabletQueryHandler):f.tabletQueryListener.addListener(f.tabletQueryHandler)),(null===(d=null===(c=null===window||void 0===window?void 0:window.insightInvestment)||void 0===c?void 0:c.resizeEvents)||void 0===d?void 0:d.desktop)||(window.insightInvestment.resizeEvents.desktop=f.desktopQueryListener,(null===(h=f.desktopQueryListener)||void 0===h?void 0:h.addEventListener)?f.desktopQueryListener.addEventListener("change",f.desktopQueryHandler):f.desktopQueryListener.addListener(f.desktopQueryHandler))),f}return a(e,t),e}(n);e.ResizeEvents=u},64584:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parallax=void 0,e.parallax={init:function(){var t=this,e=document.querySelectorAll(".js-parallax");null==e||e.forEach((function(e){var i=Array.from(e.querySelectorAll(".js-parallax-item"));t.handleToggleClassesEvents(i)}));var i=document.querySelectorAll(".js-parallax-large");null==i||i.forEach((function(e){var i,r,a=Array.from(e.querySelectorAll(".js-parallax-item"));a.length>3&&(null===(i=e.classList)||void 0===i||i.add("c-parallax--tall"),null===(r=a[3].classList)||void 0===r||r.add("u-basis-full")),t.handleToggleClassesEvents(a,!0)}))},handleToggleClassesEvents:function(t,e){null==t||t.forEach((function(i){var r,a=Array.from(null===(r=i.parentElement)||void 0===r?void 0:r.children);i.addEventListener("click",(function(){var r,n,o=null===(r=i.classList)||void 0===r?void 0:r.contains("c-parallax_item--active");null==a||a.forEach((function(r){var a,n,s;if(o)null===(a=r.classList)||void 0===a||a.remove("c-parallax_item--collapse");else if(r!==i){null===(n=r.classList)||void 0===n||n.remove("c-parallax_item--active");var u=e&&t.indexOf(i)===t.length-1;e?r.classList.toggle("c-parallax_item--collapse",!u):null===(s=r.classList)||void 0===s||s.add("c-parallax_item--collapse")}})),i.classList.toggle("c-parallax_item--active",!o),null===(n=i.classList)||void 0===n||n.remove("c-parallax_item--collapse")}))}))}}},66222:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.mainUsSearch=void 0;var r=i(25183),a=i(30783);e.mainUsSearch={init:function(){this.searchToggle(),(0,r.getParameterValue)("contentPageData")&&($("#hdPage").val((0,r.getParameterValue)("contentPageData")),$("#currentPage").val((0,r.getParameterValue)("contentPageData"))),$(".js-filter-contentype-btn").click((function(t){$(".js-filter-contentype-btn").removeClass("o-filter-section_filter-btn--active"),$(this).addClass("o-filter-section_filter-btn--active"),e.mainUsSearch.usSearchResults($("#countryPage").val(),$("#currentPage").val(),$("#searchTerm").val())})),$("#searchresultsFilter").on("selectmenuchange change",(function(t){t.preventDefault(),e.mainUsSearch.usSearchResults($("#countryPage").val(),$("#currentPage").val(),$("#searchTerm").val())}));var t="",i=$("#txtPopUpSearchKey");i.length>0&&(i.autocomplete({source:function(e,i){$.ajax({type:"GET",dataType:"json",url:"/CountryLandingPage/GetSiteSearchAutoCompleteResults",data:{countryPage:$("#countryPage").val(),currentPage:$("#currentPage").val(),searchTerm:$("#txtPopUpSearchKey").val(),contentFilter:"",sortBy:0},success:function(e){if(e.totalCount>0){t=e.seeAllText;for(var r=[],a=0;a<e.searchResults.length;a++){var n={title:e.searchResults[a].Title,teasertext:null===e.searchResults[a].Description?"":e.searchResults[a].Description,siteurl:e.searchResults[a].Link,sections:e.searchResults[a].Sections};r.push(n)}i(r)}else $(".c-autosuggest-search-result_body ul").html(""),$(".c-autosuggest-search-result").removeClass("show")}})},open:function(e,i){var r=$(".c-autosuggest-search-result_body ul");r.html(""),$(".ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front:visible li").appendTo(r),$(".ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front").css("visibility","hidden"),$(".c-autosuggest-search-result").addClass("show"),r.append('<li class="ui-menu-item"><label for="btnSearch" class="ui-menu-item-wrapper c-autosuggest-search-result_item-link"><div class="c-autosuggest-search-result_see-all"><strong><span class="c-readmore c-link" id="view-all">'+t+"</span></strong></div> </label ></li >")},select:function(t,e){return window.location=e.item.siteurl,!1},focus:function(t,e){return!1},minLength:3}).keyup((function(t){if(13===t.keyCode){var e=$("#txtPopUpSearchKey").val();null!==e&&""!==e&&e.toString().length>=3&&(encodeURIComponent(e.toString()),$("#search").submit(),t.preventDefault())}$("#txtPopUpSearchKey").val().toString().length<3&&$(".c-autosuggest-search-result").removeClass("show")})).autocomplete("instance")._renderItem=function(t,e){var i=String(e.title).replace(new RegExp(this.term,"gi"),"<b>$&</b>"),r=e.sections.length>0?e.sections[0]:"";return $("<li>").append('<a class="c-autosuggest-search-result_item-link" href="'+e.siteurl+'"><div class="c-autosuggest-search-result_item-title">'+i+' </div><span class="c-autosuggest-search-result_item-badge">'+r+"</span></a>").appendTo(t)}),$("#search").submit((function(t){(0,r.getParameterValue)("contentPageData")&&($("#hdPage").val((0,r.getParameterValue)("contentPageData")),$("#hdCurrentPage").val((0,r.getParameterValue)("contentPageData"))),$("#txtPopUpSearchKey").val().toString().length<1&&t.preventDefault()})),$(".js-link-click").click((function(t){t.preventDefault();var e=decodeURI(window.location.href),i="term="+$(".c-searchresults_category").text(),r="term="+$(this).text();window.location.href=e.replace(i,r)}))},usSearchResults:function(t,e,i){var r="",n=0;$("#searchresultsFilter").length>0&&(n=parseInt($("#searchresultsFilter").val(),10)),$(".js-filter-contentype-btn").length>0&&(r=$(".js-filter-contentype-btn").filter(".o-filter-section_filter-btn--active")[0].getAttribute("data-filter-value")),$.ajax({type:"GET",dataType:"json",url:"/CountryLandingPage/GetSiteSearchResults",data:{countryPage:t,currentPage:e,searchTerm:i,contentFilter:r,sortBy:n},success:function(t){$(".js-wide-result").html(t),a.externalLinks.init($(".js-wide-result"))},error:function(t){$(".js-wide-result").html(t.responseText),a.externalLinks.init($(".js-wide-result"))}})},searchToggle:function(){$(".js-search-toggle").on("click",(function(){$('[data-toggle="search-toggle"]').toggleClass("js-toggle--active"),$(window).width()<1024&&($(".c-header nav").hide(),$("[data-burger-menu]").removeClass("open")),$('[data-toggle="search-toggle"]').hasClass("js-toggle--active")?($(".l-body").addClass("js-search--active"),$("#txtPopUpSearchKey").focus()):($(".l-body").removeClass("js-search--active"),$("#txtPopUpSearchKey").val(""),$(".c-autosuggest-search-result_body ul").empty(),$(".c-autosuggest-search-result").removeClass("show"))}))}}},36617:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.smoothScroll=void 0,e.smoothScroll={init:function(){$('a[href*="#"]').not('[href="#"]').not('[href*="tabs"]').not('[href="#0"]').not('[role="presentation"]').not(".js-scroll-ignore").click((function(t){if(location.pathname.replace(/^\//,"")===this.pathname.replace(/^\//,"")&&location.hostname===this.hostname){var e=$(this.hash);e=e.length?e:$("[name="+this.hash.slice(1)+"]");var i=0;"fixed"===$("#header").css("position")&&(i=$("#header").height()),e.length&&(history.replaceState(null,null,this.hash),$("html, body").animate({scrollTop:e.offset().top-i-20},1e3,(function(){var i=$(e).children().first();i.focus(),i.is(":focus")?t.preventDefault():(i.attr("tabindex","-1"),i.focus())})))}}))}}},54897:function(t,e,i){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(96623),n=r(i(77232)),o=function(){function t(){var t,e=this;this.stickyNavTop=0,this.$stickyNav=void 0,this.$stickyNavWrapper=void 0,this.$contentWrapper=void 0,this.$header=void 0,this.$helloBar=void 0,this.instance=void 0,this.tabClass="c-tabs_tab",this.activeTabClass="c-tabs_tab--active",this.splide=void 0,this.activeSlide=0,this.isSplideDestroyed=!0,this.applyEventListeners=function(){e.$stickyNav.find("a").on("click",(function(){event.preventDefault();var t=$(event.currentTarget),i=$(t.attr("href")),r=e.$header.outerHeight(!0),n=e.$stickyNav.outerHeight(!0),o=i.offset().top-(r+n);e.$stickyNav.hasClass("c-sticky-nav--stick")||(o-=n),e.$helloBar.length&&e.$helloBar.is(":visible")&&(o-=e.$helloBar.outerHeight(!0)),o<0&&(o=0),(0,a.prettyScroll)(0,o),e.activateAdditionalFunctionality(i)}))},this.adjustPosition=function(){var t,i,r,a,o,s,u,l,c,d,h,f;e.stickyNavTop=e.$stickyNavWrapper.offset().top;var p=$(window).scrollTop(),m=0,b=e.$contentWrapper.children(":first").attr("id")===e.$stickyNavWrapper.attr("id")&&e.$helloBar.length&&e.$helloBar.is(":visible");if(e.$contentWrapper.toggleClass("u-pt-10",b),e.$helloBar.length&&e.$helloBar.is(":visible")){var g=e.$helloBar.outerHeight(!0);p+=g,m+=g}if(e.$header.length){var v=e.$header.outerHeight(!0);p+=v,m+=v}p>e.stickyNavTop?(e.$stickyNav.addClass("c-sticky-nav--stick"),e.$stickyNav.css("top","".concat(m-1,"px")),null===(i=null===(t=e.splide)||void 0===t?void 0:t.find(".splide__arrows"))||void 0===i||i.removeClass("u-hidden"),e.instance&&!e.isSplideDestroyed||(e.instance=new n.default(e.splide[0],{type:"slide",speed:1e3,perPage:3,perMove:1,start:e.activeSlide,focus:"center",pagination:!1,gap:"0",autoplay:!1,lazyLoad:!1,trimSpace:!1,role:"group",mediaQuery:"min",breakpoints:{768:{destroy:!0}}}),null===(r=e.instance)||void 0===r||r.on("mount",(function(){e.isSplideDestroyed=!1})),null===(a=e.instance)||void 0===a||a.on("mounted",(function(){e.isSplideDestroyed=!1,e.instance.go(e.activeSlide)})),null===(o=e.instance)||void 0===o||o.mount()),null===(s=e.instance)||void 0===s||s.on("active",(function(t){t.slide,e.isSplideDestroyed=!1})),null===(u=e.instance)||void 0===u||u.on("moved",(function(){var t;e.activeSlide=null===(t=e.instance)||void 0===t?void 0:t.index})),null===(l=e.instance)||void 0===l||l.on("destroy",(function(){var t;e.activeSlide=null===(t=e.instance)||void 0===t?void 0:t.index,e.isSplideDestroyed=!0,e.addTabListener()}))):(null===(d=null===(c=e.splide)||void 0===c?void 0:c.find(".splide__arrows"))||void 0===d||d.addClass("u-hidden"),e.activeSlide=null===(h=e.instance)||void 0===h?void 0:h.index,null===(f=e.instance)||void 0===f||f.destroy(!0),e.addTabListener(),e.$stickyNav.removeClass("c-sticky-nav--stick"),e.$stickyNav.css("top",""))},this.activateAdditionalFunctionality=function(t){t.hasClass("js-filtered-library-block-wrapper")&&t.find(".js-filtered-library-block").is(":hidden")&&t.find(".js-toggle").trigger("click")},this.addTabListener=function(){var t,i;null===(i=null===(t=e.$stickyNav)||void 0===t?void 0:t.find(".".concat(e.tabClass)))||void 0===i||i.each((function(t,i){i.addEventListener("click",(function(){var r;e.activeSlide=t,null===(r=e.$stickyNav)||void 0===r||r.find(".".concat(e.activeTabClass)).removeClass(e.activeTabClass),i.classList.add(e.activeTabClass)}))}))},this.adjustPosition=this.adjustPosition.bind(this),this.applyEventListeners=this.applyEventListeners.bind(this),this.$stickyNav=$("#js-sticky-nav"),this.$stickyNavWrapper=$("#js-sticky-nav-wrapper"),this.$contentWrapper=this.$stickyNavWrapper.parent(),this.$helloBar=$(".c-hello-bar"),this.$header=$(".c-header"),this.splide=null===(t=this.$stickyNav)||void 0===t?void 0:t.find(".splide"),this.applyEventListeners(),this.adjustPosition(),$(window).scroll((function(){e.adjustPosition()}))}return t.init=function(){return $("#js-sticky-nav").length?new t:null},t}();e.default=o},10912:function(t,e,i){"use strict";var r=this&&this.__awaiter||function(t,e,i,r){return new(i||(i=Promise))((function(a,n){function o(t){try{u(r.next(t))}catch(t){n(t)}}function s(t){try{u(r.throw(t))}catch(t){n(t)}}function u(t){var e;t.done?a(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(o,s)}u((r=r.apply(t,e||[])).next())}))},a=this&&this.__generator||function(t,e){var i,r,a,n,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(s){return function(u){return function(s){if(i)throw new TypeError("Generator is already executing.");for(;n&&(n=0,s[0]&&(o=0)),o;)try{if(i=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=e.call(t,o)}catch(t){s=[6,t],r=0}finally{i=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},n=this&&this.__rest||function(t,e){var i={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(i[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(t);a<r.length;a++)e.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(t,r[a])&&(i[r[a]]=t[r[a]])}return i};Object.defineProperty(e,"__esModule",{value:!0}),e.SuperTable=void 0;var o=i(96623),s=function(){function t(t){var e=t.wrapper,i=t.tableSelector,r=t.paginationSelector,a=t.onReloadComplete;this.endpoint=void 0,this.wrapper=void 0,this.table=void 0,this.pagination=void 0,this.onReloadComplete=void 0,this.tableSelector=void 0,this.paginationSelector=void 0,this.wrapper=e,this.tableSelector=i,this.paginationSelector=r,this.onReloadComplete=a,this.wrapper&&this.attachAllEvents()}return t.init=function(e){var i=e.skipListIds;document.querySelectorAll(".js-sortable").forEach((function(e){i.includes(e.getAttribute("id"))||new t({wrapper:e,tableSelector:"table",paginationSelector:".js-table-pagination"})}))},t.prototype.attachAllEvents=function(){var t,e,i;this.table=this.wrapper.querySelector(this.tableSelector),this.pagination=this.wrapper.querySelector(this.paginationSelector);var r=null!==(i=null===(e=null===(t=this.table)||void 0===t?void 0:t.dataset)||void 0===e?void 0:e.endpoint)&&void 0!==i?i:void 0;r&&(this.endpoint=r),this.wrapper&&this.table&&this.attachTableEvents(),this.pagination&&this.attachPaginationEvents()},t.prototype.attachTableEvents=function(){var t=this;this.table.querySelectorAll(".js-sort").forEach((function(e){return t.attachEventListener({item:e})}))},t.prototype.attachEventListener=function(t){var e=this,i=t.item,r=i.getAttribute("data-sort-id"),a=i.getAttribute("data-sort-type");(null==a?void 0:a.length)>0&&i.querySelector("button").focus(),i.addEventListener("click",(function(t){t.preventDefault(),e.sortId=r,e.sortType=a,e.reload({})}))},t.prototype.attachPaginationEvents=function(){var t=this,e=this.pagination.querySelector(".c-pagination_page-number-wrapper").querySelectorAll("button"),i=this.pagination.querySelectorAll(".c-pagination_button:not(.c-pagination_page-number)");null==e||e.forEach((function(e){e.addEventListener("click",(function(){var i=e.innerText;i.length>0&&t.reload({pageNumber:i})}))})),null==i||i.forEach((function(e){e.addEventListener("click",(function(){var i=e.dataset.page;i.length>0&&t.reload({pageNumber:i})}))}))},t.prototype.reload=function(t){var e=t.pageNumber,i=t.shouldSort,s=void 0===i||i,u=n(t,["pageNumber","shouldSort"]);return r(this,void 0,void 0,(function(){var t,i,r,n,l,c,d,h=this;return a(this,(function(a){if(!this.endpoint)throw new Error("Invalid Endpoint");return t=this.endpoint.indexOf("?")>0?"&":"?",i=u?Object.entries(u).map((function(t){var e=t[0],i=t[1];return"".concat(e,"=").concat(i)})).join("&"):"",this.sortType="Ascending"===this.sortType?"d":"a",r=this.sortId&&s?"sorting=".concat(this.sortId,":").concat(this.sortType):"",n=(null==e?void 0:e.length)>0?"page=".concat(e):"",l=[r,n,i].filter((function(t){return t.length>0})).join("&"),c="".concat(this.endpoint).concat(t).concat(l),d=!1,fetch(c).then((function(t){if(d=t.redirected,t.ok)return t.text();throw new Error("Request failed!")})).then((function(t){var e;d?window.location.reload():(h.wrapper.innerHTML=t,h.attachAllEvents(),(0,o.prettyScroll)(0,h.wrapper.offsetTop-230),null===(e=h.onReloadComplete)||void 0===e||e.call(h))})),[2]}))}))},t}();e.SuperTable=s},47078:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TabHandler=void 0;var i=function(){function t(t){this.tabs=void 0,this.panels=void 0,this.activePanelId=void 0,this.activeTabClass="c-tabs_tab--active";var e=t.tabs,i=t.panels;this.tabs=e,this.panels=i,this.activePanelId=this.getPanelId(e[0]),this.init()}return t.prototype.init=function(){var t=this;this.removeNoJsClasses(),this.tabs.forEach((function(e){var i=t.getPanelId(e),r=e.getAttribute("id"),a=t.panels.find((function(t){return t.getAttribute("id")===i}));null==a||a.setAttribute("role","tabpanel"),null==a||a.setAttribute("aria-labelledby",r),e.setAttribute("aria-selected","".concat(t.isActive(e))),e.setAttribute("aria-controls",i),e.addEventListener("click",(function(i){i.preventDefault(),t.onTabClick(e)})),e.addEventListener("keydown",(function(i){return t.onTabKeyDown(i,e)}))}))},t.prototype.onTabClick=function(t){this.isActive(t)||(this.resetPreviousTabAndPanel(),this.setActiveTabAndPanel(t))},t.prototype.onTabKeyDown=function(t,e){var i,r,a=this,n=this.tabs.findIndex((function(t){return a.getPanelId(t)===a.getPanelId(e)}));0===n?r=this.tabs[1]:n>0&&n<this.tabs.length?(i=this.tabs[n-1],r=this.tabs[n+1]):n===this.tabs.length&&(i=this.tabs[this.tabs.length-1]),"ArrowLeft"===t.code&&i&&(this.resetPreviousTabAndPanel(),this.setActiveTabAndPanel(i)),"ArrowRight"!==t.code&&"ArrowDown"!==t.code||!r||(this.resetPreviousTabAndPanel(),this.setActiveTabAndPanel(r))},t.prototype.isActive=function(t){return this.getPanelId(t)===this.activePanelId},t.prototype.getPanelId=function(t){var e;return null===(e=null==t?void 0:t.getAttribute("href"))||void 0===e?void 0:e.replace("#","")},t.prototype.getActivePanel=function(){var t=this;return this.panels.find((function(e){return e.getAttribute("id")===t.activePanelId}))},t.prototype.getActiveTab=function(){var t=this;return this.tabs.find((function(e){return t.isActive(e)}))},t.prototype.resetPreviousTabAndPanel=function(){var t,e,i=this.getActiveTab(),r=this.getActivePanel();null==i||i.setAttribute("aria-selected","false"),null==i||i.setAttribute("tabIndex","-1"),null===(t=null==i?void 0:i.parentElement)||void 0===t||t.classList.remove(this.activeTabClass),null===(e=null==r?void 0:r.classList)||void 0===e||e.add("u-hidden")},t.prototype.setActiveTabAndPanel=function(t){var e,i,r=this.getPanelId(t),a=this.panels.find((function(t){return t.getAttribute("id")===r}));null===(e=null==a?void 0:a.classList)||void 0===e||e.remove("u-hidden"),null==t||t.setAttribute("aria-selected","true"),t.setAttribute("tabIndex","0"),null===(i=null==t?void 0:t.parentElement)||void 0===i||i.classList.add(this.activeTabClass),null==t||t.focus(),this.activePanelId=r},t.prototype.removeNoJsClasses=function(){var t;null===(t=this.panels)||void 0===t||t.forEach((function(t){t.classList.remove("no-js")}))},t}();e.TabHandler=i,e.default=i},29297:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextEditor=void 0,e.TextEditor={init:function(){var t=$(".js-editor-quote"),e=$(".c-inner-text-editor_body-text").data("img-src"),i={"float-left":"u-fleft u-width-half u-margin-right-20","float-right":"u-fright u-width-half u-margin-left-20","float-none":"u-width-full"};null==t||t.map((function(t,r){var a=$(r).attr("class"),n=null==a?void 0:a.match(/float-*\w+/gi)[0],o=$(r).html(),s='\n                <div class="c-inner-quote_quote c-inner-quote_quote--editor '.concat(i[n],'" aria-hidden="true">\n                    <img src=\'').concat(e,'\' alt="img" class="c-inner-quote_mark-img u-ml-0" >\n                    <div class="u-padding-lr-20">').concat(o,"</div>\n                    <img src='").concat(e,'\' alt="img" class="c-inner-quote_mark-img u-mr-0">\n                </div>\n            ');$(r).insertBefore(s)}))}}},55584:function(t,e,i){"use strict";var r,a=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(i(65311)),s=function(t){function e(e,i){var r=t.call(this,e)||this;if(r.isCollapsed=!1,r.relatedId=void 0,r.$relatedElements=void 0,r.$expandIcon=void 0,r.$collapseIcon=void 0,r.collapseClass=void 0,r.toggleMarkup=function(t){r.$expandIcon.toggleClass(r.collapseClass,!t),r.$collapseIcon.toggleClass(r.collapseClass,t),r.$component.attr("aria-expanded",String(!t)),r.$relatedElements.each((function(e,i){t?(0,o.default)(i).slideUp():(0,o.default)(i).slideDown(),(0,o.default)(i).toggleClass(r.collapseClass,t).attr("aria-hidden",t.toString())})),window.resizeEvents.globals.currentHeight++,(0,o.default)(window).resize()},r.toggle=r.toggle.bind(r),r.$component){var a=i||{},n=a.isCollapsed,s=a.relatedId,u=a.$expandIcon,l=a.$collapseIcon,c=a.collapseClass;r.isCollapsed=n||Boolean(r.$component.data("toggle-start-expanded")),r.relatedId=s||r.$component.data("toggle-related-id"),r.$expandIcon=u||r.$component.find(".js-toggle-expand-icon"),r.$collapseIcon=l||r.$component.find(".js-toggle-collapse-icon"),r.collapseClass=c||"u-hidden",r.relatedId&&(r.$relatedElements=(0,o.default)('[data-toggle-id="'+r.relatedId+'"]'),r.$relatedElements.length&&(r.toggle(r.isCollapsed),r.$component.on("click",(function(t){t.preventDefault(),r.isCollapsed=!r.isCollapsed,r.toggle(r.isCollapsed)}))))}return r}return a(e,t),e.prototype.toggle=function(t){this.toggleMarkup(t),this.emit("toggle",this.relatedId,t)},e.init=function(t){void 0===t&&(t=".js-toggle"),this.enableGlobal();var i=[];(0,o.default)(t).each((function(t,r){var a=new e((0,o.default)(r),{isCollapsed:!0,collapseClass:"js-accoridon--toggle"});i.push(a),a.on("toggle",(function(t,e){e||i.forEach((function(e){e.$component[0].hasAttribute("auto-collapse")&&t!==e.relatedId&&(e.isCollapsed=!0,e.toggleMarkup(!0))}))}))}))},e.enableGlobal=function(){window.Toggler||(window.Toggler=e)},e}(n(i(35808)).default);e.default=s},22517:function(t,e,i){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.scrollToURLFragment=void 0;var a=r(i(65311)),n=i(96623);e.scrollToURLFragment=function(){var t,e,i=location.hash;if((null==i?void 0:i.length)>1){var r=(0,a.default)("#js-sticky-nav"),o=(0,a.default)(".c-hello-bar"),s=(0,a.default)(".c-header"),u=(s.outerHeight(!0),r.outerHeight(!0)),l=(null===(e=null===(t=(0,a.default)(i))||void 0===t?void 0:t.offset())||void 0===e?void 0:e.top)-u;setTimeout((function(){window.scrollTo({top:l,behavior:"auto"})}),25),setTimeout((function(){var t,e,u=s.outerHeight(!0),l=r.outerHeight(!0),c=(null===(e=null===(t=(0,a.default)(i))||void 0===t?void 0:t.offset())||void 0===e?void 0:e.top)-(u+l);o.length&&o.is(":visible")&&(c-=o.outerHeight(!0)),c<0&&(c=0),c&&(0,n.prettyScroll)(0,c)}),50)}}},52897:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.wideContactsFilter=e.wideContactsPopUp=void 0,e.wideContactsPopUp={init:function(){var t=document.querySelectorAll(".js-contact-popup");null==t||t.forEach((function(t){var e=t.closest("article").querySelector(".js-contact-dialog"),i=e.querySelector(".js-contact-popup_close");t.addEventListener("click",(function(t){var i,r,a=null===(i=null==e?void 0:e.classList)||void 0===i?void 0:i.contains("!u-hidden");t.preventDefault(),a&&(null===(r=null==e?void 0:e.classList)||void 0===r||r.remove("!u-hidden"),null==e||e.setAttribute("aria-hidden","false"))})),null==i||i.addEventListener("click",(function(){var t,i;(null===(t=null==e?void 0:e.classList)||void 0===t?void 0:t.contains("!u-hidden"))||(null===(i=null==e?void 0:e.classList)||void 0===i||i.add("!u-hidden"),null==e||e.setAttribute("aria-hidden","true"))}))}))}},e.wideContactsFilter={init:function(){var t,e;null===(t=$(".c-contact-image-outer_filter-btn"))||void 0===t||t.on("click",(function(t){var e=$(this).attr("data-category");$(this).siblings().add($(this)).removeClass("c-contact-image-outer_filter-btn--active"),$(this).addClass("c-contact-image-outer_filter-btn--active"),i(e,this)})),null===(e=$(".js-contact-image-outer_container"))||void 0===e||e.each((function(t,e){var r=$(this).find(".js-default-category").val();"-1"===$(this).find(".js-default-in-filters").val()&&(r="all"),i(r,"",$(this))}))}};var i=function(t,i,r){var a;if(a=i?$(i).parent().next(".js-contact-image-outer_container"):r,"string"==typeof t){a.find("article").removeClass("c-show");var n=a.next(".js-contact-image-outer_container--fix");if(!n.length)return;n.empty(),"all"===t.toLowerCase()?(a.find("article").show(),a.find("article").addClass("c-show")):(a.find("article").hide(),a.find("article").each((function(e){var i=$(this).attr("data-category");if(void 0!==i){var r=i.split(",");r.length>0&&-1!==r.indexOf(t)&&($(this).show(),$(this).addClass("c-show"))}})));var o=a.find("article.c-show").clone();n.append(o),setTimeout((function(){window.resizeEvents&&window.resizeEvents.globals.currentHeight++,$(window).resize()}),2e3)}null===e.wideContactsPopUp||void 0===e.wideContactsPopUp||e.wideContactsPopUp.init()}},65563:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.wideTabs=void 0,e.wideTabs={init:function(){$(".js-wide-tabs").tabs({active:0})}}},76861:function(t,e,i){"use strict";var r=this&&this.__createBinding||(Object.create?function(t,e,i,r){void 0===r&&(r=i);var a=Object.getOwnPropertyDescriptor(e,i);a&&!("get"in a?!e.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return e[i]}}),Object.defineProperty(t,r,a)}:function(t,e,i,r){void 0===r&&(r=i),t[r]=e[i]}),a=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),n=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)"default"!==i&&Object.prototype.hasOwnProperty.call(t,i)&&r(e,t,i);return a(e,t),e},o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s,u,l,c=o(i(65311)),d=i(47525),h=i(63710),f=i(30783),p=i(42545),m=i(21522),b=i(35792),g=i(27023),v=i(20865),y=i(30280),_=i(64584),x=i(36617),k=i(57070),w=i(94104),S=i(29636),E=i(52897),j=i(65563),T=o(i(55584)),P=i(67123),A=o(i(11398)),C=o(i(54897)),O=o(i(11288)),M=i(9734),D=o(i(53028)),z=i(51685),L=i(40054),I=i(66222),F=i(29297),q=i(92748),R=i(25875),B=i(22517),N=i(55501),$=i(10912),V=i(33154),H=i(15688),U=i(29917),W=i(4968),Y=o(i(54356)),G=o(i(63434)),K=o(i(9151)),X=i(20644);window.fund=b.fund,window.flexSliderCarousel=y.flexSliderCarousel,window.externalLinks=f.externalLinks,window.googleMapView=g.googleMapView,window.filteredMediaLibraryResults=S.filteredMediaLibraryResults,(0,c.default)(document).ready((function(){I.mainUsSearch.init(),P.fadeIn.init(),T.default.init(),p.backToTop.init(),d.datePicker.init(),P.tableFunds.init(),P.simpleModal.init(),H.microModal.init(),h.autoSuggest.init(),P.scrollContent.init(),x.smoothScroll.init(),k.loaderFeature.init(),f.externalLinks.init(),P.removeClasses.init(),P.stopPropagation.init(),P.checkboxValueCookie.init(),P.toggleMultipleCheckboxes.init(),E.wideContactsFilter.init(),E.wideContactsPopUp.init(),j.wideTabs.init(),(0,R.injectCerosScript)(),_.parallax.init(),y.flexSliderCarousel.init(),w.legalDisclaimer.init(),S.filteredMediaLibraryResults.blockInit(),document.querySelectorAll(".js-autocomplete").length>0&&(0,U.GenericAutoComplete)();var t=Array.from(document.querySelectorAll(".js-content-tabs"));t.length>0&&Promise.resolve().then((function(){return n(i(47078))})).then((function(e){var i=e.default;t.forEach((function(t){var e=Array.from(t.querySelectorAll(".js-content-tab")),r=Array.from(t.querySelectorAll(".js-content-tab-panel"));e.length>0&&r.length>0&&new i({tabs:e,panels:r})}))})),D.default.init(),z.gmrHub.init(),F.TextEditor.init(),q.Filters.init(),V.Details.init(),$.SuperTable.init({skipListIds:["client-instruction-supertable","client-signatories-supertable"]}),(new Y.default).init(),(new K.default).init(),X.ClientKYCHandler.init(),document.querySelectorAll(".js-tippy").forEach((function(t){var e,i,r=t.dataset.message,a=null!==(i=null===(e=t.dataset)||void 0===e?void 0:e.theme)&&void 0!==i?i:"dark-blue";(0,G.default)(t,{content:r,theme:a})})),globalThis.gmrHub=z.gmrHub,m.header.applyStylesForHeaderNav(),v.carousel.applyStyles(),u=O.default.init(),s=C.default.init(),l=A.default.init(),null==u||u.on("closed",(function(){null==s||s.adjustPosition()})),(0,c.default)(".js-select-control").selectmenu(),(0,L.initContactForm)(),(0,M.setupDialogs)(),(0,N.setupCharts)()})),(0,c.default)(window).on("load",(function(){(0,B.scrollToURLFragment)(),m.header.handleSearchPosition(),null==u||u.adjustPosition(),null==s||s.adjustPosition(),null==l||l.adjustPosition();var t=window.ClientPortalPerformanceData;if(null==t?void 0:t.data){var e=document.getElementById(t.accountId),i=document.getElementById(t.endOfMonthId),r=document.getElementById(t.endOfYearId);new W.ManualDatePicker({availablePerformanceData:t.data,accountElement:e,endOfMonthElement:i,endOfYearElement:r}).init()}})),(0,c.default)(window).on("scroll",(function(){m.header.applyStylesForHeaderNav(),m.header.handleSearchPosition(),null==u||u.adjustPosition(),null==s||s.adjustPosition(),null==l||l.adjustPosition()})),null!=window.vimeoJSFileLocation&&(0,c.default)(document).ready((function(){(0,c.default)(".video-content-section").length&&c.default.getScript(window.vimeoJSFileLocation)})),(0,c.default)((function(){window.location.href.indexOf(".pdf.")>-1&&(window.location.href=window.location.href.slice(0,-1)),"back_forward"===performance.getEntriesByType("navigation")[0].type&&window.location.reload()})),(0,c.default)(window).on("resize",(function(){v.carousel.applyStyles(),null===y.flexSliderCarousel||void 0===y.flexSliderCarousel||y.flexSliderCarousel.positionPlayButton()})),(0,c.default)(window).on("orientationchange",(function(){null===y.flexSliderCarousel||void 0===y.flexSliderCarousel||y.flexSliderCarousel.positionPlayButton(),null===y.flexSliderCarousel||void 0===y.flexSliderCarousel||y.flexSliderCarousel.attatchPerspective()}))},65311:t=>{"use strict";t.exports=jQuery}},e={};function i(r){var a=e[r];if(void 0!==a)return a.exports;var n=e[r]={exports:{}};return t[r].call(n.exports,n,n.exports,i),n.exports}i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i(76861)})();
