-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpolyfills.d380337a52046bdd.js
1 lines (1 loc) · 80 KB
/
polyfills.d380337a52046bdd.js
1
(self.webpackChunkcheapflightclient=self.webpackChunkcheapflightclient||[]).push([[6429],{3038:(Ae,ve,ae)=>{"use strict";window.__Zone_ignore_on_properties=[{target:window,ignoreProperties:["message"]}],window.__zone_symbol__BLACK_LISTED_EVENTS=["message"],ae(88583),ae(74124)},88583:()=>{"use strict";!function(s){const l=s.performance;function k(me){l&&l.mark&&l.mark(me)}function v(me,z){l&&l.measure&&l.measure(me,z)}k("Zone");const P=s.__Zone_symbol_prefix||"__zone_symbol__";function D(me){return P+me}const U=!0===s[D("forceDuplicateZoneCheck")];if(s.Zone){if(U||"function"!=typeof s.Zone.__symbol__)throw new Error("Zone already loaded.");return s.Zone}let F=(()=>{class me{constructor(o,h){this._parent=o,this._name=h?h.name||"unnamed":"<root>",this._properties=h&&h.properties||{},this._zoneDelegate=new J(this,this._parent&&this._parent._zoneDelegate,h)}static assertZonePatched(){if(s.Promise!==Xe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let o=me.current;for(;o.parent;)o=o.parent;return o}static get current(){return xe.zone}static get currentTask(){return Ve}static __load_patch(o,h,$=!1){if(Xe.hasOwnProperty(o)){if(!$&&U)throw Error("Already loaded patch: "+o)}else if(!s["__Zone_disable_"+o]){const oe="Zone:"+o;k(oe),Xe[o]=h(s,me,Me),v(oe,oe)}}get parent(){return this._parent}get name(){return this._name}get(o){const h=this.getZoneWith(o);if(h)return h._properties[o]}getZoneWith(o){let h=this;for(;h;){if(h._properties.hasOwnProperty(o))return h;h=h._parent}return null}fork(o){if(!o)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,o)}wrap(o,h){if("function"!=typeof o)throw new Error("Expecting function got: "+o);const $=this._zoneDelegate.intercept(this,o,h),oe=this;return function(){return oe.runGuarded($,this,arguments,h)}}run(o,h,$,oe){xe={parent:xe,zone:this};try{return this._zoneDelegate.invoke(this,o,h,$,oe)}finally{xe=xe.parent}}runGuarded(o,h=null,$,oe){xe={parent:xe,zone:this};try{try{return this._zoneDelegate.invoke(this,o,h,$,oe)}catch(Ie){if(this._zoneDelegate.handleError(this,Ie))throw Ie}}finally{xe=xe.parent}}runTask(o,h,$){if(o.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(o.zone||He).name+"; Execution: "+this.name+")");if(o.state===Te&&(o.type===We||o.type===ne))return;const oe=o.state!=W;oe&&o._transitionTo(W,_e),o.runCount++;const Ie=Ve;Ve=o,xe={parent:xe,zone:this};try{o.type==ne&&o.data&&!o.data.isPeriodic&&(o.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,o,h,$)}catch(C){if(this._zoneDelegate.handleError(this,C))throw C}}finally{o.state!==Te&&o.state!==Z&&(o.type==We||o.data&&o.data.isPeriodic?oe&&o._transitionTo(_e,W):(o.runCount=0,this._updateTaskCount(o,-1),oe&&o._transitionTo(Te,W,Te))),xe=xe.parent,Ve=Ie}}scheduleTask(o){if(o.zone&&o.zone!==this){let $=this;for(;$;){if($===o.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${o.zone.name}`);$=$.parent}}o._transitionTo(Oe,Te);const h=[];o._zoneDelegates=h,o._zone=this;try{o=this._zoneDelegate.scheduleTask(this,o)}catch($){throw o._transitionTo(Z,Oe,Te),this._zoneDelegate.handleError(this,$),$}return o._zoneDelegates===h&&this._updateTaskCount(o,1),o.state==Oe&&o._transitionTo(_e,Oe),o}scheduleMicroTask(o,h,$,oe){return this.scheduleTask(new G(pe,o,h,$,oe,void 0))}scheduleMacroTask(o,h,$,oe,Ie){return this.scheduleTask(new G(ne,o,h,$,oe,Ie))}scheduleEventTask(o,h,$,oe,Ie){return this.scheduleTask(new G(We,o,h,$,oe,Ie))}cancelTask(o){if(o.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(o.zone||He).name+"; Execution: "+this.name+")");if(o.state===_e||o.state===W){o._transitionTo(we,_e,W);try{this._zoneDelegate.cancelTask(this,o)}catch(h){throw o._transitionTo(Z,we),this._zoneDelegate.handleError(this,h),h}return this._updateTaskCount(o,-1),o._transitionTo(Te,we),o.runCount=0,o}}_updateTaskCount(o,h){const $=o._zoneDelegates;-1==h&&(o._zoneDelegates=null);for(let oe=0;oe<$.length;oe++)$[oe]._updateTaskCount(o.type,h)}}return me.__symbol__=D,me})();const te={name:"",onHasTask:(me,z,o,h)=>me.hasTask(o,h),onScheduleTask:(me,z,o,h)=>me.scheduleTask(o,h),onInvokeTask:(me,z,o,h,$,oe)=>me.invokeTask(o,h,$,oe),onCancelTask:(me,z,o,h)=>me.cancelTask(o,h)};class J{constructor(z,o,h){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=z,this._parentDelegate=o,this._forkZS=h&&(h&&h.onFork?h:o._forkZS),this._forkDlgt=h&&(h.onFork?o:o._forkDlgt),this._forkCurrZone=h&&(h.onFork?this.zone:o._forkCurrZone),this._interceptZS=h&&(h.onIntercept?h:o._interceptZS),this._interceptDlgt=h&&(h.onIntercept?o:o._interceptDlgt),this._interceptCurrZone=h&&(h.onIntercept?this.zone:o._interceptCurrZone),this._invokeZS=h&&(h.onInvoke?h:o._invokeZS),this._invokeDlgt=h&&(h.onInvoke?o:o._invokeDlgt),this._invokeCurrZone=h&&(h.onInvoke?this.zone:o._invokeCurrZone),this._handleErrorZS=h&&(h.onHandleError?h:o._handleErrorZS),this._handleErrorDlgt=h&&(h.onHandleError?o:o._handleErrorDlgt),this._handleErrorCurrZone=h&&(h.onHandleError?this.zone:o._handleErrorCurrZone),this._scheduleTaskZS=h&&(h.onScheduleTask?h:o._scheduleTaskZS),this._scheduleTaskDlgt=h&&(h.onScheduleTask?o:o._scheduleTaskDlgt),this._scheduleTaskCurrZone=h&&(h.onScheduleTask?this.zone:o._scheduleTaskCurrZone),this._invokeTaskZS=h&&(h.onInvokeTask?h:o._invokeTaskZS),this._invokeTaskDlgt=h&&(h.onInvokeTask?o:o._invokeTaskDlgt),this._invokeTaskCurrZone=h&&(h.onInvokeTask?this.zone:o._invokeTaskCurrZone),this._cancelTaskZS=h&&(h.onCancelTask?h:o._cancelTaskZS),this._cancelTaskDlgt=h&&(h.onCancelTask?o:o._cancelTaskDlgt),this._cancelTaskCurrZone=h&&(h.onCancelTask?this.zone:o._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const $=h&&h.onHasTask;($||o&&o._hasTaskZS)&&(this._hasTaskZS=$?h:te,this._hasTaskDlgt=o,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=z,h.onScheduleTask||(this._scheduleTaskZS=te,this._scheduleTaskDlgt=o,this._scheduleTaskCurrZone=this.zone),h.onInvokeTask||(this._invokeTaskZS=te,this._invokeTaskDlgt=o,this._invokeTaskCurrZone=this.zone),h.onCancelTask||(this._cancelTaskZS=te,this._cancelTaskDlgt=o,this._cancelTaskCurrZone=this.zone))}fork(z,o){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,z,o):new F(z,o)}intercept(z,o,h){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,z,o,h):o}invoke(z,o,h,$,oe){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,z,o,h,$,oe):o.apply(h,$)}handleError(z,o){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,z,o)}scheduleTask(z,o){let h=o;if(this._scheduleTaskZS)this._hasTaskZS&&h._zoneDelegates.push(this._hasTaskDlgtOwner),h=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,z,o),h||(h=o);else if(o.scheduleFn)o.scheduleFn(o);else{if(o.type!=pe)throw new Error("Task is missing scheduleFn.");ie(o)}return h}invokeTask(z,o,h,$){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,z,o,h,$):o.callback.apply(h,$)}cancelTask(z,o){let h;if(this._cancelTaskZS)h=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,z,o);else{if(!o.cancelFn)throw Error("Task is not cancelable");h=o.cancelFn(o)}return h}hasTask(z,o){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,z,o)}catch(h){this.handleError(z,h)}}_updateTaskCount(z,o){const h=this._taskCounts,$=h[z],oe=h[z]=$+o;if(oe<0)throw new Error("More tasks executed then were scheduled.");0!=$&&0!=oe||this.hasTask(this.zone,{microTask:h.microTask>0,macroTask:h.macroTask>0,eventTask:h.eventTask>0,change:z})}}class G{constructor(z,o,h,$,oe,Ie){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=z,this.source=o,this.data=$,this.scheduleFn=oe,this.cancelFn=Ie,!h)throw new Error("callback is not defined");this.callback=h;const C=this;this.invoke=z===We&&$&&$.useG?G.invokeTask:function(){return G.invokeTask.call(s,C,this,arguments)}}static invokeTask(z,o,h){z||(z=this),Be++;try{return z.runCount++,z.zone.runTask(z,o,h)}finally{1==Be&&j(),Be--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Te,Oe)}_transitionTo(z,o,h){if(this._state!==o&&this._state!==h)throw new Error(`${this.type} '${this.source}': can not transition to '${z}', expecting state '${o}'${h?" or '"+h+"'":""}, was '${this._state}'.`);this._state=z,z==Te&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const ge=D("setTimeout"),fe=D("Promise"),de=D("then");let Fe,Ne=[],ye=!1;function De(me){if(Fe||s[fe]&&(Fe=s[fe].resolve(0)),Fe){let z=Fe[de];z||(z=Fe.then),z.call(Fe,me)}else s[ge](me,0)}function ie(me){0===Be&&0===Ne.length&&De(j),me&&Ne.push(me)}function j(){if(!ye){for(ye=!0;Ne.length;){const me=Ne;Ne=[];for(let z=0;z<me.length;z++){const o=me[z];try{o.zone.runTask(o,null,null)}catch(h){Me.onUnhandledError(h)}}}Me.microtaskDrainDone(),ye=!1}}const He={name:"NO ZONE"},Te="notScheduled",Oe="scheduling",_e="scheduled",W="running",we="canceling",Z="unknown",pe="microTask",ne="macroTask",We="eventTask",Xe={},Me={symbol:D,currentZoneFrame:()=>xe,onUnhandledError:be,microtaskDrainDone:be,scheduleMicroTask:ie,showUncaughtError:()=>!F[D("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:be,patchMethod:()=>be,bindArguments:()=>[],patchThen:()=>be,patchMacroTask:()=>be,patchEventPrototype:()=>be,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>be,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>be,wrapWithCurrentZone:()=>be,filterProperties:()=>[],attachOriginToPatched:()=>be,_redefineProperty:()=>be,patchCallbacks:()=>be,nativeScheduleMicroTask:De};let xe={parent:null,zone:new F(null,null)},Ve=null,Be=0;function be(){}v("Zone","Zone"),s.Zone=F}(typeof window<"u"&&window||typeof self<"u"&&self||global);const Ae=Object.getOwnPropertyDescriptor,ve=Object.defineProperty,ae=Object.getPrototypeOf,Le=Object.create,r=Array.prototype.slice,A="addEventListener",b="removeEventListener",N=Zone.__symbol__(A),f=Zone.__symbol__(b),d="true",E="false",m=Zone.__symbol__("");function g(s,l){return Zone.current.wrap(s,l)}function e(s,l,k,v,P){return Zone.current.scheduleMacroTask(s,l,k,v,P)}const t=Zone.__symbol__,c=typeof window<"u",n=c?window:void 0,i=c&&n||"object"==typeof self&&self||global,u="removeAttribute";function y(s,l){for(let k=s.length-1;k>=0;k--)"function"==typeof s[k]&&(s[k]=g(s[k],l+"_"+k));return s}function _(s){return!s||!1!==s.writable&&!("function"==typeof s.get&&typeof s.set>"u")}const a=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,p=!("nw"in i)&&typeof i.process<"u"&&"[object process]"==={}.toString.call(i.process),x=!p&&!a&&!(!c||!n.HTMLElement),O=typeof i.process<"u"&&"[object process]"==={}.toString.call(i.process)&&!a&&!(!c||!n.HTMLElement),q={},K=function(s){if(!(s=s||i.event))return;let l=q[s.type];l||(l=q[s.type]=t("ON_PROPERTY"+s.type));const k=this||s.target||i,v=k[l];let P;return x&&k===n&&"error"===s.type?(P=v&&v.call(this,s.message,s.filename,s.lineno,s.colno,s.error),!0===P&&s.preventDefault()):(P=v&&v.apply(this,arguments),null!=P&&!P&&s.preventDefault()),P};function H(s,l,k){let v=Ae(s,l);if(!v&&k&&Ae(k,l)&&(v={enumerable:!0,configurable:!0}),!v||!v.configurable)return;const P=t("on"+l+"patched");if(s.hasOwnProperty(P)&&s[P])return;delete v.writable,delete v.value;const D=v.get,U=v.set,F=l.slice(2);let te=q[F];te||(te=q[F]=t("ON_PROPERTY"+F)),v.set=function(J){let G=this;!G&&s===i&&(G=i),G&&("function"==typeof G[te]&&G.removeEventListener(F,K),U&&U.call(G,null),G[te]=J,"function"==typeof J&&G.addEventListener(F,K,!1))},v.get=function(){let J=this;if(!J&&s===i&&(J=i),!J)return null;const G=J[te];if(G)return G;if(D){let ge=D.call(this);if(ge)return v.set.call(this,ge),"function"==typeof J[u]&&J.removeAttribute(l),ge}return null},ve(s,l,v),s[P]=!0}function R(s,l,k){if(l)for(let v=0;v<l.length;v++)H(s,"on"+l[v],k);else{const v=[];for(const P in s)"on"==P.slice(0,2)&&v.push(P);for(let P=0;P<v.length;P++)H(s,v[P],k)}}const V=t("originalInstance");function le(s){const l=i[s];if(!l)return;i[t(s)]=l,i[s]=function(){const P=y(arguments,s);switch(P.length){case 0:this[V]=new l;break;case 1:this[V]=new l(P[0]);break;case 2:this[V]=new l(P[0],P[1]);break;case 3:this[V]=new l(P[0],P[1],P[2]);break;case 4:this[V]=new l(P[0],P[1],P[2],P[3]);break;default:throw new Error("Arg list too long.")}},ke(i[s],l);const k=new l(function(){});let v;for(v in k)"XMLHttpRequest"===s&&"responseBlob"===v||function(P){"function"==typeof k[P]?i[s].prototype[P]=function(){return this[V][P].apply(this[V],arguments)}:ve(i[s].prototype,P,{set:function(D){"function"==typeof D?(this[V][P]=g(D,s+"."+P),ke(this[V][P],D)):this[V][P]=D},get:function(){return this[V][P]}})}(v);for(v in l)"prototype"!==v&&l.hasOwnProperty(v)&&(i[s][v]=l[v])}function Ee(s,l,k){let v=s;for(;v&&!v.hasOwnProperty(l);)v=ae(v);!v&&s[l]&&(v=s);const P=t(l);let D=null;if(v&&(!(D=v[P])||!v.hasOwnProperty(P))&&(D=v[P]=v[l],_(v&&Ae(v,l)))){const F=k(D,P,l);v[l]=function(){return F(this,arguments)},ke(v[l],D)}return D}function he(s,l,k){let v=null;function P(D){const U=D.data;return U.args[U.cbIdx]=function(){D.invoke.apply(this,arguments)},v.apply(U.target,U.args),D}v=Ee(s,l,D=>function(U,F){const te=k(U,F);return te.cbIdx>=0&&"function"==typeof F[te.cbIdx]?e(te.name,F[te.cbIdx],te,P):D.apply(U,F)})}function ke(s,l){s[t("OriginalDelegate")]=l}let Ze=!1,je=!1;function Je(){if(Ze)return je;Ze=!0;try{const s=n.navigator.userAgent;(-1!==s.indexOf("MSIE ")||-1!==s.indexOf("Trident/")||-1!==s.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(s,l,k)=>{const v=Object.getOwnPropertyDescriptor,P=Object.defineProperty,U=k.symbol,F=[],te=!0===s[U("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],J=U("Promise"),G=U("then"),ge="__creationTrace__";k.onUnhandledError=C=>{if(k.showUncaughtError()){const M=C&&C.rejection;M?console.error("Unhandled Promise rejection:",M instanceof Error?M.message:M,"; Zone:",C.zone.name,"; Task:",C.task&&C.task.source,"; Value:",M,M instanceof Error?M.stack:void 0):console.error(C)}},k.microtaskDrainDone=()=>{for(;F.length;){const C=F.shift();try{C.zone.runGuarded(()=>{throw C.throwOriginal?C.rejection:C})}catch(M){de(M)}}};const fe=U("unhandledPromiseRejectionHandler");function de(C){k.onUnhandledError(C);try{const M=l[fe];"function"==typeof M&&M.call(this,C)}catch{}}function Ne(C){return C&&C.then}function ye(C){return C}function Fe(C){return o.reject(C)}const De=U("state"),ie=U("value"),j=U("finally"),He=U("parentPromiseValue"),Te=U("parentPromiseState"),Oe="Promise.then",_e=null,W=!0,we=!1,Z=0;function pe(C,M){return T=>{try{Me(C,M,T)}catch(L){Me(C,!1,L)}}}const ne=function(){let C=!1;return function(T){return function(){C||(C=!0,T.apply(null,arguments))}}},We="Promise resolved with itself",Xe=U("currentTaskTrace");function Me(C,M,T){const L=ne();if(C===T)throw new TypeError(We);if(C[De]===_e){let X=null;try{("object"==typeof T||"function"==typeof T)&&(X=T&&T.then)}catch(Q){return L(()=>{Me(C,!1,Q)})(),C}if(M!==we&&T instanceof o&&T.hasOwnProperty(De)&&T.hasOwnProperty(ie)&&T[De]!==_e)Ve(T),Me(C,T[De],T[ie]);else if(M!==we&&"function"==typeof X)try{X.call(T,L(pe(C,M)),L(pe(C,!1)))}catch(Q){L(()=>{Me(C,!1,Q)})()}else{C[De]=M;const Q=C[ie];if(C[ie]=T,C[j]===j&&M===W&&(C[De]=C[Te],C[ie]=C[He]),M===we&&T instanceof Error){const B=l.currentTask&&l.currentTask.data&&l.currentTask.data[ge];B&&P(T,Xe,{configurable:!0,enumerable:!1,writable:!0,value:B})}for(let B=0;B<Q.length;)Be(C,Q[B++],Q[B++],Q[B++],Q[B++]);if(0==Q.length&&M==we){C[De]=Z;let B=T;try{throw new Error("Uncaught (in promise): "+function D(C){return C&&C.toString===Object.prototype.toString?(C.constructor&&C.constructor.name||"")+": "+JSON.stringify(C):C?C.toString():Object.prototype.toString.call(C)}(T)+(T&&T.stack?"\n"+T.stack:""))}catch(se){B=se}te&&(B.throwOriginal=!0),B.rejection=T,B.promise=C,B.zone=l.current,B.task=l.currentTask,F.push(B),k.scheduleMicroTask()}}}return C}const xe=U("rejectionHandledHandler");function Ve(C){if(C[De]===Z){try{const M=l[xe];M&&"function"==typeof M&&M.call(this,{rejection:C[ie],promise:C})}catch{}C[De]=we;for(let M=0;M<F.length;M++)C===F[M].promise&&F.splice(M,1)}}function Be(C,M,T,L,X){Ve(C);const Q=C[De],B=Q?"function"==typeof L?L:ye:"function"==typeof X?X:Fe;M.scheduleMicroTask(Oe,()=>{try{const se=C[ie],ue=!!T&&j===T[j];ue&&(T[He]=se,T[Te]=Q);const ce=M.run(B,void 0,ue&&B!==Fe&&B!==ye?[]:[se]);Me(T,!0,ce)}catch(se){Me(T,!1,se)}},T)}const me=function(){},z=s.AggregateError;class o{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(M){return Me(new this(null),W,M)}static reject(M){return Me(new this(null),we,M)}static any(M){if(!M||"function"!=typeof M[Symbol.iterator])return Promise.reject(new z([],"All promises were rejected"));const T=[];let L=0;try{for(let B of M)L++,T.push(o.resolve(B))}catch{return Promise.reject(new z([],"All promises were rejected"))}if(0===L)return Promise.reject(new z([],"All promises were rejected"));let X=!1;const Q=[];return new o((B,se)=>{for(let ue=0;ue<T.length;ue++)T[ue].then(ce=>{X||(X=!0,B(ce))},ce=>{Q.push(ce),L--,0===L&&(X=!0,se(new z(Q,"All promises were rejected")))})})}static race(M){let T,L,X=new this((se,ue)=>{T=se,L=ue});function Q(se){T(se)}function B(se){L(se)}for(let se of M)Ne(se)||(se=this.resolve(se)),se.then(Q,B);return X}static all(M){return o.allWithCallback(M)}static allSettled(M){return(this&&this.prototype instanceof o?this:o).allWithCallback(M,{thenCallback:L=>({status:"fulfilled",value:L}),errorCallback:L=>({status:"rejected",reason:L})})}static allWithCallback(M,T){let L,X,Q=new this((ce,Pe)=>{L=ce,X=Pe}),B=2,se=0;const ue=[];for(let ce of M){Ne(ce)||(ce=this.resolve(ce));const Pe=se;try{ce.then(Re=>{ue[Pe]=T?T.thenCallback(Re):Re,B--,0===B&&L(ue)},Re=>{T?(ue[Pe]=T.errorCallback(Re),B--,0===B&&L(ue)):X(Re)})}catch(Re){X(Re)}B++,se++}return B-=2,0===B&&L(ue),Q}constructor(M){const T=this;if(!(T instanceof o))throw new Error("Must be an instanceof Promise.");T[De]=_e,T[ie]=[];try{const L=ne();M&&M(L(pe(T,W)),L(pe(T,we)))}catch(L){Me(T,!1,L)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return o}then(M,T){var L;let X=null===(L=this.constructor)||void 0===L?void 0:L[Symbol.species];(!X||"function"!=typeof X)&&(X=this.constructor||o);const Q=new X(me),B=l.current;return this[De]==_e?this[ie].push(B,Q,M,T):Be(this,B,Q,M,T),Q}catch(M){return this.then(null,M)}finally(M){var T;let L=null===(T=this.constructor)||void 0===T?void 0:T[Symbol.species];(!L||"function"!=typeof L)&&(L=o);const X=new L(me);X[j]=j;const Q=l.current;return this[De]==_e?this[ie].push(Q,X,M,M):Be(this,Q,X,M,M),X}}o.resolve=o.resolve,o.reject=o.reject,o.race=o.race,o.all=o.all;const h=s[J]=s.Promise;s.Promise=o;const $=U("thenPatched");function oe(C){const M=C.prototype,T=v(M,"then");if(T&&(!1===T.writable||!T.configurable))return;const L=M.then;M[G]=L,C.prototype.then=function(X,Q){return new o((se,ue)=>{L.call(this,se,ue)}).then(X,Q)},C[$]=!0}return k.patchThen=oe,h&&(oe(h),Ee(s,"fetch",C=>function Ie(C){return function(M,T){let L=C.apply(M,T);if(L instanceof o)return L;let X=L.constructor;return X[$]||oe(X),L}}(C))),Promise[l.__symbol__("uncaughtPromiseErrors")]=F,o}),Zone.__load_patch("toString",s=>{const l=Function.prototype.toString,k=t("OriginalDelegate"),v=t("Promise"),P=t("Error"),D=function(){if("function"==typeof this){const J=this[k];if(J)return"function"==typeof J?l.call(J):Object.prototype.toString.call(J);if(this===Promise){const G=s[v];if(G)return l.call(G)}if(this===Error){const G=s[P];if(G)return l.call(G)}}return l.call(this)};D[k]=l,Function.prototype.toString=D;const U=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":U.call(this)}});let w=!1;if(typeof window<"u")try{const s=Object.defineProperty({},"passive",{get:function(){w=!0}});window.addEventListener("test",s,s),window.removeEventListener("test",s,s)}catch{w=!1}const Y={useG:!0},I={},re={},ee=new RegExp("^"+m+"(\\w+)(true|false)$"),Se=t("propagationStopped");function Ce(s,l){const k=(l?l(s):s)+E,v=(l?l(s):s)+d,P=m+k,D=m+v;I[s]={},I[s][E]=P,I[s][d]=D}function qe(s,l,k,v){const P=v&&v.add||A,D=v&&v.rm||b,U=v&&v.listeners||"eventListeners",F=v&&v.rmAll||"removeAllListeners",te=t(P),J="."+P+":",G="prependListener",ge="."+G+":",fe=function(ie,j,He){if(ie.isRemoved)return;const Te=ie.callback;let Oe;"object"==typeof Te&&Te.handleEvent&&(ie.callback=W=>Te.handleEvent(W),ie.originalDelegate=Te);try{ie.invoke(ie,j,[He])}catch(W){Oe=W}const _e=ie.options;return _e&&"object"==typeof _e&&_e.once&&j[D].call(j,He.type,ie.originalDelegate?ie.originalDelegate:ie.callback,_e),Oe};function de(ie,j,He){if(!(j=j||s.event))return;const Te=ie||j.target||s,Oe=Te[I[j.type][He?d:E]];if(Oe){const _e=[];if(1===Oe.length){const W=fe(Oe[0],Te,j);W&&_e.push(W)}else{const W=Oe.slice();for(let we=0;we<W.length&&(!j||!0!==j[Se]);we++){const Z=fe(W[we],Te,j);Z&&_e.push(Z)}}if(1===_e.length)throw _e[0];for(let W=0;W<_e.length;W++){const we=_e[W];l.nativeScheduleMicroTask(()=>{throw we})}}}const Ne=function(ie){return de(this,ie,!1)},ye=function(ie){return de(this,ie,!0)};function Fe(ie,j){if(!ie)return!1;let He=!0;j&&void 0!==j.useG&&(He=j.useG);const Te=j&&j.vh;let Oe=!0;j&&void 0!==j.chkDup&&(Oe=j.chkDup);let _e=!1;j&&void 0!==j.rt&&(_e=j.rt);let W=ie;for(;W&&!W.hasOwnProperty(P);)W=ae(W);if(!W&&ie[P]&&(W=ie),!W||W[te])return!1;const we=j&&j.eventNameToString,Z={},pe=W[te]=W[P],ne=W[t(D)]=W[D],We=W[t(U)]=W[U],Xe=W[t(F)]=W[F];let Me;j&&j.prepend&&(Me=W[t(j.prepend)]=W[j.prepend]);const o=He?function(T){if(!Z.isExisting)return pe.call(Z.target,Z.eventName,Z.capture?ye:Ne,Z.options)}:function(T){return pe.call(Z.target,Z.eventName,T.invoke,Z.options)},h=He?function(T){if(!T.isRemoved){const L=I[T.eventName];let X;L&&(X=L[T.capture?d:E]);const Q=X&&T.target[X];if(Q)for(let B=0;B<Q.length;B++)if(Q[B]===T){Q.splice(B,1),T.isRemoved=!0,0===Q.length&&(T.allRemoved=!0,T.target[X]=null);break}}if(T.allRemoved)return ne.call(T.target,T.eventName,T.capture?ye:Ne,T.options)}:function(T){return ne.call(T.target,T.eventName,T.invoke,T.options)},oe=j&&j.diff?j.diff:function(T,L){const X=typeof L;return"function"===X&&T.callback===L||"object"===X&&T.originalDelegate===L},Ie=Zone[t("UNPATCHED_EVENTS")],C=s[t("PASSIVE_EVENTS")],M=function(T,L,X,Q,B=!1,se=!1){return function(){const ue=this||s;let ce=arguments[0];j&&j.transferEventName&&(ce=j.transferEventName(ce));let Pe=arguments[1];if(!Pe)return T.apply(this,arguments);if(p&&"uncaughtException"===ce)return T.apply(this,arguments);let Re=!1;if("function"!=typeof Pe){if(!Pe.handleEvent)return T.apply(this,arguments);Re=!0}if(Te&&!Te(T,Pe,ue,arguments))return;const $e=w&&!!C&&-1!==C.indexOf(ce),Ye=function xe(T,L){return!w&&"object"==typeof T&&T?!!T.capture:w&&L?"boolean"==typeof T?{capture:T,passive:!0}:T?"object"==typeof T&&!1!==T.passive?Object.assign(Object.assign({},T),{passive:!0}):T:{passive:!0}:T}(arguments[2],$e);if(Ie)for(let tt=0;tt<Ie.length;tt++)if(ce===Ie[tt])return $e?T.call(ue,ce,Pe,Ye):T.apply(this,arguments);const lt=!!Ye&&("boolean"==typeof Ye||Ye.capture),ht=!(!Ye||"object"!=typeof Ye)&&Ye.once,Tt=Zone.current;let ft=I[ce];ft||(Ce(ce,we),ft=I[ce]);const dt=ft[lt?d:E];let ct,rt=ue[dt],pt=!1;if(rt){if(pt=!0,Oe)for(let tt=0;tt<rt.length;tt++)if(oe(rt[tt],Pe))return}else rt=ue[dt]=[];const mt=ue.constructor.name,gt=re[mt];gt&&(ct=gt[ce]),ct||(ct=mt+L+(we?we(ce):ce)),Z.options=Ye,ht&&(Z.options.once=!1),Z.target=ue,Z.capture=lt,Z.eventName=ce,Z.isExisting=pt;const st=He?Y:void 0;st&&(st.taskData=Z);const Ke=Tt.scheduleEventTask(ct,Pe,st,X,Q);return Z.target=null,st&&(st.taskData=null),ht&&(Ye.once=!0),!w&&"boolean"==typeof Ke.options||(Ke.options=Ye),Ke.target=ue,Ke.capture=lt,Ke.eventName=ce,Re&&(Ke.originalDelegate=Pe),se?rt.unshift(Ke):rt.push(Ke),B?ue:void 0}};return W[P]=M(pe,J,o,h,_e),Me&&(W[G]=M(Me,ge,function(T){return Me.call(Z.target,Z.eventName,T.invoke,Z.options)},h,_e,!0)),W[D]=function(){const T=this||s;let L=arguments[0];j&&j.transferEventName&&(L=j.transferEventName(L));const X=arguments[2],Q=!!X&&("boolean"==typeof X||X.capture),B=arguments[1];if(!B)return ne.apply(this,arguments);if(Te&&!Te(ne,B,T,arguments))return;const se=I[L];let ue;se&&(ue=se[Q?d:E]);const ce=ue&&T[ue];if(ce)for(let Pe=0;Pe<ce.length;Pe++){const Re=ce[Pe];if(oe(Re,B))return ce.splice(Pe,1),Re.isRemoved=!0,0===ce.length&&(Re.allRemoved=!0,T[ue]=null,"string"==typeof L)&&(T[m+"ON_PROPERTY"+L]=null),Re.zone.cancelTask(Re),_e?T:void 0}return ne.apply(this,arguments)},W[U]=function(){const T=this||s;let L=arguments[0];j&&j.transferEventName&&(L=j.transferEventName(L));const X=[],Q=Ge(T,we?we(L):L);for(let B=0;B<Q.length;B++){const se=Q[B];X.push(se.originalDelegate?se.originalDelegate:se.callback)}return X},W[F]=function(){const T=this||s;let L=arguments[0];if(L){j&&j.transferEventName&&(L=j.transferEventName(L));const X=I[L];if(X){const se=T[X[E]],ue=T[X[d]];if(se){const ce=se.slice();for(let Pe=0;Pe<ce.length;Pe++){const Re=ce[Pe];this[D].call(this,L,Re.originalDelegate?Re.originalDelegate:Re.callback,Re.options)}}if(ue){const ce=ue.slice();for(let Pe=0;Pe<ce.length;Pe++){const Re=ce[Pe];this[D].call(this,L,Re.originalDelegate?Re.originalDelegate:Re.callback,Re.options)}}}}else{const X=Object.keys(T);for(let Q=0;Q<X.length;Q++){const se=ee.exec(X[Q]);let ue=se&&se[1];ue&&"removeListener"!==ue&&this[F].call(this,ue)}this[F].call(this,"removeListener")}if(_e)return this},ke(W[P],pe),ke(W[D],ne),Xe&&ke(W[F],Xe),We&&ke(W[U],We),!0}let De=[];for(let ie=0;ie<k.length;ie++)De[ie]=Fe(k[ie],v);return De}function Ge(s,l){if(!l){const D=[];for(let U in s){const F=ee.exec(U);let te=F&&F[1];if(te&&(!l||te===l)){const J=s[U];if(J)for(let G=0;G<J.length;G++)D.push(J[G])}}return D}let k=I[l];k||(Ce(l),k=I[l]);const v=s[k[E]],P=s[k[d]];return v?P?v.concat(P):v.slice():P?P.slice():[]}function Qe(s,l){const k=s.Event;k&&k.prototype&&l.patchMethod(k.prototype,"stopImmediatePropagation",v=>function(P,D){P[Se]=!0,v&&v.apply(P,D)})}function et(s,l,k,v,P){const D=Zone.__symbol__(v);if(l[D])return;const U=l[D]=l[v];l[v]=function(F,te,J){return te&&te.prototype&&P.forEach(function(G){const ge=`${k}.${v}::`+G,fe=te.prototype;try{if(fe.hasOwnProperty(G)){const de=s.ObjectGetOwnPropertyDescriptor(fe,G);de&&de.value?(de.value=s.wrapWithCurrentZone(de.value,ge),s._redefineProperty(te.prototype,G,de)):fe[G]&&(fe[G]=s.wrapWithCurrentZone(fe[G],ge))}else fe[G]&&(fe[G]=s.wrapWithCurrentZone(fe[G],ge))}catch{}}),U.call(l,F,te,J)},s.attachOriginToPatched(l[v],U)}function it(s,l,k){if(!k||0===k.length)return l;const v=k.filter(D=>D.target===s);if(!v||0===v.length)return l;const P=v[0].ignoreProperties;return l.filter(D=>-1===P.indexOf(D))}function at(s,l,k,v){s&&R(s,it(s,l,k),v)}function ot(s){return Object.getOwnPropertyNames(s).filter(l=>l.startsWith("on")&&l.length>2).map(l=>l.substring(2))}Zone.__load_patch("util",(s,l,k)=>{const v=ot(s);k.patchOnProperties=R,k.patchMethod=Ee,k.bindArguments=y,k.patchMacroTask=he;const P=l.__symbol__("BLACK_LISTED_EVENTS"),D=l.__symbol__("UNPATCHED_EVENTS");s[D]&&(s[P]=s[D]),s[P]&&(l[P]=l[D]=s[P]),k.patchEventPrototype=Qe,k.patchEventTarget=qe,k.isIEOrEdge=Je,k.ObjectDefineProperty=ve,k.ObjectGetOwnPropertyDescriptor=Ae,k.ObjectCreate=Le,k.ArraySlice=r,k.patchClass=le,k.wrapWithCurrentZone=g,k.filterProperties=it,k.attachOriginToPatched=ke,k._redefineProperty=Object.defineProperty,k.patchCallbacks=et,k.getGlobalObjects=()=>({globalSources:re,zoneSymbolEventNames:I,eventNames:v,isBrowser:x,isMix:O,isNode:p,TRUE_STR:d,FALSE_STR:E,ZONE_SYMBOL_PREFIX:m,ADD_EVENT_LISTENER_STR:A,REMOVE_EVENT_LISTENER_STR:b})});const ut=t("zoneTask");function nt(s,l,k,v){let P=null,D=null;k+=v;const U={};function F(J){const G=J.data;return G.args[0]=function(){return J.invoke.apply(this,arguments)},G.handleId=P.apply(s,G.args),J}function te(J){return D.call(s,J.data.handleId)}P=Ee(s,l+=v,J=>function(G,ge){if("function"==typeof ge[0]){const fe={isPeriodic:"Interval"===v,delay:"Timeout"===v||"Interval"===v?ge[1]||0:void 0,args:ge},de=ge[0];ge[0]=function(){try{return de.apply(this,arguments)}finally{fe.isPeriodic||("number"==typeof fe.handleId?delete U[fe.handleId]:fe.handleId&&(fe.handleId[ut]=null))}};const Ne=e(l,ge[0],fe,F,te);if(!Ne)return Ne;const ye=Ne.data.handleId;return"number"==typeof ye?U[ye]=Ne:ye&&(ye[ut]=Ne),ye&&ye.ref&&ye.unref&&"function"==typeof ye.ref&&"function"==typeof ye.unref&&(Ne.ref=ye.ref.bind(ye),Ne.unref=ye.unref.bind(ye)),"number"==typeof ye||ye?ye:Ne}return J.apply(s,ge)}),D=Ee(s,k,J=>function(G,ge){const fe=ge[0];let de;"number"==typeof fe?de=U[fe]:(de=fe&&fe[ut],de||(de=fe)),de&&"string"==typeof de.type?"notScheduled"!==de.state&&(de.cancelFn&&de.data.isPeriodic||0===de.runCount)&&("number"==typeof fe?delete U[fe]:fe&&(fe[ut]=null),de.zone.cancelTask(de)):J.apply(s,ge)})}Zone.__load_patch("legacy",s=>{const l=s[Zone.__symbol__("legacyPatch")];l&&l()}),Zone.__load_patch("queueMicrotask",(s,l,k)=>{k.patchMethod(s,"queueMicrotask",v=>function(P,D){l.current.scheduleMicroTask("queueMicrotask",D[0])})}),Zone.__load_patch("timers",s=>{const l="set",k="clear";nt(s,l,k,"Timeout"),nt(s,l,k,"Interval"),nt(s,l,k,"Immediate")}),Zone.__load_patch("requestAnimationFrame",s=>{nt(s,"request","cancel","AnimationFrame"),nt(s,"mozRequest","mozCancel","AnimationFrame"),nt(s,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(s,l)=>{const k=["alert","prompt","confirm"];for(let v=0;v<k.length;v++)Ee(s,k[v],(D,U,F)=>function(te,J){return l.current.run(D,s,J,F)})}),Zone.__load_patch("EventTarget",(s,l,k)=>{(function yt(s,l){l.patchEventPrototype(s,l)})(s,k),function vt(s,l){if(Zone[l.symbol("patchEventTarget")])return;const{eventNames:k,zoneSymbolEventNames:v,TRUE_STR:P,FALSE_STR:D,ZONE_SYMBOL_PREFIX:U}=l.getGlobalObjects();for(let te=0;te<k.length;te++){const J=k[te],fe=U+(J+D),de=U+(J+P);v[J]={},v[J][D]=fe,v[J][P]=de}const F=s.EventTarget;F&&F.prototype&&l.patchEventTarget(s,l,[F&&F.prototype])}(s,k);const v=s.XMLHttpRequestEventTarget;v&&v.prototype&&k.patchEventTarget(s,k,[v.prototype])}),Zone.__load_patch("MutationObserver",(s,l,k)=>{le("MutationObserver"),le("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(s,l,k)=>{le("IntersectionObserver")}),Zone.__load_patch("FileReader",(s,l,k)=>{le("FileReader")}),Zone.__load_patch("on_property",(s,l,k)=>{!function Ue(s,l){if(p&&!O||Zone[s.symbol("patchEvents")])return;const k=l.__Zone_ignore_on_properties;let v=[];if(x){const P=window;v=v.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const D=function ze(){try{const s=n.navigator.userAgent;if(-1!==s.indexOf("MSIE ")||-1!==s.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:P,ignoreProperties:["error"]}]:[];at(P,ot(P),k&&k.concat(D),ae(P))}v=v.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let P=0;P<v.length;P++){const D=l[v[P]];D&&D.prototype&&at(D.prototype,ot(D.prototype),k)}}(k,s)}),Zone.__load_patch("customElements",(s,l,k)=>{!function _t(s,l){const{isBrowser:k,isMix:v}=l.getGlobalObjects();(k||v)&&s.customElements&&"customElements"in s&&l.patchCallbacks(l,s.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(s,k)}),Zone.__load_patch("XHR",(s,l)=>{!function te(J){const G=J.XMLHttpRequest;if(!G)return;const ge=G.prototype;let de=ge[N],Ne=ge[f];if(!de){const Z=J.XMLHttpRequestEventTarget;if(Z){const pe=Z.prototype;de=pe[N],Ne=pe[f]}}const ye="readystatechange",Fe="scheduled";function De(Z){const pe=Z.data,ne=pe.target;ne[D]=!1,ne[F]=!1;const We=ne[P];de||(de=ne[N],Ne=ne[f]),We&&Ne.call(ne,ye,We);const Xe=ne[P]=()=>{if(ne.readyState===ne.DONE)if(!pe.aborted&&ne[D]&&Z.state===Fe){const xe=ne[l.__symbol__("loadfalse")];if(0!==ne.status&&xe&&xe.length>0){const Ve=Z.invoke;Z.invoke=function(){const Be=ne[l.__symbol__("loadfalse")];for(let be=0;be<Be.length;be++)Be[be]===Z&&Be.splice(be,1);!pe.aborted&&Z.state===Fe&&Ve.call(Z)},xe.push(Z)}else Z.invoke()}else!pe.aborted&&!1===ne[D]&&(ne[F]=!0)};return de.call(ne,ye,Xe),ne[k]||(ne[k]=Z),W.apply(ne,pe.args),ne[D]=!0,Z}function ie(){}function j(Z){const pe=Z.data;return pe.aborted=!0,we.apply(pe.target,pe.args)}const He=Ee(ge,"open",()=>function(Z,pe){return Z[v]=0==pe[2],Z[U]=pe[1],He.apply(Z,pe)}),Oe=t("fetchTaskAborting"),_e=t("fetchTaskScheduling"),W=Ee(ge,"send",()=>function(Z,pe){if(!0===l.current[_e]||Z[v])return W.apply(Z,pe);{const ne={target:Z,url:Z[U],isPeriodic:!1,args:pe,aborted:!1},We=e("XMLHttpRequest.send",ie,ne,De,j);Z&&!0===Z[F]&&!ne.aborted&&We.state===Fe&&We.invoke()}}),we=Ee(ge,"abort",()=>function(Z,pe){const ne=function fe(Z){return Z[k]}(Z);if(ne&&"string"==typeof ne.type){if(null==ne.cancelFn||ne.data&&ne.data.aborted)return;ne.zone.cancelTask(ne)}else if(!0===l.current[Oe])return we.apply(Z,pe)})}(s);const k=t("xhrTask"),v=t("xhrSync"),P=t("xhrListener"),D=t("xhrScheduled"),U=t("xhrURL"),F=t("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",s=>{s.navigator&&s.navigator.geolocation&&function S(s,l){const k=s.constructor.name;for(let v=0;v<l.length;v++){const P=l[v],D=s[P];if(D){if(!_(Ae(s,P)))continue;s[P]=(F=>{const te=function(){return F.apply(this,y(arguments,k+"."+P))};return ke(te,F),te})(D)}}}(s.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(s,l)=>{function k(v){return function(P){Ge(s,v).forEach(U=>{const F=s.PromiseRejectionEvent;if(F){const te=new F(v,{promise:P.promise,reason:P.rejection});U.invoke(te)}})}}s.PromiseRejectionEvent&&(l[t("unhandledPromiseRejectionHandler")]=k("unhandledrejection"),l[t("rejectionHandledHandler")]=k("rejectionhandled"))})},74124:()=>{var ae,Le,Ae,ve;ve={},function(ae,Le){function A(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=O}function b(){return ae.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function N(w,Y,I){var re=new A;return Y&&(re.fill="both",re.duration="auto"),"number"!=typeof w||isNaN(w)?void 0!==w&&Object.getOwnPropertyNames(w).forEach(function(ee){if("auto"!=w[ee]){if(("number"==typeof re[ee]||"duration"==ee)&&("number"!=typeof w[ee]||isNaN(w[ee]))||"fill"==ee&&-1==p.indexOf(w[ee])||"direction"==ee&&-1==x.indexOf(w[ee])||"playbackRate"==ee&&1!==w[ee]&&ae.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;re[ee]=w[ee]}}):re.duration=w,re}function E(w,Y,I,re){return w<0||w>1||I<0||I>1?O:function(ee){function Se(at,ot,Ue){return 3*at*(1-Ue)*(1-Ue)*Ue+3*ot*(1-Ue)*Ue*Ue+Ue*Ue*Ue}if(ee<=0){var Ce=0;return w>0?Ce=Y/w:!Y&&I>0&&(Ce=re/I),Ce*ee}if(ee>=1){var qe=0;return I<1?qe=(re-1)/(I-1):1==I&&w<1&&(qe=(Y-1)/(w-1)),1+qe*(ee-1)}for(var Ge=0,Qe=1;Ge<Qe;){var et=(Ge+Qe)/2,it=Se(w,I,et);if(Math.abs(ee-it)<1e-5)return Se(Y,re,et);it<ee?Ge=et:Qe=et}return Se(Y,re,et)}}function m(w,Y){return function(I){if(I>=1)return 1;var re=1/w;return(I+=Y*re)-I%re}}function g(w){V||(V=document.createElement("div").style),V.animationTimingFunction="",V.animationTimingFunction=w;var Y=V.animationTimingFunction;if(""==Y&&b())throw new TypeError(w+" is not a valid value for easing");return Y}function e(w){if("linear"==w)return O;var Y=Ee.exec(w);if(Y)return E.apply(this,Y.slice(1).map(Number));var I=he.exec(w);if(I)return m(Number(I[1]),H);var re=ke.exec(w);return re?m(Number(re[1]),{start:q,middle:K,end:H}[re[2]]):R[w]||O}function n(w,Y,I){if(null==Y)return Ze;var re=I.delay+w+I.endDelay;return Y<Math.min(I.delay,re)?je:Y>=Math.min(I.delay+w,re)?ze:Je}var p="backwards|forwards|both|none".split("|"),x="reverse|alternate|alternate-reverse".split("|"),O=function(w){return w};A.prototype={_setMember:function(w,Y){this["_"+w]=Y,this._effect&&(this._effect._timingInput[w]=Y,this._effect._timing=ae.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=ae.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(w){this._setMember("delay",w)},get delay(){return this._delay},set endDelay(w){this._setMember("endDelay",w)},get endDelay(){return this._endDelay},set fill(w){this._setMember("fill",w)},get fill(){return this._fill},set iterationStart(w){if((isNaN(w)||w<0)&&b())throw new TypeError("iterationStart must be a non-negative number, received: "+w);this._setMember("iterationStart",w)},get iterationStart(){return this._iterationStart},set duration(w){if("auto"!=w&&(isNaN(w)||w<0)&&b())throw new TypeError("duration must be non-negative or auto, received: "+w);this._setMember("duration",w)},get duration(){return this._duration},set direction(w){this._setMember("direction",w)},get direction(){return this._direction},set easing(w){this._easingFunction=e(g(w)),this._setMember("easing",w)},get easing(){return this._easing},set iterations(w){if((isNaN(w)||w<0)&&b())throw new TypeError("iterations must be non-negative, received: "+w);this._setMember("iterations",w)},get iterations(){return this._iterations}};var q=1,K=.5,H=0,R={ease:E(.25,.1,.25,1),"ease-in":E(.42,0,1,1),"ease-out":E(0,0,.58,1),"ease-in-out":E(.42,0,.58,1),"step-start":m(1,q),"step-middle":m(1,K),"step-end":m(1,H)},V=null,le="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",Ee=new RegExp("cubic-bezier\\("+le+","+le+","+le+","+le+"\\)"),he=/steps\(\s*(\d+)\s*\)/,ke=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,Ze=0,je=1,ze=2,Je=3;ae.cloneTimingInput=function r(w){if("number"==typeof w)return w;var Y={};for(var I in w)Y[I]=w[I];return Y},ae.makeTiming=N,ae.numericTimingToObject=function f(w){return"number"==typeof w&&(w=isNaN(w)?{duration:0}:{duration:w}),w},ae.normalizeTimingInput=function d(w,Y){return N(w=ae.numericTimingToObject(w),Y)},ae.calculateActiveDuration=function t(w){return Math.abs(function c(w){return 0===w.duration||0===w.iterations?0:w.duration*w.iterations}(w)/w.playbackRate)},ae.calculateIterationProgress=function a(w,Y,I){var re=n(w,Y,I),ee=function i(w,Y,I,re,ee){switch(re){case je:return"backwards"==Y||"both"==Y?0:null;case Je:return I-ee;case ze:return"forwards"==Y||"both"==Y?w:null;case Ze:return null}}(w,I.fill,Y,re,I.delay);if(null===ee)return null;var Se=function u(w,Y,I,re,ee){var Se=ee;return 0===w?Y!==je&&(Se+=I):Se+=re/w,Se}(I.duration,re,I.iterations,ee,I.iterationStart),Ce=function y(w,Y,I,re,ee,Se){var Ce=w===1/0?Y%1:w%1;return 0!==Ce||I!==ze||0===re||0===ee&&0!==Se||(Ce=1),Ce}(Se,I.iterationStart,re,I.iterations,ee,I.duration),qe=function S(w,Y,I,re){return w===ze&&Y===1/0?1/0:1===I?Math.floor(re)-1:Math.floor(re)}(re,I.iterations,Ce,Se),Ge=function _(w,Y,I){var re=w;if("normal"!==w&&"reverse"!==w){var ee=Y;"alternate-reverse"===w&&(ee+=1),re="normal",ee!==1/0&&ee%2!=0&&(re="reverse")}return"normal"===re?I:1-I}(I.direction,qe,Ce);return I._easingFunction(Ge)},ae.calculatePhase=n,ae.normalizeEasing=g,ae.parseEasingFunction=e}(Ae={}),function(ae,Le){function r(e,t){return e in g&&g[e][t]||t}function b(e,t,c){if(!function A(e){return"display"===e||0===e.lastIndexOf("animation",0)||0===e.lastIndexOf("transition",0)}(e)){var n=d[e];if(n)for(var i in E.style[e]=t,n){var u=n[i];c[u]=r(u,E.style[u])}else c[e]=r(e,t)}}function N(e){var t=[];for(var c in e)if(!(c in["easing","offset","composite"])){var n=e[c];Array.isArray(n)||(n=[n]);for(var i,u=n.length,y=0;y<u;y++)(i={}).offset="offset"in e?e.offset:1==u?1:y/(u-1),"easing"in e&&(i.easing=e.easing),"composite"in e&&(i.composite=e.composite),i[c]=n[y],t.push(i)}return t.sort(function(S,_){return S.offset-_.offset}),t}var d={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},E=document.createElementNS("http://www.w3.org/1999/xhtml","div"),m={thin:"1px",medium:"3px",thick:"5px"},g={borderBottomWidth:m,borderLeftWidth:m,borderRightWidth:m,borderTopWidth:m,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:m,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};ae.convertToArrayForm=N,ae.normalizeKeyframes=function f(e){if(null==e)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||(e=N(e));for(var c=e.map(function(S){var _={};for(var a in S){var p=S[a];if("offset"==a){if(null!=p){if(p=Number(p),!isFinite(p))throw new TypeError("Keyframe offsets must be numbers.");if(p<0||p>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==a){if("add"==p||"accumulate"==p)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=p)throw new TypeError("Invalid composite mode "+p+".")}else p="easing"==a?ae.normalizeEasing(p):""+p;b(a,p,_)}return null==_.offset&&(_.offset=null),null==_.easing&&(_.easing="linear"),_}),n=!0,i=-1/0,u=0;u<c.length;u++){var y=c[u].offset;if(null!=y){if(y<i)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");i=y}else n=!1}return c=c.filter(function(S){return S.offset>=0&&S.offset<=1}),n||function t(){var S=c.length;null==c[S-1].offset&&(c[S-1].offset=1),S>1&&null==c[0].offset&&(c[0].offset=0);for(var _=0,a=c[0].offset,p=1;p<S;p++){var x=c[p].offset;if(null!=x){for(var O=1;O<p-_;O++)c[_+O].offset=a+(x-a)*O/(p-_);_=p,a=x}}}(),c}}(Ae),Le={},(ae=Ae).isDeprecated=function(r,A,b,N){var f=N?"are":"is",d=new Date,E=new Date(A);return E.setMonth(E.getMonth()+3),!(d<E&&(r in Le||console.warn("Web Animations: "+r+" "+f+" deprecated and will stop working on "+E.toDateString()+". "+b),Le[r]=!0,1))},ae.deprecated=function(r,A,b,N){var f=N?"are":"is";if(ae.isDeprecated(r,A,b,N))throw new Error(r+" "+f+" no longer supported. "+b)},function(){if(document.documentElement.animate){var ae=document.documentElement.animate([],0),Le=!0;if(ae&&(Le=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach(function(r){void 0===ae[r]&&(Le=!0)})),!Le)return}var r,A;r=Ae,(A=ve).convertEffectInput=function(d){var m=function N(d){for(var E={},m=0;m<d.length;m++)for(var g in d[m])if("offset"!=g&&"easing"!=g&&"composite"!=g){var e={offset:d[m].offset,easing:d[m].easing,value:d[m][g]};E[g]=E[g]||[],E[g].push(e)}for(var t in E){var c=E[t];if(0!=c[0].offset||1!=c[c.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return E}(r.normalizeKeyframes(d)),g=function f(d){var E=[];for(var m in d)for(var g=d[m],e=0;e<g.length-1;e++){var t=e,c=e+1,n=g[t].offset,i=g[c].offset,u=n,y=i;0==e&&(u=-1/0,0==i&&(c=t)),e==g.length-2&&(y=1/0,1==n&&(t=c)),E.push({applyFrom:u,applyTo:y,startOffset:g[t].offset,endOffset:g[c].offset,easingFunction:r.parseEasingFunction(g[t].easing),property:m,interpolation:A.propertyInterpolation(m,g[t].value,g[c].value)})}return E.sort(function(S,_){return S.startOffset-_.startOffset}),E}(m);return function(e,t){if(null!=t)g.filter(function(n){return t>=n.applyFrom&&t<n.applyTo}).forEach(function(n){var u=n.endOffset-n.startOffset,y=0==u?0:n.easingFunction((t-n.startOffset)/u);A.apply(e,n.property,n.interpolation(y))});else for(var c in m)"offset"!=c&&"easing"!=c&&"composite"!=c&&A.clear(e,c)}},function(r,A,b){function N(e){return e.replace(/-(.)/g,function(t,c){return c.toUpperCase()})}function f(e,t,c){m[c]=m[c]||[],m[c].push([e,t])}var m={};A.addPropertiesHandler=function d(e,t,c){for(var n=0;n<c.length;n++)f(e,t,N(c[n]))};var g={backgroundColor:"transparent",backgroundPosition:"0% 0%",borderBottomColor:"currentColor",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderBottomWidth:"3px",borderLeftColor:"currentColor",borderLeftWidth:"3px",borderRightColor:"currentColor",borderRightWidth:"3px",borderSpacing:"2px",borderTopColor:"currentColor",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderTopWidth:"3px",bottom:"auto",clip:"rect(0px, 0px, 0px, 0px)",color:"black",fontSize:"100%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",marginTop:"0px",maxHeight:"none",maxWidth:"none",minHeight:"0px",minWidth:"0px",opacity:"1.0",outlineColor:"invert",outlineOffset:"0px",outlineWidth:"3px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",paddingTop:"0px",right:"auto",strokeDasharray:"none",strokeDashoffset:"0px",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};A.propertyInterpolation=function E(e,t,c){var n=e;/-/.test(e)&&!r.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(n=N(e)),"initial"!=t&&"initial"!=c||("initial"==t&&(t=g[n]),"initial"==c&&(c=g[n]));for(var i=t==c?[]:m[n],u=0;i&&u<i.length;u++){var y=i[u][0](t),S=i[u][0](c);if(void 0!==y&&void 0!==S){var _=i[u][1](y,S);if(_){var a=A.Interpolation.apply(null,_);return function(p){return 0==p?t:1==p?c:a(p)}}}}return A.Interpolation(!1,!0,function(p){return p?c:t})}}(Ae,ve),function(r,A,b){A.KeyframeEffect=function(f,d,E,m){var g,e=function N(f){var d=r.calculateActiveDuration(f),E=function(m){return r.calculateIterationProgress(d,m,f)};return E._totalDuration=f.delay+d+f.endDelay,E}(r.normalizeTimingInput(E)),t=A.convertEffectInput(d),c=function(){t(f,g)};return c._update=function(n){return null!==(g=e(n))},c._clear=function(){t(f,null)},c._hasSameTarget=function(n){return f===n},c._target=f,c._totalDuration=e._totalDuration,c._id=m,c}}(Ae,ve),function(r,A){function N(n,i,u){u.enumerable=!0,u.configurable=!0,Object.defineProperty(n,i,u)}function f(n){this._element=n,this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=n.style,this._length=0,this._isAnimatedProperty={},this._updateSvgTransformAttr=function b(n,i){return!(!i.namespaceURI||-1==i.namespaceURI.indexOf("/svg"))&&(E in n||(n[E]=/Trident|MSIE|IEMobile|Edge|Android 4/i.test(n.navigator.userAgent)),n[E])}(window,n),this._savedTransformAttr=null;for(var i=0;i<this._style.length;i++){var u=this._style[i];this._surrogateStyle[u]=this._style[u]}this._updateIndices()}var E="_webAnimationsUpdateSvgTransformAttr",m={cssText:1,length:1,parentRule:1},g={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},e={removeProperty:1,setProperty:1};for(var t in f.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(n){for(var i={},u=0;u<this._surrogateStyle.length;u++)i[this._surrogateStyle[u]]=!0;for(this._surrogateStyle.cssText=n,this._updateIndices(),u=0;u<this._surrogateStyle.length;u++)i[this._surrogateStyle[u]]=!0;for(var y in i)this._isAnimatedProperty[y]||this._style.setProperty(y,this._surrogateStyle.getPropertyValue(y))},get length(){return this._surrogateStyle.length},get parentRule(){return this._style.parentRule},_updateIndices:function(){for(;this._length<this._surrogateStyle.length;)Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,get:function(n){return function(){return this._surrogateStyle[n]}}(this._length)}),this._length++;for(;this._length>this._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(n,i){this._style[n]=i,this._isAnimatedProperty[n]=!0,this._updateSvgTransformAttr&&"transform"==r.unprefixedPropertyName(n)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",r.transformToSvgMatrix(i)))},_clear:function(n){this._style[n]=this._surrogateStyle[n],this._updateSvgTransformAttr&&"transform"==r.unprefixedPropertyName(n)&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[n]}},g)f.prototype[t]=function(n,i){return function(){var u=this._surrogateStyle[n].apply(this._surrogateStyle,arguments);return i&&(this._isAnimatedProperty[arguments[0]]||this._style[n].apply(this._style,arguments),this._updateIndices()),u}}(t,t in e);for(var c in document.documentElement.style)c in m||c in g||function(n){N(f.prototype,n,{get:function(){return this._surrogateStyle[n]},set:function(i){this._surrogateStyle[n]=i,this._updateIndices(),this._isAnimatedProperty[n]||(this._style[n]=i)}})}(c);r.apply=function(n,i,u){(function d(n){if(!n._webAnimationsPatchedStyle){var i=new f(n);try{N(n,"style",{get:function(){return i}})}catch{n.style._set=function(y,S){n.style[y]=S},n.style._clear=function(y){n.style[y]=""}}n._webAnimationsPatchedStyle=n.style}})(n),n.style._set(r.propertyName(i),u)},r.clear=function(n,i){n._webAnimationsPatchedStyle&&n.style._clear(r.propertyName(i))}}(ve),function(r){window.Element.prototype.animate=function(A,b){var N="";return b&&b.id&&(N=b.id),r.timeline._play(r.KeyframeEffect(this,A,b,N))}}(ve),function(r,A){function b(N,f,d){if("number"==typeof N&&"number"==typeof f)return N*(1-d)+f*d;if("boolean"==typeof N&&"boolean"==typeof f)return d<.5?N:f;if(N.length==f.length){for(var E=[],m=0;m<N.length;m++)E.push(b(N[m],f[m],d));return E}throw"Mismatched interpolation arguments "+N+":"+f}r.Interpolation=function(N,f,d){return function(E){return d(b(N,f,E))}}}(ve),function(r,A){var f=function(){function d(g,e){for(var t=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],c=0;c<4;c++)for(var n=0;n<4;n++)for(var i=0;i<4;i++)t[c][n]+=e[c][i]*g[i][n];return t}return function m(g,e,t,c,n){for(var i=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],u=0;u<4;u++)i[u][3]=n[u];for(u=0;u<3;u++)for(var y=0;y<3;y++)i[3][u]+=g[y]*i[y][u];var S=c[0],_=c[1],a=c[2],p=c[3],x=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];x[0][0]=1-2*(_*_+a*a),x[0][1]=2*(S*_-a*p),x[0][2]=2*(S*a+_*p),x[1][0]=2*(S*_+a*p),x[1][1]=1-2*(S*S+a*a),x[1][2]=2*(_*a-S*p),x[2][0]=2*(S*a-_*p),x[2][1]=2*(_*a+S*p),x[2][2]=1-2*(S*S+_*_),i=d(i,x);var O=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];for(t[2]&&(O[2][1]=t[2],i=d(i,O)),t[1]&&(O[2][1]=0,O[2][0]=t[0],i=d(i,O)),t[0]&&(O[2][0]=0,O[1][0]=t[0],i=d(i,O)),u=0;u<3;u++)for(y=0;y<3;y++)i[u][y]*=e[u];return function E(g){return 0==g[0][2]&&0==g[0][3]&&0==g[1][2]&&0==g[1][3]&&0==g[2][0]&&0==g[2][1]&&1==g[2][2]&&0==g[2][3]&&0==g[3][2]&&1==g[3][3]}(i)?[i[0][0],i[0][1],i[1][0],i[1][1],i[3][0],i[3][1]]:i[0].concat(i[1],i[2],i[3])}}();r.composeMatrix=f,r.quat=function N(d,E,m){var g=r.dot(d,E);g=function b(d,E,m){return Math.max(Math.min(d,m),E)}(g,-1,1);var e=[];if(1===g)e=d;else for(var t=Math.acos(g),c=1*Math.sin(m*t)/Math.sqrt(1-g*g),n=0;n<4;n++)e.push(d[n]*(Math.cos(m*t)-g*c)+E[n]*c);return e}}(ve),function(r,A,b){r.sequenceNumber=0;var N=function(f,d,E){this.target=f,this.currentTime=d,this.timelineTime=E,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=f,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()};A.Animation=function(f){this.id="",f&&f._id&&(this.id=f._id),this._sequenceNumber=r.sequenceNumber++,this._currentTime=0,this._startTime=null,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!0,this.onfinish=null,this._finishHandlers=[],this._effect=f,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},A.Animation.prototype={_ensureAlive:function(){this._inEffect=this._effect._update(this.playbackRate<0&&0===this.currentTime?-1:this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,A.timeline._animations.push(this))},_tickCurrentTime:function(f,d){f!=this._currentTime&&(this._currentTime=f,this._isFinished&&!d&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(f){f=+f,isNaN(f)||(A.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-f/this._playbackRate),this._currentTimePending=!1,this._currentTime!=f&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(f,!0),A.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(f){f=+f,isNaN(f)||this._paused||this._idle||(this._startTime=f,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),A.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(f){if(f!=this._playbackRate){var d=this.currentTime;this._playbackRate=f,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),A.applyDirtiedAnimation(this)),null!=d&&(this.currentTime=d)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),A.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,A.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),A.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(f,d){"function"==typeof d&&"finish"==f&&this._finishHandlers.push(d)},removeEventListener:function(f,d){if("finish"==f){var E=this._finishHandlers.indexOf(d);E>=0&&this._finishHandlers.splice(E,1)}},_fireEvents:function(f){if(this._isFinished){if(!this._finishedFlag){var d=new N(this,this._currentTime,f),E=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout(function(){E.forEach(function(m){m.call(d.target,d)})},0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(f,d){this._idle||this._paused||(null==this._startTime?d&&(this.startTime=f-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((f-this._startTime)*this.playbackRate)),d&&(this._currentTimePending=!1,this._fireEvents(f))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var f=this._effect._target;return f._activeAnimations||(f._activeAnimations=[]),f._activeAnimations},_markTarget:function(){var f=this._targetAnimations();-1===f.indexOf(this)&&f.push(this)},_unmarkTarget:function(){var f=this._targetAnimations(),d=f.indexOf(this);-1!==d&&f.splice(d,1)}}}(Ae,ve),function(r,A,b){function N(_){var a=e;e=[],_<S.currentTime&&(_=S.currentTime),S._animations.sort(f),S._animations=m(_,!0,S._animations)[0],a.forEach(function(p){p[1](_)}),E()}function f(_,a){return _._sequenceNumber-a._sequenceNumber}function d(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function E(){u.forEach(function(_){_()}),u.length=0}function m(_,a,p){y=!0,i=!1,A.timeline.currentTime=_,n=!1;var x=[],O=[],q=[],K=[];return p.forEach(function(H){H._tick(_,a),H._inEffect?(O.push(H._effect),H._markTarget()):(x.push(H._effect),H._unmarkTarget()),H._needsTick&&(n=!0);var R=H._inEffect||H._needsTick;H._inTimeline=R,R?q.push(H):K.push(H)}),u.push.apply(u,x),u.push.apply(u,O),n&&requestAnimationFrame(function(){}),y=!1,[q,K]}var g=window.requestAnimationFrame,e=[],t=0;window.requestAnimationFrame=function(_){var a=t++;return 0==e.length&&g(N),e.push([a,_]),a},window.cancelAnimationFrame=function(_){e.forEach(function(a){a[0]==_&&(a[1]=function(){})})},d.prototype={_play:function(_){_._timing=r.normalizeTimingInput(_.timing);var a=new A.Animation(_);return a._idle=!1,a._timeline=this,this._animations.push(a),A.restart(),A.applyDirtiedAnimation(a),a}};var n=!1,i=!1;A.restart=function(){return n||(n=!0,requestAnimationFrame(function(){}),i=!0),i},A.applyDirtiedAnimation=function(_){if(!y){_._markTarget();var a=_._targetAnimations();a.sort(f),m(A.timeline.currentTime,!1,a.slice())[1].forEach(function(p){var x=S._animations.indexOf(p);-1!==x&&S._animations.splice(x,1)}),E()}};var u=[],y=!1,S=new d;A.timeline=S}(Ae,ve),function(r,A){function b(e,t){for(var c=0,n=0;n<e.length;n++)c+=e[n]*t[n];return c}function N(e,t){return[e[0]*t[0]+e[4]*t[1]+e[8]*t[2]+e[12]*t[3],e[1]*t[0]+e[5]*t[1]+e[9]*t[2]+e[13]*t[3],e[2]*t[0]+e[6]*t[1]+e[10]*t[2]+e[14]*t[3],e[3]*t[0]+e[7]*t[1]+e[11]*t[2]+e[15]*t[3],e[0]*t[4]+e[4]*t[5]+e[8]*t[6]+e[12]*t[7],e[1]*t[4]+e[5]*t[5]+e[9]*t[6]+e[13]*t[7],e[2]*t[4]+e[6]*t[5]+e[10]*t[6]+e[14]*t[7],e[3]*t[4]+e[7]*t[5]+e[11]*t[6]+e[15]*t[7],e[0]*t[8]+e[4]*t[9]+e[8]*t[10]+e[12]*t[11],e[1]*t[8]+e[5]*t[9]+e[9]*t[10]+e[13]*t[11],e[2]*t[8]+e[6]*t[9]+e[10]*t[10]+e[14]*t[11],e[3]*t[8]+e[7]*t[9]+e[11]*t[10]+e[15]*t[11],e[0]*t[12]+e[4]*t[13]+e[8]*t[14]+e[12]*t[15],e[1]*t[12]+e[5]*t[13]+e[9]*t[14]+e[13]*t[15],e[2]*t[12]+e[6]*t[13]+e[10]*t[14]+e[14]*t[15],e[3]*t[12]+e[7]*t[13]+e[11]*t[14]+e[15]*t[15]]}function f(e){return((e.deg||0)/360+(e.grad||0)/400+(e.turn||0))*(2*Math.PI)+(e.rad||0)}function d(e){switch(e.t){case"rotatex":var _=f(e.d[0]);return[1,0,0,0,0,Math.cos(_),Math.sin(_),0,0,-Math.sin(_),Math.cos(_),0,0,0,0,1];case"rotatey":return _=f(e.d[0]),[Math.cos(_),0,-Math.sin(_),0,0,1,0,0,Math.sin(_),0,Math.cos(_),0,0,0,0,1];case"rotate":case"rotatez":return _=f(e.d[0]),[Math.cos(_),Math.sin(_),0,0,-Math.sin(_),Math.cos(_),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var a=e.d[0],p=e.d[1],x=e.d[2],t=(_=f(e.d[3]),a*a+p*p+x*x);if(0===t)a=1,p=0,x=0;else if(1!==t){var c=Math.sqrt(t);a/=c,p/=c,x/=c}var n=Math.sin(_/2),i=n*Math.cos(_/2),u=n*n;return[1-2*(p*p+x*x)*u,2*(a*p*u+x*i),2*(a*x*u-p*i),0,2*(a*p*u-x*i),1-2*(a*a+x*x)*u,2*(p*x*u+a*i),0,2*(a*x*u+p*i),2*(p*x*u-a*i),1-2*(a*a+p*p)*u,0,0,0,0,1];case"scale":return[e.d[0],0,0,0,0,e.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[e.d[0],0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"scaley":return[1,0,0,0,0,e.d[0],0,0,0,0,1,0,0,0,0,1];case"scalez":return[1,0,0,0,0,1,0,0,0,0,e.d[0],0,0,0,0,1];case"scale3d":return[e.d[0],0,0,0,0,e.d[1],0,0,0,0,e.d[2],0,0,0,0,1];case"skew":var y=f(e.d[0]),S=f(e.d[1]);return[1,Math.tan(S),0,0,Math.tan(y),1,0,0,0,0,1,0,0,0,0,1];case"skewx":return _=f(e.d[0]),[1,0,0,0,Math.tan(_),1,0,0,0,0,1,0,0,0,0,1];case"skewy":return _=f(e.d[0]),[1,Math.tan(_),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":return[1,0,0,0,0,1,0,0,0,0,1,0,a=e.d[0].px||0,p=e.d[1].px||0,0,1];case"translatex":return[1,0,0,0,0,1,0,0,0,0,1,0,a=e.d[0].px||0,0,0,1];case"translatey":return[1,0,0,0,0,1,0,0,0,0,1,0,0,p=e.d[0].px||0,0,1];case"translatez":return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,x=e.d[0].px||0,1];case"translate3d":return[1,0,0,0,0,1,0,0,0,0,1,0,a=e.d[0].px||0,p=e.d[1].px||0,x=e.d[2].px||0,1];case"perspective":return[1,0,0,0,0,1,0,0,0,0,1,e.d[0].px?-1/e.d[0].px:0,0,0,0,1];case"matrix":return[e.d[0],e.d[1],0,0,e.d[2],e.d[3],0,0,0,0,1,0,e.d[4],e.d[5],0,1];case"matrix3d":return e.d}}function E(e){return 0===e.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:e.map(d).reduce(N)}var g=function(){function e(a){return a[0][0]*a[1][1]*a[2][2]+a[1][0]*a[2][1]*a[0][2]+a[2][0]*a[0][1]*a[1][2]-a[0][2]*a[1][1]*a[2][0]-a[1][2]*a[2][1]*a[0][0]-a[2][2]*a[0][1]*a[1][0]}function i(a){var p=u(a);return[a[0]/p,a[1]/p,a[2]/p]}function u(a){return Math.sqrt(a[0]*a[0]+a[1]*a[1]+a[2]*a[2])}function y(a,p,x,O){return[x*a[0]+O*p[0],x*a[1]+O*p[1],x*a[2]+O*p[2]]}return function _(a){var p=[a.slice(0,4),a.slice(4,8),a.slice(8,12),a.slice(12,16)];if(1!==p[3][3])return null;for(var x=[],O=0;O<4;O++)x.push(p[O].slice());for(O=0;O<3;O++)x[O][3]=0;if(0===e(x))return null;var q,K=[];p[0][3]||p[1][3]||p[2][3]?(K.push(p[0][3]),K.push(p[1][3]),K.push(p[2][3]),K.push(p[3][3]),q=function n(a,p){for(var x=[],O=0;O<4;O++){for(var q=0,K=0;K<4;K++)q+=a[K]*p[K][O];x.push(q)}return x}(K,function c(a){return[[a[0][0],a[1][0],a[2][0],a[3][0]],[a[0][1],a[1][1],a[2][1],a[3][1]],[a[0][2],a[1][2],a[2][2],a[3][2]],[a[0][3],a[1][3],a[2][3],a[3][3]]]}(function t(a){for(var p=1/e(a),x=a[0][0],O=a[0][1],q=a[0][2],K=a[1][0],H=a[1][1],R=a[1][2],V=a[2][0],le=a[2][1],Ee=a[2][2],he=[[(H*Ee-R*le)*p,(q*le-O*Ee)*p,(O*R-q*H)*p,0],[(R*V-K*Ee)*p,(x*Ee-q*V)*p,(q*K-x*R)*p,0],[(K*le-H*V)*p,(V*O-x*le)*p,(x*H-O*K)*p,0]],ke=[],Ze=0;Ze<3;Ze++){for(var je=0,ze=0;ze<3;ze++)je+=a[3][ze]*he[ze][Ze];ke.push(je)}return ke.push(1),he.push(ke),he}(x)))):q=[0,0,0,1];var H=p[3].slice(0,3),R=[];R.push(p[0].slice(0,3));var V=[];V.push(u(R[0])),R[0]=i(R[0]);var le=[];R.push(p[1].slice(0,3)),le.push(b(R[0],R[1])),R[1]=y(R[1],R[0],1,-le[0]),V.push(u(R[1])),R[1]=i(R[1]),le[0]/=V[1],R.push(p[2].slice(0,3)),le.push(b(R[0],R[2])),R[2]=y(R[2],R[0],1,-le[1]),le.push(b(R[1],R[2])),R[2]=y(R[2],R[1],1,-le[2]),V.push(u(R[2])),R[2]=i(R[2]),le[1]/=V[2],le[2]/=V[2];var Ee=function S(a,p){return[a[1]*p[2]-a[2]*p[1],a[2]*p[0]-a[0]*p[2],a[0]*p[1]-a[1]*p[0]]}(R[1],R[2]);if(b(R[0],Ee)<0)for(O=0;O<3;O++)V[O]*=-1,R[O][0]*=-1,R[O][1]*=-1,R[O][2]*=-1;var he,ke,Ze=R[0][0]+R[1][1]+R[2][2]+1;return Ze>1e-4?(he=.5/Math.sqrt(Ze),ke=[(R[2][1]-R[1][2])*he,(R[0][2]-R[2][0])*he,(R[1][0]-R[0][1])*he,.25/he]):R[0][0]>R[1][1]&&R[0][0]>R[2][2]?ke=[.25*(he=2*Math.sqrt(1+R[0][0]-R[1][1]-R[2][2])),(R[0][1]+R[1][0])/he,(R[0][2]+R[2][0])/he,(R[2][1]-R[1][2])/he]:R[1][1]>R[2][2]?(he=2*Math.sqrt(1+R[1][1]-R[0][0]-R[2][2]),ke=[(R[0][1]+R[1][0])/he,.25*he,(R[1][2]+R[2][1])/he,(R[0][2]-R[2][0])/he]):(he=2*Math.sqrt(1+R[2][2]-R[0][0]-R[1][1]),ke=[(R[0][2]+R[2][0])/he,(R[1][2]+R[2][1])/he,.25*he,(R[1][0]-R[0][1])/he]),[H,V,le,ke,q]}}();r.dot=b,r.makeMatrixDecomposition=function m(e){return[g(E(e))]},r.transformListToMatrix=E}(ve),function(r){function A(c,n){var i=c.exec(n);if(i)return[i=c.ignoreCase?i[0].toLowerCase():i[0],n.substr(i.length)]}function b(c,n){var i=c(n=n.replace(/^\s*/,""));if(i)return[i[0],i[1].replace(/^\s*/,"")]}function e(c,n,i,u,y){for(var S=[],_=[],a=[],p=function d(c,n){for(var i=c,u=n;i&&u;)i>u?i%=u:u%=i;return c*n/(i+u)}(u.length,y.length),x=0;x<p;x++){var O=n(u[x%u.length],y[x%y.length]);if(!O)return;S.push(O[0]),_.push(O[1]),a.push(O[2])}return[S,_,function(q){var K=q.map(function(H,R){return a[R](H)}).join(i);return c?c(K):K}]}r.consumeToken=A,r.consumeTrimmed=b,r.consumeRepeated=function N(c,n,i){c=b.bind(null,c);for(var u=[];;){var y=c(i);if(!y)return[u,i];if(u.push(y[0]),!(y=A(n,i=y[1]))||""==y[1])return[u,i];i=y[1]}},r.consumeParenthesised=function f(c,n){for(var i=0,u=0;u<n.length&&(!/\s|,/.test(n[u])||0!=i);u++)if("("==n[u])i++;else if(")"==n[u]&&(0==--i&&u++,i<=0))break;var y=c(n.substr(0,u));return null==y?void 0:[y,n.substr(u)]},r.ignore=function E(c){return function(n){var i=c(n);return i&&(i[0]=void 0),i}},r.optional=function m(c,n){return function(i){return c(i)||[n,i]}},r.consumeList=function g(c,n){for(var i=[],u=0;u<c.length;u++){var y=r.consumeTrimmed(c[u],n);if(!y||""==y[0])return;void 0!==y[0]&&i.push(y[0]),n=y[1]}if(""==n)return i},r.mergeNestedRepeated=e.bind(null,null),r.mergeWrappedNestedRepeated=e,r.mergeList=function t(c,n,i){for(var u=[],y=[],S=[],_=0,a=0;a<i.length;a++)if("function"==typeof i[a]){var p=i[a](c[_],n[_++]);u.push(p[0]),y.push(p[1]),S.push(p[2])}else!function(x){u.push(!1),y.push(!1),S.push(function(){return i[x]})}(a);return[u,y,function(x){for(var O="",q=0;q<x.length;q++)O+=S[q](x[q]);return O}]}}(ve),function(r){function A(E){var g={inset:!1,lengths:[],color:null},e=r.consumeRepeated(function m(t){var c=r.consumeToken(/^inset/i,t);return c?(g.inset=!0,c):(c=r.consumeLengthOrPercent(t))?(g.lengths.push(c[0]),c):(c=r.consumeColor(t))?(g.color=c[0],c):void 0},/^/,E);if(e&&e[0].length)return[g,e[1]]}var d=function f(E,m,g,e){function t(S){return{inset:S,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var c=[],n=[],i=0;i<g.length||i<e.length;i++){var u=g[i]||t(e[i].inset),y=e[i]||t(g[i].inset);c.push(u),n.push(y)}return r.mergeNestedRepeated(E,m,c,n)}.bind(null,function N(E,m){for(;E.lengths.length<Math.max(E.lengths.length,m.lengths.length);)E.lengths.push({px:0});for(;m.lengths.length<Math.max(E.lengths.length,m.lengths.length);)m.lengths.push({px:0});if(E.inset==m.inset&&!!E.color==!!m.color){for(var g,e=[],t=[[],0],c=[[],0],n=0;n<E.lengths.length;n++){var i=r.mergeDimensions(E.lengths[n],m.lengths[n],2==n);t[0].push(i[0]),c[0].push(i[1]),e.push(i[2])}if(E.color&&m.color){var u=r.mergeColors(E.color,m.color);t[1]=u[0],c[1]=u[1],g=u[2]}return[t,c,function(y){for(var S=E.inset?"inset ":" ",_=0;_<e.length;_++)S+=e[_](y[0][_])+" ";return g&&(S+=g(y[1])),S}]}},", ");r.addPropertiesHandler(function b(E){var m=r.consumeRepeated(A,/^,/,E);if(m&&""==m[1])return m[0]},d,["box-shadow","text-shadow"])}(ve),function(r,A){function b(n){return n.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function N(n,i,u){return Math.min(i,Math.max(n,u))}function f(n){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(n))return Number(n)}function g(n,i){return function(u,y){return[u,y,function(S){return b(N(n,i,S))}]}}function e(n){var i=n.trim().split(/\s*[\s,]\s*/);if(0!==i.length){for(var u=[],y=0;y<i.length;y++){var S=f(i[y]);if(void 0===S)return;u.push(S)}return u}}r.clamp=N,r.addPropertiesHandler(e,function t(n,i){if(n.length==i.length)return[n,i,function(u){return u.map(b).join(" ")}]},["stroke-dasharray"]),r.addPropertiesHandler(f,g(0,1/0),["border-image-width","line-height"]),r.addPropertiesHandler(f,g(0,1),["opacity","shape-image-threshold"]),r.addPropertiesHandler(f,function E(n,i){if(0!=n)return g(0,1/0)(n,i)},["flex-grow","flex-shrink"]),r.addPropertiesHandler(f,function m(n,i){return[n,i,function(u){return Math.round(N(1,1/0,u))}]},["orphans","widows"]),r.addPropertiesHandler(f,function c(n,i){return[n,i,Math.round]},["z-index"]),r.parseNumber=f,r.parseNumberList=e,r.mergeNumbers=function d(n,i){return[n,i,b]},r.numberToString=b}(ve),function(r,A){r.addPropertiesHandler(String,function b(N,f){if("visible"==N||"visible"==f)return[0,1,function(d){return d<=0?N:d>=1?f:"visible"}]},["visibility"])}(ve),function(r,A){function b(E){E=E.trim(),d.fillStyle="#000",d.fillStyle=E;var m=d.fillStyle;if(d.fillStyle="#fff",d.fillStyle=E,m==d.fillStyle){d.fillRect(0,0,1,1);var g=d.getImageData(0,0,1,1).data;d.clearRect(0,0,1,1);var e=g[3]/255;return[g[0]*e,g[1]*e,g[2]*e,e]}}function N(E,m){return[E,m,function(g){if(g[3])for(var t=0;t<3;t++)g[t]=Math.round(Math.max(0,Math.min(255,g[t]/g[3])));return g[3]=r.numberToString(r.clamp(0,1,g[3])),"rgba("+g.join(",")+")"}]}var f=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");f.width=f.height=1;var d=f.getContext("2d");r.addPropertiesHandler(b,N,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),r.consumeColor=r.consumeParenthesised.bind(null,b),r.mergeColors=N}(ve),function(r,A){function b(S){function _(){var H=K.exec(S);q=H?H[0]:void 0}function p(){if("("!==q)return function a(){var H=Number(q);return _(),H}();_();var H=O();return")"!==q?NaN:(_(),H)}function x(){for(var H=p();"*"===q||"/"===q;){var R=q;_();var V=p();"*"===R?H*=V:H/=V}return H}function O(){for(var H=x();"+"===q||"-"===q;){var R=q;_();var V=x();"+"===R?H+=V:H-=V}return H}var q,K=/([\+\-\w\.]+|[\(\)\*\/])/g;return _(),O()}function N(S,_){if("0"==(_=_.trim().toLowerCase())&&"px".search(S)>=0)return{px:0};if(/^[^(]*$|^calc/.test(_)){_=_.replace(/calc\(/g,"(");var a={};_=_.replace(S,function(R){return a[R]=null,"U"+R});for(var p="U("+S.source+")",x=_.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+p,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),O=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],q=0;q<O.length;)O[q].test(x)?(x=x.replace(O[q],"$1"),q=0):q++;if("D"==x){for(var K in a){var H=b(_.replace(new RegExp("U"+K,"g"),"").replace(new RegExp(p,"g"),"*0"));if(!isFinite(H))return;a[K]=H}return a}}}function f(S,_){return d(S,_,!0)}function d(S,_,a){var p,x=[];for(p in S)x.push(p);for(p in _)x.indexOf(p)<0&&x.push(p);return S=x.map(function(O){return S[O]||0}),_=x.map(function(O){return _[O]||0}),[S,_,function(O){var q=O.map(function(K,H){return 1==O.length&&a&&(K=Math.max(K,0)),r.numberToString(K)+x[H]}).join(" + ");return O.length>1?"calc("+q+")":q}]}var E="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",m=N.bind(null,new RegExp(E,"g")),g=N.bind(null,new RegExp(E+"|%","g")),e=N.bind(null,/deg|rad|grad|turn/g);r.parseLength=m,r.parseLengthOrPercent=g,r.consumeLengthOrPercent=r.consumeParenthesised.bind(null,g),r.parseAngle=e,r.mergeDimensions=d;var t=r.consumeParenthesised.bind(null,m),c=r.consumeRepeated.bind(void 0,t,/^/),n=r.consumeRepeated.bind(void 0,c,/^,/);r.consumeSizePairList=n;var u=r.mergeNestedRepeated.bind(void 0,f," "),y=r.mergeNestedRepeated.bind(void 0,u,",");r.mergeNonNegativeSizePair=u,r.addPropertiesHandler(function(S){var _=n(S);if(_&&""==_[1])return _[0]},y,["background-size"]),r.addPropertiesHandler(g,f,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),r.addPropertiesHandler(g,d,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(ve),function(r,A){function b(m){return r.consumeLengthOrPercent(m)||r.consumeToken(/^auto/,m)}function N(m){var g=r.consumeList([r.ignore(r.consumeToken.bind(null,/^rect/)),r.ignore(r.consumeToken.bind(null,/^\(/)),r.consumeRepeated.bind(null,b,/^,/),r.ignore(r.consumeToken.bind(null,/^\)/))],m);if(g&&4==g[0].length)return g[0]}var E=r.mergeWrappedNestedRepeated.bind(null,function d(m){return"rect("+m+")"},function f(m,g){return"auto"==m||"auto"==g?[!0,!1,function(e){var t=e?m:g;if("auto"==t)return"auto";var c=r.mergeDimensions(t,t);return c[2](c[0])}]:r.mergeDimensions(m,g)},", ");r.parseBox=N,r.mergeBoxes=E,r.addPropertiesHandler(N,E,["clip"])}(ve),function(r,A){function b(u){return function(y){var S=0;return u.map(function(_){return _===t?y[S++]:_})}}function N(u){return u}function f(u){if("none"==(u=u.toLowerCase().trim()))return[];for(var y,S=/\s*(\w+)\(([^)]*)\)/g,_=[],a=0;y=S.exec(u);){if(y.index!=a)return;a=y.index+y[0].length;var p=y[1],x=i[p];if(!x)return;var O=y[2].split(","),q=x[0];if(q.length<O.length)return;for(var K=[],H=0;H<q.length;H++){var R,V=O[H],le=q[H];if(void 0===(R=V?{A:function(Ee){return"0"==Ee.trim()?n:r.parseAngle(Ee)},N:r.parseNumber,T:r.parseLengthOrPercent,L:r.parseLength}[le.toUpperCase()](V):{a:n,n:K[0],t:c}[le]))return;K.push(R)}if(_.push({t:p,d:K}),S.lastIndex==u.length)return _}}function d(u){return u.toFixed(6).replace(".000000","")}function E(u,y){if(u.decompositionPair!==y){u.decompositionPair=y;var S=r.makeMatrixDecomposition(u)}if(y.decompositionPair!==u){y.decompositionPair=u;var _=r.makeMatrixDecomposition(y)}return null==S[0]||null==_[0]?[[!1],[!0],function(a){return a?y[0].d:u[0].d}]:(S[0].push(0),_[0].push(1),[S,_,function(a){var p=r.quat(S[0][3],_[0][3],a[5]);return r.composeMatrix(a[0],a[1],a[2],p,a[4]).map(d).join(",")}])}function m(u){return u.replace(/[xy]/,"")}function g(u){return u.replace(/(x|y|z|3d)?$/,"3d")}var t=null,c={px:0},n={deg:0},i={matrix:["NNNNNN",[t,t,0,0,t,t,0,0,0,0,1,0,t,t,0,1],N],matrix3d:["NNNNNNNNNNNNNNNN",N],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",b([t,t,1]),N],scalex:["N",b([t,1,1]),b([t,1])],scaley:["N",b([1,t,1]),b([1,t])],scalez:["N",b([1,1,t])],scale3d:["NNN",N],skew:["Aa",null,N],skewx:["A",null,b([t,n])],skewy:["A",null,b([n,t])],translate:["Tt",b([t,t,c]),N],translatex:["T",b([t,c,c]),b([t,c])],translatey:["T",b([c,t,c]),b([c,t])],translatez:["L",b([c,c,t])],translate3d:["TTL",N]};r.addPropertiesHandler(f,function e(u,y){var S=r.makeMatrixDecomposition&&!0,_=!1;if(!u.length||!y.length){u.length||(_=!0,u=y,y=[]);for(var a=0;a<u.length;a++){var x=u[a].d,O="scale"==(p=u[a].t).substr(0,5)?1:0;y.push({t:p,d:x.map(function(ee){if("number"==typeof ee)return O;var Se={};for(var Ce in ee)Se[Ce]=O;return Se})})}}var ee,Se,K=[],H=[],R=[];if(u.length!=y.length){if(!S)return;K=[(V=E(u,y))[0]],H=[V[1]],R=[["matrix",[V[2]]]]}else for(a=0;a<u.length;a++){var p,le=u[a].t,Ee=y[a].t,he=u[a].d,ke=y[a].d,Ze=i[le],je=i[Ee];if(Se=Ee,"perspective"==(ee=le)&&"perspective"==Se||("matrix"==ee||"matrix3d"==ee)&&("matrix"==Se||"matrix3d"==Se)){if(!S)return;var V=E([u[a]],[y[a]]);K.push(V[0]),H.push(V[1]),R.push(["matrix",[V[2]]])}else{if(le==Ee)p=le;else if(Ze[2]&&je[2]&&m(le)==m(Ee))p=m(le),he=Ze[2](he),ke=je[2](ke);else{if(!Ze[1]||!je[1]||g(le)!=g(Ee)){if(!S)return;K=[(V=E(u,y))[0]],H=[V[1]],R=[["matrix",[V[2]]]];break}p=g(le),he=Ze[1](he),ke=je[1](ke)}for(var ze=[],Je=[],w=[],Y=0;Y<he.length;Y++)V=("number"==typeof he[Y]?r.mergeNumbers:r.mergeDimensions)(he[Y],ke[Y]),ze[Y]=V[0],Je[Y]=V[1],w.push(V[2]);K.push(ze),H.push(Je),R.push([p,w])}}if(_){var re=K;K=H,H=re}return[K,H,function(ee){return ee.map(function(Se,Ce){var qe=Se.map(function(Ge,Qe){return R[Ce][1][Qe](Ge)}).join(",");return"matrix"==R[Ce][0]&&16==qe.split(",").length&&(R[Ce][0]="matrix3d"),R[Ce][0]+"("+qe+")"}).join(" ")}]},["transform"]),r.transformToSvgMatrix=function(u){var y=r.transformListToMatrix(f(u));return"matrix("+d(y[0])+" "+d(y[1])+" "+d(y[4])+" "+d(y[5])+" "+d(y[12])+" "+d(y[13])+")"}}(ve),function(r){function b(f){return f=100*Math.round(f/100),400===(f=r.clamp(100,900,f))?"normal":700===f?"bold":String(f)}r.addPropertiesHandler(function A(f){var d=Number(f);if(!(isNaN(d)||d<100||d>900||d%100!=0))return d},function N(f,d){return[f,d,b]},["font-weight"])}(ve),function(r){function A(e){var t={};for(var c in e)t[c]=-e[c];return t}function b(e){return r.consumeToken(/^(left|center|right|top|bottom)\b/i,e)||r.consumeLengthOrPercent(e)}function N(e,t){var c=r.consumeRepeated(b,/^/,t);if(c&&""==c[1]){var n=c[0];if(n[0]=n[0]||"center",n[1]=n[1]||"center",3==e&&(n[2]=n[2]||{px:0}),n.length==e){if(/top|bottom/.test(n[0])||/left|right/.test(n[1])){var i=n[0];n[0]=n[1],n[1]=i}if(/left|right|center|Object/.test(n[0])&&/top|bottom|center|Object/.test(n[1]))return n.map(function(u){return"object"==typeof u?u:E[u]})}}}function f(e){var t=r.consumeRepeated(b,/^/,e);if(t){for(var c=t[0],n=[{"%":50},{"%":50}],i=0,u=!1,y=0;y<c.length;y++){var S=c[y];"string"==typeof S?(u=/bottom|right/.test(S),n[i={left:0,right:0,center:i,top:1,bottom:1}[S]]=E[S],"center"==S&&i++):(u&&((S=A(S))["%"]=(S["%"]||0)+100),n[i]=S,i++,u=!1)}return[n,t[1]]}}var E={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},m=r.mergeNestedRepeated.bind(null,r.mergeDimensions," ");r.addPropertiesHandler(N.bind(null,3),m,["transform-origin"]),r.addPropertiesHandler(N.bind(null,2),m,["perspective-origin"]),r.consumePosition=f,r.mergeOffsetList=m;var g=r.mergeNestedRepeated.bind(null,m,", ");r.addPropertiesHandler(function d(e){var t=r.consumeRepeated(f,/^,/,e);if(t&&""==t[1])return t[0]},g,["background-position","object-position"])}(ve),function(r){var N=r.consumeParenthesised.bind(null,r.parseLengthOrPercent),f=r.consumeRepeated.bind(void 0,N,/^/),d=r.mergeNestedRepeated.bind(void 0,r.mergeDimensions," "),E=r.mergeNestedRepeated.bind(void 0,d,",");r.addPropertiesHandler(function A(m){var g=r.consumeToken(/^circle/,m);if(g&&g[0])return["circle"].concat(r.consumeList([r.ignore(r.consumeToken.bind(void 0,/^\(/)),N,r.ignore(r.consumeToken.bind(void 0,/^at/)),r.consumePosition,r.ignore(r.consumeToken.bind(void 0,/^\)/))],g[1]));var e=r.consumeToken(/^ellipse/,m);if(e&&e[0])return["ellipse"].concat(r.consumeList([r.ignore(r.consumeToken.bind(void 0,/^\(/)),f,r.ignore(r.consumeToken.bind(void 0,/^at/)),r.consumePosition,r.ignore(r.consumeToken.bind(void 0,/^\)/))],e[1]));var t=r.consumeToken(/^polygon/,m);return t&&t[0]?["polygon"].concat(r.consumeList([r.ignore(r.consumeToken.bind(void 0,/^\(/)),r.optional(r.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),r.consumeSizePairList,r.ignore(r.consumeToken.bind(void 0,/^\)/))],t[1])):void 0},function b(m,g){if(m[0]===g[0])return"circle"==m[0]?r.mergeList(m.slice(1),g.slice(1),["circle(",r.mergeDimensions," at ",r.mergeOffsetList,")"]):"ellipse"==m[0]?r.mergeList(m.slice(1),g.slice(1),["ellipse(",r.mergeNonNegativeSizePair," at ",r.mergeOffsetList,")"]):"polygon"==m[0]&&m[1]==g[1]?r.mergeList(m.slice(2),g.slice(2),["polygon(",m[1],E,")"]):void 0},["shape-outside"])}(ve),function(r,A){function b(d,E){E.concat([d]).forEach(function(m){m in document.documentElement.style&&(N[d]=m),f[m]=d})}var N={},f={};b("transform",["webkitTransform","msTransform"]),b("transformOrigin",["webkitTransformOrigin"]),b("perspective",["webkitPerspective"]),b("perspectiveOrigin",["webkitPerspectiveOrigin"]),r.propertyName=function(d){return N[d]||d},r.unprefixedPropertyName=function(d){return f[d]||d}}(ve)}(),function(){if(void 0===document.createElement("div").animate([]).oncancel){if(window.performance&&performance.now)var ae=function(){return performance.now()};else ae=function(){return Date.now()};var Le=function(A,b,N){this.target=A,this.currentTime=b,this.timelineTime=N,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=A,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},r=window.Element.prototype.animate;window.Element.prototype.animate=function(A,b){var N=r.call(this,A,b);N._cancelHandlers=[],N.oncancel=null;var f=N.cancel;N.cancel=function(){f.call(this);var m=new Le(this,null,ae()),g=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout(function(){g.forEach(function(e){e.call(m.target,m)})},0)};var d=N.addEventListener;N.addEventListener=function(m,g){"function"==typeof g&&"cancel"==m?this._cancelHandlers.push(g):d.call(this,m,g)};var E=N.removeEventListener;return N.removeEventListener=function(m,g){if("cancel"==m){var e=this._cancelHandlers.indexOf(g);e>=0&&this._cancelHandlers.splice(e,1)}else E.call(this,m,g)},N}}}(),function(ae){var Le=document.documentElement,r=null,A=!1;try{var N="0"==getComputedStyle(Le).getPropertyValue("opacity")?"1":"0";(r=Le.animate({opacity:[N,N]},{duration:1})).currentTime=0,A=getComputedStyle(Le).getPropertyValue("opacity")==N}catch{}finally{r&&r.cancel()}if(!A){var f=window.Element.prototype.animate;window.Element.prototype.animate=function(d,E){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&d[Symbol.iterator]&&(d=Array.from(d)),Array.isArray(d)||null===d||(d=ae.convertToArrayForm(d)),f.call(this,d,E)}}}(Ae)}},Ae=>{Ae(Ae.s=3038)}]);