123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750 |
- /**
- * @vue/shared v3.5.13
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **//*! #__NO_SIDE_EFFECTS__ */function l6(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const kr={},Mp=[],El=()=>{},lre=()=>!1,rB=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),u6=e=>e.startsWith("onUpdate:"),to=Object.assign,c6=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ure=Object.prototype.hasOwnProperty,Er=(e,t)=>ure.call(e,t),un=Array.isArray,kp=e=>fv(e)==="[object Map]",xg=e=>fv(e)==="[object Set]",DQ=e=>fv(e)==="[object Date]",Tn=e=>typeof e=="function",Ci=e=>typeof e=="string",_l=e=>typeof e=="symbol",Nr=e=>e!==null&&typeof e=="object",Gj=e=>(Nr(e)||Tn(e))&&Tn(e.then)&&Tn(e.catch),Wj=Object.prototype.toString,fv=e=>Wj.call(e),cre=e=>fv(e).slice(8,-1),qj=e=>fv(e)==="[object Object]",f6=e=>Ci(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,em=l6(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),iB=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},fre=/-(\w)/g,Na=iB(e=>e.replace(fre,(t,n)=>n?n.toUpperCase():"")),dre=/\B([A-Z])/g,wf=iB(e=>e.replace(dre,"-$1").toLowerCase()),oB=iB(e=>e.charAt(0).toUpperCase()+e.slice(1)),N2=iB(e=>e?`on${oB(e)}`:""),af=(e,t)=>!Object.is(e,t),eb=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Xj=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Jb=e=>{const t=parseFloat(e);return isNaN(t)?e:t},hre=e=>{const t=Ci(e)?Number(e):NaN;return isNaN(t)?e:t};let RQ;const AB=()=>RQ||(RQ=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function d6(e){if(un(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=Ci(r)?vre(r):d6(r);if(i)for(const o in i)t[o]=i[o]}return t}else if(Ci(e)||Nr(e))return e}const pre=/;(?![^(]*\))/g,gre=/:([^]+)/,mre=/\/\*[^]*?\*\//g;function vre(e){const t={};return e.replace(mre,"").split(pre).forEach(n=>{if(n){const r=n.split(gre);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function h6(e){let t="";if(Ci(e))t=e;else if(un(e))for(let n=0;n<e.length;n++){const r=h6(e[n]);r&&(t+=r+" ")}else if(Nr(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const yre="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",bre=l6(yre);function Yj(e){return!!e||e===""}function wre(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=dv(e[r],t[r]);return n}function dv(e,t){if(e===t)return!0;let n=DQ(e),r=DQ(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=_l(e),r=_l(t),n||r)return e===t;if(n=un(e),r=un(t),n||r)return n&&r?wre(e,t):!1;if(n=Nr(e),r=Nr(t),n||r){if(!n||!r)return!1;const i=Object.keys(e).length,o=Object.keys(t).length;if(i!==o)return!1;for(const A in e){const a=e.hasOwnProperty(A),s=t.hasOwnProperty(A);if(a&&!s||!a&&s||!dv(e[A],t[A]))return!1}}return String(e)===String(t)}function p6(e,t){return e.findIndex(n=>dv(n,t))}const Jj=e=>!!(e&&e.__v_isRef===!0),Bre=e=>Ci(e)?e:e==null?"":un(e)||Nr(e)&&(e.toString===Wj||!Tn(e.toString))?Jj(e)?Bre(e.value):JSON.stringify(e,Zj,2):String(e),Zj=(e,t)=>Jj(t)?Zj(e,t.value):kp(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],o)=>(n[H2(r,o)+" =>"]=i,n),{})}:xg(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>H2(n))}:_l(t)?H2(t):Nr(t)&&!un(t)&&!qj(t)?String(t):t,H2=(e,t="")=>{var n;return _l(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
- * @vue/reactivity v3.5.13
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/let pA;class eK{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=pA,!t&&pA&&(this.index=(pA.scopes||(pA.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=pA;try{return pA=this,t()}finally{pA=n}}}on(){pA=this}off(){pA=this.parent}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Cre(e){return new eK(e)}function tK(){return pA}function xre(e,t=!1){pA&&pA.cleanups.push(e)}let Gr;const M2=new WeakSet;class nK{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,pA&&pA.active&&pA.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,M2.has(this)&&(M2.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||iK(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,$Q(this),oK(this);const t=Gr,n=ys;Gr=this,ys=!0;try{return this.fn()}finally{AK(this),Gr=t,ys=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)v6(t);this.deps=this.depsTail=void 0,$Q(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?M2.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){A3(this)&&this.run()}get dirty(){return A3(this)}}let rK=0,tm,nm;function iK(e,t=!1){if(e.flags|=8,t){e.next=nm,nm=e;return}e.next=tm,tm=e}function g6(){rK++}function m6(){if(--rK>0)return;if(nm){let t=nm;for(nm=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;tm;){let t=tm;for(tm=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function oK(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function AK(e){let t,n=e.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),v6(r),Sre(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}e.deps=t,e.depsTail=n}function A3(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(aK(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function aK(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Um))return;e.globalVersion=Um;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!A3(e)){e.flags&=-3;return}const n=Gr,r=ys;Gr=e,ys=!0;try{oK(e);const i=e.fn(e._value);(t.version===0||af(i,e._value))&&(e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Gr=n,ys=r,AK(e),e.flags&=-3}}function v6(e,t=!1){const{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)v6(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Sre(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ys=!0;const sK=[];function Bf(){sK.push(ys),ys=!1}function Cf(){const e=sK.pop();ys=e===void 0?!0:e}function $Q(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Gr;Gr=void 0;try{t()}finally{Gr=n}}}let Um=0;class Ere{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class y6{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Gr||!ys||Gr===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Gr)n=this.activeLink=new Ere(Gr,this),Gr.deps?(n.prevDep=Gr.depsTail,Gr.depsTail.nextDep=n,Gr.depsTail=n):Gr.deps=Gr.depsTail=n,lK(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Gr.depsTail,n.nextDep=void 0,Gr.depsTail.nextDep=n,Gr.depsTail=n,Gr.deps===n&&(Gr.deps=r)}return n}trigger(t){this.version++,Um++,this.notify(t)}notify(t){g6();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{m6()}}}function lK(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)lK(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Zb=new WeakMap,Qd=Symbol(""),a3=Symbol(""),Qm=Symbol("");function Go(e,t,n){if(ys&&Gr){let r=Zb.get(e);r||Zb.set(e,r=new Map);let i=r.get(n);i||(r.set(n,i=new y6),i.map=r,i.key=n),i.track()}}function _u(e,t,n,r,i,o){const A=Zb.get(e);if(!A){Um++;return}const a=s=>{s&&s.trigger()};if(g6(),t==="clear")A.forEach(a);else{const s=un(e),u=s&&f6(n);if(s&&n==="length"){const l=Number(r);A.forEach((c,d)=>{(d==="length"||d===Qm||!_l(d)&&d>=l)&&a(c)})}else switch((n!==void 0||A.has(void 0))&&a(A.get(n)),u&&a(A.get(Qm)),t){case"add":s?u&&a(A.get("length")):(a(A.get(Qd)),kp(e)&&a(A.get(a3)));break;case"delete":s||(a(A.get(Qd)),kp(e)&&a(A.get(a3)));break;case"set":kp(e)&&a(A.get(Qd));break}}m6()}function Fre(e,t){const n=Zb.get(e);return n&&n.get(t)}function Ap(e){const t=On(e);return t===e?t:(Go(t,"iterate",Qm),Ra(e)?t:t.map(Wo))}function aB(e){return Go(e=On(e),"iterate",Qm),e}const Ire={__proto__:null,[Symbol.iterator](){return k2(this,Symbol.iterator,Wo)},concat(...e){return Ap(this).concat(...e.map(t=>un(t)?Ap(t):t))},entries(){return k2(this,"entries",e=>(e[1]=Wo(e[1]),e))},every(e,t){return pu(this,"every",e,t,void 0,arguments)},filter(e,t){return pu(this,"filter",e,t,n=>n.map(Wo),arguments)},find(e,t){return pu(this,"find",e,t,Wo,arguments)},findIndex(e,t){return pu(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return pu(this,"findLast",e,t,Wo,arguments)},findLastIndex(e,t){return pu(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return pu(this,"forEach",e,t,void 0,arguments)},includes(...e){return j2(this,"includes",e)},indexOf(...e){return j2(this,"indexOf",e)},join(e){return Ap(this).join(e)},lastIndexOf(...e){return j2(this,"lastIndexOf",e)},map(e,t){return pu(this,"map",e,t,void 0,arguments)},pop(){return v0(this,"pop")},push(...e){return v0(this,"push",e)},reduce(e,...t){return NQ(this,"reduce",e,t)},reduceRight(e,...t){return NQ(this,"reduceRight",e,t)},shift(){return v0(this,"shift")},some(e,t){return pu(this,"some",e,t,void 0,arguments)},splice(...e){return v0(this,"splice",e)},toReversed(){return Ap(this).toReversed()},toSorted(e){return Ap(this).toSorted(e)},toSpliced(...e){return Ap(this).toSpliced(...e)},unshift(...e){return v0(this,"unshift",e)},values(){return k2(this,"values",Wo)}};function k2(e,t,n){const r=aB(e),i=r[t]();return r!==e&&!Ra(e)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.value&&(o.value=n(o.value)),o}),i}const _re=Array.prototype;function pu(e,t,n,r,i,o){const A=aB(e),a=A!==e&&!Ra(e),s=A[t];if(s!==_re[t]){const c=s.apply(e,o);return a?Wo(c):c}let u=n;A!==e&&(a?u=function(c,d){return n.call(this,Wo(c),d,e)}:n.length>2&&(u=function(c,d){return n.call(this,c,d,e)}));const l=s.call(A,u,r);return a&&i?i(l):l}function NQ(e,t,n,r){const i=aB(e);let o=n;return i!==e&&(Ra(e)?n.length>3&&(o=function(A,a,s){return n.call(this,A,a,s,e)}):o=function(A,a,s){return n.call(this,A,Wo(a),s,e)}),i[t](o,...r)}function j2(e,t,n){const r=On(e);Go(r,"iterate",Qm);const i=r[t](...n);return(i===-1||i===!1)&&B6(n[0])?(n[0]=On(n[0]),r[t](...n)):i}function v0(e,t,n=[]){Bf(),g6();const r=On(e)[t].apply(e,n);return m6(),Cf(),r}const Ore=l6("__proto__,__v_isRef,__isVue"),uK=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(_l));function Tre(e){_l(e)||(e=String(e));const t=On(this);return Go(t,"has",e),t.hasOwnProperty(e)}class cK{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(i?o?Mre:pK:o?hK:dK).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const A=un(t);if(!i){let s;if(A&&(s=Ire[n]))return s;if(n==="hasOwnProperty")return Tre}const a=Reflect.get(t,n,qi(t)?t:r);return(_l(n)?uK.has(n):Ore(n))||(i||Go(t,"get",n),o)?a:qi(a)?A&&f6(n)?a:a.value:Nr(a)?i?mK(a):Ir(a):a}}class fK extends cK{constructor(t=!1){super(!1,t)}set(t,n,r,i){let o=t[n];if(!this._isShallow){const s=Vd(o);if(!Ra(r)&&!Vd(r)&&(o=On(o),r=On(r)),!un(t)&&qi(o)&&!qi(r))return s?!1:(o.value=r,!0)}const A=un(t)&&f6(n)?Number(n)<t.length:Er(t,n),a=Reflect.set(t,n,r,qi(t)?t:i);return t===On(i)&&(A?af(r,o)&&_u(t,"set",n,r):_u(t,"add",n,r)),a}deleteProperty(t,n){const r=Er(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&r&&_u(t,"delete",n,void 0),i}has(t,n){const r=Reflect.has(t,n);return(!_l(n)||!uK.has(n))&&Go(t,"has",n),r}ownKeys(t){return Go(t,"iterate",un(t)?"length":Qd),Reflect.ownKeys(t)}}class Ure extends cK{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Qre=new fK,Pre=new Ure,Lre=new fK(!0);const s3=e=>e,D1=e=>Reflect.getPrototypeOf(e);function Dre(e,t,n){return function(...r){const i=this.__v_raw,o=On(i),A=kp(o),a=e==="entries"||e===Symbol.iterator&&A,s=e==="keys"&&A,u=i[e](...r),l=n?s3:t?l3:Wo;return!t&&Go(o,"iterate",s?a3:Qd),{next(){const{value:c,done:d}=u.next();return d?{value:c,done:d}:{value:a?[l(c[0]),l(c[1])]:l(c),done:d}},[Symbol.iterator](){return this}}}}function R1(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Rre(e,t){const n={get(i){const o=this.__v_raw,A=On(o),a=On(i);e||(af(i,a)&&Go(A,"get",i),Go(A,"get",a));const{has:s}=D1(A),u=t?s3:e?l3:Wo;if(s.call(A,i))return u(o.get(i));if(s.call(A,a))return u(o.get(a));o!==A&&o.get(i)},get size(){const i=this.__v_raw;return!e&&Go(On(i),"iterate",Qd),Reflect.get(i,"size",i)},has(i){const o=this.__v_raw,A=On(o),a=On(i);return e||(af(i,a)&&Go(A,"has",i),Go(A,"has",a)),i===a?o.has(i):o.has(i)||o.has(a)},forEach(i,o){const A=this,a=A.__v_raw,s=On(a),u=t?s3:e?l3:Wo;return!e&&Go(s,"iterate",Qd),a.forEach((l,c)=>i.call(o,u(l),u(c),A))}};return to(n,e?{add:R1("add"),set:R1("set"),delete:R1("delete"),clear:R1("clear")}:{add(i){!t&&!Ra(i)&&!Vd(i)&&(i=On(i));const o=On(this);return D1(o).has.call(o,i)||(o.add(i),_u(o,"add",i,i)),this},set(i,o){!t&&!Ra(o)&&!Vd(o)&&(o=On(o));const A=On(this),{has:a,get:s}=D1(A);let u=a.call(A,i);u||(i=On(i),u=a.call(A,i));const l=s.call(A,i);return A.set(i,o),u?af(o,l)&&_u(A,"set",i,o):_u(A,"add",i,o),this},delete(i){const o=On(this),{has:A,get:a}=D1(o);let s=A.call(o,i);s||(i=On(i),s=A.call(o,i)),a&&a.call(o,i);const u=o.delete(i);return s&&_u(o,"delete",i,void 0),u},clear(){const i=On(this),o=i.size!==0,A=i.clear();return o&&_u(i,"clear",void 0,void 0),A}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Dre(i,e,t)}),n}function b6(e,t){const n=Rre(e,t);return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(Er(n,i)&&i in r?n:r,i,o)}const $re={get:b6(!1,!1)},Nre={get:b6(!1,!0)},Hre={get:b6(!0,!1)};const dK=new WeakMap,hK=new WeakMap,pK=new WeakMap,Mre=new WeakMap;function kre(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function jre(e){return e.__v_skip||!Object.isExtensible(e)?0:kre(cre(e))}function Ir(e){return Vd(e)?e:w6(e,!1,Qre,$re,dK)}function gK(e){return w6(e,!1,Lre,Nre,hK)}function mK(e){return w6(e,!0,Pre,Hre,pK)}function w6(e,t,n,r,i){if(!Nr(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const A=jre(e);if(A===0)return e;const a=new Proxy(e,A===2?r:n);return i.set(e,a),a}function jp(e){return Vd(e)?jp(e.__v_raw):!!(e&&e.__v_isReactive)}function Vd(e){return!!(e&&e.__v_isReadonly)}function Ra(e){return!!(e&&e.__v_isShallow)}function B6(e){return e?!!e.__v_raw:!1}function On(e){const t=e&&e.__v_raw;return t?On(t):e}function Kre(e){return!Er(e,"__v_skip")&&Object.isExtensible(e)&&Xj(e,"__v_skip",!0),e}const Wo=e=>Nr(e)?Ir(e):e,l3=e=>Nr(e)?mK(e):e;function qi(e){return e?e.__v_isRef===!0:!1}function qe(e){return vK(e,!1)}function Me(e){return vK(e,!0)}function vK(e,t){return qi(e)?e:new Vre(e,t)}class Vre{constructor(t,n){this.dep=new y6,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:On(t),this._value=n?t:Wo(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Ra(t)||Vd(t);t=r?t:On(t),af(t,n)&&(this._rawValue=t,this._value=r?t:Wo(t),this.dep.trigger())}}function yK(e){e.dep&&e.dep.trigger()}function ni(e){return qi(e)?e.value:e}const zre={get:(e,t,n)=>t==="__v_raw"?e:ni(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return qi(i)&&!qi(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function bK(e){return jp(e)?e:new Proxy(e,zre)}function tb(e){const t=un(e)?new Array(e.length):{};for(const n in e)t[n]=wK(e,n);return t}class Gre{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Fre(On(this._object),this._key)}}class Wre{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function fn(e,t,n){return qi(e)?e:Tn(e)?new Wre(e):Nr(e)&&arguments.length>1?wK(e,t,n):qe(e)}function wK(e,t,n){const r=e[t];return qi(r)?r:new Gre(e,t,n)}class qre{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new y6(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Um-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Gr!==this)return iK(this,!0),!0}get value(){const t=this.dep.track();return aK(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Xre(e,t,n=!1){let r,i;return Tn(e)?r=e:(r=e.get,i=e.set),new qre(r,i,n)}const $1={},ew=new WeakMap;let dd;function Yre(e,t=!1,n=dd){if(n){let r=ew.get(n);r||ew.set(n,r=[]),r.push(e)}}function Jre(e,t,n=kr){const{immediate:r,deep:i,once:o,scheduler:A,augmentJob:a,call:s}=n,u=b=>i?b:Ra(b)||i===!1||i===0?Ou(b,1):Ou(b);let l,c,d,f,g=!1,h=!1;if(qi(e)?(c=()=>e.value,g=Ra(e)):jp(e)?(c=()=>u(e),g=!0):un(e)?(h=!0,g=e.some(b=>jp(b)||Ra(b)),c=()=>e.map(b=>{if(qi(b))return b.value;if(jp(b))return u(b);if(Tn(b))return s?s(b,2):b()})):Tn(e)?t?c=s?()=>s(e,2):e:c=()=>{if(d){Bf();try{d()}finally{Cf()}}const b=dd;dd=l;try{return s?s(e,3,[f]):e(f)}finally{dd=b}}:c=El,t&&i){const b=c,w=i===!0?1/0:i;c=()=>Ou(b(),w)}const m=tK(),p=()=>{l.stop(),m&&m.active&&c6(m.effects,l)};if(o&&t){const b=t;t=(...w)=>{b(...w),p()}}let v=h?new Array(e.length).fill($1):$1;const y=b=>{if(!(!(l.flags&1)||!l.dirty&&!b))if(t){const w=l.run();if(i||g||(h?w.some((C,B)=>af(C,v[B])):af(w,v))){d&&d();const C=dd;dd=l;try{const B=[w,v===$1?void 0:h&&v[0]===$1?[]:v,f];s?s(t,3,B):t(...B),v=w}finally{dd=C}}}else l.run()};return a&&a(y),l=new nK(c),l.scheduler=A?()=>A(y,!1):y,f=b=>Yre(b,!1,l),d=l.onStop=()=>{const b=ew.get(l);if(b){if(s)s(b,4);else for(const w of b)w();ew.delete(l)}},t?r?y(!0):v=l.run():A?A(y.bind(null,!0),!0):l.run(),p.pause=l.pause.bind(l),p.resume=l.resume.bind(l),p.stop=p,p}function Ou(e,t=1/0,n){if(t<=0||!Nr(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,qi(e))Ou(e.value,t,n);else if(un(e))for(let r=0;r<e.length;r++)Ou(e[r],t,n);else if(xg(e)||kp(e))e.forEach(r=>{Ou(r,t,n)});else if(qj(e)){for(const r in e)Ou(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ou(e[r],t,n)}return e}/**
- * @vue/runtime-core v3.5.13
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/function hv(e,t,n,r){try{return r?e(...r):e()}catch(i){sB(i,t,n)}}function Bs(e,t,n,r){if(Tn(e)){const i=hv(e,t,n,r);return i&&Gj(i)&&i.catch(o=>{sB(o,t,n)}),i}if(un(e)){const i=[];for(let o=0;o<e.length;o++)i.push(Bs(e[o],t,n,r));return i}}function sB(e,t,n,r=!0){const i=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:A}=t&&t.appContext.config||kr;if(t){let a=t.parent;const s=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const l=a.ec;if(l){for(let c=0;c<l.length;c++)if(l[c](e,s,u)===!1)return}a=a.parent}if(o){Bf(),hv(o,null,10,[e,s,u]),Cf();return}}Zre(e,n,i,r,A)}function Zre(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}const gA=[];let hl=-1;const Kp=[];let $c=null,Fp=0;const BK=Promise.resolve();let tw=null;function $n(e){const t=tw||BK;return e?t.then(this?e.bind(this):e):t}function eie(e){let t=hl+1,n=gA.length;for(;t<n;){const r=t+n>>>1,i=gA[r],o=Pm(i);o<e||o===e&&i.flags&2?t=r+1:n=r}return t}function C6(e){if(!(e.flags&1)){const t=Pm(e),n=gA[gA.length-1];!n||!(e.flags&2)&&t>=Pm(n)?gA.push(e):gA.splice(eie(t),0,e),e.flags|=1,CK()}}function CK(){tw||(tw=BK.then(SK))}function tie(e){un(e)?Kp.push(...e):$c&&e.id===-1?$c.splice(Fp+1,0,e):e.flags&1||(Kp.push(e),e.flags|=1),CK()}function HQ(e,t,n=hl+1){for(;n<gA.length;n++){const r=gA[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;gA.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function xK(e){if(Kp.length){const t=[...new Set(Kp)].sort((n,r)=>Pm(n)-Pm(r));if(Kp.length=0,$c){$c.push(...t);return}for($c=t,Fp=0;Fp<$c.length;Fp++){const n=$c[Fp];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}$c=null,Fp=0}}const Pm=e=>e.id==null?e.flags&2?-1:1/0:e.id;function SK(e){try{for(hl=0;hl<gA.length;hl++){const t=gA[hl];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),hv(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;hl<gA.length;hl++){const t=gA[hl];t&&(t.flags&=-2)}hl=-1,gA.length=0,xK(),tw=null,(gA.length||Kp.length)&&SK()}}let PA=null,EK=null;function nw(e){const t=PA;return PA=e,EK=e&&e.type.__scopeId||null,t}function nie(e,t=PA,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&e8(-1);const o=nw(t);let A;try{A=e(...i)}finally{nw(o),r._d&&e8(1)}return A};return r._n=!0,r._c=!0,r._d=!0,r}function Cs(e,t){if(PA===null)return e;const n=dB(PA),r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,A,a,s=kr]=t[i];o&&(Tn(o)&&(o={mounted:o,updated:o}),o.deep&&Ou(A),r.push({dir:o,instance:n,value:A,oldValue:void 0,arg:a,modifiers:s}))}return e}function td(e,t,n,r){const i=e.dirs,o=t&&t.dirs;for(let A=0;A<i.length;A++){const a=i[A];o&&(a.oldValue=o[A].value);let s=a.dir[r];s&&(Bf(),Bs(s,n,8,[e.el,a,e,t]),Cf())}}const FK=Symbol("_vte"),IK=e=>e.__isTeleport,rm=e=>e&&(e.disabled||e.disabled===""),MQ=e=>e&&(e.defer||e.defer===""),kQ=e=>typeof SVGElement<"u"&&e instanceof SVGElement,jQ=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,u3=(e,t)=>{const n=e&&e.to;return Ci(n)?t?t(n):null:n},_K={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,o,A,a,s,u){const{mc:l,pc:c,pbc:d,o:{insert:f,querySelector:g,createText:h,createComment:m}}=u,p=rm(t.props);let{shapeFlag:v,children:y,dynamicChildren:b}=t;if(e==null){const w=t.el=h(""),C=t.anchor=h("");f(w,n,r),f(C,n,r);const B=(x,M)=>{v&16&&(i&&i.isCE&&(i.ce._teleportTarget=x),l(y,x,M,i,o,A,a,s))},O=()=>{const x=t.target=u3(t.props,g),M=OK(x,t,h,f);x&&(A!=="svg"&&kQ(x)?A="svg":A!=="mathml"&&jQ(x)&&(A="mathml"),p||(B(x,M),nb(t,!1)))};p&&(B(n,C),nb(t,!0)),MQ(t.props)?dA(()=>{O(),t.el.__isMounted=!0},o):O()}else{if(MQ(t.props)&&!e.el.__isMounted){dA(()=>{_K.process(e,t,n,r,i,o,A,a,s,u),delete e.el.__isMounted},o);return}t.el=e.el,t.targetStart=e.targetStart;const w=t.anchor=e.anchor,C=t.target=e.target,B=t.targetAnchor=e.targetAnchor,O=rm(e.props),x=O?n:C,M=O?w:B;if(A==="svg"||kQ(C)?A="svg":(A==="mathml"||jQ(C))&&(A="mathml"),b?(d(e.dynamicChildren,b,x,i,o,A,a),F6(e,t,!0)):s||c(e,t,x,M,i,o,A,a,!1),p)O?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):N1(t,n,w,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const R=t.target=u3(t.props,g);R&&N1(t,R,null,u,0)}else O&&N1(t,C,B,u,1);nb(t,p)}},remove(e,t,n,{um:r,o:{remove:i}},o){const{shapeFlag:A,children:a,anchor:s,targetStart:u,targetAnchor:l,target:c,props:d}=e;if(c&&(i(u),i(l)),o&&i(s),A&16){const f=o||!rm(d);for(let g=0;g<a.length;g++){const h=a[g];r(h,t,n,f,!!h.dynamicChildren)}}},move:N1,hydrate:rie};function N1(e,t,n,{o:{insert:r},m:i},o=2){o===0&&r(e.targetAnchor,t,n);const{el:A,anchor:a,shapeFlag:s,children:u,props:l}=e,c=o===2;if(c&&r(A,t,n),(!c||rm(l))&&s&16)for(let d=0;d<u.length;d++)i(u[d],t,n,2);c&&r(a,t,n)}function rie(e,t,n,r,i,o,{o:{nextSibling:A,parentNode:a,querySelector:s,insert:u,createText:l}},c){const d=t.target=u3(t.props,s);if(d){const f=rm(t.props),g=d._lpa||d.firstChild;if(t.shapeFlag&16)if(f)t.anchor=c(A(e),t,a(e),n,r,i,o),t.targetStart=g,t.targetAnchor=g&&A(g);else{t.anchor=A(e);let h=g;for(;h;){if(h&&h.nodeType===8){if(h.data==="teleport start anchor")t.targetStart=h;else if(h.data==="teleport anchor"){t.targetAnchor=h,d._lpa=t.targetAnchor&&A(t.targetAnchor);break}}h=A(h)}t.targetAnchor||OK(d,t,l,u),c(g&&A(g),t,d,n,r,i,o)}nb(t,f)}return t.anchor&&A(t.anchor)}const x6=_K;function nb(e,t){const n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function OK(e,t,n,r){const i=t.targetStart=n(""),o=t.targetAnchor=n("");return i[FK]=o,e&&(r(i,e),r(o,e)),o}const Nc=Symbol("_leaveCb"),H1=Symbol("_enterCb");function TK(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return vn(()=>{e.isMounted=!0}),En(()=>{e.isUnmounting=!0}),e}const Sa=[Function,Array],UK={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Sa,onEnter:Sa,onAfterEnter:Sa,onEnterCancelled:Sa,onBeforeLeave:Sa,onLeave:Sa,onAfterLeave:Sa,onLeaveCancelled:Sa,onBeforeAppear:Sa,onAppear:Sa,onAfterAppear:Sa,onAppearCancelled:Sa},QK=e=>{const t=e.subTree;return t.component?QK(t.component):t},iie={name:"BaseTransition",props:UK,setup(e,{slots:t}){const n=tA(),r=TK();return()=>{const i=t.default&&S6(t.default(),!0);if(!i||!i.length)return;const o=PK(i),A=On(e),{mode:a}=A;if(r.isLeaving)return K2(o);const s=KQ(o);if(!s)return K2(o);let u=Lm(s,A,r,n,c=>u=c);s.type!==Xo&&zd(s,u);let l=n.subTree&&KQ(n.subTree);if(l&&l.type!==Xo&&!md(s,l)&&QK(n).type!==Xo){let c=Lm(l,A,r,n);if(zd(l,c),a==="out-in"&&s.type!==Xo)return r.isLeaving=!0,c.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete c.afterLeave,l=void 0},K2(o);a==="in-out"&&s.type!==Xo?c.delayLeave=(d,f,g)=>{const h=LK(r,l);h[String(l.key)]=l,d[Nc]=()=>{f(),d[Nc]=void 0,delete u.delayedLeave,l=void 0},u.delayedLeave=()=>{g(),delete u.delayedLeave,l=void 0}}:l=void 0}else l&&(l=void 0);return o}}};function PK(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Xo){t=n;break}}return t}const oie=iie;function LK(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Lm(e,t,n,r,i){const{appear:o,mode:A,persisted:a=!1,onBeforeEnter:s,onEnter:u,onAfterEnter:l,onEnterCancelled:c,onBeforeLeave:d,onLeave:f,onAfterLeave:g,onLeaveCancelled:h,onBeforeAppear:m,onAppear:p,onAfterAppear:v,onAppearCancelled:y}=t,b=String(e.key),w=LK(n,e),C=(x,M)=>{x&&Bs(x,r,9,M)},B=(x,M)=>{const R=M[1];C(x,M),un(x)?x.every(F=>F.length<=1)&&R():x.length<=1&&R()},O={mode:A,persisted:a,beforeEnter(x){let M=s;if(!n.isMounted)if(o)M=m||s;else return;x[Nc]&&x[Nc](!0);const R=w[b];R&&md(e,R)&&R.el[Nc]&&R.el[Nc](),C(M,[x])},enter(x){let M=u,R=l,F=c;if(!n.isMounted)if(o)M=p||u,R=v||l,F=y||c;else return;let L=!1;const E=x[H1]=H=>{L||(L=!0,H?C(F,[x]):C(R,[x]),O.delayedLeave&&O.delayedLeave(),x[H1]=void 0)};M?B(M,[x,E]):E()},leave(x,M){const R=String(e.key);if(x[H1]&&x[H1](!0),n.isUnmounting)return M();C(d,[x]);let F=!1;const L=x[Nc]=E=>{F||(F=!0,M(),E?C(h,[x]):C(g,[x]),x[Nc]=void 0,w[R]===e&&delete w[R])};w[R]=e,f?B(f,[x,L]):L()},clone(x){const M=Lm(x,t,n,r,i);return i&&i(M),M}};return O}function K2(e){if(lB(e))return e=To(e),e.children=null,e}function KQ(e){if(!lB(e))return IK(e.type)&&e.children?PK(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Tn(n.default))return n.default()}}function zd(e,t){e.shapeFlag&6&&e.component?(e.transition=t,zd(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function S6(e,t=!1,n){let r=[],i=0;for(let o=0;o<e.length;o++){let A=e[o];const a=n==null?A.key:String(n)+String(A.key!=null?A.key:o);A.type===mn?(A.patchFlag&128&&i++,r=r.concat(S6(A.children,t,a))):(t||A.type!==Xo)&&r.push(a!=null?To(A,{key:a}):A)}if(i>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function Je(e,t){return Tn(e)?to({name:e.name},t,{setup:e}):e}function DK(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function rw(e,t,n,r,i=!1){if(un(e)){e.forEach((g,h)=>rw(g,t&&(un(t)?t[h]:t),n,r,i));return}if(im(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&rw(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?dB(r.component):r.el,A=i?null:o,{i:a,r:s}=e,u=t&&t.r,l=a.refs===kr?a.refs={}:a.refs,c=a.setupState,d=On(c),f=c===kr?()=>!1:g=>Er(d,g);if(u!=null&&u!==s&&(Ci(u)?(l[u]=null,f(u)&&(c[u]=null)):qi(u)&&(u.value=null)),Tn(s))hv(s,a,12,[A,l]);else{const g=Ci(s),h=qi(s);if(g||h){const m=()=>{if(e.f){const p=g?f(s)?c[s]:l[s]:s.value;i?un(p)&&c6(p,o):un(p)?p.includes(o)||p.push(o):g?(l[s]=[o],f(s)&&(c[s]=l[s])):(s.value=[o],e.k&&(l[e.k]=s.value))}else g?(l[s]=A,f(s)&&(c[s]=A)):h&&(s.value=A,e.k&&(l[e.k]=A))};A?(m.id=-1,dA(m,n)):m()}}}AB().requestIdleCallback;AB().cancelIdleCallback;const im=e=>!!e.type.__asyncLoader,lB=e=>e.type.__isKeepAlive;function RK(e,t){$K(e,"a",t)}function Aie(e,t){$K(e,"da",t)}function $K(e,t,n=xo){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(uB(t,r,n),n){let i=n.parent;for(;i&&i.parent;)lB(i.parent.vnode)&&aie(r,t,n,i),i=i.parent}}function aie(e,t,n,r){const i=uB(t,e,r,!0);za(()=>{c6(r[t],i)},n)}function uB(e,t,n=xo,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...A)=>{Bf();const a=pv(n),s=Bs(t,n,e,A);return a(),Cf(),s});return r?i.unshift(o):i.push(o),o}}const qu=e=>(t,n=xo)=>{(!Rm||e==="sp")&&uB(e,(...r)=>t(...r),n)},NK=qu("bm"),vn=qu("m"),cB=qu("bu"),Va=qu("u"),En=qu("bum"),za=qu("um"),sie=qu("sp"),lie=qu("rtg"),uie=qu("rtc");function cie(e,t=xo){uB("ec",e,t)}const HK="components",fie="directives";function yHe(e,t){return MK(HK,e,!0,t)||e}const die=Symbol.for("v-ndc");function hie(e){return MK(fie,e)}function MK(e,t,n=!0,r=!1){const i=PA||xo;if(i){const o=i.type;if(e===HK){const a=roe(o,!1);if(a&&(a===t||a===Na(t)||a===oB(Na(t))))return o}const A=VQ(i[e]||o[e],t)||VQ(i.appContext[e],t);return!A&&r?o:A}}function VQ(e,t){return e&&(e[t]||e[Na(t)]||e[oB(Na(t))])}function bHe(e,t,n,r){let i;const o=n,A=un(e);if(A||Ci(e)){const a=A&&jp(e);let s=!1;a&&(s=!Ra(e),e=aB(e)),i=new Array(e.length);for(let u=0,l=e.length;u<l;u++)i[u]=t(s?Wo(e[u]):e[u],u,void 0,o)}else if(typeof e=="number"){i=new Array(e);for(let a=0;a<e;a++)i[a]=t(a+1,a,void 0,o)}else if(Nr(e))if(e[Symbol.iterator])i=Array.from(e,(a,s)=>t(a,s,void 0,o));else{const a=Object.keys(e);i=new Array(a.length);for(let s=0,u=a.length;s<u;s++){const l=a[s];i[s]=t(e[l],l,s,o)}}else i=[];return i}const c3=e=>e?aV(e)?dB(e):c3(e.parent):null,om=to(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>c3(e.parent),$root:e=>c3(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>jK(e),$forceUpdate:e=>e.f||(e.f=()=>{C6(e.update)}),$nextTick:e=>e.n||(e.n=$n.bind(e.proxy)),$watch:e=>Rie.bind(e)}),V2=(e,t)=>e!==kr&&!e.__isScriptSetup&&Er(e,t),pie={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:o,accessCache:A,type:a,appContext:s}=e;let u;if(t[0]!=="$"){const f=A[t];if(f!==void 0)switch(f){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(V2(r,t))return A[t]=1,r[t];if(i!==kr&&Er(i,t))return A[t]=2,i[t];if((u=e.propsOptions[0])&&Er(u,t))return A[t]=3,o[t];if(n!==kr&&Er(n,t))return A[t]=4,n[t];f3&&(A[t]=0)}}const l=om[t];let c,d;if(l)return t==="$attrs"&&Go(e.attrs,"get",""),l(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==kr&&Er(n,t))return A[t]=4,n[t];if(d=s.config.globalProperties,Er(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return V2(i,t)?(i[t]=n,!0):r!==kr&&Er(r,t)?(r[t]=n,!0):Er(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:o}},A){let a;return!!n[A]||e!==kr&&Er(e,A)||V2(t,A)||(a=o[0])&&Er(a,A)||Er(r,A)||Er(om,A)||Er(i.config.globalProperties,A)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Er(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function gie(){return mie().attrs}function mie(){const e=tA();return e.setupContext||(e.setupContext=lV(e))}function zQ(e){return un(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let f3=!0;function vie(e){const t=jK(e),n=e.proxy,r=e.ctx;f3=!1,t.beforeCreate&&GQ(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:A,watch:a,provide:s,inject:u,created:l,beforeMount:c,mounted:d,beforeUpdate:f,updated:g,activated:h,deactivated:m,beforeDestroy:p,beforeUnmount:v,destroyed:y,unmounted:b,render:w,renderTracked:C,renderTriggered:B,errorCaptured:O,serverPrefetch:x,expose:M,inheritAttrs:R,components:F,directives:L,filters:E}=t;if(u&&yie(u,r,null),A)for(const z in A){const Z=A[z];Tn(Z)&&(r[z]=Z.bind(n))}if(i){const z=i.call(n,n);Nr(z)&&(e.data=Ir(z))}if(f3=!0,o)for(const z in o){const Z=o[z],q=Tn(Z)?Z.bind(n,n):Tn(Z.get)?Z.get.bind(n,n):El,te=!Tn(Z)&&Tn(Z.set)?Z.set.bind(n):El,ne=fe({get:q,set:te});Object.defineProperty(r,z,{enumerable:!0,configurable:!0,get:()=>ne.value,set:_=>ne.value=_})}if(a)for(const z in a)kK(a[z],r,n,z);if(s){const z=Tn(s)?s.call(n):s;Reflect.ownKeys(z).forEach(Z=>{dn(Z,z[Z])})}l&&GQ(l,e,"c");function X(z,Z){un(Z)?Z.forEach(q=>z(q.bind(n))):Z&&z(Z.bind(n))}if(X(NK,c),X(vn,d),X(cB,f),X(Va,g),X(RK,h),X(Aie,m),X(cie,O),X(uie,C),X(lie,B),X(En,v),X(za,b),X(sie,x),un(M))if(M.length){const z=e.exposed||(e.exposed={});M.forEach(Z=>{Object.defineProperty(z,Z,{get:()=>n[Z],set:q=>n[Z]=q})})}else e.exposed||(e.exposed={});w&&e.render===El&&(e.render=w),R!=null&&(e.inheritAttrs=R),F&&(e.components=F),L&&(e.directives=L),x&&DK(e)}function yie(e,t,n=El){un(e)&&(e=d3(e));for(const r in e){const i=e[r];let o;Nr(i)?"default"in i?o=tn(i.from||r,i.default,!0):o=tn(i.from||r):o=tn(i),qi(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:A=>o.value=A}):t[r]=o}}function GQ(e,t,n){Bs(un(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function kK(e,t,n,r){let i=r.includes(".")?tV(n,r):()=>n[r];if(Ci(e)){const o=t[e];Tn(o)&&st(i,o)}else if(Tn(e))st(i,e.bind(n));else if(Nr(e))if(un(e))e.forEach(o=>kK(o,t,n,r));else{const o=Tn(e.handler)?e.handler.bind(n):t[e.handler];Tn(o)&&st(i,o,e)}}function jK(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:A}}=e.appContext,a=o.get(t);let s;return a?s=a:!i.length&&!n&&!r?s=t:(s={},i.length&&i.forEach(u=>iw(s,u,A,!0)),iw(s,t,A)),Nr(t)&&o.set(t,s),s}function iw(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&iw(e,o,n,!0),i&&i.forEach(A=>iw(e,A,n,!0));for(const A in t)if(!(r&&A==="expose")){const a=bie[A]||n&&n[A];e[A]=a?a(e[A],t[A]):t[A]}return e}const bie={data:WQ,props:qQ,emits:qQ,methods:M0,computed:M0,beforeCreate:fA,created:fA,beforeMount:fA,mounted:fA,beforeUpdate:fA,updated:fA,beforeDestroy:fA,beforeUnmount:fA,destroyed:fA,unmounted:fA,activated:fA,deactivated:fA,errorCaptured:fA,serverPrefetch:fA,components:M0,directives:M0,watch:Bie,provide:WQ,inject:wie};function WQ(e,t){return t?e?function(){return to(Tn(e)?e.call(this,this):e,Tn(t)?t.call(this,this):t)}:t:e}function wie(e,t){return M0(d3(e),d3(t))}function d3(e){if(un(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function fA(e,t){return e?[...new Set([].concat(e,t))]:t}function M0(e,t){return e?to(Object.create(null),e,t):t}function qQ(e,t){return e?un(e)&&un(t)?[...new Set([...e,...t])]:to(Object.create(null),zQ(e),zQ(t??{})):t}function Bie(e,t){if(!e)return t;if(!t)return e;const n=to(Object.create(null),e);for(const r in t)n[r]=fA(e[r],t[r]);return n}function KK(){return{app:null,config:{isNativeTag:lre,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Cie=0;function xie(e,t){return function(r,i=null){Tn(r)||(r=to({},r)),i!=null&&!Nr(i)&&(i=null);const o=KK(),A=new WeakSet,a=[];let s=!1;const u=o.app={_uid:Cie++,_component:r,_props:i,_container:null,_context:o,_instance:null,version:ooe,get config(){return o.config},set config(l){},use(l,...c){return A.has(l)||(l&&Tn(l.install)?(A.add(l),l.install(u,...c)):Tn(l)&&(A.add(l),l(u,...c))),u},mixin(l){return o.mixins.includes(l)||o.mixins.push(l),u},component(l,c){return c?(o.components[l]=c,u):o.components[l]},directive(l,c){return c?(o.directives[l]=c,u):o.directives[l]},mount(l,c,d){if(!s){const f=u._ceVNode||$(r,i);return f.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),e(f,l,d),s=!0,u._container=l,l.__vue_app__=u,dB(f.component)}},onUnmount(l){a.push(l)},unmount(){s&&(Bs(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(l,c){return o.provides[l]=c,u},runWithContext(l){const c=Vp;Vp=u;try{return l()}finally{Vp=c}}};return u}}let Vp=null;function dn(e,t){if(xo){let n=xo.provides;const r=xo.parent&&xo.parent.provides;r===n&&(n=xo.provides=Object.create(r)),n[e]=t}}function tn(e,t,n=!1){const r=xo||PA;if(r||Vp){const i=Vp?Vp._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Tn(t)?t.call(r&&r.proxy):t}}const VK={},zK=()=>Object.create(VK),GK=e=>Object.getPrototypeOf(e)===VK;function Sie(e,t,n,r=!1){const i={},o=zK();e.propsDefaults=Object.create(null),WK(e,t,i,o);for(const A in e.propsOptions[0])A in i||(i[A]=void 0);n?e.props=r?i:gK(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function Eie(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:A}}=e,a=On(i),[s]=e.propsOptions;let u=!1;if((r||A>0)&&!(A&16)){if(A&8){const l=e.vnode.dynamicProps;for(let c=0;c<l.length;c++){let d=l[c];if(fB(e.emitsOptions,d))continue;const f=t[d];if(s)if(Er(o,d))f!==o[d]&&(o[d]=f,u=!0);else{const g=Na(d);i[g]=h3(s,a,g,f,e,!1)}else f!==o[d]&&(o[d]=f,u=!0)}}}else{WK(e,t,i,o)&&(u=!0);let l;for(const c in a)(!t||!Er(t,c)&&((l=wf(c))===c||!Er(t,l)))&&(s?n&&(n[c]!==void 0||n[l]!==void 0)&&(i[c]=h3(s,a,c,void 0,e,!0)):delete i[c]);if(o!==a)for(const c in o)(!t||!Er(t,c))&&(delete o[c],u=!0)}u&&_u(e.attrs,"set","")}function WK(e,t,n,r){const[i,o]=e.propsOptions;let A=!1,a;if(t)for(let s in t){if(em(s))continue;const u=t[s];let l;i&&Er(i,l=Na(s))?!o||!o.includes(l)?n[l]=u:(a||(a={}))[l]=u:fB(e.emitsOptions,s)||(!(s in r)||u!==r[s])&&(r[s]=u,A=!0)}if(o){const s=On(n),u=a||kr;for(let l=0;l<o.length;l++){const c=o[l];n[c]=h3(i,s,c,u[c],e,!Er(u,c))}}return A}function h3(e,t,n,r,i,o){const A=e[n];if(A!=null){const a=Er(A,"default");if(a&&r===void 0){const s=A.default;if(A.type!==Function&&!A.skipFactory&&Tn(s)){const{propsDefaults:u}=i;if(n in u)r=u[n];else{const l=pv(i);r=u[n]=s.call(null,t),l()}}else r=s;i.ce&&i.ce._setProp(n,r)}A[0]&&(o&&!a?r=!1:A[1]&&(r===""||r===wf(n))&&(r=!0))}return r}const Fie=new WeakMap;function qK(e,t,n=!1){const r=n?Fie:t.propsCache,i=r.get(e);if(i)return i;const o=e.props,A={},a=[];let s=!1;if(!Tn(e)){const l=c=>{s=!0;const[d,f]=qK(c,t,!0);to(A,d),f&&a.push(...f)};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}if(!o&&!s)return Nr(e)&&r.set(e,Mp),Mp;if(un(o))for(let l=0;l<o.length;l++){const c=Na(o[l]);XQ(c)&&(A[c]=kr)}else if(o)for(const l in o){const c=Na(l);if(XQ(c)){const d=o[l],f=A[c]=un(d)||Tn(d)?{type:d}:to({},d),g=f.type;let h=!1,m=!0;if(un(g))for(let p=0;p<g.length;++p){const v=g[p],y=Tn(v)&&v.name;if(y==="Boolean"){h=!0;break}else y==="String"&&(m=!1)}else h=Tn(g)&&g.name==="Boolean";f[0]=h,f[1]=m,(h||Er(f,"default"))&&a.push(c)}}const u=[A,a];return Nr(e)&&r.set(e,u),u}function XQ(e){return e[0]!=="$"&&!em(e)}const XK=e=>e[0]==="_"||e==="$stable",E6=e=>un(e)?e.map(yl):[yl(e)],Iie=(e,t,n)=>{if(t._n)return t;const r=nie((...i)=>E6(t(...i)),n);return r._c=!1,r},YK=(e,t,n)=>{const r=e._ctx;for(const i in e){if(XK(i))continue;const o=e[i];if(Tn(o))t[i]=Iie(i,o,r);else if(o!=null){const A=E6(o);t[i]=()=>A}}},JK=(e,t)=>{const n=E6(t);e.slots.default=()=>n},ZK=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},_ie=(e,t,n)=>{const r=e.slots=zK();if(e.vnode.shapeFlag&32){const i=t._;i?(ZK(r,t,n),n&&Xj(r,"_",i,!0)):YK(t,r)}else t&&JK(e,t)},Oie=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,A=kr;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:ZK(i,t,n):(o=!t.$stable,YK(t,i)),A=t}else t&&(JK(e,t),A={default:1});if(o)for(const a in i)!XK(a)&&A[a]==null&&delete i[a]},dA=Kie;function Tie(e){return Uie(e)}function Uie(e,t){const n=AB();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:A,createText:a,createComment:s,setText:u,setElementText:l,parentNode:c,nextSibling:d,setScopeId:f=El,insertStaticContent:g}=e,h=(J,ue,G,pe=null,k=null,P=null,U=void 0,W=null,de=!!ue.dynamicChildren)=>{if(J===ue)return;J&&!md(J,ue)&&(pe=N(J),_(J,k,P,!0),J=null),ue.patchFlag===-2&&(de=!1,ue.dynamicChildren=null);const{type:me,ref:ve,shapeFlag:be}=ue;switch(me){case rh:m(J,ue,G,pe);break;case Xo:p(J,ue,G,pe);break;case G2:J==null&&v(ue,G,pe,U);break;case mn:F(J,ue,G,pe,k,P,U,W,de);break;default:be&1?w(J,ue,G,pe,k,P,U,W,de):be&6?L(J,ue,G,pe,k,P,U,W,de):(be&64||be&128)&&me.process(J,ue,G,pe,k,P,U,W,de,ae)}ve!=null&&k&&rw(ve,J&&J.ref,P,ue||J,!ue)},m=(J,ue,G,pe)=>{if(J==null)r(ue.el=a(ue.children),G,pe);else{const k=ue.el=J.el;ue.children!==J.children&&u(k,ue.children)}},p=(J,ue,G,pe)=>{J==null?r(ue.el=s(ue.children||""),G,pe):ue.el=J.el},v=(J,ue,G,pe)=>{[J.el,J.anchor]=g(J.children,ue,G,pe,J.el,J.anchor)},y=({el:J,anchor:ue},G,pe)=>{let k;for(;J&&J!==ue;)k=d(J),r(J,G,pe),J=k;r(ue,G,pe)},b=({el:J,anchor:ue})=>{let G;for(;J&&J!==ue;)G=d(J),i(J),J=G;i(ue)},w=(J,ue,G,pe,k,P,U,W,de)=>{ue.type==="svg"?U="svg":ue.type==="math"&&(U="mathml"),J==null?C(ue,G,pe,k,P,U,W,de):x(J,ue,k,P,U,W,de)},C=(J,ue,G,pe,k,P,U,W)=>{let de,me;const{props:ve,shapeFlag:be,transition:Te,dirs:we}=J;if(de=J.el=A(J.type,P,ve&&ve.is,ve),be&8?l(de,J.children):be&16&&O(J.children,de,null,pe,k,z2(J,P),U,W),we&&td(J,null,pe,"created"),B(de,J,J.scopeId,U,pe),ve){for(const Ue in ve)Ue!=="value"&&!em(Ue)&&o(de,Ue,null,ve[Ue],P,pe);"value"in ve&&o(de,"value",null,ve.value,P),(me=ve.onVnodeBeforeMount)&&Al(me,pe,J)}we&&td(J,null,pe,"beforeMount");const xe=Qie(k,Te);xe&&Te.beforeEnter(de),r(de,ue,G),((me=ve&&ve.onVnodeMounted)||xe||we)&&dA(()=>{me&&Al(me,pe,J),xe&&Te.enter(de),we&&td(J,null,pe,"mounted")},k)},B=(J,ue,G,pe,k)=>{if(G&&f(J,G),pe)for(let P=0;P<pe.length;P++)f(J,pe[P]);if(k){let P=k.subTree;if(ue===P||rV(P.type)&&(P.ssContent===ue||P.ssFallback===ue)){const U=k.vnode;B(J,U,U.scopeId,U.slotScopeIds,k.parent)}}},O=(J,ue,G,pe,k,P,U,W,de=0)=>{for(let me=de;me<J.length;me++){const ve=J[me]=W?Hc(J[me]):yl(J[me]);h(null,ve,ue,G,pe,k,P,U,W)}},x=(J,ue,G,pe,k,P,U)=>{const W=ue.el=J.el;let{patchFlag:de,dynamicChildren:me,dirs:ve}=ue;de|=J.patchFlag&16;const be=J.props||kr,Te=ue.props||kr;let we;if(G&&nd(G,!1),(we=Te.onVnodeBeforeUpdate)&&Al(we,G,ue,J),ve&&td(ue,J,G,"beforeUpdate"),G&&nd(G,!0),(be.innerHTML&&Te.innerHTML==null||be.textContent&&Te.textContent==null)&&l(W,""),me?M(J.dynamicChildren,me,W,G,pe,z2(ue,k),P):U||Z(J,ue,W,null,G,pe,z2(ue,k),P,!1),de>0){if(de&16)R(W,be,Te,G,k);else if(de&2&&be.class!==Te.class&&o(W,"class",null,Te.class,k),de&4&&o(W,"style",be.style,Te.style,k),de&8){const xe=ue.dynamicProps;for(let Ue=0;Ue<xe.length;Ue++){const ke=xe[Ue],et=be[ke],De=Te[ke];(De!==et||ke==="value")&&o(W,ke,et,De,k,G)}}de&1&&J.children!==ue.children&&l(W,ue.children)}else!U&&me==null&&R(W,be,Te,G,k);((we=Te.onVnodeUpdated)||ve)&&dA(()=>{we&&Al(we,G,ue,J),ve&&td(ue,J,G,"updated")},pe)},M=(J,ue,G,pe,k,P,U)=>{for(let W=0;W<ue.length;W++){const de=J[W],me=ue[W],ve=de.el&&(de.type===mn||!md(de,me)||de.shapeFlag&70)?c(de.el):G;h(de,me,ve,null,pe,k,P,U,!0)}},R=(J,ue,G,pe,k)=>{if(ue!==G){if(ue!==kr)for(const P in ue)!em(P)&&!(P in G)&&o(J,P,ue[P],null,k,pe);for(const P in G){if(em(P))continue;const U=G[P],W=ue[P];U!==W&&P!=="value"&&o(J,P,W,U,k,pe)}"value"in G&&o(J,"value",ue.value,G.value,k)}},F=(J,ue,G,pe,k,P,U,W,de)=>{const me=ue.el=J?J.el:a(""),ve=ue.anchor=J?J.anchor:a("");let{patchFlag:be,dynamicChildren:Te,slotScopeIds:we}=ue;we&&(W=W?W.concat(we):we),J==null?(r(me,G,pe),r(ve,G,pe),O(ue.children||[],G,ve,k,P,U,W,de)):be>0&&be&64&&Te&&J.dynamicChildren?(M(J.dynamicChildren,Te,G,k,P,U,W),(ue.key!=null||k&&ue===k.subTree)&&F6(J,ue,!0)):Z(J,ue,G,ve,k,P,U,W,de)},L=(J,ue,G,pe,k,P,U,W,de)=>{ue.slotScopeIds=W,J==null?ue.shapeFlag&512?k.ctx.activate(ue,G,pe,U,de):E(ue,G,pe,k,P,U,de):H(J,ue,de)},E=(J,ue,G,pe,k,P,U)=>{const W=J.component=Zie(J,pe,k);if(lB(J)&&(W.ctx.renderer=ae),eoe(W,!1,U),W.asyncDep){if(k&&k.registerDep(W,X,U),!J.el){const de=W.subTree=$(Xo);p(null,de,ue,G)}}else X(W,J,ue,G,k,P,U)},H=(J,ue,G)=>{const pe=ue.component=J.component;if(kie(J,ue,G))if(pe.asyncDep&&!pe.asyncResolved){z(pe,ue,G);return}else pe.next=ue,pe.update();else ue.el=J.el,pe.vnode=ue},X=(J,ue,G,pe,k,P,U)=>{const W=()=>{if(J.isMounted){let{next:be,bu:Te,u:we,parent:xe,vnode:Ue}=J;{const Re=eV(J);if(Re){be&&(be.el=Ue.el,z(J,be,U)),Re.asyncDep.then(()=>{J.isUnmounted||W()});return}}let ke=be,et;nd(J,!1),be?(be.el=Ue.el,z(J,be,U)):be=Ue,Te&&eb(Te),(et=be.props&&be.props.onVnodeBeforeUpdate)&&Al(et,xe,be,Ue),nd(J,!0);const De=JQ(J),_e=J.subTree;J.subTree=De,h(_e,De,c(_e.el),N(_e),J,k,P),be.el=De.el,ke===null&&jie(J,De.el),we&&dA(we,k),(et=be.props&&be.props.onVnodeUpdated)&&dA(()=>Al(et,xe,be,Ue),k)}else{let be;const{el:Te,props:we}=ue,{bm:xe,m:Ue,parent:ke,root:et,type:De}=J,_e=im(ue);nd(J,!1),xe&&eb(xe),!_e&&(be=we&&we.onVnodeBeforeMount)&&Al(be,ke,ue),nd(J,!0);{et.ce&&et.ce._injectChildStyle(De);const Re=J.subTree=JQ(J);h(null,Re,G,pe,J,k,P),ue.el=Re.el}if(Ue&&dA(Ue,k),!_e&&(be=we&&we.onVnodeMounted)){const Re=ue;dA(()=>Al(be,ke,Re),k)}(ue.shapeFlag&256||ke&&im(ke.vnode)&&ke.vnode.shapeFlag&256)&&J.a&&dA(J.a,k),J.isMounted=!0,ue=G=pe=null}};J.scope.on();const de=J.effect=new nK(W);J.scope.off();const me=J.update=de.run.bind(de),ve=J.job=de.runIfDirty.bind(de);ve.i=J,ve.id=J.uid,de.scheduler=()=>C6(ve),nd(J,!0),me()},z=(J,ue,G)=>{ue.component=J;const pe=J.vnode.props;J.vnode=ue,J.next=null,Eie(J,ue.props,pe,G),Oie(J,ue.children,G),Bf(),HQ(J),Cf()},Z=(J,ue,G,pe,k,P,U,W,de=!1)=>{const me=J&&J.children,ve=J?J.shapeFlag:0,be=ue.children,{patchFlag:Te,shapeFlag:we}=ue;if(Te>0){if(Te&128){te(me,be,G,pe,k,P,U,W,de);return}else if(Te&256){q(me,be,G,pe,k,P,U,W,de);return}}we&8?(ve&16&&ce(me,k,P),be!==me&&l(G,be)):ve&16?we&16?te(me,be,G,pe,k,P,U,W,de):ce(me,k,P,!0):(ve&8&&l(G,""),we&16&&O(be,G,pe,k,P,U,W,de))},q=(J,ue,G,pe,k,P,U,W,de)=>{J=J||Mp,ue=ue||Mp;const me=J.length,ve=ue.length,be=Math.min(me,ve);let Te;for(Te=0;Te<be;Te++){const we=ue[Te]=de?Hc(ue[Te]):yl(ue[Te]);h(J[Te],we,G,null,k,P,U,W,de)}me>ve?ce(J,k,P,!0,!1,be):O(ue,G,pe,k,P,U,W,de,be)},te=(J,ue,G,pe,k,P,U,W,de)=>{let me=0;const ve=ue.length;let be=J.length-1,Te=ve-1;for(;me<=be&&me<=Te;){const we=J[me],xe=ue[me]=de?Hc(ue[me]):yl(ue[me]);if(md(we,xe))h(we,xe,G,null,k,P,U,W,de);else break;me++}for(;me<=be&&me<=Te;){const we=J[be],xe=ue[Te]=de?Hc(ue[Te]):yl(ue[Te]);if(md(we,xe))h(we,xe,G,null,k,P,U,W,de);else break;be--,Te--}if(me>be){if(me<=Te){const we=Te+1,xe=we<ve?ue[we].el:pe;for(;me<=Te;)h(null,ue[me]=de?Hc(ue[me]):yl(ue[me]),G,xe,k,P,U,W,de),me++}}else if(me>Te)for(;me<=be;)_(J[me],k,P,!0),me++;else{const we=me,xe=me,Ue=new Map;for(me=xe;me<=Te;me++){const rt=ue[me]=de?Hc(ue[me]):yl(ue[me]);rt.key!=null&&Ue.set(rt.key,me)}let ke,et=0;const De=Te-xe+1;let _e=!1,Re=0;const Ne=new Array(De);for(me=0;me<De;me++)Ne[me]=0;for(me=we;me<=be;me++){const rt=J[me];if(et>=De){_(rt,k,P,!0);continue}let nt;if(rt.key!=null)nt=Ue.get(rt.key);else for(ke=xe;ke<=Te;ke++)if(Ne[ke-xe]===0&&md(rt,ue[ke])){nt=ke;break}nt===void 0?_(rt,k,P,!0):(Ne[nt-xe]=me+1,nt>=Re?Re=nt:_e=!0,h(rt,ue[nt],G,null,k,P,U,W,de),et++)}const ot=_e?Pie(Ne):Mp;for(ke=ot.length-1,me=De-1;me>=0;me--){const rt=xe+me,nt=ue[rt],Bt=rt+1<ve?ue[rt+1].el:pe;Ne[me]===0?h(null,nt,G,Bt,k,P,U,W,de):_e&&(ke<0||me!==ot[ke]?ne(nt,G,Bt,2):ke--)}}},ne=(J,ue,G,pe,k=null)=>{const{el:P,type:U,transition:W,children:de,shapeFlag:me}=J;if(me&6){ne(J.component.subTree,ue,G,pe);return}if(me&128){J.suspense.move(ue,G,pe);return}if(me&64){U.move(J,ue,G,ae);return}if(U===mn){r(P,ue,G);for(let be=0;be<de.length;be++)ne(de[be],ue,G,pe);r(J.anchor,ue,G);return}if(U===G2){y(J,ue,G);return}if(pe!==2&&me&1&&W)if(pe===0)W.beforeEnter(P),r(P,ue,G),dA(()=>W.enter(P),k);else{const{leave:be,delayLeave:Te,afterLeave:we}=W,xe=()=>r(P,ue,G),Ue=()=>{be(P,()=>{xe(),we&&we()})};Te?Te(P,xe,Ue):Ue()}else r(P,ue,G)},_=(J,ue,G,pe=!1,k=!1)=>{const{type:P,props:U,ref:W,children:de,dynamicChildren:me,shapeFlag:ve,patchFlag:be,dirs:Te,cacheIndex:we}=J;if(be===-2&&(k=!1),W!=null&&rw(W,null,G,J,!0),we!=null&&(ue.renderCache[we]=void 0),ve&256){ue.ctx.deactivate(J);return}const xe=ve&1&&Te,Ue=!im(J);let ke;if(Ue&&(ke=U&&U.onVnodeBeforeUnmount)&&Al(ke,ue,J),ve&6)se(J.component,G,pe);else{if(ve&128){J.suspense.unmount(G,pe);return}xe&&td(J,null,ue,"beforeUnmount"),ve&64?J.type.remove(J,ue,G,ae,pe):me&&!me.hasOnce&&(P!==mn||be>0&&be&64)?ce(me,ue,G,!1,!0):(P===mn&&be&384||!k&&ve&16)&&ce(de,ue,G),pe&&Y(J)}(Ue&&(ke=U&&U.onVnodeUnmounted)||xe)&&dA(()=>{ke&&Al(ke,ue,J),xe&&td(J,null,ue,"unmounted")},G)},Y=J=>{const{type:ue,el:G,anchor:pe,transition:k}=J;if(ue===mn){re(G,pe);return}if(ue===G2){b(J);return}const P=()=>{i(G),k&&!k.persisted&&k.afterLeave&&k.afterLeave()};if(J.shapeFlag&1&&k&&!k.persisted){const{leave:U,delayLeave:W}=k,de=()=>U(G,P);W?W(J.el,P,de):de()}else P()},re=(J,ue)=>{let G;for(;J!==ue;)G=d(J),i(J),J=G;i(ue)},se=(J,ue,G)=>{const{bum:pe,scope:k,job:P,subTree:U,um:W,m:de,a:me}=J;YQ(de),YQ(me),pe&&eb(pe),k.stop(),P&&(P.flags|=8,_(U,J,ue,G)),W&&dA(W,ue),dA(()=>{J.isUnmounted=!0},ue),ue&&ue.pendingBranch&&!ue.isUnmounted&&J.asyncDep&&!J.asyncResolved&&J.suspenseId===ue.pendingId&&(ue.deps--,ue.deps===0&&ue.resolve())},ce=(J,ue,G,pe=!1,k=!1,P=0)=>{for(let U=P;U<J.length;U++)_(J[U],ue,G,pe,k)},N=J=>{if(J.shapeFlag&6)return N(J.component.subTree);if(J.shapeFlag&128)return J.suspense.next();const ue=d(J.anchor||J.el),G=ue&&ue[FK];return G?d(G):ue};let K=!1;const Ae=(J,ue,G)=>{J==null?ue._vnode&&_(ue._vnode,null,null,!0):h(ue._vnode||null,J,ue,null,null,null,G),ue._vnode=J,K||(K=!0,HQ(),xK(),K=!1)},ae={p:h,um:_,m:ne,r:Y,mt:E,mc:O,pc:Z,pbc:M,n:N,o:e};return{render:Ae,hydrate:void 0,createApp:xie(Ae)}}function z2({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function nd({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Qie(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function F6(e,t,n=!1){const r=e.children,i=t.children;if(un(r)&&un(i))for(let o=0;o<r.length;o++){const A=r[o];let a=i[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[o]=Hc(i[o]),a.el=A.el),!n&&a.patchFlag!==-2&&F6(A,a)),a.type===rh&&(a.el=A.el)}}function Pie(e){const t=e.slice(),n=[0];let r,i,o,A,a;const s=e.length;for(r=0;r<s;r++){const u=e[r];if(u!==0){if(i=n[n.length-1],e[i]<u){t[r]=i,n.push(r);continue}for(o=0,A=n.length-1;o<A;)a=o+A>>1,e[n[a]]<u?o=a+1:A=a;u<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,A=n[o-1];o-- >0;)n[o]=A,A=t[A];return n}function eV(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:eV(t)}function YQ(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Lie=Symbol.for("v-scx"),Die=()=>tn(Lie);function ln(e,t){return I6(e,null,t)}function st(e,t,n){return I6(e,t,n)}function I6(e,t,n=kr){const{immediate:r,deep:i,flush:o,once:A}=n,a=to({},n),s=t&&r||!t&&o!=="post";let u;if(Rm){if(o==="sync"){const f=Die();u=f.__watcherHandles||(f.__watcherHandles=[])}else if(!s){const f=()=>{};return f.stop=El,f.resume=El,f.pause=El,f}}const l=xo;a.call=(f,g,h)=>Bs(f,l,g,h);let c=!1;o==="post"?a.scheduler=f=>{dA(f,l&&l.suspense)}:o!=="sync"&&(c=!0,a.scheduler=(f,g)=>{g?f():C6(f)}),a.augmentJob=f=>{t&&(f.flags|=4),c&&(f.flags|=2,l&&(f.id=l.uid,f.i=l))};const d=Jre(e,t,a);return Rm&&(u?u.push(d):s&&d()),d}function Rie(e,t,n){const r=this.proxy,i=Ci(e)?e.includes(".")?tV(r,e):()=>r[e]:e.bind(r,r);let o;Tn(t)?o=t:(o=t.handler,n=t);const A=pv(this),a=I6(i,o.bind(r),n);return A(),a}function tV(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}const $ie=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Na(t)}Modifiers`]||e[`${wf(t)}Modifiers`];function Nie(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||kr;let i=n;const o=t.startsWith("update:"),A=o&&$ie(r,t.slice(7));A&&(A.trim&&(i=n.map(l=>Ci(l)?l.trim():l)),A.number&&(i=n.map(Jb)));let a,s=r[a=N2(t)]||r[a=N2(Na(t))];!s&&o&&(s=r[a=N2(wf(t))]),s&&Bs(s,e,6,i);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Bs(u,e,6,i)}}function nV(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let A={},a=!1;if(!Tn(e)){const s=u=>{const l=nV(u,t,!0);l&&(a=!0,to(A,l))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return!o&&!a?(Nr(e)&&r.set(e,null),null):(un(o)?o.forEach(s=>A[s]=null):to(A,o),Nr(e)&&r.set(e,A),A)}function fB(e,t){return!e||!rB(t)?!1:(t=t.slice(2).replace(/Once$/,""),Er(e,t[0].toLowerCase()+t.slice(1))||Er(e,wf(t))||Er(e,t))}function JQ(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[o],slots:A,attrs:a,emit:s,render:u,renderCache:l,props:c,data:d,setupState:f,ctx:g,inheritAttrs:h}=e,m=nw(e);let p,v;try{if(n.shapeFlag&4){const b=i||r,w=b;p=yl(u.call(w,b,l,c,f,d,g)),v=a}else{const b=t;p=yl(b.length>1?b(c,{attrs:a,slots:A,emit:s}):b(c,null)),v=t.props?a:Hie(a)}}catch(b){Am.length=0,sB(b,e,1),p=$(Xo)}let y=p;if(v&&h!==!1){const b=Object.keys(v),{shapeFlag:w}=y;b.length&&w&7&&(o&&b.some(u6)&&(v=Mie(v,o)),y=To(y,v,!1,!0))}return n.dirs&&(y=To(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&zd(y,n.transition),p=y,nw(m),p}const Hie=e=>{let t;for(const n in e)(n==="class"||n==="style"||rB(n))&&((t||(t={}))[n]=e[n]);return t},Mie=(e,t)=>{const n={};for(const r in e)(!u6(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function kie(e,t,n){const{props:r,children:i,component:o}=e,{props:A,children:a,patchFlag:s}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&s>=0){if(s&1024)return!0;if(s&16)return r?ZQ(r,A,u):!!A;if(s&8){const l=t.dynamicProps;for(let c=0;c<l.length;c++){const d=l[c];if(A[d]!==r[d]&&!fB(u,d))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:r===A?!1:r?A?ZQ(r,A,u):!0:!!A;return!1}function ZQ(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const o=r[i];if(t[o]!==e[o]&&!fB(n,o))return!0}return!1}function jie({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const rV=e=>e.__isSuspense;function Kie(e,t){t&&t.pendingBranch?un(e)?t.effects.push(...e):t.effects.push(e):tie(e)}const mn=Symbol.for("v-fgt"),rh=Symbol.for("v-txt"),Xo=Symbol.for("v-cmt"),G2=Symbol.for("v-stc"),Am=[];let oa=null;function Vie(e=!1){Am.push(oa=e?null:[])}function zie(){Am.pop(),oa=Am[Am.length-1]||null}let Dm=1;function e8(e,t=!1){Dm+=e,e<0&&oa&&t&&(oa.hasOnce=!0)}function iV(e){return e.dynamicChildren=Dm>0?oa||Mp:null,zie(),Dm>0&&oa&&oa.push(e),e}function wHe(e,t,n,r,i,o){return iV(AV(e,t,n,r,i,o,!0))}function Gie(e,t,n,r,i){return iV($(e,t,n,r,i,!0))}function Io(e){return e?e.__v_isVNode===!0:!1}function md(e,t){return e.type===t.type&&e.key===t.key}const oV=({key:e})=>e??null,rb=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ci(e)||qi(e)||Tn(e)?{i:PA,r:e,k:t,f:!!n}:e:null);function AV(e,t=null,n=null,r=0,i=null,o=e===mn?0:1,A=!1,a=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&oV(t),ref:t&&rb(t),scopeId:EK,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:PA};return a?(_6(s,n),o&128&&e.normalize(s)):n&&(s.shapeFlag|=Ci(n)?8:16),Dm>0&&!A&&oa&&(s.patchFlag>0||o&6)&&s.patchFlag!==32&&oa.push(s),s}const $=Wie;function Wie(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===die)&&(e=Xo),Io(e)){const a=To(e,t,!0);return n&&_6(a,n),Dm>0&&!o&&oa&&(a.shapeFlag&6?oa[oa.indexOf(e)]=a:oa.push(a)),a.patchFlag=-2,a}if(ioe(e)&&(e=e.__vccOpts),t){t=qie(t);let{class:a,style:s}=t;a&&!Ci(a)&&(t.class=h6(a)),Nr(s)&&(B6(s)&&!un(s)&&(s=to({},s)),t.style=d6(s))}const A=Ci(e)?1:rV(e)?128:IK(e)?64:Nr(e)?4:Tn(e)?2:0;return AV(e,t,n,r,i,A,o,!0)}function qie(e){return e?B6(e)||GK(e)?to({},e):e:null}function To(e,t,n=!1,r=!1){const{props:i,ref:o,patchFlag:A,children:a,transition:s}=e,u=t?Xie(i||{},t):i,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&oV(u),ref:t&&t.ref?n&&o?un(o)?o.concat(rb(t)):[o,rb(t)]:rb(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==mn?A===-1?16:A|16:A,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:s,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&To(e.ssContent),ssFallback:e.ssFallback&&To(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return s&&r&&zd(l,s.clone(l)),l}function Hu(e=" ",t=0){return $(rh,null,e,t)}function BHe(e="",t=!1){return t?(Vie(),Gie(Xo,null,e)):$(Xo,null,e)}function yl(e){return e==null||typeof e=="boolean"?$(Xo):un(e)?$(mn,null,e.slice()):Io(e)?Hc(e):$(rh,null,String(e))}function Hc(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:To(e)}function _6(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(un(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),_6(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!GK(t)?t._ctx=PA:i===3&&PA&&(PA.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Tn(t)?(t={default:t,_ctx:PA},n=32):(t=String(t),r&64?(n=16,t=[Hu(t)]):n=8);e.children=t,e.shapeFlag|=n}function Xie(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=h6([t.class,r.class]));else if(i==="style")t.style=d6([t.style,r.style]);else if(rB(i)){const o=t[i],A=r[i];A&&o!==A&&!(un(o)&&o.includes(A))&&(t[i]=o?[].concat(o,A):A)}else i!==""&&(t[i]=r[i])}return t}function Al(e,t,n,r=null){Bs(e,t,7,[n,r])}const Yie=KK();let Jie=0;function Zie(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||Yie,o={uid:Jie++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new eK(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:qK(r,i),emitsOptions:nV(r,i),emit:null,emitted:null,propsDefaults:kr,inheritAttrs:r.inheritAttrs,ctx:kr,data:kr,props:kr,attrs:kr,slots:kr,refs:kr,setupState:kr,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Nie.bind(null,o),e.ce&&e.ce(o),o}let xo=null;const tA=()=>xo||PA;let ow,p3;{const e=AB(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),o=>{i.length>1?i.forEach(A=>A(o)):i[0](o)}};ow=t("__VUE_INSTANCE_SETTERS__",n=>xo=n),p3=t("__VUE_SSR_SETTERS__",n=>Rm=n)}const pv=e=>{const t=xo;return ow(e),e.scope.on(),()=>{e.scope.off(),ow(t)}},t8=()=>{xo&&xo.scope.off(),ow(null)};function aV(e){return e.vnode.shapeFlag&4}let Rm=!1;function eoe(e,t=!1,n=!1){t&&p3(t);const{props:r,children:i}=e.vnode,o=aV(e);Sie(e,r,o,t),_ie(e,i,n);const A=o?toe(e,t):void 0;return t&&p3(!1),A}function toe(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,pie);const{setup:r}=n;if(r){Bf();const i=e.setupContext=r.length>1?lV(e):null,o=pv(e),A=hv(r,e,0,[e.props,i]),a=Gj(A);if(Cf(),o(),(a||e.sp)&&!im(e)&&DK(e),a){if(A.then(t8,t8),t)return A.then(s=>{n8(e,s)}).catch(s=>{sB(s,e,0)});e.asyncDep=A}else n8(e,A)}else sV(e)}function n8(e,t,n){Tn(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Nr(t)&&(e.setupState=bK(t)),sV(e)}function sV(e,t,n){const r=e.type;e.render||(e.render=r.render||El);{const i=pv(e);Bf();try{vie(e)}finally{Cf(),i()}}}const noe={get(e,t){return Go(e,"get",""),e[t]}};function lV(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,noe),slots:e.slots,emit:e.emit,expose:t}}function dB(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(bK(Kre(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in om)return om[n](e)},has(t,n){return n in t||n in om}})):e.proxy}function roe(e,t=!0){return Tn(e)?e.displayName||e.name:e.name||t&&e.__name}function ioe(e){return Tn(e)&&"__vccOpts"in e}const fe=(e,t)=>Xre(e,t,Rm);function Mu(e,t,n){const r=arguments.length;return r===2?Nr(t)&&!un(t)?Io(t)?$(e,null,[t]):$(e,t):$(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Io(n)&&(n=[n]),$(e,t,n))}const ooe="3.5.13";/**
- * @vue/runtime-dom v3.5.13
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/let g3;const r8=typeof window<"u"&&window.trustedTypes;if(r8)try{g3=r8.createPolicy("vue",{createHTML:e=>e})}catch{}const uV=g3?e=>g3.createHTML(e):e=>e,Aoe="http://www.w3.org/2000/svg",aoe="http://www.w3.org/1998/Math/MathML",Eu=typeof document<"u"?document:null,i8=Eu&&Eu.createElement("template"),soe={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t==="svg"?Eu.createElementNS(Aoe,e):t==="mathml"?Eu.createElementNS(aoe,e):n?Eu.createElement(e,{is:n}):Eu.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Eu.createTextNode(e),createComment:e=>Eu.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Eu.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const A=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{i8.innerHTML=uV(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=i8.content;if(r==="svg"||r==="mathml"){const s=a.firstChild;for(;s.firstChild;)a.appendChild(s.firstChild);a.removeChild(s)}t.insertBefore(a,n)}return[A?A.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Oc="transition",y0="animation",rg=Symbol("_vtc"),cV={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},fV=to({},UK,cV),loe=e=>(e.displayName="Transition",e.props=fV,e),ca=loe((e,{slots:t})=>Mu(oie,dV(e),t)),rd=(e,t=[])=>{un(e)?e.forEach(n=>n(...t)):e&&e(...t)},o8=e=>e?un(e)?e.some(t=>t.length>1):e.length>1:!1;function dV(e){const t={};for(const F in e)F in cV||(t[F]=e[F]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:A=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:s=o,appearActiveClass:u=A,appearToClass:l=a,leaveFromClass:c=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,g=uoe(i),h=g&&g[0],m=g&&g[1],{onBeforeEnter:p,onEnter:v,onEnterCancelled:y,onLeave:b,onLeaveCancelled:w,onBeforeAppear:C=p,onAppear:B=v,onAppearCancelled:O=y}=t,x=(F,L,E,H)=>{F._enterCancelled=H,Lc(F,L?l:a),Lc(F,L?u:A),E&&E()},M=(F,L)=>{F._isLeaving=!1,Lc(F,c),Lc(F,f),Lc(F,d),L&&L()},R=F=>(L,E)=>{const H=F?B:v,X=()=>x(L,F,E);rd(H,[L,X]),A8(()=>{Lc(L,F?s:o),ul(L,F?l:a),o8(H)||a8(L,r,h,X)})};return to(t,{onBeforeEnter(F){rd(p,[F]),ul(F,o),ul(F,A)},onBeforeAppear(F){rd(C,[F]),ul(F,s),ul(F,u)},onEnter:R(!1),onAppear:R(!0),onLeave(F,L){F._isLeaving=!0;const E=()=>M(F,L);ul(F,c),F._enterCancelled?(ul(F,d),m3()):(m3(),ul(F,d)),A8(()=>{F._isLeaving&&(Lc(F,c),ul(F,f),o8(b)||a8(F,r,m,E))}),rd(b,[F,E])},onEnterCancelled(F){x(F,!1,void 0,!0),rd(y,[F])},onAppearCancelled(F){x(F,!0,void 0,!0),rd(O,[F])},onLeaveCancelled(F){M(F),rd(w,[F])}})}function uoe(e){if(e==null)return null;if(Nr(e))return[W2(e.enter),W2(e.leave)];{const t=W2(e);return[t,t]}}function W2(e){return hre(e)}function ul(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[rg]||(e[rg]=new Set)).add(t)}function Lc(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[rg];n&&(n.delete(t),n.size||(e[rg]=void 0))}function A8(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let coe=0;function a8(e,t,n,r){const i=e._endId=++coe,o=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:A,timeout:a,propCount:s}=hV(e,t);if(!A)return r();const u=A+"end";let l=0;const c=()=>{e.removeEventListener(u,d),o()},d=f=>{f.target===e&&++l>=s&&c()};setTimeout(()=>{l<s&&c()},a+1),e.addEventListener(u,d)}function hV(e,t){const n=window.getComputedStyle(e),r=g=>(n[g]||"").split(", "),i=r(`${Oc}Delay`),o=r(`${Oc}Duration`),A=s8(i,o),a=r(`${y0}Delay`),s=r(`${y0}Duration`),u=s8(a,s);let l=null,c=0,d=0;t===Oc?A>0&&(l=Oc,c=A,d=o.length):t===y0?u>0&&(l=y0,c=u,d=s.length):(c=Math.max(A,u),l=c>0?A>u?Oc:y0:null,d=l?l===Oc?o.length:s.length:0);const f=l===Oc&&/\b(transform|all)(,|$)/.test(r(`${Oc}Property`).toString());return{type:l,timeout:c,propCount:d,hasTransform:f}}function s8(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>l8(n)+l8(e[r])))}function l8(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function m3(){return document.body.offsetHeight}function foe(e,t,n){const r=e[rg];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Aw=Symbol("_vod"),pV=Symbol("_vsh"),Ol={beforeMount(e,{value:t},{transition:n}){e[Aw]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):b0(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),b0(e,!0),r.enter(e)):r.leave(e,()=>{b0(e,!1)}):b0(e,t))},beforeUnmount(e,{value:t}){b0(e,t)}};function b0(e,t){e.style.display=t?e[Aw]:"none",e[pV]=!t}const doe=Symbol(""),hoe=/(^|;)\s*display\s*:/;function poe(e,t,n){const r=e.style,i=Ci(n);let o=!1;if(n&&!i){if(t)if(Ci(t))for(const A of t.split(";")){const a=A.slice(0,A.indexOf(":")).trim();n[a]==null&&ib(r,a,"")}else for(const A in t)n[A]==null&&ib(r,A,"");for(const A in n)A==="display"&&(o=!0),ib(r,A,n[A])}else if(i){if(t!==n){const A=r[doe];A&&(n+=";"+A),r.cssText=n,o=hoe.test(n)}}else t&&e.removeAttribute("style");Aw in e&&(e[Aw]=o?r.display:"",e[pV]&&(r.display="none"))}const u8=/\s*!important$/;function ib(e,t,n){if(un(n))n.forEach(r=>ib(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=goe(e,t);u8.test(n)?e.setProperty(wf(r),n.replace(u8,""),"important"):e[r]=n}}const c8=["Webkit","Moz","ms"],q2={};function goe(e,t){const n=q2[t];if(n)return n;let r=Na(t);if(r!=="filter"&&r in e)return q2[t]=r;r=oB(r);for(let i=0;i<c8.length;i++){const o=c8[i]+r;if(o in e)return q2[t]=o}return t}const f8="http://www.w3.org/1999/xlink";function d8(e,t,n,r,i,o=bre(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(f8,t.slice(6,t.length)):e.setAttributeNS(f8,t,n):n==null||o&&!Yj(n)?e.removeAttribute(t):e.setAttribute(t,o?"":_l(n)?String(n):n)}function h8(e,t,n,r,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?uV(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,s=n==null?e.type==="checkbox"?"on":"":String(n);(a!==s||!("_value"in e))&&(e.value=s),n==null&&e.removeAttribute(t),e._value=n;return}let A=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Yj(n):n==null&&a==="string"?(n="",A=!0):a==="number"&&(n=0,A=!0)}try{e[t]=n}catch{}A&&e.removeAttribute(i||t)}function zc(e,t,n,r){e.addEventListener(t,n,r)}function moe(e,t,n,r){e.removeEventListener(t,n,r)}const p8=Symbol("_vei");function voe(e,t,n,r,i=null){const o=e[p8]||(e[p8]={}),A=o[t];if(r&&A)A.value=r;else{const[a,s]=yoe(t);if(r){const u=o[t]=Boe(r,i);zc(e,a,u,s)}else A&&(moe(e,a,A,s),o[t]=void 0)}}const g8=/(?:Once|Passive|Capture)$/;function yoe(e){let t;if(g8.test(e)){t={};let r;for(;r=e.match(g8);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):wf(e.slice(2)),t]}let X2=0;const boe=Promise.resolve(),woe=()=>X2||(boe.then(()=>X2=0),X2=Date.now());function Boe(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Bs(Coe(r,n.value),t,5,[r])};return n.value=e,n.attached=woe(),n}function Coe(e,t){if(un(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const m8=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,xoe=(e,t,n,r,i,o)=>{const A=i==="svg";t==="class"?foe(e,r,A):t==="style"?poe(e,n,r):rB(t)?u6(t)||voe(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Soe(e,t,r,A))?(h8(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&d8(e,t,r,A,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ci(r))?h8(e,Na(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),d8(e,t,r,A))};function Soe(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&m8(t)&&Tn(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return m8(t)&&Ci(n)?!1:t in e}const gV=new WeakMap,mV=new WeakMap,aw=Symbol("_moveCb"),v8=Symbol("_enterCb"),Eoe=e=>(delete e.props.mode,e),Foe=Eoe({name:"TransitionGroup",props:to({},fV,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=tA(),r=TK();let i,o;return Va(()=>{if(!i.length)return;const A=e.moveClass||`${e.name||"v"}-move`;if(!Toe(i[0].el,n.vnode.el,A))return;i.forEach(Ioe),i.forEach(_oe);const a=i.filter(Ooe);m3(),a.forEach(s=>{const u=s.el,l=u.style;ul(u,A),l.transform=l.webkitTransform=l.transitionDuration="";const c=u[aw]=d=>{d&&d.target!==u||(!d||/transform$/.test(d.propertyName))&&(u.removeEventListener("transitionend",c),u[aw]=null,Lc(u,A))};u.addEventListener("transitionend",c)})}),()=>{const A=On(e),a=dV(A);let s=A.tag||mn;if(i=[],o)for(let u=0;u<o.length;u++){const l=o[u];l.el&&l.el instanceof Element&&(i.push(l),zd(l,Lm(l,a,r,n)),gV.set(l,l.el.getBoundingClientRect()))}o=t.default?S6(t.default()):[];for(let u=0;u<o.length;u++){const l=o[u];l.key!=null&&zd(l,Lm(l,a,r,n))}return $(s,null,o)}}}),hB=Foe;function Ioe(e){const t=e.el;t[aw]&&t[aw](),t[v8]&&t[v8]()}function _oe(e){mV.set(e,e.el.getBoundingClientRect())}function Ooe(e){const t=gV.get(e),n=mV.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${i}px)`,o.transitionDuration="0s",e}}function Toe(e,t,n){const r=e.cloneNode(),i=e[rg];i&&i.forEach(a=>{a.split(/\s+/).forEach(s=>s&&r.classList.remove(s))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:A}=hV(r);return o.removeChild(r),A}const ig=e=>{const t=e.props["onUpdate:modelValue"]||!1;return un(t)?n=>eb(t,n):t};function Uoe(e){e.target.composing=!0}function y8(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Pu=Symbol("_assign"),CHe={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[Pu]=ig(i);const o=r||i.props&&i.props.type==="number";zc(e,t?"change":"input",A=>{if(A.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=Jb(a)),e[Pu](a)}),n&&zc(e,"change",()=>{e.value=e.value.trim()}),t||(zc(e,"compositionstart",Uoe),zc(e,"compositionend",y8),zc(e,"change",y8))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:o}},A){if(e[Pu]=ig(A),e.composing)return;const a=(o||e.type==="number")&&!/^0\d/.test(e.value)?Jb(e.value):e.value,s=t??"";a!==s&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||i&&e.value.trim()===s)||(e.value=s))}},xHe={deep:!0,created(e,t,n){e[Pu]=ig(n),zc(e,"change",()=>{const r=e._modelValue,i=$m(e),o=e.checked,A=e[Pu];if(un(r)){const a=p6(r,i),s=a!==-1;if(o&&!s)A(r.concat(i));else if(!o&&s){const u=[...r];u.splice(a,1),A(u)}}else if(xg(r)){const a=new Set(r);o?a.add(i):a.delete(i),A(a)}else A(vV(e,o))})},mounted:b8,beforeUpdate(e,t,n){e[Pu]=ig(n),b8(e,t,n)}};function b8(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(un(t))i=p6(t,r.props.value)>-1;else if(xg(t))i=t.has(r.props.value);else{if(t===n)return;i=dv(t,vV(e,!0))}e.checked!==i&&(e.checked=i)}const SHe={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=xg(t);zc(e,"change",()=>{const o=Array.prototype.filter.call(e.options,A=>A.selected).map(A=>n?Jb($m(A)):$m(A));e[Pu](e.multiple?i?new Set(o):o:o[0]),e._assigning=!0,$n(()=>{e._assigning=!1})}),e[Pu]=ig(r)},mounted(e,{value:t}){w8(e,t)},beforeUpdate(e,t,n){e[Pu]=ig(n)},updated(e,{value:t}){e._assigning||w8(e,t)}};function w8(e,t){const n=e.multiple,r=un(t);if(!(n&&!r&&!xg(t))){for(let i=0,o=e.options.length;i<o;i++){const A=e.options[i],a=$m(A);if(n)if(r){const s=typeof a;s==="string"||s==="number"?A.selected=t.some(u=>String(u)===String(a)):A.selected=p6(t,a)>-1}else A.selected=t.has(a);else if(dv($m(A),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function $m(e){return"_value"in e?e._value:e.value}function vV(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Qoe=["ctrl","shift","alt","meta"],Poe={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Qoe.some(n=>e[`${n}Key`]&&!t.includes(n))},B8=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(i,...o)=>{for(let A=0;A<t.length;A++){const a=Poe[t[A]];if(a&&a(i,t))return}return e(i,...o)})},Loe={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},EHe=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=i=>{if(!("key"in i))return;const o=wf(i.key);if(t.some(A=>A===o||Loe[A]===o))return e(i)})},Doe=to({patchProp:xoe},soe);let C8;function yV(){return C8||(C8=Tie(Doe))}const ff=(...e)=>{yV().render(...e)},FHe=(...e)=>{const t=yV().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=$oe(r);if(!i)return;const o=t._component;!Tn(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const A=n(i,!1,Roe(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),A},t};function Roe(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function $oe(e){return Ci(e)?document.querySelector(e):e}var vs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Dl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Noe(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var ob={exports:{}},Hoe=ob.exports,x8;function bV(){return x8||(x8=1,function(e,t){(function(n,r){e.exports=r()})(Hoe,function(){var n=1e3,r=6e4,i=36e5,o="millisecond",A="second",a="minute",s="hour",u="day",l="week",c="month",d="quarter",f="year",g="date",h="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(E){var H=["th","st","nd","rd"],X=E%100;return"["+E+(H[(X-20)%10]||H[X]||H[0])+"]"}},y=function(E,H,X){var z=String(E);return!z||z.length>=H?E:""+Array(H+1-z.length).join(X)+E},b={s:y,z:function(E){var H=-E.utcOffset(),X=Math.abs(H),z=Math.floor(X/60),Z=X%60;return(H<=0?"+":"-")+y(z,2,"0")+":"+y(Z,2,"0")},m:function E(H,X){if(H.date()<X.date())return-E(X,H);var z=12*(X.year()-H.year())+(X.month()-H.month()),Z=H.clone().add(z,c),q=X-Z<0,te=H.clone().add(z+(q?-1:1),c);return+(-(z+(X-Z)/(q?Z-te:te-Z))||0)},a:function(E){return E<0?Math.ceil(E)||0:Math.floor(E)},p:function(E){return{M:c,y:f,w:l,d:u,D:g,h:s,m:a,s:A,ms:o,Q:d}[E]||String(E||"").toLowerCase().replace(/s$/,"")},u:function(E){return E===void 0}},w="en",C={};C[w]=v;var B="$isDayjsObject",O=function(E){return E instanceof F||!(!E||!E[B])},x=function E(H,X,z){var Z;if(!H)return w;if(typeof H=="string"){var q=H.toLowerCase();C[q]&&(Z=q),X&&(C[q]=X,Z=q);var te=H.split("-");if(!Z&&te.length>1)return E(te[0])}else{var ne=H.name;C[ne]=H,Z=ne}return!z&&Z&&(w=Z),Z||!z&&w},M=function(E,H){if(O(E))return E.clone();var X=typeof H=="object"?H:{};return X.date=E,X.args=arguments,new F(X)},R=b;R.l=x,R.i=O,R.w=function(E,H){return M(E,{locale:H.$L,utc:H.$u,x:H.$x,$offset:H.$offset})};var F=function(){function E(X){this.$L=x(X.locale,null,!0),this.parse(X),this.$x=this.$x||X.x||{},this[B]=!0}var H=E.prototype;return H.parse=function(X){this.$d=function(z){var Z=z.date,q=z.utc;if(Z===null)return new Date(NaN);if(R.u(Z))return new Date;if(Z instanceof Date)return new Date(Z);if(typeof Z=="string"&&!/Z$/i.test(Z)){var te=Z.match(m);if(te){var ne=te[2]-1||0,_=(te[7]||"0").substring(0,3);return q?new Date(Date.UTC(te[1],ne,te[3]||1,te[4]||0,te[5]||0,te[6]||0,_)):new Date(te[1],ne,te[3]||1,te[4]||0,te[5]||0,te[6]||0,_)}}return new Date(Z)}(X),this.init()},H.init=function(){var X=this.$d;this.$y=X.getFullYear(),this.$M=X.getMonth(),this.$D=X.getDate(),this.$W=X.getDay(),this.$H=X.getHours(),this.$m=X.getMinutes(),this.$s=X.getSeconds(),this.$ms=X.getMilliseconds()},H.$utils=function(){return R},H.isValid=function(){return this.$d.toString()!==h},H.isSame=function(X,z){var Z=M(X);return this.startOf(z)<=Z&&Z<=this.endOf(z)},H.isAfter=function(X,z){return M(X)<this.startOf(z)},H.isBefore=function(X,z){return this.endOf(z)<M(X)},H.$g=function(X,z,Z){return R.u(X)?this[z]:this.set(Z,X)},H.unix=function(){return Math.floor(this.valueOf()/1e3)},H.valueOf=function(){return this.$d.getTime()},H.startOf=function(X,z){var Z=this,q=!!R.u(z)||z,te=R.p(X),ne=function(Ae,ae){var ie=R.w(Z.$u?Date.UTC(Z.$y,ae,Ae):new Date(Z.$y,ae,Ae),Z);return q?ie:ie.endOf(u)},_=function(Ae,ae){return R.w(Z.toDate()[Ae].apply(Z.toDate("s"),(q?[0,0,0,0]:[23,59,59,999]).slice(ae)),Z)},Y=this.$W,re=this.$M,se=this.$D,ce="set"+(this.$u?"UTC":"");switch(te){case f:return q?ne(1,0):ne(31,11);case c:return q?ne(1,re):ne(0,re+1);case l:var N=this.$locale().weekStart||0,K=(Y<N?Y+7:Y)-N;return ne(q?se-K:se+(6-K),re);case u:case g:return _(ce+"Hours",0);case s:return _(ce+"Minutes",1);case a:return _(ce+"Seconds",2);case A:return _(ce+"Milliseconds",3);default:return this.clone()}},H.endOf=function(X){return this.startOf(X,!1)},H.$set=function(X,z){var Z,q=R.p(X),te="set"+(this.$u?"UTC":""),ne=(Z={},Z[u]=te+"Date",Z[g]=te+"Date",Z[c]=te+"Month",Z[f]=te+"FullYear",Z[s]=te+"Hours",Z[a]=te+"Minutes",Z[A]=te+"Seconds",Z[o]=te+"Milliseconds",Z)[q],_=q===u?this.$D+(z-this.$W):z;if(q===c||q===f){var Y=this.clone().set(g,1);Y.$d[ne](_),Y.init(),this.$d=Y.set(g,Math.min(this.$D,Y.daysInMonth())).$d}else ne&&this.$d[ne](_);return this.init(),this},H.set=function(X,z){return this.clone().$set(X,z)},H.get=function(X){return this[R.p(X)]()},H.add=function(X,z){var Z,q=this;X=Number(X);var te=R.p(z),ne=function(re){var se=M(q);return R.w(se.date(se.date()+Math.round(re*X)),q)};if(te===c)return this.set(c,this.$M+X);if(te===f)return this.set(f,this.$y+X);if(te===u)return ne(1);if(te===l)return ne(7);var _=(Z={},Z[a]=r,Z[s]=i,Z[A]=n,Z)[te]||1,Y=this.$d.getTime()+X*_;return R.w(Y,this)},H.subtract=function(X,z){return this.add(-1*X,z)},H.format=function(X){var z=this,Z=this.$locale();if(!this.isValid())return Z.invalidDate||h;var q=X||"YYYY-MM-DDTHH:mm:ssZ",te=R.z(this),ne=this.$H,_=this.$m,Y=this.$M,re=Z.weekdays,se=Z.months,ce=Z.meridiem,N=function(ae,ie,J,ue){return ae&&(ae[ie]||ae(z,q))||J[ie].slice(0,ue)},K=function(ae){return R.s(ne%12||12,ae,"0")},Ae=ce||function(ae,ie,J){var ue=ae<12?"AM":"PM";return J?ue.toLowerCase():ue};return q.replace(p,function(ae,ie){return ie||function(J){switch(J){case"YY":return String(z.$y).slice(-2);case"YYYY":return R.s(z.$y,4,"0");case"M":return Y+1;case"MM":return R.s(Y+1,2,"0");case"MMM":return N(Z.monthsShort,Y,se,3);case"MMMM":return N(se,Y);case"D":return z.$D;case"DD":return R.s(z.$D,2,"0");case"d":return String(z.$W);case"dd":return N(Z.weekdaysMin,z.$W,re,2);case"ddd":return N(Z.weekdaysShort,z.$W,re,3);case"dddd":return re[z.$W];case"H":return String(ne);case"HH":return R.s(ne,2,"0");case"h":return K(1);case"hh":return K(2);case"a":return Ae(ne,_,!0);case"A":return Ae(ne,_,!1);case"m":return String(_);case"mm":return R.s(_,2,"0");case"s":return String(z.$s);case"ss":return R.s(z.$s,2,"0");case"SSS":return R.s(z.$ms,3,"0");case"Z":return te}return null}(ae)||te.replace(":","")})},H.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},H.diff=function(X,z,Z){var q,te=this,ne=R.p(z),_=M(X),Y=(_.utcOffset()-this.utcOffset())*r,re=this-_,se=function(){return R.m(te,_)};switch(ne){case f:q=se()/12;break;case c:q=se();break;case d:q=se()/3;break;case l:q=(re-Y)/6048e5;break;case u:q=(re-Y)/864e5;break;case s:q=re/i;break;case a:q=re/r;break;case A:q=re/n;break;default:q=re}return Z?q:R.a(q)},H.daysInMonth=function(){return this.endOf(c).$D},H.$locale=function(){return C[this.$L]},H.locale=function(X,z){if(!X)return this.$L;var Z=this.clone(),q=x(X,z,!0);return q&&(Z.$L=q),Z},H.clone=function(){return R.w(this.$d,this)},H.toDate=function(){return new Date(this.valueOf())},H.toJSON=function(){return this.isValid()?this.toISOString():null},H.toISOString=function(){return this.$d.toISOString()},H.toString=function(){return this.$d.toUTCString()},E}(),L=F.prototype;return M.prototype=L,[["$ms",o],["$s",A],["$m",a],["$H",s],["$W",u],["$M",c],["$y",f],["$D",g]].forEach(function(E){L[E[1]]=function(H){return this.$g(H,E[0],E[1])}}),M.extend=function(E,H){return E.$i||(E(H,F,M),E.$i=!0),M},M.locale=x,M.isDayjs=O,M.unix=function(E){return M(1e3*E)},M.en=C[w],M.Ls=C,M.p={},M})}(ob)),ob.exports}var Moe=bV();const Ji=Dl(Moe),wV={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页"};function V(){return V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},V.apply(null,arguments)}const koe={locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"},BV={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]},v3={lang:V({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},koe),timePickerLocale:V({},BV)};v3.lang.ok="确定";const ZA="${label}不是一个有效的${type}",IHe={locale:"zh-cn",Pagination:wV,DatePicker:v3,TimePicker:BV,Calendar:v3,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Tour:{Next:"下一步",Previous:"上一步",Finish:"结束导览"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},PageHeader:{back:"返回"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:ZA,method:ZA,array:ZA,object:ZA,number:ZA,date:ZA,boolean:ZA,integer:ZA,float:ZA,regexp:ZA,email:ZA,url:ZA,hex:ZA},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"},QRCode:{expired:"二维码已过期",refresh:"点击刷新",scanned:"已扫描"}};function dr(e){"@babel/helpers - typeof";return dr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dr(e)}function joe(e,t){if(dr(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(dr(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Koe(e){var t=joe(e,"string");return dr(t)=="symbol"?t:t+""}function pB(e,t,n){return(t=Koe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S8(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ye(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?S8(Object(n),!0).forEach(function(r){pB(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S8(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}const Voe=e=>typeof e=="function",zoe=Array.isArray,Goe=e=>typeof e=="string",Woe=e=>e!==null&&typeof e=="object",qoe=/^on[^a-z]/,Xoe=e=>qoe.test(e),O6=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Yoe=/-(\w)/g,gv=O6(e=>e.replace(Yoe,(t,n)=>n?n.toUpperCase():"")),Joe=/\B([A-Z])/g,Zoe=O6(e=>e.replace(Joe,"-$1").toLowerCase()),eAe=O6(e=>e.charAt(0).toUpperCase()+e.slice(1)),tAe=Object.prototype.hasOwnProperty,E8=(e,t)=>tAe.call(e,t);function nAe(e,t,n,r){const i=e[n];if(i!=null){const o=E8(i,"default");if(o&&r===void 0){const A=i.default;r=i.type!==Function&&Voe(A)?A():A}i.type===Boolean&&(!E8(t,n)&&!o?r=!1:r===""&&(r=!0))}return r}function vd(e){return typeof e=="number"?`${e}px`:e}function Rp(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return typeof e=="function"?e(t):e??n}function rAe(e){let t;const n=new Promise(i=>{t=e(()=>{i(!0)})}),r=()=>{t==null||t()};return r.then=(i,o)=>n.then(i,o),r.promise=n,r}function Ze(){const e=[];for(let t=0;t<arguments.length;t++){const n=t<0||arguments.length<=t?void 0:arguments[t];if(n){if(Goe(n))e.push(n);else if(zoe(n))for(let r=0;r<n.length;r++){const i=Ze(n[r]);i&&e.push(i)}else if(Woe(n))for(const r in n)n[r]&&e.push(r)}}return e.join(" ")}var CV=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(i,o){return i[0]===n?(r=o,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),i=this.__entries__[r];return i&&i[1]},t.prototype.set=function(n,r){var i=e(this.__entries__,n);~i?this.__entries__[i][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,i=e(r,n);~i&&r.splice(i,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var i=0,o=this.__entries__;i<o.length;i++){var A=o[i];n.call(r,A[1],A[0])}},t}()}(),y3=typeof window<"u"&&typeof document<"u"&&window.document===document,sw=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),iAe=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(sw):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),oAe=2;function AAe(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&a()}function A(){iAe(o)}function a(){var s=Date.now();if(n){if(s-i<oAe)return;r=!0}else n=!0,r=!1,setTimeout(A,t);i=s}return a}var aAe=20,sAe=["top","right","bottom","left","width","height","size","weight"],lAe=typeof MutationObserver<"u",uAe=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=AAe(this.refresh.bind(this),aAe)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var n=this.observers_,r=n.indexOf(t);~r&&n.splice(r,1),!n.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(n){return n.gatherActive(),n.hasActive()});return t.forEach(function(n){return n.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!y3||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),lAe?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!y3||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,i=sAe.some(function(o){return!!~r.indexOf(o)});i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),xV=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},og=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||sw},SV=gB(0,0,0,0);function lw(e){return parseFloat(e)||0}function F8(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(r,i){var o=e["border-"+i+"-width"];return r+lw(o)},0)}function cAe(e){for(var t=["top","right","bottom","left"],n={},r=0,i=t;r<i.length;r++){var o=i[r],A=e["padding-"+o];n[o]=lw(A)}return n}function fAe(e){var t=e.getBBox();return gB(0,0,t.width,t.height)}function dAe(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return SV;var r=og(e).getComputedStyle(e),i=cAe(r),o=i.left+i.right,A=i.top+i.bottom,a=lw(r.width),s=lw(r.height);if(r.boxSizing==="border-box"&&(Math.round(a+o)!==t&&(a-=F8(r,"left","right")+o),Math.round(s+A)!==n&&(s-=F8(r,"top","bottom")+A)),!pAe(e)){var u=Math.round(a+o)-t,l=Math.round(s+A)-n;Math.abs(u)!==1&&(a-=u),Math.abs(l)!==1&&(s-=l)}return gB(i.left,i.top,a,s)}var hAe=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof og(e).SVGGraphicsElement}:function(e){return e instanceof og(e).SVGElement&&typeof e.getBBox=="function"}}();function pAe(e){return e===og(e).document.documentElement}function gAe(e){return y3?hAe(e)?fAe(e):dAe(e):SV}function mAe(e){var t=e.x,n=e.y,r=e.width,i=e.height,o=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,A=Object.create(o.prototype);return xV(A,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),A}function gB(e,t,n,r){return{x:e,y:t,width:n,height:r}}var vAe=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=gB(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=gAe(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),yAe=function(){function e(t,n){var r=mAe(n);xV(this,{target:t,contentRect:r})}return e}(),bAe=function(){function e(t,n,r){if(this.activeObservations_=[],this.observations_=new CV,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=n,this.callbackCtx_=r}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof og(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new vAe(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof og(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new yAe(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),EV=typeof WeakMap<"u"?new WeakMap:new CV,FV=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=uAe.getInstance(),r=new bAe(t,n,this);EV.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){FV.prototype[e]=function(){var t;return(t=EV.get(this))[e].apply(t,arguments)}});var IV=function(){return typeof sw.ResizeObserver<"u"?sw.ResizeObserver:FV}();const b3=e=>e!=null&&e!=="",lr=(e,t)=>{const n=V({},e);return Object.keys(t).forEach(r=>{const i=n[r];if(i)i.type||i.default?i.default=t[r]:i.def?i.def(t[r]):n[r]={type:i,default:t[r]};else throw new Error(`not have ${r} prop`)}),n},_V=e=>{const t=Object.keys(e),n={},r={},i={};for(let o=0,A=t.length;o<A;o++){const a=t[o];Xoe(a)?(n[a[2].toLowerCase()+a.slice(3)]=e[a],r[a]=e[a]):i[a]=e[a]}return{onEvents:r,events:n,extraAttrs:i}},wAe=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n={},r=/;(?![^(]*\))/g,i=/:(.+)/;return typeof e=="object"?e:(e.split(r).forEach(function(o){if(o){const A=o.split(i);if(A.length>1){const a=t?gv(A[0].trim()):A[0].trim();n[a]=A[1].trim()}}}),n)},Ip=(e,t)=>e[t]!==void 0,OV=Symbol("skipFlatten"),ui=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const n=Array.isArray(e)?e:[e],r=[];return n.forEach(i=>{Array.isArray(i)?r.push(...ui(i,t)):i&&i.type===mn?i.key===OV?r.push(i):r.push(...ui(i.children,t)):i&&Io(i)?t&&!UV(i)?r.push(i):t||r.push(i):b3(i)&&r.push(i)}),r},BAe=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(Io(e))return e.type===mn?t==="default"?ui(e.children):[]:e.children&&e.children[t]?ui(e.children[t](n)):[];{const r=e.$slots[t]&&e.$slots[t](n);return ui(r)}},bl=e=>{var t;let n=((t=e==null?void 0:e.vnode)===null||t===void 0?void 0:t.el)||e&&(e.$el||e);for(;n&&!n.tagName;)n=n.nextSibling;return n},CAe=e=>{const t={};if(e.$&&e.$.vnode){const n=e.$.vnode.props||{};Object.keys(e.$props).forEach(r=>{const i=e.$props[r],o=Zoe(r);(i!==void 0||o in n)&&(t[r]=i)})}else if(Io(e)&&typeof e.type=="object"){const n=e.props||{},r={};Object.keys(n).forEach(o=>{r[gv(o)]=n[o]});const i=e.type.props||{};Object.keys(i).forEach(o=>{const A=nAe(i,r,o,r[o]);(A!==void 0||o in r)&&(t[o]=A)})}return t},TV=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,i;if(e.$){const o=e[t];if(o!==void 0)return typeof o=="function"&&r?o(n):o;i=e.$slots[t],i=r&&i?i(n):i}else if(Io(e)){const o=e.props&&e.props[t];if(o!==void 0&&e.props!==null)return typeof o=="function"&&r?o(n):o;e.type===mn?i=e.children:e.children&&e.children[t]&&(i=e.children[t],i=r&&i?i(n):i)}return Array.isArray(i)&&(i=ui(i),i=i.length===1?i[0]:i,i=i.length===0?void 0:i),i};function I8(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,n={};return e.$?n=V(V({},n),e.$attrs):n=V(V({},n),e.props),_V(n)[t?"onEvents":"events"]}function xAe(e,t){let r=((Io(e)?e.props:e.$attrs)||{}).style||{};return typeof r=="string"&&(r=wAe(r,t)),r}function SAe(e){return e.length===1&&e[0].type===mn}function UV(e){return e&&(e.type===Xo||e.type===mn&&e.children.length===0||e.type===rh&&e.children.trim()==="")}function ho(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const t=[];return e.forEach(n=>{Array.isArray(n)?t.push(...n):(n==null?void 0:n.type)===mn?t.push(...ho(n.children)):t.push(n)}),t.filter(n=>!UV(n))}function eA(e){return Array.isArray(e)&&e.length===1&&(e=e[0]),e&&e.__v_isVNode&&typeof e.type!="symbol"}function LA(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"default";var r,i;return(r=t[n])!==null&&r!==void 0?r:(i=e[n])===null||i===void 0?void 0:i.call(e)}const ku=Je({compatConfig:{MODE:3},name:"ResizeObserver",props:{disabled:Boolean,onResize:Function},emits:["resize"],setup(e,t){let{slots:n}=t;const r=Ir({width:0,height:0,offsetHeight:0,offsetWidth:0});let i=null,o=null;const A=()=>{o&&(o.disconnect(),o=null)},a=l=>{const{onResize:c}=e,d=l[0].target,{width:f,height:g}=d.getBoundingClientRect(),{offsetWidth:h,offsetHeight:m}=d,p=Math.floor(f),v=Math.floor(g);if(r.width!==p||r.height!==v||r.offsetWidth!==h||r.offsetHeight!==m){const y={width:p,height:v,offsetWidth:h,offsetHeight:m};V(r,y),c&&Promise.resolve().then(()=>{c(V(V({},y),{offsetWidth:h,offsetHeight:m}),d)})}},s=tA(),u=()=>{const{disabled:l}=e;if(l){A();return}const c=bl(s);c!==i&&(A(),i=c),!o&&c&&(o=new IV(a),o.observe(c))};return vn(()=>{u()}),Va(()=>{u()}),za(()=>{A()}),st(()=>e.disabled,()=>{u()},{flush:"post"}),()=>{var l;return(l=n.default)===null||l===void 0?void 0:l.call(n)[0]}}});let QV=e=>setTimeout(e,16),PV=e=>clearTimeout(e);typeof window<"u"&&"requestAnimationFrame"in window&&(QV=e=>window.requestAnimationFrame(e),PV=e=>window.cancelAnimationFrame(e));let _8=0;const T6=new Map;function LV(e){T6.delete(e)}function hn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;_8+=1;const n=_8;function r(i){if(i===0)LV(n),e();else{const o=QV(()=>{r(i-1)});T6.set(n,o)}}return r(t),n}hn.cancel=e=>{const t=T6.get(e);return LV(t),PV(t)};const Tl=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t},Ga=e=>{const t=e;return t.install=function(n){n.component(t.displayName||t.name,e)},e};function Gd(){return{type:[Function,Array]}}function qt(e){return{type:Object,default:e}}function Qt(e){return{type:Boolean,default:e}}function lt(e){return{type:Function,default:e}}function wi(e,t){const n={validator:()=>!0,default:e};return n}function fr(e){return{type:Array,default:e}}function yn(e){return{type:String,default:e}}function Hn(e,t){return e?{type:e,default:t}:wi(t)}let qo=!1;try{const e=Object.defineProperty({},"passive",{get(){qo=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch{}function Aa(e,t,n,r){if(e&&e.addEventListener){let i=r;i===void 0&&qo&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(i={passive:!1}),e.addEventListener(t,n,i)}return{remove:()=>{e&&e.removeEventListener&&e.removeEventListener(t,n)}}}const U6="anticon",DV=Symbol("GlobalFormContextKey"),EAe=e=>{dn(DV,e)},FAe=()=>tn(DV,{validateMessages:fe(()=>{})}),IAe=()=>({iconPrefixCls:String,getTargetContainer:{type:Function},getPopupContainer:{type:Function},prefixCls:String,getPrefixCls:{type:Function},renderEmpty:{type:Function},transformCellText:{type:Function},csp:qt(),input:qt(),autoInsertSpaceInButton:{type:Boolean,default:void 0},locale:qt(),pageHeader:qt(),componentSize:{type:String},componentDisabled:{type:Boolean,default:void 0},direction:{type:String,default:"ltr"},space:qt(),virtual:{type:Boolean,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},form:qt(),pagination:qt(),theme:qt(),select:qt(),wave:qt()}),Q6=Symbol("configProvider"),RV={getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:fe(()=>U6),getPopupContainer:fe(()=>()=>document.body),direction:fe(()=>"ltr")},P6=()=>tn(Q6,RV),_Ae=e=>dn(Q6,e),$V=Symbol("DisabledContextKey"),xs=()=>tn($V,qe(void 0)),NV=e=>{const t=xs();return dn($V,fe(()=>{var n;return(n=e.value)!==null&&n!==void 0?n:t.value})),e},HV={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages"},OAe={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},MV={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},uw={lang:V({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},OAe),timePickerLocale:V({},MV)},ea="${label} is not a valid ${type}",Ss={locale:"en",Pagination:HV,DatePicker:uw,TimePicker:MV,Calendar:uw,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:ea,method:ea,array:ea,object:ea,number:ea,date:ea,boolean:ea,integer:ea,float:ea,regexp:ea,email:ea,url:ea,hex:ea},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"}},kV=Je({compatConfig:{MODE:3},name:"LocaleReceiver",props:{componentName:String,defaultLocale:{type:[Object,Function]},children:{type:Function}},setup(e,t){let{slots:n}=t;const r=tn("localeData",{}),i=fe(()=>{const{componentName:A="global",defaultLocale:a}=e,s=a||Ss[A||"global"],{antLocale:u}=r,l=A&&u?u[A]:{};return V(V({},typeof s=="function"?s():s),l||{})}),o=fe(()=>{const{antLocale:A}=r,a=A&&A.locale;return A&&A.exist&&!a?Ss.locale:a});return()=>{const A=e.children||n.default,{antLocale:a}=r;return A==null?void 0:A(i.value,o.value,a)}}});function Rl(e,t,n){const r=tn("localeData",{});return[fe(()=>{const{antLocale:o}=r,A=ni(t)||Ss[e||"global"],a=e&&o?o[e]:{};return V(V(V({},typeof A=="function"?A():A),a||{}),ni(n)||{})})]}function L6(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}const O8="%";class TAe{constructor(t){this.cache=new Map,this.instanceId=t}get(t){return this.cache.get(Array.isArray(t)?t.join(O8):t)||null}update(t,n){const r=Array.isArray(t)?t.join(O8):t,i=this.cache.get(r),o=n(i);o===null?this.cache.delete(r):this.cache.set(r,o)}}const jV="data-token-hash",Pd="data-css-hash",$p="__cssinjs_instance__";function Nm(){const e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${Pd}]`)||[],{firstChild:n}=document.head;Array.from(t).forEach(i=>{i[$p]=i[$p]||e,i[$p]===e&&document.head.insertBefore(i,n)});const r={};Array.from(document.querySelectorAll(`style[${Pd}]`)).forEach(i=>{var o;const A=i.getAttribute(Pd);r[A]?i[$p]===e&&((o=i.parentNode)===null||o===void 0||o.removeChild(i)):r[A]=!0})}return new TAe(e)}const KV=Symbol("StyleContextKey"),UAe=()=>{var e,t,n;const r=tA();let i;if(r&&r.appContext){const o=(n=(t=(e=r.appContext)===null||e===void 0?void 0:e.config)===null||t===void 0?void 0:t.globalProperties)===null||n===void 0?void 0:n.__ANTDV_CSSINJS_CACHE__;o?i=o:(i=Nm(),r.appContext.config.globalProperties&&(r.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__=i))}else i=Nm();return i},VV={cache:Nm(),defaultCache:!0,hashPriority:"low"},mB=()=>{const e=UAe();return tn(KV,Me(V(V({},VV),{cache:e})))},QAe=e=>{const t=mB(),n=Me(V(V({},VV),{cache:Nm()}));return st([()=>ni(e),t],()=>{const r=V({},t.value),i=ni(e);Object.keys(i).forEach(A=>{const a=i[A];i[A]!==void 0&&(r[A]=a)});const{cache:o}=i;r.cache=r.cache||Nm(),r.defaultCache=!o&&t.value.defaultCache,n.value=r},{immediate:!0}),dn(KV,n),n},PAe=()=>({autoClear:Qt(),mock:yn(),cache:qt(),defaultCache:Qt(),hashPriority:yn(),container:Hn(),ssrInline:Qt(),transformers:fr(),linters:fr()});Ga(Je({name:"AStyleProvider",inheritAttrs:!1,props:PAe(),setup(e,t){let{slots:n}=t;return QAe(e),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}));function zV(e,t,n,r){const i=mB(),o=Me(""),A=Me();ln(()=>{o.value=[e,...t.value].join("%")});const a=s=>{i.value.cache.update(s,u=>{const[l=0,c]=u||[];return l-1===0?(r==null||r(c,!1),null):[l-1,c]})};return st(o,(s,u)=>{u&&a(u),i.value.cache.update(s,l=>{const[c=0,d]=l||[],g=d||n();return[c+1,g]}),A.value=i.value.cache.get(o.value)[1]},{immediate:!0}),En(()=>{a(o.value)}),A}function $A(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Gc(e,t){return e&&e.contains?e.contains(t):!1}const T8="data-vc-order",LAe="vc-util-key",w3=new Map;function GV(){let{mark:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e?e.startsWith("data-")?e:`data-${e}`:LAe}function vB(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function DAe(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function WV(e){return Array.from((w3.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function qV(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!$A())return null;const{csp:n,prepend:r}=t,i=document.createElement("style");i.setAttribute(T8,DAe(r)),n!=null&&n.nonce&&(i.nonce=n==null?void 0:n.nonce),i.innerHTML=e;const o=vB(t),{firstChild:A}=o;if(r){if(r==="queue"){const a=WV(o).filter(s=>["prepend","prependQueue"].includes(s.getAttribute(T8)));if(a.length)return o.insertBefore(i,a[a.length-1].nextSibling),i}o.insertBefore(i,A)}else o.appendChild(i);return i}function XV(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=vB(t);return WV(n).find(r=>r.getAttribute(GV(t))===e)}function cw(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=XV(e,t);n&&vB(t).removeChild(n)}function RAe(e,t){const n=w3.get(e);if(!n||!Gc(document,n)){const r=qV("",t),{parentNode:i}=r;w3.set(e,i),e.removeChild(r)}}function Hm(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var r,i,o;const A=vB(n);RAe(A,n);const a=XV(t,n);if(a)return!((r=n.csp)===null||r===void 0)&&r.nonce&&a.nonce!==((i=n.csp)===null||i===void 0?void 0:i.nonce)&&(a.nonce=(o=n.csp)===null||o===void 0?void 0:o.nonce),a.innerHTML!==e&&(a.innerHTML=e),a;const s=qV(e,n);return s.setAttribute(GV(n),t),s}function $Ae(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}class Ag{constructor(){this.cache=new Map,this.keys=[],this.cacheCallTimes=0}size(){return this.keys.length}internalGet(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r={map:this.cache};return t.forEach(i=>{var o;r?r=(o=r==null?void 0:r.map)===null||o===void 0?void 0:o.get(i):r=void 0}),r!=null&&r.value&&n&&(r.value[1]=this.cacheCallTimes++),r==null?void 0:r.value}get(t){var n;return(n=this.internalGet(t,!0))===null||n===void 0?void 0:n[0]}has(t){return!!this.internalGet(t)}set(t,n){if(!this.has(t)){if(this.size()+1>Ag.MAX_CACHE_SIZE+Ag.MAX_CACHE_OFFSET){const[i]=this.keys.reduce((o,A)=>{const[,a]=o;return this.internalGet(A)[1]<a?[A,this.internalGet(A)[1]]:o},[this.keys[0],this.cacheCallTimes]);this.delete(i)}this.keys.push(t)}let r=this.cache;t.forEach((i,o)=>{if(o===t.length-1)r.set(i,{value:[n,this.cacheCallTimes++]});else{const A=r.get(i);A?A.map||(A.map=new Map):r.set(i,{map:new Map}),r=r.get(i).map}})}deleteByPath(t,n){var r;const i=t.get(n[0]);if(n.length===1)return i.map?t.set(n[0],{map:i.map}):t.delete(n[0]),(r=i.value)===null||r===void 0?void 0:r[0];const o=this.deleteByPath(i.map,n.slice(1));return(!i.map||i.map.size===0)&&!i.value&&t.delete(n[0]),o}delete(t){if(this.has(t))return this.keys=this.keys.filter(n=>!$Ae(n,t)),this.deleteByPath(this.cache,t)}}Ag.MAX_CACHE_SIZE=20;Ag.MAX_CACHE_OFFSET=5;let U8={};function NAe(e,t){}function HAe(e,t){}function YV(e,t,n){!t&&!U8[n]&&(e(!1,n),U8[n]=!0)}function D6(e,t){YV(NAe,e,t)}function MAe(e,t){YV(HAe,e,t)}function kAe(){}let Xu=kAe,Q8=0;class JV{constructor(t){this.derivatives=Array.isArray(t)?t:[t],this.id=Q8,t.length===0&&Xu(t.length>0),Q8+=1}getDerivativeToken(t){return this.derivatives.reduce((n,r)=>r(t,n),void 0)}}const Y2=new Ag;function ZV(e){const t=Array.isArray(e)?e:[e];return Y2.has(t)||Y2.set(t,new JV(t)),Y2.get(t)}const P8=new WeakMap;function fw(e){let t=P8.get(e)||"";return t||(Object.keys(e).forEach(n=>{const r=e[n];t+=n,r instanceof JV?t+=r.id:r&&typeof r=="object"?t+=fw(r):t+=r}),P8.set(e,t)),t}function jAe(e,t){return L6(`${t}_${fw(e)}`)}const am=`random-${Date.now()}-${Math.random()}`.replace(/\./g,""),ez="_bAmBoO_";function KAe(e,t,n){var r,i;if($A()){Hm(e,am);const o=document.createElement("div");o.style.position="fixed",o.style.left="0",o.style.top="0",t==null||t(o),document.body.appendChild(o);const A=n?n(o):(r=getComputedStyle(o).content)===null||r===void 0?void 0:r.includes(ez);return(i=o.parentNode)===null||i===void 0||i.removeChild(o),cw(am),A}return!1}let J2;function VAe(){return J2===void 0&&(J2=KAe(`@layer ${am} { .${am} { content: "${ez}"!important; } }`,e=>{e.className=am})),J2}const L8={},zAe="css",yd=new Map;function GAe(e){yd.set(e,(yd.get(e)||0)+1)}function WAe(e,t){typeof document<"u"&&document.querySelectorAll(`style[${jV}="${e}"]`).forEach(r=>{var i;r[$p]===t&&((i=r.parentNode)===null||i===void 0||i.removeChild(r))})}const qAe=0;function XAe(e,t){yd.set(e,(yd.get(e)||0)-1);const n=Array.from(yd.keys()),r=n.filter(i=>(yd.get(i)||0)<=0);n.length-r.length>qAe&&r.forEach(i=>{WAe(i,t),yd.delete(i)})}const YAe=(e,t,n,r)=>{const i=n.getDerivativeToken(e);let o=V(V({},i),t);return r&&(o=r(o)),o};function JAe(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:qe({});const r=mB(),i=fe(()=>V({},...t.value)),o=fe(()=>fw(i.value)),A=fe(()=>fw(n.value.override||L8));return zV("token",fe(()=>[n.value.salt||"",e.value.id,o.value,A.value]),()=>{const{salt:s="",override:u=L8,formatToken:l,getComputedToken:c}=n.value,d=c?c(i.value,u,e.value):YAe(i.value,u,e.value,l),f=jAe(d,s);d._tokenKey=f,GAe(f);const g=`${zAe}-${L6(f)}`;return d._hashId=g,[d,g]},s=>{var u;XAe(s[0]._tokenKey,(u=r.value)===null||u===void 0?void 0:u.cache.instanceId)})}var ZAe={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},tz="comm",nz="rule",rz="decl",eae="@import",tae="@keyframes",nae="@layer",iz=Math.abs,R6=String.fromCharCode;function oz(e){return e.trim()}function Ab(e,t,n){return e.replace(t,n)}function rae(e,t,n){return e.indexOf(t,n)}function Mm(e,t){return e.charCodeAt(t)|0}function ag(e,t,n){return e.slice(t,n)}function gl(e){return e.length}function iae(e){return e.length}function M1(e,t){return t.push(e),e}var yB=1,sg=1,Az=0,Ha=0,Gi=0,Sg="";function $6(e,t,n,r,i,o,A,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:yB,column:sg,length:A,return:"",siblings:a}}function oae(){return Gi}function Aae(){return Gi=Ha>0?Mm(Sg,--Ha):0,sg--,Gi===10&&(sg=1,yB--),Gi}function bs(){return Gi=Ha<Az?Mm(Sg,Ha++):0,sg++,Gi===10&&(sg=1,yB++),Gi}function Yc(){return Mm(Sg,Ha)}function ab(){return Ha}function bB(e,t){return ag(Sg,e,t)}function km(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function aae(e){return yB=sg=1,Az=gl(Sg=e),Ha=0,[]}function sae(e){return Sg="",e}function Z2(e){return oz(bB(Ha-1,B3(e===91?e+2:e===40?e+1:e)))}function lae(e){for(;(Gi=Yc())&&Gi<33;)bs();return km(e)>2||km(Gi)>3?"":" "}function uae(e,t){for(;--t&&bs()&&!(Gi<48||Gi>102||Gi>57&&Gi<65||Gi>70&&Gi<97););return bB(e,ab()+(t<6&&Yc()==32&&bs()==32))}function B3(e){for(;bs();)switch(Gi){case e:return Ha;case 34:case 39:e!==34&&e!==39&&B3(Gi);break;case 40:e===41&&B3(e);break;case 92:bs();break}return Ha}function cae(e,t){for(;bs()&&e+Gi!==57;)if(e+Gi===84&&Yc()===47)break;return"/*"+bB(t,Ha-1)+"*"+R6(e===47?e:bs())}function fae(e){for(;!km(Yc());)bs();return bB(e,Ha)}function dae(e){return sae(sb("",null,null,null,[""],e=aae(e),0,[0],e))}function sb(e,t,n,r,i,o,A,a,s){for(var u=0,l=0,c=A,d=0,f=0,g=0,h=1,m=1,p=1,v=0,y="",b=i,w=o,C=r,B=y;m;)switch(g=v,v=bs()){case 40:if(g!=108&&Mm(B,c-1)==58){rae(B+=Ab(Z2(v),"&","&\f"),"&\f",iz(u?a[u-1]:0))!=-1&&(p=-1);break}case 34:case 39:case 91:B+=Z2(v);break;case 9:case 10:case 13:case 32:B+=lae(g);break;case 92:B+=uae(ab()-1,7);continue;case 47:switch(Yc()){case 42:case 47:M1(hae(cae(bs(),ab()),t,n,s),s),(km(g||1)==5||km(Yc()||1)==5)&&gl(B)&&ag(B,-1,void 0)!==" "&&(B+=" ");break;default:B+="/"}break;case 123*h:a[u++]=gl(B)*p;case 125*h:case 59:case 0:switch(v){case 0:case 125:m=0;case 59+l:p==-1&&(B=Ab(B,/\f/g,"")),f>0&&(gl(B)-c||h===0&&g===47)&&M1(f>32?R8(B+";",r,n,c-1,s):R8(Ab(B," ","")+";",r,n,c-2,s),s);break;case 59:B+=";";default:if(M1(C=D8(B,t,n,u,l,i,a,y,b=[],w=[],c,o),o),v===123)if(l===0)sb(B,t,C,C,b,o,c,a,w);else switch(d===99&&Mm(B,3)===110?100:d){case 100:case 108:case 109:case 115:sb(e,C,C,r&&M1(D8(e,C,C,0,0,i,a,y,i,b=[],c,w),w),i,w,c,a,r?b:w);break;default:sb(B,C,C,C,[""],w,0,a,w)}}u=l=f=0,h=p=1,y=B="",c=A;break;case 58:c=1+gl(B),f=g;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&Aae()==125)continue}switch(B+=R6(v),v*h){case 38:p=l>0?1:(B+="\f",-1);break;case 44:a[u++]=(gl(B)-1)*p,p=1;break;case 64:Yc()===45&&(B+=Z2(bs())),d=Yc(),l=c=gl(y=B+=fae(ab())),v++;break;case 45:g===45&&gl(B)==2&&(h=0)}}return o}function D8(e,t,n,r,i,o,A,a,s,u,l,c){for(var d=i-1,f=i===0?o:[""],g=iae(f),h=0,m=0,p=0;h<r;++h)for(var v=0,y=ag(e,d+1,d=iz(m=A[h])),b=e;v<g;++v)(b=oz(m>0?f[v]+" "+y:Ab(y,/&\f/g,f[v])))&&(s[p++]=b);return $6(e,t,n,i===0?nz:a,s,u,l,c)}function hae(e,t,n,r){return $6(e,t,n,tz,R6(oae()),ag(e,2,-2),0,r)}function R8(e,t,n,r,i){return $6(e,t,n,rz,ag(e,0,r),ag(e,r+1,-1),r,i)}function C3(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function pae(e,t,n,r){switch(e.type){case nae:if(e.children.length)break;case eae:case rz:return e.return=e.return||e.value;case tz:return"";case tae:return e.return=e.value+"{"+C3(e.children,r)+"}";case nz:if(!gl(e.value=e.props.join(",")))return""}return gl(n=C3(e.children,r))?e.return=e.value+"{"+n+"}":""}const $8="data-ant-cssinjs-cache-path",gae="_FILE_STYLE__";let Ld,az=!0;function mae(){var e;if(!Ld&&(Ld={},$A())){const t=document.createElement("div");t.className=$8,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);let n=getComputedStyle(t).content||"";n=n.replace(/^"/,"").replace(/"$/,""),n.split(";").forEach(i=>{const[o,A]=i.split(":");Ld[o]=A});const r=document.querySelector(`style[${$8}]`);r&&(az=!1,(e=r.parentNode)===null||e===void 0||e.removeChild(r)),document.body.removeChild(t)}}function vae(e){return mae(),!!Ld[e]}function yae(e){const t=Ld[e];let n=null;if(t&&$A())if(az)n=gae;else{const r=document.querySelector(`style[${Pd}="${Ld[e]}"]`);r?n=r.innerHTML:delete Ld[e]}return[n,t]}const N8=$A(),bae="_skip_check_",sz="_multi_value_";function H8(e){return C3(dae(e),pae).replace(/\{%%%\:[^;];}/g,";")}function wae(e){return typeof e=="object"&&e&&(bae in e||sz in e)}function Bae(e,t,n){if(!t)return e;const r=`.${t}`,i=n==="low"?`:where(${r})`:r;return e.split(",").map(A=>{var a;const s=A.trim().split(/\s+/);let u=s[0]||"";const l=((a=u.match(/^\w+/))===null||a===void 0?void 0:a[0])||"";return u=`${l}${i}${u.slice(l.length)}`,[u,...s.slice(1)].join(" ")}).join(",")}const M8=new Set,x3=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{root:n,injectHash:r,parentSelectors:i}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]};const{hashId:o,layer:A,path:a,hashPriority:s,transformers:u=[],linters:l=[]}=t;let c="",d={};function f(m){const p=m.getName(o);if(!d[p]){const[v]=x3(m.style,t,{root:!1,parentSelectors:i});d[p]=`@keyframes ${m.getName(o)}${v}`}}function g(m){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return m.forEach(v=>{Array.isArray(v)?g(v,p):v&&p.push(v)}),p}if(g(Array.isArray(e)?e:[e]).forEach(m=>{const p=typeof m=="string"&&!n?{}:m;if(typeof p=="string")c+=`${p}
- `;else if(p._keyframe)f(p);else{const v=u.reduce((y,b)=>{var w;return((w=b==null?void 0:b.visit)===null||w===void 0?void 0:w.call(b,y))||y},p);Object.keys(v).forEach(y=>{var b;const w=v[y];if(typeof w=="object"&&w&&(y!=="animationName"||!w._keyframe)&&!wae(w)){let C=!1,B=y.trim(),O=!1;(n||r)&&o?B.startsWith("@")?C=!0:B=Bae(y,o,s):n&&!o&&(B==="&"||B==="")&&(B="",O=!0);const[x,M]=x3(w,t,{root:O,injectHash:C,parentSelectors:[...i,B]});d=V(V({},d),M),c+=`${B}${x}`}else{let C=function(O,x){const M=O.replace(/[A-Z]/g,F=>`-${F.toLowerCase()}`);let R=x;!ZAe[O]&&typeof R=="number"&&R!==0&&(R=`${R}px`),O==="animationName"&&(x!=null&&x._keyframe)&&(f(x),R=x.getName(o)),c+=`${M}:${R};`};const B=(b=w==null?void 0:w.value)!==null&&b!==void 0?b:w;typeof w=="object"&&(w!=null&&w[sz])&&Array.isArray(B)?B.forEach(O=>{C(y,O)}):C(y,B)}})}}),!n)c=`{${c}}`;else if(A&&VAe()){const m=A.split(",");c=`@layer ${m[m.length-1].trim()} {${c}}`,m.length>1&&(c=`@layer ${A}{%%%:%}${c}`)}return[c,d]};function Cae(e,t){return L6(`${e.join("%")}${t}`)}function S3(e,t){const n=mB(),r=fe(()=>e.value.token._tokenKey),i=fe(()=>[r.value,...e.value.path]);let o=N8;return zV("style",i,()=>{const{path:A,hashId:a,layer:s,nonce:u,clientOnly:l,order:c=0}=e.value,d=i.value.join("|");if(vae(d)){const[B,O]=yae(d);if(B)return[B,r.value,O,{},l,c]}const f=t(),{hashPriority:g,container:h,transformers:m,linters:p,cache:v}=n.value,[y,b]=x3(f,{hashId:a,hashPriority:g,layer:s,path:A.join("-"),transformers:m,linters:p}),w=H8(y),C=Cae(i.value,w);if(o){const B={mark:Pd,prepend:"queue",attachTo:h,priority:c},O=typeof u=="function"?u():u;O&&(B.csp={nonce:O});const x=Hm(w,C,B);x[$p]=v.instanceId,x.setAttribute(jV,r.value),Object.keys(b).forEach(M=>{M8.has(M)||(M8.add(M),Hm(H8(b[M]),`_effect-${M}`,{mark:Pd,prepend:"queue",attachTo:h}))})}return[w,r.value,C,b,l,c]},(A,a)=>{let[,,s]=A;(a||n.value.autoClear)&&N8&&cw(s,{mark:Pd})}),A=>A}class Un{constructor(t,n){this._keyframe=!0,this.name=t,this.style=n}getName(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return t?`${t}-${this.name}`:this.name}}function ap(e){return e.notSplit=!0,e}ap(["borderTop","borderBottom"]),ap(["borderTop"]),ap(["borderBottom"]),ap(["borderLeft","borderRight"]),ap(["borderLeft"]),ap(["borderRight"]);const xae="4.2.6",jm=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function _o(e,t){Sae(e)&&(e="100%");var n=Eae(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function k1(e){return Math.min(1,Math.max(0,e))}function Sae(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Eae(e){return typeof e=="string"&&e.indexOf("%")!==-1}function lz(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function j1(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Sd(e){return e.length===1?"0"+e:String(e)}function Fae(e,t,n){return{r:_o(e,255)*255,g:_o(t,255)*255,b:_o(n,255)*255}}function k8(e,t,n){e=_o(e,255),t=_o(t,255),n=_o(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,A=0,a=(r+i)/2;if(r===i)A=0,o=0;else{var s=r-i;switch(A=a>.5?s/(2-r-i):s/(r+i),r){case e:o=(t-n)/s+(t<n?6:0);break;case t:o=(n-e)/s+2;break;case n:o=(e-t)/s+4;break}o/=6}return{h:o,s:A,l:a}}function ex(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Iae(e,t,n){var r,i,o;if(e=_o(e,360),t=_o(t,100),n=_o(n,100),t===0)i=n,o=n,r=n;else{var A=n<.5?n*(1+t):n+t-n*t,a=2*n-A;r=ex(a,A,e+1/3),i=ex(a,A,e),o=ex(a,A,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function E3(e,t,n){e=_o(e,255),t=_o(t,255),n=_o(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,A=r,a=r-i,s=r===0?0:a/r;if(r===i)o=0;else{switch(r){case e:o=(t-n)/a+(t<n?6:0);break;case t:o=(n-e)/a+2;break;case n:o=(e-t)/a+4;break}o/=6}return{h:o,s,v:A}}function _ae(e,t,n){e=_o(e,360)*6,t=_o(t,100),n=_o(n,100);var r=Math.floor(e),i=e-r,o=n*(1-t),A=n*(1-i*t),a=n*(1-(1-i)*t),s=r%6,u=[n,A,o,o,a,n][s],l=[a,n,n,A,o,o][s],c=[o,o,a,n,n,A][s];return{r:u*255,g:l*255,b:c*255}}function F3(e,t,n,r){var i=[Sd(Math.round(e).toString(16)),Sd(Math.round(t).toString(16)),Sd(Math.round(n).toString(16))];return r&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function Oae(e,t,n,r,i){var o=[Sd(Math.round(e).toString(16)),Sd(Math.round(t).toString(16)),Sd(Math.round(n).toString(16)),Sd(Tae(r))];return i&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function Tae(e){return Math.round(parseFloat(e)*255).toString(16)}function j8(e){return na(e)/255}function na(e){return parseInt(e,16)}function Uae(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var I3={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function _p(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,o=null,A=!1,a=!1;return typeof e=="string"&&(e=Lae(e)),typeof e=="object"&&(gu(e.r)&&gu(e.g)&&gu(e.b)?(t=Fae(e.r,e.g,e.b),A=!0,a=String(e.r).substr(-1)==="%"?"prgb":"rgb"):gu(e.h)&&gu(e.s)&&gu(e.v)?(r=j1(e.s),i=j1(e.v),t=_ae(e.h,r,i),A=!0,a="hsv"):gu(e.h)&&gu(e.s)&&gu(e.l)&&(r=j1(e.s),o=j1(e.l),t=Iae(e.h,r,o),A=!0,a="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=lz(n),{ok:A,format:e.format||a,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var Qae="[-\\+]?\\d+%?",Pae="[-\\+]?\\d*\\.\\d+%?",Jc="(?:".concat(Pae,")|(?:").concat(Qae,")"),tx="[\\s|\\(]+(".concat(Jc,")[,|\\s]+(").concat(Jc,")[,|\\s]+(").concat(Jc,")\\s*\\)?"),nx="[\\s|\\(]+(".concat(Jc,")[,|\\s]+(").concat(Jc,")[,|\\s]+(").concat(Jc,")[,|\\s]+(").concat(Jc,")\\s*\\)?"),fs={CSS_UNIT:new RegExp(Jc),rgb:new RegExp("rgb"+tx),rgba:new RegExp("rgba"+nx),hsl:new RegExp("hsl"+tx),hsla:new RegExp("hsla"+nx),hsv:new RegExp("hsv"+tx),hsva:new RegExp("hsva"+nx),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Lae(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(I3[e])e=I3[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=fs.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=fs.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=fs.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=fs.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=fs.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=fs.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=fs.hex8.exec(e),n?{r:na(n[1]),g:na(n[2]),b:na(n[3]),a:j8(n[4]),format:t?"name":"hex8"}:(n=fs.hex6.exec(e),n?{r:na(n[1]),g:na(n[2]),b:na(n[3]),format:t?"name":"hex"}:(n=fs.hex4.exec(e),n?{r:na(n[1]+n[1]),g:na(n[2]+n[2]),b:na(n[3]+n[3]),a:j8(n[4]+n[4]),format:t?"name":"hex8"}:(n=fs.hex3.exec(e),n?{r:na(n[1]+n[1]),g:na(n[2]+n[2]),b:na(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function gu(e){return!!fs.CSS_UNIT.exec(String(e))}var Lr=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=Uae(t)),this.originalInput=t;var i=_p(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,i,o=t.r/255,A=t.g/255,a=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),A<=.03928?r=A/12.92:r=Math.pow((A+.055)/1.055,2.4),a<=.03928?i=a/12.92:i=Math.pow((a+.055)/1.055,2.4),.2126*n+.7152*r+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=lz(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=E3(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=E3(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=k8(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=k8(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),F3(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Oae(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(_o(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(_o(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+F3(this.r,this.g,this.b,!1),n=0,r=Object.entries(I3);n<r.length;n++){var i=r[n],o=i[0],A=i[1];if(t===A)return o}return!1},e.prototype.toString=function(t){var n=!!t;t=t??this.format;var r=!1,i=this.a<1&&this.a>=0,o=!n&&i&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=k1(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=k1(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=k1(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=k1(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),o=n/100,A={r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a};return new e(A)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,o=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,o=n.v,A=[],a=1/t;t--;)A.push(new e({h:r,s:i,v:o})),o=(o+a)%1;return A},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),i=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],o=360/t,A=1;A<t;A++)i.push(new e({h:(r+A*o)%360,s:n.s,l:n.l}));return i},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}(),K1=2,K8=.16,Dae=.05,Rae=.05,$ae=.15,uz=5,cz=4,Nae=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function V8(e){var t=e.r,n=e.g,r=e.b,i=E3(t,n,r);return{h:i.h*360,s:i.s,v:i.v}}function V1(e){var t=e.r,n=e.g,r=e.b;return"#".concat(F3(t,n,r,!1))}function Hae(e,t,n){var r=n/100,i={r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b};return i}function z8(e,t,n){var r;return Math.round(e.h)>=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-K1*t:Math.round(e.h)+K1*t:r=n?Math.round(e.h)+K1*t:Math.round(e.h)-K1*t,r<0?r+=360:r>=360&&(r-=360),r}function G8(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-K8*t:t===cz?r=e.s+K8:r=e.s+Dae*t,r>1&&(r=1),n&&t===uz&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function W8(e,t,n){var r;return n?r=e.v+Rae*t:r=e.v-$ae*t,r>1&&(r=1),Number(r.toFixed(2))}function Wd(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=_p(e),i=uz;i>0;i-=1){var o=V8(r),A=V1(_p({h:z8(o,i,!0),s:G8(o,i,!0),v:W8(o,i,!0)}));n.push(A)}n.push(V1(r));for(var a=1;a<=cz;a+=1){var s=V8(r),u=V1(_p({h:z8(s,a),s:G8(s,a),v:W8(s,a)}));n.push(u)}return t.theme==="dark"?Nae.map(function(l){var c=l.index,d=l.opacity,f=V1(Hae(_p(t.backgroundColor||"#141414"),_p(n[c]),d*100));return f}):n}var zp={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},lb={},rx={};Object.keys(zp).forEach(function(e){lb[e]=Wd(zp[e]),lb[e].primary=lb[e][5],rx[e]=Wd(zp[e],{theme:"dark",backgroundColor:"#141414"}),rx[e].primary=rx[e][5]});var Mae=lb.blue;const kae=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function jae(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const fz={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},wB=V(V({},fz),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
- 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
- 'Noto Color Emoji'`,fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1});function Kae(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:i,colorWarning:o,colorError:A,colorInfo:a,colorPrimary:s,colorBgBase:u,colorTextBase:l}=e,c=n(s),d=n(i),f=n(o),g=n(A),h=n(a),m=r(u,l);return V(V({},m),{colorPrimaryBg:c[1],colorPrimaryBgHover:c[2],colorPrimaryBorder:c[3],colorPrimaryBorderHover:c[4],colorPrimaryHover:c[5],colorPrimary:c[6],colorPrimaryActive:c[7],colorPrimaryTextHover:c[8],colorPrimaryText:c[9],colorPrimaryTextActive:c[10],colorSuccessBg:d[1],colorSuccessBgHover:d[2],colorSuccessBorder:d[3],colorSuccessBorderHover:d[4],colorSuccessHover:d[4],colorSuccess:d[6],colorSuccessActive:d[7],colorSuccessTextHover:d[8],colorSuccessText:d[9],colorSuccessTextActive:d[10],colorErrorBg:g[1],colorErrorBgHover:g[2],colorErrorBorder:g[3],colorErrorBorderHover:g[4],colorErrorHover:g[5],colorError:g[6],colorErrorActive:g[7],colorErrorTextHover:g[8],colorErrorText:g[9],colorErrorTextActive:g[10],colorWarningBg:f[1],colorWarningBgHover:f[2],colorWarningBorder:f[3],colorWarningBorderHover:f[4],colorWarningHover:f[4],colorWarning:f[6],colorWarningActive:f[7],colorWarningTextHover:f[8],colorWarningText:f[9],colorWarningTextActive:f[10],colorInfoBg:h[1],colorInfoBgHover:h[2],colorInfoBorder:h[3],colorInfoBorderHover:h[4],colorInfoHover:h[4],colorInfo:h[6],colorInfoActive:h[7],colorInfoTextHover:h[8],colorInfoText:h[9],colorInfoTextActive:h[10],colorBgMask:new Lr("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const Vae=e=>{let t=e,n=e,r=e,i=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?i=4:e>=8&&(i=6),{borderRadius:e>16?16:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:i}};function zae(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:i}=e;return V({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:i+1},Vae(r))}const mu=(e,t)=>new Lr(e).setAlpha(t).toRgbString(),w0=(e,t)=>new Lr(e).darken(t).toHexString(),Gae=e=>{const t=Wd(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},Wae=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:mu(r,.88),colorTextSecondary:mu(r,.65),colorTextTertiary:mu(r,.45),colorTextQuaternary:mu(r,.25),colorFill:mu(r,.15),colorFillSecondary:mu(r,.06),colorFillTertiary:mu(r,.04),colorFillQuaternary:mu(r,.02),colorBgLayout:w0(n,4),colorBgContainer:w0(n,0),colorBgElevated:w0(n,0),colorBgSpotlight:mu(r,.85),colorBorder:w0(n,15),colorBorderSecondary:w0(n,6)}};function qae(e){const t=new Array(10).fill(null).map((n,r)=>{const i=r-1,o=e*Math.pow(2.71828,i/5),A=r>1?Math.floor(o):Math.ceil(o);return Math.floor(A/2)*2});return t[1]=e,t.map(n=>{const r=n+8;return{size:n,lineHeight:r/n}})}const Xae=e=>{const t=qae(e),n=t.map(i=>i.size),r=t.map(i=>i.lineHeight);return{fontSizeSM:n[0],fontSize:n[1],fontSizeLG:n[2],fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:r[1],lineHeightLG:r[2],lineHeightSM:r[0],lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function Yae(e){const t=Object.keys(fz).map(n=>{const r=Wd(e[n]);return new Array(10).fill(1).reduce((i,o,A)=>(i[`${n}-${A+1}`]=r[A],i),{})}).reduce((n,r)=>(n=V(V({},n),r),n),{});return V(V(V(V(V(V(V({},e),t),Kae(e,{generateColorPalettes:Gae,generateNeutralColorPalettes:Wae})),Xae(e.fontSize)),jae(e)),kae(e)),zae(e))}function ix(e){return e>=0&&e<=255}function z1(e,t){const{r:n,g:r,b:i,a:o}=new Lr(e).toRgb();if(o<1)return e;const{r:A,g:a,b:s}=new Lr(t).toRgb();for(let u=.01;u<=1;u+=.01){const l=Math.round((n-A*(1-u))/u),c=Math.round((r-a*(1-u))/u),d=Math.round((i-s*(1-u))/u);if(ix(l)&&ix(c)&&ix(d))return new Lr({r:l,g:c,b:d,a:Math.round(u*100)/100}).toRgbString()}return new Lr({r:n,g:r,b:i,a:1}).toRgbString()}var Jae=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function Zae(e){const{override:t}=e,n=Jae(e,["override"]),r=V({},t);Object.keys(wB).forEach(f=>{delete r[f]});const i=V(V({},n),r),o=480,A=576,a=768,s=992,u=1200,l=1600,c=2e3;return V(V(V({},i),{colorLink:i.colorInfoText,colorLinkHover:i.colorInfoHover,colorLinkActive:i.colorInfoActive,colorFillContent:i.colorFillSecondary,colorFillContentHover:i.colorFill,colorFillAlter:i.colorFillQuaternary,colorBgContainerDisabled:i.colorFillTertiary,colorBorderBg:i.colorBgContainer,colorSplit:z1(i.colorBorderSecondary,i.colorBgContainer),colorTextPlaceholder:i.colorTextQuaternary,colorTextDisabled:i.colorTextQuaternary,colorTextHeading:i.colorText,colorTextLabel:i.colorTextSecondary,colorTextDescription:i.colorTextTertiary,colorTextLightSolid:i.colorWhite,colorHighlight:i.colorError,colorBgTextHover:i.colorFillSecondary,colorBgTextActive:i.colorFill,colorIcon:i.colorTextTertiary,colorIconHover:i.colorText,colorErrorOutline:z1(i.colorErrorBg,i.colorBgContainer),colorWarningOutline:z1(i.colorWarningBg,i.colorBgContainer),fontSizeIcon:i.fontSizeSM,lineWidth:i.lineWidth,controlOutlineWidth:i.lineWidth*2,controlInteractiveSize:i.controlHeight/2,controlItemBgHover:i.colorFillTertiary,controlItemBgActive:i.colorPrimaryBg,controlItemBgActiveHover:i.colorPrimaryBgHover,controlItemBgActiveDisabled:i.colorFill,controlTmpOutline:i.colorFillQuaternary,controlOutline:z1(i.colorPrimaryBg,i.colorBgContainer),lineType:i.lineType,borderRadius:i.borderRadius,borderRadiusXS:i.borderRadiusXS,borderRadiusSM:i.borderRadiusSM,borderRadiusLG:i.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:i.sizeXXS,paddingXS:i.sizeXS,paddingSM:i.sizeSM,padding:i.size,paddingMD:i.sizeMD,paddingLG:i.sizeLG,paddingXL:i.sizeXL,paddingContentHorizontalLG:i.sizeLG,paddingContentVerticalLG:i.sizeMS,paddingContentHorizontal:i.sizeMS,paddingContentVertical:i.sizeSM,paddingContentHorizontalSM:i.size,paddingContentVerticalSM:i.sizeXS,marginXXS:i.sizeXXS,marginXS:i.sizeXS,marginSM:i.sizeSM,margin:i.size,marginMD:i.sizeMD,marginLG:i.sizeLG,marginXL:i.sizeXL,marginXXL:i.sizeXXL,boxShadow:`
- 0 1px 2px 0 rgba(0, 0, 0, 0.03),
- 0 1px 6px -1px rgba(0, 0, 0, 0.02),
- 0 2px 4px 0 rgba(0, 0, 0, 0.02)
- `,boxShadowSecondary:`
- 0 6px 16px 0 rgba(0, 0, 0, 0.08),
- 0 3px 6px -4px rgba(0, 0, 0, 0.12),
- 0 9px 28px 8px rgba(0, 0, 0, 0.05)
- `,boxShadowTertiary:`
- 0 1px 2px 0 rgba(0, 0, 0, 0.03),
- 0 1px 6px -1px rgba(0, 0, 0, 0.02),
- 0 2px 4px 0 rgba(0, 0, 0, 0.02)
- `,screenXS:o,screenXSMin:o,screenXSMax:A-1,screenSM:A,screenSMMin:A,screenSMMax:a-1,screenMD:a,screenMDMin:a,screenMDMax:s-1,screenLG:s,screenLGMin:s,screenLGMax:u-1,screenXL:u,screenXLMin:u,screenXLMax:l-1,screenXXL:l,screenXXLMin:l,screenXXLMax:c-1,screenXXXL:c,screenXXXLMin:c,boxShadowPopoverArrow:"3px 3px 7px rgba(0, 0, 0, 0.1)",boxShadowCard:`
- 0 1px 2px -2px ${new Lr("rgba(0, 0, 0, 0.16)").toRgbString()},
- 0 3px 6px 0 ${new Lr("rgba(0, 0, 0, 0.12)").toRgbString()},
- 0 5px 12px 4px ${new Lr("rgba(0, 0, 0, 0.09)").toRgbString()}
- `,boxShadowDrawerRight:`
- -6px 0 16px 0 rgba(0, 0, 0, 0.08),
- -3px 0 6px -4px rgba(0, 0, 0, 0.12),
- -9px 0 28px 8px rgba(0, 0, 0, 0.05)
- `,boxShadowDrawerLeft:`
- 6px 0 16px 0 rgba(0, 0, 0, 0.08),
- 3px 0 6px -4px rgba(0, 0, 0, 0.12),
- 9px 0 28px 8px rgba(0, 0, 0, 0.05)
- `,boxShadowDrawerUp:`
- 0 6px 16px 0 rgba(0, 0, 0, 0.08),
- 0 3px 6px -4px rgba(0, 0, 0, 0.12),
- 0 9px 28px 8px rgba(0, 0, 0, 0.05)
- `,boxShadowDrawerDown:`
- 0 -6px 16px 0 rgba(0, 0, 0, 0.08),
- 0 -3px 6px -4px rgba(0, 0, 0, 0.12),
- 0 -9px 28px 8px rgba(0, 0, 0, 0.05)
- `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}const ese=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),N6=(e,t,n,r,i)=>{const o=e/2,A=0,a=o,s=n*1/Math.sqrt(2),u=o-n*(1-1/Math.sqrt(2)),l=o-t*(1/Math.sqrt(2)),c=n*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),d=2*o-l,f=c,g=2*o-s,h=u,m=2*o-A,p=a,v=o*Math.sqrt(2)+n*(Math.sqrt(2)-2),y=n*(Math.sqrt(2)-1);return{pointerEvents:"none",width:e,height:e,overflow:"hidden","&::after":{content:'""',position:"absolute",width:v,height:v,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${t}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:i,zIndex:0,background:"transparent"},"&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:e,height:e/2,background:r,clipPath:{_multi_value_:!0,value:[`polygon(${y}px 100%, 50% ${y}px, ${2*o-y}px 100%, ${y}px 100%)`,`path('M ${A} ${a} A ${n} ${n} 0 0 0 ${s} ${u} L ${l} ${c} A ${t} ${t} 0 0 1 ${d} ${f} L ${g} ${h} A ${n} ${n} 0 0 0 ${m} ${p} Z')`]},content:'""'}}};function dz(e,t){return jm.reduce((n,r)=>{const i=e[`${r}-1`],o=e[`${r}-3`],A=e[`${r}-6`],a=e[`${r}-7`];return V(V({},n),t(r,{lightColor:i,lightBorderColor:o,darkColor:A,textColor:a}))},{})}const ju={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},qn=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),mv=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),qd=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),tse=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),nse=(e,t)=>{const{fontFamily:n,fontSize:r}=e,i=`[class^="${t}"], [class*=" ${t}"]`;return{[i]:{fontFamily:n,fontSize:r,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[i]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},Ku=e=>({outline:`${e.lineWidthBold}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),df=e=>({"&:focus-visible":V({},Ku(e))});function or(e,t,n){return r=>{const i=fe(()=>r==null?void 0:r.value),[o,A,a]=Eg(),{getPrefixCls:s,iconPrefixCls:u}=P6(),l=fe(()=>s()),c=fe(()=>({theme:o.value,token:A.value,hashId:a.value,path:["Shared",l.value]}));S3(c,()=>[{"&":tse(A.value)}]);const d=fe(()=>({theme:o.value,token:A.value,hashId:a.value,path:[e,i.value,u.value]}));return[S3(d,()=>{const{token:f,flush:g}=ise(A.value),h=typeof n=="function"?n(f):n,m=V(V({},h),A.value[e]),p=`.${i.value}`,v=_n(f,{componentCls:p,prefixCls:i.value,iconCls:`.${u.value}`,antCls:`.${l.value}`},m),y=t(v,{hashId:a.value,prefixCls:i.value,rootPrefixCls:l.value,iconPrefixCls:u.value,overrideComponentToken:A.value[e]});return g(e,m),[nse(A.value,i.value),y]}),a]}}const hz=typeof CSSINJS_STATISTIC<"u";let _3=!0;function _n(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!hz)return V({},...t);_3=!1;const r={};return t.forEach(i=>{Object.keys(i).forEach(A=>{Object.defineProperty(r,A,{configurable:!0,enumerable:!0,get:()=>i[A]})})}),_3=!0,r}function rse(){}function ise(e){let t,n=e,r=rse;return hz&&(t=new Set,n=new Proxy(e,{get(i,o){return _3&&t.add(o),i[o]}}),r=(i,o)=>{Array.from(t)}),{token:n,keys:t,flush:r}}const ose=ZV(Yae),pz={token:wB,hashed:!0},gz=Symbol("DesignTokenContext"),O3=Me(),Ase=e=>{dn(gz,e),st(e,()=>{O3.value=ni(e),yK(O3)},{immediate:!0,deep:!0})},ase=Je({props:{value:qt()},setup(e,t){let{slots:n}=t;return Ase(fe(()=>e.value)),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}});function Eg(){const e=tn(gz,fe(()=>O3.value||pz)),t=fe(()=>`${xae}-${e.value.hashed||""}`),n=fe(()=>e.value.theme||ose),r=JAe(n,fe(()=>[wB,e.value.token]),fe(()=>({salt:t.value,override:V({override:e.value.token},e.value.components),formatToken:Zae})));return[n,fe(()=>r.value[0]),fe(()=>e.value.hashed?r.value[1]:"")]}const H6=Je({compatConfig:{MODE:3},setup(){const[,e]=Eg(),t=fe(()=>new Lr(e.value.colorBgBase).toHsl().l<.5?{opacity:.65}:{});return()=>$("svg",{style:t.value,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},[$("g",{fill:"none","fill-rule":"evenodd"},[$("g",{transform:"translate(24 31.67)"},[$("ellipse",{"fill-opacity":".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"},null),$("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"},null),$("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"},null),$("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"},null),$("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"},null)]),$("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"},null),$("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},[$("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"},null),$("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"},null)])])])}});H6.PRESENTED_IMAGE_DEFAULT=!0;const mz=Je({compatConfig:{MODE:3},setup(){const[,e]=Eg(),t=fe(()=>{const{colorFill:n,colorFillTertiary:r,colorFillQuaternary:i,colorBgContainer:o}=e.value;return{borderColor:new Lr(n).onBackground(o).toHexString(),shadowColor:new Lr(r).onBackground(o).toHexString(),contentColor:new Lr(i).onBackground(o).toHexString()}});return()=>$("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},[$("g",{transform:"translate(0 1)",fill:"none","fill-rule":"evenodd"},[$("ellipse",{fill:t.value.shadowColor,cx:"32",cy:"33",rx:"32",ry:"7"},null),$("g",{"fill-rule":"nonzero",stroke:t.value.borderColor},[$("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"},null),$("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:t.value.contentColor},null)])])])}});mz.PRESENTED_IMAGE_SIMPLE=!0;const sse=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:i,fontSize:o,lineHeight:A}=e;return{[t]:{marginInline:r,fontSize:o,lineHeight:A,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{height:"100%",margin:"auto"}},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:i,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},lse=or("Empty",e=>{const{componentCls:t,controlHeightLG:n}=e,r=_n(e,{emptyImgCls:`${t}-img`,emptyImgHeight:n*2.5,emptyImgHeightMD:n,emptyImgHeightSM:n*.875});return[sse(r)]});var use=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const cse=()=>({prefixCls:String,imageStyle:qt(),image:wi(),description:wi()}),M6=Je({name:"AEmpty",compatConfig:{MODE:3},inheritAttrs:!1,props:cse(),setup(e,t){let{slots:n={},attrs:r}=t;const{direction:i,prefixCls:o}=An("empty",e),[A,a]=lse(o);return()=>{var s,u;const l=o.value,c=V(V({},e),r),{image:d=((s=n.image)===null||s===void 0?void 0:s.call(n))||Mu(H6),description:f=((u=n.description)===null||u===void 0?void 0:u.call(n))||void 0,imageStyle:g,class:h=""}=c,m=use(c,["image","description","imageStyle","class"]),p=typeof d=="function"?d():d,v=typeof p=="object"&&"type"in p&&p.type.PRESENTED_IMAGE_SIMPLE;return A($(kV,{componentName:"Empty",children:y=>{const b=typeof f<"u"?f:y.description,w=typeof b=="string"?b:"empty";let C=null;return typeof p=="string"?C=$("img",{alt:w,src:p},null):C=p,$("div",ye({class:Ze(l,h,a.value,{[`${l}-normal`]:v,[`${l}-rtl`]:i.value==="rtl"})},m),[$("div",{class:`${l}-image`,style:g},[C]),b&&$("p",{class:`${l}-description`},[b]),n.default&&$("div",{class:`${l}-footer`},[ho(n.default())])])}},null))}}});M6.PRESENTED_IMAGE_DEFAULT=()=>Mu(H6);M6.PRESENTED_IMAGE_SIMPLE=()=>Mu(mz);const bd=Ga(M6),k6=e=>{const{prefixCls:t}=An("empty",e);return(r=>{switch(r){case"Table":case"List":return $(bd,{image:bd.PRESENTED_IMAGE_SIMPLE},null);case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return $(bd,{image:bd.PRESENTED_IMAGE_SIMPLE,class:`${t.value}-small`},null);default:return $(bd,null,null)}})(e.componentName)};function fse(e){return $(k6,{componentName:e},null)}const vz=Symbol("SizeContextKey"),yz=()=>tn(vz,qe(void 0)),bz=e=>{const t=yz();return dn(vz,fe(()=>e.value||t.value)),e},An=(e,t)=>{const n=yz(),r=xs(),i=tn(Q6,V(V({},RV),{renderEmpty:B=>Mu(k6,{componentName:B})})),o=fe(()=>i.getPrefixCls(e,t.prefixCls)),A=fe(()=>{var B,O;return(B=t.direction)!==null&&B!==void 0?B:(O=i.direction)===null||O===void 0?void 0:O.value}),a=fe(()=>{var B;return(B=t.iconPrefixCls)!==null&&B!==void 0?B:i.iconPrefixCls.value}),s=fe(()=>i.getPrefixCls()),u=fe(()=>{var B;return(B=i.autoInsertSpaceInButton)===null||B===void 0?void 0:B.value}),l=i.renderEmpty,c=i.space,d=i.pageHeader,f=i.form,g=fe(()=>{var B,O;return(B=t.getTargetContainer)!==null&&B!==void 0?B:(O=i.getTargetContainer)===null||O===void 0?void 0:O.value}),h=fe(()=>{var B,O,x;return(O=(B=t.getContainer)!==null&&B!==void 0?B:t.getPopupContainer)!==null&&O!==void 0?O:(x=i.getPopupContainer)===null||x===void 0?void 0:x.value}),m=fe(()=>{var B,O;return(B=t.dropdownMatchSelectWidth)!==null&&B!==void 0?B:(O=i.dropdownMatchSelectWidth)===null||O===void 0?void 0:O.value}),p=fe(()=>{var B;return(t.virtual===void 0?((B=i.virtual)===null||B===void 0?void 0:B.value)!==!1:t.virtual!==!1)&&m.value!==!1}),v=fe(()=>t.size||n.value),y=fe(()=>{var B,O,x;return(B=t.autocomplete)!==null&&B!==void 0?B:(x=(O=i.input)===null||O===void 0?void 0:O.value)===null||x===void 0?void 0:x.autocomplete}),b=fe(()=>{var B;return(B=t.disabled)!==null&&B!==void 0?B:r.value}),w=fe(()=>{var B;return(B=t.csp)!==null&&B!==void 0?B:i.csp}),C=fe(()=>{var B,O;return(B=t.wave)!==null&&B!==void 0?B:(O=i.wave)===null||O===void 0?void 0:O.value});return{configProvider:i,prefixCls:o,direction:A,size:v,getTargetContainer:g,getPopupContainer:h,space:c,pageHeader:d,form:f,autoInsertSpaceInButton:u,renderEmpty:l,virtual:p,dropdownMatchSelectWidth:m,rootPrefixCls:s,getPrefixCls:i.getPrefixCls,autocomplete:y,csp:w,iconPrefixCls:a,disabled:b,select:i.select,wave:C}};function _r(e,t){const n=V({},e);for(let r=0;r<t.length;r+=1){const i=t[r];delete n[i]}return n}function q8(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function X8(e,t){return(!t||e!=="hidden")&&e!=="visible"&&e!=="clip"}function ox(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return X8(n.overflowY,t)||X8(n.overflowX,t)||function(r){var i=function(o){if(!o.ownerDocument||!o.ownerDocument.defaultView)return null;try{return o.ownerDocument.defaultView.frameElement}catch{return null}}(r);return!!i&&(i.clientHeight<r.scrollHeight||i.clientWidth<r.scrollWidth)}(e)}return!1}function G1(e,t,n,r,i,o,A,a){return o<e&&A>t||o>e&&A<t?0:o<=e&&a<=n||A>=t&&a>=n?o-e-r:A>t&&a<n||o<e&&a>n?A-t+i:0}var Y8=function(e,t){var n=window,r=t.scrollMode,i=t.block,o=t.inline,A=t.boundary,a=t.skipOverflowHiddenElements,s=typeof A=="function"?A:function(G){return G!==A};if(!q8(e))throw new TypeError("Invalid target");for(var u,l,c=document.scrollingElement||document.documentElement,d=[],f=e;q8(f)&&s(f);){if((f=(l=(u=f).parentElement)==null?u.getRootNode().host||null:l)===c){d.push(f);break}f!=null&&f===document.body&&ox(f)&&!ox(document.documentElement)||f!=null&&ox(f,a)&&d.push(f)}for(var g=n.visualViewport?n.visualViewport.width:innerWidth,h=n.visualViewport?n.visualViewport.height:innerHeight,m=window.scrollX||pageXOffset,p=window.scrollY||pageYOffset,v=e.getBoundingClientRect(),y=v.height,b=v.width,w=v.top,C=v.right,B=v.bottom,O=v.left,x=i==="start"||i==="nearest"?w:i==="end"?B:w+y/2,M=o==="center"?O+b/2:o==="end"?C:O,R=[],F=0;F<d.length;F++){var L=d[F],E=L.getBoundingClientRect(),H=E.height,X=E.width,z=E.top,Z=E.right,q=E.bottom,te=E.left;if(r==="if-needed"&&w>=0&&O>=0&&B<=h&&C<=g&&w>=z&&B<=q&&O>=te&&C<=Z)return R;var ne=getComputedStyle(L),_=parseInt(ne.borderLeftWidth,10),Y=parseInt(ne.borderTopWidth,10),re=parseInt(ne.borderRightWidth,10),se=parseInt(ne.borderBottomWidth,10),ce=0,N=0,K="offsetWidth"in L?L.offsetWidth-L.clientWidth-_-re:0,Ae="offsetHeight"in L?L.offsetHeight-L.clientHeight-Y-se:0,ae="offsetWidth"in L?L.offsetWidth===0?0:X/L.offsetWidth:0,ie="offsetHeight"in L?L.offsetHeight===0?0:H/L.offsetHeight:0;if(c===L)ce=i==="start"?x:i==="end"?x-h:i==="nearest"?G1(p,p+h,h,Y,se,p+x,p+x+y,y):x-h/2,N=o==="start"?M:o==="center"?M-g/2:o==="end"?M-g:G1(m,m+g,g,_,re,m+M,m+M+b,b),ce=Math.max(0,ce+p),N=Math.max(0,N+m);else{ce=i==="start"?x-z-Y:i==="end"?x-q+se+Ae:i==="nearest"?G1(z,q,H,Y,se+Ae,x,x+y,y):x-(z+H/2)+Ae/2,N=o==="start"?M-te-_:o==="center"?M-(te+X/2)+K/2:o==="end"?M-Z+re+K:G1(te,Z,X,_,re+K,M,M+b,b);var J=L.scrollLeft,ue=L.scrollTop;x+=ue-(ce=Math.max(0,Math.min(ue+ce/ie,L.scrollHeight-H/ie+Ae))),M+=J-(N=Math.max(0,Math.min(J+N/ae,L.scrollWidth-X/ae+K)))}R.push({el:L,top:ce,left:N})}return R};function wz(e){return e===Object(e)&&Object.keys(e).length!==0}function dse(e,t){t===void 0&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach(function(r){var i=r.el,o=r.top,A=r.left;i.scroll&&n?i.scroll({top:o,left:A,behavior:t}):(i.scrollTop=o,i.scrollLeft=A)})}function hse(e){return e===!1?{block:"end",inline:"nearest"}:wz(e)?e:{block:"start",inline:"nearest"}}function pse(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(wz(t)&&typeof t.behavior=="function")return t.behavior(n?Y8(e,t):[]);if(n){var r=hse(t);return dse(Y8(e,r),r.behavior)}}function gse(e,t,n,r){const i=n-t;return e/=r/2,e<1?i/2*e*e*e+t:i/2*((e-=2)*e*e+2)+t}function T3(e){return e!=null&&e===e.window}function mse(e,t){var n,r;if(typeof window>"u")return 0;const i="scrollTop";let o=0;return T3(e)?o=e.scrollY:e instanceof Document?o=e.documentElement[i]:(e instanceof HTMLElement||e)&&(o=e[i]),e&&!T3(e)&&typeof o!="number"&&(o=(r=((n=e.ownerDocument)!==null&&n!==void 0?n:e).documentElement)===null||r===void 0?void 0:r[i]),o}function vse(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:r,duration:i=450}=t,o=n(),A=mse(o),a=Date.now(),s=()=>{const l=Date.now()-a,c=gse(l>i?i:l,A,e,i);T3(o)?o.scrollTo(window.scrollX,c):o instanceof Document?o.documentElement.scrollTop=c:o.scrollTop=c,l<i?hn(s):typeof r=="function"&&r()};hn(s)}function yse(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Bz(e,t,n){return n&&yse(e,n),e}function ub(){return(ub=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Cz(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function xz(e,t){if(e==null)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}function J8(e){return((t=e)!=null&&typeof t=="object"&&Array.isArray(t)===!1)==1&&Object.prototype.toString.call(e)==="[object Object]";var t}var Sz=Object.prototype,Ez=Sz.toString,bse=Sz.hasOwnProperty,Fz=/^\s*function (\w+)/;function Z8(e){var t,n=(t=e==null?void 0:e.type)!==null&&t!==void 0?t:e;if(n){var r=n.toString().match(Fz);return r?r[1]:""}return""}var Xd=function(e){var t,n;return J8(e)!==!1&&typeof(t=e.constructor)=="function"&&J8(n=t.prototype)!==!1&&n.hasOwnProperty("isPrototypeOf")!==!1},wse=function(e){return e},mA=wse,Km=function(e,t){return bse.call(e,t)},Bse=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e},lg=Array.isArray||function(e){return Ez.call(e)==="[object Array]"},ug=function(e){return Ez.call(e)==="[object Function]"},dw=function(e){return Xd(e)&&Km(e,"_vueTypes_name")},Iz=function(e){return Xd(e)&&(Km(e,"type")||["_vueTypes_name","validator","default","required"].some(function(t){return Km(e,t)}))};function j6(e,t){return Object.defineProperty(e.bind(t),"__original",{value:e})}function ih(e,t,n){var r;n===void 0&&(n=!1);var i=!0,o="";r=Xd(e)?e:{type:e};var A=dw(r)?r._vueTypes_name+" - ":"";if(Iz(r)&&r.type!==null){if(r.type===void 0||r.type===!0||!r.required&&t===void 0)return i;lg(r.type)?(i=r.type.some(function(c){return ih(c,t,!0)===!0}),o=r.type.map(function(c){return Z8(c)}).join(" or ")):i=(o=Z8(r))==="Array"?lg(t):o==="Object"?Xd(t):o==="String"||o==="Number"||o==="Boolean"||o==="Function"?function(c){if(c==null)return"";var d=c.constructor.toString().match(Fz);return d?d[1]:""}(t)===o:t instanceof r.type}if(!i){var a=A+'value "'+t+'" should be of type "'+o+'"';return n===!1?(mA(a),!1):a}if(Km(r,"validator")&&ug(r.validator)){var s=mA,u=[];if(mA=function(c){u.push(c)},i=r.validator(t),mA=s,!i){var l=(u.length>1?"* ":"")+u.join(`
- * `);return u.length=0,n===!1?(mA(l),i):l}}return i}function fa(e,t){var n=Object.defineProperties(t,{_vueTypes_name:{value:e,writable:!0},isRequired:{get:function(){return this.required=!0,this}},def:{value:function(i){return i!==void 0||this.default?ug(i)||ih(this,i,!0)===!0?(this.default=lg(i)?function(){return[].concat(i)}:Xd(i)?function(){return Object.assign({},i)}:i,this):(mA(this._vueTypes_name+' - invalid default value: "'+i+'"'),this):this}}}),r=n.validator;return ug(r)&&(n.validator=j6(r,n)),n}function Ul(e,t){var n=fa(e,t);return Object.defineProperty(n,"validate",{value:function(r){return ug(this.validator)&&mA(this._vueTypes_name+` - calling .validate() will overwrite the current custom validator function. Validator info:
- `+JSON.stringify(this)),this.validator=j6(r,this),this}})}function eP(e,t,n){var r,i,o=(r=t,i={},Object.getOwnPropertyNames(r).forEach(function(c){i[c]=Object.getOwnPropertyDescriptor(r,c)}),Object.defineProperties({},i));if(o._vueTypes_name=e,!Xd(n))return o;var A,a,s=n.validator,u=xz(n,["validator"]);if(ug(s)){var l=o.validator;l&&(l=(a=(A=l).__original)!==null&&a!==void 0?a:A),o.validator=j6(l?function(c){return l.call(this,c)&&s.call(this,c)}:s,o)}return Object.assign(o,u)}function BB(e){return e.replace(/^(?!\s*$)/gm," ")}var Cse=function(){return Ul("any",{})},xse=function(){return Ul("function",{type:Function})},Sse=function(){return Ul("boolean",{type:Boolean})},Ese=function(){return Ul("string",{type:String})},Fse=function(){return Ul("number",{type:Number})},Ise=function(){return Ul("array",{type:Array})},_se=function(){return Ul("object",{type:Object})},Ose=function(){return fa("integer",{type:Number,validator:function(e){return Bse(e)}})},Tse=function(){return fa("symbol",{validator:function(e){return typeof e=="symbol"}})};function Use(e,t){if(t===void 0&&(t="custom validation failed"),typeof e!="function")throw new TypeError("[VueTypes error]: You must provide a function as argument");return fa(e.name||"<<anonymous function>>",{validator:function(n){var r=e(n);return r||mA(this._vueTypes_name+" - "+t),r}})}function Qse(e){if(!lg(e))throw new TypeError("[VueTypes error]: You must provide an array as argument.");var t='oneOf - value should be one of "'+e.join('", "')+'".',n=e.reduce(function(r,i){if(i!=null){var o=i.constructor;r.indexOf(o)===-1&&r.push(o)}return r},[]);return fa("oneOf",{type:n.length>0?n:void 0,validator:function(r){var i=e.indexOf(r)!==-1;return i||mA(t),i}})}function Pse(e){if(!lg(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");for(var t=!1,n=[],r=0;r<e.length;r+=1){var i=e[r];if(Iz(i)){if(dw(i)&&i._vueTypes_name==="oneOf"){n=n.concat(i.type);continue}if(ug(i.validator)&&(t=!0),i.type!==!0&&i.type){n=n.concat(i.type);continue}}n.push(i)}return n=n.filter(function(o,A){return n.indexOf(o)===A}),fa("oneOfType",t?{type:n,validator:function(o){var A=[],a=e.some(function(s){var u=ih(dw(s)&&s._vueTypes_name==="oneOf"?s.type||null:s,o,!0);return typeof u=="string"&&A.push(u),u===!0});return a||mA("oneOfType - provided value does not match any of the "+A.length+` passed-in validators:
- `+BB(A.join(`
- `))),a}}:{type:n})}function Lse(e){return fa("arrayOf",{type:Array,validator:function(t){var n,r=t.every(function(i){return(n=ih(e,i,!0))===!0});return r||mA(`arrayOf - value validation error:
- `+BB(n)),r}})}function Dse(e){return fa("instanceOf",{type:e})}function Rse(e){return fa("objectOf",{type:Object,validator:function(t){var n,r=Object.keys(t).every(function(i){return(n=ih(e,t[i],!0))===!0});return r||mA(`objectOf - value validation error:
- `+BB(n)),r}})}function $se(e){var t=Object.keys(e),n=t.filter(function(i){var o;return!!(!((o=e[i])===null||o===void 0)&&o.required)}),r=fa("shape",{type:Object,validator:function(i){var o=this;if(!Xd(i))return!1;var A=Object.keys(i);if(n.length>0&&n.some(function(s){return A.indexOf(s)===-1})){var a=n.filter(function(s){return A.indexOf(s)===-1});return mA(a.length===1?'shape - required property "'+a[0]+'" is not defined.':'shape - required properties "'+a.join('", "')+'" are not defined.'),!1}return A.every(function(s){if(t.indexOf(s)===-1)return o._vueTypes_isLoose===!0||(mA('shape - shape definition does not include a "'+s+'" property. Allowed keys: "'+t.join('", "')+'".'),!1);var u=ih(e[s],i[s],!0);return typeof u=="string"&&mA('shape - "'+s+`" property validation error:
- `+BB(u)),u===!0})}});return Object.defineProperty(r,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(r,"loose",{get:function(){return this._vueTypes_isLoose=!0,this}}),r}var cl=function(){function e(){}return e.extend=function(t){var n=this;if(lg(t))return t.forEach(function(c){return n.extend(c)}),this;var r=t.name,i=t.validate,o=i!==void 0&&i,A=t.getter,a=A!==void 0&&A,s=xz(t,["name","validate","getter"]);if(Km(this,r))throw new TypeError('[VueTypes error]: Type "'+r+'" already defined');var u,l=s.type;return dw(l)?(delete s.type,Object.defineProperty(this,r,a?{get:function(){return eP(r,l,s)}}:{value:function(){var c,d=eP(r,l,s);return d.validator&&(d.validator=(c=d.validator).bind.apply(c,[d].concat([].slice.call(arguments)))),d}})):(u=a?{get:function(){var c=Object.assign({},s);return o?Ul(r,c):fa(r,c)},enumerable:!0}:{value:function(){var c,d,f=Object.assign({},s);return c=o?Ul(r,f):fa(r,f),f.validator&&(c.validator=(d=f.validator).bind.apply(d,[c].concat([].slice.call(arguments)))),c},enumerable:!0},Object.defineProperty(this,r,u))},Bz(e,null,[{key:"any",get:function(){return Cse()}},{key:"func",get:function(){return xse().def(this.defaults.func)}},{key:"bool",get:function(){return Sse().def(this.defaults.bool)}},{key:"string",get:function(){return Ese().def(this.defaults.string)}},{key:"number",get:function(){return Fse().def(this.defaults.number)}},{key:"array",get:function(){return Ise().def(this.defaults.array)}},{key:"object",get:function(){return _se().def(this.defaults.object)}},{key:"integer",get:function(){return Ose().def(this.defaults.integer)}},{key:"symbol",get:function(){return Tse()}}]),e}();function _z(e){var t;return e===void 0&&(e={func:function(){},bool:!0,string:"",number:0,array:function(){return[]},object:function(){return{}},integer:0}),(t=function(n){function r(){return n.apply(this,arguments)||this}return Cz(r,n),Bz(r,null,[{key:"sensibleDefaults",get:function(){return ub({},this.defaults)},set:function(i){this.defaults=i!==!1?ub({},i!==!0?i:e):{}}}]),r}(cl)).defaults=ub({},e),t}cl.defaults={},cl.custom=Use,cl.oneOf=Qse,cl.instanceOf=Dse,cl.oneOfType=Pse,cl.arrayOf=Lse,cl.objectOf=Rse,cl.shape=$se,cl.utils={validate:function(e,t){return ih(t,e,!0)===!0},toType:function(e,t,n){return n===void 0&&(n=!1),n?Ul(e,t):fa(e,t)}};(function(e){function t(){return e.apply(this,arguments)||this}return Cz(t,e),t})(_z());const He=_z({func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0});He.extend([{name:"looseBool",getter:!0,type:Boolean,default:void 0},{name:"style",getter:!0,type:[String,Object],default:void 0},{name:"VueNode",getter:!0,type:null}]);const Xr=(e,t,n)=>{D6(e,`[ant-design-vue: ${t}] ${n}`)};function tP(e,t){const{key:n}=e;let r;return"value"in e&&({value:r}=e),n??(r!==void 0?r:`rc-index-key-${t}`)}function Oz(e,t){const{label:n,value:r,options:i}=e||{};return{label:n||(t?"children":"label"),value:r||"value",options:i||"options"}}function Nse(e){let{fieldNames:t,childrenAsData:n}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=[],{label:i,value:o,options:A}=Oz(t,!1);function a(s,u){s.forEach(l=>{const c=l[i];if(u||!(A in l)){const d=l[o];r.push({key:tP(l,r.length),groupOption:u,data:l,label:c,value:d})}else{let d=c;d===void 0&&n&&(d=l.label),r.push({key:tP(l,r.length),group:!0,data:l,label:d}),a(l[A],!0)}})}return a(e,!1),r}function U3(e){const t=V({},e);return"props"in t||Object.defineProperty(t,"props",{get(){return t}}),t}function Hse(e,t){if(!t||!t.length)return null;let n=!1;function r(o,A){let[a,...s]=A;if(!a)return[o];const u=o.split(a);return n=n||u.length>1,u.reduce((l,c)=>[...l,...r(c,s)],[]).filter(l=>l)}const i=r(e,t);return n?i:null}function Mse(){return""}function kse(e){return e?e.ownerDocument:window.document}function Tz(){}const jse=()=>({action:He.oneOfType([He.string,He.arrayOf(He.string)]).def([]),showAction:He.any.def([]),hideAction:He.any.def([]),getPopupClassNameFromAlign:He.any.def(Mse),onPopupVisibleChange:Function,afterPopupVisibleChange:He.func.def(Tz),popup:He.any,arrow:He.bool.def(!0),popupStyle:{type:Object,default:void 0},prefixCls:He.string.def("rc-trigger-popup"),popupClassName:He.string.def(""),popupPlacement:String,builtinPlacements:He.object,popupTransitionName:String,popupAnimation:He.any,mouseEnterDelay:He.number.def(0),mouseLeaveDelay:He.number.def(.1),zIndex:Number,focusDelay:He.number.def(0),blurDelay:He.number.def(.15),getPopupContainer:Function,getDocument:He.func.def(kse),forceRender:{type:Boolean,default:void 0},destroyPopupOnHide:{type:Boolean,default:!1},mask:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},popupAlign:He.object.def(()=>({})),popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},maskTransitionName:String,maskAnimation:String,stretch:String,alignPoint:{type:Boolean,default:void 0},autoDestroy:{type:Boolean,default:!1},mobile:Object,getTriggerDOMNode:Function}),K6={visible:Boolean,prefixCls:String,zIndex:Number,destroyPopupOnHide:Boolean,forceRender:Boolean,arrow:{type:Boolean,default:!0},animation:[String,Object],transitionName:String,stretch:{type:String},align:{type:Object},point:{type:Object},getRootDomNode:{type:Function},getClassNameFromAlign:{type:Function},onAlign:{type:Function},onMouseenter:{type:Function},onMouseleave:{type:Function},onMousedown:{type:Function},onTouchstart:{type:Function}},Kse=V(V({},K6),{mobile:{type:Object}}),Vse=V(V({},K6),{mask:Boolean,mobile:{type:Object},maskAnimation:String,maskTransitionName:String});function V6(e){let{prefixCls:t,animation:n,transitionName:r}=e;return n?{name:`${t}-${n}`}:r?{name:r}:{}}function Uz(e){const{prefixCls:t,visible:n,zIndex:r,mask:i,maskAnimation:o,maskTransitionName:A}=e;if(!i)return null;let a={};return(A||o)&&(a=V6({prefixCls:t,transitionName:A,animation:o})),$(ca,ye({appear:!0},a),{default:()=>[Cs($("div",{style:{zIndex:r},class:`${t}-mask`},null),[[hie("if"),n]])]})}Uz.displayName="Mask";const zse=Je({compatConfig:{MODE:3},name:"MobilePopupInner",inheritAttrs:!1,props:Kse,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(e,t){let{expose:n,slots:r}=t;const i=qe();return n({forceAlign:()=>{},getElement:()=>i.value}),()=>{var o;const{zIndex:A,visible:a,prefixCls:s,mobile:{popupClassName:u,popupStyle:l,popupMotion:c={},popupRender:d}={}}=e,f=V({zIndex:A},l);let g=ui((o=r.default)===null||o===void 0?void 0:o.call(r));g.length>1&&(g=$("div",{class:`${s}-content`},[g])),d&&(g=d(g));const h=Ze(s,u);return $(ca,ye({ref:i},c),{default:()=>[a?$("div",{class:h,style:f},[g]):null]})}}});var Gse=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(A){A(o)})}return new(n||(n=Promise))(function(o,A){function a(l){try{u(r.next(l))}catch(c){A(c)}}function s(l){try{u(r.throw(l))}catch(c){A(c)}}function u(l){l.done?o(l.value):i(l.value).then(a,s)}u((r=r.apply(e,t||[])).next())})};const nP=["measure","align",null,"motion"],Wse=(e,t)=>{const n=Me(null),r=Me(),i=Me(!1);function o(s){i.value||(n.value=s)}function A(){hn.cancel(r.value)}function a(s){A(),r.value=hn(()=>{let u=n.value;switch(n.value){case"align":u="motion";break;case"motion":u="stable";break}o(u),s==null||s()})}return st(e,()=>{o("measure")},{immediate:!0,flush:"post"}),vn(()=>{st(n,()=>{switch(n.value){case"measure":t();break}n.value&&(r.value=hn(()=>Gse(void 0,void 0,void 0,function*(){const s=nP.indexOf(n.value),u=nP[s+1];u&&s!==-1&&o(u)})))},{immediate:!0,flush:"post"})}),En(()=>{i.value=!0,A()}),[n,a]},qse=e=>{const t=Me({width:0,height:0});function n(i){t.value={width:i.offsetWidth,height:i.offsetHeight}}return[fe(()=>{const i={};if(e.value){const{width:o,height:A}=t.value;e.value.indexOf("height")!==-1&&A?i.height=`${A}px`:e.value.indexOf("minHeight")!==-1&&A&&(i.minHeight=`${A}px`),e.value.indexOf("width")!==-1&&o?i.width=`${o}px`:e.value.indexOf("minWidth")!==-1&&o&&(i.minWidth=`${o}px`)}return i}),n]};function rP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function iP(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?rP(Object(n),!0).forEach(function(r){Xse(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Q3(e){"@babel/helpers - typeof";return Q3=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q3(e)}function Xse(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var B0,Yse={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function hw(){if(B0!==void 0)return B0;B0="";var e=document.createElement("p").style,t="Transform";for(var n in Yse)n+t in e&&(B0=n);return B0}function Qz(){return hw()?"".concat(hw(),"TransitionProperty"):"transitionProperty"}function CB(){return hw()?"".concat(hw(),"Transform"):"transform"}function oP(e,t){var n=Qz();n&&(e.style[n]=t,n!=="transitionProperty"&&(e.style.transitionProperty=t))}function Ax(e,t){var n=CB();n&&(e.style[n]=t,n!=="transform"&&(e.style.transform=t))}function Jse(e){return e.style.transitionProperty||e.style[Qz()]}function Zse(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(CB());if(n&&n!=="none"){var r=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(r[12]||r[4],0),y:parseFloat(r[13]||r[5],0)}}return{x:0,y:0}}var ele=/matrix\((.*)\)/,tle=/matrix3d\((.*)\)/;function nle(e,t){var n=window.getComputedStyle(e,null),r=n.getPropertyValue("transform")||n.getPropertyValue(CB());if(r&&r!=="none"){var i,o=r.match(ele);if(o)o=o[1],i=o.split(",").map(function(a){return parseFloat(a,10)}),i[4]=t.x,i[5]=t.y,Ax(e,"matrix(".concat(i.join(","),")"));else{var A=r.match(tle)[1];i=A.split(",").map(function(a){return parseFloat(a,10)}),i[12]=t.x,i[13]=t.y,Ax(e,"matrix3d(".concat(i.join(","),")"))}}else Ax(e,"translateX(".concat(t.x,"px) translateY(").concat(t.y,"px) translateZ(0)"))}var rle=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,vv;function AP(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function Gp(e,t,n){var r=n;if(Q3(t)==="object"){for(var i in t)t.hasOwnProperty(i)&&Gp(e,i,t[i]);return}if(typeof r<"u"){typeof r=="number"&&(r="".concat(r,"px")),e.style[t]=r;return}return vv(e,t)}function ile(e){var t,n,r,i=e.ownerDocument,o=i.body,A=i&&i.documentElement;return t=e.getBoundingClientRect(),n=Math.floor(t.left),r=Math.floor(t.top),n-=A.clientLeft||o.clientLeft||0,r-=A.clientTop||o.clientTop||0,{left:n,top:r}}function Pz(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var i=e.document;n=i.documentElement[r],typeof n!="number"&&(n=i.body[r])}return n}function Lz(e){return Pz(e)}function Dz(e){return Pz(e,!0)}function Vm(e){var t=ile(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=Lz(r),t.top+=Dz(r),t}function z6(e){return e!=null&&e==e.window}function Rz(e){return z6(e)?e.document:e.nodeType===9?e:e.ownerDocument}function ole(e,t,n){var r=n,i="",o=Rz(e);return r=r||o.defaultView.getComputedStyle(e,null),r&&(i=r.getPropertyValue(t)||r[t]),i}var Ale=new RegExp("^(".concat(rle,")(?!px)[a-z%]+$"),"i"),ale=/^(top|right|bottom|left)$/,ax="currentStyle",sx="runtimeStyle",id="left",sle="px";function lle(e,t){var n=e[ax]&&e[ax][t];if(Ale.test(n)&&!ale.test(t)){var r=e.style,i=r[id],o=e[sx][id];e[sx][id]=e[ax][id],r[id]=t==="fontSize"?"1em":n||0,n=r.pixelLeft+sle,r[id]=i,e[sx][id]=o}return n===""?"auto":n}typeof window<"u"&&(vv=window.getComputedStyle?ole:lle);function W1(e,t){return e==="left"?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function aP(e){if(e==="left")return"right";if(e==="right")return"left";if(e==="top")return"bottom";if(e==="bottom")return"top"}function sP(e,t,n){Gp(e,"position")==="static"&&(e.style.position="relative");var r=-999,i=-999,o=W1("left",n),A=W1("top",n),a=aP(o),s=aP(A);o!=="left"&&(r=999),A!=="top"&&(i=999);var u="",l=Vm(e);("left"in t||"top"in t)&&(u=Jse(e)||"",oP(e,"none")),"left"in t&&(e.style[a]="",e.style[o]="".concat(r,"px")),"top"in t&&(e.style[s]="",e.style[A]="".concat(i,"px")),AP(e);var c=Vm(e),d={};for(var f in t)if(t.hasOwnProperty(f)){var g=W1(f,n),h=f==="left"?r:i,m=l[f]-c[f];g===f?d[g]=h+m:d[g]=h-m}Gp(e,d),AP(e),("left"in t||"top"in t)&&oP(e,u);var p={};for(var v in t)if(t.hasOwnProperty(v)){var y=W1(v,n),b=t[v]-l[v];v===y?p[y]=d[y]+b:p[y]=d[y]-b}Gp(e,p)}function ule(e,t){var n=Vm(e),r=Zse(e),i={x:r.x,y:r.y};"left"in t&&(i.x=r.x+t.left-n.left),"top"in t&&(i.y=r.y+t.top-n.top),nle(e,i)}function cle(e,t,n){if(n.ignoreShake){var r=Vm(e),i=r.left.toFixed(0),o=r.top.toFixed(0),A=t.left.toFixed(0),a=t.top.toFixed(0);if(i===A&&o===a)return}n.useCssRight||n.useCssBottom?sP(e,t,n):n.useCssTransform&&CB()in document.body.style?ule(e,t):sP(e,t,n)}function G6(e,t){for(var n=0;n<e.length;n++)t(e[n])}function $z(e){return vv(e,"boxSizing")==="border-box"}var fle=["margin","border","padding"],P3=-1,dle=2,L3=1,hle=0;function ple(e,t,n){var r={},i=e.style,o;for(o in t)t.hasOwnProperty(o)&&(r[o]=i[o],i[o]=t[o]);n.call(e);for(o in t)t.hasOwnProperty(o)&&(i[o]=r[o])}function k0(e,t,n){var r=0,i,o,A;for(o=0;o<t.length;o++)if(i=t[o],i)for(A=0;A<n.length;A++){var a=void 0;i==="border"?a="".concat(i).concat(n[A],"Width"):a=i+n[A],r+=parseFloat(vv(e,a))||0}return r}var wl={getParent:function(t){var n=t;do n.nodeType===11&&n.host?n=n.host:n=n.parentNode;while(n&&n.nodeType!==1&&n.nodeType!==9);return n}};G6(["Width","Height"],function(e){wl["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],wl["viewport".concat(e)](n))},wl["viewport".concat(e)]=function(t){var n="client".concat(e),r=t.document,i=r.body,o=r.documentElement,A=o[n];return r.compatMode==="CSS1Compat"&&A||i&&i[n]||A}});function lP(e,t,n){var r=n;if(z6(e))return t==="width"?wl.viewportWidth(e):wl.viewportHeight(e);if(e.nodeType===9)return t==="width"?wl.docWidth(e):wl.docHeight(e);var i=t==="width"?["Left","Right"]:["Top","Bottom"],o=Math.floor(t==="width"?e.getBoundingClientRect().width:e.getBoundingClientRect().height),A=$z(e),a=0;(o==null||o<=0)&&(o=void 0,a=vv(e,t),(a==null||Number(a)<0)&&(a=e.style[t]||0),a=Math.floor(parseFloat(a))||0),r===void 0&&(r=A?L3:P3);var s=o!==void 0||A,u=o||a;return r===P3?s?u-k0(e,["border","padding"],i):a:s?r===L3?u:u+(r===dle?-k0(e,["border"],i):k0(e,["margin"],i)):a+k0(e,fle.slice(r),i)}var gle={position:"absolute",visibility:"hidden",display:"block"};function uP(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=t[0];return i.offsetWidth!==0?r=lP.apply(void 0,t):ple(i,gle,function(){r=lP.apply(void 0,t)}),r}G6(["width","height"],function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);wl["outer".concat(t)]=function(r,i){return r&&uP(r,e,i?hle:L3)};var n=e==="width"?["Left","Right"]:["Top","Bottom"];wl[e]=function(r,i){var o=i;if(o!==void 0){if(r){var A=$z(r);return A&&(o+=k0(r,["padding","border"],n)),Gp(r,e,o)}return}return r&&uP(r,e,P3)}});function Nz(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}var Pn={getWindow:function(t){if(t&&t.document&&t.setTimeout)return t;var n=t.ownerDocument||t;return n.defaultView||n.parentWindow},getDocument:Rz,offset:function(t,n,r){if(typeof n<"u")cle(t,n,r||{});else return Vm(t)},isWindow:z6,each:G6,css:Gp,clone:function(t){var n,r={};for(n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);var i=t.overflow;if(i)for(n in t)t.hasOwnProperty(n)&&(r.overflow[n]=t.overflow[n]);return r},mix:Nz,getWindowScrollLeft:function(t){return Lz(t)},getWindowScrollTop:function(t){return Dz(t)},merge:function(){for(var t={},n=0;n<arguments.length;n++)Pn.mix(t,n<0||arguments.length<=n?void 0:arguments[n]);return t},viewportWidth:0,viewportHeight:0};Nz(Pn,wl);var lx=Pn.getParent;function D3(e){if(Pn.isWindow(e)||e.nodeType===9)return null;var t=Pn.getDocument(e),n=t.body,r,i=Pn.css(e,"position"),o=i==="fixed"||i==="absolute";if(!o)return e.nodeName.toLowerCase()==="html"?null:lx(e);for(r=lx(e);r&&r!==n&&r.nodeType!==9;r=lx(r))if(i=Pn.css(r,"position"),i!=="static")return r;return null}var cP=Pn.getParent;function mle(e){if(Pn.isWindow(e)||e.nodeType===9)return!1;var t=Pn.getDocument(e),n=t.body,r=null;for(r=cP(e);r&&r!==n&&r!==t;r=cP(r)){var i=Pn.css(r,"position");if(i==="fixed")return!0}return!1}function W6(e,t){for(var n={left:0,right:1/0,top:0,bottom:1/0},r=D3(e),i=Pn.getDocument(e),o=i.defaultView||i.parentWindow,A=i.body,a=i.documentElement;r;){if((navigator.userAgent.indexOf("MSIE")===-1||r.clientWidth!==0)&&r!==A&&r!==a&&Pn.css(r,"overflow")!=="visible"){var s=Pn.offset(r);s.left+=r.clientLeft,s.top+=r.clientTop,n.top=Math.max(n.top,s.top),n.right=Math.min(n.right,s.left+r.clientWidth),n.bottom=Math.min(n.bottom,s.top+r.clientHeight),n.left=Math.max(n.left,s.left)}else if(r===A||r===a)break;r=D3(r)}var u=null;if(!Pn.isWindow(e)&&e.nodeType!==9){u=e.style.position;var l=Pn.css(e,"position");l==="absolute"&&(e.style.position="fixed")}var c=Pn.getWindowScrollLeft(o),d=Pn.getWindowScrollTop(o),f=Pn.viewportWidth(o),g=Pn.viewportHeight(o),h=a.scrollWidth,m=a.scrollHeight,p=window.getComputedStyle(A);if(p.overflowX==="hidden"&&(h=o.innerWidth),p.overflowY==="hidden"&&(m=o.innerHeight),e.style&&(e.style.position=u),t||mle(e))n.left=Math.max(n.left,c),n.top=Math.max(n.top,d),n.right=Math.min(n.right,c+f),n.bottom=Math.min(n.bottom,d+g);else{var v=Math.max(h,c+f);n.right=Math.min(n.right,v);var y=Math.max(m,d+g);n.bottom=Math.min(n.bottom,y)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function vle(e,t,n,r){var i=Pn.clone(e),o={width:t.width,height:t.height};return r.adjustX&&i.left<n.left&&(i.left=n.left),r.resizeWidth&&i.left>=n.left&&i.left+o.width>n.right&&(o.width-=i.left+o.width-n.right),r.adjustX&&i.left+o.width>n.right&&(i.left=Math.max(n.right-o.width,n.left)),r.adjustY&&i.top<n.top&&(i.top=n.top),r.resizeHeight&&i.top>=n.top&&i.top+o.height>n.bottom&&(o.height-=i.top+o.height-n.bottom),r.adjustY&&i.top+o.height>n.bottom&&(i.top=Math.max(n.bottom-o.height,n.top)),Pn.mix(i,o)}function q6(e){var t,n,r;if(!Pn.isWindow(e)&&e.nodeType!==9)t=Pn.offset(e),n=Pn.outerWidth(e),r=Pn.outerHeight(e);else{var i=Pn.getWindow(e);t={left:Pn.getWindowScrollLeft(i),top:Pn.getWindowScrollTop(i)},n=Pn.viewportWidth(i),r=Pn.viewportHeight(i)}return t.width=n,t.height=r,t}function fP(e,t){var n=t.charAt(0),r=t.charAt(1),i=e.width,o=e.height,A=e.left,a=e.top;return n==="c"?a+=o/2:n==="b"&&(a+=o),r==="c"?A+=i/2:r==="r"&&(A+=i),{left:A,top:a}}function q1(e,t,n,r,i){var o=fP(t,n[1]),A=fP(e,n[0]),a=[A.left-o.left,A.top-o.top];return{left:Math.round(e.left-a[0]+r[0]-i[0]),top:Math.round(e.top-a[1]+r[1]-i[1])}}function dP(e,t,n){return e.left<n.left||e.left+t.width>n.right}function hP(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function yle(e,t,n){return e.left>n.right||e.left+t.width<n.left}function ble(e,t,n){return e.top>n.bottom||e.top+t.height<n.top}function X1(e,t,n){var r=[];return Pn.each(e,function(i){r.push(i.replace(t,function(o){return n[o]}))}),r}function Y1(e,t){return e[t]=-e[t],e}function pP(e,t){var n;return/%$/.test(e)?n=parseInt(e.substring(0,e.length-1),10)/100*t:n=parseInt(e,10),n||0}function gP(e,t){e[0]=pP(e[0],t.width),e[1]=pP(e[1],t.height)}function Hz(e,t,n,r){var i=n.points,o=n.offset||[0,0],A=n.targetOffset||[0,0],a=n.overflow,s=n.source||e;o=[].concat(o),A=[].concat(A),a=a||{};var u={},l=0,c=!!(a&&a.alwaysByViewport),d=W6(s,c),f=q6(s);gP(o,f),gP(A,t);var g=q1(f,t,i,o,A),h=Pn.merge(f,g);if(d&&(a.adjustX||a.adjustY)&&r){if(a.adjustX&&dP(g,f,d)){var m=X1(i,/[lr]/gi,{l:"r",r:"l"}),p=Y1(o,0),v=Y1(A,0),y=q1(f,t,m,p,v);yle(y,f,d)||(l=1,i=m,o=p,A=v)}if(a.adjustY&&hP(g,f,d)){var b=X1(i,/[tb]/gi,{t:"b",b:"t"}),w=Y1(o,1),C=Y1(A,1),B=q1(f,t,b,w,C);ble(B,f,d)||(l=1,i=b,o=w,A=C)}l&&(g=q1(f,t,i,o,A),Pn.mix(h,g));var O=dP(g,f,d),x=hP(g,f,d);if(O||x){var M=i;O&&(M=X1(i,/[lr]/gi,{l:"r",r:"l"})),x&&(M=X1(i,/[tb]/gi,{t:"b",b:"t"})),i=M,o=n.offset||[0,0],A=n.targetOffset||[0,0]}u.adjustX=a.adjustX&&O,u.adjustY=a.adjustY&&x,(u.adjustX||u.adjustY)&&(h=vle(g,f,d,u))}return h.width!==f.width&&Pn.css(s,"width",Pn.width(s)+h.width-f.width),h.height!==f.height&&Pn.css(s,"height",Pn.height(s)+h.height-f.height),Pn.offset(s,{left:h.left,top:h.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:i,offset:o,targetOffset:A,overflow:u}}function wle(e,t){var n=W6(e,t),r=q6(e);return!n||r.left+r.width<=n.left||r.top+r.height<=n.top||r.left>=n.right||r.top>=n.bottom}function X6(e,t,n){var r=n.target||t,i=q6(r),o=!wle(r,n.overflow&&n.overflow.alwaysByViewport);return Hz(e,i,n,o)}X6.__getOffsetParent=D3;X6.__getVisibleRectForElement=W6;function Ble(e,t,n){var r,i,o=Pn.getDocument(e),A=o.defaultView||o.parentWindow,a=Pn.getWindowScrollLeft(A),s=Pn.getWindowScrollTop(A),u=Pn.viewportWidth(A),l=Pn.viewportHeight(A);"pageX"in t?r=t.pageX:r=a+t.clientX,"pageY"in t?i=t.pageY:i=s+t.clientY;var c={left:r,top:i,width:0,height:0},d=r>=0&&r<=a+u&&i>=0&&i<=s+l,f=[n.points[0],"cc"];return Hz(e,c,iP(iP({},n),{},{points:f}),d)}function jr(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i=e;if(Array.isArray(e)&&(i=ho(e)[0]),!i)return null;const o=To(i,t,r);return o.props=n?V(V({},o.props),t):o.props,Xu(typeof o.props.class!="object"),o}function Cle(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return e.map(r=>jr(r,t,n))}function xle(e,t,n){ff(To(e,V({},t)),n)}const Mz=e=>(e||[]).some(t=>Io(t)?!(t.type===Xo||t.type===mn&&!Mz(t.children)):!0)?e:null;function Y6(e,t,n,r){var i;const o=(i=e[t])===null||i===void 0?void 0:i.call(e,n);return Mz(o)?o:r==null?void 0:r()}const xB=e=>{if(!e)return!1;if(e.offsetParent)return!0;if(e.getBBox){const t=e.getBBox();if(t.width||t.height)return!0}if(e.getBoundingClientRect){const t=e.getBoundingClientRect();if(t.width||t.height)return!0}return!1};function Sle(e,t){return e===t?!0:!e||!t?!1:"pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t?e.clientX===t.clientX&&e.clientY===t.clientY:!1}function Ele(e,t){e!==document.activeElement&&Gc(t,e)&&typeof e.focus=="function"&&e.focus()}function mP(e,t){let n=null,r=null;function i(A){let[{target:a}]=A;if(!document.documentElement.contains(a))return;const{width:s,height:u}=a.getBoundingClientRect(),l=Math.floor(s),c=Math.floor(u);(n!==l||r!==c)&&Promise.resolve().then(()=>{t({width:l,height:c})}),n=l,r=c}const o=new IV(i);return e&&o.observe(e),()=>{o.disconnect()}}const Fle=(e,t)=>{let n=!1,r=null;function i(){clearTimeout(r)}function o(A){if(!n||A===!0){if(e()===!1)return;n=!0,i(),r=setTimeout(()=>{n=!1},t.value)}else i(),r=setTimeout(()=>{n=!1,o()},t.value)}return[o,()=>{n=!1,i()}]};function Ile(){this.__data__=[],this.size=0}function J6(e,t){return e===t||e!==e&&t!==t}function SB(e,t){for(var n=e.length;n--;)if(J6(e[n][0],t))return n;return-1}var _le=Array.prototype,Ole=_le.splice;function Tle(e){var t=this.__data__,n=SB(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Ole.call(t,n,1),--this.size,!0}function Ule(e){var t=this.__data__,n=SB(t,e);return n<0?void 0:t[n][1]}function Qle(e){return SB(this.__data__,e)>-1}function Ple(e,t){var n=this.__data__,r=SB(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Yu(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Yu.prototype.clear=Ile;Yu.prototype.delete=Tle;Yu.prototype.get=Ule;Yu.prototype.has=Qle;Yu.prototype.set=Ple;function Lle(){this.__data__=new Yu,this.size=0}function Dle(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Rle(e){return this.__data__.get(e)}function $le(e){return this.__data__.has(e)}var kz=typeof global=="object"&&global&&global.Object===Object&&global,Nle=typeof self=="object"&&self&&self.Object===Object&&self,_s=kz||Nle||Function("return this")(),Ma=_s.Symbol,jz=Object.prototype,Hle=jz.hasOwnProperty,Mle=jz.toString,C0=Ma?Ma.toStringTag:void 0;function kle(e){var t=Hle.call(e,C0),n=e[C0];try{e[C0]=void 0;var r=!0}catch{}var i=Mle.call(e);return r&&(t?e[C0]=n:delete e[C0]),i}var jle=Object.prototype,Kle=jle.toString;function Vle(e){return Kle.call(e)}var zle="[object Null]",Gle="[object Undefined]",vP=Ma?Ma.toStringTag:void 0;function oh(e){return e==null?e===void 0?Gle:zle:vP&&vP in Object(e)?kle(e):Vle(e)}function Es(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Wle="[object AsyncFunction]",qle="[object Function]",Xle="[object GeneratorFunction]",Yle="[object Proxy]";function Kz(e){if(!Es(e))return!1;var t=oh(e);return t==qle||t==Xle||t==Wle||t==Yle}var ux=_s["__core-js_shared__"],yP=function(){var e=/[^.]+$/.exec(ux&&ux.keys&&ux.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Jle(e){return!!yP&&yP in e}var Zle=Function.prototype,eue=Zle.toString;function Ah(e){if(e!=null){try{return eue.call(e)}catch{}try{return e+""}catch{}}return""}var tue=/[\\^$.*+?()[\]{}|]/g,nue=/^\[object .+?Constructor\]$/,rue=Function.prototype,iue=Object.prototype,oue=rue.toString,Aue=iue.hasOwnProperty,aue=RegExp("^"+oue.call(Aue).replace(tue,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function sue(e){if(!Es(e)||Jle(e))return!1;var t=Kz(e)?aue:nue;return t.test(Ah(e))}function lue(e,t){return e==null?void 0:e[t]}function ah(e,t){var n=lue(e,t);return sue(n)?n:void 0}var zm=ah(_s,"Map"),Gm=ah(Object,"create");function uue(){this.__data__=Gm?Gm(null):{},this.size=0}function cue(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var fue="__lodash_hash_undefined__",due=Object.prototype,hue=due.hasOwnProperty;function pue(e){var t=this.__data__;if(Gm){var n=t[e];return n===fue?void 0:n}return hue.call(t,e)?t[e]:void 0}var gue=Object.prototype,mue=gue.hasOwnProperty;function vue(e){var t=this.__data__;return Gm?t[e]!==void 0:mue.call(t,e)}var yue="__lodash_hash_undefined__";function bue(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Gm&&t===void 0?yue:t,this}function Yd(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Yd.prototype.clear=uue;Yd.prototype.delete=cue;Yd.prototype.get=pue;Yd.prototype.has=vue;Yd.prototype.set=bue;function wue(){this.size=0,this.__data__={hash:new Yd,map:new(zm||Yu),string:new Yd}}function Bue(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function EB(e,t){var n=e.__data__;return Bue(t)?n[typeof t=="string"?"string":"hash"]:n.map}function Cue(e){var t=EB(this,e).delete(e);return this.size-=t?1:0,t}function xue(e){return EB(this,e).get(e)}function Sue(e){return EB(this,e).has(e)}function Eue(e,t){var n=EB(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Ju(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ju.prototype.clear=wue;Ju.prototype.delete=Cue;Ju.prototype.get=xue;Ju.prototype.has=Sue;Ju.prototype.set=Eue;var Fue=200;function Iue(e,t){var n=this.__data__;if(n instanceof Yu){var r=n.__data__;if(!zm||r.length<Fue-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ju(r)}return n.set(e,t),this.size=n.size,this}function Fl(e){var t=this.__data__=new Yu(e);this.size=t.size}Fl.prototype.clear=Lle;Fl.prototype.delete=Dle;Fl.prototype.get=Rle;Fl.prototype.has=$le;Fl.prototype.set=Iue;var _ue="__lodash_hash_undefined__";function Oue(e){return this.__data__.set(e,_ue),this}function Tue(e){return this.__data__.has(e)}function cg(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Ju;++t<n;)this.add(e[t])}cg.prototype.add=cg.prototype.push=Oue;cg.prototype.has=Tue;function Uue(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function pw(e,t){return e.has(t)}var Que=1,Pue=2;function Vz(e,t,n,r,i,o){var A=n&Que,a=e.length,s=t.length;if(a!=s&&!(A&&s>a))return!1;var u=o.get(e),l=o.get(t);if(u&&l)return u==t&&l==e;var c=-1,d=!0,f=n&Pue?new cg:void 0;for(o.set(e,t),o.set(t,e);++c<a;){var g=e[c],h=t[c];if(r)var m=A?r(h,g,c,t,e,o):r(g,h,c,e,t,o);if(m!==void 0){if(m)continue;d=!1;break}if(f){if(!Uue(t,function(p,v){if(!pw(f,v)&&(g===p||i(g,p,n,r,o)))return f.push(v)})){d=!1;break}}else if(!(g===h||i(g,h,n,r,o))){d=!1;break}}return o.delete(e),o.delete(t),d}var gw=_s.Uint8Array;function Lue(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}function Z6(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Due=1,Rue=2,$ue="[object Boolean]",Nue="[object Date]",Hue="[object Error]",Mue="[object Map]",kue="[object Number]",jue="[object RegExp]",Kue="[object Set]",Vue="[object String]",zue="[object Symbol]",Gue="[object ArrayBuffer]",Wue="[object DataView]",bP=Ma?Ma.prototype:void 0,cx=bP?bP.valueOf:void 0;function que(e,t,n,r,i,o,A){switch(n){case Wue:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Gue:return!(e.byteLength!=t.byteLength||!o(new gw(e),new gw(t)));case $ue:case Nue:case kue:return J6(+e,+t);case Hue:return e.name==t.name&&e.message==t.message;case jue:case Vue:return e==t+"";case Mue:var a=Lue;case Kue:var s=r&Due;if(a||(a=Z6),e.size!=t.size&&!s)return!1;var u=A.get(e);if(u)return u==t;r|=Rue,A.set(e,t);var l=Vz(a(e),a(t),r,i,o,A);return A.delete(e),l;case zue:if(cx)return cx.call(e)==cx.call(t)}return!1}function eO(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var da=Array.isArray;function zz(e,t,n){var r=t(e);return da(e)?r:eO(r,n(e))}function Xue(e,t){for(var n=-1,r=e==null?0:e.length,i=0,o=[];++n<r;){var A=e[n];t(A,n,e)&&(o[i++]=A)}return o}function Gz(){return[]}var Yue=Object.prototype,Jue=Yue.propertyIsEnumerable,wP=Object.getOwnPropertySymbols,tO=wP?function(e){return e==null?[]:(e=Object(e),Xue(wP(e),function(t){return Jue.call(e,t)}))}:Gz;function Zue(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Ql(e){return e!=null&&typeof e=="object"}var ece="[object Arguments]";function BP(e){return Ql(e)&&oh(e)==ece}var Wz=Object.prototype,tce=Wz.hasOwnProperty,nce=Wz.propertyIsEnumerable,FB=BP(function(){return arguments}())?BP:function(e){return Ql(e)&&tce.call(e,"callee")&&!nce.call(e,"callee")};function rce(){return!1}var qz=typeof exports=="object"&&exports&&!exports.nodeType&&exports,CP=qz&&typeof module=="object"&&module&&!module.nodeType&&module,ice=CP&&CP.exports===qz,xP=ice?_s.Buffer:void 0,oce=xP?xP.isBuffer:void 0,Wm=oce||rce,Ace=9007199254740991,ace=/^(?:0|[1-9]\d*)$/;function nO(e,t){var n=typeof e;return t=t??Ace,!!t&&(n=="number"||n!="symbol"&&ace.test(e))&&e>-1&&e%1==0&&e<t}var sce=9007199254740991;function rO(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=sce}var lce="[object Arguments]",uce="[object Array]",cce="[object Boolean]",fce="[object Date]",dce="[object Error]",hce="[object Function]",pce="[object Map]",gce="[object Number]",mce="[object Object]",vce="[object RegExp]",yce="[object Set]",bce="[object String]",wce="[object WeakMap]",Bce="[object ArrayBuffer]",Cce="[object DataView]",xce="[object Float32Array]",Sce="[object Float64Array]",Ece="[object Int8Array]",Fce="[object Int16Array]",Ice="[object Int32Array]",_ce="[object Uint8Array]",Oce="[object Uint8ClampedArray]",Tce="[object Uint16Array]",Uce="[object Uint32Array]",ti={};ti[xce]=ti[Sce]=ti[Ece]=ti[Fce]=ti[Ice]=ti[_ce]=ti[Oce]=ti[Tce]=ti[Uce]=!0;ti[lce]=ti[uce]=ti[Bce]=ti[cce]=ti[Cce]=ti[fce]=ti[dce]=ti[hce]=ti[pce]=ti[gce]=ti[mce]=ti[vce]=ti[yce]=ti[bce]=ti[wce]=!1;function Qce(e){return Ql(e)&&rO(e.length)&&!!ti[oh(e)]}function iO(e){return function(t){return e(t)}}var Xz=typeof exports=="object"&&exports&&!exports.nodeType&&exports,sm=Xz&&typeof module=="object"&&module&&!module.nodeType&&module,Pce=sm&&sm.exports===Xz,fx=Pce&&kz.process,fg=function(){try{var e=sm&&sm.require&&sm.require("util").types;return e||fx&&fx.binding&&fx.binding("util")}catch{}}(),SP=fg&&fg.isTypedArray,oO=SP?iO(SP):Qce,Lce=Object.prototype,Dce=Lce.hasOwnProperty;function Yz(e,t){var n=da(e),r=!n&&FB(e),i=!n&&!r&&Wm(e),o=!n&&!r&&!i&&oO(e),A=n||r||i||o,a=A?Zue(e.length,String):[],s=a.length;for(var u in e)(t||Dce.call(e,u))&&!(A&&(u=="length"||i&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||nO(u,s)))&&a.push(u);return a}var Rce=Object.prototype;function IB(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Rce;return e===n}function Jz(e,t){return function(n){return e(t(n))}}var $ce=Jz(Object.keys,Object),Nce=Object.prototype,Hce=Nce.hasOwnProperty;function Zz(e){if(!IB(e))return $ce(e);var t=[];for(var n in Object(e))Hce.call(e,n)&&n!="constructor"&&t.push(n);return t}function Fg(e){return e!=null&&rO(e.length)&&!Kz(e)}function Ig(e){return Fg(e)?Yz(e):Zz(e)}function R3(e){return zz(e,Ig,tO)}var Mce=1,kce=Object.prototype,jce=kce.hasOwnProperty;function Kce(e,t,n,r,i,o){var A=n&Mce,a=R3(e),s=a.length,u=R3(t),l=u.length;if(s!=l&&!A)return!1;for(var c=s;c--;){var d=a[c];if(!(A?d in t:jce.call(t,d)))return!1}var f=o.get(e),g=o.get(t);if(f&&g)return f==t&&g==e;var h=!0;o.set(e,t),o.set(t,e);for(var m=A;++c<s;){d=a[c];var p=e[d],v=t[d];if(r)var y=A?r(v,p,d,t,e,o):r(p,v,d,e,t,o);if(!(y===void 0?p===v||i(p,v,n,r,o):y)){h=!1;break}m||(m=d=="constructor")}if(h&&!m){var b=e.constructor,w=t.constructor;b!=w&&"constructor"in e&&"constructor"in t&&!(typeof b=="function"&&b instanceof b&&typeof w=="function"&&w instanceof w)&&(h=!1)}return o.delete(e),o.delete(t),h}var $3=ah(_s,"DataView"),N3=ah(_s,"Promise"),Wp=ah(_s,"Set"),H3=ah(_s,"WeakMap"),EP="[object Map]",Vce="[object Object]",FP="[object Promise]",IP="[object Set]",_P="[object WeakMap]",OP="[object DataView]",zce=Ah($3),Gce=Ah(zm),Wce=Ah(N3),qce=Ah(Wp),Xce=Ah(H3),Qa=oh;($3&&Qa(new $3(new ArrayBuffer(1)))!=OP||zm&&Qa(new zm)!=EP||N3&&Qa(N3.resolve())!=FP||Wp&&Qa(new Wp)!=IP||H3&&Qa(new H3)!=_P)&&(Qa=function(e){var t=oh(e),n=t==Vce?e.constructor:void 0,r=n?Ah(n):"";if(r)switch(r){case zce:return OP;case Gce:return EP;case Wce:return FP;case qce:return IP;case Xce:return _P}return t});var Yce=1,TP="[object Arguments]",UP="[object Array]",J1="[object Object]",Jce=Object.prototype,QP=Jce.hasOwnProperty;function Zce(e,t,n,r,i,o){var A=da(e),a=da(t),s=A?UP:Qa(e),u=a?UP:Qa(t);s=s==TP?J1:s,u=u==TP?J1:u;var l=s==J1,c=u==J1,d=s==u;if(d&&Wm(e)){if(!Wm(t))return!1;A=!0,l=!1}if(d&&!l)return o||(o=new Fl),A||oO(e)?Vz(e,t,n,r,i,o):que(e,t,s,n,r,i,o);if(!(n&Yce)){var f=l&&QP.call(e,"__wrapped__"),g=c&&QP.call(t,"__wrapped__");if(f||g){var h=f?e.value():e,m=g?t.value():t;return o||(o=new Fl),i(h,m,n,r,o)}}return d?(o||(o=new Fl),Kce(e,t,n,r,i,o)):!1}function _B(e,t,n,r,i){return e===t?!0:e==null||t==null||!Ql(e)&&!Ql(t)?e!==e&&t!==t:Zce(e,t,n,r,_B,i)}function AO(e,t){return _B(e,t)}const efe={align:Object,target:[Object,Function],onAlign:Function,monitorBufferTime:Number,monitorWindowResize:Boolean,disabled:Boolean};function PP(e){return typeof e!="function"?null:e()}function LP(e){return typeof e!="object"||!e?null:e}const tfe=Je({compatConfig:{MODE:3},name:"Align",props:efe,emits:["align"],setup(e,t){let{expose:n,slots:r}=t;const i=qe({}),o=qe(),[A,a]=Fle(()=>{const{disabled:d,target:f,align:g,onAlign:h}=e;if(!d&&f&&o.value){const m=o.value;let p;const v=PP(f),y=LP(f);i.value.element=v,i.value.point=y,i.value.align=g;const{activeElement:b}=document;return v&&xB(v)?p=X6(m,v,g):y&&(p=Ble(m,y,g)),Ele(b,m),h&&p&&h(m,p),!0}return!1},fe(()=>e.monitorBufferTime)),s=qe({cancel:()=>{}}),u=qe({cancel:()=>{}}),l=()=>{const d=e.target,f=PP(d),g=LP(d);o.value!==u.value.element&&(u.value.cancel(),u.value.element=o.value,u.value.cancel=mP(o.value,A)),(i.value.element!==f||!Sle(i.value.point,g)||!AO(i.value.align,e.align))&&(A(),s.value.element!==f&&(s.value.cancel(),s.value.element=f,s.value.cancel=mP(f,A)))};vn(()=>{$n(()=>{l()})}),Va(()=>{$n(()=>{l()})}),st(()=>e.disabled,d=>{d?a():A()},{immediate:!0,flush:"post"});const c=qe(null);return st(()=>e.monitorWindowResize,d=>{d?c.value||(c.value=Aa(window,"resize",A)):c.value&&(c.value.remove(),c.value=null)},{flush:"post"}),za(()=>{s.value.cancel(),u.value.cancel(),c.value&&c.value.remove(),a()}),n({forceAlign:()=>A(!0)}),()=>{const d=r==null?void 0:r.default();return d?jr(d[0],{ref:o},!0,!0):null}}});Tl("bottomLeft","bottomRight","topLeft","topRight");const nfe=e=>e!==void 0&&(e==="topLeft"||e==="topRight")?"slide-down":"slide-up",hf=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return V(e?{name:e,appear:!0,enterFromClass:`${e}-enter ${e}-enter-prepare ${e}-enter-start`,enterActiveClass:`${e}-enter ${e}-enter-prepare`,enterToClass:`${e}-enter ${e}-enter-active`,leaveFromClass:` ${e}-leave`,leaveActiveClass:`${e}-leave ${e}-leave-active`,leaveToClass:`${e}-leave ${e}-leave-active`}:{css:!1},t)},OB=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return V(e?{name:e,appear:!0,appearActiveClass:`${e}`,appearToClass:`${e}-appear ${e}-appear-active`,enterFromClass:`${e}-appear ${e}-enter ${e}-appear-prepare ${e}-enter-prepare`,enterActiveClass:`${e}`,enterToClass:`${e}-enter ${e}-appear ${e}-appear-active ${e}-enter-active`,leaveActiveClass:`${e} ${e}-leave`,leaveToClass:`${e}-leave-active`}:{css:!1},t)},Pl=(e,t,n)=>n!==void 0?n:`${e}-${t}`,rfe=Je({compatConfig:{MODE:3},name:"PopupInner",inheritAttrs:!1,props:K6,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(e,t){let{expose:n,attrs:r,slots:i}=t;const o=Me(),A=Me(),a=Me(),[s,u]=qse(fn(e,"stretch")),l=()=>{e.stretch&&u(e.getRootDomNode())},c=Me(!1);let d;st(()=>e.visible,C=>{clearTimeout(d),C?d=setTimeout(()=>{c.value=e.visible}):c.value=!1},{immediate:!0});const[f,g]=Wse(c,l),h=Me(),m=()=>e.point?e.point:e.getRootDomNode,p=()=>{var C;(C=o.value)===null||C===void 0||C.forceAlign()},v=(C,B)=>{var O;const x=e.getClassNameFromAlign(B),M=a.value;a.value!==x&&(a.value=x),f.value==="align"&&(M!==x?Promise.resolve().then(()=>{p()}):g(()=>{var R;(R=h.value)===null||R===void 0||R.call(h)}),(O=e.onAlign)===null||O===void 0||O.call(e,C,B))},y=fe(()=>{const C=typeof e.animation=="object"?e.animation:V6(e);return["onAfterEnter","onAfterLeave"].forEach(B=>{const O=C[B];C[B]=x=>{g(),f.value="stable",O==null||O(x)}}),C}),b=()=>new Promise(C=>{h.value=C});st([y,f],()=>{!y.value&&f.value==="motion"&&g()},{immediate:!0}),n({forceAlign:p,getElement:()=>A.value.$el||A.value});const w=fe(()=>{var C;return!(!((C=e.align)===null||C===void 0)&&C.points&&(f.value==="align"||f.value==="stable"))});return()=>{var C;const{zIndex:B,align:O,prefixCls:x,destroyPopupOnHide:M,onMouseenter:R,onMouseleave:F,onTouchstart:L=()=>{},onMousedown:E}=e,H=f.value,X=[V(V({},s.value),{zIndex:B,opacity:H==="motion"||H==="stable"||!c.value?null:0,pointerEvents:!c.value&&H!=="stable"?"none":null}),r.style];let z=ui((C=i.default)===null||C===void 0?void 0:C.call(i,{visible:e.visible}));z.length>1&&(z=$("div",{class:`${x}-content`},[z]));const Z=Ze(x,r.class,a.value,!e.arrow&&`${x}-arrow-hidden`),te=c.value||!e.visible?hf(y.value.name,y.value):{};return $(ca,ye(ye({ref:A},te),{},{onBeforeEnter:b}),{default:()=>!M||e.visible?Cs($(tfe,{target:m(),key:"popup",ref:o,monitorWindowResize:!0,disabled:w.value,align:O,onAlign:v},{default:()=>$("div",{class:Z,onMouseenter:R,onMouseleave:F,onMousedown:B8(E,["capture"]),[qo?"onTouchstartPassive":"onTouchstart"]:B8(L,["capture"]),style:X},[z])}),[[Ol,c.value]]):null})}}}),ife=Je({compatConfig:{MODE:3},name:"Popup",inheritAttrs:!1,props:Vse,setup(e,t){let{attrs:n,slots:r,expose:i}=t;const o=Me(!1),A=Me(!1),a=Me(),s=Me();return st([()=>e.visible,()=>e.mobile],()=>{o.value=e.visible,e.visible&&e.mobile&&(A.value=!0)},{immediate:!0,flush:"post"}),i({forceAlign:()=>{var u;(u=a.value)===null||u===void 0||u.forceAlign()},getElement:()=>{var u;return(u=a.value)===null||u===void 0?void 0:u.getElement()}}),()=>{const u=V(V(V({},e),n),{visible:o.value}),l=A.value?$(zse,ye(ye({},u),{},{mobile:e.mobile,ref:a}),{default:r.default}):$(rfe,ye(ye({},u),{},{ref:a}),{default:r.default});return $("div",{ref:s},[$(Uz,u,null),l])}}});function ofe(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function DP(e,t,n){const r=e[t]||{};return V(V({},r),n)}function Afe(e,t,n,r){const{points:i}=n,o=Object.keys(e);for(let A=0;A<o.length;A+=1){const a=o[A];if(ofe(e[a].points,i,r))return`${t}-placement-${a}`}return""}const eG={methods:{setState(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=typeof e=="function"?e(this.$data,this.$props):e;if(this.getDerivedStateFromProps){const r=this.getDerivedStateFromProps(CAe(this),V(V({},this.$data),n));if(r===null)return;n=V(V({},n),r||{})}V(this.$data,n),this._.isMounted&&this.$forceUpdate(),$n(()=>{t&&t()})},__emit(){const e=[].slice.call(arguments,0);let t=e[0];t=`on${t[0].toUpperCase()}${t.substring(1)}`;const n=this.$props[t]||this.$attrs[t];if(e.length&&n)if(Array.isArray(n))for(let r=0,i=n.length;r<i;r++)n[r](...e.slice(1));else n(...e.slice(1))}}},tG=Symbol("PortalContextKey"),aO=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inTriggerContext:!0};dn(tG,{inTriggerContext:t.inTriggerContext,shouldRender:fe(()=>{const{sPopupVisible:n,popupRef:r,forceRender:i,autoDestroy:o}=e||{};let A=!1;return(n||r||i)&&(A=!0),!n&&o&&(A=!1),A})})},afe=()=>{aO({},{inTriggerContext:!1});const e=tn(tG,{shouldRender:fe(()=>!1),inTriggerContext:!1});return{shouldRender:fe(()=>e.shouldRender.value||e.inTriggerContext===!1)}},nG=Je({compatConfig:{MODE:3},name:"Portal",inheritAttrs:!1,props:{getContainer:He.func.isRequired,didUpdate:Function},setup(e,t){let{slots:n}=t,r=!0,i;const{shouldRender:o}=afe();function A(){o.value&&(i=e.getContainer())}NK(()=>{r=!1,A()}),vn(()=>{i||A()});const a=st(o,()=>{o.value&&!i&&(i=e.getContainer()),i&&a()});return Va(()=>{$n(()=>{var s;o.value&&((s=e.didUpdate)===null||s===void 0||s.call(e,e))})}),()=>{var s;return o.value?r?(s=n.default)===null||s===void 0?void 0:s.call(n):i?$(x6,{to:i},n):null:null}}});let dx;function mw(e){if(typeof document>"u")return 0;if(dx===void 0){const t=document.createElement("div");t.style.width="100%",t.style.height="200px";const n=document.createElement("div"),r=n.style;r.position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(t),document.body.appendChild(n);const i=t.offsetWidth;n.style.overflow="scroll";let o=t.offsetWidth;i===o&&(o=n.clientWidth),document.body.removeChild(n),dx=i-o}return dx}function RP(e){const t=e.match(/^(.*)px$/),n=Number(t==null?void 0:t[1]);return Number.isNaN(n)?mw():n}function sfe(e){if(typeof document>"u"||!e||!(e instanceof Element))return{width:0,height:0};const{width:t,height:n}=getComputedStyle(e,"::-webkit-scrollbar");return{width:RP(t),height:RP(n)}}const lfe=`vc-util-locker-${Date.now()}`;let $P=0;function ufe(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}function cfe(e){const t=fe(()=>!!e&&!!e.value);$P+=1;const n=`${lfe}_${$P}`;ln(r=>{if($A()){if(t.value){const i=mw(),o=ufe();Hm(`
- html body {
- overflow-y: hidden;
- ${o?`width: calc(100% - ${i}px);`:""}
- }`,n)}else cw(n);r(()=>{cw(n)})}},{flush:"post"})}let od=0;const cb=$A(),NP=e=>{if(!cb)return null;if(e){if(typeof e=="string")return document.querySelectorAll(e)[0];if(typeof e=="function")return e();if(typeof e=="object"&&e instanceof window.HTMLElement)return e}return document.body},sO=Je({compatConfig:{MODE:3},name:"PortalWrapper",inheritAttrs:!1,props:{wrapperClassName:String,forceRender:{type:Boolean,default:void 0},getContainer:He.any,visible:{type:Boolean,default:void 0},autoLock:Qt(),didUpdate:Function},setup(e,t){let{slots:n}=t;const r=Me(),i=Me(),o=Me(),A=Me(1),a=$A()&&document.createElement("div"),s=()=>{var f,g;r.value===a&&((g=(f=r.value)===null||f===void 0?void 0:f.parentNode)===null||g===void 0||g.removeChild(r.value)),r.value=null};let u=null;const l=function(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)||r.value&&!r.value.parentNode?(u=NP(e.getContainer),u?(u.appendChild(r.value),!0):!1):!0},c=()=>cb?(r.value||(r.value=a,l(!0)),d(),r.value):null,d=()=>{const{wrapperClassName:f}=e;r.value&&f&&f!==r.value.className&&(r.value.className=f)};return Va(()=>{d(),l()}),cfe(fe(()=>e.autoLock&&e.visible&&$A()&&(r.value===document.body||r.value===a))),vn(()=>{let f=!1;st([()=>e.visible,()=>e.getContainer],(g,h)=>{let[m,p]=g,[v,y]=h;cb&&(u=NP(e.getContainer),u===document.body&&(m&&!v?od+=1:f&&(od-=1))),f&&(typeof p=="function"&&typeof y=="function"?p.toString()!==y.toString():p!==y)&&s(),f=!0},{immediate:!0,flush:"post"}),$n(()=>{l()||(o.value=hn(()=>{A.value+=1}))})}),En(()=>{const{visible:f}=e;cb&&u===document.body&&(od=f&&od?od-1:od),s(),hn.cancel(o.value)}),()=>{const{forceRender:f,visible:g}=e;let h=null;const m={getOpenCount:()=>od,getContainer:c};return A.value&&(f||g||i.value)&&(h=$(nG,{getContainer:c,ref:i,didUpdate:e.didUpdate},{default:()=>{var p;return(p=n.default)===null||p===void 0?void 0:p.call(n,m)}})),h}}}),ffe=["onClick","onMousedown","onTouchstart","onMouseenter","onMouseleave","onFocus","onBlur","onContextmenu"],yv=Je({compatConfig:{MODE:3},name:"Trigger",mixins:[eG],inheritAttrs:!1,props:jse(),setup(e){const t=fe(()=>{const{popupPlacement:i,popupAlign:o,builtinPlacements:A}=e;return i&&A?DP(A,i,o):o}),n=Me(null),r=i=>{n.value=i};return{vcTriggerContext:tn("vcTriggerContext",{}),popupRef:n,setPopupRef:r,triggerRef:Me(null),align:t,focusTime:null,clickOutsideHandler:null,contextmenuOutsideHandler1:null,contextmenuOutsideHandler2:null,touchOutsideHandler:null,attachId:null,delayTimer:null,hasPopupMouseDown:!1,preClickTime:null,preTouchTime:null,mouseDownTimeout:null,childOriginEvents:{}}},data(){const e=this.$props;let t;return this.popupVisible!==void 0?t=!!e.popupVisible:t=!!e.defaultPopupVisible,ffe.forEach(n=>{this[`fire${n}`]=r=>{this.fireEvents(n,r)}}),{prevPopupVisible:t,sPopupVisible:t,point:null}},watch:{popupVisible(e){e!==void 0&&(this.prevPopupVisible=this.sPopupVisible,this.sPopupVisible=e)}},created(){dn("vcTriggerContext",{onPopupMouseDown:this.onPopupMouseDown,onPopupMouseenter:this.onPopupMouseenter,onPopupMouseleave:this.onPopupMouseleave}),aO(this)},deactivated(){this.setPopupVisible(!1)},mounted(){this.$nextTick(()=>{this.updatedCal()})},updated(){this.$nextTick(()=>{this.updatedCal()})},beforeUnmount(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),hn.cancel(this.attachId)},methods:{updatedCal(){const e=this.$props;if(this.$data.sPopupVisible){let n;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextmenuToShow())&&(n=e.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Aa(n,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(n=n||e.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Aa(n,"touchstart",this.onDocumentClick,qo?{passive:!1}:!1)),!this.contextmenuOutsideHandler1&&this.isContextmenuToShow()&&(n=n||e.getDocument(this.getRootDomNode()),this.contextmenuOutsideHandler1=Aa(n,"scroll",this.onContextmenuClose)),!this.contextmenuOutsideHandler2&&this.isContextmenuToShow()&&(this.contextmenuOutsideHandler2=Aa(window,"blur",this.onContextmenuClose))}else this.clearOutsideHandler()},onMouseenter(e){const{mouseEnterDelay:t}=this.$props;this.fireEvents("onMouseenter",e),this.delaySetPopupVisible(!0,t,t?null:e)},onMouseMove(e){this.fireEvents("onMousemove",e),this.setPoint(e)},onMouseleave(e){this.fireEvents("onMouseleave",e),this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay)},onPopupMouseenter(){const{vcTriggerContext:e={}}=this;e.onPopupMouseenter&&e.onPopupMouseenter(),this.clearDelayTimer()},onPopupMouseleave(e){var t;if(e&&e.relatedTarget&&!e.relatedTarget.setTimeout&&Gc((t=this.popupRef)===null||t===void 0?void 0:t.getElement(),e.relatedTarget))return;this.isMouseLeaveToHide()&&this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay);const{vcTriggerContext:n={}}=this;n.onPopupMouseleave&&n.onPopupMouseleave(e)},onFocus(e){this.fireEvents("onFocus",e),this.clearDelayTimer(),this.isFocusToShow()&&(this.focusTime=Date.now(),this.delaySetPopupVisible(!0,this.$props.focusDelay))},onMousedown(e){this.fireEvents("onMousedown",e),this.preClickTime=Date.now()},onTouchstart(e){this.fireEvents("onTouchstart",e),this.preTouchTime=Date.now()},onBlur(e){Gc(e.target,e.relatedTarget||document.activeElement)||(this.fireEvents("onBlur",e),this.clearDelayTimer(),this.isBlurToHide()&&this.delaySetPopupVisible(!1,this.$props.blurDelay))},onContextmenu(e){e.preventDefault(),this.fireEvents("onContextmenu",e),this.setPopupVisible(!0,e)},onContextmenuClose(){this.isContextmenuToShow()&&this.close()},onClick(e){if(this.fireEvents("onClick",e),this.focusTime){let n;if(this.preClickTime&&this.preTouchTime?n=Math.min(this.preClickTime,this.preTouchTime):this.preClickTime?n=this.preClickTime:this.preTouchTime&&(n=this.preTouchTime),Math.abs(n-this.focusTime)<20)return;this.focusTime=0}this.preClickTime=0,this.preTouchTime=0,this.isClickToShow()&&(this.isClickToHide()||this.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault(),e&&e.domEvent&&e.domEvent.preventDefault();const t=!this.$data.sPopupVisible;(this.isClickToHide()&&!t||t&&this.isClickToShow())&&this.setPopupVisible(!this.$data.sPopupVisible,e)},onPopupMouseDown(){const{vcTriggerContext:e={}}=this;this.hasPopupMouseDown=!0,clearTimeout(this.mouseDownTimeout),this.mouseDownTimeout=setTimeout(()=>{this.hasPopupMouseDown=!1},0),e.onPopupMouseDown&&e.onPopupMouseDown(...arguments)},onDocumentClick(e){if(this.$props.mask&&!this.$props.maskClosable)return;const t=e.target,n=this.getRootDomNode(),r=this.getPopupDomNode();(!Gc(n,t)||this.isContextMenuOnly())&&!Gc(r,t)&&!this.hasPopupMouseDown&&this.delaySetPopupVisible(!1,.1)},getPopupDomNode(){var e;return((e=this.popupRef)===null||e===void 0?void 0:e.getElement())||null},getRootDomNode(){var e,t,n,r;const{getTriggerDOMNode:i}=this.$props;if(i){const o=((t=(e=this.triggerRef)===null||e===void 0?void 0:e.$el)===null||t===void 0?void 0:t.nodeName)==="#comment"?null:bl(this.triggerRef);return bl(i(o))}try{const o=((r=(n=this.triggerRef)===null||n===void 0?void 0:n.$el)===null||r===void 0?void 0:r.nodeName)==="#comment"?null:bl(this.triggerRef);if(o)return o}catch{}return bl(this)},handleGetPopupClassFromAlign(e){const t=[],n=this.$props,{popupPlacement:r,builtinPlacements:i,prefixCls:o,alignPoint:A,getPopupClassNameFromAlign:a}=n;return r&&i&&t.push(Afe(i,o,e,A)),a&&t.push(a(e)),t.join(" ")},getPopupAlign(){const e=this.$props,{popupPlacement:t,popupAlign:n,builtinPlacements:r}=e;return t&&r?DP(r,t,n):n},getComponent(){const e={};this.isMouseEnterToShow()&&(e.onMouseenter=this.onPopupMouseenter),this.isMouseLeaveToHide()&&(e.onMouseleave=this.onPopupMouseleave),e.onMousedown=this.onPopupMouseDown,e[qo?"onTouchstartPassive":"onTouchstart"]=this.onPopupMouseDown;const{handleGetPopupClassFromAlign:t,getRootDomNode:n,$attrs:r}=this,{prefixCls:i,destroyPopupOnHide:o,popupClassName:A,popupAnimation:a,popupTransitionName:s,popupStyle:u,mask:l,maskAnimation:c,maskTransitionName:d,zIndex:f,stretch:g,alignPoint:h,mobile:m,arrow:p,forceRender:v}=this.$props,{sPopupVisible:y,point:b}=this.$data,w=V(V({prefixCls:i,arrow:p,destroyPopupOnHide:o,visible:y,point:h?b:null,align:this.align,animation:a,getClassNameFromAlign:t,stretch:g,getRootDomNode:n,mask:l,zIndex:f,transitionName:s,maskAnimation:c,maskTransitionName:d,class:A,style:u,onAlign:r.onPopupAlign||Tz},e),{ref:this.setPopupRef,mobile:m,forceRender:v});return $(ife,w,{default:this.$slots.popup||(()=>TV(this,"popup"))})},attachParent(e){hn.cancel(this.attachId);const{getPopupContainer:t,getDocument:n}=this.$props,r=this.getRootDomNode();let i;t?(r||t.length===0)&&(i=t(r)):i=n(this.getRootDomNode()).body,i?i.appendChild(e):this.attachId=hn(()=>{this.attachParent(e)})},getContainer(){const{$props:e}=this,{getDocument:t}=e,n=t(this.getRootDomNode()).createElement("div");return n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",this.attachParent(n),n},setPopupVisible(e,t){const{alignPoint:n,sPopupVisible:r,onPopupVisibleChange:i}=this;this.clearDelayTimer(),r!==e&&(Ip(this,"popupVisible")||this.setState({sPopupVisible:e,prevPopupVisible:r}),i&&i(e)),n&&t&&e&&this.setPoint(t)},setPoint(e){const{alignPoint:t}=this.$props;!t||!e||this.setState({point:{pageX:e.pageX,pageY:e.pageY}})},handlePortalUpdate(){this.prevPopupVisible!==this.sPopupVisible&&this.afterPopupVisibleChange(this.sPopupVisible)},delaySetPopupVisible(e,t,n){const r=t*1e3;if(this.clearDelayTimer(),r){const i=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=setTimeout(()=>{this.setPopupVisible(e,i),this.clearDelayTimer()},r)}else this.setPopupVisible(e,n)},clearDelayTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)},clearOutsideHandler(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextmenuOutsideHandler1&&(this.contextmenuOutsideHandler1.remove(),this.contextmenuOutsideHandler1=null),this.contextmenuOutsideHandler2&&(this.contextmenuOutsideHandler2.remove(),this.contextmenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)},createTwoChains(e){let t=()=>{};const n=I8(this);return this.childOriginEvents[e]&&n[e]?this[`fire${e}`]:(t=this.childOriginEvents[e]||n[e]||t,t)},isClickToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("click")!==-1||t.indexOf("click")!==-1},isContextMenuOnly(){const{action:e}=this.$props;return e==="contextmenu"||e.length===1&&e[0]==="contextmenu"},isContextmenuToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("contextmenu")!==-1||t.indexOf("contextmenu")!==-1},isClickToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("click")!==-1||t.indexOf("click")!==-1},isMouseEnterToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("hover")!==-1||t.indexOf("mouseenter")!==-1},isMouseLeaveToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("hover")!==-1||t.indexOf("mouseleave")!==-1},isFocusToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("focus")!==-1||t.indexOf("focus")!==-1},isBlurToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("focus")!==-1||t.indexOf("blur")!==-1},forcePopupAlign(){var e;this.$data.sPopupVisible&&((e=this.popupRef)===null||e===void 0||e.forceAlign())},fireEvents(e,t){this.childOriginEvents[e]&&this.childOriginEvents[e](t);const n=this.$props[e]||this.$attrs[e];n&&n(t)},close(){this.setPopupVisible(!1)}},render(){const{$attrs:e}=this,t=ho(BAe(this)),{alignPoint:n,getPopupContainer:r}=this.$props,i=t[0];this.childOriginEvents=I8(i);const o={key:"trigger"};this.isContextmenuToShow()?o.onContextmenu=this.onContextmenu:o.onContextmenu=this.createTwoChains("onContextmenu"),this.isClickToHide()||this.isClickToShow()?(o.onClick=this.onClick,o.onMousedown=this.onMousedown,o[qo?"onTouchstartPassive":"onTouchstart"]=this.onTouchstart):(o.onClick=this.createTwoChains("onClick"),o.onMousedown=this.createTwoChains("onMousedown"),o[qo?"onTouchstartPassive":"onTouchstart"]=this.createTwoChains("onTouchstart")),this.isMouseEnterToShow()?(o.onMouseenter=this.onMouseenter,n&&(o.onMousemove=this.onMouseMove)):o.onMouseenter=this.createTwoChains("onMouseenter"),this.isMouseLeaveToHide()?o.onMouseleave=this.onMouseleave:o.onMouseleave=this.createTwoChains("onMouseleave"),this.isFocusToShow()||this.isBlurToHide()?(o.onFocus=this.onFocus,o.onBlur=this.onBlur):(o.onFocus=this.createTwoChains("onFocus"),o.onBlur=u=>{u&&(!u.relatedTarget||!Gc(u.target,u.relatedTarget))&&this.createTwoChains("onBlur")(u)});const A=Ze(i&&i.props&&i.props.class,e.class);A&&(o.class=A);const a=jr(i,V(V({},o),{ref:"triggerRef"}),!0,!0),s=$(sO,{key:"portal",getContainer:r&&(()=>r(this.getRootDomNode())),didUpdate:this.handlePortalUpdate,visible:this.$data.sPopupVisible},{default:this.getComponent});return $(mn,null,[a,s])}});var dfe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const hfe=e=>{const t=e===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}}}},pfe=Je({name:"SelectTrigger",inheritAttrs:!1,props:{dropdownAlign:Object,visible:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},dropdownClassName:String,dropdownStyle:He.object,placement:String,empty:{type:Boolean,default:void 0},prefixCls:String,popupClassName:String,animation:String,transitionName:String,getPopupContainer:Function,dropdownRender:Function,containerWidth:Number,dropdownMatchSelectWidth:He.oneOfType([Number,Boolean]).def(!0),popupElement:He.any,direction:String,getTriggerDOMNode:Function,onPopupVisibleChange:Function,onPopupMouseEnter:Function,onPopupFocusin:Function,onPopupFocusout:Function},setup(e,t){let{slots:n,attrs:r,expose:i}=t;const o=fe(()=>{const{dropdownMatchSelectWidth:a}=e;return hfe(a)}),A=qe();return i({getPopupElement:()=>A.value}),()=>{const a=V(V({},e),r),{empty:s=!1}=a,u=dfe(a,["empty"]),{visible:l,dropdownAlign:c,prefixCls:d,popupElement:f,dropdownClassName:g,dropdownStyle:h,direction:m="ltr",placement:p,dropdownMatchSelectWidth:v,containerWidth:y,dropdownRender:b,animation:w,transitionName:C,getPopupContainer:B,getTriggerDOMNode:O,onPopupVisibleChange:x,onPopupMouseEnter:M,onPopupFocusin:R,onPopupFocusout:F}=u,L=`${d}-dropdown`;let E=f;b&&(E=b({menuNode:f,props:e}));const H=w?`${L}-${w}`:C,X=V({minWidth:`${y}px`},h);return typeof v=="number"?X.width=`${v}px`:v&&(X.width=`${y}px`),$(yv,ye(ye({},e),{},{showAction:x?["click"]:[],hideAction:x?["click"]:[],popupPlacement:p||(m==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:o.value,prefixCls:L,popupTransitionName:H,popupAlign:c,popupVisible:l,getPopupContainer:B,popupClassName:Ze(g,{[`${L}-empty`]:s}),popupStyle:X,getTriggerDOMNode:O,onPopupVisibleChange:x}),{default:n.default,popup:()=>$("div",{ref:A,onMouseenter:M,onFocusin:R,onFocusout:F},[E])})}}}),ut={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){const{keyCode:n}=t;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=ut.F1&&n<=ut.F12)return!1;switch(n){case ut.ALT:case ut.CAPS_LOCK:case ut.CONTEXT_MENU:case ut.CTRL:case ut.DOWN:case ut.END:case ut.ESC:case ut.HOME:case ut.INSERT:case ut.LEFT:case ut.MAC_FF_META:case ut.META:case ut.NUMLOCK:case ut.NUM_CENTER:case ut.PAGE_DOWN:case ut.PAGE_UP:case ut.PAUSE:case ut.PRINT_SCREEN:case ut.RIGHT:case ut.SHIFT:case ut.UP:case ut.WIN_KEY:case ut.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=ut.ZERO&&t<=ut.NINE||t>=ut.NUM_ZERO&&t<=ut.NUM_MULTIPLY||t>=ut.A&&t<=ut.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case ut.SPACE:case ut.QUESTION_MARK:case ut.NUM_PLUS:case ut.NUM_MINUS:case ut.NUM_PERIOD:case ut.NUM_DIVISION:case ut.SEMICOLON:case ut.DASH:case ut.EQUALS:case ut.COMMA:case ut.PERIOD:case ut.SLASH:case ut.APOSTROPHE:case ut.SINGLE_QUOTE:case ut.OPEN_SQUARE_BRACKET:case ut.BACKSLASH:case ut.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Jd=(e,t)=>{let{slots:n}=t;var r;const{class:i,customizeIcon:o,customizeIconProps:A,onMousedown:a,onClick:s}=e;let u;return typeof o=="function"?u=o(A):u=Io(o)?To(o):o,$("span",{class:i,onMousedown:l=>{l.preventDefault(),a&&a(l)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:s,"aria-hidden":!0},[u!==void 0?u:$("span",{class:i.split(/\s+/).map(l=>`${l}-icon`)},[(r=n.default)===null||r===void 0?void 0:r.call(n)])])};Jd.inheritAttrs=!1;Jd.displayName="TransBtn";Jd.props={class:String,customizeIcon:He.any,customizeIconProps:He.any,onMousedown:Function,onClick:Function};var gfe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const mfe=Je({compatConfig:{MODE:3},props:{disabled:He.looseBool,type:He.string,value:He.any,tag:{type:String,default:"input"},size:He.string,onChange:Function,onInput:Function,onBlur:Function,onFocus:Function,onKeydown:Function,onCompositionstart:Function,onCompositionend:Function,onKeyup:Function,onPaste:Function,onMousedown:Function},emits:["change","input","blur","keydown","focus","compositionstart","compositionend","keyup","paste","mousedown"],setup(e,t){let{expose:n}=t;const r=Me(null);return n({focus:()=>{r.value&&r.value.focus()},blur:()=>{r.value&&r.value.blur()},input:r,setSelectionRange:(s,u,l)=>{var c;(c=r.value)===null||c===void 0||c.setSelectionRange(s,u,l)},select:()=>{var s;(s=r.value)===null||s===void 0||s.select()},getSelectionStart:()=>{var s;return(s=r.value)===null||s===void 0?void 0:s.selectionStart},getSelectionEnd:()=>{var s;return(s=r.value)===null||s===void 0?void 0:s.selectionEnd},getScrollTop:()=>{var s;return(s=r.value)===null||s===void 0?void 0:s.scrollTop}}),()=>{const{tag:s,value:u}=e,l=gfe(e,["tag","value"]);return $(s,ye(ye({},l),{},{ref:r,value:u}),null)}}});function HP(e){const t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.scrollX||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.scrollY||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}function vfe(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return typeof r>"u"||r===null||(t+=`${n}: ${e[n]};`),t},"")}var yfe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const bv=Je({compatConfig:{MODE:3},inheritAttrs:!1,props:{disabled:He.looseBool,type:He.string,value:He.any,lazy:He.bool.def(!0),tag:{type:String,default:"input"},size:He.string,style:He.oneOfType([String,Object]),class:He.string},emits:["change","input","blur","keydown","focus","compositionstart","compositionend","keyup","paste","mousedown"],setup(e,t){let{emit:n,attrs:r,expose:i}=t;const o=Me(null),A=qe(),a=qe(!1);st([()=>e.value,a],()=>{a.value||(A.value=e.value)},{immediate:!0});const s=B=>{n("change",B)},u=B=>{a.value=!0,B.target.composing=!0,n("compositionstart",B)},l=B=>{a.value=!1,B.target.composing=!1,n("compositionend",B);const O=document.createEvent("HTMLEvents");O.initEvent("input",!0,!0),B.target.dispatchEvent(O),s(B)},c=B=>{if(a.value&&e.lazy){A.value=B.target.value;return}n("input",B)},d=B=>{n("blur",B)},f=B=>{n("focus",B)},g=()=>{o.value&&o.value.focus()},h=()=>{o.value&&o.value.blur()},m=B=>{n("keydown",B)},p=B=>{n("keyup",B)},v=(B,O,x)=>{var M;(M=o.value)===null||M===void 0||M.setSelectionRange(B,O,x)},y=()=>{var B;(B=o.value)===null||B===void 0||B.select()};i({focus:g,blur:h,input:fe(()=>{var B;return(B=o.value)===null||B===void 0?void 0:B.input}),setSelectionRange:v,select:y,getSelectionStart:()=>{var B;return(B=o.value)===null||B===void 0?void 0:B.getSelectionStart()},getSelectionEnd:()=>{var B;return(B=o.value)===null||B===void 0?void 0:B.getSelectionEnd()},getScrollTop:()=>{var B;return(B=o.value)===null||B===void 0?void 0:B.getScrollTop()}});const b=B=>{n("mousedown",B)},w=B=>{n("paste",B)},C=fe(()=>e.style&&typeof e.style!="string"?vfe(e.style):e.style);return()=>{const B=yfe(e,["style","lazy"]);return $(mfe,ye(ye(ye({},B),r),{},{style:C.value,onInput:c,onChange:s,onBlur:d,onFocus:f,ref:o,value:A.value,onCompositionstart:u,onCompositionend:l,onKeyup:p,onKeydown:m,onPaste:w,onMousedown:b}),null)}}}),bfe={inputRef:He.any,prefixCls:String,id:String,inputElement:He.VueNode,disabled:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,editable:{type:Boolean,default:void 0},activeDescendantId:String,value:String,open:{type:Boolean,default:void 0},tabindex:He.oneOfType([He.number,He.string]),attrs:He.object,onKeydown:{type:Function},onMousedown:{type:Function},onChange:{type:Function},onPaste:{type:Function},onCompositionstart:{type:Function},onCompositionend:{type:Function},onFocus:{type:Function},onBlur:{type:Function}},rG=Je({compatConfig:{MODE:3},name:"SelectInput",inheritAttrs:!1,props:bfe,setup(e){let t=null;const n=tn("VCSelectContainerEvent");return()=>{var r;const{prefixCls:i,id:o,inputElement:A,disabled:a,tabindex:s,autofocus:u,autocomplete:l,editable:c,activeDescendantId:d,value:f,onKeydown:g,onMousedown:h,onChange:m,onPaste:p,onCompositionstart:v,onCompositionend:y,onFocus:b,onBlur:w,open:C,inputRef:B,attrs:O}=e;let x=A||$(bv,null,null);const M=x.props||{},{onKeydown:R,onInput:F,onFocus:L,onBlur:E,onMousedown:H,onCompositionstart:X,onCompositionend:z,style:Z}=M;return x=jr(x,V(V(V(V(V({type:"search"},M),{id:o,ref:B,disabled:a,tabindex:s,lazy:!1,autocomplete:l||"off",autofocus:u,class:Ze(`${i}-selection-search-input`,(r=x==null?void 0:x.props)===null||r===void 0?void 0:r.class),role:"combobox","aria-expanded":C,"aria-haspopup":"listbox","aria-owns":`${o}_list`,"aria-autocomplete":"list","aria-controls":`${o}_list`,"aria-activedescendant":d}),O),{value:c?f:"",readonly:!c,unselectable:c?null:"on",style:V(V({},Z),{opacity:c?null:0}),onKeydown:q=>{g(q),R&&R(q)},onMousedown:q=>{h(q),H&&H(q)},onInput:q=>{m(q),F&&F(q)},onCompositionstart(q){v(q),X&&X(q)},onCompositionend(q){y(q),z&&z(q)},onPaste:p,onFocus:function(){clearTimeout(t),L&&L(arguments.length<=0?void 0:arguments[0]),b&&b(arguments.length<=0?void 0:arguments[0]),n==null||n.focus(arguments.length<=0?void 0:arguments[0])},onBlur:function(){for(var q=arguments.length,te=new Array(q),ne=0;ne<q;ne++)te[ne]=arguments[ne];t=setTimeout(()=>{E&&E(te[0]),w&&w(te[0]),n==null||n.blur(te[0])},100)}}),x.type==="textarea"?{}:{type:"search"}),!0,!0),x}}}),wfe=`accept acceptcharset accesskey action allowfullscreen allowtransparency
- alt async autocomplete autofocus autoplay capture cellpadding cellspacing challenge
- charset checked classid classname colspan cols content contenteditable contextmenu
- controls coords crossorigin data datetime default defer dir disabled download draggable
- enctype form formaction formenctype formmethod formnovalidate formtarget frameborder
- headers height hidden high href hreflang htmlfor for httpequiv icon id inputmode integrity
- is keyparams keytype kind label lang list loop low manifest marginheight marginwidth max maxlength media
- mediagroup method min minlength multiple muted name novalidate nonce open
- optimum pattern placeholder poster preload radiogroup readonly rel required
- reversed role rowspan rows sandbox scope scoped scrolling seamless selected
- shape size sizes span spellcheck src srcdoc srclang srcset start step style
- summary tabindex target title type usemap value width wmode wrap`,Bfe=`onCopy onCut onPaste onCompositionend onCompositionstart onCompositionupdate onKeydown
- onKeypress onKeyup onFocus onBlur onChange onInput onSubmit onClick onContextmenu onDoubleclick onDblclick
- onDrag onDragend onDragenter onDragexit onDragleave onDragover onDragstart onDrop onMousedown
- onMouseenter onMouseleave onMousemove onMouseout onMouseover onMouseup onSelect onTouchcancel
- onTouchend onTouchmove onTouchstart onTouchstartPassive onTouchmovePassive onScroll onWheel onAbort onCanplay onCanplaythrough
- onDurationchange onEmptied onEncrypted onEnded onError onLoadeddata onLoadedmetadata
- onLoadstart onPause onPlay onPlaying onProgress onRatechange onSeeked onSeeking onStalled onSuspend onTimeupdate onVolumechange onWaiting onLoad onError`,MP=`${wfe} ${Bfe}`.split(/[\s\n]+/),Cfe="aria-",xfe="data-";function kP(e,t){return e.indexOf(t)===0}function xf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=V({},t);const r={};return Object.keys(e).forEach(i=>{(n.aria&&(i==="role"||kP(i,Cfe))||n.data&&kP(i,xfe)||n.attr&&(MP.includes(i)||MP.includes(i.toLowerCase())))&&(r[i]=e[i])}),r}const iG=Symbol("OverflowContextProviderKey"),M3=Je({compatConfig:{MODE:3},name:"OverflowContextProvider",inheritAttrs:!1,props:{value:{type:Object}},setup(e,t){let{slots:n}=t;return dn(iG,fe(()=>e.value)),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),Sfe=()=>tn(iG,fe(()=>null));var Efe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const sp=void 0,fb=Je({compatConfig:{MODE:3},name:"Item",props:{prefixCls:String,item:He.any,renderItem:Function,responsive:Boolean,itemKey:{type:[String,Number]},registerSize:Function,display:Boolean,order:Number,component:He.any,invalidate:Boolean},setup(e,t){let{slots:n,expose:r}=t;const i=fe(()=>e.responsive&&!e.display),o=qe();r({itemNodeRef:o});function A(a){e.registerSize(e.itemKey,a)}return za(()=>{A(null)}),()=>{var a;const{prefixCls:s,invalidate:u,item:l,renderItem:c,responsive:d,registerSize:f,itemKey:g,display:h,order:m,component:p="div"}=e,v=Efe(e,["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","display","order","component"]),y=(a=n.default)===null||a===void 0?void 0:a.call(n),b=c&&l!==sp?c(l):y;let w;u||(w={opacity:i.value?0:1,height:i.value?0:sp,overflowY:i.value?"hidden":sp,order:d?m:sp,pointerEvents:i.value?"none":sp,position:i.value?"absolute":sp});const C={};return i.value&&(C["aria-hidden"]=!0),$(ku,{disabled:!d,onResize:B=>{let{offsetWidth:O}=B;A(O)}},{default:()=>$(p,ye(ye(ye({class:Ze(!u&&s),style:w},C),v),{},{ref:o}),{default:()=>[b]})})}}});var hx=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const Ffe=Je({compatConfig:{MODE:3},name:"RawItem",inheritAttrs:!1,props:{component:He.any,title:He.any,id:String,onMouseenter:{type:Function},onMouseleave:{type:Function},onClick:{type:Function},onKeydown:{type:Function},onFocus:{type:Function},role:String,tabindex:Number},setup(e,t){let{slots:n,attrs:r}=t;const i=Sfe();return()=>{var o;if(!i.value){const{component:c="div"}=e,d=hx(e,["component"]);return $(c,ye(ye({},d),r),{default:()=>[(o=n.default)===null||o===void 0?void 0:o.call(n)]})}const A=i.value,{className:a}=A,s=hx(A,["className"]),{class:u}=r,l=hx(r,["class"]);return $(M3,{value:null},{default:()=>[$(fb,ye(ye(ye({class:Ze(a,u)},s),l),e),n)]})}}});var Ife=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const oG="responsive",AG="invalidate";function _fe(e){return`+ ${e.length} ...`}const Ofe=()=>({id:String,prefixCls:String,data:Array,itemKey:[String,Number,Function],itemWidth:{type:Number,default:10},renderItem:Function,renderRawItem:Function,maxCount:[Number,String],renderRest:Function,renderRawRest:Function,suffix:He.any,component:String,itemComponent:He.any,onVisibleChange:Function,ssr:String,onMousedown:Function,role:String}),Lu=Je({name:"Overflow",inheritAttrs:!1,props:Ofe(),emits:["visibleChange"],setup(e,t){let{attrs:n,emit:r,slots:i}=t;const o=fe(()=>e.ssr==="full"),A=Me(null),a=fe(()=>A.value||0),s=Me(new Map),u=Me(0),l=Me(0),c=Me(0),d=Me(null),f=Me(null),g=fe(()=>f.value===null&&o.value?Number.MAX_SAFE_INTEGER:f.value||0),h=Me(!1),m=fe(()=>`${e.prefixCls}-item`),p=fe(()=>Math.max(u.value,l.value)),v=fe(()=>!!(e.data.length&&e.maxCount===oG)),y=fe(()=>e.maxCount===AG),b=fe(()=>v.value||typeof e.maxCount=="number"&&e.data.length>e.maxCount),w=fe(()=>{let H=e.data;return v.value?A.value===null&&o.value?H=e.data:H=e.data.slice(0,Math.min(e.data.length,a.value/e.itemWidth)):typeof e.maxCount=="number"&&(H=e.data.slice(0,e.maxCount)),H}),C=fe(()=>v.value?e.data.slice(g.value+1):e.data.slice(w.value.length)),B=(H,X)=>{var z;return typeof e.itemKey=="function"?e.itemKey(H):(z=e.itemKey&&(H==null?void 0:H[e.itemKey]))!==null&&z!==void 0?z:X},O=fe(()=>e.renderItem||(H=>H)),x=(H,X)=>{f.value=H,X||(h.value=H<e.data.length-1,r("visibleChange",H))},M=(H,X)=>{A.value=X.clientWidth},R=(H,X)=>{const z=new Map(s.value);X===null?z.delete(H):z.set(H,X),s.value=z},F=(H,X)=>{u.value=l.value,l.value=X},L=(H,X)=>{c.value=X},E=H=>s.value.get(B(w.value[H],H));return st([a,s,l,c,()=>e.itemKey,w],()=>{if(a.value&&p.value&&w.value){let H=c.value;const X=w.value.length,z=X-1;if(!X){x(0),d.value=null;return}for(let Z=0;Z<X;Z+=1){const q=E(Z);if(q===void 0){x(Z-1,!0);break}if(H+=q,z===0&&H<=a.value||Z===z-1&&H+E(z)<=a.value){x(z),d.value=null;break}else if(H+p.value>a.value){x(Z-1),d.value=H-q-c.value+l.value;break}}e.suffix&&E(0)+c.value>a.value&&(d.value=null)}}),()=>{const H=h.value&&!!C.value.length,{itemComponent:X,renderRawItem:z,renderRawRest:Z,renderRest:q,prefixCls:te="rc-overflow",suffix:ne,component:_="div",id:Y,onMousedown:re}=e,{class:se,style:ce}=n,N=Ife(n,["class","style"]);let K={};d.value!==null&&v.value&&(K={position:"absolute",left:`${d.value}px`,top:0});const Ae={prefixCls:m.value,responsive:v.value,component:X,invalidate:y.value},ae=z?(G,pe)=>{const k=B(G,pe);return $(M3,{key:k,value:V(V({},Ae),{order:pe,item:G,itemKey:k,registerSize:R,display:pe<=g.value})},{default:()=>[z(G,pe)]})}:(G,pe)=>{const k=B(G,pe);return $(fb,ye(ye({},Ae),{},{order:pe,key:k,item:G,renderItem:O.value,itemKey:k,registerSize:R,display:pe<=g.value}),null)};let ie=()=>null;const J={order:H?g.value:Number.MAX_SAFE_INTEGER,className:`${m.value} ${m.value}-rest`,registerSize:F,display:H};if(Z)Z&&(ie=()=>$(M3,{value:V(V({},Ae),J)},{default:()=>[Z(C.value)]}));else{const G=q||_fe;ie=()=>$(fb,ye(ye({},Ae),J),{default:()=>typeof G=="function"?G(C.value):G})}const ue=()=>{var G;return $(_,ye({id:Y,class:Ze(!y.value&&te,se),style:ce,onMousedown:re,role:e.role},N),{default:()=>[w.value.map(ae),b.value?ie():null,ne&&$(fb,ye(ye({},Ae),{},{order:g.value,class:`${m.value}-suffix`,registerSize:L,display:!0,style:K}),{default:()=>ne}),(G=i.default)===null||G===void 0?void 0:G.call(i)]})};return $(ku,{disabled:!v.value,onResize:M},{default:ue})}}});Lu.Item=Ffe;Lu.RESPONSIVE=oG;Lu.INVALIDATE=AG;const Tfe=Symbol("TreeSelectLegacyContextPropsKey");function lO(){return tn(Tfe,{})}const Ufe={id:String,prefixCls:String,values:He.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:He.any,placeholder:He.any,disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:He.oneOfType([He.number,He.string]),compositionStatus:Boolean,removeIcon:He.any,choiceTransitionName:String,maxTagCount:He.oneOfType([He.number,He.string]),maxTagTextLength:Number,maxTagPlaceholder:He.any.def(()=>e=>`+ ${e.length} ...`),tagRender:Function,onToggleOpen:{type:Function},onRemove:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},jP=e=>{e.preventDefault(),e.stopPropagation()},Qfe=Je({name:"MultipleSelectSelector",inheritAttrs:!1,props:Ufe,setup(e){const t=Me(),n=Me(0),r=Me(!1),i=lO(),o=fe(()=>`${e.prefixCls}-selection`),A=fe(()=>e.open||e.mode==="tags"?e.searchValue:""),a=fe(()=>e.mode==="tags"||e.showSearch&&(e.open||r.value)),s=qe("");ln(()=>{s.value=A.value}),vn(()=>{st(s,()=>{n.value=t.value.scrollWidth},{flush:"post",immediate:!0})});function u(g,h,m,p,v){return $("span",{class:Ze(`${o.value}-item`,{[`${o.value}-item-disabled`]:m}),title:typeof g=="string"||typeof g=="number"?g.toString():void 0},[$("span",{class:`${o.value}-item-content`},[h]),p&&$(Jd,{class:`${o.value}-item-remove`,onMousedown:jP,onClick:v,customizeIcon:e.removeIcon},{default:()=>[Hu("×")]})])}function l(g,h,m,p,v,y){var b;const w=B=>{jP(B),e.onToggleOpen(!open)};let C=y;return i.keyEntities&&(C=((b=i.keyEntities[g])===null||b===void 0?void 0:b.node)||{}),$("span",{key:g,onMousedown:w},[e.tagRender({label:h,value:g,disabled:m,closable:p,onClose:v,option:C})])}function c(g){const{disabled:h,label:m,value:p,option:v}=g,y=!e.disabled&&!h;let b=m;if(typeof e.maxTagTextLength=="number"&&(typeof m=="string"||typeof m=="number")){const C=String(b);C.length>e.maxTagTextLength&&(b=`${C.slice(0,e.maxTagTextLength)}...`)}const w=C=>{var B;C&&C.stopPropagation(),(B=e.onRemove)===null||B===void 0||B.call(e,g)};return typeof e.tagRender=="function"?l(p,b,h,y,w,v):u(m,b,h,y,w)}function d(g){const{maxTagPlaceholder:h=p=>`+ ${p.length} ...`}=e,m=typeof h=="function"?h(g):h;return u(m,m,!1)}const f=g=>{const h=g.target.composing;s.value=g.target.value,h||e.onInputChange(g)};return()=>{const{id:g,prefixCls:h,values:m,open:p,inputRef:v,placeholder:y,disabled:b,autofocus:w,autocomplete:C,activeDescendantId:B,tabindex:O,compositionStatus:x,onInputPaste:M,onInputKeyDown:R,onInputMouseDown:F,onInputCompositionStart:L,onInputCompositionEnd:E}=e,H=$("div",{class:`${o.value}-search`,style:{width:n.value+"px"},key:"input"},[$(rG,{inputRef:v,open:p,prefixCls:h,id:g,inputElement:null,disabled:b,autofocus:w,autocomplete:C,editable:a.value,activeDescendantId:B,value:s.value,onKeydown:R,onMousedown:F,onChange:f,onPaste:M,onCompositionstart:L,onCompositionend:E,tabindex:O,attrs:xf(e,!0),onFocus:()=>r.value=!0,onBlur:()=>r.value=!1},null),$("span",{ref:t,class:`${o.value}-search-mirror`,"aria-hidden":!0},[s.value,Hu(" ")])]),X=$(Lu,{prefixCls:`${o.value}-overflow`,data:m,renderItem:c,renderRest:d,suffix:H,itemKey:"key",maxCount:e.maxTagCount,key:"overflow"},null);return $(mn,null,[X,!m.length&&!A.value&&!x&&$("span",{class:`${o.value}-placeholder`},[y])])}}}),Pfe={inputElement:He.any,id:String,prefixCls:String,values:He.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:He.any,placeholder:He.any,compositionStatus:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:He.oneOfType([He.number,He.string]),activeValue:String,backfill:{type:Boolean,default:void 0},optionLabelRender:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},uO=Je({name:"SingleSelector",setup(e){const t=Me(!1),n=fe(()=>e.mode==="combobox"),r=fe(()=>n.value||e.showSearch),i=fe(()=>{let l=e.searchValue||"";return n.value&&e.activeValue&&!t.value&&(l=e.activeValue),l}),o=lO();st([n,()=>e.activeValue],()=>{n.value&&(t.value=!1)},{immediate:!0});const A=fe(()=>e.mode!=="combobox"&&!e.open&&!e.showSearch?!1:!!i.value||e.compositionStatus),a=fe(()=>{const l=e.values[0];return l&&(typeof l.label=="string"||typeof l.label=="number")?l.label.toString():void 0}),s=()=>{if(e.values[0])return null;const l=A.value?{visibility:"hidden"}:void 0;return $("span",{class:`${e.prefixCls}-selection-placeholder`,style:l},[e.placeholder])},u=l=>{l.target.composing||(t.value=!0,e.onInputChange(l))};return()=>{var l,c,d,f;const{inputElement:g,prefixCls:h,id:m,values:p,inputRef:v,disabled:y,autofocus:b,autocomplete:w,activeDescendantId:C,open:B,tabindex:O,optionLabelRender:x,onInputKeyDown:M,onInputMouseDown:R,onInputPaste:F,onInputCompositionStart:L,onInputCompositionEnd:E}=e,H=p[0];let X=null;if(H&&o.customSlots){const z=(l=H.key)!==null&&l!==void 0?l:H.value,Z=((c=o.keyEntities[z])===null||c===void 0?void 0:c.node)||{};X=o.customSlots[(d=Z.slots)===null||d===void 0?void 0:d.title]||o.customSlots.title||H.label,typeof X=="function"&&(X=X(Z))}else X=x&&H?x(H.option):H==null?void 0:H.label;return $(mn,null,[$("span",{class:`${h}-selection-search`},[$(rG,{inputRef:v,prefixCls:h,id:m,open:B,inputElement:g,disabled:y,autofocus:b,autocomplete:w,editable:r.value,activeDescendantId:C,value:i.value,onKeydown:M,onMousedown:R,onChange:u,onPaste:F,onCompositionstart:L,onCompositionend:E,tabindex:O,attrs:xf(e,!0)},null)]),!n.value&&H&&!A.value&&$("span",{class:`${h}-selection-item`,title:a.value},[$(mn,{key:(f=H.key)!==null&&f!==void 0?f:H.value},[X])]),s()])}}});uO.props=Pfe;uO.inheritAttrs=!1;function Lfe(e){return![ut.ESC,ut.SHIFT,ut.BACKSPACE,ut.TAB,ut.WIN_KEY,ut.ALT,ut.META,ut.WIN_KEY_RIGHT,ut.CTRL,ut.SEMICOLON,ut.EQUALS,ut.CAPS_LOCK,ut.CONTEXT_MENU,ut.F1,ut.F2,ut.F3,ut.F4,ut.F5,ut.F6,ut.F7,ut.F8,ut.F9,ut.F10,ut.F11,ut.F12].includes(e)}function aG(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=null,n;En(()=>{clearTimeout(n)});function r(i){(i||t===null)&&(t=i),clearTimeout(n),n=setTimeout(()=>{t=null},e)}return[()=>t,r]}function qm(){const e=t=>{e.current=t};return e}const Dfe=Je({name:"Selector",inheritAttrs:!1,props:{id:String,prefixCls:String,showSearch:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},values:He.array,multiple:{type:Boolean,default:void 0},mode:String,searchValue:String,activeValue:String,inputElement:He.any,autofocus:{type:Boolean,default:void 0},activeDescendantId:String,tabindex:He.oneOfType([He.number,He.string]),disabled:{type:Boolean,default:void 0},placeholder:He.any,removeIcon:He.any,maxTagCount:He.oneOfType([He.number,He.string]),maxTagTextLength:Number,maxTagPlaceholder:He.any,tagRender:Function,optionLabelRender:Function,tokenWithEnter:{type:Boolean,default:void 0},choiceTransitionName:String,onToggleOpen:{type:Function},onSearch:Function,onSearchSubmit:Function,onRemove:Function,onInputKeyDown:{type:Function},domRef:Function},setup(e,t){let{expose:n}=t;const r=qm(),i=qe(!1),[o,A]=aG(0),a=p=>{const{which:v}=p;(v===ut.UP||v===ut.DOWN)&&p.preventDefault(),e.onInputKeyDown&&e.onInputKeyDown(p),v===ut.ENTER&&e.mode==="tags"&&!i.value&&!e.open&&e.onSearchSubmit(p.target.value),Lfe(v)&&e.onToggleOpen(!0)},s=()=>{A(!0)};let u=null;const l=p=>{e.onSearch(p,!0,i.value)!==!1&&e.onToggleOpen(!0)},c=()=>{i.value=!0},d=p=>{i.value=!1,e.mode!=="combobox"&&l(p.target.value)},f=p=>{let{target:{value:v}}=p;if(e.tokenWithEnter&&u&&/[\r\n]/.test(u)){const y=u.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");v=v.replace(y,u)}u=null,l(v)},g=p=>{const{clipboardData:v}=p;u=v.getData("text")},h=p=>{let{target:v}=p;v!==r.current&&(document.body.style.msTouchAction!==void 0?setTimeout(()=>{r.current.focus()}):r.current.focus())},m=p=>{const v=o();p.target!==r.current&&!v&&p.preventDefault(),(e.mode!=="combobox"&&(!e.showSearch||!v)||!e.open)&&(e.open&&e.onSearch("",!0,!1),e.onToggleOpen())};return n({focus:()=>{r.current.focus()},blur:()=>{r.current.blur()}}),()=>{const{prefixCls:p,domRef:v,mode:y}=e,b={inputRef:r,onInputKeyDown:a,onInputMouseDown:s,onInputChange:f,onInputPaste:g,compositionStatus:i.value,onInputCompositionStart:c,onInputCompositionEnd:d},w=y==="multiple"||y==="tags"?$(Qfe,ye(ye({},e),b),null):$(uO,ye(ye({},e),b),null);return $("div",{ref:v,class:`${p}-selector`,onClick:h,onMousedown:m},[w])}}});function Rfe(e,t,n){function r(i){var o,A,a;let s=i.target;s.shadowRoot&&i.composed&&(s=i.composedPath()[0]||s);const u=[(o=e[0])===null||o===void 0?void 0:o.value,(a=(A=e[1])===null||A===void 0?void 0:A.value)===null||a===void 0?void 0:a.getPopupElement()];t.value&&u.every(l=>l&&!l.contains(s)&&l!==s)&&n(!1)}vn(()=>{window.addEventListener("mousedown",r)}),En(()=>{window.removeEventListener("mousedown",r)})}function $fe(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10;const t=Me(!1);let n;const r=()=>{clearTimeout(n)};return vn(()=>{r()}),[t,(o,A)=>{r(),n=setTimeout(()=>{t.value=o,A&&A()},e)},r]}const sG=Symbol("BaseSelectContextKey");function Nfe(e){return dn(sG,e)}function Hfe(){return tn(sG,{})}const cO=()=>{if(typeof navigator>"u"||typeof window>"u")return!1;const e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substring(0,4))};function lG(e){if(!qi(e))return Ir(e);const t=new Proxy({},{get(n,r,i){return Reflect.get(e.value,r,i)},set(n,r,i){return e.value[r]=i,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Ir(t)}var Mfe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const kfe=["value","onChange","removeIcon","placeholder","autofocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabindex","OptionList","notFoundContent"],jfe=()=>({prefixCls:String,id:String,omitDomProps:Array,displayValues:Array,onDisplayValuesChange:Function,activeValue:String,activeDescendantId:String,onActiveValueChange:Function,searchValue:String,onSearch:Function,onSearchSplit:Function,maxLength:Number,OptionList:He.any,emptyOptions:Boolean}),uG=()=>({showSearch:{type:Boolean,default:void 0},tagRender:{type:Function},optionLabelRender:{type:Function},direction:{type:String},tabindex:Number,autofocus:Boolean,notFoundContent:He.any,placeholder:He.any,onClear:Function,choiceTransitionName:String,mode:String,disabled:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},onDropdownVisibleChange:{type:Function},getInputElement:{type:Function},getRawInputElement:{type:Function},maxTagTextLength:Number,maxTagCount:{type:[String,Number]},maxTagPlaceholder:He.any,tokenSeparators:{type:Array},allowClear:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:void 0},inputIcon:He.any,clearIcon:He.any,removeIcon:He.any,animation:String,transitionName:String,dropdownStyle:{type:Object},dropdownClassName:String,dropdownMatchSelectWidth:{type:[Boolean,Number],default:void 0},dropdownRender:{type:Function},dropdownAlign:Object,placement:{type:String},getPopupContainer:{type:Function},showAction:{type:Array},onBlur:{type:Function},onFocus:{type:Function},onKeyup:Function,onKeydown:Function,onMousedown:Function,onPopupScroll:Function,onInputKeyDown:Function,onMouseenter:Function,onMouseleave:Function,onClick:Function}),Kfe=()=>V(V({},jfe()),uG());function cG(e){return e==="tags"||e==="multiple"}const Vfe=Je({compatConfig:{MODE:3},name:"BaseSelect",inheritAttrs:!1,props:lr(Kfe(),{showAction:[],notFoundContent:"Not Found"}),setup(e,t){let{attrs:n,expose:r,slots:i}=t;const o=fe(()=>cG(e.mode)),A=fe(()=>e.showSearch!==void 0?e.showSearch:o.value||e.mode==="combobox"),a=Me(!1);vn(()=>{a.value=cO()});const s=lO(),u=Me(null),l=qm(),c=Me(null),d=Me(null),f=Me(null),g=qe(!1),[h,m,p]=$fe();r({focus:()=>{var ae;(ae=d.value)===null||ae===void 0||ae.focus()},blur:()=>{var ae;(ae=d.value)===null||ae===void 0||ae.blur()},scrollTo:ae=>{var ie;return(ie=f.value)===null||ie===void 0?void 0:ie.scrollTo(ae)}});const b=fe(()=>{var ae;if(e.mode!=="combobox")return e.searchValue;const ie=(ae=e.displayValues[0])===null||ae===void 0?void 0:ae.value;return typeof ie=="string"||typeof ie=="number"?String(ie):""}),w=e.open!==void 0?e.open:e.defaultOpen,C=Me(w),B=Me(w),O=ae=>{C.value=e.open!==void 0?e.open:ae,B.value=C.value};st(()=>e.open,()=>{O(e.open)});const x=fe(()=>!e.notFoundContent&&e.emptyOptions);ln(()=>{B.value=C.value,(e.disabled||x.value&&B.value&&e.mode==="combobox")&&(B.value=!1)});const M=fe(()=>x.value?!1:B.value),R=ae=>{const ie=ae!==void 0?ae:!B.value;B.value!==ie&&!e.disabled&&(O(ie),e.onDropdownVisibleChange&&e.onDropdownVisibleChange(ie),!ie&&_.value&&(_.value=!1,m(!1,()=>{te.value=!1,g.value=!1})))},F=fe(()=>(e.tokenSeparators||[]).some(ae=>[`
- `,`\r
- `].includes(ae))),L=(ae,ie,J)=>{var ue,G;let pe=!0,k=ae;(ue=e.onActiveValueChange)===null||ue===void 0||ue.call(e,null);const P=J?null:Hse(ae,e.tokenSeparators);return e.mode!=="combobox"&&P&&(k="",(G=e.onSearchSplit)===null||G===void 0||G.call(e,P),R(!1),pe=!1),e.onSearch&&b.value!==k&&e.onSearch(k,{source:ie?"typing":"effect"}),pe},E=ae=>{var ie;!ae||!ae.trim()||(ie=e.onSearch)===null||ie===void 0||ie.call(e,ae,{source:"submit"})};st(B,()=>{!B.value&&!o.value&&e.mode!=="combobox"&&L("",!1,!1)},{immediate:!0,flush:"post"}),st(()=>e.disabled,()=>{C.value&&e.disabled&&O(!1),e.disabled&&!g.value&&m(!1)},{immediate:!0});const[H,X]=aG(),z=function(ae){var ie;const J=H(),{which:ue}=ae;if(ue===ut.ENTER&&(e.mode!=="combobox"&&ae.preventDefault(),B.value||R(!0)),X(!!b.value),ue===ut.BACKSPACE&&!J&&o.value&&!b.value&&e.displayValues.length){const P=[...e.displayValues];let U=null;for(let W=P.length-1;W>=0;W-=1){const de=P[W];if(!de.disabled){P.splice(W,1),U=de;break}}U&&e.onDisplayValuesChange(P,{type:"remove",values:[U]})}for(var G=arguments.length,pe=new Array(G>1?G-1:0),k=1;k<G;k++)pe[k-1]=arguments[k];B.value&&f.value&&f.value.onKeydown(ae,...pe),(ie=e.onKeydown)===null||ie===void 0||ie.call(e,ae,...pe)},Z=function(ae){for(var ie=arguments.length,J=new Array(ie>1?ie-1:0),ue=1;ue<ie;ue++)J[ue-1]=arguments[ue];B.value&&f.value&&f.value.onKeyup(ae,...J),e.onKeyup&&e.onKeyup(ae,...J)},q=ae=>{const ie=e.displayValues.filter(J=>J!==ae);e.onDisplayValuesChange(ie,{type:"remove",values:[ae]})},te=Me(!1),ne=function(){m(!0),e.disabled||(e.onFocus&&!te.value&&e.onFocus(...arguments),e.showAction&&e.showAction.includes("focus")&&R(!0)),te.value=!0},_=qe(!1),Y=function(){if(_.value||(g.value=!0,m(!1,()=>{te.value=!1,g.value=!1,R(!1)}),e.disabled))return;const ae=b.value;ae&&(e.mode==="tags"?e.onSearch(ae,{source:"submit"}):e.mode==="multiple"&&e.onSearch("",{source:"blur"})),e.onBlur&&e.onBlur(...arguments)},re=()=>{_.value=!0},se=()=>{_.value=!1};dn("VCSelectContainerEvent",{focus:ne,blur:Y});const ce=[];vn(()=>{ce.forEach(ae=>clearTimeout(ae)),ce.splice(0,ce.length)}),En(()=>{ce.forEach(ae=>clearTimeout(ae)),ce.splice(0,ce.length)});const N=function(ae){var ie,J;const{target:ue}=ae,G=(ie=c.value)===null||ie===void 0?void 0:ie.getPopupElement();if(G&&G.contains(ue)){const U=setTimeout(()=>{var W;const de=ce.indexOf(U);de!==-1&&ce.splice(de,1),p(),!a.value&&!G.contains(document.activeElement)&&((W=d.value)===null||W===void 0||W.focus())});ce.push(U)}for(var pe=arguments.length,k=new Array(pe>1?pe-1:0),P=1;P<pe;P++)k[P-1]=arguments[P];(J=e.onMousedown)===null||J===void 0||J.call(e,ae,...k)},K=Me(null),Ae=()=>{};return vn(()=>{st(M,()=>{var ae;if(M.value){const ie=Math.ceil((ae=u.value)===null||ae===void 0?void 0:ae.offsetWidth);K.value!==ie&&!Number.isNaN(ie)&&(K.value=ie)}},{immediate:!0,flush:"post"})}),Rfe([u,c],M,R),Nfe(lG(V(V({},tb(e)),{open:B,triggerOpen:M,showSearch:A,multiple:o,toggleOpen:R}))),()=>{const ae=V(V({},e),n),{prefixCls:ie,id:J,open:ue,defaultOpen:G,mode:pe,showSearch:k,searchValue:P,onSearch:U,allowClear:W,clearIcon:de,showArrow:me,inputIcon:ve,disabled:be,loading:Te,getInputElement:we,getPopupContainer:xe,placement:Ue,animation:ke,transitionName:et,dropdownStyle:De,dropdownClassName:_e,dropdownMatchSelectWidth:Re,dropdownRender:Ne,dropdownAlign:ot,showAction:rt,direction:nt,tokenSeparators:Bt,tagRender:Et,optionLabelRender:Xt,onPopupScroll:Ut,onDropdownVisibleChange:$t,onFocus:xt,onBlur:Ct,onKeyup:ht,onKeydown:Tt,onMousedown:Yt,onClear:nn,omitDomProps:zn,getRawInputElement:ur,displayValues:Mt,onDisplayValuesChange:vr,emptyOptions:Yr,activeDescendantId:mt,activeValue:vt,OptionList:It}=ae,an=Mfe(ae,["prefixCls","id","open","defaultOpen","mode","showSearch","searchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","disabled","loading","getInputElement","getPopupContainer","placement","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","optionLabelRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyup","onKeydown","onMousedown","onClear","omitDomProps","getRawInputElement","displayValues","onDisplayValuesChange","emptyOptions","activeDescendantId","activeValue","OptionList"]),Mn=pe==="combobox"&&we&&we()||null,Kn=typeof ur=="function"&&ur(),Ar=V({},an);let Gn;Kn&&(Gn=wt=>{R(wt)}),kfe.forEach(wt=>{delete Ar[wt]}),zn==null||zn.forEach(wt=>{delete Ar[wt]});const er=me!==void 0?me:Te||!o.value&&pe!=="combobox";let yr;er&&(yr=$(Jd,{class:Ze(`${ie}-arrow`,{[`${ie}-arrow-loading`]:Te}),customizeIcon:ve,customizeIconProps:{loading:Te,searchValue:b.value,open:B.value,focused:h.value,showSearch:A.value}},null));let br;const Dn=()=>{nn==null||nn(),vr([],{type:"clear",values:Mt}),L("",!1,!1)};!be&&W&&(Mt.length||b.value)&&(br=$(Jd,{class:`${ie}-clear`,onMousedown:Dn,customizeIcon:de},{default:()=>[Hu("×")]}));const Kr=$(It,{ref:f},V(V({},s.customSlots),{option:i.option})),ii=Ze(ie,n.class,{[`${ie}-focused`]:h.value,[`${ie}-multiple`]:o.value,[`${ie}-single`]:!o.value,[`${ie}-allow-clear`]:W,[`${ie}-show-arrow`]:er,[`${ie}-disabled`]:be,[`${ie}-loading`]:Te,[`${ie}-open`]:B.value,[`${ie}-customize-input`]:Mn,[`${ie}-show-search`]:A.value}),Ht=$(pfe,{ref:c,disabled:be,prefixCls:ie,visible:M.value,popupElement:Kr,containerWidth:K.value,animation:ke,transitionName:et,dropdownStyle:De,dropdownClassName:_e,direction:nt,dropdownMatchSelectWidth:Re,dropdownRender:Ne,dropdownAlign:ot,placement:Ue,getPopupContainer:xe,empty:Yr,getTriggerDOMNode:()=>l.current,onPopupVisibleChange:Gn,onPopupMouseEnter:Ae,onPopupFocusin:re,onPopupFocusout:se},{default:()=>Kn?eA(Kn)&&jr(Kn,{ref:l},!1,!0):$(Dfe,ye(ye({},e),{},{domRef:l,prefixCls:ie,inputElement:Mn,ref:d,id:J,showSearch:A.value,mode:pe,activeDescendantId:mt,tagRender:Et,optionLabelRender:Xt,values:Mt,open:B.value,onToggleOpen:R,activeValue:vt,searchValue:b.value,onSearch:L,onSearchSubmit:E,onRemove:q,tokenWithEnter:F.value}),null)});let je;return Kn?je=Ht:je=$("div",ye(ye({},Ar),{},{class:ii,ref:u,onMousedown:N,onKeydown:z,onKeyup:Z}),[h.value&&!B.value&&$("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},[`${Mt.map(wt=>{let{label:Pt,value:bn}=wt;return["number","string"].includes(typeof Pt)?Pt:bn}).join(", ")}`]),Ht,yr,br]),je}}}),TB=(e,t)=>{let{height:n,offset:r,prefixCls:i,onInnerResize:o}=e,{slots:A}=t;var a;let s={},u={display:"flex",flexDirection:"column"};return r!==void 0&&(s={height:`${n}px`,position:"relative",overflow:"hidden"},u=V(V({},u),{transform:`translateY(${r}px)`,position:"absolute",left:0,right:0,top:0})),$("div",{style:s},[$(ku,{onResize:l=>{let{offsetHeight:c}=l;c&&o&&o()}},{default:()=>[$("div",{style:u,class:Ze({[`${i}-holder-inner`]:i})},[(a=A.default)===null||a===void 0?void 0:a.call(A)])]})])};TB.displayName="Filter";TB.inheritAttrs=!1;TB.props={prefixCls:String,height:Number,offset:Number,onInnerResize:Function};const fG=(e,t)=>{let{setRef:n}=e,{slots:r}=t;var i;const o=ui((i=r.default)===null||i===void 0?void 0:i.call(r));return o.length?To(o[0],{ref:n}):o};fG.props={setRef:{type:Function,default:()=>{}}};const zfe=20;function KP(e){return"touches"in e?e.touches[0].pageY:e.pageY}const Gfe=Je({compatConfig:{MODE:3},name:"ScrollBar",inheritAttrs:!1,props:{prefixCls:String,scrollTop:Number,scrollHeight:Number,height:Number,count:Number,onScroll:{type:Function},onStartMove:{type:Function},onStopMove:{type:Function}},setup(){return{moveRaf:null,scrollbarRef:qm(),thumbRef:qm(),visibleTimeout:null,state:Ir({dragging:!1,pageY:null,startTop:null,visible:!1})}},watch:{scrollTop:{handler(){this.delayHidden()},flush:"post"}},mounted(){var e,t;(e=this.scrollbarRef.current)===null||e===void 0||e.addEventListener("touchstart",this.onScrollbarTouchStart,qo?{passive:!1}:!1),(t=this.thumbRef.current)===null||t===void 0||t.addEventListener("touchstart",this.onMouseDown,qo?{passive:!1}:!1)},beforeUnmount(){this.removeEvents(),clearTimeout(this.visibleTimeout)},methods:{delayHidden(){clearTimeout(this.visibleTimeout),this.state.visible=!0,this.visibleTimeout=setTimeout(()=>{this.state.visible=!1},2e3)},onScrollbarTouchStart(e){e.preventDefault()},onContainerMouseDown(e){e.stopPropagation(),e.preventDefault()},patchEvents(){window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("mouseup",this.onMouseUp),this.thumbRef.current.addEventListener("touchmove",this.onMouseMove,qo?{passive:!1}:!1),this.thumbRef.current.addEventListener("touchend",this.onMouseUp)},removeEvents(){window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("mouseup",this.onMouseUp),this.scrollbarRef.current.removeEventListener("touchstart",this.onScrollbarTouchStart,qo?{passive:!1}:!1),this.thumbRef.current&&(this.thumbRef.current.removeEventListener("touchstart",this.onMouseDown,qo?{passive:!1}:!1),this.thumbRef.current.removeEventListener("touchmove",this.onMouseMove,qo?{passive:!1}:!1),this.thumbRef.current.removeEventListener("touchend",this.onMouseUp)),hn.cancel(this.moveRaf)},onMouseDown(e){const{onStartMove:t}=this.$props;V(this.state,{dragging:!0,pageY:KP(e),startTop:this.getTop()}),t(),this.patchEvents(),e.stopPropagation(),e.preventDefault()},onMouseMove(e){const{dragging:t,pageY:n,startTop:r}=this.state,{onScroll:i}=this.$props;if(hn.cancel(this.moveRaf),t){const o=KP(e)-n,A=r+o,a=this.getEnableScrollRange(),s=this.getEnableHeightRange(),u=s?A/s:0,l=Math.ceil(u*a);this.moveRaf=hn(()=>{i(l)})}},onMouseUp(){const{onStopMove:e}=this.$props;this.state.dragging=!1,e(),this.removeEvents()},getSpinHeight(){const{height:e,scrollHeight:t}=this.$props;let n=e/t*100;return n=Math.max(n,zfe),n=Math.min(n,e/2),Math.floor(n)},getEnableScrollRange(){const{scrollHeight:e,height:t}=this.$props;return e-t||0},getEnableHeightRange(){const{height:e}=this.$props,t=this.getSpinHeight();return e-t||0},getTop(){const{scrollTop:e}=this.$props,t=this.getEnableScrollRange(),n=this.getEnableHeightRange();return e===0||t===0?0:e/t*n},showScroll(){const{height:e,scrollHeight:t}=this.$props;return t>e}},render(){const{dragging:e,visible:t}=this.state,{prefixCls:n}=this.$props,r=this.getSpinHeight()+"px",i=this.getTop()+"px",o=this.showScroll(),A=o&&t;return $("div",{ref:this.scrollbarRef,class:Ze(`${n}-scrollbar`,{[`${n}-scrollbar-show`]:o}),style:{width:"8px",top:0,bottom:0,right:0,position:"absolute",display:A?void 0:"none"},onMousedown:this.onContainerMouseDown,onMousemove:this.delayHidden},[$("div",{ref:this.thumbRef,class:Ze(`${n}-scrollbar-thumb`,{[`${n}-scrollbar-thumb-moving`]:e}),style:{width:"100%",height:r,top:i,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:"99px",cursor:"pointer",userSelect:"none"},onMousedown:this.onMouseDown},null)])}});function Wfe(e,t,n,r){const i=new Map,o=new Map,A=qe(Symbol("update"));st(e,()=>{A.value=Symbol("update")});let a;function s(){hn.cancel(a)}function u(){s(),a=hn(()=>{i.forEach((c,d)=>{if(c&&c.offsetParent){const{offsetHeight:f}=c;o.get(d)!==f&&(A.value=Symbol("update"),o.set(d,c.offsetHeight))}})})}function l(c,d){const f=t(c);i.get(f),d?(i.set(f,d.$el||d),u()):i.delete(f)}return za(()=>{s()}),[l,u,o,A]}function qfe(e,t,n,r,i,o,A,a){let s;return u=>{if(u==null){a();return}hn.cancel(s);const l=t.value,c=r.itemHeight;if(typeof u=="number")A(u);else if(u&&typeof u=="object"){let d;const{align:f}=u;"index"in u?{index:d}=u:d=l.findIndex(m=>i(m)===u.key);const{offset:g=0}=u,h=(m,p)=>{if(m<0||!e.value)return;const v=e.value.clientHeight;let y=!1,b=p;if(v){const w=p||f;let C=0,B=0,O=0;const x=Math.min(l.length,d);for(let F=0;F<=x;F+=1){const L=i(l[F]);B=C;const E=n.get(L);O=B+(E===void 0?c:E),C=O,F===d&&E===void 0&&(y=!0)}const M=e.value.scrollTop;let R=null;switch(w){case"top":R=B-g;break;case"bottom":R=O-v+g;break;default:{const F=M+v;B<M?b="top":O>F&&(b="bottom")}}R!==null&&R!==M&&A(R)}s=hn(()=>{y&&o(),h(m-1,b)},2)};h(5)}}}const Xfe=typeof navigator=="object"&&/Firefox/i.test(navigator.userAgent),dG=(e,t)=>{let n=!1,r=null;function i(){clearTimeout(r),n=!0,r=setTimeout(()=>{n=!1},50)}return function(o){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const a=o<0&&e.value||o>0&&t.value;return A&&a?(clearTimeout(r),n=!1):(!a||n)&&i(),!n&&a}};function Yfe(e,t,n,r){let i=0,o=null,A=null,a=!1;const s=dG(t,n);function u(c){if(!e.value)return;hn.cancel(o);const{deltaY:d}=c;i+=d,A=d,!s(d)&&(Xfe||c.preventDefault(),o=hn(()=>{r(i*(a?10:1)),i=0}))}function l(c){e.value&&(a=c.detail===A)}return[u,l]}const Jfe=14/15;function Zfe(e,t,n){let r=!1,i=0,o=null,A=null;const a=()=>{o&&(o.removeEventListener("touchmove",s),o.removeEventListener("touchend",u))},s=d=>{if(r){const f=Math.ceil(d.touches[0].pageY);let g=i-f;i=f,n(g)&&d.preventDefault(),clearInterval(A),A=setInterval(()=>{g*=Jfe,(!n(g,!0)||Math.abs(g)<=.1)&&clearInterval(A)},16)}},u=()=>{r=!1,a()},l=d=>{a(),d.touches.length===1&&!r&&(r=!0,i=Math.ceil(d.touches[0].pageY),o=d.target,o.addEventListener("touchmove",s,{passive:!1}),o.addEventListener("touchend",u))},c=()=>{};vn(()=>{document.addEventListener("touchmove",c,{passive:!1}),st(e,d=>{t.value.removeEventListener("touchstart",l),a(),clearInterval(A),d&&t.value.addEventListener("touchstart",l,{passive:!1})},{immediate:!0})}),En(()=>{document.removeEventListener("touchmove",c)})}var ede=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const tde=[],nde={overflowY:"auto",overflowAnchor:"none"};function rde(e,t,n,r,i,o){let{getKey:A}=o;return e.slice(t,n+1).map((a,s)=>{const u=t+s,l=i(a,u,{}),c=A(a);return $(fG,{key:c,setRef:d=>r(a,d)},{default:()=>[l]})})}const hG=Je({compatConfig:{MODE:3},name:"List",inheritAttrs:!1,props:{prefixCls:String,data:He.array,height:Number,itemHeight:Number,fullHeight:{type:Boolean,default:void 0},itemKey:{type:[String,Number,Function],required:!0},component:{type:[String,Object]},virtual:{type:Boolean,default:void 0},children:Function,onScroll:Function,onMousedown:Function,onMouseenter:Function,onVisibleChange:Function},setup(e,t){let{expose:n}=t;const r=fe(()=>{const{height:q,itemHeight:te,virtual:ne}=e;return!!(ne!==!1&&q&&te)}),i=fe(()=>{const{height:q,itemHeight:te,data:ne}=e;return r.value&&ne&&te*ne.length>q}),o=Ir({scrollTop:0,scrollMoving:!1}),A=fe(()=>e.data||tde),a=Me([]);st(A,()=>{a.value=On(A.value).slice()},{immediate:!0});const s=Me(q=>{});st(()=>e.itemKey,q=>{typeof q=="function"?s.value=q:s.value=te=>te==null?void 0:te[q]},{immediate:!0});const u=Me(),l=Me(),c=Me(),d=q=>s.value(q),f={getKey:d};function g(q){let te;typeof q=="function"?te=q(o.scrollTop):te=q;const ne=C(te);u.value&&(u.value.scrollTop=ne),o.scrollTop=ne}const[h,m,p,v]=Wfe(a,d),y=Ir({scrollHeight:void 0,start:0,end:0,offset:void 0}),b=Me(0);vn(()=>{$n(()=>{var q;b.value=((q=l.value)===null||q===void 0?void 0:q.offsetHeight)||0})}),Va(()=>{$n(()=>{var q;b.value=((q=l.value)===null||q===void 0?void 0:q.offsetHeight)||0})}),st([r,a],()=>{r.value||V(y,{scrollHeight:void 0,start:0,end:a.value.length-1,offset:void 0})},{immediate:!0}),st([r,a,b,i],()=>{r.value&&!i.value&&V(y,{scrollHeight:b.value,start:0,end:a.value.length-1,offset:void 0}),u.value&&(o.scrollTop=u.value.scrollTop)},{immediate:!0}),st([i,r,()=>o.scrollTop,a,v,()=>e.height,b],()=>{if(!r.value||!i.value)return;let q=0,te,ne,_;const Y=a.value.length,re=a.value,se=o.scrollTop,{itemHeight:ce,height:N}=e,K=se+N;for(let Ae=0;Ae<Y;Ae+=1){const ae=re[Ae],ie=d(ae);let J=p.get(ie);J===void 0&&(J=ce);const ue=q+J;te===void 0&&ue>=se&&(te=Ae,ne=q),_===void 0&&ue>K&&(_=Ae),q=ue}te===void 0&&(te=0,ne=0,_=Math.ceil(N/ce)),_===void 0&&(_=Y-1),_=Math.min(_+1,Y),V(y,{scrollHeight:q,start:te,end:_,offset:ne})},{immediate:!0});const w=fe(()=>y.scrollHeight-e.height);function C(q){let te=q;return Number.isNaN(w.value)||(te=Math.min(te,w.value)),te=Math.max(te,0),te}const B=fe(()=>o.scrollTop<=0),O=fe(()=>o.scrollTop>=w.value),x=dG(B,O);function M(q){g(q)}function R(q){var te;const{scrollTop:ne}=q.currentTarget;ne!==o.scrollTop&&g(ne),(te=e.onScroll)===null||te===void 0||te.call(e,q)}const[F,L]=Yfe(r,B,O,q=>{g(te=>te+q)});Zfe(r,u,(q,te)=>x(q,te)?!1:(F({preventDefault(){},deltaY:q}),!0));function E(q){r.value&&q.preventDefault()}const H=()=>{u.value&&(u.value.removeEventListener("wheel",F,qo?{passive:!1}:!1),u.value.removeEventListener("DOMMouseScroll",L),u.value.removeEventListener("MozMousePixelScroll",E))};ln(()=>{$n(()=>{u.value&&(H(),u.value.addEventListener("wheel",F,qo?{passive:!1}:!1),u.value.addEventListener("DOMMouseScroll",L),u.value.addEventListener("MozMousePixelScroll",E))})}),En(()=>{H()});const X=qfe(u,a,p,e,d,m,g,()=>{var q;(q=c.value)===null||q===void 0||q.delayHidden()});n({scrollTo:X});const z=fe(()=>{let q=null;return e.height&&(q=V({[e.fullHeight?"height":"maxHeight"]:e.height+"px"},nde),r.value&&(q.overflowY="hidden",o.scrollMoving&&(q.pointerEvents="none"))),q});return st([()=>y.start,()=>y.end,a],()=>{if(e.onVisibleChange){const q=a.value.slice(y.start,y.end+1);e.onVisibleChange(q,a.value)}},{flush:"post"}),{state:o,mergedData:a,componentStyle:z,onFallbackScroll:R,onScrollBar:M,componentRef:u,useVirtual:r,calRes:y,collectHeight:m,setInstance:h,sharedConfig:f,scrollBarRef:c,fillerInnerRef:l,delayHideScrollBar:()=>{var q;(q=c.value)===null||q===void 0||q.delayHidden()}}},render(){const e=V(V({},this.$props),this.$attrs),{prefixCls:t="rc-virtual-list",height:n,itemHeight:r,fullHeight:i,data:o,itemKey:A,virtual:a,component:s="div",onScroll:u,children:l=this.$slots.default,style:c,class:d}=e,f=ede(e,["prefixCls","height","itemHeight","fullHeight","data","itemKey","virtual","component","onScroll","children","style","class"]),g=Ze(t,d),{scrollTop:h}=this.state,{scrollHeight:m,offset:p,start:v,end:y}=this.calRes,{componentStyle:b,onFallbackScroll:w,onScrollBar:C,useVirtual:B,collectHeight:O,sharedConfig:x,setInstance:M,mergedData:R,delayHideScrollBar:F}=this;return $("div",ye({style:V(V({},c),{position:"relative"}),class:g},f),[$(s,{class:`${t}-holder`,style:b,ref:"componentRef",onScroll:w,onMouseenter:F},{default:()=>[$(TB,{prefixCls:t,height:m,offset:p,onInnerResize:O,ref:"fillerInnerRef"},{default:()=>rde(R,v,y,M,l,x)})]}),B&&$(Gfe,{ref:"scrollBarRef",prefixCls:t,scrollTop:h,height:n,scrollHeight:m,count:R.length,onScroll:C,onStartMove:()=>{this.state.scrollMoving=!0},onStopMove:()=>{this.state.scrollMoving=!1}},null)])}});function pG(e,t,n){const r=qe(e());return st(t,(i,o)=>{n?n(i,o)&&(r.value=e()):r.value=e()}),r}function ide(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}const gG=Symbol("SelectContextKey");function ode(e){return dn(gG,e)}function Ade(){return tn(gG,{})}var ade=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function VP(e){return typeof e=="string"||typeof e=="number"}const sde=Je({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup(e,t){let{expose:n,slots:r}=t;const i=Hfe(),o=Ade(),A=fe(()=>`${i.prefixCls}-item`),a=pG(()=>o.flattenOptions,[()=>i.open,()=>o.flattenOptions],w=>w[0]),s=qm(),u=w=>{w.preventDefault()},l=w=>{s.current&&s.current.scrollTo(typeof w=="number"?{index:w}:w)},c=function(w){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const B=a.value.length;for(let O=0;O<B;O+=1){const x=(w+O*C+B)%B,{group:M,data:R}=a.value[x];if(!M&&!R.disabled)return x}return-1},d=Ir({activeIndex:c(0)}),f=function(w){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;d.activeIndex=w;const B={source:C?"keyboard":"mouse"},O=a.value[w];if(!O){o.onActiveValue(null,-1,B);return}o.onActiveValue(O.value,w,B)};st([()=>a.value.length,()=>i.searchValue],()=>{f(o.defaultActiveFirstOption!==!1?c(0):-1)},{immediate:!0});const g=w=>o.rawValues.has(w)&&i.mode!=="combobox";st([()=>i.open,()=>i.searchValue],()=>{if(!i.multiple&&i.open&&o.rawValues.size===1){const w=Array.from(o.rawValues)[0],C=On(a.value).findIndex(B=>{let{data:O}=B;return O[o.fieldNames.value]===w});C!==-1&&(f(C),$n(()=>{l(C)}))}i.open&&$n(()=>{var w;(w=s.current)===null||w===void 0||w.scrollTo(void 0)})},{immediate:!0,flush:"post"});const h=w=>{w!==void 0&&o.onSelect(w,{selected:!o.rawValues.has(w)}),i.multiple||i.toggleOpen(!1)},m=w=>typeof w.label=="function"?w.label():w.label;function p(w){const C=a.value[w];if(!C)return null;const B=C.data||{},{value:O}=B,{group:x}=C,M=xf(B,!0),R=m(C);return C?$("div",ye(ye({"aria-label":typeof R=="string"&&!x?R:null},M),{},{key:w,role:x?"presentation":"option",id:`${i.id}_list_${w}`,"aria-selected":g(O)}),[O]):null}return n({onKeydown:w=>{const{which:C,ctrlKey:B}=w;switch(C){case ut.N:case ut.P:case ut.UP:case ut.DOWN:{let O=0;if(C===ut.UP?O=-1:C===ut.DOWN?O=1:ide()&&B&&(C===ut.N?O=1:C===ut.P&&(O=-1)),O!==0){const x=c(d.activeIndex+O,O);l(x),f(x,!0)}break}case ut.ENTER:{const O=a.value[d.activeIndex];O&&!O.data.disabled?h(O.value):h(void 0),i.open&&w.preventDefault();break}case ut.ESC:i.toggleOpen(!1),i.open&&w.stopPropagation()}},onKeyup:()=>{},scrollTo:w=>{l(w)}}),()=>{const{id:w,notFoundContent:C,onPopupScroll:B}=i,{menuItemSelectedIcon:O,fieldNames:x,virtual:M,listHeight:R,listItemHeight:F}=o,L=r.option,{activeIndex:E}=d,H=Object.keys(x).map(X=>x[X]);return a.value.length===0?$("div",{role:"listbox",id:`${w}_list`,class:`${A.value}-empty`,onMousedown:u},[C]):$(mn,null,[$("div",{role:"listbox",id:`${w}_list`,style:{height:0,width:0,overflow:"hidden"}},[p(E-1),p(E),p(E+1)]),$(hG,{itemKey:"key",ref:s,data:a.value,height:R,itemHeight:F,fullHeight:!1,onMousedown:u,onScroll:B,virtual:M},{default:(X,z)=>{var Z;const{group:q,groupOption:te,data:ne,value:_}=X,{key:Y}=ne,re=typeof X.label=="function"?X.label():X.label;if(q){const de=(Z=ne.title)!==null&&Z!==void 0?Z:VP(re)&&re;return $("div",{class:Ze(A.value,`${A.value}-group`),title:de},[L?L(ne):re!==void 0?re:Y])}const{disabled:se,title:ce,children:N,style:K,class:Ae,className:ae}=ne,ie=ade(ne,["disabled","title","children","style","class","className"]),J=_r(ie,H),ue=g(_),G=`${A.value}-option`,pe=Ze(A.value,G,Ae,ae,{[`${G}-grouped`]:te,[`${G}-active`]:E===z&&!se,[`${G}-disabled`]:se,[`${G}-selected`]:ue}),k=m(X),P=!O||typeof O=="function"||ue,U=typeof k=="number"?k:k||_;let W=VP(U)?U.toString():void 0;return ce!==void 0&&(W=ce),$("div",ye(ye({},J),{},{"aria-selected":ue,class:pe,title:W,onMousemove:de=>{ie.onMousemove&&ie.onMousemove(de),!(E===z||se)&&f(z)},onClick:de=>{se||h(_),ie.onClick&&ie.onClick(de)},style:K}),[$("div",{class:`${G}-content`},[L?L(ne):U]),eA(O)||ue,P&&$(Jd,{class:`${A.value}-option-state`,customizeIcon:O,customizeIconProps:{isSelected:ue}},{default:()=>[ue?"✓":null]})])}})])}}});var lde=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function ude(e){const t=e,{key:n,children:r}=t,i=t.props,{value:o,disabled:A}=i,a=lde(i,["value","disabled"]),s=r==null?void 0:r.default;return V({key:n,value:o!==void 0?o:n,children:s,disabled:A||A===""},a)}function mG(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ui(e).map((r,i)=>{var o;if(!eA(r)||!r.type)return null;const{type:{isSelectOptGroup:A},key:a,children:s,props:u}=r;if(t||!A)return ude(r);const l=s&&s.default?s.default():void 0,c=(u==null?void 0:u.label)||((o=s.label)===null||o===void 0?void 0:o.call(s))||a;return V(V({key:`__RC_SELECT_GRP__${a===null?i:String(a)}__`},u),{label:c,options:mG(l||[])})}).filter(r=>r)}function cde(e,t,n){const r=Me(),i=Me(),o=Me(),A=Me([]);return st([e,t],()=>{e.value?A.value=On(e.value).slice():A.value=mG(t.value)},{immediate:!0,deep:!0}),ln(()=>{const a=A.value,s=new Map,u=new Map,l=n.value;function c(d){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(let g=0;g<d.length;g+=1){const h=d[g];!h[l.options]||f?(s.set(h[l.value],h),u.set(h[l.label],h)):c(h[l.options],!0)}}c(a),r.value=a,i.value=s,o.value=u}),{options:r,valueOptions:i,labelOptions:o}}let zP=0;const fde=$A();function dde(){let e;return fde?(e=zP,zP+=1):e="TEST_OR_SSR",e}function hde(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:qe("");const t=`rc_select_${dde()}`;return e.value||t}function vG(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function px(e,t){return vG(e).join("").toUpperCase().includes(t)}const pde=(e,t,n,r,i)=>fe(()=>{const o=n.value,A=i==null?void 0:i.value,a=r==null?void 0:r.value;if(!o||a===!1)return e.value;const{options:s,label:u,value:l}=t.value,c=[],d=typeof a=="function",f=o.toUpperCase(),g=d?a:(m,p)=>A?px(p[A],f):p[s]?px(p[u!=="children"?u:"label"],f):px(p[l],f),h=d?m=>U3(m):m=>m;return e.value.forEach(m=>{if(m[s]){if(g(o,h(m)))c.push(m);else{const v=m[s].filter(y=>g(o,h(y)));v.length&&c.push(V(V({},m),{[s]:v}))}return}g(o,h(m))&&c.push(m)}),c}),gde=(e,t)=>{const n=Me({values:new Map,options:new Map});return[fe(()=>{const{values:o,options:A}=n.value,a=e.value.map(l=>{var c;return l.label===void 0?V(V({},l),{label:(c=o.get(l.value))===null||c===void 0?void 0:c.label}):l}),s=new Map,u=new Map;return a.forEach(l=>{s.set(l.value,l),u.set(l.value,t.value.get(l.value)||A.get(l.value))}),n.value.values=s,n.value.options=u,a}),o=>t.value.get(o)||n.value.options.get(o)]};function So(e,t){const{defaultValue:n,value:r=qe()}=t||{};let i=typeof e=="function"?e():e;r.value!==void 0&&(i=ni(r)),n!==void 0&&(i=typeof n=="function"?n():n);const o=qe(i),A=qe(i);ln(()=>{let s=r.value!==void 0?r.value:o.value;t.postState&&(s=t.postState(s)),A.value=s});function a(s){const u=A.value;o.value=s,On(A.value)!==s&&t.onChange&&t.onChange(s,u)}return st(r,()=>{o.value=r.value}),[A,a]}function ir(e){const t=typeof e=="function"?e():e,n=qe(t);function r(i){n.value=i}return[n,r]}const mde=["inputValue"];function yG(){return V(V({},uG()),{prefixCls:String,id:String,backfill:{type:Boolean,default:void 0},fieldNames:Object,inputValue:String,searchValue:String,onSearch:Function,autoClearSearchValue:{type:Boolean,default:void 0},onSelect:Function,onDeselect:Function,filterOption:{type:[Boolean,Function],default:void 0},filterSort:Function,optionFilterProp:String,optionLabelProp:String,options:Array,defaultActiveFirstOption:{type:Boolean,default:void 0},virtual:{type:Boolean,default:void 0},listHeight:Number,listItemHeight:Number,menuItemSelectedIcon:He.any,mode:String,labelInValue:{type:Boolean,default:void 0},value:He.any,defaultValue:He.any,onChange:Function,children:Array})}function vde(e){return!e||typeof e!="object"}const yde=Je({compatConfig:{MODE:3},name:"VcSelect",inheritAttrs:!1,props:lr(yG(),{prefixCls:"vc-select",autoClearSearchValue:!0,listHeight:200,listItemHeight:20,dropdownMatchSelectWidth:!0}),setup(e,t){let{expose:n,attrs:r,slots:i}=t;const o=hde(fn(e,"id")),A=fe(()=>cG(e.mode)),a=fe(()=>!!(!e.options&&e.children)),s=fe(()=>e.filterOption===void 0&&e.mode==="combobox"?!1:e.filterOption),u=fe(()=>Oz(e.fieldNames,a.value)),[l,c]=So("",{value:fe(()=>e.searchValue!==void 0?e.searchValue:e.inputValue),postState:Ae=>Ae||""}),d=cde(fn(e,"options"),fn(e,"children"),u),{valueOptions:f,labelOptions:g,options:h}=d,m=Ae=>vG(Ae).map(ie=>{var J,ue;let G,pe,k,P;vde(ie)?G=ie:(k=ie.key,pe=ie.label,G=(J=ie.value)!==null&&J!==void 0?J:k);const U=f.value.get(G);return U&&(pe===void 0&&(pe=U==null?void 0:U[e.optionLabelProp||u.value.label]),k===void 0&&(k=(ue=U==null?void 0:U.key)!==null&&ue!==void 0?ue:G),P=U==null?void 0:U.disabled),{label:pe,value:G,key:k,disabled:P,option:U}}),[p,v]=So(e.defaultValue,{value:fn(e,"value")}),y=fe(()=>{var Ae;const ae=m(p.value);return e.mode==="combobox"&&!(!((Ae=ae[0])===null||Ae===void 0)&&Ae.value)?[]:ae}),[b,w]=gde(y,f),C=fe(()=>{if(!e.mode&&b.value.length===1){const Ae=b.value[0];if(Ae.value===null&&(Ae.label===null||Ae.label===void 0))return[]}return b.value.map(Ae=>{var ae;return V(V({},Ae),{label:(ae=typeof Ae.label=="function"?Ae.label():Ae.label)!==null&&ae!==void 0?ae:Ae.value})})}),B=fe(()=>new Set(b.value.map(Ae=>Ae.value)));ln(()=>{var Ae;if(e.mode==="combobox"){const ae=(Ae=b.value[0])===null||Ae===void 0?void 0:Ae.value;ae!=null&&c(String(ae))}},{flush:"post"});const O=(Ae,ae)=>{const ie=ae??Ae;return{[u.value.value]:Ae,[u.value.label]:ie}},x=Me();ln(()=>{if(e.mode!=="tags"){x.value=h.value;return}const Ae=h.value.slice(),ae=ie=>f.value.has(ie);[...b.value].sort((ie,J)=>ie.value<J.value?-1:1).forEach(ie=>{const J=ie.value;ae(J)||Ae.push(O(J,ie.label))}),x.value=Ae});const M=pde(x,u,l,s,fn(e,"optionFilterProp")),R=fe(()=>e.mode!=="tags"||!l.value||M.value.some(Ae=>Ae[e.optionFilterProp||"value"]===l.value)?M.value:[O(l.value),...M.value]),F=fe(()=>e.filterSort?[...R.value].sort((Ae,ae)=>e.filterSort(Ae,ae)):R.value),L=fe(()=>Nse(F.value,{fieldNames:u.value,childrenAsData:a.value})),E=Ae=>{const ae=m(Ae);if(v(ae),e.onChange&&(ae.length!==b.value.length||ae.some((ie,J)=>{var ue;return((ue=b.value[J])===null||ue===void 0?void 0:ue.value)!==(ie==null?void 0:ie.value)}))){const ie=e.labelInValue?ae.map(ue=>V(V({},ue),{originLabel:ue.label,label:typeof ue.label=="function"?ue.label():ue.label})):ae.map(ue=>ue.value),J=ae.map(ue=>U3(w(ue.value)));e.onChange(A.value?ie:ie[0],A.value?J:J[0])}},[H,X]=ir(null),[z,Z]=ir(0),q=fe(()=>e.defaultActiveFirstOption!==void 0?e.defaultActiveFirstOption:e.mode!=="combobox"),te=function(Ae,ae){let{source:ie="keyboard"}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Z(ae),e.backfill&&e.mode==="combobox"&&Ae!==null&&ie==="keyboard"&&X(String(Ae))},ne=(Ae,ae)=>{const ie=()=>{var J;const ue=w(Ae),G=ue==null?void 0:ue[u.value.label];return[e.labelInValue?{label:typeof G=="function"?G():G,originLabel:G,value:Ae,key:(J=ue==null?void 0:ue.key)!==null&&J!==void 0?J:Ae}:Ae,U3(ue)]};if(ae&&e.onSelect){const[J,ue]=ie();e.onSelect(J,ue)}else if(!ae&&e.onDeselect){const[J,ue]=ie();e.onDeselect(J,ue)}},_=(Ae,ae)=>{let ie;const J=A.value?ae.selected:!0;J?ie=A.value?[...b.value,Ae]:[Ae]:ie=b.value.filter(ue=>ue.value!==Ae),E(ie),ne(Ae,J),e.mode==="combobox"?X(""):(!A.value||e.autoClearSearchValue)&&(c(""),X(""))},Y=(Ae,ae)=>{E(Ae),(ae.type==="remove"||ae.type==="clear")&&ae.values.forEach(ie=>{ne(ie.value,!1)})},re=(Ae,ae)=>{var ie;if(c(Ae),X(null),ae.source==="submit"){const J=(Ae||"").trim();if(J){const ue=Array.from(new Set([...B.value,J]));E(ue),ne(J,!0),c("")}return}ae.source!=="blur"&&(e.mode==="combobox"&&E(Ae),(ie=e.onSearch)===null||ie===void 0||ie.call(e,Ae))},se=Ae=>{let ae=Ae;e.mode!=="tags"&&(ae=Ae.map(J=>{const ue=g.value.get(J);return ue==null?void 0:ue.value}).filter(J=>J!==void 0));const ie=Array.from(new Set([...B.value,...ae]));E(ie),ie.forEach(J=>{ne(J,!0)})},ce=fe(()=>e.virtual!==!1&&e.dropdownMatchSelectWidth!==!1);ode(lG(V(V({},d),{flattenOptions:L,onActiveValue:te,defaultActiveFirstOption:q,onSelect:_,menuItemSelectedIcon:fn(e,"menuItemSelectedIcon"),rawValues:B,fieldNames:u,virtual:ce,listHeight:fn(e,"listHeight"),listItemHeight:fn(e,"listItemHeight"),childrenAsData:a})));const N=qe();n({focus(){var Ae;(Ae=N.value)===null||Ae===void 0||Ae.focus()},blur(){var Ae;(Ae=N.value)===null||Ae===void 0||Ae.blur()},scrollTo(Ae){var ae;(ae=N.value)===null||ae===void 0||ae.scrollTo(Ae)}});const K=fe(()=>_r(e,["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"]));return()=>$(Vfe,ye(ye(ye({},K.value),r),{},{id:o,prefixCls:e.prefixCls,ref:N,omitDomProps:mde,mode:e.mode,displayValues:C.value,onDisplayValuesChange:Y,searchValue:l.value,onSearch:re,onSearchSplit:se,dropdownMatchSelectWidth:e.dropdownMatchSelectWidth,OptionList:sde,emptyOptions:!L.value.length,activeValue:H.value,activeDescendantId:`${o}_list_${z.value}`}),i)}}),fO=()=>null;fO.isSelectOption=!0;fO.displayName="ASelectOption";const dO=()=>null;dO.isSelectOptGroup=!0;dO.displayName="ASelectOptGroup";var bde={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},wde=Symbol("iconContext"),bG=function(){return tn(wde,{prefixCls:qe("anticon"),rootClassName:qe(""),csp:qe()})};function hO(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Bde(e,t){return e&&e.contains?e.contains(t):!1}var GP="data-vc-order",Cde="vc-icon-key",k3=new Map;function wG(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Cde}function pO(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function xde(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function BG(e){return Array.from((k3.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function CG(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!hO())return null;var n=t.csp,r=t.prepend,i=document.createElement("style");i.setAttribute(GP,xde(r)),n&&n.nonce&&(i.nonce=n.nonce),i.innerHTML=e;var o=pO(t),A=o.firstChild;if(r){if(r==="queue"){var a=BG(o).filter(function(s){return["prepend","prependQueue"].includes(s.getAttribute(GP))});if(a.length)return o.insertBefore(i,a[a.length-1].nextSibling),i}o.insertBefore(i,A)}else o.appendChild(i);return i}function Sde(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=pO(t);return BG(n).find(function(r){return r.getAttribute(wG(t))===e})}function Ede(e,t){var n=k3.get(e);if(!n||!Bde(document,n)){var r=CG("",t),i=r.parentNode;k3.set(e,i),e.removeChild(r)}}function Fde(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=pO(n);Ede(r,n);var i=Sde(t,n);if(i)return n.csp&&n.csp.nonce&&i.nonce!==n.csp.nonce&&(i.nonce=n.csp.nonce),i.innerHTML!==e&&(i.innerHTML=e),i;var o=CG(e,n);return o.setAttribute(wG(n),t),o}function WP(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){Ide(e,i,n[i])})}return e}function Ide(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qP(e){return typeof e=="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(typeof e.icon=="object"||typeof e.icon=="function")}function j3(e,t,n){return n?Mu(e.tag,WP({key:t},n,e.attrs),(e.children||[]).map(function(r,i){return j3(r,"".concat(t,"-").concat(e.tag,"-").concat(i))})):Mu(e.tag,WP({key:t},e.attrs),(e.children||[]).map(function(r,i){return j3(r,"".concat(t,"-").concat(e.tag,"-").concat(i))}))}function xG(e){return Wd(e)[0]}function SG(e){return e?Array.isArray(e)?e:[e]:[]}var _de=`
- .anticon {
- display: inline-block;
- color: inherit;
- font-style: normal;
- line-height: 0;
- text-align: center;
- text-transform: none;
- vertical-align: -0.125em;
- text-rendering: optimizeLegibility;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- .anticon > * {
- line-height: 1;
- }
- .anticon svg {
- display: inline-block;
- }
- .anticon::before {
- display: none;
- }
- .anticon .anticon-icon {
- display: block;
- }
- .anticon[tabindex] {
- cursor: pointer;
- }
- .anticon-spin::before,
- .anticon-spin {
- display: inline-block;
- -webkit-animation: loadingCircle 1s infinite linear;
- animation: loadingCircle 1s infinite linear;
- }
- @-webkit-keyframes loadingCircle {
- 100% {
- -webkit-transform: rotate(360deg);
- transform: rotate(360deg);
- }
- }
- @keyframes loadingCircle {
- 100% {
- -webkit-transform: rotate(360deg);
- transform: rotate(360deg);
- }
- }
- `;function EG(e){return e&&e.getRootNode&&e.getRootNode()}function Ode(e){return hO()?EG(e)instanceof ShadowRoot:!1}function Tde(e){return Ode(e)?EG(e):null}var Ude=function(){var t=bG(),n=t.prefixCls,r=t.csp,i=tA(),o=_de;n&&(o=o.replace(/anticon/g,n.value)),$n(function(){if(hO()){var A=i.vnode.el,a=Tde(A);Fde(o,"@ant-design-vue-icons",{prepend:!0,csp:r.value,attachTo:a})}})},Qde=["icon","primaryColor","secondaryColor"];function Pde(e,t){if(e==null)return{};var n=Lde(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Lde(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function db(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){Dde(e,i,n[i])})}return e}function Dde(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lm=Ir({primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1});function Rde(e){var t=e.primaryColor,n=e.secondaryColor;lm.primaryColor=t,lm.secondaryColor=n||xG(t),lm.calculated=!!n}function $de(){return db({},lm)}var Sf=function(t,n){var r=db({},t,n.attrs),i=r.icon,o=r.primaryColor,A=r.secondaryColor,a=Pde(r,Qde),s=lm;if(o&&(s={primaryColor:o,secondaryColor:A||xG(o)}),qP(i),!qP(i))return null;var u=i;return u&&typeof u.icon=="function"&&(u=db({},u,{icon:u.icon(s.primaryColor,s.secondaryColor)})),j3(u.icon,"svg-".concat(u.name),db({},a,{"data-icon":u.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"}))};Sf.props={icon:Object,primaryColor:String,secondaryColor:String,focusable:String};Sf.inheritAttrs=!1;Sf.displayName="IconBase";Sf.getTwoToneColors=$de;Sf.setTwoToneColors=Rde;function Nde(e,t){return jde(e)||kde(e,t)||Mde(e,t)||Hde()}function Hde(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Mde(e,t){if(e){if(typeof e=="string")return XP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return XP(e,t)}}function XP(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function kde(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,o=!1,A,a;try{for(n=n.call(e);!(i=(A=n.next()).done)&&(r.push(A.value),!(t&&r.length===t));i=!0);}catch(s){o=!0,a=s}finally{try{!i&&n.return!=null&&n.return()}finally{if(o)throw a}}return r}}function jde(e){if(Array.isArray(e))return e}function FG(e){var t=SG(e),n=Nde(t,2),r=n[0],i=n[1];return Sf.setTwoToneColors({primaryColor:r,secondaryColor:i})}function Kde(){var e=Sf.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var Vde=Je({name:"InsertStyles",setup:function(){return Ude(),function(){return null}}}),zde=["class","icon","spin","rotate","tabindex","twoToneColor","onClick"];function Gde(e,t){return Yde(e)||Xde(e,t)||qde(e,t)||Wde()}function Wde(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qde(e,t){if(e){if(typeof e=="string")return YP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return YP(e,t)}}function YP(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Xde(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,o=!1,A,a;try{for(n=n.call(e);!(i=(A=n.next()).done)&&(r.push(A.value),!(t&&r.length===t));i=!0);}catch(s){o=!0,a=s}finally{try{!i&&n.return!=null&&n.return()}finally{if(o)throw a}}return r}}function Yde(e){if(Array.isArray(e))return e}function JP(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){j0(e,i,n[i])})}return e}function j0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jde(e,t){if(e==null)return{};var n=Zde(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Zde(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}FG(Mae.primary);var cn=function(t,n){var r,i=JP({},t,n.attrs),o=i.class,A=i.icon,a=i.spin,s=i.rotate,u=i.tabindex,l=i.twoToneColor,c=i.onClick,d=Jde(i,zde),f=bG(),g=f.prefixCls,h=f.rootClassName,m=(r={},j0(r,h.value,!!h.value),j0(r,g.value,!0),j0(r,"".concat(g.value,"-").concat(A.name),!!A.name),j0(r,"".concat(g.value,"-spin"),!!a||A.name==="loading"),r),p=u;p===void 0&&c&&(p=-1);var v=s?{msTransform:"rotate(".concat(s,"deg)"),transform:"rotate(".concat(s,"deg)")}:void 0,y=SG(l),b=Gde(y,2),w=b[0],C=b[1];return $("span",JP({role:"img","aria-label":A.name},d,{onClick:c,class:[m,o],tabindex:p}),[$(Sf,{icon:A,primaryColor:w,secondaryColor:C,style:v},null),$(Vde,null,null)])};cn.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:[String,Array]};cn.displayName="AntdIcon";cn.inheritAttrs=!1;cn.getTwoToneColor=Kde;cn.setTwoToneColor=FG;function ZP(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){ehe(e,i,n[i])})}return e}function ehe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _g=function(t,n){var r=ZP({},t,n.attrs);return $(cn,ZP({},r,{icon:bde}),null)};_g.displayName="DownOutlined";_g.inheritAttrs=!1;var the={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};function eL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){nhe(e,i,n[i])})}return e}function nhe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ka=function(t,n){var r=eL({},t,n.attrs);return $(cn,eL({},r,{icon:the}),null)};ka.displayName="LoadingOutlined";ka.inheritAttrs=!1;var rhe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};function tL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){ihe(e,i,n[i])})}return e}function ihe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var UB=function(t,n){var r=tL({},t,n.attrs);return $(cn,tL({},r,{icon:rhe}),null)};UB.displayName="CheckOutlined";UB.inheritAttrs=!1;var ohe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};function nL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){Ahe(e,i,n[i])})}return e}function Ahe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Os=function(t,n){var r=nL({},t,n.attrs);return $(cn,nL({},r,{icon:ohe}),null)};Os.displayName="CloseOutlined";Os.inheritAttrs=!1;var ahe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};function rL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){she(e,i,n[i])})}return e}function she(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var MA=function(t,n){var r=rL({},t,n.attrs);return $(cn,rL({},r,{icon:ahe}),null)};MA.displayName="CloseCircleFilled";MA.inheritAttrs=!1;var lhe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};function iL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){uhe(e,i,n[i])})}return e}function uhe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wv=function(t,n){var r=iL({},t,n.attrs);return $(cn,iL({},r,{icon:lhe}),null)};wv.displayName="SearchOutlined";wv.inheritAttrs=!1;function che(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{loading:n,multiple:r,prefixCls:i,hasFeedback:o,feedbackIcon:A,showArrow:a}=e,s=e.suffixIcon||t.suffixIcon&&t.suffixIcon(),u=e.clearIcon||t.clearIcon&&t.clearIcon(),l=e.menuItemSelectedIcon||t.menuItemSelectedIcon&&t.menuItemSelectedIcon(),c=e.removeIcon||t.removeIcon&&t.removeIcon(),d=u??$(MA,null,null),f=p=>$(mn,null,[a!==!1&&p,o&&A]);let g=null;if(s!==void 0)g=f(s);else if(n)g=f($(ka,{spin:!0},null));else{const p=`${i}-suffix`;g=v=>{let{open:y,showSearch:b}=v;return f(y&&b?$(wv,{class:p},null):$(_g,{class:p},null))}}let h=null;l!==void 0?h=l:r?h=$(UB,null,null):h=null;let m=null;return c!==void 0?m=c:m=$(Os,null,null),{clearIcon:d,suffixIcon:g,itemIcon:h,removeIcon:m}}function gO(e){const t=Symbol("contextKey");return{useProvide:(i,o)=>{const A=Ir({});return dn(t,A),ln(()=>{V(A,i,o||{})}),A},useInject:()=>tn(t,e)||{}}}const vw=Symbol("ContextProps"),yw=Symbol("InternalContextProps"),fhe=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fe(()=>!0);const n=qe(new Map),r=(o,A)=>{n.value.set(o,A),n.value=new Map(n.value)},i=o=>{n.value.delete(o),n.value=new Map(n.value)};st([t,n],()=>{}),dn(vw,e),dn(yw,{addFormItemField:r,removeFormItemField:i})},K3={id:fe(()=>{}),onFieldBlur:()=>{},onFieldChange:()=>{},clearValidate:()=>{}},V3={addFormItemField:()=>{},removeFormItemField:()=>{}},NA=()=>{const e=tn(yw,V3),t=Symbol("FormItemFieldKey"),n=tA();return e.addFormItemField(t,n.type),En(()=>{e.removeFormItemField(t)}),dn(yw,V3),dn(vw,K3),tn(vw,K3)},z3=Je({compatConfig:{MODE:3},name:"AFormItemRest",setup(e,t){let{slots:n}=t;return dn(yw,V3),dn(vw,K3),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),ha=gO({}),bw=Je({name:"NoFormStatus",setup(e,t){let{slots:n}=t;return ha.useProvide({}),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}});function ws(e,t,n){return Ze({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const sh=(e,t)=>t||e,dhe=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},hhe=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item`]:{"&:empty":{display:"none"}}}}},phe=or("Space",e=>[hhe(e),dhe(e)]);var ghe="[object Symbol]";function QB(e){return typeof e=="symbol"||Ql(e)&&oh(e)==ghe}function mO(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var oL=Ma?Ma.prototype:void 0,AL=oL?oL.toString:void 0;function IG(e){if(typeof e=="string")return e;if(da(e))return mO(e,IG)+"";if(QB(e))return AL?AL.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var mhe=/\s/;function vhe(e){for(var t=e.length;t--&&mhe.test(e.charAt(t)););return t}var yhe=/^\s+/;function bhe(e){return e&&e.slice(0,vhe(e)+1).replace(yhe,"")}var aL=NaN,whe=/^[-+]0x[0-9a-f]+$/i,Bhe=/^0b[01]+$/i,Che=/^0o[0-7]+$/i,xhe=parseInt;function G3(e){if(typeof e=="number")return e;if(QB(e))return aL;if(Es(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Es(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=bhe(e);var n=Bhe.test(e);return n||Che.test(e)?xhe(e.slice(2),n?2:8):whe.test(e)?aL:+e}var She=1/0,Ehe=17976931348623157e292;function Fhe(e){if(!e)return e===0?e:0;if(e=G3(e),e===She||e===-1/0){var t=e<0?-1:1;return t*Ehe}return e===e?e:0}function Ihe(e){var t=Fhe(e),n=t%1;return t===t?n?t-n:t:0}function vO(e){return e}var sL=Object.create,_he=function(){function e(){}return function(t){if(!Es(t))return{};if(sL)return sL(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Ohe(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function The(){}function Uhe(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var Qhe=800,Phe=16,Lhe=Date.now;function Dhe(e){var t=0,n=0;return function(){var r=Lhe(),i=Phe-(r-n);if(n=r,i>0){if(++t>=Qhe)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Rhe(e){return function(){return e}}var ww=function(){try{var e=ah(Object,"defineProperty");return e({},"",{}),e}catch{}}(),$he=ww?function(e,t){return ww(e,"toString",{configurable:!0,enumerable:!1,value:Rhe(t),writable:!0})}:vO,_G=Dhe($he);function Nhe(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function OG(e,t,n,r){for(var i=e.length,o=n+-1;++o<i;)if(t(e[o],o,e))return o;return-1}function Hhe(e){return e!==e}function Mhe(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function khe(e,t,n){return t===t?Mhe(e,t,n):OG(e,Hhe,n)}function TG(e,t){var n=e==null?0:e.length;return!!n&&khe(e,t,0)>-1}function UG(e,t,n){t=="__proto__"&&ww?ww(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var jhe=Object.prototype,Khe=jhe.hasOwnProperty;function yO(e,t,n){var r=e[t];(!(Khe.call(e,t)&&J6(r,n))||n===void 0&&!(t in e))&&UG(e,t,n)}function Bv(e,t,n,r){var i=!n;n||(n={});for(var o=-1,A=t.length;++o<A;){var a=t[o],s=void 0;s===void 0&&(s=e[a]),i?UG(n,a,s):yO(n,a,s)}return n}var lL=Math.max;function QG(e,t,n){return t=lL(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=lL(r.length-t,0),A=Array(o);++i<o;)A[i]=r[t+i];i=-1;for(var a=Array(t+1);++i<t;)a[i]=r[i];return a[t]=n(A),Ohe(e,this,a)}}function Vhe(e,t){return _G(QG(e,t,vO),e+"")}function zhe(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Ghe=Object.prototype,Whe=Ghe.hasOwnProperty;function qhe(e){if(!Es(e))return zhe(e);var t=IB(e),n=[];for(var r in e)r=="constructor"&&(t||!Whe.call(e,r))||n.push(r);return n}function bO(e){return Fg(e)?Yz(e,!0):qhe(e)}var Xhe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Yhe=/^\w*$/;function wO(e,t){if(da(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||QB(e)?!0:Yhe.test(e)||!Xhe.test(e)||t!=null&&e in Object(t)}var Jhe="Expected a function";function BO(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Jhe);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var A=e.apply(this,r);return n.cache=o.set(i,A)||o,A};return n.cache=new(BO.Cache||Ju),n}BO.Cache=Ju;var Zhe=500;function epe(e){var t=BO(e,function(r){return n.size===Zhe&&n.clear(),r}),n=t.cache;return t}var tpe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,npe=/\\(\\)?/g,rpe=epe(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(tpe,function(n,r,i,o){t.push(i?o.replace(npe,"$1"):r||n)}),t});function ipe(e){return e==null?"":IG(e)}function Og(e,t){return da(e)?e:wO(e,t)?[e]:rpe(ipe(e))}function Tg(e){if(typeof e=="string"||QB(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function PB(e,t){t=Og(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[Tg(t[n++])];return n&&n==r?e:void 0}function ope(e,t,n){var r=e==null?void 0:PB(e,t);return r===void 0?n:r}var uL=Ma?Ma.isConcatSpreadable:void 0;function Ape(e){return da(e)||FB(e)||!!(uL&&e&&e[uL])}function ape(e,t,n,r,i){var o=-1,A=e.length;for(n||(n=Ape),i||(i=[]);++o<A;){var a=e[o];n(a)?eO(i,a):i[i.length]=a}return i}function spe(e){var t=e==null?0:e.length;return t?ape(e):[]}function PG(e){return _G(QG(e,void 0,spe),e+"")}var CO=Jz(Object.getPrototypeOf,Object),lpe="[object Object]",upe=Function.prototype,cpe=Object.prototype,LG=upe.toString,fpe=cpe.hasOwnProperty,dpe=LG.call(Object);function DG(e){if(!Ql(e)||oh(e)!=lpe)return!1;var t=CO(e);if(t===null)return!0;var n=fpe.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&LG.call(n)==dpe}function hpe(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}function ppe(e,t){return e&&Bv(t,Ig(t),e)}function gpe(e,t){return e&&Bv(t,bO(t),e)}var RG=typeof exports=="object"&&exports&&!exports.nodeType&&exports,cL=RG&&typeof module=="object"&&module&&!module.nodeType&&module,mpe=cL&&cL.exports===RG,fL=mpe?_s.Buffer:void 0,dL=fL?fL.allocUnsafe:void 0;function vpe(e,t){if(t)return e.slice();var n=e.length,r=dL?dL(n):new e.constructor(n);return e.copy(r),r}function ype(e,t){return Bv(e,tO(e),t)}var bpe=Object.getOwnPropertySymbols,$G=bpe?function(e){for(var t=[];e;)eO(t,tO(e)),e=CO(e);return t}:Gz;function wpe(e,t){return Bv(e,$G(e),t)}function NG(e){return zz(e,bO,$G)}var Bpe=Object.prototype,Cpe=Bpe.hasOwnProperty;function xpe(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&Cpe.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function xO(e){var t=new e.constructor(e.byteLength);return new gw(t).set(new gw(e)),t}function Spe(e,t){var n=t?xO(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var Epe=/\w*$/;function Fpe(e){var t=new e.constructor(e.source,Epe.exec(e));return t.lastIndex=e.lastIndex,t}var hL=Ma?Ma.prototype:void 0,pL=hL?hL.valueOf:void 0;function Ipe(e){return pL?Object(pL.call(e)):{}}function _pe(e,t){var n=t?xO(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Ope="[object Boolean]",Tpe="[object Date]",Upe="[object Map]",Qpe="[object Number]",Ppe="[object RegExp]",Lpe="[object Set]",Dpe="[object String]",Rpe="[object Symbol]",$pe="[object ArrayBuffer]",Npe="[object DataView]",Hpe="[object Float32Array]",Mpe="[object Float64Array]",kpe="[object Int8Array]",jpe="[object Int16Array]",Kpe="[object Int32Array]",Vpe="[object Uint8Array]",zpe="[object Uint8ClampedArray]",Gpe="[object Uint16Array]",Wpe="[object Uint32Array]";function qpe(e,t,n){var r=e.constructor;switch(t){case $pe:return xO(e);case Ope:case Tpe:return new r(+e);case Npe:return Spe(e,n);case Hpe:case Mpe:case kpe:case jpe:case Kpe:case Vpe:case zpe:case Gpe:case Wpe:return _pe(e,n);case Upe:return new r;case Qpe:case Dpe:return new r(e);case Ppe:return Fpe(e);case Lpe:return new r;case Rpe:return Ipe(e)}}function Xpe(e){return typeof e.constructor=="function"&&!IB(e)?_he(CO(e)):{}}var Ype="[object Map]";function Jpe(e){return Ql(e)&&Qa(e)==Ype}var gL=fg&&fg.isMap,Zpe=gL?iO(gL):Jpe,ege="[object Set]";function tge(e){return Ql(e)&&Qa(e)==ege}var mL=fg&&fg.isSet,nge=mL?iO(mL):tge,rge=1,ige=2,oge=4,HG="[object Arguments]",Age="[object Array]",age="[object Boolean]",sge="[object Date]",lge="[object Error]",MG="[object Function]",uge="[object GeneratorFunction]",cge="[object Map]",fge="[object Number]",kG="[object Object]",dge="[object RegExp]",hge="[object Set]",pge="[object String]",gge="[object Symbol]",mge="[object WeakMap]",vge="[object ArrayBuffer]",yge="[object DataView]",bge="[object Float32Array]",wge="[object Float64Array]",Bge="[object Int8Array]",Cge="[object Int16Array]",xge="[object Int32Array]",Sge="[object Uint8Array]",Ege="[object Uint8ClampedArray]",Fge="[object Uint16Array]",Ige="[object Uint32Array]",zr={};zr[HG]=zr[Age]=zr[vge]=zr[yge]=zr[age]=zr[sge]=zr[bge]=zr[wge]=zr[Bge]=zr[Cge]=zr[xge]=zr[cge]=zr[fge]=zr[kG]=zr[dge]=zr[hge]=zr[pge]=zr[gge]=zr[Sge]=zr[Ege]=zr[Fge]=zr[Ige]=!0;zr[lge]=zr[MG]=zr[mge]=!1;function um(e,t,n,r,i,o){var A,a=t&rge,s=t&ige,u=t&oge;if(n&&(A=i?n(e,r,i,o):n(e)),A!==void 0)return A;if(!Es(e))return e;var l=da(e);if(l){if(A=xpe(e),!a)return Uhe(e,A)}else{var c=Qa(e),d=c==MG||c==uge;if(Wm(e))return vpe(e,a);if(c==kG||c==HG||d&&!i){if(A=s||d?{}:Xpe(e),!a)return s?wpe(e,gpe(A,e)):ype(e,ppe(A,e))}else{if(!zr[c])return i?e:{};A=qpe(e,c,a)}}o||(o=new Fl);var f=o.get(e);if(f)return f;o.set(e,A),nge(e)?e.forEach(function(m){A.add(um(m,t,n,m,e,o))}):Zpe(e)&&e.forEach(function(m,p){A.set(p,um(m,t,n,p,e,o))});var g=u?s?NG:R3:s?bO:Ig,h=l?void 0:g(e);return Nhe(h||e,function(m,p){h&&(p=m,m=e[p]),yO(A,p,um(m,t,n,p,e,o))}),A}var _ge=1,Oge=4;function hb(e){return um(e,_ge|Oge)}var Tge=1,Uge=2;function Qge(e,t,n,r){var i=n.length,o=i;if(e==null)return!o;for(e=Object(e);i--;){var A=n[i];if(A[2]?A[1]!==e[A[0]]:!(A[0]in e))return!1}for(;++i<o;){A=n[i];var a=A[0],s=e[a],u=A[1];if(A[2]){if(s===void 0&&!(a in e))return!1}else{var l=new Fl,c;if(!(c===void 0?_B(u,s,Tge|Uge,r,l):c))return!1}}return!0}function jG(e){return e===e&&!Es(e)}function Pge(e){for(var t=Ig(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,jG(i)]}return t}function KG(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function Lge(e){var t=Pge(e);return t.length==1&&t[0][2]?KG(t[0][0],t[0][1]):function(n){return n===e||Qge(n,e,t)}}function Dge(e,t){return e!=null&&t in Object(e)}function Rge(e,t,n){t=Og(t,e);for(var r=-1,i=t.length,o=!1;++r<i;){var A=Tg(t[r]);if(!(o=e!=null&&n(e,A)))break;e=e[A]}return o||++r!=i?o:(i=e==null?0:e.length,!!i&&rO(i)&&nO(A,i)&&(da(e)||FB(e)))}function VG(e,t){return e!=null&&Rge(e,t,Dge)}var $ge=1,Nge=2;function Hge(e,t){return wO(e)&&jG(t)?KG(Tg(e),t):function(n){var r=ope(n,e);return r===void 0&&r===t?VG(n,e):_B(t,r,$ge|Nge)}}function Mge(e){return function(t){return t==null?void 0:t[e]}}function kge(e){return function(t){return PB(t,e)}}function jge(e){return wO(e)?Mge(Tg(e)):kge(e)}function SO(e){return typeof e=="function"?e:e==null?vO:typeof e=="object"?da(e)?Hge(e[0],e[1]):Lge(e):jge(e)}function Kge(e,t,n,r){for(var i=-1,o=e==null?0:e.length;++i<o;){var A=e[i];t(r,A,n(A),e)}return r}function Vge(e){return function(t,n,r){for(var i=-1,o=Object(t),A=r(t),a=A.length;a--;){var s=A[++i];if(n(o[s],s,o)===!1)break}return t}}var zge=Vge();function Gge(e,t){return e&&zge(e,t,Ig)}function Wge(e,t){return function(n,r){if(n==null)return n;if(!Fg(n))return e(n,r);for(var i=n.length,o=-1,A=Object(n);++o<i&&r(A[o],o,A)!==!1;);return n}}var qge=Wge(Gge);function Xge(e,t,n,r){return qge(e,function(i,o,A){t(r,i,n(i),A)}),r}function Yge(e,t){return function(n,r){var i=da(n)?Kge:Xge,o=t();return i(n,e,SO(r),o)}}var gx=function(){return _s.Date.now()},Jge="Expected a function",Zge=Math.max,e0e=Math.min;function zG(e,t,n){var r,i,o,A,a,s,u=0,l=!1,c=!1,d=!0;if(typeof e!="function")throw new TypeError(Jge);t=G3(t)||0,Es(n)&&(l=!!n.leading,c="maxWait"in n,o=c?Zge(G3(n.maxWait)||0,t):o,d="trailing"in n?!!n.trailing:d);function f(C){var B=r,O=i;return r=i=void 0,u=C,A=e.apply(O,B),A}function g(C){return u=C,a=setTimeout(p,t),l?f(C):A}function h(C){var B=C-s,O=C-u,x=t-B;return c?e0e(x,o-O):x}function m(C){var B=C-s,O=C-u;return s===void 0||B>=t||B<0||c&&O>=o}function p(){var C=gx();if(m(C))return v(C);a=setTimeout(p,h(C))}function v(C){return a=void 0,d&&r?f(C):(r=i=void 0,A)}function y(){a!==void 0&&clearTimeout(a),u=0,r=s=i=a=void 0}function b(){return a===void 0?A:v(gx())}function w(){var C=gx(),B=m(C);if(r=arguments,i=this,s=C,B){if(a===void 0)return g(s);if(c)return clearTimeout(a),a=setTimeout(p,t),f(s)}return a===void 0&&(a=setTimeout(p,t)),A}return w.cancel=y,w.flush=b,w}function t0e(e){return Ql(e)&&Fg(e)}function n0e(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function r0e(e){return function(t,n,r){var i=Object(t);if(!Fg(t)){var o=SO(n);t=Ig(t),n=function(a){return o(i[a],a,i)}}var A=e(t,n,r);return A>-1?i[o?t[A]:A]:void 0}}var i0e=Math.max;function o0e(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=n==null?0:Ihe(n);return i<0&&(i=i0e(r+i,0)),OG(e,SO(t),i)}var A0e=r0e(o0e);function a0e(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r}var s0e=Math.min;function l0e(e,t,n){for(var r=TG,i=e[0].length,o=e.length,A=o,a=Array(o),s=1/0,u=[];A--;){var l=e[A];s=s0e(l.length,s),a[A]=i>=120&&l.length>=120?new cg(A&&l):void 0}l=e[0];var c=-1,d=a[0];e:for(;++c<i&&u.length<s;){var f=l[c],g=f;if(f=f!==0?f:0,!(d?pw(d,g):r(u,g))){for(A=o;--A;){var h=a[A];if(!(h?pw(h,g):r(e[A],g)))continue e}d&&d.push(g),u.push(f)}}return u}function u0e(e){return t0e(e)?e:[]}var c0e=Vhe(function(e){var t=mO(e,u0e);return t.length&&t[0]===e[0]?l0e(t):[]});function f0e(e,t){return t.length<2?e:PB(e,hpe(t,0,-1))}var d0e="[object Map]",h0e="[object Set]",p0e=Object.prototype,g0e=p0e.hasOwnProperty;function GG(e){if(e==null)return!0;if(Fg(e)&&(da(e)||typeof e=="string"||typeof e.splice=="function"||Wm(e)||oO(e)||FB(e)))return!e.length;var t=Qa(e);if(t==d0e||t==h0e)return!e.size;if(IB(e))return!Zz(e).length;for(var n in e)if(g0e.call(e,n))return!1;return!0}function m0e(e,t){return t=Og(t,e),e=f0e(e,t),e==null||delete e[Tg(n0e(t))]}function v0e(e){return DG(e)?void 0:e}var y0e=1,b0e=2,w0e=4,B0e=PG(function(e,t){var n={};if(e==null)return n;var r=!1;t=mO(t,function(o){return o=Og(o,e),r||(r=o.length>1),o}),Bv(e,NG(e),n),r&&(n=um(n,y0e|b0e|w0e,v0e));for(var i=t.length;i--;)m0e(n,t[i]);return n});function C0e(e,t,n,r){if(!Es(e))return e;t=Og(t,e);for(var i=-1,o=t.length,A=o-1,a=e;a!=null&&++i<o;){var s=Tg(t[i]),u=n;if(s==="__proto__"||s==="constructor"||s==="prototype")return e;if(i!=A){var l=a[s];u=void 0,u===void 0&&(u=Es(l)?l:nO(t[i+1])?[]:{})}yO(a,s,u),a=a[s]}return e}function x0e(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var A=t[r],a=PB(e,A);n(a,A)&&C0e(o,Og(A,e),a)}return o}var S0e=Yge(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});function E0e(e,t){return x0e(e,t,function(n,r){return VG(e,r)})}var WG=PG(function(e,t){return e==null?{}:E0e(e,t)}),F0e=1/0,I0e=Wp&&1/Z6(new Wp([,-0]))[1]==F0e?function(e){return new Wp(e)}:The,_0e=200;function O0e(e,t,n){var r=-1,i=TG,o=e.length,A=!0,a=[],s=a;if(o>=_0e){var u=I0e(e);if(u)return Z6(u);A=!1,i=pw,s=new cg}else s=a;e:for(;++r<o;){var l=e[r],c=l;if(l=l!==0?l:0,A&&c===c){for(var d=s.length;d--;)if(s[d]===c)continue e;a.push(l)}else i(s,c,n)||(s!==a&&s.push(c),a.push(l))}return a}function mx(e){return e&&e.length?O0e(e):[]}const T0e=()=>({compactSize:String,compactDirection:He.oneOf(Tl("horizontal","vertical")).def("horizontal"),isFirstItem:Qt(),isLastItem:Qt()}),LB=gO(null),Ug=(e,t)=>{const n=LB.useInject(),r=fe(()=>{if(!n||GG(n))return"";const{compactDirection:i,isFirstItem:o,isLastItem:A}=n,a=i==="vertical"?"-vertical-":"-";return Ze({[`${e.value}-compact${a}item`]:!0,[`${e.value}-compact${a}first-item`]:o,[`${e.value}-compact${a}last-item`]:A,[`${e.value}-compact${a}item-rtl`]:t.value==="rtl"})});return{compactSize:fe(()=>n==null?void 0:n.compactSize),compactDirection:fe(()=>n==null?void 0:n.compactDirection),compactItemClassnames:r}},Xm=Je({name:"NoCompactStyle",setup(e,t){let{slots:n}=t;return LB.useProvide(null),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),U0e=()=>({prefixCls:String,size:{type:String},direction:He.oneOf(Tl("horizontal","vertical")).def("horizontal"),align:He.oneOf(Tl("start","end","center","baseline")),block:{type:Boolean,default:void 0}}),Q0e=Je({name:"CompactItem",props:T0e(),setup(e,t){let{slots:n}=t;return LB.useProvide(e),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}});U0e();const P0e=e=>({animationDuration:e,animationFillMode:"both"}),L0e=e=>({animationDuration:e,animationFillMode:"both"}),DB=function(e,t,n,r){const o=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[`
- ${o}${e}-enter,
- ${o}${e}-appear
- `]:V(V({},P0e(r)),{animationPlayState:"paused"}),[`${o}${e}-leave`]:V(V({},L0e(r)),{animationPlayState:"paused"}),[`
- ${o}${e}-enter${e}-enter-active,
- ${o}${e}-appear${e}-appear-active
- `]:{animationName:t,animationPlayState:"running"},[`${o}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},D0e=new Un("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),R0e=new Un("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),$0e=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,i=t?"&":"";return[DB(r,D0e,R0e,e.motionDurationMid,t),{[`
- ${i}${r}-enter,
- ${i}${r}-appear
- `]:{opacity:0,animationTimingFunction:"linear"},[`${i}${r}-leave`]:{animationTimingFunction:"linear"}}]},N0e=new Un("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),H0e=new Un("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),M0e=new Un("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),k0e=new Un("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),j0e=new Un("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),K0e=new Un("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),V0e=new Un("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),z0e=new Un("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),G0e={"move-up":{inKeyframes:V0e,outKeyframes:z0e},"move-down":{inKeyframes:N0e,outKeyframes:H0e},"move-left":{inKeyframes:M0e,outKeyframes:k0e},"move-right":{inKeyframes:j0e,outKeyframes:K0e}},dg=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:o}=G0e[t];return[DB(r,i,o,e.motionDurationMid),{[`
- ${r}-enter,
- ${r}-appear
- `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},RB=new Un("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),$B=new Un("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),NB=new Un("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),HB=new Un("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),W0e=new Un("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),q0e=new Un("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),X0e=new Un("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),Y0e=new Un("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),J0e={"slide-up":{inKeyframes:RB,outKeyframes:$B},"slide-down":{inKeyframes:NB,outKeyframes:HB},"slide-left":{inKeyframes:W0e,outKeyframes:q0e},"slide-right":{inKeyframes:X0e,outKeyframes:Y0e}},Ll=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:o}=J0e[t];return[DB(r,i,o,e.motionDurationMid),{[`
- ${r}-enter,
- ${r}-appear
- `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},EO=new Un("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Z0e=new Un("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),vL=new Un("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),yL=new Un("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),eme=new Un("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),tme=new Un("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),nme=new Un("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),rme=new Un("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),ime=new Un("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),ome=new Un("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),Ame=new Un("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),ame=new Un("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),sme={zoom:{inKeyframes:EO,outKeyframes:Z0e},"zoom-big":{inKeyframes:vL,outKeyframes:yL},"zoom-big-fast":{inKeyframes:vL,outKeyframes:yL},"zoom-left":{inKeyframes:nme,outKeyframes:rme},"zoom-right":{inKeyframes:ime,outKeyframes:ome},"zoom-up":{inKeyframes:eme,outKeyframes:tme},"zoom-down":{inKeyframes:Ame,outKeyframes:ame}},Cv=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:o}=sme[t];return[DB(r,i,o,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[`
- ${r}-enter,
- ${r}-appear
- `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},MB=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
- opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
- opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),bL=e=>{const{controlPaddingHorizontal:t}=e;return{position:"relative",display:"block",minHeight:e.controlHeight,padding:`${(e.controlHeight-e.fontSize*e.lineHeight)/2}px ${t}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,boxSizing:"border-box"}},lme=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`;return[{[`${n}-dropdown`]:V(V({},qn(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[`
- &${t}-slide-up-enter${t}-slide-up-enter-active${n}-dropdown-placement-bottomLeft,
- &${t}-slide-up-appear${t}-slide-up-appear-active${n}-dropdown-placement-bottomLeft
- `]:{animationName:RB},[`
- &${t}-slide-up-enter${t}-slide-up-enter-active${n}-dropdown-placement-topLeft,
- &${t}-slide-up-appear${t}-slide-up-appear-active${n}-dropdown-placement-topLeft
- `]:{animationName:NB},[`&${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-bottomLeft`]:{animationName:$B},[`&${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-topLeft`]:{animationName:HB},"&-hidden":{display:"none"},"&-empty":{color:e.colorTextDisabled},[`${r}-empty`]:V(V({},bL(e)),{color:e.colorTextDisabled}),[`${r}`]:V(V({},bL(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":V({flex:"auto"},ju),"&-state":{flex:"none"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.controlItemBgHover},[`&-selected:not(${r}-option-disabled)`]:{color:e.colorText,fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive,[`${r}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},Ll(e,"slide-up"),Ll(e,"slide-down"),dg(e,"move-up"),dg(e,"move-down")]},lp=2;function qG(e){let{controlHeightSM:t,controlHeight:n,lineWidth:r}=e;const i=(n-t)/2-r,o=Math.ceil(i/2);return[i,o]}function vx(e,t){const{componentCls:n,iconCls:r}=e,i=`${n}-selection-overflow`,o=e.controlHeightSM,[A]=qG(e),a=t?`${n}-${t}`:"";return{[`${n}-multiple${a}`]:{fontSize:e.fontSize,[i]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${A-lp}px ${lp*2}px`,borderRadius:e.borderRadius,[`${n}-show-search&`]:{cursor:"text"},[`${n}-disabled&`]:{background:e.colorBgContainerDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${lp}px 0`,lineHeight:`${o}px`,content:'"\\a0"'}},[`
- &${n}-show-arrow ${n}-selector,
- &${n}-allow-clear ${n}-selector
- `]:{paddingInlineEnd:e.fontSizeIcon+e.controlPaddingHorizontal},[`${n}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:o,marginTop:lp,marginBottom:lp,lineHeight:`${o-e.lineWidth*2}px`,background:e.colorFillSecondary,border:`${e.lineWidth}px solid ${e.colorSplit}`,borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,userSelect:"none",marginInlineEnd:lp*2,paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS/2,[`${n}-disabled&`]:{color:e.colorTextDisabled,borderColor:e.colorBorder,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":V(V({},mv()),{display:"inline-block",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${r}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${i}-item + ${i}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.inputPaddingHorizontalBase-A,"\n &-input,\n &-mirror\n ":{height:o,fontFamily:e.fontFamily,lineHeight:`${o}px`,transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}}function ume(e){const{componentCls:t}=e,n=_n(e,{controlHeight:e.controlHeightSM,controlHeightSM:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),[,r]=qG(e);return[vx(e),vx(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInlineStart:e.controlPaddingHorizontalSM-e.lineWidth,insetInlineEnd:"auto"},[`${t}-selection-search`]:{marginInlineStart:r}}},vx(_n(e,{fontSize:e.fontSizeLG,controlHeight:e.controlHeightLG,controlHeightSM:e.controlHeight,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius}),"lg")]}function yx(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:i}=e,o=e.controlHeight-e.lineWidth*2,A=Math.ceil(e.fontSize*1.25),a=t?`${n}-${t}`:"";return{[`${n}-single${a}`]:{fontSize:e.fontSize,[`${n}-selector`]:V(V({},qn(e)),{display:"flex",borderRadius:i,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%"}},[`
- ${n}-selection-item,
- ${n}-selection-placeholder
- `]:{padding:0,lineHeight:`${o}px`,transition:`all ${e.motionDurationSlow}`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${o}px`}},[`${n}-selection-item`]:{position:"relative",userSelect:"none"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:after`,`${n}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
- &${n}-show-arrow ${n}-selection-item,
- &${n}-show-arrow ${n}-selection-placeholder
- `]:{paddingInlineEnd:A},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:e.controlHeight,padding:`0 ${r}px`,[`${n}-selection-search-input`]:{height:o},"&:after":{lineHeight:`${o}px`}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${r}px`,"&:after":{display:"none"}}}}}}}function cme(e){const{componentCls:t}=e,n=e.controlPaddingHorizontalSM-e.lineWidth;return[yx(e),yx(_n(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${n}px`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:n+e.fontSize*1.5},[`
- &${t}-show-arrow ${t}-selection-item,
- &${t}-show-arrow ${t}-selection-placeholder
- `]:{paddingInlineEnd:e.fontSize*1.5}}}},yx(_n(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}function fme(e,t,n){const{focusElCls:r,focus:i,borderElCls:o}=n,A=o?"> *":"",a=["hover",i?"focus":null,"active"].filter(Boolean).map(s=>`&:${s} ${A}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-e.lineWidth},"&-item":V(V({[a]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${A}`]:{zIndex:0}})}}function dme(e,t,n){const{borderElCls:r}=n,i=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${i}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function xv(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:V(V({},fme(e,r,t)),dme(n,r,t))}}const hme=e=>{const{componentCls:t}=e;return{position:"relative",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${t}-disabled&`]:{color:e.colorTextDisabled,background:e.colorBgContainerDisabled,cursor:"not-allowed",[`${t}-multiple&`]:{background:e.colorBgContainerDisabled},input:{cursor:"not-allowed"}}}},bx=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:r,borderHoverColor:i,outlineColor:o,antCls:A}=t,a=n?{[`${r}-selector`]:{borderColor:i}}:{};return{[e]:{[`&:not(${r}-disabled):not(${r}-customize-input):not(${A}-pagination-size-changer)`]:V(V({},a),{[`${r}-focused& ${r}-selector`]:{borderColor:i,boxShadow:`0 0 0 ${t.controlOutlineWidth}px ${o}`,borderInlineEndWidth:`${t.controlLineWidth}px !important`,outline:0},[`&:hover ${r}-selector`]:{borderColor:i,borderInlineEndWidth:`${t.controlLineWidth}px !important`}})}}},pme=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},gme=e=>{const{componentCls:t,inputPaddingHorizontalBase:n,iconCls:r}=e;return{[t]:V(V({},qn(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${t}-customize-input) ${t}-selector`]:V(V({},hme(e)),pme(e)),[`${t}-selection-item`]:V({flex:1,fontWeight:"normal"},ju),[`${t}-selection-placeholder`]:V(V({},ju),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${t}-arrow`]:V(V({},mv()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[r]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${t}-suffix)`]:{pointerEvents:"auto"}},[`${t}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:e.colorBgContainer,cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${t}-clear`]:{opacity:1}}}),[`${t}-has-feedback`]:{[`${t}-clear`]:{insetInlineEnd:n+e.fontSize+e.paddingXXS}}}},mme=e=>{const{componentCls:t}=e;return[{[t]:{[`&-borderless ${t}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${t}-in-form-item`]:{width:"100%"}}},gme(e),cme(e),ume(e),lme(e),{[`${t}-rtl`]:{direction:"rtl"}},bx(t,_n(e,{borderHoverColor:e.colorPrimaryHover,outlineColor:e.controlOutline})),bx(`${t}-status-error`,_n(e,{borderHoverColor:e.colorErrorHover,outlineColor:e.colorErrorOutline}),!0),bx(`${t}-status-warning`,_n(e,{borderHoverColor:e.colorWarningHover,outlineColor:e.colorWarningOutline}),!0),xv(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},vme=or("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=_n(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.paddingSM-1});return[mme(r)]},e=>({zIndexPopup:e.zIndexPopupBase+50})),FO=()=>V(V({},_r(yG(),["inputIcon","mode","getInputElement","getRawInputElement","backfill"])),{value:Hn([Array,Object,String,Number]),defaultValue:Hn([Array,Object,String,Number]),notFoundContent:He.any,suffixIcon:He.any,itemIcon:He.any,size:yn(),mode:yn(),bordered:Qt(!0),transitionName:String,choiceTransitionName:yn(""),popupClassName:String,dropdownClassName:String,placement:yn(),status:yn(),"onUpdate:value":lt()}),wL="SECRET_COMBOBOX_MODE_DO_NOT_USE",ia=Je({compatConfig:{MODE:3},name:"ASelect",Option:fO,OptGroup:dO,inheritAttrs:!1,props:lr(FO(),{listHeight:256,listItemHeight:24}),SECRET_COMBOBOX_MODE_DO_NOT_USE:wL,slots:Object,setup(e,t){let{attrs:n,emit:r,slots:i,expose:o}=t;const A=qe(),a=NA(),s=ha.useInject(),u=fe(()=>sh(s.status,e.status)),l=()=>{var _;(_=A.value)===null||_===void 0||_.focus()},c=()=>{var _;(_=A.value)===null||_===void 0||_.blur()},d=_=>{var Y;(Y=A.value)===null||Y===void 0||Y.scrollTo(_)},f=fe(()=>{const{mode:_}=e;if(_!=="combobox")return _===wL?"combobox":_}),{prefixCls:g,direction:h,configProvider:m,renderEmpty:p,size:v,getPrefixCls:y,getPopupContainer:b,disabled:w,select:C}=An("select",e),{compactSize:B,compactItemClassnames:O}=Ug(g,h),x=fe(()=>B.value||v.value),M=xs(),R=fe(()=>{var _;return(_=w.value)!==null&&_!==void 0?_:M.value}),[F,L]=vme(g),E=fe(()=>y()),H=fe(()=>e.placement!==void 0?e.placement:h.value==="rtl"?"bottomRight":"bottomLeft"),X=fe(()=>Pl(E.value,nfe(H.value),e.transitionName)),z=fe(()=>Ze({[`${g.value}-lg`]:x.value==="large",[`${g.value}-sm`]:x.value==="small",[`${g.value}-rtl`]:h.value==="rtl",[`${g.value}-borderless`]:!e.bordered,[`${g.value}-in-form-item`]:s.isFormItemInput},ws(g.value,u.value,s.hasFeedback),O.value,L.value)),Z=function(){for(var _=arguments.length,Y=new Array(_),re=0;re<_;re++)Y[re]=arguments[re];r("update:value",Y[0]),r("change",...Y),a.onFieldChange()},q=_=>{r("blur",_),a.onFieldBlur()};o({blur:c,focus:l,scrollTo:d});const te=fe(()=>f.value==="multiple"||f.value==="tags"),ne=fe(()=>e.showArrow!==void 0?e.showArrow:e.loading||!(te.value||f.value==="combobox"));return()=>{var _,Y,re,se;const{notFoundContent:ce,listHeight:N=256,listItemHeight:K=24,popupClassName:Ae,dropdownClassName:ae,virtual:ie,dropdownMatchSelectWidth:J,id:ue=a.id.value,placeholder:G=(_=i.placeholder)===null||_===void 0?void 0:_.call(i),showArrow:pe}=e,{hasFeedback:k,feedbackIcon:P}=s;let U;ce!==void 0?U=ce:i.notFoundContent?U=i.notFoundContent():f.value==="combobox"?U=null:U=(p==null?void 0:p("Select"))||$(k6,{componentName:"Select"},null);const{suffixIcon:W,itemIcon:de,removeIcon:me,clearIcon:ve}=che(V(V({},e),{multiple:te.value,prefixCls:g.value,hasFeedback:k,feedbackIcon:P,showArrow:ne.value}),i),be=_r(e,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered","status"]),Te=Ze(Ae||ae,{[`${g.value}-dropdown-${h.value}`]:h.value==="rtl"},L.value);return F($(yde,ye(ye(ye({ref:A,virtual:ie,dropdownMatchSelectWidth:J},be),n),{},{showSearch:(Y=e.showSearch)!==null&&Y!==void 0?Y:(re=C==null?void 0:C.value)===null||re===void 0?void 0:re.showSearch,placeholder:G,listHeight:N,listItemHeight:K,mode:f.value,prefixCls:g.value,direction:h.value,inputIcon:W,menuItemSelectedIcon:de,removeIcon:me,clearIcon:ve,notFoundContent:U,class:[z.value,n.class],getPopupContainer:b==null?void 0:b.value,dropdownClassName:Te,onChange:Z,onBlur:q,id:ue,dropdownRender:be.dropdownRender||i.dropdownRender,transitionName:X.value,children:(se=i.default)===null||se===void 0?void 0:se.call(i),tagRender:e.tagRender||i.tagRender,optionLabelRender:i.optionLabel,maxTagPlaceholder:e.maxTagPlaceholder||i.maxTagPlaceholder,showArrow:k||pe,disabled:R.value}),{option:i.option}))}}});ia.install=function(e){return e.component(ia.name,ia),e.component(ia.Option.displayName,ia.Option),e.component(ia.OptGroup.displayName,ia.OptGroup),e};ia.Option;ia.OptGroup;var yme={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"};function BL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){bme(e,i,n[i])})}return e}function bme(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var IO=function(t,n){var r=BL({},t,n.attrs);return $(cn,BL({},r,{icon:yme}),null)};IO.displayName="CheckCircleOutlined";IO.inheritAttrs=!1;var wme={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"};function CL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){Bme(e,i,n[i])})}return e}function Bme(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _O=function(t,n){var r=CL({},t,n.attrs);return $(cn,CL({},r,{icon:wme}),null)};_O.displayName="ExclamationCircleOutlined";_O.inheritAttrs=!1;var Cme={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"};function xL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){xme(e,i,n[i])})}return e}function xme(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var OO=function(t,n){var r=xL({},t,n.attrs);return $(cn,xL({},r,{icon:Cme}),null)};OO.displayName="InfoCircleOutlined";OO.inheritAttrs=!1;var Sme={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"};function SL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){Eme(e,i,n[i])})}return e}function Eme(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var TO=function(t,n){var r=SL({},t,n.attrs);return $(cn,SL({},r,{icon:Sme}),null)};TO.displayName="CloseCircleOutlined";TO.inheritAttrs=!1;var Fme={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};function EL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){Ime(e,i,n[i])})}return e}function Ime(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zu=function(t,n){var r=EL({},t,n.attrs);return $(cn,EL({},r,{icon:Fme}),null)};Zu.displayName="CheckCircleFilled";Zu.inheritAttrs=!1;var _me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};function FL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){Ome(e,i,n[i])})}return e}function Ome(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ec=function(t,n){var r=FL({},t,n.attrs);return $(cn,FL({},r,{icon:_me}),null)};ec.displayName="ExclamationCircleFilled";ec.inheritAttrs=!1;var Tme={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"};function IL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){Ume(e,i,n[i])})}return e}function Ume(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lh=function(t,n){var r=IL({},t,n.attrs);return $(cn,IL({},r,{icon:Tme}),null)};lh.displayName="InfoCircleFilled";lh.inheritAttrs=!1;const K0=["xxxl","xxl","xl","lg","md","sm","xs"],Qme=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`,xxxl:`{min-width: ${e.screenXXXL}px}`});function XG(){const[,e]=Eg();return fe(()=>{const t=Qme(e.value),n=new Map;let r=-1,i={};return{matchHandlers:{},dispatch(o){return i=o,n.forEach(A=>A(i)),n.size>=1},subscribe(o){return n.size||this.register(),r+=1,n.set(r,o),o(i),r},unsubscribe(o){n.delete(o),n.size||this.unregister()},unregister(){Object.keys(t).forEach(o=>{const A=t[o],a=this.matchHandlers[A];a==null||a.mql.removeListener(a==null?void 0:a.listener)}),n.clear()},register(){Object.keys(t).forEach(o=>{const A=t[o],a=u=>{let{matches:l}=u;this.dispatch(V(V({},i),{[o]:l}))},s=window.matchMedia(A);s.addListener(a),this.matchHandlers[A]={mql:s,listener:a},a(s)})},responsiveMap:t}})}function UO(){const e=Me({});let t=null;const n=XG();return vn(()=>{t=n.value.subscribe(r=>{e.value=r})}),za(()=>{n.value.unsubscribe(t)}),e}function Oa(e){const t=Me();return ln(()=>{t.value=e()},{flush:"sync"}),t}const Pme=e=>{const{antCls:t,componentCls:n,iconCls:r,avatarBg:i,avatarColor:o,containerSize:A,containerSizeLG:a,containerSizeSM:s,textFontSize:u,textFontSizeLG:l,textFontSizeSM:c,borderRadius:d,borderRadiusLG:f,borderRadiusSM:g,lineWidth:h,lineType:m}=e,p=(v,y,b)=>({width:v,height:v,lineHeight:`${v-h*2}px`,borderRadius:"50%",[`&${n}-square`]:{borderRadius:b},[`${n}-string`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transformOrigin:"0 center"},[`&${n}-icon`]:{fontSize:y,[`> ${r}`]:{margin:0}}});return{[n]:V(V(V(V({},qn(e)),{position:"relative",display:"inline-block",overflow:"hidden",color:o,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:i,border:`${h}px ${m} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),p(A,u,d)),{"&-lg":V({},p(a,l,f)),"&-sm":V({},p(s,c,g)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},Lme=e=>{const{componentCls:t,groupBorderColor:n,groupOverlapping:r,groupSpace:i}=e;return{[`${t}-group`]:{display:"inline-flex",[`${t}`]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:r}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:i}}}},YG=or("Avatar",e=>{const{colorTextLightSolid:t,colorTextPlaceholder:n}=e,r=_n(e,{avatarBg:n,avatarColor:t});return[Pme(r),Lme(r)]},e=>{const{controlHeight:t,controlHeightLG:n,controlHeightSM:r,fontSize:i,fontSizeLG:o,fontSizeXL:A,fontSizeHeading3:a,marginXS:s,marginXXS:u,colorBorderBg:l}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:r,textFontSize:Math.round((o+A)/2),textFontSizeLG:a,textFontSizeSM:i,groupSpace:u,groupOverlapping:-s,groupBorderColor:l}}),JG=Symbol("AvatarContextKey"),Dme=()=>tn(JG,{}),Rme=e=>dn(JG,e),$me=()=>({prefixCls:String,shape:{type:String,default:"circle"},size:{type:[Number,String,Object],default:()=>"default"},src:String,srcset:String,icon:He.any,alt:String,gap:Number,draggable:{type:Boolean,default:void 0},crossOrigin:String,loadError:{type:Function}}),cm=Je({compatConfig:{MODE:3},name:"AAvatar",inheritAttrs:!1,props:$me(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const i=Me(!0),o=Me(!1),A=Me(1),a=Me(null),s=Me(null),{prefixCls:u}=An("avatar",e),[l,c]=YG(u),d=Dme(),f=fe(()=>e.size==="default"?d.size:e.size),g=UO(),h=Oa(()=>{if(typeof e.size!="object")return;const y=K0.find(w=>g.value[w]);return e.size[y]}),m=y=>h.value?{width:`${h.value}px`,height:`${h.value}px`,lineHeight:`${h.value}px`,fontSize:`${y?h.value/2:18}px`}:{},p=()=>{if(!a.value||!s.value)return;const y=a.value.offsetWidth,b=s.value.offsetWidth;if(y!==0&&b!==0){const{gap:w=4}=e;w*2<b&&(A.value=b-w*2<y?(b-w*2)/y:1)}},v=()=>{const{loadError:y}=e;(y==null?void 0:y())!==!1&&(i.value=!1)};return st(()=>e.src,()=>{$n(()=>{i.value=!0,A.value=1})}),st(()=>e.gap,()=>{$n(()=>{p()})}),vn(()=>{$n(()=>{p(),o.value=!0})}),()=>{var y,b;const{shape:w,src:C,alt:B,srcset:O,draggable:x,crossOrigin:M}=e,R=(y=d.shape)!==null&&y!==void 0?y:w,F=LA(n,e,"icon"),L=u.value,E={[`${r.class}`]:!!r.class,[L]:!0,[`${L}-lg`]:f.value==="large",[`${L}-sm`]:f.value==="small",[`${L}-${R}`]:!0,[`${L}-image`]:C&&i.value,[`${L}-icon`]:F,[c.value]:!0},H=typeof f.value=="number"?{width:`${f.value}px`,height:`${f.value}px`,lineHeight:`${f.value}px`,fontSize:F?`${f.value/2}px`:"18px"}:{},X=(b=n.default)===null||b===void 0?void 0:b.call(n);let z;if(C&&i.value)z=$("img",{draggable:x,src:C,srcset:O,onError:v,alt:B,crossorigin:M},null);else if(F)z=F;else if(o.value||A.value!==1){const Z=`scale(${A.value}) translateX(-50%)`,q={msTransform:Z,WebkitTransform:Z,transform:Z},te=typeof f.value=="number"?{lineHeight:`${f.value}px`}:{};z=$(ku,{onResize:p},{default:()=>[$("span",{class:`${L}-string`,ref:a,style:V(V({},te),q)},[X])]})}else z=$("span",{class:`${L}-string`,ref:a,style:{opacity:0}},[X]);return l($("span",ye(ye({},r),{},{ref:s,class:E,style:[H,m(!!F),r.style]}),[z]))}}}),Ea={adjustX:1,adjustY:1},Fa=[0,0],ZG={left:{points:["cr","cl"],overflow:Ea,offset:[-4,0],targetOffset:Fa},right:{points:["cl","cr"],overflow:Ea,offset:[4,0],targetOffset:Fa},top:{points:["bc","tc"],overflow:Ea,offset:[0,-4],targetOffset:Fa},bottom:{points:["tc","bc"],overflow:Ea,offset:[0,4],targetOffset:Fa},topLeft:{points:["bl","tl"],overflow:Ea,offset:[0,-4],targetOffset:Fa},leftTop:{points:["tr","tl"],overflow:Ea,offset:[-4,0],targetOffset:Fa},topRight:{points:["br","tr"],overflow:Ea,offset:[0,-4],targetOffset:Fa},rightTop:{points:["tl","tr"],overflow:Ea,offset:[4,0],targetOffset:Fa},bottomRight:{points:["tr","br"],overflow:Ea,offset:[0,4],targetOffset:Fa},rightBottom:{points:["bl","br"],overflow:Ea,offset:[4,0],targetOffset:Fa},bottomLeft:{points:["tl","bl"],overflow:Ea,offset:[0,4],targetOffset:Fa},leftBottom:{points:["br","bl"],overflow:Ea,offset:[-4,0],targetOffset:Fa}},Nme={prefixCls:String,id:String,overlayInnerStyle:He.any},Hme=Je({compatConfig:{MODE:3},name:"TooltipContent",props:Nme,setup(e,t){let{slots:n}=t;return()=>{var r;return $("div",{class:`${e.prefixCls}-inner`,id:e.id,role:"tooltip",style:e.overlayInnerStyle},[(r=n.overlay)===null||r===void 0?void 0:r.call(n)])}}});var Mme=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function _L(){}const kme=Je({compatConfig:{MODE:3},name:"Tooltip",inheritAttrs:!1,props:{trigger:He.any.def(["hover"]),defaultVisible:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},placement:He.string.def("right"),transitionName:String,animation:He.any,afterVisibleChange:He.func.def(()=>{}),overlayStyle:{type:Object,default:void 0},overlayClassName:String,prefixCls:He.string.def("rc-tooltip"),mouseEnterDelay:He.number.def(.1),mouseLeaveDelay:He.number.def(.1),getPopupContainer:Function,destroyTooltipOnHide:{type:Boolean,default:!1},align:He.object.def(()=>({})),arrowContent:He.any.def(null),tipId:String,builtinPlacements:He.object,overlayInnerStyle:{type:Object,default:void 0},popupVisible:{type:Boolean,default:void 0},onVisibleChange:Function,onPopupAlign:Function,arrow:{type:Boolean,default:!0}},setup(e,t){let{slots:n,attrs:r,expose:i}=t;const o=Me(),A=()=>{const{prefixCls:l,tipId:c,overlayInnerStyle:d}=e;return[e.arrow?$("div",{class:`${l}-arrow`,key:"arrow"},[LA(n,e,"arrowContent")]):null,$(Hme,{key:"content",prefixCls:l,id:c,overlayInnerStyle:d},{overlay:n.overlay})]};i({getPopupDomNode:()=>o.value.getPopupDomNode(),triggerDOM:o,forcePopupAlign:()=>{var l;return(l=o.value)===null||l===void 0?void 0:l.forcePopupAlign()}});const s=Me(!1),u=Me(!1);return ln(()=>{const{destroyTooltipOnHide:l}=e;if(typeof l=="boolean")s.value=l;else if(l&&typeof l=="object"){const{keepParent:c}=l;s.value=c===!0,u.value=c===!1}}),()=>{const{overlayClassName:l,trigger:c,mouseEnterDelay:d,mouseLeaveDelay:f,overlayStyle:g,prefixCls:h,afterVisibleChange:m,transitionName:p,animation:v,placement:y,align:b,destroyTooltipOnHide:w,defaultVisible:C}=e,B=Mme(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible"]),O=V({},B);e.visible!==void 0&&(O.popupVisible=e.visible);const x=V(V(V({popupClassName:l,prefixCls:h,action:c,builtinPlacements:ZG,popupPlacement:y,popupAlign:b,afterPopupVisibleChange:m,popupTransitionName:p,popupAnimation:v,defaultPopupVisible:C,destroyPopupOnHide:s.value,autoDestroy:u.value,mouseLeaveDelay:f,popupStyle:g,mouseEnterDelay:d},O),r),{onPopupVisibleChange:e.onVisibleChange||_L,onPopupAlign:e.onPopupAlign||_L,ref:o,arrow:!!e.arrow,popup:A()});return $(yv,x,{default:n.default})}}}),QO=()=>({trigger:[String,Array],open:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},placement:String,color:String,transitionName:String,overlayStyle:qt(),overlayInnerStyle:qt(),overlayClassName:String,openClassName:String,prefixCls:String,mouseEnterDelay:Number,mouseLeaveDelay:Number,getPopupContainer:Function,arrowPointAtCenter:{type:Boolean,default:void 0},arrow:{type:[Boolean,Object],default:!0},autoAdjustOverflow:{type:[Boolean,Object],default:void 0},destroyTooltipOnHide:{type:Boolean,default:void 0},align:qt(),builtinPlacements:qt(),children:Array,onVisibleChange:Function,"onUpdate:visible":Function,onOpenChange:Function,"onUpdate:open":Function}),jme={adjustX:1,adjustY:1},OL={adjustX:0,adjustY:0},Kme=[0,0];function TL(e){return typeof e=="boolean"?e?jme:OL:V(V({},OL),e)}function eW(e){const{arrowWidth:t=4,horizontalArrowShift:n=16,verticalArrowShift:r=8,autoAdjustOverflow:i,arrowPointAtCenter:o}=e,A={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(n+t),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(r+t)]},topRight:{points:["br","tc"],offset:[n+t,-4]},rightTop:{points:["tl","cr"],offset:[4,-(r+t)]},bottomRight:{points:["tr","bc"],offset:[n+t,4]},rightBottom:{points:["bl","cr"],offset:[4,r+t]},bottomLeft:{points:["tl","bc"],offset:[-(n+t),4]},leftBottom:{points:["br","cl"],offset:[-4,r+t]}};return Object.keys(A).forEach(a=>{A[a]=o?V(V({},A[a]),{overflow:TL(i),targetOffset:Kme}):V(V({},ZG[a]),{overflow:TL(i)}),A[a].ignoreShake=!0}),A}function W3(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];for(let t=0,n=e.length;t<n;t++)if(e[t]!==void 0)return e[t]}const Vme=jm.map(e=>`${e}-inverse`),zme=["success","processing","error","default","warning"];function tW(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[...Vme,...jm].includes(e):jm.includes(e)}function Gme(e){return zme.includes(e)}function Wme(e,t){const n=tW(t),r=Ze({[`${e}-${t}`]:t&&n}),i={},o={};return t&&!n&&(i.background=t,o["--antd-arrow-background-color"]=t),{className:r,overlayStyle:i,arrowStyle:o}}function Z1(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return e.map(n=>`${t}${n}`).join(",")}const nW=8;function rW(e){const t=nW,{sizePopupArrow:n,contentRadius:r,borderRadiusOuter:i,limitVerticalRadius:o}=e,A=n/2-Math.ceil(i*(Math.sqrt(2)-1)),a=(r>12?r+2:12)-A,s=o?t-A:a;return{dropdownArrowOffset:a,dropdownArrowOffsetVertical:s}}function iW(e,t){const{componentCls:n,sizePopupArrow:r,marginXXS:i,borderRadiusXS:o,borderRadiusOuter:A,boxShadowPopoverArrow:a}=e,{colorBg:s,showArrowCls:u,contentRadius:l=e.borderRadiusLG,limitVerticalRadius:c}=t,{dropdownArrowOffsetVertical:d,dropdownArrowOffset:f}=rW({sizePopupArrow:r,contentRadius:l,borderRadiusOuter:A,limitVerticalRadius:c}),g=r/2+i;return{[n]:{[`${n}-arrow`]:[V(V({position:"absolute",zIndex:1,display:"block"},N6(r,o,A,s,a)),{"&:before":{background:s}})],[[`&-placement-top ${n}-arrow`,`&-placement-topLeft ${n}-arrow`,`&-placement-topRight ${n}-arrow`].join(",")]:{bottom:0,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:f}},[`&-placement-topRight ${n}-arrow`]:{right:{_skip_check_:!0,value:f}},[[`&-placement-bottom ${n}-arrow`,`&-placement-bottomLeft ${n}-arrow`,`&-placement-bottomRight ${n}-arrow`].join(",")]:{top:0,transform:"translateY(-100%)"},[`&-placement-bottom ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:f}},[`&-placement-bottomRight ${n}-arrow`]:{right:{_skip_check_:!0,value:f}},[[`&-placement-left ${n}-arrow`,`&-placement-leftTop ${n}-arrow`,`&-placement-leftBottom ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:0},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${n}-arrow`]:{top:d},[`&-placement-leftBottom ${n}-arrow`]:{bottom:d},[[`&-placement-right ${n}-arrow`,`&-placement-rightTop ${n}-arrow`,`&-placement-rightBottom ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:0},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${n}-arrow`]:{top:d},[`&-placement-rightBottom ${n}-arrow`]:{bottom:d},[Z1(["&-placement-topLeft","&-placement-top","&-placement-topRight"].map(h=>h+=":not(&-arrow-hidden)"),u)]:{paddingBottom:g},[Z1(["&-placement-bottomLeft","&-placement-bottom","&-placement-bottomRight"].map(h=>h+=":not(&-arrow-hidden)"),u)]:{paddingTop:g},[Z1(["&-placement-leftTop","&-placement-left","&-placement-leftBottom"].map(h=>h+=":not(&-arrow-hidden)"),u)]:{paddingRight:{_skip_check_:!0,value:g}},[Z1(["&-placement-rightTop","&-placement-right","&-placement-rightBottom"].map(h=>h+=":not(&-arrow-hidden)"),u)]:{paddingLeft:{_skip_check_:!0,value:g}}}}}const qme=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:i,tooltipBorderRadius:o,zIndexPopup:A,controlHeight:a,boxShadowSecondary:s,paddingSM:u,paddingXS:l,tooltipRadiusOuter:c}=e;return[{[t]:V(V(V(V({},qn(e)),{position:"absolute",zIndex:A,display:"block","&":[{width:"max-content"},{width:"intrinsic"}],maxWidth:n,visibility:"visible","&-hidden":{display:"none"},"--antd-arrow-background-color":i,[`${t}-inner`]:{minWidth:a,minHeight:a,padding:`${u/2}px ${l}px`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:i,borderRadius:o,boxShadow:s},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(o,nW)}},[`${t}-content`]:{position:"relative"}}),dz(e,(d,f)=>{let{darkColor:g}=f;return{[`&${t}-${d}`]:{[`${t}-inner`]:{backgroundColor:g},[`${t}-arrow`]:{"--antd-arrow-background-color":g}}}})),{"&-rtl":{direction:"rtl"}})},iW(_n(e,{borderRadiusOuter:c}),{colorBg:"var(--antd-arrow-background-color)",showArrowCls:"",contentRadius:o,limitVerticalRadius:!0}),{[`${t}-pure`]:{position:"relative",maxWidth:"none"}}]},Xme=(e,t)=>or("Tooltip",r=>{if((t==null?void 0:t.value)===!1)return[];const{borderRadius:i,colorTextLightSolid:o,colorBgDefault:A,borderRadiusOuter:a}=r,s=_n(r,{tooltipMaxWidth:250,tooltipColor:o,tooltipBorderRadius:i,tooltipBg:A,tooltipRadiusOuter:a>4?4:a});return[qme(s),Cv(r,"zoom-big-fast")]},r=>{let{zIndexPopupBase:i,colorBgSpotlight:o}=r;return{zIndexPopup:i+70,colorBgDefault:o}})(e),Yme=(e,t)=>{const n={},r=V({},e);return t.forEach(i=>{e&&i in e&&(n[i]=e[i],delete r[i])}),{picked:n,omitted:r}},Jme=()=>V(V({},QO()),{title:He.any}),oW=()=>({trigger:"hover",align:{},placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0}),Zme=Je({compatConfig:{MODE:3},name:"ATooltip",inheritAttrs:!1,props:lr(Jme(),{trigger:"hover",align:{},placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0}),slots:Object,setup(e,t){let{slots:n,emit:r,attrs:i,expose:o}=t;const{prefixCls:A,getPopupContainer:a,direction:s,rootPrefixCls:u}=An("tooltip",e),l=fe(()=>{var M;return(M=e.open)!==null&&M!==void 0?M:e.visible}),c=qe(W3([e.open,e.visible])),d=qe();let f;st(l,M=>{hn.cancel(f),f=hn(()=>{c.value=!!M})});const g=()=>{var M;const R=(M=e.title)!==null&&M!==void 0?M:n.title;return!R&&R!==0},h=M=>{const R=g();l.value===void 0&&(c.value=R?!1:M),R||(r("update:visible",M),r("visibleChange",M),r("update:open",M),r("openChange",M))};o({getPopupDomNode:()=>d.value.getPopupDomNode(),open:c,forcePopupAlign:()=>{var M;return(M=d.value)===null||M===void 0?void 0:M.forcePopupAlign()}});const p=fe(()=>{var M;const{builtinPlacements:R,autoAdjustOverflow:F,arrow:L,arrowPointAtCenter:E}=e;let H=E;return typeof L=="object"&&(H=(M=L.pointAtCenter)!==null&&M!==void 0?M:E),R||eW({arrowPointAtCenter:H,autoAdjustOverflow:F})}),v=M=>M||M==="",y=M=>{const R=M.type;if(typeof R=="object"&&M.props&&((R.__ANT_BUTTON===!0||R==="button")&&v(M.props.disabled)||R.__ANT_SWITCH===!0&&(v(M.props.disabled)||v(M.props.loading))||R.__ANT_RADIO===!0&&v(M.props.disabled))){const{picked:F,omitted:L}=Yme(xAe(M),["position","left","right","top","bottom","float","display","zIndex"]),E=V(V({display:"inline-block"},F),{cursor:"not-allowed",lineHeight:1,width:M.props&&M.props.block?"100%":void 0}),H=V(V({},L),{pointerEvents:"none"}),X=jr(M,{style:H},!0);return $("span",{style:E,class:`${A.value}-disabled-compatible-wrapper`},[X])}return M},b=()=>{var M,R;return(M=e.title)!==null&&M!==void 0?M:(R=n.title)===null||R===void 0?void 0:R.call(n)},w=(M,R)=>{const F=p.value,L=Object.keys(F).find(E=>{var H,X;return F[E].points[0]===((H=R.points)===null||H===void 0?void 0:H[0])&&F[E].points[1]===((X=R.points)===null||X===void 0?void 0:X[1])});if(L){const E=M.getBoundingClientRect(),H={top:"50%",left:"50%"};L.indexOf("top")>=0||L.indexOf("Bottom")>=0?H.top=`${E.height-R.offset[1]}px`:(L.indexOf("Top")>=0||L.indexOf("bottom")>=0)&&(H.top=`${-R.offset[1]}px`),L.indexOf("left")>=0||L.indexOf("Right")>=0?H.left=`${E.width-R.offset[0]}px`:(L.indexOf("right")>=0||L.indexOf("Left")>=0)&&(H.left=`${-R.offset[0]}px`),M.style.transformOrigin=`${H.left} ${H.top}`}},C=fe(()=>Wme(A.value,e.color)),B=fe(()=>i["data-popover-inject"]),[O,x]=Xme(A,fe(()=>!B.value));return()=>{var M,R;const{openClassName:F,overlayClassName:L,overlayStyle:E,overlayInnerStyle:H}=e;let X=(R=ho((M=n.default)===null||M===void 0?void 0:M.call(n)))!==null&&R!==void 0?R:null;X=X.length===1?X[0]:X;let z=c.value;if(l.value===void 0&&g()&&(z=!1),!X)return null;const Z=y(eA(X)&&!SAe(X)?X:$("span",null,[X])),q=Ze({[F||`${A.value}-open`]:!0,[Z.props&&Z.props.class]:Z.props&&Z.props.class}),te=Ze(L,{[`${A.value}-rtl`]:s.value==="rtl"},C.value.className,x.value),ne=V(V({},C.value.overlayStyle),H),_=C.value.arrowStyle,Y=V(V(V({},i),e),{prefixCls:A.value,arrow:!!e.arrow,getPopupContainer:a==null?void 0:a.value,builtinPlacements:p.value,visible:z,ref:d,overlayClassName:te,overlayStyle:V(V({},_),E),overlayInnerStyle:ne,onVisibleChange:h,onPopupAlign:w,transitionName:Pl(u.value,"zoom-big-fast",e.transitionName)});return O($(kme,Y,{default:()=>[c.value?jr(Z,{class:q}):Z],arrowContent:()=>$("span",{class:`${A.value}-arrow-content`},null),overlay:b}))}}}),Qg=Ga(Zme),eve=e=>{const{componentCls:t,popoverBg:n,popoverColor:r,width:i,fontWeightStrong:o,popoverPadding:A,boxShadowSecondary:a,colorTextHeading:s,borderRadiusLG:u,zIndexPopup:l,marginXS:c,colorBgElevated:d}=e;return[{[t]:V(V({},qn(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:l,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--antd-arrow-background-color":d,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:n,backgroundClip:"padding-box",borderRadius:u,boxShadow:a,padding:A},[`${t}-title`]:{minWidth:i,marginBottom:c,color:s,fontWeight:o},[`${t}-inner-content`]:{color:r}})},iW(e,{colorBg:"var(--antd-arrow-background-color)"}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",[`${t}-content`]:{display:"inline-block"}}}]},tve=e=>{const{componentCls:t}=e;return{[t]:jm.map(n=>{const r=e[`${n}-6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},nve=e=>{const{componentCls:t,lineWidth:n,lineType:r,colorSplit:i,paddingSM:o,controlHeight:A,fontSize:a,lineHeight:s,padding:u}=e,l=A-Math.round(a*s),c=l/2,d=l/2-n,f=u;return{[t]:{[`${t}-inner`]:{padding:0},[`${t}-title`]:{margin:0,padding:`${c}px ${f}px ${d}px`,borderBottom:`${n}px ${r} ${i}`},[`${t}-inner-content`]:{padding:`${o}px ${f}px`}}}},rve=or("Popover",e=>{const{colorBgElevated:t,colorText:n,wireframe:r}=e,i=_n(e,{popoverBg:t,popoverColor:n,popoverPadding:12});return[eve(i),tve(i),r&&nve(i),Cv(i,"zoom-big")]},e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+30,width:177}}),ive=()=>V(V({},QO()),{content:wi(),title:wi()}),ove=Je({compatConfig:{MODE:3},name:"APopover",inheritAttrs:!1,props:lr(ive(),V(V({},oW()),{trigger:"hover",placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1})),setup(e,t){let{expose:n,slots:r,attrs:i}=t;const o=qe();Xu(e.visible===void 0),n({getPopupDomNode:()=>{var d,f;return(f=(d=o.value)===null||d===void 0?void 0:d.getPopupDomNode)===null||f===void 0?void 0:f.call(d)}});const{prefixCls:A,configProvider:a}=An("popover",e),[s,u]=rve(A),l=fe(()=>a.getPrefixCls()),c=()=>{var d,f;const{title:g=ho((d=r.title)===null||d===void 0?void 0:d.call(r)),content:h=ho((f=r.content)===null||f===void 0?void 0:f.call(r))}=e,m=!!(Array.isArray(g)?g.length:g),p=!!(Array.isArray(h)?h.length:g);return!m&&!p?null:$(mn,null,[m&&$("div",{class:`${A.value}-title`},[g]),$("div",{class:`${A.value}-inner-content`},[h])])};return()=>{const d=Ze(e.overlayClassName,u.value);return s($(Qg,ye(ye(ye({},_r(e,["title","content"])),i),{},{prefixCls:A.value,ref:o,overlayClassName:d,transitionName:Pl(l.value,"zoom-big",e.transitionName),"data-popover-inject":!0}),{title:c,default:r.default}))}}}),AW=Ga(ove),Ave=()=>({prefixCls:String,maxCount:Number,maxStyle:{type:Object,default:void 0},maxPopoverPlacement:{type:String,default:"top"},maxPopoverTrigger:String,size:{type:[Number,String,Object],default:"default"},shape:{type:String,default:"circle"}}),q3=Je({compatConfig:{MODE:3},name:"AAvatarGroup",inheritAttrs:!1,props:Ave(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=An("avatar",e),A=fe(()=>`${i.value}-group`),[a,s]=YG(i);return ln(()=>{const u={size:e.size,shape:e.shape};Rme(u)}),()=>{const{maxPopoverPlacement:u="top",maxCount:l,maxStyle:c,maxPopoverTrigger:d="hover",shape:f}=e,g={[A.value]:!0,[`${A.value}-rtl`]:o.value==="rtl",[`${r.class}`]:!!r.class,[s.value]:!0},h=LA(n,e),m=ui(h).map((v,y)=>jr(v,{key:`avatar-key-${y}`})),p=m.length;if(l&&l<p){const v=m.slice(0,l),y=m.slice(l,p);return v.push($(AW,{key:"avatar-popover-key",content:y,trigger:d,placement:u,overlayClassName:`${A.value}-popover`},{default:()=>[$(cm,{style:c,shape:f},{default:()=>[`+${p-l}`]})]})),a($("div",ye(ye({},r),{},{class:g,style:r.style}),[v]))}return a($("div",ye(ye({},r),{},{class:g,style:r.style}),[m]))}}});cm.Group=q3;cm.install=function(e){return e.component(cm.name,cm),e.component(q3.name,q3),e};const X3=e=>!isNaN(parseFloat(e))&&isFinite(e),up={adjustX:1,adjustY:1},cp=[0,0],ave={topLeft:{points:["bl","tl"],overflow:up,offset:[0,-4],targetOffset:cp},topCenter:{points:["bc","tc"],overflow:up,offset:[0,-4],targetOffset:cp},topRight:{points:["br","tr"],overflow:up,offset:[0,-4],targetOffset:cp},bottomLeft:{points:["tl","bl"],overflow:up,offset:[0,4],targetOffset:cp},bottomCenter:{points:["tc","bc"],overflow:up,offset:[0,4],targetOffset:cp},bottomRight:{points:["tr","br"],overflow:up,offset:[0,4],targetOffset:cp}};var sve=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const aW=Je({compatConfig:{MODE:3},props:{minOverlayWidthMatchTrigger:{type:Boolean,default:void 0},arrow:{type:Boolean,default:!1},prefixCls:He.string.def("rc-dropdown"),transitionName:String,overlayClassName:He.string.def(""),openClassName:String,animation:He.any,align:He.object,overlayStyle:{type:Object,default:void 0},placement:He.string.def("bottomLeft"),overlay:He.any,trigger:He.oneOfType([He.string,He.arrayOf(He.string)]).def("hover"),alignPoint:{type:Boolean,default:void 0},showAction:He.array,hideAction:He.array,getPopupContainer:Function,visible:{type:Boolean,default:void 0},defaultVisible:{type:Boolean,default:!1},mouseEnterDelay:He.number.def(.15),mouseLeaveDelay:He.number.def(.1)},emits:["visibleChange","overlayClick"],setup(e,t){let{slots:n,emit:r,expose:i}=t;const o=qe(!!e.visible);st(()=>e.visible,f=>{f!==void 0&&(o.value=f)});const A=qe();i({triggerRef:A});const a=f=>{e.visible===void 0&&(o.value=!1),r("overlayClick",f)},s=f=>{e.visible===void 0&&(o.value=f),r("visibleChange",f)},u=()=>{var f;const g=(f=n.overlay)===null||f===void 0?void 0:f.call(n),h={prefixCls:`${e.prefixCls}-menu`,onClick:a};return $(mn,{key:OV},[e.arrow&&$("div",{class:`${e.prefixCls}-arrow`},null),jr(g,h,!1)])},l=fe(()=>{const{minOverlayWidthMatchTrigger:f=!e.alignPoint}=e;return f}),c=()=>{var f;const g=(f=n.default)===null||f===void 0?void 0:f.call(n);return o.value&&g?jr(g[0],{class:e.openClassName||`${e.prefixCls}-open`},!1):g},d=fe(()=>!e.hideAction&&e.trigger.indexOf("contextmenu")!==-1?["click"]:e.hideAction);return()=>{const{prefixCls:f,arrow:g,showAction:h,overlayStyle:m,trigger:p,placement:v,align:y,getPopupContainer:b,transitionName:w,animation:C,overlayClassName:B}=e,O=sve(e,["prefixCls","arrow","showAction","overlayStyle","trigger","placement","align","getPopupContainer","transitionName","animation","overlayClassName"]);return $(yv,ye(ye({},O),{},{prefixCls:f,ref:A,popupClassName:Ze(B,{[`${f}-show-arrow`]:g}),popupStyle:m,builtinPlacements:ave,action:p,showAction:h,hideAction:d.value||[],popupPlacement:v,popupAlign:y,popupTransitionName:w,popupAnimation:C,popupVisible:o.value,stretch:l.value?"minWidth":"",onPopupVisibleChange:s,getPopupContainer:b}),{popup:u,default:c})}}}),lve=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0}}}}},uve=or("Wave",e=>[lve(e)]);function cve(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function wx(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&cve(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function fve(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return wx(t)?t:wx(n)?n:wx(r)?r:null}function Bx(e){return Number.isNaN(e)?0:e}const dve=Je({props:{target:qt(),className:String},setup(e){const t=Me(null),[n,r]=ir(null),[i,o]=ir([]),[A,a]=ir(0),[s,u]=ir(0),[l,c]=ir(0),[d,f]=ir(0),[g,h]=ir(!1);function m(){const{target:B}=e,O=getComputedStyle(B);r(fve(B));const x=O.position==="static",{borderLeftWidth:M,borderTopWidth:R}=O;a(x?B.offsetLeft:Bx(-parseFloat(M))),u(x?B.offsetTop:Bx(-parseFloat(R))),c(B.offsetWidth),f(B.offsetHeight);const{borderTopLeftRadius:F,borderTopRightRadius:L,borderBottomLeftRadius:E,borderBottomRightRadius:H}=O;o([F,L,H,E].map(X=>Bx(parseFloat(X))))}let p,v,y;const b=()=>{clearTimeout(y),hn.cancel(v),p==null||p.disconnect()},w=()=>{var B;const O=(B=t.value)===null||B===void 0?void 0:B.parentElement;O&&(ff(null,O),O.parentElement&&O.parentElement.removeChild(O))};vn(()=>{b(),y=setTimeout(()=>{w()},5e3);const{target:B}=e;B&&(v=hn(()=>{m(),h(!0)}),typeof ResizeObserver<"u"&&(p=new ResizeObserver(m),p.observe(B)))}),En(()=>{b()});const C=B=>{B.propertyName==="opacity"&&w()};return()=>{if(!g.value)return null;const B={left:`${A.value}px`,top:`${s.value}px`,width:`${l.value}px`,height:`${d.value}px`,borderRadius:i.value.map(O=>`${O}px`).join(" ")};return n&&(B["--wave-color"]=n.value),$(ca,{appear:!0,name:"wave-motion",appearFromClass:"wave-motion-appear",appearActiveClass:"wave-motion-appear",appearToClass:"wave-motion-appear wave-motion-appear-active"},{default:()=>[$("div",{ref:t,class:e.className,style:B,onTransitionend:C},null)]})}}});function hve(e,t){const n=document.createElement("div");return n.style.position="absolute",n.style.left="0px",n.style.top="0px",e==null||e.insertBefore(n,e==null?void 0:e.firstChild),ff($(dve,{target:e,className:t},null),n),()=>{ff(null,n),n.parentElement&&n.parentElement.removeChild(n)}}function pve(e,t){const n=tA();let r;function i(){var o;const A=bl(n);r==null||r(),!(!((o=t==null?void 0:t.value)===null||o===void 0)&&o.disabled||!A)&&(r=hve(A,e.value))}return En(()=>{r==null||r()}),i}const sW=Je({compatConfig:{MODE:3},name:"Wave",props:{disabled:Boolean},setup(e,t){let{slots:n}=t;const r=tA(),{prefixCls:i,wave:o}=An("wave",e),[,A]=uve(i),a=pve(fe(()=>Ze(i.value,A.value)),o);let s;const u=()=>{bl(r).removeEventListener("click",s,!0)};return vn(()=>{st(()=>e.disabled,()=>{u(),$n(()=>{const l=bl(r);l==null||l.removeEventListener("click",s,!0),!(!l||l.nodeType!==1||e.disabled)&&(s=c=>{c.target.tagName==="INPUT"||!xB(c.target)||!l.getAttribute||l.getAttribute("disabled")||l.disabled||l.className.includes("disabled")||l.className.includes("-leave")||a()},l.addEventListener("click",s,!0))})},{immediate:!0,flush:"post"})}),En(()=>{u()}),()=>{var l;return(l=n.default)===null||l===void 0?void 0:l.call(n)[0]}}});function Bw(e){return e==="danger"?{danger:!0}:{type:e}}const lW=()=>({prefixCls:String,type:String,htmlType:{type:String,default:"button"},shape:{type:String},size:{type:String},loading:{type:[Boolean,Object],default:()=>!1},disabled:{type:Boolean,default:void 0},ghost:{type:Boolean,default:void 0},block:{type:Boolean,default:void 0},danger:{type:Boolean,default:void 0},icon:He.any,href:String,target:String,title:String,onClick:Gd(),onMousedown:Gd()}),UL=e=>{e&&(e.style.width="0px",e.style.opacity="0",e.style.transform="scale(0)")},QL=e=>{$n(()=>{e&&(e.style.width=`${e.scrollWidth}px`,e.style.opacity="1",e.style.transform="scale(1)")})},PL=e=>{e&&e.style&&(e.style.width=null,e.style.opacity=null,e.style.transform=null)},gve=Je({compatConfig:{MODE:3},name:"LoadingIcon",props:{prefixCls:String,loading:[Boolean,Object],existIcon:Boolean},setup(e){return()=>{const{existIcon:t,prefixCls:n,loading:r}=e;if(t)return $("span",{class:`${n}-loading-icon`},[$(ka,null,null)]);const i=!!r;return $(ca,{name:`${n}-loading-icon-motion`,onBeforeEnter:UL,onEnter:QL,onAfterEnter:PL,onBeforeLeave:QL,onLeave:o=>{setTimeout(()=>{UL(o)})},onAfterLeave:PL},{default:()=>[i?$("span",{class:`${n}-loading-icon`},[$(ka,null,null)]):null]})}}}),LL=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),mve=e=>{const{componentCls:t,fontSize:n,lineWidth:r,colorPrimaryHover:i,colorErrorHover:o}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-r,[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},LL(`${t}-primary`,i),LL(`${t}-danger`,o)]}};function vve(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function yve(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function bve(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:V(V({},vve(e,t)),yve(e.componentCls,t))}}const wve=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:400,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:e.lineHeight,color:e.colorText,"> span":{display:"inline-block"},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},"> a":{color:"currentColor"},"&:not(:disabled)":V({},df(e)),[`&-icon-only${t}-compact-item`]:{flex:"none"},[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:e.lineWidth,height:`calc(100% + ${e.lineWidth*2}px)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:`calc(100% + ${e.lineWidth*2}px)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},Vu=(e,t)=>({"&:not(:disabled)":{"&:hover":e,"&:active":t}}),Bve=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Cve=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),Y3=e=>({cursor:"not-allowed",borderColor:e.colorBorder,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),Cw=(e,t,n,r,i,o,A)=>({[`&${e}-background-ghost`]:V(V({color:t||void 0,backgroundColor:"transparent",borderColor:n||void 0,boxShadow:"none"},Vu(V({backgroundColor:"transparent"},o),V({backgroundColor:"transparent"},A))),{"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:i||void 0}})}),PO=e=>({"&:disabled":V({},Y3(e))}),uW=e=>V({},PO(e)),xw=e=>({"&:disabled":{cursor:"not-allowed",color:e.colorTextDisabled}}),cW=e=>V(V(V(V(V({},uW(e)),{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`}),Vu({color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),Cw(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:V(V(V({color:e.colorError,borderColor:e.colorError},Vu({color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Cw(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),PO(e))}),xve=e=>V(V(V(V(V({},uW(e)),{color:e.colorTextLightSolid,backgroundColor:e.colorPrimary,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`}),Vu({color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),Cw(e.componentCls,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:V(V(V({backgroundColor:e.colorError,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`},Vu({backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),Cw(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),PO(e))}),Sve=e=>V(V({},cW(e)),{borderStyle:"dashed"}),Eve=e=>V(V(V({color:e.colorLink},Vu({color:e.colorLinkHover},{color:e.colorLinkActive})),xw(e)),{[`&${e.componentCls}-dangerous`]:V(V({color:e.colorError},Vu({color:e.colorErrorHover},{color:e.colorErrorActive})),xw(e))}),Fve=e=>V(V(V({},Vu({color:e.colorText,backgroundColor:e.colorBgTextHover},{color:e.colorText,backgroundColor:e.colorBgTextActive})),xw(e)),{[`&${e.componentCls}-dangerous`]:V(V({color:e.colorError},xw(e)),Vu({color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),Ive=e=>V(V({},Y3(e)),{[`&${e.componentCls}:hover`]:V({},Y3(e))}),_ve=e=>{const{componentCls:t}=e;return{[`${t}-default`]:cW(e),[`${t}-primary`]:xve(e),[`${t}-dashed`]:Sve(e),[`${t}-link`]:Eve(e),[`${t}-text`]:Fve(e),[`${t}-disabled`]:Ive(e)}},LO=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,iconCls:r,controlHeight:i,fontSize:o,lineHeight:A,lineWidth:a,borderRadius:s,buttonPaddingHorizontal:u}=e,l=Math.max(0,(i-o*A)/2-a),c=u-a,d=`${n}-icon-only`;return[{[`${n}${t}`]:{fontSize:o,height:i,padding:`${l}px ${c}px`,borderRadius:s,[`&${d}`]:{width:i,paddingInlineStart:0,paddingInlineEnd:0,[`&${n}-round`]:{width:"auto"},"> span":{transform:"scale(1.143)"}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`&:not(${d}) ${n}-loading-icon > ${r}`]:{marginInlineEnd:e.marginXS}}},{[`${n}${n}-circle${t}`]:Bve(e)},{[`${n}${n}-round${t}`]:Cve(e)}]},Ove=e=>LO(e),Tve=e=>{const t=_n(e,{controlHeight:e.controlHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:8,borderRadius:e.borderRadiusSM});return LO(t,`${e.componentCls}-sm`)},Uve=e=>{const t=_n(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG});return LO(t,`${e.componentCls}-lg`)},Qve=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},Pve=or("Button",e=>{const{controlTmpOutline:t,paddingContentHorizontal:n}=e,r=_n(e,{colorOutlineDefault:t,buttonPaddingHorizontal:n});return[wve(r),Tve(r),Ove(r),Uve(r),Qve(r),_ve(r),mve(r),xv(e,{focus:!1}),bve(e)]}),Lve=()=>({prefixCls:String,size:{type:String}}),fW=gO(),J3=Je({compatConfig:{MODE:3},name:"AButtonGroup",props:Lve(),setup(e,t){let{slots:n}=t;const{prefixCls:r,direction:i}=An("btn-group",e),[,,o]=Eg();fW.useProvide(Ir({size:fe(()=>e.size)}));const A=fe(()=>{const{size:a}=e;let s="";switch(a){case"large":s="lg";break;case"small":s="sm";break;case"middle":case void 0:break;default:Xr(!a,"Button.Group","Invalid prop `size`.")}return{[`${r.value}`]:!0,[`${r.value}-${s}`]:s,[`${r.value}-rtl`]:i.value==="rtl",[o.value]:!0}});return()=>{var a;return $("div",{class:A.value},[ui((a=n.default)===null||a===void 0?void 0:a.call(n))])}}}),DL=/^[\u4e00-\u9fa5]{2}$/,RL=DL.test.bind(DL);function ey(e){return e==="text"||e==="link"}const Oo=Je({compatConfig:{MODE:3},name:"AButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:lr(lW(),{type:"default"}),slots:Object,setup(e,t){let{slots:n,attrs:r,emit:i,expose:o}=t;const{prefixCls:A,autoInsertSpaceInButton:a,direction:s,size:u}=An("btn",e),[l,c]=Pve(A),d=fW.useInject(),f=xs(),g=fe(()=>{var H;return(H=e.disabled)!==null&&H!==void 0?H:f.value}),h=Me(null),m=Me(void 0);let p=!1;const v=Me(!1),y=Me(!1),b=fe(()=>a.value!==!1),{compactSize:w,compactItemClassnames:C}=Ug(A,s),B=fe(()=>typeof e.loading=="object"&&e.loading.delay?e.loading.delay||!0:!!e.loading);st(B,H=>{clearTimeout(m.value),typeof B.value=="number"?m.value=setTimeout(()=>{v.value=H},B.value):v.value=H},{immediate:!0});const O=fe(()=>{const{type:H,shape:X="default",ghost:z,block:Z,danger:q}=e,te=A.value,ne={large:"lg",small:"sm",middle:void 0},_=w.value||(d==null?void 0:d.size)||u.value,Y=_&&ne[_]||"";return[C.value,{[c.value]:!0,[`${te}`]:!0,[`${te}-${X}`]:X!=="default"&&X,[`${te}-${H}`]:H,[`${te}-${Y}`]:Y,[`${te}-loading`]:v.value,[`${te}-background-ghost`]:z&&!ey(H),[`${te}-two-chinese-chars`]:y.value&&b.value,[`${te}-block`]:Z,[`${te}-dangerous`]:!!q,[`${te}-rtl`]:s.value==="rtl"}]}),x=()=>{const H=h.value;if(!H||a.value===!1)return;const X=H.textContent;p&&RL(X)?y.value||(y.value=!0):y.value&&(y.value=!1)},M=H=>{if(v.value||g.value){H.preventDefault();return}i("click",H)},R=H=>{i("mousedown",H)},F=(H,X)=>{const z=X?" ":"";if(H.type===rh){let Z=H.children.trim();return RL(Z)&&(Z=Z.split("").join(z)),$("span",null,[Z])}return H};return ln(()=>{Xr(!(e.ghost&&ey(e.type)),"Button","`link` or `text` button can't be a `ghost` button.")}),vn(x),Va(x),En(()=>{m.value&&clearTimeout(m.value)}),o({focus:()=>{var H;(H=h.value)===null||H===void 0||H.focus()},blur:()=>{var H;(H=h.value)===null||H===void 0||H.blur()}}),()=>{var H,X;const{icon:z=(H=n.icon)===null||H===void 0?void 0:H.call(n)}=e,Z=ui((X=n.default)===null||X===void 0?void 0:X.call(n));p=Z.length===1&&!z&&!ey(e.type);const{type:q,htmlType:te,href:ne,title:_,target:Y}=e,re=v.value?"loading":z,se=V(V({},r),{title:_,disabled:g.value,class:[O.value,r.class,{[`${A.value}-icon-only`]:Z.length===0&&!!re}],onClick:M,onMousedown:R});g.value||delete se.disabled;const ce=z&&!v.value?z:$(gve,{existIcon:!!z,prefixCls:A.value,loading:!!v.value},null),N=Z.map(Ae=>F(Ae,p&&b.value));if(ne!==void 0)return l($("a",ye(ye({},se),{},{href:ne,target:Y,ref:h}),[ce,N]));let K=$("button",ye(ye({},se),{},{ref:h,type:te}),[ce,N]);if(!ey(q)){const Ae=function(){return K}();K=$(sW,{ref:"wave",disabled:!!v.value},{default:()=>[Ae]})}return l(K)}}});Oo.Group=J3;Oo.install=function(e){return e.component(Oo.name,Oo),e.component(J3.name,J3),e};const dW=()=>({arrow:Hn([Boolean,Object]),trigger:{type:[Array,String]},menu:qt(),overlay:He.any,visible:Qt(),open:Qt(),disabled:Qt(),danger:Qt(),autofocus:Qt(),align:qt(),getPopupContainer:Function,prefixCls:String,transitionName:String,placement:String,overlayClassName:String,overlayStyle:qt(),forceRender:Qt(),mouseEnterDelay:Number,mouseLeaveDelay:Number,openClassName:String,minOverlayWidthMatchTrigger:Qt(),destroyPopupOnHide:Qt(),onVisibleChange:{type:Function},"onUpdate:visible":{type:Function},onOpenChange:{type:Function},"onUpdate:open":{type:Function}}),Cx=lW(),Dve=()=>V(V({},dW()),{type:Cx.type,size:String,htmlType:Cx.htmlType,href:String,disabled:Qt(),prefixCls:String,icon:He.any,title:String,loading:Cx.loading,onClick:Gd()});var Rve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};function $L(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){$ve(e,i,n[i])})}return e}function $ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Sv=function(t,n){var r=$L({},t,n.attrs);return $(cn,$L({},r,{icon:Rve}),null)};Sv.displayName="EllipsisOutlined";Sv.inheritAttrs=!1;const Nve=e=>{const{componentCls:t,antCls:n,paddingXS:r,opacityLoading:i}=e;return{[`${t}-button`]:{whiteSpace:"nowrap",[`&${n}-btn-group > ${n}-btn`]:{[`&-loading, &-loading + ${n}-btn`]:{cursor:"default",pointerEvents:"none",opacity:i},[`&:last-child:not(:first-child):not(${n}-btn-icon-only)`]:{paddingInline:r}}}}},Hve=e=>{const{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:i}=e,o=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${o}`]:{[`&${o}-danger:not(${o}-disabled)`]:{color:r,"&:hover":{color:i,backgroundColor:r}}}}}},Mve=e=>{const{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:i,dropdownArrowOffset:o,sizePopupArrow:A,antCls:a,iconCls:s,motionDurationMid:u,dropdownPaddingVertical:l,fontSize:c,dropdownEdgeChildPadding:d,colorTextDisabled:f,fontSizeIcon:g,controlPaddingHorizontal:h,colorBgElevated:m,boxShadowPopoverArrow:p}=e;return[{[t]:V(V({},qn(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:-i+A/2,zIndex:-9999,opacity:1e-4,content:'""'},[`${t}-wrap`]:{position:"relative",[`${a}-btn > ${s}-down`]:{fontSize:g},[`${s}-down::before`]:{transition:`transform ${u}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`
- &-show-arrow${t}-placement-topLeft,
- &-show-arrow${t}-placement-top,
- &-show-arrow${t}-placement-topRight
- `]:{paddingBottom:i},[`
- &-show-arrow${t}-placement-bottomLeft,
- &-show-arrow${t}-placement-bottom,
- &-show-arrow${t}-placement-bottomRight
- `]:{paddingTop:i},[`${t}-arrow`]:V({position:"absolute",zIndex:1,display:"block"},N6(A,e.borderRadiusXS,e.borderRadiusOuter,m,p)),[`
- &-placement-top > ${t}-arrow,
- &-placement-topLeft > ${t}-arrow,
- &-placement-topRight > ${t}-arrow
- `]:{bottom:i,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${t}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft > ${t}-arrow`]:{left:{_skip_check_:!0,value:o}},[`&-placement-topRight > ${t}-arrow`]:{right:{_skip_check_:!0,value:o}},[`
- &-placement-bottom > ${t}-arrow,
- &-placement-bottomLeft > ${t}-arrow,
- &-placement-bottomRight > ${t}-arrow
- `]:{top:i,transform:"translateY(-100%)"},[`&-placement-bottom > ${t}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateY(-100%) translateX(-50%)"},[`&-placement-bottomLeft > ${t}-arrow`]:{left:{_skip_check_:!0,value:o}},[`&-placement-bottomRight > ${t}-arrow`]:{right:{_skip_check_:!0,value:o}},[`&${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottomLeft,
- &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomLeft,
- &${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottom,
- &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottom,
- &${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottomRight,
- &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:RB},[`&${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topLeft,
- &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topLeft,
- &${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-top,
- &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-top,
- &${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topRight,
- &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topRight`]:{animationName:NB},[`&${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomLeft,
- &${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottom,
- &${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:$B},[`&${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topLeft,
- &${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-top,
- &${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topRight`]:{animationName:HB}})},{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul,li":{listStyle:"none"},ul:{marginInline:"0.3em"}},[`${t}, ${t}-menu-submenu`]:{[n]:V(V({padding:d,listStyleType:"none",backgroundColor:m,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},df(e)),{[`${n}-item-group-title`]:{padding:`${l}px ${h}px`,color:e.colorTextDescription,transition:`all ${u}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center",borderRadius:e.borderRadiusSM},[`${n}-item-icon`]:{minWidth:c,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${u}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:V(V({clear:"both",margin:0,padding:`${l}px ${h}px`,color:e.colorText,fontWeight:"normal",fontSize:c,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${u}`,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},df(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:f,cursor:"not-allowed","&:hover":{color:f,backgroundColor:m,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${e.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:g,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${e.marginXS}px`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:h+e.fontSizeSM},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:f,backgroundColor:m,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})}},[Ll(e,"slide-up"),Ll(e,"slide-down"),dg(e,"move-up"),dg(e,"move-down"),Cv(e,"zoom-big")]]},hW=or("Dropdown",(e,t)=>{let{rootPrefixCls:n}=t;const{marginXXS:r,sizePopupArrow:i,controlHeight:o,fontSize:A,lineHeight:a,paddingXXS:s,componentCls:u,borderRadiusOuter:l,borderRadiusLG:c}=e,d=(o-A*a)/2,{dropdownArrowOffset:f}=rW({sizePopupArrow:i,contentRadius:c,borderRadiusOuter:l}),g=_n(e,{menuCls:`${u}-menu`,rootPrefixCls:n,dropdownArrowDistance:i/2+r,dropdownArrowOffset:f,dropdownPaddingVertical:d,dropdownEdgeChildPadding:s});return[Mve(g),Nve(g),Hve(g)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));var kve=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const jve=Oo.Group,Sw=Je({compatConfig:{MODE:3},name:"ADropdownButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:lr(Dve(),{trigger:"hover",placement:"bottomRight",type:"default"}),slots:Object,setup(e,t){let{slots:n,attrs:r,emit:i}=t;const o=d=>{i("update:visible",d),i("visibleChange",d),i("update:open",d),i("openChange",d)},{prefixCls:A,direction:a,getPopupContainer:s}=An("dropdown",e),u=fe(()=>`${A.value}-button`),[l,c]=hW(A);return()=>{var d,f;const g=V(V({},e),r),{type:h="default",disabled:m,danger:p,loading:v,htmlType:y,class:b="",overlay:w=(d=n.overlay)===null||d===void 0?void 0:d.call(n),trigger:C,align:B,open:O,visible:x,onVisibleChange:M,placement:R=a.value==="rtl"?"bottomLeft":"bottomRight",href:F,title:L,icon:E=((f=n.icon)===null||f===void 0?void 0:f.call(n))||$(Sv,null,null),mouseEnterDelay:H,mouseLeaveDelay:X,overlayClassName:z,overlayStyle:Z,destroyPopupOnHide:q,onClick:te,"onUpdate:open":ne}=g,_=kve(g,["type","disabled","danger","loading","htmlType","class","overlay","trigger","align","open","visible","onVisibleChange","placement","href","title","icon","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","onClick","onUpdate:open"]),Y={align:B,disabled:m,trigger:m?[]:C,placement:R,getPopupContainer:s==null?void 0:s.value,onOpenChange:o,mouseEnterDelay:H,mouseLeaveDelay:X,open:O??x,overlayClassName:z,overlayStyle:Z,destroyPopupOnHide:q},re=$(Oo,{danger:p,type:h,disabled:m,loading:v,onClick:te,htmlType:y,href:F,title:L},{default:n.default}),se=$(Oo,{danger:p,type:h,icon:E},null);return l($(jve,ye(ye({},_),{},{class:Ze(u.value,b,c.value)}),{default:()=>[n.leftButton?n.leftButton({button:re}):re,$(Du,Y,{default:()=>[n.rightButton?n.rightButton({button:se}):se],overlay:()=>w})]}))}}});var Kve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};function NL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){Vve(e,i,n[i])})}return e}function Vve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pf=function(t,n){var r=NL({},t,n.attrs);return $(cn,NL({},r,{icon:Kve}),null)};pf.displayName="RightOutlined";pf.inheritAttrs=!1;const pW=Symbol("OverrideContextKey"),gW=()=>tn(pW,void 0),mW=e=>{var t,n,r;const{prefixCls:i,mode:o,selectable:A,validator:a,onClick:s,expandIcon:u}=gW()||{};dn(pW,{prefixCls:fe(()=>{var l,c;return(c=(l=e.prefixCls)===null||l===void 0?void 0:l.value)!==null&&c!==void 0?c:i==null?void 0:i.value}),mode:fe(()=>{var l,c;return(c=(l=e.mode)===null||l===void 0?void 0:l.value)!==null&&c!==void 0?c:o==null?void 0:o.value}),selectable:fe(()=>{var l,c;return(c=(l=e.selectable)===null||l===void 0?void 0:l.value)!==null&&c!==void 0?c:A==null?void 0:A.value}),validator:(t=e.validator)!==null&&t!==void 0?t:a,onClick:(n=e.onClick)!==null&&n!==void 0?n:s,expandIcon:(r=e.expandIcon)!==null&&r!==void 0?r:u==null?void 0:u.value})},Du=Je({compatConfig:{MODE:3},name:"ADropdown",inheritAttrs:!1,props:lr(dW(),{mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft",trigger:"hover"}),slots:Object,setup(e,t){let{slots:n,attrs:r,emit:i}=t;const{prefixCls:o,rootPrefixCls:A,direction:a,getPopupContainer:s}=An("dropdown",e),[u,l]=hW(o),c=fe(()=>{const{placement:m="",transitionName:p}=e;return p!==void 0?p:m.includes("top")?`${A.value}-slide-down`:`${A.value}-slide-up`});mW({prefixCls:fe(()=>`${o.value}-menu`),expandIcon:fe(()=>$("span",{class:`${o.value}-menu-submenu-arrow`},[$(pf,{class:`${o.value}-menu-submenu-arrow-icon`},null)])),mode:fe(()=>"vertical"),selectable:fe(()=>!1),onClick:()=>{},validator:m=>{}});const d=()=>{var m,p,v;const y=e.overlay||((m=n.overlay)===null||m===void 0?void 0:m.call(n)),b=Array.isArray(y)?y[0]:y;if(!b)return null;const w=b.props||{};Xr(!w.mode||w.mode==="vertical","Dropdown",`mode="${w.mode}" is not supported for Dropdown's Menu.`);const{selectable:C=!1,expandIcon:B=(v=(p=b.children)===null||p===void 0?void 0:p.expandIcon)===null||v===void 0?void 0:v.call(p)}=w,O=typeof B<"u"&&eA(B)?B:$("span",{class:`${o.value}-menu-submenu-arrow`},[$(pf,{class:`${o.value}-menu-submenu-arrow-icon`},null)]);return eA(b)?jr(b,{mode:"vertical",selectable:C,expandIcon:()=>O}):b},f=fe(()=>{const m=e.placement;if(!m)return a.value==="rtl"?"bottomRight":"bottomLeft";if(m.includes("Center")){const p=m.slice(0,m.indexOf("Center"));return Xr(!m.includes("Center"),"Dropdown",`You are using '${m}' placement in Dropdown, which is deprecated. Try to use '${p}' instead.`),p}return m}),g=fe(()=>typeof e.visible=="boolean"?e.visible:e.open),h=m=>{i("update:visible",m),i("visibleChange",m),i("update:open",m),i("openChange",m)};return()=>{var m,p;const{arrow:v,trigger:y,disabled:b,overlayClassName:w}=e,C=(m=n.default)===null||m===void 0?void 0:m.call(n)[0],B=jr(C,V({class:Ze((p=C==null?void 0:C.props)===null||p===void 0?void 0:p.class,{[`${o.value}-rtl`]:a.value==="rtl"},`${o.value}-trigger`)},b?{disabled:b}:{})),O=Ze(w,l.value,{[`${o.value}-rtl`]:a.value==="rtl"}),x=b?[]:y;let M;x&&x.includes("contextmenu")&&(M=!0);const R=eW({arrowPointAtCenter:typeof v=="object"&&v.pointAtCenter,autoAdjustOverflow:!0}),F=_r(V(V(V({},e),r),{visible:g.value,builtinPlacements:R,overlayClassName:O,arrow:!!v,alignPoint:M,prefixCls:o.value,getPopupContainer:s==null?void 0:s.value,transitionName:c.value,trigger:x,onVisibleChange:h,placement:f.value}),["overlay","onUpdate:visible"]);return u($(aW,F,{default:()=>[B],overlay:d}))}}});Du.Button=Sw;var zve=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const Gve=()=>({prefixCls:String,href:String,separator:He.any,dropdownProps:qt(),overlay:He.any,onClick:Gd()}),Ew=Je({compatConfig:{MODE:3},name:"ABreadcrumbItem",inheritAttrs:!1,__ANT_BREADCRUMB_ITEM:!0,props:Gve(),slots:Object,setup(e,t){let{slots:n,attrs:r,emit:i}=t;const{prefixCls:o}=An("breadcrumb",e),A=(s,u)=>{const l=LA(n,e,"overlay");return l?$(Du,ye(ye({},e.dropdownProps),{},{overlay:l,placement:"bottom"}),{default:()=>[$("span",{class:`${u}-overlay-link`},[s,$(_g,null,null)])]}):s},a=s=>{i("click",s)};return()=>{var s;const u=(s=LA(n,e,"separator"))!==null&&s!==void 0?s:"/",l=LA(n,e),{class:c,style:d}=r,f=zve(r,["class","style"]);let g;return e.href!==void 0?g=$("a",ye({class:`${o.value}-link`,onClick:a},f),[l]):g=$("span",ye({class:`${o.value}-link`,onClick:a},f),[l]),g=A(g,o.value),l!=null?$("li",{class:c,style:d},[g,u&&$("span",{class:`${o.value}-separator`},[u])]):null}}});function Wve(e,t,n,r){let i;if(i!==void 0)return!!i;if(e===t)return!0;if(typeof e!="object"||!e||typeof t!="object"||!t)return!1;const o=Object.keys(e),A=Object.keys(t);if(o.length!==A.length)return!1;const a=Object.prototype.hasOwnProperty.bind(t);for(let s=0;s<o.length;s++){const u=o[s];if(!a(u))return!1;const l=e[u],c=t[u];if(i=void 0,i===!1||i===void 0&&l!==c)return!1}return!0}function Op(e,t){return Wve(On(e),On(t))}const vW=Symbol("menuContextKey"),yW=e=>{dn(vW,e)},tc=()=>tn(vW),bW=Symbol("ForceRenderKey"),qve=e=>{dn(bW,e)},wW=()=>tn(bW,!1),BW=Symbol("menuFirstLevelContextKey"),CW=e=>{dn(BW,e)},Xve=()=>tn(BW,!0),Fw=Je({compatConfig:{MODE:3},name:"MenuContextProvider",inheritAttrs:!1,props:{mode:{type:String,default:void 0},overflowDisabled:{type:Boolean,default:void 0}},setup(e,t){let{slots:n}=t;const r=tc(),i=V({},r);return e.mode!==void 0&&(i.mode=fn(e,"mode")),e.overflowDisabled!==void 0&&(i.overflowDisabled=fn(e,"overflowDisabled")),yW(i),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),xW=Symbol("siderCollapsed"),SW=Symbol("siderHookProvider"),ty="$$__vc-menu-more__key",EW=Symbol("KeyPathContext"),DO=()=>tn(EW,{parentEventKeys:fe(()=>[]),parentKeys:fe(()=>[]),parentInfo:{}}),Yve=(e,t,n)=>{const{parentEventKeys:r,parentKeys:i}=DO(),o=fe(()=>[...r.value,e]),A=fe(()=>[...i.value,t]);return dn(EW,{parentEventKeys:o,parentKeys:A,parentInfo:n}),A},FW=Symbol("measure"),HL=Je({compatConfig:{MODE:3},setup(e,t){let{slots:n}=t;return dn(FW,!0),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),RO=()=>tn(FW,!1);function IW(e){const{mode:t,rtl:n,inlineIndent:r}=tc();return fe(()=>t.value!=="inline"?null:n.value?{paddingRight:`${e.value*r.value}px`}:{paddingLeft:`${e.value*r.value}px`})}let Jve=0;const Zve=()=>({id:String,role:String,disabled:Boolean,danger:Boolean,title:{type:[String,Boolean],default:void 0},icon:He.any,onMouseenter:Function,onMouseleave:Function,onClick:Function,onKeydown:Function,onFocus:Function,originItemValue:qt()}),hg=Je({compatConfig:{MODE:3},name:"AMenuItem",inheritAttrs:!1,props:Zve(),slots:Object,setup(e,t){let{slots:n,emit:r,attrs:i}=t;const o=tA(),A=RO(),a=typeof o.vnode.key=="symbol"?String(o.vnode.key):o.vnode.key;Xr(typeof o.vnode.key!="symbol","MenuItem",`MenuItem \`:key="${String(a)}"\` not support Symbol type`);const s=`menu_item_${++Jve}_$$_${a}`,{parentEventKeys:u,parentKeys:l}=DO(),{prefixCls:c,activeKeys:d,disabled:f,changeActiveKeys:g,rtl:h,inlineCollapsed:m,siderCollapsed:p,onItemClick:v,selectedKeys:y,registerMenuInfo:b,unRegisterMenuInfo:w}=tc(),C=Xve(),B=Me(!1),O=fe(()=>[...l.value,a]);b(s,{eventKey:s,key:a,parentEventKeys:u,parentKeys:l,isLeaf:!0}),En(()=>{w(s)}),st(d,()=>{B.value=!!d.value.find(ne=>ne===a)},{immediate:!0});const M=fe(()=>f.value||e.disabled),R=fe(()=>y.value.includes(a)),F=fe(()=>{const ne=`${c.value}-item`;return{[`${ne}`]:!0,[`${ne}-danger`]:e.danger,[`${ne}-active`]:B.value,[`${ne}-selected`]:R.value,[`${ne}-disabled`]:M.value}}),L=ne=>({key:a,eventKey:s,keyPath:O.value,eventKeyPath:[...u.value,s],domEvent:ne,item:V(V({},e),i)}),E=ne=>{if(M.value)return;const _=L(ne);r("click",ne),v(_)},H=ne=>{M.value||(g(O.value),r("mouseenter",ne))},X=ne=>{M.value||(g([]),r("mouseleave",ne))},z=ne=>{if(r("keydown",ne),ne.which===ut.ENTER){const _=L(ne);r("click",ne),v(_)}},Z=ne=>{g(O.value),r("focus",ne)},q=(ne,_)=>{const Y=$("span",{class:`${c.value}-title-content`},[_]);return(!ne||eA(_)&&_.type==="span")&&m.value&&C&&typeof _=="string"?$("div",{class:`${c.value}-inline-collapsed-noicon`},[_.charAt(0)]):Y},te=IW(fe(()=>O.value.length));return()=>{var ne,_,Y,re,se;if(A)return null;const ce=(ne=e.title)!==null&&ne!==void 0?ne:(_=n.title)===null||_===void 0?void 0:_.call(n),N=ui((Y=n.default)===null||Y===void 0?void 0:Y.call(n)),K=N.length;let Ae=ce;typeof ce>"u"?Ae=C&&K?N:"":ce===!1&&(Ae="");const ae={title:Ae};!p.value&&!m.value&&(ae.title=null,ae.open=!1);const ie={};e.role==="option"&&(ie["aria-selected"]=R.value);const J=(re=e.icon)!==null&&re!==void 0?re:(se=n.icon)===null||se===void 0?void 0:se.call(n,e);return $(Qg,ye(ye({},ae),{},{placement:h.value?"left":"right",overlayClassName:`${c.value}-inline-collapsed-tooltip`}),{default:()=>[$(Lu.Item,ye(ye(ye({component:"li"},i),{},{id:e.id,style:V(V({},i.style||{}),te.value),class:[F.value,{[`${i.class}`]:!!i.class,[`${c.value}-item-only-child`]:(J?K+1:K)===1}],role:e.role||"menuitem",tabindex:e.disabled?null:-1,"data-menu-id":a,"aria-disabled":e.disabled},ie),{},{onMouseenter:H,onMouseleave:X,onClick:E,onKeydown:z,onFocus:Z,title:typeof ce=="string"?ce:void 0}),{default:()=>[jr(typeof J=="function"?J(e.originItemValue):J,{class:`${c.value}-item-icon`},!1),q(J,N)]})]})}}}),Zc={adjustX:1,adjustY:1},e1e={topLeft:{points:["bl","tl"],overflow:Zc,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Zc,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Zc,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Zc,offset:[4,0]}},t1e={topLeft:{points:["bl","tl"],overflow:Zc,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Zc,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Zc,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Zc,offset:[4,0]}},n1e={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},ML=Je({compatConfig:{MODE:3},name:"PopupTrigger",inheritAttrs:!1,props:{prefixCls:String,mode:String,visible:Boolean,popupClassName:String,popupOffset:Array,disabled:Boolean,onVisibleChange:Function},slots:Object,emits:["visibleChange"],setup(e,t){let{slots:n,emit:r}=t;const i=Me(!1),{getPopupContainer:o,rtl:A,subMenuOpenDelay:a,subMenuCloseDelay:s,builtinPlacements:u,triggerSubMenuAction:l,forceSubMenuRender:c,motion:d,defaultMotions:f,rootClassName:g}=tc(),h=wW(),m=fe(()=>A.value?V(V({},t1e),u.value):V(V({},e1e),u.value)),p=fe(()=>n1e[e.mode]),v=Me();st(()=>e.visible,w=>{hn.cancel(v.value),v.value=hn(()=>{i.value=w})},{immediate:!0}),En(()=>{hn.cancel(v.value)});const y=w=>{r("visibleChange",w)},b=fe(()=>{var w,C;const B=d.value||((w=f.value)===null||w===void 0?void 0:w[e.mode])||((C=f.value)===null||C===void 0?void 0:C.other),O=typeof B=="function"?B():B;return O?hf(O.name,{css:!0}):void 0});return()=>{const{prefixCls:w,popupClassName:C,mode:B,popupOffset:O,disabled:x}=e;return $(yv,{prefixCls:w,popupClassName:Ze(`${w}-popup`,{[`${w}-rtl`]:A.value},C,g.value),stretch:B==="horizontal"?"minWidth":null,getPopupContainer:o.value,builtinPlacements:m.value,popupPlacement:p.value,popupVisible:i.value,popupAlign:O&&{offset:O},action:x?[]:[l.value],mouseEnterDelay:a.value,mouseLeaveDelay:s.value,onPopupVisibleChange:y,forceRender:h||c.value,popupAnimation:b.value},{popup:n.popup,default:n.default})}}}),$O=(e,t)=>{let{slots:n,attrs:r}=t;var i;const{prefixCls:o,mode:A}=tc();return $("ul",ye(ye({},r),{},{class:Ze(o.value,`${o.value}-sub`,`${o.value}-${A.value==="inline"?"inline":"vertical"}`),"data-menu-list":!0}),[(i=n.default)===null||i===void 0?void 0:i.call(n)])};$O.displayName="SubMenuList";const r1e=Je({compatConfig:{MODE:3},name:"InlineSubMenuList",inheritAttrs:!1,props:{id:String,open:Boolean,keyPath:Array},setup(e,t){let{slots:n}=t;const r=fe(()=>"inline"),{motion:i,mode:o,defaultMotions:A}=tc(),a=fe(()=>o.value===r.value),s=qe(!a.value),u=fe(()=>a.value?e.open:!1);st(o,()=>{a.value&&(s.value=!1)},{flush:"post"});const l=fe(()=>{var c,d;const f=i.value||((c=A.value)===null||c===void 0?void 0:c[r.value])||((d=A.value)===null||d===void 0?void 0:d.other),g=typeof f=="function"?f():f;return V(V({},g),{appear:e.keyPath.length<=1})});return()=>{var c;return s.value?null:$(Fw,{mode:r.value},{default:()=>[$(ca,l.value,{default:()=>[Cs($($O,{id:e.id},{default:()=>[(c=n.default)===null||c===void 0?void 0:c.call(n)]}),[[Ol,u.value]])]})]})}}});let kL=0;const i1e=()=>({icon:He.any,title:He.any,disabled:Boolean,level:Number,popupClassName:String,popupOffset:Array,internalPopupClose:Boolean,eventKey:String,expandIcon:Function,theme:String,onMouseenter:Function,onMouseleave:Function,onTitleClick:Function,originItemValue:qt()}),pg=Je({compatConfig:{MODE:3},name:"ASubMenu",inheritAttrs:!1,props:i1e(),slots:Object,setup(e,t){let{slots:n,attrs:r,emit:i}=t;var o,A;CW(!1);const a=RO(),s=tA(),u=typeof s.vnode.key=="symbol"?String(s.vnode.key):s.vnode.key;Xr(typeof s.vnode.key!="symbol","SubMenu",`SubMenu \`:key="${String(u)}"\` not support Symbol type`);const l=b3(u)?u:`sub_menu_${++kL}_$$_not_set_key`,c=(o=e.eventKey)!==null&&o!==void 0?o:b3(u)?`sub_menu_${++kL}_$$_${u}`:l,{parentEventKeys:d,parentInfo:f,parentKeys:g}=DO(),h=fe(()=>[...g.value,l]),m=Me([]),p={eventKey:c,key:l,parentEventKeys:d,childrenEventKeys:m,parentKeys:g};(A=f.childrenEventKeys)===null||A===void 0||A.value.push(c),En(()=>{var W;f.childrenEventKeys&&(f.childrenEventKeys.value=(W=f.childrenEventKeys)===null||W===void 0?void 0:W.value.filter(de=>de!=c))}),Yve(c,l,p);const{prefixCls:v,activeKeys:y,disabled:b,changeActiveKeys:w,mode:C,inlineCollapsed:B,openKeys:O,overflowDisabled:x,onOpenChange:M,registerMenuInfo:R,unRegisterMenuInfo:F,selectedSubMenuKeys:L,expandIcon:E,theme:H}=tc(),X=u!=null,z=!a&&(wW()||!X);qve(z),(a&&X||!a&&!X||z)&&(R(c,p),En(()=>{F(c)}));const Z=fe(()=>`${v.value}-submenu`),q=fe(()=>b.value||e.disabled),te=Me(),ne=Me(),_=fe(()=>O.value.includes(l)),Y=fe(()=>!x.value&&_.value),re=fe(()=>L.value.includes(l)),se=Me(!1);st(y,()=>{se.value=!!y.value.find(W=>W===l)},{immediate:!0});const ce=W=>{q.value||(i("titleClick",W,l),C.value==="inline"&&M(l,!_.value))},N=W=>{q.value||(w(h.value),i("mouseenter",W))},K=W=>{q.value||(w([]),i("mouseleave",W))},Ae=IW(fe(()=>h.value.length)),ae=W=>{C.value!=="inline"&&M(l,W)},ie=()=>{w(h.value)},J=c&&`${c}-popup`,ue=fe(()=>Ze(v.value,`${v.value}-${e.theme||H.value}`,e.popupClassName)),G=(W,de)=>{if(!de)return B.value&&!g.value.length&&W&&typeof W=="string"?$("div",{class:`${v.value}-inline-collapsed-noicon`},[W.charAt(0)]):$("span",{class:`${v.value}-title-content`},[W]);const me=eA(W)&&W.type==="span";return $(mn,null,[jr(typeof de=="function"?de(e.originItemValue):de,{class:`${v.value}-item-icon`},!1),me?W:$("span",{class:`${v.value}-title-content`},[W])])},pe=fe(()=>C.value!=="inline"&&h.value.length>1?"vertical":C.value),k=fe(()=>C.value==="horizontal"?"vertical":C.value),P=fe(()=>pe.value==="horizontal"?"vertical":pe.value),U=()=>{var W,de;const me=Z.value,ve=(W=e.icon)!==null&&W!==void 0?W:(de=n.icon)===null||de===void 0?void 0:de.call(n,e),be=e.expandIcon||n.expandIcon||E.value,Te=G(LA(n,e,"title"),ve);return $("div",{style:Ae.value,class:`${me}-title`,tabindex:q.value?null:-1,ref:te,title:typeof Te=="string"?Te:null,"data-menu-id":l,"aria-expanded":Y.value,"aria-haspopup":!0,"aria-controls":J,"aria-disabled":q.value,onClick:ce,onFocus:ie},[Te,C.value!=="horizontal"&&be?be(V(V({},e),{isOpen:Y.value})):$("i",{class:`${me}-arrow`},null)])};return()=>{var W;if(a)return X?(W=n.default)===null||W===void 0?void 0:W.call(n):null;const de=Z.value;let me=()=>null;if(!x.value&&C.value!=="inline"){const ve=C.value==="horizontal"?[0,8]:[10,0];me=()=>$(ML,{mode:pe.value,prefixCls:de,visible:!e.internalPopupClose&&Y.value,popupClassName:ue.value,popupOffset:e.popupOffset||ve,disabled:q.value,onVisibleChange:ae},{default:()=>[U()],popup:()=>$(Fw,{mode:P.value},{default:()=>[$($O,{id:J,ref:ne},{default:n.default})]})})}else me=()=>$(ML,null,{default:U});return $(Fw,{mode:k.value},{default:()=>[$(Lu.Item,ye(ye({component:"li"},r),{},{role:"none",class:Ze(de,`${de}-${C.value}`,r.class,{[`${de}-open`]:Y.value,[`${de}-active`]:se.value,[`${de}-selected`]:re.value,[`${de}-disabled`]:q.value}),onMouseenter:N,onMouseleave:K,"data-submenu-id":l}),{default:()=>$(mn,null,[me(),!x.value&&$(r1e,{id:J,open:Y.value,keyPath:h.value},{default:n.default})])})]})}}});function _W(e,t){return e.classList?e.classList.contains(t):` ${e.className} `.indexOf(` ${t} `)>-1}function Z3(e,t){e.classList?e.classList.add(t):_W(e,t)||(e.className=`${e.className} ${t}`)}function eI(e,t){if(e.classList)e.classList.remove(t);else if(_W(e,t)){const n=e.className;e.className=` ${n} `.replace(` ${t} `," ")}}const kB=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant-motion-collapse",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return{name:e,appear:t,css:!0,onBeforeEnter:n=>{n.style.height="0px",n.style.opacity="0",Z3(n,e)},onEnter:n=>{$n(()=>{n.style.height=`${n.scrollHeight}px`,n.style.opacity="1"})},onAfterEnter:n=>{n&&(eI(n,e),n.style.height=null,n.style.opacity=null)},onBeforeLeave:n=>{Z3(n,e),n.style.height=`${n.offsetHeight}px`,n.style.opacity=null},onLeave:n=>{setTimeout(()=>{n.style.height="0px",n.style.opacity="0"})},onAfterLeave:n=>{n&&(eI(n,e),n.style&&(n.style.height=null,n.style.opacity=null))}}},o1e=()=>({title:He.any,originItemValue:qt()}),Iw=Je({compatConfig:{MODE:3},name:"AMenuItemGroup",inheritAttrs:!1,props:o1e(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i}=tc(),o=fe(()=>`${i.value}-item-group`),A=RO();return()=>{var a,s;return A?(a=n.default)===null||a===void 0?void 0:a.call(n):$("li",ye(ye({},r),{},{onClick:u=>u.stopPropagation(),class:o.value}),[$("div",{title:typeof e.title=="string"?e.title:void 0,class:`${o.value}-title`},[LA(n,e,"title")]),$("ul",{class:`${o.value}-list`},[(s=n.default)===null||s===void 0?void 0:s.call(n)])])}}}),A1e=()=>({prefixCls:String,dashed:Boolean}),_w=Je({compatConfig:{MODE:3},name:"AMenuDivider",props:A1e(),setup(e){const{prefixCls:t}=tc(),n=fe(()=>({[`${t.value}-item-divider`]:!0,[`${t.value}-item-divider-dashed`]:!!e.dashed}));return()=>$("li",{class:n.value},null)}});var a1e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function tI(e,t,n){return(e||[]).map((r,i)=>{if(r&&typeof r=="object"){const o=r,{label:A,children:a,key:s,type:u}=o,l=a1e(o,["label","children","key","type"]),c=s??`tmp-${i}`,d=n?n.parentKeys.slice():[],f=[],g={eventKey:c,key:c,parentEventKeys:qe(d),parentKeys:qe(d),childrenEventKeys:qe(f),isLeaf:!1};if(a||u==="group"){if(u==="group"){const m=tI(a,t,n);return $(Iw,ye(ye({key:c},l),{},{title:A,originItemValue:r}),{default:()=>[m]})}t.set(c,g),n&&n.childrenEventKeys.push(c);const h=tI(a,t,{childrenEventKeys:f,parentKeys:[].concat(d,c)});return $(pg,ye(ye({key:c},l),{},{title:A,originItemValue:r}),{default:()=>[h]})}return u==="divider"?$(_w,ye({key:c},l),null):(g.isLeaf=!0,t.set(c,g),$(hg,ye(ye({key:c},l),{},{originItemValue:r}),{default:()=>[A]}))}return null}).filter(r=>r)}function s1e(e){const t=Me([]),n=Me(!1),r=Me(new Map);return st(()=>e.items,()=>{const i=new Map;n.value=!1,e.items?(n.value=!0,t.value=tI(e.items,i)):t.value=void 0,r.value=i},{immediate:!0,deep:!0}),{itemsNodes:t,store:r,hasItmes:n}}const l1e=e=>{const{componentCls:t,motionDurationSlow:n,menuHorizontalHeight:r,colorSplit:i,lineWidth:o,lineType:A,menuItemPaddingInline:a}=e;return{[`${t}-horizontal`]:{lineHeight:`${r}px`,border:0,borderBottom:`${o}px ${A} ${i}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:a},[`> ${t}-item:hover,
- > ${t}-item-active,
- > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},u1e=e=>{let{componentCls:t,menuArrowOffset:n}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical,
- ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${n})`},"&::after":{transform:`rotate(45deg) translateY(${n})`}}}}},jL=e=>V({},Ku(e)),KL=(e,t)=>{const{componentCls:n,colorItemText:r,colorItemTextSelected:i,colorGroupTitle:o,colorItemBg:A,colorSubItemBg:a,colorItemBgSelected:s,colorActiveBarHeight:u,colorActiveBarWidth:l,colorActiveBarBorderSize:c,motionDurationSlow:d,motionEaseInOut:f,motionEaseOut:g,menuItemPaddingInline:h,motionDurationMid:m,colorItemTextHover:p,lineType:v,colorSplit:y,colorItemTextDisabled:b,colorDangerItemText:w,colorDangerItemTextHover:C,colorDangerItemTextSelected:B,colorDangerItemBgActive:O,colorDangerItemBgSelected:x,colorItemBgHover:M,menuSubMenuBg:R,colorItemTextSelectedHorizontal:F,colorItemBgSelectedHorizontal:L}=e;return{[`${n}-${t}`]:{color:r,background:A,[`&${n}-root:focus-visible`]:V({},jL(e)),[`${n}-item-group-title`]:{color:o},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:i}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${b} !important`},[`${n}-item:hover, ${n}-submenu-title:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:p}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:M},"&:active":{backgroundColor:s}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:M},"&:active":{backgroundColor:s}}},[`${n}-item-danger`]:{color:w,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:C}},[`&${n}-item:active`]:{background:O}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:i,[`&${n}-item-danger`]:{color:B},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:s,[`&${n}-item-danger`]:{backgroundColor:x}},[`${n}-item, ${n}-submenu-title`]:{[`&:not(${n}-item-disabled):focus-visible`]:V({},jL(e))},[`&${n}-submenu > ${n}`]:{backgroundColor:R},[`&${n}-popup > ${n}`]:{backgroundColor:A},[`&${n}-horizontal`]:V(V({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:c,marginTop:-c,marginBottom:0,borderRadius:0,"&::after":{position:"absolute",insetInline:h,bottom:0,borderBottom:`${u}px solid transparent`,transition:`border-color ${d} ${f}`,content:'""'},"&:hover, &-active, &-open":{"&::after":{borderBottomWidth:u,borderBottomColor:F}},"&-selected":{color:F,backgroundColor:L,"&::after":{borderBottomWidth:u,borderBottomColor:F}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${c}px ${v} ${y}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:a},[`${n}-item, ${n}-submenu-title`]:c&&l?{width:`calc(100% + ${c}px)`}:{},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${l}px solid ${i}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${m} ${g}`,`opacity ${m} ${g}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:B}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${m} ${f}`,`opacity ${m} ${f}`].join(",")}}}}}},VL=e=>{const{componentCls:t,menuItemHeight:n,itemMarginInline:r,padding:i,menuArrowSize:o,marginXS:A,marginXXS:a}=e,s=i+o+A;return{[`${t}-item`]:{position:"relative"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`,paddingInline:i,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:a,width:`calc(100% - ${r*2}px)`},[`${t}-submenu`]:{paddingBottom:.02},[`> ${t}-item,
- > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`},[`${t}-item-group-list ${t}-submenu-title,
- ${t}-submenu-title`]:{paddingInlineEnd:s}}},c1e=e=>{const{componentCls:t,iconCls:n,menuItemHeight:r,colorTextLightSolid:i,dropdownWidth:o,controlHeightLG:A,motionDurationMid:a,motionEaseOut:s,paddingXL:u,fontSizeSM:l,fontSizeLG:c,motionDurationSlow:d,paddingXS:f,boxShadowSecondary:g}=e,h={height:r,lineHeight:`${r}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":V({[`&${t}-root`]:{boxShadow:"none"}},VL(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:V(V({},VL(e)),{boxShadow:g})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:o,maxHeight:`calc(100vh - ${A*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${d}`,`background ${d}`,`padding ${a} ${s}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:h,[`& ${t}-item-group-title`]:{paddingInlineStart:u}},[`${t}-item`]:h}},{[`${t}-inline-collapsed`]:{width:r*2,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:c,textAlign:"center"}}},[`> ${t}-item,
- > ${t}-item-group > ${t}-item-group-list > ${t}-item,
- > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title,
- > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${l}px)`,textOverflow:"clip",[`
- ${t}-submenu-arrow,
- ${t}-submenu-expand-icon
- `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:c,lineHeight:`${r}px`,"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:i}},[`${t}-item-group-title`]:V(V({},ju),{paddingInline:f})}}]},zL=e=>{const{componentCls:t,fontSize:n,motionDurationSlow:r,motionDurationMid:i,motionEaseInOut:o,motionEaseOut:A,iconCls:a,controlHeightSM:s}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${r}`,`background ${r}`,`padding ${r} ${o}`].join(","),[`${t}-item-icon, ${a}`]:{minWidth:n,fontSize:n,transition:[`font-size ${i} ${A}`,`margin ${r} ${o}`,`color ${r}`].join(","),"+ span":{marginInlineStart:s-n,opacity:1,transition:[`opacity ${r} ${o}`,`margin ${r}`,`color ${r}`].join(",")}},[`${t}-item-icon`]:V({},mv()),[`&${t}-item-only-child`]:{[`> ${a}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},GL=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:i,menuArrowSize:o,menuArrowOffset:A}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:o,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:o*.6,height:o*.15,backgroundColor:"currentcolor",borderRadius:i,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${A})`},"&::after":{transform:`rotate(-45deg) translateY(${A})`}}}}},f1e=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:i,motionDurationMid:o,motionEaseInOut:A,lineHeight:a,paddingXS:s,padding:u,colorSplit:l,lineWidth:c,zIndexPopup:d,borderRadiusLG:f,radiusSubMenuItem:g,menuArrowSize:h,menuArrowOffset:m,lineType:p,menuPanelMaskInset:v}=e;return[{"":{[`${n}`]:V(V({},qd()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:V(V(V(V(V(V(V({},qn(e)),qd()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${i} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.radiusItem},[`${n}-item-group-title`]:{padding:`${s}px ${u}px`,fontSize:r,lineHeight:a,transition:`all ${i}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${i} ${A}`,`background ${i} ${A}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${i} ${A}`,`background ${i} ${A}`,`padding ${o} ${A}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${i} ${A}`,`padding ${i} ${A}`].join(",")},[`${n}-title-content`]:{transition:`color ${i}`},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:l,borderStyle:p,borderWidth:0,borderTopWidth:c,marginBlock:c,padding:0,"&-dashed":{borderStyle:"dashed"}}}),zL(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${r*2}px ${u}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:d,background:"transparent",borderRadius:f,boxShadow:"none",transformOrigin:"0 0","&::before":{position:"absolute",inset:`${v}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:v},[`> ${n}`]:V(V(V({borderRadius:f},zL(e)),GL(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:g},[`${n}-submenu-title::after`]:{transition:`transform ${i} ${A}`}})}}),GL(e)),{[`&-inline-collapsed ${n}-submenu-arrow,
- &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${m})`},"&::after":{transform:`rotate(45deg) translateX(-${m})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(-${h*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${m})`},"&::before":{transform:`rotate(45deg) translateX(${m})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},d1e=(e,t)=>or("Menu",(r,i)=>{let{overrideComponentToken:o}=i;if((t==null?void 0:t.value)===!1)return[];const{colorBgElevated:A,colorPrimary:a,colorError:s,colorErrorHover:u,colorTextLightSolid:l}=r,{controlHeightLG:c,fontSize:d}=r,f=d/7*5,g=_n(r,{menuItemHeight:c,menuItemPaddingInline:r.margin,menuArrowSize:f,menuHorizontalHeight:c*1.15,menuArrowOffset:`${f*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:A}),h=new Lr(l).setAlpha(.65).toRgbString(),m=_n(g,{colorItemText:h,colorItemTextHover:l,colorGroupTitle:h,colorItemTextSelected:l,colorItemBg:"#001529",colorSubItemBg:"#000c17",colorItemBgActive:"transparent",colorItemBgSelected:a,colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemTextDisabled:new Lr(l).setAlpha(.25).toRgbString(),colorDangerItemText:s,colorDangerItemTextHover:u,colorDangerItemTextSelected:l,colorDangerItemBgActive:s,colorDangerItemBgSelected:s,menuSubMenuBg:"#001529",colorItemTextSelectedHorizontal:l,colorItemBgSelectedHorizontal:a},V({},o));return[f1e(g),l1e(g),c1e(g),KL(g,"light"),KL(m,"dark"),u1e(g),MB(g),Ll(g,"slide-up"),Ll(g,"slide-down"),Cv(g,"zoom-big")]},r=>{const{colorPrimary:i,colorError:o,colorTextDisabled:A,colorErrorBg:a,colorText:s,colorTextDescription:u,colorBgContainer:l,colorFillAlter:c,colorFillContent:d,lineWidth:f,lineWidthBold:g,controlItemBgActive:h,colorBgTextHover:m}=r;return{dropdownWidth:160,zIndexPopup:r.zIndexPopupBase+50,radiusItem:r.borderRadiusLG,radiusSubMenuItem:r.borderRadiusSM,colorItemText:s,colorItemTextHover:s,colorItemTextHoverHorizontal:i,colorGroupTitle:u,colorItemTextSelected:i,colorItemTextSelectedHorizontal:i,colorItemBg:l,colorItemBgHover:m,colorItemBgActive:d,colorSubItemBg:c,colorItemBgSelected:h,colorItemBgSelectedHorizontal:"transparent",colorActiveBarWidth:0,colorActiveBarHeight:g,colorActiveBarBorderSize:f,colorItemTextDisabled:A,colorDangerItemText:o,colorDangerItemTextHover:o,colorDangerItemTextSelected:o,colorDangerItemBgActive:a,colorDangerItemBgSelected:a,itemMarginInline:r.marginXXS}})(e),h1e=()=>({id:String,prefixCls:String,items:Array,disabled:Boolean,inlineCollapsed:Boolean,disabledOverflow:Boolean,forceSubMenuRender:Boolean,openKeys:Array,selectedKeys:Array,activeKey:String,selectable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},tabindex:{type:[Number,String]},motion:Object,role:String,theme:{type:String,default:"light"},mode:{type:String,default:"vertical"},inlineIndent:{type:Number,default:24},subMenuOpenDelay:{type:Number,default:0},subMenuCloseDelay:{type:Number,default:.1},builtinPlacements:{type:Object},triggerSubMenuAction:{type:String,default:"hover"},getPopupContainer:Function,expandIcon:Function,onOpenChange:Function,onSelect:Function,onDeselect:Function,onClick:[Function,Array],onFocus:Function,onBlur:Function,onMousedown:Function,"onUpdate:openKeys":Function,"onUpdate:selectedKeys":Function,"onUpdate:activeKey":Function}),WL=[],la=Je({compatConfig:{MODE:3},name:"AMenu",inheritAttrs:!1,props:h1e(),slots:Object,setup(e,t){let{slots:n,emit:r,attrs:i}=t;const{direction:o,getPrefixCls:A}=An("menu",e),a=gW(),s=fe(()=>{var N;return A("menu",e.prefixCls||((N=a==null?void 0:a.prefixCls)===null||N===void 0?void 0:N.value))}),[u,l]=d1e(s,fe(()=>!a)),c=Me(new Map),d=tn(xW,qe(void 0)),f=fe(()=>d.value!==void 0?d.value:e.inlineCollapsed),{itemsNodes:g}=s1e(e),h=Me(!1);vn(()=>{h.value=!0}),ln(()=>{Xr(!(e.inlineCollapsed===!0&&e.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Xr(!(d.value!==void 0&&e.inlineCollapsed===!0),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead.")});const m=qe([]),p=qe([]),v=qe({});st(c,()=>{const N={};for(const K of c.value.values())N[K.key]=K;v.value=N},{flush:"post"}),ln(()=>{if(e.activeKey!==void 0){let N=[];const K=e.activeKey?v.value[e.activeKey]:void 0;K&&e.activeKey!==void 0?N=mx([].concat(ni(K.parentKeys),e.activeKey)):N=[],Op(m.value,N)||(m.value=N)}}),st(()=>e.selectedKeys,N=>{N&&(p.value=N.slice())},{immediate:!0,deep:!0});const y=qe([]);st([v,p],()=>{let N=[];p.value.forEach(K=>{const Ae=v.value[K];Ae&&(N=N.concat(ni(Ae.parentKeys)))}),N=mx(N),Op(y.value,N)||(y.value=N)},{immediate:!0});const b=N=>{if(e.selectable){const{key:K}=N,Ae=p.value.includes(K);let ae;e.multiple?Ae?ae=p.value.filter(J=>J!==K):ae=[...p.value,K]:ae=[K];const ie=V(V({},N),{selectedKeys:ae});Op(ae,p.value)||(e.selectedKeys===void 0&&(p.value=ae),r("update:selectedKeys",ae),Ae&&e.multiple?r("deselect",ie):r("select",ie))}M.value!=="inline"&&!e.multiple&&w.value.length&&L(WL)},w=qe([]);st(()=>e.openKeys,function(){let N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:w.value;Op(w.value,N)||(w.value=N.slice())},{immediate:!0,deep:!0});let C;const B=N=>{clearTimeout(C),C=setTimeout(()=>{e.activeKey===void 0&&(m.value=N),r("update:activeKey",N[N.length-1])})},O=fe(()=>!!e.disabled),x=fe(()=>o.value==="rtl"),M=qe("vertical"),R=Me(!1);ln(()=>{var N;(e.mode==="inline"||e.mode==="vertical")&&f.value?(M.value="vertical",R.value=f.value):(M.value=e.mode,R.value=!1),!((N=a==null?void 0:a.mode)===null||N===void 0)&&N.value&&(M.value=a.mode.value)});const F=fe(()=>M.value==="inline"),L=N=>{w.value=N,r("update:openKeys",N),r("openChange",N)},E=qe(w.value),H=Me(!1);st(w,()=>{F.value&&(E.value=w.value)},{immediate:!0}),st(F,()=>{if(!H.value){H.value=!0;return}F.value?w.value=E.value:L(WL)},{immediate:!0});const X=fe(()=>({[`${s.value}`]:!0,[`${s.value}-root`]:!0,[`${s.value}-${M.value}`]:!0,[`${s.value}-inline-collapsed`]:R.value,[`${s.value}-rtl`]:x.value,[`${s.value}-${e.theme}`]:!0})),z=fe(()=>A()),Z=fe(()=>({horizontal:{name:`${z.value}-slide-up`},inline:kB(`${z.value}-motion-collapse`),other:{name:`${z.value}-zoom-big`}}));CW(!0);const q=function(){let N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const K=[],Ae=c.value;return N.forEach(ae=>{const{key:ie,childrenEventKeys:J}=Ae.get(ae);K.push(ie,...q(ni(J)))}),K},te=N=>{var K;r("click",N),b(N),(K=a==null?void 0:a.onClick)===null||K===void 0||K.call(a)},ne=(N,K)=>{var Ae;const ae=((Ae=v.value[N])===null||Ae===void 0?void 0:Ae.childrenEventKeys)||[];let ie=w.value.filter(J=>J!==N);if(K)ie.push(N);else if(M.value!=="inline"){const J=q(ni(ae));ie=mx(ie.filter(ue=>!J.includes(ue)))}Op(w,ie)||L(ie)},_=(N,K)=>{c.value.set(N,K),c.value=new Map(c.value)},Y=N=>{c.value.delete(N),c.value=new Map(c.value)},re=qe(0),se=fe(()=>{var N;return e.expandIcon||n.expandIcon||!((N=a==null?void 0:a.expandIcon)===null||N===void 0)&&N.value?K=>{let Ae=e.expandIcon||n.expandIcon;return Ae=typeof Ae=="function"?Ae(K):Ae,jr(Ae,{class:`${s.value}-submenu-expand-icon`},!1)}:null});yW({prefixCls:s,activeKeys:m,openKeys:w,selectedKeys:p,changeActiveKeys:B,disabled:O,rtl:x,mode:M,inlineIndent:fe(()=>e.inlineIndent),subMenuCloseDelay:fe(()=>e.subMenuCloseDelay),subMenuOpenDelay:fe(()=>e.subMenuOpenDelay),builtinPlacements:fe(()=>e.builtinPlacements),triggerSubMenuAction:fe(()=>e.triggerSubMenuAction),getPopupContainer:fe(()=>e.getPopupContainer),inlineCollapsed:R,theme:fe(()=>e.theme),siderCollapsed:d,defaultMotions:fe(()=>h.value?Z.value:null),motion:fe(()=>h.value?e.motion:null),overflowDisabled:Me(void 0),onOpenChange:ne,onItemClick:te,registerMenuInfo:_,unRegisterMenuInfo:Y,selectedSubMenuKeys:y,expandIcon:se,forceSubMenuRender:fe(()=>e.forceSubMenuRender),rootClassName:l});const ce=()=>{var N;return g.value||ui((N=n.default)===null||N===void 0?void 0:N.call(n))};return()=>{var N;const K=ce(),Ae=re.value>=K.length-1||M.value!=="horizontal"||e.disabledOverflow,ae=J=>M.value!=="horizontal"||e.disabledOverflow?J:J.map((ue,G)=>$(Fw,{key:ue.key,overflowDisabled:G>re.value},{default:()=>ue})),ie=((N=n.overflowedIndicator)===null||N===void 0?void 0:N.call(n))||$(Sv,null,null);return u($(Lu,ye(ye({},i),{},{onMousedown:e.onMousedown,prefixCls:`${s.value}-overflow`,component:"ul",itemComponent:hg,class:[X.value,i.class,l.value],role:"menu",id:e.id,data:ae(K),renderRawItem:J=>J,renderRawRest:J=>{const ue=J.length,G=ue?K.slice(-ue):null;return $(mn,null,[$(pg,{eventKey:ty,key:ty,title:ie,disabled:Ae,internalPopupClose:ue===0},{default:()=>G}),$(HL,null,{default:()=>[$(pg,{eventKey:ty,key:ty,title:ie,disabled:Ae,internalPopupClose:ue===0},{default:()=>G})]})])},maxCount:M.value!=="horizontal"||e.disabledOverflow?Lu.INVALIDATE:Lu.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:J=>{re.value=J}}),{default:()=>[$(x6,{to:"body"},{default:()=>[$("div",{style:{display:"none"},"aria-hidden":!0},[$(HL,null,{default:()=>[ae(ce())]})])]})]}))}}});la.install=function(e){return e.component(la.name,la),e.component(hg.name,hg),e.component(pg.name,pg),e.component(_w.name,_w),e.component(Iw.name,Iw),e};la.Item=hg;la.Divider=_w;la.SubMenu=pg;la.ItemGroup=Iw;const p1e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:V(V({},qn(e)),{color:e.breadcrumbBaseColor,fontSize:e.breadcrumbFontSize,[n]:{fontSize:e.breadcrumbIconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:V({color:e.breadcrumbLinkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${e.paddingXXS}px`,borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",marginInline:-e.marginXXS,"&:hover":{color:e.breadcrumbLinkColorHover,backgroundColor:e.colorBgTextHover}},df(e)),"li:last-child":{color:e.breadcrumbLastItemColor,[`& > ${t}-separator`]:{display:"none"}},[`${t}-separator`]:{marginInline:e.breadcrumbSeparatorMargin,color:e.breadcrumbSeparatorColor},[`${t}-link`]:{[`
- > ${n} + span,
- > ${n} + a
- `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",padding:`0 ${e.paddingXXS}px`,marginInline:-e.marginXXS,[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.breadcrumbLinkColorHover,backgroundColor:e.colorBgTextHover,a:{color:e.breadcrumbLinkColorHover}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},g1e=or("Breadcrumb",e=>{const t=_n(e,{breadcrumbBaseColor:e.colorTextDescription,breadcrumbFontSize:e.fontSize,breadcrumbIconFontSize:e.fontSize,breadcrumbLinkColor:e.colorTextDescription,breadcrumbLinkColorHover:e.colorText,breadcrumbLastItemColor:e.colorText,breadcrumbSeparatorMargin:e.marginXS,breadcrumbSeparatorColor:e.colorTextDescription});return[p1e(t)]}),m1e=()=>({prefixCls:String,routes:{type:Array},params:He.any,separator:He.any,itemRender:{type:Function}});function v1e(e,t){if(!e.breadcrumbName)return null;const n=Object.keys(t).join("|");return e.breadcrumbName.replace(new RegExp(`:(${n})`,"g"),(i,o)=>t[o]||i)}function qL(e){const{route:t,params:n,routes:r,paths:i}=e,o=r.indexOf(t)===r.length-1,A=v1e(t,n);return o?$("span",null,[A]):$("a",{href:`#/${i.join("/")}`},[A])}const fm=Je({compatConfig:{MODE:3},name:"ABreadcrumb",inheritAttrs:!1,props:m1e(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=An("breadcrumb",e),[A,a]=g1e(i),s=(c,d)=>(c=(c||"").replace(/^\//,""),Object.keys(d).forEach(f=>{c=c.replace(`:${f}`,d[f])}),c),u=(c,d,f)=>{const g=[...c],h=s(d||"",f);return h&&g.push(h),g},l=c=>{let{routes:d=[],params:f={},separator:g,itemRender:h=qL}=c;const m=[];return d.map(p=>{const v=s(p.path,f);v&&m.push(v);const y=[...m];let b=null;p.children&&p.children.length&&(b=$(la,{items:p.children.map(C=>({key:C.path||C.breadcrumbName,label:h({route:C,params:f,routes:d,paths:u(y,C.path,f)})}))},null));const w={separator:g};return b&&(w.overlay=b),$(Ew,ye(ye({},w),{},{key:v||p.breadcrumbName}),{default:()=>[h({route:p,params:f,routes:d,paths:y})]})})};return()=>{var c;let d;const{routes:f,params:g={}}=e,h=ui(LA(n,e)),m=(c=LA(n,e,"separator"))!==null&&c!==void 0?c:"/",p=e.itemRender||n.itemRender||qL;f&&f.length>0?d=l({routes:f,params:g,separator:m,itemRender:p}):h.length&&(d=h.map((y,b)=>(Xu(typeof y.type=="object"&&(y.type.__ANT_BREADCRUMB_ITEM||y.type.__ANT_BREADCRUMB_SEPARATOR)),To(y,{separator:m,key:b}))));const v={[i.value]:!0,[`${i.value}-rtl`]:o.value==="rtl",[`${r.class}`]:!!r.class,[a.value]:!0};return A($("nav",ye(ye({},r),{},{class:v}),[$("ol",null,[d])]))}}});var y1e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const b1e=()=>({prefixCls:String}),nI=Je({compatConfig:{MODE:3},name:"ABreadcrumbSeparator",__ANT_BREADCRUMB_SEPARATOR:!0,inheritAttrs:!1,props:b1e(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i}=An("breadcrumb",e);return()=>{var o;const{separator:A,class:a}=r,s=y1e(r,["separator","class"]),u=ui((o=n.default)===null||o===void 0?void 0:o.call(n));return $("span",ye({class:[`${i.value}-separator`,a]},s),[u.length>0?u:"/"])}}});fm.Item=Ew;fm.Separator=nI;fm.install=function(e){return e.component(fm.name,fm),e.component(Ew.name,Ew),e.component(nI.name,nI),e};var pb={exports:{}},w1e=pb.exports,XL;function B1e(){return XL||(XL=1,function(e,t){(function(n,r){e.exports=r()})(w1e,function(){return function(n,r){r.prototype.weekday=function(i){var o=this.$locale().weekStart||0,A=this.$W,a=(A<o?A+7:A)-o;return this.$utils().u(i)?a:this.subtract(a,"day").add(i,"day")}}})}(pb)),pb.exports}var C1e=B1e();const x1e=Dl(C1e);var gb={exports:{}},S1e=gb.exports,YL;function E1e(){return YL||(YL=1,function(e,t){(function(n,r){e.exports=r()})(S1e,function(){return function(n,r,i){var o=r.prototype,A=function(c){return c&&(c.indexOf?c:c.s)},a=function(c,d,f,g,h){var m=c.name?c:c.$locale(),p=A(m[d]),v=A(m[f]),y=p||v.map(function(w){return w.slice(0,g)});if(!h)return y;var b=m.weekStart;return y.map(function(w,C){return y[(C+(b||0))%7]})},s=function(){return i.Ls[i.locale()]},u=function(c,d){return c.formats[d]||function(f){return f.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(g,h,m){return h||m.slice(1)})}(c.formats[d.toUpperCase()])},l=function(){var c=this;return{months:function(d){return d?d.format("MMMM"):a(c,"months")},monthsShort:function(d){return d?d.format("MMM"):a(c,"monthsShort","months",3)},firstDayOfWeek:function(){return c.$locale().weekStart||0},weekdays:function(d){return d?d.format("dddd"):a(c,"weekdays")},weekdaysMin:function(d){return d?d.format("dd"):a(c,"weekdaysMin","weekdays",2)},weekdaysShort:function(d){return d?d.format("ddd"):a(c,"weekdaysShort","weekdays",3)},longDateFormat:function(d){return u(c.$locale(),d)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return l.bind(this)()},i.localeData=function(){var c=s();return{firstDayOfWeek:function(){return c.weekStart||0},weekdays:function(){return i.weekdays()},weekdaysShort:function(){return i.weekdaysShort()},weekdaysMin:function(){return i.weekdaysMin()},months:function(){return i.months()},monthsShort:function(){return i.monthsShort()},longDateFormat:function(d){return u(c,d)},meridiem:c.meridiem,ordinal:c.ordinal}},i.months=function(){return a(s(),"months")},i.monthsShort=function(){return a(s(),"monthsShort","months",3)},i.weekdays=function(c){return a(s(),"weekdays",null,null,c)},i.weekdaysShort=function(c){return a(s(),"weekdaysShort","weekdays",3,c)},i.weekdaysMin=function(c){return a(s(),"weekdaysMin","weekdays",2,c)}}})}(gb)),gb.exports}var F1e=E1e();const I1e=Dl(F1e);var mb={exports:{}},_1e=mb.exports,JL;function O1e(){return JL||(JL=1,function(e,t){(function(n,r){e.exports=r()})(_1e,function(){var n="week",r="year";return function(i,o,A){var a=o.prototype;a.week=function(s){if(s===void 0&&(s=null),s!==null)return this.add(7*(s-this.week()),"day");var u=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var l=A(this).startOf(r).add(1,r).date(u),c=A(this).endOf(n);if(l.isBefore(c))return 1}var d=A(this).startOf(r).date(u).startOf(n).subtract(1,"millisecond"),f=this.diff(d,n,!0);return f<0?A(this).startOf("week").week():Math.ceil(f)},a.weeks=function(s){return s===void 0&&(s=null),this.week(s)}}})}(mb)),mb.exports}var T1e=O1e();const U1e=Dl(T1e);var vb={exports:{}},Q1e=vb.exports,ZL;function P1e(){return ZL||(ZL=1,function(e,t){(function(n,r){e.exports=r()})(Q1e,function(){return function(n,r){r.prototype.weekYear=function(){var i=this.month(),o=this.week(),A=this.year();return o===1&&i===11?A+1:i===0&&o>=52?A-1:A}}})}(vb)),vb.exports}var L1e=P1e();const D1e=Dl(L1e);var yb={exports:{}},R1e=yb.exports,eD;function $1e(){return eD||(eD=1,function(e,t){(function(n,r){e.exports=r()})(R1e,function(){var n="month",r="quarter";return function(i,o){var A=o.prototype;A.quarter=function(u){return this.$utils().u(u)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(u-1))};var a=A.add;A.add=function(u,l){return u=Number(u),this.$utils().p(l)===r?this.add(3*u,n):a.bind(this)(u,l)};var s=A.startOf;A.startOf=function(u,l){var c=this.$utils(),d=!!c.u(l)||l;if(c.p(u)===r){var f=this.quarter()-1;return d?this.month(3*f).startOf(n).startOf("day"):this.month(3*f+2).endOf(n).endOf("day")}return s.bind(this)(u,l)}}})}(yb)),yb.exports}var N1e=$1e();const H1e=Dl(N1e);var bb={exports:{}},M1e=bb.exports,tD;function k1e(){return tD||(tD=1,function(e,t){(function(n,r){e.exports=r()})(M1e,function(){return function(n,r){var i=r.prototype,o=i.format;i.format=function(A){var a=this,s=this.$locale();if(!this.isValid())return o.bind(this)(A);var u=this.$utils(),l=(A||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(c){switch(c){case"Q":return Math.ceil((a.$M+1)/3);case"Do":return s.ordinal(a.$D);case"gggg":return a.weekYear();case"GGGG":return a.isoWeekYear();case"wo":return s.ordinal(a.week(),"W");case"w":case"ww":return u.s(a.week(),c==="w"?1:2,"0");case"W":case"WW":return u.s(a.isoWeek(),c==="W"?1:2,"0");case"k":case"kk":return u.s(String(a.$H===0?24:a.$H),c==="k"?1:2,"0");case"X":return Math.floor(a.$d.getTime()/1e3);case"x":return a.$d.getTime();case"z":return"["+a.offsetName()+"]";case"zzz":return"["+a.offsetName("long")+"]";default:return c}});return o.bind(this)(l)}}})}(bb)),bb.exports}var j1e=k1e();const K1e=Dl(j1e);var wb={exports:{}},V1e=wb.exports,nD;function z1e(){return nD||(nD=1,function(e,t){(function(n,r){e.exports=r()})(V1e,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,o=/\d\d/,A=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,s={},u=function(m){return(m=+m)+(m>68?1900:2e3)},l=function(m){return function(p){this[m]=+p}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(m){(this.zone||(this.zone={})).offset=function(p){if(!p||p==="Z")return 0;var v=p.match(/([+-]|\d\d)/g),y=60*v[1]+(+v[2]||0);return y===0?0:v[0]==="+"?-y:y}(m)}],d=function(m){var p=s[m];return p&&(p.indexOf?p:p.s.concat(p.f))},f=function(m,p){var v,y=s.meridiem;if(y){for(var b=1;b<=24;b+=1)if(m.indexOf(y(b,0,p))>-1){v=b>12;break}}else v=m===(p?"pm":"PM");return v},g={A:[a,function(m){this.afternoon=f(m,!1)}],a:[a,function(m){this.afternoon=f(m,!0)}],Q:[i,function(m){this.month=3*(m-1)+1}],S:[i,function(m){this.milliseconds=100*+m}],SS:[o,function(m){this.milliseconds=10*+m}],SSS:[/\d{3}/,function(m){this.milliseconds=+m}],s:[A,l("seconds")],ss:[A,l("seconds")],m:[A,l("minutes")],mm:[A,l("minutes")],H:[A,l("hours")],h:[A,l("hours")],HH:[A,l("hours")],hh:[A,l("hours")],D:[A,l("day")],DD:[o,l("day")],Do:[a,function(m){var p=s.ordinal,v=m.match(/\d+/);if(this.day=v[0],p)for(var y=1;y<=31;y+=1)p(y).replace(/\[|\]/g,"")===m&&(this.day=y)}],w:[A,l("week")],ww:[o,l("week")],M:[A,l("month")],MM:[o,l("month")],MMM:[a,function(m){var p=d("months"),v=(d("monthsShort")||p.map(function(y){return y.slice(0,3)})).indexOf(m)+1;if(v<1)throw new Error;this.month=v%12||v}],MMMM:[a,function(m){var p=d("months").indexOf(m)+1;if(p<1)throw new Error;this.month=p%12||p}],Y:[/[+-]?\d+/,l("year")],YY:[o,function(m){this.year=u(m)}],YYYY:[/\d{4}/,l("year")],Z:c,ZZ:c};function h(m){var p,v;p=m,v=s&&s.formats;for(var y=(m=p.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(M,R,F){var L=F&&F.toUpperCase();return R||v[F]||n[F]||v[L].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(E,H,X){return H||X.slice(1)})})).match(r),b=y.length,w=0;w<b;w+=1){var C=y[w],B=g[C],O=B&&B[0],x=B&&B[1];y[w]=x?{regex:O,parser:x}:C.replace(/^\[|\]$/g,"")}return function(M){for(var R={},F=0,L=0;F<b;F+=1){var E=y[F];if(typeof E=="string")L+=E.length;else{var H=E.regex,X=E.parser,z=M.slice(L),Z=H.exec(z)[0];X.call(R,Z),M=M.replace(Z,"")}}return function(q){var te=q.afternoon;if(te!==void 0){var ne=q.hours;te?ne<12&&(q.hours+=12):ne===12&&(q.hours=0),delete q.afternoon}}(R),R}}return function(m,p,v){v.p.customParseFormat=!0,m&&m.parseTwoDigitYear&&(u=m.parseTwoDigitYear);var y=p.prototype,b=y.parse;y.parse=function(w){var C=w.date,B=w.utc,O=w.args;this.$u=B;var x=O[1];if(typeof x=="string"){var M=O[2]===!0,R=O[3]===!0,F=M||R,L=O[2];R&&(L=O[2]),s=this.$locale(),!M&&L&&(s=v.Ls[L]),this.$d=function(z,Z,q,te){try{if(["x","X"].indexOf(Z)>-1)return new Date((Z==="X"?1e3:1)*z);var ne=h(Z)(z),_=ne.year,Y=ne.month,re=ne.day,se=ne.hours,ce=ne.minutes,N=ne.seconds,K=ne.milliseconds,Ae=ne.zone,ae=ne.week,ie=new Date,J=re||(_||Y?1:ie.getDate()),ue=_||ie.getFullYear(),G=0;_&&!Y||(G=Y>0?Y-1:ie.getMonth());var pe,k=se||0,P=ce||0,U=N||0,W=K||0;return Ae?new Date(Date.UTC(ue,G,J,k,P,U,W+60*Ae.offset*1e3)):q?new Date(Date.UTC(ue,G,J,k,P,U,W)):(pe=new Date(ue,G,J,k,P,U,W),ae&&(pe=te(pe).week(ae).toDate()),pe)}catch{return new Date("")}}(C,x,B,v),this.init(),L&&L!==!0&&(this.$L=this.locale(L).$L),F&&C!=this.format(x)&&(this.$d=new Date("")),s={}}else if(x instanceof Array)for(var E=x.length,H=1;H<=E;H+=1){O[1]=x[H-1];var X=v.apply(this,O);if(X.isValid()){this.$d=X.$d,this.$L=X.$L,this.init();break}H===E&&(this.$d=new Date(""))}else b.call(this,w)}}})}(wb)),wb.exports}var G1e=z1e();const W1e=Dl(G1e);Ji.extend(W1e);Ji.extend(K1e);Ji.extend(x1e);Ji.extend(I1e);Ji.extend(U1e);Ji.extend(D1e);Ji.extend(H1e);Ji.extend((e,t)=>{const n=t.prototype,r=n.format;n.format=function(o){const A=(o||"").replace("Wo","wo");return r.bind(this)(A)}});const q1e={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},Ad=e=>q1e[e]||e.split("_")[0],rD=()=>{MAe(!1,"Not match any format. Please help to fire a issue about this.")},X1e=/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|k{1,2}|S/g;function iD(e,t,n){const r=[...new Set(e.split(n))];let i=0;for(let o=0;o<r.length;o++){const A=r[o];if(i+=A.length,i>t)return A;i+=n.length}}const oD=(e,t)=>{if(!e)return null;if(Ji.isDayjs(e))return e;const n=t.matchAll(X1e);let r=Ji(e,t);if(n===null)return r;for(const i of n){const o=i[0],A=i.index;if(o==="Q"){const a=e.slice(A-1,A),s=iD(e,A,a).match(/\d+/)[0];r=r.quarter(parseInt(s))}if(o.toLowerCase()==="wo"){const a=e.slice(A-1,A),s=iD(e,A,a).match(/\d+/)[0];r=r.week(parseInt(s))}o.toLowerCase()==="ww"&&(r=r.week(parseInt(e.slice(A,A+o.length)))),o.toLowerCase()==="w"&&(r=r.week(parseInt(e.slice(A,A+o.length+1))))}return r},OW={getNow:()=>Ji(),getFixedDate:e=>Ji(e,["YYYY-M-DD","YYYY-MM-DD"]),getEndDate:e=>e.endOf("month"),getWeekDay:e=>{const t=e.locale("en");return t.weekday()+t.localeData().firstDayOfWeek()},getYear:e=>e.year(),getMonth:e=>e.month(),getDate:e=>e.date(),getHour:e=>e.hour(),getMinute:e=>e.minute(),getSecond:e=>e.second(),addYear:(e,t)=>e.add(t,"year"),addMonth:(e,t)=>e.add(t,"month"),addDate:(e,t)=>e.add(t,"day"),setYear:(e,t)=>e.year(t),setMonth:(e,t)=>e.month(t),setDate:(e,t)=>e.date(t),setHour:(e,t)=>e.hour(t),setMinute:(e,t)=>e.minute(t),setSecond:(e,t)=>e.second(t),isAfter:(e,t)=>e.isAfter(t),isValidate:e=>e.isValid(),locale:{getWeekFirstDay:e=>Ji().locale(Ad(e)).localeData().firstDayOfWeek(),getWeekFirstDate:(e,t)=>t.locale(Ad(e)).weekday(0),getWeek:(e,t)=>t.locale(Ad(e)).week(),getShortWeekDays:e=>Ji().locale(Ad(e)).localeData().weekdaysMin(),getShortMonths:e=>Ji().locale(Ad(e)).localeData().monthsShort(),format:(e,t,n)=>t.locale(Ad(e)).format(n),parse:(e,t,n)=>{const r=Ad(e);for(let i=0;i<n.length;i+=1){const o=n[i],A=t;if(o.includes("wo")||o.includes("Wo")){const s=A.split("-")[0],u=A.split("-")[1],l=Ji(s,"YYYY").startOf("year").locale(r);for(let c=0;c<=52;c+=1){const d=l.add(c,"week");if(d.format("Wo")===u)return d}return rD(),null}const a=Ji(A,o,!0).locale(r);if(a.isValid())return a}return t||rD(),null}},toDate:(e,t)=>Array.isArray(e)?e.map(n=>oD(n,t)):oD(e,t),toString:(e,t)=>Array.isArray(e)?e.map(n=>Ji.isDayjs(n)?n.format(t):n):Ji.isDayjs(e)?e.format(t):e};function xi(e){const t=gie();return V(V({},e),t)}const TW=Symbol("PanelContextProps"),NO=e=>{dn(TW,e)},$l=()=>tn(TW,{}),ny={visibility:"hidden"};function Ef(e,t){let{slots:n}=t;var r;const i=xi(e),{prefixCls:o,prevIcon:A="‹",nextIcon:a="›",superPrevIcon:s="«",superNextIcon:u="»",onSuperPrev:l,onSuperNext:c,onPrev:d,onNext:f}=i,{hideNextBtn:g,hidePrevBtn:h}=$l();return $("div",{class:o},[l&&$("button",{type:"button",onClick:l,tabindex:-1,class:`${o}-super-prev-btn`,style:h.value?ny:{}},[s]),d&&$("button",{type:"button",onClick:d,tabindex:-1,class:`${o}-prev-btn`,style:h.value?ny:{}},[A]),$("div",{class:`${o}-view`},[(r=n.default)===null||r===void 0?void 0:r.call(n)]),f&&$("button",{type:"button",onClick:f,tabindex:-1,class:`${o}-next-btn`,style:g.value?ny:{}},[a]),c&&$("button",{type:"button",onClick:c,tabindex:-1,class:`${o}-super-next-btn`,style:g.value?ny:{}},[u])])}Ef.displayName="Header";Ef.inheritAttrs=!1;function HO(e){const t=xi(e),{prefixCls:n,generateConfig:r,viewDate:i,onPrevDecades:o,onNextDecades:A}=t,{hideHeader:a}=$l();if(a)return null;const s=`${n}-header`,u=r.getYear(i),l=Math.floor(u/Tu)*Tu,c=l+Tu-1;return $(Ef,ye(ye({},t),{},{prefixCls:s,onSuperPrev:o,onSuperNext:A}),{default:()=>[l,Hu("-"),c]})}HO.displayName="DecadeHeader";HO.inheritAttrs=!1;function UW(e,t,n,r,i){let o=e.setHour(t,n);return o=e.setMinute(o,r),o=e.setSecond(o,i),o}function Bb(e,t,n){if(!n)return t;let r=t;return r=e.setHour(r,e.getHour(n)),r=e.setMinute(r,e.getMinute(n)),r=e.setSecond(r,e.getSecond(n)),r}function Y1e(e,t,n,r,i,o){const A=Math.floor(e/r)*r;if(A<e)return[A,60-i,60-o];const a=Math.floor(t/i)*i;if(a<t)return[A,a,60-o];const s=Math.floor(n/o)*o;return[A,a,s]}function J1e(e,t){const n=e.getYear(t),r=e.getMonth(t)+1,i=e.getEndDate(e.getFixedDate(`${n}-${r}-01`)),o=e.getDate(i),A=r<10?`0${r}`:`${r}`;return`${n}-${A}-${o}`}function uh(e){const{prefixCls:t,disabledDate:n,onSelect:r,picker:i,rowNum:o,colNum:A,prefixColumn:a,rowClassName:s,baseDate:u,getCellClassName:l,getCellText:c,getCellNode:d,getCellDate:f,generateConfig:g,titleCell:h,headerCells:m}=xi(e),{onDateMouseenter:p,onDateMouseleave:v,mode:y}=$l(),b=`${t}-cell`,w=[];for(let C=0;C<o;C+=1){const B=[];let O;for(let x=0;x<A;x+=1){const M=C*A+x,R=f(u,M),F=AI({cellDate:R,mode:y.value,disabledDate:n,generateConfig:g});x===0&&(O=R,a&&B.push(a(O)));const L=h&&h(R);B.push($("td",{key:x,title:L,class:Ze(b,V({[`${b}-disabled`]:F,[`${b}-start`]:c(R)===1||i==="year"&&Number(L)%10===0,[`${b}-end`]:L===J1e(g,R)||i==="year"&&Number(L)%10===9},l(R))),onClick:E=>{E.stopPropagation(),F||r(R)},onMouseenter:()=>{!F&&p&&p(R)},onMouseleave:()=>{!F&&v&&v(R)}},[d?d(R):$("div",{class:`${b}-inner`},[c(R)])]))}w.push($("tr",{key:C,class:s&&s(O)},[B]))}return $("div",{class:`${t}-body`},[$("table",{class:`${t}-content`},[m&&$("thead",null,[$("tr",null,[m])]),$("tbody",null,[w])])])}uh.displayName="PanelBody";uh.inheritAttrs=!1;const rI=3,AD=4;function MO(e){const t=xi(e),n=ms-1,{prefixCls:r,viewDate:i,generateConfig:o}=t,A=`${r}-cell`,a=o.getYear(i),s=Math.floor(a/ms)*ms,u=Math.floor(a/Tu)*Tu,l=u+Tu-1,c=o.setYear(i,u-Math.ceil((rI*AD*ms-Tu)/2)),d=f=>{const g=o.getYear(f),h=g+n;return{[`${A}-in-view`]:u<=g&&h<=l,[`${A}-selected`]:g===s}};return $(uh,ye(ye({},t),{},{rowNum:AD,colNum:rI,baseDate:c,getCellText:f=>{const g=o.getYear(f);return`${g}-${g+n}`},getCellClassName:d,getCellDate:(f,g)=>o.addYear(f,g*ms)}),null)}MO.displayName="DecadeBody";MO.inheritAttrs=!1;const ry=new Map;function Z1e(e,t){let n;function r(){xB(e)?t():n=hn(()=>{r()})}return r(),()=>{hn.cancel(n)}}function iI(e,t,n){if(ry.get(e)&&hn.cancel(ry.get(e)),n<=0){ry.set(e,hn(()=>{e.scrollTop=t}));return}const i=(t-e.scrollTop)/n*10;ry.set(e,hn(()=>{e.scrollTop+=i,e.scrollTop!==t&&iI(e,t,n-10)}))}function Pg(e,t){let{onLeftRight:n,onCtrlLeftRight:r,onUpDown:i,onPageUpDown:o,onEnter:A}=t;const{which:a,ctrlKey:s,metaKey:u}=e;switch(a){case ut.LEFT:if(s||u){if(r)return r(-1),!0}else if(n)return n(-1),!0;break;case ut.RIGHT:if(s||u){if(r)return r(1),!0}else if(n)return n(1),!0;break;case ut.UP:if(i)return i(-1),!0;break;case ut.DOWN:if(i)return i(1),!0;break;case ut.PAGE_UP:if(o)return o(-1),!0;break;case ut.PAGE_DOWN:if(o)return o(1),!0;break;case ut.ENTER:if(A)return A(),!0;break}return!1}function QW(e,t,n,r){let i=e;if(!i)switch(t){case"time":i=r?"hh:mm:ss a":"HH:mm:ss";break;case"week":i="gggg-wo";break;case"month":i="YYYY-MM";break;case"quarter":i="YYYY-[Q]Q";break;case"year":i="YYYY";break;default:i=n?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return i}function PW(e,t,n){const r=e==="time"?8:10,i=typeof t=="function"?t(n.getNow()).length:t.length;return Math.max(r,i)+2}let x0=null;const iy=new Set;function eye(e){return!x0&&typeof window<"u"&&window.addEventListener&&(x0=t=>{[...iy].forEach(n=>{n(t)})},window.addEventListener("mousedown",x0)),iy.add(e),()=>{iy.delete(e),iy.size===0&&(window.removeEventListener("mousedown",x0),x0=null)}}function tye(e){var t;const n=e.target;return e.composed&&n.shadowRoot&&((t=e.composedPath)===null||t===void 0?void 0:t.call(e)[0])||n}const nye=e=>e==="month"||e==="date"?"year":e,rye=e=>e==="date"?"month":e,iye=e=>e==="month"||e==="date"?"quarter":e,oye=e=>e==="date"?"week":e,Aye={year:nye,month:rye,quarter:iye,week:oye,time:null,date:null};function LW(e,t){return e.some(n=>n&&n.contains(t))}const ms=10,Tu=ms*10;function kO(e){const t=xi(e),{prefixCls:n,onViewDateChange:r,generateConfig:i,viewDate:o,operationRef:A,onSelect:a,onPanelChange:s}=t,u=`${n}-decade-panel`;A.value={onKeydown:d=>Pg(d,{onLeftRight:f=>{a(i.addYear(o,f*ms),"key")},onCtrlLeftRight:f=>{a(i.addYear(o,f*Tu),"key")},onUpDown:f=>{a(i.addYear(o,f*ms*rI),"key")},onEnter:()=>{s("year",o)}})};const l=d=>{const f=i.addYear(o,d*Tu);r(f),s(null,f)},c=d=>{a(d,"mouse"),s("year",d)};return $("div",{class:u},[$(HO,ye(ye({},t),{},{prefixCls:n,onPrevDecades:()=>{l(-1)},onNextDecades:()=>{l(1)}}),null),$(MO,ye(ye({},t),{},{prefixCls:n,onSelect:c}),null)])}kO.displayName="DecadePanel";kO.inheritAttrs=!1;const Cb=7;function ch(e,t){if(!e&&!t)return!0;if(!e||!t)return!1}function aye(e,t,n){const r=ch(t,n);if(typeof r=="boolean")return r;const i=Math.floor(e.getYear(t)/10),o=Math.floor(e.getYear(n)/10);return i===o}function jB(e,t,n){const r=ch(t,n);return typeof r=="boolean"?r:e.getYear(t)===e.getYear(n)}function oI(e,t){return Math.floor(e.getMonth(t)/3)+1}function DW(e,t,n){const r=ch(t,n);return typeof r=="boolean"?r:jB(e,t,n)&&oI(e,t)===oI(e,n)}function jO(e,t,n){const r=ch(t,n);return typeof r=="boolean"?r:jB(e,t,n)&&e.getMonth(t)===e.getMonth(n)}function Uu(e,t,n){const r=ch(t,n);return typeof r=="boolean"?r:e.getYear(t)===e.getYear(n)&&e.getMonth(t)===e.getMonth(n)&&e.getDate(t)===e.getDate(n)}function sye(e,t,n){const r=ch(t,n);return typeof r=="boolean"?r:e.getHour(t)===e.getHour(n)&&e.getMinute(t)===e.getMinute(n)&&e.getSecond(t)===e.getSecond(n)}function RW(e,t,n,r){const i=ch(n,r);return typeof i=="boolean"?i:e.locale.getWeek(t,n)===e.locale.getWeek(t,r)}function qp(e,t,n){return Uu(e,t,n)&&sye(e,t,n)}function oy(e,t,n,r){return!t||!n||!r?!1:!Uu(e,t,r)&&!Uu(e,n,r)&&e.isAfter(r,t)&&e.isAfter(n,r)}function lye(e,t,n){const r=t.locale.getWeekFirstDay(e),i=t.setDate(n,1),o=t.getWeekDay(i);let A=t.addDate(i,r-o);return t.getMonth(A)===t.getMonth(n)&&t.getDate(A)>1&&(A=t.addDate(A,-7)),A}function dm(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(t){case"year":return n.addYear(e,r*10);case"quarter":case"month":return n.addYear(e,r);default:return n.addMonth(e,r)}}function Eo(e,t){let{generateConfig:n,locale:r,format:i}=t;return typeof i=="function"?i(e):n.locale.format(r.locale,e,i)}function $W(e,t){let{generateConfig:n,locale:r,formatList:i}=t;return!e||typeof i[0]=="function"?null:n.locale.parse(r.locale,e,i)}function AI(e){let{cellDate:t,mode:n,disabledDate:r,generateConfig:i}=e;if(!r)return!1;const o=(A,a,s)=>{let u=a;for(;u<=s;){let l;switch(A){case"date":{if(l=i.setDate(t,u),!r(l))return!1;break}case"month":{if(l=i.setMonth(t,u),!AI({cellDate:l,mode:"month",generateConfig:i,disabledDate:r}))return!1;break}case"year":{if(l=i.setYear(t,u),!AI({cellDate:l,mode:"year",generateConfig:i,disabledDate:r}))return!1;break}}u+=1}return!0};switch(n){case"date":case"week":return r(t);case"month":{const a=i.getDate(i.getEndDate(t));return o("date",1,a)}case"quarter":{const A=Math.floor(i.getMonth(t)/3)*3,a=A+2;return o("month",A,a)}case"year":return o("month",0,11);case"decade":{const A=i.getYear(t),a=Math.floor(A/ms)*ms,s=a+ms-1;return o("year",a,s)}}}function KO(e){const t=xi(e),{hideHeader:n}=$l();if(n.value)return null;const{prefixCls:r,generateConfig:i,locale:o,value:A,format:a}=t,s=`${r}-header`;return $(Ef,{prefixCls:s},{default:()=>[A?Eo(A,{locale:o,format:a,generateConfig:i}):" "]})}KO.displayName="TimeHeader";KO.inheritAttrs=!1;const Ay=Je({name:"TimeUnitColumn",props:["prefixCls","units","onSelect","value","active","hideDisabledOptions"],setup(e){const{open:t}=$l(),n=Me(null),r=qe(new Map),i=qe();return st(()=>e.value,()=>{const o=r.value.get(e.value);o&&t.value!==!1&&iI(n.value,o.offsetTop,120)}),En(()=>{var o;(o=i.value)===null||o===void 0||o.call(i)}),st(t,()=>{var o;(o=i.value)===null||o===void 0||o.call(i),$n(()=>{if(t.value){const A=r.value.get(e.value);A&&(i.value=Z1e(A,()=>{iI(n.value,A.offsetTop,0)}))}})},{immediate:!0,flush:"post"}),()=>{const{prefixCls:o,units:A,onSelect:a,value:s,active:u,hideDisabledOptions:l}=e,c=`${o}-cell`;return $("ul",{class:Ze(`${o}-column`,{[`${o}-column-active`]:u}),ref:n,style:{position:"relative"}},[A.map(d=>l&&d.disabled?null:$("li",{key:d.value,ref:f=>{r.value.set(d.value,f)},class:Ze(c,{[`${c}-disabled`]:d.disabled,[`${c}-selected`]:s===d.value}),onClick:()=>{d.disabled||a(d.value)}},[$("div",{class:`${c}-inner`},[d.label])]))])}}});function NW(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",r=String(e);for(;r.length<t;)r=`${n}${e}`;return r}const uye=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t};function HW(e){return e==null?[]:Array.isArray(e)?e:[e]}function MW(e){const t={};return Object.keys(e).forEach(n=>{(n.startsWith("data-")||n.startsWith("aria-")||n==="role"||n==="name")&&!n.startsWith("data-__")&&(t[n]=e[n])}),t}function Jn(e,t){return e?e[t]:null}function Ta(e,t,n){const r=[Jn(e,0),Jn(e,1)];return r[n]=typeof t=="function"?t(r[n]):t,!r[0]&&!r[1]?null:r}function xx(e,t,n,r){const i=[];for(let o=e;o<=t;o+=n)i.push({label:NW(o,2),value:o,disabled:(r||[]).includes(o)});return i}const cye=Je({compatConfig:{MODE:3},name:"TimeBody",inheritAttrs:!1,props:["generateConfig","prefixCls","operationRef","activeColumnIndex","value","showHour","showMinute","showSecond","use12Hours","hourStep","minuteStep","secondStep","disabledHours","disabledMinutes","disabledSeconds","disabledTime","hideDisabledOptions","onSelect"],setup(e){const t=fe(()=>e.value?e.generateConfig.getHour(e.value):-1),n=fe(()=>e.use12Hours?t.value>=12:!1),r=fe(()=>e.use12Hours?t.value%12:t.value),i=fe(()=>e.value?e.generateConfig.getMinute(e.value):-1),o=fe(()=>e.value?e.generateConfig.getSecond(e.value):-1),A=qe(e.generateConfig.getNow()),a=qe(),s=qe(),u=qe();cB(()=>{A.value=e.generateConfig.getNow()}),ln(()=>{if(e.disabledTime){const m=e.disabledTime(A);[a.value,s.value,u.value]=[m.disabledHours,m.disabledMinutes,m.disabledSeconds]}else[a.value,s.value,u.value]=[e.disabledHours,e.disabledMinutes,e.disabledSeconds]});const l=(m,p,v,y)=>{let b=e.value||e.generateConfig.getNow();const w=Math.max(0,p),C=Math.max(0,v),B=Math.max(0,y);return b=UW(e.generateConfig,b,!e.use12Hours||!m?w:w+12,C,B),b},c=fe(()=>{var m;return xx(0,23,(m=e.hourStep)!==null&&m!==void 0?m:1,a.value&&a.value())}),d=fe(()=>{if(!e.use12Hours)return[!1,!1];const m=[!0,!0];return c.value.forEach(p=>{let{disabled:v,value:y}=p;v||(y>=12?m[1]=!1:m[0]=!1)}),m}),f=fe(()=>e.use12Hours?c.value.filter(n.value?m=>m.value>=12:m=>m.value<12).map(m=>{const p=m.value%12,v=p===0?"12":NW(p,2);return V(V({},m),{label:v,value:p})}):c.value),g=fe(()=>{var m;return xx(0,59,(m=e.minuteStep)!==null&&m!==void 0?m:1,s.value&&s.value(t.value))}),h=fe(()=>{var m;return xx(0,59,(m=e.secondStep)!==null&&m!==void 0?m:1,u.value&&u.value(t.value,i.value))});return()=>{const{prefixCls:m,operationRef:p,activeColumnIndex:v,showHour:y,showMinute:b,showSecond:w,use12Hours:C,hideDisabledOptions:B,onSelect:O}=e,x=[],M=`${m}-content`,R=`${m}-time-panel`;p.value={onUpDown:E=>{const H=x[v];if(H){const X=H.units.findIndex(Z=>Z.value===H.value),z=H.units.length;for(let Z=1;Z<z;Z+=1){const q=H.units[(X+E*Z+z)%z];if(q.disabled!==!0){H.onSelect(q.value);break}}}}};function F(E,H,X,z,Z){E!==!1&&x.push({node:jr(H,{prefixCls:R,value:X,active:v===x.length,onSelect:Z,units:z,hideDisabledOptions:B}),onSelect:Z,value:X,units:z})}F(y,$(Ay,{key:"hour"},null),r.value,f.value,E=>{O(l(n.value,E,i.value,o.value),"mouse")}),F(b,$(Ay,{key:"minute"},null),i.value,g.value,E=>{O(l(n.value,r.value,E,o.value),"mouse")}),F(w,$(Ay,{key:"second"},null),o.value,h.value,E=>{O(l(n.value,r.value,i.value,E),"mouse")});let L=-1;return typeof n.value=="boolean"&&(L=n.value?1:0),F(C===!0,$(Ay,{key:"12hours"},null),L,[{label:"AM",value:0,disabled:d.value[0]},{label:"PM",value:1,disabled:d.value[1]}],E=>{O(l(!!E,r.value,i.value,o.value),"mouse")}),$("div",{class:M},[x.map(E=>{let{node:H}=E;return H})])}}}),fye=e=>e.filter(t=>t!==!1).length;function KB(e){const t=xi(e),{generateConfig:n,format:r="HH:mm:ss",prefixCls:i,active:o,operationRef:A,showHour:a,showMinute:s,showSecond:u,use12Hours:l=!1,onSelect:c,value:d}=t,f=`${i}-time-panel`,g=qe(),h=qe(-1),m=fye([a,s,u,l]);return A.value={onKeydown:p=>Pg(p,{onLeftRight:v=>{h.value=(h.value+v+m)%m},onUpDown:v=>{h.value===-1?h.value=0:g.value&&g.value.onUpDown(v)},onEnter:()=>{c(d||n.getNow(),"key"),h.value=-1}}),onBlur:()=>{h.value=-1}},$("div",{class:Ze(f,{[`${f}-active`]:o})},[$(KO,ye(ye({},t),{},{format:r,prefixCls:i}),null),$(cye,ye(ye({},t),{},{prefixCls:i,activeColumnIndex:h.value,operationRef:g}),null)])}KB.displayName="TimePanel";KB.inheritAttrs=!1;function VB(e){let{cellPrefixCls:t,generateConfig:n,rangedValue:r,hoverRangedValue:i,isInView:o,isSameCell:A,offsetCell:a,today:s,value:u}=e;function l(c){const d=a(c,-1),f=a(c,1),g=Jn(r,0),h=Jn(r,1),m=Jn(i,0),p=Jn(i,1),v=oy(n,m,p,c);function y(x){return A(g,x)}function b(x){return A(h,x)}const w=A(m,c),C=A(p,c),B=(v||C)&&(!o(d)||b(d)),O=(v||w)&&(!o(f)||y(f));return{[`${t}-in-view`]:o(c),[`${t}-in-range`]:oy(n,g,h,c),[`${t}-range-start`]:y(c),[`${t}-range-end`]:b(c),[`${t}-range-start-single`]:y(c)&&!h,[`${t}-range-end-single`]:b(c)&&!g,[`${t}-range-start-near-hover`]:y(c)&&(A(d,m)||oy(n,m,p,d)),[`${t}-range-end-near-hover`]:b(c)&&(A(f,p)||oy(n,m,p,f)),[`${t}-range-hover`]:v,[`${t}-range-hover-start`]:w,[`${t}-range-hover-end`]:C,[`${t}-range-hover-edge-start`]:B,[`${t}-range-hover-edge-end`]:O,[`${t}-range-hover-edge-start-near-range`]:B&&A(d,h),[`${t}-range-hover-edge-end-near-range`]:O&&A(f,g),[`${t}-today`]:A(s,c),[`${t}-selected`]:A(u,c)}}return l}const kW=Symbol("RangeContextProps"),dye=e=>{dn(kW,e)},Ev=()=>tn(kW,{rangedValue:qe(),hoverRangedValue:qe(),inRange:qe(),panelPosition:qe()}),hye=Je({compatConfig:{MODE:3},name:"PanelContextProvider",inheritAttrs:!1,props:{value:{type:Object,default:()=>({})}},setup(e,t){let{slots:n}=t;const r={rangedValue:qe(e.value.rangedValue),hoverRangedValue:qe(e.value.hoverRangedValue),inRange:qe(e.value.inRange),panelPosition:qe(e.value.panelPosition)};return dye(r),st(()=>e.value,()=>{Object.keys(e.value).forEach(i=>{r[i]&&(r[i].value=e.value[i])})}),()=>{var i;return(i=n.default)===null||i===void 0?void 0:i.call(n)}}});function zB(e){const t=xi(e),{prefixCls:n,generateConfig:r,prefixColumn:i,locale:o,rowCount:A,viewDate:a,value:s,dateRender:u}=t,{rangedValue:l,hoverRangedValue:c}=Ev(),d=lye(o.locale,r,a),f=`${n}-cell`,g=r.locale.getWeekFirstDay(o.locale),h=r.getNow(),m=[],p=o.shortWeekDays||(r.locale.getShortWeekDays?r.locale.getShortWeekDays(o.locale):[]);i&&m.push($("th",{key:"empty","aria-label":"empty cell"},null));for(let b=0;b<Cb;b+=1)m.push($("th",{key:b},[p[(b+g)%Cb]]));const v=VB({cellPrefixCls:f,today:h,value:s,generateConfig:r,rangedValue:i?null:l.value,hoverRangedValue:i?null:c.value,isSameCell:(b,w)=>Uu(r,b,w),isInView:b=>jO(r,b,a),offsetCell:(b,w)=>r.addDate(b,w)}),y=u?b=>u({current:b,today:h}):void 0;return $(uh,ye(ye({},t),{},{rowNum:A,colNum:Cb,baseDate:d,getCellNode:y,getCellText:r.getDate,getCellClassName:v,getCellDate:r.addDate,titleCell:b=>Eo(b,{locale:o,format:"YYYY-MM-DD",generateConfig:r}),headerCells:m}),null)}zB.displayName="DateBody";zB.inheritAttrs=!1;zB.props=["prefixCls","generateConfig","value?","viewDate","locale","rowCount","onSelect","dateRender?","disabledDate?","prefixColumn?","rowClassName?"];function VO(e){const t=xi(e),{prefixCls:n,generateConfig:r,locale:i,viewDate:o,onNextMonth:A,onPrevMonth:a,onNextYear:s,onPrevYear:u,onYearClick:l,onMonthClick:c}=t,{hideHeader:d}=$l();if(d.value)return null;const f=`${n}-header`,g=i.shortMonths||(r.locale.getShortMonths?r.locale.getShortMonths(i.locale):[]),h=r.getMonth(o),m=$("button",{type:"button",key:"year",onClick:l,tabindex:-1,class:`${n}-year-btn`},[Eo(o,{locale:i,format:i.yearFormat,generateConfig:r})]),p=$("button",{type:"button",key:"month",onClick:c,tabindex:-1,class:`${n}-month-btn`},[i.monthFormat?Eo(o,{locale:i,format:i.monthFormat,generateConfig:r}):g[h]]),v=i.monthBeforeYear?[p,m]:[m,p];return $(Ef,ye(ye({},t),{},{prefixCls:f,onSuperPrev:u,onPrev:a,onNext:A,onSuperNext:s}),{default:()=>[v]})}VO.displayName="DateHeader";VO.inheritAttrs=!1;const pye=6;function Fv(e){const t=xi(e),{prefixCls:n,panelName:r="date",keyboardConfig:i,active:o,operationRef:A,generateConfig:a,value:s,viewDate:u,onViewDateChange:l,onPanelChange:c,onSelect:d}=t,f=`${n}-${r}-panel`;A.value={onKeydown:m=>Pg(m,V({onLeftRight:p=>{d(a.addDate(s||u,p),"key")},onCtrlLeftRight:p=>{d(a.addYear(s||u,p),"key")},onUpDown:p=>{d(a.addDate(s||u,p*Cb),"key")},onPageUpDown:p=>{d(a.addMonth(s||u,p),"key")}},i))};const g=m=>{const p=a.addYear(u,m);l(p),c(null,p)},h=m=>{const p=a.addMonth(u,m);l(p),c(null,p)};return $("div",{class:Ze(f,{[`${f}-active`]:o})},[$(VO,ye(ye({},t),{},{prefixCls:n,value:s,viewDate:u,onPrevYear:()=>{g(-1)},onNextYear:()=>{g(1)},onPrevMonth:()=>{h(-1)},onNextMonth:()=>{h(1)},onMonthClick:()=>{c("month",u)},onYearClick:()=>{c("year",u)}}),null),$(zB,ye(ye({},t),{},{onSelect:m=>d(m,"mouse"),prefixCls:n,value:s,viewDate:u,rowCount:pye}),null)])}Fv.displayName="DatePanel";Fv.inheritAttrs=!1;const aD=uye("date","time");function zO(e){const t=xi(e),{prefixCls:n,operationRef:r,generateConfig:i,value:o,defaultValue:A,disabledTime:a,showTime:s,onSelect:u}=t,l=`${n}-datetime-panel`,c=qe(null),d=qe({}),f=qe({}),g=typeof s=="object"?V({},s):{};function h(y){const b=aD.indexOf(c.value)+y;return aD[b]||null}const m=y=>{f.value.onBlur&&f.value.onBlur(y),c.value=null};r.value={onKeydown:y=>{if(y.which===ut.TAB){const b=h(y.shiftKey?-1:1);return c.value=b,b&&y.preventDefault(),!0}if(c.value){const b=c.value==="date"?d:f;return b.value&&b.value.onKeydown&&b.value.onKeydown(y),!0}return[ut.LEFT,ut.RIGHT,ut.UP,ut.DOWN].includes(y.which)?(c.value="date",!0):!1},onBlur:m,onClose:m};const p=(y,b)=>{let w=y;b==="date"&&!o&&g.defaultValue?(w=i.setHour(w,i.getHour(g.defaultValue)),w=i.setMinute(w,i.getMinute(g.defaultValue)),w=i.setSecond(w,i.getSecond(g.defaultValue))):b==="time"&&!o&&A&&(w=i.setYear(w,i.getYear(A)),w=i.setMonth(w,i.getMonth(A)),w=i.setDate(w,i.getDate(A))),u&&u(w,"mouse")},v=a?a(o||null):{};return $("div",{class:Ze(l,{[`${l}-active`]:c.value})},[$(Fv,ye(ye({},t),{},{operationRef:d,active:c.value==="date",onSelect:y=>{p(Bb(i,y,!o&&typeof s=="object"?s.defaultValue:null),"date")}}),null),$(KB,ye(ye(ye(ye({},t),{},{format:void 0},g),v),{},{disabledTime:null,defaultValue:void 0,operationRef:f,active:c.value==="time",onSelect:y=>{p(y,"time")}}),null)])}zO.displayName="DatetimePanel";zO.inheritAttrs=!1;function GO(e){const t=xi(e),{prefixCls:n,generateConfig:r,locale:i,value:o}=t,A=`${n}-cell`,a=l=>$("td",{key:"week",class:Ze(A,`${A}-week`)},[r.locale.getWeek(i.locale,l)]),s=`${n}-week-panel-row`,u=l=>Ze(s,{[`${s}-selected`]:RW(r,i.locale,o,l)});return $(Fv,ye(ye({},t),{},{panelName:"week",prefixColumn:a,rowClassName:u,keyboardConfig:{onLeftRight:null}}),null)}GO.displayName="WeekPanel";GO.inheritAttrs=!1;function WO(e){const t=xi(e),{prefixCls:n,generateConfig:r,locale:i,viewDate:o,onNextYear:A,onPrevYear:a,onYearClick:s}=t,{hideHeader:u}=$l();if(u.value)return null;const l=`${n}-header`;return $(Ef,ye(ye({},t),{},{prefixCls:l,onSuperPrev:a,onSuperNext:A}),{default:()=>[$("button",{type:"button",onClick:s,class:`${n}-year-btn`},[Eo(o,{locale:i,format:i.yearFormat,generateConfig:r})])]})}WO.displayName="MonthHeader";WO.inheritAttrs=!1;const jW=3,gye=4;function qO(e){const t=xi(e),{prefixCls:n,locale:r,value:i,viewDate:o,generateConfig:A,monthCellRender:a}=t,{rangedValue:s,hoverRangedValue:u}=Ev(),l=`${n}-cell`,c=VB({cellPrefixCls:l,value:i,generateConfig:A,rangedValue:s.value,hoverRangedValue:u.value,isSameCell:(h,m)=>jO(A,h,m),isInView:()=>!0,offsetCell:(h,m)=>A.addMonth(h,m)}),d=r.shortMonths||(A.locale.getShortMonths?A.locale.getShortMonths(r.locale):[]),f=A.setMonth(o,0),g=a?h=>a({current:h,locale:r}):void 0;return $(uh,ye(ye({},t),{},{rowNum:gye,colNum:jW,baseDate:f,getCellNode:g,getCellText:h=>r.monthFormat?Eo(h,{locale:r,format:r.monthFormat,generateConfig:A}):d[A.getMonth(h)],getCellClassName:c,getCellDate:A.addMonth,titleCell:h=>Eo(h,{locale:r,format:"YYYY-MM",generateConfig:A})}),null)}qO.displayName="MonthBody";qO.inheritAttrs=!1;function XO(e){const t=xi(e),{prefixCls:n,operationRef:r,onViewDateChange:i,generateConfig:o,value:A,viewDate:a,onPanelChange:s,onSelect:u}=t,l=`${n}-month-panel`;r.value={onKeydown:d=>Pg(d,{onLeftRight:f=>{u(o.addMonth(A||a,f),"key")},onCtrlLeftRight:f=>{u(o.addYear(A||a,f),"key")},onUpDown:f=>{u(o.addMonth(A||a,f*jW),"key")},onEnter:()=>{s("date",A||a)}})};const c=d=>{const f=o.addYear(a,d);i(f),s(null,f)};return $("div",{class:l},[$(WO,ye(ye({},t),{},{prefixCls:n,onPrevYear:()=>{c(-1)},onNextYear:()=>{c(1)},onYearClick:()=>{s("year",a)}}),null),$(qO,ye(ye({},t),{},{prefixCls:n,onSelect:d=>{u(d,"mouse"),s("date",d)}}),null)])}XO.displayName="MonthPanel";XO.inheritAttrs=!1;function YO(e){const t=xi(e),{prefixCls:n,generateConfig:r,locale:i,viewDate:o,onNextYear:A,onPrevYear:a,onYearClick:s}=t,{hideHeader:u}=$l();if(u.value)return null;const l=`${n}-header`;return $(Ef,ye(ye({},t),{},{prefixCls:l,onSuperPrev:a,onSuperNext:A}),{default:()=>[$("button",{type:"button",onClick:s,class:`${n}-year-btn`},[Eo(o,{locale:i,format:i.yearFormat,generateConfig:r})])]})}YO.displayName="QuarterHeader";YO.inheritAttrs=!1;const mye=4,vye=1;function JO(e){const t=xi(e),{prefixCls:n,locale:r,value:i,viewDate:o,generateConfig:A}=t,{rangedValue:a,hoverRangedValue:s}=Ev(),u=`${n}-cell`,l=VB({cellPrefixCls:u,value:i,generateConfig:A,rangedValue:a.value,hoverRangedValue:s.value,isSameCell:(d,f)=>DW(A,d,f),isInView:()=>!0,offsetCell:(d,f)=>A.addMonth(d,f*3)}),c=A.setDate(A.setMonth(o,0),1);return $(uh,ye(ye({},t),{},{rowNum:vye,colNum:mye,baseDate:c,getCellText:d=>Eo(d,{locale:r,format:r.quarterFormat||"[Q]Q",generateConfig:A}),getCellClassName:l,getCellDate:(d,f)=>A.addMonth(d,f*3),titleCell:d=>Eo(d,{locale:r,format:"YYYY-[Q]Q",generateConfig:A})}),null)}JO.displayName="QuarterBody";JO.inheritAttrs=!1;function ZO(e){const t=xi(e),{prefixCls:n,operationRef:r,onViewDateChange:i,generateConfig:o,value:A,viewDate:a,onPanelChange:s,onSelect:u}=t,l=`${n}-quarter-panel`;r.value={onKeydown:d=>Pg(d,{onLeftRight:f=>{u(o.addMonth(A||a,f*3),"key")},onCtrlLeftRight:f=>{u(o.addYear(A||a,f),"key")},onUpDown:f=>{u(o.addYear(A||a,f),"key")}})};const c=d=>{const f=o.addYear(a,d);i(f),s(null,f)};return $("div",{class:l},[$(YO,ye(ye({},t),{},{prefixCls:n,onPrevYear:()=>{c(-1)},onNextYear:()=>{c(1)},onYearClick:()=>{s("year",a)}}),null),$(JO,ye(ye({},t),{},{prefixCls:n,onSelect:d=>{u(d,"mouse")}}),null)])}ZO.displayName="QuarterPanel";ZO.inheritAttrs=!1;function eT(e){const t=xi(e),{prefixCls:n,generateConfig:r,viewDate:i,onPrevDecade:o,onNextDecade:A,onDecadeClick:a}=t,{hideHeader:s}=$l();if(s.value)return null;const u=`${n}-header`,l=r.getYear(i),c=Math.floor(l/ef)*ef,d=c+ef-1;return $(Ef,ye(ye({},t),{},{prefixCls:u,onSuperPrev:o,onSuperNext:A}),{default:()=>[$("button",{type:"button",onClick:a,class:`${n}-decade-btn`},[c,Hu("-"),d])]})}eT.displayName="YearHeader";eT.inheritAttrs=!1;const aI=3,sD=4;function tT(e){const t=xi(e),{prefixCls:n,value:r,viewDate:i,locale:o,generateConfig:A}=t,{rangedValue:a,hoverRangedValue:s}=Ev(),u=`${n}-cell`,l=A.getYear(i),c=Math.floor(l/ef)*ef,d=c+ef-1,f=A.setYear(i,c-Math.ceil((aI*sD-ef)/2)),g=m=>{const p=A.getYear(m);return c<=p&&p<=d},h=VB({cellPrefixCls:u,value:r,generateConfig:A,rangedValue:a.value,hoverRangedValue:s.value,isSameCell:(m,p)=>jB(A,m,p),isInView:g,offsetCell:(m,p)=>A.addYear(m,p)});return $(uh,ye(ye({},t),{},{rowNum:sD,colNum:aI,baseDate:f,getCellText:A.getYear,getCellClassName:h,getCellDate:A.addYear,titleCell:m=>Eo(m,{locale:o,format:"YYYY",generateConfig:A})}),null)}tT.displayName="YearBody";tT.inheritAttrs=!1;const ef=10;function nT(e){const t=xi(e),{prefixCls:n,operationRef:r,onViewDateChange:i,generateConfig:o,value:A,viewDate:a,sourceMode:s,onSelect:u,onPanelChange:l}=t,c=`${n}-year-panel`;r.value={onKeydown:f=>Pg(f,{onLeftRight:g=>{u(o.addYear(A||a,g),"key")},onCtrlLeftRight:g=>{u(o.addYear(A||a,g*ef),"key")},onUpDown:g=>{u(o.addYear(A||a,g*aI),"key")},onEnter:()=>{l(s==="date"?"date":"month",A||a)}})};const d=f=>{const g=o.addYear(a,f*10);i(g),l(null,g)};return $("div",{class:c},[$(eT,ye(ye({},t),{},{prefixCls:n,onPrevDecade:()=>{d(-1)},onNextDecade:()=>{d(1)},onDecadeClick:()=>{l("decade",a)}}),null),$(tT,ye(ye({},t),{},{prefixCls:n,onSelect:f=>{l(s==="date"?"date":"month",f),u(f,"mouse")}}),null)])}nT.displayName="YearPanel";nT.inheritAttrs=!1;function KW(e,t,n){return n?$("div",{class:`${e}-footer-extra`},[n(t)]):null}function VW(e){let{prefixCls:t,components:n={},needConfirmButton:r,onNow:i,onOk:o,okDisabled:A,showNow:a,locale:s}=e,u,l;if(r){const c=n.button||"button";i&&a!==!1&&(u=$("li",{class:`${t}-now`},[$("a",{class:`${t}-now-btn`,onClick:i},[s.now])])),l=r&&$("li",{class:`${t}-ok`},[$(c,{disabled:A,onClick:d=>{d.stopPropagation(),o&&o()}},{default:()=>[s.ok]})])}return!u&&!l?null:$("ul",{class:`${t}-ranges`},[u,l])}function yye(){return Je({name:"PickerPanel",inheritAttrs:!1,props:{prefixCls:String,locale:Object,generateConfig:Object,value:Object,defaultValue:Object,pickerValue:Object,defaultPickerValue:Object,disabledDate:Function,mode:String,picker:{type:String,default:"date"},tabindex:{type:[Number,String],default:0},showNow:{type:Boolean,default:void 0},showTime:[Boolean,Object],showToday:Boolean,renderExtraFooter:Function,dateRender:Function,hideHeader:{type:Boolean,default:void 0},onSelect:Function,onChange:Function,onPanelChange:Function,onMousedown:Function,onPickerValueChange:Function,onOk:Function,components:Object,direction:String,hourStep:{type:Number,default:1},minuteStep:{type:Number,default:1},secondStep:{type:Number,default:1}},setup(e,t){let{attrs:n}=t;const r=fe(()=>e.picker==="date"&&!!e.showTime||e.picker==="time"),i=fe(()=>24%e.hourStep===0),o=fe(()=>60%e.minuteStep===0),A=fe(()=>60%e.secondStep===0),a=$l(),{operationRef:s,onSelect:u,hideRanges:l,defaultOpenValue:c}=a,{inRange:d,panelPosition:f,rangedValue:g,hoverRangedValue:h}=Ev(),m=qe({}),[p,v]=So(null,{value:fn(e,"value"),defaultValue:e.defaultValue,postState:z=>!z&&(c!=null&&c.value)&&e.picker==="time"?c.value:z}),[y,b]=So(null,{value:fn(e,"pickerValue"),defaultValue:e.defaultPickerValue||p.value,postState:z=>{const{generateConfig:Z,showTime:q,defaultValue:te}=e,ne=Z.getNow();return z?!p.value&&e.showTime?typeof q=="object"?Bb(Z,Array.isArray(z)?z[0]:z,q.defaultValue||ne):te?Bb(Z,Array.isArray(z)?z[0]:z,te):Bb(Z,Array.isArray(z)?z[0]:z,ne):z:ne}}),w=z=>{b(z),e.onPickerValueChange&&e.onPickerValueChange(z)},C=z=>{const Z=Aye[e.picker];return Z?Z(z):z},[B,O]=So(()=>e.picker==="time"?"time":C("date"),{value:fn(e,"mode")});st(()=>e.picker,()=>{O(e.picker)});const x=qe(B.value),M=z=>{x.value=z},R=(z,Z)=>{const{onPanelChange:q,generateConfig:te}=e,ne=C(z||B.value);M(B.value),O(ne),q&&(B.value!==ne||qp(te,y.value,y.value))&&q(Z,ne)},F=function(z,Z){let q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{picker:te,generateConfig:ne,onSelect:_,onChange:Y,disabledDate:re}=e;(B.value===te||q)&&(v(z),_&&_(z),u&&u(z,Z),Y&&!qp(ne,z,p.value)&&!(re!=null&&re(z))&&Y(z))},L=z=>m.value&&m.value.onKeydown?([ut.LEFT,ut.RIGHT,ut.UP,ut.DOWN,ut.PAGE_UP,ut.PAGE_DOWN,ut.ENTER].includes(z.which)&&z.preventDefault(),m.value.onKeydown(z)):!1,E=z=>{m.value&&m.value.onBlur&&m.value.onBlur(z)},H=()=>{const{generateConfig:z,hourStep:Z,minuteStep:q,secondStep:te}=e,ne=z.getNow(),_=Y1e(z.getHour(ne),z.getMinute(ne),z.getSecond(ne),i.value?Z:1,o.value?q:1,A.value?te:1),Y=UW(z,ne,_[0],_[1],_[2]);F(Y,"submit")},X=fe(()=>{const{prefixCls:z,direction:Z}=e;return Ze(`${z}-panel`,{[`${z}-panel-has-range`]:g&&g.value&&g.value[0]&&g.value[1],[`${z}-panel-has-range-hover`]:h&&h.value&&h.value[0]&&h.value[1],[`${z}-panel-rtl`]:Z==="rtl"})});return NO(V(V({},a),{mode:B,hideHeader:fe(()=>{var z;return e.hideHeader!==void 0?e.hideHeader:(z=a.hideHeader)===null||z===void 0?void 0:z.value}),hidePrevBtn:fe(()=>d.value&&f.value==="right"),hideNextBtn:fe(()=>d.value&&f.value==="left")})),st(()=>e.value,()=>{e.value&&b(e.value)}),()=>{const{prefixCls:z="ant-picker",locale:Z,generateConfig:q,disabledDate:te,picker:ne="date",tabindex:_=0,showNow:Y,showTime:re,showToday:se,renderExtraFooter:ce,onMousedown:N,onOk:K,components:Ae}=e;s&&f.value!=="right"&&(s.value={onKeydown:L,onClose:()=>{m.value&&m.value.onClose&&m.value.onClose()}});let ae;const ie=V(V(V({},n),e),{operationRef:m,prefixCls:z,viewDate:y.value,value:p.value,onViewDateChange:w,sourceMode:x.value,onPanelChange:R,disabledDate:te});switch(delete ie.onChange,delete ie.onSelect,B.value){case"decade":ae=$(kO,ye(ye({},ie),{},{onSelect:(pe,k)=>{w(pe),F(pe,k)}}),null);break;case"year":ae=$(nT,ye(ye({},ie),{},{onSelect:(pe,k)=>{w(pe),F(pe,k)}}),null);break;case"month":ae=$(XO,ye(ye({},ie),{},{onSelect:(pe,k)=>{w(pe),F(pe,k)}}),null);break;case"quarter":ae=$(ZO,ye(ye({},ie),{},{onSelect:(pe,k)=>{w(pe),F(pe,k)}}),null);break;case"week":ae=$(GO,ye(ye({},ie),{},{onSelect:(pe,k)=>{w(pe),F(pe,k)}}),null);break;case"time":delete ie.showTime,ae=$(KB,ye(ye(ye({},ie),typeof re=="object"?re:null),{},{onSelect:(pe,k)=>{w(pe),F(pe,k)}}),null);break;default:re?ae=$(zO,ye(ye({},ie),{},{onSelect:(pe,k)=>{w(pe),F(pe,k)}}),null):ae=$(Fv,ye(ye({},ie),{},{onSelect:(pe,k)=>{w(pe),F(pe,k)}}),null)}let J,ue;l!=null&&l.value||(J=KW(z,B.value,ce),ue=VW({prefixCls:z,components:Ae,needConfirmButton:r.value,okDisabled:!p.value||te&&te(p.value),locale:Z,showNow:Y,onNow:r.value&&H,onOk:()=>{p.value&&(F(p.value,"submit",!0),K&&K(p.value))}}));let G;if(se&&B.value==="date"&&ne==="date"&&!re){const pe=q.getNow(),k=`${z}-today-btn`,P=te&&te(pe);G=$("a",{class:Ze(k,P&&`${k}-disabled`),"aria-disabled":P,onClick:()=>{P||F(pe,"mouse",!0)}},[Z.today])}return $("div",{tabindex:_,class:Ze(X.value,n.class),style:n.style,onKeydown:L,onBlur:E,onMousedown:N},[ae,J||ue||G?$("div",{class:`${z}-footer`},[J,ue,G]):null])}}})}const bye=yye(),zW=e=>$(bye,e),wye={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function GW(e,t){let{slots:n}=t;const{prefixCls:r,popupStyle:i,visible:o,dropdownClassName:A,dropdownAlign:a,transitionName:s,getPopupContainer:u,range:l,popupPlacement:c,direction:d}=xi(e),f=`${r}-dropdown`;return $(yv,{showAction:[],hideAction:[],popupPlacement:c!==void 0?c:d==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:wye,prefixCls:f,popupTransitionName:s,popupAlign:a,popupVisible:o,popupClassName:Ze(A,{[`${f}-range`]:l,[`${f}-rtl`]:d==="rtl"}),popupStyle:i,getPopupContainer:u},{default:n.default,popup:n.popupElement})}const WW=Je({name:"PresetPanel",props:{prefixCls:String,presets:{type:Array,default:()=>[]},onClick:Function,onHover:Function},setup(e){return()=>e.presets.length?$("div",{class:`${e.prefixCls}-presets`},[$("ul",null,[e.presets.map((t,n)=>{let{label:r,value:i}=t;return $("li",{key:n,onClick:o=>{o.stopPropagation(),e.onClick(i)},onMouseenter:()=>{var o;(o=e.onHover)===null||o===void 0||o.call(e,i)},onMouseleave:()=>{var o;(o=e.onHover)===null||o===void 0||o.call(e,null)}},[r])})])]):null}});function sI(e){let{open:t,value:n,isClickOutside:r,triggerOpen:i,forwardKeydown:o,onKeydown:A,blurToCancel:a,onSubmit:s,onCancel:u,onFocus:l,onBlur:c}=e;const d=Me(!1),f=Me(!1),g=Me(!1),h=Me(!1),m=Me(!1),p=fe(()=>({onMousedown:()=>{d.value=!0,i(!0)},onKeydown:y=>{if(A(y,()=>{m.value=!0}),!m.value){switch(y.which){case ut.ENTER:{t.value?s()!==!1&&(d.value=!0):i(!0),y.preventDefault();return}case ut.TAB:{d.value&&t.value&&!y.shiftKey?(d.value=!1,y.preventDefault()):!d.value&&t.value&&!o(y)&&y.shiftKey&&(d.value=!0,y.preventDefault());return}case ut.ESC:{d.value=!0,u();return}}!t.value&&![ut.SHIFT].includes(y.which)?i(!0):d.value||o(y)}},onFocus:y=>{d.value=!0,f.value=!0,l&&l(y)},onBlur:y=>{if(g.value||!r(document.activeElement)){g.value=!1;return}a.value?setTimeout(()=>{let{activeElement:b}=document;for(;b&&b.shadowRoot;)b=b.shadowRoot.activeElement;r(b)&&u()},0):t.value&&(i(!1),h.value&&s()),f.value=!1,c&&c(y)}}));st(t,()=>{h.value=!1}),st(n,()=>{h.value=!0});const v=Me();return vn(()=>{v.value=eye(y=>{const b=tye(y);if(t.value){const w=r(b);w?(!f.value||w)&&i(!1):(g.value=!0,hn(()=>{g.value=!1}))}})}),En(()=>{v.value&&v.value()}),[p,{focused:f,typing:d}]}function lI(e){let{valueTexts:t,onTextChange:n}=e;const r=qe("");function i(A){r.value=A,n(A)}function o(){r.value=t.value[0]}return st(()=>[...t.value],function(A){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];A.join("||")!==a.join("||")&&t.value.every(s=>s!==r.value)&&o()},{immediate:!0}),[r,i,o]}function Ow(e,t){let{formatList:n,generateConfig:r,locale:i}=t;const o=pG(()=>{if(!e.value)return[[""],""];let s="";const u=[];for(let l=0;l<n.value.length;l+=1){const c=n.value[l],d=Eo(e.value,{generateConfig:r.value,locale:i.value,format:c});u.push(d),l===0&&(s=d)}return[u,s]},[e,n],(s,u)=>u[0]!==s[0]||!Op(u[1],s[1])),A=fe(()=>o.value[0]),a=fe(()=>o.value[1]);return[A,a]}function uI(e,t){let{formatList:n,generateConfig:r,locale:i}=t;const o=qe(null);let A;function a(c){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(hn.cancel(A),d){o.value=c;return}A=hn(()=>{o.value=c})}const[,s]=Ow(o,{formatList:n,generateConfig:r,locale:i});function u(c){a(c)}function l(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;a(null,c)}return st(e,()=>{l(!0)}),En(()=>{hn.cancel(A)}),[s,u,l]}function qW(e,t){return fe(()=>e!=null&&e.value?e.value:t!=null&&t.value?(D6(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.keys(t.value).map(r=>{const i=t.value[r],o=typeof i=="function"?i():i;return{label:r,value:o}})):[])}function Bye(){return Je({name:"Picker",inheritAttrs:!1,props:["prefixCls","id","tabindex","dropdownClassName","dropdownAlign","popupStyle","transitionName","generateConfig","locale","inputReadOnly","allowClear","autofocus","showTime","showNow","showHour","showMinute","showSecond","picker","format","use12Hours","value","defaultValue","open","defaultOpen","defaultOpenValue","suffixIcon","presets","clearIcon","disabled","disabledDate","placeholder","getPopupContainer","panelRender","inputRender","onChange","onOpenChange","onPanelChange","onFocus","onBlur","onMousedown","onMouseup","onMouseenter","onMouseleave","onContextmenu","onClick","onKeydown","onSelect","direction","autocomplete","showToday","renderExtraFooter","dateRender","minuteStep","hourStep","secondStep","hideDisabledOptions"],setup(e,t){let{attrs:n,expose:r}=t;const i=qe(null),o=fe(()=>e.presets),A=qW(o),a=fe(()=>{var te;return(te=e.picker)!==null&&te!==void 0?te:"date"}),s=fe(()=>a.value==="date"&&!!e.showTime||a.value==="time"),u=fe(()=>HW(QW(e.format,a.value,e.showTime,e.use12Hours))),l=qe(null),c=qe(null),d=qe(null),[f,g]=So(null,{value:fn(e,"value"),defaultValue:e.defaultValue}),h=qe(f.value),m=te=>{h.value=te},p=qe(null),[v,y]=So(!1,{value:fn(e,"open"),defaultValue:e.defaultOpen,postState:te=>e.disabled?!1:te,onChange:te=>{e.onOpenChange&&e.onOpenChange(te),!te&&p.value&&p.value.onClose&&p.value.onClose()}}),[b,w]=Ow(h,{formatList:u,generateConfig:fn(e,"generateConfig"),locale:fn(e,"locale")}),[C,B,O]=lI({valueTexts:b,onTextChange:te=>{const ne=$W(te,{locale:e.locale,formatList:u.value,generateConfig:e.generateConfig});ne&&(!e.disabledDate||!e.disabledDate(ne))&&m(ne)}}),x=te=>{const{onChange:ne,generateConfig:_,locale:Y}=e;m(te),g(te),ne&&!qp(_,f.value,te)&&ne(te,te?Eo(te,{generateConfig:_,locale:Y,format:u.value[0]}):"")},M=te=>{e.disabled&&te||y(te)},R=te=>v.value&&p.value&&p.value.onKeydown?p.value.onKeydown(te):!1,F=function(){e.onMouseup&&e.onMouseup(...arguments),i.value&&(i.value.focus(),M(!0))},[L,{focused:E,typing:H}]=sI({blurToCancel:s,open:v,value:C,triggerOpen:M,forwardKeydown:R,isClickOutside:te=>!LW([l.value,c.value,d.value],te),onSubmit:()=>!h.value||e.disabledDate&&e.disabledDate(h.value)?!1:(x(h.value),M(!1),O(),!0),onCancel:()=>{M(!1),m(f.value),O()},onKeydown:(te,ne)=>{var _;(_=e.onKeydown)===null||_===void 0||_.call(e,te,ne)},onFocus:te=>{var ne;(ne=e.onFocus)===null||ne===void 0||ne.call(e,te)},onBlur:te=>{var ne;(ne=e.onBlur)===null||ne===void 0||ne.call(e,te)}});st([v,b],()=>{v.value||(m(f.value),!b.value.length||b.value[0]===""?B(""):w.value!==C.value&&O())}),st(a,()=>{v.value||O()}),st(f,()=>{m(f.value)});const[X,z,Z]=uI(C,{formatList:u,generateConfig:fn(e,"generateConfig"),locale:fn(e,"locale")}),q=(te,ne)=>{(ne==="submit"||ne!=="key"&&!s.value)&&(x(te),M(!1))};return NO({operationRef:p,hideHeader:fe(()=>a.value==="time"),onSelect:q,open:v,defaultOpenValue:fn(e,"defaultOpenValue"),onDateMouseenter:z,onDateMouseleave:Z}),r({focus:()=>{i.value&&i.value.focus()},blur:()=>{i.value&&i.value.blur()}}),()=>{const{prefixCls:te="rc-picker",id:ne,tabindex:_,dropdownClassName:Y,dropdownAlign:re,popupStyle:se,transitionName:ce,generateConfig:N,locale:K,inputReadOnly:Ae,allowClear:ae,autofocus:ie,picker:J="date",defaultOpenValue:ue,suffixIcon:G,clearIcon:pe,disabled:k,placeholder:P,getPopupContainer:U,panelRender:W,onMousedown:de,onMouseenter:me,onMouseleave:ve,onContextmenu:be,onClick:Te,onSelect:we,direction:xe,autocomplete:Ue="off"}=e,ke=V(V(V({},e),n),{class:Ze({[`${te}-panel-focused`]:!H.value}),style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null});let et=$("div",{class:`${te}-panel-layout`},[$(WW,{prefixCls:te,presets:A.value,onClick:nt=>{x(nt),M(!1)}},null),$(zW,ye(ye({},ke),{},{generateConfig:N,value:h.value,locale:K,tabindex:-1,onSelect:nt=>{we==null||we(nt),m(nt)},direction:xe,onPanelChange:(nt,Bt)=>{const{onPanelChange:Et}=e;Z(!0),Et==null||Et(nt,Bt)}}),null)]);W&&(et=W(et));const De=$("div",{class:`${te}-panel-container`,ref:l,onMousedown:nt=>{nt.preventDefault()}},[et]);let _e;G&&(_e=$("span",{class:`${te}-suffix`},[G]));let Re;ae&&f.value&&!k&&(Re=$("span",{onMousedown:nt=>{nt.preventDefault(),nt.stopPropagation()},onMouseup:nt=>{nt.preventDefault(),nt.stopPropagation(),x(null),M(!1)},class:`${te}-clear`,role:"button"},[pe||$("span",{class:`${te}-clear-btn`},null)]));const Ne=V(V(V(V({id:ne,tabindex:_,disabled:k,readonly:Ae||typeof u.value[0]=="function"||!H.value,value:X.value||C.value,onInput:nt=>{B(nt.target.value)},autofocus:ie,placeholder:P,ref:i,title:C.value},L.value),{size:PW(J,u.value[0],N)}),MW(e)),{autocomplete:Ue}),ot=e.inputRender?e.inputRender(Ne):$("input",Ne,null),rt=xe==="rtl"?"bottomRight":"bottomLeft";return $("div",{ref:d,class:Ze(te,n.class,{[`${te}-disabled`]:k,[`${te}-focused`]:E.value,[`${te}-rtl`]:xe==="rtl"}),style:n.style,onMousedown:de,onMouseup:F,onMouseenter:me,onMouseleave:ve,onContextmenu:be,onClick:Te},[$("div",{class:Ze(`${te}-input`,{[`${te}-input-placeholder`]:!!X.value}),ref:c},[ot,_e,Re]),$(GW,{visible:v.value,popupStyle:se,prefixCls:te,dropdownClassName:Y,dropdownAlign:re,getPopupContainer:U,transitionName:ce,popupPlacement:rt,direction:xe},{default:()=>[$("div",{style:{pointerEvents:"none",position:"absolute",top:0,bottom:0,left:0,right:0}},null)],popupElement:()=>De})])}}})}const Cye=Bye();function xye(e,t){let{picker:n,locale:r,selectedValue:i,disabledDate:o,disabled:A,generateConfig:a}=e;const s=fe(()=>Jn(i.value,0)),u=fe(()=>Jn(i.value,1));function l(h){return a.value.locale.getWeekFirstDate(r.value.locale,h)}function c(h){const m=a.value.getYear(h),p=a.value.getMonth(h);return m*100+p}function d(h){const m=a.value.getYear(h),p=oI(a.value,h);return m*10+p}return[h=>{var m;if(o&&(!((m=o==null?void 0:o.value)===null||m===void 0)&&m.call(o,h)))return!0;if(A[1]&&u)return!Uu(a.value,h,u.value)&&a.value.isAfter(h,u.value);if(t.value[1]&&u.value)switch(n.value){case"quarter":return d(h)>d(u.value);case"month":return c(h)>c(u.value);case"week":return l(h)>l(u.value);default:return!Uu(a.value,h,u.value)&&a.value.isAfter(h,u.value)}return!1},h=>{var m;if(!((m=o.value)===null||m===void 0)&&m.call(o,h))return!0;if(A[0]&&s)return!Uu(a.value,h,u.value)&&a.value.isAfter(s.value,h);if(t.value[0]&&s.value)switch(n.value){case"quarter":return d(h)<d(s.value);case"month":return c(h)<c(s.value);case"week":return l(h)<l(s.value);default:return!Uu(a.value,h,s.value)&&a.value.isAfter(s.value,h)}return!1}]}function Sye(e,t,n,r){const i=dm(e,n,r,1);function o(A){return A(e,t)?"same":A(i,t)?"closing":"far"}switch(n){case"year":return o((A,a)=>aye(r,A,a));case"quarter":case"month":return o((A,a)=>jB(r,A,a));default:return o((A,a)=>jO(r,A,a))}}function Eye(e,t,n,r){const i=Jn(e,0),o=Jn(e,1);if(t===0)return i;if(i&&o)switch(Sye(i,o,n,r)){case"same":return i;case"closing":return i;default:return dm(o,n,r,-1)}return i}function Fye(e){let{values:t,picker:n,defaultDates:r,generateConfig:i}=e;const o=qe([Jn(r,0),Jn(r,1)]),A=qe(null),a=fe(()=>Jn(t.value,0)),s=fe(()=>Jn(t.value,1)),u=f=>o.value[f]?o.value[f]:Jn(A.value,f)||Eye(t.value,f,n.value,i.value)||a.value||s.value||i.value.getNow(),l=qe(null),c=qe(null);ln(()=>{l.value=u(0),c.value=u(1)});function d(f,g){if(f){let h=Ta(A.value,f,g);o.value=Ta(o.value,null,g)||[null,null];const m=(g+1)%2;Jn(t.value,m)||(h=Ta(h,f,m)),A.value=h}else(a.value||s.value)&&(A.value=null)}return[l,c,d]}function Iye(e){return tK()?(xre(e),!0):!1}function _ye(e){return typeof e=="function"?e():ni(e)}function XW(e){var t;const n=_ye(e);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function Oye(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;tA()?vn(e):t?e():$n(e)}function Tye(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=Me(),r=()=>n.value=!!e();return r(),Oye(r,t),n}var Sx;const YW=typeof window<"u";YW&&(!((Sx=window==null?void 0:window.navigator)===null||Sx===void 0)&&Sx.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);const Uye=YW?window:void 0;var Qye=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function Pye(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{window:r=Uye}=n,i=Qye(n,["window"]);let o;const A=Tye(()=>r&&"ResizeObserver"in r),a=()=>{o&&(o.disconnect(),o=void 0)},s=st(()=>XW(e),l=>{a(),A.value&&r&&l&&(o=new ResizeObserver(t),o.observe(l,i))},{immediate:!0,flush:"post"}),u=()=>{a(),s()};return Iye(u),{isSupported:A,stop:u}}function S0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{width:0,height:0},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{box:r="content-box"}=n,i=Me(t.width),o=Me(t.height);return Pye(e,A=>{let[a]=A;const s=r==="border-box"?a.borderBoxSize:r==="content-box"?a.contentBoxSize:a.devicePixelContentBoxSize;s?(i.value=s.reduce((u,l)=>{let{inlineSize:c}=l;return u+c},0),o.value=s.reduce((u,l)=>{let{blockSize:c}=l;return u+c},0)):(i.value=a.contentRect.width,o.value=a.contentRect.height)},n),st(()=>XW(e),A=>{i.value=A?t.width:0,o.value=A?t.height:0}),{width:i,height:o}}function lD(e,t){return e&&e[0]&&e[1]&&t.isAfter(e[0],e[1])?[e[1],e[0]]:e}function uD(e,t,n,r){return!!(e||r&&r[t]||n[(t+1)%2])}function Lye(){return Je({name:"RangerPicker",inheritAttrs:!1,props:["prefixCls","id","popupStyle","dropdownClassName","transitionName","dropdownAlign","getPopupContainer","generateConfig","locale","placeholder","autofocus","disabled","format","picker","showTime","showNow","showHour","showMinute","showSecond","use12Hours","separator","value","defaultValue","defaultPickerValue","open","defaultOpen","disabledDate","disabledTime","dateRender","panelRender","ranges","allowEmpty","allowClear","suffixIcon","clearIcon","pickerRef","inputReadOnly","mode","renderExtraFooter","onChange","onOpenChange","onPanelChange","onCalendarChange","onFocus","onBlur","onMousedown","onMouseup","onMouseenter","onMouseleave","onClick","onOk","onKeydown","components","order","direction","activePickerIndex","autocomplete","minuteStep","hourStep","secondStep","hideDisabledOptions","disabledMinutes","presets","prevIcon","nextIcon","superPrevIcon","superNextIcon"],setup(e,t){let{attrs:n,expose:r}=t;const i=fe(()=>e.picker==="date"&&!!e.showTime||e.picker==="time"),o=fe(()=>e.presets),A=fe(()=>e.ranges),a=qW(o,A),s=qe({}),u=qe(null),l=qe(null),c=qe(null),d=qe(null),f=qe(null),g=qe(null),h=qe(null),m=qe(null),p=fe(()=>HW(QW(e.format,e.picker,e.showTime,e.use12Hours))),[v,y]=So(0,{value:fn(e,"activePickerIndex")}),b=qe(null),w=fe(()=>{const{disabled:mt}=e;return Array.isArray(mt)?mt:[mt||!1,mt||!1]}),[C,B]=So(null,{value:fn(e,"value"),defaultValue:e.defaultValue,postState:mt=>e.picker==="time"&&!e.order?mt:lD(mt,e.generateConfig)}),[O,x,M]=Fye({values:C,picker:fn(e,"picker"),defaultDates:e.defaultPickerValue,generateConfig:fn(e,"generateConfig")}),[R,F]=So(C.value,{postState:mt=>{let vt=mt;if(w.value[0]&&w.value[1])return vt;for(let It=0;It<2;It+=1)w.value[It]&&!Jn(vt,It)&&!Jn(e.allowEmpty,It)&&(vt=Ta(vt,e.generateConfig.getNow(),It));return vt}}),[L,E]=So([e.picker,e.picker],{value:fn(e,"mode")});st(()=>e.picker,()=>{E([e.picker,e.picker])});const H=(mt,vt)=>{var It;E(mt),(It=e.onPanelChange)===null||It===void 0||It.call(e,vt,mt)},[X,z]=xye({picker:fn(e,"picker"),selectedValue:R,locale:fn(e,"locale"),disabled:w,disabledDate:fn(e,"disabledDate"),generateConfig:fn(e,"generateConfig")},s),[Z,q]=So(!1,{value:fn(e,"open"),defaultValue:e.defaultOpen,postState:mt=>w.value[v.value]?!1:mt,onChange:mt=>{var vt;(vt=e.onOpenChange)===null||vt===void 0||vt.call(e,mt),!mt&&b.value&&b.value.onClose&&b.value.onClose()}}),te=fe(()=>Z.value&&v.value===0),ne=fe(()=>Z.value&&v.value===1),_=qe(0),Y=qe(0),re=qe(0),{width:se}=S0(u);st([Z,se],()=>{!Z.value&&u.value&&(re.value=se.value)});const{width:ce}=S0(l),{width:N}=S0(m),{width:K}=S0(c),{width:Ae}=S0(f);st([v,Z,ce,N,K,Ae,()=>e.direction],()=>{Y.value=0,v.value?c.value&&f.value&&(Y.value=K.value+Ae.value,ce.value&&N.value&&Y.value>ce.value-N.value-(e.direction==="rtl"||m.value.offsetLeft>Y.value?0:m.value.offsetLeft)&&(_.value=Y.value)):v.value===0&&(_.value=0)},{immediate:!0});const ae=qe();function ie(mt,vt){if(mt)clearTimeout(ae.value),s.value[vt]=!0,y(vt),q(mt),Z.value||M(null,vt);else if(v.value===vt){q(mt);const It=s.value;ae.value=setTimeout(()=>{It===s.value&&(s.value={})})}}function J(mt){ie(!0,mt),setTimeout(()=>{const vt=[g,h][mt];vt.value&&vt.value.focus()},0)}function ue(mt,vt){let It=mt,an=Jn(It,0),Mn=Jn(It,1);const{generateConfig:Kn,locale:Ar,picker:Gn,order:er,onCalendarChange:yr,allowEmpty:br,onChange:Dn,showTime:Kr}=e;an&&Mn&&Kn.isAfter(an,Mn)&&(Gn==="week"&&!RW(Kn,Ar.locale,an,Mn)||Gn==="quarter"&&!DW(Kn,an,Mn)||Gn!=="week"&&Gn!=="quarter"&&Gn!=="time"&&!(Kr?qp(Kn,an,Mn):Uu(Kn,an,Mn))?(vt===0?(It=[an,null],Mn=null):(an=null,It=[null,Mn]),s.value={[vt]:!0}):(Gn!=="time"||er!==!1)&&(It=lD(It,Kn))),F(It);const ii=It&&It[0]?Eo(It[0],{generateConfig:Kn,locale:Ar,format:p.value[0]}):"",Ht=It&&It[1]?Eo(It[1],{generateConfig:Kn,locale:Ar,format:p.value[0]}):"";yr&&yr(It,[ii,Ht],{range:vt===0?"start":"end"});const je=uD(an,0,w.value,br),wt=uD(Mn,1,w.value,br);(It===null||je&&wt)&&(B(It),Dn&&(!qp(Kn,Jn(C.value,0),an)||!qp(Kn,Jn(C.value,1),Mn))&&Dn(It,[ii,Ht]));let bn=null;vt===0&&!w.value[1]?bn=1:vt===1&&!w.value[0]&&(bn=0),bn!==null&&bn!==v.value&&(!s.value[bn]||!Jn(It,bn))&&Jn(It,vt)?J(bn):ie(!1,vt)}const G=mt=>Z&&b.value&&b.value.onKeydown?b.value.onKeydown(mt):!1,pe={formatList:p,generateConfig:fn(e,"generateConfig"),locale:fn(e,"locale")},[k,P]=Ow(fe(()=>Jn(R.value,0)),pe),[U,W]=Ow(fe(()=>Jn(R.value,1)),pe),de=(mt,vt)=>{const It=$W(mt,{locale:e.locale,formatList:p.value,generateConfig:e.generateConfig});It&&!(vt===0?X:z)(It)&&(F(Ta(R.value,It,vt)),M(It,vt))},[me,ve,be]=lI({valueTexts:k,onTextChange:mt=>de(mt,0)}),[Te,we,xe]=lI({valueTexts:U,onTextChange:mt=>de(mt,1)}),[Ue,ke]=ir(null),[et,De]=ir(null),[_e,Re,Ne]=uI(me,pe),[ot,rt,nt]=uI(Te,pe),Bt=mt=>{De(Ta(R.value,mt,v.value)),v.value===0?Re(mt):rt(mt)},Et=()=>{De(Ta(R.value,null,v.value)),v.value===0?Ne():nt()},Xt=(mt,vt)=>({forwardKeydown:G,onBlur:It=>{var an;(an=e.onBlur)===null||an===void 0||an.call(e,It)},isClickOutside:It=>!LW([l.value,c.value,d.value,u.value],It),onFocus:It=>{var an;y(mt),(an=e.onFocus)===null||an===void 0||an.call(e,It)},triggerOpen:It=>{ie(It,mt)},onSubmit:()=>{if(!R.value||e.disabledDate&&e.disabledDate(R.value[mt]))return!1;ue(R.value,mt),vt()},onCancel:()=>{ie(!1,mt),F(C.value),vt()}}),[Ut,{focused:$t,typing:xt}]=sI(V(V({},Xt(0,be)),{blurToCancel:i,open:te,value:me,onKeydown:(mt,vt)=>{var It;(It=e.onKeydown)===null||It===void 0||It.call(e,mt,vt)}})),[Ct,{focused:ht,typing:Tt}]=sI(V(V({},Xt(1,xe)),{blurToCancel:i,open:ne,value:Te,onKeydown:(mt,vt)=>{var It;(It=e.onKeydown)===null||It===void 0||It.call(e,mt,vt)}})),Yt=mt=>{var vt;(vt=e.onClick)===null||vt===void 0||vt.call(e,mt),!Z.value&&!g.value.contains(mt.target)&&!h.value.contains(mt.target)&&(w.value[0]?w.value[1]||J(1):J(0))},nn=mt=>{var vt;(vt=e.onMousedown)===null||vt===void 0||vt.call(e,mt),Z.value&&($t.value||ht.value)&&!g.value.contains(mt.target)&&!h.value.contains(mt.target)&&mt.preventDefault()},zn=fe(()=>{var mt;return!((mt=C.value)===null||mt===void 0)&&mt[0]?Eo(C.value[0],{locale:e.locale,format:"YYYYMMDDHHmmss",generateConfig:e.generateConfig}):""}),ur=fe(()=>{var mt;return!((mt=C.value)===null||mt===void 0)&&mt[1]?Eo(C.value[1],{locale:e.locale,format:"YYYYMMDDHHmmss",generateConfig:e.generateConfig}):""});st([Z,k,U],()=>{Z.value||(F(C.value),!k.value.length||k.value[0]===""?ve(""):P.value!==me.value&&be(),!U.value.length||U.value[0]===""?we(""):W.value!==Te.value&&xe())}),st([zn,ur],()=>{F(C.value)}),r({focus:()=>{g.value&&g.value.focus()},blur:()=>{g.value&&g.value.blur(),h.value&&h.value.blur()}});const Mt=fe(()=>Z.value&&et.value&&et.value[0]&&et.value[1]&&e.generateConfig.isAfter(et.value[1],et.value[0])?et.value:null);function vr(){let mt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{generateConfig:It,showTime:an,dateRender:Mn,direction:Kn,disabledTime:Ar,prefixCls:Gn,locale:er}=e;let yr=an;if(an&&typeof an=="object"&&an.defaultValue){const Dn=an.defaultValue;yr=V(V({},an),{defaultValue:Jn(Dn,v.value)||void 0})}let br=null;return Mn&&(br=Dn=>{let{current:Kr,today:ii}=Dn;return Mn({current:Kr,today:ii,info:{range:v.value?"end":"start"}})}),$(hye,{value:{inRange:!0,panelPosition:mt,rangedValue:Ue.value||R.value,hoverRangedValue:Mt.value}},{default:()=>[$(zW,ye(ye(ye({},e),vt),{},{dateRender:br,showTime:yr,mode:L.value[v.value],generateConfig:It,style:void 0,direction:Kn,disabledDate:v.value===0?X:z,disabledTime:Dn=>Ar?Ar(Dn,v.value===0?"start":"end"):!1,class:Ze({[`${Gn}-panel-focused`]:v.value===0?!xt.value:!Tt.value}),value:Jn(R.value,v.value),locale:er,tabIndex:-1,onPanelChange:(Dn,Kr)=>{v.value===0&&Ne(!0),v.value===1&&nt(!0),H(Ta(L.value,Kr,v.value),Ta(R.value,Dn,v.value));let ii=Dn;mt==="right"&&L.value[v.value]===Kr&&(ii=dm(ii,Kr,It,-1)),M(ii,v.value)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:v.value===0?Jn(R.value,1):Jn(R.value,0)}),null)]})}const Yr=(mt,vt)=>{const It=Ta(R.value,mt,v.value);vt==="submit"||vt!=="key"&&!i.value?(ue(It,v.value),v.value===0?Ne():nt()):F(It)};return NO({operationRef:b,hideHeader:fe(()=>e.picker==="time"),onDateMouseenter:Bt,onDateMouseleave:Et,hideRanges:fe(()=>!0),onSelect:Yr,open:Z}),()=>{const{prefixCls:mt="rc-picker",id:vt,popupStyle:It,dropdownClassName:an,transitionName:Mn,dropdownAlign:Kn,getPopupContainer:Ar,generateConfig:Gn,locale:er,placeholder:yr,autofocus:br,picker:Dn="date",showTime:Kr,separator:ii="~",disabledDate:Ht,panelRender:je,allowClear:wt,suffixIcon:Pt,clearIcon:bn,inputReadOnly:oi,renderExtraFooter:hr,onMouseenter:Hr,onMouseleave:io,onMouseup:wr,onOk:Qo,components:qa,direction:ga,autocomplete:BA="off"}=e,Xa=ga==="rtl"?{right:`${Y.value}px`}:{left:`${Y.value}px`};function Jr(){let pr;const Po=KW(mt,L.value[v.value],hr),ql=VW({prefixCls:mt,components:qa,needConfirmButton:i.value,okDisabled:!Jn(R.value,v.value)||Ht&&Ht(R.value[v.value]),locale:er,onOk:()=>{Jn(R.value,v.value)&&(ue(R.value,v.value),Qo&&Qo(R.value))}});if(Dn!=="time"&&!Kr){const nA=v.value===0?O.value:x.value,Of=dm(nA,Dn,Gn),Yl=L.value[v.value]===Dn,zA=vr(Yl?"left":!1,{pickerValue:nA,onPickerValueChange:Ms=>{M(Ms,v.value)}}),oc=vr("right",{pickerValue:Of,onPickerValueChange:Ms=>{M(dm(Ms,Dn,Gn,-1),v.value)}});ga==="rtl"?pr=$(mn,null,[oc,Yl&&zA]):pr=$(mn,null,[zA,Yl&&oc])}else pr=vr();let Xl=$("div",{class:`${mt}-panel-layout`},[$(WW,{prefixCls:mt,presets:a.value,onClick:nA=>{ue(nA,null),ie(!1,v.value)},onHover:nA=>{ke(nA)}},null),$("div",null,[$("div",{class:`${mt}-panels`},[pr]),(Po||ql)&&$("div",{class:`${mt}-footer`},[Po,ql])])]);return je&&(Xl=je(Xl)),$("div",{class:`${mt}-panel-container`,style:{marginLeft:`${_.value}px`},ref:l,onMousedown:nA=>{nA.preventDefault()}},[Xl])}const ic=$("div",{class:Ze(`${mt}-range-wrapper`,`${mt}-${Dn}-range-wrapper`),style:{minWidth:`${re.value}px`}},[$("div",{ref:m,class:`${mt}-range-arrow`,style:Xa},null),Jr()]);let Wl;Pt&&(Wl=$("span",{class:`${mt}-suffix`},[Pt]));let ma;wt&&(Jn(C.value,0)&&!w.value[0]||Jn(C.value,1)&&!w.value[1])&&(ma=$("span",{onMousedown:pr=>{pr.preventDefault(),pr.stopPropagation()},onMouseup:pr=>{pr.preventDefault(),pr.stopPropagation();let Po=C.value;w.value[0]||(Po=Ta(Po,null,0)),w.value[1]||(Po=Ta(Po,null,1)),ue(Po,null),ie(!1,v.value)},class:`${mt}-clear`},[bn||$("span",{class:`${mt}-clear-btn`},null)]));const KA={size:PW(Dn,p.value[0],Gn)};let VA=0,go=0;c.value&&d.value&&f.value&&(v.value===0?go=c.value.offsetWidth:(VA=Y.value,go=d.value.offsetWidth));const ci=ga==="rtl"?{right:`${VA}px`}:{left:`${VA}px`};return $("div",ye({ref:u,class:Ze(mt,`${mt}-range`,n.class,{[`${mt}-disabled`]:w.value[0]&&w.value[1],[`${mt}-focused`]:v.value===0?$t.value:ht.value,[`${mt}-rtl`]:ga==="rtl"}),style:n.style,onClick:Yt,onMouseenter:Hr,onMouseleave:io,onMousedown:nn,onMouseup:wr},MW(e)),[$("div",{class:Ze(`${mt}-input`,{[`${mt}-input-active`]:v.value===0,[`${mt}-input-placeholder`]:!!_e.value}),ref:c},[$("input",ye(ye(ye({id:vt,disabled:w.value[0],readonly:oi||typeof p.value[0]=="function"||!xt.value,value:_e.value||me.value,onInput:pr=>{ve(pr.target.value)},autofocus:br,placeholder:Jn(yr,0)||"",ref:g},Ut.value),KA),{},{autocomplete:BA}),null)]),$("div",{class:`${mt}-range-separator`,ref:f},[ii]),$("div",{class:Ze(`${mt}-input`,{[`${mt}-input-active`]:v.value===1,[`${mt}-input-placeholder`]:!!ot.value}),ref:d},[$("input",ye(ye(ye({disabled:w.value[1],readonly:oi||typeof p.value[0]=="function"||!Tt.value,value:ot.value||Te.value,onInput:pr=>{we(pr.target.value)},placeholder:Jn(yr,1)||"",ref:h},Ct.value),KA),{},{autocomplete:BA}),null)]),$("div",{class:`${mt}-active-bar`,style:V(V({},ci),{width:`${go}px`,position:"absolute"})},null),Wl,ma,$(GW,{visible:Z.value,popupStyle:It,prefixCls:mt,dropdownClassName:an,dropdownAlign:Kn,getPopupContainer:Ar,transitionName:Mn,range:!0,direction:ga},{default:()=>[$("div",{style:{pointerEvents:"none",position:"absolute",top:0,bottom:0,left:0,right:0}},null)],popupElement:()=>ic})])}}})}const Dye=Lye();var Rye=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const $ye={prefixCls:String,name:String,id:String,type:String,defaultChecked:{type:[Boolean,Number],default:void 0},checked:{type:[Boolean,Number],default:void 0},disabled:Boolean,tabindex:{type:[Number,String]},readonly:Boolean,autofocus:Boolean,value:He.any,required:Boolean},JW=Je({compatConfig:{MODE:3},name:"Checkbox",inheritAttrs:!1,props:lr($ye,{prefixCls:"rc-checkbox",type:"checkbox",defaultChecked:!1}),emits:["click","change"],setup(e,t){let{attrs:n,emit:r,expose:i}=t;const o=qe(e.checked===void 0?e.defaultChecked:e.checked),A=qe();st(()=>e.checked,()=>{o.value=e.checked}),i({focus(){var l;(l=A.value)===null||l===void 0||l.focus()},blur(){var l;(l=A.value)===null||l===void 0||l.blur()}});const a=qe(),s=l=>{if(e.disabled)return;e.checked===void 0&&(o.value=l.target.checked),l.shiftKey=a.value;const c={target:V(V({},e),{checked:l.target.checked}),stopPropagation(){l.stopPropagation()},preventDefault(){l.preventDefault()},nativeEvent:l};e.checked!==void 0&&(A.value.checked=!!e.checked),r("change",c),a.value=!1},u=l=>{r("click",l),a.value=l.shiftKey};return()=>{const{prefixCls:l,name:c,id:d,type:f,disabled:g,readonly:h,tabindex:m,autofocus:p,value:v,required:y}=e,b=Rye(e,["prefixCls","name","id","type","disabled","readonly","tabindex","autofocus","value","required"]),{class:w,onFocus:C,onBlur:B,onKeydown:O,onKeypress:x,onKeyup:M}=n,R=V(V({},b),n),F=Object.keys(R).reduce((H,X)=>((X.startsWith("data-")||X.startsWith("aria-")||X==="role")&&(H[X]=R[X]),H),{}),L=Ze(l,w,{[`${l}-checked`]:o.value,[`${l}-disabled`]:g}),E=V(V({name:c,id:d,type:f,readonly:h,disabled:g,tabindex:m,class:`${l}-input`,checked:!!o.value,autofocus:p,value:v},F),{onChange:s,onClick:u,onFocus:C,onBlur:B,onKeydown:O,onKeypress:x,onKeyup:M,required:y});return $("span",{class:L},[$("input",ye({ref:A},E),null),$("span",{class:`${l}-inner`},null)])}}}),ZW=Symbol("radioGroupContextKey"),Nye=e=>{dn(ZW,e)},Hye=()=>tn(ZW,void 0),eq=Symbol("radioOptionTypeContextKey"),Mye=e=>{dn(eq,e)},kye=()=>tn(eq,void 0),jye=new Un("antRadioEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),Kye=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:V(V({},qn(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},Vye=e=>{const{componentCls:t,radioWrapperMarginRight:n,radioCheckedColor:r,radioSize:i,motionDurationSlow:o,motionDurationMid:A,motionEaseInOut:a,motionEaseInOutCirc:s,radioButtonBg:u,colorBorder:l,lineWidth:c,radioDotSize:d,colorBgContainerDisabled:f,colorTextDisabled:g,paddingXS:h,radioDotDisabledColor:m,lineType:p,radioDotDisabledSize:v,wireframe:y,colorWhite:b}=e,w=`${t}-inner`;return{[`${t}-wrapper`]:V(V({},qn(e)),{position:"relative",display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${c}px ${p} ${r}`,borderRadius:"50%",visibility:"hidden",animationName:jye,animationDuration:o,animationTimingFunction:a,animationFillMode:"both",content:'""'},[t]:V(V({},qn(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center"}),[`${t}-wrapper:hover &,
- &:hover ${w}`]:{borderColor:r},[`${t}-input:focus-visible + ${w}`]:V({},Ku(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:i,height:i,marginBlockStart:i/-2,marginInlineStart:i/-2,backgroundColor:y?r:b,borderBlockStart:0,borderInlineStart:0,borderRadius:i,transform:"scale(0)",opacity:0,transition:`all ${o} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:i,height:i,backgroundColor:u,borderColor:l,borderStyle:"solid",borderWidth:c,borderRadius:"50%",transition:`all ${A}`},[`${t}-input`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,insetBlockEnd:0,insetInlineStart:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[w]:{borderColor:r,backgroundColor:y?u:r,"&::after":{transform:`scale(${d/i})`,opacity:1,transition:`all ${o} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[w]:{backgroundColor:f,borderColor:l,cursor:"not-allowed","&::after":{backgroundColor:m}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:g,cursor:"not-allowed"},[`&${t}-checked`]:{[w]:{"&::after":{transform:`scale(${v/i})`}}}},[`span${t} + *`]:{paddingInlineStart:h,paddingInlineEnd:h}})}},zye=e=>{const{radioButtonColor:t,controlHeight:n,componentCls:r,lineWidth:i,lineType:o,colorBorder:A,motionDurationSlow:a,motionDurationMid:s,radioButtonPaddingHorizontal:u,fontSize:l,radioButtonBg:c,fontSizeLG:d,controlHeightLG:f,controlHeightSM:g,paddingXS:h,borderRadius:m,borderRadiusSM:p,borderRadiusLG:v,radioCheckedColor:y,radioButtonCheckedBg:b,radioButtonHoverColor:w,radioButtonActiveColor:C,radioSolidCheckedColor:B,colorTextDisabled:O,colorBgContainerDisabled:x,radioDisabledButtonCheckedColor:M,radioDisabledButtonCheckedBg:R}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:u,paddingBlock:0,color:t,fontSize:l,lineHeight:`${n-i*2}px`,background:c,border:`${i}px ${o} ${A}`,borderBlockStartWidth:i+.02,borderInlineStartWidth:0,borderInlineEndWidth:i,cursor:"pointer",transition:[`color ${s}`,`background ${s}`,`border-color ${s}`,`box-shadow ${s}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-i,insetInlineStart:-i,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:i,paddingInline:0,backgroundColor:A,transition:`background-color ${a}`,content:'""'}},"&:first-child":{borderInlineStart:`${i}px ${o} ${A}`,borderStartStartRadius:m,borderEndStartRadius:m},"&:last-child":{borderStartEndRadius:m,borderEndEndRadius:m},"&:first-child:last-child":{borderRadius:m},[`${r}-group-large &`]:{height:f,fontSize:d,lineHeight:`${f-i*2}px`,"&:first-child":{borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v}},[`${r}-group-small &`]:{height:g,paddingInline:h-i,paddingBlock:0,lineHeight:`${g-i*2}px`,"&:first-child":{borderStartStartRadius:p,borderEndStartRadius:p},"&:last-child":{borderStartEndRadius:p,borderEndEndRadius:p}},"&:hover":{position:"relative",color:y},"&:has(:focus-visible)":V({},Ku(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:y,background:b,borderColor:y,"&::before":{backgroundColor:y},"&:first-child":{borderColor:y},"&:hover":{color:w,borderColor:w,"&::before":{backgroundColor:w}},"&:active":{color:C,borderColor:C,"&::before":{backgroundColor:C}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:B,background:y,borderColor:y,"&:hover":{color:B,background:w,borderColor:w},"&:active":{color:B,background:C,borderColor:C}},"&-disabled":{color:O,backgroundColor:x,borderColor:A,cursor:"not-allowed","&:first-child, &:hover":{color:O,backgroundColor:x,borderColor:A}},[`&-disabled${r}-button-wrapper-checked`]:{color:M,backgroundColor:R,borderColor:A,boxShadow:"none"}}}},tq=or("Radio",e=>{const{padding:t,lineWidth:n,controlItemBgActiveDisabled:r,colorTextDisabled:i,colorBgContainer:o,fontSizeLG:A,controlOutline:a,colorPrimaryHover:s,colorPrimaryActive:u,colorText:l,colorPrimary:c,marginXS:d,controlOutlineWidth:f,colorTextLightSolid:g,wireframe:h}=e,m=`0 0 0 ${f}px ${a}`,p=m,v=A,y=4,b=v-y*2,w=h?b:v-(y+n)*2,C=c,B=l,O=s,x=u,M=t-n,L=_n(e,{radioFocusShadow:m,radioButtonFocusShadow:p,radioSize:v,radioDotSize:w,radioDotDisabledSize:b,radioCheckedColor:C,radioDotDisabledColor:i,radioSolidCheckedColor:g,radioButtonBg:o,radioButtonCheckedBg:o,radioButtonColor:B,radioButtonHoverColor:O,radioButtonActiveColor:x,radioButtonPaddingHorizontal:M,radioDisabledButtonCheckedBg:r,radioDisabledButtonCheckedColor:i,radioWrapperMarginRight:d});return[Kye(L),Vye(L),zye(L)]});var Gye=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const nq=()=>({prefixCls:String,checked:Qt(),disabled:Qt(),isGroup:Qt(),value:He.any,name:String,id:String,autofocus:Qt(),onChange:lt(),onFocus:lt(),onBlur:lt(),onClick:lt(),"onUpdate:checked":lt(),"onUpdate:value":lt()}),UA=Je({compatConfig:{MODE:3},name:"ARadio",inheritAttrs:!1,props:nq(),setup(e,t){let{emit:n,expose:r,slots:i,attrs:o}=t;const A=NA(),a=ha.useInject(),s=kye(),u=Hye(),l=xs(),c=fe(()=>{var O;return(O=h.value)!==null&&O!==void 0?O:l.value}),d=qe(),{prefixCls:f,direction:g,disabled:h}=An("radio",e),m=fe(()=>(u==null?void 0:u.optionType.value)==="button"||s==="button"?`${f.value}-button`:f.value),p=xs(),[v,y]=tq(f);r({focus:()=>{d.value.focus()},blur:()=>{d.value.blur()}});const C=O=>{const x=O.target.checked;n("update:checked",x),n("update:value",x),n("change",O),A.onFieldChange()},B=O=>{n("change",O),u&&u.onChange&&u.onChange(O)};return()=>{var O;const x=u,{prefixCls:M,id:R=A.id.value}=e,F=Gye(e,["prefixCls","id"]),L=V(V({prefixCls:m.value,id:R},_r(F,["onUpdate:checked","onUpdate:value"])),{disabled:(O=h.value)!==null&&O!==void 0?O:p.value});x?(L.name=x.name.value,L.onChange=B,L.checked=e.value===x.value.value,L.disabled=c.value||x.disabled.value):L.onChange=C;const E=Ze({[`${m.value}-wrapper`]:!0,[`${m.value}-wrapper-checked`]:L.checked,[`${m.value}-wrapper-disabled`]:L.disabled,[`${m.value}-wrapper-rtl`]:g.value==="rtl",[`${m.value}-wrapper-in-form-item`]:a.isFormItemInput},o.class,y.value);return v($("label",ye(ye({},o),{},{class:E}),[$(JW,ye(ye({},L),{},{type:"radio",ref:d}),null),i.default&&$("span",null,[i.default()])]))}}}),Wye=()=>({prefixCls:String,value:He.any,size:yn(),options:fr(),disabled:Qt(),name:String,buttonStyle:yn("outline"),id:String,optionType:yn("default"),onChange:lt(),"onUpdate:value":lt()}),qye=Je({compatConfig:{MODE:3},name:"ARadioGroup",inheritAttrs:!1,props:Wye(),setup(e,t){let{slots:n,emit:r,attrs:i}=t;const o=NA(),{prefixCls:A,direction:a,size:s}=An("radio",e),[u,l]=tq(A),c=qe(e.value),d=qe(!1);return st(()=>e.value,g=>{c.value=g,d.value=!1}),Nye({onChange:g=>{const h=c.value,{value:m}=g.target;"value"in e||(c.value=m),!d.value&&m!==h&&(d.value=!0,r("update:value",m),r("change",g),o.onFieldChange()),$n(()=>{d.value=!1})},value:c,disabled:fe(()=>e.disabled),name:fe(()=>e.name),optionType:fe(()=>e.optionType)}),()=>{var g;const{options:h,buttonStyle:m,id:p=o.id.value}=e,v=`${A.value}-group`,y=Ze(v,`${v}-${m}`,{[`${v}-${s.value}`]:s.value,[`${v}-rtl`]:a.value==="rtl"},i.class,l.value);let b=null;return h&&h.length>0?b=h.map(w=>{if(typeof w=="string"||typeof w=="number")return $(UA,{key:w,prefixCls:A.value,disabled:e.disabled,value:w,checked:c.value===w},{default:()=>[w]});const{value:C,disabled:B,label:O}=w;return $(UA,{key:`radio-group-value-options-${C}`,prefixCls:A.value,disabled:B||e.disabled,value:C,checked:c.value===C},{default:()=>[O]})}):b=(g=n.default)===null||g===void 0?void 0:g.call(n),u($("div",ye(ye({},i),{},{class:y,id:p}),[b]))}}}),Xye=Je({compatConfig:{MODE:3},name:"ARadioButton",inheritAttrs:!1,props:nq(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i}=An("radio",e);return Mye("button"),()=>{var o;return $(UA,ye(ye(ye({},r),e),{},{prefixCls:i.value}),{default:()=>[(o=n.default)===null||o===void 0?void 0:o.call(n)]})}}});UA.Group=qye;UA.Button=Xye;UA.install=function(e){return e.component(UA.name,UA),e.component(UA.Group.name,UA.Group),e.component(UA.Button.name,UA.Button),e};const rq=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),Lg=e=>({borderColor:e.inputBorderHoverColor,borderInlineEndWidth:e.lineWidth}),Zd=e=>({borderColor:e.inputBorderHoverColor,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`,borderInlineEndWidth:e.lineWidth,outline:0}),iq=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":V({},Lg(_n(e,{inputBorderHoverColor:e.colorBorder})))}),oq=e=>{const{inputPaddingVerticalLG:t,fontSizeLG:n,lineHeightLG:r,borderRadiusLG:i,inputPaddingHorizontalLG:o}=e;return{padding:`${t}px ${o}px`,fontSize:n,lineHeight:r,borderRadius:i}},rT=e=>({padding:`${e.inputPaddingVerticalSM}px ${e.controlPaddingHorizontalSM-1}px`,borderRadius:e.borderRadiusSM}),GB=(e,t)=>{const{componentCls:n,colorError:r,colorWarning:i,colorErrorOutline:o,colorWarningOutline:A,colorErrorBorderHover:a,colorWarningBorderHover:s}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:r,"&:hover":{borderColor:a},"&:focus, &-focused":V({},Zd(_n(e,{inputBorderActiveColor:r,inputBorderHoverColor:r,controlOutline:o}))),[`${n}-prefix`]:{color:r}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:i,"&:hover":{borderColor:s},"&:focus, &-focused":V({},Zd(_n(e,{inputBorderActiveColor:i,inputBorderHoverColor:i,controlOutline:A}))),[`${n}-prefix`]:{color:i}}}},Dg=e=>V(V({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${e.inputPaddingVertical}px ${e.inputPaddingHorizontal}px`,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,backgroundColor:e.colorBgContainer,backgroundImage:"none",borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:e.colorBorder,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},rq(e.colorTextPlaceholder)),{"&:hover":V({},Lg(e)),"&:focus, &-focused":V({},Zd(e)),"&-disabled, &[disabled]":V({},iq(e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":V({},oq(e)),"&-sm":V({},rT(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),Aq=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:V({},oq(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:V({},rT(e)),[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${e.inputPaddingHorizontal}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`-${e.inputPaddingVertical+1}px -${e.inputPaddingHorizontal}px`,[`&${n}-select-single:not(${n}-select-customize-input)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${e.lineWidth}px ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px -${e.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${t}`]:{float:"inline-start",width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:V(V({display:"block"},qd()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`& > ${t}-affix-wrapper`]:{display:"inline-flex"},[`& > ${n}-picker-range`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector,
- & > ${n}-select-auto-complete ${t},
- & > ${n}-cascader-picker ${t},
- & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child,
- & > ${n}-select:first-child > ${n}-select-selector,
- & > ${n}-select-auto-complete:first-child ${t},
- & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,
- & > ${n}-select:last-child > ${n}-select-selector,
- & > ${n}-cascader-picker:last-child ${t},
- & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:-e.lineWidth,[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}}),[`&&-sm ${n}-btn`]:{fontSize:e.fontSizeSM,height:e.controlHeightSM,lineHeight:"normal"},[`&&-lg ${n}-btn`]:{fontSize:e.fontSizeLG,height:e.controlHeightLG,lineHeight:"normal"},[`&&-lg ${n}-select-single ${n}-select-selector`]:{height:`${e.controlHeightLG}px`,[`${n}-select-selection-item, ${n}-select-selection-placeholder`]:{lineHeight:`${e.controlHeightLG-2}px`},[`${n}-select-selection-search-input`]:{height:`${e.controlHeightLG}px`}},[`&&-sm ${n}-select-single ${n}-select-selector`]:{height:`${e.controlHeightSM}px`,[`${n}-select-selection-item, ${n}-select-selection-placeholder`]:{lineHeight:`${e.controlHeightSM-2}px`},[`${n}-select-selection-search-input`]:{height:`${e.controlHeightSM}px`}}}},Yye=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r}=e,o=(n-r*2-16)/2;return{[t]:V(V(V(V({},qn(e)),Dg(e)),GB(e,t)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:o,paddingBottom:o}}})}},Jye=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${e.inputAffixPadding}px`}},"&-textarea-with-clear-btn":{padding:"0 !important",border:"0 !important",[`${t}-clear-icon`]:{position:"absolute",insetBlockStart:e.paddingXS,insetInlineEnd:e.paddingXS,zIndex:1}}}},Zye=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:i,colorIcon:o,colorIconHover:A,iconCls:a}=e;return{[`${t}-affix-wrapper`]:V(V(V(V(V({},Dg(e)),{display:"inline-flex",[`&:not(${t}-affix-wrapper-disabled):hover`]:V(V({},Lg(e)),{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&:focus":{boxShadow:"none !important"}},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),Jye(e)),{[`${a}${t}-password-icon`]:{color:o,cursor:"pointer",transition:`all ${i}`,"&:hover":{color:A}}}),GB(e,`${t}-affix-wrapper`))}},ebe=e=>{const{componentCls:t,colorError:n,colorSuccess:r,borderRadiusLG:i,borderRadiusSM:o}=e;return{[`${t}-group`]:V(V(V({},qn(e)),Aq(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:i}},"&-sm":{[`${t}-group-addon`]:{borderRadius:o}},"&-status-error":{[`${t}-group-addon`]:{color:n,borderColor:n}},"&-status-warning":{[`${t}-group-addon:last-child`]:{color:r,borderColor:r}}}})}},tbe=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.lineHeightLG-2e-4},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:-e.lineWidth,borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button,
- > ${t},
- ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}};function WB(e){return _n(e,{inputAffixPadding:e.paddingXXS,inputPaddingVertical:Math.max(Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,3),inputPaddingVerticalLG:Math.ceil((e.controlHeightLG-e.fontSizeLG*e.lineHeightLG)/2*10)/10-e.lineWidth,inputPaddingVerticalSM:Math.max(Math.round((e.controlHeightSM-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,0),inputPaddingHorizontal:e.paddingSM-e.lineWidth,inputPaddingHorizontalSM:e.paddingXS-e.lineWidth,inputPaddingHorizontalLG:e.controlPaddingHorizontal-e.lineWidth,inputBorderHoverColor:e.colorPrimaryHover,inputBorderActiveColor:e.colorPrimaryHover})}const nbe=e=>{const{componentCls:t,inputPaddingHorizontal:n,paddingLG:r}=e,i=`${t}-textarea`;return{[i]:{position:"relative",[`${i}-suffix`]:{position:"absolute",top:0,insetInlineEnd:n,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto"},"&-status-error,\n &-status-warning,\n &-status-success,\n &-status-validating":{[`&${i}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:r}}},"&-show-count":{[`> ${t}`]:{height:"100%"},"&::after":{color:e.colorTextDescription,whiteSpace:"nowrap",content:"attr(data-count)",pointerEvents:"none",float:"right"}},"&-rtl":{"&::after":{float:"left"}}}}},iT=or("Input",e=>{const t=WB(e);return[Yye(t),nbe(t),Zye(t),ebe(t),tbe(t),xv(t)]}),Ex=(e,t,n,r)=>{const{lineHeight:i}=e,o=Math.floor(n*i)+2,A=Math.max((t-o)/2,0),a=Math.max(t-o-A,0);return{padding:`${A}px ${r}px ${a}px`}},rbe=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerPanelCellHeight:i,motionDurationSlow:o,borderRadiusSM:A,motionDurationMid:a,controlItemBgHover:s,lineWidth:u,lineType:l,colorPrimary:c,controlItemBgActive:d,colorTextLightSolid:f,controlHeightSM:g,pickerDateHoverRangeBorderColor:h,pickerCellBorderGap:m,pickerBasicCellHoverWithRangeColor:p,pickerPanelCellWidth:v,colorTextDisabled:y,colorBgContainerDisabled:b}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:i,transform:"translateY(-50%)",transition:`all ${o}`,content:'""'},[r]:{position:"relative",zIndex:2,display:"inline-block",minWidth:i,height:i,lineHeight:`${i}px`,borderRadius:A,transition:`background ${a}, border ${a}`},[`&:hover:not(${n}-in-view),
- &:hover:not(${n}-selected):not(${n}-range-start):not(${n}-range-end):not(${n}-range-hover-start):not(${n}-range-hover-end)`]:{[r]:{background:s}},[`&-in-view${n}-today ${r}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${u}px ${l} ${c}`,borderRadius:A,content:'""'}},[`&-in-view${n}-in-range`]:{position:"relative","&::before":{background:d}},[`&-in-view${n}-selected ${r},
- &-in-view${n}-range-start ${r},
- &-in-view${n}-range-end ${r}`]:{color:f,background:c},[`&-in-view${n}-range-start:not(${n}-range-start-single),
- &-in-view${n}-range-end:not(${n}-range-end-single)`]:{"&::before":{background:d}},[`&-in-view${n}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${n}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${n}-range-hover-start:not(${n}-in-range):not(${n}-range-start):not(${n}-range-end),
- &-in-view${n}-range-hover-end:not(${n}-in-range):not(${n}-range-start):not(${n}-range-end),
- &-in-view${n}-range-hover-start${n}-range-start-single,
- &-in-view${n}-range-hover-start${n}-range-start${n}-range-end${n}-range-end-near-hover,
- &-in-view${n}-range-hover-end${n}-range-start${n}-range-end${n}-range-start-near-hover,
- &-in-view${n}-range-hover-end${n}-range-end-single,
- &-in-view${n}-range-hover:not(${n}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:g,borderTop:`${u}px dashed ${h}`,borderBottom:`${u}px dashed ${h}`,transform:"translateY(-50%)",transition:`all ${o}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:m},[`&-in-view${n}-in-range${n}-range-hover::before,
- &-in-view${n}-range-start${n}-range-hover::before,
- &-in-view${n}-range-end${n}-range-hover::before,
- &-in-view${n}-range-start:not(${n}-range-start-single)${n}-range-hover-start::before,
- &-in-view${n}-range-end:not(${n}-range-end-single)${n}-range-hover-end::before,
- ${t}-panel
- > :not(${t}-date-panel)
- &-in-view${n}-in-range${n}-range-hover-start::before,
- ${t}-panel
- > :not(${t}-date-panel)
- &-in-view${n}-in-range${n}-range-hover-end::before`]:{background:p},[`&-in-view${n}-range-start:not(${n}-range-start-single):not(${n}-range-end) ${r}`]:{borderStartStartRadius:A,borderEndStartRadius:A,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${n}-range-end:not(${n}-range-end-single):not(${n}-range-start) ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:A,borderEndEndRadius:A},[`&-range-hover${n}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${n}-range-hover:first-child::after,
- tr > &-in-view${n}-range-hover-end:first-child::after,
- &-in-view${n}-start${n}-range-hover-edge-start${n}-range-hover-edge-start-near-range::after,
- &-in-view${n}-range-hover-edge-start:not(${n}-range-hover-edge-start-near-range)::after,
- &-in-view${n}-range-hover-start::after`]:{insetInlineStart:(v-i)/2,borderInlineStart:`${u}px dashed ${h}`,borderStartStartRadius:u,borderEndStartRadius:u},[`tr > &-in-view${n}-range-hover:last-child::after,
- tr > &-in-view${n}-range-hover-start:last-child::after,
- &-in-view${n}-end${n}-range-hover-edge-end${n}-range-hover-edge-end-near-range::after,
- &-in-view${n}-range-hover-edge-end:not(${n}-range-hover-edge-end-near-range)::after,
- &-in-view${n}-range-hover-end::after`]:{insetInlineEnd:(v-i)/2,borderInlineEnd:`${u}px dashed ${h}`,borderStartEndRadius:u,borderEndEndRadius:u},"&-disabled":{color:y,pointerEvents:"none",[r]:{background:"transparent"},"&::before":{background:b}},[`&-disabled${n}-today ${r}::before`]:{borderColor:y}}},ibe=e=>{const{componentCls:t,pickerCellInnerCls:n,pickerYearMonthCellWidth:r,pickerControlIconSize:i,pickerPanelCellWidth:o,paddingSM:A,paddingXS:a,paddingXXS:s,colorBgContainer:u,lineWidth:l,lineType:c,borderRadiusLG:d,colorPrimary:f,colorTextHeading:g,colorSplit:h,pickerControlIconBorderWidth:m,colorIcon:p,pickerTextHeight:v,motionDurationMid:y,colorIconHover:b,fontWeightStrong:w,pickerPanelCellHeight:C,pickerCellPaddingVertical:B,colorTextDisabled:O,colorText:x,fontSize:M,pickerBasicCellHoverWithRangeColor:R,motionDurationSlow:F,pickerPanelWithoutTimeCellHeight:L,pickerQuarterPanelContentHeight:E,colorLink:H,colorLinkActive:X,colorLinkHover:z,pickerDateHoverRangeBorderColor:Z,borderRadiusSM:q,colorTextLightSolid:te,borderRadius:ne,controlItemBgHover:_,pickerTimePanelColumnHeight:Y,pickerTimePanelColumnWidth:re,pickerTimePanelCellHeight:se,controlItemBgActive:ce,marginXXS:N}=e,K=o*7+A*2+4,Ae=(K-a*2)/3-r-A;return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:u,border:`${l}px ${c} ${h}`,borderRadius:d,outline:"none","&-focused":{borderColor:f},"&-rtl":{direction:"rtl",[`${t}-prev-icon,
- ${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon,
- ${t}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:K},"&-header":{display:"flex",padding:`0 ${a}px`,color:g,borderBottom:`${l}px ${c} ${h}`,"> *":{flex:"none"},button:{padding:0,color:p,lineHeight:`${v}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${y}`},"> button":{minWidth:"1.6em",fontSize:M,"&:hover":{color:b}},"&-view":{flex:"auto",fontWeight:w,lineHeight:`${v}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:a},"&:hover":{color:f}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:i,height:i,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockStartWidth:m,borderBlockEndWidth:0,borderInlineStartWidth:m,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(i/2),insetInlineStart:Math.ceil(i/2),display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockStartWidth:m,borderBlockEndWidth:0,borderInlineStartWidth:m,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:C,fontWeight:"normal"},th:{height:C+B*2,color:x,verticalAlign:"middle"}},"&-cell":V({padding:`${B}px 0`,color:O,cursor:"pointer","&-in-view":{color:x}},rbe(e)),[`&-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-start ${n},
- &-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-end ${n}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:R,transition:`all ${F}`,content:'""'}},[`&-date-panel
- ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-start
- ${n}::after`]:{insetInlineEnd:-(o-C)/2,insetInlineStart:0},[`&-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-end ${n}::after`]:{insetInlineEnd:0,insetInlineStart:-(o-C)/2},[`&-range-hover${t}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-content`]:{height:L*4},[n]:{padding:`0 ${a}px`}},"&-quarter-panel":{[`${t}-content`]:{height:E}},[`&-panel ${t}-footer`]:{borderTop:`${l}px ${c} ${h}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${v-2*l}px`,textAlign:"center","&-extra":{padding:`0 ${A}`,lineHeight:`${v-2*l}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${l}px ${c} ${h}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:H,"&:hover":{color:z},"&:active":{color:X},[`&${t}-today-btn-disabled`]:{color:O,cursor:"not-allowed"}},"&-decade-panel":{[n]:{padding:`0 ${a/2}px`},[`${t}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-body`]:{padding:`0 ${a}px`},[n]:{width:r},[`${t}-cell-range-hover-start::after`]:{insetInlineStart:Ae,borderInlineStart:`${l}px dashed ${Z}`,borderStartStartRadius:q,borderBottomStartRadius:q,borderStartEndRadius:0,borderBottomEndRadius:0,[`${t}-panel-rtl &`]:{insetInlineEnd:Ae,borderInlineEnd:`${l}px dashed ${Z}`,borderStartStartRadius:0,borderBottomStartRadius:0,borderStartEndRadius:q,borderBottomEndRadius:q}},[`${t}-cell-range-hover-end::after`]:{insetInlineEnd:Ae,borderInlineEnd:`${l}px dashed ${Z}`,borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:ne,borderEndEndRadius:ne,[`${t}-panel-rtl &`]:{insetInlineStart:Ae,borderInlineStart:`${l}px dashed ${Z}`,borderStartStartRadius:ne,borderEndStartRadius:ne,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-week-panel":{[`${t}-body`]:{padding:`${a}px ${A}px`},[`${t}-cell`]:{[`&:hover ${n},
- &-selected ${n},
- ${n}`]:{background:"transparent !important"}},"&-row":{td:{transition:`background ${y}`,"&:first-child":{borderStartStartRadius:q,borderEndStartRadius:q},"&:last-child":{borderStartEndRadius:q,borderEndEndRadius:q}},"&:hover td":{background:_},"&-selected td,\n &-selected:hover td":{background:f,[`&${t}-cell-week`]:{color:new Lr(te).setAlpha(.5).toHexString()},[`&${t}-cell-today ${n}::before`]:{borderColor:te},[n]:{color:te}}}},"&-date-panel":{[`${t}-body`]:{padding:`${a}px ${A}px`},[`${t}-content`]:{width:o*7,th:{width:o}}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${l}px ${c} ${h}`},[`${t}-date-panel,
- ${t}-time-panel`]:{transition:`opacity ${F}`},"&-active":{[`${t}-date-panel,
- ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${t}-content`]:{display:"flex",flex:"auto",height:Y},"&-column":{flex:"1 0 auto",width:re,margin:`${s}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${y}`,overflowX:"hidden","&::after":{display:"block",height:Y-se,content:'""'},"&:not(:first-child)":{borderInlineStart:`${l}px ${c} ${h}`},"&-active":{background:new Lr(ce).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:N,[`${t}-time-panel-cell-inner`]:{display:"block",width:re-2*N,height:se,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(re-se)/2,color:x,lineHeight:`${se}px`,borderRadius:q,cursor:"pointer",transition:`background ${y}`,"&:hover":{background:_}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:ce}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:O,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${t}-time-panel-column:after`]:{height:Y-se+s*2}}}},obe=e=>{const{componentCls:t,colorBgContainer:n,colorError:r,colorErrorOutline:i,colorWarning:o,colorWarningOutline:A}=e;return{[t]:{[`&-status-error${t}`]:{"&, &:not([disabled]):hover":{backgroundColor:n,borderColor:r},"&-focused, &:focus":V({},Zd(_n(e,{inputBorderActiveColor:r,inputBorderHoverColor:r,controlOutline:i}))),[`${t}-active-bar`]:{background:r}},[`&-status-warning${t}`]:{"&, &:not([disabled]):hover":{backgroundColor:n,borderColor:o},"&-focused, &:focus":V({},Zd(_n(e,{inputBorderActiveColor:o,inputBorderHoverColor:o,controlOutline:A}))),[`${t}-active-bar`]:{background:o}}}}},Abe=e=>{const{componentCls:t,antCls:n,boxShadowPopoverArrow:r,controlHeight:i,fontSize:o,inputPaddingHorizontal:A,colorBgContainer:a,lineWidth:s,lineType:u,colorBorder:l,borderRadius:c,motionDurationMid:d,colorBgContainerDisabled:f,colorTextDisabled:g,colorTextPlaceholder:h,controlHeightLG:m,fontSizeLG:p,controlHeightSM:v,inputPaddingHorizontalSM:y,paddingXS:b,marginXS:w,colorTextDescription:C,lineWidthBold:B,lineHeight:O,colorPrimary:x,motionDurationSlow:M,zIndexPopup:R,paddingXXS:F,paddingSM:L,pickerTextHeight:E,controlItemBgActive:H,colorPrimaryBorder:X,sizePopupArrow:z,borderRadiusXS:Z,borderRadiusOuter:q,colorBgElevated:te,borderRadiusLG:ne,boxShadowSecondary:_,borderRadiusSM:Y,colorSplit:re,controlItemBgHover:se,presetsWidth:ce,presetsMaxWidth:N}=e;return[{[t]:V(V(V({},qn(e)),Ex(e,i,o,A)),{position:"relative",display:"inline-flex",alignItems:"center",background:a,lineHeight:1,border:`${s}px ${u} ${l}`,borderRadius:c,transition:`border ${d}, box-shadow ${d}`,"&:hover, &-focused":V({},Lg(e)),"&-focused":V({},Zd(e)),[`&${t}-disabled`]:{background:f,borderColor:l,cursor:"not-allowed",[`${t}-suffix`]:{color:g}},[`&${t}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":V(V({},Dg(e)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${t}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:h}}},"&-large":V(V({},Ex(e,m,p,A)),{[`${t}-input > input`]:{fontSize:p}}),"&-small":V({},Ex(e,v,o,y)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:b/2,color:g,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:w}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:g,lineHeight:1,background:a,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${d}, color ${d}`,"> *":{verticalAlign:"top"},"&:hover":{color:C}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:p,color:g,fontSize:p,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:C},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-clear`]:{insetInlineEnd:A},"&:hover":{[`${t}-clear`]:{opacity:1}},[`${t}-active-bar`]:{bottom:-s,height:B,marginInlineStart:A,background:x,opacity:0,transition:`all ${M} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${b}px`,lineHeight:1},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:y},[`${t}-active-bar`]:{marginInlineStart:y}}},"&-dropdown":V(V(V({},qn(e)),ibe(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:R,[`&${t}-dropdown-hidden`]:{display:"none"},[`&${t}-dropdown-placement-bottomLeft`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topLeft,
- &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight,
- &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft,
- &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:NB},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft,
- &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight,
- &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft,
- &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:RB},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft,
- &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:HB},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft,
- &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:$B},[`${t}-panel > ${t}-time-panel`]:{paddingTop:F},[`${t}-ranges`]:{marginBottom:0,padding:`${F}px ${L}px`,overflow:"hidden",lineHeight:`${E-2*s-b/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${t}-preset > ${n}-tag-blue`]:{color:x,background:H,borderColor:X,cursor:"pointer"},[`${t}-ok`]:{marginInlineStart:"auto"}},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:V({position:"absolute",zIndex:1,display:"none",marginInlineStart:A*1.5,transition:`left ${M} ease-out`},N6(z,Z,q,te,r)),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:te,borderRadius:ne,boxShadow:_,transition:`margin ${M}`,[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:ce,maxWidth:N,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:b,borderInlineEnd:`${s}px ${u} ${re}`,li:V(V({},ju),{borderRadius:Y,paddingInline:b,paddingBlock:(v-Math.round(o*O))/2,cursor:"pointer",transition:`all ${M}`,"+ li":{marginTop:w},"&:hover":{background:se}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${t}-panel`]:{borderWidth:`0 0 ${s}px`},"&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content,
- table`]:{textAlign:"center"},"&-focused":{borderColor:l}}}}),"&-dropdown-range":{padding:`${z*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},Ll(e,"slide-up"),Ll(e,"slide-down"),dg(e,"move-up"),dg(e,"move-down")]},abe=e=>{const{componentCls:n,controlHeightLG:r,controlHeightSM:i,colorPrimary:o,paddingXXS:A}=e;return{pickerCellCls:`${n}-cell`,pickerCellInnerCls:`${n}-cell-inner`,pickerTextHeight:r,pickerPanelCellWidth:i*1.5,pickerPanelCellHeight:i,pickerDateHoverRangeBorderColor:new Lr(o).lighten(20).toHexString(),pickerBasicCellHoverWithRangeColor:new Lr(o).lighten(35).toHexString(),pickerPanelWithoutTimeCellHeight:r*1.65,pickerYearMonthCellWidth:r*1.5,pickerTimePanelColumnHeight:28*8,pickerTimePanelColumnWidth:r*1.4,pickerTimePanelCellHeight:28,pickerQuarterPanelContentHeight:r*1.4,pickerCellPaddingVertical:A,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5}},aq=or("DatePicker",e=>{const t=_n(WB(e),abe(e));return[Abe(t),obe(t),xv(e,{focusElCls:`${e.componentCls}-focused`})]},e=>({presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}));function sbe(e){const t=Me(),n=Me(!1);function r(){for(var i=arguments.length,o=new Array(i),A=0;A<i;A++)o[A]=arguments[A];n.value||(hn.cancel(t.value),t.value=hn(()=>{e(...o)}))}return En(()=>{n.value=!0,hn.cancel(t.value)}),r}function lbe(e){const t=Me([]),n=Me(typeof e=="function"?e():e),r=sbe(()=>{let o=n.value;t.value.forEach(A=>{o=A(o)}),t.value=[],n.value=o});function i(o){t.value.push(o),r()}return[n,i]}const ube=Je({compatConfig:{MODE:3},name:"TabNode",props:{id:{type:String},prefixCls:{type:String},tab:{type:Object},active:{type:Boolean},closable:{type:Boolean},editable:{type:Object},onClick:{type:Function},onResize:{type:Function},renderWrapper:{type:Function},removeAriaLabel:{type:String},onFocus:{type:Function}},emits:["click","resize","remove","focus"],setup(e,t){let{expose:n,attrs:r}=t;const i=qe();function o(s){var u;!((u=e.tab)===null||u===void 0)&&u.disabled||e.onClick(s)}n({domRef:i});function A(s){var u;s.preventDefault(),s.stopPropagation(),e.editable.onEdit("remove",{key:(u=e.tab)===null||u===void 0?void 0:u.key,event:s})}const a=fe(()=>{var s;return e.editable&&e.closable!==!1&&!(!((s=e.tab)===null||s===void 0)&&s.disabled)});return()=>{var s;const{prefixCls:u,id:l,active:c,tab:{key:d,tab:f,disabled:g,closeIcon:h},renderWrapper:m,removeAriaLabel:p,editable:v,onFocus:y}=e,b=`${u}-tab`,w=$("div",{key:d,ref:i,class:Ze(b,{[`${b}-with-remove`]:a.value,[`${b}-active`]:c,[`${b}-disabled`]:g}),style:r.style,onClick:o},[$("div",{role:"tab","aria-selected":c,id:l&&`${l}-tab-${d}`,class:`${b}-btn`,"aria-controls":l&&`${l}-panel-${d}`,"aria-disabled":g,tabindex:g?null:0,onClick:C=>{C.stopPropagation(),o(C)},onKeydown:C=>{[ut.SPACE,ut.ENTER].includes(C.which)&&(C.preventDefault(),o(C))},onFocus:y},[typeof f=="function"?f():f]),a.value&&$("button",{type:"button","aria-label":p||"remove",tabindex:0,class:`${b}-remove`,onClick:C=>{C.stopPropagation(),A(C)}},[(h==null?void 0:h())||((s=v.removeIcon)===null||s===void 0?void 0:s.call(v))||"×"])]);return m?m(w):w}}}),cD={width:0,height:0,left:0,top:0};function cbe(e,t){const n=qe(new Map);return ln(()=>{var r,i;const o=new Map,A=e.value,a=t.value.get((r=A[0])===null||r===void 0?void 0:r.key)||cD,s=a.left+a.width;for(let u=0;u<A.length;u+=1){const{key:l}=A[u];let c=t.value.get(l);c||(c=t.value.get((i=A[u-1])===null||i===void 0?void 0:i.key)||cD);const d=o.get(l)||V({},c);d.right=s-d.left-d.width,o.set(l,d)}n.value=new Map(o)}),n}const sq=Je({compatConfig:{MODE:3},name:"AddButton",inheritAttrs:!1,props:{prefixCls:String,editable:{type:Object},locale:{type:Object,default:void 0}},setup(e,t){let{expose:n,attrs:r}=t;const i=qe();return n({domRef:i}),()=>{const{prefixCls:o,editable:A,locale:a}=e;return!A||A.showAdd===!1?null:$("button",{ref:i,type:"button",class:`${o}-nav-add`,style:r.style,"aria-label":(a==null?void 0:a.addAriaLabel)||"Add tab",onClick:s=>{A.onEdit("add",{event:s})}},[A.addIcon?A.addIcon():"+"])}}}),fbe={prefixCls:{type:String},id:{type:String},tabs:{type:Object},rtl:{type:Boolean},tabBarGutter:{type:Number},activeKey:{type:[String,Number]},mobile:{type:Boolean},moreIcon:He.any,moreTransitionName:{type:String},editable:{type:Object},locale:{type:Object,default:void 0},removeAriaLabel:String,onTabClick:{type:Function},popupClassName:String,getPopupContainer:lt()},dbe=Je({compatConfig:{MODE:3},name:"OperationNode",inheritAttrs:!1,props:fbe,emits:["tabClick"],slots:Object,setup(e,t){let{attrs:n,slots:r}=t;const[i,o]=ir(!1),[A,a]=ir(null),s=f=>{const g=e.tabs.filter(p=>!p.disabled);let h=g.findIndex(p=>p.key===A.value)||0;const m=g.length;for(let p=0;p<m;p+=1){h=(h+f+m)%m;const v=g[h];if(!v.disabled){a(v.key);return}}},u=f=>{const{which:g}=f;if(!i.value){[ut.DOWN,ut.SPACE,ut.ENTER].includes(g)&&(o(!0),f.preventDefault());return}switch(g){case ut.UP:s(-1),f.preventDefault();break;case ut.DOWN:s(1),f.preventDefault();break;case ut.ESC:o(!1);break;case ut.SPACE:case ut.ENTER:A.value!==null&&e.onTabClick(A.value,f);break}},l=fe(()=>`${e.id}-more-popup`),c=fe(()=>A.value!==null?`${l.value}-${A.value}`:null),d=(f,g)=>{f.preventDefault(),f.stopPropagation(),e.editable.onEdit("remove",{key:g,event:f})};return vn(()=>{st(A,()=>{const f=document.getElementById(c.value);f&&f.scrollIntoView&&f.scrollIntoView(!1)},{flush:"post",immediate:!0})}),st(i,()=>{i.value||a(null)}),mW({}),()=>{var f;const{prefixCls:g,id:h,tabs:m,locale:p,mobile:v,moreIcon:y=((f=r.moreIcon)===null||f===void 0?void 0:f.call(r))||$(Sv,null,null),moreTransitionName:b,editable:w,tabBarGutter:C,rtl:B,onTabClick:O,popupClassName:x}=e;if(!m.length)return null;const M=`${g}-dropdown`,R=p==null?void 0:p.dropdownAriaLabel,F={[B?"marginRight":"marginLeft"]:C};m.length||(F.visibility="hidden",F.order=1);const L=Ze({[`${M}-rtl`]:B,[`${x}`]:!0}),E=v?null:$(aW,{prefixCls:M,trigger:["hover"],visible:i.value,transitionName:b,onVisibleChange:o,overlayClassName:L,mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:e.getPopupContainer},{overlay:()=>$(la,{onClick:H=>{let{key:X,domEvent:z}=H;O(X,z),o(!1)},id:l.value,tabindex:-1,role:"listbox","aria-activedescendant":c.value,selectedKeys:[A.value],"aria-label":R!==void 0?R:"expanded dropdown"},{default:()=>[m.map(H=>{var X,z;const Z=w&&H.closable!==!1&&!H.disabled;return $(hg,{key:H.key,id:`${l.value}-${H.key}`,role:"option","aria-controls":h&&`${h}-panel-${H.key}`,disabled:H.disabled},{default:()=>[$("span",null,[typeof H.tab=="function"?H.tab():H.tab]),Z&&$("button",{type:"button","aria-label":e.removeAriaLabel||"remove",tabindex:0,class:`${M}-menu-item-remove`,onClick:q=>{q.stopPropagation(),d(q,H.key)}},[((X=H.closeIcon)===null||X===void 0?void 0:X.call(H))||((z=w.removeIcon)===null||z===void 0?void 0:z.call(w))||"×"])]})})]}),default:()=>$("button",{type:"button",class:`${g}-nav-more`,style:F,tabindex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":l.value,id:`${h}-more`,"aria-expanded":i.value,onKeydown:u},[y])});return $("div",{class:Ze(`${g}-nav-operations`,n.class),style:n.style},[E,$(sq,{prefixCls:g,locale:p,editable:w},null)])}}}),lq=Symbol("tabsContextKey"),hbe=e=>{dn(lq,e)},uq=()=>tn(lq,{tabs:qe([]),prefixCls:qe()}),pbe=.1,fD=.01,xb=20,dD=Math.pow(.995,xb);function gbe(e,t){const[n,r]=ir(),[i,o]=ir(0),[A,a]=ir(0),[s,u]=ir(),l=qe();function c(w){const{screenX:C,screenY:B}=w.touches[0];r({x:C,y:B}),clearInterval(l.value)}function d(w){if(!n.value)return;w.preventDefault();const{screenX:C,screenY:B}=w.touches[0],O=C-n.value.x,x=B-n.value.y;t(O,x),r({x:C,y:B});const M=Date.now();a(M-i.value),o(M),u({x:O,y:x})}function f(){if(!n.value)return;const w=s.value;if(r(null),u(null),w){const C=w.x/A.value,B=w.y/A.value,O=Math.abs(C),x=Math.abs(B);if(Math.max(O,x)<pbe)return;let M=C,R=B;l.value=setInterval(()=>{if(Math.abs(M)<fD&&Math.abs(R)<fD){clearInterval(l.value);return}M*=dD,R*=dD,t(M*xb,R*xb)},xb)}}const g=qe();function h(w){const{deltaX:C,deltaY:B}=w;let O=0;const x=Math.abs(C),M=Math.abs(B);x===M?O=g.value==="x"?C:B:x>M?(O=C,g.value="x"):(O=B,g.value="y"),t(-O,-O)&&w.preventDefault()}const m=qe({onTouchStart:c,onTouchMove:d,onTouchEnd:f,onWheel:h});function p(w){m.value.onTouchStart(w)}function v(w){m.value.onTouchMove(w)}function y(w){m.value.onTouchEnd(w)}function b(w){m.value.onWheel(w)}vn(()=>{var w,C;document.addEventListener("touchmove",v,{passive:!1}),document.addEventListener("touchend",y,{passive:!1}),(w=e.value)===null||w===void 0||w.addEventListener("touchstart",p,{passive:!1}),(C=e.value)===null||C===void 0||C.addEventListener("wheel",b,{passive:!1})}),En(()=>{document.removeEventListener("touchmove",v),document.removeEventListener("touchend",y)})}function hD(e,t){const n=qe(e);function r(i){const o=typeof i=="function"?i(n.value):i;o!==n.value&&t(o,n.value),n.value=o}return[n,r]}const oT=()=>{const e=qe(new Map),t=n=>r=>{e.value.set(n,r)};return cB(()=>{e.value=new Map}),[t,e]},pD={width:0,height:0,left:0,top:0,right:0},mbe=()=>({id:{type:String},tabPosition:{type:String},activeKey:{type:[String,Number]},rtl:{type:Boolean},animated:qt(),editable:qt(),moreIcon:He.any,moreTransitionName:{type:String},mobile:{type:Boolean},tabBarGutter:{type:Number},renderTabBar:{type:Function},locale:qt(),popupClassName:String,getPopupContainer:lt(),onTabClick:{type:Function},onTabScroll:{type:Function}}),vbe=(e,t)=>{const{offsetWidth:n,offsetHeight:r,offsetTop:i,offsetLeft:o}=e,{width:A,height:a,x:s,y:u}=e.getBoundingClientRect();return Math.abs(A-n)<1?[A,a,s-t.x,u-t.y]:[n,r,o,i]},gD=Je({compatConfig:{MODE:3},name:"TabNavList",inheritAttrs:!1,props:mbe(),slots:Object,emits:["tabClick","tabScroll"],setup(e,t){let{attrs:n,slots:r}=t;const{tabs:i,prefixCls:o}=uq(),A=Me(),a=Me(),s=Me(),u=Me(),[l,c]=oT(),d=fe(()=>e.tabPosition==="top"||e.tabPosition==="bottom"),[f,g]=hD(0,(U,W)=>{d.value&&e.onTabScroll&&e.onTabScroll({direction:U>W?"left":"right"})}),[h,m]=hD(0,(U,W)=>{!d.value&&e.onTabScroll&&e.onTabScroll({direction:U>W?"top":"bottom"})}),[p,v]=ir(0),[y,b]=ir(0),[w,C]=ir(null),[B,O]=ir(null),[x,M]=ir(0),[R,F]=ir(0),[L,E]=lbe(new Map),H=cbe(i,L),X=fe(()=>`${o.value}-nav-operations-hidden`),z=Me(0),Z=Me(0);ln(()=>{d.value?e.rtl?(z.value=0,Z.value=Math.max(0,p.value-w.value)):(z.value=Math.min(0,w.value-p.value),Z.value=0):(z.value=Math.min(0,B.value-y.value),Z.value=0)});const q=U=>U<z.value?z.value:U>Z.value?Z.value:U,te=Me(),[ne,_]=ir(),Y=()=>{_(Date.now())},re=()=>{clearTimeout(te.value)},se=(U,W)=>{U(de=>q(de+W))};gbe(A,(U,W)=>{if(d.value){if(w.value>=p.value)return!1;se(g,U)}else{if(B.value>=y.value)return!1;se(m,W)}return re(),Y(),!0}),st(ne,()=>{re(),ne.value&&(te.value=setTimeout(()=>{_(0)},100))});const ce=function(){let U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activeKey;const W=H.value.get(U)||{width:0,height:0,left:0,right:0,top:0};if(d.value){let de=f.value;e.rtl?W.right<f.value?de=W.right:W.right+W.width>f.value+w.value&&(de=W.right+W.width-w.value):W.left<-f.value?de=-W.left:W.left+W.width>-f.value+w.value&&(de=-(W.left+W.width-w.value)),m(0),g(q(de))}else{let de=h.value;W.top<-h.value?de=-W.top:W.top+W.height>-h.value+B.value&&(de=-(W.top+W.height-B.value)),g(0),m(q(de))}},N=Me(0),K=Me(0);ln(()=>{let U,W,de,me,ve,be;const Te=H.value;["top","bottom"].includes(e.tabPosition)?(U="width",me=w.value,ve=p.value,be=x.value,W=e.rtl?"right":"left",de=Math.abs(f.value)):(U="height",me=B.value,ve=p.value,be=R.value,W="top",de=-h.value);let we=me;ve+be>me&&ve<me&&(we=me-be);const xe=i.value;if(!xe.length)return[N.value,K.value]=[0,0];const Ue=xe.length;let ke=Ue;for(let De=0;De<Ue;De+=1){const _e=Te.get(xe[De].key)||pD;if(_e[W]+_e[U]>de+we){ke=De-1;break}}let et=0;for(let De=Ue-1;De>=0;De-=1)if((Te.get(xe[De].key)||pD)[W]<de){et=De+1;break}return[N.value,K.value]=[et,ke]});const Ae=()=>{E(()=>{var U;const W=new Map,de=(U=a.value)===null||U===void 0?void 0:U.getBoundingClientRect();return i.value.forEach(me=>{let{key:ve}=me;const be=c.value.get(ve),Te=(be==null?void 0:be.$el)||be;if(Te){const[we,xe,Ue,ke]=vbe(Te,de);W.set(ve,{width:we,height:xe,left:Ue,top:ke})}}),W})};st(()=>i.value.map(U=>U.key).join("%%"),()=>{Ae()},{flush:"post"});const ae=()=>{var U,W,de,me,ve;const be=((U=A.value)===null||U===void 0?void 0:U.offsetWidth)||0,Te=((W=A.value)===null||W===void 0?void 0:W.offsetHeight)||0,we=((de=u.value)===null||de===void 0?void 0:de.$el)||{},xe=we.offsetWidth||0,Ue=we.offsetHeight||0;C(be),O(Te),M(xe),F(Ue);const ke=(((me=a.value)===null||me===void 0?void 0:me.offsetWidth)||0)-xe,et=(((ve=a.value)===null||ve===void 0?void 0:ve.offsetHeight)||0)-Ue;v(ke),b(et),Ae()},ie=fe(()=>[...i.value.slice(0,N.value),...i.value.slice(K.value+1)]),[J,ue]=ir(),G=fe(()=>H.value.get(e.activeKey)),pe=Me(),k=()=>{hn.cancel(pe.value)};st([G,d,()=>e.rtl],()=>{const U={};G.value&&(d.value?(e.rtl?U.right=vd(G.value.right):U.left=vd(G.value.left),U.width=vd(G.value.width)):(U.top=vd(G.value.top),U.height=vd(G.value.height))),k(),pe.value=hn(()=>{ue(U)})}),st([()=>e.activeKey,G,H,d],()=>{ce()},{flush:"post"}),st([()=>e.rtl,()=>e.tabBarGutter,()=>e.activeKey,()=>i.value],()=>{ae()},{flush:"post"});const P=U=>{let{position:W,prefixCls:de,extra:me}=U;if(!me)return null;const ve=me==null?void 0:me({position:W});return ve?$("div",{class:`${de}-extra-content`},[ve]):null};return En(()=>{re(),k()}),()=>{const{id:U,animated:W,activeKey:de,rtl:me,editable:ve,locale:be,tabPosition:Te,tabBarGutter:we,onTabClick:xe}=e,{class:Ue,style:ke}=n,et=o.value,De=!!ie.value.length,_e=`${et}-nav-wrap`;let Re,Ne,ot,rt;d.value?me?(Ne=f.value>0,Re=f.value+w.value<p.value):(Re=f.value<0,Ne=-f.value+w.value<p.value):(ot=h.value<0,rt=-h.value+B.value<y.value);const nt={};Te==="top"||Te==="bottom"?nt[me?"marginRight":"marginLeft"]=typeof we=="number"?`${we}px`:we:nt.marginTop=typeof we=="number"?`${we}px`:we;const Bt=i.value.map((Et,Xt)=>{const{key:Ut}=Et;return $(ube,{id:U,prefixCls:et,key:Ut,tab:Et,style:Xt===0?void 0:nt,closable:Et.closable,editable:ve,active:Ut===de,removeAriaLabel:be==null?void 0:be.removeAriaLabel,ref:l(Ut),onClick:$t=>{xe(Ut,$t)},onFocus:()=>{ce(Ut),Y(),A.value&&(me||(A.value.scrollLeft=0),A.value.scrollTop=0)}},r)});return $("div",{role:"tablist",class:Ze(`${et}-nav`,Ue),style:ke,onKeydown:()=>{Y()}},[$(P,{position:"left",prefixCls:et,extra:r.leftExtra},null),$(ku,{onResize:ae},{default:()=>[$("div",{class:Ze(_e,{[`${_e}-ping-left`]:Re,[`${_e}-ping-right`]:Ne,[`${_e}-ping-top`]:ot,[`${_e}-ping-bottom`]:rt}),ref:A},[$(ku,{onResize:ae},{default:()=>[$("div",{ref:a,class:`${et}-nav-list`,style:{transform:`translate(${f.value}px, ${h.value}px)`,transition:ne.value?"none":void 0}},[Bt,$(sq,{ref:u,prefixCls:et,locale:be,editable:ve,style:V(V({},Bt.length===0?void 0:nt),{visibility:De?"hidden":null})},null),$("div",{class:Ze(`${et}-ink-bar`,{[`${et}-ink-bar-animated`]:W.inkBar}),style:J.value},null)])]})])]}),$(dbe,ye(ye({},e),{},{removeAriaLabel:be==null?void 0:be.removeAriaLabel,ref:s,prefixCls:et,tabs:ie.value,class:!De&&X.value}),WG(r,["moreIcon"])),$(P,{position:"right",prefixCls:et,extra:r.rightExtra},null),$(P,{position:"right",prefixCls:et,extra:r.tabBarExtraContent},null)])}}}),ybe=Je({compatConfig:{MODE:3},name:"TabPanelList",inheritAttrs:!1,props:{activeKey:{type:[String,Number]},id:{type:String},rtl:{type:Boolean},animated:{type:Object,default:void 0},tabPosition:{type:String},destroyInactiveTabPane:{type:Boolean}},setup(e){const{tabs:t,prefixCls:n}=uq();return()=>{const{id:r,activeKey:i,animated:o,tabPosition:A,rtl:a,destroyInactiveTabPane:s}=e,u=o.tabPane,l=n.value,c=t.value.findIndex(d=>d.key===i);return $("div",{class:`${l}-content-holder`},[$("div",{class:[`${l}-content`,`${l}-content-${A}`,{[`${l}-content-animated`]:u}],style:c&&u?{[a?"marginRight":"marginLeft"]:`-${c}00%`}:null},[t.value.map(d=>jr(d.node,{key:d.key,prefixCls:l,tabKey:d.key,id:r,animated:u,active:d.key===i,destroyInactiveTabPane:s}))])])}}});var bbe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};function mD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){wbe(e,i,n[i])})}return e}function wbe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var AT=function(t,n){var r=mD({},t,n.attrs);return $(cn,mD({},r,{icon:bbe}),null)};AT.displayName="PlusOutlined";AT.inheritAttrs=!1;const Bbe=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[Ll(e,"slide-up"),Ll(e,"slide-down")]]},Cbe=e=>{const{componentCls:t,tabsCardHorizontalPadding:n,tabsCardHeadBackground:r,tabsCardGutter:i,colorSplit:o}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${e.lineWidth}px ${e.lineType} ${o}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:e.colorPrimary,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${i}px`}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:`${i}px`}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},xbe=e=>{const{componentCls:t,tabsHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:V(V({},qn(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${r}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":V(V({},ju),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},Sbe=e=>{const{componentCls:t,margin:n,colorSplit:r}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:`0 0 ${n}px 0`,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${e.lineWidth}px ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow},
- right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav,
- > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:`${n}px`,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:e.controlHeight*1.25,[`${t}-tab`]:{padding:`${e.paddingXS}px ${e.paddingLG}px`,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:`${e.margin}px 0 0 0`},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},Ebe=e=>{const{componentCls:t,padding:n}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXS}px 0`,fontSize:e.fontSize}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${n}px 0`,fontSize:e.fontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXXS*1.5}px ${n}px`}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXS}px ${n}px ${e.paddingXXS*1.5}px`}}}}}},Fbe=e=>{const{componentCls:t,tabsActiveColor:n,tabsHoverColor:r,iconCls:i,tabsHorizontalGutter:o}=e,A=`${t}-tab`;return{[A]:{position:"relative",display:"inline-flex",alignItems:"center",padding:`${e.paddingSM}px 0`,fontSize:`${e.fontSize}px`,background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":V({"&:focus:not(:focus-visible), &:active":{color:n}},df(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${A}-active ${A}-btn`]:{color:e.colorPrimary,textShadow:e.tabsActiveTextShadow},[`&${A}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${A}-disabled ${A}-btn, &${A}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${A}-remove ${i}`]:{margin:0},[i]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${A} + ${A}`]:{margin:{_skip_check_:!0,value:`0 0 0 ${o}px`}}}},Ibe=e=>{const{componentCls:t,tabsHorizontalGutter:n,iconCls:r,tabsCardGutter:i}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:`0 0 0 ${n}px`},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${e.marginSM}px`}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${e.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:`${i}px`},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},_be=e=>{const{componentCls:t,tabsCardHorizontalPadding:n,tabsCardHeight:r,tabsCardGutter:i,tabsHoverColor:o,tabsActiveColor:A,colorSplit:a}=e;return{[t]:V(V(V(V({},qn(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:V({minWidth:`${r}px`,marginLeft:{_skip_check_:!0,value:`${i}px`},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} ${a}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:o},"&:active, &:focus:not(:focus-visible)":{color:A}},df(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.colorPrimary,pointerEvents:"none"}}),Fbe(e)),{[`${t}-content`]:{position:"relative",display:"flex",width:"100%","&-animated":{transition:"margin 0.3s"}},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none",flex:"none",width:"100%"}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},Obe=or("Tabs",e=>{const t=e.controlHeightLG,n=_n(e,{tabsHoverColor:e.colorPrimaryHover,tabsActiveColor:e.colorPrimaryActive,tabsCardHorizontalPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,tabsCardHeight:t,tabsCardGutter:e.marginXXS/2,tabsHorizontalGutter:32,tabsCardHeadBackground:e.colorFillAlter,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120});return[Ebe(n),Ibe(n),Sbe(n),xbe(n),Cbe(n),_be(n),Bbe(n)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));let vD=0;const cq=()=>({prefixCls:{type:String},id:{type:String},popupClassName:String,getPopupContainer:lt(),activeKey:{type:[String,Number]},defaultActiveKey:{type:[String,Number]},direction:yn(),animated:Hn([Boolean,Object]),renderTabBar:lt(),tabBarGutter:{type:Number},tabBarStyle:qt(),tabPosition:yn(),destroyInactiveTabPane:Qt(),hideAdd:Boolean,type:yn(),size:yn(),centered:Boolean,onEdit:lt(),onChange:lt(),onTabClick:lt(),onTabScroll:lt(),"onUpdate:activeKey":lt(),locale:qt(),onPrevClick:lt(),onNextClick:lt(),tabBarExtraContent:He.any});function Tbe(e){return e.map(t=>{if(eA(t)){const n=V({},t.props||{});for(const[d,f]of Object.entries(n))delete n[d],n[gv(d)]=f;const r=t.children||{},i=t.key!==void 0?t.key:void 0,{tab:o=r.tab,disabled:A,forceRender:a,closable:s,animated:u,active:l,destroyInactiveTabPane:c}=n;return V(V({key:i},n),{node:t,closeIcon:r.closeIcon,tab:o,disabled:A===""||A,forceRender:a===""||a,closable:s===""||s,animated:u===""||u,active:l===""||l,destroyInactiveTabPane:c===""||c})}return null}).filter(t=>t)}const Ube=Je({compatConfig:{MODE:3},name:"InternalTabs",inheritAttrs:!1,props:V(V({},lr(cq(),{tabPosition:"top",animated:{inkBar:!0,tabPane:!1}})),{tabs:fr()}),slots:Object,setup(e,t){let{attrs:n,slots:r}=t;Xr(e.onPrevClick===void 0&&e.onNextClick===void 0,"Tabs","`onPrevClick / @prevClick` and `onNextClick / @nextClick` has been removed. Please use `onTabScroll / @tabScroll` instead."),Xr(e.tabBarExtraContent===void 0,"Tabs","`tabBarExtraContent` prop has been removed. Please use `rightExtra` slot instead."),Xr(r.tabBarExtraContent===void 0,"Tabs","`tabBarExtraContent` slot is deprecated. Please use `rightExtra` slot instead.");const{prefixCls:i,direction:o,size:A,rootPrefixCls:a,getPopupContainer:s}=An("tabs",e),[u,l]=Obe(i),c=fe(()=>o.value==="rtl"),d=fe(()=>{const{animated:B,tabPosition:O}=e;return B===!1||["left","right"].includes(O)?{inkBar:!1,tabPane:!1}:B===!0?{inkBar:!0,tabPane:!0}:V({inkBar:!0,tabPane:!1},typeof B=="object"?B:{})}),[f,g]=ir(!1);vn(()=>{g(cO())});const[h,m]=So(()=>{var B;return(B=e.tabs[0])===null||B===void 0?void 0:B.key},{value:fe(()=>e.activeKey),defaultValue:e.defaultActiveKey}),[p,v]=ir(()=>e.tabs.findIndex(B=>B.key===h.value));ln(()=>{var B;let O=e.tabs.findIndex(x=>x.key===h.value);O===-1&&(O=Math.max(0,Math.min(p.value,e.tabs.length-1)),m((B=e.tabs[O])===null||B===void 0?void 0:B.key)),v(O)});const[y,b]=So(null,{value:fe(()=>e.id)}),w=fe(()=>f.value&&!["left","right"].includes(e.tabPosition)?"top":e.tabPosition);vn(()=>{e.id||(b(`rc-tabs-${vD}`),vD+=1)});const C=(B,O)=>{var x,M;(x=e.onTabClick)===null||x===void 0||x.call(e,B,O);const R=B!==h.value;m(B),R&&((M=e.onChange)===null||M===void 0||M.call(e,B))};return hbe({tabs:fe(()=>e.tabs),prefixCls:i}),()=>{const{id:B,type:O,tabBarGutter:x,tabBarStyle:M,locale:R,destroyInactiveTabPane:F,renderTabBar:L=r.renderTabBar,onTabScroll:E,hideAdd:H,centered:X}=e,z={id:y.value,activeKey:h.value,animated:d.value,tabPosition:w.value,rtl:c.value,mobile:f.value};let Z;O==="editable-card"&&(Z={onEdit:(_,Y)=>{let{key:re,event:se}=Y;var ce;(ce=e.onEdit)===null||ce===void 0||ce.call(e,_==="add"?se:re,_)},removeIcon:()=>$(Os,null,null),addIcon:r.addIcon?r.addIcon:()=>$(AT,null,null),showAdd:H!==!0});let q;const te=V(V({},z),{moreTransitionName:`${a.value}-slide-up`,editable:Z,locale:R,tabBarGutter:x,onTabClick:C,onTabScroll:E,style:M,getPopupContainer:s.value,popupClassName:Ze(e.popupClassName,l.value)});L?q=L(V(V({},te),{DefaultTabBar:gD})):q=$(gD,te,WG(r,["moreIcon","leftExtra","rightExtra","tabBarExtraContent"]));const ne=i.value;return u($("div",ye(ye({},n),{},{id:B,class:Ze(ne,`${ne}-${w.value}`,{[l.value]:!0,[`${ne}-${A.value}`]:A.value,[`${ne}-card`]:["card","editable-card"].includes(O),[`${ne}-editable-card`]:O==="editable-card",[`${ne}-centered`]:X,[`${ne}-mobile`]:f.value,[`${ne}-editable`]:O==="editable-card",[`${ne}-rtl`]:c.value},n.class)}),[q,$(ybe,ye(ye({destroyInactiveTabPane:F},z),{},{animated:d.value}),null)]))}}}),Sb=Je({compatConfig:{MODE:3},name:"ATabs",inheritAttrs:!1,props:lr(cq(),{tabPosition:"top",animated:{inkBar:!0,tabPane:!1}}),slots:Object,setup(e,t){let{attrs:n,slots:r,emit:i}=t;const o=A=>{i("update:activeKey",A),i("change",A)};return()=>{var A;const a=Tbe(ui((A=r.default)===null||A===void 0?void 0:A.call(r)));return $(Ube,ye(ye(ye({},_r(e,["onUpdate:activeKey"])),n),{},{onChange:o,tabs:a}),r)}}}),Qbe=()=>({tab:He.any,disabled:{type:Boolean},forceRender:{type:Boolean},closable:{type:Boolean},animated:{type:Boolean},active:{type:Boolean},destroyInactiveTabPane:{type:Boolean},prefixCls:{type:String},tabKey:{type:[String,Number]},id:{type:String}}),cI=Je({compatConfig:{MODE:3},name:"ATabPane",inheritAttrs:!1,__ANT_TAB_PANE:!0,props:Qbe(),slots:Object,setup(e,t){let{attrs:n,slots:r}=t;const i=qe(e.forceRender);st([()=>e.active,()=>e.destroyInactiveTabPane],()=>{e.active?i.value=!0:e.destroyInactiveTabPane&&(i.value=!1)},{immediate:!0});const o=fe(()=>e.active?{}:e.animated?{visibility:"hidden",height:0,overflowY:"hidden"}:{display:"none"});return()=>{var A;const{prefixCls:a,forceRender:s,id:u,active:l,tabKey:c}=e;return $("div",{id:u&&`${u}-panel-${c}`,role:"tabpanel",tabindex:l?0:-1,"aria-labelledby":u&&`${u}-tab-${c}`,"aria-hidden":!l,style:[o.value,n.style],class:[`${a}-tabpane`,l&&`${a}-tabpane-active`,n.class]},[(l||i.value||s)&&((A=r.default)===null||A===void 0?void 0:A.call(r))])}}});Sb.TabPane=cI;Sb.install=function(e){return e.component(Sb.name,Sb),e.component(cI.name,cI),e};const fq=Symbol("TreeContextKey"),Pbe=Je({compatConfig:{MODE:3},name:"TreeContext",props:{value:{type:Object}},setup(e,t){let{slots:n}=t;return dn(fq,fe(()=>e.value)),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),aT=()=>tn(fq,fe(()=>({}))),dq=Symbol("KeysStateKey"),Lbe=e=>{dn(dq,e)},hq=()=>tn(dq,{expandedKeys:Me([]),selectedKeys:Me([]),loadedKeys:Me([]),loadingKeys:Me([]),checkedKeys:Me([]),halfCheckedKeys:Me([]),expandedKeysSet:fe(()=>new Set),selectedKeysSet:fe(()=>new Set),loadedKeysSet:fe(()=>new Set),loadingKeysSet:fe(()=>new Set),checkedKeysSet:fe(()=>new Set),halfCheckedKeysSet:fe(()=>new Set),flattenNodes:Me([])}),Dbe=e=>{let{prefixCls:t,level:n,isStart:r,isEnd:i}=e;const o=`${t}-indent-unit`,A=[];for(let a=0;a<n;a+=1)A.push($("span",{key:a,class:{[o]:!0,[`${o}-start`]:r[a],[`${o}-end`]:i[a]}},null));return $("span",{"aria-hidden":"true",class:`${t}-indent`},[A])},pq={eventKey:[String,Number],prefixCls:String,title:He.any,data:{type:Object,default:void 0},parent:{type:Object,default:void 0},isStart:{type:Array},isEnd:{type:Array},active:{type:Boolean,default:void 0},onMousemove:{type:Function},isLeaf:{type:Boolean,default:void 0},checkable:{type:Boolean,default:void 0},selectable:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},disableCheckbox:{type:Boolean,default:void 0},icon:He.any,switcherIcon:He.any,domRef:{type:Function}},Rbe={prefixCls:{type:String},motion:{type:Object},focusable:{type:Boolean},activeItem:{type:Object},focused:{type:Boolean},tabindex:{type:Number},checkable:{type:Boolean},selectable:{type:Boolean},disabled:{type:Boolean},height:{type:Number},itemHeight:{type:Number},virtual:{type:Boolean},onScroll:{type:Function},onKeydown:{type:Function},onFocus:{type:Function},onBlur:{type:Function},onActiveChange:{type:Function},onContextmenu:{type:Function},onListChangeStart:{type:Function},onListChangeEnd:{type:Function}},gq=()=>({prefixCls:String,focusable:{type:Boolean,default:void 0},activeKey:[Number,String],tabindex:Number,children:He.any,treeData:{type:Array},fieldNames:{type:Object},showLine:{type:[Boolean,Object],default:void 0},showIcon:{type:Boolean,default:void 0},icon:He.any,selectable:{type:Boolean,default:void 0},expandAction:[String,Boolean],disabled:{type:Boolean,default:void 0},multiple:{type:Boolean,default:void 0},checkable:{type:Boolean,default:void 0},checkStrictly:{type:Boolean,default:void 0},draggable:{type:[Function,Boolean]},defaultExpandParent:{type:Boolean,default:void 0},autoExpandParent:{type:Boolean,default:void 0},defaultExpandAll:{type:Boolean,default:void 0},defaultExpandedKeys:{type:Array},expandedKeys:{type:Array},defaultCheckedKeys:{type:Array},checkedKeys:{type:[Object,Array]},defaultSelectedKeys:{type:Array},selectedKeys:{type:Array},allowDrop:{type:Function},dropIndicatorRender:{type:Function},onFocus:{type:Function},onBlur:{type:Function},onKeydown:{type:Function},onContextmenu:{type:Function},onClick:{type:Function},onDblclick:{type:Function},onScroll:{type:Function},onExpand:{type:Function},onCheck:{type:Function},onSelect:{type:Function},onLoad:{type:Function},loadData:{type:Function},loadedKeys:{type:Array},onMouseenter:{type:Function},onMouseleave:{type:Function},onRightClick:{type:Function},onDragstart:{type:Function},onDragenter:{type:Function},onDragover:{type:Function},onDragleave:{type:Function},onDragend:{type:Function},onDrop:{type:Function},onActiveChange:{type:Function},filterTreeNode:{type:Function},motion:He.any,switcherIcon:He.any,height:Number,itemHeight:Number,virtual:{type:Boolean,default:void 0},direction:{type:String},rootClassName:String,rootStyle:Object});var $be=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const yD="open",bD="close",Nbe="---",fI=Je({compatConfig:{MODE:3},name:"ATreeNode",inheritAttrs:!1,props:pq,isTreeNode:1,setup(e,t){let{attrs:n,slots:r,expose:i}=t;"slots"in e.data,`${Object.keys(e.data.slots||{}).map(we=>"`v-slot:"+we+"` ")}`;const o=Me(!1),A=aT(),{expandedKeysSet:a,selectedKeysSet:s,loadedKeysSet:u,loadingKeysSet:l,checkedKeysSet:c,halfCheckedKeysSet:d}=hq(),{dragOverNodeKey:f,dropPosition:g,keyEntities:h}=A.value,m=fe(()=>Eb(e.eventKey,{expandedKeysSet:a.value,selectedKeysSet:s.value,loadedKeysSet:u.value,loadingKeysSet:l.value,checkedKeysSet:c.value,halfCheckedKeysSet:d.value,dragOverNodeKey:f,dropPosition:g,keyEntities:h})),p=Oa(()=>m.value.expanded),v=Oa(()=>m.value.selected),y=Oa(()=>m.value.checked),b=Oa(()=>m.value.loaded),w=Oa(()=>m.value.loading),C=Oa(()=>m.value.halfChecked),B=Oa(()=>m.value.dragOver),O=Oa(()=>m.value.dragOverGapTop),x=Oa(()=>m.value.dragOverGapBottom),M=Oa(()=>m.value.pos),R=Me(),F=fe(()=>{const{eventKey:we}=e,{keyEntities:xe}=A.value,{children:Ue}=xe[we]||{};return!!(Ue||[]).length}),L=fe(()=>{const{isLeaf:we}=e,{loadData:xe}=A.value,Ue=F.value;return we===!1?!1:we||!xe&&!Ue||xe&&b.value&&!Ue}),E=fe(()=>L.value?null:p.value?yD:bD),H=fe(()=>{const{disabled:we}=e,{disabled:xe}=A.value;return!!(xe||we)}),X=fe(()=>{const{checkable:we}=e,{checkable:xe}=A.value;return!xe||we===!1?!1:xe}),z=fe(()=>{const{selectable:we}=e,{selectable:xe}=A.value;return typeof we=="boolean"?we:xe}),Z=fe(()=>{const{data:we,active:xe,checkable:Ue,disableCheckbox:ke,disabled:et,selectable:De}=e;return V(V({active:xe,checkable:Ue,disableCheckbox:ke,disabled:et,selectable:De},we),{dataRef:we,data:we,isLeaf:L.value,checked:y.value,expanded:p.value,loading:w.value,selected:v.value,halfChecked:C.value})}),q=tA(),te=fe(()=>{const{eventKey:we}=e,{keyEntities:xe}=A.value,{parent:Ue}=xe[we]||{};return V(V({},Fb(V({},e,m.value))),{parent:Ue})}),ne=Ir({eventData:te,eventKey:fe(()=>e.eventKey),selectHandle:R,pos:M,key:q.vnode.key});i(ne);const _=we=>{const{onNodeDoubleClick:xe}=A.value;xe(we,te.value)},Y=we=>{if(H.value)return;const{onNodeSelect:xe}=A.value;we.preventDefault(),xe(we,te.value)},re=we=>{if(H.value)return;const{disableCheckbox:xe}=e,{onNodeCheck:Ue}=A.value;if(!X.value||xe)return;we.preventDefault();const ke=!y.value;Ue(we,te.value,ke)},se=we=>{const{onNodeClick:xe}=A.value;xe(we,te.value),z.value?Y(we):re(we)},ce=we=>{const{onNodeMouseEnter:xe}=A.value;xe(we,te.value)},N=we=>{const{onNodeMouseLeave:xe}=A.value;xe(we,te.value)},K=we=>{const{onNodeContextMenu:xe}=A.value;xe(we,te.value)},Ae=we=>{const{onNodeDragStart:xe}=A.value;we.stopPropagation(),o.value=!0,xe(we,ne);try{we.dataTransfer.setData("text/plain","")}catch{}},ae=we=>{const{onNodeDragEnter:xe}=A.value;we.preventDefault(),we.stopPropagation(),xe(we,ne)},ie=we=>{const{onNodeDragOver:xe}=A.value;we.preventDefault(),we.stopPropagation(),xe(we,ne)},J=we=>{const{onNodeDragLeave:xe}=A.value;we.stopPropagation(),xe(we,ne)},ue=we=>{const{onNodeDragEnd:xe}=A.value;we.stopPropagation(),o.value=!1,xe(we,ne)},G=we=>{const{onNodeDrop:xe}=A.value;we.preventDefault(),we.stopPropagation(),o.value=!1,xe(we,ne)},pe=we=>{const{onNodeExpand:xe}=A.value;w.value||xe(we,te.value)},k=()=>{const{data:we}=e,{draggable:xe}=A.value;return!!(xe&&(!xe.nodeDraggable||xe.nodeDraggable(we)))},P=()=>{const{draggable:we,prefixCls:xe}=A.value;return we&&(we!=null&&we.icon)?$("span",{class:`${xe}-draggable-icon`},[we.icon]):null},U=()=>{var we,xe,Ue;const{switcherIcon:ke=r.switcherIcon||((we=A.value.slots)===null||we===void 0?void 0:we[(Ue=(xe=e.data)===null||xe===void 0?void 0:xe.slots)===null||Ue===void 0?void 0:Ue.switcherIcon])}=e,{switcherIcon:et}=A.value,De=ke||et;return typeof De=="function"?De(Z.value):De},W=()=>{const{loadData:we,onNodeLoad:xe}=A.value;w.value||we&&p.value&&!L.value&&!F.value&&!b.value&&xe(te.value)};vn(()=>{W()}),Va(()=>{W()});const de=()=>{const{prefixCls:we}=A.value,xe=U();if(L.value)return xe!==!1?$("span",{class:Ze(`${we}-switcher`,`${we}-switcher-noop`)},[xe]):null;const Ue=Ze(`${we}-switcher`,`${we}-switcher_${p.value?yD:bD}`);return xe!==!1?$("span",{onClick:pe,class:Ue},[xe]):null},me=()=>{var we,xe;const{disableCheckbox:Ue}=e,{prefixCls:ke}=A.value,et=H.value;return X.value?$("span",{class:Ze(`${ke}-checkbox`,y.value&&`${ke}-checkbox-checked`,!y.value&&C.value&&`${ke}-checkbox-indeterminate`,(et||Ue)&&`${ke}-checkbox-disabled`),onClick:re},[(xe=(we=A.value).customCheckable)===null||xe===void 0?void 0:xe.call(we)]):null},ve=()=>{const{prefixCls:we}=A.value;return $("span",{class:Ze(`${we}-iconEle`,`${we}-icon__${E.value||"docu"}`,w.value&&`${we}-icon_loading`)},null)},be=()=>{const{disabled:we,eventKey:xe}=e,{draggable:Ue,dropLevelOffset:ke,dropPosition:et,prefixCls:De,indent:_e,dropIndicatorRender:Re,dragOverNodeKey:Ne,direction:ot}=A.value;return!we&&Ue!==!1&&Ne===xe?Re({dropPosition:et,dropLevelOffset:ke,indent:_e,prefixCls:De,direction:ot}):null},Te=()=>{var we,xe,Ue,ke,et,De;const{icon:_e=r.icon,data:Re}=e,Ne=r.title||((we=A.value.slots)===null||we===void 0?void 0:we[(Ue=(xe=e.data)===null||xe===void 0?void 0:xe.slots)===null||Ue===void 0?void 0:Ue.title])||((ke=A.value.slots)===null||ke===void 0?void 0:ke.title)||e.title,{prefixCls:ot,showIcon:rt,icon:nt,loadData:Bt}=A.value,Et=H.value,Xt=`${ot}-node-content-wrapper`;let Ut;if(rt){const Ct=_e||((et=A.value.slots)===null||et===void 0?void 0:et[(De=Re==null?void 0:Re.slots)===null||De===void 0?void 0:De.icon])||nt;Ut=Ct?$("span",{class:Ze(`${ot}-iconEle`,`${ot}-icon__customize`)},[typeof Ct=="function"?Ct(Z.value):Ct]):ve()}else Bt&&w.value&&(Ut=ve());let $t;typeof Ne=="function"?$t=Ne(Z.value):$t=Ne,$t=$t===void 0?Nbe:$t;const xt=$("span",{class:`${ot}-title`},[$t]);return $("span",{ref:R,title:typeof Ne=="string"?Ne:"",class:Ze(`${Xt}`,`${Xt}-${E.value||"normal"}`,!Et&&(v.value||o.value)&&`${ot}-node-selected`),onMouseenter:ce,onMouseleave:N,onContextmenu:K,onClick:se,onDblclick:_},[Ut,xt,be()])};return()=>{const we=V(V({},e),n),{eventKey:xe,isLeaf:Ue,isStart:ke,isEnd:et,domRef:De,active:_e,data:Re,onMousemove:Ne,selectable:ot}=we,rt=$be(we,["eventKey","isLeaf","isStart","isEnd","domRef","active","data","onMousemove","selectable"]),{prefixCls:nt,filterTreeNode:Bt,keyEntities:Et,dropContainerKey:Xt,dropTargetKey:Ut,draggingNodeKey:$t}=A.value,xt=H.value,Ct=xf(rt,{aria:!0,data:!0}),{level:ht}=Et[xe]||{},Tt=et[et.length-1],Yt=k(),nn=!xt&&Yt,zn=$t===xe,ur=ot!==void 0?{"aria-selected":!!ot}:void 0;return $("div",ye(ye({ref:De,class:Ze(n.class,`${nt}-treenode`,{[`${nt}-treenode-disabled`]:xt,[`${nt}-treenode-switcher-${p.value?"open":"close"}`]:!Ue,[`${nt}-treenode-checkbox-checked`]:y.value,[`${nt}-treenode-checkbox-indeterminate`]:C.value,[`${nt}-treenode-selected`]:v.value,[`${nt}-treenode-loading`]:w.value,[`${nt}-treenode-active`]:_e,[`${nt}-treenode-leaf-last`]:Tt,[`${nt}-treenode-draggable`]:nn,dragging:zn,"drop-target":Ut===xe,"drop-container":Xt===xe,"drag-over":!xt&&B.value,"drag-over-gap-top":!xt&&O.value,"drag-over-gap-bottom":!xt&&x.value,"filter-node":Bt&&Bt(te.value)}),style:n.style,draggable:nn,"aria-grabbed":zn,onDragstart:nn?Ae:void 0,onDragenter:Yt?ae:void 0,onDragover:Yt?ie:void 0,onDragleave:Yt?J:void 0,onDrop:Yt?G:void 0,onDragend:Yt?ue:void 0,onMousemove:Ne},ur),Ct),[$(Dbe,{prefixCls:nt,level:ht,isStart:ke,isEnd:et},null),P(),de(),me(),Te()])}}});function fl(e,t){if(!e)return[];const n=e.slice(),r=n.indexOf(t);return r>=0&&n.splice(r,1),n}function Su(e,t){const n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function sT(e){return e.split("-")}function mq(e,t){return`${e}-${t}`}function Hbe(e){return e&&e.type&&e.type.isTreeNode}function Mbe(e,t){const n=[],r=t[e];function i(){(arguments.length>0&&arguments[0]!==void 0?arguments[0]:[]).forEach(A=>{let{key:a,children:s}=A;n.push(a),i(s)})}return i(r.children),n}function kbe(e){if(e.parent){const t=sT(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function jbe(e){const t=sT(e.pos);return Number(t[t.length-1])===0}function wD(e,t,n,r,i,o,A,a,s,u){var l;const{clientX:c,clientY:d}=e,{top:f,height:g}=e.target.getBoundingClientRect(),m=((u==="rtl"?-1:1)*(((i==null?void 0:i.x)||0)-c)-12)/r;let p=a[n.eventKey];if(d<f+g/2){const M=A.findIndex(L=>L.key===p.key),R=M<=0?0:M-1,F=A[R].key;p=a[F]}const v=p.key,y=p,b=p.key;let w=0,C=0;if(!s.has(v))for(let M=0;M<m&&kbe(p);M+=1)p=p.parent,C+=1;const B=t.eventData,O=p.node;let x=!0;return jbe(p)&&p.level===0&&d<f+g/2&&o({dragNode:B,dropNode:O,dropPosition:-1})&&p.key===n.eventKey?w=-1:(y.children||[]).length&&s.has(b)?o({dragNode:B,dropNode:O,dropPosition:0})?w=0:x=!1:C===0?m>-1.5?o({dragNode:B,dropNode:O,dropPosition:1})?w=1:x=!1:o({dragNode:B,dropNode:O,dropPosition:0})?w=0:o({dragNode:B,dropNode:O,dropPosition:1})?w=1:x=!1:o({dragNode:B,dropNode:O,dropPosition:1})?w=1:x=!1,{dropPosition:w,dropLevelOffset:C,dropTargetKey:p.key,dropTargetPos:p.pos,dragOverNodeKey:b,dropContainerKey:w===0?null:((l=p.parent)===null||l===void 0?void 0:l.key)||null,dropAllowed:x}}function BD(e,t){if(!e)return;const{multiple:n}=t;return n?e.slice():e.length?[e[0]]:e}function Fx(e){if(!e)return null;let t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(typeof e=="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return null;return t}function dI(e,t){const n=new Set;function r(i){if(n.has(i))return;const o=t[i];if(!o)return;n.add(i);const{parent:A,node:a}=o;a.disabled||A&&r(A.key)}return(e||[]).forEach(i=>{r(i)}),[...n]}var Kbe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function Iv(e,t){return e??t}function qB(e){const{title:t,_title:n,key:r,children:i}=e||{},o=t||"title";return{title:o,_title:n||[o],key:r||"key",children:i||"children"}}function hI(e){function t(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return ho(n).map(i=>{var o,A,a,s;if(!Hbe(i))return null;const u=i.children||{},l=i.key,c={};for(const[M,R]of Object.entries(i.props))c[gv(M)]=R;const{isLeaf:d,checkable:f,selectable:g,disabled:h,disableCheckbox:m}=c,p={isLeaf:d||d===""||void 0,checkable:f||f===""||void 0,selectable:g||g===""||void 0,disabled:h||h===""||void 0,disableCheckbox:m||m===""||void 0},v=V(V({},c),p),{title:y=(o=u.title)===null||o===void 0?void 0:o.call(u,v),icon:b=(A=u.icon)===null||A===void 0?void 0:A.call(u,v),switcherIcon:w=(a=u.switcherIcon)===null||a===void 0?void 0:a.call(u,v)}=c,C=Kbe(c,["title","icon","switcherIcon"]),B=(s=u.default)===null||s===void 0?void 0:s.call(u),O=V(V(V({},C),{title:y,icon:b,switcherIcon:w,key:l,isLeaf:d}),p),x=t(B);return x.length&&(O.children=x),O})}return t(e)}function Vbe(e,t,n){const{_title:r,key:i,children:o}=qB(n),A=new Set(t===!0?[]:t),a=[];function s(u){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return u.map((c,d)=>{const f=mq(l?l.pos:"0",d),g=Iv(c[i],f);let h;for(let p=0;p<r.length;p+=1){const v=r[p];if(c[v]!==void 0){h=c[v];break}}const m=V(V({},_r(c,[...r,i,o])),{title:h,key:g,parent:l,pos:f,children:null,data:c,isStart:[...l?l.isStart:[],d===0],isEnd:[...l?l.isEnd:[],d===u.length-1]});return a.push(m),t===!0||A.has(g)?m.children=s(c[o]||[],m):m.children=[],m})}return s(e),a}function zbe(e,t,n){let r={};typeof n=="object"?r=n:r={externalGetKey:n},r=r||{};const{childrenPropName:i,externalGetKey:o,fieldNames:A}=r,{key:a,children:s}=qB(A),u=i||s;let l;o?typeof o=="string"?l=d=>d[o]:typeof o=="function"&&(l=d=>o(d)):l=(d,f)=>Iv(d[a],f);function c(d,f,g,h){const m=d?d[u]:e,p=d?mq(g.pos,f):"0",v=d?[...h,d]:[];if(d){const y=l(d,p),b={node:d,index:f,pos:p,key:y,parentPos:g.node?g.pos:null,level:g.level+1,nodes:v};t(b)}m&&m.forEach((y,b)=>{c(y,b,{node:d,pos:p,level:g?g.level+1:-1},v)})}c(null)}function lT(e){let{initWrapper:t,processEntity:n,onProcessFinished:r,externalGetKey:i,childrenPropName:o,fieldNames:A}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0;const s=i||a,u={},l={};let c={posEntities:u,keyEntities:l};return t&&(c=t(c)||c),zbe(e,d=>{const{node:f,index:g,pos:h,key:m,parentPos:p,level:v,nodes:y}=d,b={node:f,nodes:y,index:g,key:m,pos:h,level:v},w=Iv(m,h);u[h]=b,l[w]=b,b.parent=u[p],b.parent&&(b.parent.children=b.parent.children||[],b.parent.children.push(b)),n&&n(b,c)},{externalGetKey:s,childrenPropName:o,fieldNames:A}),r&&r(c),c}function Eb(e,t){let{expandedKeysSet:n,selectedKeysSet:r,loadedKeysSet:i,loadingKeysSet:o,checkedKeysSet:A,halfCheckedKeysSet:a,dragOverNodeKey:s,dropPosition:u,keyEntities:l}=t;const c=l[e];return{eventKey:e,expanded:n.has(e),selected:r.has(e),loaded:i.has(e),loading:o.has(e),checked:A.has(e),halfChecked:a.has(e),pos:String(c?c.pos:""),parent:c.parent,dragOver:s===e&&u===0,dragOverGapTop:s===e&&u===-1,dragOverGapBottom:s===e&&u===1}}function Fb(e){const{data:t,expanded:n,selected:r,checked:i,loaded:o,loading:A,halfChecked:a,dragOver:s,dragOverGapTop:u,dragOverGapBottom:l,pos:c,active:d,eventKey:f}=e,g=V(V({dataRef:t},t),{expanded:n,selected:r,checked:i,loaded:o,loading:A,halfChecked:a,dragOver:s,dragOverGapTop:u,dragOverGapBottom:l,pos:c,active:d,eventKey:f,key:f});return"props"in g||Object.defineProperty(g,"props",{get(){return e}}),g}function vq(e,t){const n=new Set;return e.forEach(r=>{t.has(r)||n.add(r)}),n}function Gbe(e){const{disabled:t,disableCheckbox:n,checkable:r}=e||{};return!!(t||n)||r===!1}function Wbe(e,t,n,r){const i=new Set(e),o=new Set;for(let a=0;a<=n;a+=1)(t.get(a)||new Set).forEach(u=>{const{key:l,node:c,children:d=[]}=u;i.has(l)&&!r(c)&&d.filter(f=>!r(f.node)).forEach(f=>{i.add(f.key)})});const A=new Set;for(let a=n;a>=0;a-=1)(t.get(a)||new Set).forEach(u=>{const{parent:l,node:c}=u;if(r(c)||!u.parent||A.has(u.parent.key))return;if(r(u.parent.node)){A.add(l.key);return}let d=!0,f=!1;(l.children||[]).filter(g=>!r(g.node)).forEach(g=>{let{key:h}=g;const m=i.has(h);d&&!m&&(d=!1),!f&&(m||o.has(h))&&(f=!0)}),d&&i.add(l.key),f&&o.add(l.key),A.add(l.key)});return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(vq(o,i))}}function qbe(e,t,n,r,i){const o=new Set(e);let A=new Set(t);for(let s=0;s<=r;s+=1)(n.get(s)||new Set).forEach(l=>{const{key:c,node:d,children:f=[]}=l;!o.has(c)&&!A.has(c)&&!i(d)&&f.filter(g=>!i(g.node)).forEach(g=>{o.delete(g.key)})});A=new Set;const a=new Set;for(let s=r;s>=0;s-=1)(n.get(s)||new Set).forEach(l=>{const{parent:c,node:d}=l;if(i(d)||!l.parent||a.has(l.parent.key))return;if(i(l.parent.node)){a.add(c.key);return}let f=!0,g=!1;(c.children||[]).filter(h=>!i(h.node)).forEach(h=>{let{key:m}=h;const p=o.has(m);f&&!p&&(f=!1),!g&&(p||A.has(m))&&(g=!0)}),f||o.delete(c.key),g&&A.add(c.key),a.add(c.key)});return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(vq(A,o))}}function Xp(e,t,n,r,i,o){let A;o?A=o:A=Gbe;const a=new Set(e.filter(u=>!!n[u]));let s;return t===!0?s=Wbe(a,i,r,A):s=qbe(a,t.halfCheckedKeys,i,r,A),s}function yq(e){const t=qe(0),n=Me();return ln(()=>{const r=new Map;let i=0;const o=e.value||{};for(const A in o)if(Object.prototype.hasOwnProperty.call(o,A)){const a=o[A],{level:s}=a;let u=r.get(s);u||(u=new Set,r.set(s,u)),u.add(a),i=Math.max(i,s)}t.value=i,n.value=r}),{maxLevel:t,levelEntities:n}}var Xbe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};function CD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){Ybe(e,i,n[i])})}return e}function Ybe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gg=function(t,n){var r=CD({},t,n.attrs);return $(cn,CD({},r,{icon:Xbe}),null)};gg.displayName="LeftOutlined";gg.inheritAttrs=!1;const bq=()=>$A()&&window.document.documentElement,wq=e=>{if($A()&&window.document.documentElement){const t=Array.isArray(e)?e:[e],{documentElement:n}=window.document;return t.some(r=>r in n.style)}return!1},Jbe=(e,t)=>{if(!wq(e))return!1;const n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r};function Zbe(e,t){return!Array.isArray(e)&&t!==void 0?Jbe(e,t):wq(e)}let ay;const ewe=()=>{if(!bq())return!1;if(ay!==void 0)return ay;const e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),ay=e.scrollHeight===1,document.body.removeChild(e),ay},twe=()=>{const e=Me(!1);return vn(()=>{e.value=ewe()}),e},Bq=Symbol("rowContextKey"),nwe=e=>{dn(Bq,e)},rwe=()=>tn(Bq,{gutter:fe(()=>{}),wrap:fe(()=>{}),supportFlexGap:fe(()=>{})}),iwe=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around ":{justifyContent:"space-around"},"&-space-evenly ":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},owe=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},Awe=(e,t)=>{const{componentCls:n,gridColumns:r}=e,i={};for(let o=r;o>=0;o--)o===0?(i[`${n}${t}-${o}`]={display:"none"},i[`${n}-push-${o}`]={insetInlineStart:"auto"},i[`${n}-pull-${o}`]={insetInlineEnd:"auto"},i[`${n}${t}-push-${o}`]={insetInlineStart:"auto"},i[`${n}${t}-pull-${o}`]={insetInlineEnd:"auto"},i[`${n}${t}-offset-${o}`]={marginInlineEnd:0},i[`${n}${t}-order-${o}`]={order:0}):(i[`${n}${t}-${o}`]={display:"block",flex:`0 0 ${o/r*100}%`,maxWidth:`${o/r*100}%`},i[`${n}${t}-push-${o}`]={insetInlineStart:`${o/r*100}%`},i[`${n}${t}-pull-${o}`]={insetInlineEnd:`${o/r*100}%`},i[`${n}${t}-offset-${o}`]={marginInlineStart:`${o/r*100}%`},i[`${n}${t}-order-${o}`]={order:o});return i},pI=(e,t)=>Awe(e,t),awe=(e,t,n)=>({[`@media (min-width: ${t}px)`]:V({},pI(e,n))}),swe=or("Grid",e=>[iwe(e)]),lwe=or("Grid",e=>{const t=_n(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[owe(t),pI(t,""),pI(t,"-xs"),Object.keys(n).map(r=>awe(t,n[r],r)).reduce((r,i)=>V(V({},r),i),{})]}),uwe=()=>({align:Hn([String,Object]),justify:Hn([String,Object]),prefixCls:String,gutter:Hn([Number,Array,Object],0),wrap:{type:Boolean,default:void 0}}),Cq=Je({compatConfig:{MODE:3},name:"ARow",inheritAttrs:!1,props:uwe(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=An("row",e),[A,a]=swe(i);let s;const u=XG(),l=qe({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),c=qe({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),d=y=>fe(()=>{if(typeof e[y]=="string")return e[y];if(typeof e[y]!="object")return"";for(let b=0;b<K0.length;b++){const w=K0[b];if(!c.value[w])continue;const C=e[y][w];if(C!==void 0)return C}return""}),f=d("align"),g=d("justify"),h=twe();vn(()=>{s=u.value.subscribe(y=>{c.value=y;const b=e.gutter||0;(!Array.isArray(b)&&typeof b=="object"||Array.isArray(b)&&(typeof b[0]=="object"||typeof b[1]=="object"))&&(l.value=y)})}),En(()=>{u.value.unsubscribe(s)});const m=fe(()=>{const y=[void 0,void 0],{gutter:b=0}=e;return(Array.isArray(b)?b:[b,void 0]).forEach((C,B)=>{if(typeof C=="object")for(let O=0;O<K0.length;O++){const x=K0[O];if(l.value[x]&&C[x]!==void 0){y[B]=C[x];break}}else y[B]=C}),y});nwe({gutter:m,supportFlexGap:h,wrap:fe(()=>e.wrap)});const p=fe(()=>Ze(i.value,{[`${i.value}-no-wrap`]:e.wrap===!1,[`${i.value}-${g.value}`]:g.value,[`${i.value}-${f.value}`]:f.value,[`${i.value}-rtl`]:o.value==="rtl"},r.class,a.value)),v=fe(()=>{const y=m.value,b={},w=y[0]!=null&&y[0]>0?`${y[0]/-2}px`:void 0,C=y[1]!=null&&y[1]>0?`${y[1]/-2}px`:void 0;return w&&(b.marginLeft=w,b.marginRight=w),h.value?b.rowGap=`${y[1]}px`:C&&(b.marginTop=C,b.marginBottom=C),b});return()=>{var y;return A($("div",ye(ye({},r),{},{class:p.value,style:V(V({},v.value),r.style)}),[(y=n.default)===null||y===void 0?void 0:y.call(n)]))}}});function Ed(){return Ed=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ed.apply(this,arguments)}function cwe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ym(e,t)}function gI(e){return gI=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},gI(e)}function Ym(e,t){return Ym=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Ym(e,t)}function fwe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ib(e,t,n){return fwe()?Ib=Reflect.construct.bind():Ib=function(i,o,A){var a=[null];a.push.apply(a,o);var s=Function.bind.apply(i,a),u=new s;return A&&Ym(u,A.prototype),u},Ib.apply(null,arguments)}function dwe(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function mI(e){var t=typeof Map=="function"?new Map:void 0;return mI=function(r){if(r===null||!dwe(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return Ib(r,arguments,gI(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Ym(i,r)},mI(e)}var hwe=/%[sdj%]/g,pwe=function(){};function vI(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function aa(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0,o=n.length;if(typeof e=="function")return e.apply(null,n);if(typeof e=="string"){var A=e.replace(hwe,function(a){if(a==="%%")return"%";if(i>=o)return a;switch(a){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch{return"[Circular]"}break;default:return a}});return A}return e}function gwe(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function no(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||gwe(t)&&typeof e=="string"&&!e)}function mwe(e,t,n){var r=[],i=0,o=e.length;function A(a){r.push.apply(r,a||[]),i++,i===o&&n(r)}e.forEach(function(a){t(a,A)})}function xD(e,t,n){var r=0,i=e.length;function o(A){if(A&&A.length){n(A);return}var a=r;r=r+1,a<i?t(e[a],o):n([])}o([])}function vwe(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n]||[])}),t}var SD=function(e){cwe(t,e);function t(n,r){var i;return i=e.call(this,"Async Validation Error")||this,i.errors=n,i.fields=r,i}return t}(mI(Error));function ywe(e,t,n,r,i){if(t.first){var o=new Promise(function(d,f){var g=function(p){return r(p),p.length?f(new SD(p,vI(p))):d(i)},h=vwe(e);xD(h,n,g)});return o.catch(function(d){return d}),o}var A=t.firstFields===!0?Object.keys(e):t.firstFields||[],a=Object.keys(e),s=a.length,u=0,l=[],c=new Promise(function(d,f){var g=function(m){if(l.push.apply(l,m),u++,u===s)return r(l),l.length?f(new SD(l,vI(l))):d(i)};a.length||(r(l),d(i)),a.forEach(function(h){var m=e[h];A.indexOf(h)!==-1?xD(m,n,g):mwe(m,n,g)})});return c.catch(function(d){return d}),c}function bwe(e){return!!(e&&e.message!==void 0)}function wwe(e,t){for(var n=e,r=0;r<t.length;r++){if(n==null)return n;n=n[t[r]]}return n}function ED(e,t){return function(n){var r;return e.fullFields?r=wwe(t,e.fullFields):r=t[n.field||e.fullField],bwe(n)?(n.field=n.field||e.fullField,n.fieldValue=r,n):{message:typeof n=="function"?n():n,fieldValue:r,field:n.field||e.fullField}}}function FD(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=Ed({},e[n],r):e[n]=r}}return e}var xq=function(t,n,r,i,o,A){t.required&&(!r.hasOwnProperty(t.field)||no(n,A||t.type))&&i.push(aa(o.messages.required,t.fullField))},Bwe=function(t,n,r,i,o){(/^\s+$/.test(n)||n==="")&&i.push(aa(o.messages.whitespace,t.fullField))},sy,Cwe=function(){if(sy)return sy;var e="[a-fA-F\\d:]",t=function(b){return b&&b.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",i=(`
- (?:
- (?:`+r+":){7}(?:"+r+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
- (?:`+r+":){6}(?:"+n+"|:"+r+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
- (?:`+r+":){5}(?::"+n+"|(?::"+r+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
- (?:`+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
- (?:`+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
- (?:`+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
- (?:`+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
- (?::(?:(?::`+r+"){0,5}:"+n+"|(?::"+r+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
- )(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
- `).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),o=new RegExp("(?:^"+n+"$)|(?:^"+i+"$)"),A=new RegExp("^"+n+"$"),a=new RegExp("^"+i+"$"),s=function(b){return b&&b.exact?o:new RegExp("(?:"+t(b)+n+t(b)+")|(?:"+t(b)+i+t(b)+")","g")};s.v4=function(y){return y&&y.exact?A:new RegExp(""+t(y)+n+t(y),"g")},s.v6=function(y){return y&&y.exact?a:new RegExp(""+t(y)+i+t(y),"g")};var u="(?:(?:[a-z]+:)?//)",l="(?:\\S+(?::\\S*)?@)?",c=s.v4().source,d=s.v6().source,f="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",g="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",h="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",m="(?::\\d{2,5})?",p='(?:[/?#][^\\s"]*)?',v="(?:"+u+"|www\\.)"+l+"(?:localhost|"+c+"|"+d+"|"+f+g+h+")"+m+p;return sy=new RegExp("(?:^"+v+"$)","i"),sy},ID={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},V0={integer:function(t){return V0.number(t)&&parseInt(t,10)===t},float:function(t){return V0.number(t)&&!V0.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!V0.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(ID.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Cwe())},hex:function(t){return typeof t=="string"&&!!t.match(ID.hex)}},xwe=function(t,n,r,i,o){if(t.required&&n===void 0){xq(t,n,r,i,o);return}var A=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;A.indexOf(a)>-1?V0[a](n)||i.push(aa(o.messages.types[a],t.fullField,t.type)):a&&typeof n!==t.type&&i.push(aa(o.messages.types[a],t.fullField,t.type))},Swe=function(t,n,r,i,o){var A=typeof t.len=="number",a=typeof t.min=="number",s=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=n,c=null,d=typeof n=="number",f=typeof n=="string",g=Array.isArray(n);if(d?c="number":f?c="string":g&&(c="array"),!c)return!1;g&&(l=n.length),f&&(l=n.replace(u,"_").length),A?l!==t.len&&i.push(aa(o.messages[c].len,t.fullField,t.len)):a&&!s&&l<t.min?i.push(aa(o.messages[c].min,t.fullField,t.min)):s&&!a&&l>t.max?i.push(aa(o.messages[c].max,t.fullField,t.max)):a&&s&&(l<t.min||l>t.max)&&i.push(aa(o.messages[c].range,t.fullField,t.min,t.max))},fp="enum",Ewe=function(t,n,r,i,o){t[fp]=Array.isArray(t[fp])?t[fp]:[],t[fp].indexOf(n)===-1&&i.push(aa(o.messages[fp],t.fullField,t[fp].join(", ")))},Fwe=function(t,n,r,i,o){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||i.push(aa(o.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var A=new RegExp(t.pattern);A.test(n)||i.push(aa(o.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},Zn={required:xq,whitespace:Bwe,type:xwe,range:Swe,enum:Ewe,pattern:Fwe},Iwe=function(t,n,r,i,o){var A=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(no(n,"string")&&!t.required)return r();Zn.required(t,n,i,A,o,"string"),no(n,"string")||(Zn.type(t,n,i,A,o),Zn.range(t,n,i,A,o),Zn.pattern(t,n,i,A,o),t.whitespace===!0&&Zn.whitespace(t,n,i,A,o))}r(A)},_we=function(t,n,r,i,o){var A=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(no(n)&&!t.required)return r();Zn.required(t,n,i,A,o),n!==void 0&&Zn.type(t,n,i,A,o)}r(A)},Owe=function(t,n,r,i,o){var A=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(n===""&&(n=void 0),no(n)&&!t.required)return r();Zn.required(t,n,i,A,o),n!==void 0&&(Zn.type(t,n,i,A,o),Zn.range(t,n,i,A,o))}r(A)},Twe=function(t,n,r,i,o){var A=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(no(n)&&!t.required)return r();Zn.required(t,n,i,A,o),n!==void 0&&Zn.type(t,n,i,A,o)}r(A)},Uwe=function(t,n,r,i,o){var A=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(no(n)&&!t.required)return r();Zn.required(t,n,i,A,o),no(n)||Zn.type(t,n,i,A,o)}r(A)},Qwe=function(t,n,r,i,o){var A=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(no(n)&&!t.required)return r();Zn.required(t,n,i,A,o),n!==void 0&&(Zn.type(t,n,i,A,o),Zn.range(t,n,i,A,o))}r(A)},Pwe=function(t,n,r,i,o){var A=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(no(n)&&!t.required)return r();Zn.required(t,n,i,A,o),n!==void 0&&(Zn.type(t,n,i,A,o),Zn.range(t,n,i,A,o))}r(A)},Lwe=function(t,n,r,i,o){var A=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(n==null&&!t.required)return r();Zn.required(t,n,i,A,o,"array"),n!=null&&(Zn.type(t,n,i,A,o),Zn.range(t,n,i,A,o))}r(A)},Dwe=function(t,n,r,i,o){var A=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(no(n)&&!t.required)return r();Zn.required(t,n,i,A,o),n!==void 0&&Zn.type(t,n,i,A,o)}r(A)},Rwe="enum",$we=function(t,n,r,i,o){var A=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(no(n)&&!t.required)return r();Zn.required(t,n,i,A,o),n!==void 0&&Zn[Rwe](t,n,i,A,o)}r(A)},Nwe=function(t,n,r,i,o){var A=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(no(n,"string")&&!t.required)return r();Zn.required(t,n,i,A,o),no(n,"string")||Zn.pattern(t,n,i,A,o)}r(A)},Hwe=function(t,n,r,i,o){var A=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(no(n,"date")&&!t.required)return r();if(Zn.required(t,n,i,A,o),!no(n,"date")){var s;n instanceof Date?s=n:s=new Date(n),Zn.type(t,s,i,A,o),s&&Zn.range(t,s.getTime(),i,A,o)}}r(A)},Mwe=function(t,n,r,i,o){var A=[],a=Array.isArray(n)?"array":typeof n;Zn.required(t,n,i,A,o,a),r(A)},Ix=function(t,n,r,i,o){var A=t.type,a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(no(n,A)&&!t.required)return r();Zn.required(t,n,i,a,o,A),no(n,A)||Zn.type(t,n,i,a,o)}r(a)},kwe=function(t,n,r,i,o){var A=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(no(n)&&!t.required)return r();Zn.required(t,n,i,A,o)}r(A)},hm={string:Iwe,method:_we,number:Owe,boolean:Twe,regexp:Uwe,integer:Qwe,float:Pwe,array:Lwe,object:Dwe,enum:$we,pattern:Nwe,date:Hwe,url:Ix,hex:Ix,email:Ix,required:Mwe,any:kwe};function yI(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var bI=yI(),_v=function(){function e(n){this.rules=null,this._messages=bI,this.define(n)}var t=e.prototype;return t.define=function(r){var i=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(o){var A=r[o];i.rules[o]=Array.isArray(A)?A:[A]})},t.messages=function(r){return r&&(this._messages=FD(yI(),r)),this._messages},t.validate=function(r,i,o){var A=this;i===void 0&&(i={}),o===void 0&&(o=function(){});var a=r,s=i,u=o;if(typeof s=="function"&&(u=s,s={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,a),Promise.resolve(a);function l(h){var m=[],p={};function v(b){if(Array.isArray(b)){var w;m=(w=m).concat.apply(w,b)}else m.push(b)}for(var y=0;y<h.length;y++)v(h[y]);m.length?(p=vI(m),u(m,p)):u(null,a)}if(s.messages){var c=this.messages();c===bI&&(c=yI()),FD(c,s.messages),s.messages=c}else s.messages=this.messages();var d={},f=s.keys||Object.keys(this.rules);f.forEach(function(h){var m=A.rules[h],p=a[h];m.forEach(function(v){var y=v;typeof y.transform=="function"&&(a===r&&(a=Ed({},a)),p=a[h]=y.transform(p)),typeof y=="function"?y={validator:y}:y=Ed({},y),y.validator=A.getValidationMethod(y),y.validator&&(y.field=h,y.fullField=y.fullField||h,y.type=A.getType(y),d[h]=d[h]||[],d[h].push({rule:y,value:p,source:a,field:h}))})});var g={};return ywe(d,s,function(h,m){var p=h.rule,v=(p.type==="object"||p.type==="array")&&(typeof p.fields=="object"||typeof p.defaultField=="object");v=v&&(p.required||!p.required&&h.value),p.field=h.field;function y(C,B){return Ed({},B,{fullField:p.fullField+"."+C,fullFields:p.fullFields?[].concat(p.fullFields,[C]):[C]})}function b(C){C===void 0&&(C=[]);var B=Array.isArray(C)?C:[C];!s.suppressWarning&&B.length&&e.warning("async-validator:",B),B.length&&p.message!==void 0&&(B=[].concat(p.message));var O=B.map(ED(p,a));if(s.first&&O.length)return g[p.field]=1,m(O);if(!v)m(O);else{if(p.required&&!h.value)return p.message!==void 0?O=[].concat(p.message).map(ED(p,a)):s.error&&(O=[s.error(p,aa(s.messages.required,p.field))]),m(O);var x={};p.defaultField&&Object.keys(h.value).map(function(F){x[F]=p.defaultField}),x=Ed({},x,h.rule.fields);var M={};Object.keys(x).forEach(function(F){var L=x[F],E=Array.isArray(L)?L:[L];M[F]=E.map(y.bind(null,F))});var R=new e(M);R.messages(s.messages),h.rule.options&&(h.rule.options.messages=s.messages,h.rule.options.error=s.error),R.validate(h.value,h.rule.options||s,function(F){var L=[];O&&O.length&&L.push.apply(L,O),F&&F.length&&L.push.apply(L,F),m(L.length?L:null)})}}var w;if(p.asyncValidator)w=p.asyncValidator(p,h.value,b,h.source,s);else if(p.validator){try{w=p.validator(p,h.value,b,h.source,s)}catch(C){console.error==null||console.error(C),s.suppressValidatorError||setTimeout(function(){throw C},0),b(C.message)}w===!0?b():w===!1?b(typeof p.message=="function"?p.message(p.fullField||p.field):p.message||(p.fullField||p.field)+" fails"):w instanceof Array?b(w):w instanceof Error&&b(w.message)}w&&w.then&&w.then(function(){return b()},function(C){return b(C)})},function(h){l(h)},a)},t.getType=function(r){if(r.type===void 0&&r.pattern instanceof RegExp&&(r.type="pattern"),typeof r.validator!="function"&&r.type&&!hm.hasOwnProperty(r.type))throw new Error(aa("Unknown rule type %s",r.type));return r.type||"string"},t.getValidationMethod=function(r){if(typeof r.validator=="function")return r.validator;var i=Object.keys(r),o=i.indexOf("message");return o!==-1&&i.splice(o,1),i.length===1&&i[0]==="required"?hm.required:hm[this.getType(r)]||void 0},e}();_v.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");hm[t]=n};_v.warning=pwe;_v.messages=bI;_v.validators=hm;function sf(e){return e==null?[]:Array.isArray(e)?e:[e]}function Sq(e,t){let n=e;for(let r=0;r<t.length;r+=1){if(n==null)return;n=n[t[r]]}return n}function Eq(e,t,n,r){if(!t.length)return n;const[i,...o]=t;let A;return!e&&typeof i=="number"?A=[]:Array.isArray(e)?A=[...e]:A=V({},e),r&&n===void 0&&o.length===1?delete A[i][o[0]]:A[i]=Eq(A[i],o,n,r),A}function jwe(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!Sq(e,t.slice(0,-1))?e:Eq(e,t,n,r)}function wI(e){return sf(e)}function Kwe(e,t){return Sq(e,t)}function Vwe(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return jwe(e,t,n,r)}function zwe(e,t){return e&&e.some(n=>Wwe(n,t))}function _D(e){return typeof e=="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function Fq(e,t){const n=Array.isArray(e)?[...e]:V({},e);return t&&Object.keys(t).forEach(r=>{const i=n[r],o=t[r],A=_D(i)&&_D(o);n[r]=A?Fq(i,o||{}):o}),n}function Gwe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((i,o)=>Fq(i,o),e)}function OD(e,t){let n={};return t.forEach(r=>{const i=Kwe(e,r);n=Vwe(n,r,i)}),n}function Wwe(e,t){return!e||!t||e.length!==t.length?!1:e.every((n,r)=>t[r]===n)}const ta="'${name}' is not a valid ${type}",XB={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:ta,method:ta,array:ta,object:ta,number:ta,date:ta,boolean:ta,integer:ta,float:ta,regexp:ta,email:ta,url:ta,hex:ta},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}};var YB=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(A){A(o)})}return new(n||(n=Promise))(function(o,A){function a(l){try{u(r.next(l))}catch(c){A(c)}}function s(l){try{u(r.throw(l))}catch(c){A(c)}}function u(l){l.done?o(l.value):i(l.value).then(a,s)}u((r=r.apply(e,t||[])).next())})};const qwe=_v;function Xwe(e,t){return e.replace(/\$\{\w+\}/g,n=>{const r=n.slice(2,-1);return t[r]})}function BI(e,t,n,r,i){return YB(this,void 0,void 0,function*(){const o=V({},n);delete o.ruleIndex,delete o.trigger;let A=null;o&&o.type==="array"&&o.defaultField&&(A=o.defaultField,delete o.defaultField);const a=new qwe({[e]:[o]}),s=Gwe({},XB,r.validateMessages);a.messages(s);let u=[];try{yield Promise.resolve(a.validate({[e]:t},V({},r)))}catch(d){d.errors?u=d.errors.map((f,g)=>{let{message:h}=f;return eA(h)?To(h,{key:`error_${g}`}):h}):(console.error(d),u=[s.default()])}if(!u.length&&A)return(yield Promise.all(t.map((f,g)=>BI(`${e}.${g}`,f,A,r,i)))).reduce((f,g)=>[...f,...g],[]);const l=V(V(V({},n),{name:e,enum:(n.enum||[]).join(", ")}),i);return u.map(d=>typeof d=="string"?Xwe(d,l):d)})}function Iq(e,t,n,r,i,o){const A=e.join("."),a=n.map((u,l)=>{const c=u.validator,d=V(V({},u),{ruleIndex:l});return c&&(d.validator=(f,g,h)=>{let m=!1;const v=c(f,g,function(){for(var y=arguments.length,b=new Array(y),w=0;w<y;w++)b[w]=arguments[w];Promise.resolve().then(()=>{m||h(...b)})});m=v&&typeof v.then=="function"&&typeof v.catch=="function",m&&v.then(()=>{h()}).catch(y=>{h(y||" ")})}),d}).sort((u,l)=>{let{warningOnly:c,ruleIndex:d}=u,{warningOnly:f,ruleIndex:g}=l;return!!c==!!f?d-g:c?1:-1});let s;if(i===!0)s=new Promise((u,l)=>YB(this,void 0,void 0,function*(){for(let c=0;c<a.length;c+=1){const d=a[c],f=yield BI(A,t,d,r,o);if(f.length){l([{errors:f,rule:d}]);return}}u([])}));else{const u=a.map(l=>BI(A,t,l,r,o).then(c=>({errors:c,rule:l})));s=(i?Jwe(u):Ywe(u)).then(l=>Promise.reject(l))}return s.catch(u=>u),s}function Ywe(e){return YB(this,void 0,void 0,function*(){return Promise.all(e).then(t=>[].concat(...t))})}function Jwe(e){return YB(this,void 0,void 0,function*(){let t=0;return new Promise(n=>{e.forEach(r=>{r.then(i=>{i.errors.length&&n([i]),t+=1,t===e.length&&n([])})})})})}const _q=Symbol("formContextKey"),Oq=e=>{dn(_q,e)},uT=()=>tn(_q,{name:fe(()=>{}),labelAlign:fe(()=>"right"),vertical:fe(()=>!1),addField:(e,t)=>{},removeField:e=>{},model:fe(()=>{}),rules:fe(()=>{}),colon:fe(()=>{}),labelWrap:fe(()=>{}),labelCol:fe(()=>{}),requiredMark:fe(()=>!1),validateTrigger:fe(()=>{}),onValidate:()=>{},validateMessages:fe(()=>XB)}),Tq=Symbol("formItemPrefixContextKey"),Zwe=e=>{dn(Tq,e)},eBe=()=>tn(Tq,{prefixCls:fe(()=>"")});function tBe(e){return typeof e=="number"?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}const nBe=()=>({span:[String,Number],order:[String,Number],offset:[String,Number],push:[String,Number],pull:[String,Number],xs:{type:[String,Number,Object],default:void 0},sm:{type:[String,Number,Object],default:void 0},md:{type:[String,Number,Object],default:void 0},lg:{type:[String,Number,Object],default:void 0},xl:{type:[String,Number,Object],default:void 0},xxl:{type:[String,Number,Object],default:void 0},prefixCls:String,flex:[String,Number]}),rBe=["xs","sm","md","lg","xl","xxl"],cT=Je({compatConfig:{MODE:3},name:"ACol",inheritAttrs:!1,props:nBe(),setup(e,t){let{slots:n,attrs:r}=t;const{gutter:i,supportFlexGap:o,wrap:A}=rwe(),{prefixCls:a,direction:s}=An("col",e),[u,l]=lwe(a),c=fe(()=>{const{span:f,order:g,offset:h,push:m,pull:p}=e,v=a.value;let y={};return rBe.forEach(b=>{let w={};const C=e[b];typeof C=="number"?w.span=C:typeof C=="object"&&(w=C||{}),y=V(V({},y),{[`${v}-${b}-${w.span}`]:w.span!==void 0,[`${v}-${b}-order-${w.order}`]:w.order||w.order===0,[`${v}-${b}-offset-${w.offset}`]:w.offset||w.offset===0,[`${v}-${b}-push-${w.push}`]:w.push||w.push===0,[`${v}-${b}-pull-${w.pull}`]:w.pull||w.pull===0,[`${v}-rtl`]:s.value==="rtl"})}),Ze(v,{[`${v}-${f}`]:f!==void 0,[`${v}-order-${g}`]:g,[`${v}-offset-${h}`]:h,[`${v}-push-${m}`]:m,[`${v}-pull-${p}`]:p},y,r.class,l.value)}),d=fe(()=>{const{flex:f}=e,g=i.value,h={};if(g&&g[0]>0){const m=`${g[0]/2}px`;h.paddingLeft=m,h.paddingRight=m}if(g&&g[1]>0&&!o.value){const m=`${g[1]/2}px`;h.paddingTop=m,h.paddingBottom=m}return f&&(h.flex=tBe(f),A.value===!1&&!h.minWidth&&(h.minWidth=0)),h});return()=>{var f;return u($("div",ye(ye({},r),{},{class:c.value,style:[d.value,r.style]}),[(f=n.default)===null||f===void 0?void 0:f.call(n)]))}}});var iBe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};function TD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){oBe(e,i,n[i])})}return e}function oBe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fT=function(t,n){var r=TD({},t,n.attrs);return $(cn,TD({},r,{icon:iBe}),null)};fT.displayName="QuestionCircleOutlined";fT.inheritAttrs=!1;const dT=(e,t)=>{let{slots:n,emit:r,attrs:i}=t;var o,A,a,s,u;const{prefixCls:l,htmlFor:c,labelCol:d,labelAlign:f,colon:g,required:h,requiredMark:m}=V(V({},e),i),[p]=Rl("Form"),v=(o=e.label)!==null&&o!==void 0?o:(A=n.label)===null||A===void 0?void 0:A.call(n);if(!v)return null;const{vertical:y,labelAlign:b,labelCol:w,labelWrap:C,colon:B}=uT(),O=d||(w==null?void 0:w.value)||{},x=f||(b==null?void 0:b.value),M=`${l}-item-label`,R=Ze(M,x==="left"&&`${M}-left`,O.class,{[`${M}-wrap`]:!!C.value});let F=v;const L=g===!0||(B==null?void 0:B.value)!==!1&&g!==!1;if(L&&!y.value&&typeof v=="string"&&v.trim()!==""&&(F=v.replace(/[:|:]\s*$/,"")),e.tooltip||n.tooltip){const X=$("span",{class:`${l}-item-tooltip`},[$(Qg,{title:e.tooltip},{default:()=>[$(fT,null,null)]})]);F=$(mn,null,[F,n.tooltip?(a=n.tooltip)===null||a===void 0?void 0:a.call(n,{class:`${l}-item-tooltip`}):X])}m==="optional"&&!h&&(F=$(mn,null,[F,$("span",{class:`${l}-item-optional`},[((s=p.value)===null||s===void 0?void 0:s.optional)||((u=Ss.Form)===null||u===void 0?void 0:u.optional)])]));const H=Ze({[`${l}-item-required`]:h,[`${l}-item-required-mark-optional`]:m==="optional",[`${l}-item-no-colon`]:!L});return $(cT,ye(ye({},O),{},{class:R}),{default:()=>[$("label",{for:c,class:H,title:typeof v=="string"?v:"",onClick:X=>r("click",X)},[F])]})};dT.displayName="FormItemLabel";dT.inheritAttrs=!1;const ABe=e=>{const{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut},
- opacity ${e.motionDurationSlow} ${e.motionEaseInOut},
- transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}},aBe=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},label:{fontSize:e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),UD=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},sBe=e=>{const{componentCls:t}=e;return{[e.componentCls]:V(V(V({},qn(e)),aBe(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":V({},UD(e,e.controlHeightSM)),"&-large":V({},UD(e,e.controlHeightLG))})}},lBe=e=>{const{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:i}=e;return{[t]:V(V({},qn(e)),{marginBottom:e.marginLG,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
- &-hidden.${i}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{display:"inline-block",flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:e.controlHeight,color:e.colorTextHeading,fontSize:e.fontSize,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:e.colorError,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:e.marginXXS/2,marginInlineEnd:e.marginXS},[`&${t}-no-colon::after`]:{content:'" "'}}},[`${t}-control`]:{display:"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${i}-col-'"]):not([class*="' ${i}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:EO,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},uBe=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label.${r}-col-24 + ${n}-control`]:{minWidth:"unset"}}}},cBe=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",flexWrap:"nowrap",marginInlineEnd:e.margin,marginBottom:0,"&-with-help":{marginBottom:e.marginLG},[`> ${n}-label,
- > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},Tp=e=>({margin:0,padding:`0 0 ${e.paddingXS}px`,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{display:"none"}}}),fBe=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${n} ${n}-label`]:Tp(e),[t]:{[n]:{flexWrap:"wrap",[`${n}-label,
- ${n}-control`]:{flex:"0 0 100%",maxWidth:"100%"}}}}},dBe=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-vertical`]:{[n]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${t}-item-control`]:{width:"100%"}}},[`${t}-vertical ${n}-label,
- .${r}-col-24${n}-label,
- .${r}-col-xl-24${n}-label`]:Tp(e),[`@media (max-width: ${e.screenXSMax}px)`]:[fBe(e),{[t]:{[`.${r}-col-xs-24${n}-label`]:Tp(e)}}],[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{[`.${r}-col-sm-24${n}-label`]:Tp(e)}},[`@media (max-width: ${e.screenMDMax}px)`]:{[t]:{[`.${r}-col-md-24${n}-label`]:Tp(e)}},[`@media (max-width: ${e.screenLGMax}px)`]:{[t]:{[`.${r}-col-lg-24${n}-label`]:Tp(e)}}}},hT=or("Form",(e,t)=>{let{rootPrefixCls:n}=t;const r=_n(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:n});return[sBe(r),lBe(r),ABe(r),uBe(r),cBe(r),dBe(r),MB(r),EO]}),hBe=Je({compatConfig:{MODE:3},name:"ErrorList",inheritAttrs:!1,props:["errors","help","onErrorVisibleChanged","helpStatus","warnings"],setup(e,t){let{attrs:n}=t;const{prefixCls:r,status:i}=eBe(),o=fe(()=>`${r.value}-item-explain`),A=fe(()=>!!(e.errors&&e.errors.length)),a=qe(i.value),[,s]=hT(r);return st([A,i],()=>{A.value&&(a.value=i.value)}),()=>{var u,l;const c=kB(`${r.value}-show-help-item`),d=OB(`${r.value}-show-help-item`,c);return d.role="alert",d.class=[s.value,o.value,n.class,`${r.value}-show-help`],$(ca,ye(ye({},hf(`${r.value}-show-help`)),{},{onAfterEnter:()=>e.onErrorVisibleChanged(!0),onAfterLeave:()=>e.onErrorVisibleChanged(!1)}),{default:()=>[Cs($(hB,ye(ye({},d),{},{tag:"div"}),{default:()=>[(l=e.errors)===null||l===void 0?void 0:l.map((f,g)=>$("div",{key:g,class:a.value?`${o.value}-${a.value}`:""},[f]))]}),[[Ol,!!(!((u=e.errors)===null||u===void 0)&&u.length)]])]})}}}),pBe=Je({compatConfig:{MODE:3},slots:Object,inheritAttrs:!1,props:["prefixCls","errors","hasFeedback","onDomErrorVisibleChange","wrapperCol","help","extra","status","marginBottom","onErrorVisibleChanged"],setup(e,t){let{slots:n}=t;const r=uT(),{wrapperCol:i}=r,o=V({},r);return delete o.labelCol,delete o.wrapperCol,Oq(o),Zwe({prefixCls:fe(()=>e.prefixCls),status:fe(()=>e.status)}),()=>{var A,a,s;const{prefixCls:u,wrapperCol:l,marginBottom:c,onErrorVisibleChanged:d,help:f=(A=n.help)===null||A===void 0?void 0:A.call(n),errors:g=ho((a=n.errors)===null||a===void 0?void 0:a.call(n)),extra:h=(s=n.extra)===null||s===void 0?void 0:s.call(n)}=e,m=`${u}-item`,p=l||(i==null?void 0:i.value)||{},v=Ze(`${m}-control`,p.class);return $(cT,ye(ye({},p),{},{class:v}),{default:()=>{var y;return $(mn,null,[$("div",{class:`${m}-control-input`},[$("div",{class:`${m}-control-input-content`},[(y=n.default)===null||y===void 0?void 0:y.call(n)])]),c!==null||g.length?$("div",{style:{display:"flex",flexWrap:"nowrap"}},[$(hBe,{errors:g,help:f,class:`${m}-explain-connected`,onErrorVisibleChanged:d},null),!!c&&$("div",{style:{width:0,height:`${c}px`}},null)]):null,h?$("div",{class:`${m}-extra`},[h]):null])}})}}});function gBe(e){const t=Me(e.value.slice());let n=null;return ln(()=>{clearTimeout(n),n=setTimeout(()=>{t.value=e.value},e.value.length?0:10)}),t}Tl("success","warning","error","validating","");const mBe={success:Zu,warning:ec,error:MA,validating:ka};function _x(e,t,n){let r=e;const i=t;let o=0;try{for(let A=i.length;o<A-1&&!(!r&&!n);++o){const a=i[o];if(a in r)r=r[a];else{if(n)throw Error("please transfer a valid name path to form item!");break}}if(n&&!r)throw Error("please transfer a valid name path to form item!")}catch{console.error("please transfer a valid name path to form item!")}return{o:r,k:i[o],v:r?r[i[o]]:void 0}}const vBe=()=>({htmlFor:String,prefixCls:String,label:He.any,help:He.any,extra:He.any,labelCol:{type:Object},wrapperCol:{type:Object},hasFeedback:{type:Boolean,default:!1},colon:{type:Boolean,default:void 0},labelAlign:String,prop:{type:[String,Number,Array]},name:{type:[String,Number,Array]},rules:[Array,Object],autoLink:{type:Boolean,default:!0},required:{type:Boolean,default:void 0},validateFirst:{type:Boolean,default:void 0},validateStatus:He.oneOf(Tl("","success","warning","error","validating")),validateTrigger:{type:[String,Array]},messageVariables:{type:Object},hidden:Boolean,noStyle:Boolean,tooltip:String});let yBe=0;const bBe="form_item",wBe=Je({compatConfig:{MODE:3},name:"AFormItem",inheritAttrs:!1,__ANT_NEW_FORM_ITEM:!0,props:vBe(),slots:Object,setup(e,t){let{slots:n,attrs:r,expose:i}=t;e.prop;const o=`form-item-${++yBe}`,{prefixCls:A}=An("form",e),[a,s]=hT(A),u=Me(),l=uT(),c=fe(()=>e.name||e.prop),d=Me([]),f=Me(!1),g=Me(),h=fe(()=>{const se=c.value;return wI(se)}),m=fe(()=>{if(h.value.length){const se=l.name.value,ce=h.value.join("_");return se?`${se}_${ce}`:`${bBe}_${ce}`}else return}),p=()=>{const se=l.model.value;if(!(!se||!c.value))return _x(se,h.value,!0).v},v=fe(()=>p()),y=Me(hb(v.value)),b=fe(()=>{let se=e.validateTrigger!==void 0?e.validateTrigger:l.validateTrigger.value;return se=se===void 0?"change":se,sf(se)}),w=fe(()=>{let se=l.rules.value;const ce=e.rules,N=e.required!==void 0?{required:!!e.required,trigger:b.value}:[],K=_x(se,h.value);se=se?K.o[K.k]||K.v:[];const Ae=[].concat(ce||se||[]);return A0e(Ae,ae=>ae.required)?Ae:Ae.concat(N)}),C=fe(()=>{const se=w.value;let ce=!1;return se&&se.length&&se.every(N=>N.required?(ce=!0,!1):!0),ce||e.required}),B=Me();ln(()=>{B.value=e.validateStatus});const O=fe(()=>{let se={};return typeof e.label=="string"?se.label=e.label:e.name&&(se.label=String(e.name)),e.messageVariables&&(se=V(V({},se),e.messageVariables)),se}),x=se=>{if(h.value.length===0)return;const{validateFirst:ce=!1}=e,{triggerName:N}=se||{};let K=w.value;if(N&&(K=K.filter(ae=>{const{trigger:ie}=ae;return!ie&&!b.value.length?!0:sf(ie||b.value).includes(N)})),!K.length)return Promise.resolve();const Ae=Iq(h.value,v.value,K,V({validateMessages:l.validateMessages.value},se),ce,O.value);return B.value="validating",d.value=[],Ae.catch(ae=>ae).then(function(){let ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(B.value==="validating"){const ie=ae.filter(J=>J&&J.errors.length);B.value=ie.length?"error":"success",d.value=ie.map(J=>J.errors),l.onValidate(c.value,!d.value.length,d.value.length?On(d.value[0]):null)}}),Ae},M=()=>{x({triggerName:"blur"})},R=()=>{if(f.value){f.value=!1;return}x({triggerName:"change"})},F=()=>{B.value=e.validateStatus,f.value=!1,d.value=[]},L=()=>{var se;B.value=e.validateStatus,f.value=!0,d.value=[];const ce=l.model.value||{},N=v.value,K=_x(ce,h.value,!0);Array.isArray(N)?K.o[K.k]=[].concat((se=y.value)!==null&&se!==void 0?se:[]):K.o[K.k]=y.value,$n(()=>{f.value=!1})},E=fe(()=>e.htmlFor===void 0?m.value:e.htmlFor),H=()=>{const se=E.value;if(!se||!g.value)return;const ce=g.value.$el.querySelector(`[id="${se}"]`);ce&&ce.focus&&ce.focus()};i({onFieldBlur:M,onFieldChange:R,clearValidate:F,resetField:L}),fhe({id:m,onFieldBlur:()=>{e.autoLink&&M()},onFieldChange:()=>{e.autoLink&&R()},clearValidate:F},fe(()=>!!(e.autoLink&&l.model.value&&c.value)));let X=!1;st(c,se=>{se?X||(X=!0,l.addField(o,{fieldValue:v,fieldId:m,fieldName:c,resetField:L,clearValidate:F,namePath:h,validateRules:x,rules:w})):(X=!1,l.removeField(o))},{immediate:!0}),En(()=>{l.removeField(o)});const z=gBe(d),Z=fe(()=>e.validateStatus!==void 0?e.validateStatus:z.value.length?"error":B.value),q=fe(()=>({[`${A.value}-item`]:!0,[s.value]:!0,[`${A.value}-item-has-feedback`]:Z.value&&e.hasFeedback,[`${A.value}-item-has-success`]:Z.value==="success",[`${A.value}-item-has-warning`]:Z.value==="warning",[`${A.value}-item-has-error`]:Z.value==="error",[`${A.value}-item-is-validating`]:Z.value==="validating",[`${A.value}-item-hidden`]:e.hidden})),te=Ir({});ha.useProvide(te),ln(()=>{let se;if(e.hasFeedback){const ce=Z.value&&mBe[Z.value];se=ce?$("span",{class:Ze(`${A.value}-item-feedback-icon`,`${A.value}-item-feedback-icon-${Z.value}`)},[$(ce,null,null)]):null}V(te,{status:Z.value,hasFeedback:e.hasFeedback,feedbackIcon:se,isFormItemInput:!0})});const ne=Me(null),_=Me(!1),Y=()=>{if(u.value){const se=getComputedStyle(u.value);ne.value=parseInt(se.marginBottom,10)}};vn(()=>{st(_,()=>{_.value&&Y()},{flush:"post",immediate:!0})});const re=se=>{se||(ne.value=null)};return()=>{var se,ce;if(e.noStyle)return(se=n.default)===null||se===void 0?void 0:se.call(n);const N=(ce=e.help)!==null&&ce!==void 0?ce:n.help?ho(n.help()):null,K=!!(N!=null&&Array.isArray(N)&&N.length||z.value.length);return _.value=K,a($("div",{class:[q.value,K?`${A.value}-item-with-help`:"",r.class],ref:u},[$(Cq,ye(ye({},r),{},{class:`${A.value}-item-row`,key:"row"}),{default:()=>{var Ae,ae;return $(mn,null,[$(dT,ye(ye({},e),{},{htmlFor:E.value,required:C.value,requiredMark:l.requiredMark.value,prefixCls:A.value,onClick:H,label:e.label}),{label:n.label,tooltip:n.tooltip}),$(pBe,ye(ye({},e),{},{errors:N!=null?sf(N):z.value,marginBottom:ne.value,prefixCls:A.value,status:Z.value,ref:g,help:N,extra:(Ae=e.extra)!==null&&Ae!==void 0?Ae:(ae=n.extra)===null||ae===void 0?void 0:ae.call(n),onErrorVisibleChanged:re}),{default:n.default})])}}),!!ne.value&&$("div",{class:`${A.value}-margin-offset`,style:{marginBottom:`-${ne.value}px`}},null)]))}}});function Uq(e){let t=!1,n=e.length;const r=[];return e.length?new Promise((i,o)=>{e.forEach((A,a)=>{A.catch(s=>(t=!0,s)).then(s=>{n-=1,r[a]=s,!(n>0)&&(t&&o(r),i(r))})})}):Promise.resolve([])}function QD(e){let t=!1;return e&&e.length&&e.every(n=>n.required?(t=!0,!1):!0),t}function PD(e){return e==null?[]:Array.isArray(e)?e:[e]}function Ox(e,t,n){let r=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");const i=t.split(".");let o=0;for(let A=i.length;o<A-1&&!(!r&&!n);++o){const a=i[o];if(a in r)r=r[a];else{if(n)throw new Error("please transfer a valid name path to validate!");break}}return{o:r,k:i[o],v:r?r[i[o]]:null,isValid:r&&i[o]in r}}function BBe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qe({}),n=arguments.length>2?arguments[2]:void 0;const r=hb(ni(e)),i=Ir({}),o=Me([]),A=y=>{V(ni(e),V(V({},hb(r)),y)),$n(()=>{Object.keys(i).forEach(b=>{i[b]={autoLink:!1,required:QD(ni(t)[b])}})})},a=function(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],b=arguments.length>1?arguments[1]:void 0;return b.length?y.filter(w=>{const C=PD(w.trigger||"change");return c0e(C,b).length}):y};let s=null;const u=function(y){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},w=arguments.length>2?arguments[2]:void 0;const C=[],B={};for(let M=0;M<y.length;M++){const R=y[M],F=Ox(ni(e),R,w);if(!F.isValid)continue;B[R]=F.v;const L=a(ni(t)[R],PD(b&&b.trigger));L.length&&C.push(l(R,F.v,L,b||{}).then(()=>({name:R,errors:[],warnings:[]})).catch(E=>{const H=[],X=[];return E.forEach(z=>{let{rule:{warningOnly:Z},errors:q}=z;Z?X.push(...q):H.push(...q)}),H.length?Promise.reject({name:R,errors:H,warnings:X}):{name:R,errors:H,warnings:X}}))}const O=Uq(C);s=O;const x=O.then(()=>s===O?Promise.resolve(B):Promise.reject([])).catch(M=>{const R=M.filter(F=>F&&F.errors.length);return R.length?Promise.reject({values:B,errorFields:R,outOfDate:s!==O}):Promise.resolve(B)});return x.catch(M=>M),x},l=function(y,b,w){let C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const B=Iq([y],b,w,V({validateMessages:XB},C),!!C.validateFirst);return i[y]?(i[y].validateStatus="validating",B.catch(O=>O).then(function(){let O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];var x;if(i[y].validateStatus==="validating"){const M=O.filter(R=>R&&R.errors.length);i[y].validateStatus=M.length?"error":"success",i[y].help=M.length?M.map(R=>R.errors):null,(x=n==null?void 0:n.onValidate)===null||x===void 0||x.call(n,y,!M.length,M.length?On(i[y].help[0]):null)}}),B):B.catch(O=>O)},c=(y,b)=>{let w=[],C=!0;y?Array.isArray(y)?w=y:w=[y]:(C=!1,w=o.value);const B=u(w,b||{},C);return B.catch(O=>O),B},d=y=>{let b=[];y?Array.isArray(y)?b=y:b=[y]:b=o.value,b.forEach(w=>{i[w]&&V(i[w],{validateStatus:"",help:null})})},f=y=>{const b={autoLink:!1},w=[],C=Array.isArray(y)?y:[y];for(let B=0;B<C.length;B++){const O=C[B];(O==null?void 0:O.validateStatus)==="error"&&(b.validateStatus="error",O.help&&w.push(O.help)),b.required=b.required||(O==null?void 0:O.required)}return b.help=w,b};let g=r,h=!0;const m=y=>{const b=[];o.value.forEach(w=>{const C=Ox(y,w,!1),B=Ox(g,w,!1);(h&&(n==null?void 0:n.immediate)&&C.isValid||!AO(C.v,B.v))&&b.push(w)}),c(b,{trigger:"change"}),h=!1,g=hb(On(y))},p=n==null?void 0:n.debounce;let v=!0;return st(t,()=>{o.value=t?Object.keys(ni(t)):[],!v&&n&&n.validateOnRuleChange&&c(),v=!1},{deep:!0,immediate:!0}),st(o,()=>{const y={};o.value.forEach(b=>{y[b]=V({},i[b],{autoLink:!1,required:QD(ni(t)[b])}),delete i[b]});for(const b in i)Object.prototype.hasOwnProperty.call(i,b)&&delete i[b];V(i,y)},{immediate:!0}),st(e,p&&p.wait?zG(m,p.wait,B0e(p,["wait"])):m,{immediate:n&&!!n.immediate,deep:!0}),{modelRef:e,rulesRef:t,initialModel:r,validateInfos:i,resetFields:A,validate:c,validateField:l,mergeValidateInfo:f,clearValidate:d}}const CBe=()=>({layout:He.oneOf(Tl("horizontal","inline","vertical")),labelCol:qt(),wrapperCol:qt(),colon:Qt(),labelAlign:yn(),labelWrap:Qt(),prefixCls:String,requiredMark:Hn([String,Boolean]),hideRequiredMark:Qt(),model:He.object,rules:qt(),validateMessages:qt(),validateOnRuleChange:Qt(),scrollToFirstError:wi(),onSubmit:lt(),name:String,validateTrigger:Hn([String,Array]),size:yn(),disabled:Qt(),onValuesChange:lt(),onFieldsChange:lt(),onFinish:lt(),onFinishFailed:lt(),onValidate:lt()});function xBe(e,t){return AO(sf(e),sf(t))}const wd=Je({compatConfig:{MODE:3},name:"AForm",inheritAttrs:!1,props:lr(CBe(),{layout:"horizontal",hideRequiredMark:!1,colon:!0}),Item:wBe,useForm:BBe,setup(e,t){let{emit:n,slots:r,expose:i,attrs:o}=t;const{prefixCls:A,direction:a,form:s,size:u,disabled:l}=An("form",e),c=fe(()=>e.requiredMark===""||e.requiredMark),d=fe(()=>{var z;return c.value!==void 0?c.value:s&&((z=s.value)===null||z===void 0?void 0:z.requiredMark)!==void 0?s.value.requiredMark:!e.hideRequiredMark});bz(u),NV(l);const f=fe(()=>{var z,Z;return(z=e.colon)!==null&&z!==void 0?z:(Z=s.value)===null||Z===void 0?void 0:Z.colon}),{validateMessages:g}=FAe(),h=fe(()=>V(V(V({},XB),g.value),e.validateMessages)),[m,p]=hT(A),v=fe(()=>Ze(A.value,{[`${A.value}-${e.layout}`]:!0,[`${A.value}-hide-required-mark`]:d.value===!1,[`${A.value}-rtl`]:a.value==="rtl",[`${A.value}-${u.value}`]:u.value},p.value)),y=qe(),b={},w=(z,Z)=>{b[z]=Z},C=z=>{delete b[z]},B=z=>{const Z=!!z,q=Z?sf(z).map(wI):[];return Z?Object.values(b).filter(te=>q.findIndex(ne=>xBe(ne,te.fieldName.value))>-1):Object.values(b)},O=z=>{e.model&&B(z).forEach(Z=>{Z.resetField()})},x=z=>{B(z).forEach(Z=>{Z.clearValidate()})},M=z=>{const{scrollToFirstError:Z}=e;if(n("finishFailed",z),Z&&z.errorFields.length){let q={};typeof Z=="object"&&(q=Z),F(z.errorFields[0].name,q)}},R=function(){return H(...arguments)},F=function(z){let Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const q=B(z?[z]:void 0);if(q.length){const te=q[0].fieldId.value,ne=te?document.getElementById(te):null;ne&&pse(ne,V({scrollMode:"if-needed",block:"nearest"},Z))}},L=function(){let z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(z===!0){const Z=[];return Object.values(b).forEach(q=>{let{namePath:te}=q;Z.push(te.value)}),OD(e.model,Z)}else return OD(e.model,z)},E=(z,Z)=>{if(!e.model)return Promise.reject("Form `model` is required for validateFields to work.");const q=!!z,te=q?sf(z).map(wI):[],ne=[];Object.values(b).forEach(re=>{var se;if(q||te.push(re.namePath.value),!(!((se=re.rules)===null||se===void 0)&&se.value.length))return;const ce=re.namePath.value;if(!q||zwe(te,ce)){const N=re.validateRules(V({validateMessages:h.value},Z));ne.push(N.then(()=>({name:ce,errors:[],warnings:[]})).catch(K=>{const Ae=[],ae=[];return K.forEach(ie=>{let{rule:{warningOnly:J},errors:ue}=ie;J?ae.push(...ue):Ae.push(...ue)}),Ae.length?Promise.reject({name:ce,errors:Ae,warnings:ae}):{name:ce,errors:Ae,warnings:ae}}))}});const _=Uq(ne);y.value=_;const Y=_.then(()=>y.value===_?Promise.resolve(L(te)):Promise.reject([])).catch(re=>{const se=re.filter(ce=>ce&&ce.errors.length);return Promise.reject({values:L(te),errorFields:se,outOfDate:y.value!==_})});return Y.catch(re=>re),Y},H=function(){return E(...arguments)},X=z=>{z.preventDefault(),z.stopPropagation(),n("submit",z),e.model&&E().then(q=>{n("finish",q)}).catch(q=>{M(q)})};return i({resetFields:O,clearValidate:x,validateFields:E,getFieldsValue:L,validate:R,scrollToField:F}),Oq({model:fe(()=>e.model),name:fe(()=>e.name),labelAlign:fe(()=>e.labelAlign),labelCol:fe(()=>e.labelCol),labelWrap:fe(()=>e.labelWrap),wrapperCol:fe(()=>e.wrapperCol),vertical:fe(()=>e.layout==="vertical"),colon:f,requiredMark:d,validateTrigger:fe(()=>e.validateTrigger),rules:fe(()=>e.rules),addField:w,removeField:C,onValidate:(z,Z,q)=>{n("validate",z,Z,q)},validateMessages:h}),st(()=>e.rules,()=>{e.validateOnRuleChange&&E()}),()=>{var z;return m($("form",ye(ye({},o),{},{onSubmit:X,class:[v.value,o.class]}),[(z=r.default)===null||z===void 0?void 0:z.call(r)]))}}});wd.useInjectFormItemContext=NA;wd.ItemRest=z3;wd.install=function(e){return e.component(wd.name,wd),e.component(wd.Item.name,wd.Item),e.component(z3.name,z3),e};const SBe=new Un("antCheckboxEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),EBe=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:V(V({},qn(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:V(V({},qn(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:V(V({},qn(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:V({},Ku(e))},[`${t}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.checkboxSize/14*5,height:e.checkboxSize/14*8,border:`${e.lineWidthBold}px solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[t]:{"&-indeterminate":{[`${t}-inner`]:{"&:after":{top:"50%",insetInlineStart:"50%",width:e.fontSizeLG/2,height:e.fontSizeLG/2,backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${n}:hover ${t}:after`]:{visibility:"visible"},[`
- ${n}:not(${n}-disabled),
- ${t}:not(${t}-disabled)
- `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}},"&:after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderRadius:e.borderRadiusSM,visibility:"hidden",border:`${e.lineWidthBold}px solid ${e.colorPrimary}`,animationName:SBe,animationDuration:e.motionDurationSlow,animationTimingFunction:"ease-in-out",animationFillMode:"backwards",content:'""',transition:`all ${e.motionDurationSlow}`}},[`
- ${n}-checked:not(${n}-disabled),
- ${t}-checked:not(${t}-disabled)
- `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}:after`]:{borderColor:e.colorPrimaryHover}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function Qq(e,t){const n=_n(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[EBe(n)]}const Pq=or("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[Qq(n,e)]}),FBe=()=>({name:String,prefixCls:String,options:fr([]),disabled:Boolean,id:String}),IBe=()=>V(V({},FBe()),{defaultValue:fr(),value:fr(),onChange:lt(),"onUpdate:value":lt()}),_Be=()=>({prefixCls:String,defaultChecked:Qt(),checked:Qt(),disabled:Qt(),isGroup:Qt(),value:He.any,name:String,id:String,indeterminate:Qt(),type:yn("checkbox"),autofocus:Qt(),onChange:lt(),"onUpdate:checked":lt(),onClick:lt(),skipGroup:Qt(!1)}),OBe=()=>V(V({},_Be()),{indeterminate:Qt(!1)}),Lq=Symbol("CheckboxGroupContext");var LD=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const Ru=Je({compatConfig:{MODE:3},name:"ACheckbox",inheritAttrs:!1,__ANT_CHECKBOX:!0,props:OBe(),setup(e,t){let{emit:n,attrs:r,slots:i,expose:o}=t;const A=NA(),a=ha.useInject(),{prefixCls:s,direction:u,disabled:l}=An("checkbox",e),c=xs(),[d,f]=Pq(s),g=tn(Lq,void 0),h=Symbol("checkboxUniId"),m=fe(()=>(g==null?void 0:g.disabled.value)||l.value);ln(()=>{!e.skipGroup&&g&&g.registerValue(h,e.value)}),En(()=>{g&&g.cancelValue(h)}),vn(()=>{Xu(!!(e.checked!==void 0||g||e.value===void 0))});const p=w=>{const C=w.target.checked;n("update:checked",C),n("change",w),A.onFieldChange()},v=qe();return o({focus:()=>{var w;(w=v.value)===null||w===void 0||w.focus()},blur:()=>{var w;(w=v.value)===null||w===void 0||w.blur()}}),()=>{var w;const C=ui((w=i.default)===null||w===void 0?void 0:w.call(i)),{indeterminate:B,skipGroup:O,id:x=A.id.value}=e,M=LD(e,["indeterminate","skipGroup","id"]),{onMouseenter:R,onMouseleave:F,onInput:L,class:E,style:H}=r,X=LD(r,["onMouseenter","onMouseleave","onInput","class","style"]),z=V(V(V(V({},M),{id:x,prefixCls:s.value}),X),{disabled:m.value});g&&!O?(z.onChange=function(){for(var ne=arguments.length,_=new Array(ne),Y=0;Y<ne;Y++)_[Y]=arguments[Y];n("change",..._),g.toggleOption({label:C,value:e.value})},z.name=g.name.value,z.checked=g.mergedValue.value.includes(e.value),z.disabled=m.value||c.value,z.indeterminate=B):z.onChange=p;const Z=Ze({[`${s.value}-wrapper`]:!0,[`${s.value}-rtl`]:u.value==="rtl",[`${s.value}-wrapper-checked`]:z.checked,[`${s.value}-wrapper-disabled`]:z.disabled,[`${s.value}-wrapper-in-form-item`]:a.isFormItemInput},E,f.value),q=Ze({[`${s.value}-indeterminate`]:B},f.value);return d($("label",{class:Z,style:H,onMouseenter:R,onMouseleave:F},[$(JW,ye(ye({"aria-checked":B?"mixed":void 0},z),{},{class:q,ref:v}),null),C.length?$("span",null,[C]):null]))}}}),CI=Je({compatConfig:{MODE:3},name:"ACheckboxGroup",inheritAttrs:!1,props:IBe(),setup(e,t){let{slots:n,attrs:r,emit:i,expose:o}=t;const A=NA(),{prefixCls:a,direction:s}=An("checkbox",e),u=fe(()=>`${a.value}-group`),[l,c]=Pq(u),d=qe((e.value===void 0?e.defaultValue:e.value)||[]);st(()=>e.value,()=>{d.value=e.value||[]});const f=fe(()=>e.options.map(b=>typeof b=="string"||typeof b=="number"?{label:b,value:b}:b)),g=qe(Symbol()),h=qe(new Map),m=b=>{h.value.delete(b),g.value=Symbol()},p=(b,w)=>{h.value.set(b,w),g.value=Symbol()},v=qe(new Map);return st(g,()=>{const b=new Map;for(const w of h.value.values())b.set(w,!0);v.value=b}),dn(Lq,{cancelValue:m,registerValue:p,toggleOption:b=>{const w=d.value.indexOf(b.value),C=[...d.value];w===-1?C.push(b.value):C.splice(w,1),e.value===void 0&&(d.value=C);const B=C.filter(O=>v.value.has(O)).sort((O,x)=>{const M=f.value.findIndex(F=>F.value===O),R=f.value.findIndex(F=>F.value===x);return M-R});i("update:value",B),i("change",B),A.onFieldChange()},mergedValue:d,name:fe(()=>e.name),disabled:fe(()=>e.disabled)}),o({mergedValue:d}),()=>{var b;const{id:w=A.id.value}=e;let C=null;return f.value&&f.value.length>0&&(C=f.value.map(B=>{var O;return $(Ru,{prefixCls:a.value,key:B.value.toString(),disabled:"disabled"in B?B.disabled:e.disabled,indeterminate:B.indeterminate,value:B.value,checked:d.value.indexOf(B.value)!==-1,onChange:B.onChange,class:`${u.value}-item`},{default:()=>[n.label!==void 0?(O=n.label)===null||O===void 0?void 0:O.call(n,B):B.label]})})),l($("div",ye(ye({},r),{},{class:[u.value,{[`${u.value}-rtl`]:s.value==="rtl"},r.class,c.value],id:w}),[C||((b=n.default)===null||b===void 0?void 0:b.call(n))]))}}});Ru.Group=CI;Ru.install=function(e){return e.component(Ru.name,Ru),e.component(CI.name,CI),e};const _He=Ga(cT);let _b=V({},Ss.Modal);function TBe(e){e?_b=V(V({},_b),e):_b=V({},Ss.Modal)}function UBe(){return _b}const xI="internalMark",Ob=Je({compatConfig:{MODE:3},name:"ALocaleProvider",props:{locale:{type:Object},ANT_MARK__:String},setup(e,t){let{slots:n}=t;Xu(e.ANT_MARK__===xI);const r=Ir({antLocale:V(V({},e.locale),{exist:!0}),ANT_MARK__:xI});return dn("localeData",r),st(()=>e.locale,i=>{TBe(i&&i.Modal),r.antLocale=V(V({},i),{exist:!0})},{immediate:!0}),()=>{var i;return(i=n.default)===null||i===void 0?void 0:i.call(n)}}});Ob.install=function(e){return e.component(Ob.name,Ob),e};const QBe=Ga(Ob),Dq=Je({name:"Notice",inheritAttrs:!1,props:["prefixCls","duration","updateMark","noticeKey","closeIcon","closable","props","onClick","onClose","holder","visible"],setup(e,t){let{attrs:n,slots:r}=t,i,o=!1;const A=fe(()=>e.duration===void 0?4.5:e.duration),a=()=>{A.value&&!o&&(i=setTimeout(()=>{u()},A.value*1e3))},s=()=>{i&&(clearTimeout(i),i=null)},u=c=>{c&&c.stopPropagation(),s();const{onClose:d,noticeKey:f}=e;d&&d(f)},l=()=>{s(),a()};return vn(()=>{a()}),za(()=>{o=!0,s()}),st([A,()=>e.updateMark,()=>e.visible],(c,d)=>{let[f,g,h]=c,[m,p,v]=d;(f!==m||g!==p||h!==v&&v)&&l()},{flush:"post"}),()=>{var c,d;const{prefixCls:f,closable:g,closeIcon:h=(c=r.closeIcon)===null||c===void 0?void 0:c.call(r),onClick:m,holder:p}=e,{class:v,style:y}=n,b=`${f}-notice`,w=Object.keys(n).reduce((B,O)=>((O.startsWith("data-")||O.startsWith("aria-")||O==="role")&&(B[O]=n[O]),B),{}),C=$("div",ye({class:Ze(b,v,{[`${b}-closable`]:g}),style:y,onMouseenter:s,onMouseleave:a,onClick:m},w),[$("div",{class:`${b}-content`},[(d=r.default)===null||d===void 0?void 0:d.call(r)]),g?$("a",{tabindex:0,onClick:u,class:`${b}-close`},[h||$("span",{class:`${b}-close-x`},null)]):null]);return p?$(x6,{to:p},{default:()=>C}):C}}});var PBe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let DD=0;const LBe=Date.now();function RD(){const e=DD;return DD+=1,`rcNotification_${LBe}_${e}`}const Tw=Je({name:"Notification",inheritAttrs:!1,props:["prefixCls","transitionName","animation","maxCount","closeIcon","hashId"],setup(e,t){let{attrs:n,expose:r,slots:i}=t;const o=new Map,A=qe([]),a=fe(()=>{const{prefixCls:l,animation:c="fade"}=e;let d=e.transitionName;return!d&&c&&(d=`${l}-${c}`),OB(d)}),s=(l,c)=>{const d=l.key||RD(),f=V(V({},l),{key:d}),{maxCount:g}=e,h=A.value.map(p=>p.notice.key).indexOf(d),m=A.value.concat();h!==-1?m.splice(h,1,{notice:f,holderCallback:c}):(g&&A.value.length>=g&&(f.key=m[0].notice.key,f.updateMark=RD(),f.userPassKey=d,m.shift()),m.push({notice:f,holderCallback:c})),A.value=m},u=l=>{A.value=On(A.value).filter(c=>{let{notice:{key:d,userPassKey:f}}=c;return(f||d)!==l})};return r({add:s,remove:u,notices:A}),()=>{var l;const{prefixCls:c,closeIcon:d=(l=i.closeIcon)===null||l===void 0?void 0:l.call(i,{prefixCls:c})}=e,f=A.value.map((h,m)=>{let{notice:p,holderCallback:v}=h;const y=m===A.value.length-1?p.updateMark:void 0,{key:b,userPassKey:w}=p,{content:C}=p,B=V(V(V({prefixCls:c,closeIcon:typeof d=="function"?d({prefixCls:c}):d},p),p.props),{key:b,noticeKey:w||b,updateMark:y,onClose:O=>{var x;u(O),(x=p.onClose)===null||x===void 0||x.call(p)},onClick:p.onClick});return v?$("div",{key:b,class:`${c}-hook-holder`,ref:O=>{typeof b>"u"||(O?(o.set(b,O),v(O,B)):o.delete(b))}},null):$(Dq,ye(ye({},B),{},{class:Ze(B.class,e.hashId)}),{default:()=>[typeof C=="function"?C({prefixCls:c}):C]})}),g={[c]:1,[n.class]:!!n.class,[e.hashId]:!0};return $("div",{class:g,style:n.style||{top:"65px",left:"50%"}},[$(hB,ye({tag:"div"},a.value),{default:()=>[f]})])}}});Tw.newInstance=function(t,n){const r=t||{},{name:i="notification",getContainer:o,appContext:A,prefixCls:a,rootPrefixCls:s,transitionName:u,hasTransitionName:l,useStyle:c}=r,d=PBe(r,["name","getContainer","appContext","prefixCls","rootPrefixCls","transitionName","hasTransitionName","useStyle"]),f=document.createElement("div");o?o().appendChild(f):document.body.appendChild(f);const h=$(Je({compatConfig:{MODE:3},name:"NotificationWrapper",setup(m,p){let{attrs:v}=p;const y=Me(),b=fe(()=>Bo.getPrefixCls(i,a)),[,w]=c(b);return vn(()=>{n({notice(C){var B;(B=y.value)===null||B===void 0||B.add(C)},removeNotice(C){var B;(B=y.value)===null||B===void 0||B.remove(C)},destroy(){ff(null,f),f.parentNode&&f.parentNode.removeChild(f)},component:y})}),()=>{const C=Bo,B=C.getRootPrefixCls(s,b.value),O=l?u:`${b.value}-${u}`;return $(Jp,ye(ye({},C),{},{prefixCls:B}),{default:()=>[$(Tw,ye(ye({ref:y},v),{},{prefixCls:b.value,transitionName:O,hashId:w.value}),null)]})}}}),d);h.appContext=A||h.appContext,ff(h,f)};let $D=0;const DBe=Date.now();function ND(){const e=$D;return $D+=1,`rcNotification_${DBe}_${e}`}const RBe=Je({name:"HookNotification",inheritAttrs:!1,props:["prefixCls","transitionName","animation","maxCount","closeIcon","hashId","remove","notices","getStyles","getClassName","onAllRemoved","getContainer"],setup(e,t){let{attrs:n,slots:r}=t;const i=new Map,o=fe(()=>e.notices),A=fe(()=>{let l=e.transitionName;if(!l&&e.animation)switch(typeof e.animation){case"string":l=e.animation;break;case"function":l=e.animation().name;break;case"object":l=e.animation.name;break;default:l=`${e.prefixCls}-fade`;break}return OB(l)}),a=l=>e.remove(l),s=qe({});st(o,()=>{const l={};Object.keys(s.value).forEach(c=>{l[c]=[]}),e.notices.forEach(c=>{const{placement:d="topRight"}=c.notice;d&&(l[d]=l[d]||[],l[d].push(c))}),s.value=l});const u=fe(()=>Object.keys(s.value));return()=>{var l;const{prefixCls:c,closeIcon:d=(l=r.closeIcon)===null||l===void 0?void 0:l.call(r,{prefixCls:c})}=e,f=u.value.map(g=>{var h,m;const p=s.value[g],v=(h=e.getClassName)===null||h===void 0?void 0:h.call(e,g),y=(m=e.getStyles)===null||m===void 0?void 0:m.call(e,g),b=p.map((B,O)=>{let{notice:x,holderCallback:M}=B;const R=O===o.value.length-1?x.updateMark:void 0,{key:F,userPassKey:L}=x,{content:E}=x,H=V(V(V({prefixCls:c,closeIcon:typeof d=="function"?d({prefixCls:c}):d},x),x.props),{key:F,noticeKey:L||F,updateMark:R,onClose:X=>{var z;a(X),(z=x.onClose)===null||z===void 0||z.call(x)},onClick:x.onClick});return M?$("div",{key:F,class:`${c}-hook-holder`,ref:X=>{typeof F>"u"||(X?(i.set(F,X),M(X,H)):i.delete(F))}},null):$(Dq,ye(ye({},H),{},{class:Ze(H.class,e.hashId)}),{default:()=>[typeof E=="function"?E({prefixCls:c}):E]})}),w={[c]:1,[`${c}-${g}`]:1,[n.class]:!!n.class,[e.hashId]:!0,[v]:!!v};function C(){var B;p.length>0||(Reflect.deleteProperty(s.value,g),(B=e.onAllRemoved)===null||B===void 0||B.call(e))}return $("div",{key:g,class:w,style:n.style||y||{top:"65px",left:"50%"}},[$(hB,ye(ye({tag:"div"},A.value),{},{onAfterLeave:C}),{default:()=>[b]})])});return $(nG,{getContainer:e.getContainer},{default:()=>[f]})}}});var $Be=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const NBe=()=>document.body;let HD=0;function HBe(){const e={};for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach(i=>{i&&Object.keys(i).forEach(o=>{const A=i[o];A!==void 0&&(e[o]=A)})}),e}function Rq(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{getContainer:t=NBe,motion:n,prefixCls:r,maxCount:i,getClassName:o,getStyles:A,onAllRemoved:a}=e,s=$Be(e,["getContainer","motion","prefixCls","maxCount","getClassName","getStyles","onAllRemoved"]),u=Me([]),l=Me(),c=(p,v)=>{const y=p.key||ND(),b=V(V({},p),{key:y}),w=u.value.map(B=>B.notice.key).indexOf(y),C=u.value.concat();w!==-1?C.splice(w,1,{notice:b,holderCallback:v}):(i&&u.value.length>=i&&(b.key=C[0].notice.key,b.updateMark=ND(),b.userPassKey=y,C.shift()),C.push({notice:b,holderCallback:v})),u.value=C},d=p=>{u.value=u.value.filter(v=>{let{notice:{key:y,userPassKey:b}}=v;return(b||y)!==p})},f=()=>{u.value=[]},g=()=>$(RBe,{ref:l,prefixCls:r,maxCount:i,notices:u.value,remove:d,getClassName:o,getStyles:A,animation:n,hashId:e.hashId,onAllRemoved:a,getContainer:t},null),h=Me([]),m={open:p=>{const v=HBe(s,p);(v.key===null||v.key===void 0)&&(v.key=`vc-notification-${HD}`,HD+=1),h.value=[...h.value,{type:"open",config:v}]},close:p=>{h.value=[...h.value,{type:"close",key:p}]},destroy:()=>{h.value=[...h.value,{type:"destroy"}]}};return st(h,()=>{h.value.length&&(h.value.forEach(p=>{switch(p.type){case"open":c(p.config);break;case"close":d(p.key);break;case"destroy":f();break}}),h.value=[])}),[m,g]}const MBe=e=>{const{componentCls:t,iconCls:n,boxShadowSecondary:r,colorBgElevated:i,colorSuccess:o,colorError:A,colorWarning:a,colorInfo:s,fontSizeLG:u,motionEaseInOutCirc:l,motionDurationSlow:c,marginXS:d,paddingXS:f,borderRadiusLG:g,zIndexPopup:h,messageNoticeContentPadding:m}=e,p=new Un("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:f,transform:"translateY(0)",opacity:1}}),v=new Un("MessageMoveOut",{"0%":{maxHeight:e.height,padding:f,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}});return[{[t]:V(V({},qn(e)),{position:"fixed",top:d,left:"50%",transform:"translateX(-50%)",width:"100%",pointerEvents:"none",zIndex:h,[`${t}-move-up`]:{animationFillMode:"forwards"},[`
- ${t}-move-up-appear,
- ${t}-move-up-enter
- `]:{animationName:p,animationDuration:c,animationPlayState:"paused",animationTimingFunction:l},[`
- ${t}-move-up-appear${t}-move-up-appear-active,
- ${t}-move-up-enter${t}-move-up-enter-active
- `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:v,animationDuration:c,animationPlayState:"paused",animationTimingFunction:l},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[`${t}-notice`]:{padding:f,textAlign:"center",[n]:{verticalAlign:"text-bottom",marginInlineEnd:d,fontSize:u},[`${t}-notice-content`]:{display:"inline-block",padding:m,background:i,borderRadius:g,boxShadow:r,pointerEvents:"all"},[`${t}-success ${n}`]:{color:o},[`${t}-error ${n}`]:{color:A},[`${t}-warning ${n}`]:{color:a},[`
- ${t}-info ${n},
- ${t}-loading ${n}`]:{color:s}}},{[`${t}-notice-pure-panel`]:{padding:0,textAlign:"start"}}]},$q=or("Message",e=>{const t=_n(e,{messageNoticeContentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`});return[MBe(t)]},e=>({height:150,zIndexPopup:e.zIndexPopupBase+10})),kBe={info:$(lh,null,null),success:$(Zu,null,null),error:$(MA,null,null),warning:$(ec,null,null),loading:$(ka,null,null)},jBe=Je({name:"PureContent",inheritAttrs:!1,props:["prefixCls","type","icon"],setup(e,t){let{slots:n}=t;return()=>{var r;return $("div",{class:Ze(`${e.prefixCls}-custom-content`,`${e.prefixCls}-${e.type}`)},[e.icon||kBe[e.type],$("span",null,[(r=n.default)===null||r===void 0?void 0:r.call(n)])])}}});var KBe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const VBe=8,zBe=3,GBe=Je({name:"Holder",inheritAttrs:!1,props:["top","prefixCls","getContainer","maxCount","duration","rtl","transitionName","onAllRemoved","animation","staticGetContainer"],setup(e,t){let{expose:n}=t;var r,i;const{getPrefixCls:o,getPopupContainer:A}=An("message",e),a=fe(()=>o("message",e.prefixCls)),[,s]=$q(a),u=()=>{var h;const m=(h=e.top)!==null&&h!==void 0?h:VBe;return{left:"50%",transform:"translateX(-50%)",top:typeof m=="number"?`${m}px`:m}},l=()=>Ze(s.value,e.rtl?`${a.value}-rtl`:""),c=()=>{var h;return V6({prefixCls:a.value,animation:(h=e.animation)!==null&&h!==void 0?h:"move-up",transitionName:e.transitionName})},d=$("span",{class:`${a.value}-close-x`},[$(Os,{class:`${a.value}-close-icon`},null)]),[f,g]=Rq({getStyles:u,prefixCls:a.value,getClassName:l,motion:c,closable:!1,closeIcon:d,duration:(r=e.duration)!==null&&r!==void 0?r:zBe,getContainer:(i=e.staticGetContainer)!==null&&i!==void 0?i:A.value,maxCount:e.maxCount,onAllRemoved:e.onAllRemoved});return n(V(V({},f),{prefixCls:a,hashId:s})),g}});let MD=0;function WBe(e){const t=Me(null),n=Symbol("messageHolderKey"),r=s=>{var u;(u=t.value)===null||u===void 0||u.close(s)},i=s=>{if(!t.value){const w=()=>{};return w.then=()=>{},w}const{open:u,prefixCls:l,hashId:c}=t.value,d=`${l}-notice`,{content:f,icon:g,type:h,key:m,class:p,onClose:v}=s,y=KBe(s,["content","icon","type","key","class","onClose"]);let b=m;return b==null&&(MD+=1,b=`antd-message-${MD}`),rAe(w=>(u(V(V({},y),{key:b,content:()=>$(jBe,{prefixCls:l,type:h,icon:typeof g=="function"?g():g},{default:()=>[typeof f=="function"?f():f]}),placement:"top",class:Ze(h&&`${d}-${h}`,c,p),onClose:()=>{v==null||v(),w()}})),()=>{r(b)}))},A={open:i,destroy:s=>{var u;s!==void 0?r(s):(u=t.value)===null||u===void 0||u.destroy()}};return["info","success","warning","error","loading"].forEach(s=>{const u=(l,c,d)=>{let f;l&&typeof l=="object"&&"content"in l?f=l:f={content:l};let g,h;typeof c=="function"?h=c:(g=c,h=d);const m=V(V({onClose:h,duration:g},f),{type:s});return i(m)};A[s]=u}),[A,()=>$(GBe,ye(ye({key:n},e),{},{ref:t}),null)]}function qBe(e){return WBe(e)}let Nq=3,Hq,vA,XBe=1,Mq="",kq="move-up",jq=!1,Kq=()=>document.body,Vq,zq=!1;function YBe(){return XBe++}function JBe(e){e.top!==void 0&&(Hq=e.top,vA=null),e.duration!==void 0&&(Nq=e.duration),e.prefixCls!==void 0&&(Mq=e.prefixCls),e.getContainer!==void 0&&(Kq=e.getContainer,vA=null),e.transitionName!==void 0&&(kq=e.transitionName,vA=null,jq=!0),e.maxCount!==void 0&&(Vq=e.maxCount,vA=null),e.rtl!==void 0&&(zq=e.rtl)}function ZBe(e,t){if(vA){t(vA);return}Tw.newInstance({appContext:e.appContext,prefixCls:e.prefixCls||Mq,rootPrefixCls:e.rootPrefixCls,transitionName:kq,hasTransitionName:jq,style:{top:Hq},getContainer:Kq||e.getPopupContainer,maxCount:Vq,name:"message",useStyle:$q},n=>{if(vA){t(vA);return}vA=n,t(n)})}const Gq={info:lh,success:Zu,error:MA,warning:ec,loading:ka},eCe=Object.keys(Gq);function tCe(e){const t=e.duration!==void 0?e.duration:Nq,n=e.key||YBe(),r=new Promise(o=>{const A=()=>(typeof e.onClose=="function"&&e.onClose(),o(!0));ZBe(e,a=>{a.notice({key:n,duration:t,style:e.style||{},class:e.class,content:s=>{let{prefixCls:u}=s;const l=Gq[e.type],c=l?$(l,null,null):"",d=Ze(`${u}-custom-content`,{[`${u}-${e.type}`]:e.type,[`${u}-rtl`]:zq===!0});return $("div",{class:d},[typeof e.icon=="function"?e.icon():e.icon||c,$("span",null,[typeof e.content=="function"?e.content():e.content])])},onClose:A,onClick:e.onClick})})}),i=()=>{vA&&vA.removeNotice(n)};return i.then=(o,A)=>r.then(o,A),i.promise=r,i}function nCe(e){return Object.prototype.toString.call(e)==="[object Object]"&&!!e.content}const Jm={open:tCe,config:JBe,destroy(e){if(vA)if(e){const{removeNotice:t}=vA;t(e)}else{const{destroy:t}=vA;t(),vA=null}}};function rCe(e,t){e[t]=(n,r,i)=>nCe(n)?e.open(V(V({},n),{type:t})):(typeof r=="function"&&(i=r,r=void 0),e.open({content:n,duration:r,type:t,onClose:i}))}eCe.forEach(e=>rCe(Jm,e));Jm.warn=Jm.warning;Jm.useMessage=qBe;const iCe=e=>{const{componentCls:t,width:n,notificationMarginEdge:r}=e,i=new Un("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),o=new Un("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),A=new Un("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:n},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${t}-top, &${t}-bottom`]:{marginInline:0},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:i}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:o}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:r,[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:A}}}},oCe=e=>{const{iconCls:t,componentCls:n,boxShadowSecondary:r,fontSizeLG:i,notificationMarginBottom:o,borderRadiusLG:A,colorSuccess:a,colorInfo:s,colorWarning:u,colorError:l,colorTextHeading:c,notificationBg:d,notificationPadding:f,notificationMarginEdge:g,motionDurationMid:h,motionEaseInOut:m,fontSize:p,lineHeight:v,width:y,notificationIconSize:b}=e,w=`${n}-notice`,C=new Un("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:y},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),B=new Un("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:o,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[n]:V(V(V(V({},qn(e)),{position:"fixed",zIndex:e.zIndexPopup,marginInlineEnd:g,[`${n}-hook-holder`]:{position:"relative"},[`&${n}-top, &${n}-bottom`]:{[`${n}-notice`]:{marginInline:"auto auto"}},[`&${n}-topLeft, &${n}-bottomLeft`]:{[`${n}-notice`]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${n}-fade-enter, ${n}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:m,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${n}-fade-leave`]:{animationTimingFunction:m,animationFillMode:"both",animationDuration:h,animationPlayState:"paused"},[`${n}-fade-enter${n}-fade-enter-active, ${n}-fade-appear${n}-fade-appear-active`]:{animationName:C,animationPlayState:"running"},[`${n}-fade-leave${n}-fade-leave-active`]:{animationName:B,animationPlayState:"running"}}),iCe(e)),{"&-rtl":{direction:"rtl",[`${n}-notice-btn`]:{float:"left"}}})},{[w]:{position:"relative",width:y,maxWidth:`calc(100vw - ${g*2}px)`,marginBottom:o,marginInlineStart:"auto",padding:f,overflow:"hidden",lineHeight:v,wordWrap:"break-word",background:d,borderRadius:A,boxShadow:r,[`${n}-close-icon`]:{fontSize:p,cursor:"pointer"},[`${w}-message`]:{marginBottom:e.marginXS,color:c,fontSize:i,lineHeight:e.lineHeightLG},[`${w}-description`]:{fontSize:p},[`&${w}-closable ${w}-message`]:{paddingInlineEnd:e.paddingLG},[`${w}-with-icon ${w}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.marginSM+b,fontSize:i},[`${w}-with-icon ${w}-description`]:{marginInlineStart:e.marginSM+b,fontSize:p},[`${w}-icon`]:{position:"absolute",fontSize:b,lineHeight:0,[`&-success${t}`]:{color:a},[`&-info${t}`]:{color:s},[`&-warning${t}`]:{color:u},[`&-error${t}`]:{color:l}},[`${w}-close`]:{position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${w}-btn`]:{float:"right",marginTop:e.marginSM}}},{[`${w}-pure-panel`]:{margin:0}}]},Wq=or("Notification",e=>{const t=e.paddingMD,n=e.paddingLG,r=_n(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`,notificationMarginBottom:e.margin,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationIconSize:e.fontSizeLG*e.lineHeightLG,notificationCloseButtonSize:e.controlHeightLG*.55});return[oCe(r)]},e=>({zIndexPopup:e.zIndexPopupBase+50,width:384}));function ACe(e,t){return $("span",{class:`${e}-close-x`},[$(Os,{class:`${e}-close-icon`},null)])}$(lh,null,null),$(Zu,null,null),$(MA,null,null),$(ec,null,null),$(ka,null,null);const aCe={success:Zu,info:lh,error:MA,warning:ec};function sCe(e){let{prefixCls:t,icon:n,type:r,message:i,description:o,btn:A}=e,a=null;if(n)a=$("span",{class:`${t}-icon`},[Rp(n)]);else if(r){const s=aCe[r];a=$(s,{class:`${t}-icon ${t}-icon-${r}`},null)}return $("div",{class:Ze({[`${t}-with-icon`]:a}),role:"alert"},[a,$("div",{class:`${t}-message`},[i]),$("div",{class:`${t}-description`},[o]),A&&$("div",{class:`${t}-btn`},[A])])}function qq(e,t,n){let r;switch(t=typeof t=="number"?`${t}px`:t,n=typeof n=="number"?`${n}px`:n,e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto"};break;case"topRight":r={right:0,top:t,bottom:"auto"};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n};break;default:r={right:0,top:"auto",bottom:n};break}return r}function lCe(e){return{name:`${e}-fade`}}var uCe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const kD=24,cCe=4.5,fCe=Je({name:"Holder",inheritAttrs:!1,props:["prefixCls","class","type","icon","content","onAllRemoved"],setup(e,t){let{expose:n}=t;const{getPrefixCls:r,getPopupContainer:i}=An("notification",e),o=fe(()=>e.prefixCls||r("notification")),A=d=>{var f,g;return qq(d,(f=e.top)!==null&&f!==void 0?f:kD,(g=e.bottom)!==null&&g!==void 0?g:kD)},[,a]=Wq(o),s=()=>Ze(a.value,{[`${o.value}-rtl`]:e.rtl}),u=()=>lCe(o.value),[l,c]=Rq({prefixCls:o.value,getStyles:A,getClassName:s,motion:u,closable:!0,closeIcon:ACe(o.value),duration:cCe,getContainer:()=>{var d,f;return((d=e.getPopupContainer)===null||d===void 0?void 0:d.call(e))||((f=i.value)===null||f===void 0?void 0:f.call(i))||document.body},maxCount:e.maxCount,hashId:a.value,onAllRemoved:e.onAllRemoved});return n(V(V({},l),{prefixCls:o.value,hashId:a})),c}});function dCe(e){const t=Me(null),n=Symbol("notificationHolderKey"),r=a=>{if(!t.value)return;const{open:s,prefixCls:u,hashId:l}=t.value,c=`${u}-notice`,{message:d,description:f,icon:g,type:h,btn:m,class:p}=a,v=uCe(a,["message","description","icon","type","btn","class"]);return s(V(V({placement:"topRight"},v),{content:()=>$(sCe,{prefixCls:c,icon:typeof g=="function"?g():g,type:h,message:typeof d=="function"?d():d,description:typeof f=="function"?f():f,btn:typeof m=="function"?m():m},null),class:Ze(h&&`${c}-${h}`,l,p)}))},o={open:r,destroy:a=>{var s,u;a!==void 0?(s=t.value)===null||s===void 0||s.close(a):(u=t.value)===null||u===void 0||u.destroy()}};return["success","info","warning","error"].forEach(a=>{o[a]=s=>r(V(V({},s),{type:a}))}),[o,()=>$(fCe,ye(ye({key:n},e),{},{ref:t}),null)]}function hCe(e){return dCe(e)}const Bd={};let Xq=4.5,Yq="24px",Jq="24px",SI="",Zq="topRight",eX=()=>document.body,tX=null,EI=!1,nX;function pCe(e){const{duration:t,placement:n,bottom:r,top:i,getContainer:o,closeIcon:A,prefixCls:a}=e;a!==void 0&&(SI=a),t!==void 0&&(Xq=t),n!==void 0&&(Zq=n),r!==void 0&&(Jq=typeof r=="number"?`${r}px`:r),i!==void 0&&(Yq=typeof i=="number"?`${i}px`:i),o!==void 0&&(eX=o),A!==void 0&&(tX=A),e.rtl!==void 0&&(EI=e.rtl),e.maxCount!==void 0&&(nX=e.maxCount)}function gCe(e,t){let{prefixCls:n,placement:r=Zq,getContainer:i=eX,top:o,bottom:A,closeIcon:a=tX,appContext:s}=e;const{getPrefixCls:u}=ICe(),l=u("notification",n||SI),c=`${l}-${r}-${EI}`,d=Bd[c];if(d){Promise.resolve(d).then(g=>{t(g)});return}const f=Ze(`${l}-${r}`,{[`${l}-rtl`]:EI===!0});Tw.newInstance({name:"notification",prefixCls:n||SI,useStyle:Wq,class:f,style:qq(r,o??Yq,A??Jq),appContext:s,getContainer:i,closeIcon:g=>{let{prefixCls:h}=g;return $("span",{class:`${h}-close-x`},[Rp(a,{},$(Os,{class:`${h}-close-icon`},null))])},maxCount:nX,hasTransitionName:!0},g=>{Bd[c]=g,t(g)})}const mCe={success:IO,info:OO,error:TO,warning:_O};function vCe(e){const{icon:t,type:n,description:r,message:i,btn:o}=e,A=e.duration===void 0?Xq:e.duration;gCe(e,a=>{a.notice({content:s=>{let{prefixCls:u}=s;const l=`${u}-notice`;let c=null;if(t)c=()=>$("span",{class:`${l}-icon`},[Rp(t)]);else if(n){const d=mCe[n];c=()=>$(d,{class:`${l}-icon ${l}-icon-${n}`},null)}return $("div",{class:c?`${l}-with-icon`:""},[c&&c(),$("div",{class:`${l}-message`},[!r&&c?$("span",{class:`${l}-message-single-line-auto-margin`},null):null,Rp(i)]),$("div",{class:`${l}-description`},[Rp(r)]),o?$("span",{class:`${l}-btn`},[Rp(o)]):null])},duration:A,closable:!0,onClose:e.onClose,onClick:e.onClick,key:e.key,style:e.style||{},class:e.class})})}const mg={open:vCe,close(e){Object.keys(Bd).forEach(t=>Promise.resolve(Bd[t]).then(n=>{n.removeNotice(e)}))},config:pCe,destroy(){Object.keys(Bd).forEach(e=>{Promise.resolve(Bd[e]).then(t=>{t.destroy()}),delete Bd[e]})}},yCe=["success","info","warning","error"];yCe.forEach(e=>{mg[e]=t=>mg.open(V(V({},t),{type:e}))});mg.warn=mg.warning;mg.useNotification=hCe;const bCe=`-ant-${Date.now()}-${Math.random()}`;function wCe(e,t){const n={},r=(A,a)=>{let s=A.clone();return s=(a==null?void 0:a(s))||s,s.toRgbString()},i=(A,a)=>{const s=new Lr(A),u=Wd(s.toRgbString());n[`${a}-color`]=r(s),n[`${a}-color-disabled`]=u[1],n[`${a}-color-hover`]=u[4],n[`${a}-color-active`]=u[6],n[`${a}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),n[`${a}-color-deprecated-bg`]=u[0],n[`${a}-color-deprecated-border`]=u[2]};if(t.primaryColor){i(t.primaryColor,"primary");const A=new Lr(t.primaryColor),a=Wd(A.toRgbString());a.forEach((u,l)=>{n[`primary-${l+1}`]=u}),n["primary-color-deprecated-l-35"]=r(A,u=>u.lighten(35)),n["primary-color-deprecated-l-20"]=r(A,u=>u.lighten(20)),n["primary-color-deprecated-t-20"]=r(A,u=>u.tint(20)),n["primary-color-deprecated-t-50"]=r(A,u=>u.tint(50)),n["primary-color-deprecated-f-12"]=r(A,u=>u.setAlpha(u.getAlpha()*.12));const s=new Lr(a[0]);n["primary-color-active-deprecated-f-30"]=r(s,u=>u.setAlpha(u.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(s,u=>u.darken(2))}return t.successColor&&i(t.successColor,"success"),t.warningColor&&i(t.warningColor,"warning"),t.errorColor&&i(t.errorColor,"error"),t.infoColor&&i(t.infoColor,"info"),`
- :root {
- ${Object.keys(n).map(A=>`--${e}-${A}: ${n[A]};`).join(`
- `)}
- }
- `.trim()}function BCe(e,t){const n=wCe(e,t);$A()&&Hm(n,`${bCe}-dynamic-theme`)}const CCe=e=>{const[t,n]=Eg();return S3(fe(()=>({theme:t.value,token:n.value,hashId:"",path:["ant-design-icons",e.value]})),()=>[{[`.${e.value}`]:V(V({},mv()),{[`.${e.value} .${e.value}-icon`]:{display:"block"}})}])};function xCe(e,t){const n=fe(()=>(e==null?void 0:e.value)||{}),r=fe(()=>n.value.inherit===!1||!(t!=null&&t.value)?pz:t.value);return fe(()=>{if(!(e!=null&&e.value))return t==null?void 0:t.value;const o=V({},r.value.components);return Object.keys(e.value.components||{}).forEach(A=>{o[A]=V(V({},o[A]),e.value.components[A])}),V(V(V({},r.value),n.value),{token:V(V({},r.value.token),n.value.token),components:o})})}var SCe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const ECe="ant";function Yp(){return Bo.prefixCls||ECe}function rX(){return Bo.iconPrefixCls||U6}const pT=Ir({}),Bo=Ir({});ln(()=>{V(Bo,pT),Bo.prefixCls=Yp(),Bo.iconPrefixCls=rX(),Bo.getPrefixCls=(e,t)=>t||(e?`${Bo.prefixCls}-${e}`:Bo.prefixCls),Bo.getRootPrefixCls=()=>Bo.prefixCls?Bo.prefixCls:Yp()});let Tx;const FCe=e=>{Tx&&Tx(),Tx=ln(()=>{V(pT,Ir(e)),V(Bo,Ir(e))}),e.theme&&BCe(Yp(),e.theme)},ICe=()=>({getPrefixCls:(e,t)=>t||(e?`${Yp()}-${e}`:Yp()),getIconPrefixCls:rX,getRootPrefixCls:()=>Bo.prefixCls?Bo.prefixCls:Yp()}),Jp=Je({compatConfig:{MODE:3},name:"AConfigProvider",inheritAttrs:!1,props:IAe(),setup(e,t){let{slots:n}=t;const r=P6(),i=(H,X)=>{const{prefixCls:z="ant"}=e;if(X)return X;const Z=z||r.getPrefixCls("");return H?`${Z}-${H}`:Z},o=fe(()=>e.iconPrefixCls||r.iconPrefixCls.value||U6),A=fe(()=>o.value!==r.iconPrefixCls.value),a=fe(()=>{var H;return e.csp||((H=r.csp)===null||H===void 0?void 0:H.value)}),s=CCe(o),u=xCe(fe(()=>e.theme),fe(()=>{var H;return(H=r.theme)===null||H===void 0?void 0:H.value})),l=H=>(e.renderEmpty||n.renderEmpty||r.renderEmpty||fse)(H),c=fe(()=>{var H,X;return(H=e.autoInsertSpaceInButton)!==null&&H!==void 0?H:(X=r.autoInsertSpaceInButton)===null||X===void 0?void 0:X.value}),d=fe(()=>{var H;return e.locale||((H=r.locale)===null||H===void 0?void 0:H.value)});st(d,()=>{pT.locale=d.value},{immediate:!0});const f=fe(()=>{var H;return e.direction||((H=r.direction)===null||H===void 0?void 0:H.value)}),g=fe(()=>{var H,X;return(H=e.space)!==null&&H!==void 0?H:(X=r.space)===null||X===void 0?void 0:X.value}),h=fe(()=>{var H,X;return(H=e.virtual)!==null&&H!==void 0?H:(X=r.virtual)===null||X===void 0?void 0:X.value}),m=fe(()=>{var H,X;return(H=e.dropdownMatchSelectWidth)!==null&&H!==void 0?H:(X=r.dropdownMatchSelectWidth)===null||X===void 0?void 0:X.value}),p=fe(()=>{var H;return e.getTargetContainer!==void 0?e.getTargetContainer:(H=r.getTargetContainer)===null||H===void 0?void 0:H.value}),v=fe(()=>{var H;return e.getPopupContainer!==void 0?e.getPopupContainer:(H=r.getPopupContainer)===null||H===void 0?void 0:H.value}),y=fe(()=>{var H;return e.pageHeader!==void 0?e.pageHeader:(H=r.pageHeader)===null||H===void 0?void 0:H.value}),b=fe(()=>{var H;return e.input!==void 0?e.input:(H=r.input)===null||H===void 0?void 0:H.value}),w=fe(()=>{var H;return e.pagination!==void 0?e.pagination:(H=r.pagination)===null||H===void 0?void 0:H.value}),C=fe(()=>{var H;return e.form!==void 0?e.form:(H=r.form)===null||H===void 0?void 0:H.value}),B=fe(()=>{var H;return e.select!==void 0?e.select:(H=r.select)===null||H===void 0?void 0:H.value}),O=fe(()=>e.componentSize),x=fe(()=>e.componentDisabled),M=fe(()=>{var H,X;return(H=e.wave)!==null&&H!==void 0?H:(X=r.wave)===null||X===void 0?void 0:X.value}),R={csp:a,autoInsertSpaceInButton:c,locale:d,direction:f,space:g,virtual:h,dropdownMatchSelectWidth:m,getPrefixCls:i,iconPrefixCls:o,theme:fe(()=>{var H,X;return(H=u.value)!==null&&H!==void 0?H:(X=r.theme)===null||X===void 0?void 0:X.value}),renderEmpty:l,getTargetContainer:p,getPopupContainer:v,pageHeader:y,input:b,pagination:w,form:C,select:B,componentSize:O,componentDisabled:x,transformCellText:fe(()=>e.transformCellText),wave:M},F=fe(()=>{const H=u.value||{},{algorithm:X,token:z}=H,Z=SCe(H,["algorithm","token"]),q=X&&(!Array.isArray(X)||X.length>0)?ZV(X):void 0;return V(V({},Z),{theme:q,token:V(V({},wB),z)})}),L=fe(()=>{var H,X;let z={};return d.value&&(z=((H=d.value.Form)===null||H===void 0?void 0:H.defaultValidateMessages)||((X=Ss.Form)===null||X===void 0?void 0:X.defaultValidateMessages)||{}),e.form&&e.form.validateMessages&&(z=V(V({},z),e.form.validateMessages)),z});_Ae(R),EAe({validateMessages:L}),bz(O),NV(x);const E=H=>{var X,z;let Z=A.value?s((X=n.default)===null||X===void 0?void 0:X.call(n)):(z=n.default)===null||z===void 0?void 0:z.call(n);if(e.theme){const q=function(){return Z}();Z=$(ase,{value:F.value},{default:()=>[q]})}return $(QBe,{locale:d.value||H,ANT_MARK__:xI},{default:()=>[Z]})};return ln(()=>{f.value&&(Jm.config({rtl:f.value==="rtl"}),mg.config({rtl:f.value==="rtl"}))}),()=>$(kV,{children:(H,X,z)=>E(z)},null)}});Jp.config=FCe;Jp.install=function(e){e.component(Jp.name,Jp)};const _Ce=(e,t)=>{let{attrs:n,slots:r}=t;return $(Oo,ye(ye({size:"small",type:"primary"},e),n),r)},ly=(e,t,n)=>{const r=eAe(n);return{[`${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},OCe=e=>dz(e,(t,n)=>{let{textColor:r,lightBorderColor:i,lightColor:o,darkColor:A}=n;return{[`${e.componentCls}-${t}`]:{color:r,background:o,borderColor:i,"&-inverse":{color:e.colorTextLightSolid,background:A,borderColor:A},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}}),TCe=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:i}=e,o=r-n,A=t-n;return{[i]:V(V({},qn(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:`${e.tagLineHeight}px`,whiteSpace:"nowrap",background:e.tagDefaultBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",[`&${i}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.tagDefaultColor},[`${i}-close-icon`]:{marginInlineStart:A,color:e.colorTextDescription,fontSize:e.tagIconSize,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${i}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${i}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${i}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},iX=or("Tag",e=>{const{fontSize:t,lineHeight:n,lineWidth:r,fontSizeIcon:i}=e,o=Math.round(t*n),A=e.fontSizeSM,a=o-r*2,s=e.colorFillAlter,u=e.colorText,l=_n(e,{tagFontSize:A,tagLineHeight:a,tagDefaultBg:s,tagDefaultColor:u,tagIconSize:i-2*r,tagPaddingHorizontal:8,tagBorderlessBg:e.colorFillTertiary});return[TCe(l),OCe(l),ly(l,"success","Success"),ly(l,"processing","Info"),ly(l,"error","Error"),ly(l,"warning","Warning")]}),UCe=()=>({prefixCls:String,checked:{type:Boolean,default:void 0},onChange:{type:Function},onClick:{type:Function},"onUpdate:checked":Function}),FI=Je({compatConfig:{MODE:3},name:"ACheckableTag",inheritAttrs:!1,props:UCe(),setup(e,t){let{slots:n,emit:r,attrs:i}=t;const{prefixCls:o}=An("tag",e),[A,a]=iX(o),s=l=>{const{checked:c}=e;r("update:checked",!c),r("change",!c),r("click",l)},u=fe(()=>Ze(o.value,a.value,{[`${o.value}-checkable`]:!0,[`${o.value}-checkable-checked`]:e.checked}));return()=>{var l;return A($("span",ye(ye({},i),{},{class:[u.value,i.class],onClick:s}),[(l=n.default)===null||l===void 0?void 0:l.call(n)]))}}}),QCe=()=>({prefixCls:String,color:{type:String},closable:{type:Boolean,default:!1},closeIcon:He.any,visible:{type:Boolean,default:void 0},onClose:{type:Function},onClick:Gd(),"onUpdate:visible":Function,icon:He.any,bordered:{type:Boolean,default:!0}}),pm=Je({compatConfig:{MODE:3},name:"ATag",inheritAttrs:!1,props:QCe(),slots:Object,setup(e,t){let{slots:n,emit:r,attrs:i}=t;const{prefixCls:o,direction:A}=An("tag",e),[a,s]=iX(o),u=Me(!0);ln(()=>{e.visible!==void 0&&(u.value=e.visible)});const l=g=>{g.stopPropagation(),r("update:visible",!1),r("close",g),!g.defaultPrevented&&e.visible===void 0&&(u.value=!1)},c=fe(()=>tW(e.color)||Gme(e.color)),d=fe(()=>Ze(o.value,s.value,{[`${o.value}-${e.color}`]:c.value,[`${o.value}-has-color`]:e.color&&!c.value,[`${o.value}-hidden`]:!u.value,[`${o.value}-rtl`]:A.value==="rtl",[`${o.value}-borderless`]:!e.bordered})),f=g=>{r("click",g)};return()=>{var g,h,m;const{icon:p=(g=n.icon)===null||g===void 0?void 0:g.call(n),color:v,closeIcon:y=(h=n.closeIcon)===null||h===void 0?void 0:h.call(n),closable:b=!1}=e,w=()=>b?y?$("span",{class:`${o.value}-close-icon`,onClick:l},[y]):$(Os,{class:`${o.value}-close-icon`,onClick:l},null):null,C={backgroundColor:v&&!c.value?v:void 0},B=p||null,O=(m=n.default)===null||m===void 0?void 0:m.call(n),x=B?$(mn,null,[B,$("span",null,[O])]):O,M=e.onClick!==void 0,R=$("span",ye(ye({},i),{},{onClick:f,class:[d.value,i.class],style:[C,i.style]}),[x,w()]);return a(M?$(sW,null,{default:()=>[R]}):R)}}});pm.CheckableTag=FI;pm.install=function(e){return e.component(pm.name,pm),e.component(FI.name,FI),e};function PCe(e,t){let{slots:n,attrs:r}=t;return $(pm,ye(ye({color:"blue"},e),r),n)}var LCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};function jD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){DCe(e,i,n[i])})}return e}function DCe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var JB=function(t,n){var r=jD({},t,n.attrs);return $(cn,jD({},r,{icon:LCe}),null)};JB.displayName="CalendarOutlined";JB.inheritAttrs=!1;var RCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};function KD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){$Ce(e,i,n[i])})}return e}function $Ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ZB=function(t,n){var r=KD({},t,n.attrs);return $(cn,KD({},r,{icon:RCe}),null)};ZB.displayName="ClockCircleOutlined";ZB.inheritAttrs=!1;function NCe(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function HCe(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function oX(e,t){const n={adjustX:1,adjustY:1};switch(t){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:n};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:n};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:n};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:n};default:return{points:e==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:n}}}function Uw(){return{id:String,dropdownClassName:String,popupClassName:String,popupStyle:qt(),transitionName:String,placeholder:String,allowClear:Qt(),autofocus:Qt(),disabled:Qt(),tabindex:Number,open:Qt(),defaultOpen:Qt(),inputReadOnly:Qt(),format:Hn([String,Function,Array]),getPopupContainer:lt(),panelRender:lt(),onChange:lt(),"onUpdate:value":lt(),onOk:lt(),onOpenChange:lt(),"onUpdate:open":lt(),onFocus:lt(),onBlur:lt(),onMousedown:lt(),onMouseup:lt(),onMouseenter:lt(),onMouseleave:lt(),onClick:lt(),onContextmenu:lt(),onKeydown:lt(),role:String,name:String,autocomplete:String,direction:yn(),showToday:Qt(),showTime:Hn([Boolean,Object]),locale:qt(),size:yn(),bordered:Qt(),dateRender:lt(),disabledDate:lt(),mode:yn(),picker:yn(),valueFormat:String,placement:yn(),status:yn(),disabledHours:lt(),disabledMinutes:lt(),disabledSeconds:lt()}}function AX(){return{defaultPickerValue:Hn([Object,String]),defaultValue:Hn([Object,String]),value:Hn([Object,String]),presets:fr(),disabledTime:lt(),renderExtraFooter:lt(),showNow:Qt(),monthCellRender:lt(),monthCellContentRender:lt()}}function aX(){return{allowEmpty:fr(),dateRender:lt(),defaultPickerValue:fr(),defaultValue:fr(),value:fr(),presets:fr(),disabledTime:lt(),disabled:Hn([Boolean,Array]),renderExtraFooter:lt(),separator:{type:String},showTime:Hn([Boolean,Object]),ranges:qt(),placeholder:fr(),mode:fr(),onChange:lt(),"onUpdate:value":lt(),onCalendarChange:lt(),onPanelChange:lt(),onOk:lt()}}var MCe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function kCe(e,t){function n(u,l){const c=V(V(V({},Uw()),AX()),t);return Je({compatConfig:{MODE:3},name:l,inheritAttrs:!1,props:c,slots:Object,setup(d,f){let{slots:g,expose:h,attrs:m,emit:p}=f;const v=d,y=NA(),b=ha.useInject(),{prefixCls:w,direction:C,getPopupContainer:B,size:O,rootPrefixCls:x,disabled:M}=An("picker",v),{compactSize:R,compactItemClassnames:F}=Ug(w,C),L=fe(()=>R.value||O.value),[E,H]=aq(w),X=qe();h({focus:()=>{var K;(K=X.value)===null||K===void 0||K.focus()},blur:()=>{var K;(K=X.value)===null||K===void 0||K.blur()}});const z=K=>v.valueFormat?e.toString(K,v.valueFormat):K,Z=(K,Ae)=>{const ae=z(K);p("update:value",ae),p("change",ae,Ae),y.onFieldChange()},q=K=>{p("update:open",K),p("openChange",K)},te=K=>{p("focus",K)},ne=K=>{p("blur",K),y.onFieldBlur()},_=(K,Ae)=>{const ae=z(K);p("panelChange",ae,Ae)},Y=K=>{const Ae=z(K);p("ok",Ae)},[re]=Rl("DatePicker",uw),se=fe(()=>v.value?v.valueFormat?e.toDate(v.value,v.valueFormat):v.value:v.value===""?void 0:v.value),ce=fe(()=>v.defaultValue?v.valueFormat?e.toDate(v.defaultValue,v.valueFormat):v.defaultValue:v.defaultValue===""?void 0:v.defaultValue),N=fe(()=>v.defaultPickerValue?v.valueFormat?e.toDate(v.defaultPickerValue,v.valueFormat):v.defaultPickerValue:v.defaultPickerValue===""?void 0:v.defaultPickerValue);return()=>{var K,Ae,ae,ie,J,ue;const G=V(V({},re.value),v.locale),pe=V(V({},v),m),{bordered:k=!0,placeholder:P,suffixIcon:U=(K=g.suffixIcon)===null||K===void 0?void 0:K.call(g),showToday:W=!0,transitionName:de,allowClear:me=!0,dateRender:ve=g.dateRender,renderExtraFooter:be=g.renderExtraFooter,monthCellRender:Te=g.monthCellRender||v.monthCellContentRender||g.monthCellContentRender,clearIcon:we=(Ae=g.clearIcon)===null||Ae===void 0?void 0:Ae.call(g),id:xe=y.id.value}=pe,Ue=MCe(pe,["bordered","placeholder","suffixIcon","showToday","transitionName","allowClear","dateRender","renderExtraFooter","monthCellRender","clearIcon","id"]),ke=pe.showTime===""?!0:pe.showTime,{format:et}=pe;let De={};u&&(De.picker=u);const _e=u||pe.picker||"date";De=V(V(V({},De),ke?Qw(V({format:et,picker:_e},typeof ke=="object"?ke:{})):{}),_e==="time"?Qw(V(V({format:et},Ue),{picker:_e})):{});const Re=w.value,Ne=$(mn,null,[U||$(u==="time"?ZB:JB,null,null),b.hasFeedback&&b.feedbackIcon]);return E($(Cye,ye(ye(ye({monthCellRender:Te,dateRender:ve,renderExtraFooter:be,ref:X,placeholder:NCe(G,_e,P),suffixIcon:Ne,dropdownAlign:oX(C.value,v.placement),clearIcon:we||$(MA,null,null),allowClear:me,transitionName:de||`${x.value}-slide-up`},Ue),De),{},{id:xe,picker:_e,value:se.value,defaultValue:ce.value,defaultPickerValue:N.value,showToday:W,locale:G.lang,class:Ze({[`${Re}-${L.value}`]:L.value,[`${Re}-borderless`]:!k},ws(Re,sh(b.status,v.status),b.hasFeedback),m.class,H.value,F.value),disabled:M.value,prefixCls:Re,getPopupContainer:m.getCalendarContainer||B.value,generateConfig:e,prevIcon:((ae=g.prevIcon)===null||ae===void 0?void 0:ae.call(g))||$("span",{class:`${Re}-prev-icon`},null),nextIcon:((ie=g.nextIcon)===null||ie===void 0?void 0:ie.call(g))||$("span",{class:`${Re}-next-icon`},null),superPrevIcon:((J=g.superPrevIcon)===null||J===void 0?void 0:J.call(g))||$("span",{class:`${Re}-super-prev-icon`},null),superNextIcon:((ue=g.superNextIcon)===null||ue===void 0?void 0:ue.call(g))||$("span",{class:`${Re}-super-next-icon`},null),components:sX,direction:C.value,dropdownClassName:Ze(H.value,v.popupClassName,v.dropdownClassName),onChange:Z,onOpenChange:q,onFocus:te,onBlur:ne,onPanelChange:_,onOk:Y}),null))}}})}const r=n(void 0,"ADatePicker"),i=n("week","AWeekPicker"),o=n("month","AMonthPicker"),A=n("year","AYearPicker"),a=n("time","TimePicker"),s=n("quarter","AQuarterPicker");return{DatePicker:r,WeekPicker:i,MonthPicker:o,YearPicker:A,TimePicker:a,QuarterPicker:s}}var jCe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};function VD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){KCe(e,i,n[i])})}return e}function KCe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gT=function(t,n){var r=VD({},t,n.attrs);return $(cn,VD({},r,{icon:jCe}),null)};gT.displayName="SwapRightOutlined";gT.inheritAttrs=!1;var VCe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function zCe(e,t){return Je({compatConfig:{MODE:3},name:"ARangePicker",inheritAttrs:!1,props:V(V(V({},Uw()),aX()),t),slots:Object,setup(r,i){let{expose:o,slots:A,attrs:a,emit:s}=i;const u=r,l=NA(),c=ha.useInject(),{prefixCls:d,direction:f,getPopupContainer:g,size:h,rootPrefixCls:m,disabled:p}=An("picker",u),{compactSize:v,compactItemClassnames:y}=Ug(d,f),b=fe(()=>v.value||h.value),[w,C]=aq(d),B=qe();o({focus:()=>{var te;(te=B.value)===null||te===void 0||te.focus()},blur:()=>{var te;(te=B.value)===null||te===void 0||te.blur()}});const O=te=>u.valueFormat?e.toString(te,u.valueFormat):te,x=(te,ne)=>{const _=O(te);s("update:value",_),s("change",_,ne),l.onFieldChange()},M=te=>{s("update:open",te),s("openChange",te)},R=te=>{s("focus",te)},F=te=>{s("blur",te),l.onFieldBlur()},L=(te,ne)=>{const _=O(te);s("panelChange",_,ne)},E=te=>{const ne=O(te);s("ok",ne)},H=(te,ne,_)=>{const Y=O(te);s("calendarChange",Y,ne,_)},[X]=Rl("DatePicker",uw),z=fe(()=>u.value&&u.valueFormat?e.toDate(u.value,u.valueFormat):u.value),Z=fe(()=>u.defaultValue&&u.valueFormat?e.toDate(u.defaultValue,u.valueFormat):u.defaultValue),q=fe(()=>u.defaultPickerValue&&u.valueFormat?e.toDate(u.defaultPickerValue,u.valueFormat):u.defaultPickerValue);return()=>{var te,ne,_,Y,re,se,ce;const N=V(V({},X.value),u.locale),K=V(V({},u),a),{prefixCls:Ae,bordered:ae=!0,placeholder:ie,suffixIcon:J=(te=A.suffixIcon)===null||te===void 0?void 0:te.call(A),picker:ue="date",transitionName:G,allowClear:pe=!0,dateRender:k=A.dateRender,renderExtraFooter:P=A.renderExtraFooter,separator:U=(ne=A.separator)===null||ne===void 0?void 0:ne.call(A),clearIcon:W=(_=A.clearIcon)===null||_===void 0?void 0:_.call(A),id:de=l.id.value}=K,me=VCe(K,["prefixCls","bordered","placeholder","suffixIcon","picker","transitionName","allowClear","dateRender","renderExtraFooter","separator","clearIcon","id"]);delete me["onUpdate:value"],delete me["onUpdate:open"];const{format:ve,showTime:be}=K;let Te={};Te=V(V(V({},Te),be?Qw(V({format:ve,picker:ue},be)):{}),ue==="time"?Qw(V(V({format:ve},_r(me,["disabledTime"])),{picker:ue})):{});const we=d.value,xe=$(mn,null,[J||$(ue==="time"?ZB:JB,null,null),c.hasFeedback&&c.feedbackIcon]);return w($(Dye,ye(ye(ye({dateRender:k,renderExtraFooter:P,separator:U||$("span",{"aria-label":"to",class:`${we}-separator`},[$(gT,null,null)]),ref:B,dropdownAlign:oX(f.value,u.placement),placeholder:HCe(N,ue,ie),suffixIcon:xe,clearIcon:W||$(MA,null,null),allowClear:pe,transitionName:G||`${m.value}-slide-up`},me),Te),{},{disabled:p.value,id:de,value:z.value,defaultValue:Z.value,defaultPickerValue:q.value,picker:ue,class:Ze({[`${we}-${b.value}`]:b.value,[`${we}-borderless`]:!ae},ws(we,sh(c.status,u.status),c.hasFeedback),a.class,C.value,y.value),locale:N.lang,prefixCls:we,getPopupContainer:a.getCalendarContainer||g.value,generateConfig:e,prevIcon:((Y=A.prevIcon)===null||Y===void 0?void 0:Y.call(A))||$("span",{class:`${we}-prev-icon`},null),nextIcon:((re=A.nextIcon)===null||re===void 0?void 0:re.call(A))||$("span",{class:`${we}-next-icon`},null),superPrevIcon:((se=A.superPrevIcon)===null||se===void 0?void 0:se.call(A))||$("span",{class:`${we}-super-prev-icon`},null),superNextIcon:((ce=A.superNextIcon)===null||ce===void 0?void 0:ce.call(A))||$("span",{class:`${we}-super-next-icon`},null),components:sX,direction:f.value,dropdownClassName:Ze(C.value,u.popupClassName,u.dropdownClassName),onChange:x,onOpenChange:M,onFocus:R,onBlur:F,onPanelChange:L,onOk:E,onCalendarChange:H}),null))}}})}const sX={button:_Ce,rangeItem:PCe};function GCe(e){return e?Array.isArray(e)?e:[e]:[]}function Qw(e){const{format:t,picker:n,showHour:r,showMinute:i,showSecond:o,use12Hours:A}=e,a=GCe(t)[0],s=V({},e);return a&&typeof a=="string"&&(!a.includes("s")&&o===void 0&&(s.showSecond=!1),!a.includes("m")&&i===void 0&&(s.showMinute=!1),!a.includes("H")&&!a.includes("h")&&r===void 0&&(s.showHour=!1),(a.includes("a")||a.includes("A"))&&A===void 0&&(s.use12Hours=!0)),n==="time"?s:(typeof a=="function"&&delete s.format,{showTime:s})}function lX(e,t){const{DatePicker:n,WeekPicker:r,MonthPicker:i,YearPicker:o,TimePicker:A,QuarterPicker:a}=kCe(e,t),s=zCe(e,t);return{DatePicker:n,WeekPicker:r,MonthPicker:i,YearPicker:o,TimePicker:A,QuarterPicker:a,RangePicker:s}}const{DatePicker:Ux,WeekPicker:Qx,MonthPicker:Px,YearPicker:WCe,TimePicker:qCe,QuarterPicker:Lx,RangePicker:Dx}=lX(OW),OHe=V(Ux,{WeekPicker:Qx,MonthPicker:Px,YearPicker:WCe,RangePicker:Dx,TimePicker:qCe,QuarterPicker:Lx,install:e=>(e.component(Ux.name,Ux),e.component(Dx.name,Dx),e.component(Px.name,Px),e.component(Qx.name,Qx),e.component(Lx.name,Lx),e)}),XCe=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:i}=e;return{[t]:V(V({},qn(e)),{borderBlockStart:`${i}px solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${e.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${i}px solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${i}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${t}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${i}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},YCe=or("Divider",e=>{const t=_n(e,{dividerVerticalGutterMargin:e.marginXS,dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG});return[XCe(t)]},{sizePaddingEdgeHorizontal:0}),JCe=()=>({prefixCls:String,type:{type:String,default:"horizontal"},dashed:{type:Boolean,default:!1},orientation:{type:String,default:"center"},plain:{type:Boolean,default:!1},orientationMargin:[String,Number]}),ZCe=Je({name:"ADivider",inheritAttrs:!1,compatConfig:{MODE:3},props:JCe(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=An("divider",e),[A,a]=YCe(i),s=fe(()=>e.orientation==="left"&&e.orientationMargin!=null),u=fe(()=>e.orientation==="right"&&e.orientationMargin!=null),l=fe(()=>{const{type:f,dashed:g,plain:h}=e,m=i.value;return{[m]:!0,[a.value]:!!a.value,[`${m}-${f}`]:!0,[`${m}-dashed`]:!!g,[`${m}-plain`]:!!h,[`${m}-rtl`]:o.value==="rtl",[`${m}-no-default-orientation-margin-left`]:s.value,[`${m}-no-default-orientation-margin-right`]:u.value}}),c=fe(()=>{const f=typeof e.orientationMargin=="number"?`${e.orientationMargin}px`:e.orientationMargin;return V(V({},s.value&&{marginLeft:f}),u.value&&{marginRight:f})}),d=fe(()=>e.orientation.length>0?"-"+e.orientation:e.orientation);return()=>{var f;const g=ui((f=n.default)===null||f===void 0?void 0:f.call(n));return A($("div",ye(ye({},r),{},{class:[l.value,g.length?`${i.value}-with-text ${i.value}-with-text${d.value}`:"",r.class],role:"separator"}),[g.length?$("span",{class:`${i.value}-inner-text`,style:c.value},[g]):null]))}}}),THe=Ga(ZCe);Du.Button=Sw;Du.install=function(e){return e.component(Du.name,Du),e.component(Sw.name,Sw),e};const uX=()=>({prefixCls:String,width:He.oneOfType([He.string,He.number]),height:He.oneOfType([He.string,He.number]),style:{type:Object,default:void 0},class:String,rootClassName:String,rootStyle:qt(),placement:{type:String},wrapperClassName:String,level:{type:[String,Array]},levelMove:{type:[Number,Function,Array]},duration:String,ease:String,showMask:{type:Boolean,default:void 0},maskClosable:{type:Boolean,default:void 0},maskStyle:{type:Object,default:void 0},afterVisibleChange:Function,keyboard:{type:Boolean,default:void 0},contentWrapperStyle:fr(),autofocus:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},motion:lt(),maskMotion:qt()}),e2e=()=>V(V({},uX()),{forceRender:{type:Boolean,default:void 0},getContainer:He.oneOfType([He.string,He.func,He.object,He.looseBool])}),t2e=()=>V(V({},uX()),{getContainer:Function,getOpenCount:Function,scrollLocker:He.any,inline:Boolean});function n2e(e){return Array.isArray(e)?e:[e]}const r2e={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"};Object.keys(r2e).filter(e=>{if(typeof document>"u")return!1;const t=document.getElementsByTagName("html")[0];return e in(t?t.style:{})})[0];const i2e=!(typeof window<"u"&&window.document&&window.document.createElement);var o2e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const zD=Je({compatConfig:{MODE:3},inheritAttrs:!1,props:t2e(),emits:["close","handleClick","change"],setup(e,t){let{emit:n,slots:r}=t;const i=Me(),o=Me(),A=Me(),a=Me(),s=Me();let u=[];`${Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)}`,vn(()=>{$n(()=>{var p;const{open:v,getContainer:y,showMask:b,autofocus:w}=e,C=y==null?void 0:y();g(e),v&&(C&&(C.parentNode,document.body),$n(()=>{w&&l()}),b&&((p=e.scrollLocker)===null||p===void 0||p.lock()))})}),st(()=>e.level,()=>{g(e)},{flush:"post"}),st(()=>e.open,()=>{const{open:p,getContainer:v,scrollLocker:y,showMask:b,autofocus:w}=e,C=v==null?void 0:v();C&&(C.parentNode,document.body),p?(w&&l(),b&&(y==null||y.lock())):y==null||y.unLock()},{flush:"post"}),za(()=>{var p;const{open:v}=e;v&&(document.body.style.touchAction=""),(p=e.scrollLocker)===null||p===void 0||p.unLock()}),st(()=>e.placement,p=>{p&&(s.value=null)});const l=()=>{var p,v;(v=(p=o.value)===null||p===void 0?void 0:p.focus)===null||v===void 0||v.call(p)},c=p=>{n("close",p)},d=p=>{p.keyCode===ut.ESC&&(p.stopPropagation(),c(p))},f=()=>{const{open:p,afterVisibleChange:v}=e;v&&v(!!p)},g=p=>{let{level:v,getContainer:y}=p;if(i2e)return;const b=y==null?void 0:y(),w=b?b.parentNode:null;u=[],v==="all"?(w?Array.prototype.slice.call(w.children):[]).forEach(B=>{B.nodeName!=="SCRIPT"&&B.nodeName!=="STYLE"&&B.nodeName!=="LINK"&&B!==b&&u.push(B)}):v&&n2e(v).forEach(C=>{document.querySelectorAll(C).forEach(B=>{u.push(B)})})},h=p=>{n("handleClick",p)},m=Me(!1);return st(o,()=>{$n(()=>{m.value=!0})}),()=>{var p,v;const{width:y,height:b,open:w,prefixCls:C,placement:B,level:O,levelMove:x,ease:M,duration:R,getContainer:F,onChange:L,afterVisibleChange:E,showMask:H,maskClosable:X,maskStyle:z,keyboard:Z,getOpenCount:q,scrollLocker:te,contentWrapperStyle:ne,style:_,class:Y,rootClassName:re,rootStyle:se,maskMotion:ce,motion:N,inline:K}=e,Ae=o2e(e,["width","height","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","keyboard","getOpenCount","scrollLocker","contentWrapperStyle","style","class","rootClassName","rootStyle","maskMotion","motion","inline"]),ae=w&&m.value,ie=Ze(C,{[`${C}-${B}`]:!0,[`${C}-open`]:ae,[`${C}-inline`]:K,"no-mask":!H,[re]:!0}),J=typeof N=="function"?N(B):N;return $("div",ye(ye({},_r(Ae,["autofocus"])),{},{tabindex:-1,class:ie,style:se,ref:o,onKeydown:ae&&Z?d:void 0}),[$(ca,ce,{default:()=>[H&&Cs($("div",{class:`${C}-mask`,onClick:X?c:void 0,style:z,ref:A},null),[[Ol,ae]])]}),$(ca,ye(ye({},J),{},{onAfterEnter:f,onAfterLeave:f}),{default:()=>[Cs($("div",{class:`${C}-content-wrapper`,style:[ne],ref:i},[$("div",{class:[`${C}-content`,Y],style:_,ref:s},[(p=r.default)===null||p===void 0?void 0:p.call(r)]),r.handler?$("div",{onClick:h,ref:a},[(v=r.handler)===null||v===void 0?void 0:v.call(r)]):null]),[[Ol,ae]])]})])}}});var GD=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const A2e=Je({compatConfig:{MODE:3},inheritAttrs:!1,props:lr(e2e(),{prefixCls:"drawer",placement:"left",getContainer:"body",level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",afterVisibleChange:()=>{},showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",keyboard:!0,forceRender:!1,autofocus:!0}),emits:["handleClick","close"],setup(e,t){let{emit:n,slots:r}=t;const i=qe(null),o=a=>{n("handleClick",a)},A=a=>{n("close",a)};return()=>{const{getContainer:a,wrapperClassName:s,rootClassName:u,rootStyle:l,forceRender:c}=e,d=GD(e,["getContainer","wrapperClassName","rootClassName","rootStyle","forceRender"]);let f=null;if(!a)return $(zD,ye(ye({},d),{},{rootClassName:u,rootStyle:l,open:e.open,onClose:A,onHandleClick:o,inline:!0}),r);const g=!!r.handler||c;return(g||e.open||i.value)&&(f=$(sO,{autoLock:!0,visible:e.open,forceRender:g,getContainer:a,wrapperClassName:s},{default:h=>{var{visible:m,afterClose:p}=h,v=GD(h,["visible","afterClose"]);return $(zD,ye(ye(ye({ref:i},d),v),{},{rootClassName:u,rootStyle:l,open:m!==void 0?m:e.open,afterVisibleChange:p!==void 0?p:e.afterVisibleChange,onClose:A,onHandleClick:o}),r)}})),f}}}),a2e=e=>{const{componentCls:t,motionDurationSlow:n}=e,r={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${n}`}}};return{[t]:{[`${t}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${n}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${t}-panel-motion`]:{"&-left":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}},s2e=e=>{const{componentCls:t,zIndexPopup:n,colorBgMask:r,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:A,padding:a,paddingLG:s,fontSizeLG:u,lineHeightLG:l,lineWidth:c,lineType:d,colorSplit:f,marginSM:g,colorIcon:h,colorIconHover:m,colorText:p,fontWeightStrong:v,drawerFooterPaddingVertical:y,drawerFooterPaddingHorizontal:b}=e,w=`${t}-content-wrapper`;return{[t]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none","&-pure":{position:"relative",background:i,[`&${t}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${t}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${t}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${t}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${t}-mask`]:{position:"absolute",inset:0,zIndex:n,background:r,pointerEvents:"auto"},[w]:{position:"absolute",zIndex:n,transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${w}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${w}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${w}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${w}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${t}-content`]:{width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${t}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${t}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${a}px ${s}px`,fontSize:u,lineHeight:l,borderBottom:`${c}px ${d} ${f}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${t}-extra`]:{flex:"none"},[`${t}-close`]:{display:"inline-block",marginInlineEnd:g,color:h,fontWeight:v,fontSize:u,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${A}`,textRendering:"auto","&:focus, &:hover":{color:m,textDecoration:"none"}},[`${t}-title`]:{flex:1,margin:0,color:p,fontWeight:e.fontWeightStrong,fontSize:u,lineHeight:l},[`${t}-body`]:{flex:1,minWidth:0,minHeight:0,padding:s,overflow:"auto"},[`${t}-footer`]:{flexShrink:0,padding:`${y}px ${b}px`,borderTop:`${c}px ${d} ${f}`},"&-rtl":{direction:"rtl"}}}},l2e=or("Drawer",e=>{const t=_n(e,{drawerFooterPaddingVertical:e.paddingXS,drawerFooterPaddingHorizontal:e.padding});return[s2e(t),a2e(t)]},e=>({zIndexPopup:e.zIndexPopupBase}));var u2e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const c2e=["top","right","bottom","left"],WD={distance:180},f2e=()=>({autofocus:{type:Boolean,default:void 0},closable:{type:Boolean,default:void 0},closeIcon:He.any,destroyOnClose:{type:Boolean,default:void 0},forceRender:{type:Boolean,default:void 0},getContainer:{type:[String,Function,Boolean,Object],default:void 0},maskClosable:{type:Boolean,default:void 0},mask:{type:Boolean,default:void 0},maskStyle:qt(),rootClassName:String,rootStyle:qt(),size:{type:String},drawerStyle:qt(),headerStyle:qt(),bodyStyle:qt(),contentWrapperStyle:{type:Object,default:void 0},title:He.any,visible:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},width:He.oneOfType([He.string,He.number]),height:He.oneOfType([He.string,He.number]),zIndex:Number,prefixCls:String,push:He.oneOfType([He.looseBool,{type:Object}]),placement:He.oneOf(c2e),keyboard:{type:Boolean,default:void 0},extra:He.any,footer:He.any,footerStyle:qt(),level:He.any,levelMove:{type:[Number,Array,Function]},handle:He.any,afterVisibleChange:Function,onAfterVisibleChange:Function,onAfterOpenChange:Function,"onUpdate:visible":Function,"onUpdate:open":Function,onClose:Function}),d2e=Je({compatConfig:{MODE:3},name:"ADrawer",inheritAttrs:!1,props:lr(f2e(),{closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:WD}),slots:Object,setup(e,t){let{emit:n,slots:r,attrs:i}=t;const o=Me(!1),A=Me(!1),a=Me(null),s=Me(!1),u=Me(!1),l=fe(()=>{var q;return(q=e.open)!==null&&q!==void 0?q:e.visible});st(l,()=>{l.value?s.value=!0:u.value=!1},{immediate:!0}),st([l,s],()=>{l.value&&s.value&&(u.value=!0)},{immediate:!0});const c=tn("parentDrawerOpts",null),{prefixCls:d,getPopupContainer:f,direction:g}=An("drawer",e),[h,m]=l2e(d),p=fe(()=>e.getContainer===void 0&&(f!=null&&f.value)?()=>f.value(document.body):e.getContainer);Xr(!e.afterVisibleChange,"Drawer","`afterVisibleChange` prop is deprecated, please use `@afterVisibleChange` event instead"),dn("parentDrawerOpts",{setPush:()=>{o.value=!0},setPull:()=>{o.value=!1,$n(()=>{b()})}}),vn(()=>{l.value&&c&&c.setPush()}),za(()=>{c&&c.setPull()}),st(u,()=>{c&&(u.value?c.setPush():c.setPull())},{flush:"post"});const b=()=>{var q,te;(te=(q=a.value)===null||q===void 0?void 0:q.domFocus)===null||te===void 0||te.call(q)},w=q=>{n("update:visible",!1),n("update:open",!1),n("close",q)},C=q=>{var te;q||(A.value===!1&&(A.value=!0),e.destroyOnClose&&(s.value=!1)),(te=e.afterVisibleChange)===null||te===void 0||te.call(e,q),n("afterVisibleChange",q),n("afterOpenChange",q)},B=fe(()=>{const{push:q,placement:te}=e;let ne;return typeof q=="boolean"?ne=q?WD.distance:0:ne=q.distance,ne=parseFloat(String(ne||0)),te==="left"||te==="right"?`translateX(${te==="left"?ne:-ne}px)`:te==="top"||te==="bottom"?`translateY(${te==="top"?ne:-ne}px)`:null}),O=fe(()=>{var q;return(q=e.width)!==null&&q!==void 0?q:e.size==="large"?736:378}),x=fe(()=>{var q;return(q=e.height)!==null&&q!==void 0?q:e.size==="large"?736:378}),M=fe(()=>{const{mask:q,placement:te}=e;if(!u.value&&!q)return{};const ne={};return te==="left"||te==="right"?ne.width=X3(O.value)?`${O.value}px`:O.value:ne.height=X3(x.value)?`${x.value}px`:x.value,ne}),R=fe(()=>{const{zIndex:q,contentWrapperStyle:te}=e,ne=M.value;return[{zIndex:q,transform:o.value?B.value:void 0},V({},te),ne]}),F=q=>{const{closable:te,headerStyle:ne}=e,_=LA(r,e,"extra"),Y=LA(r,e,"title");return!Y&&!te?null:$("div",{class:Ze(`${q}-header`,{[`${q}-header-close-only`]:te&&!Y&&!_}),style:ne},[$("div",{class:`${q}-header-title`},[L(q),Y&&$("div",{class:`${q}-title`},[Y])]),_&&$("div",{class:`${q}-extra`},[_])])},L=q=>{var te;const{closable:ne}=e,_=r.closeIcon?(te=r.closeIcon)===null||te===void 0?void 0:te.call(r):e.closeIcon;return ne&&$("button",{key:"closer",onClick:w,"aria-label":"Close",class:`${q}-close`},[_===void 0?$(Os,null,null):_])},E=q=>{var te;if(A.value&&!e.forceRender&&!s.value)return null;const{bodyStyle:ne,drawerStyle:_}=e;return $("div",{class:`${q}-wrapper-body`,style:_},[F(q),$("div",{key:"body",class:`${q}-body`,style:ne},[(te=r.default)===null||te===void 0?void 0:te.call(r)]),H(q)])},H=q=>{const te=LA(r,e,"footer");if(!te)return null;const ne=`${q}-footer`;return $("div",{class:ne,style:e.footerStyle},[te])},X=fe(()=>Ze({"no-mask":!e.mask,[`${d.value}-rtl`]:g.value==="rtl"},e.rootClassName,m.value)),z=fe(()=>hf(Pl(d.value,"mask-motion"))),Z=q=>hf(Pl(d.value,`panel-motion-${q}`));return()=>{const{width:q,height:te,placement:ne,mask:_,forceRender:Y}=e,re=u2e(e,["width","height","placement","mask","forceRender"]),se=V(V(V({},i),_r(re,["size","closeIcon","closable","destroyOnClose","drawerStyle","headerStyle","bodyStyle","title","push","onAfterVisibleChange","onClose","onUpdate:visible","onUpdate:open","visible"])),{forceRender:Y,onClose:w,afterVisibleChange:C,handler:!1,prefixCls:d.value,open:u.value,showMask:_,placement:ne,ref:a});return h($(Xm,null,{default:()=>[$(A2e,ye(ye({},se),{},{maskMotion:z.value,motion:Z,width:O.value,height:x.value,getContainer:p.value,rootClassName:X.value,rootStyle:e.rootStyle,contentWrapperStyle:R.value}),{handler:e.handle?()=>e.handle:r.handle,default:()=>E(d.value)})]}))}}}),UHe=Ga(d2e),gm=e=>e!=null&&(Array.isArray(e)?ho(e).length:!0);function mT(e){return gm(e.prefix)||gm(e.suffix)||gm(e.allowClear)}function Tb(e){return gm(e.addonBefore)||gm(e.addonAfter)}function II(e){return typeof e>"u"||e===null?"":String(e)}function mm(e,t,n,r){if(!n)return;const i=t;if(t.type==="click"){Object.defineProperty(i,"target",{writable:!0}),Object.defineProperty(i,"currentTarget",{writable:!0});const o=e.cloneNode(!0);i.target=o,i.currentTarget=o,o.value="",n(i);return}if(r!==void 0){Object.defineProperty(i,"target",{writable:!0}),Object.defineProperty(i,"currentTarget",{writable:!0}),i.target=e,i.currentTarget=e,e.value=r,n(i);return}n(i)}function cX(e,t){if(!e)return;e.focus(t);const{cursor:n}=t||{};if(n){const r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}const h2e=()=>({addonBefore:He.any,addonAfter:He.any,prefix:He.any,suffix:He.any,clearIcon:He.any,affixWrapperClassName:String,groupClassName:String,wrapperClassName:String,inputClassName:String,allowClear:{type:Boolean,default:void 0}}),fX=()=>V(V({},h2e()),{value:{type:[String,Number,Symbol],default:void 0},defaultValue:{type:[String,Number,Symbol],default:void 0},inputElement:He.any,prefixCls:String,disabled:{type:Boolean,default:void 0},focused:{type:Boolean,default:void 0},triggerFocus:Function,readonly:{type:Boolean,default:void 0},handleReset:Function,hidden:{type:Boolean,default:void 0}}),dX=()=>V(V({},fX()),{id:String,placeholder:{type:[String,Number]},autocomplete:String,type:yn("text"),name:String,size:{type:String},autofocus:{type:Boolean,default:void 0},lazy:{type:Boolean,default:!0},maxlength:Number,loading:{type:Boolean,default:void 0},bordered:{type:Boolean,default:void 0},showCount:{type:[Boolean,Object]},htmlSize:Number,onPressEnter:Function,onKeydown:Function,onKeyup:Function,onFocus:Function,onBlur:Function,onChange:Function,onInput:Function,"onUpdate:value":Function,onCompositionstart:Function,onCompositionend:Function,valueModifiers:Object,hidden:{type:Boolean,default:void 0},status:String}),p2e=Je({name:"BaseInput",inheritAttrs:!1,props:fX(),setup(e,t){let{slots:n,attrs:r}=t;const i=qe(),o=a=>{var s;if(!((s=i.value)===null||s===void 0)&&s.contains(a.target)){const{triggerFocus:u}=e;u==null||u()}},A=()=>{var a;const{allowClear:s,value:u,disabled:l,readonly:c,handleReset:d,suffix:f=n.suffix,prefixCls:g}=e;if(!s)return null;const h=!l&&!c&&u,m=`${g}-clear-icon`,p=((a=n.clearIcon)===null||a===void 0?void 0:a.call(n))||"*";return $("span",{onClick:d,onMousedown:v=>v.preventDefault(),class:Ze({[`${m}-hidden`]:!h,[`${m}-has-suffix`]:!!f},m),role:"button",tabindex:-1},[p])};return()=>{var a,s;const{focused:u,value:l,disabled:c,allowClear:d,readonly:f,hidden:g,prefixCls:h,prefix:m=(a=n.prefix)===null||a===void 0?void 0:a.call(n),suffix:p=(s=n.suffix)===null||s===void 0?void 0:s.call(n),addonAfter:v=n.addonAfter,addonBefore:y=n.addonBefore,inputElement:b,affixWrapperClassName:w,wrapperClassName:C,groupClassName:B}=e;let O=jr(b,{value:l,hidden:g});if(mT({prefix:m,suffix:p,allowClear:d})){const x=`${h}-affix-wrapper`,M=Ze(x,{[`${x}-disabled`]:c,[`${x}-focused`]:u,[`${x}-readonly`]:f,[`${x}-input-with-clear-btn`]:p&&d&&l},!Tb({addonAfter:v,addonBefore:y})&&r.class,w),R=(p||d)&&$("span",{class:`${h}-suffix`},[A(),p]);O=$("span",{class:M,style:r.style,hidden:!Tb({addonAfter:v,addonBefore:y})&&g,onMousedown:o,ref:i},[m&&$("span",{class:`${h}-prefix`},[m]),jr(b,{style:null,value:l,hidden:null}),R])}if(Tb({addonAfter:v,addonBefore:y})){const x=`${h}-group`,M=`${x}-addon`,R=Ze(`${h}-wrapper`,x,C),F=Ze(`${h}-group-wrapper`,r.class,B);return $("span",{class:F,style:r.style,hidden:g},[$("span",{class:R},[y&&$("span",{class:M},[y]),jr(O,{style:null,hidden:null}),v&&$("span",{class:M},[v])])])}return O}}});var g2e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const m2e=Je({name:"VCInput",inheritAttrs:!1,props:dX(),setup(e,t){let{slots:n,attrs:r,expose:i,emit:o}=t;const A=Me(e.value===void 0?e.defaultValue:e.value),a=Me(!1),s=Me(),u=Me();st(()=>e.value,()=>{A.value=e.value}),st(()=>e.disabled,()=>{e.disabled&&(a.value=!1)});const l=B=>{s.value&&cX(s.value.input,B)},c=()=>{var B;(B=s.value.input)===null||B===void 0||B.blur()},d=(B,O,x)=>{var M;(M=s.value.input)===null||M===void 0||M.setSelectionRange(B,O,x)},f=()=>{var B;(B=s.value.input)===null||B===void 0||B.select()};i({focus:l,blur:c,input:fe(()=>{var B;return(B=s.value.input)===null||B===void 0?void 0:B.input}),stateValue:A,setSelectionRange:d,select:f});const g=B=>{o("change",B)},h=(B,O)=>{A.value!==B&&(e.value===void 0?A.value=B:$n(()=>{var x;s.value.input.value!==A.value&&((x=u.value)===null||x===void 0||x.$forceUpdate())}),$n(()=>{O&&O()}))},m=B=>{const{value:O}=B.target;if(A.value===O)return;const x=B.target.value;mm(s.value.input,B,g),h(x)},p=B=>{B.keyCode===13&&o("pressEnter",B),o("keydown",B)},v=B=>{a.value=!0,o("focus",B)},y=B=>{a.value=!1,o("blur",B)},b=B=>{mm(s.value.input,B,g),h("",()=>{l()})},w=()=>{var B,O;const{addonBefore:x=n.addonBefore,addonAfter:M=n.addonAfter,disabled:R,valueModifiers:F={},htmlSize:L,autocomplete:E,prefixCls:H,inputClassName:X,prefix:z=(B=n.prefix)===null||B===void 0?void 0:B.call(n),suffix:Z=(O=n.suffix)===null||O===void 0?void 0:O.call(n),allowClear:q,type:te="text"}=e,ne=_r(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","bordered","htmlSize","lazy","showCount","valueModifiers","showCount","affixWrapperClassName","groupClassName","inputClassName","wrapperClassName"]),_=V(V(V({},ne),r),{autocomplete:E,onChange:m,onInput:m,onFocus:v,onBlur:y,onKeydown:p,class:Ze(H,{[`${H}-disabled`]:R},X,!Tb({addonAfter:M,addonBefore:x})&&!mT({prefix:z,suffix:Z,allowClear:q})&&r.class),ref:s,key:"ant-input",size:L,type:te,lazy:e.lazy});return F.lazy&&delete _.onInput,_.autofocus||delete _.autofocus,$(bv,_r(_,["size"]),null)},C=()=>{var B;const{maxlength:O,suffix:x=(B=n.suffix)===null||B===void 0?void 0:B.call(n),showCount:M,prefixCls:R}=e,F=Number(O)>0;if(x||M){const L=[...II(A.value)].length,E=typeof M=="object"?M.formatter({count:L,maxlength:O}):`${L}${F?` / ${O}`:""}`;return $(mn,null,[!!M&&$("span",{class:Ze(`${R}-show-count-suffix`,{[`${R}-show-count-has-suffix`]:!!x})},[E]),x])}return null};return vn(()=>{}),()=>{const{prefixCls:B,disabled:O}=e,x=g2e(e,["prefixCls","disabled"]);return $(p2e,ye(ye(ye({},x),r),{},{ref:u,prefixCls:B,inputElement:w(),handleReset:b,value:II(A.value),focused:a.value,triggerFocus:l,suffix:C(),disabled:O}),n)}}}),eC=()=>_r(dX(),["wrapperClassName","groupClassName","inputClassName","affixWrapperClassName"]),hX=()=>V(V({},_r(eC(),["prefix","addonBefore","addonAfter","suffix"])),{rows:Number,autosize:{type:[Boolean,Object],default:void 0},autoSize:{type:[Boolean,Object],default:void 0},onResize:{type:Function},onCompositionstart:Gd(),onCompositionend:Gd(),valueModifiers:Object});var v2e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const co=Je({compatConfig:{MODE:3},name:"AInput",inheritAttrs:!1,props:eC(),setup(e,t){let{slots:n,attrs:r,expose:i,emit:o}=t;const A=qe(),a=NA(),s=ha.useInject(),u=fe(()=>sh(s.status,e.status)),{direction:l,prefixCls:c,size:d,autocomplete:f}=An("input",e),{compactSize:g,compactItemClassnames:h}=Ug(c,l),m=fe(()=>g.value||d.value),[p,v]=iT(c),y=xs();i({focus:L=>{var E;(E=A.value)===null||E===void 0||E.focus(L)},blur:()=>{var L;(L=A.value)===null||L===void 0||L.blur()},input:A,setSelectionRange:(L,E,H)=>{var X;(X=A.value)===null||X===void 0||X.setSelectionRange(L,E,H)},select:()=>{var L;(L=A.value)===null||L===void 0||L.select()}});const O=qe([]),x=()=>{O.value.push(setTimeout(()=>{var L,E,H,X;!((L=A.value)===null||L===void 0)&&L.input&&((E=A.value)===null||E===void 0?void 0:E.input.getAttribute("type"))==="password"&&(!((H=A.value)===null||H===void 0)&&H.input.hasAttribute("value"))&&((X=A.value)===null||X===void 0||X.input.removeAttribute("value"))}))};vn(()=>{x()}),cB(()=>{O.value.forEach(L=>clearTimeout(L))}),En(()=>{O.value.forEach(L=>clearTimeout(L))});const M=L=>{x(),o("blur",L),a.onFieldBlur()},R=L=>{x(),o("focus",L)},F=L=>{o("update:value",L.target.value),o("change",L),o("input",L),a.onFieldChange()};return()=>{var L,E,H,X,z,Z;const{hasFeedback:q,feedbackIcon:te}=s,{allowClear:ne,bordered:_=!0,prefix:Y=(L=n.prefix)===null||L===void 0?void 0:L.call(n),suffix:re=(E=n.suffix)===null||E===void 0?void 0:E.call(n),addonAfter:se=(H=n.addonAfter)===null||H===void 0?void 0:H.call(n),addonBefore:ce=(X=n.addonBefore)===null||X===void 0?void 0:X.call(n),id:N=(z=a.id)===null||z===void 0?void 0:z.value}=e,K=v2e(e,["allowClear","bordered","prefix","suffix","addonAfter","addonBefore","id"]),Ae=(q||re)&&$(mn,null,[re,q&&te]),ae=c.value,ie=mT({prefix:Y,suffix:re})||!!q,J=n.clearIcon||(()=>$(MA,null,null));return p($(m2e,ye(ye(ye({},r),_r(K,["onUpdate:value","onChange","onInput"])),{},{onChange:F,id:N,disabled:(Z=e.disabled)!==null&&Z!==void 0?Z:y.value,ref:A,prefixCls:ae,autocomplete:f.value,onBlur:M,onFocus:R,prefix:Y,suffix:Ae,allowClear:ne,addonAfter:se&&$(Xm,null,{default:()=>[$(bw,null,{default:()=>[se]})]}),addonBefore:ce&&$(Xm,null,{default:()=>[$(bw,null,{default:()=>[ce]})]}),class:[r.class,h.value],inputClassName:Ze({[`${ae}-sm`]:m.value==="small",[`${ae}-lg`]:m.value==="large",[`${ae}-rtl`]:l.value==="rtl",[`${ae}-borderless`]:!_},!ie&&ws(ae,u.value),v.value),affixWrapperClassName:Ze({[`${ae}-affix-wrapper-sm`]:m.value==="small",[`${ae}-affix-wrapper-lg`]:m.value==="large",[`${ae}-affix-wrapper-rtl`]:l.value==="rtl",[`${ae}-affix-wrapper-borderless`]:!_},ws(`${ae}-affix-wrapper`,u.value,q),v.value),wrapperClassName:Ze({[`${ae}-group-rtl`]:l.value==="rtl"},v.value),groupClassName:Ze({[`${ae}-group-wrapper-sm`]:m.value==="small",[`${ae}-group-wrapper-lg`]:m.value==="large",[`${ae}-group-wrapper-rtl`]:l.value==="rtl"},ws(`${ae}-group-wrapper`,u.value,q),v.value)}),V(V({},n),{clearIcon:J})))}}}),y2e=Je({compatConfig:{MODE:3},name:"AInputGroup",inheritAttrs:!1,props:{prefixCls:String,size:{type:String},compact:{type:Boolean,default:void 0}},setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o,getPrefixCls:A}=An("input-group",e),a=ha.useInject();ha.useProvide(a,{isFormItemInput:!1});const s=fe(()=>A("input")),[u,l]=iT(s),c=fe(()=>{const d=i.value;return{[`${d}`]:!0,[l.value]:!0,[`${d}-lg`]:e.size==="large",[`${d}-sm`]:e.size==="small",[`${d}-compact`]:e.compact,[`${d}-rtl`]:o.value==="rtl"}});return()=>{var d;return u($("span",ye(ye({},r),{},{class:Ze(c.value,r.class)}),[(d=n.default)===null||d===void 0?void 0:d.call(n)]))}}});var b2e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const w2e=Je({compatConfig:{MODE:3},name:"AInputSearch",inheritAttrs:!1,props:V(V({},eC()),{inputPrefixCls:String,enterButton:He.any,onSearch:{type:Function}}),setup(e,t){let{slots:n,attrs:r,expose:i,emit:o}=t;const A=Me(),a=Me(!1);i({focus:()=>{var w;(w=A.value)===null||w===void 0||w.focus()},blur:()=>{var w;(w=A.value)===null||w===void 0||w.blur()}});const l=w=>{o("update:value",w.target.value),w&&w.target&&w.type==="click"&&o("search",w.target.value,w),o("change",w)},c=w=>{var C;document.activeElement===((C=A.value)===null||C===void 0?void 0:C.input)&&w.preventDefault()},d=w=>{var C,B;o("search",(B=(C=A.value)===null||C===void 0?void 0:C.input)===null||B===void 0?void 0:B.stateValue,w)},f=w=>{a.value||e.loading||d(w)},g=w=>{a.value=!0,o("compositionstart",w)},h=w=>{a.value=!1,o("compositionend",w)},{prefixCls:m,getPrefixCls:p,direction:v,size:y}=An("input-search",e),b=fe(()=>p("input",e.inputPrefixCls));return()=>{var w,C,B,O;const{disabled:x,loading:M,addonAfter:R=(w=n.addonAfter)===null||w===void 0?void 0:w.call(n),suffix:F=(C=n.suffix)===null||C===void 0?void 0:C.call(n)}=e,L=b2e(e,["disabled","loading","addonAfter","suffix"]);let{enterButton:E=(O=(B=n.enterButton)===null||B===void 0?void 0:B.call(n))!==null&&O!==void 0?O:!1}=e;E=E||E==="";const H=typeof E=="boolean"?$(wv,null,null):null,X=`${m.value}-button`,z=Array.isArray(E)?E[0]:E;let Z;const q=z.type&&DG(z.type)&&z.type.__ANT_BUTTON;if(q||z.tagName==="button")Z=jr(z,V({onMousedown:c,onClick:d,key:"enterButton"},q?{class:X,size:y.value}:{}),!1);else{const ne=H&&!E;Z=$(Oo,{class:X,type:E?"primary":void 0,size:y.value,disabled:x,key:"enterButton",onMousedown:c,onClick:d,loading:M,icon:ne?H:null},{default:()=>[ne?null:H||E]})}R&&(Z=[Z,R]);const te=Ze(m.value,{[`${m.value}-rtl`]:v.value==="rtl",[`${m.value}-${y.value}`]:!!y.value,[`${m.value}-with-button`]:!!E},r.class);return $(co,ye(ye(ye({ref:A},_r(L,["onUpdate:value","onSearch","enterButton"])),r),{},{onPressEnter:f,onCompositionstart:g,onCompositionend:h,size:y.value,prefixCls:b.value,addonAfter:Z,suffix:F,onChange:l,class:te,disabled:x}),n)}}}),qD=e=>e!=null&&(Array.isArray(e)?ho(e).length:!0);function B2e(e){return qD(e.addonBefore)||qD(e.addonAfter)}const C2e=["text","input"],x2e=Je({compatConfig:{MODE:3},name:"ClearableLabeledInput",inheritAttrs:!1,props:{prefixCls:String,inputType:He.oneOf(Tl("text","input")),value:wi(),defaultValue:wi(),allowClear:{type:Boolean,default:void 0},element:wi(),handleReset:Function,disabled:{type:Boolean,default:void 0},direction:{type:String},size:{type:String},suffix:wi(),prefix:wi(),addonBefore:wi(),addonAfter:wi(),readonly:{type:Boolean,default:void 0},focused:{type:Boolean,default:void 0},bordered:{type:Boolean,default:!0},triggerFocus:{type:Function},hidden:Boolean,status:String,hashId:String},setup(e,t){let{slots:n,attrs:r}=t;const i=ha.useInject(),o=a=>{const{value:s,disabled:u,readonly:l,handleReset:c,suffix:d=n.suffix}=e,f=!u&&!l&&s,g=`${a}-clear-icon`;return $(MA,{onClick:c,onMousedown:h=>h.preventDefault(),class:Ze({[`${g}-hidden`]:!f,[`${g}-has-suffix`]:!!d},g),role:"button"},null)},A=(a,s)=>{const{value:u,allowClear:l,direction:c,bordered:d,hidden:f,status:g,addonAfter:h=n.addonAfter,addonBefore:m=n.addonBefore,hashId:p}=e,{status:v,hasFeedback:y}=i;if(!l)return jr(s,{value:u,disabled:e.disabled});const b=Ze(`${a}-affix-wrapper`,`${a}-affix-wrapper-textarea-with-clear-btn`,ws(`${a}-affix-wrapper`,sh(v,g),y),{[`${a}-affix-wrapper-rtl`]:c==="rtl",[`${a}-affix-wrapper-borderless`]:!d,[`${r.class}`]:!B2e({addonAfter:h,addonBefore:m})&&r.class},p);return $("span",{class:b,style:r.style,hidden:f},[jr(s,{style:null,value:u,disabled:e.disabled}),o(a)])};return()=>{var a;const{prefixCls:s,inputType:u,element:l=(a=n.element)===null||a===void 0?void 0:a.call(n)}=e;return u===C2e[0]?A(s,l):null}}}),S2e=`
- min-height:0 !important;
- max-height:none !important;
- height:0 !important;
- visibility:hidden !important;
- overflow:hidden !important;
- position:absolute !important;
- z-index:-1000 !important;
- top:0 !important;
- right:0 !important;
- pointer-events: none !important;
- `,E2e=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],Rx={};let Ia;function F2e(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&Rx[n])return Rx[n];const r=window.getComputedStyle(e),i=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),o=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),A=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s={sizingStyle:E2e.map(u=>`${u}:${r.getPropertyValue(u)}`).join(";"),paddingSize:o,borderSize:A,boxSizing:i};return t&&n&&(Rx[n]=s),s}function I2e(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Ia||(Ia=document.createElement("textarea"),Ia.setAttribute("tab-index","-1"),Ia.setAttribute("aria-hidden","true"),document.body.appendChild(Ia)),e.getAttribute("wrap")?Ia.setAttribute("wrap",e.getAttribute("wrap")):Ia.removeAttribute("wrap");const{paddingSize:i,borderSize:o,boxSizing:A,sizingStyle:a}=F2e(e,t);Ia.setAttribute("style",`${a};${S2e}`),Ia.value=e.value||e.placeholder||"";let s,u,l,c=Ia.scrollHeight;if(A==="border-box"?c+=o:A==="content-box"&&(c-=i),n!==null||r!==null){Ia.value=" ";const f=Ia.scrollHeight-i;n!==null&&(s=f*n,A==="border-box"&&(s=s+i+o),c=Math.max(s,c)),r!==null&&(u=f*r,A==="border-box"&&(u=u+i+o),l=c>u?"":"hidden",c=Math.min(u,c))}const d={height:`${c}px`,overflowY:l,resize:"none"};return s&&(d.minHeight=`${s}px`),u&&(d.maxHeight=`${u}px`),d}const $x=0,Nx=1,Hx=2,_2e=Je({compatConfig:{MODE:3},name:"ResizableTextArea",inheritAttrs:!1,props:hX(),setup(e,t){let{attrs:n,emit:r,expose:i}=t,o,A;const a=qe(),s=qe({}),u=qe(Hx);En(()=>{hn.cancel(o),hn.cancel(A)});const l=()=>{try{if(a.value&&document.activeElement===a.value.input){const C=a.value.getSelectionStart(),B=a.value.getSelectionEnd(),O=a.value.getScrollTop();a.value.setSelectionRange(C,B),a.value.setScrollTop(O)}}catch{}},c=qe(),d=qe();ln(()=>{const C=e.autoSize||e.autosize;C?(c.value=C.minRows,d.value=C.maxRows):(c.value=void 0,d.value=void 0)});const f=fe(()=>!!(e.autoSize||e.autosize)),g=()=>{u.value=$x};st([()=>e.value,c,d,f],()=>{f.value&&g()},{immediate:!0});const h=qe();st([u,a],()=>{if(a.value)if(u.value===$x)u.value=Nx;else if(u.value===Nx){const C=I2e(a.value.input,!1,c.value,d.value);u.value=Hx,h.value=C}else l()},{immediate:!0,flush:"post"});const m=tA(),p=qe(),v=()=>{hn.cancel(p.value)},y=C=>{u.value===Hx&&(r("resize",C),f.value&&(v(),p.value=hn(()=>{g()})))};En(()=>{v()}),i({resizeTextarea:()=>{g()},textArea:fe(()=>{var C;return(C=a.value)===null||C===void 0?void 0:C.input}),instance:m}),Xu(e.autosize===void 0);const w=()=>{const{prefixCls:C,disabled:B}=e,O=_r(e,["prefixCls","onPressEnter","autoSize","autosize","defaultValue","allowClear","type","maxlength","valueModifiers"]),x=Ze(C,n.class,{[`${C}-disabled`]:B}),M=f.value?h.value:null,R=[n.style,s.value,M],F=V(V(V({},O),n),{style:R,class:x});return(u.value===$x||u.value===Nx)&&R.push({overflowX:"hidden",overflowY:"hidden"}),F.autofocus||delete F.autofocus,F.rows===0&&delete F.rows,$(ku,{onResize:y,disabled:!f.value},{default:()=>[$(bv,ye(ye({},F),{},{ref:a,tag:"textarea"}),null)]})};return()=>w()}});function pX(e,t){return[...e||""].slice(0,t).join("")}function XD(e,t,n,r){let i=n;return e?i=pX(n,r):[...t||""].length<n.length&&[...n||""].length>r&&(i=t),i}const O2e=Je({compatConfig:{MODE:3},name:"ATextarea",inheritAttrs:!1,props:hX(),setup(e,t){let{attrs:n,expose:r,emit:i}=t;var o;const A=NA(),a=ha.useInject(),s=fe(()=>sh(a.status,e.status)),u=Me((o=e.value)!==null&&o!==void 0?o:e.defaultValue),l=Me(),c=Me(""),{prefixCls:d,size:f,direction:g}=An("input",e),[h,m]=iT(d),p=xs(),v=fe(()=>e.showCount===""||e.showCount||!1),y=fe(()=>Number(e.maxlength)>0),b=Me(!1),w=Me(),C=Me(0),B=q=>{b.value=!0,w.value=c.value,C.value=q.currentTarget.selectionStart,i("compositionstart",q)},O=q=>{var te;b.value=!1;let ne=q.currentTarget.value;if(y.value){const _=C.value>=e.maxlength+1||C.value===((te=w.value)===null||te===void 0?void 0:te.length);ne=XD(_,w.value,ne,e.maxlength)}ne!==c.value&&(F(ne),mm(q.currentTarget,q,H,ne)),i("compositionend",q)},x=tA();st(()=>e.value,()=>{var q;"value"in x.vnode.props,u.value=(q=e.value)!==null&&q!==void 0?q:""});const M=q=>{var te;cX((te=l.value)===null||te===void 0?void 0:te.textArea,q)},R=()=>{var q,te;(te=(q=l.value)===null||q===void 0?void 0:q.textArea)===null||te===void 0||te.blur()},F=(q,te)=>{u.value!==q&&(e.value===void 0?u.value=q:$n(()=>{var ne,_,Y;l.value.textArea.value!==c.value&&((Y=(ne=l.value)===null||ne===void 0?void 0:(_=ne.instance).update)===null||Y===void 0||Y.call(_))}),$n(()=>{te&&te()}))},L=q=>{q.keyCode===13&&i("pressEnter",q),i("keydown",q)},E=q=>{const{onBlur:te}=e;te==null||te(q),A.onFieldBlur()},H=q=>{i("update:value",q.target.value),i("change",q),i("input",q),A.onFieldChange()},X=q=>{mm(l.value.textArea,q,H),F("",()=>{M()})},z=q=>{let te=q.target.value;if(u.value!==te){if(y.value){const ne=q.target,_=ne.selectionStart>=e.maxlength+1||ne.selectionStart===te.length||!ne.selectionStart;te=XD(_,c.value,te,e.maxlength)}mm(q.currentTarget,q,H,te),F(te)}},Z=()=>{var q,te;const{class:ne}=n,{bordered:_=!0}=e,Y=V(V(V({},_r(e,["allowClear"])),n),{class:[{[`${d.value}-borderless`]:!_,[`${ne}`]:ne&&!v.value,[`${d.value}-sm`]:f.value==="small",[`${d.value}-lg`]:f.value==="large"},ws(d.value,s.value),m.value],disabled:p.value,showCount:null,prefixCls:d.value,onInput:z,onChange:z,onBlur:E,onKeydown:L,onCompositionstart:B,onCompositionend:O});return!((q=e.valueModifiers)===null||q===void 0)&&q.lazy&&delete Y.onInput,$(_2e,ye(ye({},Y),{},{id:(te=Y==null?void 0:Y.id)!==null&&te!==void 0?te:A.id.value,ref:l,maxlength:e.maxlength,lazy:e.lazy}),null)};return r({focus:M,blur:R,resizableTextArea:l}),ln(()=>{let q=II(u.value);!b.value&&y.value&&(e.value===null||e.value===void 0)&&(q=pX(q,e.maxlength)),c.value=q}),()=>{var q;const{maxlength:te,bordered:ne=!0,hidden:_}=e,{style:Y,class:re}=n,se=V(V(V({},e),n),{prefixCls:d.value,inputType:"text",handleReset:X,direction:g.value,bordered:ne,style:v.value?void 0:Y,hashId:m.value,disabled:(q=e.disabled)!==null&&q!==void 0?q:p.value});let ce=$(x2e,ye(ye({},se),{},{value:c.value,status:e.status}),{element:Z});if(v.value||a.hasFeedback){const N=[...c.value].length;let K="";typeof v.value=="object"?K=v.value.formatter({value:c.value,count:N,maxlength:te}):K=`${N}${y.value?` / ${te}`:""}`,ce=$("div",{hidden:_,class:Ze(`${d.value}-textarea`,{[`${d.value}-textarea-rtl`]:g.value==="rtl",[`${d.value}-textarea-show-count`]:v.value,[`${d.value}-textarea-in-form-item`]:a.isFormItemInput},`${d.value}-textarea-show-count`,re,m.value),style:Y,"data-count":typeof K!="object"?K:void 0},[ce,a.hasFeedback&&$("span",{class:`${d.value}-textarea-suffix`},[a.feedbackIcon])])}return h(ce)}}});var T2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};function YD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){U2e(e,i,n[i])})}return e}function U2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tC=function(t,n){var r=YD({},t,n.attrs);return $(cn,YD({},r,{icon:T2e}),null)};tC.displayName="EyeOutlined";tC.inheritAttrs=!1;var Q2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};function JD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){P2e(e,i,n[i])})}return e}function P2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vT=function(t,n){var r=JD({},t,n.attrs);return $(cn,JD({},r,{icon:Q2e}),null)};vT.displayName="EyeInvisibleOutlined";vT.inheritAttrs=!1;var L2e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const D2e={click:"onClick",hover:"onMouseover"},R2e=e=>$(e?tC:vT,null,null),$2e=Je({compatConfig:{MODE:3},name:"AInputPassword",inheritAttrs:!1,props:V(V({},eC()),{prefixCls:String,inputPrefixCls:String,action:{type:String,default:"click"},visibilityToggle:{type:Boolean,default:!0},visible:{type:Boolean,default:void 0},"onUpdate:visible":Function,iconRender:Function}),setup(e,t){let{slots:n,attrs:r,expose:i,emit:o}=t;const A=Me(!1),a=()=>{const{disabled:m}=e;m||(A.value=!A.value,o("update:visible",A.value))};ln(()=>{e.visible!==void 0&&(A.value=!!e.visible)});const s=Me();i({focus:()=>{var m;(m=s.value)===null||m===void 0||m.focus()},blur:()=>{var m;(m=s.value)===null||m===void 0||m.blur()}});const c=m=>{const{action:p,iconRender:v=n.iconRender||R2e}=e,y=D2e[p]||"",b=v(A.value),w={[y]:a,class:`${m}-icon`,key:"passwordIcon",onMousedown:C=>{C.preventDefault()},onMouseup:C=>{C.preventDefault()}};return jr(eA(b)?b:$("span",null,[b]),w)},{prefixCls:d,getPrefixCls:f}=An("input-password",e),g=fe(()=>f("input",e.inputPrefixCls)),h=()=>{const{size:m,visibilityToggle:p}=e,v=L2e(e,["size","visibilityToggle"]),y=p&&c(d.value),b=Ze(d.value,r.class,{[`${d.value}-${m}`]:!!m}),w=V(V(V({},_r(v,["suffix","iconRender","action"])),r),{type:A.value?"text":"password",class:b,prefixCls:g.value,suffix:y});return m&&(w.size=m),$(co,ye({ref:s},w),n)};return()=>h()}});co.Group=y2e;co.Search=w2e;co.TextArea=O2e;co.Password=$2e;co.install=function(e){return e.component(co.name,co),e.component(co.Group.name,co.Group),e.component(co.Search.name,co.Search),e.component(co.TextArea.name,co.TextArea),e.component(co.Password.name,co.Password),e};function yT(){return{keyboard:{type:Boolean,default:void 0},mask:{type:Boolean,default:void 0},afterClose:Function,closable:{type:Boolean,default:void 0},maskClosable:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},destroyOnClose:{type:Boolean,default:void 0},mousePosition:He.shape({x:Number,y:Number}).loose,title:He.any,footer:He.any,transitionName:String,maskTransitionName:String,animation:He.any,maskAnimation:He.any,wrapStyle:{type:Object,default:void 0},bodyStyle:{type:Object,default:void 0},maskStyle:{type:Object,default:void 0},prefixCls:String,wrapClassName:String,rootClassName:String,width:[String,Number],height:[String,Number],zIndex:Number,bodyProps:He.any,maskProps:He.any,wrapProps:He.any,getContainer:He.any,dialogStyle:{type:Object,default:void 0},dialogClass:String,closeIcon:He.any,forceRender:{type:Boolean,default:void 0},getOpenCount:Function,focusTriggerAfterClose:{type:Boolean,default:void 0},onClose:Function,modalRender:Function}}function ZD(e,t,n){let r=t;return!r&&n&&(r=`${e}-${n}`),r}let eR=-1;function N2e(){return eR+=1,eR}function tR(e,t){let n=e[`page${t?"Y":"X"}Offset`];const r=`scroll${t?"Top":"Left"}`;if(typeof n!="number"){const i=e.document;n=i.documentElement[r],typeof n!="number"&&(n=i.body[r])}return n}function H2e(e){const t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,i=r.defaultView||r.parentWindow;return n.left+=tR(i),n.top+=tR(i,!0),n}const M2e={width:0,height:0,overflow:"hidden",outline:"none"},k2e={outline:"none"},j2e=Je({compatConfig:{MODE:3},name:"DialogContent",inheritAttrs:!1,props:V(V({},yT()),{motionName:String,ariaId:String,onVisibleChanged:Function,onMousedown:Function,onMouseup:Function}),setup(e,t){let{expose:n,slots:r,attrs:i}=t;const o=qe(),A=qe(),a=qe();n({focus:()=>{var d;(d=o.value)===null||d===void 0||d.focus({preventScroll:!0})},changeActive:d=>{const{activeElement:f}=document;d&&f===A.value?o.value.focus({preventScroll:!0}):!d&&f===o.value&&A.value.focus({preventScroll:!0})}});const s=qe(),u=fe(()=>{const{width:d,height:f}=e,g={};return d!==void 0&&(g.width=typeof d=="number"?`${d}px`:d),f!==void 0&&(g.height=typeof f=="number"?`${f}px`:f),s.value&&(g.transformOrigin=s.value),g}),l=()=>{$n(()=>{if(a.value){const d=H2e(a.value);s.value=e.mousePosition?`${e.mousePosition.x-d.left}px ${e.mousePosition.y-d.top}px`:""}})},c=d=>{e.onVisibleChanged(d)};return()=>{var d,f,g,h;const{prefixCls:m,footer:p=(d=r.footer)===null||d===void 0?void 0:d.call(r),title:v=(f=r.title)===null||f===void 0?void 0:f.call(r),ariaId:y,closable:b,closeIcon:w=(g=r.closeIcon)===null||g===void 0?void 0:g.call(r),onClose:C,bodyStyle:B,bodyProps:O,onMousedown:x,onMouseup:M,visible:R,modalRender:F=r.modalRender,destroyOnClose:L,motionName:E}=e;let H;p&&(H=$("div",{class:`${m}-footer`},[p]));let X;v&&(X=$("div",{class:`${m}-header`},[$("div",{class:`${m}-title`,id:y},[v])]));let z;b&&(z=$("button",{type:"button",onClick:C,"aria-label":"Close",class:`${m}-close`},[w||$("span",{class:`${m}-close-x`},null)]));const Z=$("div",{class:`${m}-content`},[z,X,$("div",ye({class:`${m}-body`,style:B},O),[(h=r.default)===null||h===void 0?void 0:h.call(r)]),H]),q=hf(E);return $(ca,ye(ye({},q),{},{onBeforeEnter:l,onAfterEnter:()=>c(!0),onAfterLeave:()=>c(!1)}),{default:()=>[R||!L?Cs($("div",ye(ye({},i),{},{ref:a,key:"dialog-element",role:"document",style:[u.value,i.style],class:[m,i.class],onMousedown:x,onMouseup:M}),[$("div",{tabindex:0,ref:o,style:k2e},[F?F({originVNode:Z}):Z]),$("div",{tabindex:0,ref:A,style:M2e},null)]),[[Ol,R]]):null]})}}}),K2e=Je({compatConfig:{MODE:3},name:"DialogMask",props:{prefixCls:String,visible:Boolean,motionName:String,maskProps:Object},setup(e,t){return()=>{const{prefixCls:n,visible:r,maskProps:i,motionName:o}=e,A=hf(o);return $(ca,A,{default:()=>[Cs($("div",ye({class:`${n}-mask`},i),null),[[Ol,r]])]})}}}),nR=Je({compatConfig:{MODE:3},name:"VcDialog",inheritAttrs:!1,props:lr(V(V({},yT()),{getOpenCount:Function,scrollLocker:Object}),{mask:!0,visible:!1,keyboard:!0,closable:!0,maskClosable:!0,destroyOnClose:!1,prefixCls:"rc-dialog",getOpenCount:()=>null,focusTriggerAfterClose:!0}),setup(e,t){let{attrs:n,slots:r}=t;const i=Me(),o=Me(),A=Me(),a=Me(e.visible),s=Me(`vcDialogTitle${N2e()}`),u=p=>{var v,y;if(p)Gc(o.value,document.activeElement)||(i.value=document.activeElement,(v=A.value)===null||v===void 0||v.focus());else{const b=a.value;if(a.value=!1,e.mask&&i.value&&e.focusTriggerAfterClose){try{i.value.focus({preventScroll:!0})}catch{}i.value=null}b&&((y=e.afterClose)===null||y===void 0||y.call(e))}},l=p=>{var v;(v=e.onClose)===null||v===void 0||v.call(e,p)},c=Me(!1),d=Me(),f=()=>{clearTimeout(d.value),c.value=!0},g=()=>{d.value=setTimeout(()=>{c.value=!1})},h=p=>{if(!e.maskClosable)return null;c.value?c.value=!1:o.value===p.target&&l(p)},m=p=>{if(e.keyboard&&p.keyCode===ut.ESC){p.stopPropagation(),l(p);return}e.visible&&p.keyCode===ut.TAB&&A.value.changeActive(!p.shiftKey)};return st(()=>e.visible,()=>{e.visible&&(a.value=!0)},{flush:"post"}),En(()=>{var p;clearTimeout(d.value),(p=e.scrollLocker)===null||p===void 0||p.unLock()}),ln(()=>{var p,v;(p=e.scrollLocker)===null||p===void 0||p.unLock(),a.value&&((v=e.scrollLocker)===null||v===void 0||v.lock())}),()=>{const{prefixCls:p,mask:v,visible:y,maskTransitionName:b,maskAnimation:w,zIndex:C,wrapClassName:B,rootClassName:O,wrapStyle:x,closable:M,maskProps:R,maskStyle:F,transitionName:L,animation:E,wrapProps:H,title:X=r.title}=e,{style:z,class:Z}=n;return $("div",ye({class:[`${p}-root`,O]},xf(e,{data:!0})),[$(K2e,{prefixCls:p,visible:v&&y,motionName:ZD(p,b,w),style:V({zIndex:C},F),maskProps:R},null),$("div",ye({tabIndex:-1,onKeydown:m,class:Ze(`${p}-wrap`,B),ref:o,onClick:h,role:"dialog","aria-labelledby":X?s.value:null,style:V(V({zIndex:C},x),{display:a.value?null:"none"})},H),[$(j2e,ye(ye({},_r(e,["scrollLocker"])),{},{style:z,class:Z,onMousedown:f,onMouseup:g,ref:A,closable:M,ariaId:s.value,prefixCls:p,visible:y,onClose:l,onVisibleChanged:u,motionName:ZD(p,L,E)}),r)])])}}}),V2e=yT(),z2e=Je({compatConfig:{MODE:3},name:"DialogWrap",inheritAttrs:!1,props:lr(V2e,{visible:!1}),setup(e,t){let{attrs:n,slots:r}=t;const i=qe(e.visible);return aO({},{inTriggerContext:!1}),st(()=>e.visible,()=>{e.visible&&(i.value=!0)},{flush:"post"}),()=>{const{visible:o,getContainer:A,forceRender:a,destroyOnClose:s=!1,afterClose:u}=e;let l=V(V(V({},e),n),{ref:"_component",key:"dialog"});return A===!1?$(nR,ye(ye({},l),{},{getOpenCount:()=>2}),r):!a&&s&&!i.value?null:$(sO,{autoLock:!0,visible:o,forceRender:a,getContainer:A},{default:c=>(l=V(V(V({},l),c),{afterClose:()=>{u==null||u(),i.value=!1}}),$(nR,l,r))})}}});function rR(e){return{position:e,top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0}}const G2e=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}${e.antCls}-zoom-enter, ${t}${e.antCls}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${e.antCls}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:V(V({},rR("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:V(V({},rR("fixed")),{overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:$0e(e)}]},W2e=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap`]:{zIndex:e.zIndexPopupBase,position:"fixed",inset:0,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"},[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax})`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${e.marginXS} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:V(V({},qn(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${e.margin*2}px)`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.modalHeadingColor,fontWeight:e.fontWeightStrong,fontSize:e.modalHeaderTitleFontSize,lineHeight:e.modalHeaderTitleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.modalContentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadowSecondary,pointerEvents:"auto",padding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`},[`${t}-close`]:V({position:"absolute",top:(e.modalHeaderCloseSize-e.modalCloseBtnSize)/2,insetInlineEnd:(e.modalHeaderCloseSize-e.modalCloseBtnSize)/2,zIndex:e.zIndexPopupBase+10,padding:0,color:e.modalCloseColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalConfirmIconSize,height:e.modalConfirmIconSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"block",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${e.modalCloseBtnSize}px`,textAlign:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.wireframe?"transparent":e.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:e.wireframe?"transparent":e.colorFillContentHover}},df(e)),[`${t}-header`]:{color:e.colorText,background:e.modalHeaderBg,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,marginBottom:e.marginXS},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word"},[`${t}-footer`]:{textAlign:"end",background:e.modalFooterBg,marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn:not(${e.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,
- ${t}-body,
- ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},q2e=e=>{const{componentCls:t}=e,n=`${t}-confirm`;return{[n]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${n}-body-wrapper`]:V({},qd()),[`${n}-body`]:{display:"flex",flexWrap:"wrap",alignItems:"center",[`${n}-title`]:{flex:"0 0 100%",display:"block",overflow:"hidden",color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.modalHeaderTitleFontSize,lineHeight:e.modalHeaderTitleLineHeight,[`+ ${n}-content`]:{marginBlockStart:e.marginXS,flexBasis:"100%",maxWidth:`calc(100% - ${e.modalConfirmIconSize+e.marginSM}px)`}},[`${n}-content`]:{color:e.colorText,fontSize:e.fontSize},[`> ${e.iconCls}`]:{flex:"none",marginInlineEnd:e.marginSM,fontSize:e.modalConfirmIconSize,[`+ ${n}-title`]:{flex:1},[`+ ${n}-title + ${n}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.marginSM}}},[`${n}-btns`]:{textAlign:"end",marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${n}-error ${n}-body > ${e.iconCls}`]:{color:e.colorError},[`${n}-warning ${n}-body > ${e.iconCls},
- ${n}-confirm ${n}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${n}-info ${n}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${n}-success ${n}-body > ${e.iconCls}`]:{color:e.colorSuccess},[`${t}-zoom-leave ${t}-btns`]:{pointerEvents:"none"}}},X2e=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},Y2e=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-confirm`;return{[t]:{[`${t}-content`]:{padding:0},[`${t}-header`]:{padding:e.modalHeaderPadding,borderBottom:`${e.modalHeaderBorderWidth}px ${e.modalHeaderBorderStyle} ${e.modalHeaderBorderColorSplit}`,marginBottom:0},[`${t}-body`]:{padding:e.modalBodyPadding},[`${t}-footer`]:{padding:`${e.modalFooterPaddingVertical}px ${e.modalFooterPaddingHorizontal}px`,borderTop:`${e.modalFooterBorderWidth}px ${e.modalFooterBorderStyle} ${e.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`,marginTop:0}},[r]:{[`${n}-modal-body`]:{padding:`${e.padding*2}px ${e.padding*2}px ${e.paddingLG}px`},[`${r}-body`]:{[`> ${e.iconCls}`]:{marginInlineEnd:e.margin,[`+ ${r}-title + ${r}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.margin}}},[`${r}-btns`]:{marginTop:e.marginLG}}}},J2e=or("Modal",e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5,i=_n(e,{modalBodyPadding:e.paddingLG,modalHeaderBg:e.colorBgElevated,modalHeaderPadding:`${t}px ${e.paddingLG}px`,modalHeaderBorderWidth:e.lineWidth,modalHeaderBorderStyle:e.lineType,modalHeaderTitleLineHeight:r,modalHeaderTitleFontSize:n,modalHeaderBorderColorSplit:e.colorSplit,modalHeaderCloseSize:r*n+t*2,modalContentBg:e.colorBgElevated,modalHeadingColor:e.colorTextHeading,modalCloseColor:e.colorTextDescription,modalFooterBg:"transparent",modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterPaddingVertical:e.paddingXS,modalFooterPaddingHorizontal:e.padding,modalFooterBorderWidth:e.lineWidth,modalConfirmTitleFontSize:e.fontSizeLG,modalIconHoverColor:e.colorIconHover,modalConfirmIconSize:e.fontSize*e.lineHeight,modalCloseBtnSize:e.controlHeightLG*.55});return[W2e(i),q2e(i),X2e(i),G2e(i),e.wireframe&&Y2e(i),Cv(i,"zoom")]});var Z2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};function iR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){exe(e,i,n[i])})}return e}function exe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bT=function(t,n){var r=iR({},t,n.attrs);return $(cn,iR({},r,{icon:Z2e}),null)};bT.displayName="UpOutlined";bT.inheritAttrs=!1;function _I(){return typeof BigInt=="function"}function vm(e){let t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),t.startsWith(".")&&(t=`0${t}`);const r=t||"0",i=r.split("."),o=i[0]||"0",A=i[1]||"0";o==="0"&&A==="0"&&(n=!1);const a=n?"-":"";return{negative:n,negativeStr:a,trimStr:r,integerStr:o,decimalStr:A,fullStr:`${a}${r}`}}function wT(e){const t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function Zm(e){const t=String(e);if(wT(e)){let n=Number(t.slice(t.indexOf("e-")+2));const r=t.match(/\.(\d+)/);return r!=null&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&CT(t)?t.length-t.indexOf(".")-1:0}function BT(e){let t=String(e);if(wT(e)){if(e>Number.MAX_SAFE_INTEGER)return String(_I()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e<Number.MIN_SAFE_INTEGER)return String(_I()?BigInt(e).toString():Number.MIN_SAFE_INTEGER);t=e.toFixed(Zm(t))}return vm(t).fullStr}function CT(e){return typeof e=="number"?!Number.isNaN(e):e?/^\s*-?\d+(\.\d+)?\s*$/.test(e)||/^\s*-?\d+\.\s*$/.test(e)||/^\s*-?\.\d+\s*$/.test(e):!1}function gX(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}class Cd{constructor(t){if(this.origin="",gX(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}negate(){return new Cd(-this.toNumber())}add(t){if(this.isInvalidate())return new Cd(t);const n=Number(t);if(Number.isNaN(n))return this;const r=this.number+n;if(r>Number.MAX_SAFE_INTEGER)return new Cd(Number.MAX_SAFE_INTEGER);if(r<Number.MIN_SAFE_INTEGER)return new Cd(Number.MIN_SAFE_INTEGER);const i=Math.max(Zm(this.number),Zm(n));return new Cd(r.toFixed(i))}isEmpty(){return this.empty}isNaN(){return Number.isNaN(this.number)}isInvalidate(){return this.isEmpty()||this.isNaN()}equals(t){return this.toNumber()===(t==null?void 0:t.toNumber())}lessEquals(t){return this.add(t.negate().toString()).toNumber()<=0}toNumber(){return this.number}toString(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0)?this.isInvalidate()?"":BT(this.number):this.origin}}class Np{constructor(t){if(this.origin="",gX(t)){this.empty=!0;return}if(this.origin=String(t),t==="-"||Number.isNaN(t)){this.nan=!0;return}let n=t;if(wT(n)&&(n=Number(n)),n=typeof n=="string"?n:BT(n),CT(n)){const r=vm(n);this.negative=r.negative;const i=r.trimStr.split(".");this.integer=BigInt(i[0]);const o=i[1]||"0";this.decimal=BigInt(o),this.decimalLen=o.length}else this.nan=!0}getMark(){return this.negative?"-":""}getIntegerStr(){return this.integer.toString()}getDecimalStr(){return this.decimal.toString().padStart(this.decimalLen,"0")}alignDecimal(t){const n=`${this.getMark()}${this.getIntegerStr()}${this.getDecimalStr().padEnd(t,"0")}`;return BigInt(n)}negate(){const t=new Np(this.toString());return t.negative=!t.negative,t}add(t){if(this.isInvalidate())return new Np(t);const n=new Np(t);if(n.isInvalidate())return this;const r=Math.max(this.getDecimalStr().length,n.getDecimalStr().length),i=this.alignDecimal(r),o=n.alignDecimal(r),A=(i+o).toString(),{negativeStr:a,trimStr:s}=vm(A),u=`${a}${s.padStart(r+1,"0")}`;return new Np(`${u.slice(0,-r)}.${u.slice(-r)}`)}isEmpty(){return this.empty}isNaN(){return this.nan}isInvalidate(){return this.isEmpty()||this.isNaN()}equals(t){return this.toString()===(t==null?void 0:t.toString())}lessEquals(t){return this.add(t.negate().toString()).toNumber()<=0}toNumber(){return this.isNaN()?NaN:Number(this.toString())}toString(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0)?this.isInvalidate()?"":vm(`${this.getMark()}${this.getIntegerStr()}.${this.getDecimalStr()}`).fullStr:this.origin}}function pl(e){return _I()?new Np(e):new Cd(e)}function OI(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";const{negativeStr:i,integerStr:o,decimalStr:A}=vm(e),a=`${t}${A}`,s=`${i}${o}`;if(n>=0){const u=Number(A[n]);if(u>=5&&!r){const l=pl(e).add(`${i}0.${"0".repeat(n)}${10-u}`);return OI(l.toString(),t,n,r)}return n===0?s:`${s}${t}${A.padEnd(n,"0").slice(0,n)}`}return a===".0"?s:`${s}${a}`}const txe=200,nxe=600,rxe=Je({compatConfig:{MODE:3},name:"StepHandler",inheritAttrs:!1,props:{prefixCls:String,upDisabled:Boolean,downDisabled:Boolean,onStep:lt()},slots:Object,setup(e,t){let{slots:n,emit:r}=t;const i=qe(),o=(a,s)=>{a.preventDefault(),r("step",s);function u(){r("step",s),i.value=setTimeout(u,txe)}i.value=setTimeout(u,nxe)},A=()=>{clearTimeout(i.value)};return En(()=>{A()}),()=>{if(cO())return null;const{prefixCls:a,upDisabled:s,downDisabled:u}=e,l=`${a}-handler`,c=Ze(l,`${l}-up`,{[`${l}-up-disabled`]:s}),d=Ze(l,`${l}-down`,{[`${l}-down-disabled`]:u}),f={unselectable:"on",role:"button",onMouseup:A,onMouseleave:A},{upNode:g,downNode:h}=n;return $("div",{class:`${l}-wrap`},[$("span",ye(ye({},f),{},{onMousedown:m=>{o(m,!0)},"aria-label":"Increase Value","aria-disabled":s,class:c}),[(g==null?void 0:g())||$("span",{unselectable:"on",class:`${a}-handler-up-inner`},null)]),$("span",ye(ye({},f),{},{onMousedown:m=>{o(m,!1)},"aria-label":"Decrease Value","aria-disabled":u,class:d}),[(h==null?void 0:h())||$("span",{unselectable:"on",class:`${a}-handler-down-inner`},null)])])}}});function ixe(e,t){const n=qe(null);function r(){try{const{selectionStart:o,selectionEnd:A,value:a}=e.value,s=a.substring(0,o),u=a.substring(A);n.value={start:o,end:A,value:a,beforeTxt:s,afterTxt:u}}catch{}}function i(){if(e.value&&n.value&&t.value)try{const{value:o}=e.value,{beforeTxt:A,afterTxt:a,start:s}=n.value;let u=o.length;if(o.endsWith(a))u=o.length-n.value.afterTxt.length;else if(o.startsWith(A))u=A.length;else{const l=A[s-1],c=o.indexOf(l,s-1);c!==-1&&(u=c+1)}e.value.setSelectionRange(u,u)}catch(o){`${o.message}`}}return[r,i]}const oxe=()=>{const e=Me(0),t=()=>{hn.cancel(e.value)};return En(()=>{t()}),n=>{t(),e.value=hn(()=>{n()})}};var Axe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const oR=(e,t)=>e||t.isEmpty()?t.toString():t.toNumber(),AR=e=>{const t=pl(e);return t.isInvalidate()?null:t},mX=()=>({stringMode:Qt(),defaultValue:Hn([String,Number]),value:Hn([String,Number]),prefixCls:yn(),min:Hn([String,Number]),max:Hn([String,Number]),step:Hn([String,Number],1),tabindex:Number,controls:Qt(!0),readonly:Qt(),disabled:Qt(),autofocus:Qt(),keyboard:Qt(!0),parser:lt(),formatter:lt(),precision:Number,decimalSeparator:String,onInput:lt(),onChange:lt(),onPressEnter:lt(),onStep:lt(),onBlur:lt(),onFocus:lt()}),axe=Je({compatConfig:{MODE:3},name:"InnerInputNumber",inheritAttrs:!1,props:V(V({},mX()),{lazy:Boolean}),slots:Object,setup(e,t){let{attrs:n,slots:r,emit:i,expose:o}=t;const A=Me(),a=Me(!1),s=Me(!1),u=Me(!1),l=Me(pl(e.value));function c(_){e.value===void 0&&(l.value=_)}const d=(_,Y)=>{if(!Y)return e.precision>=0?e.precision:Math.max(Zm(_),Zm(e.step))},f=_=>{const Y=String(_);if(e.parser)return e.parser(Y);let re=Y;return e.decimalSeparator&&(re=re.replace(e.decimalSeparator,".")),re.replace(/[^\w.-]+/g,"")},g=Me(""),h=(_,Y)=>{if(e.formatter)return e.formatter(_,{userTyping:Y,input:String(g.value)});let re=typeof _=="number"?BT(_):_;if(!Y){const se=d(re,Y);if(CT(re)&&(e.decimalSeparator||se>=0)){const ce=e.decimalSeparator||".";re=OI(re,ce,se)}}return re},m=(()=>{const _=e.value;return l.value.isInvalidate()&&["string","number"].includes(typeof _)?Number.isNaN(_)?"":_:h(l.value.toString(),!1)})();g.value=m;function p(_,Y){g.value=h(_.isInvalidate()?_.toString(!1):_.toString(!Y),Y)}const v=fe(()=>AR(e.max)),y=fe(()=>AR(e.min)),b=fe(()=>!v.value||!l.value||l.value.isInvalidate()?!1:v.value.lessEquals(l.value)),w=fe(()=>!y.value||!l.value||l.value.isInvalidate()?!1:l.value.lessEquals(y.value)),[C,B]=ixe(A,a),O=_=>v.value&&!_.lessEquals(v.value)?v.value:y.value&&!y.value.lessEquals(_)?y.value:null,x=_=>!O(_),M=(_,Y)=>{var re;let se=_,ce=x(se)||se.isEmpty();if(!se.isEmpty()&&!Y&&(se=O(se)||se,ce=!0),!e.readonly&&!e.disabled&&ce){const N=se.toString(),K=d(N,Y);return K>=0&&(se=pl(OI(N,".",K))),se.equals(l.value)||(c(se),(re=e.onChange)===null||re===void 0||re.call(e,se.isEmpty()?null:oR(e.stringMode,se)),e.value===void 0&&p(se,Y)),se}return l.value},R=oxe(),F=_=>{var Y;if(C(),g.value=_,!u.value){const re=f(_),se=pl(re);se.isNaN()||M(se,!0)}(Y=e.onInput)===null||Y===void 0||Y.call(e,_),R(()=>{let re=_;e.parser||(re=_.replace(/。/g,".")),re!==_&&F(re)})},L=()=>{u.value=!0},E=()=>{u.value=!1,F(A.value.value)},H=_=>{F(_.target.value)},X=_=>{var Y,re;if(_&&b.value||!_&&w.value)return;s.value=!1;let se=pl(e.step);_||(se=se.negate());const ce=(l.value||pl(0)).add(se.toString()),N=M(ce,!1);(Y=e.onStep)===null||Y===void 0||Y.call(e,oR(e.stringMode,N),{offset:e.step,type:_?"up":"down"}),(re=A.value)===null||re===void 0||re.focus()},z=_=>{const Y=pl(f(g.value));let re=Y;Y.isNaN()?re=l.value:re=M(Y,_),e.value!==void 0?p(l.value,!1):re.isNaN()||p(re,!1)},Z=()=>{s.value=!0},q=_=>{var Y;const{which:re}=_;s.value=!0,re===ut.ENTER&&(u.value||(s.value=!1),z(!1),(Y=e.onPressEnter)===null||Y===void 0||Y.call(e,_)),e.keyboard!==!1&&!u.value&&[ut.UP,ut.DOWN].includes(re)&&(X(ut.UP===re),_.preventDefault())},te=()=>{s.value=!1},ne=_=>{z(!1),a.value=!1,s.value=!1,i("blur",_)};return st(()=>e.precision,()=>{l.value.isInvalidate()||p(l.value,!1)},{flush:"post"}),st(()=>e.value,()=>{const _=pl(e.value);l.value=_;const Y=pl(f(g.value));(!_.equals(Y)||!s.value||e.formatter)&&p(_,s.value)},{flush:"post"}),st(g,()=>{e.formatter&&B()},{flush:"post"}),st(()=>e.disabled,_=>{_&&(a.value=!1)}),o({focus:()=>{var _;(_=A.value)===null||_===void 0||_.focus()},blur:()=>{var _;(_=A.value)===null||_===void 0||_.blur()}}),()=>{const _=V(V({},n),e),{prefixCls:Y="rc-input-number",min:re,max:se,step:ce=1,defaultValue:N,value:K,disabled:Ae,readonly:ae,keyboard:ie,controls:J=!0,autofocus:ue,stringMode:G,parser:pe,formatter:k,precision:P,decimalSeparator:U,onChange:W,onInput:de,onPressEnter:me,onStep:ve,lazy:be,class:Te,style:we}=_,xe=Axe(_,["prefixCls","min","max","step","defaultValue","value","disabled","readonly","keyboard","controls","autofocus","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","lazy","class","style"]),{upHandler:Ue,downHandler:ke}=r,et=`${Y}-input`,De={};return be?De.onChange=H:De.onInput=H,$("div",{class:Ze(Y,Te,{[`${Y}-focused`]:a.value,[`${Y}-disabled`]:Ae,[`${Y}-readonly`]:ae,[`${Y}-not-a-number`]:l.value.isNaN(),[`${Y}-out-of-range`]:!l.value.isInvalidate()&&!x(l.value)}),style:we,onKeydown:q,onKeyup:te},[J&&$(rxe,{prefixCls:Y,upDisabled:b.value,downDisabled:w.value,onStep:X},{upNode:Ue,downNode:ke}),$("div",{class:`${et}-wrap`},[$("input",ye(ye(ye({autofocus:ue,autocomplete:"off",role:"spinbutton","aria-valuemin":re,"aria-valuemax":se,"aria-valuenow":l.value.isInvalidate()?null:l.value.toString(),step:ce},xe),{},{ref:A,class:et,value:g.value,disabled:Ae,readonly:ae,onFocus:_e=>{a.value=!0,i("focus",_e)}},De),{},{onBlur:ne,onCompositionstart:L,onCompositionend:E,onBeforeinput:Z}),null)])])}}});function Mx(e){return e!=null}const sxe=e=>{const{componentCls:t,lineWidth:n,lineType:r,colorBorder:i,borderRadius:o,fontSizeLG:A,controlHeightLG:a,controlHeightSM:s,colorError:u,inputPaddingHorizontalSM:l,colorTextDescription:c,motionDurationMid:d,colorPrimary:f,controlHeight:g,inputPaddingHorizontal:h,colorBgContainer:m,colorTextDisabled:p,borderRadiusSM:v,borderRadiusLG:y,controlWidth:b,handleVisible:w}=e;return[{[t]:V(V(V(V({},qn(e)),Dg(e)),GB(e,t)),{display:"inline-block",width:b,margin:0,padding:0,border:`${n}px ${r} ${i}`,borderRadius:o,"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:A,borderRadius:y,[`input${t}-input`]:{height:a-2*n}},"&-sm":{padding:0,borderRadius:v,[`input${t}-input`]:{height:s-2*n,padding:`0 ${l}px`}},"&:hover":V({},Lg(e)),"&-focused":V({},Zd(e)),"&-disabled":V(V({},iq(e)),{[`${t}-input`]:{cursor:"not-allowed"}}),"&-out-of-range":{input:{color:u}},"&-group":V(V(V({},qn(e)),Aq(e)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:y}},"&-sm":{[`${t}-group-addon`]:{borderRadius:v}}}}),[t]:{"&-input":V(V({width:"100%",height:g-2*n,padding:`0 ${h}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:o,outline:0,transition:`all ${d} linear`,appearance:"textfield",color:e.colorText,fontSize:"inherit",verticalAlign:"top"},rq(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[t]:{[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{opacity:1},[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",background:m,borderStartStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o,borderEndStartRadius:0,opacity:w===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${d} linear ${d}`,[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
- ${t}-handler-up-inner,
- ${t}-handler-down-inner
- `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:c,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${n}px ${r} ${i}`,transition:`all ${d} linear`,"&:active":{background:e.colorFillAlter},"&:hover":{height:"60%",[`
- ${t}-handler-up-inner,
- ${t}-handler-down-inner
- `]:{color:f}},"&-up-inner, &-down-inner":V(V({},mv()),{color:c,transition:`all ${d} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:o},[`${t}-handler-down`]:{borderBlockStart:`${n}px ${r} ${i}`,borderEndEndRadius:o},"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[`
- ${t}-handler-up-disabled,
- ${t}-handler-down-disabled
- `]:{cursor:"not-allowed"},[`
- ${t}-handler-up-disabled:hover &-handler-up-inner,
- ${t}-handler-down-disabled:hover &-handler-down-inner
- `]:{color:p}}},{[`${t}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${t}-handler-down`]:{borderBlockStartWidth:0}}}]},lxe=e=>{const{componentCls:t,inputPaddingHorizontal:n,inputAffixPadding:r,controlWidth:i,borderRadiusLG:o,borderRadiusSM:A}=e;return{[`${t}-affix-wrapper`]:V(V(V({},Dg(e)),GB(e,`${t}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:i,padding:0,paddingInlineStart:n,"&-lg":{borderRadius:o},"&-sm":{borderRadius:A},[`&:not(${t}-affix-wrapper-disabled):hover`]:V(V({},Lg(e)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},[`input${t}-input`]:{padding:0},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:r},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:n,marginInlineStart:r}}})}},uxe=or("InputNumber",e=>{const t=WB(e);return[sxe(t),lxe(t),xv(t)]},e=>({controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:"auto"}));var cxe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const aR=mX(),fxe=()=>V(V({},aR),{size:yn(),bordered:Qt(!0),placeholder:String,name:String,id:String,type:String,addonBefore:He.any,addonAfter:He.any,prefix:He.any,"onUpdate:value":aR.onChange,valueModifiers:Object,status:yn()}),kx=Je({compatConfig:{MODE:3},name:"AInputNumber",inheritAttrs:!1,props:fxe(),slots:Object,setup(e,t){let{emit:n,expose:r,attrs:i,slots:o}=t;var A;const a=NA(),s=ha.useInject(),u=fe(()=>sh(s.status,e.status)),{prefixCls:l,size:c,direction:d,disabled:f}=An("input-number",e),{compactSize:g,compactItemClassnames:h}=Ug(l,d),m=xs(),p=fe(()=>{var L;return(L=f.value)!==null&&L!==void 0?L:m.value}),[v,y]=uxe(l),b=fe(()=>g.value||c.value),w=Me((A=e.value)!==null&&A!==void 0?A:e.defaultValue),C=Me(!1);st(()=>e.value,()=>{w.value=e.value});const B=Me(null),O=()=>{var L;(L=B.value)===null||L===void 0||L.focus()};r({focus:O,blur:()=>{var L;(L=B.value)===null||L===void 0||L.blur()}});const M=L=>{e.value===void 0&&(w.value=L),n("update:value",L),n("change",L),a.onFieldChange()},R=L=>{C.value=!1,n("blur",L),a.onFieldBlur()},F=L=>{C.value=!0,n("focus",L)};return()=>{var L,E,H,X;const{hasFeedback:z,isFormItemInput:Z,feedbackIcon:q}=s,te=(L=e.id)!==null&&L!==void 0?L:a.id.value,ne=V(V(V({},i),e),{id:te,disabled:p.value}),{class:_,bordered:Y,readonly:re,style:se,addonBefore:ce=(E=o.addonBefore)===null||E===void 0?void 0:E.call(o),addonAfter:N=(H=o.addonAfter)===null||H===void 0?void 0:H.call(o),prefix:K=(X=o.prefix)===null||X===void 0?void 0:X.call(o),valueModifiers:Ae={}}=ne,ae=cxe(ne,["class","bordered","readonly","style","addonBefore","addonAfter","prefix","valueModifiers"]),ie=l.value,J=Ze({[`${ie}-lg`]:b.value==="large",[`${ie}-sm`]:b.value==="small",[`${ie}-rtl`]:d.value==="rtl",[`${ie}-readonly`]:re,[`${ie}-borderless`]:!Y,[`${ie}-in-form-item`]:Z},ws(ie,u.value),_,h.value,y.value);let ue=$(axe,ye(ye({},_r(ae,["size","defaultValue"])),{},{ref:B,lazy:!!Ae.lazy,value:w.value,class:J,prefixCls:ie,readonly:re,onChange:M,onBlur:R,onFocus:F}),{upHandler:o.upIcon?()=>$("span",{class:`${ie}-handler-up-inner`},[o.upIcon()]):()=>$(bT,{class:`${ie}-handler-up-inner`},null),downHandler:o.downIcon?()=>$("span",{class:`${ie}-handler-down-inner`},[o.downIcon()]):()=>$(_g,{class:`${ie}-handler-down-inner`},null)});const G=Mx(ce)||Mx(N),pe=Mx(K);if(pe||z){const k=Ze(`${ie}-affix-wrapper`,ws(`${ie}-affix-wrapper`,u.value,z),{[`${ie}-affix-wrapper-focused`]:C.value,[`${ie}-affix-wrapper-disabled`]:p.value,[`${ie}-affix-wrapper-sm`]:b.value==="small",[`${ie}-affix-wrapper-lg`]:b.value==="large",[`${ie}-affix-wrapper-rtl`]:d.value==="rtl",[`${ie}-affix-wrapper-readonly`]:re,[`${ie}-affix-wrapper-borderless`]:!Y,[`${_}`]:!G&&_},y.value);ue=$("div",{class:k,style:se,onClick:O},[pe&&$("span",{class:`${ie}-prefix`},[K]),ue,z&&$("span",{class:`${ie}-suffix`},[q])])}if(G){const k=`${ie}-group`,P=`${k}-addon`,U=ce?$("div",{class:P},[ce]):null,W=N?$("div",{class:P},[N]):null,de=Ze(`${ie}-wrapper`,k,{[`${k}-rtl`]:d.value==="rtl"},y.value),me=Ze(`${ie}-group-wrapper`,{[`${ie}-group-wrapper-sm`]:b.value==="small",[`${ie}-group-wrapper-lg`]:b.value==="large",[`${ie}-group-wrapper-rtl`]:d.value==="rtl"},ws(`${l}-group-wrapper`,u.value,z),_,y.value);ue=$("div",{class:me,style:se},[$("div",{class:de},[U&&$(Xm,null,{default:()=>[$(bw,null,{default:()=>[U]})]}),ue,W&&$(Xm,null,{default:()=>[$(bw,null,{default:()=>[W]})]})])])}return v(jr(ue,{style:se}))}}}),QHe=V(kx,{install:e=>(e.component(kx.name,kx),e)}),dxe=e=>{const{componentCls:t,colorBgContainer:n,colorBgBody:r,colorText:i}=e;return{[`${t}-sider-light`]:{background:n,[`${t}-sider-trigger`]:{color:i,background:n},[`${t}-sider-zero-width-trigger`]:{color:i,background:n,border:`1px solid ${r}`,borderInlineStart:0}}}},hxe=e=>{const{antCls:t,componentCls:n,colorText:r,colorTextLightSolid:i,colorBgHeader:o,colorBgBody:A,colorBgTrigger:a,layoutHeaderHeight:s,layoutHeaderPaddingInline:u,layoutHeaderColor:l,layoutFooterPadding:c,layoutTriggerHeight:d,layoutZeroTriggerSize:f,motionDurationMid:g,motionDurationSlow:h,fontSize:m,borderRadius:p}=e;return{[n]:V(V({display:"flex",flex:"auto",flexDirection:"column",color:r,minHeight:0,background:A,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},[`${n}-header`]:{height:s,paddingInline:u,color:l,lineHeight:`${s}px`,background:o,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:c,color:r,fontSize:m,background:A},[`${n}-content`]:{flex:"auto",minHeight:0},[`${n}-sider`]:{position:"relative",minWidth:0,background:o,transition:`all ${g}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:d},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:d,color:i,lineHeight:`${d}px`,textAlign:"center",background:a,cursor:"pointer",transition:`all ${g}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:s,insetInlineEnd:-f,zIndex:1,width:f,height:f,color:i,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:o,borderStartStartRadius:0,borderStartEndRadius:p,borderEndEndRadius:p,borderEndStartRadius:0,cursor:"pointer",transition:`background ${h} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${h}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-f,borderStartStartRadius:p,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:p}}}}},dxe(e)),{"&-rtl":{direction:"rtl"}})}},pxe=or("Layout",e=>{const{colorText:t,controlHeightSM:n,controlHeight:r,controlHeightLG:i,marginXXS:o}=e,A=i*1.25,a=_n(e,{layoutHeaderHeight:r*2,layoutHeaderPaddingInline:A,layoutHeaderColor:t,layoutFooterPadding:`${n}px ${A}px`,layoutTriggerHeight:i+o*2,layoutZeroTriggerSize:i});return[hxe(a)]},e=>{const{colorBgLayout:t}=e;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140"}}),xT=()=>({prefixCls:String,hasSider:{type:Boolean,default:void 0},tagName:String});function nC(e){let{suffixCls:t,tagName:n,name:r}=e;return i=>Je({compatConfig:{MODE:3},name:r,props:xT(),setup(A,a){let{slots:s}=a;const{prefixCls:u}=An(t,A);return()=>{const l=V(V({},A),{prefixCls:u.value,tagName:n});return $(i,l,s)}}})}const ST=Je({compatConfig:{MODE:3},props:xT(),setup(e,t){let{slots:n}=t;return()=>$(e.tagName,{class:e.prefixCls},n)}}),gxe=Je({compatConfig:{MODE:3},inheritAttrs:!1,props:xT(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=An("",e),[A,a]=pxe(i),s=qe([]);dn(SW,{addSider:c=>{s.value=[...s.value,c]},removeSider:c=>{s.value=s.value.filter(d=>d!==c)}});const l=fe(()=>{const{prefixCls:c,hasSider:d}=e;return{[a.value]:!0,[`${c}`]:!0,[`${c}-has-sider`]:typeof d=="boolean"?d:s.value.length>0,[`${c}-rtl`]:o.value==="rtl"}});return()=>{const{tagName:c}=e;return A($(c,V(V({},r),{class:[l.value,r.class]}),n))}}}),jx=nC({suffixCls:"layout",tagName:"section",name:"ALayout"})(gxe),Kx=nC({suffixCls:"layout-header",tagName:"header",name:"ALayoutHeader"})(ST),Vx=nC({suffixCls:"layout-footer",tagName:"footer",name:"ALayoutFooter"})(ST),zx=nC({suffixCls:"layout-content",tagName:"main",name:"ALayoutContent"})(ST);var mxe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};function sR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){vxe(e,i,n[i])})}return e}function vxe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ET=function(t,n){var r=sR({},t,n.attrs);return $(cn,sR({},r,{icon:mxe}),null)};ET.displayName="BarsOutlined";ET.inheritAttrs=!1;const lR={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px",xxxl:"1999.98px"},yxe=()=>({prefixCls:String,collapsible:{type:Boolean,default:void 0},collapsed:{type:Boolean,default:void 0},defaultCollapsed:{type:Boolean,default:void 0},reverseArrow:{type:Boolean,default:void 0},zeroWidthTriggerStyle:{type:Object,default:void 0},trigger:He.any,width:He.oneOfType([He.number,He.string]),collapsedWidth:He.oneOfType([He.number,He.string]),breakpoint:He.oneOf(Tl("xs","sm","md","lg","xl","xxl","xxxl")),theme:He.oneOf(Tl("light","dark")).def("dark"),onBreakpoint:Function,onCollapse:Function}),bxe=(()=>{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),Gx=Je({compatConfig:{MODE:3},name:"ALayoutSider",inheritAttrs:!1,props:lr(yxe(),{collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80}),emits:["breakpoint","update:collapsed","collapse"],setup(e,t){let{emit:n,attrs:r,slots:i}=t;const{prefixCls:o}=An("layout-sider",e),A=tn(SW,void 0),a=Me(!!(e.collapsed!==void 0?e.collapsed:e.defaultCollapsed)),s=Me(!1);st(()=>e.collapsed,()=>{a.value=!!e.collapsed}),dn(xW,a);const u=(h,m)=>{e.collapsed===void 0&&(a.value=h),n("update:collapsed",h),n("collapse",h,m)},l=Me(h=>{s.value=h.matches,n("breakpoint",h.matches),a.value!==h.matches&&u(h.matches,"responsive")});let c;function d(h){return l.value(h)}const f=bxe("ant-sider-");A&&A.addSider(f),vn(()=>{st(()=>e.breakpoint,()=>{try{c==null||c.removeEventListener("change",d)}catch{c==null||c.removeListener(d)}if(typeof window<"u"){const{matchMedia:h}=window;if(h&&e.breakpoint&&e.breakpoint in lR){c=h(`(max-width: ${lR[e.breakpoint]})`);try{c.addEventListener("change",d)}catch{c.addListener(d)}d(c)}}},{immediate:!0})}),En(()=>{try{c==null||c.removeEventListener("change",d)}catch{c==null||c.removeListener(d)}A&&A.removeSider(f)});const g=()=>{u(!a.value,"clickTrigger")};return()=>{var h,m;const p=o.value,{collapsedWidth:v,width:y,reverseArrow:b,zeroWidthTriggerStyle:w,trigger:C=(h=i.trigger)===null||h===void 0?void 0:h.call(i),collapsible:B,theme:O}=e,x=a.value?v:y,M=X3(x)?`${x}px`:String(x),R=parseFloat(String(v||0))===0?$("span",{onClick:g,class:Ze(`${p}-zero-width-trigger`,`${p}-zero-width-trigger-${b?"right":"left"}`),style:w},[C||$(ET,null,null)]):null,F={expanded:$(b?pf:gg,null,null),collapsed:$(b?gg:pf,null,null)},L=a.value?"collapsed":"expanded",E=F[L],H=C!==null?R||$("div",{class:`${p}-trigger`,onClick:g,style:{width:M}},[C||E]):null,X=[r.style,{flex:`0 0 ${M}`,maxWidth:M,minWidth:M,width:M}],z=Ze(p,`${p}-${O}`,{[`${p}-collapsed`]:!!a.value,[`${p}-has-trigger`]:B&&C!==null&&!R,[`${p}-below`]:!!s.value,[`${p}-zero-width`]:parseFloat(M)===0},r.class);return $("aside",ye(ye({},r),{},{class:z,style:X}),[$("div",{class:`${p}-children`},[(m=i.default)===null||m===void 0?void 0:m.call(i)]),B||s.value&&R?H:null])}}}),PHe=V(jx,{Header:Kx,Footer:Vx,Content:zx,Sider:Gx,install:e=>(e.component(jx.name,jx),e.component(Kx.name,Kx),e.component(Vx.name,Vx),e.component(Gx.name,Gx),e.component(zx.name,zx),e)});function wxe(e,t,n){var r=n,i=r.noTrailing,o=i===void 0?!1:i,A=r.noLeading,a=A===void 0?!1:A,s=r.debounceMode,u=s===void 0?void 0:s,l,c=!1,d=0;function f(){l&&clearTimeout(l)}function g(m){var p=m||{},v=p.upcomingOnly,y=v===void 0?!1:v;f(),c=!y}function h(){for(var m=arguments.length,p=new Array(m),v=0;v<m;v++)p[v]=arguments[v];var y=this,b=Date.now()-d;if(c)return;function w(){d=Date.now(),t.apply(y,p)}function C(){l=void 0}!a&&u&&!l&&w(),f(),u===void 0&&b>e?a?(d=Date.now(),o||(l=setTimeout(u?C:w,e))):w():o!==!0&&(l=setTimeout(u?C:w,u===void 0?e-b:e))}return h.cancel=g,h}function Bxe(e,t,n){var r={},i=r.atBegin,o=i===void 0?!1:i;return wxe(e,t,{debounceMode:o!==!1})}const Cxe=new Un("antSpinMove",{to:{opacity:1}}),xxe=new Un("antRotate",{to:{transform:"rotate(405deg)"}}),Sxe=e=>({[`${e.componentCls}`]:V(V({},qn(e)),{position:"absolute",display:"none",color:e.colorPrimary,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${e.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${e.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-e.spinDotSize/2},[`${e.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(e.spinDotSize-e.fontSize)/2+2,textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSize/2)-10},"&-sm":{[`${e.componentCls}-dot`]:{margin:-e.spinDotSizeSM/2},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeSM-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeSM/2)-10}},"&-lg":{[`${e.componentCls}-dot`]:{margin:-(e.spinDotSizeLG/2)},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeLG-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeLG/2)-10}}},[`${e.componentCls}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${e.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${e.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:e.spinDotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(e.spinDotSize-e.marginXXS/2)/2,height:(e.spinDotSize-e.marginXXS/2)/2,backgroundColor:e.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:Cxe,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:xxe,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeSM,i:{width:(e.spinDotSizeSM-e.marginXXS/2)/2,height:(e.spinDotSizeSM-e.marginXXS/2)/2}},[`&-lg ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeLG,i:{width:(e.spinDotSizeLG-e.marginXXS)/2,height:(e.spinDotSizeLG-e.marginXXS)/2}},[`&${e.componentCls}-show-text ${e.componentCls}-text`]:{display:"block"}})}),Exe=or("Spin",e=>{const t=_n(e,{spinDotDefault:e.colorTextDescription,spinDotSize:e.controlHeightLG/2,spinDotSizeSM:e.controlHeightLG*.35,spinDotSizeLG:e.controlHeight});return[Sxe(t)]},{contentHeight:400});var Fxe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const Ixe=()=>({prefixCls:String,spinning:{type:Boolean,default:void 0},size:String,wrapperClassName:String,tip:He.any,delay:Number,indicator:He.any});let Ub=null;function _xe(e,t){return!!e&&!!t&&!isNaN(Number(t))}function Oxe(e){const t=e.indicator;Ub=typeof t=="function"?t:()=>$(t,null,null)}const ym=Je({compatConfig:{MODE:3},name:"ASpin",inheritAttrs:!1,props:lr(Ixe(),{size:"default",spinning:!0,wrapperClassName:""}),setup(e,t){let{attrs:n,slots:r}=t;const{prefixCls:i,size:o,direction:A}=An("spin",e),[a,s]=Exe(i),u=Me(e.spinning&&!_xe(e.spinning,e.delay));let l;return st([()=>e.spinning,()=>e.delay],()=>{l==null||l.cancel(),l=Bxe(e.delay,()=>{u.value=e.spinning}),l==null||l()},{immediate:!0,flush:"post"}),En(()=>{l==null||l.cancel()}),()=>{var c,d;const{class:f}=n,g=Fxe(n,["class"]),{tip:h=(c=r.tip)===null||c===void 0?void 0:c.call(r)}=e,m=(d=r.default)===null||d===void 0?void 0:d.call(r),p={[s.value]:!0,[i.value]:!0,[`${i.value}-sm`]:o.value==="small",[`${i.value}-lg`]:o.value==="large",[`${i.value}-spinning`]:u.value,[`${i.value}-show-text`]:!!h,[`${i.value}-rtl`]:A.value==="rtl",[f]:!!f};function v(b){const w=`${b}-dot`;let C=LA(r,e,"indicator");return C===null?null:(Array.isArray(C)&&(C=C.length===1?C[0]:C),Io(C)?To(C,{class:w}):Ub&&Io(Ub())?To(Ub(),{class:w}):$("span",{class:`${w} ${b}-dot-spin`},[$("i",{class:`${b}-dot-item`},null),$("i",{class:`${b}-dot-item`},null),$("i",{class:`${b}-dot-item`},null),$("i",{class:`${b}-dot-item`},null)]))}const y=$("div",ye(ye({},g),{},{class:p,"aria-live":"polite","aria-busy":u.value}),[v(i.value),h?$("div",{class:`${i.value}-text`},[h]):null]);if(m&&ho(m).length){const b={[`${i.value}-container`]:!0,[`${i.value}-blur`]:u.value};return a($("div",{class:[`${i.value}-nested-loading`,e.wrapperClassName,s.value]},[u.value&&$("div",{key:"loading"},[y]),$("div",{class:b,key:"container"},[m])]))}return a(y)}}});ym.setDefaultIndicator=Oxe;ym.install=function(e){return e.component(ym.name,ym),e};var Txe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};function uR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){Uxe(e,i,n[i])})}return e}function Uxe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pw=function(t,n){var r=uR({},t,n.attrs);return $(cn,uR({},r,{icon:Txe}),null)};Pw.displayName="DoubleLeftOutlined";Pw.inheritAttrs=!1;var Qxe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};function cR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){Pxe(e,i,n[i])})}return e}function Pxe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lw=function(t,n){var r=cR({},t,n.attrs);return $(cn,cR({},r,{icon:Qxe}),null)};Lw.displayName="DoubleRightOutlined";Lw.inheritAttrs=!1;const Lxe=Je({name:"MiniSelect",compatConfig:{MODE:3},inheritAttrs:!1,props:FO(),Option:ia.Option,setup(e,t){let{attrs:n,slots:r}=t;return()=>{const i=V(V(V({},e),{size:"small"}),n);return $(ia,i,r)}}}),Dxe=Je({name:"MiddleSelect",inheritAttrs:!1,props:FO(),Option:ia.Option,setup(e,t){let{attrs:n,slots:r}=t;return()=>{const i=V(V(V({},e),{size:"middle"}),n);return $(ia,i,r)}}}),ad=Je({compatConfig:{MODE:3},name:"Pager",inheritAttrs:!1,props:{rootPrefixCls:String,page:Number,active:{type:Boolean,default:void 0},last:{type:Boolean,default:void 0},locale:He.object,showTitle:{type:Boolean,default:void 0},itemRender:{type:Function,default:()=>{}},onClick:{type:Function},onKeypress:{type:Function}},eimt:["click","keypress"],setup(e,t){let{emit:n,attrs:r}=t;const i=()=>{n("click",e.page)},o=A=>{n("keypress",A,i,e.page)};return()=>{const{showTitle:A,page:a,itemRender:s}=e,{class:u,style:l}=r,c=`${e.rootPrefixCls}-item`,d=Ze(c,`${c}-${e.page}`,{[`${c}-active`]:e.active,[`${c}-disabled`]:!e.page},u);return $("li",{onClick:i,onKeypress:o,title:A?String(a):null,tabindex:"0",class:d,style:l},[s({page:a,type:"page",originalElement:$("a",{rel:"nofollow"},[a])})])}}}),hd={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},Rxe=Je({compatConfig:{MODE:3},props:{disabled:{type:Boolean,default:void 0},changeSize:Function,quickGo:Function,selectComponentClass:He.any,current:Number,pageSizeOptions:He.array.def(["10","20","50","100"]),pageSize:Number,buildOptionText:Function,locale:He.object,rootPrefixCls:String,selectPrefixCls:String,goButton:He.any},setup(e){const t=qe(""),n=fe(()=>!t.value||isNaN(t.value)?void 0:Number(t.value)),r=s=>`${s.value} ${e.locale.items_per_page}`,i=s=>{const{value:u}=s.target;t.value!==u&&(t.value=u)},o=s=>{const{goButton:u,quickGo:l,rootPrefixCls:c}=e;if(!(u||t.value===""))if(s.relatedTarget&&(s.relatedTarget.className.indexOf(`${c}-item-link`)>=0||s.relatedTarget.className.indexOf(`${c}-item`)>=0)){t.value="";return}else l(n.value),t.value=""},A=s=>{t.value!==""&&(s.keyCode===hd.ENTER||s.type==="click")&&(e.quickGo(n.value),t.value="")},a=fe(()=>{const{pageSize:s,pageSizeOptions:u}=e;return u.some(l=>l.toString()===s.toString())?u:u.concat([s.toString()]).sort((l,c)=>{const d=isNaN(Number(l))?0:Number(l),f=isNaN(Number(c))?0:Number(c);return d-f})});return()=>{const{rootPrefixCls:s,locale:u,changeSize:l,quickGo:c,goButton:d,selectComponentClass:f,selectPrefixCls:g,pageSize:h,disabled:m}=e,p=`${s}-options`;let v=null,y=null,b=null;if(!l&&!c)return null;if(l&&f){const w=e.buildOptionText||r,C=a.value.map((B,O)=>$(f.Option,{key:O,value:B},{default:()=>[w({value:B})]}));v=$(f,{disabled:m,prefixCls:g,showSearch:!1,class:`${p}-size-changer`,optionLabelProp:"children",value:(h||a.value[0]).toString(),onChange:B=>l(Number(B)),getPopupContainer:B=>B.parentNode},{default:()=>[C]})}return c&&(d&&(b=typeof d=="boolean"?$("button",{type:"button",onClick:A,onKeyup:A,disabled:m,class:`${p}-quick-jumper-button`},[u.jump_to_confirm]):$("span",{onClick:A,onKeyup:A},[d])),y=$("div",{class:`${p}-quick-jumper`},[u.jump_to,$(bv,{disabled:m,type:"text",value:t.value,onInput:i,onChange:i,onKeyup:A,onBlur:o},null),u.page,b])),$("li",{class:`${p}`},[v,y])}}});var $xe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function Nxe(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}function Hxe(e){let{originalElement:t}=e;return t}function vu(e,t,n){const r=typeof e>"u"?t.statePageSize:e;return Math.floor((n.total-1)/r)+1}const Mxe=Je({compatConfig:{MODE:3},name:"Pagination",mixins:[eG],inheritAttrs:!1,props:{disabled:{type:Boolean,default:void 0},prefixCls:He.string.def("rc-pagination"),selectPrefixCls:He.string.def("rc-select"),current:Number,defaultCurrent:He.number.def(1),total:He.number.def(0),pageSize:Number,defaultPageSize:He.number.def(10),hideOnSinglePage:{type:Boolean,default:!1},showSizeChanger:{type:Boolean,default:void 0},showLessItems:{type:Boolean,default:!1},selectComponentClass:He.any,showPrevNextJumpers:{type:Boolean,default:!0},showQuickJumper:He.oneOfType([He.looseBool,He.object]).def(!1),showTitle:{type:Boolean,default:!0},pageSizeOptions:He.arrayOf(He.oneOfType([He.number,He.string])),buildOptionText:Function,showTotal:Function,simple:{type:Boolean,default:void 0},locale:He.object.def(wV),itemRender:He.func.def(Hxe),prevIcon:He.any,nextIcon:He.any,jumpPrevIcon:He.any,jumpNextIcon:He.any,totalBoundaryShowSizeChanger:He.number.def(50)},data(){const e=this.$props;let t=W3([this.current,this.defaultCurrent]);const n=W3([this.pageSize,this.defaultPageSize]);return t=Math.min(t,vu(n,void 0,e)),{stateCurrent:t,stateCurrentInputValue:t,statePageSize:n}},watch:{current(e){this.setState({stateCurrent:e,stateCurrentInputValue:e})},pageSize(e){const t={};let n=this.stateCurrent;const r=vu(e,this.$data,this.$props);n=n>r?r:n,Ip(this,"current")||(t.stateCurrent=n,t.stateCurrentInputValue=n),t.statePageSize=e,this.setState(t)},stateCurrent(e,t){this.$nextTick(()=>{if(this.$refs.paginationNode){const n=this.$refs.paginationNode.querySelector(`.${this.prefixCls}-item-${t}`);n&&document.activeElement===n&&n.blur()}})},total(){const e={},t=vu(this.pageSize,this.$data,this.$props);if(Ip(this,"current")){const n=Math.min(this.current,t);e.stateCurrent=n,e.stateCurrentInputValue=n}else{let n=this.stateCurrent;n===0&&t>0?n=1:n=Math.min(this.stateCurrent,t),e.stateCurrent=n}this.setState(e)}},methods:{getJumpPrevPage(){return Math.max(1,this.stateCurrent-(this.showLessItems?3:5))},getJumpNextPage(){return Math.min(vu(void 0,this.$data,this.$props),this.stateCurrent+(this.showLessItems?3:5))},getItemIcon(e,t){const{prefixCls:n}=this.$props;return TV(this,e,this.$props)||$("button",{type:"button","aria-label":t,class:`${n}-item-link`},null)},getValidValue(e){const t=e.target.value,n=vu(void 0,this.$data,this.$props),{stateCurrentInputValue:r}=this.$data;let i;return t===""?i=t:isNaN(Number(t))?i=r:t>=n?i=n:i=Number(t),i},isValid(e){return Nxe(e)&&e!==this.stateCurrent},shouldDisplayQuickJumper(){const{showQuickJumper:e,pageSize:t,total:n}=this.$props;return n<=t?!1:e},handleKeyDown(e){(e.keyCode===hd.ARROW_UP||e.keyCode===hd.ARROW_DOWN)&&e.preventDefault()},handleKeyUp(e){const t=this.getValidValue(e),n=this.stateCurrentInputValue;t!==n&&this.setState({stateCurrentInputValue:t}),e.keyCode===hd.ENTER?this.handleChange(t):e.keyCode===hd.ARROW_UP?this.handleChange(t-1):e.keyCode===hd.ARROW_DOWN&&this.handleChange(t+1)},changePageSize(e){let t=this.stateCurrent;const n=t,r=vu(e,this.$data,this.$props);t=t>r?r:t,r===0&&(t=this.stateCurrent),typeof e=="number"&&(Ip(this,"pageSize")||this.setState({statePageSize:e}),Ip(this,"current")||this.setState({stateCurrent:t,stateCurrentInputValue:t})),this.__emit("update:pageSize",e),t!==n&&this.__emit("update:current",t),this.__emit("showSizeChange",t,e),this.__emit("change",t,e)},handleChange(e){const{disabled:t}=this.$props;let n=e;if(this.isValid(n)&&!t){const r=vu(void 0,this.$data,this.$props);return n>r?n=r:n<1&&(n=1),Ip(this,"current")||this.setState({stateCurrent:n,stateCurrentInputValue:n}),this.__emit("update:current",n),this.__emit("change",n,this.statePageSize),n}return this.stateCurrent},prev(){this.hasPrev()&&this.handleChange(this.stateCurrent-1)},next(){this.hasNext()&&this.handleChange(this.stateCurrent+1)},jumpPrev(){this.handleChange(this.getJumpPrevPage())},jumpNext(){this.handleChange(this.getJumpNextPage())},hasPrev(){return this.stateCurrent>1},hasNext(){return this.stateCurrent<vu(void 0,this.$data,this.$props)},getShowSizeChanger(){const{showSizeChanger:e,total:t,totalBoundaryShowSizeChanger:n}=this.$props;return typeof e<"u"?e:t>n},runIfEnter(e,t){if(e.key==="Enter"||e.charCode===13){e.preventDefault();for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];t(...r)}},runIfEnterPrev(e){this.runIfEnter(e,this.prev)},runIfEnterNext(e){this.runIfEnter(e,this.next)},runIfEnterJumpPrev(e){this.runIfEnter(e,this.jumpPrev)},runIfEnterJumpNext(e){this.runIfEnter(e,this.jumpNext)},handleGoTO(e){(e.keyCode===hd.ENTER||e.type==="click")&&this.handleChange(this.stateCurrentInputValue)},renderPrev(e){const{itemRender:t}=this.$props,n=t({page:e,type:"prev",originalElement:this.getItemIcon("prevIcon","prev page")}),r=!this.hasPrev();return eA(n)?jr(n,r?{disabled:r}:{}):n},renderNext(e){const{itemRender:t}=this.$props,n=t({page:e,type:"next",originalElement:this.getItemIcon("nextIcon","next page")}),r=!this.hasNext();return eA(n)?jr(n,r?{disabled:r}:{}):n}},render(){const{prefixCls:e,disabled:t,hideOnSinglePage:n,total:r,locale:i,showQuickJumper:o,showLessItems:A,showTitle:a,showTotal:s,simple:u,itemRender:l,showPrevNextJumpers:c,jumpPrevIcon:d,jumpNextIcon:f,selectComponentClass:g,selectPrefixCls:h,pageSizeOptions:m}=this.$props,{stateCurrent:p,statePageSize:v}=this,y=_V(this.$attrs).extraAttrs,{class:b}=y,w=$xe(y,["class"]);if(n===!0&&this.total<=v)return null;const C=vu(void 0,this.$data,this.$props),B=[];let O=null,x=null,M=null,R=null,F=null;const L=o&&o.goButton,E=A?1:2,H=p-1>0?p-1:0,X=p+1<C?p+1:C,z=this.hasPrev(),Z=this.hasNext();if(u)return L&&(typeof L=="boolean"?F=$("button",{type:"button",onClick:this.handleGoTO,onKeyup:this.handleGoTO},[i.jump_to_confirm]):F=$("span",{onClick:this.handleGoTO,onKeyup:this.handleGoTO},[L]),F=$("li",{title:a?`${i.jump_to}${p}/${C}`:null,class:`${e}-simple-pager`},[F])),$("ul",ye({class:Ze(`${e} ${e}-simple`,{[`${e}-disabled`]:t},b)},w),[$("li",{title:a?i.prev_page:null,onClick:this.prev,tabindex:z?0:null,onKeypress:this.runIfEnterPrev,class:Ze(`${e}-prev`,{[`${e}-disabled`]:!z}),"aria-disabled":!z},[this.renderPrev(H)]),$("li",{title:a?`${p}/${C}`:null,class:`${e}-simple-pager`},[$(bv,{type:"text",value:this.stateCurrentInputValue,disabled:t,onKeydown:this.handleKeyDown,onKeyup:this.handleKeyUp,onInput:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"},null),$("span",{class:`${e}-slash`},[Hu("/")]),C]),$("li",{title:a?i.next_page:null,onClick:this.next,tabindex:Z?0:null,onKeypress:this.runIfEnterNext,class:Ze(`${e}-next`,{[`${e}-disabled`]:!Z}),"aria-disabled":!Z},[this.renderNext(X)]),F]);if(C<=3+E*2){const Y={locale:i,rootPrefixCls:e,showTitle:a,itemRender:l,onClick:this.handleChange,onKeypress:this.runIfEnter};C||B.push($(ad,ye(ye({},Y),{},{key:"noPager",page:1,class:`${e}-item-disabled`}),null));for(let re=1;re<=C;re+=1){const se=p===re;B.push($(ad,ye(ye({},Y),{},{key:re,page:re,active:se}),null))}}else{const Y=A?i.prev_3:i.prev_5,re=A?i.next_3:i.next_5;c&&(O=$("li",{title:this.showTitle?Y:null,key:"prev",onClick:this.jumpPrev,tabindex:"0",onKeypress:this.runIfEnterJumpPrev,class:Ze(`${e}-jump-prev`,{[`${e}-jump-prev-custom-icon`]:!!d})},[l({page:this.getJumpPrevPage(),type:"jump-prev",originalElement:this.getItemIcon("jumpPrevIcon","prev page")})]),x=$("li",{title:this.showTitle?re:null,key:"next",tabindex:"0",onClick:this.jumpNext,onKeypress:this.runIfEnterJumpNext,class:Ze(`${e}-jump-next`,{[`${e}-jump-next-custom-icon`]:!!f})},[l({page:this.getJumpNextPage(),type:"jump-next",originalElement:this.getItemIcon("jumpNextIcon","next page")})])),R=$(ad,{locale:i,last:!0,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:C,page:C,active:!1,showTitle:a,itemRender:l},null),M=$(ad,{locale:i,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:1,page:1,active:!1,showTitle:a,itemRender:l},null);let se=Math.max(1,p-E),ce=Math.min(p+E,C);p-1<=E&&(ce=1+E*2),C-p<=E&&(se=C-E*2);for(let N=se;N<=ce;N+=1){const K=p===N;B.push($(ad,{locale:i,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:N,page:N,active:K,showTitle:a,itemRender:l},null))}p-1>=E*2&&p!==3&&(B[0]=$(ad,{locale:i,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:se,page:se,class:`${e}-item-after-jump-prev`,active:!1,showTitle:this.showTitle,itemRender:l},null),B.unshift(O)),C-p>=E*2&&p!==C-2&&(B[B.length-1]=$(ad,{locale:i,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:ce,page:ce,class:`${e}-item-before-jump-next`,active:!1,showTitle:this.showTitle,itemRender:l},null),B.push(x)),se!==1&&B.unshift(M),ce!==C&&B.push(R)}let q=null;s&&(q=$("li",{class:`${e}-total-text`},[s(r,[r===0?0:(p-1)*v+1,p*v>r?r:p*v])]));const te=!z||!C,ne=!Z||!C,_=this.buildOptionText||this.$slots.buildOptionText;return $("ul",ye(ye({unselectable:"on",ref:"paginationNode"},w),{},{class:Ze({[`${e}`]:!0,[`${e}-disabled`]:t},b)}),[q,$("li",{title:a?i.prev_page:null,onClick:this.prev,tabindex:te?null:0,onKeypress:this.runIfEnterPrev,class:Ze(`${e}-prev`,{[`${e}-disabled`]:te}),"aria-disabled":te},[this.renderPrev(H)]),B,$("li",{title:a?i.next_page:null,onClick:this.next,tabindex:ne?null:0,onKeypress:this.runIfEnterNext,class:Ze(`${e}-next`,{[`${e}-disabled`]:ne}),"aria-disabled":ne},[this.renderNext(X)]),$(Rxe,{disabled:t,locale:i,rootPrefixCls:e,selectComponentClass:g,selectPrefixCls:h,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:p,pageSize:v,pageSizeOptions:m,buildOptionText:_||null,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:L},null)])}}),kxe=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`&${t}-mini`]:{[`
- &:hover ${t}-item:not(${t}-item-active),
- &:active ${t}-item:not(${t}-item-active),
- &:hover ${t}-item-link,
- &:active ${t}-item-link
- `]:{backgroundColor:"transparent"}},[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.paginationItemDisabledBgActive,"&:hover, &:active":{backgroundColor:e.paginationItemDisabledBgActive},a:{color:e.paginationItemDisabledColorActive}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},jxe=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`},[`&${t}-mini ${t}-item`]:{minWidth:e.paginationItemSizeSM,height:e.paginationItemSizeSM,margin:0,lineHeight:`${e.paginationItemSizeSM-2}px`},[`&${t}-mini ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.paginationItemSizeSM,height:e.paginationItemSizeSM,margin:0,lineHeight:`${e.paginationItemSizeSM}px`,[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}},[`
- &${t}-mini ${t}-prev ${t}-item-link,
- &${t}-mini ${t}-next ${t}-item-link
- `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.paginationItemSizeSM,marginInlineEnd:0,lineHeight:`${e.paginationItemSizeSM}px`},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.paginationMiniOptionsSizeChangerTop},"&-quick-jumper":{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`,input:V(V({},rT(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},Kxe=e=>{const{componentCls:t}=e;return{[`
- &${t}-simple ${t}-prev,
- &${t}-simple ${t}-next
- `]:{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`,verticalAlign:"top",[`${t}-item-link`]:{height:e.paginationItemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.paginationItemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:e.marginXS,padding:`0 ${e.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:e.paginationItemInputBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${e.inputOutlineOffset}px 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},Vxe=e=>{const{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},"&:focus-visible":V({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},Ku(e))},[`
- ${t}-prev,
- ${t}-jump-prev,
- ${t}-jump-next
- `]:{marginInlineEnd:e.marginXS},[`
- ${t}-prev,
- ${t}-next,
- ${t}-jump-prev,
- ${t}-jump-next
- `]:{display:"inline-block",minWidth:e.paginationItemSize,height:e.paginationItemSize,color:e.colorText,fontFamily:e.paginationFontFamily,lineHeight:`${e.paginationItemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:focus-visible ${t}-item-link`]:V({},Ku(e)),[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:`${e.controlHeight}px`,verticalAlign:"top",input:V(V({},Dg(e)),{width:e.controlHeightLG*1.25,height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},zxe=e=>{const{componentCls:t}=e;return{[`${t}-item`]:V(V({display:"inline-block",minWidth:e.paginationItemSize,height:e.paginationItemSize,marginInlineEnd:e.marginXS,fontFamily:e.paginationFontFamily,lineHeight:`${e.paginationItemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${e.paginationItemPaddingInline}px`,color:e.colorText,transition:"none","&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}}},df(e)),{"&-active":{fontWeight:e.paginationFontWeightActive,backgroundColor:e.paginationItemBgActive,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}})}},Gxe=e=>{const{componentCls:t}=e;return{[t]:V(V(V(V(V(V(V(V({},qn(e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.paginationItemSize,marginInlineEnd:e.marginXS,lineHeight:`${e.paginationItemSize-2}px`,verticalAlign:"middle"}}),zxe(e)),Vxe(e)),Kxe(e)),jxe(e)),kxe(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},Wxe=e=>{const{componentCls:t}=e;return{[`${t}${t}-disabled`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.paginationItemDisabledBgActive}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[t]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.paginationItemBg},[`${t}-item-link`]:{backgroundColor:e.paginationItemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.paginationItemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.paginationItemBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.paginationItemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},qxe=or("Pagination",e=>{const t=_n(e,{paginationItemSize:e.controlHeight,paginationFontFamily:e.fontFamily,paginationItemBg:e.colorBgContainer,paginationItemBgActive:e.colorBgContainer,paginationFontWeightActive:e.fontWeightStrong,paginationItemSizeSM:e.controlHeightSM,paginationItemInputBg:e.colorBgContainer,paginationMiniOptionsSizeChangerTop:0,paginationItemDisabledBgActive:e.controlItemBgActiveDisabled,paginationItemDisabledColorActive:e.colorTextDisabled,paginationItemLinkBg:e.colorBgContainer,inputOutlineOffset:"0 0",paginationMiniOptionsMarginInlineStart:e.marginXXS/2,paginationMiniQuickJumperInputWidth:e.controlHeightLG*1.1,paginationItemPaddingInline:e.marginXXS*1.5,paginationEllipsisLetterSpacing:e.marginXXS/2,paginationSlashMarginInlineStart:e.marginXXS,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},WB(e));return[Gxe(t),e.wireframe&&Wxe(t)]});var Xxe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const Yxe=()=>({total:Number,defaultCurrent:Number,disabled:Qt(),current:Number,defaultPageSize:Number,pageSize:Number,hideOnSinglePage:Qt(),showSizeChanger:Qt(),pageSizeOptions:fr(),buildOptionText:lt(),showQuickJumper:Hn([Boolean,Object]),showTotal:lt(),size:yn(),simple:Qt(),locale:Object,prefixCls:String,selectPrefixCls:String,totalBoundaryShowSizeChanger:Number,selectComponentClass:String,itemRender:lt(),role:String,responsive:Boolean,showLessItems:Qt(),onChange:lt(),onShowSizeChange:lt(),"onUpdate:current":lt(),"onUpdate:pageSize":lt()}),Jxe=Je({compatConfig:{MODE:3},name:"APagination",inheritAttrs:!1,props:Yxe(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,configProvider:o,direction:A,size:a}=An("pagination",e),[s,u]=qxe(i),l=fe(()=>o.getPrefixCls("select",e.selectPrefixCls)),c=UO(),[d]=Rl("Pagination",HV,fn(e,"locale")),f=g=>{const h=$("span",{class:`${g}-item-ellipsis`},[Hu("•••")]),m=$("button",{class:`${g}-item-link`,type:"button",tabindex:-1},[A.value==="rtl"?$(pf,null,null):$(gg,null,null)]),p=$("button",{class:`${g}-item-link`,type:"button",tabindex:-1},[A.value==="rtl"?$(gg,null,null):$(pf,null,null)]),v=$("a",{rel:"nofollow",class:`${g}-item-link`},[$("div",{class:`${g}-item-container`},[A.value==="rtl"?$(Lw,{class:`${g}-item-link-icon`},null):$(Pw,{class:`${g}-item-link-icon`},null),h])]),y=$("a",{rel:"nofollow",class:`${g}-item-link`},[$("div",{class:`${g}-item-container`},[A.value==="rtl"?$(Pw,{class:`${g}-item-link-icon`},null):$(Lw,{class:`${g}-item-link-icon`},null),h])]);return{prevIcon:m,nextIcon:p,jumpPrevIcon:v,jumpNextIcon:y}};return()=>{var g;const{itemRender:h=n.itemRender,buildOptionText:m=n.buildOptionText,selectComponentClass:p,responsive:v}=e,y=Xxe(e,["itemRender","buildOptionText","selectComponentClass","responsive"]),b=a.value==="small"||!!(!((g=c.value)===null||g===void 0)&&g.xs&&!a.value&&v),w=V(V(V(V(V({},y),f(i.value)),{prefixCls:i.value,selectPrefixCls:l.value,selectComponentClass:p||(b?Lxe:Dxe),locale:d.value,buildOptionText:m}),r),{class:Ze({[`${i.value}-mini`]:b,[`${i.value}-rtl`]:A.value==="rtl"},r.class,u.value),itemRender:h});return s($(Mxe,w,null))}}}),Zxe=Ga(Jxe);var eSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let TI;const tSe=e=>{TI={x:e.pageX,y:e.pageY},setTimeout(()=>TI=null,100)};bq()&&Aa(document.documentElement,"click",tSe,!0);const nSe=()=>({prefixCls:String,visible:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},confirmLoading:{type:Boolean,default:void 0},title:He.any,closable:{type:Boolean,default:void 0},closeIcon:He.any,onOk:Function,onCancel:Function,"onUpdate:visible":Function,"onUpdate:open":Function,onChange:Function,afterClose:Function,centered:{type:Boolean,default:void 0},width:[String,Number],footer:He.any,okText:He.any,okType:String,cancelText:He.any,icon:He.any,maskClosable:{type:Boolean,default:void 0},forceRender:{type:Boolean,default:void 0},okButtonProps:qt(),cancelButtonProps:qt(),destroyOnClose:{type:Boolean,default:void 0},wrapClassName:String,maskTransitionName:String,transitionName:String,getContainer:{type:[String,Function,Boolean,Object],default:void 0},zIndex:Number,bodyStyle:qt(),maskStyle:qt(),mask:{type:Boolean,default:void 0},keyboard:{type:Boolean,default:void 0},wrapProps:Object,focusTriggerAfterClose:{type:Boolean,default:void 0},modalRender:Function,mousePosition:qt()}),$a=Je({compatConfig:{MODE:3},name:"AModal",inheritAttrs:!1,props:lr(nSe(),{width:520,confirmLoading:!1,okType:"primary"}),setup(e,t){let{emit:n,slots:r,attrs:i}=t;const[o]=Rl("Modal"),{prefixCls:A,rootPrefixCls:a,direction:s,getPopupContainer:u}=An("modal",e),[l,c]=J2e(A);Xu(e.visible===void 0);const d=h=>{n("update:visible",!1),n("update:open",!1),n("cancel",h),n("change",!1)},f=h=>{n("ok",h)},g=()=>{var h,m;const{okText:p=(h=r.okText)===null||h===void 0?void 0:h.call(r),okType:v,cancelText:y=(m=r.cancelText)===null||m===void 0?void 0:m.call(r),confirmLoading:b}=e;return $(mn,null,[$(Oo,ye({onClick:d},e.cancelButtonProps),{default:()=>[y||o.value.cancelText]}),$(Oo,ye(ye({},Bw(v)),{},{loading:b,onClick:f},e.okButtonProps),{default:()=>[p||o.value.okText]})])};return()=>{var h,m;const{prefixCls:p,visible:v,open:y,wrapClassName:b,centered:w,getContainer:C,closeIcon:B=(h=r.closeIcon)===null||h===void 0?void 0:h.call(r),focusTriggerAfterClose:O=!0}=e,x=eSe(e,["prefixCls","visible","open","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose"]),M=Ze(b,{[`${A.value}-centered`]:!!w,[`${A.value}-wrap-rtl`]:s.value==="rtl"});return l($(z2e,ye(ye(ye({},x),i),{},{rootClassName:c.value,class:Ze(c.value,i.class),getContainer:C||(u==null?void 0:u.value),prefixCls:A.value,wrapClassName:M,visible:y??v,onClose:d,focusTriggerAfterClose:O,transitionName:Pl(a.value,"zoom",e.transitionName),maskTransitionName:Pl(a.value,"fade",e.maskTransitionName),mousePosition:(m=x.mousePosition)!==null&&m!==void 0?m:TI}),V(V({},r),{footer:r.footer||g,closeIcon:()=>$("span",{class:`${A.value}-close-x`},[B||$(Os,{class:`${A.value}-close-icon`},null)])})))}}}),rSe=()=>{const e=Me(!1);return En(()=>{e.value=!0}),e},iSe={type:{type:String},actionFn:Function,close:Function,autofocus:Boolean,prefixCls:String,buttonProps:qt(),emitEvent:Boolean,quitOnNullishReturnValue:Boolean};function fR(e){return!!(e&&e.then)}const UI=Je({compatConfig:{MODE:3},name:"ActionButton",props:iSe,setup(e,t){let{slots:n}=t;const r=Me(!1),i=Me(),o=Me(!1);let A;const a=rSe();vn(()=>{e.autofocus&&(A=setTimeout(()=>{var c,d;return(d=(c=bl(i.value))===null||c===void 0?void 0:c.focus)===null||d===void 0?void 0:d.call(c)}))}),En(()=>{clearTimeout(A)});const s=function(){for(var c,d=arguments.length,f=new Array(d),g=0;g<d;g++)f[g]=arguments[g];(c=e.close)===null||c===void 0||c.call(e,...f)},u=c=>{fR(c)&&(o.value=!0,c.then(function(){a.value||(o.value=!1),s(...arguments),r.value=!1},d=>(a.value||(o.value=!1),r.value=!1,Promise.reject(d))))},l=c=>{const{actionFn:d}=e;if(r.value)return;if(r.value=!0,!d){s();return}let f;if(e.emitEvent){if(f=d(c),e.quitOnNullishReturnValue&&!fR(f)){r.value=!1,s(c);return}}else if(d.length)f=d(e.close),r.value=!1;else if(f=d(),!f){s();return}u(f)};return()=>{const{type:c,prefixCls:d,buttonProps:f}=e;return $(Oo,ye(ye(ye({},Bw(c)),{},{onClick:l,loading:o.value,prefixCls:d},f),{},{ref:i}),n)}}});function dp(e){return typeof e=="function"?e():e}const vX=Je({name:"ConfirmDialog",inheritAttrs:!1,props:["icon","onCancel","onOk","close","closable","zIndex","afterClose","visible","open","keyboard","centered","getContainer","maskStyle","okButtonProps","cancelButtonProps","okType","prefixCls","okCancel","width","mask","maskClosable","okText","cancelText","autoFocusButton","transitionName","maskTransitionName","type","title","content","direction","rootPrefixCls","bodyStyle","closeIcon","modalRender","focusTriggerAfterClose","wrapClassName","confirmPrefixCls","footer"],setup(e,t){let{attrs:n}=t;const[r]=Rl("Modal");return()=>{const{icon:i,onCancel:o,onOk:A,close:a,okText:s,closable:u=!1,zIndex:l,afterClose:c,keyboard:d,centered:f,getContainer:g,maskStyle:h,okButtonProps:m,cancelButtonProps:p,okCancel:v,width:y=416,mask:b=!0,maskClosable:w=!1,type:C,open:B,title:O,content:x,direction:M,closeIcon:R,modalRender:F,focusTriggerAfterClose:L,rootPrefixCls:E,bodyStyle:H,wrapClassName:X,footer:z}=e;let Z=i;if(!i&&i!==null)switch(C){case"info":Z=$(lh,null,null);break;case"success":Z=$(Zu,null,null);break;case"error":Z=$(MA,null,null);break;default:Z=$(ec,null,null)}const q=e.okType||"primary",te=e.prefixCls||"ant-modal",ne=`${te}-confirm`,_=n.style||{},Y=v??C==="confirm",re=e.autoFocusButton===null?!1:e.autoFocusButton||"ok",se=`${te}-confirm`,ce=Ze(se,`${se}-${e.type}`,{[`${se}-rtl`]:M==="rtl"},n.class),N=r.value,K=Y&&$(UI,{actionFn:o,close:a,autofocus:re==="cancel",buttonProps:p,prefixCls:`${E}-btn`},{default:()=>[dp(e.cancelText)||N.cancelText]});return $($a,{prefixCls:te,class:ce,wrapClassName:Ze({[`${se}-centered`]:!!f},X),onCancel:Ae=>a==null?void 0:a({triggerCancel:!0},Ae),open:B,title:"",footer:"",transitionName:Pl(E,"zoom",e.transitionName),maskTransitionName:Pl(E,"fade",e.maskTransitionName),mask:b,maskClosable:w,maskStyle:h,style:_,bodyStyle:H,width:y,zIndex:l,afterClose:c,keyboard:d,centered:f,getContainer:g,closable:u,closeIcon:R,modalRender:F,focusTriggerAfterClose:L},{default:()=>[$("div",{class:`${ne}-body-wrapper`},[$("div",{class:`${ne}-body`},[dp(Z),O===void 0?null:$("span",{class:`${ne}-title`},[dp(O)]),$("div",{class:`${ne}-content`},[dp(x)])]),z!==void 0?dp(z):$("div",{class:`${ne}-btns`},[K,$(UI,{type:q,actionFn:A,close:a,autofocus:re==="ok",buttonProps:m,prefixCls:`${E}-btn`},{default:()=>[dp(s)||(Y?N.okText:N.justOkText)]})])])]})}}}),Fd=[],Ov=e=>{const t=document.createDocumentFragment();let n=V(V({},_r(e,["parentContext","appContext"])),{close:o,open:!0}),r=null;function i(){r&&(ff(null,t),r=null);for(var u=arguments.length,l=new Array(u),c=0;c<u;c++)l[c]=arguments[c];const d=l.some(f=>f&&f.triggerCancel);e.onCancel&&d&&e.onCancel(()=>{},...l.slice(1));for(let f=0;f<Fd.length;f++)if(Fd[f]===o){Fd.splice(f,1);break}}function o(){for(var u=arguments.length,l=new Array(u),c=0;c<u;c++)l[c]=arguments[c];n=V(V({},n),{open:!1,afterClose:()=>{typeof e.afterClose=="function"&&e.afterClose(),i.apply(this,l)}}),n.visible&&delete n.visible,A(n)}function A(u){typeof u=="function"?n=u(n):n=V(V({},n),u),r&&xle(r,n,t)}const a=u=>{const l=Bo,c=l.prefixCls,d=u.prefixCls||`${c}-modal`,f=l.iconPrefixCls,g=UBe();return $(Jp,ye(ye({},l),{},{prefixCls:c}),{default:()=>[$(vX,ye(ye({},u),{},{rootPrefixCls:c,prefixCls:d,iconPrefixCls:f,locale:g,cancelText:u.cancelText||g.cancelText}),null)]})};function s(u){const l=$(a,V({},u));return l.appContext=e.parentContext||e.appContext||l.appContext,ff(l,t),l}return r=s(n),Fd.push(o),{destroy:o,update:A}};function yX(e){return V(V({},e),{type:"warning"})}function bX(e){return V(V({},e),{type:"info"})}function wX(e){return V(V({},e),{type:"success"})}function BX(e){return V(V({},e),{type:"error"})}function CX(e){return V(V({},e),{type:"confirm"})}const oSe=()=>({config:Object,afterClose:Function,destroyAction:Function,open:Boolean}),ASe=Je({name:"HookModal",inheritAttrs:!1,props:lr(oSe(),{config:{width:520,okType:"primary"}}),setup(e,t){let{expose:n}=t;var r;const i=fe(()=>e.open),o=fe(()=>e.config),{direction:A,getPrefixCls:a}=P6(),s=a("modal"),u=a(),l=()=>{var g,h;e==null||e.afterClose(),(h=(g=o.value).afterClose)===null||h===void 0||h.call(g)},c=function(){e.destroyAction(...arguments)};n({destroy:c});const d=(r=o.value.okCancel)!==null&&r!==void 0?r:o.value.type==="confirm",[f]=Rl("Modal",Ss.Modal);return()=>$(vX,ye(ye({prefixCls:s,rootPrefixCls:u},o.value),{},{close:c,open:i.value,afterClose:l,okText:o.value.okText||(d?f==null?void 0:f.value.okText:f==null?void 0:f.value.justOkText),direction:o.value.direction||A.value,cancelText:o.value.cancelText||(f==null?void 0:f.value.cancelText)}),null)}});let dR=0;const aSe=Je({name:"ElementsHolder",inheritAttrs:!1,setup(e,t){let{expose:n}=t;const r=Me([]);return n({addModal:o=>(r.value.push(o),r.value=r.value.slice(),()=>{r.value=r.value.filter(A=>A!==o)})}),()=>r.value.map(o=>o())}});function sSe(){const e=Me(null),t=Me([]);st(t,()=>{t.value.length&&([...t.value].forEach(A=>{A()}),t.value=[])},{immediate:!0});const n=o=>function(a){var s;dR+=1;const u=Me(!0),l=Me(null),c=Me(ni(a)),d=Me({});st(()=>a,y=>{m(V(V({},qi(y)?y.value:y),d.value))});const f=function(){u.value=!1;for(var y=arguments.length,b=new Array(y),w=0;w<y;w++)b[w]=arguments[w];const C=b.some(B=>B&&B.triggerCancel);c.value.onCancel&&C&&c.value.onCancel(()=>{},...b.slice(1))};let g;const h=()=>$(ASe,{key:`modal-${dR}`,config:o(c.value),ref:l,open:u.value,destroyAction:f,afterClose:()=>{g==null||g()}},null);g=(s=e.value)===null||s===void 0?void 0:s.addModal(h),g&&Fd.push(g);const m=y=>{c.value=V(V({},c.value),y)};return{destroy:()=>{l.value?f():t.value=[...t.value,f]},update:y=>{d.value=y,l.value?m(y):t.value=[...t.value,()=>m(y)]}}},r=fe(()=>({info:n(bX),success:n(wX),error:n(BX),warning:n(yX),confirm:n(CX)})),i=Symbol("modalHolderKey");return[r.value,()=>$(aSe,{key:i,ref:e},null)]}function xX(e){return Ov(yX(e))}$a.useModal=sSe;$a.info=function(t){return Ov(bX(t))};$a.success=function(t){return Ov(wX(t))};$a.error=function(t){return Ov(BX(t))};$a.warning=xX;$a.warn=xX;$a.confirm=function(t){return Ov(CX(t))};$a.destroyAll=function(){for(;Fd.length;){const t=Fd.pop();t&&t()}};$a.install=function(e){return e.component($a.name,$a),e};const lSe=e=>{const{componentCls:t,iconCls:n,zIndexPopup:r,colorText:i,colorWarning:o,marginXS:A,fontSize:a,fontWeightStrong:s,lineHeight:u}=e;return{[t]:{zIndex:r,[`${t}-inner-content`]:{color:i},[`${t}-message`]:{position:"relative",marginBottom:A,color:i,fontSize:a,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${n}`]:{color:o,fontSize:a,flex:"none",lineHeight:1,paddingTop:(Math.round(a*u)-a)/2},"&-title":{flex:"auto",marginInlineStart:A},"&-title-only":{fontWeight:s}},[`${t}-description`]:{position:"relative",marginInlineStart:a+A,marginBottom:A,color:i,fontSize:a},[`${t}-buttons`]:{textAlign:"end",button:{marginInlineStart:A}}}}},uSe=or("Popconfirm",e=>lSe(e),e=>{const{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}});var cSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const fSe=()=>V(V({},QO()),{prefixCls:String,content:wi(),title:wi(),description:wi(),okType:yn("primary"),disabled:{type:Boolean,default:!1},okText:wi(),cancelText:wi(),icon:wi(),okButtonProps:qt(),cancelButtonProps:qt(),showCancel:{type:Boolean,default:!0},onConfirm:Function,onCancel:Function}),dSe=Je({compatConfig:{MODE:3},name:"APopconfirm",inheritAttrs:!1,props:lr(fSe(),V(V({},oW()),{trigger:"click",placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0,okType:"primary",disabled:!1})),slots:Object,setup(e,t){let{slots:n,emit:r,expose:i,attrs:o}=t;const A=qe();Xu(e.visible===void 0),i({getPopupDomNode:()=>{var C,B;return(B=(C=A.value)===null||C===void 0?void 0:C.getPopupDomNode)===null||B===void 0?void 0:B.call(C)}});const[a,s]=So(!1,{value:fn(e,"open")}),u=(C,B)=>{e.open===void 0&&s(C),r("update:open",C),r("openChange",C,B)},l=C=>{u(!1,C)},c=C=>{var B;return(B=e.onConfirm)===null||B===void 0?void 0:B.call(e,C)},d=C=>{var B;u(!1,C),(B=e.onCancel)===null||B===void 0||B.call(e,C)},f=C=>{C.keyCode===ut.ESC&&a&&u(!1,C)},g=C=>{const{disabled:B}=e;B||u(C)},{prefixCls:h,getPrefixCls:m}=An("popconfirm",e),p=fe(()=>m()),v=fe(()=>m("btn")),[y]=uSe(h),[b]=Rl("Popconfirm",Ss.Popconfirm),w=()=>{var C,B,O,x,M;const{okButtonProps:R,cancelButtonProps:F,title:L=(C=n.title)===null||C===void 0?void 0:C.call(n),description:E=(B=n.description)===null||B===void 0?void 0:B.call(n),cancelText:H=(O=n.cancel)===null||O===void 0?void 0:O.call(n),okText:X=(x=n.okText)===null||x===void 0?void 0:x.call(n),okType:z,icon:Z=((M=n.icon)===null||M===void 0?void 0:M.call(n))||$(ec,null,null),showCancel:q=!0}=e,{cancelButton:te,okButton:ne}=n,_=V({onClick:d,size:"small"},F),Y=V(V(V({onClick:c},Bw(z)),{size:"small"}),R);return $("div",{class:`${h.value}-inner-content`},[$("div",{class:`${h.value}-message`},[Z&&$("span",{class:`${h.value}-message-icon`},[Z]),$("div",{class:[`${h.value}-message-title`,{[`${h.value}-message-title-only`]:!!E}]},[L])]),E&&$("div",{class:`${h.value}-description`},[E]),$("div",{class:`${h.value}-buttons`},[q?te?te(_):$(Oo,_,{default:()=>[H||b.value.cancelText]}):null,ne?ne(Y):$(UI,{buttonProps:V(V({size:"small"},Bw(z)),R),actionFn:c,close:l,prefixCls:v.value,quitOnNullishReturnValue:!0,emitEvent:!0},{default:()=>[X||b.value.okText]})])])};return()=>{var C;const{placement:B,overlayClassName:O,trigger:x="click"}=e,M=cSe(e,["placement","overlayClassName","trigger"]),R=_r(M,["title","content","cancelText","okText","onUpdate:open","onConfirm","onCancel","prefixCls"]),F=Ze(h.value,O);return y($(AW,ye(ye(ye({},R),o),{},{trigger:x,placement:B,onOpenChange:g,open:a.value,overlayClassName:F,transitionName:Pl(p.value,"zoom-big",e.transitionName),ref:A,"data-popover-inject":!0}),{default:()=>[Cle(((C=n.default)===null||C===void 0?void 0:C.call(n))||[],{onKeydown:L=>{f(L)}},!1)],content:w}))}}}),LHe=Ga(dSe),hSe=["normal","exception","active","success"],rC=()=>({prefixCls:String,type:yn(),percent:Number,format:lt(),status:yn(),showInfo:Qt(),strokeWidth:Number,strokeLinecap:yn(),strokeColor:wi(),trailColor:String,width:Number,success:qt(),gapDegree:Number,gapPosition:yn(),size:Hn([String,Number,Array]),steps:Number,successPercent:Number,title:String,progressStatus:yn()});function Dd(e){return!e||e<0?0:e>100?100:e}function Dw(e){let{success:t,successPercent:n}=e,r=n;return t&&"progress"in t&&(Xr(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),r=t.progress),t&&"percent"in t&&(r=t.percent),r}function pSe(e){let{percent:t,success:n,successPercent:r}=e;const i=Dd(Dw({success:n,successPercent:r}));return[i,Dd(Dd(t)-i)]}function gSe(e){let{success:t={},strokeColor:n}=e;const{strokeColor:r}=t;return[r||zp.green,n||null]}const iC=(e,t,n)=>{var r,i,o,A;let a=-1,s=-1;if(t==="step"){const u=n.steps,l=n.strokeWidth;typeof e=="string"||typeof e>"u"?(a=e==="small"?2:14,s=l??8):typeof e=="number"?[a,s]=[e,e]:[a=14,s=8]=e,a*=u}else if(t==="line"){const u=n==null?void 0:n.strokeWidth;typeof e=="string"||typeof e>"u"?s=u||(e==="small"?6:8):typeof e=="number"?[a,s]=[e,e]:[a=-1,s=8]=e}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e>"u"?[a,s]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[a,s]=[e,e]:(a=(i=(r=e[0])!==null&&r!==void 0?r:e[1])!==null&&i!==void 0?i:120,s=(A=(o=e[0])!==null&&o!==void 0?o:e[1])!==null&&A!==void 0?A:120));return{width:a,height:s}};var mSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const vSe=()=>V(V({},rC()),{strokeColor:wi(),direction:yn()}),ySe=e=>{let t=[];return Object.keys(e).forEach(n=>{const r=parseFloat(n.replace(/%/g,""));isNaN(r)||t.push({key:r,value:e[n]})}),t=t.sort((n,r)=>n.key-r.key),t.map(n=>{let{key:r,value:i}=n;return`${i} ${r}%`}).join(", ")},bSe=(e,t)=>{const{from:n=zp.blue,to:r=zp.blue,direction:i=t==="rtl"?"to left":"to right"}=e,o=mSe(e,["from","to","direction"]);if(Object.keys(o).length!==0){const A=ySe(o);return{backgroundImage:`linear-gradient(${i}, ${A})`}}return{backgroundImage:`linear-gradient(${i}, ${n}, ${r})`}},wSe=Je({compatConfig:{MODE:3},name:"ProgressLine",inheritAttrs:!1,props:vSe(),setup(e,t){let{slots:n,attrs:r}=t;const i=fe(()=>{const{strokeColor:f,direction:g}=e;return f&&typeof f!="string"?bSe(f,g):{backgroundColor:f}}),o=fe(()=>e.strokeLinecap==="square"||e.strokeLinecap==="butt"?0:void 0),A=fe(()=>e.trailColor?{backgroundColor:e.trailColor}:void 0),a=fe(()=>{var f;return(f=e.size)!==null&&f!==void 0?f:[-1,e.strokeWidth||(e.size==="small"?6:8)]}),s=fe(()=>iC(a.value,"line",{strokeWidth:e.strokeWidth})),u=fe(()=>{const{percent:f}=e;return V({width:`${Dd(f)}%`,height:`${s.value.height}px`,borderRadius:o.value},i.value)}),l=fe(()=>Dw(e)),c=fe(()=>{const{success:f}=e;return{width:`${Dd(l.value)}%`,height:`${s.value.height}px`,borderRadius:o.value,backgroundColor:f==null?void 0:f.strokeColor}}),d={width:s.value.width<0?"100%":s.value.width,height:`${s.value.height}px`};return()=>{var f;return $(mn,null,[$("div",ye(ye({},r),{},{class:[`${e.prefixCls}-outer`,r.class],style:[r.style,d]}),[$("div",{class:`${e.prefixCls}-inner`,style:A.value},[$("div",{class:`${e.prefixCls}-bg`,style:u.value},null),l.value!==void 0?$("div",{class:`${e.prefixCls}-success-bg`,style:c.value},null):null])]),(f=n.default)===null||f===void 0?void 0:f.call(n)])}}}),SX={percent:0,prefixCls:"vc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1},EX=e=>{const t=qe(null);return Va(()=>{const n=Date.now();let r=!1;e.value.forEach(i=>{const o=(i==null?void 0:i.$el)||i;if(!o)return;r=!0;const A=o.style;A.transitionDuration=".3s, .3s, .3s, .06s",t.value&&n-t.value<100&&(A.transitionDuration="0s, 0s")}),r&&(t.value=Date.now())}),e},FX={gapDegree:Number,gapPosition:{type:String},percent:{type:[Array,Number]},prefixCls:String,strokeColor:{type:[Object,String,Array]},strokeLinecap:{type:String},strokeWidth:Number,trailColor:String,trailWidth:Number,transition:String};var BSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};lr(FX,SX);var CSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let hR=0;function pR(e){return+e.replace("%","")}function gR(e){return Array.isArray(e)?e:[e]}function mR(e,t,n,r){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,o=arguments.length>5?arguments[5]:void 0;const A=50-r/2;let a=0,s=-A,u=0,l=-2*A;switch(o){case"left":a=-A,s=0,u=2*A,l=0;break;case"right":a=A,s=0,u=-2*A,l=0;break;case"bottom":s=A,l=2*A;break}const c=`M 50,50 m ${a},${s}
- a ${A},${A} 0 1 1 ${u},${-l}
- a ${A},${A} 0 1 1 ${-u},${l}`,d=Math.PI*2*A,f={stroke:n,strokeDasharray:`${t/100*(d-i)}px ${d}px`,strokeDashoffset:`-${i/2+e/100*(d-i)}px`,transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s"};return{pathString:c,pathStyle:f}}const xSe=Je({compatConfig:{MODE:3},name:"VCCircle",props:lr(FX,SX),setup(e){hR+=1;const t=qe(hR),n=fe(()=>gR(e.percent)),r=fe(()=>gR(e.strokeColor)),[i,o]=oT();EX(o);const A=()=>{const{prefixCls:a,strokeWidth:s,strokeLinecap:u,gapDegree:l,gapPosition:c}=e;let d=0;return n.value.map((f,g)=>{const h=r.value[g]||r.value[r.value.length-1],m=Object.prototype.toString.call(h)==="[object Object]"?`url(#${a}-gradient-${t.value})`:"",{pathString:p,pathStyle:v}=mR(d,f,h,s,l,c);d+=f;const y={key:g,d:p,stroke:m,"stroke-linecap":u,"stroke-width":s,opacity:f===0?0:1,"fill-opacity":"0",class:`${a}-circle-path`,style:v};return $("path",ye({ref:i(g)},y),null)})};return()=>{const{prefixCls:a,strokeWidth:s,trailWidth:u,gapDegree:l,gapPosition:c,trailColor:d,strokeLinecap:f,strokeColor:g}=e,h=CSe(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","strokeColor"]),{pathString:m,pathStyle:p}=mR(0,100,d,s,l,c);delete h.percent;const v=r.value.find(b=>Object.prototype.toString.call(b)==="[object Object]"),y={d:m,stroke:d,"stroke-linecap":f,"stroke-width":u||s,"fill-opacity":"0",class:`${a}-circle-trail`,style:p};return $("svg",ye({class:`${a}-circle`,viewBox:"0 0 100 100"},h),[v&&$("defs",null,[$("linearGradient",{id:`${a}-gradient-${t.value}`,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},[Object.keys(v).sort((b,w)=>pR(b)-pR(w)).map((b,w)=>$("stop",{key:w,offset:b,"stop-color":v[b]},null))])]),$("path",y,null),A().reverse()])}}}),SSe=()=>V(V({},rC()),{strokeColor:wi()}),ESe=3,FSe=e=>ESe/e*100,ISe=Je({compatConfig:{MODE:3},name:"ProgressCircle",inheritAttrs:!1,props:lr(SSe(),{trailColor:null}),setup(e,t){let{slots:n,attrs:r}=t;const i=fe(()=>{var h;return(h=e.width)!==null&&h!==void 0?h:120}),o=fe(()=>{var h;return(h=e.size)!==null&&h!==void 0?h:[i.value,i.value]}),A=fe(()=>iC(o.value,"circle")),a=fe(()=>{if(e.gapDegree||e.gapDegree===0)return e.gapDegree;if(e.type==="dashboard")return 75}),s=fe(()=>({width:`${A.value.width}px`,height:`${A.value.height}px`,fontSize:`${A.value.width*.15+6}px`})),u=fe(()=>{var h;return(h=e.strokeWidth)!==null&&h!==void 0?h:Math.max(FSe(A.value.width),6)}),l=fe(()=>e.gapPosition||e.type==="dashboard"&&"bottom"||void 0),c=fe(()=>pSe(e)),d=fe(()=>Object.prototype.toString.call(e.strokeColor)==="[object Object]"),f=fe(()=>gSe({success:e.success,strokeColor:e.strokeColor})),g=fe(()=>({[`${e.prefixCls}-inner`]:!0,[`${e.prefixCls}-circle-gradient`]:d.value}));return()=>{var h;const m=$(xSe,{percent:c.value,strokeWidth:u.value,trailWidth:u.value,strokeColor:f.value,strokeLinecap:e.strokeLinecap,trailColor:e.trailColor,prefixCls:e.prefixCls,gapDegree:a.value,gapPosition:l.value},null);return $("div",ye(ye({},r),{},{class:[g.value,r.class],style:[r.style,s.value]}),[A.value.width<=20?$(Qg,null,{default:()=>[$("span",null,[m])],title:n.default}):$(mn,null,[m,(h=n.default)===null||h===void 0?void 0:h.call(n)])])}}}),_Se=()=>V(V({},rC()),{steps:Number,strokeColor:Hn(),trailColor:String}),OSe=Je({compatConfig:{MODE:3},name:"Steps",props:_Se(),setup(e,t){let{slots:n}=t;const r=fe(()=>Math.round(e.steps*((e.percent||0)/100))),i=fe(()=>{var a;return(a=e.size)!==null&&a!==void 0?a:[e.size==="small"?2:14,e.strokeWidth||8]}),o=fe(()=>iC(i.value,"step",{steps:e.steps,strokeWidth:e.strokeWidth||8})),A=fe(()=>{const{steps:a,strokeColor:s,trailColor:u,prefixCls:l}=e,c=[];for(let d=0;d<a;d+=1){const f=Array.isArray(s)?s[d]:s,g={[`${l}-steps-item`]:!0,[`${l}-steps-item-active`]:d<=r.value-1};c.push($("div",{key:d,class:g,style:{backgroundColor:d<=r.value-1?f:u,width:`${o.value.width/a}px`,height:`${o.value.height}px`}},null))}return c});return()=>{var a;return $("div",{class:`${e.prefixCls}-steps-outer`},[A.value,(a=n.default)===null||a===void 0?void 0:a.call(n)])}}}),TSe=new Un("antProgressActive",{"0%":{transform:"translateX(-100%) scaleX(0)",opacity:.1},"20%":{transform:"translateX(-100%) scaleX(0)",opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}}),USe=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:V(V({},qn(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize,marginInlineEnd:e.marginXS,marginBottom:e.marginXS},[`${t}-outer`]:{display:"inline-block",width:"100%"},[`&${t}-show-info`]:{[`${t}-outer`]:{marginInlineEnd:`calc(-2em - ${e.marginXS}px)`,paddingInlineEnd:`calc(2em + ${e.paddingXS}px)`}},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:e.progressRemainingColor,borderRadius:e.progressLineRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorInfo}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",backgroundColor:e.colorInfo,borderRadius:e.progressLineRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",width:"2em",marginInlineStart:e.marginXS,color:e.progressInfoTextColor,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.progressLineRadius,opacity:0,animationName:TSe,animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},QSe=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.progressRemainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.colorText,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:`${e.fontSize/e.fontSizeSM}em`}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},PSe=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.progressRemainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.colorInfo}}}}}},LSe=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},DSe=or("Progress",e=>{const t=e.marginXXS/2,n=_n(e,{progressLineRadius:100,progressInfoTextColor:e.colorText,progressDefaultColor:e.colorInfo,progressRemainingColor:e.colorFillSecondary,progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[USe(n),QSe(n),PSe(n),LSe(n)]});var RSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const $Se=Je({compatConfig:{MODE:3},name:"AProgress",inheritAttrs:!1,props:lr(rC(),{type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",strokeLinecap:"round"}),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=An("progress",e),[A,a]=DSe(i),s=fe(()=>Array.isArray(e.strokeColor)?e.strokeColor[0]:e.strokeColor),u=fe(()=>{const{percent:g=0}=e,h=Dw(e);return parseInt(h!==void 0?h.toString():g.toString(),10)}),l=fe(()=>{const{status:g}=e;return!hSe.includes(g)&&u.value>=100?"success":g||"normal"}),c=fe(()=>{const{type:g,showInfo:h,size:m}=e,p=i.value;return{[p]:!0,[`${p}-inline-circle`]:g==="circle"&&iC(m,"circle").width<=20,[`${p}-${g==="dashboard"&&"circle"||g}`]:!0,[`${p}-status-${l.value}`]:!0,[`${p}-show-info`]:h,[`${p}-${m}`]:m,[`${p}-rtl`]:o.value==="rtl",[a.value]:!0}}),d=fe(()=>typeof e.strokeColor=="string"||Array.isArray(e.strokeColor)?e.strokeColor:void 0),f=()=>{const{showInfo:g,format:h,type:m,percent:p,title:v}=e,y=Dw(e);if(!g)return null;let b;const w=h||(n==null?void 0:n.format)||(B=>`${B}%`),C=m==="line";return h||n!=null&&n.format||l.value!=="exception"&&l.value!=="success"?b=w(Dd(p),Dd(y)):l.value==="exception"?b=$(C?MA:Os,null,null):l.value==="success"&&(b=$(C?Zu:UB,null,null)),$("span",{class:`${i.value}-text`,title:v===void 0&&typeof b=="string"?b:void 0},[b])};return()=>{const{type:g,steps:h,title:m}=e,{class:p}=r,v=RSe(r,["class"]),y=f();let b;return g==="line"?b=h?$(OSe,ye(ye({},e),{},{strokeColor:d.value,prefixCls:i.value,steps:h}),{default:()=>[y]}):$(wSe,ye(ye({},e),{},{strokeColor:s.value,prefixCls:i.value,direction:o.value}),{default:()=>[y]}):(g==="circle"||g==="dashboard")&&(b=$(ISe,ye(ye({},e),{},{prefixCls:i.value,strokeColor:s.value,progressStatus:l.value}),{default:()=>[y]})),A($("div",ye(ye({role:"progressbar"},v),{},{class:[c.value,p],title:m}),[b]))}}}),NSe=Ga($Se),DHe=Ga(Cq),IX=Symbol("TableContextProps"),HSe=e=>{dn(IX,e)},Nl=()=>tn(IX,{}),MSe="RC_TABLE_KEY";function _X(e){return e==null?[]:Array.isArray(e)?e:[e]}function OX(e,t){if(!t&&typeof t!="number")return e;const n=_X(t);let r=e;for(let i=0;i<n.length;i+=1){if(!r)return null;const o=n[i];r=r[o]}return r}function oC(e){const t=[],n={};return e.forEach(r=>{const{key:i,dataIndex:o}=r||{};let A=i||_X(o).join("-")||MSe;for(;n[A];)A=`${A}_next`;n[A]=!0,t.push(A)}),t}function kSe(){const e={};function t(o,A){A&&Object.keys(A).forEach(a=>{const s=A[a];s&&typeof s=="object"?(o[a]=o[a]||{},t(o[a],s)):o[a]=s})}for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return r.forEach(o=>{t(e,o)}),e}function QI(e){return e!=null}const TX=Symbol("SlotsContextProps"),jSe=e=>{dn(TX,e)},FT=()=>tn(TX,fe(()=>({}))),UX=Symbol("ContextProps"),KSe=e=>{dn(UX,e)},VSe=()=>tn(UX,{onResizeColumn:()=>{}}),Zp="RC_TABLE_INTERNAL_COL_DEFINE",QX=Symbol("HoverContextProps"),zSe=e=>{dn(QX,e)},GSe=()=>tn(QX,{startRow:Me(-1),endRow:Me(-1),onHover(){}}),PI=Me(!1),WSe=()=>{vn(()=>{PI.value=PI.value||Zbe("position","sticky")})},qSe=()=>PI;var XSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function YSe(e,t,n,r){const i=e+t-1;return e<=r&&i>=n}function JSe(e){return e&&typeof e=="object"&&!Array.isArray(e)&&!Io(e)}const AC=Je({name:"Cell",props:["prefixCls","record","index","renderIndex","dataIndex","customRender","component","colSpan","rowSpan","fixLeft","fixRight","firstFixLeft","lastFixLeft","firstFixRight","lastFixRight","appendNode","additionalProps","ellipsis","align","rowType","isSticky","column","cellType","transformCellText"],setup(e,t){let{slots:n}=t;const r=FT(),{onHover:i,startRow:o,endRow:A}=GSe(),a=fe(()=>{var h,m,p,v;return(p=(h=e.colSpan)!==null&&h!==void 0?h:(m=e.additionalProps)===null||m===void 0?void 0:m.colSpan)!==null&&p!==void 0?p:(v=e.additionalProps)===null||v===void 0?void 0:v.colspan}),s=fe(()=>{var h,m,p,v;return(p=(h=e.rowSpan)!==null&&h!==void 0?h:(m=e.additionalProps)===null||m===void 0?void 0:m.rowSpan)!==null&&p!==void 0?p:(v=e.additionalProps)===null||v===void 0?void 0:v.rowspan}),u=Oa(()=>{const{index:h}=e;return YSe(h,s.value||1,o.value,A.value)}),l=qSe(),c=(h,m)=>{var p;const{record:v,index:y,additionalProps:b}=e;v&&i(y,y+m-1),(p=b==null?void 0:b.onMouseenter)===null||p===void 0||p.call(b,h)},d=h=>{var m;const{record:p,additionalProps:v}=e;p&&i(-1,-1),(m=v==null?void 0:v.onMouseleave)===null||m===void 0||m.call(v,h)},f=h=>{const m=ho(h)[0];return Io(m)?m.type===rh?m.children:Array.isArray(m.children)?f(m.children):void 0:m},g=Me(null);return st([u,()=>e.prefixCls,g],()=>{const h=bl(g.value);h&&(u.value?Z3(h,`${e.prefixCls}-cell-row-hover`):eI(h,`${e.prefixCls}-cell-row-hover`))}),()=>{var h,m,p,v,y,b;const{prefixCls:w,record:C,index:B,renderIndex:O,dataIndex:x,customRender:M,component:R="td",fixLeft:F,fixRight:L,firstFixLeft:E,lastFixLeft:H,firstFixRight:X,lastFixRight:z,appendNode:Z=(h=n.appendNode)===null||h===void 0?void 0:h.call(n),additionalProps:q={},ellipsis:te,align:ne,rowType:_,isSticky:Y,column:re={},cellType:se}=e,ce=`${w}-cell`;let N,K;const Ae=(m=n.default)===null||m===void 0?void 0:m.call(n);if(QI(Ae)||se==="header")K=Ae;else{const we=OX(C,x);if(K=we,M){const xe=M({text:we,value:we,record:C,index:B,renderIndex:O,column:re.__originColumn__});JSe(xe)?(K=xe.children,N=xe.props):K=xe}if(!(Zp in re)&&se==="body"&&r.value.bodyCell&&!(!((p=re.slots)===null||p===void 0)&&p.customRender)){const xe=Y6(r.value,"bodyCell",{text:we,value:we,record:C,index:B,column:re.__originColumn__},()=>{const Ue=K===void 0?we:K;return[typeof Ue=="object"&&eA(Ue)||typeof Ue!="object"?Ue:null]});K=ui(xe)}e.transformCellText&&(K=e.transformCellText({text:K,record:C,index:B,column:re.__originColumn__}))}typeof K=="object"&&!Array.isArray(K)&&!Io(K)&&(K=null),te&&(H||X)&&(K=$("span",{class:`${ce}-content`},[K])),Array.isArray(K)&&K.length===1&&(K=K[0]);const ae=N||{},{colSpan:ie,rowSpan:J,style:ue,class:G}=ae,pe=XSe(ae,["colSpan","rowSpan","style","class"]),k=(v=ie!==void 0?ie:a.value)!==null&&v!==void 0?v:1,P=(y=J!==void 0?J:s.value)!==null&&y!==void 0?y:1;if(k===0||P===0)return null;const U={},W=typeof F=="number"&&l.value,de=typeof L=="number"&&l.value;W&&(U.position="sticky",U.left=`${F}px`),de&&(U.position="sticky",U.right=`${L}px`);const me={};ne&&(me.textAlign=ne);let ve;const be=te===!0?{showTitle:!0}:te;be&&(be.showTitle||_==="header")&&(typeof K=="string"||typeof K=="number"?ve=K.toString():Io(K)&&(ve=f([K])));const Te=V(V(V({title:ve},pe),q),{colSpan:k!==1?k:null,rowSpan:P!==1?P:null,class:Ze(ce,{[`${ce}-fix-left`]:W&&l.value,[`${ce}-fix-left-first`]:E&&l.value,[`${ce}-fix-left-last`]:H&&l.value,[`${ce}-fix-right`]:de&&l.value,[`${ce}-fix-right-first`]:X&&l.value,[`${ce}-fix-right-last`]:z&&l.value,[`${ce}-ellipsis`]:te,[`${ce}-with-append`]:Z,[`${ce}-fix-sticky`]:(W||de)&&Y&&l.value},q.class,G),onMouseenter:we=>{c(we,P)},onMouseleave:d,style:[q.style,me,U,ue]});return $(R,ye(ye({},Te),{},{ref:g}),{default:()=>[Z,K,(b=n.dragHandle)===null||b===void 0?void 0:b.call(n)]})}}});function IT(e,t,n,r,i){const o=n[e]||{},A=n[t]||{};let a,s;o.fixed==="left"?a=r.left[e]:A.fixed==="right"&&(s=r.right[t]);let u=!1,l=!1,c=!1,d=!1;const f=n[t+1],g=n[e-1];return i==="rtl"?a!==void 0?d=!(g&&g.fixed==="left"):s!==void 0&&(c=!(f&&f.fixed==="right")):a!==void 0?u=!(f&&f.fixed==="left"):s!==void 0&&(l=!(g&&g.fixed==="right")),{fixLeft:a,fixRight:s,lastFixLeft:u,firstFixRight:l,lastFixRight:c,firstFixLeft:d,isSticky:r.isSticky}}const vR={mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"},touch:{start:"touchstart",move:"touchmove",stop:"touchend"}},yR=50,ZSe=Je({compatConfig:{MODE:3},name:"DragHandle",props:{prefixCls:String,width:{type:Number,required:!0},minWidth:{type:Number,default:yR},maxWidth:{type:Number,default:1/0},column:{type:Object,default:void 0}},setup(e){let t=0,n={remove:()=>{}},r={remove:()=>{}};const i=()=>{n.remove(),r.remove()};za(()=>{i()}),ln(()=>{Xr(!isNaN(e.width),"Table","width must be a number when use resizable")});const{onResizeColumn:o}=VSe(),A=fe(()=>typeof e.minWidth=="number"&&!isNaN(e.minWidth)?e.minWidth:yR),a=fe(()=>typeof e.maxWidth=="number"&&!isNaN(e.maxWidth)?e.maxWidth:1/0),s=tA();let u=0;const l=Me(!1);let c;const d=y=>{let b=0;y.touches?y.touches.length?b=y.touches[0].pageX:b=y.changedTouches[0].pageX:b=y.pageX;const w=t-b;let C=Math.max(u-w,A.value);C=Math.min(C,a.value),hn.cancel(c),c=hn(()=>{o(C,e.column.__originColumn__)})},f=y=>{d(y)},g=y=>{l.value=!1,d(y),i()},h=(y,b)=>{l.value=!0,i(),u=s.vnode.el.parentNode.getBoundingClientRect().width,!(y instanceof MouseEvent&&y.which!==1)&&(y.stopPropagation&&y.stopPropagation(),t=y.touches?y.touches[0].pageX:y.pageX,n=Aa(document.documentElement,b.move,f),r=Aa(document.documentElement,b.stop,g))},m=y=>{y.stopPropagation(),y.preventDefault(),h(y,vR.mouse)},p=y=>{y.stopPropagation(),y.preventDefault(),h(y,vR.touch)},v=y=>{y.stopPropagation(),y.preventDefault()};return()=>{const{prefixCls:y}=e,b={[qo?"onTouchstartPassive":"onTouchstart"]:w=>p(w)};return $("div",ye(ye({class:`${y}-resize-handle ${l.value?"dragging":""}`,onMousedown:m},b),{},{onClick:v}),[$("div",{class:`${y}-resize-handle-line`},null)])}}}),eEe=Je({name:"HeaderRow",props:["cells","stickyOffsets","flattenColumns","rowComponent","cellComponent","index","customHeaderRow"],setup(e){const t=Nl();return()=>{const{prefixCls:n,direction:r}=t,{cells:i,stickyOffsets:o,flattenColumns:A,rowComponent:a,cellComponent:s,customHeaderRow:u,index:l}=e;let c;u&&(c=u(i.map(f=>f.column),l));const d=oC(i.map(f=>f.column));return $(a,c,{default:()=>[i.map((f,g)=>{const{column:h}=f,m=IT(f.colStart,f.colEnd,A,o,r);let p;h&&h.customHeaderCell&&(p=f.column.customHeaderCell(h));const v=h;return $(AC,ye(ye(ye({},f),{},{cellType:"header",ellipsis:h.ellipsis,align:h.align,component:s,prefixCls:n,key:d[g]},m),{},{additionalProps:p,rowType:"header",column:h}),{default:()=>h.title,dragHandle:()=>v.resizable?$(ZSe,{prefixCls:n,width:v.width,minWidth:v.minWidth,maxWidth:v.maxWidth,column:v},null):null})})]})}}});function tEe(e){const t=[];function n(i,o){let A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[A]=t[A]||[];let a=o;return i.filter(Boolean).map(u=>{const l={key:u.key,class:Ze(u.className,u.class),column:u,colStart:a};let c=1;const d=u.children;return d&&d.length>0&&(c=n(d,a,A+1).reduce((f,g)=>f+g,0),l.hasSubColumns=!0),"colSpan"in u&&({colSpan:c}=u),"rowSpan"in u&&(l.rowSpan=u.rowSpan),l.colSpan=c,l.colEnd=l.colStart+c-1,t[A].push(l),a+=c,c})}n(e,0);const r=t.length;for(let i=0;i<r;i+=1)t[i].forEach(o=>{!("rowSpan"in o)&&!o.hasSubColumns&&(o.rowSpan=r-i)});return t}const bR=Je({name:"TableHeader",inheritAttrs:!1,props:["columns","flattenColumns","stickyOffsets","customHeaderRow"],setup(e){const t=Nl(),n=fe(()=>tEe(e.columns));return()=>{const{prefixCls:r,getComponent:i}=t,{stickyOffsets:o,flattenColumns:A,customHeaderRow:a}=e,s=i(["header","wrapper"],"thead"),u=i(["header","row"],"tr"),l=i(["header","cell"],"th");return $(s,{class:`${r}-thead`},{default:()=>[n.value.map((c,d)=>$(eEe,{key:d,flattenColumns:A,cells:c,stickyOffsets:o,rowComponent:u,cellComponent:l,customHeaderRow:a,index:d},null))]})}}}),PX=Symbol("ExpandedRowProps"),nEe=e=>{dn(PX,e)},rEe=()=>tn(PX,{}),LX=Je({name:"ExpandedRow",inheritAttrs:!1,props:["prefixCls","component","cellComponent","expanded","colSpan","isEmpty"],setup(e,t){let{slots:n,attrs:r}=t;const i=Nl(),o=rEe(),{fixHeader:A,fixColumn:a,componentWidth:s,horizonScroll:u}=o;return()=>{const{prefixCls:l,component:c,cellComponent:d,expanded:f,colSpan:g,isEmpty:h}=e;return $(c,{class:r.class,style:{display:f?null:"none"}},{default:()=>[$(AC,{component:d,prefixCls:l,colSpan:g},{default:()=>{var m;let p=(m=n.default)===null||m===void 0?void 0:m.call(n);return(h?u.value:a.value)&&(p=$("div",{style:{width:`${s.value-(A.value?i.scrollbarSize:0)}px`,position:"sticky",left:0,overflow:"hidden"},class:`${l}-expanded-row-fixed`},[p])),p}})]})}}}),iEe=Je({name:"MeasureCell",props:["columnKey"],setup(e,t){let{emit:n}=t;const r=qe();return vn(()=>{r.value&&n("columnResize",e.columnKey,r.value.offsetWidth)}),()=>$(ku,{onResize:i=>{let{offsetWidth:o}=i;n("columnResize",e.columnKey,o)}},{default:()=>[$("td",{ref:r,style:{padding:0,border:0,height:0}},[$("div",{style:{height:0,overflow:"hidden"}},[Hu(" ")])])]})}}),DX=Symbol("BodyContextProps"),oEe=e=>{dn(DX,e)},RX=()=>tn(DX,{}),AEe=Je({name:"BodyRow",inheritAttrs:!1,props:["record","index","renderIndex","recordKey","expandedKeys","rowComponent","cellComponent","customRow","rowExpandable","indent","rowKey","getRowKey","childrenColumnName"],setup(e,t){let{attrs:n}=t;const r=Nl(),i=RX(),o=Me(!1),A=fe(()=>e.expandedKeys&&e.expandedKeys.has(e.recordKey));ln(()=>{A.value&&(o.value=!0)});const a=fe(()=>i.expandableType==="row"&&(!e.rowExpandable||e.rowExpandable(e.record))),s=fe(()=>i.expandableType==="nest"),u=fe(()=>e.childrenColumnName&&e.record&&e.record[e.childrenColumnName]),l=fe(()=>a.value||s.value),c=(m,p)=>{i.onTriggerExpand(m,p)},d=fe(()=>{var m;return((m=e.customRow)===null||m===void 0?void 0:m.call(e,e.record,e.index))||{}}),f=function(m){var p,v;i.expandRowByClick&&l.value&&c(e.record,m);for(var y=arguments.length,b=new Array(y>1?y-1:0),w=1;w<y;w++)b[w-1]=arguments[w];(v=(p=d.value)===null||p===void 0?void 0:p.onClick)===null||v===void 0||v.call(p,m,...b)},g=fe(()=>{const{record:m,index:p,indent:v}=e,{rowClassName:y}=i;return typeof y=="string"?y:typeof y=="function"?y(m,p,v):""}),h=fe(()=>oC(i.flattenColumns));return()=>{const{class:m,style:p}=n,{record:v,index:y,rowKey:b,indent:w=0,rowComponent:C,cellComponent:B}=e,{prefixCls:O,fixedInfoList:x,transformCellText:M}=r,{flattenColumns:R,expandedRowClassName:F,indentSize:L,expandIcon:E,expandedRowRender:H,expandIconColumnIndex:X}=i,z=$(C,ye(ye({},d.value),{},{"data-row-key":b,class:Ze(m,`${O}-row`,`${O}-row-level-${w}`,g.value,d.value.class),style:[p,d.value.style],onClick:f}),{default:()=>[R.map((q,te)=>{const{customRender:ne,dataIndex:_,className:Y}=q,re=h[te],se=x[te];let ce;q.customCell&&(ce=q.customCell(v,y,q));const N=te===(X||0)&&s.value?$(mn,null,[$("span",{style:{paddingLeft:`${L*w}px`},class:`${O}-row-indent indent-level-${w}`},null),E({prefixCls:O,expanded:A.value,expandable:u.value,record:v,onExpand:c})]):null;return $(AC,ye(ye({cellType:"body",class:Y,ellipsis:q.ellipsis,align:q.align,component:B,prefixCls:O,key:re,record:v,index:y,renderIndex:e.renderIndex,dataIndex:_,customRender:ne},se),{},{additionalProps:ce,column:q,transformCellText:M,appendNode:N}),null)})]});let Z;if(a.value&&(o.value||A.value)){const q=H({record:v,index:y,indent:w+1,expanded:A.value}),te=F&&F(v,y,w);Z=$(LX,{expanded:A.value,class:Ze(`${O}-expanded-row`,`${O}-expanded-row-level-${w+1}`,te),prefixCls:O,component:C,cellComponent:B,colSpan:R.length,isEmpty:!1},{default:()=>[q]})}return $(mn,null,[z,Z])}}});function $X(e,t,n,r,i,o){const A=[];A.push({record:e,indent:t,index:o});const a=i(e),s=r==null?void 0:r.has(a);if(e&&Array.isArray(e[n])&&s)for(let u=0;u<e[n].length;u+=1){const l=$X(e[n][u],t+1,n,r,i,u);A.push(...l)}return A}function aEe(e,t,n,r){return fe(()=>{const o=t.value,A=n.value,a=e.value;if(A!=null&&A.size){const s=[];for(let u=0;u<(a==null?void 0:a.length);u+=1){const l=a[u];s.push(...$X(l,0,o,A,r.value,u))}return s}return a==null?void 0:a.map((s,u)=>({record:s,indent:0,index:u}))})}const NX=Symbol("ResizeContextProps"),sEe=e=>{dn(NX,e)},lEe=()=>tn(NX,{onColumnResize:()=>{}}),uEe=Je({name:"TableBody",props:["data","getRowKey","measureColumnWidth","expandedKeys","customRow","rowExpandable","childrenColumnName"],setup(e,t){let{slots:n}=t;const r=lEe(),i=Nl(),o=RX(),A=aEe(fn(e,"data"),fn(e,"childrenColumnName"),fn(e,"expandedKeys"),fn(e,"getRowKey")),a=Me(-1),s=Me(-1);let u;return zSe({startRow:a,endRow:s,onHover:(l,c)=>{clearTimeout(u),u=setTimeout(()=>{a.value=l,s.value=c},100)}}),()=>{var l;const{data:c,getRowKey:d,measureColumnWidth:f,expandedKeys:g,customRow:h,rowExpandable:m,childrenColumnName:p}=e,{onColumnResize:v}=r,{prefixCls:y,getComponent:b}=i,{flattenColumns:w}=o,C=b(["body","wrapper"],"tbody"),B=b(["body","row"],"tr"),O=b(["body","cell"],"td");let x;c.length?x=A.value.map((R,F)=>{const{record:L,indent:E,index:H}=R,X=d(L,F);return $(AEe,{key:X,rowKey:X,record:L,recordKey:X,index:F,renderIndex:H,rowComponent:B,cellComponent:O,expandedKeys:g,customRow:h,getRowKey:d,rowExpandable:m,childrenColumnName:p,indent:E},null)}):x=$(LX,{expanded:!0,class:`${y}-placeholder`,prefixCls:y,component:B,cellComponent:O,colSpan:w.length,isEmpty:!0},{default:()=>[(l=n.emptyNode)===null||l===void 0?void 0:l.call(n)]});const M=oC(w);return $(C,{class:`${y}-tbody`},{default:()=>[f&&$("tr",{"aria-hidden":"true",class:`${y}-measure-row`,style:{height:0,fontSize:0}},[M.map(R=>$(iEe,{key:R,columnKey:R,onColumnResize:v},null))]),x]})}}}),Mc={};var cEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function LI(e){return e.reduce((t,n)=>{const{fixed:r}=n,i=r===!0?"left":r,o=n.children;return o&&o.length>0?[...t,...LI(o).map(A=>V({fixed:i},A))]:[...t,V(V({},n),{fixed:i})]},[])}function fEe(e){return e.map(t=>{const{fixed:n}=t,r=cEe(t,["fixed"]);let i=n;return n==="left"?i="right":n==="right"&&(i="left"),V({fixed:i},r)})}function dEe(e,t){let{prefixCls:n,columns:r,expandable:i,expandedKeys:o,getRowKey:A,onTriggerExpand:a,expandIcon:s,rowExpandable:u,expandIconColumnIndex:l,direction:c,expandRowByClick:d,expandColumnWidth:f,expandFixed:g}=e;const h=FT(),m=fe(()=>{if(i.value){let y=r.value.slice();if(!y.includes(Mc)){const L=l.value||0;L>=0&&y.splice(L,0,Mc)}const b=y.indexOf(Mc);y=y.filter((L,E)=>L!==Mc||E===b);const w=r.value[b];let C;(g.value==="left"||g.value)&&!l.value?C="left":(g.value==="right"||g.value)&&l.value===r.value.length?C="right":C=w?w.fixed:null;const B=o.value,O=u.value,x=s.value,M=n.value,R=d.value,F={[Zp]:{class:`${n.value}-expand-icon-col`,columnType:"EXPAND_COLUMN"},title:Y6(h.value,"expandColumnTitle",{},()=>[""]),fixed:C,class:`${n.value}-row-expand-icon-cell`,width:f.value,customRender:L=>{let{record:E,index:H}=L;const X=A.value(E,H),z=B.has(X),Z=O?O(E):!0,q=x({prefixCls:M,expanded:z,expandable:Z,record:E,onExpand:a});return R?$("span",{onClick:te=>te.stopPropagation()},[q]):q}};return y.map(L=>L===Mc?F:L)}return r.value.filter(y=>y!==Mc)}),p=fe(()=>{let y=m.value;return t.value&&(y=t.value(y)),y.length||(y=[{customRender:()=>null}]),y}),v=fe(()=>c.value==="rtl"?fEe(LI(p.value)):LI(p.value));return[p,v]}function HX(e){const t=Me(e);let n;const r=Me([]);function i(o){r.value.push(o),hn.cancel(n),n=hn(()=>{const A=r.value;r.value=[],A.forEach(a=>{t.value=a(t.value)})})}return En(()=>{hn.cancel(n)}),[t,i]}function hEe(e){const t=qe(null),n=qe();function r(){clearTimeout(n.value)}function i(A){t.value=A,r(),n.value=setTimeout(()=>{t.value=null,n.value=void 0},100)}function o(){return t.value}return En(()=>{r()}),[i,o]}function pEe(e,t,n){return fe(()=>{const i=[],o=[];let A=0,a=0;const s=e.value,u=t.value,l=n.value;for(let c=0;c<u;c+=1)if(l==="rtl"){o[c]=a,a+=s[c]||0;const d=u-c-1;i[d]=A,A+=s[d]||0}else{i[c]=A,A+=s[c]||0;const d=u-c-1;o[d]=a,a+=s[d]||0}return{left:i,right:o}})}var gEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function MX(e){let{colWidths:t,columns:n,columCount:r}=e;const i=[],o=r||n.length;let A=!1;for(let a=o-1;a>=0;a-=1){const s=t[a],u=n&&n[a],l=u&&u[Zp];if(s||l||A){const c=l||{},d=gEe(c,["columnType"]);i.unshift($("col",ye({key:a,style:{width:typeof s=="number"?`${s}px`:s}},d),null)),A=!0}}return $("colgroup",null,[i])}function DI(e,t){let{slots:n}=t;var r;return $("div",null,[(r=n.default)===null||r===void 0?void 0:r.call(n)])}DI.displayName="Panel";let mEe=0;const vEe=Je({name:"TableSummary",props:["fixed"],setup(e,t){let{slots:n}=t;const r=Nl(),i=`table-summary-uni-key-${++mEe}`,o=fe(()=>e.fixed===""||e.fixed);return ln(()=>{r.summaryCollect(i,o.value)}),En(()=>{r.summaryCollect(i,!1)}),()=>{var A;return(A=n.default)===null||A===void 0?void 0:A.call(n)}}}),yEe=Je({compatConfig:{MODE:3},name:"ATableSummaryRow",setup(e,t){let{slots:n}=t;return()=>{var r;return $("tr",null,[(r=n.default)===null||r===void 0?void 0:r.call(n)])}}}),kX=Symbol("SummaryContextProps"),bEe=e=>{dn(kX,e)},wEe=()=>tn(kX,{}),BEe=Je({name:"ATableSummaryCell",props:["index","colSpan","rowSpan","align"],setup(e,t){let{attrs:n,slots:r}=t;const i=Nl(),o=wEe();return()=>{const{index:A,colSpan:a=1,rowSpan:s,align:u}=e,{prefixCls:l,direction:c}=i,{scrollColumnIndex:d,stickyOffsets:f,flattenColumns:g}=o,m=A+a-1+1===d?a+1:a,p=IT(A,A+m-1,g,f,c);return $(AC,ye({class:n.class,index:A,component:"td",prefixCls:l,record:null,dataIndex:null,align:u,colSpan:m,rowSpan:s,customRender:()=>{var v;return(v=r.default)===null||v===void 0?void 0:v.call(r)}},p),null)}}}),uy=Je({name:"TableFooter",inheritAttrs:!1,props:["stickyOffsets","flattenColumns"],setup(e,t){let{slots:n}=t;const r=Nl();return bEe(Ir({stickyOffsets:fn(e,"stickyOffsets"),flattenColumns:fn(e,"flattenColumns"),scrollColumnIndex:fe(()=>{const i=e.flattenColumns.length-1,o=e.flattenColumns[i];return o!=null&&o.scrollbar?i:null})})),()=>{var i;const{prefixCls:o}=r;return $("tfoot",{class:`${o}-summary`},[(i=n.default)===null||i===void 0?void 0:i.call(n)])}}}),CEe=vEe;function xEe(e){let{prefixCls:t,record:n,onExpand:r,expanded:i,expandable:o}=e;const A=`${t}-row-expand-icon`;if(!o)return $("span",{class:[A,`${t}-row-spaced`]},null);const a=s=>{r(n,s),s.stopPropagation()};return $("span",{class:{[A]:!0,[`${t}-row-expanded`]:i,[`${t}-row-collapsed`]:!i},onClick:a},null)}function SEe(e,t,n){const r=[];function i(o){(o||[]).forEach((A,a)=>{r.push(t(A,a)),i(A[n])})}return i(e),r}const EEe=Je({name:"StickyScrollBar",inheritAttrs:!1,props:["offsetScroll","container","scrollBodyRef","scrollBodySizeInfo"],emits:["scroll"],setup(e,t){let{emit:n,expose:r}=t;const i=Nl(),o=Me(0),A=Me(0),a=Me(0);ln(()=>{o.value=e.scrollBodySizeInfo.scrollWidth||0,A.value=e.scrollBodySizeInfo.clientWidth||0,a.value=o.value&&A.value*(A.value/o.value)},{flush:"post"});const s=Me(),[u,l]=HX({scrollLeft:0,isHiddenScrollBar:!0}),c=qe({delta:0,x:0}),d=Me(!1),f=()=>{d.value=!1},g=B=>{c.value={delta:B.pageX-u.value.scrollLeft,x:0},d.value=!0,B.preventDefault()},h=B=>{const{buttons:O}=B||(window==null?void 0:window.event);if(!d.value||O===0){d.value&&(d.value=!1);return}let x=c.value.x+B.pageX-c.value.x-c.value.delta;x<=0&&(x=0),x+a.value>=A.value&&(x=A.value-a.value),n("scroll",{scrollLeft:x/A.value*(o.value+2)}),c.value.x=B.pageX},m=()=>{if(!e.scrollBodyRef.value)return;const B=HP(e.scrollBodyRef.value).top,O=B+e.scrollBodyRef.value.offsetHeight,x=e.container===window?document.documentElement.scrollTop+window.innerHeight:HP(e.container).top+e.container.clientHeight;O-mw()<=x||B>=x-e.offsetScroll?l(M=>V(V({},M),{isHiddenScrollBar:!0})):l(M=>V(V({},M),{isHiddenScrollBar:!1}))};r({setScrollLeft:B=>{l(O=>V(V({},O),{scrollLeft:B/o.value*A.value||0}))}});let v=null,y=null,b=null,w=null;vn(()=>{v=Aa(document.body,"mouseup",f,!1),y=Aa(document.body,"mousemove",h,!1),b=Aa(window,"resize",m,!1)}),RK(()=>{$n(()=>{m()})}),vn(()=>{setTimeout(()=>{st([a,d],()=>{m()},{immediate:!0,flush:"post"})})}),st(()=>e.container,()=>{w==null||w.remove(),w=Aa(e.container,"scroll",m,!1)},{immediate:!0,flush:"post"}),En(()=>{v==null||v.remove(),y==null||y.remove(),w==null||w.remove(),b==null||b.remove()}),st(()=>V({},u.value),(B,O)=>{B.isHiddenScrollBar!==(O==null?void 0:O.isHiddenScrollBar)&&!B.isHiddenScrollBar&&l(x=>{const M=e.scrollBodyRef.value;return M?V(V({},x),{scrollLeft:M.scrollLeft/M.scrollWidth*M.clientWidth}):x})},{immediate:!0});const C=mw();return()=>{if(o.value<=A.value||!a.value||u.value.isHiddenScrollBar)return null;const{prefixCls:B}=i;return $("div",{style:{height:`${C}px`,width:`${A.value}px`,bottom:`${e.offsetScroll}px`},class:`${B}-sticky-scroll`},[$("div",{onMousedown:g,ref:s,class:Ze(`${B}-sticky-scroll-bar`,{[`${B}-sticky-scroll-bar-active`]:d.value}),style:{width:`${a.value}px`,transform:`translate3d(${u.value.scrollLeft}px, 0, 0)`}},null)])}}}),wR=$A()?window:null;function FEe(e,t){return fe(()=>{const{offsetHeader:n=0,offsetSummary:r=0,offsetScroll:i=0,getContainer:o=()=>wR}=typeof e.value=="object"?e.value:{},A=o()||wR,a=!!e.value;return{isSticky:a,stickyClassName:a?`${t.value}-sticky-holder`:"",offsetHeader:n,offsetSummary:r,offsetScroll:i,container:A}})}function IEe(e,t){return fe(()=>{const n=[],r=e.value,i=t.value;for(let o=0;o<i;o+=1){const A=r[o];if(A!==void 0)n[o]=A;else return null}return n})}const BR=Je({name:"FixedHolder",inheritAttrs:!1,props:["columns","flattenColumns","stickyOffsets","customHeaderRow","noData","maxContentScroll","colWidths","columCount","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName"],emits:["scroll"],setup(e,t){let{attrs:n,slots:r,emit:i}=t;const o=Nl(),A=fe(()=>o.isSticky&&!e.fixHeader?0:o.scrollbarSize),a=qe(),s=h=>{const{currentTarget:m,deltaX:p}=h;p&&(i("scroll",{currentTarget:m,scrollLeft:m.scrollLeft+p}),h.preventDefault())},u=qe();vn(()=>{$n(()=>{u.value=Aa(a.value,"wheel",s)})}),En(()=>{var h;(h=u.value)===null||h===void 0||h.remove()});const l=fe(()=>e.flattenColumns.every(h=>h.width&&h.width!==0&&h.width!=="0px")),c=qe([]),d=qe([]);ln(()=>{const h=e.flattenColumns[e.flattenColumns.length-1],m={fixed:h?h.fixed:null,scrollbar:!0,customHeaderCell:()=>({class:`${o.prefixCls}-cell-scrollbar`})};c.value=A.value?[...e.columns,m]:e.columns,d.value=A.value?[...e.flattenColumns,m]:e.flattenColumns});const f=fe(()=>{const{stickyOffsets:h,direction:m}=e,{right:p,left:v}=h;return V(V({},h),{left:m==="rtl"?[...v.map(y=>y+A.value),0]:v,right:m==="rtl"?p:[...p.map(y=>y+A.value),0],isSticky:o.isSticky})}),g=IEe(fn(e,"colWidths"),fn(e,"columCount"));return()=>{var h;const{noData:m,columCount:p,stickyTopOffset:v,stickyBottomOffset:y,stickyClassName:b,maxContentScroll:w}=e,{isSticky:C}=o;return $("div",{style:V({overflow:"hidden"},C?{top:`${v}px`,bottom:`${y}px`}:{}),ref:a,class:Ze(n.class,{[b]:!!b})},[$("table",{style:{tableLayout:"fixed",visibility:m||g.value?null:"hidden"}},[(!m||!w||l.value)&&$(MX,{colWidths:g.value?[...g.value,A.value]:[],columCount:p+1,columns:d.value},null),(h=r.default)===null||h===void 0?void 0:h.call(r,V(V({},e),{stickyOffsets:f.value,columns:c.value,flattenColumns:d.value}))])])}}});function CR(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Ir(a0e(n.map(i=>[i,fn(e,i)])))}const _Ee=[],OEe={},RI="rc-table-internal-hook",TEe=Je({name:"VcTable",inheritAttrs:!1,props:["prefixCls","data","columns","rowKey","tableLayout","scroll","rowClassName","title","footer","id","showHeader","components","customRow","customHeaderRow","direction","expandFixed","expandColumnWidth","expandedRowKeys","defaultExpandedRowKeys","expandedRowRender","expandRowByClick","expandIcon","onExpand","onExpandedRowsChange","onUpdate:expandedRowKeys","defaultExpandAllRows","indentSize","expandIconColumnIndex","expandedRowClassName","childrenColumnName","rowExpandable","sticky","transformColumns","internalHooks","internalRefs","canExpandable","onUpdateInternalRefs","transformCellText"],emits:["expand","expandedRowsChange","updateInternalRefs","update:expandedRowKeys"],setup(e,t){let{attrs:n,slots:r,emit:i}=t;const o=fe(()=>e.data||_Ee),A=fe(()=>!!o.value.length),a=fe(()=>kSe(e.components,{})),s=(xe,Ue)=>OX(a.value,xe)||Ue,u=fe(()=>{const xe=e.rowKey;return typeof xe=="function"?xe:Ue=>Ue&&Ue[xe]}),l=fe(()=>e.expandIcon||xEe),c=fe(()=>e.childrenColumnName||"children"),d=fe(()=>e.expandedRowRender?"row":e.canExpandable||o.value.some(xe=>xe&&typeof xe=="object"&&xe[c.value])?"nest":!1),f=Me([]);ln(()=>{e.defaultExpandedRowKeys&&(f.value=e.defaultExpandedRowKeys),e.defaultExpandAllRows&&(f.value=SEe(o.value,u.value,c.value))})();const h=fe(()=>new Set(e.expandedRowKeys||f.value||[])),m=xe=>{const Ue=u.value(xe,o.value.indexOf(xe));let ke;const et=h.value.has(Ue);et?(h.value.delete(Ue),ke=[...h.value]):ke=[...h.value,Ue],f.value=ke,i("expand",!et,xe),i("update:expandedRowKeys",ke),i("expandedRowsChange",ke)},p=qe(0),[v,y]=dEe(V(V({},tb(e)),{expandable:fe(()=>!!e.expandedRowRender),expandedKeys:h,getRowKey:u,onTriggerExpand:m,expandIcon:l}),fe(()=>e.internalHooks===RI?e.transformColumns:null)),b=fe(()=>({columns:v.value,flattenColumns:y.value})),w=qe(),C=qe(),B=qe(),O=qe({scrollWidth:0,clientWidth:0}),x=qe(),[M,R]=ir(!1),[F,L]=ir(!1),[E,H]=HX(new Map),X=fe(()=>oC(y.value)),z=fe(()=>X.value.map(xe=>E.value.get(xe))),Z=fe(()=>y.value.length),q=pEe(z,Z,fn(e,"direction")),te=fe(()=>e.scroll&&QI(e.scroll.y)),ne=fe(()=>e.scroll&&QI(e.scroll.x)||!!e.expandFixed),_=fe(()=>ne.value&&y.value.some(xe=>{let{fixed:Ue}=xe;return Ue})),Y=qe(),re=FEe(fn(e,"sticky"),fn(e,"prefixCls")),se=Ir({}),ce=fe(()=>{const xe=Object.values(se)[0];return(te.value||re.value.isSticky)&&xe}),N=(xe,Ue)=>{Ue?se[xe]=Ue:delete se[xe]},K=qe({}),Ae=qe({}),ae=qe({});ln(()=>{te.value&&(Ae.value={overflowY:"scroll",maxHeight:vd(e.scroll.y)}),ne.value&&(K.value={overflowX:"auto"},te.value||(Ae.value={overflowY:"hidden"}),ae.value={width:e.scroll.x===!0?"auto":vd(e.scroll.x),minWidth:"100%"})});const ie=(xe,Ue)=>{xB(w.value)&&H(ke=>{if(ke.get(xe)!==Ue){const et=new Map(ke);return et.set(xe,Ue),et}return ke})},[J,ue]=hEe();function G(xe,Ue){if(!Ue)return;if(typeof Ue=="function"){Ue(xe);return}const ke=Ue.$el||Ue;ke.scrollLeft!==xe&&(ke.scrollLeft=xe)}const pe=xe=>{let{currentTarget:Ue,scrollLeft:ke}=xe;var et;const De=e.direction==="rtl",_e=typeof ke=="number"?ke:Ue.scrollLeft,Re=Ue||OEe;if((!ue()||ue()===Re)&&(J(Re),G(_e,C.value),G(_e,B.value),G(_e,x.value),G(_e,(et=Y.value)===null||et===void 0?void 0:et.setScrollLeft)),Ue){const{scrollWidth:Ne,clientWidth:ot}=Ue;De?(R(-_e<Ne-ot),L(-_e>0)):(R(_e>0),L(_e<Ne-ot))}},k=()=>{ne.value&&B.value?pe({currentTarget:B.value}):(R(!1),L(!1))};let P;const U=xe=>{xe!==p.value&&(k(),p.value=w.value?w.value.offsetWidth:xe)},W=xe=>{let{width:Ue}=xe;if(clearTimeout(P),p.value===0){U(Ue);return}P=setTimeout(()=>{U(Ue)},100)};st([ne,()=>e.data,()=>e.columns],()=>{ne.value&&k()},{flush:"post"});const[de,me]=ir(0);WSe(),vn(()=>{$n(()=>{var xe,Ue;k(),me(sfe(B.value).width),O.value={scrollWidth:((xe=B.value)===null||xe===void 0?void 0:xe.scrollWidth)||0,clientWidth:((Ue=B.value)===null||Ue===void 0?void 0:Ue.clientWidth)||0}})}),Va(()=>{$n(()=>{var xe,Ue;const ke=((xe=B.value)===null||xe===void 0?void 0:xe.scrollWidth)||0,et=((Ue=B.value)===null||Ue===void 0?void 0:Ue.clientWidth)||0;(O.value.scrollWidth!==ke||O.value.clientWidth!==et)&&(O.value={scrollWidth:ke,clientWidth:et})})}),ln(()=>{e.internalHooks===RI&&e.internalRefs&&e.onUpdateInternalRefs({body:B.value?B.value.$el||B.value:null})},{flush:"post"});const ve=fe(()=>e.tableLayout?e.tableLayout:_.value?e.scroll.x==="max-content"?"auto":"fixed":te.value||re.value.isSticky||y.value.some(xe=>{let{ellipsis:Ue}=xe;return Ue})?"fixed":"auto"),be=()=>{var xe;return A.value?null:((xe=r.emptyText)===null||xe===void 0?void 0:xe.call(r))||"No Data"};HSe(Ir(V(V({},tb(CR(e,"prefixCls","direction","transformCellText"))),{getComponent:s,scrollbarSize:de,fixedInfoList:fe(()=>y.value.map((xe,Ue)=>IT(Ue,Ue,y.value,q.value,e.direction))),isSticky:fe(()=>re.value.isSticky),summaryCollect:N}))),oEe(Ir(V(V({},tb(CR(e,"rowClassName","expandedRowClassName","expandRowByClick","expandedRowRender","expandIconColumnIndex","indentSize"))),{columns:v,flattenColumns:y,tableLayout:ve,expandIcon:l,expandableType:d,onTriggerExpand:m}))),sEe({onColumnResize:ie}),nEe({componentWidth:p,fixHeader:te,fixColumn:_,horizonScroll:ne});const Te=()=>$(uEe,{data:o.value,measureColumnWidth:te.value||ne.value||re.value.isSticky,expandedKeys:h.value,rowExpandable:e.rowExpandable,getRowKey:u.value,customRow:e.customRow,childrenColumnName:c.value},{emptyNode:be}),we=()=>$(MX,{colWidths:y.value.map(xe=>{let{width:Ue}=xe;return Ue}),columns:y.value},null);return()=>{var xe;const{prefixCls:Ue,scroll:ke,tableLayout:et,direction:De,title:_e=r.title,footer:Re=r.footer,id:Ne,showHeader:ot,customHeaderRow:rt}=e,{isSticky:nt,offsetHeader:Bt,offsetSummary:Et,offsetScroll:Xt,stickyClassName:Ut,container:$t}=re.value,xt=s(["table"],"table"),Ct=s(["body"]),ht=(xe=r.summary)===null||xe===void 0?void 0:xe.call(r,{pageData:o.value});let Tt=()=>null;const Yt={colWidths:z.value,columCount:y.value.length,stickyOffsets:q.value,customHeaderRow:rt,fixHeader:te.value,scroll:ke};if(te.value||nt){let ur=()=>null;typeof Ct=="function"?(ur=()=>Ct(o.value,{scrollbarSize:de.value,ref:B,onScroll:pe}),Yt.colWidths=y.value.map((vr,Yr)=>{let{width:mt}=vr;const vt=Yr===v.value.length-1?mt-de.value:mt;return typeof vt=="number"&&!Number.isNaN(vt)?vt:0})):ur=()=>$("div",{style:V(V({},K.value),Ae.value),onScroll:pe,ref:B,class:Ze(`${Ue}-body`)},[$(xt,{style:V(V({},ae.value),{tableLayout:ve.value})},{default:()=>[we(),Te(),!ce.value&&ht&&$(uy,{stickyOffsets:q.value,flattenColumns:y.value},{default:()=>[ht]})]})]);const Mt=V(V(V({noData:!o.value.length,maxContentScroll:ne.value&&ke.x==="max-content"},Yt),b.value),{direction:De,stickyClassName:Ut,onScroll:pe});Tt=()=>$(mn,null,[ot!==!1&&$(BR,ye(ye({},Mt),{},{stickyTopOffset:Bt,class:`${Ue}-header`,ref:C}),{default:vr=>$(mn,null,[$(bR,vr,null),ce.value==="top"&&$(uy,vr,{default:()=>[ht]})])}),ur(),ce.value&&ce.value!=="top"&&$(BR,ye(ye({},Mt),{},{stickyBottomOffset:Et,class:`${Ue}-summary`,ref:x}),{default:vr=>$(uy,vr,{default:()=>[ht]})}),nt&&B.value&&$(EEe,{ref:Y,offsetScroll:Xt,scrollBodyRef:B,onScroll:pe,container:$t,scrollBodySizeInfo:O.value},null)])}else Tt=()=>$("div",{style:V(V({},K.value),Ae.value),class:Ze(`${Ue}-content`),onScroll:pe,ref:B},[$(xt,{style:V(V({},ae.value),{tableLayout:ve.value})},{default:()=>[we(),ot!==!1&&$(bR,ye(ye({},Yt),b.value),null),Te(),ht&&$(uy,{stickyOffsets:q.value,flattenColumns:y.value},{default:()=>[ht]})]})]);const nn=xf(n,{aria:!0,data:!0}),zn=()=>$("div",ye(ye({},nn),{},{class:Ze(Ue,{[`${Ue}-rtl`]:De==="rtl",[`${Ue}-ping-left`]:M.value,[`${Ue}-ping-right`]:F.value,[`${Ue}-layout-fixed`]:et==="fixed",[`${Ue}-fixed-header`]:te.value,[`${Ue}-fixed-column`]:_.value,[`${Ue}-scroll-horizontal`]:ne.value,[`${Ue}-has-fix-left`]:y.value[0]&&y.value[0].fixed,[`${Ue}-has-fix-right`]:y.value[Z.value-1]&&y.value[Z.value-1].fixed==="right",[n.class]:n.class}),style:n.style,id:Ne,ref:w}),[_e&&$(DI,{class:`${Ue}-title`},{default:()=>[_e(o.value)]}),$("div",{class:`${Ue}-container`},[Tt()]),Re&&$(DI,{class:`${Ue}-footer`},{default:()=>[Re(o.value)]})]);return ne.value?$(ku,{onResize:W},{default:zn}):zn()}}});function UEe(){const e=V({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t<arguments.length;t++){const n=t<0||arguments.length<=t?void 0:arguments[t];n&&Object.keys(n).forEach(r=>{const i=n[r];i!==void 0&&(e[r]=i)})}return e}const $I=10;function QEe(e,t){const n={current:e.current,pageSize:e.pageSize};return Object.keys(t&&typeof t=="object"?t:{}).forEach(i=>{const o=e[i];typeof o!="function"&&(n[i]=o)}),n}function PEe(e,t,n){const r=fe(()=>t.value&&typeof t.value=="object"?t.value:{}),i=fe(()=>r.value.total||0),[o,A]=ir(()=>({current:"defaultCurrent"in r.value?r.value.defaultCurrent:1,pageSize:"defaultPageSize"in r.value?r.value.defaultPageSize:$I})),a=fe(()=>{const l=UEe(o.value,r.value,{total:i.value>0?i.value:e.value}),c=Math.ceil((i.value||e.value)/l.pageSize);return l.current>c&&(l.current=c||1),l}),s=(l,c)=>{t.value!==!1&&A({current:l??1,pageSize:c||a.value.pageSize})},u=(l,c)=>{var d,f;t.value&&((f=(d=r.value).onChange)===null||f===void 0||f.call(d,l,c)),s(l,c),n(l,c||a.value.pageSize)};return[fe(()=>t.value===!1?{}:V(V({},a.value),{onChange:u})),s]}function LEe(e,t,n){const r=Me({});st([e,t,n],()=>{const o=new Map,A=n.value,a=t.value;function s(u){u.forEach((l,c)=>{const d=A(l,c);o.set(d,l),l&&typeof l=="object"&&a in l&&s(l[a]||[])})}s(e.value),r.value={kvMap:o}},{deep:!0,immediate:!0});function i(o){return r.value.kvMap.get(o)}return[i]}const Fu={},NI="SELECT_ALL",HI="SELECT_INVERT",MI="SELECT_NONE",DEe=[];function jX(e,t){let n=[];return(t||[]).forEach(r=>{n.push(r),r&&typeof r=="object"&&e in r&&(n=[...n,...jX(e,r[e])])}),n}function REe(e,t){const n=fe(()=>{const x=e.value||{},{checkStrictly:M=!0}=x;return V(V({},x),{checkStrictly:M})}),[r,i]=So(n.value.selectedRowKeys||n.value.defaultSelectedRowKeys||DEe,{value:fe(()=>n.value.selectedRowKeys)}),o=Me(new Map),A=x=>{if(n.value.preserveSelectedRowKeys){const M=new Map;x.forEach(R=>{let F=t.getRecordByKey(R);!F&&o.value.has(R)&&(F=o.value.get(R)),M.set(R,F)}),o.value=M}};ln(()=>{A(r.value)});const a=fe(()=>n.value.checkStrictly?null:lT(t.data.value,{externalGetKey:t.getRowKey.value,childrenPropName:t.childrenColumnName.value}).keyEntities),s=fe(()=>jX(t.childrenColumnName.value,t.pageData.value)),u=fe(()=>{const x=new Map,M=t.getRowKey.value,R=n.value.getCheckboxProps;return s.value.forEach((F,L)=>{const E=M(F,L),H=(R?R(F):null)||{};x.set(E,H)}),x}),{maxLevel:l,levelEntities:c}=yq(a),d=x=>{var M;return!!(!((M=u.value.get(t.getRowKey.value(x)))===null||M===void 0)&&M.disabled)},f=fe(()=>{if(n.value.checkStrictly)return[r.value||[],[]];const{checkedKeys:x,halfCheckedKeys:M}=Xp(r.value,!0,a.value,l.value,c.value,d);return[x||[],M]}),g=fe(()=>f.value[0]),h=fe(()=>f.value[1]),m=fe(()=>{const x=n.value.type==="radio"?g.value.slice(0,1):g.value;return new Set(x)}),p=fe(()=>n.value.type==="radio"?new Set:new Set(h.value)),[v,y]=ir(null),b=x=>{let M,R;A(x);const{preserveSelectedRowKeys:F,onChange:L}=n.value,{getRecordByKey:E}=t;F?(M=x,R=x.map(H=>o.value.get(H))):(M=[],R=[],x.forEach(H=>{const X=E(H);X!==void 0&&(M.push(H),R.push(X))})),i(M),L==null||L(M,R)},w=(x,M,R,F)=>{const{onSelect:L}=n.value,{getRecordByKey:E}=t;if(L){const H=R.map(X=>E(X));L(E(x),M,H,F)}b(R)},C=fe(()=>{const{onSelectInvert:x,onSelectNone:M,selections:R,hideSelectAll:F}=n.value,{data:L,pageData:E,getRowKey:H,locale:X}=t;return!R||F?null:(R===!0?[NI,HI,MI]:R).map(Z=>Z===NI?{key:"all",text:X.value.selectionAll,onSelect(){b(L.value.map((q,te)=>H.value(q,te)).filter(q=>{const te=u.value.get(q);return!(te!=null&&te.disabled)||m.value.has(q)}))}}:Z===HI?{key:"invert",text:X.value.selectInvert,onSelect(){const q=new Set(m.value);E.value.forEach((ne,_)=>{const Y=H.value(ne,_),re=u.value.get(Y);re!=null&&re.disabled||(q.has(Y)?q.delete(Y):q.add(Y))});const te=Array.from(q);x&&(Xr(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),x(te)),b(te)}}:Z===MI?{key:"none",text:X.value.selectNone,onSelect(){M==null||M(),b(Array.from(m.value).filter(q=>{const te=u.value.get(q);return te==null?void 0:te.disabled}))}}:Z)}),B=fe(()=>s.value.length);return[x=>{var M;const{onSelectAll:R,onSelectMultiple:F,columnWidth:L,type:E,fixed:H,renderCell:X,hideSelectAll:z,checkStrictly:Z}=n.value,{prefixCls:q,getRecordByKey:te,getRowKey:ne,expandType:_,getPopupContainer:Y}=t;if(!e.value)return x.filter(U=>U!==Fu);let re=x.slice();const se=new Set(m.value),ce=s.value.map(ne.value).filter(U=>!u.value.get(U).disabled),N=ce.every(U=>se.has(U)),K=ce.some(U=>se.has(U)),Ae=()=>{const U=[];N?ce.forEach(de=>{se.delete(de),U.push(de)}):ce.forEach(de=>{se.has(de)||(se.add(de),U.push(de))});const W=Array.from(se);R==null||R(!N,W.map(de=>te(de)),U.map(de=>te(de))),b(W)};let ae;if(E!=="radio"){let U;if(C.value){const be=$(la,{getPopupContainer:Y.value},{default:()=>[C.value.map((Te,we)=>{const{key:xe,text:Ue,onSelect:ke}=Te;return $(la.Item,{key:xe||we,onClick:()=>{ke==null||ke(ce)}},{default:()=>[Ue]})})]});U=$("div",{class:`${q.value}-selection-extra`},[$(Du,{overlay:be,getPopupContainer:Y.value},{default:()=>[$("span",null,[$(_g,null,null)])]})])}const W=s.value.map((be,Te)=>{const we=ne.value(be,Te),xe=u.value.get(we)||{};return V({checked:se.has(we)},xe)}).filter(be=>{let{disabled:Te}=be;return Te}),de=!!W.length&&W.length===B.value,me=de&&W.every(be=>{let{checked:Te}=be;return Te}),ve=de&&W.some(be=>{let{checked:Te}=be;return Te});ae=!z&&$("div",{class:`${q.value}-selection`},[$(Ru,{checked:de?me:!!B.value&&N,indeterminate:de?!me&&ve:!N&&K,onChange:Ae,disabled:B.value===0||de,"aria-label":U?"Custom selection":"Select all",skipGroup:!0},null),U])}let ie;E==="radio"?ie=U=>{let{record:W,index:de}=U;const me=ne.value(W,de),ve=se.has(me);return{node:$(UA,ye(ye({},u.value.get(me)),{},{checked:ve,onClick:be=>be.stopPropagation(),onChange:be=>{se.has(me)||w(me,!0,[me],be.nativeEvent)}}),null),checked:ve}}:ie=U=>{let{record:W,index:de}=U;var me;const ve=ne.value(W,de),be=se.has(ve),Te=p.value.has(ve),we=u.value.get(ve);let xe;return _.value==="nest"?(xe=Te,Xr(typeof(we==null?void 0:we.indeterminate)!="boolean","Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):xe=(me=we==null?void 0:we.indeterminate)!==null&&me!==void 0?me:Te,{node:$(Ru,ye(ye({},we),{},{indeterminate:xe,checked:be,skipGroup:!0,onClick:Ue=>Ue.stopPropagation(),onChange:Ue=>{let{nativeEvent:ke}=Ue;const{shiftKey:et}=ke;let De=-1,_e=-1;if(et&&Z){const Re=new Set([v.value,ve]);ce.some((Ne,ot)=>{if(Re.has(Ne))if(De===-1)De=ot;else return _e=ot,!0;return!1})}if(_e!==-1&&De!==_e&&Z){const Re=ce.slice(De,_e+1),Ne=[];be?Re.forEach(rt=>{se.has(rt)&&(Ne.push(rt),se.delete(rt))}):Re.forEach(rt=>{se.has(rt)||(Ne.push(rt),se.add(rt))});const ot=Array.from(se);F==null||F(!be,ot.map(rt=>te(rt)),Ne.map(rt=>te(rt))),b(ot)}else{const Re=g.value;if(Z){const Ne=be?fl(Re,ve):Su(Re,ve);w(ve,!be,Ne,ke)}else{const Ne=Xp([...Re,ve],!0,a.value,l.value,c.value,d),{checkedKeys:ot,halfCheckedKeys:rt}=Ne;let nt=ot;if(be){const Bt=new Set(ot);Bt.delete(ve),nt=Xp(Array.from(Bt),{checked:!1,halfCheckedKeys:rt},a.value,l.value,c.value,d).checkedKeys}w(ve,!be,nt,ke)}}y(ve)}}),null),checked:be}};const J=U=>{let{record:W,index:de}=U;const{node:me,checked:ve}=ie({record:W,index:de});return X?X(ve,W,de,me):me};if(!re.includes(Fu))if(re.findIndex(U=>{var W;return((W=U[Zp])===null||W===void 0?void 0:W.columnType)==="EXPAND_COLUMN"})===0){const[U,...W]=re;re=[U,Fu,...W]}else re=[Fu,...re];const ue=re.indexOf(Fu);re=re.filter((U,W)=>U!==Fu||W===ue);const G=re[ue-1],pe=re[ue+1];let k=H;k===void 0&&((pe==null?void 0:pe.fixed)!==void 0?k=pe.fixed:(G==null?void 0:G.fixed)!==void 0&&(k=G.fixed)),k&&G&&((M=G[Zp])===null||M===void 0?void 0:M.columnType)==="EXPAND_COLUMN"&&G.fixed===void 0&&(G.fixed=k);const P={fixed:k,width:L,className:`${q.value}-selection-column`,title:n.value.columnTitle||ae,customRender:J,[Zp]:{class:`${q.value}-selection-col`}};return re.map(U=>U===Fu?P:U)},m]}var $Ee={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};function xR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){NEe(e,i,n[i])})}return e}function NEe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _T=function(t,n){var r=xR({},t,n.attrs);return $(cn,xR({},r,{icon:$Ee}),null)};_T.displayName="CaretDownOutlined";_T.inheritAttrs=!1;var HEe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};function SR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){MEe(e,i,n[i])})}return e}function MEe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var OT=function(t,n){var r=SR({},t,n.attrs);return $(cn,SR({},r,{icon:HEe}),null)};OT.displayName="CaretUpOutlined";OT.inheritAttrs=!1;var kEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function eh(e,t){return"key"in e&&e.key!==void 0&&e.key!==null?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t}function Tv(e,t){return t?`${t}-${e}`:`${e}`}function TT(e,t){return typeof e=="function"?e(t):e}function KX(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const t=ui(e),n=[];return t.forEach(r=>{var i,o,A,a;if(!r)return;const s=r.key,u=((i=r.props)===null||i===void 0?void 0:i.style)||{},l=((o=r.props)===null||o===void 0?void 0:o.class)||"",c=r.props||{};for(const[m,p]of Object.entries(c))c[gv(m)]=p;const d=r.children||{},{default:f}=d,g=kEe(d,["default"]),h=V(V(V({},g),c),{style:u,class:l});if(s&&(h.key=s),!((A=r.type)===null||A===void 0)&&A.__ANT_TABLE_COLUMN_GROUP)h.children=KX(typeof f=="function"?f():f);else{const m=(a=r.children)===null||a===void 0?void 0:a.default;h.customRender=h.customRender||m}n.push(h)}),n}const Qb="ascend",Wx="descend";function Rw(e){return typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1}function ER(e){return typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1}function jEe(e,t){return t?e[e.indexOf(t)+1]:e[0]}function kI(e,t,n){let r=[];function i(o,A){r.push({column:o,key:eh(o,A),multiplePriority:Rw(o),sortOrder:o.sortOrder})}return(e||[]).forEach((o,A)=>{const a=Tv(A,n);o.children?("sortOrder"in o&&i(o,a),r=[...r,...kI(o.children,t,a)]):o.sorter&&("sortOrder"in o?i(o,a):t&&o.defaultSortOrder&&r.push({column:o,key:eh(o,a),multiplePriority:Rw(o),sortOrder:o.defaultSortOrder}))}),r}function VX(e,t,n,r,i,o,A,a){return(t||[]).map((s,u)=>{const l=Tv(u,a);let c=s;if(c.sorter){const d=c.sortDirections||i,f=c.showSorterTooltip===void 0?A:c.showSorterTooltip,g=eh(c,l),h=n.find(x=>{let{key:M}=x;return M===g}),m=h?h.sortOrder:null,p=jEe(d,m),v=d.includes(Qb)&&$(OT,{class:Ze(`${e}-column-sorter-up`,{active:m===Qb}),role:"presentation"},null),y=d.includes(Wx)&&$(_T,{role:"presentation",class:Ze(`${e}-column-sorter-down`,{active:m===Wx})},null),{cancelSort:b,triggerAsc:w,triggerDesc:C}=o||{};let B=b;p===Wx?B=C:p===Qb&&(B=w);const O=typeof f=="object"?f:{title:B};c=V(V({},c),{className:Ze(c.className,{[`${e}-column-sort`]:m}),title:x=>{const M=$("div",{class:`${e}-column-sorters`},[$("span",{class:`${e}-column-title`},[TT(s.title,x)]),$("span",{class:Ze(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(v&&y)})},[$("span",{class:`${e}-column-sorter-inner`},[v,y])])]);return f?$(Qg,O,{default:()=>[M]}):M},customHeaderCell:x=>{const M=s.customHeaderCell&&s.customHeaderCell(x)||{},R=M.onClick,F=M.onKeydown;return M.onClick=L=>{r({column:s,key:g,sortOrder:p,multiplePriority:Rw(s)}),R&&R(L)},M.onKeydown=L=>{L.keyCode===ut.ENTER&&(r({column:s,key:g,sortOrder:p,multiplePriority:Rw(s)}),F==null||F(L))},m&&(M["aria-sort"]=m==="ascend"?"ascending":"descending"),M.class=Ze(M.class,`${e}-column-has-sorters`),M.tabindex=0,M}})}return"children"in c&&(c=V(V({},c),{children:VX(e,c.children,n,r,i,o,A,l)})),c})}function FR(e){const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}}function IR(e){const t=e.filter(n=>{let{sortOrder:r}=n;return r}).map(FR);return t.length===0&&e.length?V(V({},FR(e[e.length-1])),{column:void 0}):t.length<=1?t[0]||{}:t}function jI(e,t,n){const r=t.slice().sort((A,a)=>a.multiplePriority-A.multiplePriority),i=e.slice(),o=r.filter(A=>{let{column:{sorter:a},sortOrder:s}=A;return ER(a)&&s});return o.length?i.sort((A,a)=>{for(let s=0;s<o.length;s+=1){const u=o[s],{column:{sorter:l},sortOrder:c}=u,d=ER(l);if(d&&c){const f=d(A,a,c);if(f!==0)return c===Qb?f:-f}}return 0}).map(A=>{const a=A[n];return a?V(V({},A),{[n]:jI(a,t,n)}):A}):i}function KEe(e){let{prefixCls:t,mergedColumns:n,onSorterChange:r,sortDirections:i,tableLocale:o,showSorterTooltip:A}=e;const[a,s]=ir(kI(n.value,!0)),u=fe(()=>{let g=!0;const h=kI(n.value,!1);if(!h.length)return a.value;const m=[];function p(y){g?m.push(y):m.push(V(V({},y),{sortOrder:null}))}let v=null;return h.forEach(y=>{v===null?(p(y),y.sortOrder&&(y.multiplePriority===!1?g=!1:v=!0)):(v&&y.multiplePriority!==!1||(g=!1),p(y))}),m}),l=fe(()=>{const g=u.value.map(h=>{let{column:m,sortOrder:p}=h;return{column:m,order:p}});return{sortColumns:g,sortColumn:g[0]&&g[0].column,sortOrder:g[0]&&g[0].order}});function c(g){let h;g.multiplePriority===!1||!u.value.length||u.value[0].multiplePriority===!1?h=[g]:h=[...u.value.filter(m=>{let{key:p}=m;return p!==g.key}),g],s(h),r(IR(h),h)}const d=g=>VX(t.value,g,u.value,c,i.value,o.value,A.value),f=fe(()=>IR(u.value));return[d,u,l,f]}var VEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};function _R(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){zEe(e,i,n[i])})}return e}function zEe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var UT=function(t,n){var r=_R({},t,n.attrs);return $(cn,_R({},r,{icon:VEe}),null)};UT.displayName="FilterFilled";UT.inheritAttrs=!1;const GEe=e=>{const{keyCode:t}=e;t===ut.ENTER&&e.stopPropagation()},WEe=(e,t)=>{let{slots:n}=t;var r;return $("div",{onClick:i=>i.stopPropagation(),onKeydown:GEe},[(r=n.default)===null||r===void 0?void 0:r.call(n)])},OR=Je({compatConfig:{MODE:3},name:"FilterSearch",inheritAttrs:!1,props:{value:yn(),onChange:lt(),filterSearch:Hn([Boolean,Function]),tablePrefixCls:yn(),locale:qt()},setup(e){return()=>{const{value:t,onChange:n,filterSearch:r,tablePrefixCls:i,locale:o}=e;return r?$("div",{class:`${i}-filter-dropdown-search`},[$(co,{placeholder:o.filterSearchPlaceholder,onChange:n,value:t,htmlSize:1,class:`${i}-filter-dropdown-search-input`},{prefix:()=>$(wv,null,null)})]):null}}});var TR=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const qEe=Je({compatConfig:{MODE:3},name:"MotionTreeNode",inheritAttrs:!1,props:V(V({},pq),{active:Boolean,motion:Object,motionNodes:{type:Array},onMotionStart:Function,onMotionEnd:Function,motionType:String}),setup(e,t){let{attrs:n,slots:r}=t;const i=Me(!0),o=aT(),A=Me(!1),a=fe(()=>e.motion?e.motion:kB()),s=(u,l)=>{var c,d,f,g;l==="appear"?(d=(c=a.value)===null||c===void 0?void 0:c.onAfterEnter)===null||d===void 0||d.call(c,u):l==="leave"&&((g=(f=a.value)===null||f===void 0?void 0:f.onAfterLeave)===null||g===void 0||g.call(f,u)),A.value||e.onMotionEnd(),A.value=!0};return st(()=>e.motionNodes,()=>{e.motionNodes&&e.motionType==="hide"&&i.value&&$n(()=>{i.value=!1})},{immediate:!0,flush:"post"}),vn(()=>{e.motionNodes&&e.onMotionStart()}),En(()=>{e.motionNodes&&s()}),()=>{const{motion:u,motionNodes:l,motionType:c,active:d,eventKey:f}=e,g=TR(e,["motion","motionNodes","motionType","active","eventKey"]);return l?$(ca,ye(ye({},a.value),{},{appear:c==="show",onAfterAppear:h=>s(h,"appear"),onAfterLeave:h=>s(h,"leave")}),{default:()=>[Cs($("div",{class:`${o.value.prefixCls}-treenode-motion`},[l.map(h=>{const m=TR(h.data,[]),{title:p,key:v,isStart:y,isEnd:b}=h;return delete m.children,$(fI,ye(ye({},m),{},{title:p,active:d,data:h.data,key:v,eventKey:v,isStart:y,isEnd:b}),r)})]),[[Ol,i.value]])]}):$(fI,ye(ye({class:n.class,style:n.style},g),{},{active:d,eventKey:f}),r)}}});function XEe(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const n=e.length,r=t.length;if(Math.abs(n-r)!==1)return{add:!1,key:null};function i(o,A){const a=new Map;o.forEach(u=>{a.set(u,!0)});const s=A.filter(u=>!a.has(u));return s.length===1?s[0]:null}return n<r?{add:!0,key:i(e,t)}:{add:!1,key:i(t,e)}}function UR(e,t,n){const r=e.findIndex(A=>A.key===n),i=e[r+1],o=t.findIndex(A=>A.key===n);if(i){const A=t.findIndex(a=>a.key===i.key);return t.slice(o+1,A)}return t.slice(o+1)}var QR=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const PR={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},YEe=()=>{},th=`RC_TREE_MOTION_${Math.random()}`,KI={key:th},zX={key:th,level:0,index:0,pos:"0",node:KI,nodes:[KI]},LR={parent:null,children:[],pos:zX.pos,data:KI,title:null,key:th,isStart:[],isEnd:[]};function DR(e,t,n,r){return t===!1||!n?e:e.slice(0,Math.ceil(n/r)+1)}function RR(e){const{key:t,pos:n}=e;return Iv(t,n)}function JEe(e){let t=String(e.key),n=e;for(;n.parent;)n=n.parent,t=`${n.key} > ${t}`;return t}const ZEe=Je({compatConfig:{MODE:3},name:"NodeList",inheritAttrs:!1,props:Rbe,setup(e,t){let{expose:n,attrs:r}=t;const i=qe(),o=qe(),{expandedKeys:A,flattenNodes:a}=hq();n({scrollTo:h=>{i.value.scrollTo(h)},getIndentWidth:()=>o.value.offsetWidth});const s=Me(a.value),u=Me([]),l=qe(null);function c(){s.value=a.value,u.value=[],l.value=null,e.onListChangeEnd()}const d=aT();st([()=>A.value.slice(),a],(h,m)=>{let[p,v]=h,[y,b]=m;const w=XEe(y,p);if(w.key!==null){const{virtual:C,height:B,itemHeight:O}=e;if(w.add){const x=b.findIndex(F=>{let{key:L}=F;return L===w.key}),M=DR(UR(b,v,w.key),C,B,O),R=b.slice();R.splice(x+1,0,LR),s.value=R,u.value=M,l.value="show"}else{const x=v.findIndex(F=>{let{key:L}=F;return L===w.key}),M=DR(UR(v,b,w.key),C,B,O),R=v.slice();R.splice(x+1,0,LR),s.value=R,u.value=M,l.value="hide"}}else b!==v&&(s.value=v)}),st(()=>d.value.dragging,h=>{h||c()});const f=fe(()=>e.motion===void 0?s.value:a.value),g=()=>{e.onActiveChange(null)};return()=>{const h=V(V({},e),r),{prefixCls:m,selectable:p,checkable:v,disabled:y,motion:b,height:w,itemHeight:C,virtual:B,focusable:O,activeItem:x,focused:M,tabindex:R,onKeydown:F,onFocus:L,onBlur:E,onListChangeStart:H,onListChangeEnd:X}=h,z=QR(h,["prefixCls","selectable","checkable","disabled","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabindex","onKeydown","onFocus","onBlur","onListChangeStart","onListChangeEnd"]);return $(mn,null,[M&&x&&$("span",{style:PR,"aria-live":"assertive"},[JEe(x)]),$("div",null,[$("input",{style:PR,disabled:O===!1||y,tabindex:O!==!1?R:null,onKeydown:F,onFocus:L,onBlur:E,value:"",onChange:YEe,"aria-label":"for screen reader"},null)]),$("div",{class:`${m}-treenode`,"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},[$("div",{class:`${m}-indent`},[$("div",{ref:o,class:`${m}-indent-unit`},null)])]),$(hG,ye(ye({},_r(z,["onActiveChange"])),{},{data:f.value,itemKey:RR,height:w,fullHeight:!1,virtual:B,itemHeight:C,prefixCls:`${m}-list`,ref:i,onVisibleChange:(Z,q)=>{const te=new Set(Z);q.filter(_=>!te.has(_)).some(_=>RR(_)===th)&&c()}}),{default:Z=>{const{pos:q}=Z,te=QR(Z.data,[]),{title:ne,key:_,isStart:Y,isEnd:re}=Z,se=Iv(_,q);return delete te.key,delete te.children,$(qEe,ye(ye({},te),{},{eventKey:se,title:ne,active:!!x&&_===x.key,data:Z.data,isStart:Y,isEnd:re,motion:b,motionNodes:_===th?u.value:null,motionType:l.value,onMotionStart:H,onMotionEnd:c,onMousemove:g}),null)}})])}}});function e5e(e){let{dropPosition:t,dropLevelOffset:n,indent:r}=e;const i={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:"2px"};switch(t){case-1:i.top=0,i.left=`${-n*r}px`;break;case 1:i.bottom=0,i.left=`${-n*r}px`;break;case 0:i.bottom=0,i.left=`${r}`;break}return $("div",{style:i},null)}const t5e=10,n5e=Je({compatConfig:{MODE:3},name:"Tree",inheritAttrs:!1,props:lr(gq(),{prefixCls:"vc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,expandAction:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:e5e,allowDrop:()=>!0}),setup(e,t){let{attrs:n,slots:r,expose:i}=t;const o=Me(!1);let A={};const a=Me(),s=Me([]),u=Me([]),l=Me([]),c=Me([]),d=Me([]),f=Me([]),g={},h=Ir({draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null}),m=Me([]);st([()=>e.treeData,()=>e.children],()=>{m.value=e.treeData!==void 0?e.treeData.slice():hI(On(e.children))},{immediate:!0,deep:!0});const p=Me({}),v=Me(!1),y=Me(null),b=Me(!1),w=fe(()=>qB(e.fieldNames)),C=Me();let B=null,O=null,x=null;const M=fe(()=>({expandedKeysSet:R.value,selectedKeysSet:F.value,loadedKeysSet:L.value,loadingKeysSet:E.value,checkedKeysSet:H.value,halfCheckedKeysSet:X.value,dragOverNodeKey:h.dragOverNodeKey,dropPosition:h.dropPosition,keyEntities:p.value})),R=fe(()=>new Set(f.value)),F=fe(()=>new Set(s.value)),L=fe(()=>new Set(c.value)),E=fe(()=>new Set(d.value)),H=fe(()=>new Set(u.value)),X=fe(()=>new Set(l.value));ln(()=>{if(m.value){const _e=lT(m.value,{fieldNames:w.value});p.value=V({[th]:zX},_e.keyEntities)}});let z=!1;st([()=>e.expandedKeys,()=>e.autoExpandParent,p],(_e,Re)=>{let[Ne,ot]=_e,[rt,nt]=Re,Bt=f.value;if(e.expandedKeys!==void 0||z&&ot!==nt)Bt=e.autoExpandParent||!z&&e.defaultExpandParent?dI(e.expandedKeys,p.value):e.expandedKeys;else if(!z&&e.defaultExpandAll){const Et=V({},p.value);delete Et[th],Bt=Object.keys(Et).map(Xt=>Et[Xt].key)}else!z&&e.defaultExpandedKeys&&(Bt=e.autoExpandParent||e.defaultExpandParent?dI(e.defaultExpandedKeys,p.value):e.defaultExpandedKeys);Bt&&(f.value=Bt),z=!0},{immediate:!0});const Z=Me([]);ln(()=>{Z.value=Vbe(m.value,f.value,w.value)}),ln(()=>{e.selectable&&(e.selectedKeys!==void 0?s.value=BD(e.selectedKeys,e):!z&&e.defaultSelectedKeys&&(s.value=BD(e.defaultSelectedKeys,e)))});const{maxLevel:q,levelEntities:te}=yq(p);ln(()=>{if(e.checkable){let _e;if(e.checkedKeys!==void 0?_e=Fx(e.checkedKeys)||{}:!z&&e.defaultCheckedKeys?_e=Fx(e.defaultCheckedKeys)||{}:m.value&&(_e=Fx(e.checkedKeys)||{checkedKeys:u.value,halfCheckedKeys:l.value}),_e){let{checkedKeys:Re=[],halfCheckedKeys:Ne=[]}=_e;e.checkStrictly||({checkedKeys:Re,halfCheckedKeys:Ne}=Xp(Re,!0,p.value,q.value,te.value)),u.value=Re,l.value=Ne}}}),ln(()=>{e.loadedKeys&&(c.value=e.loadedKeys)});const ne=()=>{V(h,{dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})},_=_e=>{C.value.scrollTo(_e)};st(()=>e.activeKey,()=>{e.activeKey!==void 0&&(y.value=e.activeKey)},{immediate:!0}),st(y,_e=>{$n(()=>{_e!==null&&_({key:_e})})},{immediate:!0,flush:"post"});const Y=_e=>{e.expandedKeys===void 0&&(f.value=_e)},re=()=>{h.draggingNodeKey!==null&&V(h,{draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),B=null,x=null},se=(_e,Re)=>{const{onDragend:Ne}=e;h.dragOverNodeKey=null,re(),Ne==null||Ne({event:_e,node:Re.eventData}),O=null},ce=_e=>{se(_e,null),window.removeEventListener("dragend",ce)},N=(_e,Re)=>{const{onDragstart:Ne}=e,{eventKey:ot,eventData:rt}=Re;O=Re,B={x:_e.clientX,y:_e.clientY};const nt=fl(f.value,ot);h.draggingNodeKey=ot,h.dragChildrenKeys=Mbe(ot,p.value),a.value=C.value.getIndentWidth(),Y(nt),window.addEventListener("dragend",ce),Ne&&Ne({event:_e,node:rt})},K=(_e,Re)=>{const{onDragenter:Ne,onExpand:ot,allowDrop:rt,direction:nt}=e,{pos:Bt,eventKey:Et}=Re;if(x!==Et&&(x=Et),!O){ne();return}const{dropPosition:Xt,dropLevelOffset:Ut,dropTargetKey:$t,dropContainerKey:xt,dropTargetPos:Ct,dropAllowed:ht,dragOverNodeKey:Tt}=wD(_e,O,Re,a.value,B,rt,Z.value,p.value,R.value,nt);if(h.dragChildrenKeys.indexOf($t)!==-1||!ht){ne();return}if(A||(A={}),Object.keys(A).forEach(Yt=>{clearTimeout(A[Yt])}),O.eventKey!==Re.eventKey&&(A[Bt]=window.setTimeout(()=>{if(h.draggingNodeKey===null)return;let Yt=f.value.slice();const nn=p.value[Re.eventKey];nn&&(nn.children||[]).length&&(Yt=Su(f.value,Re.eventKey)),Y(Yt),ot&&ot(Yt,{node:Re.eventData,expanded:!0,nativeEvent:_e})},800)),O.eventKey===$t&&Ut===0){ne();return}V(h,{dragOverNodeKey:Tt,dropPosition:Xt,dropLevelOffset:Ut,dropTargetKey:$t,dropContainerKey:xt,dropTargetPos:Ct,dropAllowed:ht}),Ne&&Ne({event:_e,node:Re.eventData,expandedKeys:f.value})},Ae=(_e,Re)=>{const{onDragover:Ne,allowDrop:ot,direction:rt}=e;if(!O)return;const{dropPosition:nt,dropLevelOffset:Bt,dropTargetKey:Et,dropContainerKey:Xt,dropAllowed:Ut,dropTargetPos:$t,dragOverNodeKey:xt}=wD(_e,O,Re,a.value,B,ot,Z.value,p.value,R.value,rt);h.dragChildrenKeys.indexOf(Et)!==-1||!Ut||(O.eventKey===Et&&Bt===0?h.dropPosition===null&&h.dropLevelOffset===null&&h.dropTargetKey===null&&h.dropContainerKey===null&&h.dropTargetPos===null&&h.dropAllowed===!1&&h.dragOverNodeKey===null||ne():nt===h.dropPosition&&Bt===h.dropLevelOffset&&Et===h.dropTargetKey&&Xt===h.dropContainerKey&&$t===h.dropTargetPos&&Ut===h.dropAllowed&&xt===h.dragOverNodeKey||V(h,{dropPosition:nt,dropLevelOffset:Bt,dropTargetKey:Et,dropContainerKey:Xt,dropTargetPos:$t,dropAllowed:Ut,dragOverNodeKey:xt}),Ne&&Ne({event:_e,node:Re.eventData}))},ae=(_e,Re)=>{x===Re.eventKey&&!_e.currentTarget.contains(_e.relatedTarget)&&(ne(),x=null);const{onDragleave:Ne}=e;Ne&&Ne({event:_e,node:Re.eventData})},ie=function(_e,Re){let Ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var ot;const{dragChildrenKeys:rt,dropPosition:nt,dropTargetKey:Bt,dropTargetPos:Et,dropAllowed:Xt}=h;if(!Xt)return;const{onDrop:Ut}=e;if(h.dragOverNodeKey=null,re(),Bt===null)return;const $t=V(V({},Eb(Bt,On(M.value))),{active:((ot=Ue.value)===null||ot===void 0?void 0:ot.key)===Bt,data:p.value[Bt].node});rt.indexOf(Bt);const xt=sT(Et),Ct={event:_e,node:Fb($t),dragNode:O?O.eventData:null,dragNodesKeys:[O.eventKey].concat(rt),dropToGap:nt!==0,dropPosition:nt+Number(xt[xt.length-1])};Ne||Ut==null||Ut(Ct),O=null},J=(_e,Re)=>{const{expanded:Ne,key:ot}=Re,rt=Z.value.filter(Bt=>Bt.key===ot)[0],nt=Fb(V(V({},Eb(ot,M.value)),{data:rt.data}));Y(Ne?fl(f.value,ot):Su(f.value,ot)),be(_e,nt)},ue=(_e,Re)=>{const{onClick:Ne,expandAction:ot}=e;ot==="click"&&J(_e,Re),Ne&&Ne(_e,Re)},G=(_e,Re)=>{const{onDblclick:Ne,expandAction:ot}=e;(ot==="doubleclick"||ot==="dblclick")&&J(_e,Re),Ne&&Ne(_e,Re)},pe=(_e,Re)=>{let Ne=s.value;const{onSelect:ot,multiple:rt}=e,{selected:nt}=Re,Bt=Re[w.value.key],Et=!nt;Et?rt?Ne=Su(Ne,Bt):Ne=[Bt]:Ne=fl(Ne,Bt);const Xt=p.value,Ut=Ne.map($t=>{const xt=Xt[$t];return xt?xt.node:null}).filter($t=>$t);e.selectedKeys===void 0&&(s.value=Ne),ot&&ot(Ne,{event:"select",selected:Et,node:Re,selectedNodes:Ut,nativeEvent:_e})},k=(_e,Re,Ne)=>{const{checkStrictly:ot,onCheck:rt}=e,nt=Re[w.value.key];let Bt;const Et={event:"check",node:Re,checked:Ne,nativeEvent:_e},Xt=p.value;if(ot){const Ut=Ne?Su(u.value,nt):fl(u.value,nt),$t=fl(l.value,nt);Bt={checked:Ut,halfChecked:$t},Et.checkedNodes=Ut.map(xt=>Xt[xt]).filter(xt=>xt).map(xt=>xt.node),e.checkedKeys===void 0&&(u.value=Ut)}else{let{checkedKeys:Ut,halfCheckedKeys:$t}=Xp([...u.value,nt],!0,Xt,q.value,te.value);if(!Ne){const xt=new Set(Ut);xt.delete(nt),{checkedKeys:Ut,halfCheckedKeys:$t}=Xp(Array.from(xt),{checked:!1,halfCheckedKeys:$t},Xt,q.value,te.value)}Bt=Ut,Et.checkedNodes=[],Et.checkedNodesPositions=[],Et.halfCheckedKeys=$t,Ut.forEach(xt=>{const Ct=Xt[xt];if(!Ct)return;const{node:ht,pos:Tt}=Ct;Et.checkedNodes.push(ht),Et.checkedNodesPositions.push({node:ht,pos:Tt})}),e.checkedKeys===void 0&&(u.value=Ut,l.value=$t)}rt&&rt(Bt,Et)},P=_e=>{const Re=_e[w.value.key],Ne=new Promise((ot,rt)=>{const{loadData:nt,onLoad:Bt}=e;if(!nt||L.value.has(Re)||E.value.has(Re))return null;nt(_e).then(()=>{const Xt=Su(c.value,Re),Ut=fl(d.value,Re);Bt&&Bt(Xt,{event:"load",node:_e}),e.loadedKeys===void 0&&(c.value=Xt),d.value=Ut,ot()}).catch(Xt=>{const Ut=fl(d.value,Re);if(d.value=Ut,g[Re]=(g[Re]||0)+1,g[Re]>=t5e){const $t=Su(c.value,Re);e.loadedKeys===void 0&&(c.value=$t),ot()}rt(Xt)}),d.value=Su(d.value,Re)});return Ne.catch(()=>{}),Ne},U=(_e,Re)=>{const{onMouseenter:Ne}=e;Ne&&Ne({event:_e,node:Re})},W=(_e,Re)=>{const{onMouseleave:Ne}=e;Ne&&Ne({event:_e,node:Re})},de=(_e,Re)=>{const{onRightClick:Ne}=e;Ne&&(_e.preventDefault(),Ne({event:_e,node:Re}))},me=_e=>{const{onFocus:Re}=e;v.value=!0,Re&&Re(_e)},ve=_e=>{const{onBlur:Re}=e;v.value=!1,xe(null),Re&&Re(_e)},be=(_e,Re)=>{let Ne=f.value;const{onExpand:ot,loadData:rt}=e,{expanded:nt}=Re,Bt=Re[w.value.key];if(b.value)return;Ne.indexOf(Bt);const Et=!nt;if(Et?Ne=Su(Ne,Bt):Ne=fl(Ne,Bt),Y(Ne),ot&&ot(Ne,{node:Re,expanded:Et,nativeEvent:_e}),Et&&rt){const Xt=P(Re);Xt&&Xt.then(()=>{}).catch(Ut=>{const $t=fl(f.value,Bt);Y($t),Promise.reject(Ut)})}},Te=()=>{b.value=!0},we=()=>{setTimeout(()=>{b.value=!1})},xe=_e=>{const{onActiveChange:Re}=e;y.value!==_e&&(e.activeKey!==void 0&&(y.value=_e),_e!==null&&_({key:_e}),Re&&Re(_e))},Ue=fe(()=>y.value===null?null:Z.value.find(_e=>{let{key:Re}=_e;return Re===y.value})||null),ke=_e=>{let Re=Z.value.findIndex(ot=>{let{key:rt}=ot;return rt===y.value});Re===-1&&_e<0&&(Re=Z.value.length),Re=(Re+_e+Z.value.length)%Z.value.length;const Ne=Z.value[Re];if(Ne){const{key:ot}=Ne;xe(ot)}else xe(null)},et=fe(()=>Fb(V(V({},Eb(y.value,M.value)),{data:Ue.value.data,active:!0}))),De=_e=>{const{onKeydown:Re,checkable:Ne,selectable:ot}=e;switch(_e.which){case ut.UP:{ke(-1),_e.preventDefault();break}case ut.DOWN:{ke(1),_e.preventDefault();break}}const rt=Ue.value;if(rt&&rt.data){const nt=rt.data.isLeaf===!1||!!(rt.data.children||[]).length,Bt=et.value;switch(_e.which){case ut.LEFT:{nt&&R.value.has(y.value)?be({},Bt):rt.parent&&xe(rt.parent.key),_e.preventDefault();break}case ut.RIGHT:{nt&&!R.value.has(y.value)?be({},Bt):rt.children&&rt.children.length&&xe(rt.children[0].key),_e.preventDefault();break}case ut.ENTER:case ut.SPACE:{Ne&&!Bt.disabled&&Bt.checkable!==!1&&!Bt.disableCheckbox?k({},Bt,!H.value.has(y.value)):!Ne&&ot&&!Bt.disabled&&Bt.selectable!==!1&&pe({},Bt);break}}}Re&&Re(_e)};return i({onNodeExpand:be,scrollTo:_,onKeydown:De,selectedKeys:fe(()=>s.value),checkedKeys:fe(()=>u.value),halfCheckedKeys:fe(()=>l.value),loadedKeys:fe(()=>c.value),loadingKeys:fe(()=>d.value),expandedKeys:fe(()=>f.value)}),za(()=>{window.removeEventListener("dragend",ce),o.value=!0}),Lbe({expandedKeys:f,selectedKeys:s,loadedKeys:c,loadingKeys:d,checkedKeys:u,halfCheckedKeys:l,expandedKeysSet:R,selectedKeysSet:F,loadedKeysSet:L,loadingKeysSet:E,checkedKeysSet:H,halfCheckedKeysSet:X,flattenNodes:Z}),()=>{const{draggingNodeKey:_e,dropLevelOffset:Re,dropContainerKey:Ne,dropTargetKey:ot,dropPosition:rt,dragOverNodeKey:nt}=h,{prefixCls:Bt,showLine:Et,focusable:Xt,tabindex:Ut=0,selectable:$t,showIcon:xt,icon:Ct=r.icon,switcherIcon:ht,draggable:Tt,checkable:Yt,checkStrictly:nn,disabled:zn,motion:ur,loadData:Mt,filterTreeNode:vr,height:Yr,itemHeight:mt,virtual:vt,dropIndicatorRender:It,onContextmenu:an,onScroll:Mn,direction:Kn,rootClassName:Ar,rootStyle:Gn}=e,{class:er,style:yr}=n,br=xf(V(V({},e),n),{aria:!0,data:!0});let Dn;return Tt?typeof Tt=="object"?Dn=Tt:typeof Tt=="function"?Dn={nodeDraggable:Tt}:Dn={}:Dn=!1,$(Pbe,{value:{prefixCls:Bt,selectable:$t,showIcon:xt,icon:Ct,switcherIcon:ht,draggable:Dn,draggingNodeKey:_e,checkable:Yt,customCheckable:r.checkable,checkStrictly:nn,disabled:zn,keyEntities:p.value,dropLevelOffset:Re,dropContainerKey:Ne,dropTargetKey:ot,dropPosition:rt,dragOverNodeKey:nt,dragging:_e!==null,indent:a.value,direction:Kn,dropIndicatorRender:It,loadData:Mt,filterTreeNode:vr,onNodeClick:ue,onNodeDoubleClick:G,onNodeExpand:be,onNodeSelect:pe,onNodeCheck:k,onNodeLoad:P,onNodeMouseEnter:U,onNodeMouseLeave:W,onNodeContextMenu:de,onNodeDragStart:N,onNodeDragEnter:K,onNodeDragOver:Ae,onNodeDragLeave:ae,onNodeDragEnd:se,onNodeDrop:ie,slots:r}},{default:()=>[$("div",{role:"tree",class:Ze(Bt,er,Ar,{[`${Bt}-show-line`]:Et,[`${Bt}-focused`]:v.value,[`${Bt}-active-focused`]:y.value!==null}),style:Gn},[$(ZEe,ye({ref:C,prefixCls:Bt,style:yr,disabled:zn,selectable:$t,checkable:!!Yt,motion:ur,height:Yr,itemHeight:mt,virtual:vt,focusable:Xt,focused:v.value,tabindex:Ut,activeItem:Ue.value,onFocus:me,onBlur:ve,onKeydown:De,onActiveChange:xe,onListChangeStart:Te,onListChangeEnd:we,onContextmenu:an,onScroll:Mn},br),null)])]})}}});var r5e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};function $R(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){i5e(e,i,n[i])})}return e}function i5e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var aC=function(t,n){var r=$R({},t,n.attrs);return $(cn,$R({},r,{icon:r5e}),null)};aC.displayName="FileOutlined";aC.inheritAttrs=!1;var o5e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"};function NR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){A5e(e,i,n[i])})}return e}function A5e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var QT=function(t,n){var r=NR({},t,n.attrs);return $(cn,NR({},r,{icon:o5e}),null)};QT.displayName="MinusSquareOutlined";QT.inheritAttrs=!1;var a5e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"};function HR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){s5e(e,i,n[i])})}return e}function s5e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var PT=function(t,n){var r=HR({},t,n.attrs);return $(cn,HR({},r,{icon:a5e}),null)};PT.displayName="PlusSquareOutlined";PT.inheritAttrs=!1;var l5e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};function MR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){u5e(e,i,n[i])})}return e}function u5e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var LT=function(t,n){var r=MR({},t,n.attrs);return $(cn,MR({},r,{icon:l5e}),null)};LT.displayName="CaretDownFilled";LT.inheritAttrs=!1;function c5e(e,t,n,r,i){const{isLeaf:o,expanded:A,loading:a}=n;let s=t;if(a)return $(ka,{class:`${e}-switcher-loading-icon`},null);let u;i&&typeof i=="object"&&(u=i.showLeafIcon);let l=null;const c=`${e}-switcher-icon`;return o?i?u&&r?r(n):(typeof i=="object"&&!u?l=$("span",{class:`${e}-switcher-leaf-line`},null):l=$(aC,{class:`${e}-switcher-line-icon`},null),l):null:(l=$(LT,{class:c},null),i&&(l=A?$(QT,{class:`${e}-switcher-line-icon`},null):$(PT,{class:`${e}-switcher-line-icon`},null)),typeof t=="function"?s=t(V(V({},n),{defaultIcon:l,switcherCls:c})):eA(s)&&(s=To(s,{class:c})),s||l)}const kR=4;function f5e(e){const{dropPosition:t,dropLevelOffset:n,prefixCls:r,indent:i,direction:o="ltr"}=e,A=o==="ltr"?"left":"right",a=o==="ltr"?"right":"left",s={[A]:`${-n*i+kR}px`,[a]:0};switch(t){case-1:s.top="-3px";break;case 1:s.bottom="-3px";break;default:s.bottom="-3px",s[A]=`${i+kR}px`;break}return $("div",{style:s,class:`${r}-drop-indicator`},null)}const d5e=new Un("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),h5e=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),p5e=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${t.lineWidthBold}px solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),g5e=(e,t)=>{const{treeCls:n,treeNodeCls:r,treeNodePadding:i,treeTitleHeight:o}=t,A=(o-t.fontSizeLG)/2,a=t.paddingXS;return{[n]:V(V({},qn(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:V({},Ku(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:i,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:d5e,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${r}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${i}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:V({},Ku(t)),[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${n}-draggable-icon`]:{width:o,lineHeight:`${o}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${r}:hover &`]:{opacity:.45}},[`&${r}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:o}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:V(V({},h5e(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:o,margin:0,lineHeight:`${o}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:o/2,bottom:-i,marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:o/2*.8,height:o/2,borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:a,marginBlockStart:A},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:o,margin:0,padding:`0 ${t.paddingXS/2}px`,color:"inherit",lineHeight:`${o}px`,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:t.controlItemBgHover},[`&${n}-node-selected`]:{backgroundColor:t.controlItemBgActive},[`${n}-iconEle`]:{display:"inline-block",width:o,height:o,lineHeight:`${o}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:V({lineHeight:`${o}px`,userSelect:"none"},p5e(e,t)),[`${r}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:o/2,bottom:-i,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${o/2}px !important`}}}}})}},m5e=e=>{const{treeCls:t,treeNodeCls:n,treeNodePadding:r}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:e.colorTextLightSolid,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:e.colorPrimary},[`${t}-switcher`]:{color:e.colorTextLightSolid},[`${t}-node-content-wrapper`]:{color:e.colorTextLightSolid,background:"transparent"}}}}}},v5e=(e,t)=>{const n=`.${e}`,r=`${n}-treenode`,i=t.paddingXS/2,o=t.controlHeightSM,A=_n(t,{treeCls:n,treeNodeCls:r,treeNodePadding:i,treeTitleHeight:o});return[g5e(e,A),m5e(A)]},y5e=or("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:Qq(`${n}-checkbox`,e)},v5e(n,e),MB(e)]}),GX=()=>{const e=gq();return V(V({},e),{showLine:Hn([Boolean,Object]),multiple:Qt(),autoExpandParent:Qt(),checkStrictly:Qt(),checkable:Qt(),disabled:Qt(),defaultExpandAll:Qt(),defaultExpandParent:Qt(),defaultExpandedKeys:fr(),expandedKeys:fr(),checkedKeys:Hn([Array,Object]),defaultCheckedKeys:fr(),selectedKeys:fr(),defaultSelectedKeys:fr(),selectable:Qt(),loadedKeys:fr(),draggable:Qt(),showIcon:Qt(),icon:lt(),switcherIcon:He.any,prefixCls:String,replaceFields:qt(),blockNode:Qt(),openAnimation:He.any,onDoubleclick:e.onDblclick,"onUpdate:selectedKeys":lt(),"onUpdate:checkedKeys":lt(),"onUpdate:expandedKeys":lt()})},Pb=Je({compatConfig:{MODE:3},name:"ATree",inheritAttrs:!1,props:lr(GX(),{checkable:!1,selectable:!0,showIcon:!1,blockNode:!1}),slots:Object,setup(e,t){let{attrs:n,expose:r,emit:i,slots:o}=t;e.treeData===void 0&&o.default;const{prefixCls:A,direction:a,virtual:s}=An("tree",e),[u,l]=y5e(A),c=qe();r({treeRef:c,onNodeExpand:function(){var m;(m=c.value)===null||m===void 0||m.onNodeExpand(...arguments)},scrollTo:m=>{var p;(p=c.value)===null||p===void 0||p.scrollTo(m)},selectedKeys:fe(()=>{var m;return(m=c.value)===null||m===void 0?void 0:m.selectedKeys}),checkedKeys:fe(()=>{var m;return(m=c.value)===null||m===void 0?void 0:m.checkedKeys}),halfCheckedKeys:fe(()=>{var m;return(m=c.value)===null||m===void 0?void 0:m.halfCheckedKeys}),loadedKeys:fe(()=>{var m;return(m=c.value)===null||m===void 0?void 0:m.loadedKeys}),loadingKeys:fe(()=>{var m;return(m=c.value)===null||m===void 0?void 0:m.loadingKeys}),expandedKeys:fe(()=>{var m;return(m=c.value)===null||m===void 0?void 0:m.expandedKeys})}),ln(()=>{Xr(e.replaceFields===void 0,"Tree","`replaceFields` is deprecated, please use fieldNames instead")});const f=(m,p)=>{i("update:checkedKeys",m),i("check",m,p)},g=(m,p)=>{i("update:expandedKeys",m),i("expand",m,p)},h=(m,p)=>{i("update:selectedKeys",m),i("select",m,p)};return()=>{const{showIcon:m,showLine:p,switcherIcon:v=o.switcherIcon,icon:y=o.icon,blockNode:b,checkable:w,selectable:C,fieldNames:B=e.replaceFields,motion:O=e.openAnimation,itemHeight:x=28,onDoubleclick:M,onDblclick:R}=e,F=V(V(V({},n),_r(e,["onUpdate:checkedKeys","onUpdate:expandedKeys","onUpdate:selectedKeys","onDoubleclick"])),{showLine:!!p,dropIndicatorRender:f5e,fieldNames:B,icon:y,itemHeight:x}),L=o.default?ho(o.default()):void 0;return u($(n5e,ye(ye({},F),{},{virtual:s.value,motion:O,ref:c,prefixCls:A.value,class:Ze({[`${A.value}-icon-hide`]:!m,[`${A.value}-block-node`]:b,[`${A.value}-unselectable`]:!C,[`${A.value}-rtl`]:a.value==="rtl"},n.class,l.value),direction:a.value,checkable:w,selectable:C,switcherIcon:E=>c5e(A.value,v,E,o.leafIcon,p),onCheck:f,onExpand:g,onSelect:h,onDblclick:R||M,children:L}),V(V({},o),{checkable:()=>$("span",{class:`${A.value}-checkbox-inner`},null)})))}}});var b5e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};function jR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){w5e(e,i,n[i])})}return e}function w5e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var DT=function(t,n){var r=jR({},t,n.attrs);return $(cn,jR({},r,{icon:b5e}),null)};DT.displayName="FolderOpenOutlined";DT.inheritAttrs=!1;var B5e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"};function KR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){C5e(e,i,n[i])})}return e}function C5e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var RT=function(t,n){var r=KR({},t,n.attrs);return $(cn,KR({},r,{icon:B5e}),null)};RT.displayName="FolderOutlined";RT.inheritAttrs=!1;var Iu;(function(e){e[e.None=0]="None",e[e.Start=1]="Start",e[e.End=2]="End"})(Iu||(Iu={}));function $T(e,t,n){function r(i){const o=i[t.key],A=i[t.children];n(o,i)!==!1&&$T(A||[],t,n)}e.forEach(r)}function x5e(e){let{treeData:t,expandedKeys:n,startKey:r,endKey:i,fieldNames:o={title:"title",key:"key",children:"children"}}=e;const A=[];let a=Iu.None;if(r&&r===i)return[r];if(!r||!i)return[];function s(u){return u===r||u===i}return $T(t,o,u=>{if(a===Iu.End)return!1;if(s(u)){if(A.push(u),a===Iu.None)a=Iu.Start;else if(a===Iu.Start)return a=Iu.End,!1}else a===Iu.Start&&A.push(u);return n.includes(u)}),A}function qx(e,t,n){const r=[...t],i=[];return $T(e,n,(o,A)=>{const a=r.indexOf(o);return a!==-1&&(i.push(A),r.splice(a,1)),!!r.length}),i}var S5e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const E5e=()=>V(V({},GX()),{expandAction:Hn([Boolean,String])});function F5e(e){const{isLeaf:t,expanded:n}=e;return $(t?aC:n?DT:RT,null,null)}const Xx=Je({compatConfig:{MODE:3},name:"ADirectoryTree",inheritAttrs:!1,props:lr(E5e(),{showIcon:!0,expandAction:"click"}),slots:Object,setup(e,t){let{attrs:n,slots:r,emit:i,expose:o}=t;var A;const a=qe(e.treeData||hI(ho((A=r.default)===null||A===void 0?void 0:A.call(r))));st(()=>e.treeData,()=>{a.value=e.treeData}),Va(()=>{$n(()=>{var x;e.treeData===void 0&&r.default&&(a.value=hI(ho((x=r.default)===null||x===void 0?void 0:x.call(r))))})});const s=qe(),u=qe(),l=fe(()=>qB(e.fieldNames)),c=qe();o({scrollTo:x=>{var M;(M=c.value)===null||M===void 0||M.scrollTo(x)},selectedKeys:fe(()=>{var x;return(x=c.value)===null||x===void 0?void 0:x.selectedKeys}),checkedKeys:fe(()=>{var x;return(x=c.value)===null||x===void 0?void 0:x.checkedKeys}),halfCheckedKeys:fe(()=>{var x;return(x=c.value)===null||x===void 0?void 0:x.halfCheckedKeys}),loadedKeys:fe(()=>{var x;return(x=c.value)===null||x===void 0?void 0:x.loadedKeys}),loadingKeys:fe(()=>{var x;return(x=c.value)===null||x===void 0?void 0:x.loadingKeys}),expandedKeys:fe(()=>{var x;return(x=c.value)===null||x===void 0?void 0:x.expandedKeys})});const f=()=>{const{keyEntities:x}=lT(a.value,{fieldNames:l.value});let M;return e.defaultExpandAll?M=Object.keys(x):e.defaultExpandParent?M=dI(e.expandedKeys||e.defaultExpandedKeys||[],x):M=e.expandedKeys||e.defaultExpandedKeys,M},g=qe(e.selectedKeys||e.defaultSelectedKeys||[]),h=qe(f());st(()=>e.selectedKeys,()=>{e.selectedKeys!==void 0&&(g.value=e.selectedKeys)},{immediate:!0}),st(()=>e.expandedKeys,()=>{e.expandedKeys!==void 0&&(h.value=e.expandedKeys)},{immediate:!0});const p=zG((x,M)=>{const{isLeaf:R}=M;R||x.shiftKey||x.metaKey||x.ctrlKey||c.value.onNodeExpand(x,M)},200,{leading:!0}),v=(x,M)=>{e.expandedKeys===void 0&&(h.value=x),i("update:expandedKeys",x),i("expand",x,M)},y=(x,M)=>{const{expandAction:R}=e;R==="click"&&p(x,M),i("click",x,M)},b=(x,M)=>{const{expandAction:R}=e;(R==="dblclick"||R==="doubleclick")&&p(x,M),i("doubleclick",x,M),i("dblclick",x,M)},w=(x,M)=>{const{multiple:R}=e,{node:F,nativeEvent:L}=M,E=F[l.value.key],H=V(V({},M),{selected:!0}),X=(L==null?void 0:L.ctrlKey)||(L==null?void 0:L.metaKey),z=L==null?void 0:L.shiftKey;let Z;R&&X?(Z=x,s.value=E,u.value=Z,H.selectedNodes=qx(a.value,Z,l.value)):R&&z?(Z=Array.from(new Set([...u.value||[],...x5e({treeData:a.value,expandedKeys:h.value,startKey:E,endKey:s.value,fieldNames:l.value})])),H.selectedNodes=qx(a.value,Z,l.value)):(Z=[E],s.value=E,u.value=Z,H.selectedNodes=qx(a.value,Z,l.value)),i("update:selectedKeys",Z),i("select",Z,H),e.selectedKeys===void 0&&(g.value=Z)},C=(x,M)=>{i("update:checkedKeys",x),i("check",x,M)},{prefixCls:B,direction:O}=An("tree",e);return()=>{const x=Ze(`${B.value}-directory`,{[`${B.value}-directory-rtl`]:O.value==="rtl"},n.class),{icon:M=r.icon,blockNode:R=!0}=e,F=S5e(e,["icon","blockNode"]);return $(Pb,ye(ye(ye({},n),{},{icon:M||F5e,ref:c,blockNode:R},F),{},{prefixCls:B.value,class:x,expandedKeys:h.value,selectedKeys:g.value,onSelect:w,onClick:y,onDblclick:b,onExpand:v,onCheck:C}),r)}}}),Yx=fI,I5e=V(Pb,{DirectoryTree:Xx,TreeNode:Yx,install:e=>(e.component(Pb.name,Pb),e.component(Yx.name,Yx),e.component(Xx.name,Xx),e)});function VR(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const r=new Set;function i(o,A){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;const s=r.has(o);if(D6(!s,"Warning: There may be circular references"),s)return!1;if(o===A)return!0;if(n&&a>1)return!1;r.add(o);const u=a+1;if(Array.isArray(o)){if(!Array.isArray(A)||o.length!==A.length)return!1;for(let l=0;l<o.length;l++)if(!i(o[l],A[l],u))return!1;return!0}if(o&&A&&typeof o=="object"&&typeof A=="object"){const l=Object.keys(o);return l.length!==Object.keys(A).length?!1:l.every(c=>i(o[c],A[c],u))}return!1}return i(e,t)}const{SubMenu:_5e,Item:O5e}=la;function T5e(e){return e.some(t=>{let{children:n}=t;return n&&n.length>0})}function WX(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function qX(e){let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:o,filterSearch:A}=e;return t.map((a,s)=>{const u=String(a.value);if(a.children)return $(_5e,{key:u||s,title:a.text,popupClassName:`${n}-dropdown-submenu`},{default:()=>[qX({filters:a.children,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:o,filterSearch:A})]});const l=i?Ru:UA,c=$(O5e,{key:a.value!==void 0?u:s},{default:()=>[$(l,{checked:r.includes(u)},null),$("span",null,[a.text])]});return o.trim()?typeof A=="function"?A(o,a)?c:void 0:WX(o,a.text)?c:void 0:c})}const U5e=Je({name:"FilterDropdown",props:["tablePrefixCls","prefixCls","dropdownPrefixCls","column","filterState","filterMultiple","filterMode","filterSearch","columnKey","triggerFilter","locale","getPopupContainer"],setup(e,t){let{slots:n}=t;const r=FT(),i=fe(()=>{var _;return(_=e.filterMode)!==null&&_!==void 0?_:"menu"}),o=fe(()=>{var _;return(_=e.filterSearch)!==null&&_!==void 0?_:!1}),A=fe(()=>e.column.filterDropdownOpen||e.column.filterDropdownVisible),a=fe(()=>e.column.onFilterDropdownOpenChange||e.column.onFilterDropdownVisibleChange),s=Me(!1),u=fe(()=>{var _;return!!(e.filterState&&(!((_=e.filterState.filteredKeys)===null||_===void 0)&&_.length||e.filterState.forceFiltered))}),l=fe(()=>{var _;return sC((_=e.column)===null||_===void 0?void 0:_.filters)}),c=fe(()=>{const{filterDropdown:_,slots:Y={},customFilterDropdown:re}=e.column;return _||Y.filterDropdown&&r.value[Y.filterDropdown]||re&&r.value.customFilterDropdown}),d=fe(()=>{const{filterIcon:_,slots:Y={}}=e.column;return _||Y.filterIcon&&r.value[Y.filterIcon]||r.value.customFilterIcon}),f=_=>{var Y;s.value=_,(Y=a.value)===null||Y===void 0||Y.call(a,_)},g=fe(()=>typeof A.value=="boolean"?A.value:s.value),h=fe(()=>{var _;return(_=e.filterState)===null||_===void 0?void 0:_.filteredKeys}),m=Me([]),p=_=>{let{selectedKeys:Y}=_;m.value=Y},v=(_,Y)=>{let{node:re,checked:se}=Y;e.filterMultiple?p({selectedKeys:_}):p({selectedKeys:se&&re.key?[re.key]:[]})};st(h,()=>{s.value&&p({selectedKeys:h.value||[]})},{immediate:!0});const y=Me([]),b=Me(),w=_=>{b.value=setTimeout(()=>{y.value=_})},C=()=>{clearTimeout(b.value)};En(()=>{clearTimeout(b.value)});const B=Me(""),O=_=>{const{value:Y}=_.target;B.value=Y};st(s,()=>{s.value||(B.value="")});const x=_=>{const{column:Y,columnKey:re,filterState:se}=e,ce=_&&_.length?_:null;if(ce===null&&(!se||!se.filteredKeys)||VR(ce,se==null?void 0:se.filteredKeys,!0))return null;e.triggerFilter({column:Y,key:re,filteredKeys:ce})},M=()=>{f(!1),x(m.value)},R=function(){let{confirm:_,closeDropdown:Y}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};_&&x([]),Y&&f(!1),B.value="",e.column.filterResetToDefaultFilteredValue?m.value=(e.column.defaultFilteredValue||[]).map(re=>String(re)):m.value=[]},F=function(){let{closeDropdown:_}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};_&&f(!1),x(m.value)},L=_=>{_&&h.value!==void 0&&(m.value=h.value||[]),f(_),!_&&!c.value&&M()},{direction:E}=An("",e),H=_=>{if(_.target.checked){const Y=l.value;m.value=Y}else m.value=[]},X=_=>{let{filters:Y}=_;return(Y||[]).map((re,se)=>{const ce=String(re.value),N={title:re.text,key:re.value!==void 0?ce:se};return re.children&&(N.children=X({filters:re.children})),N})},z=_=>{var Y;return V(V({},_),{text:_.title,value:_.key,children:((Y=_.children)===null||Y===void 0?void 0:Y.map(re=>z(re)))||[]})},Z=fe(()=>X({filters:e.column.filters})),q=fe(()=>Ze({[`${e.dropdownPrefixCls}-menu-without-submenu`]:!T5e(e.column.filters||[])})),te=()=>{const _=m.value,{column:Y,locale:re,tablePrefixCls:se,filterMultiple:ce,dropdownPrefixCls:N,getPopupContainer:K,prefixCls:Ae}=e;return(Y.filters||[]).length===0?$(bd,{image:bd.PRESENTED_IMAGE_SIMPLE,description:re.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}},null):i.value==="tree"?$(mn,null,[$(OR,{filterSearch:o.value,value:B.value,onChange:O,tablePrefixCls:se,locale:re},null),$("div",{class:`${se}-filter-dropdown-tree`},[ce?$(Ru,{class:`${se}-filter-dropdown-checkall`,onChange:H,checked:_.length===l.value.length,indeterminate:_.length>0&&_.length<l.value.length},{default:()=>[re.filterCheckall]}):null,$(I5e,{checkable:!0,selectable:!1,blockNode:!0,multiple:ce,checkStrictly:!ce,class:`${N}-menu`,onCheck:v,checkedKeys:_,selectedKeys:_,showIcon:!1,treeData:Z.value,autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:B.value.trim()?ae=>typeof o.value=="function"?o.value(B.value,z(ae)):WX(B.value,ae.title):void 0},null)])]):$(mn,null,[$(OR,{filterSearch:o.value,value:B.value,onChange:O,tablePrefixCls:se,locale:re},null),$(la,{multiple:ce,prefixCls:`${N}-menu`,class:q.value,onClick:C,onSelect:p,onDeselect:p,selectedKeys:_,getPopupContainer:K,openKeys:y.value,onOpenChange:w},{default:()=>qX({filters:Y.filters||[],filterSearch:o.value,prefixCls:Ae,filteredKeys:m.value,filterMultiple:ce,searchValue:B.value})})])},ne=fe(()=>{const _=m.value;return e.column.filterResetToDefaultFilteredValue?VR((e.column.defaultFilteredValue||[]).map(Y=>String(Y)),_,!0):_.length===0});return()=>{var _;const{tablePrefixCls:Y,prefixCls:re,column:se,dropdownPrefixCls:ce,locale:N,getPopupContainer:K}=e;let Ae;typeof c.value=="function"?Ae=c.value({prefixCls:`${ce}-custom`,setSelectedKeys:J=>p({selectedKeys:J}),selectedKeys:m.value,confirm:F,clearFilters:R,filters:se.filters,visible:g.value,column:se.__originColumn__,close:()=>{f(!1)}}):c.value?Ae=c.value:Ae=$(mn,null,[te(),$("div",{class:`${re}-dropdown-btns`},[$(Oo,{type:"link",size:"small",disabled:ne.value,onClick:()=>R()},{default:()=>[N.filterReset]}),$(Oo,{type:"primary",size:"small",onClick:M},{default:()=>[N.filterConfirm]})])]);const ae=$(WEe,{class:`${re}-dropdown`},{default:()=>[Ae]});let ie;return typeof d.value=="function"?ie=d.value({filtered:u.value,column:se.__originColumn__}):d.value?ie=d.value:ie=$(UT,null,null),$("div",{class:`${re}-column`},[$("span",{class:`${Y}-column-title`},[(_=n.default)===null||_===void 0?void 0:_.call(n)]),$(Du,{overlay:ae,trigger:["click"],open:g.value,onOpenChange:L,getPopupContainer:K,placement:E.value==="rtl"?"bottomLeft":"bottomRight"},{default:()=>[$("span",{role:"button",tabindex:-1,class:Ze(`${re}-trigger`,{active:u.value}),onClick:J=>{J.stopPropagation()}},[ie])]})])}}});function VI(e,t,n){let r=[];return(e||[]).forEach((i,o)=>{var A,a;const s=Tv(o,n),u=i.filterDropdown||((A=i==null?void 0:i.slots)===null||A===void 0?void 0:A.filterDropdown)||i.customFilterDropdown;if(i.filters||u||"onFilter"in i)if("filteredValue"in i){let l=i.filteredValue;u||(l=(a=l==null?void 0:l.map(String))!==null&&a!==void 0?a:l),r.push({column:i,key:eh(i,s),filteredKeys:l,forceFiltered:i.filtered})}else r.push({column:i,key:eh(i,s),filteredKeys:t&&i.defaultFilteredValue?i.defaultFilteredValue:void 0,forceFiltered:i.filtered});"children"in i&&(r=[...r,...VI(i.children,t,s)])}),r}function XX(e,t,n,r,i,o,A,a){return n.map((s,u)=>{var l;const c=Tv(u,a),{filterMultiple:d=!0,filterMode:f,filterSearch:g}=s;let h=s;const m=s.filterDropdown||((l=s==null?void 0:s.slots)===null||l===void 0?void 0:l.filterDropdown)||s.customFilterDropdown;if(h.filters||m){const p=eh(h,c),v=r.find(y=>{let{key:b}=y;return p===b});h=V(V({},h),{title:y=>$(U5e,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:h,columnKey:p,filterState:v,filterMultiple:d,filterMode:f,filterSearch:g,triggerFilter:o,locale:i,getPopupContainer:A},{default:()=>[TT(s.title,y)]})})}return"children"in h&&(h=V(V({},h),{children:XX(e,t,h.children,r,i,o,A,c)})),h})}function sC(e){let t=[];return(e||[]).forEach(n=>{let{value:r,children:i}=n;t.push(r),i&&(t=[...t,...sC(i)])}),t}function zR(e){const t={};return e.forEach(n=>{let{key:r,filteredKeys:i,column:o}=n;var A;const a=o.filterDropdown||((A=o==null?void 0:o.slots)===null||A===void 0?void 0:A.filterDropdown)||o.customFilterDropdown,{filters:s}=o;if(a)t[r]=i||null;else if(Array.isArray(i)){const u=sC(s);t[r]=u.filter(l=>i.includes(String(l)))}else t[r]=null}),t}function GR(e,t){return t.reduce((n,r)=>{const{column:{onFilter:i,filters:o},filteredKeys:A}=r;return i&&A&&A.length?n.filter(a=>A.some(s=>{const u=sC(o),l=u.findIndex(d=>String(d)===String(s)),c=l!==-1?u[l]:s;return i(c,a)})):n},e)}function YX(e){return e.flatMap(t=>"children"in t?[t,...YX(t.children||[])]:[t])}function Q5e(e){let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,locale:i,onFilterChange:o,getPopupContainer:A}=e;const a=fe(()=>YX(r.value)),[s,u]=ir(VI(a.value,!0)),l=fe(()=>{const g=VI(a.value,!1);if(g.length===0)return g;let h=!0,m=!0;if(g.forEach(p=>{let{filteredKeys:v}=p;v!==void 0?h=!1:m=!1}),h){const p=(a.value||[]).map((v,y)=>eh(v,Tv(y)));return s.value.filter(v=>{let{key:y}=v;return p.includes(y)}).map(v=>{const y=a.value[p.findIndex(b=>b===v.key)];return V(V({},v),{column:V(V({},v.column),y),forceFiltered:y.filtered})})}return Xr(m,"Table","Columns should all contain `filteredValue` or not contain `filteredValue`."),g}),c=fe(()=>zR(l.value)),d=g=>{const h=l.value.filter(m=>{let{key:p}=m;return p!==g.key});h.push(g),u(h),o(zR(h),h)};return[g=>XX(t.value,n.value,g,l.value,i.value,d,A.value),l,c]}function JX(e,t){return e.map(n=>{const r=V({},n);return r.title=TT(r.title,t),"children"in r&&(r.children=JX(r.children,t)),r})}function P5e(e){return[n=>JX(n,e.value)]}function L5e(e){return function(n){let{prefixCls:r,onExpand:i,record:o,expanded:A,expandable:a}=n;const s=`${r}-row-expand-icon`;return $("button",{type:"button",onClick:u=>{i(o,u),u.stopPropagation()},class:Ze(s,{[`${s}-spaced`]:!a,[`${s}-expanded`]:a&&A,[`${s}-collapsed`]:a&&!A}),"aria-label":A?e.collapse:e.expand,"aria-expanded":A},null)}}function ZX(e,t){const n=t.value;return e.map(r=>{var i;if(r===Fu||r===Mc)return r;const o=V({},r),{slots:A={}}=o;return o.__originColumn__=r,Xr(!("slots"in o),"Table","`column.slots` is deprecated. Please use `v-slot:headerCell` `v-slot:bodyCell` instead."),Object.keys(A).forEach(a=>{const s=A[a];o[a]===void 0&&n[s]&&(o[a]=n[s])}),t.value.headerCell&&!(!((i=r.slots)===null||i===void 0)&&i.title)&&(o.title=Y6(t.value,"headerCell",{title:r.title,column:r},()=>[r.title])),"children"in o&&Array.isArray(o.children)&&(o.children=ZX(o.children,t)),o})}function D5e(e){return[n=>ZX(n,e)]}const R5e=e=>{const{componentCls:t}=e,n=`${e.lineWidth}px ${e.lineType} ${e.tableBorderColor}`,r=(i,o,A)=>({[`&${t}-${i}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"> table > tbody > tr > td":{[`> ${t}-expanded-row-fixed`]:{margin:`-${o}px -${A+e.lineWidth}px`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:V(V(V({[`> ${t}-title`]:{border:n,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:n,[`
- > ${t}-content,
- > ${t}-header,
- > ${t}-body,
- > ${t}-summary
- `]:{"> table":{"\n > thead > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:n},"> thead":{"> tr:not(:last-child) > th":{borderBottom:n},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:n}},"> tbody > tr > td":{[`> ${t}-expanded-row-fixed`]:{margin:`-${e.tablePaddingVertical}px -${e.tablePaddingHorizontal+e.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:e.lineWidth,bottom:0,borderInlineEnd:n,content:'""'}}}}},[`
- > ${t}-content,
- > ${t}-header
- `]:{"> table":{borderTop:n}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[`
- > tr${t}-expanded-row,
- > tr${t}-placeholder
- `]:{"> td":{borderInlineEnd:0}}}}}},r("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),r("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:n,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${e.lineWidth}px 0 ${e.lineWidth}px ${e.tableHeaderBg}`}}}}},$5e=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:V(V({},ju),{wordBreak:"keep-all",[`
- &${t}-cell-fix-left-last,
- &${t}-cell-fix-right-first
- `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},N5e=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,"&:hover > td":{background:e.colorBgContainer}}}}},H5e=e=>{const{componentCls:t,antCls:n,controlInteractiveSize:r,motionDurationSlow:i,lineWidth:o,paddingXS:A,lineType:a,tableBorderColor:s,tableExpandIconBg:u,tableExpandColumnWidth:l,borderRadius:c,fontSize:d,fontSizeSM:f,lineHeight:g,tablePaddingVertical:h,tablePaddingHorizontal:m,tableExpandedRowBg:p,paddingXXS:v}=e,y=r/2-o,b=y*2+o*3,w=`${o}px ${a} ${s}`,C=v-o;return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:l},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:V(V({},ese(e)),{position:"relative",float:"left",boxSizing:"border-box",width:b,height:b,padding:0,color:"inherit",lineHeight:`${b}px`,background:u,border:w,borderRadius:c,transform:`scale(${r/b})`,transition:`all ${i}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${i} ease-out`,content:'""'},"&::before":{top:y,insetInlineEnd:C,insetInlineStart:C,height:o},"&::after":{top:C,bottom:C,insetInlineStart:y,width:o,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:(d*g-o*3)/2-Math.ceil((f*1.4-o*3)/2),marginInlineEnd:A},[`tr${t}-expanded-row`]:{"&, &:hover":{"> td":{background:p}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`-${h}px -${m}px`,padding:`${h}px ${m}px`}}}},M5e=e=>{const{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:i,tableFilterDropdownSearchWidth:o,paddingXXS:A,paddingXS:a,colorText:s,lineWidth:u,lineType:l,tableBorderColor:c,tableHeaderIconColor:d,fontSizeSM:f,tablePaddingHorizontal:g,borderRadius:h,motionDurationSlow:m,colorTextDescription:p,colorPrimary:v,tableHeaderFilterActiveBg:y,colorTextDisabled:b,tableFilterDropdownBg:w,tableFilterDropdownHeight:C,controlItemBgHover:B,controlItemBgActive:O,boxShadowSecondary:x}=e,M=`${n}-dropdown`,R=`${t}-filter-dropdown`,F=`${n}-tree`,L=`${u}px ${l} ${c}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-A,marginInline:`${A}px ${-g/2}px`,padding:`0 ${A}px`,color:d,fontSize:f,borderRadius:h,cursor:"pointer",transition:`all ${m}`,"&:hover":{color:p,background:y},"&.active":{color:v}}}},{[`${n}-dropdown`]:{[R]:V(V({},qn(e)),{minWidth:i,backgroundColor:w,borderRadius:h,boxShadow:x,[`${M}-menu`]:{maxHeight:C,overflowX:"hidden",border:0,boxShadow:"none","&:empty::after":{display:"block",padding:`${a}px 0`,color:b,fontSize:f,textAlign:"center",content:'"Not Found"'}},[`${R}-tree`]:{paddingBlock:`${a}px 0`,paddingInline:a,[F]:{padding:0},[`${F}-treenode ${F}-node-content-wrapper:hover`]:{backgroundColor:B},[`${F}-treenode-checkbox-checked ${F}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:O}}},[`${R}-search`]:{padding:a,borderBottom:L,"&-input":{input:{minWidth:o},[r]:{color:b}}},[`${R}-checkall`]:{width:"100%",marginBottom:A,marginInlineStart:A},[`${R}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${a-u}px ${a}px`,overflow:"hidden",backgroundColor:"inherit",borderTop:L}})}},{[`${n}-dropdown ${R}, ${R}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:a,color:s},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},k5e=e=>{const{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:i,zIndexTableFixed:o,tableBg:A,zIndexTableSticky:a}=e,s=r;return{[`${t}-wrapper`]:{[`
- ${t}-cell-fix-left,
- ${t}-cell-fix-right
- `]:{position:"sticky !important",zIndex:o,background:A},[`
- ${t}-cell-fix-left-first::after,
- ${t}-cell-fix-left-last::after
- `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-n,width:30,transform:"translateX(100%)",transition:`box-shadow ${i}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[`
- ${t}-cell-fix-right-first::after,
- ${t}-cell-fix-right-last::after
- `]:{position:"absolute",top:0,bottom:-n,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${i}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:a+1,width:30,transition:`box-shadow ${i}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${s}`}},[`
- ${t}-cell-fix-left-first::after,
- ${t}-cell-fix-left-last::after
- `]:{boxShadow:`inset 10px 0 8px -8px ${s}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${s}`}},[`
- ${t}-cell-fix-right-first::after,
- ${t}-cell-fix-right-last::after
- `]:{boxShadow:`inset -10px 0 8px -8px ${s}`}}}}},j5e=e=>{const{componentCls:t,antCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${e.margin}px 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},K5e=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${n}px ${n}px 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,table:{borderRadius:0,"> thead > tr:first-child":{"th:first-child":{borderRadius:0},"th:last-child":{borderRadius:0}}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${n}px ${n}px`}}}}},V5e=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{"&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}}}}},z5e=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:i,paddingXS:o,tableHeaderIconColor:A,tableHeaderIconColorHover:a}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:e.tableSelectionColumnWidth},[`${t}-bordered ${t}-selection-col`]:{width:e.tableSelectionColumnWidth+o*2},[`
- table tr th${t}-selection-column,
- table tr td${t}-selection-column
- `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:e.zIndexTableFixed+1},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${e.tablePaddingHorizontal/4}px`,[r]:{color:A,fontSize:i,verticalAlign:"baseline","&:hover":{color:a}}}}}},G5e=e=>{const{componentCls:t}=e,n=(r,i,o,A)=>({[`${t}${t}-${r}`]:{fontSize:A,[`
- ${t}-title,
- ${t}-footer,
- ${t}-thead > tr > th,
- ${t}-tbody > tr > td,
- tfoot > tr > th,
- tfoot > tr > td
- `]:{padding:`${i}px ${o}px`},[`${t}-filter-trigger`]:{marginInlineEnd:`-${o/2}px`},[`${t}-expanded-row-fixed`]:{margin:`-${i}px -${o}px`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:`-${i}px`,marginInline:`${e.tableExpandColumnWidth-o}px -${o}px`}},[`${t}-selection-column`]:{paddingInlineStart:`${o/4}px`}}});return{[`${t}-wrapper`]:V(V({},n("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),n("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},W5e=e=>{const{componentCls:t}=e;return{[`${t}-wrapper ${t}-resize-handle`]:{position:"absolute",top:0,height:"100% !important",bottom:0,left:" auto !important",right:" -8px",cursor:"col-resize",touchAction:"none",userSelect:"auto",width:"16px",zIndex:1,"&-line":{display:"block",width:"1px",marginLeft:"7px",height:"100% !important",backgroundColor:e.colorPrimary,opacity:0},"&:hover &-line":{opacity:1}},[`${t}-wrapper ${t}-resize-handle.dragging`]:{overflow:"hidden",[`${t}-resize-handle-line`]:{opacity:1},"&:before":{position:"absolute",top:0,bottom:0,content:'" "',width:"200vw",transform:"translateX(-50%)",opacity:0}}}},q5e=e=>{const{componentCls:t,marginXXS:n,fontSizeIcon:r,tableHeaderIconColor:i,tableHeaderIconColorHover:o}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[`
- &${t}-cell-fix-left:hover,
- &${t}-cell-fix-right:hover
- `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorter`]:{marginInlineStart:n,color:i,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:o}}}},X5e=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:i,tableScrollThumbSize:o,tableScrollBg:A,zIndexTableSticky:a}=e,s=`${e.lineWidth}px ${e.lineType} ${e.tableBorderColor}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:a,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${o}px !important`,zIndex:a,display:"flex",alignItems:"center",background:A,borderTop:s,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:o,backgroundColor:r,borderRadius:100,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:i}}}}}}},WR=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:r}=e,i=`${n}px ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:i}}},[`div${t}-summary`]:{boxShadow:`0 -${n}px 0 ${r}`}}}},Y5e=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:i,lineWidth:o,lineType:A,tableBorderColor:a,tableFontSize:s,tableBg:u,tableRadius:l,tableHeaderTextColor:c,motionDurationMid:d,tableHeaderBg:f,tableHeaderCellSplitColor:g,tableRowHoverBg:h,tableSelectedRowBg:m,tableSelectedRowHoverBg:p,tableFooterTextColor:v,tableFooterBg:y,paddingContentVerticalLG:b}=e,w=`${o}px ${A} ${a}`;return{[`${t}-wrapper`]:V(V({clear:"both",maxWidth:"100%"},qd()),{[t]:V(V({},qn(e)),{fontSize:s,background:u,borderRadius:`${l}px ${l}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${l}px ${l}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
- ${t}-thead > tr > th,
- ${t}-tbody > tr > td,
- tfoot > tr > th,
- tfoot > tr > td
- `]:{position:"relative",padding:`${b}px ${i}px`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${r}px ${i}px`},[`${t}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:c,fontWeight:n,textAlign:"start",background:f,borderBottom:w,transition:`background ${d} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:g,transform:"translateY(-50%)",transition:`background-color ${d}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}:not(${t}-bordered)`]:{[`${t}-tbody`]:{"> tr":{"> td":{borderTop:w,borderBottom:"transparent"},"&:last-child > td":{borderBottom:w},[`&:first-child > td,
- &${t}-measure-row + tr > td`]:{borderTop:"none",borderTopColor:"transparent"}}}},[`${t}${t}-bordered`]:{[`${t}-tbody`]:{"> tr":{"> td":{borderBottom:w}}}},[`${t}-tbody`]:{"> tr":{"> td":{transition:`background ${d}, border-color ${d}`,[`
- > ${t}-wrapper:only-child,
- > ${t}-expanded-row-fixed > ${t}-wrapper:only-child
- `]:{[t]:{marginBlock:`-${r}px`,marginInline:`${e.tableExpandColumnWidth-i}px -${i}px`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},[`
- &${t}-row:hover > td,
- > td${t}-cell-row-hover
- `]:{background:h},[`&${t}-row-selected`]:{"> td":{background:m},"&:hover > td":{background:p}}}},[`${t}-footer`]:{padding:`${r}px ${i}px`,color:v,background:y}})}},J5e=or("Table",e=>{const{controlItemBgActive:t,controlItemBgActiveHover:n,colorTextPlaceholder:r,colorTextHeading:i,colorSplit:o,colorBorderSecondary:A,fontSize:a,padding:s,paddingXS:u,paddingSM:l,controlHeight:c,colorFillAlter:d,colorIcon:f,colorIconHover:g,opacityLoading:h,colorBgContainer:m,borderRadiusLG:p,colorFillContent:v,colorFillSecondary:y,controlInteractiveSize:b}=e,w=new Lr(f),C=new Lr(g),B=t,O=2,x=new Lr(y).onBackground(m).toHexString(),M=new Lr(v).onBackground(m).toHexString(),R=new Lr(d).onBackground(m).toHexString(),F=_n(e,{tableFontSize:a,tableBg:m,tableRadius:p,tablePaddingVertical:s,tablePaddingHorizontal:s,tablePaddingVerticalMiddle:l,tablePaddingHorizontalMiddle:u,tablePaddingVerticalSmall:u,tablePaddingHorizontalSmall:u,tableBorderColor:A,tableHeaderTextColor:i,tableHeaderBg:R,tableFooterTextColor:i,tableFooterBg:R,tableHeaderCellSplitColor:A,tableHeaderSortBg:x,tableHeaderSortHoverBg:M,tableHeaderIconColor:w.clone().setAlpha(w.getAlpha()*h).toRgbString(),tableHeaderIconColorHover:C.clone().setAlpha(C.getAlpha()*h).toRgbString(),tableBodySortBg:R,tableFixedHeaderSortActiveBg:x,tableHeaderFilterActiveBg:v,tableFilterDropdownBg:m,tableRowHoverBg:R,tableSelectedRowBg:B,tableSelectedRowHoverBg:n,zIndexTableFixed:O,zIndexTableSticky:O+1,tableFontSizeMiddle:a,tableFontSizeSmall:a,tableSelectionColumnWidth:c,tableExpandIconBg:m,tableExpandColumnWidth:b+2*e.padding,tableExpandedRowBg:d,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:r,tableScrollThumbBgHover:i,tableScrollBg:o});return[Y5e(F),j5e(F),WR(F),q5e(F),M5e(F),R5e(F),K5e(F),H5e(F),WR(F),N5e(F),z5e(F),k5e(F),X5e(F),$5e(F),G5e(F),W5e(F),V5e(F)]}),Z5e=[],eY=()=>({prefixCls:yn(),columns:fr(),rowKey:Hn([String,Function]),tableLayout:yn(),rowClassName:Hn([String,Function]),title:lt(),footer:lt(),id:yn(),showHeader:Qt(),components:qt(),customRow:lt(),customHeaderRow:lt(),direction:yn(),expandFixed:Hn([Boolean,String]),expandColumnWidth:Number,expandedRowKeys:fr(),defaultExpandedRowKeys:fr(),expandedRowRender:lt(),expandRowByClick:Qt(),expandIcon:lt(),onExpand:lt(),onExpandedRowsChange:lt(),"onUpdate:expandedRowKeys":lt(),defaultExpandAllRows:Qt(),indentSize:Number,expandIconColumnIndex:Number,showExpandColumn:Qt(),expandedRowClassName:lt(),childrenColumnName:yn(),rowExpandable:lt(),sticky:Hn([Boolean,Object]),dropdownPrefixCls:String,dataSource:fr(),pagination:Hn([Boolean,Object]),loading:Hn([Boolean,Object]),size:yn(),bordered:Qt(),locale:qt(),onChange:lt(),onResizeColumn:lt(),rowSelection:qt(),getPopupContainer:lt(),scroll:qt(),sortDirections:fr(),showSorterTooltip:Hn([Boolean,Object],!0),transformCellText:lt()}),e4e=Je({name:"InternalTable",inheritAttrs:!1,props:lr(V(V({},eY()),{contextSlots:qt()}),{rowKey:"key"}),setup(e,t){let{attrs:n,slots:r,expose:i,emit:o}=t;Xr(!(typeof e.rowKey=="function"&&e.rowKey.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected."),jSe(fe(()=>e.contextSlots)),KSe({onResizeColumn:(k,P)=>{o("resizeColumn",k,P)}});const A=UO(),a=fe(()=>{const k=new Set(Object.keys(A.value).filter(P=>A.value[P]));return e.columns.filter(P=>!P.responsive||P.responsive.some(U=>k.has(U)))}),{size:s,renderEmpty:u,direction:l,prefixCls:c,configProvider:d}=An("table",e),[f,g]=J5e(c),h=fe(()=>{var k;return e.transformCellText||((k=d.transformCellText)===null||k===void 0?void 0:k.value)}),[m]=Rl("Table",Ss.Table,fn(e,"locale")),p=fe(()=>e.dataSource||Z5e),v=fe(()=>d.getPrefixCls("dropdown",e.dropdownPrefixCls)),y=fe(()=>e.childrenColumnName||"children"),b=fe(()=>p.value.some(k=>k==null?void 0:k[y.value])?"nest":e.expandedRowRender?"row":null),w=Ir({body:null}),C=k=>{V(w,k)},B=fe(()=>typeof e.rowKey=="function"?e.rowKey:k=>k==null?void 0:k[e.rowKey]),[O]=LEe(p,y,B),x={},M=function(k,P){let U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{pagination:W,scroll:de,onChange:me}=e,ve=V(V({},x),k);U&&(x.resetPagination(),ve.pagination.current&&(ve.pagination.current=1),W&&W.onChange&&W.onChange(1,ve.pagination.pageSize)),de&&de.scrollToFirstRowOnChange!==!1&&w.body&&vse(0,{getContainer:()=>w.body}),me==null||me(ve.pagination,ve.filters,ve.sorter,{currentDataSource:GR(jI(p.value,ve.sorterStates,y.value),ve.filterStates),action:P})},R=(k,P)=>{M({sorter:k,sorterStates:P},"sort",!1)},[F,L,E,H]=KEe({prefixCls:c,mergedColumns:a,onSorterChange:R,sortDirections:fe(()=>e.sortDirections||["ascend","descend"]),tableLocale:m,showSorterTooltip:fn(e,"showSorterTooltip")}),X=fe(()=>jI(p.value,L.value,y.value)),z=(k,P)=>{M({filters:k,filterStates:P},"filter",!0)},[Z,q,te]=Q5e({prefixCls:c,locale:m,dropdownPrefixCls:v,mergedColumns:a,onFilterChange:z,getPopupContainer:fn(e,"getPopupContainer")}),ne=fe(()=>GR(X.value,q.value)),[_]=D5e(fn(e,"contextSlots")),Y=fe(()=>{const k={},P=te.value;return Object.keys(P).forEach(U=>{P[U]!==null&&(k[U]=P[U])}),V(V({},E.value),{filters:k})}),[re]=P5e(Y),se=(k,P)=>{M({pagination:V(V({},x.pagination),{current:k,pageSize:P})},"paginate")},[ce,N]=PEe(fe(()=>ne.value.length),fn(e,"pagination"),se);ln(()=>{x.sorter=H.value,x.sorterStates=L.value,x.filters=te.value,x.filterStates=q.value,x.pagination=e.pagination===!1?{}:QEe(ce.value,e.pagination),x.resetPagination=N});const K=fe(()=>{if(e.pagination===!1||!ce.value.pageSize)return ne.value;const{current:k=1,total:P,pageSize:U=$I}=ce.value;return Xr(k>0,"Table","`current` should be positive number."),ne.value.length<P?ne.value.length>U?ne.value.slice((k-1)*U,k*U):ne.value:ne.value.slice((k-1)*U,k*U)});ln(()=>{$n(()=>{const{total:k,pageSize:P=$I}=ce.value;ne.value.length<k&&ne.value.length>P&&Xr(!1,"Table","`dataSource` length is less than `pagination.total` but large than `pagination.pageSize`. Please make sure your config correct data with async mode.")})},{flush:"post"});const Ae=fe(()=>e.showExpandColumn===!1?-1:b.value==="nest"&&e.expandIconColumnIndex===void 0?e.rowSelection?1:0:e.expandIconColumnIndex>0&&e.rowSelection?e.expandIconColumnIndex-1:e.expandIconColumnIndex),ae=qe();st(()=>e.rowSelection,()=>{ae.value=e.rowSelection?V({},e.rowSelection):e.rowSelection},{deep:!0,immediate:!0});const[ie,J]=REe(ae,{prefixCls:c,data:ne,pageData:K,getRowKey:B,getRecordByKey:O,expandType:b,childrenColumnName:y,locale:m,getPopupContainer:fe(()=>e.getPopupContainer)}),ue=(k,P,U)=>{let W;const{rowClassName:de}=e;return typeof de=="function"?W=Ze(de(k,P,U)):W=Ze(de),Ze({[`${c.value}-row-selected`]:J.value.has(B.value(k,P))},W)};i({selectedKeySet:J});const G=fe(()=>typeof e.indentSize=="number"?e.indentSize:15),pe=k=>re(ie(Z(F(_(k)))));return()=>{var k;const{expandIcon:P=r.expandIcon||L5e(m.value),pagination:U,loading:W,bordered:de}=e;let me,ve;if(U!==!1&&(!((k=ce.value)===null||k===void 0)&&k.total)){let xe;ce.value.size?xe=ce.value.size:xe=s.value==="small"||s.value==="middle"?"small":void 0;const Ue=De=>$(Zxe,ye(ye({},ce.value),{},{class:[`${c.value}-pagination ${c.value}-pagination-${De}`,ce.value.class],size:xe}),null),ke=l.value==="rtl"?"left":"right",{position:et}=ce.value;if(et!==null&&Array.isArray(et)){const De=et.find(Ne=>Ne.includes("top")),_e=et.find(Ne=>Ne.includes("bottom")),Re=et.every(Ne=>`${Ne}`=="none");!De&&!_e&&!Re&&(ve=Ue(ke)),De&&(me=Ue(De.toLowerCase().replace("top",""))),_e&&(ve=Ue(_e.toLowerCase().replace("bottom","")))}else ve=Ue(ke)}let be;typeof W=="boolean"?be={spinning:W}:typeof W=="object"&&(be=V({spinning:!0},W));const Te=Ze(`${c.value}-wrapper`,{[`${c.value}-wrapper-rtl`]:l.value==="rtl"},n.class,g.value),we=_r(e,["columns"]);return f($("div",{class:Te,style:n.style},[$(ym,ye({spinning:!1},be),{default:()=>[me,$(TEe,ye(ye(ye({},n),we),{},{expandedRowKeys:e.expandedRowKeys,defaultExpandedRowKeys:e.defaultExpandedRowKeys,expandIconColumnIndex:Ae.value,indentSize:G.value,expandIcon:P,columns:a.value,direction:l.value,prefixCls:c.value,class:Ze({[`${c.value}-middle`]:s.value==="middle",[`${c.value}-small`]:s.value==="small",[`${c.value}-bordered`]:de,[`${c.value}-empty`]:p.value.length===0}),data:K.value,rowKey:B.value,rowClassName:ue,internalHooks:RI,internalRefs:w,onUpdateInternalRefs:C,transformColumns:pe,transformCellText:h.value}),V(V({},r),{emptyText:()=>{var xe,Ue;return((xe=r.emptyText)===null||xe===void 0?void 0:xe.call(r))||((Ue=e.locale)===null||Ue===void 0?void 0:Ue.emptyText)||u("Table")}})),ve]})]))}}}),Jx=Je({name:"ATable",inheritAttrs:!1,props:lr(eY(),{rowKey:"key"}),slots:Object,setup(e,t){let{attrs:n,slots:r,expose:i}=t;const o=qe();return i({table:o}),()=>{var A;const a=e.columns||KX((A=r.default)===null||A===void 0?void 0:A.call(r));return $(e4e,ye(ye(ye({ref:o},n),e),{},{columns:a,expandedRowRender:r.expandedRowRender||e.expandedRowRender,contextSlots:V({},r)}),r)}}}),Zx=Je({name:"ATableColumn",slots:Object,render(){return null}}),eS=Je({name:"ATableColumnGroup",slots:Object,__ANT_TABLE_COLUMN_GROUP:!0,render(){return null}}),zI=yEe,GI=BEe,tS=V(CEe,{Cell:GI,Row:zI,name:"ATableSummary"}),RHe=V(Jx,{SELECTION_ALL:NI,SELECTION_INVERT:HI,SELECTION_NONE:MI,SELECTION_COLUMN:Fu,EXPAND_COLUMN:Mc,Column:Zx,ColumnGroup:eS,Summary:tS,install:e=>(e.component(tS.name,tS),e.component(GI.name,GI),e.component(zI.name,zI),e.component(Jx.name,Jx),e.component(Zx.name,Zx),e.component(eS.name,eS),e)});var t4e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};function qR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){n4e(e,i,n[i])})}return e}function n4e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var NT=function(t,n){var r=qR({},t,n.attrs);return $(cn,qR({},r,{icon:t4e}),null)};NT.displayName="DeleteOutlined";NT.inheritAttrs=!1;const nS=()=>({format:String,showNow:Qt(),showHour:Qt(),showMinute:Qt(),showSecond:Qt(),use12Hours:Qt(),hourStep:Number,minuteStep:Number,secondStep:Number,hideDisabledOptions:Qt(),popupClassName:String,status:yn()});function r4e(e){const t=lX(e,V(V({},nS()),{order:{type:Boolean,default:!0}})),{TimePicker:n,RangePicker:r}=t,i=Je({name:"ATimePicker",inheritAttrs:!1,props:V(V(V(V({},Uw()),AX()),nS()),{addon:{type:Function}}),slots:Object,setup(A,a){let{slots:s,expose:u,emit:l,attrs:c}=a;const d=A,f=NA();Xr(!(s.addon||d.addon),"TimePicker","`addon` is deprecated. Please use `v-slot:renderExtraFooter` instead.");const g=qe();u({focus:()=>{var b;(b=g.value)===null||b===void 0||b.focus()},blur:()=>{var b;(b=g.value)===null||b===void 0||b.blur()}});const h=(b,w)=>{l("update:value",b),l("change",b,w),f.onFieldChange()},m=b=>{l("update:open",b),l("openChange",b)},p=b=>{l("focus",b)},v=b=>{l("blur",b),f.onFieldBlur()},y=b=>{l("ok",b)};return()=>{const{id:b=f.id.value}=d;return $(n,ye(ye(ye({},c),_r(d,["onUpdate:value","onUpdate:open"])),{},{id:b,dropdownClassName:d.popupClassName,mode:void 0,ref:g,renderExtraFooter:d.addon||s.addon||d.renderExtraFooter||s.renderExtraFooter,onChange:h,onOpenChange:m,onFocus:p,onBlur:v,onOk:y}),s)}}}),o=Je({name:"ATimeRangePicker",inheritAttrs:!1,props:V(V(V(V({},Uw()),aX()),nS()),{order:{type:Boolean,default:!0}}),slots:Object,setup(A,a){let{slots:s,expose:u,emit:l,attrs:c}=a;const d=A,f=qe(),g=NA();u({focus:()=>{var C;(C=f.value)===null||C===void 0||C.focus()},blur:()=>{var C;(C=f.value)===null||C===void 0||C.blur()}});const h=(C,B)=>{l("update:value",C),l("change",C,B),g.onFieldChange()},m=C=>{l("update:open",C),l("openChange",C)},p=C=>{l("focus",C)},v=C=>{l("blur",C),g.onFieldBlur()},y=(C,B)=>{l("panelChange",C,B)},b=C=>{l("ok",C)},w=(C,B,O)=>{l("calendarChange",C,B,O)};return()=>{const{id:C=g.id.value}=d;return $(r,ye(ye(ye({},c),_r(d,["onUpdate:open","onUpdate:value"])),{},{id:C,dropdownClassName:d.popupClassName,picker:"time",mode:void 0,ref:f,onChange:h,onOpenChange:m,onFocus:p,onBlur:v,onPanelChange:y,onOk:b,onCalendarChange:w}),s)}}});return{TimePicker:i,TimeRangePicker:o}}const{TimePicker:cy,TimeRangePicker:rS}=r4e(OW),$He=V(cy,{TimePicker:cy,TimeRangePicker:rS,install:e=>(e.component(cy.name,cy),e.component(rS.name,rS),e)});function i4e(e,t){const n=`cannot ${e.method} ${e.action} ${t.status}'`,r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}function XR(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}function o4e(e){const t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(o){o.total>0&&(o.percent=o.loaded/o.total*100),e.onProgress(o)});const n=new FormData;e.data&&Object.keys(e.data).forEach(i=>{const o=e.data[i];if(Array.isArray(o)){o.forEach(A=>{n.append(`${i}[]`,A)});return}n.append(i,o)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(o){e.onError(o)},t.onload=function(){return t.status<200||t.status>=300?e.onError(i4e(e,t),XR(t)):e.onSuccess(XR(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const r=e.headers||{};return r["X-Requested-With"]!==null&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach(i=>{r[i]!==null&&t.setRequestHeader(i,r[i])}),t.send(n),{abort(){t.abort()}}}const A4e=+new Date;let a4e=0;function iS(){return`vc-upload-${A4e}-${++a4e}`}const oS=(e,t)=>{if(e&&t){const n=Array.isArray(t)?t:t.split(","),r=e.name||"",i=e.type||"",o=i.replace(/\/.*$/,"");return n.some(A=>{const a=A.trim();if(/^\*(\/\*)?$/.test(A))return!0;if(a.charAt(0)==="."){const s=r.toLowerCase(),u=a.toLowerCase();let l=[u];return(u===".jpg"||u===".jpeg")&&(l=[".jpg",".jpeg"]),l.some(c=>s.endsWith(c))}return/\/\*$/.test(a)?o===a.replace(/\/.*$/,""):!!(i===a||/^\w+$/.test(a))})}return!0};function s4e(e,t){const n=e.createReader();let r=[];function i(){n.readEntries(o=>{const A=Array.prototype.slice.apply(o);r=r.concat(A),!A.length?t(r):i()})}i()}const l4e=(e,t,n)=>{const r=(i,o)=>{i.path=o||"",i.isFile?i.file(A=>{n(A)&&(i.fullPath&&!A.webkitRelativePath&&(Object.defineProperties(A,{webkitRelativePath:{writable:!0}}),A.webkitRelativePath=i.fullPath.replace(/^\//,""),Object.defineProperties(A,{webkitRelativePath:{writable:!1}})),t([A]))}):i.isDirectory&&s4e(i,A=>{A.forEach(a=>{r(a,`${o}${i.name}/`)})})};e.forEach(i=>{r(i.webkitGetAsEntry())})},tY=()=>({capture:[Boolean,String],multipart:{type:Boolean,default:void 0},name:String,disabled:{type:Boolean,default:void 0},componentTag:String,action:[String,Function],method:String,directory:{type:Boolean,default:void 0},data:[Object,Function],headers:Object,accept:String,multiple:{type:Boolean,default:void 0},onBatchStart:Function,onReject:Function,onStart:Function,onError:Function,onSuccess:Function,onProgress:Function,beforeUpload:Function,customRequest:Function,withCredentials:{type:Boolean,default:void 0},openFileDialogOnClick:{type:Boolean,default:void 0},prefixCls:String,id:String,onMouseenter:Function,onMouseleave:Function,onClick:Function});var u4e=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(A){A(o)})}return new(n||(n=Promise))(function(o,A){function a(l){try{u(r.next(l))}catch(c){A(c)}}function s(l){try{u(r.throw(l))}catch(c){A(c)}}function u(l){l.done?o(l.value):i(l.value).then(a,s)}u((r=r.apply(e,t||[])).next())})},c4e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const f4e=Je({compatConfig:{MODE:3},name:"AjaxUploader",inheritAttrs:!1,props:tY(),setup(e,t){let{slots:n,attrs:r,expose:i}=t;const o=qe(iS()),A={},a=qe();let s=!1;const u=(v,y)=>u4e(this,void 0,void 0,function*(){const{beforeUpload:b}=e;let w=v;if(b){try{w=yield b(v,y)}catch{w=!1}if(w===!1)return{origin:v,parsedFile:null,action:null,data:null}}const{action:C}=e;let B;typeof C=="function"?B=yield C(v):B=C;const{data:O}=e;let x;typeof O=="function"?x=yield O(v):x=O;const M=(typeof w=="object"||typeof w=="string")&&w?w:v;let R;M instanceof File?R=M:R=new File([M],v.name,{type:v.type});const F=R;return F.uid=v.uid,{origin:v,data:x,parsedFile:F,action:B}}),l=v=>{let{data:y,origin:b,action:w,parsedFile:C}=v;if(!s)return;const{onStart:B,customRequest:O,name:x,headers:M,withCredentials:R,method:F}=e,{uid:L}=b,E=O||o4e,H={action:w,filename:x,data:y,file:C,headers:M,withCredentials:R,method:F||"post",onProgress:X=>{const{onProgress:z}=e;z==null||z(X,C)},onSuccess:(X,z)=>{const{onSuccess:Z}=e;Z==null||Z(X,C,z),delete A[L]},onError:(X,z)=>{const{onError:Z}=e;Z==null||Z(X,z,C),delete A[L]}};B(b),A[L]=E(H)},c=()=>{o.value=iS()},d=v=>{if(v){const y=v.uid?v.uid:v;A[y]&&A[y].abort&&A[y].abort(),delete A[y]}else Object.keys(A).forEach(y=>{A[y]&&A[y].abort&&A[y].abort(),delete A[y]})};vn(()=>{s=!0}),En(()=>{s=!1,d()});const f=v=>{const y=[...v],b=y.map(w=>(w.uid=iS(),u(w,y)));Promise.all(b).then(w=>{const{onBatchStart:C}=e;C==null||C(w.map(B=>{let{origin:O,parsedFile:x}=B;return{file:O,parsedFile:x}})),w.filter(B=>B.parsedFile!==null).forEach(B=>{l(B)})})},g=v=>{const{accept:y,directory:b}=e,{files:w}=v.target,C=[...w].filter(B=>!b||oS(B,y));f(C),c()},h=v=>{const y=a.value;if(!y)return;const{onClick:b}=e;y.click(),b&&b(v)},m=v=>{v.key==="Enter"&&h(v)},p=v=>{const{multiple:y}=e;if(v.preventDefault(),v.type!=="dragover")if(e.directory)l4e(Array.prototype.slice.call(v.dataTransfer.items),f,b=>oS(b,e.accept));else{const b=S0e(Array.prototype.slice.call(v.dataTransfer.files),B=>oS(B,e.accept));let w=b[0];const C=b[1];y===!1&&(w=w.slice(0,1)),f(w),C.length&&e.onReject&&e.onReject(C)}};return i({abort:d}),()=>{var v;const{componentTag:y,prefixCls:b,disabled:w,id:C,multiple:B,accept:O,capture:x,directory:M,openFileDialogOnClick:R,onMouseenter:F,onMouseleave:L}=e,E=c4e(e,["componentTag","prefixCls","disabled","id","multiple","accept","capture","directory","openFileDialogOnClick","onMouseenter","onMouseleave"]),H={[b]:!0,[`${b}-disabled`]:w,[r.class]:!!r.class},X=M?{directory:"directory",webkitdirectory:"webkitdirectory"}:{};return $(y,ye(ye({},w?{}:{onClick:R?h:()=>{},onKeydown:R?m:()=>{},onMouseenter:F,onMouseleave:L,onDrop:p,onDragover:p,tabindex:"0"}),{},{class:H,role:"button",style:r.style}),{default:()=>[$("input",ye(ye(ye({},xf(E,{aria:!0,data:!0})),{},{id:C,type:"file",ref:a,onClick:Z=>Z.stopPropagation(),onCancel:Z=>Z.stopPropagation(),key:o.value,style:{display:"none"},accept:O},X),{},{multiple:B,onChange:g},x!=null?{capture:x}:{}),null),(v=n.default)===null||v===void 0?void 0:v.call(n)]})}}});function AS(){}const YR=Je({compatConfig:{MODE:3},name:"Upload",inheritAttrs:!1,props:lr(tY(),{componentTag:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:AS,onError:AS,onSuccess:AS,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0}),setup(e,t){let{slots:n,attrs:r,expose:i}=t;const o=qe();return i({abort:a=>{var s;(s=o.value)===null||s===void 0||s.abort(a)}}),()=>$(f4e,ye(ye(ye({},e),r),{},{ref:o}),n)}});var d4e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};function JR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){h4e(e,i,n[i])})}return e}function h4e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var HT=function(t,n){var r=JR({},t,n.attrs);return $(cn,JR({},r,{icon:d4e}),null)};HT.displayName="PaperClipOutlined";HT.inheritAttrs=!1;var p4e={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:t}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:n}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:n}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:n}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:t}}]}},name:"picture",theme:"twotone"};function ZR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){g4e(e,i,n[i])})}return e}function g4e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var MT=function(t,n){var r=ZR({},t,n.attrs);return $(cn,ZR({},r,{icon:p4e}),null)};MT.displayName="PictureTwoTone";MT.inheritAttrs=!1;var m4e={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:n}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:t}}]}},name:"file",theme:"twotone"};function e$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){v4e(e,i,n[i])})}return e}function v4e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kT=function(t,n){var r=e$({},t,n.attrs);return $(cn,e$({},r,{icon:m4e}),null)};kT.displayName="FileTwoTone";kT.inheritAttrs=!1;function nY(){return{capture:Hn([Boolean,String]),type:yn(),name:String,defaultFileList:fr(),fileList:fr(),action:Hn([String,Function]),directory:Qt(),data:Hn([Object,Function]),method:yn(),headers:qt(),showUploadList:Hn([Boolean,Object]),multiple:Qt(),accept:String,beforeUpload:lt(),onChange:lt(),"onUpdate:fileList":lt(),onDrop:lt(),listType:yn(),onPreview:lt(),onDownload:lt(),onReject:lt(),onRemove:lt(),remove:lt(),supportServerRender:Qt(),disabled:Qt(),prefixCls:String,customRequest:lt(),withCredentials:Qt(),openFileDialogOnClick:Qt(),locale:qt(),id:String,previewFile:lt(),transformFile:lt(),iconRender:lt(),isImageUrl:lt(),progress:qt(),itemRender:lt(),maxCount:Number,height:Hn([Number,String]),removeIcon:lt(),downloadIcon:lt(),previewIcon:lt()}}function y4e(){return{listType:yn(),onPreview:lt(),onDownload:lt(),onRemove:lt(),items:fr(),progress:qt(),prefixCls:yn(),showRemoveIcon:Qt(),showDownloadIcon:Qt(),showPreviewIcon:Qt(),removeIcon:lt(),downloadIcon:lt(),previewIcon:lt(),locale:qt(void 0),previewFile:lt(),iconRender:lt(),isImageUrl:lt(),appendAction:lt(),appendActionVisible:Qt(),itemRender:lt()}}function fy(e){return V(V({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function dy(e,t){const n=[...t],r=n.findIndex(i=>{let{uid:o}=i;return o===e.uid});return r===-1?n.push(e):n[r]=e,n}function aS(e,t){const n=e.uid!==void 0?"uid":"name";return t.filter(r=>r[n]===e[n])[0]}function b4e(e,t){const n=e.uid!==void 0?"uid":"name",r=t.filter(i=>i[n]!==e[n]);return r.length===t.length?null:r}const w4e=function(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),r=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]},rY=e=>e.indexOf("image/")===0,B4e=e=>{if(e.type&&!e.thumbUrl)return rY(e.type);const t=e.thumbUrl||e.url||"",n=w4e(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n)?!0:!(/^data:/.test(t)||n)},Tc=200;function C4e(e){return new Promise(t=>{if(!e.type||!rY(e.type)){t("");return}const n=document.createElement("canvas");n.width=Tc,n.height=Tc,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${Tc}px; height: ${Tc}px; z-index: 9999; display: none;`,document.body.appendChild(n);const r=n.getContext("2d"),i=new Image;if(i.onload=()=>{const{width:o,height:A}=i;let a=Tc,s=Tc,u=0,l=0;o>A?(s=A*(Tc/o),l=-(s-a)/2):(a=o*(Tc/A),u=-(a-s)/2),r.drawImage(i,u,l,a,s);const c=n.toDataURL();document.body.removeChild(n),t(c)},i.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const o=new FileReader;o.addEventListener("load",()=>{o.result&&(i.src=o.result)}),o.readAsDataURL(e)}else i.src=window.URL.createObjectURL(e)})}var x4e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};function t$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){S4e(e,i,n[i])})}return e}function S4e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jT=function(t,n){var r=t$({},t,n.attrs);return $(cn,t$({},r,{icon:x4e}),null)};jT.displayName="DownloadOutlined";jT.inheritAttrs=!1;const E4e=()=>({prefixCls:String,locale:qt(void 0),file:qt(),items:fr(),listType:yn(),isImgUrl:lt(),showRemoveIcon:Qt(),showDownloadIcon:Qt(),showPreviewIcon:Qt(),removeIcon:lt(),downloadIcon:lt(),previewIcon:lt(),iconRender:lt(),actionIconRender:lt(),itemRender:lt(),onPreview:lt(),onClose:lt(),onDownload:lt(),progress:qt()}),F4e=Je({compatConfig:{MODE:3},name:"ListItem",inheritAttrs:!1,props:E4e(),setup(e,t){let{slots:n,attrs:r}=t;var i;const o=Me(!1),A=Me();vn(()=>{A.value=setTimeout(()=>{o.value=!0},300)}),En(()=>{clearTimeout(A.value)});const a=Me((i=e.file)===null||i===void 0?void 0:i.status);st(()=>{var l;return(l=e.file)===null||l===void 0?void 0:l.status},l=>{l!=="removed"&&(a.value=l)});const{rootPrefixCls:s}=An("upload",e),u=fe(()=>hf(`${s.value}-fade`));return()=>{var l,c;const{prefixCls:d,locale:f,listType:g,file:h,items:m,progress:p,iconRender:v=n.iconRender,actionIconRender:y=n.actionIconRender,itemRender:b=n.itemRender,isImgUrl:w,showPreviewIcon:C,showRemoveIcon:B,showDownloadIcon:O,previewIcon:x=n.previewIcon,removeIcon:M=n.removeIcon,downloadIcon:R=n.downloadIcon,onPreview:F,onDownload:L,onClose:E}=e,{class:H,style:X}=r,z=v({file:h});let Z=$("div",{class:`${d}-text-icon`},[z]);if(g==="picture"||g==="picture-card")if(a.value==="uploading"||!h.thumbUrl&&!h.url){const ue={[`${d}-list-item-thumbnail`]:!0,[`${d}-list-item-file`]:a.value!=="uploading"};Z=$("div",{class:ue},[z])}else{const ue=w!=null&&w(h)?$("img",{src:h.thumbUrl||h.url,alt:h.name,class:`${d}-list-item-image`,crossorigin:h.crossOrigin},null):z,G={[`${d}-list-item-thumbnail`]:!0,[`${d}-list-item-file`]:w&&!w(h)};Z=$("a",{class:G,onClick:pe=>F(h,pe),href:h.url||h.thumbUrl,target:"_blank",rel:"noopener noreferrer"},[ue])}const q={[`${d}-list-item`]:!0,[`${d}-list-item-${a.value}`]:!0},te=typeof h.linkProps=="string"?JSON.parse(h.linkProps):h.linkProps,ne=B?y({customIcon:M?M({file:h}):$(NT,null,null),callback:()=>E(h),prefixCls:d,title:f.removeFile}):null,_=O&&a.value==="done"?y({customIcon:R?R({file:h}):$(jT,null,null),callback:()=>L(h),prefixCls:d,title:f.downloadFile}):null,Y=g!=="picture-card"&&$("span",{key:"download-delete",class:[`${d}-list-item-actions`,{picture:g==="picture"}]},[_,ne]),re=`${d}-list-item-name`,se=h.url?[$("a",ye(ye({key:"view",target:"_blank",rel:"noopener noreferrer",class:re,title:h.name},te),{},{href:h.url,onClick:ue=>F(h,ue)}),[h.name]),Y]:[$("span",{key:"view",class:re,onClick:ue=>F(h,ue),title:h.name},[h.name]),Y],ce={pointerEvents:"none",opacity:.5},N=C?$("a",{href:h.url||h.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:h.url||h.thumbUrl?void 0:ce,onClick:ue=>F(h,ue),title:f.previewFile},[x?x({file:h}):$(tC,null,null)]):null,K=g==="picture-card"&&a.value!=="uploading"&&$("span",{class:`${d}-list-item-actions`},[N,a.value==="done"&&_,ne]),Ae=$("div",{class:q},[Z,se,K,o.value&&$(ca,u.value,{default:()=>[Cs($("div",{class:`${d}-list-item-progress`},["percent"in h?$(NSe,ye(ye({},p),{},{type:"line",percent:h.percent}),null):null]),[[Ol,a.value==="uploading"]])]})]),ae={[`${d}-list-item-container`]:!0,[`${H}`]:!!H},ie=h.response&&typeof h.response=="string"?h.response:((l=h.error)===null||l===void 0?void 0:l.statusText)||((c=h.error)===null||c===void 0?void 0:c.message)||f.uploadError,J=a.value==="error"?$(Qg,{title:ie,getPopupContainer:ue=>ue.parentNode},{default:()=>[Ae]}):Ae;return $("div",{class:ae,style:X},[b?b({originNode:J,file:h,fileList:m,actions:{download:L.bind(null,h),preview:F.bind(null,h),remove:E.bind(null,h)}}):J])}}}),I4e=(e,t)=>{let{slots:n}=t;var r;return ho((r=n.default)===null||r===void 0?void 0:r.call(n))[0]},_4e=Je({compatConfig:{MODE:3},name:"AUploadList",props:lr(y4e(),{listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:C4e,isImageUrl:B4e,items:[],appendActionVisible:!0}),setup(e,t){let{slots:n,expose:r}=t;const i=Me(!1);vn(()=>{i.value==!0});const o=Me([]);st(()=>e.items,function(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];o.value=h.slice()},{immediate:!0,deep:!0}),ln(()=>{if(e.listType!=="picture"&&e.listType!=="picture-card")return;let h=!1;(e.items||[]).forEach((m,p)=>{typeof document>"u"||typeof window>"u"||!window.FileReader||!window.File||!(m.originFileObj instanceof File||m.originFileObj instanceof Blob)||m.thumbUrl!==void 0||(m.thumbUrl="",e.previewFile&&e.previewFile(m.originFileObj).then(v=>{const y=v||"";y!==m.thumbUrl&&(o.value[p].thumbUrl=y,h=!0)}))}),h&&yK(o)});const A=(h,m)=>{if(e.onPreview)return m==null||m.preventDefault(),e.onPreview(h)},a=h=>{typeof e.onDownload=="function"?e.onDownload(h):h.url&&window.open(h.url)},s=h=>{var m;(m=e.onRemove)===null||m===void 0||m.call(e,h)},u=h=>{let{file:m}=h;const p=e.iconRender||n.iconRender;if(p)return p({file:m,listType:e.listType});const v=m.status==="uploading",y=e.isImageUrl&&e.isImageUrl(m)?$(MT,null,null):$(kT,null,null);let b=$(v?ka:HT,null,null);return e.listType==="picture"?b=v?$(ka,null,null):y:e.listType==="picture-card"&&(b=v?e.locale.uploading:y),b},l=h=>{const{customIcon:m,callback:p,prefixCls:v,title:y}=h,b={type:"text",size:"small",title:y,onClick:()=>{p()},class:`${v}-list-item-action`};return eA(m)?$(Oo,b,{icon:()=>m}):$(Oo,b,{default:()=>[$("span",null,[m])]})};r({handlePreview:A,handleDownload:a});const{prefixCls:c,rootPrefixCls:d}=An("upload",e),f=fe(()=>({[`${c.value}-list`]:!0,[`${c.value}-list-${e.listType}`]:!0})),g=fe(()=>{const h=V({},kB(`${d.value}-motion-collapse`));delete h.onAfterAppear,delete h.onAfterEnter,delete h.onAfterLeave;const m=V(V({},OB(`${c.value}-${e.listType==="picture-card"?"animate-inline":"animate"}`)),{class:f.value,appear:i.value});return e.listType!=="picture-card"?V(V({},h),m):m});return()=>{const{listType:h,locale:m,isImageUrl:p,showPreviewIcon:v,showRemoveIcon:y,showDownloadIcon:b,removeIcon:w,previewIcon:C,downloadIcon:B,progress:O,appendAction:x,itemRender:M,appendActionVisible:R}=e,F=x==null?void 0:x(),L=o.value;return $(hB,ye(ye({},g.value),{},{tag:"div"}),{default:()=>[L.map(E=>{const{uid:H}=E;return $(F4e,{key:H,locale:m,prefixCls:c.value,file:E,items:L,progress:O,listType:h,isImgUrl:p,showPreviewIcon:v,showRemoveIcon:y,showDownloadIcon:b,onPreview:A,onDownload:a,onClose:s,removeIcon:w,previewIcon:C,downloadIcon:B,itemRender:M},V(V({},n),{iconRender:u,actionIconRender:l}))}),x?Cs($(I4e,{key:"__ant_upload_appendAction"},{default:()=>F}),[[Ol,!!R]]):null]})}}}),O4e=e=>{const{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:`${e.padding}px 0`},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[n]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${e.marginXXS}px`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{cursor:"not-allowed",[`p${t}-drag-icon ${n},
- p${t}-text,
- p${t}-hint
- `]:{color:e.colorTextDisabled}}}}}},T4e=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSize:i,lineHeight:o}=e,A=`${t}-list-item`,a=`${A}-actions`,s=`${A}-action`,u=Math.round(i*o);return{[`${t}-wrapper`]:{[`${t}-list`]:V(V({},qd()),{lineHeight:e.lineHeight,[A]:{position:"relative",height:e.lineHeight*i,marginTop:e.marginXS,fontSize:i,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${A}-name`]:V(V({},ju),{padding:`0 ${e.paddingXS}px`,lineHeight:o,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[a]:{[s]:{opacity:0},[`${s}${n}-btn-sm`]:{height:u,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
- ${s}:focus,
- &.picture ${s}
- `]:{opacity:1},[r]:{color:e.colorTextDescription,transition:`all ${e.motionDurationSlow}`},[`&:hover ${r}`]:{color:e.colorText}},[`${t}-icon ${r}`]:{color:e.colorTextDescription,fontSize:i},[`${A}-progress`]:{position:"absolute",bottom:-e.uploadProgressOffset,width:"100%",paddingInlineStart:i+e.paddingXS,fontSize:i,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${A}:hover ${s}`]:{opacity:1,color:e.colorText},[`${A}-error`]:{color:e.colorError,[`${A}-name, ${t}-icon ${r}`]:{color:e.colorError},[a]:{[`${r}, ${r}:hover`]:{color:e.colorError},[s]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},n$=new Un("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),r$=new Un("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}}),U4e=e=>{const{componentCls:t}=e,n=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${n}-appear, ${n}-enter, ${n}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${n}-appear, ${n}-enter`]:{animationName:n$},[`${n}-leave`]:{animationName:r$}}},n$,r$]},Q4e=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:i}=e,o=`${t}-list`,A=`${o}-item`;return{[`${t}-wrapper`]:{[`${o}${o}-picture, ${o}${o}-picture-card`]:{[A]:{position:"relative",height:r+e.lineWidth*2+e.paddingXS*2,padding:e.paddingXS,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${A}-thumbnail`]:V(V({},ju),{width:r,height:r,lineHeight:`${r+e.paddingSM}px`,textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${A}-progress`]:{bottom:i,width:`calc(100% - ${e.paddingSM*2}px)`,marginTop:0,paddingInlineStart:r+e.paddingXS}},[`${A}-error`]:{borderColor:e.colorError,[`${A}-thumbnail ${n}`]:{"svg path[fill='#e6f7ff']":{fill:e.colorErrorBg},"svg path[fill='#1890ff']":{fill:e.colorError}}},[`${A}-uploading`]:{borderStyle:"dashed",[`${A}-name`]:{marginBottom:i}}}}}},P4e=e=>{const{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:i}=e,o=`${t}-list`,A=`${o}-item`,a=e.uploadPicCardSize;return{[`${t}-wrapper${t}-picture-card-wrapper`]:V(V({},qd()),{display:"inline-block",width:"100%",[`${t}${t}-select`]:{width:a,height:a,marginInlineEnd:e.marginXS,marginBottom:e.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${o}${o}-picture-card`]:{[`${o}-item-container`]:{display:"inline-block",width:a,height:a,marginBlock:`0 ${e.marginXS}px`,marginInline:`0 ${e.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[A]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${e.paddingXS*2}px)`,height:`calc(100% - ${e.paddingXS*2}px)`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${A}:hover`]:{[`&::before, ${A}-actions`]:{opacity:1}},[`${A}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[`${n}-eye, ${n}-download, ${n}-delete`]:{zIndex:10,width:r,margin:`0 ${e.marginXXS}px`,fontSize:r,cursor:"pointer",transition:`all ${e.motionDurationSlow}`}},[`${A}-actions, ${A}-actions:hover`]:{[`${n}-eye, ${n}-download, ${n}-delete`]:{color:new Lr(i).setAlpha(.65).toRgbString(),"&:hover":{color:i}}},[`${A}-thumbnail, ${A}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${A}-name`]:{display:"none",textAlign:"center"},[`${A}-file + ${A}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${e.paddingXS*2}px)`},[`${A}-uploading`]:{[`&${A}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${A}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${e.paddingXS*2}px)`,paddingInlineStart:0}}})}},L4e=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},D4e=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:V(V({},qn(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},R4e=or("Upload",e=>{const{fontSizeHeading3:t,fontSize:n,lineHeight:r,lineWidth:i,controlHeightLG:o}=e,A=Math.round(n*r),a=_n(e,{uploadThumbnailSize:t*2,uploadProgressOffset:A/2+i,uploadPicCardSize:o*2.55});return[D4e(a),O4e(a),Q4e(a),P4e(a),T4e(a),U4e(a),L4e(a),MB(a)]});var $4e=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(A){A(o)})}return new(n||(n=Promise))(function(o,A){function a(l){try{u(r.next(l))}catch(c){A(c)}}function s(l){try{u(r.throw(l))}catch(c){A(c)}}function u(l){l.done?o(l.value):i(l.value).then(a,s)}u((r=r.apply(e,t||[])).next())})},N4e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const z0=`__LIST_IGNORE_${Date.now()}__`,Lb=Je({compatConfig:{MODE:3},name:"AUpload",inheritAttrs:!1,props:lr(nY(),{type:"select",multiple:!1,action:"",data:{},accept:"",showUploadList:!0,listType:"text",supportServerRender:!0}),setup(e,t){let{slots:n,attrs:r,expose:i}=t;const o=NA(),{prefixCls:A,direction:a,disabled:s}=An("upload",e),[u,l]=R4e(A),c=xs(),d=fe(()=>{var R;return(R=s.value)!==null&&R!==void 0?R:c.value}),[f,g]=So(e.defaultFileList||[],{value:fn(e,"fileList"),postState:R=>{const F=Date.now();return(R??[]).map((L,E)=>(!L.uid&&!Object.isFrozen(L)&&(L.uid=`__AUTO__${F}_${E}__`),L))}}),h=qe("drop"),m=qe(null);vn(()=>{Xr(e.fileList!==void 0||r.value===void 0,"Upload","`value` is not a valid prop, do you mean `fileList`?"),Xr(e.transformFile===void 0,"Upload","`transformFile` is deprecated. Please use `beforeUpload` directly."),Xr(e.remove===void 0,"Upload","`remove` props is deprecated. Please use `remove` event.")});const p=(R,F,L)=>{var E,H;let X=[...F];e.maxCount===1?X=X.slice(-1):e.maxCount&&(X=X.slice(0,e.maxCount)),g(X);const z={file:R,fileList:X};L&&(z.event=L),(E=e["onUpdate:fileList"])===null||E===void 0||E.call(e,z.fileList),(H=e.onChange)===null||H===void 0||H.call(e,z),o.onFieldChange()},v=(R,F)=>$4e(this,void 0,void 0,function*(){const{beforeUpload:L,transformFile:E}=e;let H=R;if(L){const X=yield L(R,F);if(X===!1)return!1;if(delete R[z0],X===z0)return Object.defineProperty(R,z0,{value:!0,configurable:!0}),!1;typeof X=="object"&&X&&(H=X)}return E&&(H=yield E(H)),H}),y=R=>{const F=R.filter(H=>!H.file[z0]);if(!F.length)return;const L=F.map(H=>fy(H.file));let E=[...f.value];L.forEach(H=>{E=dy(H,E)}),L.forEach((H,X)=>{let z=H;if(F[X].parsedFile)H.status="uploading";else{const{originFileObj:Z}=H;let q;try{q=new File([Z],Z.name,{type:Z.type})}catch{q=new Blob([Z],{type:Z.type}),q.name=Z.name,q.lastModifiedDate=new Date,q.lastModified=new Date().getTime()}q.uid=H.uid,z=q}p(z,E)})},b=(R,F,L)=>{try{typeof R=="string"&&(R=JSON.parse(R))}catch{}if(!aS(F,f.value))return;const E=fy(F);E.status="done",E.percent=100,E.response=R,E.xhr=L;const H=dy(E,f.value);p(E,H)},w=(R,F)=>{if(!aS(F,f.value))return;const L=fy(F);L.status="uploading",L.percent=R.percent;const E=dy(L,f.value);p(L,E,R)},C=(R,F,L)=>{if(!aS(L,f.value))return;const E=fy(L);E.error=R,E.response=F,E.status="error";const H=dy(E,f.value);p(E,H)},B=R=>{let F;const L=e.onRemove||e.remove;Promise.resolve(typeof L=="function"?L(R):L).then(E=>{var H,X;if(E===!1)return;const z=b4e(R,f.value);z&&(F=V(V({},R),{status:"removed"}),(H=f.value)===null||H===void 0||H.forEach(Z=>{const q=F.uid!==void 0?"uid":"name";Z[q]===F[q]&&!Object.isFrozen(Z)&&(Z.status="removed")}),(X=m.value)===null||X===void 0||X.abort(F),p(F,z))})},O=R=>{var F;h.value=R.type,R.type==="drop"&&((F=e.onDrop)===null||F===void 0||F.call(e,R))};i({onBatchStart:y,onSuccess:b,onProgress:w,onError:C,fileList:f,upload:m});const[x]=Rl("Upload",Ss.Upload,fe(()=>e.locale)),M=(R,F)=>{const{removeIcon:L,previewIcon:E,downloadIcon:H,previewFile:X,onPreview:z,onDownload:Z,isImageUrl:q,progress:te,itemRender:ne,iconRender:_,showUploadList:Y}=e,{showDownloadIcon:re,showPreviewIcon:se,showRemoveIcon:ce}=typeof Y=="boolean"?{}:Y;return Y?$(_4e,{prefixCls:A.value,listType:e.listType,items:f.value,previewFile:X,onPreview:z,onDownload:Z,onRemove:B,showRemoveIcon:!d.value&&ce,showPreviewIcon:se,showDownloadIcon:re,removeIcon:L,previewIcon:E,downloadIcon:H,iconRender:_,locale:x.value,isImageUrl:q,progress:te,itemRender:ne,appendActionVisible:F,appendAction:R},V({},n)):R==null?void 0:R()};return()=>{var R,F,L;const{listType:E,type:H}=e,{class:X,style:z}=r,Z=N4e(r,["class","style"]),q=V(V(V({onBatchStart:y,onError:C,onProgress:w,onSuccess:b},Z),e),{id:(R=e.id)!==null&&R!==void 0?R:o.id.value,prefixCls:A.value,beforeUpload:v,onChange:void 0,disabled:d.value});delete q.remove,(!n.default||d.value)&&delete q.id;const te={[`${A.value}-rtl`]:a.value==="rtl"};if(H==="drag"){const re=Ze(A.value,{[`${A.value}-drag`]:!0,[`${A.value}-drag-uploading`]:f.value.some(se=>se.status==="uploading"),[`${A.value}-drag-hover`]:h.value==="dragover",[`${A.value}-disabled`]:d.value,[`${A.value}-rtl`]:a.value==="rtl"},r.class,l.value);return u($("span",ye(ye({},r),{},{class:Ze(`${A.value}-wrapper`,te,X,l.value)}),[$("div",{class:re,onDrop:O,onDragover:O,onDragleave:O,style:r.style},[$(YR,ye(ye({},q),{},{ref:m,class:`${A.value}-btn`}),ye({default:()=>[$("div",{class:`${A.value}-drag-container`},[(F=n.default)===null||F===void 0?void 0:F.call(n)])]},n))]),M()]))}const ne=Ze(A.value,{[`${A.value}-select`]:!0,[`${A.value}-select-${E}`]:!0,[`${A.value}-disabled`]:d.value,[`${A.value}-rtl`]:a.value==="rtl"}),_=ui((L=n.default)===null||L===void 0?void 0:L.call(n)),Y=re=>$("div",{class:ne,style:re},[$(YR,ye(ye({},q),{},{ref:m}),n)]);return u(E==="picture-card"?$("span",ye(ye({},r),{},{class:Ze(`${A.value}-wrapper`,`${A.value}-picture-card-wrapper`,te,r.class,l.value)}),[M(Y,!!_.length)]):$("span",ye(ye({},r),{},{class:Ze(`${A.value}-wrapper`,te,r.class,l.value)}),[Y(_.length?void 0:{display:"none"}),M()]))}}});var i$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const sS=Je({compatConfig:{MODE:3},name:"AUploadDragger",inheritAttrs:!1,props:nY(),setup(e,t){let{slots:n,attrs:r}=t;return()=>{const{height:i}=e,o=i$(e,["height"]),{style:A}=r,a=i$(r,["style"]),s=V(V(V({},o),a),{type:"drag",style:V(V({},A),{height:typeof i=="number"?`${i}px`:i})});return $(Lb,s,n)}}}),NHe=V(Lb,{Dragger:sS,LIST_IGNORE:z0,install(e){return e.component(Lb.name,Lb),e.component(sS.name,sS),e}});var H4e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"database",theme:"outlined"};function o$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){M4e(e,i,n[i])})}return e}function M4e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iY=function(t,n){var r=o$({},t,n.attrs);return $(cn,o$({},r,{icon:H4e}),null)};iY.displayName="DatabaseOutlined";iY.inheritAttrs=!1;var k4e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z"}}]},name:"dingding",theme:"outlined"};function A$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){j4e(e,i,n[i])})}return e}function j4e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oY=function(t,n){var r=A$({},t,n.attrs);return $(cn,A$({},r,{icon:k4e}),null)};oY.displayName="DingdingOutlined";oY.inheritAttrs=!1;var K4e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm144 452H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm445.7 51.5l-93.3-93.3C814.7 780.7 828 743.9 828 704c0-97.2-78.8-176-176-176s-176 78.8-176 176 78.8 176 176 176c35.8 0 69-10.7 96.8-29l94.7 94.7c1.6 1.6 3.6 2.3 5.6 2.3s4.1-.8 5.6-2.3l31-31a7.9 7.9 0 000-11.2zM652 816c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"file-search",theme:"outlined"};function a$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){V4e(e,i,n[i])})}return e}function V4e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var AY=function(t,n){var r=a$({},t,n.attrs);return $(cn,a$({},r,{icon:K4e}),null)};AY.displayName="FileSearchOutlined";AY.inheritAttrs=!1;var z4e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z"}}]},name:"global",theme:"outlined"};function s$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){G4e(e,i,n[i])})}return e}function G4e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var aY=function(t,n){var r=s$({},t,n.attrs);return $(cn,s$({},r,{icon:z4e}),null)};aY.displayName="GlobalOutlined";aY.inheritAttrs=!1;var W4e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"};function l$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){q4e(e,i,n[i])})}return e}function q4e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sY=function(t,n){var r=l$({},t,n.attrs);return $(cn,l$({},r,{icon:W4e}),null)};sY.displayName="LockOutlined";sY.inheritAttrs=!1;var X4e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M824.8 613.2c-16-51.4-34.4-94.6-62.7-165.3C766.5 262.2 689.3 112 511.5 112 331.7 112 256.2 265.2 261 447.9c-28.4 70.8-46.7 113.7-62.7 165.3-34 109.5-23 154.8-14.6 155.8 18 2.2 70.1-82.4 70.1-82.4 0 49 25.2 112.9 79.8 159-26.4 8.1-85.7 29.9-71.6 53.8 11.4 19.3 196.2 12.3 249.5 6.3 53.3 6 238.1 13 249.5-6.3 14.1-23.8-45.3-45.7-71.6-53.8 54.6-46.2 79.8-110.1 79.8-159 0 0 52.1 84.6 70.1 82.4 8.5-1.1 19.5-46.4-14.5-155.8z"}}]},name:"qq",theme:"outlined"};function u$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){Y4e(e,i,n[i])})}return e}function Y4e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lY=function(t,n){var r=u$({},t,n.attrs);return $(cn,u$({},r,{icon:X4e}),null)};lY.displayName="QqOutlined";lY.inheritAttrs=!1;var J4e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"};function c$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){Z4e(e,i,n[i])})}return e}function Z4e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uY=function(t,n){var r=c$({},t,n.attrs);return $(cn,c$({},r,{icon:J4e}),null)};uY.displayName="UserOutlined";uY.inheritAttrs=!1;var eFe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 019.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 006.4-2.6 9 9 0 002.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 01-36 35.9z"}}]},name:"wechat",theme:"outlined"};function f$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){tFe(e,i,n[i])})}return e}function tFe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cY=function(t,n){var r=f$({},t,n.attrs);return $(cn,f$({},r,{icon:eFe}),null)};cY.displayName="WechatOutlined";cY.inheritAttrs=!1;function nFe(){return fY().__VUE_DEVTOOLS_GLOBAL_HOOK__}function fY(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const rFe=typeof Proxy=="function",iFe="devtools-plugin:setup",oFe="plugin:settings:set";let hp,WI;function AFe(){var e;return hp!==void 0||(typeof window<"u"&&window.performance?(hp=!0,WI=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(hp=!0,WI=globalThis.perf_hooks.performance):hp=!1),hp}function aFe(){return AFe()?WI.now():Date.now()}class sFe{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const A in t.settings){const a=t.settings[A];r[A]=a.defaultValue}const i=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},r);try{const A=localStorage.getItem(i),a=JSON.parse(A);Object.assign(o,a)}catch{}this.fallbacks={getSettings(){return o},setSettings(A){try{localStorage.setItem(i,JSON.stringify(A))}catch{}o=A},now(){return aFe()}},n&&n.on(oFe,(A,a)=>{A===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(A,a)=>this.target?this.target.on[a]:(...s)=>{this.onQueue.push({method:a,args:s})}}),this.proxiedTarget=new Proxy({},{get:(A,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...s)=>(this.targetQueue.push({method:a,args:s,resolve:()=>{}}),this.fallbacks[a](...s)):(...s)=>new Promise(u=>{this.targetQueue.push({method:a,args:s,resolve:u})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function lFe(e,t){const n=e,r=fY(),i=nFe(),o=rFe&&n.enableEarlyProxy;if(i&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))i.emit(iFe,e,t);else{const A=o?new sFe(n,i):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:A}),A&&t(A.proxiedTarget)}}/*!
- * vue-router v4.5.0
- * (c) 2024 Eduardo San Martin Morote
- * @license MIT
- */const Up=typeof document<"u";function dY(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function uFe(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&dY(e.default)}const Sr=Object.assign;function lS(e,t){const n={};for(const r in t){const i=t[r];n[r]=Fs(i)?i.map(e):e(i)}return n}const bm=()=>{},Fs=Array.isArray,hY=/#/g,cFe=/&/g,fFe=/\//g,dFe=/=/g,hFe=/\?/g,pY=/\+/g,pFe=/%5B/g,gFe=/%5D/g,gY=/%5E/g,mFe=/%60/g,mY=/%7B/g,vFe=/%7C/g,vY=/%7D/g,yFe=/%20/g;function KT(e){return encodeURI(""+e).replace(vFe,"|").replace(pFe,"[").replace(gFe,"]")}function bFe(e){return KT(e).replace(mY,"{").replace(vY,"}").replace(gY,"^")}function qI(e){return KT(e).replace(pY,"%2B").replace(yFe,"+").replace(hY,"%23").replace(cFe,"%26").replace(mFe,"`").replace(mY,"{").replace(vY,"}").replace(gY,"^")}function wFe(e){return qI(e).replace(dFe,"%3D")}function BFe(e){return KT(e).replace(hY,"%23").replace(hFe,"%3F")}function CFe(e){return e==null?"":BFe(e).replace(fFe,"%2F")}function ev(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const xFe=/\/$/,SFe=e=>e.replace(xFe,"");function uS(e,t,n="/"){let r,i={},o="",A="";const a=t.indexOf("#");let s=t.indexOf("?");return a<s&&a>=0&&(s=-1),s>-1&&(r=t.slice(0,s),o=t.slice(s+1,a>-1?a:t.length),i=e(o)),a>-1&&(r=r||t.slice(0,a),A=t.slice(a,t.length)),r=_Fe(r??t,n),{fullPath:r+(o&&"?")+o+A,path:r,query:i,hash:ev(A)}}function EFe(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function d$(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function FFe(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&vg(t.matched[r],n.matched[i])&&yY(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function vg(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function yY(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!IFe(e[n],t[n]))return!1;return!0}function IFe(e,t){return Fs(e)?h$(e,t):Fs(t)?h$(t,e):e===t}function h$(e,t){return Fs(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function _Fe(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let o=n.length-1,A,a;for(A=0;A<r.length;A++)if(a=r[A],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(A).join("/")}const Uc={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var tv;(function(e){e.pop="pop",e.push="push"})(tv||(tv={}));var wm;(function(e){e.back="back",e.forward="forward",e.unknown=""})(wm||(wm={}));function OFe(e){if(!e)if(Up){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),SFe(e)}const TFe=/^[^#]+#/;function UFe(e,t){return e.replace(TFe,"#")+t}function QFe(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const lC=()=>({left:window.scrollX,top:window.scrollY});function PFe(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=QFe(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function p$(e,t){return(history.state?history.state.position-t:-1)+e}const XI=new Map;function LFe(e,t){XI.set(e,t)}function DFe(e){const t=XI.get(e);return XI.delete(e),t}let RFe=()=>location.protocol+"//"+location.host;function bY(e,t){const{pathname:n,search:r,hash:i}=t,o=e.indexOf("#");if(o>-1){let a=i.includes(e.slice(o))?e.slice(o).length:1,s=i.slice(a);return s[0]!=="/"&&(s="/"+s),d$(s,"")}return d$(n,e)+r+i}function $Fe(e,t,n,r){let i=[],o=[],A=null;const a=({state:d})=>{const f=bY(e,location),g=n.value,h=t.value;let m=0;if(d){if(n.value=f,t.value=d,A&&A===g){A=null;return}m=h?d.position-h.position:0}else r(f);i.forEach(p=>{p(n.value,g,{delta:m,type:tv.pop,direction:m?m>0?wm.forward:wm.back:wm.unknown})})};function s(){A=n.value}function u(d){i.push(d);const f=()=>{const g=i.indexOf(d);g>-1&&i.splice(g,1)};return o.push(f),f}function l(){const{history:d}=window;d.state&&d.replaceState(Sr({},d.state,{scroll:lC()}),"")}function c(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:s,listen:u,destroy:c}}function g$(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?lC():null}}function NFe(e){const{history:t,location:n}=window,r={value:bY(e,n)},i={value:t.state};i.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(s,u,l){const c=e.indexOf("#"),d=c>-1?(n.host&&document.querySelector("base")?e:e.slice(c))+s:RFe()+e+s;try{t[l?"replaceState":"pushState"](u,"",d),i.value=u}catch(f){console.error(f),n[l?"replace":"assign"](d)}}function A(s,u){const l=Sr({},t.state,g$(i.value.back,s,i.value.forward,!0),u,{position:i.value.position});o(s,l,!0),r.value=s}function a(s,u){const l=Sr({},i.value,t.state,{forward:s,scroll:lC()});o(l.current,l,!0);const c=Sr({},g$(r.value,s,null),{position:l.position+1},u);o(s,c,!1),r.value=s}return{location:r,state:i,push:a,replace:A}}function HHe(e){e=OFe(e);const t=NFe(e),n=$Fe(e,t.state,t.location,t.replace);function r(o,A=!0){A||n.pauseListeners(),history.go(o)}const i=Sr({location:"",base:e,go:r,createHref:UFe.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function HFe(e){return typeof e=="string"||e&&typeof e=="object"}function wY(e){return typeof e=="string"||typeof e=="symbol"}const BY=Symbol("");var m$;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(m$||(m$={}));function yg(e,t){return Sr(new Error,{type:e,[BY]:!0},t)}function yu(e,t){return e instanceof Error&&BY in e&&(t==null||!!(e.type&t))}const v$="[^/]+?",MFe={sensitive:!1,strict:!1,start:!0,end:!0},kFe=/[.+*?^${}()[\]/\\]/g;function jFe(e,t){const n=Sr({},MFe,t),r=[];let i=n.start?"^":"";const o=[];for(const u of e){const l=u.length?[]:[90];n.strict&&!u.length&&(i+="/");for(let c=0;c<u.length;c++){const d=u[c];let f=40+(n.sensitive?.25:0);if(d.type===0)c||(i+="/"),i+=d.value.replace(kFe,"\\$&"),f+=40;else if(d.type===1){const{value:g,repeatable:h,optional:m,regexp:p}=d;o.push({name:g,repeatable:h,optional:m});const v=p||v$;if(v!==v$){f+=10;try{new RegExp(`(${v})`)}catch(b){throw new Error(`Invalid custom RegExp for param "${g}" (${v}): `+b.message)}}let y=h?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;c||(y=m&&u.length<2?`(?:/${y})`:"/"+y),m&&(y+="?"),i+=y,f+=20,m&&(f+=-8),h&&(f+=-20),v===".*"&&(f+=-50)}l.push(f)}r.push(l)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&!i.endsWith("/")&&(i+="(?:/|$)");const A=new RegExp(i,n.sensitive?"":"i");function a(u){const l=u.match(A),c={};if(!l)return null;for(let d=1;d<l.length;d++){const f=l[d]||"",g=o[d-1];c[g.name]=f&&g.repeatable?f.split("/"):f}return c}function s(u){let l="",c=!1;for(const d of e){(!c||!l.endsWith("/"))&&(l+="/"),c=!1;for(const f of d)if(f.type===0)l+=f.value;else if(f.type===1){const{value:g,repeatable:h,optional:m}=f,p=g in u?u[g]:"";if(Fs(p)&&!h)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const v=Fs(p)?p.join("/"):p;if(!v)if(m)d.length<2&&(l.endsWith("/")?l=l.slice(0,-1):c=!0);else throw new Error(`Missing required param "${g}"`);l+=v}}return l||"/"}return{re:A,score:r,keys:o,parse:a,stringify:s}}function KFe(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function CY(e,t){let n=0;const r=e.score,i=t.score;for(;n<r.length&&n<i.length;){const o=KFe(r[n],i[n]);if(o)return o;n++}if(Math.abs(i.length-r.length)===1){if(y$(r))return 1;if(y$(i))return-1}return i.length-r.length}function y$(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const VFe={type:0,value:""},zFe=/[a-zA-Z0-9_]/;function GFe(e){if(!e)return[[]];if(e==="/")return[[VFe]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(f){throw new Error(`ERR (${n})/"${u}": ${f}`)}let n=0,r=n;const i=[];let o;function A(){o&&i.push(o),o=[]}let a=0,s,u="",l="";function c(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(s==="*"||s==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:l,repeatable:s==="*"||s==="+",optional:s==="*"||s==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=s}for(;a<e.length;){if(s=e[a++],s==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:s==="/"?(u&&c(),A()):s===":"?(c(),n=1):d();break;case 4:d(),n=r;break;case 1:s==="("?n=2:zFe.test(s)?d():(c(),n=0,s!=="*"&&s!=="?"&&s!=="+"&&a--);break;case 2:s===")"?l[l.length-1]=="\\"?l=l.slice(0,-1)+s:n=3:l+=s;break;case 3:c(),n=0,s!=="*"&&s!=="?"&&s!=="+"&&a--,l="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),c(),A(),i}function WFe(e,t,n){const r=jFe(GFe(e.path),n),i=Sr(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function qFe(e,t){const n=[],r=new Map;t=C$({strict:!1,end:!0,sensitive:!1},t);function i(c){return r.get(c)}function o(c,d,f){const g=!f,h=w$(c);h.aliasOf=f&&f.record;const m=C$(t,c),p=[h];if("alias"in c){const b=typeof c.alias=="string"?[c.alias]:c.alias;for(const w of b)p.push(w$(Sr({},h,{components:f?f.record.components:h.components,path:w,aliasOf:f?f.record:h})))}let v,y;for(const b of p){const{path:w}=b;if(d&&w[0]!=="/"){const C=d.record.path,B=C[C.length-1]==="/"?"":"/";b.path=d.record.path+(w&&B+w)}if(v=WFe(b,d,m),f?f.alias.push(v):(y=y||v,y!==v&&y.alias.push(v),g&&c.name&&!B$(v)&&A(c.name)),xY(v)&&s(v),h.children){const C=h.children;for(let B=0;B<C.length;B++)o(C[B],v,f&&f.children[B])}f=f||v}return y?()=>{A(y)}:bm}function A(c){if(wY(c)){const d=r.get(c);d&&(r.delete(c),n.splice(n.indexOf(d),1),d.children.forEach(A),d.alias.forEach(A))}else{const d=n.indexOf(c);d>-1&&(n.splice(d,1),c.record.name&&r.delete(c.record.name),c.children.forEach(A),c.alias.forEach(A))}}function a(){return n}function s(c){const d=JFe(c,n);n.splice(d,0,c),c.record.name&&!B$(c)&&r.set(c.record.name,c)}function u(c,d){let f,g={},h,m;if("name"in c&&c.name){if(f=r.get(c.name),!f)throw yg(1,{location:c});m=f.record.name,g=Sr(b$(d.params,f.keys.filter(y=>!y.optional).concat(f.parent?f.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),c.params&&b$(c.params,f.keys.map(y=>y.name))),h=f.stringify(g)}else if(c.path!=null)h=c.path,f=n.find(y=>y.re.test(h)),f&&(g=f.parse(h),m=f.record.name);else{if(f=d.name?r.get(d.name):n.find(y=>y.re.test(d.path)),!f)throw yg(1,{location:c,currentLocation:d});m=f.record.name,g=Sr({},d.params,c.params),h=f.stringify(g)}const p=[];let v=f;for(;v;)p.unshift(v.record),v=v.parent;return{name:m,path:h,params:g,matched:p,meta:YFe(p)}}e.forEach(c=>o(c));function l(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:A,clearRoutes:l,getRoutes:a,getRecordMatcher:i}}function b$(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function w$(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:XFe(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function XFe(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function B$(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function YFe(e){return e.reduce((t,n)=>Sr(t,n.meta),{})}function C$(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function JFe(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;CY(e,t[o])<0?r=o:n=o+1}const i=ZFe(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function ZFe(e){let t=e;for(;t=t.parent;)if(xY(t)&&CY(e,t)===0)return t}function xY({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function e3e(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<r.length;++i){const o=r[i].replace(pY," "),A=o.indexOf("="),a=ev(A<0?o:o.slice(0,A)),s=A<0?null:ev(o.slice(A+1));if(a in t){let u=t[a];Fs(u)||(u=t[a]=[u]),u.push(s)}else t[a]=s}return t}function x$(e){let t="";for(let n in e){const r=e[n];if(n=wFe(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Fs(r)?r.map(o=>o&&qI(o)):[r&&qI(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function t3e(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Fs(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const n3e=Symbol(""),S$=Symbol(""),uC=Symbol(""),SY=Symbol(""),YI=Symbol("");function E0(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function kc(e,t,n,r,i,o=A=>A()){const A=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((a,s)=>{const u=d=>{d===!1?s(yg(4,{from:n,to:t})):d instanceof Error?s(d):HFe(d)?s(yg(2,{from:t,to:d})):(A&&r.enterCallbacks[i]===A&&typeof d=="function"&&A.push(d),a())},l=o(()=>e.call(r&&r.instances[i],t,n,u));let c=Promise.resolve(l);e.length<3&&(c=c.then(u)),c.catch(d=>s(d))})}function cS(e,t,n,r,i=o=>o()){const o=[];for(const A of e)for(const a in A.components){let s=A.components[a];if(!(t!=="beforeRouteEnter"&&!A.instances[a]))if(dY(s)){const l=(s.__vccOpts||s)[t];l&&o.push(kc(l,n,r,A,a,i))}else{let u=s();o.push(()=>u.then(l=>{if(!l)throw new Error(`Couldn't resolve component "${a}" at "${A.path}"`);const c=uFe(l)?l.default:l;A.mods[a]=l,A.components[a]=c;const f=(c.__vccOpts||c)[t];return f&&kc(f,n,r,A,a,i)()}))}}return o}function E$(e){const t=tn(uC),n=tn(SY),r=fe(()=>{const s=ni(e.to);return t.resolve(s)}),i=fe(()=>{const{matched:s}=r.value,{length:u}=s,l=s[u-1],c=n.matched;if(!l||!c.length)return-1;const d=c.findIndex(vg.bind(null,l));if(d>-1)return d;const f=F$(s[u-2]);return u>1&&F$(l)===f&&c[c.length-1].path!==f?c.findIndex(vg.bind(null,s[u-2])):d}),o=fe(()=>i.value>-1&&a3e(n.params,r.value.params)),A=fe(()=>i.value>-1&&i.value===n.matched.length-1&&yY(n.params,r.value.params));function a(s={}){if(A3e(s)){const u=t[ni(e.replace)?"replace":"push"](ni(e.to)).catch(bm);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:fe(()=>r.value.href),isActive:o,isExactActive:A,navigate:a}}function r3e(e){return e.length===1?e[0]:e}const i3e=Je({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:E$,setup(e,{slots:t}){const n=Ir(E$(e)),{options:r}=tn(uC),i=fe(()=>({[I$(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[I$(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&r3e(t.default(n));return e.custom?o:Mu("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),o3e=i3e;function A3e(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function a3e(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!Fs(i)||i.length!==r.length||r.some((o,A)=>o!==i[A]))return!1}return!0}function F$(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const I$=(e,t,n)=>e??t??n,s3e=Je({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=tn(YI),i=fe(()=>e.route||r.value),o=tn(S$,0),A=fe(()=>{let u=ni(o);const{matched:l}=i.value;let c;for(;(c=l[u])&&!c.components;)u++;return u}),a=fe(()=>i.value.matched[A.value]);dn(S$,fe(()=>A.value+1)),dn(n3e,a),dn(YI,i);const s=qe();return st(()=>[s.value,a.value,e.name],([u,l,c],[d,f,g])=>{l&&(l.instances[c]=u,f&&f!==l&&u&&u===d&&(l.leaveGuards.size||(l.leaveGuards=f.leaveGuards),l.updateGuards.size||(l.updateGuards=f.updateGuards))),u&&l&&(!f||!vg(l,f)||!d)&&(l.enterCallbacks[c]||[]).forEach(h=>h(u))},{flush:"post"}),()=>{const u=i.value,l=e.name,c=a.value,d=c&&c.components[l];if(!d)return _$(n.default,{Component:d,route:u});const f=c.props[l],g=f?f===!0?u.params:typeof f=="function"?f(u):f:null,m=Mu(d,Sr({},g,t,{onVnodeUnmounted:p=>{p.component.isUnmounted&&(c.instances[l]=null)},ref:s}));return _$(n.default,{Component:m,route:u})||m}}});function _$(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const l3e=s3e;function MHe(e){const t=qFe(e.routes,e),n=e.parseQuery||e3e,r=e.stringifyQuery||x$,i=e.history,o=E0(),A=E0(),a=E0(),s=Me(Uc);let u=Uc;Up&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=lS.bind(null,N=>""+N),c=lS.bind(null,CFe),d=lS.bind(null,ev);function f(N,K){let Ae,ae;return wY(N)?(Ae=t.getRecordMatcher(N),ae=K):ae=N,t.addRoute(ae,Ae)}function g(N){const K=t.getRecordMatcher(N);K&&t.removeRoute(K)}function h(){return t.getRoutes().map(N=>N.record)}function m(N){return!!t.getRecordMatcher(N)}function p(N,K){if(K=Sr({},K||s.value),typeof N=="string"){const G=uS(n,N,K.path),pe=t.resolve({path:G.path},K),k=i.createHref(G.fullPath);return Sr(G,pe,{params:d(pe.params),hash:ev(G.hash),redirectedFrom:void 0,href:k})}let Ae;if(N.path!=null)Ae=Sr({},N,{path:uS(n,N.path,K.path).path});else{const G=Sr({},N.params);for(const pe in G)G[pe]==null&&delete G[pe];Ae=Sr({},N,{params:c(G)}),K.params=c(K.params)}const ae=t.resolve(Ae,K),ie=N.hash||"";ae.params=l(d(ae.params));const J=EFe(r,Sr({},N,{hash:bFe(ie),path:ae.path})),ue=i.createHref(J);return Sr({fullPath:J,hash:ie,query:r===x$?t3e(N.query):N.query||{}},ae,{redirectedFrom:void 0,href:ue})}function v(N){return typeof N=="string"?uS(n,N,s.value.path):Sr({},N)}function y(N,K){if(u!==N)return yg(8,{from:K,to:N})}function b(N){return B(N)}function w(N){return b(Sr(v(N),{replace:!0}))}function C(N){const K=N.matched[N.matched.length-1];if(K&&K.redirect){const{redirect:Ae}=K;let ae=typeof Ae=="function"?Ae(N):Ae;return typeof ae=="string"&&(ae=ae.includes("?")||ae.includes("#")?ae=v(ae):{path:ae},ae.params={}),Sr({query:N.query,hash:N.hash,params:ae.path!=null?{}:N.params},ae)}}function B(N,K){const Ae=u=p(N),ae=s.value,ie=N.state,J=N.force,ue=N.replace===!0,G=C(Ae);if(G)return B(Sr(v(G),{state:typeof G=="object"?Sr({},ie,G.state):ie,force:J,replace:ue}),K||Ae);const pe=Ae;pe.redirectedFrom=K;let k;return!J&&FFe(r,ae,Ae)&&(k=yg(16,{to:pe,from:ae}),ne(ae,ae,!0,!1)),(k?Promise.resolve(k):M(pe,ae)).catch(P=>yu(P)?yu(P,2)?P:te(P):Z(P,pe,ae)).then(P=>{if(P){if(yu(P,2))return B(Sr({replace:ue},v(P.to),{state:typeof P.to=="object"?Sr({},ie,P.to.state):ie,force:J}),K||pe)}else P=F(pe,ae,!0,ue,ie);return R(pe,ae,P),P})}function O(N,K){const Ae=y(N,K);return Ae?Promise.reject(Ae):Promise.resolve()}function x(N){const K=re.values().next().value;return K&&typeof K.runWithContext=="function"?K.runWithContext(N):N()}function M(N,K){let Ae;const[ae,ie,J]=u3e(N,K);Ae=cS(ae.reverse(),"beforeRouteLeave",N,K);for(const G of ae)G.leaveGuards.forEach(pe=>{Ae.push(kc(pe,N,K))});const ue=O.bind(null,N,K);return Ae.push(ue),ce(Ae).then(()=>{Ae=[];for(const G of o.list())Ae.push(kc(G,N,K));return Ae.push(ue),ce(Ae)}).then(()=>{Ae=cS(ie,"beforeRouteUpdate",N,K);for(const G of ie)G.updateGuards.forEach(pe=>{Ae.push(kc(pe,N,K))});return Ae.push(ue),ce(Ae)}).then(()=>{Ae=[];for(const G of J)if(G.beforeEnter)if(Fs(G.beforeEnter))for(const pe of G.beforeEnter)Ae.push(kc(pe,N,K));else Ae.push(kc(G.beforeEnter,N,K));return Ae.push(ue),ce(Ae)}).then(()=>(N.matched.forEach(G=>G.enterCallbacks={}),Ae=cS(J,"beforeRouteEnter",N,K,x),Ae.push(ue),ce(Ae))).then(()=>{Ae=[];for(const G of A.list())Ae.push(kc(G,N,K));return Ae.push(ue),ce(Ae)}).catch(G=>yu(G,8)?G:Promise.reject(G))}function R(N,K,Ae){a.list().forEach(ae=>x(()=>ae(N,K,Ae)))}function F(N,K,Ae,ae,ie){const J=y(N,K);if(J)return J;const ue=K===Uc,G=Up?history.state:{};Ae&&(ae||ue?i.replace(N.fullPath,Sr({scroll:ue&&G&&G.scroll},ie)):i.push(N.fullPath,ie)),s.value=N,ne(N,K,Ae,ue),te()}let L;function E(){L||(L=i.listen((N,K,Ae)=>{if(!se.listening)return;const ae=p(N),ie=C(ae);if(ie){B(Sr(ie,{replace:!0,force:!0}),ae).catch(bm);return}u=ae;const J=s.value;Up&&LFe(p$(J.fullPath,Ae.delta),lC()),M(ae,J).catch(ue=>yu(ue,12)?ue:yu(ue,2)?(B(Sr(v(ue.to),{force:!0}),ae).then(G=>{yu(G,20)&&!Ae.delta&&Ae.type===tv.pop&&i.go(-1,!1)}).catch(bm),Promise.reject()):(Ae.delta&&i.go(-Ae.delta,!1),Z(ue,ae,J))).then(ue=>{ue=ue||F(ae,J,!1),ue&&(Ae.delta&&!yu(ue,8)?i.go(-Ae.delta,!1):Ae.type===tv.pop&&yu(ue,20)&&i.go(-1,!1)),R(ae,J,ue)}).catch(bm)}))}let H=E0(),X=E0(),z;function Z(N,K,Ae){te(N);const ae=X.list();return ae.length?ae.forEach(ie=>ie(N,K,Ae)):console.error(N),Promise.reject(N)}function q(){return z&&s.value!==Uc?Promise.resolve():new Promise((N,K)=>{H.add([N,K])})}function te(N){return z||(z=!N,E(),H.list().forEach(([K,Ae])=>N?Ae(N):K()),H.reset()),N}function ne(N,K,Ae,ae){const{scrollBehavior:ie}=e;if(!Up||!ie)return Promise.resolve();const J=!Ae&&DFe(p$(N.fullPath,0))||(ae||!Ae)&&history.state&&history.state.scroll||null;return $n().then(()=>ie(N,K,J)).then(ue=>ue&&PFe(ue)).catch(ue=>Z(ue,N,K))}const _=N=>i.go(N);let Y;const re=new Set,se={currentRoute:s,listening:!0,addRoute:f,removeRoute:g,clearRoutes:t.clearRoutes,hasRoute:m,getRoutes:h,resolve:p,options:e,push:b,replace:w,go:_,back:()=>_(-1),forward:()=>_(1),beforeEach:o.add,beforeResolve:A.add,afterEach:a.add,onError:X.add,isReady:q,install(N){const K=this;N.component("RouterLink",o3e),N.component("RouterView",l3e),N.config.globalProperties.$router=K,Object.defineProperty(N.config.globalProperties,"$route",{enumerable:!0,get:()=>ni(s)}),Up&&!Y&&s.value===Uc&&(Y=!0,b(i.location).catch(ie=>{}));const Ae={};for(const ie in Uc)Object.defineProperty(Ae,ie,{get:()=>s.value[ie],enumerable:!0});N.provide(uC,K),N.provide(SY,gK(Ae)),N.provide(YI,s);const ae=N.unmount;re.add(N),N.unmount=function(){re.delete(N),re.size<1&&(u=Uc,L&&L(),L=null,s.value=Uc,Y=!1,z=!1),ae()}}};function ce(N){return N.reduce((K,Ae)=>K.then(()=>x(Ae)),Promise.resolve())}return se}function u3e(e,t){const n=[],r=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let A=0;A<o;A++){const a=t.matched[A];a&&(e.matched.find(u=>vg(u,a))?r.push(a):n.push(a));const s=e.matched[A];s&&(t.matched.find(u=>vg(u,s))||i.push(s))}return[n,r,i]}function kHe(){return tn(uC)}const c3e="modulepreload",f3e=function(e){return"/"+e},O$={},JI=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const A=document.querySelector("meta[property=csp-nonce]"),a=(A==null?void 0:A.nonce)||(A==null?void 0:A.getAttribute("nonce"));i=Promise.allSettled(n.map(s=>{if(s=f3e(s),s in O$)return;O$[s]=!0;const u=s.endsWith(".css"),l=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${l}`))return;const c=document.createElement("link");if(c.rel=u?"stylesheet":c3e,u||(c.as="script"),c.crossOrigin="",c.href=s,a&&c.setAttribute("nonce",a),document.head.appendChild(c),u)return new Promise((d,f)=>{c.addEventListener("load",d),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${s}`)))})}))}function o(A){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=A,window.dispatchEvent(a),!a.defaultPrevented)throw A}return i.then(A=>{for(const a of A||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})};/*!
- * vuex v4.1.0
- * (c) 2022 Evan You
- * @license MIT
- */var EY="store";function jHe(e){return e===void 0&&(e=null),tn(e!==null?e:EY)}function Rg(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function d3e(e){return e!==null&&typeof e=="object"}function h3e(e){return e&&typeof e.then=="function"}function p3e(e,t){return function(){return e(t)}}function FY(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function IY(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;cC(e,n,[],e._modules.root,!0),VT(e,n,t)}function VT(e,t,n){var r=e._state,i=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,A={},a={},s=Cre(!0);s.run(function(){Rg(o,function(u,l){A[l]=p3e(u,e),a[l]=fe(function(){return A[l]()}),Object.defineProperty(e.getters,l,{get:function(){return a[l].value},enumerable:!0})})}),e._state=Ir({data:t}),e._scope=s,e.strict&&b3e(e),r&&n&&e._withCommit(function(){r.data=null}),i&&i.stop()}function cC(e,t,n,r,i){var o=!n.length,A=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[A],e._modulesNamespaceMap[A]=r),!o&&!i){var a=zT(t,n.slice(0,-1)),s=n[n.length-1];e._withCommit(function(){a[s]=r.state})}var u=r.context=g3e(e,A,n);r.forEachMutation(function(l,c){var d=A+c;m3e(e,d,l,u)}),r.forEachAction(function(l,c){var d=l.root?c:A+c,f=l.handler||l;v3e(e,d,f,u)}),r.forEachGetter(function(l,c){var d=A+c;y3e(e,d,l,u)}),r.forEachChild(function(l,c){cC(e,t,n.concat(c),l,i)})}function g3e(e,t,n){var r=t==="",i={dispatch:r?e.dispatch:function(o,A,a){var s=$w(o,A,a),u=s.payload,l=s.options,c=s.type;return(!l||!l.root)&&(c=t+c),e.dispatch(c,u)},commit:r?e.commit:function(o,A,a){var s=$w(o,A,a),u=s.payload,l=s.options,c=s.type;(!l||!l.root)&&(c=t+c),e.commit(c,u,l)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return _Y(e,t)}},state:{get:function(){return zT(e.state,n)}}}),i}function _Y(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(i){if(i.slice(0,r)===t){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[i]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function m3e(e,t,n,r){var i=e._mutations[t]||(e._mutations[t]=[]);i.push(function(A){n.call(e,r.state,A)})}function v3e(e,t,n,r){var i=e._actions[t]||(e._actions[t]=[]);i.push(function(A){var a=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},A);return h3e(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(s){throw e._devtoolHook.emit("vuex:error",s),s}):a})}function y3e(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(o){return n(r.state,r.getters,o.state,o.getters)})}function b3e(e){st(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function zT(e,t){return t.reduce(function(n,r){return n[r]},e)}function $w(e,t,n){return d3e(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var w3e="vuex bindings",T$="vuex:mutations",fS="vuex:actions",pp="vuex",B3e=0;function C3e(e,t){lFe({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[w3e]},function(n){n.addTimelineLayer({id:T$,label:"Vuex Mutations",color:U$}),n.addTimelineLayer({id:fS,label:"Vuex Actions",color:U$}),n.addInspector({id:pp,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===pp)if(r.filter){var i=[];QY(i,t._modules.root,r.filter,""),r.rootNodes=i}else r.rootNodes=[UY(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===pp){var i=r.nodeId;_Y(t,i),r.state=E3e(I3e(t._modules,i),i==="root"?t.getters:t._makeLocalGettersCache,i)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===pp){var i=r.nodeId,o=r.path;i!=="root"&&(o=i.split("/").filter(Boolean).concat(o)),t._withCommit(function(){r.set(t._state.data,o,r.state.value)})}}),t.subscribe(function(r,i){var o={};r.payload&&(o.payload=r.payload),o.state=i,n.notifyComponentUpdate(),n.sendInspectorTree(pp),n.sendInspectorState(pp),n.addTimelineEvent({layerId:T$,event:{time:Date.now(),title:r.type,data:o}})}),t.subscribeAction({before:function(r,i){var o={};r.payload&&(o.payload=r.payload),r._id=B3e++,r._time=Date.now(),o.state=i,n.addTimelineEvent({layerId:fS,event:{time:r._time,title:r.type,groupId:r._id,subtitle:"start",data:o}})},after:function(r,i){var o={},A=Date.now()-r._time;o.duration={_custom:{type:"duration",display:A+"ms",tooltip:"Action duration",value:A}},r.payload&&(o.payload=r.payload),o.state=i,n.addTimelineEvent({layerId:fS,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:o}})}})})}var U$=8702998,x3e=6710886,S3e=16777215,OY={label:"namespaced",textColor:S3e,backgroundColor:x3e};function TY(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function UY(e,t){return{id:t||"root",label:TY(t),tags:e.namespaced?[OY]:[],children:Object.keys(e._children).map(function(n){return UY(e._children[n],t+n+"/")})}}function QY(e,t,n,r){r.includes(n)&&e.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:t.namespaced?[OY]:[]}),Object.keys(t._children).forEach(function(i){QY(e,t._children[i],n,r+i+"/")})}function E3e(e,t,n){t=n==="root"?t:t[n];var r=Object.keys(t),i={state:Object.keys(e.state).map(function(A){return{key:A,editable:!0,value:e.state[A]}})};if(r.length){var o=F3e(t);i.getters=Object.keys(o).map(function(A){return{key:A.endsWith("/")?TY(A):A,editable:!1,value:ZI(function(){return o[A]})}})}return i}function F3e(e){var t={};return Object.keys(e).forEach(function(n){var r=n.split("/");if(r.length>1){var i=t,o=r.pop();r.forEach(function(A){i[A]||(i[A]={_custom:{value:{},display:A,tooltip:"Module",abstract:!0}}),i=i[A]._custom.value}),i[o]=ZI(function(){return e[n]})}else t[n]=ZI(function(){return e[n]})}),t}function I3e(e,t){var n=t.split("/").filter(function(r){return r});return n.reduce(function(r,i,o){var A=r[i];if(!A)throw new Error('Missing module "'+i+'" for path "'+t+'".');return o===n.length-1?A:A._children},t==="root"?e:e.root._children)}function ZI(e){try{return e()}catch(t){return t}}var Ts=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var r=t.state;this.state=(typeof r=="function"?r():r)||{}},PY={namespaced:{configurable:!0}};PY.namespaced.get=function(){return!!this._rawModule.namespaced};Ts.prototype.addChild=function(t,n){this._children[t]=n};Ts.prototype.removeChild=function(t){delete this._children[t]};Ts.prototype.getChild=function(t){return this._children[t]};Ts.prototype.hasChild=function(t){return t in this._children};Ts.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};Ts.prototype.forEachChild=function(t){Rg(this._children,t)};Ts.prototype.forEachGetter=function(t){this._rawModule.getters&&Rg(this._rawModule.getters,t)};Ts.prototype.forEachAction=function(t){this._rawModule.actions&&Rg(this._rawModule.actions,t)};Ts.prototype.forEachMutation=function(t){this._rawModule.mutations&&Rg(this._rawModule.mutations,t)};Object.defineProperties(Ts.prototype,PY);var fh=function(t){this.register([],t,!1)};fh.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};fh.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,i){return n=n.getChild(i),r+(n.namespaced?i+"/":"")},"")};fh.prototype.update=function(t){LY([],this.root,t)};fh.prototype.register=function(t,n,r){var i=this;r===void 0&&(r=!0);var o=new Ts(n,r);if(t.length===0)this.root=o;else{var A=this.get(t.slice(0,-1));A.addChild(t[t.length-1],o)}n.modules&&Rg(n.modules,function(a,s){i.register(t.concat(s),a,r)})};fh.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1],i=n.getChild(r);i&&i.runtime&&n.removeChild(r)};fh.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function LY(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;LY(e.concat(r),t.getChild(r),n.modules[r])}}function KHe(e){return new kA(e)}var kA=function(t){var n=this;t===void 0&&(t={});var r=t.plugins;r===void 0&&(r=[]);var i=t.strict;i===void 0&&(i=!1);var o=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new fh(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=o;var A=this,a=this,s=a.dispatch,u=a.commit;this.dispatch=function(d,f){return s.call(A,d,f)},this.commit=function(d,f,g){return u.call(A,d,f,g)},this.strict=i;var l=this._modules.root.state;cC(this,l,[],this._modules.root),VT(this,l),r.forEach(function(c){return c(n)})},GT={state:{configurable:!0}};kA.prototype.install=function(t,n){t.provide(n||EY,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&C3e(t,this)};GT.state.get=function(){return this._state.data};GT.state.set=function(e){};kA.prototype.commit=function(t,n,r){var i=this,o=$w(t,n,r),A=o.type,a=o.payload,s={type:A,payload:a},u=this._mutations[A];u&&(this._withCommit(function(){u.forEach(function(c){c(a)})}),this._subscribers.slice().forEach(function(l){return l(s,i.state)}))};kA.prototype.dispatch=function(t,n){var r=this,i=$w(t,n),o=i.type,A=i.payload,a={type:o,payload:A},s=this._actions[o];if(s){try{this._actionSubscribers.slice().filter(function(l){return l.before}).forEach(function(l){return l.before(a,r.state)})}catch{}var u=s.length>1?Promise.all(s.map(function(l){return l(A)})):s[0](A);return new Promise(function(l,c){u.then(function(d){try{r._actionSubscribers.filter(function(f){return f.after}).forEach(function(f){return f.after(a,r.state)})}catch{}l(d)},function(d){try{r._actionSubscribers.filter(function(f){return f.error}).forEach(function(f){return f.error(a,r.state,d)})}catch{}c(d)})})}};kA.prototype.subscribe=function(t,n){return FY(t,this._subscribers,n)};kA.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return FY(r,this._actionSubscribers,n)};kA.prototype.watch=function(t,n,r){var i=this;return st(function(){return t(i.state,i.getters)},n,Object.assign({},r))};kA.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};kA.prototype.registerModule=function(t,n,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),cC(this,this.state,t,this._modules.get(t),r.preserveState),VT(this,this.state)};kA.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var r=zT(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),IY(this)};kA.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};kA.prototype.hotUpdate=function(t){this._modules.update(t),IY(this,!0)};kA.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(kA.prototype,GT);var Db={exports:{}},_3e=Db.exports,Q$;function O3e(){return Q$||(Q$=1,function(e,t){(function(n,r){e.exports=r(bV())})(_3e,function(n){function r(A){return A&&typeof A=="object"&&"default"in A?A:{default:A}}var i=r(n),o={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(A,a){return a==="W"?A+"周":A+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(A,a){var s=100*A+a;return s<600?"凌晨":s<900?"早上":s<1100?"上午":s<1300?"中午":s<1800?"下午":"晚上"}};return i.default.locale(o,null,!0),o})}(Db)),Db.exports}O3e();function DY(e,t){return function(){return e.apply(t,arguments)}}const{toString:T3e}=Object.prototype,{getPrototypeOf:WT}=Object,fC=(e=>t=>{const n=T3e.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Us=e=>(e=e.toLowerCase(),t=>fC(t)===e),dC=e=>t=>typeof t===e,{isArray:$g}=Array,nv=dC("undefined");function U3e(e){return e!==null&&!nv(e)&&e.constructor!==null&&!nv(e.constructor)&&ua(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const RY=Us("ArrayBuffer");function Q3e(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&RY(e.buffer),t}const P3e=dC("string"),ua=dC("function"),$Y=dC("number"),hC=e=>e!==null&&typeof e=="object",L3e=e=>e===!0||e===!1,Rb=e=>{if(fC(e)!=="object")return!1;const t=WT(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},D3e=Us("Date"),R3e=Us("File"),$3e=Us("Blob"),N3e=Us("FileList"),H3e=e=>hC(e)&&ua(e.pipe),M3e=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ua(e.append)&&((t=fC(e))==="formdata"||t==="object"&&ua(e.toString)&&e.toString()==="[object FormData]"))},k3e=Us("URLSearchParams"),[j3e,K3e,V3e,z3e]=["ReadableStream","Request","Response","Headers"].map(Us),G3e=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Uv(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),$g(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),A=o.length;let a;for(r=0;r<A;r++)a=o[r],t.call(null,e[a],a,e)}}function NY(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const Id=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,HY=e=>!nv(e)&&e!==Id;function e_(){const{caseless:e}=HY(this)&&this||{},t={},n=(r,i)=>{const o=e&&NY(t,i)||i;Rb(t[o])&&Rb(r)?t[o]=e_(t[o],r):Rb(r)?t[o]=e_({},r):$g(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Uv(arguments[r],n);return t}const W3e=(e,t,n,{allOwnKeys:r}={})=>(Uv(t,(i,o)=>{n&&ua(i)?e[o]=DY(i,n):e[o]=i},{allOwnKeys:r}),e),q3e=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),X3e=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Y3e=(e,t,n,r)=>{let i,o,A;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)A=i[o],(!r||r(A,e,t))&&!a[A]&&(t[A]=e[A],a[A]=!0);e=n!==!1&&WT(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},J3e=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Z3e=e=>{if(!e)return null;if($g(e))return e;let t=e.length;if(!$Y(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},eIe=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&WT(Uint8Array)),tIe=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},nIe=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},rIe=Us("HTMLFormElement"),iIe=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),P$=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),oIe=Us("RegExp"),MY=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Uv(n,(i,o)=>{let A;(A=t(i,o,e))!==!1&&(r[o]=A||i)}),Object.defineProperties(e,r)},AIe=e=>{MY(e,(t,n)=>{if(ua(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ua(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},aIe=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return $g(e)?r(e):r(String(e).split(t)),n},sIe=()=>{},lIe=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,dS="abcdefghijklmnopqrstuvwxyz",L$="0123456789",kY={DIGIT:L$,ALPHA:dS,ALPHA_DIGIT:dS+dS.toUpperCase()+L$},uIe=(e=16,t=kY.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function cIe(e){return!!(e&&ua(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const fIe=e=>{const t=new Array(10),n=(r,i)=>{if(hC(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=$g(r)?[]:{};return Uv(r,(A,a)=>{const s=n(A,i+1);!nv(s)&&(o[a]=s)}),t[i]=void 0,o}}return r};return n(e,0)},dIe=Us("AsyncFunction"),hIe=e=>e&&(hC(e)||ua(e))&&ua(e.then)&&ua(e.catch),jY=((e,t)=>e?setImmediate:t?((n,r)=>(Id.addEventListener("message",({source:i,data:o})=>{i===Id&&o===n&&r.length&&r.shift()()},!1),i=>{r.push(i),Id.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",ua(Id.postMessage)),pIe=typeof queueMicrotask<"u"?queueMicrotask.bind(Id):typeof process<"u"&&process.nextTick||jY,dt={isArray:$g,isArrayBuffer:RY,isBuffer:U3e,isFormData:M3e,isArrayBufferView:Q3e,isString:P3e,isNumber:$Y,isBoolean:L3e,isObject:hC,isPlainObject:Rb,isReadableStream:j3e,isRequest:K3e,isResponse:V3e,isHeaders:z3e,isUndefined:nv,isDate:D3e,isFile:R3e,isBlob:$3e,isRegExp:oIe,isFunction:ua,isStream:H3e,isURLSearchParams:k3e,isTypedArray:eIe,isFileList:N3e,forEach:Uv,merge:e_,extend:W3e,trim:G3e,stripBOM:q3e,inherits:X3e,toFlatObject:Y3e,kindOf:fC,kindOfTest:Us,endsWith:J3e,toArray:Z3e,forEachEntry:tIe,matchAll:nIe,isHTMLForm:rIe,hasOwnProperty:P$,hasOwnProp:P$,reduceDescriptors:MY,freezeMethods:AIe,toObjectSet:aIe,toCamelCase:iIe,noop:sIe,toFiniteNumber:lIe,findKey:NY,global:Id,isContextDefined:HY,ALPHABET:kY,generateString:uIe,isSpecCompliantForm:cIe,toJSONObject:fIe,isAsyncFn:dIe,isThenable:hIe,setImmediate:jY,asap:pIe};function Rn(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}dt.inherits(Rn,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:dt.toJSONObject(this.config),code:this.code,status:this.status}}});const KY=Rn.prototype,VY={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{VY[e]={value:e}});Object.defineProperties(Rn,VY);Object.defineProperty(KY,"isAxiosError",{value:!0});Rn.from=(e,t,n,r,i,o)=>{const A=Object.create(KY);return dt.toFlatObject(e,A,function(s){return s!==Error.prototype},a=>a!=="isAxiosError"),Rn.call(A,e.message,t,n,r,i),A.cause=e,A.name=e.name,o&&Object.assign(A,o),A};const gIe=null;function t_(e){return dt.isPlainObject(e)||dt.isArray(e)}function zY(e){return dt.endsWith(e,"[]")?e.slice(0,-2):e}function D$(e,t,n){return e?e.concat(t).map(function(i,o){return i=zY(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function mIe(e){return dt.isArray(e)&&!e.some(t_)}const vIe=dt.toFlatObject(dt,{},null,function(t){return/^is[A-Z]/.test(t)});function pC(e,t,n){if(!dt.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=dt.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,m){return!dt.isUndefined(m[h])});const r=n.metaTokens,i=n.visitor||l,o=n.dots,A=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&dt.isSpecCompliantForm(t);if(!dt.isFunction(i))throw new TypeError("visitor must be a function");function u(g){if(g===null)return"";if(dt.isDate(g))return g.toISOString();if(!s&&dt.isBlob(g))throw new Rn("Blob is not supported. Use a Buffer instead.");return dt.isArrayBuffer(g)||dt.isTypedArray(g)?s&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function l(g,h,m){let p=g;if(g&&!m&&typeof g=="object"){if(dt.endsWith(h,"{}"))h=r?h:h.slice(0,-2),g=JSON.stringify(g);else if(dt.isArray(g)&&mIe(g)||(dt.isFileList(g)||dt.endsWith(h,"[]"))&&(p=dt.toArray(g)))return h=zY(h),p.forEach(function(y,b){!(dt.isUndefined(y)||y===null)&&t.append(A===!0?D$([h],b,o):A===null?h:h+"[]",u(y))}),!1}return t_(g)?!0:(t.append(D$(m,h,o),u(g)),!1)}const c=[],d=Object.assign(vIe,{defaultVisitor:l,convertValue:u,isVisitable:t_});function f(g,h){if(!dt.isUndefined(g)){if(c.indexOf(g)!==-1)throw Error("Circular reference detected in "+h.join("."));c.push(g),dt.forEach(g,function(p,v){(!(dt.isUndefined(p)||p===null)&&i.call(t,p,dt.isString(v)?v.trim():v,h,d))===!0&&f(p,h?h.concat(v):[v])}),c.pop()}}if(!dt.isObject(e))throw new TypeError("data must be an object");return f(e),t}function R$(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function qT(e,t){this._pairs=[],e&&pC(e,this,t)}const GY=qT.prototype;GY.append=function(t,n){this._pairs.push([t,n])};GY.toString=function(t){const n=t?function(r){return t.call(this,r,R$)}:R$;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function yIe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function WY(e,t,n){if(!t)return e;const r=n&&n.encode||yIe;dt.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let o;if(i?o=i(t,n):o=dt.isURLSearchParams(t)?t.toString():new qT(t,n).toString(r),o){const A=e.indexOf("#");A!==-1&&(e=e.slice(0,A)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class $${constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){dt.forEach(this.handlers,function(r){r!==null&&t(r)})}}const qY={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},bIe=typeof URLSearchParams<"u"?URLSearchParams:qT,wIe=typeof FormData<"u"?FormData:null,BIe=typeof Blob<"u"?Blob:null,CIe={isBrowser:!0,classes:{URLSearchParams:bIe,FormData:wIe,Blob:BIe},protocols:["http","https","file","blob","url","data"]},XT=typeof window<"u"&&typeof document<"u",n_=typeof navigator=="object"&&navigator||void 0,xIe=XT&&(!n_||["ReactNative","NativeScript","NS"].indexOf(n_.product)<0),SIe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",EIe=XT&&window.location.href||"http://localhost",FIe=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:XT,hasStandardBrowserEnv:xIe,hasStandardBrowserWebWorkerEnv:SIe,navigator:n_,origin:EIe},Symbol.toStringTag,{value:"Module"})),Yo={...FIe,...CIe};function IIe(e,t){return pC(e,new Yo.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return Yo.isNode&&dt.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function _Ie(e){return dt.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function OIe(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}function XY(e){function t(n,r,i,o){let A=n[o++];if(A==="__proto__")return!0;const a=Number.isFinite(+A),s=o>=n.length;return A=!A&&dt.isArray(i)?i.length:A,s?(dt.hasOwnProp(i,A)?i[A]=[i[A],r]:i[A]=r,!a):((!i[A]||!dt.isObject(i[A]))&&(i[A]=[]),t(n,r,i[A],o)&&dt.isArray(i[A])&&(i[A]=OIe(i[A])),!a)}if(dt.isFormData(e)&&dt.isFunction(e.entries)){const n={};return dt.forEachEntry(e,(r,i)=>{t(_Ie(r),i,n,0)}),n}return null}function TIe(e,t,n){if(dt.isString(e))try{return(t||JSON.parse)(e),dt.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Qv={transitional:qY,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=dt.isObject(t);if(o&&dt.isHTMLForm(t)&&(t=new FormData(t)),dt.isFormData(t))return i?JSON.stringify(XY(t)):t;if(dt.isArrayBuffer(t)||dt.isBuffer(t)||dt.isStream(t)||dt.isFile(t)||dt.isBlob(t)||dt.isReadableStream(t))return t;if(dt.isArrayBufferView(t))return t.buffer;if(dt.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return IIe(t,this.formSerializer).toString();if((a=dt.isFileList(t))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return pC(a?{"files[]":t}:t,s&&new s,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),TIe(t)):t}],transformResponse:[function(t){const n=this.transitional||Qv.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(dt.isResponse(t)||dt.isReadableStream(t))return t;if(t&&dt.isString(t)&&(r&&!this.responseType||i)){const A=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(A)throw a.name==="SyntaxError"?Rn.from(a,Rn.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Yo.classes.FormData,Blob:Yo.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};dt.forEach(["delete","get","head","post","put","patch"],e=>{Qv.headers[e]={}});const UIe=dt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),QIe=e=>{const t={};let n,r,i;return e&&e.split(`
- `).forEach(function(A){i=A.indexOf(":"),n=A.substring(0,i).trim().toLowerCase(),r=A.substring(i+1).trim(),!(!n||t[n]&&UIe[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},N$=Symbol("internals");function F0(e){return e&&String(e).trim().toLowerCase()}function $b(e){return e===!1||e==null?e:dt.isArray(e)?e.map($b):String(e)}function PIe(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const LIe=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function hS(e,t,n,r,i){if(dt.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!dt.isString(t)){if(dt.isString(r))return t.indexOf(r)!==-1;if(dt.isRegExp(r))return r.test(t)}}function DIe(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function RIe(e,t){const n=dt.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,A){return this[r].call(this,t,i,o,A)},configurable:!0})})}class DA{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(a,s,u){const l=F0(s);if(!l)throw new Error("header name must be a non-empty string");const c=dt.findKey(i,l);(!c||i[c]===void 0||u===!0||u===void 0&&i[c]!==!1)&&(i[c||s]=$b(a))}const A=(a,s)=>dt.forEach(a,(u,l)=>o(u,l,s));if(dt.isPlainObject(t)||t instanceof this.constructor)A(t,n);else if(dt.isString(t)&&(t=t.trim())&&!LIe(t))A(QIe(t),n);else if(dt.isHeaders(t))for(const[a,s]of t.entries())o(s,a,r);else t!=null&&o(n,t,r);return this}get(t,n){if(t=F0(t),t){const r=dt.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return PIe(i);if(dt.isFunction(n))return n.call(this,i,r);if(dt.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=F0(t),t){const r=dt.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||hS(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(A){if(A=F0(A),A){const a=dt.findKey(r,A);a&&(!n||hS(r,r[a],a,n))&&(delete r[a],i=!0)}}return dt.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||hS(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return dt.forEach(this,(i,o)=>{const A=dt.findKey(r,o);if(A){n[A]=$b(i),delete n[o];return}const a=t?DIe(o):String(o).trim();a!==o&&delete n[o],n[a]=$b(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return dt.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&dt.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[N$]=this[N$]={accessors:{}}).accessors,i=this.prototype;function o(A){const a=F0(A);r[a]||(RIe(i,A),r[a]=!0)}return dt.isArray(t)?t.forEach(o):o(t),this}}DA.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);dt.reduceDescriptors(DA.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});dt.freezeMethods(DA);function pS(e,t){const n=this||Qv,r=t||n,i=DA.from(r.headers);let o=r.data;return dt.forEach(e,function(a){o=a.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function YY(e){return!!(e&&e.__CANCEL__)}function Ng(e,t,n){Rn.call(this,e??"canceled",Rn.ERR_CANCELED,t,n),this.name="CanceledError"}dt.inherits(Ng,Rn,{__CANCEL__:!0});function JY(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Rn("Request failed with status code "+n.status,[Rn.ERR_BAD_REQUEST,Rn.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function $Ie(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function NIe(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,A;return t=t!==void 0?t:1e3,function(s){const u=Date.now(),l=r[o];A||(A=u),n[i]=s,r[i]=u;let c=o,d=0;for(;c!==i;)d+=n[c++],c=c%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),u-A<t)return;const f=l&&u-l;return f?Math.round(d*1e3/f):void 0}}function HIe(e,t){let n=0,r=1e3/t,i,o;const A=(u,l=Date.now())=>{n=l,i=null,o&&(clearTimeout(o),o=null),e.apply(null,u)};return[(...u)=>{const l=Date.now(),c=l-n;c>=r?A(u,l):(i=u,o||(o=setTimeout(()=>{o=null,A(i)},r-c)))},()=>i&&A(i)]}const Nw=(e,t,n=3)=>{let r=0;const i=NIe(50,250);return HIe(o=>{const A=o.loaded,a=o.lengthComputable?o.total:void 0,s=A-r,u=i(s),l=A<=a;r=A;const c={loaded:A,total:a,progress:a?A/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&l?(a-A)/u:void 0,event:o,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(c)},n)},H$=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},M$=e=>(...t)=>dt.asap(()=>e(...t)),MIe=Yo.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Yo.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Yo.origin),Yo.navigator&&/(msie|trident)/i.test(Yo.navigator.userAgent)):()=>!0,kIe=Yo.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const A=[e+"="+encodeURIComponent(t)];dt.isNumber(n)&&A.push("expires="+new Date(n).toGMTString()),dt.isString(r)&&A.push("path="+r),dt.isString(i)&&A.push("domain="+i),o===!0&&A.push("secure"),document.cookie=A.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function jIe(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function KIe(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function ZY(e,t){return e&&!jIe(t)?KIe(e,t):t}const k$=e=>e instanceof DA?{...e}:e;function nh(e,t){t=t||{};const n={};function r(u,l,c,d){return dt.isPlainObject(u)&&dt.isPlainObject(l)?dt.merge.call({caseless:d},u,l):dt.isPlainObject(l)?dt.merge({},l):dt.isArray(l)?l.slice():l}function i(u,l,c,d){if(dt.isUndefined(l)){if(!dt.isUndefined(u))return r(void 0,u,c,d)}else return r(u,l,c,d)}function o(u,l){if(!dt.isUndefined(l))return r(void 0,l)}function A(u,l){if(dt.isUndefined(l)){if(!dt.isUndefined(u))return r(void 0,u)}else return r(void 0,l)}function a(u,l,c){if(c in t)return r(u,l);if(c in e)return r(void 0,u)}const s={url:o,method:o,data:o,baseURL:A,transformRequest:A,transformResponse:A,paramsSerializer:A,timeout:A,timeoutMessage:A,withCredentials:A,withXSRFToken:A,adapter:A,responseType:A,xsrfCookieName:A,xsrfHeaderName:A,onUploadProgress:A,onDownloadProgress:A,decompress:A,maxContentLength:A,maxBodyLength:A,beforeRedirect:A,transport:A,httpAgent:A,httpsAgent:A,cancelToken:A,socketPath:A,responseEncoding:A,validateStatus:a,headers:(u,l,c)=>i(k$(u),k$(l),c,!0)};return dt.forEach(Object.keys(Object.assign({},e,t)),function(l){const c=s[l]||i,d=c(e[l],t[l],l);dt.isUndefined(d)&&c!==a||(n[l]=d)}),n}const eJ=e=>{const t=nh({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:o,headers:A,auth:a}=t;t.headers=A=DA.from(A),t.url=WY(ZY(t.baseURL,t.url),e.params,e.paramsSerializer),a&&A.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let s;if(dt.isFormData(n)){if(Yo.hasStandardBrowserEnv||Yo.hasStandardBrowserWebWorkerEnv)A.setContentType(void 0);else if((s=A.getContentType())!==!1){const[u,...l]=s?s.split(";").map(c=>c.trim()).filter(Boolean):[];A.setContentType([u||"multipart/form-data",...l].join("; "))}}if(Yo.hasStandardBrowserEnv&&(r&&dt.isFunction(r)&&(r=r(t)),r||r!==!1&&MIe(t.url))){const u=i&&o&&kIe.read(o);u&&A.set(i,u)}return t},VIe=typeof XMLHttpRequest<"u",zIe=VIe&&function(e){return new Promise(function(n,r){const i=eJ(e);let o=i.data;const A=DA.from(i.headers).normalize();let{responseType:a,onUploadProgress:s,onDownloadProgress:u}=i,l,c,d,f,g;function h(){f&&f(),g&&g(),i.cancelToken&&i.cancelToken.unsubscribe(l),i.signal&&i.signal.removeEventListener("abort",l)}let m=new XMLHttpRequest;m.open(i.method.toUpperCase(),i.url,!0),m.timeout=i.timeout;function p(){if(!m)return;const y=DA.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),w={data:!a||a==="text"||a==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:y,config:e,request:m};JY(function(B){n(B),h()},function(B){r(B),h()},w),m=null}"onloadend"in m?m.onloadend=p:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(p)},m.onabort=function(){m&&(r(new Rn("Request aborted",Rn.ECONNABORTED,e,m)),m=null)},m.onerror=function(){r(new Rn("Network Error",Rn.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let b=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const w=i.transitional||qY;i.timeoutErrorMessage&&(b=i.timeoutErrorMessage),r(new Rn(b,w.clarifyTimeoutError?Rn.ETIMEDOUT:Rn.ECONNABORTED,e,m)),m=null},o===void 0&&A.setContentType(null),"setRequestHeader"in m&&dt.forEach(A.toJSON(),function(b,w){m.setRequestHeader(w,b)}),dt.isUndefined(i.withCredentials)||(m.withCredentials=!!i.withCredentials),a&&a!=="json"&&(m.responseType=i.responseType),u&&([d,g]=Nw(u,!0),m.addEventListener("progress",d)),s&&m.upload&&([c,f]=Nw(s),m.upload.addEventListener("progress",c),m.upload.addEventListener("loadend",f)),(i.cancelToken||i.signal)&&(l=y=>{m&&(r(!y||y.type?new Ng(null,e,m):y),m.abort(),m=null)},i.cancelToken&&i.cancelToken.subscribe(l),i.signal&&(i.signal.aborted?l():i.signal.addEventListener("abort",l)));const v=$Ie(i.url);if(v&&Yo.protocols.indexOf(v)===-1){r(new Rn("Unsupported protocol "+v+":",Rn.ERR_BAD_REQUEST,e));return}m.send(o||null)})},GIe=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const o=function(u){if(!i){i=!0,a();const l=u instanceof Error?u:this.reason;r.abort(l instanceof Rn?l:new Ng(l instanceof Error?l.message:l))}};let A=t&&setTimeout(()=>{A=null,o(new Rn(`timeout ${t} of ms exceeded`,Rn.ETIMEDOUT))},t);const a=()=>{e&&(A&&clearTimeout(A),A=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:s}=r;return s.unsubscribe=()=>dt.asap(a),s}},WIe=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},qIe=async function*(e,t){for await(const n of XIe(e))yield*WIe(n,t)},XIe=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},j$=(e,t,n,r)=>{const i=qIe(e,t);let o=0,A,a=s=>{A||(A=!0,r&&r(s))};return new ReadableStream({async pull(s){try{const{done:u,value:l}=await i.next();if(u){a(),s.close();return}let c=l.byteLength;if(n){let d=o+=c;n(d)}s.enqueue(new Uint8Array(l))}catch(u){throw a(u),u}},cancel(s){return a(s),i.return()}},{highWaterMark:2})},gC=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",tJ=gC&&typeof ReadableStream=="function",YIe=gC&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),nJ=(e,...t)=>{try{return!!e(...t)}catch{return!1}},JIe=tJ&&nJ(()=>{let e=!1;const t=new Request(Yo.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),K$=64*1024,r_=tJ&&nJ(()=>dt.isReadableStream(new Response("").body)),Hw={stream:r_&&(e=>e.body)};gC&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Hw[t]&&(Hw[t]=dt.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new Rn(`Response type '${t}' is not supported`,Rn.ERR_NOT_SUPPORT,r)})})})(new Response);const ZIe=async e=>{if(e==null)return 0;if(dt.isBlob(e))return e.size;if(dt.isSpecCompliantForm(e))return(await new Request(Yo.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(dt.isArrayBufferView(e)||dt.isArrayBuffer(e))return e.byteLength;if(dt.isURLSearchParams(e)&&(e=e+""),dt.isString(e))return(await YIe(e)).byteLength},e_e=async(e,t)=>{const n=dt.toFiniteNumber(e.getContentLength());return n??ZIe(t)},t_e=gC&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:o,timeout:A,onDownloadProgress:a,onUploadProgress:s,responseType:u,headers:l,withCredentials:c="same-origin",fetchOptions:d}=eJ(e);u=u?(u+"").toLowerCase():"text";let f=GIe([i,o&&o.toAbortSignal()],A),g;const h=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let m;try{if(s&&JIe&&n!=="get"&&n!=="head"&&(m=await e_e(l,r))!==0){let w=new Request(t,{method:"POST",body:r,duplex:"half"}),C;if(dt.isFormData(r)&&(C=w.headers.get("content-type"))&&l.setContentType(C),w.body){const[B,O]=H$(m,Nw(M$(s)));r=j$(w.body,K$,B,O)}}dt.isString(c)||(c=c?"include":"omit");const p="credentials"in Request.prototype;g=new Request(t,{...d,signal:f,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:r,duplex:"half",credentials:p?c:void 0});let v=await fetch(g);const y=r_&&(u==="stream"||u==="response");if(r_&&(a||y&&h)){const w={};["status","statusText","headers"].forEach(x=>{w[x]=v[x]});const C=dt.toFiniteNumber(v.headers.get("content-length")),[B,O]=a&&H$(C,Nw(M$(a),!0))||[];v=new Response(j$(v.body,K$,B,()=>{O&&O(),h&&h()}),w)}u=u||"text";let b=await Hw[dt.findKey(Hw,u)||"text"](v,e);return!y&&h&&h(),await new Promise((w,C)=>{JY(w,C,{data:b,headers:DA.from(v.headers),status:v.status,statusText:v.statusText,config:e,request:g})})}catch(p){throw h&&h(),p&&p.name==="TypeError"&&/fetch/i.test(p.message)?Object.assign(new Rn("Network Error",Rn.ERR_NETWORK,e,g),{cause:p.cause||p}):Rn.from(p,p&&p.code,e,g)}}),i_={http:gIe,xhr:zIe,fetch:t_e};dt.forEach(i_,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const V$=e=>`- ${e}`,n_e=e=>dt.isFunction(e)||e===null||e===!1,rJ={getAdapter:e=>{e=dt.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o<t;o++){n=e[o];let A;if(r=n,!n_e(n)&&(r=i_[(A=String(n)).toLowerCase()],r===void 0))throw new Rn(`Unknown adapter '${A}'`);if(r)break;i[A||"#"+o]=r}if(!r){const o=Object.entries(i).map(([a,s])=>`adapter ${a} `+(s===!1?"is not supported by the environment":"is not available in the build"));let A=t?o.length>1?`since :
- `+o.map(V$).join(`
- `):" "+V$(o[0]):"as no adapter specified";throw new Rn("There is no suitable adapter to dispatch the request "+A,"ERR_NOT_SUPPORT")}return r},adapters:i_};function gS(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ng(null,e)}function z$(e){return gS(e),e.headers=DA.from(e.headers),e.data=pS.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),rJ.getAdapter(e.adapter||Qv.adapter)(e).then(function(r){return gS(e),r.data=pS.call(e,e.transformResponse,r),r.headers=DA.from(r.headers),r},function(r){return YY(r)||(gS(e),r&&r.response&&(r.response.data=pS.call(e,e.transformResponse,r.response),r.response.headers=DA.from(r.response.headers))),Promise.reject(r)})}const iJ="1.7.9",mC={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{mC[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const G$={};mC.transitional=function(t,n,r){function i(o,A){return"[Axios v"+iJ+"] Transitional option '"+o+"'"+A+(r?". "+r:"")}return(o,A,a)=>{if(t===!1)throw new Rn(i(A," has been removed"+(n?" in "+n:"")),Rn.ERR_DEPRECATED);return n&&!G$[A]&&(G$[A]=!0,console.warn(i(A," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,A,a):!0}};mC.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function r_e(e,t,n){if(typeof e!="object")throw new Rn("options must be an object",Rn.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],A=t[o];if(A){const a=e[o],s=a===void 0||A(a,o,e);if(s!==!0)throw new Rn("option "+o+" must be "+s,Rn.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Rn("Unknown option "+o,Rn.ERR_BAD_OPTION)}}const Nb={assertOptions:r_e,validators:mC},al=Nb.validators;class Rd{constructor(t){this.defaults=t,this.interceptors={request:new $$,response:new $$}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
- `+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=nh(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&Nb.assertOptions(r,{silentJSONParsing:al.transitional(al.boolean),forcedJSONParsing:al.transitional(al.boolean),clarifyTimeoutError:al.transitional(al.boolean)},!1),i!=null&&(dt.isFunction(i)?n.paramsSerializer={serialize:i}:Nb.assertOptions(i,{encode:al.function,serialize:al.function},!0)),Nb.assertOptions(n,{baseUrl:al.spelling("baseURL"),withXsrfToken:al.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let A=o&&dt.merge(o.common,o[n.method]);o&&dt.forEach(["delete","get","head","post","put","patch","common"],g=>{delete o[g]}),n.headers=DA.concat(A,o);const a=[];let s=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(s=s&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const u=[];this.interceptors.response.forEach(function(h){u.push(h.fulfilled,h.rejected)});let l,c=0,d;if(!s){const g=[z$.bind(this),void 0];for(g.unshift.apply(g,a),g.push.apply(g,u),d=g.length,l=Promise.resolve(n);c<d;)l=l.then(g[c++],g[c++]);return l}d=a.length;let f=n;for(c=0;c<d;){const g=a[c++],h=a[c++];try{f=g(f)}catch(m){h.call(this,m);break}}try{l=z$.call(this,f)}catch(g){return Promise.reject(g)}for(c=0,d=u.length;c<d;)l=l.then(u[c++],u[c++]);return l}getUri(t){t=nh(this.defaults,t);const n=ZY(t.baseURL,t.url);return WY(n,t.params,t.paramsSerializer)}}dt.forEach(["delete","get","head","options"],function(t){Rd.prototype[t]=function(n,r){return this.request(nh(r||{},{method:t,url:n,data:(r||{}).data}))}});dt.forEach(["post","put","patch"],function(t){function n(r){return function(o,A,a){return this.request(nh(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:A}))}}Rd.prototype[t]=n(),Rd.prototype[t+"Form"]=n(!0)});class YT{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(i=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const A=new Promise(a=>{r.subscribe(a),o=a}).then(i);return A.cancel=function(){r.unsubscribe(o)},A},t(function(o,A,a){r.reason||(r.reason=new Ng(o,A,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new YT(function(i){t=i}),cancel:t}}}function i_e(e){return function(n){return e.apply(null,n)}}function o_e(e){return dt.isObject(e)&&e.isAxiosError===!0}const o_={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(o_).forEach(([e,t])=>{o_[t]=e});function oJ(e){const t=new Rd(e),n=DY(Rd.prototype.request,t);return dt.extend(n,Rd.prototype,t,{allOwnKeys:!0}),dt.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return oJ(nh(e,i))},n}const ro=oJ(Qv);ro.Axios=Rd;ro.CanceledError=Ng;ro.CancelToken=YT;ro.isCancel=YY;ro.VERSION=iJ;ro.toFormData=pC;ro.AxiosError=Rn;ro.Cancel=ro.CanceledError;ro.all=function(t){return Promise.all(t)};ro.spread=i_e;ro.isAxiosError=o_e;ro.mergeConfig=nh;ro.AxiosHeaders=DA;ro.formToJSON=e=>XY(dt.isHTMLForm(e)?new FormData(e):e);ro.getAdapter=rJ.getAdapter;ro.HttpStatusCode=o_;ro.default=ro;const W$={};function A_e(e){let t=W$[e];if(t)return t;t=W$[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);t.push(r)}for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}function bg(e,t){typeof t!="string"&&(t=bg.defaultChars);const n=A_e(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(r){let i="";for(let o=0,A=r.length;o<A;o+=3){const a=parseInt(r.slice(o+1,o+3),16);if(a<128){i+=n[a];continue}if((a&224)===192&&o+3<A){const s=parseInt(r.slice(o+4,o+6),16);if((s&192)===128){const u=a<<6&1984|s&63;u<128?i+="��":i+=String.fromCharCode(u),o+=3;continue}}if((a&240)===224&&o+6<A){const s=parseInt(r.slice(o+4,o+6),16),u=parseInt(r.slice(o+7,o+9),16);if((s&192)===128&&(u&192)===128){const l=a<<12&61440|s<<6&4032|u&63;l<2048||l>=55296&&l<=57343?i+="���":i+=String.fromCharCode(l),o+=6;continue}}if((a&248)===240&&o+9<A){const s=parseInt(r.slice(o+4,o+6),16),u=parseInt(r.slice(o+7,o+9),16),l=parseInt(r.slice(o+10,o+12),16);if((s&192)===128&&(u&192)===128&&(l&192)===128){let c=a<<18&1835008|s<<12&258048|u<<6&4032|l&63;c<65536||c>1114111?i+="����":(c-=65536,i+=String.fromCharCode(55296+(c>>10),56320+(c&1023))),o+=9;continue}}i+="�"}return i})}bg.defaultChars=";/?:@&=+$,#";bg.componentChars="";const q$={};function a_e(e){let t=q$[e];if(t)return t;t=q$[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function Pv(e,t,n){typeof t!="string"&&(n=t,t=Pv.defaultChars),typeof n>"u"&&(n=!0);const r=a_e(t);let i="";for(let o=0,A=e.length;o<A;o++){const a=e.charCodeAt(o);if(n&&a===37&&o+2<A&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3))){i+=e.slice(o,o+3),o+=2;continue}if(a<128){i+=r[a];continue}if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&o+1<A){const s=e.charCodeAt(o+1);if(s>=56320&&s<=57343){i+=encodeURIComponent(e[o]+e[o+1]),o++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[o])}return i}Pv.defaultChars=";/?:@&=+$,-_.!~*'()#";Pv.componentChars="-_.!~*'()";function JT(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function Mw(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const s_e=/^([a-z0-9.+-]+:)/i,l_e=/:[0-9]*$/,u_e=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c_e=["<",">",'"',"`"," ","\r",`
- `," "],f_e=["{","}","|","\\","^","`"].concat(c_e),d_e=["'"].concat(f_e),X$=["%","/","?",";","#"].concat(d_e),Y$=["/","?","#"],h_e=255,J$=/^[+a-z0-9A-Z_-]{0,63}$/,p_e=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Z$={javascript:!0,"javascript:":!0},eN={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function ZT(e,t){if(e&&e instanceof Mw)return e;const n=new Mw;return n.parse(e,t),n}Mw.prototype.parse=function(e,t){let n,r,i,o=e;if(o=o.trim(),!t&&e.split("#").length===1){const u=u_e.exec(o);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}let A=s_e.exec(o);if(A&&(A=A[0],n=A.toLowerCase(),this.protocol=A,o=o.substr(A.length)),(t||A||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=o.substr(0,2)==="//",i&&!(A&&Z$[A])&&(o=o.substr(2),this.slashes=!0)),!Z$[A]&&(i||A&&!eN[A])){let u=-1;for(let g=0;g<Y$.length;g++)r=o.indexOf(Y$[g]),r!==-1&&(u===-1||r<u)&&(u=r);let l,c;u===-1?c=o.lastIndexOf("@"):c=o.lastIndexOf("@",u),c!==-1&&(l=o.slice(0,c),o=o.slice(c+1),this.auth=l),u=-1;for(let g=0;g<X$.length;g++)r=o.indexOf(X$[g]),r!==-1&&(u===-1||r<u)&&(u=r);u===-1&&(u=o.length),o[u-1]===":"&&u--;const d=o.slice(0,u);o=o.slice(u),this.parseHost(d),this.hostname=this.hostname||"";const f=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!f){const g=this.hostname.split(/\./);for(let h=0,m=g.length;h<m;h++){const p=g[h];if(p&&!p.match(J$)){let v="";for(let y=0,b=p.length;y<b;y++)p.charCodeAt(y)>127?v+="x":v+=p[y];if(!v.match(J$)){const y=g.slice(0,h),b=g.slice(h+1),w=p.match(p_e);w&&(y.push(w[1]),b.unshift(w[2])),b.length&&(o=b.join(".")+o),this.hostname=y.join(".");break}}}}this.hostname.length>h_e&&(this.hostname=""),f&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const a=o.indexOf("#");a!==-1&&(this.hash=o.substr(a),o=o.slice(0,a));const s=o.indexOf("?");return s!==-1&&(this.search=o.substr(s),o=o.slice(0,s)),o&&(this.pathname=o),eN[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Mw.prototype.parseHost=function(e){let t=l_e.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const g_e=Object.freeze(Object.defineProperty({__proto__:null,decode:bg,encode:Pv,format:JT,parse:ZT},Symbol.toStringTag,{value:"Module"})),AJ=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,aJ=/[\0-\x1F\x7F-\x9F]/,m_e=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,eU=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,sJ=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,lJ=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,v_e=Object.freeze(Object.defineProperty({__proto__:null,Any:AJ,Cc:aJ,Cf:m_e,P:eU,S:sJ,Z:lJ},Symbol.toStringTag,{value:"Module"})),y_e=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),b_e=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var mS;const w_e=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),B_e=(mS=String.fromCodePoint)!==null&&mS!==void 0?mS:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function C_e(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=w_e.get(e))!==null&&t!==void 0?t:e}var fo;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(fo||(fo={}));const x_e=32;var tf;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(tf||(tf={}));function A_(e){return e>=fo.ZERO&&e<=fo.NINE}function S_e(e){return e>=fo.UPPER_A&&e<=fo.UPPER_F||e>=fo.LOWER_A&&e<=fo.LOWER_F}function E_e(e){return e>=fo.UPPER_A&&e<=fo.UPPER_Z||e>=fo.LOWER_A&&e<=fo.LOWER_Z||A_(e)}function F_e(e){return e===fo.EQUALS||E_e(e)}var uo;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(uo||(uo={}));var Wc;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Wc||(Wc={}));class I_e{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=uo.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Wc.Strict}startEntity(t){this.decodeMode=t,this.state=uo.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case uo.EntityStart:return t.charCodeAt(n)===fo.NUM?(this.state=uo.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=uo.NamedEntity,this.stateNamedEntity(t,n));case uo.NumericStart:return this.stateNumericStart(t,n);case uo.NumericDecimal:return this.stateNumericDecimal(t,n);case uo.NumericHex:return this.stateNumericHex(t,n);case uo.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|x_e)===fo.LOWER_X?(this.state=uo.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=uo.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,i){if(n!==r){const o=r-n;this.result=this.result*Math.pow(i,o)+parseInt(t.substr(n,o),i),this.consumed+=o}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(A_(i)||S_e(i))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(A_(i))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===fo.SEMI)this.consumed+=1;else if(this.decodeMode===Wc.Strict)return 0;return this.emitCodePoint(C_e(this.result),this.consumed),this.errors&&(t!==fo.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let i=r[this.treeIndex],o=(i&tf.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const A=t.charCodeAt(n);if(this.treeIndex=__e(r,i,this.treeIndex+Math.max(1,o),A),this.treeIndex<0)return this.result===0||this.decodeMode===Wc.Attribute&&(o===0||F_e(A))?0:this.emitNotTerminatedNamedEntity();if(i=r[this.treeIndex],o=(i&tf.VALUE_LENGTH)>>14,o!==0){if(A===fo.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==Wc.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,i=(r[n]&tf.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~tf.VALUE_LENGTH:i[t+1],r),n===3&&this.emitCodePoint(i[t+2],r),r}end(){var t;switch(this.state){case uo.NamedEntity:return this.result!==0&&(this.decodeMode!==Wc.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case uo.NumericDecimal:return this.emitNumericEntity(0,2);case uo.NumericHex:return this.emitNumericEntity(0,3);case uo.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case uo.EntityStart:return 0}}}function uJ(e){let t="";const n=new I_e(e,r=>t+=B_e(r));return function(i,o){let A=0,a=0;for(;(a=i.indexOf("&",a))>=0;){t+=i.slice(A,a),n.startEntity(o);const u=n.write(i,a+1);if(u<0){A=a+n.end();break}A=a+u,a=u===0?A+1:A}const s=t+i.slice(A);return t="",s}}function __e(e,t,n,r){const i=(t&tf.BRANCH_LENGTH)>>7,o=t&tf.JUMP_TABLE;if(i===0)return o!==0&&r===o?n:-1;if(o){const s=r-o;return s<0||s>=i?-1:e[n+s]-1}let A=n,a=A+i-1;for(;A<=a;){const s=A+a>>>1,u=e[s];if(u<r)A=s+1;else if(u>r)a=s-1;else return e[s+i]}return-1}const O_e=uJ(y_e);uJ(b_e);function cJ(e,t=Wc.Legacy){return O_e(e,t)}function T_e(e){return Object.prototype.toString.call(e)}function tU(e){return T_e(e)==="[object String]"}const U_e=Object.prototype.hasOwnProperty;function Q_e(e,t){return U_e.call(e,t)}function vC(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){if(n){if(typeof n!="object")throw new TypeError(n+"must be object");Object.keys(n).forEach(function(r){e[r]=n[r]})}}),e}function fJ(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function nU(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function kw(e){if(e>65535){e-=65536;const t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const dJ=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,P_e=/&([a-z#][a-z0-9]{1,31});/gi,L_e=new RegExp(dJ.source+"|"+P_e.source,"gi"),D_e=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function R_e(e,t){if(t.charCodeAt(0)===35&&D_e.test(t)){const r=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return nU(r)?kw(r):e}const n=cJ(e);return n!==e?n:e}function $_e(e){return e.indexOf("\\")<0?e:e.replace(dJ,"$1")}function wg(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(L_e,function(t,n,r){return n||R_e(t,r)})}const N_e=/[&<>"]/,H_e=/[&<>"]/g,M_e={"&":"&","<":"<",">":">",'"':"""};function k_e(e){return M_e[e]}function gf(e){return N_e.test(e)?e.replace(H_e,k_e):e}const j_e=/[.?*+^$[\]\\(){}|-]/g;function K_e(e){return e.replace(j_e,"\\$&")}function qr(e){switch(e){case 9:case 32:return!0}return!1}function rv(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function iv(e){return eU.test(e)||sJ.test(e)}function ov(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function yC(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const V_e={mdurl:g_e,ucmicro:v_e},z_e=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:fJ,assign:vC,escapeHtml:gf,escapeRE:K_e,fromCodePoint:kw,has:Q_e,isMdAsciiPunct:ov,isPunctChar:iv,isSpace:qr,isString:tU,isValidEntityCode:nU,isWhiteSpace:rv,lib:V_e,normalizeReference:yC,unescapeAll:wg,unescapeMd:$_e},Symbol.toStringTag,{value:"Module"}));function G_e(e,t,n){let r,i,o,A;const a=e.posMax,s=e.pos;for(e.pos=t+1,r=1;e.pos<a;){if(o=e.src.charCodeAt(e.pos),o===93&&(r--,r===0)){i=!0;break}if(A=e.pos,e.md.inline.skipToken(e),o===91){if(A===e.pos-1)r++;else if(n)return e.pos=s,-1}}let u=-1;return i&&(u=e.pos),e.pos=s,u}function W_e(e,t,n){let r,i=t;const o={ok:!1,pos:0,str:""};if(e.charCodeAt(i)===60){for(i++;i<n;){if(r=e.charCodeAt(i),r===10||r===60)return o;if(r===62)return o.pos=i+1,o.str=wg(e.slice(t+1,i)),o.ok=!0,o;if(r===92&&i+1<n){i+=2;continue}i++}return o}let A=0;for(;i<n&&(r=e.charCodeAt(i),!(r===32||r<32||r===127));){if(r===92&&i+1<n){if(e.charCodeAt(i+1)===32)break;i+=2;continue}if(r===40&&(A++,A>32))return o;if(r===41){if(A===0)break;A--}i++}return t===i||A!==0||(o.str=wg(e.slice(t,i)),o.pos=i,o.ok=!0),o}function q_e(e,t,n,r){let i,o=t;const A={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)A.str=r.str,A.marker=r.marker;else{if(o>=n)return A;let a=e.charCodeAt(o);if(a!==34&&a!==39&&a!==40)return A;t++,o++,a===40&&(a=41),A.marker=a}for(;o<n;){if(i=e.charCodeAt(o),i===A.marker)return A.pos=o+1,A.str+=wg(e.slice(t,o)),A.ok=!0,A;if(i===40&&A.marker===41)return A;i===92&&o+1<n&&o++,o++}return A.can_continue=!0,A.str+=wg(e.slice(t,o)),A}const X_e=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:W_e,parseLinkLabel:G_e,parseLinkTitle:q_e},Symbol.toStringTag,{value:"Module"})),Hl={};Hl.code_inline=function(e,t,n,r,i){const o=e[t];return"<code"+i.renderAttrs(o)+">"+gf(o.content)+"</code>"};Hl.code_block=function(e,t,n,r,i){const o=e[t];return"<pre"+i.renderAttrs(o)+"><code>"+gf(e[t].content)+`</code></pre>
- `};Hl.fence=function(e,t,n,r,i){const o=e[t],A=o.info?wg(o.info).trim():"";let a="",s="";if(A){const l=A.split(/(\s+)/g);a=l[0],s=l.slice(2).join("")}let u;if(n.highlight?u=n.highlight(o.content,a,s)||gf(o.content):u=gf(o.content),u.indexOf("<pre")===0)return u+`
- `;if(A){const l=o.attrIndex("class"),c=o.attrs?o.attrs.slice():[];l<0?c.push(["class",n.langPrefix+a]):(c[l]=c[l].slice(),c[l][1]+=" "+n.langPrefix+a);const d={attrs:c};return`<pre><code${i.renderAttrs(d)}>${u}</code></pre>
- `}return`<pre><code${i.renderAttrs(o)}>${u}</code></pre>
- `};Hl.image=function(e,t,n,r,i){const o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)};Hl.hardbreak=function(e,t,n){return n.xhtmlOut?`<br />
- `:`<br>
- `};Hl.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`<br />
- `:`<br>
- `:`
- `};Hl.text=function(e,t){return gf(e[t].content)};Hl.html_block=function(e,t){return e[t].content};Hl.html_inline=function(e,t){return e[t].content};function Hg(){this.rules=vC({},Hl)}Hg.prototype.renderAttrs=function(t){let n,r,i;if(!t.attrs)return"";for(i="",n=0,r=t.attrs.length;n<r;n++)i+=" "+gf(t.attrs[n][0])+'="'+gf(t.attrs[n][1])+'"';return i};Hg.prototype.renderToken=function(t,n,r){const i=t[n];let o="";if(i.hidden)return"";i.block&&i.nesting!==-1&&n&&t[n-1].hidden&&(o+=`
- `),o+=(i.nesting===-1?"</":"<")+i.tag,o+=this.renderAttrs(i),i.nesting===0&&r.xhtmlOut&&(o+=" /");let A=!1;if(i.block&&(A=!0,i.nesting===1&&n+1<t.length)){const a=t[n+1];(a.type==="inline"||a.hidden||a.nesting===-1&&a.tag===i.tag)&&(A=!1)}return o+=A?`>
- `:">",o};Hg.prototype.renderInline=function(e,t,n){let r="";const i=this.rules;for(let o=0,A=e.length;o<A;o++){const a=e[o].type;typeof i[a]<"u"?r+=i[a](e,o,t,n,this):r+=this.renderToken(e,o,t)}return r};Hg.prototype.renderInlineAsText=function(e,t,n){let r="";for(let i=0,o=e.length;i<o;i++)switch(e[i].type){case"text":r+=e[i].content;break;case"image":r+=this.renderInlineAsText(e[i].children,t,n);break;case"html_inline":case"html_block":r+=e[i].content;break;case"softbreak":case"hardbreak":r+=`
- `;break}return r};Hg.prototype.render=function(e,t,n){let r="";const i=this.rules;for(let o=0,A=e.length;o<A;o++){const a=e[o].type;a==="inline"?r+=this.renderInline(e[o].children,t,n):typeof i[a]<"u"?r+=i[a](e,o,t,n,this):r+=this.renderToken(e,o,t,n)}return r};function HA(){this.__rules__=[],this.__cache__=null}HA.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};HA.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(r){t.indexOf(r)<0&&t.push(r)})}),e.__cache__={},t.forEach(function(n){e.__cache__[n]=[],e.__rules__.forEach(function(r){r.enabled&&(n&&r.alt.indexOf(n)<0||e.__cache__[n].push(r.fn))})})};HA.prototype.at=function(e,t,n){const r=this.__find__(e),i=n||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null};HA.prototype.before=function(e,t,n,r){const i=this.__find__(e),o=r||{};if(i===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null};HA.prototype.after=function(e,t,n,r){const i=this.__find__(e),o=r||{};if(i===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null};HA.prototype.push=function(e,t,n){const r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null};HA.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(r){const i=this.__find__(r);if(i<0){if(t)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[i].enabled=!0,n.push(r)},this),this.__cache__=null,n};HA.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(e,t)};HA.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(r){const i=this.__find__(r);if(i<0){if(t)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[i].enabled=!1,n.push(r)},this),this.__cache__=null,n};HA.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function Qs(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Qs.prototype.attrIndex=function(t){if(!this.attrs)return-1;const n=this.attrs;for(let r=0,i=n.length;r<i;r++)if(n[r][0]===t)return r;return-1};Qs.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]};Qs.prototype.attrSet=function(t,n){const r=this.attrIndex(t),i=[t,n];r<0?this.attrPush(i):this.attrs[r]=i};Qs.prototype.attrGet=function(t){const n=this.attrIndex(t);let r=null;return n>=0&&(r=this.attrs[n][1]),r};Qs.prototype.attrJoin=function(t,n){const r=this.attrIndex(t);r<0?this.attrPush([t,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};function hJ(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}hJ.prototype.Token=Qs;const Y_e=/\r\n?|\n/g,J_e=/\0/g;function Z_e(e){let t;t=e.src.replace(Y_e,`
- `),t=t.replace(J_e,"�"),e.src=t}function e6e(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function t6e(e){const t=e.tokens;for(let n=0,r=t.length;n<r;n++){const i=t[n];i.type==="inline"&&e.md.inline.parse(i.content,e.md,e.env,i.children)}}function n6e(e){return/^<a[>\s]/i.test(e)}function r6e(e){return/^<\/a\s*>/i.test(e)}function i6e(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,r=t.length;n<r;n++){if(t[n].type!=="inline"||!e.md.linkify.pretest(t[n].content))continue;let i=t[n].children,o=0;for(let A=i.length-1;A>=0;A--){const a=i[A];if(a.type==="link_close"){for(A--;i[A].level!==a.level&&i[A].type!=="link_open";)A--;continue}if(a.type==="html_inline"&&(n6e(a.content)&&o>0&&o--,r6e(a.content)&&o++),!(o>0)&&a.type==="text"&&e.md.linkify.test(a.content)){const s=a.content;let u=e.md.linkify.match(s);const l=[];let c=a.level,d=0;u.length>0&&u[0].index===0&&A>0&&i[A-1].type==="text_special"&&(u=u.slice(1));for(let f=0;f<u.length;f++){const g=u[f].url,h=e.md.normalizeLink(g);if(!e.md.validateLink(h))continue;let m=u[f].text;u[f].schema?u[f].schema==="mailto:"&&!/^mailto:/i.test(m)?m=e.md.normalizeLinkText("mailto:"+m).replace(/^mailto:/,""):m=e.md.normalizeLinkText(m):m=e.md.normalizeLinkText("http://"+m).replace(/^http:\/\//,"");const p=u[f].index;if(p>d){const w=new e.Token("text","",0);w.content=s.slice(d,p),w.level=c,l.push(w)}const v=new e.Token("link_open","a",1);v.attrs=[["href",h]],v.level=c++,v.markup="linkify",v.info="auto",l.push(v);const y=new e.Token("text","",0);y.content=m,y.level=c,l.push(y);const b=new e.Token("link_close","a",-1);b.level=--c,b.markup="linkify",b.info="auto",l.push(b),d=u[f].lastIndex}if(d<s.length){const f=new e.Token("text","",0);f.content=s.slice(d),f.level=c,l.push(f)}t[n].children=i=fJ(i,A,l)}}}}const pJ=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,o6e=/\((c|tm|r)\)/i,A6e=/\((c|tm|r)\)/ig,a6e={c:"©",r:"®",tm:"™"};function s6e(e,t){return a6e[t.toLowerCase()]}function l6e(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&(r.content=r.content.replace(A6e,s6e)),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function u6e(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&pJ.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function c6e(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(o6e.test(e.tokens[t].content)&&l6e(e.tokens[t].children),pJ.test(e.tokens[t].content)&&u6e(e.tokens[t].children))}const f6e=/['"]/,tN=/['"]/g,nN="’";function hy(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function d6e(e,t){let n;const r=[];for(let i=0;i<e.length;i++){const o=e[i],A=e[i].level;for(n=r.length-1;n>=0&&!(r[n].level<=A);n--);if(r.length=n+1,o.type!=="text")continue;let a=o.content,s=0,u=a.length;e:for(;s<u;){tN.lastIndex=s;const l=tN.exec(a);if(!l)break;let c=!0,d=!0;s=l.index+1;const f=l[0]==="'";let g=32;if(l.index-1>=0)g=a.charCodeAt(l.index-1);else for(n=i-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){g=e[n].content.charCodeAt(e[n].content.length-1);break}let h=32;if(s<u)h=a.charCodeAt(s);else for(n=i+1;n<e.length&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n++)if(e[n].content){h=e[n].content.charCodeAt(0);break}const m=ov(g)||iv(String.fromCharCode(g)),p=ov(h)||iv(String.fromCharCode(h)),v=rv(g),y=rv(h);if(y?c=!1:p&&(v||m||(c=!1)),v?d=!1:m&&(y||p||(d=!1)),h===34&&l[0]==='"'&&g>=48&&g<=57&&(d=c=!1),c&&d&&(c=m,d=p),!c&&!d){f&&(o.content=hy(o.content,l.index,nN));continue}if(d)for(n=r.length-1;n>=0;n--){let b=r[n];if(r[n].level<A)break;if(b.single===f&&r[n].level===A){b=r[n];let w,C;f?(w=t.md.options.quotes[2],C=t.md.options.quotes[3]):(w=t.md.options.quotes[0],C=t.md.options.quotes[1]),o.content=hy(o.content,l.index,C),e[b.token].content=hy(e[b.token].content,b.pos,w),s+=C.length-1,b.token===i&&(s+=w.length-1),a=o.content,u=a.length,r.length=n;continue e}}c?r.push({token:i,pos:l.index,single:f,level:A}):d&&f&&(o.content=hy(o.content,l.index,nN))}}}function h6e(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!f6e.test(e.tokens[t].content)||d6e(e.tokens[t].children,e)}function p6e(e){let t,n;const r=e.tokens,i=r.length;for(let o=0;o<i;o++){if(r[o].type!=="inline")continue;const A=r[o].children,a=A.length;for(t=0;t<a;t++)A[t].type==="text_special"&&(A[t].type="text");for(t=n=0;t<a;t++)A[t].type==="text"&&t+1<a&&A[t+1].type==="text"?A[t+1].content=A[t].content+A[t+1].content:(t!==n&&(A[n]=A[t]),n++);t!==n&&(A.length=n)}}const vS=[["normalize",Z_e],["block",e6e],["inline",t6e],["linkify",i6e],["replacements",c6e],["smartquotes",h6e],["text_join",p6e]];function rU(){this.ruler=new HA;for(let e=0;e<vS.length;e++)this.ruler.push(vS[e][0],vS[e][1])}rU.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)};rU.prototype.State=hJ;function Ml(e,t,n,r){this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const i=this.src;for(let o=0,A=0,a=0,s=0,u=i.length,l=!1;A<u;A++){const c=i.charCodeAt(A);if(!l)if(qr(c)){a++,c===9?s+=4-s%4:s++;continue}else l=!0;(c===10||A===u-1)&&(c!==10&&A++,this.bMarks.push(o),this.eMarks.push(A),this.tShift.push(a),this.sCount.push(s),this.bsCount.push(0),l=!1,a=0,s=0,o=A+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Ml.prototype.push=function(e,t,n){const r=new Qs(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r};Ml.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};Ml.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};Ml.prototype.skipSpaces=function(t){for(let n=this.src.length;t<n;t++){const r=this.src.charCodeAt(t);if(!qr(r))break}return t};Ml.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!qr(this.src.charCodeAt(--t)))return t+1;return t};Ml.prototype.skipChars=function(t,n){for(let r=this.src.length;t<r&&this.src.charCodeAt(t)===n;t++);return t};Ml.prototype.skipCharsBack=function(t,n,r){if(t<=r)return t;for(;t>r;)if(n!==this.src.charCodeAt(--t))return t+1;return t};Ml.prototype.getLines=function(t,n,r,i){if(t>=n)return"";const o=new Array(n-t);for(let A=0,a=t;a<n;a++,A++){let s=0;const u=this.bMarks[a];let l=u,c;for(a+1<n||i?c=this.eMarks[a]+1:c=this.eMarks[a];l<c&&s<r;){const d=this.src.charCodeAt(l);if(qr(d))d===9?s+=4-(s+this.bsCount[a])%4:s++;else if(l-u<this.tShift[a])s++;else break;l++}s>r?o[A]=new Array(s-r+1).join(" ")+this.src.slice(l,c):o[A]=this.src.slice(l,c)}return o.join("")};Ml.prototype.Token=Qs;const g6e=65536;function yS(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function rN(e){const t=[],n=e.length;let r=0,i=e.charCodeAt(r),o=!1,A=0,a="";for(;r<n;)i===124&&(o?(a+=e.substring(A,r-1),A=r):(t.push(a+e.substring(A,r)),a="",A=r+1)),o=i===92,r++,i=e.charCodeAt(r);return t.push(a+e.substring(A)),t}function m6e(e,t,n,r){if(t+2>n)return!1;let i=t+1;if(e.sCount[i]<e.blkIndent||e.sCount[i]-e.blkIndent>=4)return!1;let o=e.bMarks[i]+e.tShift[i];if(o>=e.eMarks[i])return!1;const A=e.src.charCodeAt(o++);if(A!==124&&A!==45&&A!==58||o>=e.eMarks[i])return!1;const a=e.src.charCodeAt(o++);if(a!==124&&a!==45&&a!==58&&!qr(a)||A===45&&qr(a))return!1;for(;o<e.eMarks[i];){const b=e.src.charCodeAt(o);if(b!==124&&b!==45&&b!==58&&!qr(b))return!1;o++}let s=yS(e,t+1),u=s.split("|");const l=[];for(let b=0;b<u.length;b++){const w=u[b].trim();if(!w){if(b===0||b===u.length-1)continue;return!1}if(!/^:?-+:?$/.test(w))return!1;w.charCodeAt(w.length-1)===58?l.push(w.charCodeAt(0)===58?"center":"right"):w.charCodeAt(0)===58?l.push("left"):l.push("")}if(s=yS(e,t).trim(),s.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;u=rN(s),u.length&&u[0]===""&&u.shift(),u.length&&u[u.length-1]===""&&u.pop();const c=u.length;if(c===0||c!==l.length)return!1;if(r)return!0;const d=e.parentType;e.parentType="table";const f=e.md.block.ruler.getRules("blockquote"),g=e.push("table_open","table",1),h=[t,0];g.map=h;const m=e.push("thead_open","thead",1);m.map=[t,t+1];const p=e.push("tr_open","tr",1);p.map=[t,t+1];for(let b=0;b<u.length;b++){const w=e.push("th_open","th",1);l[b]&&(w.attrs=[["style","text-align:"+l[b]]]);const C=e.push("inline","",0);C.content=u[b].trim(),C.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let v,y=0;for(i=t+2;i<n&&!(e.sCount[i]<e.blkIndent);i++){let b=!1;for(let C=0,B=f.length;C<B;C++)if(f[C](e,i,n,!0)){b=!0;break}if(b||(s=yS(e,i).trim(),!s)||e.sCount[i]-e.blkIndent>=4||(u=rN(s),u.length&&u[0]===""&&u.shift(),u.length&&u[u.length-1]===""&&u.pop(),y+=c-u.length,y>g6e))break;if(i===t+2){const C=e.push("tbody_open","tbody",1);C.map=v=[t+2,0]}const w=e.push("tr_open","tr",1);w.map=[i,i+1];for(let C=0;C<c;C++){const B=e.push("td_open","td",1);l[C]&&(B.attrs=[["style","text-align:"+l[C]]]);const O=e.push("inline","",0);O.content=u[C]?u[C].trim():"",O.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return v&&(e.push("tbody_close","tbody",-1),v[1]=i),e.push("table_close","table",-1),h[1]=i,e.parentType=d,e.line=i,!0}function v6e(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,i=r;for(;r<n;){if(e.isEmpty(r)){r++;continue}if(e.sCount[r]-e.blkIndent>=4){r++,i=r;continue}break}e.line=i;const o=e.push("code_block","code",0);return o.content=e.getLines(t,i,4+e.blkIndent,!1)+`
- `,o.map=[t,e.line],!0}function y6e(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>o)return!1;const A=e.src.charCodeAt(i);if(A!==126&&A!==96)return!1;let a=i;i=e.skipChars(i,A);let s=i-a;if(s<3)return!1;const u=e.src.slice(a,i),l=e.src.slice(i,o);if(A===96&&l.indexOf(String.fromCharCode(A))>=0)return!1;if(r)return!0;let c=t,d=!1;for(;c++,!(c>=n||(i=a=e.bMarks[c]+e.tShift[c],o=e.eMarks[c],i<o&&e.sCount[c]<e.blkIndent));)if(e.src.charCodeAt(i)===A&&!(e.sCount[c]-e.blkIndent>=4)&&(i=e.skipChars(i,A),!(i-a<s)&&(i=e.skipSpaces(i),!(i<o)))){d=!0;break}s=e.sCount[t],e.line=c+(d?1:0);const f=e.push("fence","code",0);return f.info=l,f.content=e.getLines(t+1,c,s,!0),f.markup=u,f.map=[t,e.line],!0}function b6e(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];const A=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==62)return!1;if(r)return!0;const a=[],s=[],u=[],l=[],c=e.md.block.ruler.getRules("blockquote"),d=e.parentType;e.parentType="blockquote";let f=!1,g;for(g=t;g<n;g++){const y=e.sCount[g]<e.blkIndent;if(i=e.bMarks[g]+e.tShift[g],o=e.eMarks[g],i>=o)break;if(e.src.charCodeAt(i++)===62&&!y){let w=e.sCount[g]+1,C,B;e.src.charCodeAt(i)===32?(i++,w++,B=!1,C=!0):e.src.charCodeAt(i)===9?(C=!0,(e.bsCount[g]+w)%4===3?(i++,w++,B=!1):B=!0):C=!1;let O=w;for(a.push(e.bMarks[g]),e.bMarks[g]=i;i<o;){const x=e.src.charCodeAt(i);if(qr(x))x===9?O+=4-(O+e.bsCount[g]+(B?1:0))%4:O++;else break;i++}f=i>=o,s.push(e.bsCount[g]),e.bsCount[g]=e.sCount[g]+1+(C?1:0),u.push(e.sCount[g]),e.sCount[g]=O-w,l.push(e.tShift[g]),e.tShift[g]=i-e.bMarks[g];continue}if(f)break;let b=!1;for(let w=0,C=c.length;w<C;w++)if(c[w](e,g,n,!0)){b=!0;break}if(b){e.lineMax=g,e.blkIndent!==0&&(a.push(e.bMarks[g]),s.push(e.bsCount[g]),l.push(e.tShift[g]),u.push(e.sCount[g]),e.sCount[g]-=e.blkIndent);break}a.push(e.bMarks[g]),s.push(e.bsCount[g]),l.push(e.tShift[g]),u.push(e.sCount[g]),e.sCount[g]=-1}const h=e.blkIndent;e.blkIndent=0;const m=e.push("blockquote_open","blockquote",1);m.markup=">";const p=[t,0];m.map=p,e.md.block.tokenize(e,t,g);const v=e.push("blockquote_close","blockquote",-1);v.markup=">",e.lineMax=A,e.parentType=d,p[1]=e.line;for(let y=0;y<l.length;y++)e.bMarks[y+t]=a[y],e.tShift[y+t]=l[y],e.sCount[y+t]=u[y],e.bsCount[y+t]=s[y];return e.blkIndent=h,!0}function w6e(e,t,n,r){const i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.bMarks[t]+e.tShift[t];const A=e.src.charCodeAt(o++);if(A!==42&&A!==45&&A!==95)return!1;let a=1;for(;o<i;){const u=e.src.charCodeAt(o++);if(u!==A&&!qr(u))return!1;u===A&&a++}if(a<3)return!1;if(r)return!0;e.line=t+1;const s=e.push("hr","hr",0);return s.map=[t,e.line],s.markup=Array(a+1).join(String.fromCharCode(A)),!0}function iN(e,t){const n=e.eMarks[t];let r=e.bMarks[t]+e.tShift[t];const i=e.src.charCodeAt(r++);if(i!==42&&i!==45&&i!==43)return-1;if(r<n){const o=e.src.charCodeAt(r);if(!qr(o))return-1}return r}function oN(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];let i=n;if(i+1>=r)return-1;let o=e.src.charCodeAt(i++);if(o<48||o>57)return-1;for(;;){if(i>=r)return-1;if(o=e.src.charCodeAt(i++),o>=48&&o<=57){if(i-n>=10)return-1;continue}if(o===41||o===46)break;return-1}return i<r&&(o=e.src.charCodeAt(i),!qr(o))?-1:i}function B6e(e,t){const n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&e.tokens[r].type==="paragraph_open"&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}function C6e(e,t,n,r){let i,o,A,a,s=t,u=!0;if(e.sCount[s]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[s]-e.listIndent>=4&&e.sCount[s]<e.blkIndent)return!1;let l=!1;r&&e.parentType==="paragraph"&&e.sCount[s]>=e.blkIndent&&(l=!0);let c,d,f;if((f=oN(e,s))>=0){if(c=!0,A=e.bMarks[s]+e.tShift[s],d=Number(e.src.slice(A,f-1)),l&&d!==1)return!1}else if((f=iN(e,s))>=0)c=!1;else return!1;if(l&&e.skipSpaces(f)>=e.eMarks[s])return!1;if(r)return!0;const g=e.src.charCodeAt(f-1),h=e.tokens.length;c?(a=e.push("ordered_list_open","ol",1),d!==1&&(a.attrs=[["start",d]])):a=e.push("bullet_list_open","ul",1);const m=[s,0];a.map=m,a.markup=String.fromCharCode(g);let p=!1;const v=e.md.block.ruler.getRules("list"),y=e.parentType;for(e.parentType="list";s<n;){o=f,i=e.eMarks[s];const b=e.sCount[s]+f-(e.bMarks[s]+e.tShift[s]);let w=b;for(;o<i;){const H=e.src.charCodeAt(o);if(H===9)w+=4-(w+e.bsCount[s])%4;else if(H===32)w++;else break;o++}const C=o;let B;C>=i?B=1:B=w-b,B>4&&(B=1);const O=b+B;a=e.push("list_item_open","li",1),a.markup=String.fromCharCode(g);const x=[s,0];a.map=x,c&&(a.info=e.src.slice(A,f-1));const M=e.tight,R=e.tShift[s],F=e.sCount[s],L=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=O,e.tight=!0,e.tShift[s]=C-e.bMarks[s],e.sCount[s]=w,C>=i&&e.isEmpty(s+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,s,n,!0),(!e.tight||p)&&(u=!1),p=e.line-s>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=L,e.tShift[s]=R,e.sCount[s]=F,e.tight=M,a=e.push("list_item_close","li",-1),a.markup=String.fromCharCode(g),s=e.line,x[1]=s,s>=n||e.sCount[s]<e.blkIndent||e.sCount[s]-e.blkIndent>=4)break;let E=!1;for(let H=0,X=v.length;H<X;H++)if(v[H](e,s,n,!0)){E=!0;break}if(E)break;if(c){if(f=oN(e,s),f<0)break;A=e.bMarks[s]+e.tShift[s]}else if(f=iN(e,s),f<0)break;if(g!==e.src.charCodeAt(f-1))break}return c?a=e.push("ordered_list_close","ol",-1):a=e.push("bullet_list_close","ul",-1),a.markup=String.fromCharCode(g),m[1]=s,e.line=s,e.parentType=y,u&&B6e(e,h),!0}function x6e(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],A=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==91)return!1;function a(v){const y=e.lineMax;if(v>=y||e.isEmpty(v))return null;let b=!1;if(e.sCount[v]-e.blkIndent>3&&(b=!0),e.sCount[v]<0&&(b=!0),!b){const B=e.md.block.ruler.getRules("reference"),O=e.parentType;e.parentType="reference";let x=!1;for(let M=0,R=B.length;M<R;M++)if(B[M](e,v,y,!0)){x=!0;break}if(e.parentType=O,x)return null}const w=e.bMarks[v]+e.tShift[v],C=e.eMarks[v];return e.src.slice(w,C+1)}let s=e.src.slice(i,o+1);o=s.length;let u=-1;for(i=1;i<o;i++){const v=s.charCodeAt(i);if(v===91)return!1;if(v===93){u=i;break}else if(v===10){const y=a(A);y!==null&&(s+=y,o=s.length,A++)}else if(v===92&&(i++,i<o&&s.charCodeAt(i)===10)){const y=a(A);y!==null&&(s+=y,o=s.length,A++)}}if(u<0||s.charCodeAt(u+1)!==58)return!1;for(i=u+2;i<o;i++){const v=s.charCodeAt(i);if(v===10){const y=a(A);y!==null&&(s+=y,o=s.length,A++)}else if(!qr(v))break}const l=e.md.helpers.parseLinkDestination(s,i,o);if(!l.ok)return!1;const c=e.md.normalizeLink(l.str);if(!e.md.validateLink(c))return!1;i=l.pos;const d=i,f=A,g=i;for(;i<o;i++){const v=s.charCodeAt(i);if(v===10){const y=a(A);y!==null&&(s+=y,o=s.length,A++)}else if(!qr(v))break}let h=e.md.helpers.parseLinkTitle(s,i,o);for(;h.can_continue;){const v=a(A);if(v===null)break;s+=v,i=o,o=s.length,A++,h=e.md.helpers.parseLinkTitle(s,i,o,h)}let m;for(i<o&&g!==i&&h.ok?(m=h.str,i=h.pos):(m="",i=d,A=f);i<o;){const v=s.charCodeAt(i);if(!qr(v))break;i++}if(i<o&&s.charCodeAt(i)!==10&&m)for(m="",i=d,A=f;i<o;){const v=s.charCodeAt(i);if(!qr(v))break;i++}if(i<o&&s.charCodeAt(i)!==10)return!1;const p=yC(s.slice(1,u));return p?(r||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[p]>"u"&&(e.env.references[p]={title:m,href:c}),e.line=A),!0):!1}const S6e=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],E6e="[a-zA-Z_:][a-zA-Z0-9:._-]*",F6e="[^\"'=<>`\\x00-\\x20]+",I6e="'[^']*'",_6e='"[^"]*"',O6e="(?:"+F6e+"|"+I6e+"|"+_6e+")",T6e="(?:\\s+"+E6e+"(?:\\s*=\\s*"+O6e+")?)",gJ="<[A-Za-z][A-Za-z0-9\\-]*"+T6e+"*\\s*\\/?>",mJ="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",U6e="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",Q6e="<[?][\\s\\S]*?[?]>",P6e="<![A-Za-z][^>]*>",L6e="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",D6e=new RegExp("^(?:"+gJ+"|"+mJ+"|"+U6e+"|"+Q6e+"|"+P6e+"|"+L6e+")"),R6e=new RegExp("^(?:"+gJ+"|"+mJ+")"),gp=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+S6e.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(R6e.source+"\\s*$"),/^$/,!1]];function $6e(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let A=e.src.slice(i,o),a=0;for(;a<gp.length&&!gp[a][0].test(A);a++);if(a===gp.length)return!1;if(r)return gp[a][2];let s=t+1;if(!gp[a][1].test(A)){for(;s<n&&!(e.sCount[s]<e.blkIndent);s++)if(i=e.bMarks[s]+e.tShift[s],o=e.eMarks[s],A=e.src.slice(i,o),gp[a][1].test(A)){A.length!==0&&s++;break}}e.line=s;const u=e.push("html_block","",0);return u.map=[t,s],u.content=e.getLines(t,s,e.blkIndent,!0),!0}function N6e(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let A=e.src.charCodeAt(i);if(A!==35||i>=o)return!1;let a=1;for(A=e.src.charCodeAt(++i);A===35&&i<o&&a<=6;)a++,A=e.src.charCodeAt(++i);if(a>6||i<o&&!qr(A))return!1;if(r)return!0;o=e.skipSpacesBack(o,i);const s=e.skipCharsBack(o,35,i);s>i&&qr(e.src.charCodeAt(s-1))&&(o=s),e.line=t+1;const u=e.push("heading_open","h"+String(a),1);u.markup="########".slice(0,a),u.map=[t,e.line];const l=e.push("inline","",0);l.content=e.src.slice(i,o).trim(),l.map=[t,e.line],l.children=[];const c=e.push("heading_close","h"+String(a),-1);return c.markup="########".slice(0,a),!0}function H6e(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const i=e.parentType;e.parentType="paragraph";let o=0,A,a=t+1;for(;a<n&&!e.isEmpty(a);a++){if(e.sCount[a]-e.blkIndent>3)continue;if(e.sCount[a]>=e.blkIndent){let f=e.bMarks[a]+e.tShift[a];const g=e.eMarks[a];if(f<g&&(A=e.src.charCodeAt(f),(A===45||A===61)&&(f=e.skipChars(f,A),f=e.skipSpaces(f),f>=g))){o=A===61?1:2;break}}if(e.sCount[a]<0)continue;let d=!1;for(let f=0,g=r.length;f<g;f++)if(r[f](e,a,n,!0)){d=!0;break}if(d)break}if(!o)return!1;const s=e.getLines(t,a,e.blkIndent,!1).trim();e.line=a+1;const u=e.push("heading_open","h"+String(o),1);u.markup=String.fromCharCode(A),u.map=[t,e.line];const l=e.push("inline","",0);l.content=s,l.map=[t,e.line-1],l.children=[];const c=e.push("heading_close","h"+String(o),-1);return c.markup=String.fromCharCode(A),e.parentType=i,!0}function M6e(e,t,n){const r=e.md.block.ruler.getRules("paragraph"),i=e.parentType;let o=t+1;for(e.parentType="paragraph";o<n&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3||e.sCount[o]<0)continue;let u=!1;for(let l=0,c=r.length;l<c;l++)if(r[l](e,o,n,!0)){u=!0;break}if(u)break}const A=e.getLines(t,o,e.blkIndent,!1).trim();e.line=o;const a=e.push("paragraph_open","p",1);a.map=[t,e.line];const s=e.push("inline","",0);return s.content=A,s.map=[t,e.line],s.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}const py=[["table",m6e,["paragraph","reference"]],["code",v6e],["fence",y6e,["paragraph","reference","blockquote","list"]],["blockquote",b6e,["paragraph","reference","blockquote","list"]],["hr",w6e,["paragraph","reference","blockquote","list"]],["list",C6e,["paragraph","reference","blockquote"]],["reference",x6e],["html_block",$6e,["paragraph","reference","blockquote"]],["heading",N6e,["paragraph","reference","blockquote"]],["lheading",H6e],["paragraph",M6e]];function bC(){this.ruler=new HA;for(let e=0;e<py.length;e++)this.ruler.push(py[e][0],py[e][1],{alt:(py[e][2]||[]).slice()})}bC.prototype.tokenize=function(e,t,n){const r=this.ruler.getRules(""),i=r.length,o=e.md.options.maxNesting;let A=t,a=!1;for(;A<n&&(e.line=A=e.skipEmptyLines(A),!(A>=n||e.sCount[A]<e.blkIndent));){if(e.level>=o){e.line=n;break}const s=e.line;let u=!1;for(let l=0;l<i;l++)if(u=r[l](e,A,n,!1),u){if(s>=e.line)throw new Error("block rule didn't increment state.line");break}if(!u)throw new Error("none of the block rules matched");e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),A=e.line,A<n&&e.isEmpty(A)&&(a=!0,A++,e.line=A)}};bC.prototype.parse=function(e,t,n,r){if(!e)return;const i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)};bC.prototype.State=Ml;function Lv(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}Lv.prototype.pushPending=function(){const e=new Qs("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};Lv.prototype.push=function(e,t,n){this.pending&&this.pushPending();const r=new Qs(e,t,n);let i=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r};Lv.prototype.scanDelims=function(e,t){const n=this.posMax,r=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32;let o=e;for(;o<n&&this.src.charCodeAt(o)===r;)o++;const A=o-e,a=o<n?this.src.charCodeAt(o):32,s=ov(i)||iv(String.fromCharCode(i)),u=ov(a)||iv(String.fromCharCode(a)),l=rv(i),c=rv(a),d=!c&&(!u||l||s),f=!l&&(!s||c||u);return{can_open:d&&(t||!f||s),can_close:f&&(t||!d||u),length:A}};Lv.prototype.Token=Qs;function k6e(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function j6e(e,t){let n=e.pos;for(;n<e.posMax&&!k6e(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}const K6e=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function V6e(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const i=e.pending.match(K6e);if(!i)return!1;const o=i[1],A=e.md.linkify.matchAtStart(e.src.slice(n-o.length));if(!A)return!1;let a=A.url;if(a.length<=o.length)return!1;a=a.replace(/\*+$/,"");const s=e.md.normalizeLink(a);if(!e.md.validateLink(s))return!1;if(!t){e.pending=e.pending.slice(0,-o.length);const u=e.push("link_open","a",1);u.attrs=[["href",s]],u.markup="linkify",u.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(a);const c=e.push("link_close","a",-1);c.markup="linkify",c.info="auto"}return e.pos+=a.length-o.length,!0}function z6e(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;const r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){let o=r-1;for(;o>=1&&e.pending.charCodeAt(o-1)===32;)o--;e.pending=e.pending.slice(0,o),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<i&&qr(e.src.charCodeAt(n));)n++;return e.pos=n,!0}const iU=[];for(let e=0;e<256;e++)iU.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){iU[e.charCodeAt(0)]=1});function G6e(e,t){let n=e.pos;const r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let i=e.src.charCodeAt(n);if(i===10){for(t||e.push("hardbreak","br",0),n++;n<r&&(i=e.src.charCodeAt(n),!!qr(i));)n++;return e.pos=n,!0}let o=e.src[n];if(i>=55296&&i<=56319&&n+1<r){const a=e.src.charCodeAt(n+1);a>=56320&&a<=57343&&(o+=e.src[n+1],n++)}const A="\\"+o;if(!t){const a=e.push("text_special","",0);i<256&&iU[i]!==0?a.content=o:a.content=A,a.markup=A,a.info="escape"}return e.pos=n+1,!0}function W6e(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;const i=n;n++;const o=e.posMax;for(;n<o&&e.src.charCodeAt(n)===96;)n++;const A=e.src.slice(i,n),a=A.length;if(e.backticksScanned&&(e.backticks[a]||0)<=i)return t||(e.pending+=A),e.pos+=a,!0;let s=n,u;for(;(u=e.src.indexOf("`",s))!==-1;){for(s=u+1;s<o&&e.src.charCodeAt(s)===96;)s++;const l=s-u;if(l===a){if(!t){const c=e.push("code_inline","code",0);c.markup=A,c.content=e.src.slice(n,u).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=s,!0}e.backticks[l]=u}return e.backticksScanned=!0,t||(e.pending+=A),e.pos+=a,!0}function q6e(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==126)return!1;const i=e.scanDelims(e.pos,!0);let o=i.length;const A=String.fromCharCode(r);if(o<2)return!1;let a;o%2&&(a=e.push("text","",0),a.content=A,o--);for(let s=0;s<o;s+=2)a=e.push("text","",0),a.content=A+A,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}function AN(e,t){let n;const r=[],i=t.length;for(let o=0;o<i;o++){const A=t[o];if(A.marker!==126||A.end===-1)continue;const a=t[A.end];n=e.tokens[A.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[a.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",e.tokens[a.token-1].type==="text"&&e.tokens[a.token-1].content==="~"&&r.push(a.token-1)}for(;r.length;){const o=r.pop();let A=o+1;for(;A<e.tokens.length&&e.tokens[A].type==="s_close";)A++;A--,o!==A&&(n=e.tokens[A],e.tokens[A]=e.tokens[o],e.tokens[o]=n)}}function X6e(e){const t=e.tokens_meta,n=e.tokens_meta.length;AN(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&AN(e,t[r].delimiters)}const vJ={tokenize:q6e,postProcess:X6e};function Y6e(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==95&&r!==42)return!1;const i=e.scanDelims(e.pos,r===42);for(let o=0;o<i.length;o++){const A=e.push("text","",0);A.content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close})}return e.pos+=i.length,!0}function aN(e,t){const n=t.length;for(let r=n-1;r>=0;r--){const i=t[r];if(i.marker!==95&&i.marker!==42||i.end===-1)continue;const o=t[i.end],A=r>0&&t[r-1].end===i.end+1&&t[r-1].marker===i.marker&&t[r-1].token===i.token-1&&t[i.end+1].token===o.token+1,a=String.fromCharCode(i.marker),s=e.tokens[i.token];s.type=A?"strong_open":"em_open",s.tag=A?"strong":"em",s.nesting=1,s.markup=A?a+a:a,s.content="";const u=e.tokens[o.token];u.type=A?"strong_close":"em_close",u.tag=A?"strong":"em",u.nesting=-1,u.markup=A?a+a:a,u.content="",A&&(e.tokens[t[r-1].token].content="",e.tokens[t[i.end+1].token].content="",r--)}}function J6e(e){const t=e.tokens_meta,n=e.tokens_meta.length;aN(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&aN(e,t[r].delimiters)}const yJ={tokenize:Y6e,postProcess:J6e};function Z6e(e,t){let n,r,i,o,A="",a="",s=e.pos,u=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const l=e.pos,c=e.posMax,d=e.pos+1,f=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(f<0)return!1;let g=f+1;if(g<c&&e.src.charCodeAt(g)===40){for(u=!1,g++;g<c&&(n=e.src.charCodeAt(g),!(!qr(n)&&n!==10));g++);if(g>=c)return!1;if(s=g,i=e.md.helpers.parseLinkDestination(e.src,g,e.posMax),i.ok){for(A=e.md.normalizeLink(i.str),e.md.validateLink(A)?g=i.pos:A="",s=g;g<c&&(n=e.src.charCodeAt(g),!(!qr(n)&&n!==10));g++);if(i=e.md.helpers.parseLinkTitle(e.src,g,e.posMax),g<c&&s!==g&&i.ok)for(a=i.str,g=i.pos;g<c&&(n=e.src.charCodeAt(g),!(!qr(n)&&n!==10));g++);}(g>=c||e.src.charCodeAt(g)!==41)&&(u=!0),g++}if(u){if(typeof e.env.references>"u")return!1;if(g<c&&e.src.charCodeAt(g)===91?(s=g+1,g=e.md.helpers.parseLinkLabel(e,g),g>=0?r=e.src.slice(s,g++):g=f+1):g=f+1,r||(r=e.src.slice(d,f)),o=e.env.references[yC(r)],!o)return e.pos=l,!1;A=o.href,a=o.title}if(!t){e.pos=d,e.posMax=f;const h=e.push("link_open","a",1),m=[["href",A]];h.attrs=m,a&&m.push(["title",a]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=g,e.posMax=c,!0}function eOe(e,t){let n,r,i,o,A,a,s,u,l="";const c=e.pos,d=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const f=e.pos+2,g=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(g<0)return!1;if(o=g+1,o<d&&e.src.charCodeAt(o)===40){for(o++;o<d&&(n=e.src.charCodeAt(o),!(!qr(n)&&n!==10));o++);if(o>=d)return!1;for(u=o,a=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),a.ok&&(l=e.md.normalizeLink(a.str),e.md.validateLink(l)?o=a.pos:l=""),u=o;o<d&&(n=e.src.charCodeAt(o),!(!qr(n)&&n!==10));o++);if(a=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<d&&u!==o&&a.ok)for(s=a.str,o=a.pos;o<d&&(n=e.src.charCodeAt(o),!(!qr(n)&&n!==10));o++);else s="";if(o>=d||e.src.charCodeAt(o)!==41)return e.pos=c,!1;o++}else{if(typeof e.env.references>"u")return!1;if(o<d&&e.src.charCodeAt(o)===91?(u=o+1,o=e.md.helpers.parseLinkLabel(e,o),o>=0?i=e.src.slice(u,o++):o=g+1):o=g+1,i||(i=e.src.slice(f,g)),A=e.env.references[yC(i)],!A)return e.pos=c,!1;l=A.href,s=A.title}if(!t){r=e.src.slice(f,g);const h=[];e.md.inline.parse(r,e.md,e.env,h);const m=e.push("image","img",0),p=[["src",l],["alt",""]];m.attrs=p,m.children=h,m.content=r,s&&p.push(["title",s])}return e.pos=o,e.posMax=d,!0}const tOe=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,nOe=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function rOe(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;const A=e.src.charCodeAt(n);if(A===60)return!1;if(A===62)break}const o=e.src.slice(r+1,n);if(nOe.test(o)){const A=e.md.normalizeLink(o);if(!e.md.validateLink(A))return!1;if(!t){const a=e.push("link_open","a",1);a.attrs=[["href",A]],a.markup="autolink",a.info="auto";const s=e.push("text","",0);s.content=e.md.normalizeLinkText(o);const u=e.push("link_close","a",-1);u.markup="autolink",u.info="auto"}return e.pos+=o.length+2,!0}if(tOe.test(o)){const A=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(A))return!1;if(!t){const a=e.push("link_open","a",1);a.attrs=[["href",A]],a.markup="autolink",a.info="auto";const s=e.push("text","",0);s.content=e.md.normalizeLinkText(o);const u=e.push("link_close","a",-1);u.markup="autolink",u.info="auto"}return e.pos+=o.length+2,!0}return!1}function iOe(e){return/^<a[>\s]/i.test(e)}function oOe(e){return/^<\/a\s*>/i.test(e)}function AOe(e){const t=e|32;return t>=97&&t<=122}function aOe(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;const i=e.src.charCodeAt(r+1);if(i!==33&&i!==63&&i!==47&&!AOe(i))return!1;const o=e.src.slice(r).match(D6e);if(!o)return!1;if(!t){const A=e.push("html_inline","",0);A.content=o[0],iOe(A.content)&&e.linkLevel++,oOe(A.content)&&e.linkLevel--}return e.pos+=o[0].length,!0}const sOe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,lOe=/^&([a-z][a-z0-9]{1,31});/i;function uOe(e,t){const n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){const o=e.src.slice(n).match(sOe);if(o){if(!t){const A=o[1][0].toLowerCase()==="x"?parseInt(o[1].slice(1),16):parseInt(o[1],10),a=e.push("text_special","",0);a.content=nU(A)?kw(A):kw(65533),a.markup=o[0],a.info="entity"}return e.pos+=o[0].length,!0}}else{const o=e.src.slice(n).match(lOe);if(o){const A=cJ(o[0]);if(A!==o[0]){if(!t){const a=e.push("text_special","",0);a.content=A,a.markup=o[0],a.info="entity"}return e.pos+=o[0].length,!0}}}return!1}function sN(e){const t={},n=e.length;if(!n)return;let r=0,i=-2;const o=[];for(let A=0;A<n;A++){const a=e[A];if(o.push(0),(e[r].marker!==a.marker||i!==a.token-1)&&(r=A),i=a.token,a.length=a.length||0,!a.close)continue;t.hasOwnProperty(a.marker)||(t[a.marker]=[-1,-1,-1,-1,-1,-1]);const s=t[a.marker][(a.open?3:0)+a.length%3];let u=r-o[r]-1,l=u;for(;u>s;u-=o[u]+1){const c=e[u];if(c.marker===a.marker&&c.open&&c.end<0){let d=!1;if((c.close||a.open)&&(c.length+a.length)%3===0&&(c.length%3!==0||a.length%3!==0)&&(d=!0),!d){const f=u>0&&!e[u-1].open?o[u-1]+1:0;o[A]=A-u+f,o[u]=f,a.open=!1,c.end=A,c.close=!1,l=-1,i=-2;break}}}l!==-1&&(t[a.marker][(a.open?3:0)+(a.length||0)%3]=l)}}function cOe(e){const t=e.tokens_meta,n=e.tokens_meta.length;sN(e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&sN(t[r].delimiters)}function fOe(e){let t,n,r=0;const i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,i[t].type==="text"&&t+1<o&&i[t+1].type==="text"?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}const bS=[["text",j6e],["linkify",V6e],["newline",z6e],["escape",G6e],["backticks",W6e],["strikethrough",vJ.tokenize],["emphasis",yJ.tokenize],["link",Z6e],["image",eOe],["autolink",rOe],["html_inline",aOe],["entity",uOe]],wS=[["balance_pairs",cOe],["strikethrough",vJ.postProcess],["emphasis",yJ.postProcess],["fragments_join",fOe]];function Dv(){this.ruler=new HA;for(let e=0;e<bS.length;e++)this.ruler.push(bS[e][0],bS[e][1]);this.ruler2=new HA;for(let e=0;e<wS.length;e++)this.ruler2.push(wS[e][0],wS[e][1])}Dv.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting,o=e.cache;if(typeof o[t]<"u"){e.pos=o[t];return}let A=!1;if(e.level<i){for(let a=0;a<r;a++)if(e.level++,A=n[a](e,!0),e.level--,A){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;A||e.pos++,o[t]=e.pos};Dv.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){const o=e.pos;let A=!1;if(e.level<i){for(let a=0;a<n;a++)if(A=t[a](e,!1),A){if(o>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(A){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};Dv.prototype.parse=function(e,t,n,r){const i=new this.State(e,t,n,r);this.tokenize(i);const o=this.ruler2.getRules(""),A=o.length;for(let a=0;a<A;a++)o[a](i)};Dv.prototype.State=Lv;function dOe(e){const t={};e=e||{},t.src_Any=AJ.source,t.src_Cc=aJ.source,t.src_Z=lJ.source,t.src_P=eU.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function a_(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(r){e[r]=n[r]})}),e}function wC(e){return Object.prototype.toString.call(e)}function hOe(e){return wC(e)==="[object String]"}function pOe(e){return wC(e)==="[object Object]"}function gOe(e){return wC(e)==="[object RegExp]"}function lN(e){return wC(e)==="[object Function]"}function mOe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const bJ={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function vOe(e){return Object.keys(e||{}).reduce(function(t,n){return t||bJ.hasOwnProperty(n)},!1)}const yOe={"http:":{validate:function(e,t,n){const r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},bOe="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",wOe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function BOe(e){e.__index__=-1,e.__text_cache__=""}function COe(e){return function(t,n){const r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function uN(){return function(e,t){t.normalize(e)}}function jw(e){const t=e.re=dOe(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(bOe),n.push(t.src_xn),t.src_tlds=n.join("|");function r(a){return a.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");const i=[];e.__compiled__={};function o(a,s){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+s)}Object.keys(e.__schemas__).forEach(function(a){const s=e.__schemas__[a];if(s===null)return;const u={validate:null,link:null};if(e.__compiled__[a]=u,pOe(s)){gOe(s.validate)?u.validate=COe(s.validate):lN(s.validate)?u.validate=s.validate:o(a,s),lN(s.normalize)?u.normalize=s.normalize:s.normalize?o(a,s):u.normalize=uN();return}if(hOe(s)){i.push(a);return}o(a,s)}),i.forEach(function(a){e.__compiled__[e.__schemas__[a]]&&(e.__compiled__[a].validate=e.__compiled__[e.__schemas__[a]].validate,e.__compiled__[a].normalize=e.__compiled__[e.__schemas__[a]].normalize)}),e.__compiled__[""]={validate:null,normalize:uN()};const A=Object.keys(e.__compiled__).filter(function(a){return a.length>0&&e.__compiled__[a]}).map(mOe).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+A+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+A+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),BOe(e)}function xOe(e,t){const n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function s_(e,t){const n=new xOe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function pa(e,t){if(!(this instanceof pa))return new pa(e,t);t||vOe(e)&&(t=e,e={}),this.__opts__=a_({},bJ,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=a_({},yOe,e),this.__compiled__={},this.__tlds__=wOe,this.__tlds_replaced__=!1,this.re={},jw(this)}pa.prototype.add=function(t,n){return this.__schemas__[t]=n,jw(this),this};pa.prototype.set=function(t){return this.__opts__=a_(this.__opts__,t),this};pa.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let n,r,i,o,A,a,s,u,l;if(this.re.schema_test.test(t)){for(s=this.re.schema_search,s.lastIndex=0;(n=s.exec(t))!==null;)if(o=this.testSchemaAt(t,n[2],s.lastIndex),o){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=t.search(this.re.host_fuzzy_test),u>=0&&(this.__index__<0||u<this.__index__)&&(r=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(A=r.index+r[1].length,(this.__index__<0||A<this.__index__)&&(this.__schema__="",this.__index__=A,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(l=t.indexOf("@"),l>=0&&(i=t.match(this.re.email_fuzzy))!==null&&(A=i.index+i[1].length,a=i.index+i[0].length,(this.__index__<0||A<this.__index__||A===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=A,this.__last_index__=a))),this.__index__>=0};pa.prototype.pretest=function(t){return this.re.pretest.test(t)};pa.prototype.testSchemaAt=function(t,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,r,this):0};pa.prototype.match=function(t){const n=[];let r=0;this.__index__>=0&&this.__text_cache__===t&&(n.push(s_(this,r)),r=this.__last_index__);let i=r?t.slice(r):t;for(;this.test(i);)n.push(s_(this,r)),i=i.slice(this.__last_index__),r+=this.__last_index__;return n.length?n:null};pa.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const n=this.re.schema_at_start.exec(t);if(!n)return null;const r=this.testSchemaAt(t,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,s_(this,0)):null};pa.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(r,i,o){return r!==o[i-1]}).reverse(),jw(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,jw(this),this)};pa.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};pa.prototype.onCompile=function(){};const eg=2147483647,Bl=36,oU=1,Av=26,SOe=38,EOe=700,wJ=72,BJ=128,CJ="-",FOe=/^xn--/,IOe=/[^\0-\x7F]/,_Oe=/[\x2E\u3002\uFF0E\uFF61]/g,OOe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},BS=Bl-oU,Cl=Math.floor,CS=String.fromCharCode;function jc(e){throw new RangeError(OOe[e])}function TOe(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function xJ(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(_Oe,".");const i=e.split("."),o=TOe(i,t).join(".");return r+o}function SJ(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const o=e.charCodeAt(n++);(o&64512)==56320?t.push(((i&1023)<<10)+(o&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}const UOe=e=>String.fromCodePoint(...e),QOe=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Bl},cN=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},EJ=function(e,t,n){let r=0;for(e=n?Cl(e/EOe):e>>1,e+=Cl(e/t);e>BS*Av>>1;r+=Bl)e=Cl(e/BS);return Cl(r+(BS+1)*e/(e+SOe))},FJ=function(e){const t=[],n=e.length;let r=0,i=BJ,o=wJ,A=e.lastIndexOf(CJ);A<0&&(A=0);for(let a=0;a<A;++a)e.charCodeAt(a)>=128&&jc("not-basic"),t.push(e.charCodeAt(a));for(let a=A>0?A+1:0;a<n;){const s=r;for(let l=1,c=Bl;;c+=Bl){a>=n&&jc("invalid-input");const d=QOe(e.charCodeAt(a++));d>=Bl&&jc("invalid-input"),d>Cl((eg-r)/l)&&jc("overflow"),r+=d*l;const f=c<=o?oU:c>=o+Av?Av:c-o;if(d<f)break;const g=Bl-f;l>Cl(eg/g)&&jc("overflow"),l*=g}const u=t.length+1;o=EJ(r-s,u,s==0),Cl(r/u)>eg-i&&jc("overflow"),i+=Cl(r/u),r%=u,t.splice(r++,0,i)}return String.fromCodePoint(...t)},IJ=function(e){const t=[];e=SJ(e);const n=e.length;let r=BJ,i=0,o=wJ;for(const s of e)s<128&&t.push(CS(s));const A=t.length;let a=A;for(A&&t.push(CJ);a<n;){let s=eg;for(const l of e)l>=r&&l<s&&(s=l);const u=a+1;s-r>Cl((eg-i)/u)&&jc("overflow"),i+=(s-r)*u,r=s;for(const l of e)if(l<r&&++i>eg&&jc("overflow"),l===r){let c=i;for(let d=Bl;;d+=Bl){const f=d<=o?oU:d>=o+Av?Av:d-o;if(c<f)break;const g=c-f,h=Bl-f;t.push(CS(cN(f+g%h,0))),c=Cl(g/h)}t.push(CS(cN(c,0))),o=EJ(i,u,a===A),i=0,++a}++i,++r}return t.join("")},POe=function(e){return xJ(e,function(t){return FOe.test(t)?FJ(t.slice(4).toLowerCase()):t})},LOe=function(e){return xJ(e,function(t){return IOe.test(t)?"xn--"+IJ(t):t})},_J={version:"2.3.1",ucs2:{decode:SJ,encode:UOe},decode:FJ,encode:IJ,toASCII:LOe,toUnicode:POe},DOe={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},ROe={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},$Oe={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},NOe={default:DOe,zero:ROe,commonmark:$Oe},HOe=/^(vbscript|javascript|file|data):/,MOe=/^data:image\/(gif|png|jpeg|webp);/;function kOe(e){const t=e.trim().toLowerCase();return HOe.test(t)?MOe.test(t):!0}const OJ=["http:","https:","mailto:"];function jOe(e){const t=ZT(e,!0);if(t.hostname&&(!t.protocol||OJ.indexOf(t.protocol)>=0))try{t.hostname=_J.toASCII(t.hostname)}catch{}return Pv(JT(t))}function KOe(e){const t=ZT(e,!0);if(t.hostname&&(!t.protocol||OJ.indexOf(t.protocol)>=0))try{t.hostname=_J.toUnicode(t.hostname)}catch{}return bg(JT(t),bg.defaultChars+"%")}function Is(e,t){if(!(this instanceof Is))return new Is(e,t);t||tU(e)||(t=e||{},e="default"),this.inline=new Dv,this.block=new bC,this.core=new rU,this.renderer=new Hg,this.linkify=new pa,this.validateLink=kOe,this.normalizeLink=jOe,this.normalizeLinkText=KOe,this.utils=z_e,this.helpers=vC({},X_e),this.options={},this.configure(e),t&&this.set(t)}Is.prototype.set=function(e){return vC(this.options,e),this};Is.prototype.configure=function(e){const t=this;if(tU(e)){const n=e;if(e=NOe[n],!e)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this};Is.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));const r=e.filter(function(i){return n.indexOf(i)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};Is.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));const r=e.filter(function(i){return n.indexOf(i)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};Is.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Is.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};Is.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Is.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};Is.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var xS={exports:{}},Jo=Uint8Array,sa=Uint16Array,AU=Int32Array,BC=new Jo([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),CC=new Jo([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),l_=new Jo([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),TJ=function(e,t){for(var n=new sa(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];for(var i=new AU(n[30]),r=1;r<30;++r)for(var o=n[r];o<n[r+1];++o)i[o]=o-n[r]<<5|r;return{b:n,r:i}},UJ=TJ(BC,2),QJ=UJ.b,u_=UJ.r;QJ[28]=258,u_[258]=28;var PJ=TJ(CC,0),VOe=PJ.b,fN=PJ.r,c_=new sa(32768);for(var ri=0;ri<32768;++ri){var Qc=(ri&43690)>>1|(ri&21845)<<1;Qc=(Qc&52428)>>2|(Qc&13107)<<2,Qc=(Qc&61680)>>4|(Qc&3855)<<4,c_[ri]=((Qc&65280)>>8|(Qc&255)<<8)>>1}var Il=function(e,t,n){for(var r=e.length,i=0,o=new sa(t);i<r;++i)e[i]&&++o[e[i]-1];var A=new sa(t);for(i=1;i<t;++i)A[i]=A[i-1]+o[i-1]<<1;var a;if(n){a=new sa(1<<t);var s=15-t;for(i=0;i<r;++i)if(e[i])for(var u=i<<4|e[i],l=t-e[i],c=A[e[i]-1]++<<l,d=c|(1<<l)-1;c<=d;++c)a[c_[c]>>s]=u}else for(a=new sa(r),i=0;i<r;++i)e[i]&&(a[i]=c_[A[e[i]-1]++]>>15-e[i]);return a},mf=new Jo(288);for(var ri=0;ri<144;++ri)mf[ri]=8;for(var ri=144;ri<256;++ri)mf[ri]=9;for(var ri=256;ri<280;++ri)mf[ri]=7;for(var ri=280;ri<288;++ri)mf[ri]=8;var av=new Jo(32);for(var ri=0;ri<32;++ri)av[ri]=5;var zOe=Il(mf,9,0),GOe=Il(mf,9,1),WOe=Il(av,5,0),qOe=Il(av,5,1),SS=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},ss=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(t&7)&n},ES=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},aU=function(e){return(e+7)/8|0},LJ=function(e,t,n){return(n==null||n>e.length)&&(n=e.length),new Jo(e.subarray(t,n))},XOe=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],gs=function(e,t,n){var r=new Error(t||XOe[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,gs),!n)throw r;return r},YOe=function(e,t,n,r){var i=e.length,o=0;if(!i||t.f&&!t.l)return n||new Jo(0);var A=!n,a=A||t.i!=2,s=t.i;A&&(n=new Jo(i*3));var u=function(ie){var J=n.length;if(ie>J){var ue=new Jo(Math.max(J*2,ie));ue.set(n),n=ue}},l=t.f||0,c=t.p||0,d=t.b||0,f=t.l,g=t.d,h=t.m,m=t.n,p=i*8;do{if(!f){l=ss(e,c,1);var v=ss(e,c+1,3);if(c+=3,v)if(v==1)f=GOe,g=qOe,h=9,m=5;else if(v==2){var C=ss(e,c,31)+257,B=ss(e,c+10,15)+4,O=C+ss(e,c+5,31)+1;c+=14;for(var x=new Jo(O),M=new Jo(19),R=0;R<B;++R)M[l_[R]]=ss(e,c+R*3,7);c+=B*3;for(var F=SS(M),L=(1<<F)-1,E=Il(M,F,1),R=0;R<O;){var H=E[ss(e,c,L)];c+=H&15;var y=H>>4;if(y<16)x[R++]=y;else{var X=0,z=0;for(y==16?(z=3+ss(e,c,3),c+=2,X=x[R-1]):y==17?(z=3+ss(e,c,7),c+=3):y==18&&(z=11+ss(e,c,127),c+=7);z--;)x[R++]=X}}var Z=x.subarray(0,C),q=x.subarray(C);h=SS(Z),m=SS(q),f=Il(Z,h,1),g=Il(q,m,1)}else gs(1);else{var y=aU(c)+4,b=e[y-4]|e[y-3]<<8,w=y+b;if(w>i){s&&gs(0);break}a&&u(d+b),n.set(e.subarray(y,w),d),t.b=d+=b,t.p=c=w*8,t.f=l;continue}if(c>p){s&&gs(0);break}}a&&u(d+131072);for(var te=(1<<h)-1,ne=(1<<m)-1,_=c;;_=c){var X=f[ES(e,c)&te],Y=X>>4;if(c+=X&15,c>p){s&&gs(0);break}if(X||gs(2),Y<256)n[d++]=Y;else if(Y==256){_=c,f=null;break}else{var re=Y-254;if(Y>264){var R=Y-257,se=BC[R];re=ss(e,c,(1<<se)-1)+QJ[R],c+=se}var ce=g[ES(e,c)&ne],N=ce>>4;ce||gs(3),c+=ce&15;var q=VOe[N];if(N>3){var se=CC[N];q+=ES(e,c)&(1<<se)-1,c+=se}if(c>p){s&&gs(0);break}a&&u(d+131072);var K=d+re;if(d<q){var Ae=o-q,ae=Math.min(q,K);for(Ae+d<0&&gs(3);d<ae;++d)n[d]=r[Ae+d]}for(;d<K;++d)n[d]=n[d-q]}}t.l=f,t.p=_,t.b=d,t.f=l,f&&(l=1,t.m=h,t.d=g,t.n=m)}while(!l);return d!=n.length&&A?LJ(n,0,d):n.subarray(0,d)},bu=function(e,t,n){n<<=t&7;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8},I0=function(e,t,n){n<<=t&7;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8,e[r+2]|=n>>16},FS=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var i=n.length,o=n.slice();if(!i)return{t:RJ,l:0};if(i==1){var A=new Jo(n[0].s+1);return A[n[0].s]=1,{t:A,l:1}}n.sort(function(w,C){return w.f-C.f}),n.push({s:-1,f:25001});var a=n[0],s=n[1],u=0,l=1,c=2;for(n[0]={s:-1,f:a.f+s.f,l:a,r:s};l!=i-1;)a=n[n[u].f<n[c].f?u++:c++],s=n[u!=l&&n[u].f<n[c].f?u++:c++],n[l++]={s:-1,f:a.f+s.f,l:a,r:s};for(var d=o[0].s,r=1;r<i;++r)o[r].s>d&&(d=o[r].s);var f=new sa(d+1),g=f_(n[l-1],f,0);if(g>t){var r=0,h=0,m=g-t,p=1<<m;for(o.sort(function(C,B){return f[B.s]-f[C.s]||C.f-B.f});r<i;++r){var v=o[r].s;if(f[v]>t)h+=p-(1<<g-f[v]),f[v]=t;else break}for(h>>=m;h>0;){var y=o[r].s;f[y]<t?h-=1<<t-f[y]++-1:++r}for(;r>=0&&h;--r){var b=o[r].s;f[b]==t&&(--f[b],++h)}g=t}return{t:new Jo(f),l:g}},f_=function(e,t,n){return e.s==-1?Math.max(f_(e.l,t,n+1),f_(e.r,t,n+1)):t[e.s]=n},dN=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new sa(++t),r=0,i=e[0],o=1,A=function(s){n[r++]=s},a=1;a<=t;++a)if(e[a]==i&&a!=t)++o;else{if(!i&&o>2){for(;o>138;o-=138)A(32754);o>2&&(A(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(A(i),--o;o>6;o-=6)A(8304);o>2&&(A(o-3<<5|8208),o=0)}for(;o--;)A(i);o=1,i=e[a]}return{c:n.subarray(0,r),n:t}},_0=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},DJ=function(e,t,n){var r=n.length,i=aU(t+2);e[i]=r&255,e[i+1]=r>>8,e[i+2]=e[i]^255,e[i+3]=e[i+1]^255;for(var o=0;o<r;++o)e[i+o+4]=n[o];return(i+4+r)*8},hN=function(e,t,n,r,i,o,A,a,s,u,l){bu(t,l++,n),++i[256];for(var c=FS(i,15),d=c.t,f=c.l,g=FS(o,15),h=g.t,m=g.l,p=dN(d),v=p.c,y=p.n,b=dN(h),w=b.c,C=b.n,B=new sa(19),O=0;O<v.length;++O)++B[v[O]&31];for(var O=0;O<w.length;++O)++B[w[O]&31];for(var x=FS(B,7),M=x.t,R=x.l,F=19;F>4&&!M[l_[F-1]];--F);var L=u+5<<3,E=_0(i,mf)+_0(o,av)+A,H=_0(i,d)+_0(o,h)+A+14+3*F+_0(B,M)+2*B[16]+3*B[17]+7*B[18];if(s>=0&&L<=E&&L<=H)return DJ(t,l,e.subarray(s,s+u));var X,z,Z,q;if(bu(t,l,1+(H<E)),l+=2,H<E){X=Il(d,f,0),z=d,Z=Il(h,m,0),q=h;var te=Il(M,R,0);bu(t,l,y-257),bu(t,l+5,C-1),bu(t,l+10,F-4),l+=14;for(var O=0;O<F;++O)bu(t,l+3*O,M[l_[O]]);l+=3*F;for(var ne=[v,w],_=0;_<2;++_)for(var Y=ne[_],O=0;O<Y.length;++O){var re=Y[O]&31;bu(t,l,te[re]),l+=M[re],re>15&&(bu(t,l,Y[O]>>5&127),l+=Y[O]>>12)}}else X=zOe,z=mf,Z=WOe,q=av;for(var O=0;O<a;++O){var se=r[O];if(se>255){var re=se>>18&31;I0(t,l,X[re+257]),l+=z[re+257],re>7&&(bu(t,l,se>>23&31),l+=BC[re]);var ce=se&31;I0(t,l,Z[ce]),l+=q[ce],ce>3&&(I0(t,l,se>>5&8191),l+=CC[ce])}else I0(t,l,X[se]),l+=z[se]}return I0(t,l,X[256]),l+z[256]},JOe=new AU([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),RJ=new Jo(0),ZOe=function(e,t,n,r,i,o){var A=o.z||e.length,a=new Jo(r+A+5*(1+Math.ceil(A/7e3))+i),s=a.subarray(r,a.length-i),u=o.l,l=(o.r||0)&7;if(t){l&&(s[0]=o.r>>3);for(var c=JOe[t-1],d=c>>13,f=c&8191,g=(1<<n)-1,h=o.p||new sa(32768),m=o.h||new sa(g+1),p=Math.ceil(n/3),v=2*p,y=function(G){return(e[G]^e[G+1]<<p^e[G+2]<<v)&g},b=new AU(25e3),w=new sa(288),C=new sa(32),B=0,O=0,x=o.i||0,M=0,R=o.w||0,F=0;x+2<A;++x){var L=y(x),E=x&32767,H=m[L];if(h[E]=H,m[L]=E,R<=x){var X=A-x;if((B>7e3||M>24576)&&(X>423||!u)){l=hN(e,s,0,b,w,C,O,M,F,x-F,l),M=B=O=0,F=x;for(var z=0;z<286;++z)w[z]=0;for(var z=0;z<30;++z)C[z]=0}var Z=2,q=0,te=f,ne=E-H&32767;if(X>2&&L==y(x-ne))for(var _=Math.min(d,X)-1,Y=Math.min(32767,x),re=Math.min(258,X);ne<=Y&&--te&&E!=H;){if(e[x+Z]==e[x+Z-ne]){for(var se=0;se<re&&e[x+se]==e[x+se-ne];++se);if(se>Z){if(Z=se,q=ne,se>_)break;for(var ce=Math.min(ne,se-2),N=0,z=0;z<ce;++z){var K=x-ne+z&32767,Ae=h[K],ae=K-Ae&32767;ae>N&&(N=ae,H=K)}}}E=H,H=h[E],ne+=E-H&32767}if(q){b[M++]=268435456|u_[Z]<<18|fN[q];var ie=u_[Z]&31,J=fN[q]&31;O+=BC[ie]+CC[J],++w[257+ie],++C[J],R=x+Z,++B}else b[M++]=e[x],++w[e[x]]}}for(x=Math.max(x,R);x<A;++x)b[M++]=e[x],++w[e[x]];l=hN(e,s,u,b,w,C,O,M,F,x-F,l),u||(o.r=l&7|s[l/8|0]<<3,l-=7,o.h=m,o.p=h,o.i=x,o.w=R)}else{for(var x=o.w||0;x<A+u;x+=65535){var ue=x+65535;ue>=A&&(s[l/8|0]=u,ue=A),l=DJ(s,l+1,e.subarray(x,ue))}o.i=A}return LJ(a,0,r+aU(l)+i)},$J=function(){var e=1,t=0;return{p:function(n){for(var r=e,i=t,o=n.length|0,A=0;A!=o;){for(var a=Math.min(A+2655,o);A<a;++A)i+=r+=n[A];r=(r&65535)+15*(r>>16),i=(i&65535)+15*(i>>16)}e=r,t=i},d:function(){return e%=65521,t%=65521,(e&255)<<24|(e&65280)<<8|(t&255)<<8|t>>8}}},eTe=function(e,t,n,r,i){if(!i&&(i={l:1},t.dictionary)){var o=t.dictionary.subarray(-32768),A=new Jo(o.length+e.length);A.set(o),A.set(e,o.length),e=A,i.w=o.length}return ZOe(e,t.level==null?6:t.level,t.mem==null?i.l?Math.ceil(Math.max(8,Math.min(13,Math.log(e.length)))*1.5):20:12+t.mem,n,r,i)},NJ=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},tTe=function(e,t){var n=t.level,r=n==0?0:n<6?1:n==9?3:2;if(e[0]=120,e[1]=r<<6|(t.dictionary&&32),e[1]|=31-(e[0]<<8|e[1])%31,t.dictionary){var i=$J();i.p(t.dictionary),NJ(e,2,i.d())}},nTe=function(e,t){return((e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&gs(6,"invalid zlib data"),(e[1]>>5&1)==1&&gs(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function d_(e,t){t||(t={});var n=$J();n.p(e);var r=eTe(e,t,t.dictionary?6:2,4);return tTe(r,t),NJ(r,r.length-4,n.d()),r}function rTe(e,t){return YOe(e.subarray(nTe(e),-4),{i:2},t,t)}var iTe=typeof TextDecoder<"u"&&new TextDecoder,oTe=0;try{iTe.decode(RJ,{stream:!0}),oTe=1}catch{}var Bn=function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this}();function IS(){Bn.console&&typeof Bn.console.log=="function"&&Bn.console.log.apply(Bn.console,arguments)}var Mr={log:IS,warn:function(e){Bn.console&&(typeof Bn.console.warn=="function"?Bn.console.warn.apply(Bn.console,arguments):IS.call(null,arguments))},error:function(e){Bn.console&&(typeof Bn.console.error=="function"?Bn.console.error.apply(Bn.console,arguments):IS(e))}};function _S(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){pd(r.response,t,n)},r.onerror=function(){Mr.error("could not download file")},r.send()}function pN(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function gy(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var Bm,h_,pd=Bn.saveAs||((typeof window>"u"?"undefined":dr(window))!=="object"||window!==Bn?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(e,t,n){var r=Bn.URL||Bn.webkitURL,i=document.createElement("a");t=t||e.name||"download",i.download=t,i.rel="noopener",typeof e=="string"?(i.href=e,i.origin!==location.origin?pN(i.href)?_S(e,t,n):gy(i,i.target="_blank"):gy(i)):(i.href=r.createObjectURL(e),setTimeout(function(){r.revokeObjectURL(i.href)},4e4),setTimeout(function(){gy(i)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,n){if(t=t||e.name||"download",typeof e=="string")if(pN(e))_S(e,t,n);else{var r=document.createElement("a");r.href=e,r.target="_blank",setTimeout(function(){gy(r)})}else navigator.msSaveOrOpenBlob(function(i,o){return o===void 0?o={autoBom:!1}:dr(o)!=="object"&&(Mr.warn("Deprecated: Expected third argument to be a object"),o={autoBom:!o}),o.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(i.type)?new Blob(["\uFEFF",i],{type:i.type}):i}(e,n),t)}:function(e,t,n,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),typeof e=="string")return _S(e,t,n);var i=e.type==="application/octet-stream",o=/constructor/i.test(Bn.HTMLElement)||Bn.safari,A=/CriOS\/[\d]+/.test(navigator.userAgent);if((A||i&&o)&&(typeof FileReader>"u"?"undefined":dr(FileReader))==="object"){var a=new FileReader;a.onloadend=function(){var l=a.result;l=A?l:l.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=l:location=l,r=null},a.readAsDataURL(e)}else{var s=Bn.URL||Bn.webkitURL,u=s.createObjectURL(e);r?r.location=u:location.href=u,r=null,setTimeout(function(){s.revokeObjectURL(u)},4e4)}});/**
- * A class to parse color values
- * @author Stoyan Stefanov <sstoo@gmail.com>
- * {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
- * @license Use it if you like it
- */function HJ(e){var t;e=e||"",this.ok=!1,e.charAt(0)=="#"&&(e=e.substr(1,6)),e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(a){return[parseInt(a[1]),parseInt(a[2]),parseInt(a[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(a){return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(a){return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)]}}],r=0;r<n.length;r++){var i=n[r].re,o=n[r].process,A=i.exec(e);A&&(t=o(A),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var a=this.r.toString(16),s=this.g.toString(16),u=this.b.toString(16);return a.length==1&&(a="0"+a),s.length==1&&(s="0"+s),u.length==1&&(u="0"+u),"#"+a+s+u}}/**
- * @license
- * Joseph Myers does not specify a particular license for his work.
- *
- * Author: Joseph Myers
- * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
- *
- * Modified by: Owen Leong
- */function OS(e,t){var n=e[0],r=e[1],i=e[2],o=e[3];n=Mo(n,r,i,o,t[0],7,-680876936),o=Mo(o,n,r,i,t[1],12,-389564586),i=Mo(i,o,n,r,t[2],17,606105819),r=Mo(r,i,o,n,t[3],22,-1044525330),n=Mo(n,r,i,o,t[4],7,-176418897),o=Mo(o,n,r,i,t[5],12,1200080426),i=Mo(i,o,n,r,t[6],17,-1473231341),r=Mo(r,i,o,n,t[7],22,-45705983),n=Mo(n,r,i,o,t[8],7,1770035416),o=Mo(o,n,r,i,t[9],12,-1958414417),i=Mo(i,o,n,r,t[10],17,-42063),r=Mo(r,i,o,n,t[11],22,-1990404162),n=Mo(n,r,i,o,t[12],7,1804603682),o=Mo(o,n,r,i,t[13],12,-40341101),i=Mo(i,o,n,r,t[14],17,-1502002290),n=ko(n,r=Mo(r,i,o,n,t[15],22,1236535329),i,o,t[1],5,-165796510),o=ko(o,n,r,i,t[6],9,-1069501632),i=ko(i,o,n,r,t[11],14,643717713),r=ko(r,i,o,n,t[0],20,-373897302),n=ko(n,r,i,o,t[5],5,-701558691),o=ko(o,n,r,i,t[10],9,38016083),i=ko(i,o,n,r,t[15],14,-660478335),r=ko(r,i,o,n,t[4],20,-405537848),n=ko(n,r,i,o,t[9],5,568446438),o=ko(o,n,r,i,t[14],9,-1019803690),i=ko(i,o,n,r,t[3],14,-187363961),r=ko(r,i,o,n,t[8],20,1163531501),n=ko(n,r,i,o,t[13],5,-1444681467),o=ko(o,n,r,i,t[2],9,-51403784),i=ko(i,o,n,r,t[7],14,1735328473),n=jo(n,r=ko(r,i,o,n,t[12],20,-1926607734),i,o,t[5],4,-378558),o=jo(o,n,r,i,t[8],11,-2022574463),i=jo(i,o,n,r,t[11],16,1839030562),r=jo(r,i,o,n,t[14],23,-35309556),n=jo(n,r,i,o,t[1],4,-1530992060),o=jo(o,n,r,i,t[4],11,1272893353),i=jo(i,o,n,r,t[7],16,-155497632),r=jo(r,i,o,n,t[10],23,-1094730640),n=jo(n,r,i,o,t[13],4,681279174),o=jo(o,n,r,i,t[0],11,-358537222),i=jo(i,o,n,r,t[3],16,-722521979),r=jo(r,i,o,n,t[6],23,76029189),n=jo(n,r,i,o,t[9],4,-640364487),o=jo(o,n,r,i,t[12],11,-421815835),i=jo(i,o,n,r,t[15],16,530742520),n=Ko(n,r=jo(r,i,o,n,t[2],23,-995338651),i,o,t[0],6,-198630844),o=Ko(o,n,r,i,t[7],10,1126891415),i=Ko(i,o,n,r,t[14],15,-1416354905),r=Ko(r,i,o,n,t[5],21,-57434055),n=Ko(n,r,i,o,t[12],6,1700485571),o=Ko(o,n,r,i,t[3],10,-1894986606),i=Ko(i,o,n,r,t[10],15,-1051523),r=Ko(r,i,o,n,t[1],21,-2054922799),n=Ko(n,r,i,o,t[8],6,1873313359),o=Ko(o,n,r,i,t[15],10,-30611744),i=Ko(i,o,n,r,t[6],15,-1560198380),r=Ko(r,i,o,n,t[13],21,1309151649),n=Ko(n,r,i,o,t[4],6,-145523070),o=Ko(o,n,r,i,t[11],10,-1120210379),i=Ko(i,o,n,r,t[2],15,718787259),r=Ko(r,i,o,n,t[9],21,-343485551),e[0]=nf(n,e[0]),e[1]=nf(r,e[1]),e[2]=nf(i,e[2]),e[3]=nf(o,e[3])}function xC(e,t,n,r,i,o){return t=nf(nf(t,e),nf(r,o)),nf(t<<i|t>>>32-i,n)}function Mo(e,t,n,r,i,o,A){return xC(t&n|~t&r,e,t,i,o,A)}function ko(e,t,n,r,i,o,A){return xC(t&r|n&~r,e,t,i,o,A)}function jo(e,t,n,r,i,o,A){return xC(t^n^r,e,t,i,o,A)}function Ko(e,t,n,r,i,o,A){return xC(n^(t|~r),e,t,i,o,A)}function MJ(e){var t,n=e.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)OS(r,ATe(e.substring(t-64,t)));e=e.substring(t-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)i[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(OS(r,i),t=0;t<16;t++)i[t]=0;return i[14]=8*n,OS(r,i),r}function ATe(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}Bm=Bn.atob.bind(Bn),h_=Bn.btoa.bind(Bn);var gN="0123456789abcdef".split("");function aTe(e){for(var t="",n=0;n<4;n++)t+=gN[e>>8*n+4&15]+gN[e>>8*n&15];return t}function sTe(e){return String.fromCharCode((255&e)>>0,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function p_(e){return MJ(e).map(sTe).join("")}var lTe=function(e){for(var t=0;t<e.length;t++)e[t]=aTe(e[t]);return e.join("")}(MJ("hello"))!="5d41402abc4b2a76b9719d911017c592";function nf(e,t){if(lTe){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}return e+t&4294967295}/**
- * @license
- * FPDF is released under a permissive license: there is no usage restriction.
- * You may embed it freely in your application (commercial or not), with or
- * without modifications.
- *
- * Reference: http://www.fpdf.org/en/script/script37.php
- */function g_(e,t){var n,r,i,o;if(e!==n){for(var A=(i=e,o=1+(256/e.length>>0),new Array(o+1).join(i)),a=[],s=0;s<256;s++)a[s]=s;var u=0;for(s=0;s<256;s++){var l=a[s];u=(u+l+A.charCodeAt(s))%256,a[s]=a[u],a[u]=l}n=e,r=a}else a=r;var c=t.length,d=0,f=0,g="";for(s=0;s<c;s++)f=(f+(l=a[d=(d+1)%256]))%256,a[d]=a[f],a[f]=l,A=a[(a[d]+a[f])%256],g+=String.fromCharCode(t.charCodeAt(s)^A);return g}/**
- * @license
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- * Author: Owen Leong (@owenl131)
- * Date: 15 Oct 2020
- * References:
- * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
- * https://github.com/foliojs/pdfkit/blob/master/lib/security.js
- * http://www.fpdf.org/en/script/script37.php
- */var mN={print:4,modify:8,copy:16,"annot-forms":32};function Qp(e,t,n,r){this.v=1,this.r=2;var i=192;e.forEach(function(a){if(mN.perm!==void 0)throw new Error("Invalid permission: "+a);i+=mN[a]}),this.padding="(¿N^NuAd\0NVÿú\b..\0¶Ðh>/\f©þdSiz";var o=(t+this.padding).substr(0,32),A=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,A),this.P=-(1+(255^i)),this.encryptionKey=p_(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=g_(this.encryptionKey,this.padding)}function Pp(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var t="",n=e.length,r=0;r<n;r++){var i=e.charCodeAt(r);i<33||i===35||i===37||i===40||i===41||i===47||i===60||i===62||i===91||i===93||i===123||i===125||i>126?t+="#"+("0"+i.toString(16)).slice(-2):t+=e[r]}return t}function vN(e){if(dr(e)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(n,r,i){if(i=i||!1,typeof n!="string"||typeof r!="function"||typeof i!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(n)||(t[n]={});var o=Math.random().toString(35);return t[n][o]=[r,!!i],o},this.unsubscribe=function(n){for(var r in t)if(t[r][n])return delete t[r][n],Object.keys(t[r]).length===0&&delete t[r],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var r=Array.prototype.slice.call(arguments,1),i=[];for(var o in t[n]){var A=t[n][o];try{A[0].apply(e,r)}catch(a){Bn.console&&Mr.error("jsPDF PubSub Error",a.message,a)}A[1]&&i.push(o)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function sv(e){if(!(this instanceof sv))return new sv(e);var t="opacity,stroke-opacity".split(",");for(var n in e)e.hasOwnProperty(n)&&t.indexOf(n)>=0&&(this[n]=e[n]);this.id="",this.objectNumber=-1}function kJ(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function qc(e,t,n,r,i){if(!(this instanceof qc))return new qc(e,t,n,r,i);this.type=e==="axial"?2:3,this.coords=t,this.colors=n,kJ.call(this,r,i)}function _d(e,t,n,r,i){if(!(this instanceof _d))return new _d(e,t,n,r,i);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,kJ.call(this,r,i)}function gn(e){var t,n=typeof arguments[0]=="string"?arguments[0]:"p",r=arguments[1],i=arguments[2],o=arguments[3],A=[],a=1,s=16,u="S",l=null;dr(e=e||{})==="object"&&(n=e.orientation,r=e.unit||r,i=e.format||i,o=e.compress||e.compressPdf||o,(l=e.encryption||null)!==null&&(l.userPassword=l.userPassword||"",l.ownerPassword=l.ownerPassword||"",l.userPermissions=l.userPermissions||[]),a=typeof e.userUnit=="number"?Math.abs(e.userUnit):1,e.precision!==void 0&&(t=e.precision),e.floatPrecision!==void 0&&(s=e.floatPrecision),u=e.defaultPathOperation||"S"),A=e.filters||(o===!0?["FlateEncode"]:A),r=r||"mm",n=(""+(n||"P")).toLowerCase();var c=e.putOnlyUsedFonts||!1,d={},f={internal:{},__private__:{}};f.__private__.PubSub=vN;var g="1.3",h=f.__private__.getPdfVersion=function(){return g};f.__private__.setPdfVersion=function(ee){g=ee};var m={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};f.__private__.getPageFormats=function(){return m};var p=f.__private__.getPageFormat=function(ee){return m[ee]};i=i||"a4";var v={COMPAT:"compat",ADVANCED:"advanced"},y=v.COMPAT;function b(){this.saveGraphicsState(),k(new Mt(_e,0,0,-_e,0,Ws()*_e).toString()+" cm"),this.setFontSize(this.getFontSize()/_e),u="n",y=v.ADVANCED}function w(){this.restoreGraphicsState(),u="S",y=v.COMPAT}var C=f.__private__.combineFontStyleAndFontWeight=function(ee,Ce){if(ee=="bold"&&Ce=="normal"||ee=="bold"&&Ce==400||ee=="normal"&&Ce=="italic"||ee=="bold"&&Ce=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return Ce&&(ee=Ce==400||Ce==="normal"?ee==="italic"?"italic":"normal":Ce!=700&&Ce!=="bold"||ee!=="normal"?(Ce==700?"bold":Ce)+""+ee:"bold"),ee};f.advancedAPI=function(ee){var Ce=y===v.COMPAT;return Ce&&b.call(this),typeof ee!="function"||(ee(this),Ce&&w.call(this)),this},f.compatAPI=function(ee){var Ce=y===v.ADVANCED;return Ce&&w.call(this),typeof ee!="function"||(ee(this),Ce&&b.call(this)),this},f.isAdvancedAPI=function(){return y===v.ADVANCED};var B,O=function(ee){if(y!==v.ADVANCED)throw new Error(ee+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},x=f.roundToPrecision=f.__private__.roundToPrecision=function(ee,Ce){var $e=t||Ce;if(isNaN(ee)||isNaN($e))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return ee.toFixed($e).replace(/0+$/,"")};B=f.hpf=f.__private__.hpf=typeof s=="number"?function(ee){if(isNaN(ee))throw new Error("Invalid argument passed to jsPDF.hpf");return x(ee,s)}:s==="smart"?function(ee){if(isNaN(ee))throw new Error("Invalid argument passed to jsPDF.hpf");return x(ee,ee>-1&&ee<1?16:5)}:function(ee){if(isNaN(ee))throw new Error("Invalid argument passed to jsPDF.hpf");return x(ee,16)};var M=f.f2=f.__private__.f2=function(ee){if(isNaN(ee))throw new Error("Invalid argument passed to jsPDF.f2");return x(ee,2)},R=f.__private__.f3=function(ee){if(isNaN(ee))throw new Error("Invalid argument passed to jsPDF.f3");return x(ee,3)},F=f.scale=f.__private__.scale=function(ee){if(isNaN(ee))throw new Error("Invalid argument passed to jsPDF.scale");return y===v.COMPAT?ee*_e:y===v.ADVANCED?ee:void 0},L=function(ee){return y===v.COMPAT?Ws()-ee:y===v.ADVANCED?ee:void 0},E=function(ee){return F(L(ee))};f.__private__.setPrecision=f.setPrecision=function(ee){typeof parseInt(ee,10)=="number"&&(t=parseInt(ee,10))};var H,X="00000000000000000000000000000000",z=f.__private__.getFileId=function(){return X},Z=f.__private__.setFileId=function(ee){return X=ee!==void 0&&/^[a-fA-F0-9]{32}$/.test(ee)?ee.toUpperCase():X.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),l!==null&&(oo=new Qp(l.userPermissions,l.userPassword,l.ownerPassword,X)),X};f.setFileId=function(ee){return Z(ee),this},f.getFileId=function(){return z()};var q=f.__private__.convertDateToPDFDate=function(ee){var Ce=ee.getTimezoneOffset(),$e=Ce<0?"+":"-",Ke=Math.floor(Math.abs(Ce/60)),tt=Math.abs(Ce%60),pt=[$e,re(Ke),"'",re(tt),"'"].join("");return["D:",ee.getFullYear(),re(ee.getMonth()+1),re(ee.getDate()),re(ee.getHours()),re(ee.getMinutes()),re(ee.getSeconds()),pt].join("")},te=f.__private__.convertPDFDateToDate=function(ee){var Ce=parseInt(ee.substr(2,4),10),$e=parseInt(ee.substr(6,2),10)-1,Ke=parseInt(ee.substr(8,2),10),tt=parseInt(ee.substr(10,2),10),pt=parseInt(ee.substr(12,2),10),_t=parseInt(ee.substr(14,2),10);return new Date(Ce,$e,Ke,tt,pt,_t,0)},ne=f.__private__.setCreationDate=function(ee){var Ce;if(ee===void 0&&(ee=new Date),ee instanceof Date)Ce=q(ee);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(ee))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Ce=ee}return H=Ce},_=f.__private__.getCreationDate=function(ee){var Ce=H;return ee==="jsDate"&&(Ce=te(H)),Ce};f.setCreationDate=function(ee){return ne(ee),this},f.getCreationDate=function(ee){return _(ee)};var Y,re=f.__private__.padd2=function(ee){return("0"+parseInt(ee)).slice(-2)},se=f.__private__.padd2Hex=function(ee){return("00"+(ee=ee.toString())).substr(ee.length)},ce=0,N=[],K=[],Ae=0,ae=[],ie=[],J=!1,ue=K,G=function(){ce=0,Ae=0,K=[],N=[],ae=[],Kn=It(),Ar=It()};f.__private__.setCustomOutputDestination=function(ee){J=!0,ue=ee};var pe=function(ee){J||(ue=ee)};f.__private__.resetCustomOutputDestination=function(){J=!1,ue=K};var k=f.__private__.out=function(ee){return ee=ee.toString(),Ae+=ee.length+1,ue.push(ee),ue},P=f.__private__.write=function(ee){return k(arguments.length===1?ee.toString():Array.prototype.join.call(arguments," "))},U=f.__private__.getArrayBuffer=function(ee){for(var Ce=ee.length,$e=new ArrayBuffer(Ce),Ke=new Uint8Array($e);Ce--;)Ke[Ce]=ee.charCodeAt(Ce);return $e},W=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];f.__private__.getStandardFonts=function(){return W};var de=e.fontSize||16;f.__private__.setFontSize=f.setFontSize=function(ee){return de=y===v.ADVANCED?ee/_e:ee,this};var me,ve=f.__private__.getFontSize=f.getFontSize=function(){return y===v.COMPAT?de:de*_e},be=e.R2L||!1;f.__private__.setR2L=f.setR2L=function(ee){return be=ee,this},f.__private__.getR2L=f.getR2L=function(){return be};var Te,we=f.__private__.setZoomMode=function(ee){var Ce=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(ee))me=ee;else if(isNaN(ee)){if(Ce.indexOf(ee)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+ee+'" is not recognized.');me=ee}else me=parseInt(ee,10)};f.__private__.getZoomMode=function(){return me};var xe,Ue=f.__private__.setPageMode=function(ee){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(ee)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+ee+'" is not recognized.');Te=ee};f.__private__.getPageMode=function(){return Te};var ke=f.__private__.setLayoutMode=function(ee){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(ee)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+ee+'" is not recognized.');xe=ee};f.__private__.getLayoutMode=function(){return xe},f.__private__.setDisplayMode=f.setDisplayMode=function(ee,Ce,$e){return we(ee),ke(Ce),Ue($e),this};var et={title:"",subject:"",author:"",keywords:"",creator:""};f.__private__.getDocumentProperty=function(ee){if(Object.keys(et).indexOf(ee)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return et[ee]},f.__private__.getDocumentProperties=function(){return et},f.__private__.setDocumentProperties=f.setProperties=f.setDocumentProperties=function(ee){for(var Ce in et)et.hasOwnProperty(Ce)&&ee[Ce]&&(et[Ce]=ee[Ce]);return this},f.__private__.setDocumentProperty=function(ee,Ce){if(Object.keys(et).indexOf(ee)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return et[ee]=Ce};var De,_e,Re,Ne,ot,rt={},nt={},Bt=[],Et={},Xt={},Ut={},$t={},xt=null,Ct=0,ht=[],Tt=new vN(f),Yt=e.hotfixes||[],nn={},zn={},ur=[],Mt=function ee(Ce,$e,Ke,tt,pt,_t){if(!(this instanceof ee))return new ee(Ce,$e,Ke,tt,pt,_t);isNaN(Ce)&&(Ce=1),isNaN($e)&&($e=0),isNaN(Ke)&&(Ke=0),isNaN(tt)&&(tt=1),isNaN(pt)&&(pt=0),isNaN(_t)&&(_t=0),this._matrix=[Ce,$e,Ke,tt,pt,_t]};Object.defineProperty(Mt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(ee){this._matrix[0]=ee}}),Object.defineProperty(Mt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(ee){this._matrix[1]=ee}}),Object.defineProperty(Mt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(ee){this._matrix[2]=ee}}),Object.defineProperty(Mt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(ee){this._matrix[3]=ee}}),Object.defineProperty(Mt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(ee){this._matrix[4]=ee}}),Object.defineProperty(Mt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(ee){this._matrix[5]=ee}}),Object.defineProperty(Mt.prototype,"a",{get:function(){return this._matrix[0]},set:function(ee){this._matrix[0]=ee}}),Object.defineProperty(Mt.prototype,"b",{get:function(){return this._matrix[1]},set:function(ee){this._matrix[1]=ee}}),Object.defineProperty(Mt.prototype,"c",{get:function(){return this._matrix[2]},set:function(ee){this._matrix[2]=ee}}),Object.defineProperty(Mt.prototype,"d",{get:function(){return this._matrix[3]},set:function(ee){this._matrix[3]=ee}}),Object.defineProperty(Mt.prototype,"e",{get:function(){return this._matrix[4]},set:function(ee){this._matrix[4]=ee}}),Object.defineProperty(Mt.prototype,"f",{get:function(){return this._matrix[5]},set:function(ee){this._matrix[5]=ee}}),Object.defineProperty(Mt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Mt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Mt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Mt.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Mt.prototype.join=function(ee){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(B).join(ee)},Mt.prototype.multiply=function(ee){var Ce=ee.sx*this.sx+ee.shy*this.shx,$e=ee.sx*this.shy+ee.shy*this.sy,Ke=ee.shx*this.sx+ee.sy*this.shx,tt=ee.shx*this.shy+ee.sy*this.sy,pt=ee.tx*this.sx+ee.ty*this.shx+this.tx,_t=ee.tx*this.shy+ee.ty*this.sy+this.ty;return new Mt(Ce,$e,Ke,tt,pt,_t)},Mt.prototype.decompose=function(){var ee=this.sx,Ce=this.shy,$e=this.shx,Ke=this.sy,tt=this.tx,pt=this.ty,_t=Math.sqrt(ee*ee+Ce*Ce),kt=(ee/=_t)*$e+(Ce/=_t)*Ke;$e-=ee*kt,Ke-=Ce*kt;var rn=Math.sqrt($e*$e+Ke*Ke);return kt/=rn,ee*(Ke/=rn)<Ce*($e/=rn)&&(ee=-ee,Ce=-Ce,kt=-kt,_t=-_t),{scale:new Mt(_t,0,0,rn,0,0),translate:new Mt(1,0,0,1,tt,pt),rotate:new Mt(ee,Ce,-Ce,ee,0,0),skew:new Mt(1,0,kt,1,0,0)}},Mt.prototype.toString=function(ee){return this.join(" ")},Mt.prototype.inversed=function(){var ee=this.sx,Ce=this.shy,$e=this.shx,Ke=this.sy,tt=this.tx,pt=this.ty,_t=1/(ee*Ke-Ce*$e),kt=Ke*_t,rn=-Ce*_t,Cn=-$e*_t,xn=ee*_t;return new Mt(kt,rn,Cn,xn,-kt*tt-Cn*pt,-rn*tt-xn*pt)},Mt.prototype.applyToPoint=function(ee){var Ce=ee.x*this.sx+ee.y*this.shx+this.tx,$e=ee.x*this.shy+ee.y*this.sy+this.ty;return new uc(Ce,$e)},Mt.prototype.applyToRectangle=function(ee){var Ce=this.applyToPoint(ee),$e=this.applyToPoint(new uc(ee.x+ee.w,ee.y+ee.h));return new Pf(Ce.x,Ce.y,$e.x-Ce.x,$e.y-Ce.y)},Mt.prototype.clone=function(){var ee=this.sx,Ce=this.shy,$e=this.shx,Ke=this.sy,tt=this.tx,pt=this.ty;return new Mt(ee,Ce,$e,Ke,tt,pt)},f.Matrix=Mt;var vr=f.matrixMult=function(ee,Ce){return Ce.multiply(ee)},Yr=new Mt(1,0,0,1,0,0);f.unitMatrix=f.identityMatrix=Yr;var mt=function(ee,Ce){if(!Xt[ee]){var $e=(Ce instanceof qc?"Sh":"P")+(Object.keys(Et).length+1).toString(10);Ce.id=$e,Xt[ee]=$e,Et[$e]=Ce,Tt.publish("addPattern",Ce)}};f.ShadingPattern=qc,f.TilingPattern=_d,f.addShadingPattern=function(ee,Ce){return O("addShadingPattern()"),mt(ee,Ce),this},f.beginTilingPattern=function(ee){O("beginTilingPattern()"),_h(ee.boundingBox[0],ee.boundingBox[1],ee.boundingBox[2]-ee.boundingBox[0],ee.boundingBox[3]-ee.boundingBox[1],ee.matrix)},f.endTilingPattern=function(ee,Ce){O("endTilingPattern()"),Ce.stream=ie[Y].join(`
- `),mt(ee,Ce),Tt.publish("endTilingPattern",Ce),ur.pop().restore()};var vt=f.__private__.newObject=function(){var ee=It();return an(ee,!0),ee},It=f.__private__.newObjectDeferred=function(){return ce++,N[ce]=function(){return Ae},ce},an=function(ee,Ce){return Ce=typeof Ce=="boolean"&&Ce,N[ee]=Ae,Ce&&k(ee+" 0 obj"),ee},Mn=f.__private__.newAdditionalObject=function(){var ee={objId:It(),content:""};return ae.push(ee),ee},Kn=It(),Ar=It(),Gn=f.__private__.decodeColorString=function(ee){var Ce=ee.split(" ");if(Ce.length!==2||Ce[1]!=="g"&&Ce[1]!=="G")Ce.length===5&&(Ce[4]==="k"||Ce[4]==="K")&&(Ce=[(1-Ce[0])*(1-Ce[3]),(1-Ce[1])*(1-Ce[3]),(1-Ce[2])*(1-Ce[3]),"r"]);else{var $e=parseFloat(Ce[0]);Ce=[$e,$e,$e,"r"]}for(var Ke="#",tt=0;tt<3;tt++)Ke+=("0"+Math.floor(255*parseFloat(Ce[tt])).toString(16)).slice(-2);return Ke},er=f.__private__.encodeColorString=function(ee){var Ce;typeof ee=="string"&&(ee={ch1:ee});var $e=ee.ch1,Ke=ee.ch2,tt=ee.ch3,pt=ee.ch4,_t=ee.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof $e=="string"&&$e.charAt(0)!=="#"){var kt=new HJ($e);if(kt.ok)$e=kt.toHex();else if(!/^\d*\.?\d*$/.test($e))throw new Error('Invalid color "'+$e+'" passed to jsPDF.encodeColorString.')}if(typeof $e=="string"&&/^#[0-9A-Fa-f]{3}$/.test($e)&&($e="#"+$e[1]+$e[1]+$e[2]+$e[2]+$e[3]+$e[3]),typeof $e=="string"&&/^#[0-9A-Fa-f]{6}$/.test($e)){var rn=parseInt($e.substr(1),16);$e=rn>>16&255,Ke=rn>>8&255,tt=255&rn}if(Ke===void 0||pt===void 0&&$e===Ke&&Ke===tt)if(typeof $e=="string")Ce=$e+" "+_t[0];else switch(ee.precision){case 2:Ce=M($e/255)+" "+_t[0];break;case 3:default:Ce=R($e/255)+" "+_t[0]}else if(pt===void 0||dr(pt)==="object"){if(pt&&!isNaN(pt.a)&&pt.a===0)return Ce=["1.","1.","1.",_t[1]].join(" ");if(typeof $e=="string")Ce=[$e,Ke,tt,_t[1]].join(" ");else switch(ee.precision){case 2:Ce=[M($e/255),M(Ke/255),M(tt/255),_t[1]].join(" ");break;default:case 3:Ce=[R($e/255),R(Ke/255),R(tt/255),_t[1]].join(" ")}}else if(typeof $e=="string")Ce=[$e,Ke,tt,pt,_t[2]].join(" ");else switch(ee.precision){case 2:Ce=[M($e),M(Ke),M(tt),M(pt),_t[2]].join(" ");break;case 3:default:Ce=[R($e),R(Ke),R(tt),R(pt),_t[2]].join(" ")}return Ce},yr=f.__private__.getFilters=function(){return A},br=f.__private__.putStream=function(ee){var Ce=(ee=ee||{}).data||"",$e=ee.filters||yr(),Ke=ee.alreadyAppliedFilters||[],tt=ee.addLength1||!1,pt=Ce.length,_t=ee.objectId,kt=function(Ao){return Ao};if(l!==null&&_t===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");l!==null&&(kt=oo.encryptor(_t,0));var rn={};$e===!0&&($e=["FlateEncode"]);var Cn=ee.additionalKeyValues||[],xn=(rn=gn.API.processDataByFilters!==void 0?gn.API.processDataByFilters(Ce,$e):{data:Ce,reverseChain:[]}).reverseChain+(Array.isArray(Ke)?Ke.join(" "):Ke.toString());if(rn.data.length!==0&&(Cn.push({key:"Length",value:rn.data.length}),tt===!0&&Cn.push({key:"Length1",value:pt})),xn.length!=0)if(xn.split("/").length-1==1)Cn.push({key:"Filter",value:xn});else{Cn.push({key:"Filter",value:"["+xn+"]"});for(var Wn=0;Wn<Cn.length;Wn+=1)if(Cn[Wn].key==="DecodeParms"){for(var Or=[],Tr=0;Tr<rn.reverseChain.split("/").length-1;Tr+=1)Or.push("null");Or.push(Cn[Wn].value),Cn[Wn].value="["+Or.join(" ")+"]"}}k("<<");for(var wn=0;wn<Cn.length;wn++)k("/"+Cn[wn].key+" "+Cn[wn].value);k(">>"),rn.data.length!==0&&(k("stream"),k(kt(rn.data)),k("endstream"))},Dn=f.__private__.putPage=function(ee){var Ce=ee.number,$e=ee.data,Ke=ee.objId,tt=ee.contentsObjId;an(Ke,!0),k("<</Type /Page"),k("/Parent "+ee.rootDictionaryObjId+" 0 R"),k("/Resources "+ee.resourceDictionaryObjId+" 0 R"),k("/MediaBox ["+parseFloat(B(ee.mediaBox.bottomLeftX))+" "+parseFloat(B(ee.mediaBox.bottomLeftY))+" "+B(ee.mediaBox.topRightX)+" "+B(ee.mediaBox.topRightY)+"]"),ee.cropBox!==null&&k("/CropBox ["+B(ee.cropBox.bottomLeftX)+" "+B(ee.cropBox.bottomLeftY)+" "+B(ee.cropBox.topRightX)+" "+B(ee.cropBox.topRightY)+"]"),ee.bleedBox!==null&&k("/BleedBox ["+B(ee.bleedBox.bottomLeftX)+" "+B(ee.bleedBox.bottomLeftY)+" "+B(ee.bleedBox.topRightX)+" "+B(ee.bleedBox.topRightY)+"]"),ee.trimBox!==null&&k("/TrimBox ["+B(ee.trimBox.bottomLeftX)+" "+B(ee.trimBox.bottomLeftY)+" "+B(ee.trimBox.topRightX)+" "+B(ee.trimBox.topRightY)+"]"),ee.artBox!==null&&k("/ArtBox ["+B(ee.artBox.bottomLeftX)+" "+B(ee.artBox.bottomLeftY)+" "+B(ee.artBox.topRightX)+" "+B(ee.artBox.topRightY)+"]"),typeof ee.userUnit=="number"&&ee.userUnit!==1&&k("/UserUnit "+ee.userUnit),Tt.publish("putPage",{objId:Ke,pageContext:ht[Ce],pageNumber:Ce,page:$e}),k("/Contents "+tt+" 0 R"),k(">>"),k("endobj");var pt=$e.join(`
- `);return y===v.ADVANCED&&(pt+=`
- Q`),an(tt,!0),br({data:pt,filters:yr(),objectId:tt}),k("endobj"),Ke},Kr=f.__private__.putPages=function(){var ee,Ce,$e=[];for(ee=1;ee<=Ct;ee++)ht[ee].objId=It(),ht[ee].contentsObjId=It();for(ee=1;ee<=Ct;ee++)$e.push(Dn({number:ee,data:ie[ee],objId:ht[ee].objId,contentsObjId:ht[ee].contentsObjId,mediaBox:ht[ee].mediaBox,cropBox:ht[ee].cropBox,bleedBox:ht[ee].bleedBox,trimBox:ht[ee].trimBox,artBox:ht[ee].artBox,userUnit:ht[ee].userUnit,rootDictionaryObjId:Kn,resourceDictionaryObjId:Ar}));an(Kn,!0),k("<</Type /Pages");var Ke="/Kids [";for(Ce=0;Ce<Ct;Ce++)Ke+=$e[Ce]+" 0 R ";k(Ke+"]"),k("/Count "+Ct),k(">>"),k("endobj"),Tt.publish("postPutPages")},ii=function(ee){Tt.publish("putFont",{font:ee,out:k,newObject:vt,putStream:br}),ee.isAlreadyPutted!==!0&&(ee.objectNumber=vt(),k("<<"),k("/Type /Font"),k("/BaseFont /"+Pp(ee.postScriptName)),k("/Subtype /Type1"),typeof ee.encoding=="string"&&k("/Encoding /"+ee.encoding),k("/FirstChar 32"),k("/LastChar 255"),k(">>"),k("endobj"))},Ht=function(){for(var ee in rt)rt.hasOwnProperty(ee)&&(c===!1||c===!0&&d.hasOwnProperty(ee))&&ii(rt[ee])},je=function(ee){ee.objectNumber=vt();var Ce=[];Ce.push({key:"Type",value:"/XObject"}),Ce.push({key:"Subtype",value:"/Form"}),Ce.push({key:"BBox",value:"["+[B(ee.x),B(ee.y),B(ee.x+ee.width),B(ee.y+ee.height)].join(" ")+"]"}),Ce.push({key:"Matrix",value:"["+ee.matrix.toString()+"]"});var $e=ee.pages[1].join(`
- `);br({data:$e,additionalKeyValues:Ce,objectId:ee.objectNumber}),k("endobj")},wt=function(){for(var ee in nn)nn.hasOwnProperty(ee)&&je(nn[ee])},Pt=function(ee,Ce){var $e,Ke=[],tt=1/(Ce-1);for($e=0;$e<1;$e+=tt)Ke.push($e);if(Ke.push(1),ee[0].offset!=0){var pt={offset:0,color:ee[0].color};ee.unshift(pt)}if(ee[ee.length-1].offset!=1){var _t={offset:1,color:ee[ee.length-1].color};ee.push(_t)}for(var kt="",rn=0,Cn=0;Cn<Ke.length;Cn++){for($e=Ke[Cn];$e>ee[rn+1].offset;)rn++;var xn=ee[rn].offset,Wn=($e-xn)/(ee[rn+1].offset-xn),Or=ee[rn].color,Tr=ee[rn+1].color;kt+=se(Math.round((1-Wn)*Or[0]+Wn*Tr[0]).toString(16))+se(Math.round((1-Wn)*Or[1]+Wn*Tr[1]).toString(16))+se(Math.round((1-Wn)*Or[2]+Wn*Tr[2]).toString(16))}return kt.trim()},bn=function(ee,Ce){Ce||(Ce=21);var $e=vt(),Ke=Pt(ee.colors,Ce),tt=[];tt.push({key:"FunctionType",value:"0"}),tt.push({key:"Domain",value:"[0.0 1.0]"}),tt.push({key:"Size",value:"["+Ce+"]"}),tt.push({key:"BitsPerSample",value:"8"}),tt.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),tt.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),br({data:Ke,additionalKeyValues:tt,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:$e}),k("endobj"),ee.objectNumber=vt(),k("<< /ShadingType "+ee.type),k("/ColorSpace /DeviceRGB");var pt="/Coords ["+B(parseFloat(ee.coords[0]))+" "+B(parseFloat(ee.coords[1]))+" ";ee.type===2?pt+=B(parseFloat(ee.coords[2]))+" "+B(parseFloat(ee.coords[3])):pt+=B(parseFloat(ee.coords[2]))+" "+B(parseFloat(ee.coords[3]))+" "+B(parseFloat(ee.coords[4]))+" "+B(parseFloat(ee.coords[5])),k(pt+="]"),ee.matrix&&k("/Matrix ["+ee.matrix.toString()+"]"),k("/Function "+$e+" 0 R"),k("/Extend [true true]"),k(">>"),k("endobj")},oi=function(ee,Ce){var $e=It(),Ke=vt();Ce.push({resourcesOid:$e,objectOid:Ke}),ee.objectNumber=Ke;var tt=[];tt.push({key:"Type",value:"/Pattern"}),tt.push({key:"PatternType",value:"1"}),tt.push({key:"PaintType",value:"1"}),tt.push({key:"TilingType",value:"1"}),tt.push({key:"BBox",value:"["+ee.boundingBox.map(B).join(" ")+"]"}),tt.push({key:"XStep",value:B(ee.xStep)}),tt.push({key:"YStep",value:B(ee.yStep)}),tt.push({key:"Resources",value:$e+" 0 R"}),ee.matrix&&tt.push({key:"Matrix",value:"["+ee.matrix.toString()+"]"}),br({data:ee.stream,additionalKeyValues:tt,objectId:ee.objectNumber}),k("endobj")},hr=function(ee){var Ce;for(Ce in Et)Et.hasOwnProperty(Ce)&&(Et[Ce]instanceof qc?bn(Et[Ce]):Et[Ce]instanceof _d&&oi(Et[Ce],ee))},Hr=function(ee){for(var Ce in ee.objectNumber=vt(),k("<<"),ee)switch(Ce){case"opacity":k("/ca "+M(ee[Ce]));break;case"stroke-opacity":k("/CA "+M(ee[Ce]))}k(">>"),k("endobj")},io=function(){var ee;for(ee in Ut)Ut.hasOwnProperty(ee)&&Hr(Ut[ee])},wr=function(){for(var ee in k("/XObject <<"),nn)nn.hasOwnProperty(ee)&&nn[ee].objectNumber>=0&&k("/"+ee+" "+nn[ee].objectNumber+" 0 R");Tt.publish("putXobjectDict"),k(">>")},Qo=function(){oo.oid=vt(),k("<<"),k("/Filter /Standard"),k("/V "+oo.v),k("/R "+oo.r),k("/U <"+oo.toHexString(oo.U)+">"),k("/O <"+oo.toHexString(oo.O)+">"),k("/P "+oo.P),k(">>"),k("endobj")},qa=function(){for(var ee in k("/Font <<"),rt)rt.hasOwnProperty(ee)&&(c===!1||c===!0&&d.hasOwnProperty(ee))&&k("/"+ee+" "+rt[ee].objectNumber+" 0 R");k(">>")},ga=function(){if(Object.keys(Et).length>0){for(var ee in k("/Shading <<"),Et)Et.hasOwnProperty(ee)&&Et[ee]instanceof qc&&Et[ee].objectNumber>=0&&k("/"+ee+" "+Et[ee].objectNumber+" 0 R");Tt.publish("putShadingPatternDict"),k(">>")}},BA=function(ee){if(Object.keys(Et).length>0){for(var Ce in k("/Pattern <<"),Et)Et.hasOwnProperty(Ce)&&Et[Ce]instanceof f.TilingPattern&&Et[Ce].objectNumber>=0&&Et[Ce].objectNumber<ee&&k("/"+Ce+" "+Et[Ce].objectNumber+" 0 R");Tt.publish("putTilingPatternDict"),k(">>")}},Xa=function(){if(Object.keys(Ut).length>0){var ee;for(ee in k("/ExtGState <<"),Ut)Ut.hasOwnProperty(ee)&&Ut[ee].objectNumber>=0&&k("/"+ee+" "+Ut[ee].objectNumber+" 0 R");Tt.publish("putGStateDict"),k(">>")}},Jr=function(ee){an(ee.resourcesOid,!0),k("<<"),k("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),qa(),ga(),BA(ee.objectOid),Xa(),wr(),k(">>"),k("endobj")},ic=function(){var ee=[];Ht(),io(),wt(),hr(ee),Tt.publish("putResources"),ee.forEach(Jr),Jr({resourcesOid:Ar,objectOid:Number.MAX_SAFE_INTEGER}),Tt.publish("postPutResources")},Wl=function(){Tt.publish("putAdditionalObjects");for(var ee=0;ee<ae.length;ee++){var Ce=ae[ee];an(Ce.objId,!0),k(Ce.content),k("endobj")}Tt.publish("postPutAdditionalObjects")},ma=function(ee){nt[ee.fontName]=nt[ee.fontName]||{},nt[ee.fontName][ee.fontStyle]=ee.id},KA=function(ee,Ce,$e,Ke,tt){var pt={id:"F"+(Object.keys(rt).length+1).toString(10),postScriptName:ee,fontName:Ce,fontStyle:$e,encoding:Ke,isStandardFont:tt||!1,metadata:{}};return Tt.publish("addFont",{font:pt,instance:this}),rt[pt.id]=pt,ma(pt),pt.id},VA=function(ee){for(var Ce=0,$e=W.length;Ce<$e;Ce++){var Ke=KA.call(this,ee[Ce][0],ee[Ce][1],ee[Ce][2],W[Ce][3],!0);c===!1&&(d[Ke]=!0);var tt=ee[Ce][0].split("-");ma({id:Ke,fontName:tt[0],fontStyle:tt[1]||""})}Tt.publish("addFonts",{fonts:rt,dictionary:nt})},go=function(ee){return ee.foo=function(){try{return ee.apply(this,arguments)}catch(Ke){var Ce=Ke.stack||"";~Ce.indexOf(" at ")&&(Ce=Ce.split(" at ")[1]);var $e="Error in function "+Ce.split(`
- `)[0].split("<")[0]+": "+Ke.message;if(!Bn.console)throw new Error($e);Bn.console.error($e,Ke),Bn.alert&&alert($e)}},ee.foo.bar=ee,ee.foo},ci=function(ee,Ce){var $e,Ke,tt,pt,_t,kt,rn,Cn,xn;if(tt=(Ce=Ce||{}).sourceEncoding||"Unicode",_t=Ce.outputEncoding,(Ce.autoencode||_t)&&rt[De].metadata&&rt[De].metadata[tt]&&rt[De].metadata[tt].encoding&&(pt=rt[De].metadata[tt].encoding,!_t&&rt[De].encoding&&(_t=rt[De].encoding),!_t&&pt.codePages&&(_t=pt.codePages[0]),typeof _t=="string"&&(_t=pt[_t]),_t)){for(rn=!1,kt=[],$e=0,Ke=ee.length;$e<Ke;$e++)(Cn=_t[ee.charCodeAt($e)])?kt.push(String.fromCharCode(Cn)):kt.push(ee[$e]),kt[$e].charCodeAt(0)>>8&&(rn=!0);ee=kt.join("")}for($e=ee.length;rn===void 0&&$e!==0;)ee.charCodeAt($e-1)>>8&&(rn=!0),$e--;if(!rn)return ee;for(kt=Ce.noBOM?[]:[254,255],$e=0,Ke=ee.length;$e<Ke;$e++){if((xn=(Cn=ee.charCodeAt($e))>>8)>>8)throw new Error("Character at position "+$e+" of string '"+ee+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");kt.push(xn),kt.push(Cn-(xn<<8))}return String.fromCharCode.apply(void 0,kt)},pr=f.__private__.pdfEscape=f.pdfEscape=function(ee,Ce){return ci(ee,Ce).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Po=f.__private__.beginPage=function(ee){ie[++Ct]=[],ht[Ct]={objId:0,contentsObjId:0,userUnit:Number(a),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(ee[0]),topRightY:Number(ee[1])}},nA(Ct),pe(ie[Y])},ql=function(ee,Ce){var $e,Ke,tt;switch(n=Ce||n,typeof ee=="string"&&($e=p(ee.toLowerCase()),Array.isArray($e)&&(Ke=$e[0],tt=$e[1])),Array.isArray(ee)&&(Ke=ee[0]*_e,tt=ee[1]*_e),isNaN(Ke)&&(Ke=i[0],tt=i[1]),(Ke>14400||tt>14400)&&(Mr.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),Ke=Math.min(14400,Ke),tt=Math.min(14400,tt)),i=[Ke,tt],n.substr(0,1)){case"l":tt>Ke&&(i=[tt,Ke]);break;case"p":Ke>tt&&(i=[tt,Ke])}Po(i),Eh(ac),k(Do),eu!==0&&k(eu+" J"),Qf!==0&&k(Qf+" j"),Tt.publish("addPage",{pageNumber:Ct})},Xl=function(ee){ee>0&&ee<=Ct&&(ie.splice(ee,1),ht.splice(ee,1),Ct--,Y>Ct&&(Y=Ct),this.setPage(Y))},nA=function(ee){ee>0&&ee<=Ct&&(Y=ee)},Of=f.__private__.getNumberOfPages=f.getNumberOfPages=function(){return ie.length-1},Tf=function(ee,Ce,$e){var Ke,tt=void 0;return $e=$e||{},ee=ee!==void 0?ee:rt[De].fontName,Ce=Ce!==void 0?Ce:rt[De].fontStyle,Ke=ee.toLowerCase(),nt[Ke]!==void 0&&nt[Ke][Ce]!==void 0?tt=nt[Ke][Ce]:nt[ee]!==void 0&&nt[ee][Ce]!==void 0?tt=nt[ee][Ce]:$e.disableWarning===!1&&Mr.warn("Unable to look up font label for font '"+ee+"', '"+Ce+"'. Refer to getFontList() for available fonts."),tt||$e.noFallback||(tt=nt.times[Ce])==null&&(tt=nt.times.normal),tt},Yl=f.__private__.putInfo=function(){var ee=vt(),Ce=function(Ke){return Ke};for(var $e in l!==null&&(Ce=oo.encryptor(ee,0)),k("<<"),k("/Producer ("+pr(Ce("jsPDF "+gn.version))+")"),et)et.hasOwnProperty($e)&&et[$e]&&k("/"+$e.substr(0,1).toUpperCase()+$e.substr(1)+" ("+pr(Ce(et[$e]))+")");k("/CreationDate ("+pr(Ce(H))+")"),k(">>"),k("endobj")},zA=f.__private__.putCatalog=function(ee){var Ce=(ee=ee||{}).rootDictionaryObjId||Kn;switch(vt(),k("<<"),k("/Type /Catalog"),k("/Pages "+Ce+" 0 R"),me||(me="fullwidth"),me){case"fullwidth":k("/OpenAction [3 0 R /FitH null]");break;case"fullheight":k("/OpenAction [3 0 R /FitV null]");break;case"fullpage":k("/OpenAction [3 0 R /Fit]");break;case"original":k("/OpenAction [3 0 R /XYZ null null 1]");break;default:var $e=""+me;$e.substr($e.length-1)==="%"&&(me=parseInt(me)/100),typeof me=="number"&&k("/OpenAction [3 0 R /XYZ null null "+M(me)+"]")}switch(xe||(xe="continuous"),xe){case"continuous":k("/PageLayout /OneColumn");break;case"single":k("/PageLayout /SinglePage");break;case"two":case"twoleft":k("/PageLayout /TwoColumnLeft");break;case"tworight":k("/PageLayout /TwoColumnRight")}Te&&k("/PageMode /"+Te),Tt.publish("putCatalog"),k(">>"),k("endobj")},oc=f.__private__.putTrailer=function(){k("trailer"),k("<<"),k("/Size "+(ce+1)),k("/Root "+ce+" 0 R"),k("/Info "+(ce-1)+" 0 R"),l!==null&&k("/Encrypt "+oo.oid+" 0 R"),k("/ID [ <"+X+"> <"+X+"> ]"),k(">>")},Ms=f.__private__.putHeader=function(){k("%PDF-"+g),k("%ºß¬à")},zg=f.__private__.putXRef=function(){var ee="0000000000";k("xref"),k("0 "+(ce+1)),k("0000000000 65535 f ");for(var Ce=1;Ce<=ce;Ce++)typeof N[Ce]=="function"?k((ee+N[Ce]()).slice(-10)+" 00000 n "):N[Ce]!==void 0?k((ee+N[Ce]).slice(-10)+" 00000 n "):k("0000000000 00000 n ")},Ya=f.__private__.buildDocument=function(){G(),pe(K),Tt.publish("buildDocument"),Ms(),Kr(),Wl(),ic(),l!==null&&Qo(),Yl(),zA();var ee=Ae;return zg(),oc(),k("startxref"),k(""+ee),k("%%EOF"),pe(ie[Y]),K.join(`
- `)},Jl=f.__private__.getBlob=function(ee){return new Blob([U(ee)],{type:"application/pdf"})},ks=f.output=f.__private__.output=go(function(ee,Ce){switch(typeof(Ce=Ce||{})=="string"?Ce={filename:Ce}:Ce.filename=Ce.filename||"generated.pdf",ee){case void 0:return Ya();case"save":f.save(Ce.filename);break;case"arraybuffer":return U(Ya());case"blob":return Jl(Ya());case"bloburi":case"bloburl":if(Bn.URL!==void 0&&typeof Bn.URL.createObjectURL=="function")return Bn.URL&&Bn.URL.createObjectURL(Jl(Ya()))||void 0;Mr.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var $e="",Ke=Ya();try{$e=h_(Ke)}catch{$e=h_(unescape(encodeURIComponent(Ke)))}return"data:application/pdf;filename="+Ce.filename+";base64,"+$e;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Bn)==="[object Window]"){var tt="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",pt=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';Ce.pdfObjectUrl&&(tt=Ce.pdfObjectUrl,pt="");var _t='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+tt+'"'+pt+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(Ce)+");<\/script></body></html>",kt=Bn.open();return kt!==null&&kt.document.write(_t),kt}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Bn)==="[object Window]"){var rn='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(Ce.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+Ce.filename+'" width="500px" height="400px" /></body></html>',Cn=Bn.open();if(Cn!==null){Cn.document.write(rn);var xn=this;Cn.document.documentElement.querySelector("#pdfViewer").onload=function(){Cn.document.title=Ce.filename,Cn.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(xn.output("bloburl"))}}return Cn}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(Bn)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Wn='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",Ce)+'"></iframe></body></html>',Or=Bn.open();if(Or!==null&&(Or.document.write(Wn),Or.document.title=Ce.filename),Or||typeof safari>"u")return Or;break;case"datauri":case"dataurl":return Bn.document.location.href=this.output("datauristring",Ce);default:return null}}),va=function(ee){return Array.isArray(Yt)===!0&&Yt.indexOf(ee)>-1};switch(r){case"pt":_e=1;break;case"mm":_e=72/25.4;break;case"cm":_e=72/2.54;break;case"in":_e=72;break;case"px":_e=va("px_scaling")==1?.75:96/72;break;case"pc":case"em":_e=12;break;case"ex":_e=6;break;default:if(typeof r!="number")throw new Error("Invalid unit: "+r);_e=r}var oo=null;ne(),Z();var Gg=function(ee){return l!==null?oo.encryptor(ee,0):function(Ce){return Ce}},yh=f.__private__.getPageInfo=f.getPageInfo=function(ee){if(isNaN(ee)||ee%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:ht[ee].objId,pageNumber:ee,pageContext:ht[ee]}},pn=f.__private__.getPageInfoByObjId=function(ee){if(isNaN(ee)||ee%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var Ce in ht)if(ht[Ce].objId===ee)break;return yh(Ce)},Wg=f.__private__.getCurrentPageInfo=f.getCurrentPageInfo=function(){return{objId:ht[Y].objId,pageNumber:Y,pageContext:ht[Y]}};f.addPage=function(){return ql.apply(this,arguments),this},f.setPage=function(){return nA.apply(this,arguments),pe.call(this,ie[Y]),this},f.insertPage=function(ee){return this.addPage(),this.movePage(Y,ee),this},f.movePage=function(ee,Ce){var $e,Ke;if(ee>Ce){$e=ie[ee],Ke=ht[ee];for(var tt=ee;tt>Ce;tt--)ie[tt]=ie[tt-1],ht[tt]=ht[tt-1];ie[Ce]=$e,ht[Ce]=Ke,this.setPage(Ce)}else if(ee<Ce){$e=ie[ee],Ke=ht[ee];for(var pt=ee;pt<Ce;pt++)ie[pt]=ie[pt+1],ht[pt]=ht[pt+1];ie[Ce]=$e,ht[Ce]=Ke,this.setPage(Ce)}return this},f.deletePage=function(){return Xl.apply(this,arguments),this},f.__private__.text=f.text=function(ee,Ce,$e,Ke,tt){var pt,_t,kt,rn,Cn,xn,Wn,Or,Tr,wn=(Ke=Ke||{}).scope||this;if(typeof ee=="number"&&typeof Ce=="number"&&(typeof $e=="string"||Array.isArray($e))){var Ao=$e;$e=Ce,Ce=ee,ee=Ao}if(arguments[3]instanceof Mt?(O("The transform parameter of text() with a Matrix value"),Tr=tt):(kt=arguments[4],rn=arguments[5],dr(Wn=arguments[3])==="object"&&Wn!==null||(typeof kt=="string"&&(rn=kt,kt=null),typeof Wn=="string"&&(rn=Wn,Wn=null),typeof Wn=="number"&&(kt=Wn,Wn=null),Ke={flags:Wn,angle:kt,align:rn})),isNaN(Ce)||isNaN($e)||ee==null)throw new Error("Invalid arguments passed to jsPDF.text");if(ee.length===0)return wn;var yi="",CA=!1,Hi=typeof Ke.lineHeightFactor=="number"?Ke.lineHeightFactor:Ks,Fi=wn.internal.scaleFactor;function Oh(Ur){return Ur=Ur.split(" ").join(Array(Ke.TabLen||9).join(" ")),pr(Ur,Wn)}function xA(Ur){for(var Qr,gi=Ur.concat(),Ai=[],is=gi.length;is--;)typeof(Qr=gi.shift())=="string"?Ai.push(Qr):Array.isArray(Ur)&&(Qr.length===1||Qr[1]===void 0&&Qr[2]===void 0)?Ai.push(Qr[0]):Ai.push([Qr[0],Qr[1],Qr[2]]);return Ai}function Vr(Ur,Qr){var gi;if(typeof Ur=="string")gi=Qr(Ur)[0];else if(Array.isArray(Ur)){for(var Ai,is,Nf=Ur.concat(),Js=[],Th=Nf.length;Th--;)typeof(Ai=Nf.shift())=="string"?Js.push(Qr(Ai)[0]):Array.isArray(Ai)&&typeof Ai[0]=="string"&&(is=Qr(Ai[0],Ai[1],Ai[2]),Js.push([is[0],is[1],is[2]]));gi=Js}return gi}var nu=!1,fi=!0;if(typeof ee=="string")nu=!0;else if(Array.isArray(ee)){var ru=ee.concat();_t=[];for(var iA,di=ru.length;di--;)(typeof(iA=ru.shift())!="string"||Array.isArray(iA)&&typeof iA[0]!="string")&&(fi=!1);nu=fi}if(nu===!1)throw new Error('Type of text must be string or Array. "'+ee+'" is not recognized.');typeof ee=="string"&&(ee=ee.match(/[\r?\n]/)?ee.split(/\r\n|\r|\n/g):[ee]);var ar=de/wn.internal.scaleFactor,iu=ar*(Hi-1);switch(Ke.baseline){case"bottom":$e-=iu;break;case"top":$e+=ar-iu;break;case"hanging":$e+=ar-2*iu;break;case"middle":$e+=ar/2-iu}if((xn=Ke.maxWidth||0)>0&&(typeof ee=="string"?ee=wn.splitTextToSize(ee,xn):Object.prototype.toString.call(ee)==="[object Array]"&&(ee=ee.reduce(function(Ur,Qr){return Ur.concat(wn.splitTextToSize(Qr,xn))},[]))),pt={text:ee,x:Ce,y:$e,options:Ke,mutex:{pdfEscape:pr,activeFontKey:De,fonts:rt,activeFontSize:de}},Tt.publish("preProcessText",pt),ee=pt.text,kt=(Ke=pt.options).angle,!(Tr instanceof Mt)&&kt&&typeof kt=="number"){kt*=Math.PI/180,Ke.rotationDirection===0&&(kt=-kt),y===v.ADVANCED&&(kt=-kt);var ou=Math.cos(kt),fc=Math.sin(kt);Tr=new Mt(ou,fc,-fc,ou,0,0)}else kt&&kt instanceof Mt&&(Tr=kt);y!==v.ADVANCED||Tr||(Tr=Yr),(Cn=Ke.charSpace||rA)!==void 0&&(yi+=B(F(Cn))+` Tc
- `,this.setCharSpace(this.getCharSpace()||0)),(Or=Ke.horizontalScale)!==void 0&&(yi+=B(100*Or)+` Tz
- `),Ke.lang;var mo=-1,dc=Ke.renderingMode!==void 0?Ke.renderingMode:Ke.stroke,hc=wn.internal.getCurrentPageInfo().pageContext;switch(dc){case 0:case!1:case"fill":mo=0;break;case 1:case!0:case"stroke":mo=1;break;case 2:case"fillThenStroke":mo=2;break;case 3:case"invisible":mo=3;break;case 4:case"fillAndAddForClipping":mo=4;break;case 5:case"strokeAndAddPathForClipping":mo=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":mo=6;break;case 7:case"addToPathForClipping":mo=7}var $f=hc.usedRenderingMode!==void 0?hc.usedRenderingMode:-1;mo!==-1?yi+=mo+` Tr
- `:$f!==-1&&(yi+=`0 Tr
- `),mo!==-1&&(hc.usedRenderingMode=mo),rn=Ke.align||"left";var Zr,oA=de*Hi,GA=wn.internal.pageSize.getWidth(),hi=rt[De];Cn=Ke.charSpace||rA,xn=Ke.maxWidth||0,Wn=Object.assign({autoencode:!0,noBOM:!0},Ke.flags);var vo=[],qs=function(Ur){return wn.getStringUnitWidth(Ur,{font:hi,charSpace:Cn,fontSize:de,doKerning:!1})*de/Fi};if(Object.prototype.toString.call(ee)==="[object Array]"){var yo;_t=xA(ee),rn!=="left"&&(Zr=_t.map(qs));var Xi,es=0;if(rn==="right"){Ce-=Zr[0],ee=[],di=_t.length;for(var ts=0;ts<di;ts++)ts===0?(Xi=ba(Ce),yo=Za($e)):(Xi=F(es-Zr[ts]),yo=-oA),ee.push([_t[ts],Xi,yo]),es=Zr[ts]}else if(rn==="center"){Ce-=Zr[0]/2,ee=[],di=_t.length;for(var AA=0;AA<di;AA++)AA===0?(Xi=ba(Ce),yo=Za($e)):(Xi=F((es-Zr[AA])/2),yo=-oA),ee.push([_t[AA],Xi,yo]),es=Zr[AA]}else if(rn==="left"){ee=[],di=_t.length;for(var Ro=0;Ro<di;Ro++)ee.push(_t[Ro])}else if(rn==="justify"&&hi.encoding==="Identity-H"){ee=[],di=_t.length,xn=xn!==0?xn:GA;for(var ns=0,pi=0;pi<di;pi++)if(yo=pi===0?Za($e):-oA,Xi=pi===0?ba(Ce):ns,pi<di-1){var Xs=F((xn-Zr[pi])/(_t[pi].split(" ").length-1)),ao=_t[pi].split(" ");ee.push([ao[0]+" ",Xi,yo]),ns=0;for(var SA=1;SA<ao.length;SA++){var pc=(qs(ao[SA-1]+" "+ao[SA])-qs(ao[SA]))*Fi+Xs;SA==ao.length-1?ee.push([ao[SA],pc,0]):ee.push([ao[SA]+" ",pc,0]),ns-=pc}}else ee.push([_t[pi],Xi,yo]);ee.push(["",ns,0])}else{if(rn!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(ee=[],di=_t.length,xn=xn!==0?xn:GA,pi=0;pi<di;pi++)yo=pi===0?Za($e):-oA,Xi=pi===0?ba(Ce):0,pi<di-1?vo.push(B(F((xn-Zr[pi])/(_t[pi].split(" ").length-1)))):vo.push(0),ee.push([_t[pi],Xi,yo])}}var $o=typeof Ke.R2L=="boolean"?Ke.R2L:be;$o===!0&&(ee=Vr(ee,function(Ur,Qr,gi){return[Ur.split("").reverse().join(""),Qr,gi]})),pt={text:ee,x:Ce,y:$e,options:Ke,mutex:{pdfEscape:pr,activeFontKey:De,fonts:rt,activeFontSize:de}},Tt.publish("postProcessText",pt),ee=pt.text,CA=pt.mutex.isHex||!1;var gc=rt[De].encoding;gc!=="WinAnsiEncoding"&&gc!=="StandardEncoding"||(ee=Vr(ee,function(Ur,Qr,gi){return[Oh(Ur),Qr,gi]})),_t=xA(ee),ee=[];for(var Au,au,WA,su=0,lu=1,Ys=Array.isArray(_t[0])?lu:su,rs="",mc=function(Ur,Qr,gi){var Ai="";return gi instanceof Mt?(gi=typeof Ke.angle=="number"?vr(gi,new Mt(1,0,0,1,Ur,Qr)):vr(new Mt(1,0,0,1,Ur,Qr),gi),y===v.ADVANCED&&(gi=vr(new Mt(1,0,0,-1,0,0),gi)),Ai=gi.join(" ")+` Tm
- `):Ai=B(Ur)+" "+B(Qr)+` Td
- `,Ai},aA=0;aA<_t.length;aA++){switch(rs="",Ys){case lu:WA=(CA?"<":"(")+_t[aA][0]+(CA?">":")"),Au=parseFloat(_t[aA][1]),au=parseFloat(_t[aA][2]);break;case su:WA=(CA?"<":"(")+_t[aA]+(CA?">":")"),Au=ba(Ce),au=Za($e)}vo!==void 0&&vo[aA]!==void 0&&(rs=vo[aA]+` Tw
- `),aA===0?ee.push(rs+mc(Au,au,Tr)+WA):Ys===su?ee.push(rs+WA):Ys===lu&&ee.push(rs+mc(Au,au,Tr)+WA)}ee=Ys===su?ee.join(` Tj
- T* `):ee.join(` Tj
- `),ee+=` Tj
- `;var sA=`BT
- /`;return sA+=De+" "+de+` Tf
- `,sA+=B(de*Hi)+` TL
- `,sA+=Gs+`
- `,sA+=yi,sA+=ee,k(sA+="ET"),d[De]=!0,wn};var qg=f.__private__.clip=f.clip=function(ee){return k(ee==="evenodd"?"W*":"W"),this};f.clipEvenOdd=function(){return qg("evenodd")},f.__private__.discardPath=f.discardPath=function(){return k("n"),this};var ya=f.__private__.isValidStyle=function(ee){var Ce=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(ee)!==-1&&(Ce=!0),Ce};f.__private__.setDefaultPathOperation=f.setDefaultPathOperation=function(ee){return ya(ee)&&(u=ee),this};var bh=f.__private__.getStyle=f.getStyle=function(ee){var Ce=u;switch(ee){case"D":case"S":Ce="S";break;case"F":Ce="f";break;case"FD":case"DF":Ce="B";break;case"f":case"f*":case"B":case"B*":Ce=ee}return Ce},wh=f.close=function(){return k("h"),this};f.stroke=function(){return k("S"),this},f.fill=function(ee){return Ac("f",ee),this},f.fillEvenOdd=function(ee){return Ac("f*",ee),this},f.fillStroke=function(ee){return Ac("B",ee),this},f.fillStrokeEvenOdd=function(ee){return Ac("B*",ee),this};var Ac=function(ee,Ce){dr(Ce)==="object"?Ch(Ce,ee):k(ee)},Lo=function(ee){ee===null||y===v.ADVANCED&&ee===void 0||(ee=bh(ee),k(ee))};function Bh(ee,Ce,$e,Ke,tt){var pt=new _d(Ce||this.boundingBox,$e||this.xStep,Ke||this.yStep,this.gState,tt||this.matrix);pt.stream=this.stream;var _t=ee+"$$"+this.cloneIndex+++"$$";return mt(_t,pt),pt}var Ch=function(ee,Ce){var $e=Xt[ee.key],Ke=Et[$e];if(Ke instanceof qc)k("q"),k(xh(Ce)),Ke.gState&&f.setGState(Ke.gState),k(ee.matrix.toString()+" cm"),k("/"+$e+" sh"),k("Q");else if(Ke instanceof _d){var tt=new Mt(1,0,0,-1,0,Ws());ee.matrix&&(tt=tt.multiply(ee.matrix||Yr),$e=Bh.call(Ke,ee.key,ee.boundingBox,ee.xStep,ee.yStep,tt).id),k("q"),k("/Pattern cs"),k("/"+$e+" scn"),Ke.gState&&f.setGState(Ke.gState),k(Ce),k("Q")}},xh=function(ee){switch(ee){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},Uf=f.moveTo=function(ee,Ce){return k(B(F(ee))+" "+B(E(Ce))+" m"),this},Zl=f.lineTo=function(ee,Ce){return k(B(F(ee))+" "+B(E(Ce))+" l"),this},js=f.curveTo=function(ee,Ce,$e,Ke,tt,pt){return k([B(F(ee)),B(E(Ce)),B(F($e)),B(E(Ke)),B(F(tt)),B(E(pt)),"c"].join(" ")),this};f.__private__.line=f.line=function(ee,Ce,$e,Ke,tt){if(isNaN(ee)||isNaN(Ce)||isNaN($e)||isNaN(Ke)||!ya(tt))throw new Error("Invalid arguments passed to jsPDF.line");return y===v.COMPAT?this.lines([[$e-ee,Ke-Ce]],ee,Ce,[1,1],tt||"S"):this.lines([[$e-ee,Ke-Ce]],ee,Ce,[1,1]).stroke()},f.__private__.lines=f.lines=function(ee,Ce,$e,Ke,tt,pt){var _t,kt,rn,Cn,xn,Wn,Or,Tr,wn,Ao,yi,CA;if(typeof ee=="number"&&(CA=$e,$e=Ce,Ce=ee,ee=CA),Ke=Ke||[1,1],pt=pt||!1,isNaN(Ce)||isNaN($e)||!Array.isArray(ee)||!Array.isArray(Ke)||!ya(tt)||typeof pt!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Uf(Ce,$e),_t=Ke[0],kt=Ke[1],Cn=ee.length,Ao=Ce,yi=$e,rn=0;rn<Cn;rn++)(xn=ee[rn]).length===2?(Ao=xn[0]*_t+Ao,yi=xn[1]*kt+yi,Zl(Ao,yi)):(Wn=xn[0]*_t+Ao,Or=xn[1]*kt+yi,Tr=xn[2]*_t+Ao,wn=xn[3]*kt+yi,Ao=xn[4]*_t+Ao,yi=xn[5]*kt+yi,js(Wn,Or,Tr,wn,Ao,yi));return pt&&wh(),Lo(tt),this},f.path=function(ee){for(var Ce=0;Ce<ee.length;Ce++){var $e=ee[Ce],Ke=$e.c;switch($e.op){case"m":Uf(Ke[0],Ke[1]);break;case"l":Zl(Ke[0],Ke[1]);break;case"c":js.apply(this,Ke);break;case"h":wh()}}return this},f.__private__.rect=f.rect=function(ee,Ce,$e,Ke,tt){if(isNaN(ee)||isNaN(Ce)||isNaN($e)||isNaN(Ke)||!ya(tt))throw new Error("Invalid arguments passed to jsPDF.rect");return y===v.COMPAT&&(Ke=-Ke),k([B(F(ee)),B(E(Ce)),B(F($e)),B(F(Ke)),"re"].join(" ")),Lo(tt),this},f.__private__.triangle=f.triangle=function(ee,Ce,$e,Ke,tt,pt,_t){if(isNaN(ee)||isNaN(Ce)||isNaN($e)||isNaN(Ke)||isNaN(tt)||isNaN(pt)||!ya(_t))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[$e-ee,Ke-Ce],[tt-$e,pt-Ke],[ee-tt,Ce-pt]],ee,Ce,[1,1],_t,!0),this},f.__private__.roundedRect=f.roundedRect=function(ee,Ce,$e,Ke,tt,pt,_t){if(isNaN(ee)||isNaN(Ce)||isNaN($e)||isNaN(Ke)||isNaN(tt)||isNaN(pt)||!ya(_t))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var kt=4/3*(Math.SQRT2-1);return tt=Math.min(tt,.5*$e),pt=Math.min(pt,.5*Ke),this.lines([[$e-2*tt,0],[tt*kt,0,tt,pt-pt*kt,tt,pt],[0,Ke-2*pt],[0,pt*kt,-tt*kt,pt,-tt,pt],[2*tt-$e,0],[-tt*kt,0,-tt,-pt*kt,-tt,-pt],[0,2*pt-Ke],[0,-pt*kt,tt*kt,-pt,tt,-pt]],ee+tt,Ce,[1,1],_t,!0),this},f.__private__.ellipse=f.ellipse=function(ee,Ce,$e,Ke,tt){if(isNaN(ee)||isNaN(Ce)||isNaN($e)||isNaN(Ke)||!ya(tt))throw new Error("Invalid arguments passed to jsPDF.ellipse");var pt=4/3*(Math.SQRT2-1)*$e,_t=4/3*(Math.SQRT2-1)*Ke;return Uf(ee+$e,Ce),js(ee+$e,Ce-_t,ee+pt,Ce-Ke,ee,Ce-Ke),js(ee-pt,Ce-Ke,ee-$e,Ce-_t,ee-$e,Ce),js(ee-$e,Ce+_t,ee-pt,Ce+Ke,ee,Ce+Ke),js(ee+pt,Ce+Ke,ee+$e,Ce+_t,ee+$e,Ce),Lo(tt),this},f.__private__.circle=f.circle=function(ee,Ce,$e,Ke){if(isNaN(ee)||isNaN(Ce)||isNaN($e)||!ya(Ke))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(ee,Ce,$e,$e,Ke)},f.setFont=function(ee,Ce,$e){return $e&&(Ce=C(Ce,$e)),De=Tf(ee,Ce,{disableWarning:!1}),this};var Sh=f.__private__.getFont=f.getFont=function(){return rt[Tf.apply(f,arguments)]};f.__private__.getFontList=f.getFontList=function(){var ee,Ce,$e={};for(ee in nt)if(nt.hasOwnProperty(ee))for(Ce in $e[ee]=[],nt[ee])nt[ee].hasOwnProperty(Ce)&&$e[ee].push(Ce);return $e},f.addFont=function(ee,Ce,$e,Ke,tt){var pt=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&pt.indexOf(arguments[3])!==-1?tt=arguments[3]:arguments[3]&&pt.indexOf(arguments[3])==-1&&($e=C($e,Ke)),tt=tt||"Identity-H",KA.call(this,ee,Ce,$e,tt)};var Ks,ac=e.lineWidth||.200025,sc=f.__private__.getLineWidth=f.getLineWidth=function(){return ac},Eh=f.__private__.setLineWidth=f.setLineWidth=function(ee){return ac=ee,k(B(F(ee))+" w"),this};f.__private__.setLineDash=gn.API.setLineDash=gn.API.setLineDashPattern=function(ee,Ce){if(ee=ee||[],Ce=Ce||0,isNaN(Ce)||!Array.isArray(ee))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return ee=ee.map(function($e){return B(F($e))}).join(" "),Ce=B(F(Ce)),k("["+ee+"] "+Ce+" d"),this};var Ei=f.__private__.getLineHeight=f.getLineHeight=function(){return de*Ks};f.__private__.getLineHeight=f.getLineHeight=function(){return de*Ks};var Fh=f.__private__.setLineHeightFactor=f.setLineHeightFactor=function(ee){return typeof(ee=ee||1.15)=="number"&&(Ks=ee),this},Ja=f.__private__.getLineHeightFactor=f.getLineHeightFactor=function(){return Ks};Fh(e.lineHeight);var ba=f.__private__.getHorizontalCoordinate=function(ee){return F(ee)},Za=f.__private__.getVerticalCoordinate=function(ee){return y===v.ADVANCED?ee:ht[Y].mediaBox.topRightY-ht[Y].mediaBox.bottomLeftY-F(ee)},Xg=f.__private__.getHorizontalCoordinateString=f.getHorizontalCoordinateString=function(ee){return B(ba(ee))},Vs=f.__private__.getVerticalCoordinateString=f.getVerticalCoordinateString=function(ee){return B(Za(ee))},Do=e.strokeColor||"0 G";f.__private__.getStrokeColor=f.getDrawColor=function(){return Gn(Do)},f.__private__.setStrokeColor=f.setDrawColor=function(ee,Ce,$e,Ke){return Do=er({ch1:ee,ch2:Ce,ch3:$e,ch4:Ke,pdfColorType:"draw",precision:2}),k(Do),this};var zs=e.fillColor||"0 g";f.__private__.getFillColor=f.getFillColor=function(){return Gn(zs)},f.__private__.setFillColor=f.setFillColor=function(ee,Ce,$e,Ke){return zs=er({ch1:ee,ch2:Ce,ch3:$e,ch4:Ke,pdfColorType:"fill",precision:2}),k(zs),this};var Gs=e.textColor||"0 g",Yg=f.__private__.getTextColor=f.getTextColor=function(){return Gn(Gs)};f.__private__.setTextColor=f.setTextColor=function(ee,Ce,$e,Ke){return Gs=er({ch1:ee,ch2:Ce,ch3:$e,ch4:Ke,pdfColorType:"text",precision:3}),this};var rA=e.charSpace,lc=f.__private__.getCharSpace=f.getCharSpace=function(){return parseFloat(rA||0)};f.__private__.setCharSpace=f.setCharSpace=function(ee){if(isNaN(ee))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return rA=ee,this};var eu=0;f.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},f.__private__.setLineCap=f.setLineCap=function(ee){var Ce=f.CapJoinStyles[ee];if(Ce===void 0)throw new Error("Line cap style of '"+ee+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return eu=Ce,k(Ce+" J"),this};var Qf=0;f.__private__.setLineJoin=f.setLineJoin=function(ee){var Ce=f.CapJoinStyles[ee];if(Ce===void 0)throw new Error("Line join style of '"+ee+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Qf=Ce,k(Ce+" j"),this},f.__private__.setLineMiterLimit=f.__private__.setMiterLimit=f.setLineMiterLimit=f.setMiterLimit=function(ee){if(ee=ee||0,isNaN(ee))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return k(B(F(ee))+" M"),this},f.GState=sv,f.setGState=function(ee){(ee=typeof ee=="string"?Ut[$t[ee]]:Ih(null,ee)).equals(xt)||(k("/"+ee.id+" gs"),xt=ee)};var Ih=function(ee,Ce){if(!ee||!$t[ee]){var $e=!1;for(var Ke in Ut)if(Ut.hasOwnProperty(Ke)&&Ut[Ke].equals(Ce)){$e=!0;break}if($e)Ce=Ut[Ke];else{var tt="GS"+(Object.keys(Ut).length+1).toString(10);Ut[tt]=Ce,Ce.id=tt}return ee&&($t[ee]=Ce.id),Tt.publish("addGState",Ce),Ce}};f.addGState=function(ee,Ce){return Ih(ee,Ce),this},f.saveGraphicsState=function(){return k("q"),Bt.push({key:De,size:de,color:Gs}),this},f.restoreGraphicsState=function(){k("Q");var ee=Bt.pop();return De=ee.key,de=ee.size,Gs=ee.color,xt=null,this},f.setCurrentTransformationMatrix=function(ee){return k(ee.toString()+" cm"),this},f.comment=function(ee){return k("#"+ee),this};var uc=function(ee,Ce){var $e=ee||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return $e},set:function(pt){isNaN(pt)||($e=parseFloat(pt))}});var Ke=Ce||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Ke},set:function(pt){isNaN(pt)||(Ke=parseFloat(pt))}});var tt="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return tt},set:function(pt){tt=pt.toString()}}),this},Pf=function(ee,Ce,$e,Ke){uc.call(this,ee,Ce),this.type="rect";var tt=$e||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return tt},set:function(_t){isNaN(_t)||(tt=parseFloat(_t))}});var pt=Ke||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return pt},set:function(_t){isNaN(_t)||(pt=parseFloat(_t))}}),this},Lf=function(){this.page=Ct,this.currentPage=Y,this.pages=ie.slice(0),this.pagesContext=ht.slice(0),this.x=Re,this.y=Ne,this.matrix=ot,this.width=tu(Y),this.height=Ws(Y),this.outputDestination=ue,this.id="",this.objectNumber=-1};Lf.prototype.restore=function(){Ct=this.page,Y=this.currentPage,ht=this.pagesContext,ie=this.pages,Re=this.x,Ne=this.y,ot=this.matrix,Df(Y,this.width),Rf(Y,this.height),ue=this.outputDestination};var _h=function(ee,Ce,$e,Ke,tt){ur.push(new Lf),Ct=Y=0,ie=[],Re=ee,Ne=Ce,ot=tt,Po([$e,Ke])},Jg=function(ee){if(zn[ee])ur.pop().restore();else{var Ce=new Lf,$e="Xo"+(Object.keys(nn).length+1).toString(10);Ce.id=$e,zn[ee]=$e,nn[$e]=Ce,Tt.publish("addFormObject",Ce),ur.pop().restore()}};for(var cc in f.beginFormObject=function(ee,Ce,$e,Ke,tt){return _h(ee,Ce,$e,Ke,tt),this},f.endFormObject=function(ee){return Jg(ee),this},f.doFormObject=function(ee,Ce){var $e=nn[zn[ee]];return k("q"),k(Ce.toString()+" cm"),k("/"+$e.id+" Do"),k("Q"),this},f.getFormObject=function(ee){var Ce=nn[zn[ee]];return{x:Ce.x,y:Ce.y,width:Ce.width,height:Ce.height,matrix:Ce.matrix}},f.save=function(ee,Ce){return ee=ee||"generated.pdf",(Ce=Ce||{}).returnPromise=Ce.returnPromise||!1,Ce.returnPromise===!1?(pd(Jl(Ya()),ee),typeof pd.unload=="function"&&Bn.setTimeout&&setTimeout(pd.unload,911),this):new Promise(function($e,Ke){try{var tt=pd(Jl(Ya()),ee);typeof pd.unload=="function"&&Bn.setTimeout&&setTimeout(pd.unload,911),$e(tt)}catch(pt){Ke(pt.message)}})},gn.API)gn.API.hasOwnProperty(cc)&&(cc==="events"&&gn.API.events.length?function(ee,Ce){var $e,Ke,tt;for(tt=Ce.length-1;tt!==-1;tt--)$e=Ce[tt][0],Ke=Ce[tt][1],ee.subscribe.apply(ee,[$e].concat(typeof Ke=="function"?[Ke]:Ke))}(Tt,gn.API.events):f[cc]=gn.API[cc]);var tu=f.getPageWidth=function(ee){return(ht[ee=ee||Y].mediaBox.topRightX-ht[ee].mediaBox.bottomLeftX)/_e},Df=f.setPageWidth=function(ee,Ce){ht[ee].mediaBox.topRightX=Ce*_e+ht[ee].mediaBox.bottomLeftX},Ws=f.getPageHeight=function(ee){return(ht[ee=ee||Y].mediaBox.topRightY-ht[ee].mediaBox.bottomLeftY)/_e},Rf=f.setPageHeight=function(ee,Ce){ht[ee].mediaBox.topRightY=Ce*_e+ht[ee].mediaBox.bottomLeftY};return f.internal={pdfEscape:pr,getStyle:bh,getFont:Sh,getFontSize:ve,getCharSpace:lc,getTextColor:Yg,getLineHeight:Ei,getLineHeightFactor:Ja,getLineWidth:sc,write:P,getHorizontalCoordinate:ba,getVerticalCoordinate:Za,getCoordinateString:Xg,getVerticalCoordinateString:Vs,collections:{},newObject:vt,newAdditionalObject:Mn,newObjectDeferred:It,newObjectDeferredBegin:an,getFilters:yr,putStream:br,events:Tt,scaleFactor:_e,pageSize:{getWidth:function(){return tu(Y)},setWidth:function(ee){Df(Y,ee)},getHeight:function(){return Ws(Y)},setHeight:function(ee){Rf(Y,ee)}},encryptionOptions:l,encryption:oo,getEncryptor:Gg,output:ks,getNumberOfPages:Of,pages:ie,out:k,f2:M,f3:R,getPageInfo:yh,getPageInfoByObjId:pn,getCurrentPageInfo:Wg,getPDFVersion:h,Point:uc,Rectangle:Pf,Matrix:Mt,hasHotfix:va},Object.defineProperty(f.internal.pageSize,"width",{get:function(){return tu(Y)},set:function(ee){Df(Y,ee)},enumerable:!0,configurable:!0}),Object.defineProperty(f.internal.pageSize,"height",{get:function(){return Ws(Y)},set:function(ee){Rf(Y,ee)},enumerable:!0,configurable:!0}),VA.call(f,W),De="F1",ql(i,n),Tt.publish("initialized"),f}Qp.prototype.lsbFirstWord=function(e){return String.fromCharCode(e>>0&255,e>>8&255,e>>16&255,e>>24&255)},Qp.prototype.toHexString=function(e){return e.split("").map(function(t){return("0"+(255&t.charCodeAt(0)).toString(16)).slice(-2)}).join("")},Qp.prototype.hexToBytes=function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(String.fromCharCode(parseInt(e.substr(n,2),16)));return t.join("")},Qp.prototype.processOwnerPassword=function(e,t){return g_(p_(t).substr(0,5),e)},Qp.prototype.encryptor=function(e,t){var n=p_(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(r){return g_(n,r)}},sv.prototype.equals=function(e){var t,n="id,objectNumber,equals";if(!e||dr(e)!==dr(this))return!1;var r=0;for(t in this)if(!(n.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t)||this[t]!==e[t])return!1;r++}for(t in e)e.hasOwnProperty(t)&&n.indexOf(t)<0&&r--;return r===0},gn.API={events:[]},gn.version="2.5.2";var bi=gn.API,sU=1,dh=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},mp=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Qn=function(e){return e.toFixed(2)},Pc=function(e){return e.toFixed(5)};bi.__acroform__={};var jA=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},yN=function(e){return e*sU},dl=function(e){var t=new KJ,n=Jt.internal.getHeight(e)||0,r=Jt.internal.getWidth(e)||0;return t.BBox=[0,0,Number(Qn(r)),Number(Qn(n))],t},uTe=bi.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|=1<<t},cTe=bi.__acroform__.clearBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&=~(1<<t)},fTe=bi.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return e&1<<t?1:0},Qi=bi.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return fTe(e,t-1)},Pi=bi.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return uTe(e,t-1)},Li=bi.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return cTe(e,t-1)},dTe=bi.__acroform__.calculateCoordinates=function(e,t){var n=t.internal.getHorizontalCoordinate,r=t.internal.getVerticalCoordinate,i=e[0],o=e[1],A=e[2],a=e[3],s={};return s.lowerLeft_X=n(i)||0,s.lowerLeft_Y=r(o+a)||0,s.upperRight_X=n(i+A)||0,s.upperRight_Y=r(o)||0,[Number(Qn(s.lowerLeft_X)),Number(Qn(s.lowerLeft_Y)),Number(Qn(s.upperRight_X)),Number(Qn(s.upperRight_Y))]},hTe=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],n=e._V||e.DV,r=m_(e,n),i=e.scope.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(e.scope.__private__.encodeColorString(e.color)),t.push("/"+i+" "+Qn(r.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(r.text),t.push("ET"),t.push("Q"),t.push("EMC");var o=dl(e);return o.scope=e.scope,o.stream=t.join(`
- `),o}},m_=function(e,t){var n=e.fontSize===0?e.maxFontSize:e.fontSize,r={text:"",fontSize:""},i=(t=(t=t.substr(0,1)=="("?t.substr(1):t).substr(t.length-1)==")"?t.substr(0,t.length-1):t).split(" ");i=e.multiline?i.map(function(R){return R.split(`
- `)}):i.map(function(R){return[R]});var o=n,A=Jt.internal.getHeight(e)||0;A=A<0?-A:A;var a=Jt.internal.getWidth(e)||0;a=a<0?-a:a;var s=function(R,F,L){if(R+1<i.length){var E=F+" "+i[R+1][0];return my(E,e,L).width<=a-4}return!1};o++;e:for(;o>0;){t="",o--;var u,l,c=my("3",e,o).height,d=e.multiline?A-o:(A-c)/2,f=d+=2,g=0,h=0,m=0;if(o<=0){t=`(...) Tj
- `,t+="% Width of Text: "+my(t,e,o=12).width+", FieldWidth:"+a+`
- `;break}for(var p="",v=0,y=0;y<i.length;y++)if(i.hasOwnProperty(y)){var b=!1;if(i[y].length!==1&&m!==i[y].length-1){if((c+2)*(v+2)+2>A)continue e;p+=i[y][m],b=!0,h=y,y--}else{p=(p+=i[y][m]+" ").substr(p.length-1)==" "?p.substr(0,p.length-1):p;var w=parseInt(y),C=s(w,p,o),B=y>=i.length-1;if(C&&!B){p+=" ",m=0;continue}if(C||B){if(B)h=w;else if(e.multiline&&(c+2)*(v+2)+2>A)continue e}else{if(!e.multiline||(c+2)*(v+2)+2>A)continue e;h=w}}for(var O="",x=g;x<=h;x++){var M=i[x];if(e.multiline){if(x===h){O+=M[m]+" ",m=(m+1)%M.length;continue}if(x===g){O+=M[M.length-1]+" ";continue}}O+=M[0]+" "}switch(O=O.substr(O.length-1)==" "?O.substr(0,O.length-1):O,l=my(O,e,o).width,e.textAlign){case"right":u=a-l-2;break;case"center":u=(a-l)/2;break;case"left":default:u=2}t+=Qn(u)+" "+Qn(f)+` Td
- `,t+="("+dh(O)+`) Tj
- `,t+=-Qn(u)+` 0 Td
- `,f=-(o+2),l=0,g=b?h:h+1,v++,p=""}break}return r.text=t,r.fontSize=o,r},my=function(e,t,n){var r=t.scope.internal.getFont(t.fontName,t.fontStyle),i=t.scope.getStringUnitWidth(e,{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n);return{height:t.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n)*1.5,width:i}},pTe={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},gTe=function(e,t){var n={type:"reference",object:e};t.internal.getPageInfo(e.page).pageContext.annotations.find(function(r){return r.type===n.type&&r.object===n.object})===void 0&&t.internal.getPageInfo(e.page).pageContext.annotations.push(n)},mTe=function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=n,i=e[n];t.internal.newObjectDeferredBegin(i.objId,!0),dr(i)==="object"&&typeof i.putStream=="function"&&i.putStream(),delete e[r]}},vTe=function(e,t){if(t.scope=e,e.internal!==void 0&&(e.internal.acroformPlugin===void 0||e.internal.acroformPlugin.isInitialized===!1)){if(Ps.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(pTe)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");sU=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new VJ,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",function(){(function(n){n.internal.events.unsubscribe(n.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete n.internal.acroformPlugin.acroFormDictionaryRoot._eventID,n.internal.acroformPlugin.printedOut=!0})(e)}),e.internal.events.subscribe("buildDocument",function(){(function(n){n.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var r=n.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var i in r)if(r.hasOwnProperty(i)){var o=r[i];o.objId=void 0,o.hasAnnotation&&gTe(o,n)}})(e)}),e.internal.events.subscribe("putCatalog",function(){(function(n){if(n.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");n.internal.write("/AcroForm "+n.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(e)}),e.internal.events.subscribe("postPutPages",function(n){(function(r,i){var o=!r;for(var A in r||(i.internal.newObjectDeferredBegin(i.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),i.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),r=r||i.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(r.hasOwnProperty(A)){var a=r[A],s=[],u=a.Rect;if(a.Rect&&(a.Rect=dTe(a.Rect,i)),i.internal.newObjectDeferredBegin(a.objId,!0),a.DA=Jt.createDefaultAppearanceStream(a),dr(a)==="object"&&typeof a.getKeyValueListForStream=="function"&&(s=a.getKeyValueListForStream()),a.Rect=u,a.hasAppearanceStream&&!a.appearanceStreamContent){var l=hTe(a);s.push({key:"AP",value:"<</N "+l+">>"}),i.internal.acroformPlugin.xForms.push(l)}if(a.appearanceStreamContent){var c="";for(var d in a.appearanceStreamContent)if(a.appearanceStreamContent.hasOwnProperty(d)){var f=a.appearanceStreamContent[d];if(c+="/"+d+" ",c+="<<",Object.keys(f).length>=1||Array.isArray(f)){for(var A in f)if(f.hasOwnProperty(A)){var g=f[A];typeof g=="function"&&(g=g.call(i,a)),c+="/"+A+" "+g+" ",i.internal.acroformPlugin.xForms.indexOf(g)>=0||i.internal.acroformPlugin.xForms.push(g)}}else typeof(g=f)=="function"&&(g=g.call(i,a)),c+="/"+A+" "+g,i.internal.acroformPlugin.xForms.indexOf(g)>=0||i.internal.acroformPlugin.xForms.push(g);c+=">>"}s.push({key:"AP",value:`<<
- `+c+">>"})}i.internal.putStream({additionalKeyValues:s,objectId:a.objId}),i.internal.out("endobj")}o&&mTe(i.internal.acroformPlugin.xForms,i)})(n,e)}),e.internal.acroformPlugin.isInitialized=!0}},jJ=bi.__acroform__.arrayToPdfArray=function(e,t,n){var r=function(A){return A};if(Array.isArray(e)){for(var i="[",o=0;o<e.length;o++)switch(o!==0&&(i+=" "),dr(e[o])){case"boolean":case"number":case"object":i+=e[o].toString();break;case"string":e[o].substr(0,1)!=="/"?(t!==void 0&&n&&(r=n.internal.getEncryptor(t)),i+="("+dh(r(e[o].toString()))+")"):i+=e[o].toString()}return i+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},TS=function(e,t,n){var r=function(i){return i};return t!==void 0&&n&&(r=n.internal.getEncryptor(t)),(e=e||"").toString(),e="("+dh(r(e))+")"},xl=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(e){this._objId=e}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};xl.prototype.toString=function(){return this.objId+" 0 R"},xl.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},xl.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter(function(o){return o!="content"&&o!="appearanceStreamContent"&&o!="scope"&&o!="objId"&&o.substring(0,1)!="_"});for(var n in t)if(Object.getOwnPropertyDescriptor(this,t[n]).configurable===!1){var r=t[n],i=this[r];i&&(Array.isArray(i)?e.push({key:r,value:jJ(i,this.objId,this.scope)}):i instanceof xl?(i.scope=this.scope,e.push({key:r,value:i.objId+" 0 R"})):typeof i!="function"&&e.push({key:r,value:i}))}return e};var KJ=function(){xl.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var e,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(n){t=n}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(n){e=n.trim()},get:function(){return e||null}})};jA(KJ,xl);var VJ=function(){xl.call(this);var e,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e){var n=function(r){return r};return this.scope&&(n=this.scope.internal.getEncryptor(this.objId)),"("+dh(n(e))+")"}},set:function(n){e=n}})};jA(VJ,xl);var Ps=function e(){xl.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(p){if(isNaN(p))throw new Error('Invalid value "'+p+'" for attribute F supplied.');t=p}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!Qi(t,3)},set:function(p){p?this.F=Pi(t,3):this.F=Li(t,3)}});var n=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return n},set:function(p){if(isNaN(p))throw new Error('Invalid value "'+p+'" for attribute Ff supplied.');n=p}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(r.length!==0)return r},set:function(p){r=p!==void 0?p:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(p){r[0]=p}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(p){r[1]=p}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(p){r[2]=p}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(p){r[3]=p}});var i="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return i},set:function(p){switch(p){case"/Btn":case"/Tx":case"/Ch":case"/Sig":i=p;break;default:throw new Error('Invalid value "'+p+'" for attribute FT supplied.')}}});var o=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!o||o.length<1){if(this instanceof Kw)return;o="FieldObject"+e.FieldNum++}var p=function(v){return v};return this.scope&&(p=this.scope.internal.getEncryptor(this.objId)),"("+dh(p(o))+")"},set:function(p){o=p.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return o},set:function(p){o=p}});var A="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return A},set:function(p){A=p}});var a="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return a},set:function(p){a=p}});var s=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return s},set:function(p){s=p}});var u=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return u===void 0?50/sU:u},set:function(p){u=p}});var l="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return l},set:function(p){l=p}});var c="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!c||this instanceof Kw||this instanceof lf))return TS(c,this.objId,this.scope)},set:function(p){p=p.toString(),c=p}});var d=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(d)return this instanceof Zi?d:TS(d,this.objId,this.scope)},set:function(p){p=p.toString(),d=this instanceof Zi?p:p.substr(0,1)==="("?mp(p.substr(1,p.length-2)):mp(p)}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Zi?mp(d.substr(1,d.length-1)):d},set:function(p){p=p.toString(),d=this instanceof Zi?"/"+p:p}});var f=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(f)return f},set:function(p){this.V=p}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof Zi?f:TS(f,this.objId,this.scope)},set:function(p){p=p.toString(),f=this instanceof Zi?p:p.substr(0,1)==="("?mp(p.substr(1,p.length-2)):mp(p)}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Zi?mp(f.substr(1,f.length-1)):f},set:function(p){p=p.toString(),f=this instanceof Zi?"/"+p:p}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var g,h=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return h},set:function(p){p=!!p,h=p}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(g)return g},set:function(p){g=p}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!Qi(this.Ff,1)},set:function(p){p?this.Ff=Pi(this.Ff,1):this.Ff=Li(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!Qi(this.Ff,2)},set:function(p){p?this.Ff=Pi(this.Ff,2):this.Ff=Li(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!Qi(this.Ff,3)},set:function(p){p?this.Ff=Pi(this.Ff,3):this.Ff=Li(this.Ff,3)}});var m=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(m!==null)return m},set:function(p){if([0,1,2].indexOf(p)===-1)throw new Error('Invalid value "'+p+'" for attribute Q supplied.');m=p}}),Object.defineProperty(this,"textAlign",{get:function(){var p;switch(m){case 0:default:p="left";break;case 1:p="center";break;case 2:p="right"}return p},configurable:!0,enumerable:!0,set:function(p){switch(p){case"right":case 2:m=2;break;case"center":case 1:m=1;break;case"left":case 0:default:m=0}}})};jA(Ps,xl);var $d=function(){Ps.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(n){e=n}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(n){e=n}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return jJ(t,this.objId,this.scope)},set:function(n){var r,i;i=[],typeof(r=n)=="string"&&(i=function(o,A,a){a||(a=1);for(var s,u=[];s=A.exec(o);)u.push(s[a]);return u}(r,/\((.*?)\)/g)),t=i}}),this.getOptions=function(){return t},this.setOptions=function(n){t=n,this.sort&&t.sort()},this.addOption=function(n){n=(n=n||"").toString(),t.push(n),this.sort&&t.sort()},this.removeOption=function(n,r){for(r=r||!1,n=(n=n||"").toString();t.indexOf(n)!==-1&&(t.splice(t.indexOf(n),1),r!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!Qi(this.Ff,18)},set:function(n){n?this.Ff=Pi(this.Ff,18):this.Ff=Li(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!Qi(this.Ff,19)},set:function(n){this.combo===!0&&(n?this.Ff=Pi(this.Ff,19):this.Ff=Li(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!Qi(this.Ff,20)},set:function(n){n?(this.Ff=Pi(this.Ff,20),t.sort()):this.Ff=Li(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!Qi(this.Ff,22)},set:function(n){n?this.Ff=Pi(this.Ff,22):this.Ff=Li(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Qi(this.Ff,23)},set:function(n){n?this.Ff=Pi(this.Ff,23):this.Ff=Li(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!Qi(this.Ff,27)},set:function(n){n?this.Ff=Pi(this.Ff,27):this.Ff=Li(this.Ff,27)}}),this.hasAppearanceStream=!1};jA($d,Ps);var Nd=function(){$d.call(this),this.fontName="helvetica",this.combo=!1};jA(Nd,$d);var Hd=function(){Nd.call(this),this.combo=!0};jA(Hd,Nd);var Cm=function(){Hd.call(this),this.edit=!0};jA(Cm,Hd);var Zi=function(){Ps.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!Qi(this.Ff,15)},set:function(n){n?this.Ff=Pi(this.Ff,15):this.Ff=Li(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!Qi(this.Ff,16)},set:function(n){n?this.Ff=Pi(this.Ff,16):this.Ff=Li(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!Qi(this.Ff,17)},set:function(n){n?this.Ff=Pi(this.Ff,17):this.Ff=Li(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!Qi(this.Ff,26)},set:function(n){n?this.Ff=Pi(this.Ff,26):this.Ff=Li(this.Ff,26)}});var e,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var n=function(o){return o};if(this.scope&&(n=this.scope.internal.getEncryptor(this.objId)),Object.keys(t).length!==0){var r,i=[];for(r in i.push("<<"),t)i.push("/"+r+" ("+dh(n(t[r]))+")");return i.push(">>"),i.join(`
- `)}},set:function(n){dr(n)==="object"&&(t=n)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(n){typeof n=="string"&&(t.CA=n)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(n){e=n}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(n){e="/"+n}})};jA(Zi,Ps);var xm=function(){Zi.call(this),this.pushButton=!0};jA(xm,Zi);var Md=function(){Zi.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t!==void 0?t:[]}})};jA(Md,Zi);var Kw=function(){var e,t;Ps.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(i){e=i}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(i){t=i}});var n,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var i=function(a){return a};this.scope&&(i=this.scope.internal.getEncryptor(this.objId));var o,A=[];for(o in A.push("<<"),r)A.push("/"+o+" ("+dh(i(r[o]))+")");return A.push(">>"),A.join(`
- `)},set:function(i){dr(i)==="object"&&(r=i)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(i){typeof i=="string"&&(r.CA=i)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(i){n=i}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(i){n="/"+i}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=Jt.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};jA(Kw,Ps),Md.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e)||!("getCA"in e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var n=this.Kids[t];n.appearanceStreamContent=e.createAppearanceStream(n.optionName),n.caption=e.getCA()}},Md.prototype.createOption=function(e){var t=new Kw;return t.Parent=this,t.optionName=e,this.Kids.push(t),yTe.call(this.scope,t),t};var Sm=function(){Zi.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Jt.CheckBox.createAppearanceStream()};jA(Sm,Zi);var lf=function(){Ps.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!Qi(this.Ff,13)},set:function(t){t?this.Ff=Pi(this.Ff,13):this.Ff=Li(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!Qi(this.Ff,21)},set:function(t){t?this.Ff=Pi(this.Ff,21):this.Ff=Li(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Qi(this.Ff,23)},set:function(t){t?this.Ff=Pi(this.Ff,23):this.Ff=Li(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!Qi(this.Ff,24)},set:function(t){t?this.Ff=Pi(this.Ff,24):this.Ff=Li(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!Qi(this.Ff,25)},set:function(t){t?this.Ff=Pi(this.Ff,25):this.Ff=Li(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!Qi(this.Ff,26)},set:function(t){t?this.Ff=Pi(this.Ff,26):this.Ff=Li(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};jA(lf,Ps);var Em=function(){lf.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!Qi(this.Ff,14)},set:function(e){e?this.Ff=Pi(this.Ff,14):this.Ff=Li(this.Ff,14)}}),this.password=!0};jA(Em,lf);var Jt={CheckBox:{createAppearanceStream:function(){return{N:{On:Jt.CheckBox.YesNormal},D:{On:Jt.CheckBox.YesPushDown,Off:Jt.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=dl(e);t.scope=e.scope;var n=[],r=e.scope.internal.getFont(e.fontName,e.fontStyle).id,i=e.scope.__private__.encodeColorString(e.color),o=m_(e,e.caption);return n.push("0.749023 g"),n.push("0 0 "+Qn(Jt.internal.getWidth(e))+" "+Qn(Jt.internal.getHeight(e))+" re"),n.push("f"),n.push("BMC"),n.push("q"),n.push("0 0 1 rg"),n.push("/"+r+" "+Qn(o.fontSize)+" Tf "+i),n.push("BT"),n.push(o.text),n.push("ET"),n.push("Q"),n.push("EMC"),t.stream=n.join(`
- `),t},YesNormal:function(e){var t=dl(e);t.scope=e.scope;var n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,r=e.scope.__private__.encodeColorString(e.color),i=[],o=Jt.internal.getHeight(e),A=Jt.internal.getWidth(e),a=m_(e,e.caption);return i.push("1 g"),i.push("0 0 "+Qn(A)+" "+Qn(o)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+Qn(A-1)+" "+Qn(o-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+n+" "+Qn(a.fontSize)+" Tf "+r),i.push(a.text),i.push("ET"),i.push("Q"),t.stream=i.join(`
- `),t},OffPushDown:function(e){var t=dl(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+Qn(Jt.internal.getWidth(e))+" "+Qn(Jt.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join(`
- `),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:Jt.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=Jt.RadioButton.Circle.YesNormal,t.D[e]=Jt.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=dl(e);t.scope=e.scope;var n=[],r=Jt.internal.getWidth(e)<=Jt.internal.getHeight(e)?Jt.internal.getWidth(e)/4:Jt.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Jt.internal.Bezier_C,o=Number((r*i).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+Pc(Jt.internal.getWidth(e)/2)+" "+Pc(Jt.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+o+" "+o+" "+r+" 0 "+r+" c"),n.push("-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c"),n.push("-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c"),n.push(o+" -"+r+" "+r+" -"+o+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join(`
- `),t},YesPushDown:function(e){var t=dl(e);t.scope=e.scope;var n=[],r=Jt.internal.getWidth(e)<=Jt.internal.getHeight(e)?Jt.internal.getWidth(e)/4:Jt.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),o=Number((i*Jt.internal.Bezier_C).toFixed(5)),A=Number((r*Jt.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+Pc(Jt.internal.getWidth(e)/2)+" "+Pc(Jt.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),n.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),n.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),n.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+Pc(Jt.internal.getWidth(e)/2)+" "+Pc(Jt.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+A+" "+A+" "+r+" 0 "+r+" c"),n.push("-"+A+" "+r+" -"+r+" "+A+" -"+r+" 0 c"),n.push("-"+r+" -"+A+" -"+A+" -"+r+" 0 -"+r+" c"),n.push(A+" -"+r+" "+r+" -"+A+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join(`
- `),t},OffPushDown:function(e){var t=dl(e);t.scope=e.scope;var n=[],r=Jt.internal.getWidth(e)<=Jt.internal.getHeight(e)?Jt.internal.getWidth(e)/4:Jt.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),o=Number((i*Jt.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+Pc(Jt.internal.getWidth(e)/2)+" "+Pc(Jt.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),n.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),n.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),n.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join(`
- `),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:Jt.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=Jt.RadioButton.Cross.YesNormal,t.D[e]=Jt.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=dl(e);t.scope=e.scope;var n=[],r=Jt.internal.calculateCross(e);return n.push("q"),n.push("1 1 "+Qn(Jt.internal.getWidth(e)-2)+" "+Qn(Jt.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(Qn(r.x1.x)+" "+Qn(r.x1.y)+" m"),n.push(Qn(r.x2.x)+" "+Qn(r.x2.y)+" l"),n.push(Qn(r.x4.x)+" "+Qn(r.x4.y)+" m"),n.push(Qn(r.x3.x)+" "+Qn(r.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join(`
- `),t},YesPushDown:function(e){var t=dl(e);t.scope=e.scope;var n=Jt.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+Qn(Jt.internal.getWidth(e))+" "+Qn(Jt.internal.getHeight(e))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+Qn(Jt.internal.getWidth(e)-2)+" "+Qn(Jt.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(Qn(n.x1.x)+" "+Qn(n.x1.y)+" m"),r.push(Qn(n.x2.x)+" "+Qn(n.x2.y)+" l"),r.push(Qn(n.x4.x)+" "+Qn(n.x4.y)+" m"),r.push(Qn(n.x3.x)+" "+Qn(n.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join(`
- `),t},OffPushDown:function(e){var t=dl(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+Qn(Jt.internal.getWidth(e))+" "+Qn(Jt.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join(`
- `),t}}},createDefaultAppearanceStream:function(e){var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+n}};Jt.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=Jt.internal.getWidth(e),n=Jt.internal.getHeight(e),r=Math.min(t,n);return{x1:{x:(t-r)/2,y:(n-r)/2+r},x2:{x:(t-r)/2+r,y:(n-r)/2},x3:{x:(t-r)/2,y:(n-r)/2},x4:{x:(t-r)/2+r,y:(n-r)/2+r}}}},Jt.internal.getWidth=function(e){var t=0;return dr(e)==="object"&&(t=yN(e.Rect[2])),t},Jt.internal.getHeight=function(e){var t=0;return dr(e)==="object"&&(t=yN(e.Rect[3])),t};var yTe=bi.addField=function(e){if(vTe(this,e),!(e instanceof Ps))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=e).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};bi.AcroFormChoiceField=$d,bi.AcroFormListBox=Nd,bi.AcroFormComboBox=Hd,bi.AcroFormEditBox=Cm,bi.AcroFormButton=Zi,bi.AcroFormPushButton=xm,bi.AcroFormRadioButton=Md,bi.AcroFormCheckBox=Sm,bi.AcroFormTextField=lf,bi.AcroFormPasswordField=Em,bi.AcroFormAppearance=Jt,bi.AcroForm={ChoiceField:$d,ListBox:Nd,ComboBox:Hd,EditBox:Cm,Button:Zi,PushButton:xm,RadioButton:Md,CheckBox:Sm,TextField:lf,PasswordField:Em,Appearance:Jt},gn.AcroForm={ChoiceField:$d,ListBox:Nd,ComboBox:Hd,EditBox:Cm,Button:Zi,PushButton:xm,RadioButton:Md,CheckBox:Sm,TextField:lf,PasswordField:Em,Appearance:Jt};var bTe=gn.AcroForm;function zJ(e){return e.reduce(function(t,n,r){return t[n]=r,t},{})}(function(e){e.__addimage__={};var t="UNKNOWN",n={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},r=e.__addimage__.getImageFileTypeByImageData=function(R,F){var L,E,H,X,z,Z=t;if((F=F||t)==="RGBA"||R.data!==void 0&&R.data instanceof Uint8ClampedArray&&"height"in R&&"width"in R)return"RGBA";if(C(R))for(z in n)for(H=n[z],L=0;L<H.length;L+=1){for(X=!0,E=0;E<H[L].length;E+=1)if(H[L][E]!==void 0&&H[L][E]!==R[E]){X=!1;break}if(X===!0){Z=z;break}}else for(z in n)for(H=n[z],L=0;L<H.length;L+=1){for(X=!0,E=0;E<H[L].length;E+=1)if(H[L][E]!==void 0&&H[L][E]!==R.charCodeAt(E)){X=!1;break}if(X===!0){Z=z;break}}return Z===t&&F!==t&&(Z=F),Z},i=function R(F){for(var L=this.internal.write,E=this.internal.putStream,H=(0,this.internal.getFilters)();H.indexOf("FlateEncode")!==-1;)H.splice(H.indexOf("FlateEncode"),1);F.objectId=this.internal.newObject();var X=[];if(X.push({key:"Type",value:"/XObject"}),X.push({key:"Subtype",value:"/Image"}),X.push({key:"Width",value:F.width}),X.push({key:"Height",value:F.height}),F.colorSpace===m.INDEXED?X.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(F.palette.length/3-1)+" "+("sMask"in F&&F.sMask!==void 0?F.objectId+2:F.objectId+1)+" 0 R]"}):(X.push({key:"ColorSpace",value:"/"+F.colorSpace}),F.colorSpace===m.DEVICE_CMYK&&X.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),X.push({key:"BitsPerComponent",value:F.bitsPerComponent}),"decodeParameters"in F&&F.decodeParameters!==void 0&&X.push({key:"DecodeParms",value:"<<"+F.decodeParameters+">>"}),"transparency"in F&&Array.isArray(F.transparency)){for(var z="",Z=0,q=F.transparency.length;Z<q;Z++)z+=F.transparency[Z]+" "+F.transparency[Z]+" ";X.push({key:"Mask",value:"["+z+"]"})}F.sMask!==void 0&&X.push({key:"SMask",value:F.objectId+1+" 0 R"});var te=F.filter!==void 0?["/"+F.filter]:void 0;if(E({data:F.data,additionalKeyValues:X,alreadyAppliedFilters:te,objectId:F.objectId}),L("endobj"),"sMask"in F&&F.sMask!==void 0){var ne="/Predictor "+F.predictor+" /Colors 1 /BitsPerComponent "+F.bitsPerComponent+" /Columns "+F.width,_={width:F.width,height:F.height,colorSpace:"DeviceGray",bitsPerComponent:F.bitsPerComponent,decodeParameters:ne,data:F.sMask};"filter"in F&&(_.filter=F.filter),R.call(this,_)}if(F.colorSpace===m.INDEXED){var Y=this.internal.newObject();E({data:O(new Uint8Array(F.palette)),objectId:Y}),L("endobj")}},o=function(){var R=this.internal.collections.addImage_images;for(var F in R)i.call(this,R[F])},A=function(){var R,F=this.internal.collections.addImage_images,L=this.internal.write;for(var E in F)L("/I"+(R=F[E]).index,R.objectId,"0","R")},a=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",o),this.internal.events.subscribe("putXobjectDict",A))},s=function(){var R=this.internal.collections.addImage_images;return a.call(this),R},u=function(){return Object.keys(this.internal.collections.addImage_images).length},l=function(R){return typeof e["process"+R.toUpperCase()]=="function"},c=function(R){return dr(R)==="object"&&R.nodeType===1},d=function(R,F){if(R.nodeName==="IMG"&&R.hasAttribute("src")){var L=""+R.getAttribute("src");if(L.indexOf("data:image/")===0)return Bm(unescape(L).split("base64,").pop());var E=e.loadFile(L,!0);if(E!==void 0)return E}if(R.nodeName==="CANVAS"){if(R.width===0||R.height===0)throw new Error("Given canvas must have data. Canvas width: "+R.width+", height: "+R.height);var H;switch(F){case"PNG":H="image/png";break;case"WEBP":H="image/webp";break;case"JPEG":case"JPG":default:H="image/jpeg"}return Bm(R.toDataURL(H,1).split("base64,").pop())}},f=function(R){var F=this.internal.collections.addImage_images;if(F){for(var L in F)if(R===F[L].alias)return F[L]}},g=function(R,F,L){return R||F||(R=-96,F=-96),R<0&&(R=-1*L.width*72/R/this.internal.scaleFactor),F<0&&(F=-1*L.height*72/F/this.internal.scaleFactor),R===0&&(R=F*L.width/L.height),F===0&&(F=R*L.height/L.width),[R,F]},h=function(R,F,L,E,H,X){var z=g.call(this,L,E,H),Z=this.internal.getCoordinateString,q=this.internal.getVerticalCoordinateString,te=s.call(this);if(L=z[0],E=z[1],te[H.index]=H,X){X*=Math.PI/180;var ne=Math.cos(X),_=Math.sin(X),Y=function(se){return se.toFixed(4)},re=[Y(ne),Y(_),Y(-1*_),Y(ne),0,0,"cm"]}this.internal.write("q"),X?(this.internal.write([1,"0","0",1,Z(R),q(F+E),"cm"].join(" ")),this.internal.write(re.join(" ")),this.internal.write([Z(L),"0","0",Z(E),"0","0","cm"].join(" "))):this.internal.write([Z(L),"0","0",Z(E),Z(R),q(F+E),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+H.index+" Do"),this.internal.write("Q")},m=e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var p=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},v=e.__addimage__.sHashCode=function(R){var F,L,E=0;if(typeof R=="string")for(L=R.length,F=0;F<L;F++)E=(E<<5)-E+R.charCodeAt(F),E|=0;else if(C(R))for(L=R.byteLength/2,F=0;F<L;F++)E=(E<<5)-E+R[F],E|=0;return E},y=e.__addimage__.validateStringAsBase64=function(R){(R=R||"").toString().trim();var F=!0;return R.length===0&&(F=!1),R.length%4!=0&&(F=!1),/^[A-Za-z0-9+/]+$/.test(R.substr(0,R.length-2))===!1&&(F=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(R.substr(-2))===!1&&(F=!1),F},b=e.__addimage__.extractImageFromDataUrl=function(R){var F=(R=R||"").split("base64,"),L=null;if(F.length===2){var E=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(F[0]);Array.isArray(E)&&(L={mimeType:E[1],charset:E[2],data:F[1]})}return L},w=e.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"};e.__addimage__.isArrayBuffer=function(R){return w()&&R instanceof ArrayBuffer};var C=e.__addimage__.isArrayBufferView=function(R){return w()&&typeof Uint32Array<"u"&&(R instanceof Int8Array||R instanceof Uint8Array||typeof Uint8ClampedArray<"u"&&R instanceof Uint8ClampedArray||R instanceof Int16Array||R instanceof Uint16Array||R instanceof Int32Array||R instanceof Uint32Array||R instanceof Float32Array||R instanceof Float64Array)},B=e.__addimage__.binaryStringToUint8Array=function(R){for(var F=R.length,L=new Uint8Array(F),E=0;E<F;E++)L[E]=R.charCodeAt(E);return L},O=e.__addimage__.arrayBufferToBinaryString=function(R){for(var F="",L=C(R)?R:new Uint8Array(R),E=0;E<L.length;E+=8192)F+=String.fromCharCode.apply(null,L.subarray(E,E+8192));return F};e.addImage=function(){var R,F,L,E,H,X,z,Z,q;if(typeof arguments[1]=="number"?(F=t,L=arguments[1],E=arguments[2],H=arguments[3],X=arguments[4],z=arguments[5],Z=arguments[6],q=arguments[7]):(F=arguments[1],L=arguments[2],E=arguments[3],H=arguments[4],X=arguments[5],z=arguments[6],Z=arguments[7],q=arguments[8]),dr(R=arguments[0])==="object"&&!c(R)&&"imageData"in R){var te=R;R=te.imageData,F=te.format||F||t,L=te.x||L||0,E=te.y||E||0,H=te.w||te.width||H,X=te.h||te.height||X,z=te.alias||z,Z=te.compression||Z,q=te.rotation||te.angle||q}var ne=this.internal.getFilters();if(Z===void 0&&ne.indexOf("FlateEncode")!==-1&&(Z="SLOW"),isNaN(L)||isNaN(E))throw new Error("Invalid coordinates passed to jsPDF.addImage");a.call(this);var _=x.call(this,R,F,z,Z);return h.call(this,L,E,H,X,_,q),this};var x=function(R,F,L,E){var H,X,z;if(typeof R=="string"&&r(R)===t){R=unescape(R);var Z=M(R,!1);(Z!==""||(Z=e.loadFile(R,!0))!==void 0)&&(R=Z)}if(c(R)&&(R=d(R,F)),F=r(R,F),!l(F))throw new Error("addImage does not support files of type '"+F+"', please ensure that a plugin for '"+F+"' support is added.");if(((z=L)==null||z.length===0)&&(L=function(q){return typeof q=="string"||C(q)?v(q):C(q.data)?v(q.data):null}(R)),(H=f.call(this,L))||(w()&&(R instanceof Uint8Array||F==="RGBA"||(X=R,R=B(R))),H=this["process"+F.toUpperCase()](R,u.call(this),L,function(q){return q&&typeof q=="string"&&(q=q.toUpperCase()),q in e.image_compression?q:p.NONE}(E),X)),!H)throw new Error("An unknown error occurred whilst processing the image.");return H},M=e.__addimage__.convertBase64ToBinaryString=function(R,F){var L;F=typeof F!="boolean"||F;var E,H="";if(typeof R=="string"){E=(L=b(R))!==null?L.data:R;try{H=Bm(E)}catch(X){if(F)throw y(E)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+X.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return H};e.getImageProperties=function(R){var F,L,E="";if(c(R)&&(R=d(R)),typeof R=="string"&&r(R)===t&&((E=M(R,!1))===""&&(E=e.loadFile(R)||""),R=E),L=r(R),!l(L))throw new Error("addImage does not support files of type '"+L+"', please ensure that a plugin for '"+L+"' support is added.");if(!w()||R instanceof Uint8Array||(R=B(R)),!(F=this["process"+L.toUpperCase()](R)))throw new Error("An unknown error occurred whilst processing the image");return F.fileType=L,F}})(gn.API),function(e){var t=function(n){if(n!==void 0&&n!="")return!0};gn.API.events.push(["addPage",function(n){this.internal.getPageInfo(n.pageNumber).pageContext.annotations=[]}]),e.events.push(["putPage",function(n){for(var r,i,o,A=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,s=this.internal.getPageInfoByObjId(n.objId),u=n.pageContext.annotations,l=!1,c=0;c<u.length&&!l;c++)switch((r=u[c]).type){case"link":(t(r.options.url)||t(r.options.pageNumber))&&(l=!0);break;case"reference":case"text":case"freetext":l=!0}if(l!=0){this.internal.write("/Annots [");for(var d=0;d<u.length;d++){r=u[d];var f=this.internal.pdfEscape,g=this.internal.getEncryptor(n.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var h=this.internal.newAdditionalObject(),m=this.internal.newAdditionalObject(),p=this.internal.getEncryptor(h.objId),v=r.title||"Note";o="<</Type /Annot /Subtype /Text "+(i="/Rect ["+A(r.bounds.x)+" "+a(r.bounds.y+r.bounds.h)+" "+A(r.bounds.x+r.bounds.w)+" "+a(r.bounds.y)+"] ")+"/Contents ("+f(p(r.contents))+")",o+=" /Popup "+m.objId+" 0 R",o+=" /P "+s.objId+" 0 R",o+=" /T ("+f(p(v))+") >>",h.content=o;var y=h.objId+" 0 R";o="<</Type /Annot /Subtype /Popup "+(i="/Rect ["+A(r.bounds.x+30)+" "+a(r.bounds.y+r.bounds.h)+" "+A(r.bounds.x+r.bounds.w+30)+" "+a(r.bounds.y)+"] ")+" /Parent "+y,r.open&&(o+=" /Open true"),o+=" >>",m.content=o,this.internal.write(h.objId,"0 R",m.objId,"0 R");break;case"freetext":i="/Rect ["+A(r.bounds.x)+" "+a(r.bounds.y)+" "+A(r.bounds.x+r.bounds.w)+" "+a(r.bounds.y+r.bounds.h)+"] ";var b=r.color||"#000000";o="<</Type /Annot /Subtype /FreeText "+i+"/Contents ("+f(g(r.contents))+")",o+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+b+")",o+=" /Border [0 0 0]",o+=" >>",this.internal.write(o);break;case"link":if(r.options.name){var w=this.annotations._nameMap[r.options.name];r.options.pageNumber=w.page,r.options.top=w.y}else r.options.top||(r.options.top=0);if(i="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",o="",r.options.url)o="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /A <</S /URI /URI ("+f(g(r.options.url))+") >>";else if(r.options.pageNumber)switch(o="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":o+=" /Fit]";break;case"FitH":o+=" /FitH "+r.options.top+"]";break;case"FitV":r.options.left=r.options.left||0,o+=" /FitV "+r.options.left+"]";break;case"XYZ":default:var C=a(r.options.top);r.options.left=r.options.left||0,r.options.zoom===void 0&&(r.options.zoom=0),o+=" /XYZ "+r.options.left+" "+C+" "+r.options.zoom+"]"}o!=""&&(o+=" >>",this.internal.write(o))}}this.internal.write("]")}}]),e.createAnnotation=function(n){var r=this.internal.getCurrentPageInfo();switch(n.type){case"link":this.link(n.bounds.x,n.bounds.y,n.bounds.w,n.bounds.h,n);break;case"text":case"freetext":r.pageContext.annotations.push(n)}},e.link=function(n,r,i,o,A){var a=this.internal.getCurrentPageInfo(),s=this.internal.getCoordinateString,u=this.internal.getVerticalCoordinateString;a.pageContext.annotations.push({finalBounds:{x:s(n),y:u(r),w:s(n+i),h:u(r+o)},options:A,type:"link"})},e.textWithLink=function(n,r,i,o){var A,a,s=this.getTextWidth(n),u=this.internal.getLineHeight()/this.internal.scaleFactor;if(o.maxWidth!==void 0){a=o.maxWidth;var l=this.splitTextToSize(n,a).length;A=Math.ceil(u*l)}else a=s,A=u;return this.text(n,r,i,o),i+=.2*u,o.align==="center"&&(r-=s/2),o.align==="right"&&(r-=s),this.link(r,i-u,a,A,o),s},e.getTextWidth=function(n){var r=this.internal.getFontSize();return this.getStringUnitWidth(n)*r/this.internal.scaleFactor}}(gn.API),function(e){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},n={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];e.__arabicParser__={};var o=e.__arabicParser__.isInArabicSubstitutionA=function(h){return t[h.charCodeAt(0)]!==void 0},A=e.__arabicParser__.isArabicLetter=function(h){return typeof h=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(h)},a=e.__arabicParser__.isArabicEndLetter=function(h){return A(h)&&o(h)&&t[h.charCodeAt(0)].length<=2},s=e.__arabicParser__.isArabicAlfLetter=function(h){return A(h)&&i.indexOf(h.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(h){return A(h)&&o(h)&&t[h.charCodeAt(0)].length>=1};var u=e.__arabicParser__.arabicLetterHasFinalForm=function(h){return A(h)&&o(h)&&t[h.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(h){return A(h)&&o(h)&&t[h.charCodeAt(0)].length>=3};var l=e.__arabicParser__.arabicLetterHasMedialForm=function(h){return A(h)&&o(h)&&t[h.charCodeAt(0)].length==4},c=e.__arabicParser__.resolveLigatures=function(h){var m=0,p=n,v="",y=0;for(m=0;m<h.length;m+=1)p[h.charCodeAt(m)]!==void 0?(y++,typeof(p=p[h.charCodeAt(m)])=="number"&&(v+=String.fromCharCode(p),p=n,y=0),m===h.length-1&&(p=n,v+=h.charAt(m-(y-1)),m-=y-1,y=0)):(p=n,v+=h.charAt(m-y),m-=y,y=0);return v};e.__arabicParser__.isArabicDiacritic=function(h){return h!==void 0&&r[h.charCodeAt(0)]!==void 0};var d=e.__arabicParser__.getCorrectForm=function(h,m,p){return A(h)?o(h)===!1?-1:!u(h)||!A(m)&&!A(p)||!A(p)&&a(m)||a(h)&&!A(m)||a(h)&&s(m)||a(h)&&a(m)?0:l(h)&&A(m)&&!a(m)&&A(p)&&u(p)?3:a(h)||!A(p)?1:2:-1},f=function(h){var m=0,p=0,v=0,y="",b="",w="",C=(h=h||"").split("\\s+"),B=[];for(m=0;m<C.length;m+=1){for(B.push(""),p=0;p<C[m].length;p+=1)y=C[m][p],b=C[m][p-1],w=C[m][p+1],A(y)?(v=d(y,b,w),B[m]+=v!==-1?String.fromCharCode(t[y.charCodeAt(0)][v]):y):B[m]+=y;B[m]=c(B[m])}return B.join(" ")},g=e.__arabicParser__.processArabic=e.processArabic=function(){var h,m=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,p=[];if(Array.isArray(m)){var v=0;for(p=[],v=0;v<m.length;v+=1)Array.isArray(m[v])?p.push([f(m[v][0]),m[v][1],m[v][2]]):p.push([f(m[v])]);h=p}else h=f(m);return typeof arguments[0]=="string"?h:(arguments[0].text=h,arguments[0])};e.events.push(["preProcessText",g])}(gn.API),gn.API.autoPrint=function(e){var t;switch((e=e||{}).variant=e.variant||"non-conform",e.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+t+" 0 R")})}return this},function(e){var t=function(){var n=void 0;Object.defineProperty(this,"pdf",{get:function(){return n},set:function(a){n=a}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(a){r=isNaN(a)||Number.isInteger(a)===!1||a<0?150:a,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var i=300;Object.defineProperty(this,"height",{get:function(){return i},set:function(a){i=isNaN(a)||Number.isInteger(a)===!1||a<0?300:a,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=i+1)}});var o=[];Object.defineProperty(this,"childNodes",{get:function(){return o},set:function(a){o=a}});var A={};Object.defineProperty(this,"style",{get:function(){return A},set:function(a){A=a}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(n,r){var i;if((n=n||"2d")!=="2d")return null;for(i in r)this.pdf.context2d.hasOwnProperty(i)&&(this.pdf.context2d[i]=r[i]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(gn.API),function(e){var t={left:0,top:0,bottom:0,right:0},n=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new o,this.internal.__cell__.pages=1},o=function(){var s=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return s},set:function(h){s=h}});var u=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return u},set:function(h){u=h}});var l=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return l},set:function(h){l=h}});var c=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return c},set:function(h){c=h}});var d=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return d},set:function(h){d=h}});var f=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return f},set:function(h){f=h}});var g=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return g},set:function(h){g=h}}),this};o.prototype.clone=function(){return new o(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},o.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(s){return r.call(this),this.internal.__cell__.headerFunction=typeof s=="function"?s:void 0,this},e.getTextDimensions=function(s,u){r.call(this);var l=(u=u||{}).fontSize||this.getFontSize(),c=u.font||this.getFont(),d=u.scaleFactor||this.internal.scaleFactor,f=0,g=0,h=0,m=this;if(!Array.isArray(s)&&typeof s!="string"){if(typeof s!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");s=String(s)}var p=u.maxWidth;p>0?typeof s=="string"?s=this.splitTextToSize(s,p):Object.prototype.toString.call(s)==="[object Array]"&&(s=s.reduce(function(y,b){return y.concat(m.splitTextToSize(b,p))},[])):s=Array.isArray(s)?s:[s];for(var v=0;v<s.length;v++)f<(h=this.getStringUnitWidth(s[v],{font:c})*l)&&(f=h);return f!==0&&(g=s.length),{w:f/=d,h:Math.max((g*l*this.getLineHeightFactor()-l*(this.getLineHeightFactor()-1))/d,0)}},e.cellAddPage=function(){r.call(this),this.addPage();var s=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new o(s.left,s.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var A=e.cell=function(){var s;s=arguments[0]instanceof o?arguments[0]:new o(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),r.call(this);var u=this.internal.__cell__.lastCell,l=this.internal.__cell__.padding,c=this.internal.__cell__.margins||t,d=this.internal.__cell__.tableHeaderRow,f=this.internal.__cell__.printHeaders;return u.lineNumber!==void 0&&(u.lineNumber===s.lineNumber?(s.x=(u.x||0)+(u.width||0),s.y=u.y||0):u.y+u.height+s.height+c.bottom>this.getPageHeight()?(this.cellAddPage(),s.y=c.top,f&&d&&(this.printHeaderRow(s.lineNumber,!0),s.y+=d[0].height)):s.y=u.y+u.height||s.y),s.text[0]!==void 0&&(this.rect(s.x,s.y,s.width,s.height,n===!0?"FD":void 0),s.align==="right"?this.text(s.text,s.x+s.width-l,s.y+l,{align:"right",baseline:"top"}):s.align==="center"?this.text(s.text,s.x+s.width/2,s.y+l,{align:"center",baseline:"top",maxWidth:s.width-l-l}):this.text(s.text,s.x+l,s.y+l,{align:"left",baseline:"top",maxWidth:s.width-l-l})),this.internal.__cell__.lastCell=s,this};e.table=function(s,u,l,c,d){if(r.call(this),!l)throw new Error("No data for PDF table.");var f,g,h,m,p=[],v=[],y=[],b={},w={},C=[],B=[],O=(d=d||{}).autoSize||!1,x=d.printHeaders!==!1,M=d.css&&d.css["font-size"]!==void 0?16*d.css["font-size"]:d.fontSize||12,R=d.margins||Object.assign({width:this.getPageWidth()},t),F=typeof d.padding=="number"?d.padding:3,L=d.headerBackgroundColor||"#c8c8c8",E=d.headerTextColor||"#000";if(i.call(this),this.internal.__cell__.printHeaders=x,this.internal.__cell__.margins=R,this.internal.__cell__.table_font_size=M,this.internal.__cell__.padding=F,this.internal.__cell__.headerBackgroundColor=L,this.internal.__cell__.headerTextColor=E,this.setFontSize(M),c==null)v=p=Object.keys(l[0]),y=p.map(function(){return"left"});else if(Array.isArray(c)&&dr(c[0])==="object")for(p=c.map(function(te){return te.name}),v=c.map(function(te){return te.prompt||te.name||""}),y=c.map(function(te){return te.align||"left"}),f=0;f<c.length;f+=1)w[c[f].name]=c[f].width*(19.049976/25.4);else Array.isArray(c)&&typeof c[0]=="string"&&(v=p=c,y=p.map(function(){return"left"}));if(O||Array.isArray(c)&&typeof c[0]=="string")for(f=0;f<p.length;f+=1){for(b[m=p[f]]=l.map(function(te){return te[m]}),this.setFont(void 0,"bold"),C.push(this.getTextDimensions(v[f],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),g=b[m],this.setFont(void 0,"normal"),h=0;h<g.length;h+=1)C.push(this.getTextDimensions(g[h],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);w[m]=Math.max.apply(null,C)+F+F,C=[]}if(x){var H={};for(f=0;f<p.length;f+=1)H[p[f]]={},H[p[f]].text=v[f],H[p[f]].align=y[f];var X=a.call(this,H,w);B=p.map(function(te){return new o(s,u,w[te],X,H[te].text,void 0,H[te].align)}),this.setTableHeaderRow(B),this.printHeaderRow(1,!1)}var z=c.reduce(function(te,ne){return te[ne.name]=ne.align,te},{});for(f=0;f<l.length;f+=1){"rowStart"in d&&d.rowStart instanceof Function&&d.rowStart({row:f,data:l[f]},this);var Z=a.call(this,l[f],w);for(h=0;h<p.length;h+=1){var q=l[f][p[h]];"cellStart"in d&&d.cellStart instanceof Function&&d.cellStart({row:f,col:h,data:q},this),A.call(this,new o(s,u,w[p[h]],Z,q,f+2,z[p[h]]))}}return this.internal.__cell__.table_x=s,this.internal.__cell__.table_y=u,this};var a=function(s,u){var l=this.internal.__cell__.padding,c=this.internal.__cell__.table_font_size,d=this.internal.scaleFactor;return Object.keys(s).map(function(f){var g=s[f];return this.splitTextToSize(g.hasOwnProperty("text")?g.text:g,u[f]-l-l)},this).map(function(f){return this.getLineHeightFactor()*f.length*c/d+l+l},this).reduce(function(f,g){return Math.max(f,g)},0)};e.setTableHeaderRow=function(s){r.call(this),this.internal.__cell__.tableHeaderRow=s},e.printHeaderRow=function(s,u){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var l;if(n=!0,typeof this.internal.__cell__.headerFunction=="function"){var c=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new o(c[0],c[1],c[2],c[3],void 0,-1)}this.setFont(void 0,"bold");for(var d=[],f=0;f<this.internal.__cell__.tableHeaderRow.length;f+=1){l=this.internal.__cell__.tableHeaderRow[f].clone(),u&&(l.y=this.internal.__cell__.margins.top||0,d.push(l)),l.lineNumber=s;var g=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),A.call(this,l),this.setTextColor(g)}d.length>0&&this.setTableHeaderRow(d),this.setFont(void 0,"normal"),n=!1}}(gn.API);var GJ={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},WJ=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],v_=zJ(WJ),qJ=[100,200,300,400,500,600,700,800,900],wTe=zJ(qJ);function y_(e){var t=e.family.replace(/"|'/g,"").toLowerCase(),n=function(o){return GJ[o=o||"normal"]?o:"normal"}(e.style),r=function(o){if(!o)return 400;if(typeof o=="number")return o>=100&&o<=900&&o%100==0?o:400;if(/^\d00$/.test(o))return parseInt(o);switch(o){case"bold":return 700;case"normal":default:return 400}}(e.weight),i=function(o){return typeof v_[o=o||"normal"]=="number"?o:"normal"}(e.stretch);return{family:t,style:n,weight:r,stretch:i,src:e.src||[],ref:e.ref||{name:t,style:[i,n,r].join(" ")}}}function bN(e,t,n,r){var i;for(i=n;i>=0&&i<t.length;i+=r)if(e[t[i]])return e[t[i]];for(i=n;i>=0&&i<t.length;i-=r)if(e[t[i]])return e[t[i]]}var BTe={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},wN={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function BN(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function CTe(e,t,n){for(var r=(n=n||{}).defaultFontFamily||"times",i=Object.assign({},BTe,n.genericFontFamilies||{}),o=null,A=null,a=0;a<t.length;++a)if(i[(o=y_(t[a])).family]&&(o.family=i[o.family]),e.hasOwnProperty(o.family)){A=e[o.family];break}if(!(A=A||e[r]))throw new Error("Could not find a font-family for the rule '"+BN(o)+"' and default family '"+r+"'.");if(A=function(s,u){if(u[s])return u[s];var l=v_[s],c=l<=v_.normal?-1:1,d=bN(u,WJ,l,c);if(!d)throw new Error("Could not find a matching font-stretch value for "+s);return d}(o.stretch,A),A=function(s,u){if(u[s])return u[s];for(var l=GJ[s],c=0;c<l.length;++c)if(u[l[c]])return u[l[c]];throw new Error("Could not find a matching font-style for "+s)}(o.style,A),!(A=function(s,u){if(u[s])return u[s];if(s===400&&u[500])return u[500];if(s===500&&u[400])return u[400];var l=wTe[s],c=bN(u,qJ,l,s<400?-1:1);if(!c)throw new Error("Could not find a matching font-weight for value "+s);return c}(o.weight,A)))throw new Error("Failed to resolve a font for the rule '"+BN(o)+"'.");return A}function CN(e){return e.trimLeft()}function xTe(e,t){for(var n=0;n<e.length;){if(e.charAt(n)===t)return[e.substring(0,n),e.substring(n+1)];n+=1}return null}function STe(e){var t=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return t===null?null:[t[0],e.substring(t[0].length)]}var vy,xN,SN,US=["times"];(function(e){var t,n,r,i,o,A,a,s,u,l=function(_){return _=_||{},this.isStrokeTransparent=_.isStrokeTransparent||!1,this.strokeOpacity=_.strokeOpacity||1,this.strokeStyle=_.strokeStyle||"#000000",this.fillStyle=_.fillStyle||"#000000",this.isFillTransparent=_.isFillTransparent||!1,this.fillOpacity=_.fillOpacity||1,this.font=_.font||"10px sans-serif",this.textBaseline=_.textBaseline||"alphabetic",this.textAlign=_.textAlign||"left",this.lineWidth=_.lineWidth||1,this.lineJoin=_.lineJoin||"miter",this.lineCap=_.lineCap||"butt",this.path=_.path||[],this.transform=_.transform!==void 0?_.transform.clone():new s,this.globalCompositeOperation=_.globalCompositeOperation||"normal",this.globalAlpha=_.globalAlpha||1,this.clip_path=_.clip_path||[],this.currentPoint=_.currentPoint||new A,this.miterLimit=_.miterLimit||10,this.lastPoint=_.lastPoint||new A,this.lineDashOffset=_.lineDashOffset||0,this.lineDash=_.lineDash||[],this.margin=_.margin||[0,0,0,0],this.prevPageLastElemOffset=_.prevPageLastElemOffset||0,this.ignoreClearRect=typeof _.ignoreClearRect!="boolean"||_.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new c(this),t=this.internal.f2,n=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,i=this.internal.getHorizontalCoordinate,o=this.internal.getVerticalCoordinate,A=this.internal.Point,a=this.internal.Rectangle,s=this.internal.Matrix,u=new l}]);var c=function(_){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var Y=_;Object.defineProperty(this,"pdf",{get:function(){return Y}});var re=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return re},set:function(pe){re=!!pe}});var se=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return se},set:function(pe){se=!!pe}});var ce=0;Object.defineProperty(this,"posX",{get:function(){return ce},set:function(pe){isNaN(pe)||(ce=pe)}});var N=0;Object.defineProperty(this,"posY",{get:function(){return N},set:function(pe){isNaN(pe)||(N=pe)}}),Object.defineProperty(this,"margin",{get:function(){return u.margin},set:function(pe){var k;typeof pe=="number"?k=[pe,pe,pe,pe]:((k=new Array(4))[0]=pe[0],k[1]=pe.length>=2?pe[1]:k[0],k[2]=pe.length>=3?pe[2]:k[0],k[3]=pe.length>=4?pe[3]:k[1]),u.margin=k}});var K=!1;Object.defineProperty(this,"autoPaging",{get:function(){return K},set:function(pe){K=pe}});var Ae=0;Object.defineProperty(this,"lastBreak",{get:function(){return Ae},set:function(pe){Ae=pe}});var ae=[];Object.defineProperty(this,"pageBreaks",{get:function(){return ae},set:function(pe){ae=pe}}),Object.defineProperty(this,"ctx",{get:function(){return u},set:function(pe){pe instanceof l&&(u=pe)}}),Object.defineProperty(this,"path",{get:function(){return u.path},set:function(pe){u.path=pe}});var ie=[];Object.defineProperty(this,"ctxStack",{get:function(){return ie},set:function(pe){ie=pe}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(pe){var k;k=d(pe),this.ctx.fillStyle=k.style,this.ctx.isFillTransparent=k.a===0,this.ctx.fillOpacity=k.a,this.pdf.setFillColor(k.r,k.g,k.b,{a:k.a}),this.pdf.setTextColor(k.r,k.g,k.b,{a:k.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(pe){var k=d(pe);this.ctx.strokeStyle=k.style,this.ctx.isStrokeTransparent=k.a===0,this.ctx.strokeOpacity=k.a,k.a===0?this.pdf.setDrawColor(255,255,255):(k.a,this.pdf.setDrawColor(k.r,k.g,k.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(pe){["butt","round","square"].indexOf(pe)!==-1&&(this.ctx.lineCap=pe,this.pdf.setLineCap(pe))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(pe){isNaN(pe)||(this.ctx.lineWidth=pe,this.pdf.setLineWidth(pe))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(pe){["bevel","round","miter"].indexOf(pe)!==-1&&(this.ctx.lineJoin=pe,this.pdf.setLineJoin(pe))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(pe){isNaN(pe)||(this.ctx.miterLimit=pe,this.pdf.setMiterLimit(pe))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(pe){this.ctx.textBaseline=pe}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(pe){["right","end","center","left","start"].indexOf(pe)!==-1&&(this.ctx.textAlign=pe)}});var J=null;function ue(pe,k){if(J===null){var P=function(U){var W=[];return Object.keys(U).forEach(function(de){U[de].forEach(function(me){var ve=null;switch(me){case"bold":ve={family:de,weight:"bold"};break;case"italic":ve={family:de,style:"italic"};break;case"bolditalic":ve={family:de,weight:"bold",style:"italic"};break;case"":case"normal":ve={family:de}}ve!==null&&(ve.ref={name:de,style:me},W.push(ve))})}),W}(pe.getFontList());J=function(U){for(var W={},de=0;de<U.length;++de){var me=y_(U[de]),ve=me.family,be=me.stretch,Te=me.style,we=me.weight;W[ve]=W[ve]||{},W[ve][be]=W[ve][be]||{},W[ve][be][Te]=W[ve][be][Te]||{},W[ve][be][Te][we]=me}return W}(P.concat(k))}return J}var G=null;Object.defineProperty(this,"fontFaces",{get:function(){return G},set:function(pe){J=null,G=pe}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(pe){var k;if(this.ctx.font=pe,(k=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(pe))!==null){var P=k[1],U=(k[2],k[3]),W=k[4],de=(k[5],k[6]),me=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(W)[2];W=Math.floor(me==="px"?parseFloat(W)*this.pdf.internal.scaleFactor:me==="em"?parseFloat(W)*this.pdf.getFontSize():parseFloat(W)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(W);var ve=function(et){var De,_e,Re=[],Ne=et.trim();if(Ne==="")return US;if(Ne in wN)return[wN[Ne]];for(;Ne!=="";){switch(_e=null,De=(Ne=CN(Ne)).charAt(0)){case'"':case"'":_e=xTe(Ne.substring(1),De);break;default:_e=STe(Ne)}if(_e===null||(Re.push(_e[0]),(Ne=CN(_e[1]))!==""&&Ne.charAt(0)!==","))return US;Ne=Ne.replace(/^,/,"")}return Re}(de);if(this.fontFaces){var be=CTe(ue(this.pdf,this.fontFaces),ve.map(function(et){return{family:et,stretch:"normal",weight:U,style:P}}));this.pdf.setFont(be.ref.name,be.ref.style)}else{var Te="";(U==="bold"||parseInt(U,10)>=700||P==="bold")&&(Te="bold"),P==="italic"&&(Te+="italic"),Te.length===0&&(Te="normal");for(var we="",xe={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Ue=0;Ue<ve.length;Ue++){if(this.pdf.internal.getFont(ve[Ue],Te,{noFallback:!0,disableWarning:!0})!==void 0){we=ve[Ue];break}if(Te==="bolditalic"&&this.pdf.internal.getFont(ve[Ue],"bold",{noFallback:!0,disableWarning:!0})!==void 0)we=ve[Ue],Te="bold";else if(this.pdf.internal.getFont(ve[Ue],"normal",{noFallback:!0,disableWarning:!0})!==void 0){we=ve[Ue],Te="normal";break}}if(we===""){for(var ke=0;ke<ve.length;ke++)if(xe[ve[ke]]){we=xe[ve[ke]];break}}we=we===""?"Times":we,this.pdf.setFont(we,Te)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(pe){this.ctx.globalCompositeOperation=pe}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(pe){this.ctx.globalAlpha=pe}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(pe){this.ctx.lineDashOffset=pe,ne.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(pe){this.ctx.lineDash=pe,ne.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(pe){this.ctx.ignoreClearRect=!!pe}})};c.prototype.setLineDash=function(_){this.lineDash=_},c.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},c.prototype.fill=function(){b.call(this,"fill",!1)},c.prototype.stroke=function(){b.call(this,"stroke",!1)},c.prototype.beginPath=function(){this.path=[{type:"begin"}]},c.prototype.moveTo=function(_,Y){if(isNaN(_)||isNaN(Y))throw Mr.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var re=this.ctx.transform.applyToPoint(new A(_,Y));this.path.push({type:"mt",x:re.x,y:re.y}),this.ctx.lastPoint=new A(_,Y)},c.prototype.closePath=function(){var _=new A(0,0),Y=0;for(Y=this.path.length-1;Y!==-1;Y--)if(this.path[Y].type==="begin"&&dr(this.path[Y+1])==="object"&&typeof this.path[Y+1].x=="number"){_=new A(this.path[Y+1].x,this.path[Y+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new A(_.x,_.y)},c.prototype.lineTo=function(_,Y){if(isNaN(_)||isNaN(Y))throw Mr.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var re=this.ctx.transform.applyToPoint(new A(_,Y));this.path.push({type:"lt",x:re.x,y:re.y}),this.ctx.lastPoint=new A(re.x,re.y)},c.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),b.call(this,null,!0)},c.prototype.quadraticCurveTo=function(_,Y,re,se){if(isNaN(re)||isNaN(se)||isNaN(_)||isNaN(Y))throw Mr.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var ce=this.ctx.transform.applyToPoint(new A(re,se)),N=this.ctx.transform.applyToPoint(new A(_,Y));this.path.push({type:"qct",x1:N.x,y1:N.y,x:ce.x,y:ce.y}),this.ctx.lastPoint=new A(ce.x,ce.y)},c.prototype.bezierCurveTo=function(_,Y,re,se,ce,N){if(isNaN(ce)||isNaN(N)||isNaN(_)||isNaN(Y)||isNaN(re)||isNaN(se))throw Mr.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var K=this.ctx.transform.applyToPoint(new A(ce,N)),Ae=this.ctx.transform.applyToPoint(new A(_,Y)),ae=this.ctx.transform.applyToPoint(new A(re,se));this.path.push({type:"bct",x1:Ae.x,y1:Ae.y,x2:ae.x,y2:ae.y,x:K.x,y:K.y}),this.ctx.lastPoint=new A(K.x,K.y)},c.prototype.arc=function(_,Y,re,se,ce,N){if(isNaN(_)||isNaN(Y)||isNaN(re)||isNaN(se)||isNaN(ce))throw Mr.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(N=!!N,!this.ctx.transform.isIdentity){var K=this.ctx.transform.applyToPoint(new A(_,Y));_=K.x,Y=K.y;var Ae=this.ctx.transform.applyToPoint(new A(0,re)),ae=this.ctx.transform.applyToPoint(new A(0,0));re=Math.sqrt(Math.pow(Ae.x-ae.x,2)+Math.pow(Ae.y-ae.y,2))}Math.abs(ce-se)>=2*Math.PI&&(se=0,ce=2*Math.PI),this.path.push({type:"arc",x:_,y:Y,radius:re,startAngle:se,endAngle:ce,counterclockwise:N})},c.prototype.arcTo=function(_,Y,re,se,ce){throw new Error("arcTo not implemented.")},c.prototype.rect=function(_,Y,re,se){if(isNaN(_)||isNaN(Y)||isNaN(re)||isNaN(se))throw Mr.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(_,Y),this.lineTo(_+re,Y),this.lineTo(_+re,Y+se),this.lineTo(_,Y+se),this.lineTo(_,Y),this.lineTo(_+re,Y),this.lineTo(_,Y)},c.prototype.fillRect=function(_,Y,re,se){if(isNaN(_)||isNaN(Y)||isNaN(re)||isNaN(se))throw Mr.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!f.call(this)){var ce={};this.lineCap!=="butt"&&(ce.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(ce.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(_,Y,re,se),this.fill(),ce.hasOwnProperty("lineCap")&&(this.lineCap=ce.lineCap),ce.hasOwnProperty("lineJoin")&&(this.lineJoin=ce.lineJoin)}},c.prototype.strokeRect=function(_,Y,re,se){if(isNaN(_)||isNaN(Y)||isNaN(re)||isNaN(se))throw Mr.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");g.call(this)||(this.beginPath(),this.rect(_,Y,re,se),this.stroke())},c.prototype.clearRect=function(_,Y,re,se){if(isNaN(_)||isNaN(Y)||isNaN(re)||isNaN(se))throw Mr.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(_,Y,re,se))},c.prototype.save=function(_){_=typeof _!="boolean"||_;for(var Y=this.pdf.internal.getCurrentPageInfo().pageNumber,re=0;re<this.pdf.internal.getNumberOfPages();re++)this.pdf.setPage(re+1),this.pdf.internal.out("q");if(this.pdf.setPage(Y),_){this.ctx.fontSize=this.pdf.internal.getFontSize();var se=new l(this.ctx);this.ctxStack.push(this.ctx),this.ctx=se}},c.prototype.restore=function(_){_=typeof _!="boolean"||_;for(var Y=this.pdf.internal.getCurrentPageInfo().pageNumber,re=0;re<this.pdf.internal.getNumberOfPages();re++)this.pdf.setPage(re+1),this.pdf.internal.out("Q");this.pdf.setPage(Y),_&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},c.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var d=function(_){var Y,re,se,ce;if(_.isCanvasGradient===!0&&(_=_.getColor()),!_)return{r:0,g:0,b:0,a:0,style:_};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(_))Y=0,re=0,se=0,ce=0;else{var N=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(_);if(N!==null)Y=parseInt(N[1]),re=parseInt(N[2]),se=parseInt(N[3]),ce=1;else if((N=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(_))!==null)Y=parseInt(N[1]),re=parseInt(N[2]),se=parseInt(N[3]),ce=parseFloat(N[4]);else{if(ce=1,typeof _=="string"&&_.charAt(0)!=="#"){var K=new HJ(_);_=K.ok?K.toHex():"#000000"}_.length===4?(Y=_.substring(1,2),Y+=Y,re=_.substring(2,3),re+=re,se=_.substring(3,4),se+=se):(Y=_.substring(1,3),re=_.substring(3,5),se=_.substring(5,7)),Y=parseInt(Y,16),re=parseInt(re,16),se=parseInt(se,16)}}return{r:Y,g:re,b:se,a:ce,style:_}},f=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},g=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};c.prototype.fillText=function(_,Y,re,se){if(isNaN(Y)||isNaN(re)||typeof _!="string")throw Mr.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(se=isNaN(se)?void 0:se,!f.call(this)){var ce=Z(this.ctx.transform.rotation),N=this.ctx.transform.scaleX;F.call(this,{text:_,x:Y,y:re,scale:N,angle:ce,align:this.textAlign,maxWidth:se})}},c.prototype.strokeText=function(_,Y,re,se){if(isNaN(Y)||isNaN(re)||typeof _!="string")throw Mr.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!g.call(this)){se=isNaN(se)?void 0:se;var ce=Z(this.ctx.transform.rotation),N=this.ctx.transform.scaleX;F.call(this,{text:_,x:Y,y:re,scale:N,renderingMode:"stroke",angle:ce,align:this.textAlign,maxWidth:se})}},c.prototype.measureText=function(_){if(typeof _!="string")throw Mr.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var Y=this.pdf,re=this.pdf.internal.scaleFactor,se=Y.internal.getFontSize(),ce=Y.getStringUnitWidth(_)*se/Y.internal.scaleFactor,N=function(K){var Ae=(K=K||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return Ae}}),this};return new N({width:ce*=Math.round(96*re/72*1e4)/1e4})},c.prototype.scale=function(_,Y){if(isNaN(_)||isNaN(Y))throw Mr.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var re=new s(_,0,0,Y,0,0);this.ctx.transform=this.ctx.transform.multiply(re)},c.prototype.rotate=function(_){if(isNaN(_))throw Mr.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var Y=new s(Math.cos(_),Math.sin(_),-Math.sin(_),Math.cos(_),0,0);this.ctx.transform=this.ctx.transform.multiply(Y)},c.prototype.translate=function(_,Y){if(isNaN(_)||isNaN(Y))throw Mr.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var re=new s(1,0,0,1,_,Y);this.ctx.transform=this.ctx.transform.multiply(re)},c.prototype.transform=function(_,Y,re,se,ce,N){if(isNaN(_)||isNaN(Y)||isNaN(re)||isNaN(se)||isNaN(ce)||isNaN(N))throw Mr.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var K=new s(_,Y,re,se,ce,N);this.ctx.transform=this.ctx.transform.multiply(K)},c.prototype.setTransform=function(_,Y,re,se,ce,N){_=isNaN(_)?1:_,Y=isNaN(Y)?0:Y,re=isNaN(re)?0:re,se=isNaN(se)?1:se,ce=isNaN(ce)?0:ce,N=isNaN(N)?0:N,this.ctx.transform=new s(_,Y,re,se,ce,N)};var h=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};c.prototype.drawImage=function(_,Y,re,se,ce,N,K,Ae,ae){var ie=this.pdf.getImageProperties(_),J=1,ue=1,G=1,pe=1;se!==void 0&&Ae!==void 0&&(G=Ae/se,pe=ae/ce,J=ie.width/se*Ae/se,ue=ie.height/ce*ae/ce),N===void 0&&(N=Y,K=re,Y=0,re=0),se!==void 0&&Ae===void 0&&(Ae=se,ae=ce),se===void 0&&Ae===void 0&&(Ae=ie.width,ae=ie.height);for(var k,P=this.ctx.transform.decompose(),U=Z(P.rotate.shx),W=new s,de=(W=(W=(W=W.multiply(P.translate)).multiply(P.skew)).multiply(P.scale)).applyToRectangle(new a(N-Y*G,K-re*pe,se*J,ce*ue)),me=m.call(this,de),ve=[],be=0;be<me.length;be+=1)ve.indexOf(me[be])===-1&&ve.push(me[be]);if(y(ve),this.autoPaging)for(var Te=ve[0],we=ve[ve.length-1],xe=Te;xe<we+1;xe++){this.pdf.setPage(xe);var Ue=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],ke=xe===1?this.posY+this.margin[0]:this.margin[0],et=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],De=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],_e=xe===1?0:et+(xe-2)*De;if(this.ctx.clip_path.length!==0){var Re=this.path;k=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=v(k,this.posX+this.margin[3],-_e+ke+this.ctx.prevPageLastElemOffset),w.call(this,"fill",!0),this.path=Re}var Ne=JSON.parse(JSON.stringify(de));Ne=v([Ne],this.posX+this.margin[3],-_e+ke+this.ctx.prevPageLastElemOffset)[0];var ot=(xe>Te||xe<we)&&h.call(this);ot&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Ue,De,null).clip().discardPath()),this.pdf.addImage(_,"JPEG",Ne.x,Ne.y,Ne.w,Ne.h,null,null,U),ot&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(_,"JPEG",de.x,de.y,de.w,de.h,null,null,U)};var m=function(_,Y,re){var se=[];Y=Y||this.pdf.internal.pageSize.width,re=re||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var ce=this.posY+this.ctx.prevPageLastElemOffset;switch(_.type){default:case"mt":case"lt":se.push(Math.floor((_.y+ce)/re)+1);break;case"arc":se.push(Math.floor((_.y+ce-_.radius)/re)+1),se.push(Math.floor((_.y+ce+_.radius)/re)+1);break;case"qct":var N=q(this.ctx.lastPoint.x,this.ctx.lastPoint.y,_.x1,_.y1,_.x,_.y);se.push(Math.floor((N.y+ce)/re)+1),se.push(Math.floor((N.y+N.h+ce)/re)+1);break;case"bct":var K=te(this.ctx.lastPoint.x,this.ctx.lastPoint.y,_.x1,_.y1,_.x2,_.y2,_.x,_.y);se.push(Math.floor((K.y+ce)/re)+1),se.push(Math.floor((K.y+K.h+ce)/re)+1);break;case"rect":se.push(Math.floor((_.y+ce)/re)+1),se.push(Math.floor((_.y+_.h+ce)/re)+1)}for(var Ae=0;Ae<se.length;Ae+=1)for(;this.pdf.internal.getNumberOfPages()<se[Ae];)p.call(this);return se},p=function(){var _=this.fillStyle,Y=this.strokeStyle,re=this.font,se=this.lineCap,ce=this.lineWidth,N=this.lineJoin;this.pdf.addPage(),this.fillStyle=_,this.strokeStyle=Y,this.font=re,this.lineCap=se,this.lineWidth=ce,this.lineJoin=N},v=function(_,Y,re){for(var se=0;se<_.length;se++)switch(_[se].type){case"bct":_[se].x2+=Y,_[se].y2+=re;case"qct":_[se].x1+=Y,_[se].y1+=re;case"mt":case"lt":case"arc":default:_[se].x+=Y,_[se].y+=re}return _},y=function(_){return _.sort(function(Y,re){return Y-re})},b=function(_,Y){for(var re,se,ce=this.fillStyle,N=this.strokeStyle,K=this.lineCap,Ae=this.lineWidth,ae=Math.abs(Ae*this.ctx.transform.scaleX),ie=this.lineJoin,J=JSON.parse(JSON.stringify(this.path)),ue=JSON.parse(JSON.stringify(this.path)),G=[],pe=0;pe<ue.length;pe++)if(ue[pe].x!==void 0)for(var k=m.call(this,ue[pe]),P=0;P<k.length;P+=1)G.indexOf(k[P])===-1&&G.push(k[P]);for(var U=0;U<G.length;U++)for(;this.pdf.internal.getNumberOfPages()<G[U];)p.call(this);if(y(G),this.autoPaging)for(var W=G[0],de=G[G.length-1],me=W;me<de+1;me++){this.pdf.setPage(me),this.fillStyle=ce,this.strokeStyle=N,this.lineCap=K,this.lineWidth=ae,this.lineJoin=ie;var ve=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],be=me===1?this.posY+this.margin[0]:this.margin[0],Te=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],we=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],xe=me===1?0:Te+(me-2)*we;if(this.ctx.clip_path.length!==0){var Ue=this.path;re=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=v(re,this.posX+this.margin[3],-xe+be+this.ctx.prevPageLastElemOffset),w.call(this,_,!0),this.path=Ue}if(se=JSON.parse(JSON.stringify(J)),this.path=v(se,this.posX+this.margin[3],-xe+be+this.ctx.prevPageLastElemOffset),Y===!1||me===0){var ke=(me>W||me<de)&&h.call(this);ke&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ve,we,null).clip().discardPath()),w.call(this,_,Y),ke&&this.pdf.restoreGraphicsState()}this.lineWidth=Ae}else this.lineWidth=ae,w.call(this,_,Y),this.lineWidth=Ae;this.path=J},w=function(_,Y){if((_!=="stroke"||Y||!g.call(this))&&(_==="stroke"||Y||!f.call(this))){for(var re,se,ce=[],N=this.path,K=0;K<N.length;K++){var Ae=N[K];switch(Ae.type){case"begin":ce.push({begin:!0});break;case"close":ce.push({close:!0});break;case"mt":ce.push({start:Ae,deltas:[],abs:[]});break;case"lt":var ae=ce.length;if(N[K-1]&&!isNaN(N[K-1].x)&&(re=[Ae.x-N[K-1].x,Ae.y-N[K-1].y],ae>0)){for(;ae>=0;ae--)if(ce[ae-1].close!==!0&&ce[ae-1].begin!==!0){ce[ae-1].deltas.push(re),ce[ae-1].abs.push(Ae);break}}break;case"bct":re=[Ae.x1-N[K-1].x,Ae.y1-N[K-1].y,Ae.x2-N[K-1].x,Ae.y2-N[K-1].y,Ae.x-N[K-1].x,Ae.y-N[K-1].y],ce[ce.length-1].deltas.push(re);break;case"qct":var ie=N[K-1].x+2/3*(Ae.x1-N[K-1].x),J=N[K-1].y+2/3*(Ae.y1-N[K-1].y),ue=Ae.x+2/3*(Ae.x1-Ae.x),G=Ae.y+2/3*(Ae.y1-Ae.y),pe=Ae.x,k=Ae.y;re=[ie-N[K-1].x,J-N[K-1].y,ue-N[K-1].x,G-N[K-1].y,pe-N[K-1].x,k-N[K-1].y],ce[ce.length-1].deltas.push(re);break;case"arc":ce.push({deltas:[],abs:[],arc:!0}),Array.isArray(ce[ce.length-1].abs)&&ce[ce.length-1].abs.push(Ae)}}se=Y?null:_==="stroke"?"stroke":"fill";for(var P=!1,U=0;U<ce.length;U++)if(ce[U].arc)for(var W=ce[U].abs,de=0;de<W.length;de++){var me=W[de];me.type==="arc"?O.call(this,me.x,me.y,me.radius,me.startAngle,me.endAngle,me.counterclockwise,void 0,Y,!P):L.call(this,me.x,me.y),P=!0}else if(ce[U].close===!0)this.pdf.internal.out("h"),P=!1;else if(ce[U].begin!==!0){var ve=ce[U].start.x,be=ce[U].start.y;E.call(this,ce[U].deltas,ve,be),P=!0}se&&x.call(this,se),Y&&M.call(this)}},C=function(_){var Y=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,re=Y*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return _-re;case"top":return _+Y-re;case"hanging":return _+Y-2*re;case"middle":return _+Y/2-re;case"ideographic":return _;case"alphabetic":default:return _}},B=function(_){return _+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};c.prototype.createLinearGradient=function(){var _=function(){};return _.colorStops=[],_.addColorStop=function(Y,re){this.colorStops.push([Y,re])},_.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},_.isCanvasGradient=!0,_},c.prototype.createPattern=function(){return this.createLinearGradient()},c.prototype.createRadialGradient=function(){return this.createLinearGradient()};var O=function(_,Y,re,se,ce,N,K,Ae,ae){for(var ie=X.call(this,re,se,ce,N),J=0;J<ie.length;J++){var ue=ie[J];J===0&&(ae?R.call(this,ue.x1+_,ue.y1+Y):L.call(this,ue.x1+_,ue.y1+Y)),H.call(this,_,Y,ue.x2,ue.y2,ue.x3,ue.y3,ue.x4,ue.y4)}Ae?M.call(this):x.call(this,K)},x=function(_){switch(_){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},M=function(){this.pdf.clip(),this.pdf.discardPath()},R=function(_,Y){this.pdf.internal.out(n(_)+" "+r(Y)+" m")},F=function(_){var Y;switch(_.align){case"right":case"end":Y="right";break;case"center":Y="center";break;case"left":case"start":default:Y="left"}var re=this.pdf.getTextDimensions(_.text),se=C.call(this,_.y),ce=B.call(this,se)-re.h,N=this.ctx.transform.applyToPoint(new A(_.x,se)),K=this.ctx.transform.decompose(),Ae=new s;Ae=(Ae=(Ae=Ae.multiply(K.translate)).multiply(K.skew)).multiply(K.scale);for(var ae,ie,J,ue=this.ctx.transform.applyToRectangle(new a(_.x,se,re.w,re.h)),G=Ae.applyToRectangle(new a(_.x,ce,re.w,re.h)),pe=m.call(this,G),k=[],P=0;P<pe.length;P+=1)k.indexOf(pe[P])===-1&&k.push(pe[P]);if(y(k),this.autoPaging)for(var U=k[0],W=k[k.length-1],de=U;de<W+1;de++){this.pdf.setPage(de);var me=de===1?this.posY+this.margin[0]:this.margin[0],ve=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],be=this.pdf.internal.pageSize.height-this.margin[2],Te=be-this.margin[0],we=this.pdf.internal.pageSize.width-this.margin[1],xe=we-this.margin[3],Ue=de===1?0:ve+(de-2)*Te;if(this.ctx.clip_path.length!==0){var ke=this.path;ae=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=v(ae,this.posX+this.margin[3],-1*Ue+me),w.call(this,"fill",!0),this.path=ke}var et=v([JSON.parse(JSON.stringify(G))],this.posX+this.margin[3],-Ue+me+this.ctx.prevPageLastElemOffset)[0];_.scale>=.01&&(ie=this.pdf.internal.getFontSize(),this.pdf.setFontSize(ie*_.scale),J=this.lineWidth,this.lineWidth=J*_.scale);var De=this.autoPaging!=="text";if(De||et.y+et.h<=be){if(De||et.y>=me&&et.x<=we){var _e=De?_.text:this.pdf.splitTextToSize(_.text,_.maxWidth||we-et.x)[0],Re=v([JSON.parse(JSON.stringify(ue))],this.posX+this.margin[3],-Ue+me+this.ctx.prevPageLastElemOffset)[0],Ne=De&&(de>U||de<W)&&h.call(this);Ne&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],xe,Te,null).clip().discardPath()),this.pdf.text(_e,Re.x,Re.y,{angle:_.angle,align:Y,renderingMode:_.renderingMode}),Ne&&this.pdf.restoreGraphicsState()}}else et.y<be&&(this.ctx.prevPageLastElemOffset+=be-et.y);_.scale>=.01&&(this.pdf.setFontSize(ie),this.lineWidth=J)}else _.scale>=.01&&(ie=this.pdf.internal.getFontSize(),this.pdf.setFontSize(ie*_.scale),J=this.lineWidth,this.lineWidth=J*_.scale),this.pdf.text(_.text,N.x+this.posX,N.y+this.posY,{angle:_.angle,align:Y,renderingMode:_.renderingMode,maxWidth:_.maxWidth}),_.scale>=.01&&(this.pdf.setFontSize(ie),this.lineWidth=J)},L=function(_,Y,re,se){re=re||0,se=se||0,this.pdf.internal.out(n(_+re)+" "+r(Y+se)+" l")},E=function(_,Y,re){return this.pdf.lines(_,Y,re,null,null)},H=function(_,Y,re,se,ce,N,K,Ae){this.pdf.internal.out([t(i(re+_)),t(o(se+Y)),t(i(ce+_)),t(o(N+Y)),t(i(K+_)),t(o(Ae+Y)),"c"].join(" "))},X=function(_,Y,re,se){for(var ce=2*Math.PI,N=Math.PI/2;Y>re;)Y-=ce;var K=Math.abs(re-Y);K<ce&&se&&(K=ce-K);for(var Ae=[],ae=se?-1:1,ie=Y;K>1e-5;){var J=ie+ae*Math.min(K,N);Ae.push(z.call(this,_,ie,J)),K-=Math.abs(J-ie),ie=J}return Ae},z=function(_,Y,re){var se=(re-Y)/2,ce=_*Math.cos(se),N=_*Math.sin(se),K=ce,Ae=-N,ae=K*K+Ae*Ae,ie=ae+K*ce+Ae*N,J=4/3*(Math.sqrt(2*ae*ie)-ie)/(K*N-Ae*ce),ue=K-J*Ae,G=Ae+J*K,pe=ue,k=-G,P=se+Y,U=Math.cos(P),W=Math.sin(P);return{x1:_*Math.cos(Y),y1:_*Math.sin(Y),x2:ue*U-G*W,y2:ue*W+G*U,x3:pe*U-k*W,y3:pe*W+k*U,x4:_*Math.cos(re),y4:_*Math.sin(re)}},Z=function(_){return 180*_/Math.PI},q=function(_,Y,re,se,ce,N){var K=_+.5*(re-_),Ae=Y+.5*(se-Y),ae=ce+.5*(re-ce),ie=N+.5*(se-N),J=Math.min(_,ce,K,ae),ue=Math.max(_,ce,K,ae),G=Math.min(Y,N,Ae,ie),pe=Math.max(Y,N,Ae,ie);return new a(J,G,ue-J,pe-G)},te=function(_,Y,re,se,ce,N,K,Ae){var ae,ie,J,ue,G,pe,k,P,U,W,de,me,ve,be,Te=re-_,we=se-Y,xe=ce-re,Ue=N-se,ke=K-ce,et=Ae-N;for(ie=0;ie<41;ie++)U=(k=(J=_+(ae=ie/40)*Te)+ae*((G=re+ae*xe)-J))+ae*(G+ae*(ce+ae*ke-G)-k),W=(P=(ue=Y+ae*we)+ae*((pe=se+ae*Ue)-ue))+ae*(pe+ae*(N+ae*et-pe)-P),ie==0?(de=U,me=W,ve=U,be=W):(de=Math.min(de,U),me=Math.min(me,W),ve=Math.max(ve,U),be=Math.max(be,W));return new a(Math.round(de),Math.round(me),Math.round(ve-de),Math.round(be-me))},ne=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var _,Y,re=(_=this.ctx.lineDash,Y=this.ctx.lineDashOffset,JSON.stringify({lineDash:_,lineDashOffset:Y}));this.prevLineDash!==re&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=re)}}})(gn.API),function(e){var t=function(o){var A,a,s,u,l,c,d,f,g,h;for(a=[],s=0,u=(o+=A="\0\0\0\0".slice(o.length%4||4)).length;u>s;s+=4)(l=(o.charCodeAt(s)<<24)+(o.charCodeAt(s+1)<<16)+(o.charCodeAt(s+2)<<8)+o.charCodeAt(s+3))!==0?(c=(l=((l=((l=((l=(l-(h=l%85))/85)-(g=l%85))/85)-(f=l%85))/85)-(d=l%85))/85)%85,a.push(c+33,d+33,f+33,g+33,h+33)):a.push(122);return function(m,p){for(var v=p;v>0;v--)m.pop()}(a,A.length),String.fromCharCode.apply(String,a)+"~>"},n=function(o){var A,a,s,u,l,c=String,d="length",f=255,g="charCodeAt",h="slice",m="replace";for(o[h](-2),o=o[h](0,-2)[m](/\s/g,"")[m]("z","!!!!!"),s=[],u=0,l=(o+=A="uuuuu"[h](o[d]%5||5))[d];l>u;u+=5)a=52200625*(o[g](u)-33)+614125*(o[g](u+1)-33)+7225*(o[g](u+2)-33)+85*(o[g](u+3)-33)+(o[g](u+4)-33),s.push(f&a>>24,f&a>>16,f&a>>8,f&a);return function(p,v){for(var y=v;y>0;y--)p.pop()}(s,A[d]),c.fromCharCode.apply(c,s)},r=function(o){var A=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((o=o.replace(/\s/g,"")).indexOf(">")!==-1&&(o=o.substr(0,o.indexOf(">"))),o.length%2&&(o+="0"),A.test(o)===!1)return"";for(var a="",s=0;s<o.length;s+=2)a+=String.fromCharCode("0x"+(o[s]+o[s+1]));return a},i=function(o){for(var A=new Uint8Array(o.length),a=o.length;a--;)A[a]=o.charCodeAt(a);return o=(A=d_(A)).reduce(function(s,u){return s+String.fromCharCode(u)},"")};e.processDataByFilters=function(o,A){var a=0,s=o||"",u=[];for(typeof(A=A||[])=="string"&&(A=[A]),a=0;a<A.length;a+=1)switch(A[a]){case"ASCII85Decode":case"/ASCII85Decode":s=n(s),u.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":s=t(s),u.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":s=r(s),u.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":s=s.split("").map(function(l){return("0"+l.charCodeAt().toString(16)).slice(-2)}).join("")+">",u.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":s=i(s),u.push("/FlateDecode");break;default:throw new Error('The filter: "'+A[a]+'" is not implemented')}return{data:s,reverseChain:u.reverse().join(" ")}}}(gn.API),function(e){e.loadFile=function(t,n,r){return function(i,o,A){o=o!==!1,A=typeof A=="function"?A:function(){};var a=void 0;try{a=function(s,u,l){var c=new XMLHttpRequest,d=0,f=function(g){var h=g.length,m=[],p=String.fromCharCode;for(d=0;d<h;d+=1)m.push(p(255&g.charCodeAt(d)));return m.join("")};if(c.open("GET",s,!u),c.overrideMimeType("text/plain; charset=x-user-defined"),u===!1&&(c.onload=function(){c.status===200?l(f(this.responseText)):l(void 0)}),c.send(null),u&&c.status===200)return f(c.responseText)}(i,o,A)}catch{}return a}(t,n,r)},e.loadImageFile=e.loadFile}(gn.API),function(e){function t(){return(Bn.html2canvas?Promise.resolve(Bn.html2canvas):JI(()=>Promise.resolve().then(()=>$Re),void 0)).catch(function(A){return Promise.reject(new Error("Could not load html2canvas: "+A))}).then(function(A){return A.default?A.default:A})}function n(){return(Bn.DOMPurify?Promise.resolve(Bn.DOMPurify):JI(()=>Promise.resolve().then(()=>h$e),void 0)).catch(function(A){return Promise.reject(new Error("Could not load dompurify: "+A))}).then(function(A){return A.default?A.default:A})}var r=function(A){var a=dr(A);return a==="undefined"?"undefined":a==="string"||A instanceof String?"string":a==="number"||A instanceof Number?"number":a==="function"||A instanceof Function?"function":A&&A.constructor===Array?"array":A&&A.nodeType===1?"element":a==="object"?"object":"unknown"},i=function(A,a){var s=document.createElement(A);for(var u in a.className&&(s.className=a.className),a.innerHTML&&a.dompurify&&(s.innerHTML=a.dompurify.sanitize(a.innerHTML)),a.style)s.style[u]=a.style[u];return s},o=function A(a){var s=Object.assign(A.convert(Promise.resolve()),JSON.parse(JSON.stringify(A.template))),u=A.convert(Promise.resolve(),s);return u=(u=u.setProgress(1,A,1,[A])).set(a)};(o.prototype=Object.create(Promise.prototype)).constructor=o,o.convert=function(A,a){return A.__proto__=a||o.prototype,A},o.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},o.prototype.from=function(A,a){return this.then(function(){switch(a=a||function(s){switch(r(s)){case"string":return"string";case"element":return s.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(A)){case"string":return this.then(n).then(function(s){return this.set({src:i("div",{innerHTML:A,dompurify:s})})});case"element":return this.set({src:A});case"canvas":return this.set({canvas:A});case"img":return this.set({img:A});default:return this.error("Unknown source type.")}})},o.prototype.to=function(A){switch(A){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},o.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var A={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},a=function s(u,l){for(var c=u.nodeType===3?document.createTextNode(u.nodeValue):u.cloneNode(!1),d=u.firstChild;d;d=d.nextSibling)l!==!0&&d.nodeType===1&&d.nodeName==="SCRIPT"||c.appendChild(s(d,l));return u.nodeType===1&&(u.nodeName==="CANVAS"?(c.width=u.width,c.height=u.height,c.getContext("2d").drawImage(u,0,0)):u.nodeName!=="TEXTAREA"&&u.nodeName!=="SELECT"||(c.value=u.value),c.addEventListener("load",function(){c.scrollTop=u.scrollTop,c.scrollLeft=u.scrollLeft},!0)),c}(this.prop.src,this.opt.html2canvas.javascriptEnabled);a.tagName==="BODY"&&(A.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=i("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=i("div",{className:"html2pdf__container",style:A}),this.prop.container.appendChild(a),this.prop.container.firstChild.appendChild(i("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},o.prototype.toCanvas=function(){var A=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(A).then(t).then(function(a){var s=Object.assign({},this.opt.html2canvas);return delete s.onrendered,a(this.prop.container,s)}).then(function(a){(this.opt.html2canvas.onrendered||function(){})(a),this.prop.canvas=a,document.body.removeChild(this.prop.overlay)})},o.prototype.toContext2d=function(){var A=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(A).then(t).then(function(a){var s=this.opt.jsPDF,u=this.opt.fontFaces,l=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,c=Object.assign({async:!0,allowTaint:!0,scale:l,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete c.onrendered,s.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,s.context2d.posX=this.opt.x,s.context2d.posY=this.opt.y,s.context2d.margin=this.opt.margin,s.context2d.fontFaces=u,u)for(var d=0;d<u.length;++d){var f=u[d],g=f.src.find(function(h){return h.format==="truetype"});g&&s.addFont(g.url,f.ref.name,f.ref.style)}return c.windowHeight=c.windowHeight||0,c.windowHeight=c.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):c.windowHeight,s.context2d.save(!0),a(this.prop.container,c)}).then(function(a){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(a),this.prop.canvas=a,document.body.removeChild(this.prop.overlay)})},o.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var A=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=A})},o.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},o.prototype.output=function(A,a,s){return(s=s||"pdf").toLowerCase()==="img"||s.toLowerCase()==="image"?this.outputImg(A,a):this.outputPdf(A,a)},o.prototype.outputPdf=function(A,a){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(A,a)})},o.prototype.outputImg=function(A){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(A){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+A+'" is not supported.'}})},o.prototype.save=function(A){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(A?{filename:A}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},o.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},o.prototype.set=function(A){if(r(A)!=="object")return this;var a=Object.keys(A||{}).map(function(s){if(s in o.template.prop)return function(){this.prop[s]=A[s]};switch(s){case"margin":return this.setMargin.bind(this,A.margin);case"jsPDF":return function(){return this.opt.jsPDF=A.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,A.pageSize);default:return function(){this.opt[s]=A[s]}}},this);return this.then(function(){return this.thenList(a)})},o.prototype.get=function(A,a){return this.then(function(){var s=A in o.template.prop?this.prop[A]:this.opt[A];return a?a(s):s})},o.prototype.setMargin=function(A){return this.then(function(){switch(r(A)){case"number":A=[A,A,A,A];case"array":if(A.length===2&&(A=[A[0],A[1],A[0],A[1]]),A.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=A}).then(this.setPageSize)},o.prototype.setPageSize=function(A){function a(s,u){return Math.floor(s*u/72*96)}return this.then(function(){(A=A||gn.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(A.inner={width:A.width-this.opt.margin[1]-this.opt.margin[3],height:A.height-this.opt.margin[0]-this.opt.margin[2]},A.inner.px={width:a(A.inner.width,A.k),height:a(A.inner.height,A.k)},A.inner.ratio=A.inner.height/A.inner.width),this.prop.pageSize=A})},o.prototype.setProgress=function(A,a,s,u){return A!=null&&(this.progress.val=A),a!=null&&(this.progress.state=a),s!=null&&(this.progress.n=s),u!=null&&(this.progress.stack=u),this.progress.ratio=this.progress.val/this.progress.state,this},o.prototype.updateProgress=function(A,a,s,u){return this.setProgress(A?this.progress.val+A:null,a||null,s?this.progress.n+s:null,u?this.progress.stack.concat(u):null)},o.prototype.then=function(A,a){var s=this;return this.thenCore(A,a,function(u,l){return s.updateProgress(null,null,1,[u]),Promise.prototype.then.call(this,function(c){return s.updateProgress(null,u),c}).then(u,l).then(function(c){return s.updateProgress(1),c})})},o.prototype.thenCore=function(A,a,s){s=s||Promise.prototype.then,A&&(A=A.bind(this)),a&&(a=a.bind(this));var u=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?this:o.convert(Object.assign({},this),Promise.prototype),l=s.call(u,A,a);return o.convert(l,this.__proto__)},o.prototype.thenExternal=function(A,a){return Promise.prototype.then.call(this,A,a)},o.prototype.thenList=function(A){var a=this;return A.forEach(function(s){a=a.thenCore(s)}),a},o.prototype.catch=function(A){A&&(A=A.bind(this));var a=Promise.prototype.catch.call(this,A);return o.convert(a,this)},o.prototype.catchExternal=function(A){return Promise.prototype.catch.call(this,A)},o.prototype.error=function(A){return this.then(function(){throw new Error(A)})},o.prototype.using=o.prototype.set,o.prototype.saveAs=o.prototype.save,o.prototype.export=o.prototype.output,o.prototype.run=o.prototype.then,gn.getPageSize=function(A,a,s){if(dr(A)==="object"){var u=A;A=u.orientation,a=u.unit||a,s=u.format||s}a=a||"mm",s=s||"a4",A=(""+(A||"P")).toLowerCase();var l,c=(""+s).toLowerCase(),d={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(a){case"pt":l=1;break;case"mm":l=72/25.4;break;case"cm":l=72/2.54;break;case"in":l=72;break;case"px":l=.75;break;case"pc":case"em":l=12;break;case"ex":l=6;break;default:throw"Invalid unit: "+a}var f,g=0,h=0;if(d.hasOwnProperty(c))g=d[c][1]/l,h=d[c][0]/l;else try{g=s[1],h=s[0]}catch{throw new Error("Invalid format: "+s)}if(A==="p"||A==="portrait")A="p",h>g&&(f=h,h=g,g=f);else{if(A!=="l"&&A!=="landscape")throw"Invalid orientation: "+A;A="l",g>h&&(f=h,h=g,g=f)}return{width:h,height:g,unit:a,k:l,orientation:A}},e.html=function(A,a){(a=a||{}).callback=a.callback||function(){},a.html2canvas=a.html2canvas||{},a.html2canvas.canvas=a.html2canvas.canvas||this.canvas,a.jsPDF=a.jsPDF||this,a.fontFaces=a.fontFaces?a.fontFaces.map(y_):null;var s=new o(a);return a.worker?s:s.from(A).doCallback()}}(gn.API),gn.API.addJS=function(e){return SN=e,this.internal.events.subscribe("postPutResources",function(){vy=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(vy+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),xN=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+SN+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){vy!==void 0&&xN!==void 0&&this.internal.out("/Names <</JavaScript "+vy+" 0 R>>")}),this},function(e){var t;e.events.push(["postPutResources",function(){var n=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var i=n.outline.render().split(/\r\n/),o=0;o<i.length;o++){var A=i[o],a=r.exec(A);if(a!=null){var s=a[1];n.internal.newObjectDeferredBegin(s,!1)}n.internal.write(A)}if(this.outline.createNamedDestinations){var u=this.internal.pages.length,l=[];for(o=0;o<u;o++){var c=n.internal.newObject();l.push(c);var d=n.internal.getPageInfo(o+1);n.internal.write("<< /D["+d.objId+" 0 R /XYZ null null null]>> endobj")}var f=n.internal.newObject();for(n.internal.write("<< /Names [ "),o=0;o<l.length;o++)n.internal.write("(page_"+(o+1)+")"+l[o]+" 0 R");n.internal.write(" ] >>","endobj"),t=n.internal.newObject(),n.internal.write("<< /Dests "+f+" 0 R"),n.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+t+" 0 R"))}]),e.events.push(["initialized",function(){var n=this;n.outline={createNamedDestinations:!1,root:{children:[]}},n.outline.add=function(r,i,o){var A={title:i,options:o,children:[]};return r==null&&(r=this.root),r.children.push(A),A},n.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=n,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},n.outline.genIds_r=function(r){r.id=n.internal.newObjectDeferred();for(var i=0;i<r.children.length;i++)this.genIds_r(r.children[i])},n.outline.renderRoot=function(r){this.objStart(r),this.line("/Type /Outlines"),r.children.length>0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},n.outline.renderItems=function(r){for(var i=this.ctx.pdf.internal.getVerticalCoordinateString,o=0;o<r.children.length;o++){var A=r.children[o];this.objStart(A),this.line("/Title "+this.makeString(A.title)),this.line("/Parent "+this.makeRef(r)),o>0&&this.line("/Prev "+this.makeRef(r.children[o-1])),o<r.children.length-1&&this.line("/Next "+this.makeRef(r.children[o+1])),A.children.length>0&&(this.line("/First "+this.makeRef(A.children[0])),this.line("/Last "+this.makeRef(A.children[A.children.length-1])));var a=this.count=this.count_r({count:0},A);if(a>0&&this.line("/Count "+a),A.options&&A.options.pageNumber){var s=n.internal.getPageInfo(A.options.pageNumber);this.line("/Dest ["+s.objId+" 0 R /XYZ 0 "+i(0)+" 0]")}this.objEnd()}for(var u=0;u<r.children.length;u++)this.renderItems(r.children[u])},n.outline.line=function(r){this.ctx.val+=r+`\r
- `},n.outline.makeRef=function(r){return r.id+" 0 R"},n.outline.makeString=function(r){return"("+n.internal.pdfEscape(r)+")"},n.outline.objStart=function(r){this.ctx.val+=`\r
- `+r.id+` 0 obj\r
- <<\r
- `},n.outline.objEnd=function(){this.ctx.val+=`>> \r
- endobj\r
- `},n.outline.count_r=function(r,i){for(var o=0;o<i.children.length;o++)r.count++,this.count_r(r,i.children[o]);return r.count}}])}(gn.API),function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(n,r,i,o,A,a){var s,u=this.decode.DCT_DECODE,l=null;if(typeof n=="string"||this.__addimage__.isArrayBuffer(n)||this.__addimage__.isArrayBufferView(n)){switch(n=A||n,n=this.__addimage__.isArrayBuffer(n)?new Uint8Array(n):n,(s=function(c){for(var d,f=256*c.charCodeAt(4)+c.charCodeAt(5),g=c.length,h={width:0,height:0,numcomponents:1},m=4;m<g;m+=2){if(m+=f,t.indexOf(c.charCodeAt(m+1))!==-1){d=256*c.charCodeAt(m+5)+c.charCodeAt(m+6),h={width:256*c.charCodeAt(m+7)+c.charCodeAt(m+8),height:d,numcomponents:c.charCodeAt(m+9)};break}f=256*c.charCodeAt(m+2)+c.charCodeAt(m+3)}return h}(n=this.__addimage__.isArrayBufferView(n)?this.__addimage__.arrayBufferToBinaryString(n):n)).numcomponents){case 1:a=this.color_spaces.DEVICE_GRAY;break;case 4:a=this.color_spaces.DEVICE_CMYK;break;case 3:a=this.color_spaces.DEVICE_RGB}l={data:n,width:s.width,height:s.height,colorSpace:a,bitsPerComponent:8,filter:u,index:r,alias:i}}return l}}(gn.API);var vp,yy,EN,FN,IN,ETe=function(){var e,t,n;function r(o){var A,a,s,u,l,c,d,f,g,h,m,p,v,y;for(this.data=o,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},c=null;;){switch(A=this.readUInt32(),g=(function(){var b,w;for(w=[],b=0;b<4;++b)w.push(String.fromCharCode(this.data[this.pos++]));return w}).call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(A);break;case"fcTL":c&&this.animation.frames.push(c),this.pos+=4,c={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},l=this.readUInt16(),u=this.readUInt16()||100,c.delay=1e3*l/u,c.disposeOp=this.data[this.pos++],c.blendOp=this.data[this.pos++],c.data=[];break;case"IDAT":case"fdAT":for(g==="fdAT"&&(this.pos+=4,A-=4),o=(c!=null?c.data:void 0)||this.imgData,p=0;0<=A?p<A:p>A;0<=A?++p:--p)o.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(s=this.palette.length/3,this.transparency.indexed=this.read(A),this.transparency.indexed.length>s)throw new Error("More transparent colors than palette size");if((h=s-this.transparency.indexed.length)>0)for(v=0;0<=h?v<h:v>h;0<=h?++v:--v)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(A)[0];break;case 2:this.transparency.rgb=this.read(A)}break;case"tEXt":d=(m=this.read(A)).indexOf(0),f=String.fromCharCode.apply(String,m.slice(0,d)),this.text[f]=String.fromCharCode.apply(String,m.slice(d+1));break;case"IEND":return c&&this.animation.frames.push(c),this.colors=(function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}).call(this),this.hasAlphaChannel=(y=this.colorType)===4||y===6,a=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*a,this.colorSpace=(function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}).call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=A}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}r.prototype.read=function(o){var A,a;for(a=[],A=0;0<=o?A<o:A>o;0<=o?++A:--A)a.push(this.data[this.pos++]);return a},r.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.decodePixels=function(o){var A=this.pixelBitlength/8,a=new Uint8Array(this.width*this.height*A),s=0,u=this;if(o==null&&(o=this.imgData),o.length===0)return new Uint8Array(0);function l(c,d,f,g){var h,m,p,v,y,b,w,C,B,O,x,M,R,F,L,E,H,X,z,Z,q,te=Math.ceil((u.width-c)/f),ne=Math.ceil((u.height-d)/g),_=u.width==te&&u.height==ne;for(F=A*te,M=_?a:new Uint8Array(F*ne),b=o.length,R=0,m=0;R<ne&&s<b;){switch(o[s++]){case 0:for(v=H=0;H<F;v=H+=1)M[m++]=o[s++];break;case 1:for(v=X=0;X<F;v=X+=1)h=o[s++],y=v<A?0:M[m-A],M[m++]=(h+y)%256;break;case 2:for(v=z=0;z<F;v=z+=1)h=o[s++],p=(v-v%A)/A,L=R&&M[(R-1)*F+p*A+v%A],M[m++]=(L+h)%256;break;case 3:for(v=Z=0;Z<F;v=Z+=1)h=o[s++],p=(v-v%A)/A,y=v<A?0:M[m-A],L=R&&M[(R-1)*F+p*A+v%A],M[m++]=(h+Math.floor((y+L)/2))%256;break;case 4:for(v=q=0;q<F;v=q+=1)h=o[s++],p=(v-v%A)/A,y=v<A?0:M[m-A],R===0?L=E=0:(L=M[(R-1)*F+p*A+v%A],E=p&&M[(R-1)*F+(p-1)*A+v%A]),w=y+L-E,C=Math.abs(w-y),O=Math.abs(w-L),x=Math.abs(w-E),B=C<=O&&C<=x?y:O<=x?L:E,M[m++]=(h+B)%256;break;default:throw new Error("Invalid filter algorithm: "+o[s-1])}if(!_){var Y=((d+R*g)*u.width+c)*A,re=R*F;for(v=0;v<te;v+=1){for(var se=0;se<A;se+=1)a[Y++]=M[re++];Y+=(f-1)*A}}R++}}return o=rTe(o),u.interlaceMethod==1?(l(0,0,8,8),l(4,0,8,8),l(0,4,4,8),l(2,0,4,4),l(0,2,2,4),l(1,0,2,2),l(0,1,1,2)):l(0,0,1,1),a},r.prototype.decodePalette=function(){var o,A,a,s,u,l,c,d,f;for(a=this.palette,l=this.transparency.indexed||[],u=new Uint8Array((l.length||0)+a.length),s=0,o=0,A=c=0,d=a.length;c<d;A=c+=3)u[s++]=a[A],u[s++]=a[A+1],u[s++]=a[A+2],u[s++]=(f=l[o++])!=null?f:255;return u},r.prototype.copyToImageData=function(o,A){var a,s,u,l,c,d,f,g,h,m,p;if(s=this.colors,h=null,a=this.hasAlphaChannel,this.palette.length&&(h=(p=this._decodedPalette)!=null?p:this._decodedPalette=this.decodePalette(),s=4,a=!0),g=(u=o.data||o).length,c=h||A,l=d=0,s===1)for(;l<g;)f=h?4*A[l/4]:d,m=c[f++],u[l++]=m,u[l++]=m,u[l++]=m,u[l++]=a?c[f++]:255,d=f;else for(;l<g;)f=h?4*A[l/4]:d,u[l++]=c[f++],u[l++]=c[f++],u[l++]=c[f++],u[l++]=a?c[f++]:255,d=f},r.prototype.decode=function(){var o;return o=new Uint8Array(this.width*this.height*4),this.copyToImageData(o,this.decodePixels()),o};var i=function(){if(Object.prototype.toString.call(Bn)==="[object Window]"){try{t=Bn.document.createElement("canvas"),n=t.getContext("2d")}catch{return!1}return!0}return!1};return i(),e=function(o){var A;if(i()===!0)return n.width=o.width,n.height=o.height,n.clearRect(0,0,o.width,o.height),n.putImageData(o,0,0),(A=new Image).src=t.toDataURL(),A;throw new Error("This method requires a Browser with Canvas-capability.")},r.prototype.decodeFrames=function(o){var A,a,s,u,l,c,d,f;if(this.animation){for(f=[],a=l=0,c=(d=this.animation.frames).length;l<c;a=++l)A=d[a],s=o.createImageData(A.width,A.height),u=this.decodePixels(new Uint8Array(A.data)),this.copyToImageData(s,u),A.imageData=s,f.push(A.image=e(s));return f}},r.prototype.renderFrame=function(o,A){var a,s,u;return a=(s=this.animation.frames)[A],u=s[A-1],A===0&&o.clearRect(0,0,this.width,this.height),(u!=null?u.disposeOp:void 0)===1?o.clearRect(u.xOffset,u.yOffset,u.width,u.height):(u!=null?u.disposeOp:void 0)===2&&o.putImageData(u.imageData,u.xOffset,u.yOffset),a.blendOp===0&&o.clearRect(a.xOffset,a.yOffset,a.width,a.height),o.drawImage(a.image,a.xOffset,a.yOffset)},r.prototype.animate=function(o){var A,a,s,u,l,c,d=this;return a=0,c=this.animation,u=c.numFrames,s=c.frames,l=c.numPlays,(A=function(){var f,g;if(f=a++%u,g=s[f],d.renderFrame(o,f),u>1&&a/u<l)return d.animation._timeout=setTimeout(A,g.delay)})()},r.prototype.stopAnimation=function(){var o;return clearTimeout((o=this.animation)!=null?o._timeout:void 0)},r.prototype.render=function(o){var A,a;return o._png&&o._png.stopAnimation(),o._png=this,o.width=this.width,o.height=this.height,A=o.getContext("2d"),this.animation?(this.decodeFrames(A),this.animate(A)):(a=A.createImageData(this.width,this.height),this.copyToImageData(a,this.decodePixels()),A.putImageData(a,0,0))},r}();/**
- * @license
- *
- * Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
- *
- * Permission is hereby granted, free of charge, to any person obtaining
- * a copy of this software and associated documentation files (the
- * "Software"), to deal in the Software without restriction, including
- * without limitation the rights to use, copy, modify, merge, publish,
- * distribute, sublicense, and/or sell copies of the Software, and to
- * permit persons to whom the Software is furnished to do so, subject to
- * the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- * ====================================================================
- *//**
- * @license
- * (c) Dean McNamee <dean@gmail.com>, 2013.
- *
- * https://github.com/deanm/omggif
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to
- * deal in the Software without restriction, including without limitation the
- * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
- * sell copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
- * IN THE SOFTWARE.
- *
- * omggif is a JavaScript implementation of a GIF 89a encoder and decoder,
- * including animation and compression. It does not rely on any specific
- * underlying system, so should run in the browser, Node, or Plask.
- */function FTe(e){var t=0;if(e[t++]!==71||e[t++]!==73||e[t++]!==70||e[t++]!==56||(e[t++]+1&253)!=56||e[t++]!==97)throw new Error("Invalid GIF 87a/89a header.");var n=e[t++]|e[t++]<<8,r=e[t++]|e[t++]<<8,i=e[t++],o=i>>7,A=1<<(7&i)+1;e[t++],e[t++];var a=null,s=null;o&&(a=t,s=A,t+=3*A);var u=!0,l=[],c=0,d=null,f=0,g=null;for(this.width=n,this.height=r;u&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(e[t]!==11||e[t+1]==78&&e[t+2]==69&&e[t+3]==84&&e[t+4]==83&&e[t+5]==67&&e[t+6]==65&&e[t+7]==80&&e[t+8]==69&&e[t+9]==50&&e[t+10]==46&&e[t+11]==48&&e[t+12]==3&&e[t+13]==1&&e[t+16]==0)t+=14,g=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((R=e[t++])>=0))throw Error("Invalid block size");if(R===0)break;t+=R}break;case 249:if(e[t++]!==4||e[t+4]!==0)throw new Error("Invalid graphics extension block.");var h=e[t++];c=e[t++]|e[t++]<<8,d=e[t++],!(1&h)&&(d=null),f=h>>2&7,t++;break;case 254:for(;;){if(!((R=e[t++])>=0))throw Error("Invalid block size");if(R===0)break;t+=R}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var m=e[t++]|e[t++]<<8,p=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,y=e[t++]|e[t++]<<8,b=e[t++],w=b>>6&1,C=1<<(7&b)+1,B=a,O=s,x=!1;b>>7&&(x=!0,B=t,O=C,t+=3*C);var M=t;for(t++;;){var R;if(!((R=e[t++])>=0))throw Error("Invalid block size");if(R===0)break;t+=R}l.push({x:m,y:p,width:v,height:y,has_local_palette:x,palette_offset:B,palette_size:O,data_offset:M,data_length:t-M,transparent_index:d,interlaced:!!w,delay:c,disposal:f});break;case 59:u=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return l.length},this.loopCount=function(){return g},this.frameInfo=function(F){if(F<0||F>=l.length)throw new Error("Frame index out of range.");return l[F]},this.decodeAndBlitFrameBGRA=function(F,L){var E=this.frameInfo(F),H=E.width*E.height,X=new Uint8Array(H);_N(e,E.data_offset,X,H);var z=E.palette_offset,Z=E.transparent_index;Z===null&&(Z=256);var q=E.width,te=n-q,ne=q,_=4*(E.y*n+E.x),Y=4*((E.y+E.height)*n+E.x),re=_,se=4*te;E.interlaced===!0&&(se+=4*n*7);for(var ce=8,N=0,K=X.length;N<K;++N){var Ae=X[N];if(ne===0&&(ne=q,(re+=se)>=Y&&(se=4*te+4*n*(ce-1),re=_+(q+te)*(ce<<1),ce>>=1)),Ae===Z)re+=4;else{var ae=e[z+3*Ae],ie=e[z+3*Ae+1],J=e[z+3*Ae+2];L[re++]=J,L[re++]=ie,L[re++]=ae,L[re++]=255}--ne}},this.decodeAndBlitFrameRGBA=function(F,L){var E=this.frameInfo(F),H=E.width*E.height,X=new Uint8Array(H);_N(e,E.data_offset,X,H);var z=E.palette_offset,Z=E.transparent_index;Z===null&&(Z=256);var q=E.width,te=n-q,ne=q,_=4*(E.y*n+E.x),Y=4*((E.y+E.height)*n+E.x),re=_,se=4*te;E.interlaced===!0&&(se+=4*n*7);for(var ce=8,N=0,K=X.length;N<K;++N){var Ae=X[N];if(ne===0&&(ne=q,(re+=se)>=Y&&(se=4*te+4*n*(ce-1),re=_+(q+te)*(ce<<1),ce>>=1)),Ae===Z)re+=4;else{var ae=e[z+3*Ae],ie=e[z+3*Ae+1],J=e[z+3*Ae+2];L[re++]=ae,L[re++]=ie,L[re++]=J,L[re++]=255}--ne}}}function _N(e,t,n,r){for(var i=e[t++],o=1<<i,A=o+1,a=A+1,s=i+1,u=(1<<s)-1,l=0,c=0,d=0,f=e[t++],g=new Int32Array(4096),h=null;;){for(;l<16&&f!==0;)c|=e[t++]<<l,l+=8,f===1?f=e[t++]:--f;if(l<s)break;var m=c&u;if(c>>=s,l-=s,m!==o){if(m===A)break;for(var p=m<a?m:h,v=0,y=p;y>o;)y=g[y]>>8,++v;var b=y;if(d+v+(p!==m?1:0)>r)return void Mr.log("Warning, gif stream longer than expected.");n[d++]=b;var w=d+=v;for(p!==m&&(n[d++]=b),y=p;v--;)y=g[y],n[--w]=255&y,y>>=8;h!==null&&a<4096&&(g[a++]=h<<8|b,a>=u+1&&s<12&&(++s,u=u<<1|1)),h=m}else a=A+1,u=(1<<(s=i+1))-1,h=null}return d!==r&&Mr.log("Warning, gif stream shorter than expected."),n}/**
- * @license
- Copyright (c) 2008, Adobe Systems Incorporated
- All rights reserved.
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- * Neither the name of Adobe Systems Incorporated nor the names of its
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */function QS(e){var t,n,r,i,o,A=Math.floor,a=new Array(64),s=new Array(64),u=new Array(64),l=new Array(64),c=new Array(65535),d=new Array(65535),f=new Array(64),g=new Array(64),h=[],m=0,p=7,v=new Array(64),y=new Array(64),b=new Array(64),w=new Array(256),C=new Array(2048),B=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],O=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],x=[0,1,2,3,4,5,6,7,8,9,10,11],M=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],R=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],F=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],L=[0,1,2,3,4,5,6,7,8,9,10,11],E=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],H=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function X(_,Y){for(var re=0,se=0,ce=new Array,N=1;N<=16;N++){for(var K=1;K<=_[N];K++)ce[Y[se]]=[],ce[Y[se]][0]=re,ce[Y[se]][1]=N,se++,re++;re*=2}return ce}function z(_){for(var Y=_[0],re=_[1]-1;re>=0;)Y&1<<re&&(m|=1<<p),re--,--p<0&&(m==255?(Z(255),Z(0)):Z(m),p=7,m=0)}function Z(_){h.push(_)}function q(_){Z(_>>8&255),Z(255&_)}function te(_,Y,re,se,ce){for(var N,K=ce[0],Ae=ce[240],ae=function(W,de){var me,ve,be,Te,we,xe,Ue,ke,et,De,_e=0;for(et=0;et<8;++et){me=W[_e],ve=W[_e+1],be=W[_e+2],Te=W[_e+3],we=W[_e+4],xe=W[_e+5],Ue=W[_e+6];var Re=me+(ke=W[_e+7]),Ne=me-ke,ot=ve+Ue,rt=ve-Ue,nt=be+xe,Bt=be-xe,Et=Te+we,Xt=Te-we,Ut=Re+Et,$t=Re-Et,xt=ot+nt,Ct=ot-nt;W[_e]=Ut+xt,W[_e+4]=Ut-xt;var ht=.707106781*(Ct+$t);W[_e+2]=$t+ht,W[_e+6]=$t-ht;var Tt=.382683433*((Ut=Xt+Bt)-(Ct=rt+Ne)),Yt=.5411961*Ut+Tt,nn=1.306562965*Ct+Tt,zn=.707106781*(xt=Bt+rt),ur=Ne+zn,Mt=Ne-zn;W[_e+5]=Mt+Yt,W[_e+3]=Mt-Yt,W[_e+1]=ur+nn,W[_e+7]=ur-nn,_e+=8}for(_e=0,et=0;et<8;++et){me=W[_e],ve=W[_e+8],be=W[_e+16],Te=W[_e+24],we=W[_e+32],xe=W[_e+40],Ue=W[_e+48];var vr=me+(ke=W[_e+56]),Yr=me-ke,mt=ve+Ue,vt=ve-Ue,It=be+xe,an=be-xe,Mn=Te+we,Kn=Te-we,Ar=vr+Mn,Gn=vr-Mn,er=mt+It,yr=mt-It;W[_e]=Ar+er,W[_e+32]=Ar-er;var br=.707106781*(yr+Gn);W[_e+16]=Gn+br,W[_e+48]=Gn-br;var Dn=.382683433*((Ar=Kn+an)-(yr=vt+Yr)),Kr=.5411961*Ar+Dn,ii=1.306562965*yr+Dn,Ht=.707106781*(er=an+vt),je=Yr+Ht,wt=Yr-Ht;W[_e+40]=wt+Kr,W[_e+24]=wt-Kr,W[_e+8]=je+ii,W[_e+56]=je-ii,_e++}for(et=0;et<64;++et)De=W[et]*de[et],f[et]=De>0?De+.5|0:De-.5|0;return f}(_,Y),ie=0;ie<64;++ie)g[B[ie]]=ae[ie];var J=g[0]-re;re=g[0],J==0?z(se[0]):(z(se[d[N=32767+J]]),z(c[N]));for(var ue=63;ue>0&&g[ue]==0;)ue--;if(ue==0)return z(K),re;for(var G,pe=1;pe<=ue;){for(var k=pe;g[pe]==0&&pe<=ue;)++pe;var P=pe-k;if(P>=16){G=P>>4;for(var U=1;U<=G;++U)z(Ae);P&=15}N=32767+g[pe],z(ce[(P<<4)+d[N]]),z(c[N]),pe++}return ue!=63&&z(K),re}function ne(_){_=Math.min(Math.max(_,1),100),o!=_&&(function(Y){for(var re=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],se=0;se<64;se++){var ce=A((re[se]*Y+50)/100);ce=Math.min(Math.max(ce,1),255),a[B[se]]=ce}for(var N=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],K=0;K<64;K++){var Ae=A((N[K]*Y+50)/100);Ae=Math.min(Math.max(Ae,1),255),s[B[K]]=Ae}for(var ae=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],ie=0,J=0;J<8;J++)for(var ue=0;ue<8;ue++)u[ie]=1/(a[B[ie]]*ae[J]*ae[ue]*8),l[ie]=1/(s[B[ie]]*ae[J]*ae[ue]*8),ie++}(_<50?Math.floor(5e3/_):Math.floor(200-2*_)),o=_)}this.encode=function(_,Y){Y&&ne(Y),h=new Array,m=0,p=7,q(65496),q(65504),q(16),Z(74),Z(70),Z(73),Z(70),Z(0),Z(1),Z(1),Z(0),q(1),q(1),Z(0),Z(0),function(){q(65499),q(132),Z(0);for(var ve=0;ve<64;ve++)Z(a[ve]);Z(1);for(var be=0;be<64;be++)Z(s[be])}(),function(ve,be){q(65472),q(17),Z(8),q(be),q(ve),Z(3),Z(1),Z(17),Z(0),Z(2),Z(17),Z(1),Z(3),Z(17),Z(1)}(_.width,_.height),function(){q(65476),q(418),Z(0);for(var ve=0;ve<16;ve++)Z(O[ve+1]);for(var be=0;be<=11;be++)Z(x[be]);Z(16);for(var Te=0;Te<16;Te++)Z(M[Te+1]);for(var we=0;we<=161;we++)Z(R[we]);Z(1);for(var xe=0;xe<16;xe++)Z(F[xe+1]);for(var Ue=0;Ue<=11;Ue++)Z(L[Ue]);Z(17);for(var ke=0;ke<16;ke++)Z(E[ke+1]);for(var et=0;et<=161;et++)Z(H[et])}(),q(65498),q(12),Z(3),Z(1),Z(0),Z(2),Z(17),Z(3),Z(17),Z(0),Z(63),Z(0);var re=0,se=0,ce=0;m=0,p=7,this.encode.displayName="_encode_";for(var N,K,Ae,ae,ie,J,ue,G,pe,k=_.data,P=_.width,U=_.height,W=4*P,de=0;de<U;){for(N=0;N<W;){for(ie=W*de+N,ue=-1,G=0,pe=0;pe<64;pe++)J=ie+(G=pe>>3)*W+(ue=4*(7&pe)),de+G>=U&&(J-=W*(de+1+G-U)),N+ue>=W&&(J-=N+ue-W+4),K=k[J++],Ae=k[J++],ae=k[J++],v[pe]=(C[K]+C[Ae+256>>0]+C[ae+512>>0]>>16)-128,y[pe]=(C[K+768>>0]+C[Ae+1024>>0]+C[ae+1280>>0]>>16)-128,b[pe]=(C[K+1280>>0]+C[Ae+1536>>0]+C[ae+1792>>0]>>16)-128;re=te(v,u,re,t,r),se=te(y,l,se,n,i),ce=te(b,l,ce,n,i),N+=32}de+=8}if(p>=0){var me=[];me[1]=p+1,me[0]=(1<<p+1)-1,z(me)}return q(65497),new Uint8Array(h)},e=e||50,function(){for(var _=String.fromCharCode,Y=0;Y<256;Y++)w[Y]=_(Y)}(),t=X(O,x),n=X(F,L),r=X(M,R),i=X(E,H),function(){for(var _=1,Y=2,re=1;re<=15;re++){for(var se=_;se<Y;se++)d[32767+se]=re,c[32767+se]=[],c[32767+se][1]=re,c[32767+se][0]=se;for(var ce=-(Y-1);ce<=-_;ce++)d[32767+ce]=re,c[32767+ce]=[],c[32767+ce][1]=re,c[32767+ce][0]=Y-1+ce;_<<=1,Y<<=1}}(),function(){for(var _=0;_<256;_++)C[_]=19595*_,C[_+256>>0]=38470*_,C[_+512>>0]=7471*_+32768,C[_+768>>0]=-11059*_,C[_+1024>>0]=-21709*_,C[_+1280>>0]=32768*_+8421375,C[_+1536>>0]=-27439*_,C[_+1792>>0]=-5329*_}(),ne(e)}/**
- * @license
- * Copyright (c) 2017 Aras Abbasi
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */function ls(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function ON(e){function t(O){if(!O)throw Error("assert :P")}function n(O,x,M){for(var R=0;4>R;R++)if(O[x+R]!=M.charCodeAt(R))return!0;return!1}function r(O,x,M,R,F){for(var L=0;L<F;L++)O[x+L]=M[R+L]}function i(O,x,M,R){for(var F=0;F<R;F++)O[x+F]=M}function o(O){return new Int32Array(O)}function A(O,x){for(var M=[],R=0;R<O;R++)M.push(new x);return M}function a(O,x){var M=[];return function R(F,L,E){for(var H=E[L],X=0;X<H&&(F.push(E.length>L+1?[]:new x),!(E.length<L+1));X++)R(F[X],L+1,E)}(M,0,O),M}var s=function(){var O=this;function x(S,j){for(var oe=1<<j-1>>>0;S&oe;)oe>>>=1;return oe?(S&oe-1)+oe:S}function M(S,j,oe,he,Be){t(!(he%oe));do S[j+(he-=oe)]=Be;while(0<he)}function R(S,j,oe,he,Be){if(t(2328>=Be),512>=Be)var Se=o(512);else if((Se=o(Be))==null)return 0;return function(Fe,Ie,Oe,Le,Ve,At){var at,Ye,ft=Ie,ct=1<<Oe,ze=o(16),We=o(16);for(t(Ve!=0),t(Le!=null),t(Fe!=null),t(0<Oe),Ye=0;Ye<Ve;++Ye){if(15<Le[Ye])return 0;++ze[Le[Ye]]}if(ze[0]==Ve)return 0;for(We[1]=0,at=1;15>at;++at){if(ze[at]>1<<at)return 0;We[at+1]=We[at]+ze[at]}for(Ye=0;Ye<Ve;++Ye)at=Le[Ye],0<Le[Ye]&&(At[We[at]++]=Ye);if(We[15]==1)return(Le=new F).g=0,Le.value=At[0],M(Fe,ft,1,ct,Le),ct;var yt,St=-1,bt=ct-1,jt=0,Dt=1,sn=1,Rt=1<<Oe;for(Ye=0,at=1,Ve=2;at<=Oe;++at,Ve<<=1){if(Dt+=sn<<=1,0>(sn-=ze[at]))return 0;for(;0<ze[at];--ze[at])(Le=new F).g=at,Le.value=At[Ye++],M(Fe,ft+jt,Ve,Rt,Le),jt=x(jt,at)}for(at=Oe+1,Ve=2;15>=at;++at,Ve<<=1){if(Dt+=sn<<=1,0>(sn-=ze[at]))return 0;for(;0<ze[at];--ze[at]){if(Le=new F,(jt&bt)!=St){for(ft+=Rt,yt=1<<(St=at)-Oe;15>St&&!(0>=(yt-=ze[St]));)++St,yt<<=1;ct+=Rt=1<<(yt=St-Oe),Fe[Ie+(St=jt&bt)].g=yt+Oe,Fe[Ie+St].value=ft-Ie-St}Le.g=at-Oe,Le.value=At[Ye++],M(Fe,ft+(jt>>Oe),Ve,Rt,Le),jt=x(jt,at)}}return Dt!=2*We[15]-1?0:ct}(S,j,oe,he,Be,Se)}function F(){this.value=this.g=0}function L(){this.value=this.g=0}function E(){this.G=A(5,F),this.H=o(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=A(di,L)}function H(S,j,oe,he){t(S!=null),t(j!=null),t(2147483648>he),S.Ca=254,S.I=0,S.b=-8,S.Ka=0,S.oa=j,S.pa=oe,S.Jd=j,S.Yc=oe+he,S.Zc=4<=he?oe+he-4+1:oe,N(S)}function X(S,j){for(var oe=0;0<j--;)oe|=Ae(S,128)<<j;return oe}function z(S,j){var oe=X(S,j);return K(S)?-oe:oe}function Z(S,j,oe,he){var Be,Se=0;for(t(S!=null),t(j!=null),t(4294967288>he),S.Sb=he,S.Ra=0,S.u=0,S.h=0,4<he&&(he=4),Be=0;Be<he;++Be)Se+=j[oe+Be]<<8*Be;S.Ra=Se,S.bb=he,S.oa=j,S.pa=oe}function q(S){for(;8<=S.u&&S.bb<S.Sb;)S.Ra>>>=8,S.Ra+=S.oa[S.pa+S.bb]<<ou-8>>>0,++S.bb,S.u-=8;re(S)&&(S.h=1,S.u=0)}function te(S,j){if(t(0<=j),!S.h&&j<=iu){var oe=Y(S)&ar[j];return S.u+=j,q(S),oe}return S.h=1,S.u=0}function ne(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function _(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Y(S){return S.Ra>>>(S.u&ou-1)>>>0}function re(S){return t(S.bb<=S.Sb),S.h||S.bb==S.Sb&&S.u>ou}function se(S,j){S.u=j,S.h=re(S)}function ce(S){S.u>=fc&&(t(S.u>=fc),q(S))}function N(S){t(S!=null&&S.oa!=null),S.pa<S.Zc?(S.I=(S.oa[S.pa++]|S.I<<8)>>>0,S.b+=8):(t(S!=null&&S.oa!=null),S.pa<S.Yc?(S.b+=8,S.I=S.oa[S.pa++]|S.I<<8):S.Ka?S.b=0:(S.I<<=8,S.b+=8,S.Ka=1))}function K(S){return X(S,1)}function Ae(S,j){var oe=S.Ca;0>S.b&&N(S);var he=S.b,Be=oe*j>>>8,Se=(S.I>>>he>Be)+0;for(Se?(oe-=Be,S.I-=Be+1<<he>>>0):oe=Be+1,he=oe,Be=0;256<=he;)Be+=8,he>>=8;return he=7^Be+mo[he],S.b-=he,S.Ca=(oe<<he)-1,Se}function ae(S,j,oe){S[j+0]=oe>>24&255,S[j+1]=oe>>16&255,S[j+2]=oe>>8&255,S[j+3]=oe>>0&255}function ie(S,j){return S[j+0]<<0|S[j+1]<<8}function J(S,j){return ie(S,j)|S[j+2]<<16}function ue(S,j){return ie(S,j)|ie(S,j+2)<<16}function G(S,j){var oe=1<<j;return t(S!=null),t(0<j),S.X=o(oe),S.X==null?0:(S.Mb=32-j,S.Xa=j,1)}function pe(S,j){t(S!=null),t(j!=null),t(S.Xa==j.Xa),r(j.X,0,S.X,0,1<<j.Xa)}function k(){this.X=[],this.Xa=this.Mb=0}function P(S,j,oe,he){t(oe!=null),t(he!=null);var Be=oe[0],Se=he[0];return Be==0&&(Be=(S*Se+j/2)/j),Se==0&&(Se=(j*Be+S/2)/S),0>=Be||0>=Se?0:(oe[0]=Be,he[0]=Se,1)}function U(S,j){return S+(1<<j)-1>>>j}function W(S,j){return((4278255360&S)+(4278255360&j)>>>0&4278255360)+((16711935&S)+(16711935&j)>>>0&16711935)>>>0}function de(S,j){O[j]=function(oe,he,Be,Se,Fe,Ie,Oe){var Le;for(Le=0;Le<Fe;++Le){var Ve=O[S](Ie[Oe+Le-1],Be,Se+Le);Ie[Oe+Le]=W(oe[he+Le],Ve)}}}function me(){this.ud=this.hd=this.jd=0}function ve(S,j){return((4278124286&(S^j))>>>1)+(S&j)>>>0}function be(S){return 0<=S&&256>S?S:0>S?0:255<S?255:void 0}function Te(S,j){return be(S+(S-j+.5>>1))}function we(S,j,oe){return Math.abs(j-oe)-Math.abs(S-oe)}function xe(S,j,oe,he,Be,Se,Fe){for(he=Se[Fe-1],oe=0;oe<Be;++oe)Se[Fe+oe]=he=W(S[j+oe],he)}function Ue(S,j,oe,he,Be){var Se;for(Se=0;Se<oe;++Se){var Fe=S[j+Se],Ie=Fe>>8&255,Oe=16711935&(Oe=(Oe=16711935&Fe)+((Ie<<16)+Ie));he[Be+Se]=(4278255360&Fe)+Oe>>>0}}function ke(S,j){j.jd=S>>0&255,j.hd=S>>8&255,j.ud=S>>16&255}function et(S,j,oe,he,Be,Se){var Fe;for(Fe=0;Fe<he;++Fe){var Ie=j[oe+Fe],Oe=Ie>>>8,Le=Ie,Ve=255&(Ve=(Ve=Ie>>>16)+((S.jd<<24>>24)*(Oe<<24>>24)>>>5));Le=255&(Le=(Le=Le+((S.hd<<24>>24)*(Oe<<24>>24)>>>5))+((S.ud<<24>>24)*(Ve<<24>>24)>>>5)),Be[Se+Fe]=(4278255360&Ie)+(Ve<<16)+Le}}function De(S,j,oe,he,Be){O[j]=function(Se,Fe,Ie,Oe,Le,Ve,At,at,Ye){for(Oe=At;Oe<at;++Oe)for(At=0;At<Ye;++At)Le[Ve++]=Be(Ie[he(Se[Fe++])])},O[S]=function(Se,Fe,Ie,Oe,Le,Ve,At){var at=8>>Se.b,Ye=Se.Ea,ft=Se.K[0],ct=Se.w;if(8>at)for(Se=(1<<Se.b)-1,ct=(1<<at)-1;Fe<Ie;++Fe){var ze,We=0;for(ze=0;ze<Ye;++ze)ze&Se||(We=he(Oe[Le++])),Ve[At++]=Be(ft[We&ct]),We>>=at}else O["VP8LMapColor"+oe](Oe,Le,ft,ct,Ve,At,Fe,Ie,Ye)}}function _e(S,j,oe,he,Be){for(oe=j+oe;j<oe;){var Se=S[j++];he[Be++]=Se>>16&255,he[Be++]=Se>>8&255,he[Be++]=Se>>0&255}}function Re(S,j,oe,he,Be){for(oe=j+oe;j<oe;){var Se=S[j++];he[Be++]=Se>>16&255,he[Be++]=Se>>8&255,he[Be++]=Se>>0&255,he[Be++]=Se>>24&255}}function Ne(S,j,oe,he,Be){for(oe=j+oe;j<oe;){var Se=(Fe=S[j++])>>16&240|Fe>>12&15,Fe=Fe>>0&240|Fe>>28&15;he[Be++]=Se,he[Be++]=Fe}}function ot(S,j,oe,he,Be){for(oe=j+oe;j<oe;){var Se=(Fe=S[j++])>>16&248|Fe>>13&7,Fe=Fe>>5&224|Fe>>3&31;he[Be++]=Se,he[Be++]=Fe}}function rt(S,j,oe,he,Be){for(oe=j+oe;j<oe;){var Se=S[j++];he[Be++]=Se>>0&255,he[Be++]=Se>>8&255,he[Be++]=Se>>16&255}}function nt(S,j,oe,he,Be,Se){if(Se==0)for(oe=j+oe;j<oe;)ae(he,((Se=S[j++])[0]>>24|Se[1]>>8&65280|Se[2]<<8&16711680|Se[3]<<24)>>>0),Be+=32;else r(he,Be,S,j,oe)}function Bt(S,j){O[j][0]=O[S+"0"],O[j][1]=O[S+"1"],O[j][2]=O[S+"2"],O[j][3]=O[S+"3"],O[j][4]=O[S+"4"],O[j][5]=O[S+"5"],O[j][6]=O[S+"6"],O[j][7]=O[S+"7"],O[j][8]=O[S+"8"],O[j][9]=O[S+"9"],O[j][10]=O[S+"10"],O[j][11]=O[S+"11"],O[j][12]=O[S+"12"],O[j][13]=O[S+"13"],O[j][14]=O[S+"0"],O[j][15]=O[S+"0"]}function Et(S){return S==Zg||S==e0||S==$h||S==yc}function Xt(){this.eb=[],this.size=this.A=this.fb=0}function Ut(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function $t(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Xt,this.f.kb=new Ut,this.sd=null}function xt(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Ct(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function ht(S){return alert("todo:WebPSamplerProcessPlane"),S.T}function Tt(S,j){var oe=S.T,he=j.ba.f.RGBA,Be=he.eb,Se=he.fb+S.ka*he.A,Fe=IA[j.ba.S],Ie=S.y,Oe=S.O,Le=S.f,Ve=S.N,At=S.ea,at=S.W,Ye=j.cc,ft=j.dc,ct=j.Mc,ze=j.Nc,We=S.ka,yt=S.ka+S.T,St=S.U,bt=St+1>>1;for(We==0?Fe(Ie,Oe,null,null,Le,Ve,At,at,Le,Ve,At,at,Be,Se,null,null,St):(Fe(j.ec,j.fc,Ie,Oe,Ye,ft,ct,ze,Le,Ve,At,at,Be,Se-he.A,Be,Se,St),++oe);We+2<yt;We+=2)Ye=Le,ft=Ve,ct=At,ze=at,Ve+=S.Rc,at+=S.Rc,Se+=2*he.A,Fe(Ie,(Oe+=2*S.fa)-S.fa,Ie,Oe,Ye,ft,ct,ze,Le,Ve,At,at,Be,Se-he.A,Be,Se,St);return Oe+=S.fa,S.j+yt<S.o?(r(j.ec,j.fc,Ie,Oe,St),r(j.cc,j.dc,Le,Ve,bt),r(j.Mc,j.Nc,At,at,bt),oe--):1&yt||Fe(Ie,Oe,null,null,Le,Ve,At,at,Le,Ve,At,at,Be,Se+he.A,null,null,St),oe}function Yt(S,j,oe){var he=S.F,Be=[S.J];if(he!=null){var Se=S.U,Fe=j.ba.S,Ie=Fe==Rh||Fe==$h;j=j.ba.f.RGBA;var Oe=[0],Le=S.ka;Oe[0]=S.T,S.Kb&&(Le==0?--Oe[0]:(--Le,Be[0]-=S.width),S.j+S.ka+S.T==S.o&&(Oe[0]=S.o-S.j-Le));var Ve=j.eb;Le=j.fb+Le*j.A,S=Qr(he,Be[0],S.width,Se,Oe,Ve,Le+(Ie?0:3),j.A),t(oe==Oe),S&&Et(Fe)&&sA(Ve,Le,Ie,Se,Oe,j.A)}return 0}function nn(S){var j=S.ma,oe=j.ba.S,he=11>oe,Be=oe==Lh||oe==Dh||oe==Rh||oe==vc||oe==12||Et(oe);if(j.memory=null,j.Ib=null,j.Jb=null,j.Nd=null,!fi(j.Oa,S,Be?11:12))return 0;if(Be&&Et(oe)&&_t(),S.da)alert("todo:use_scaling");else{if(he){if(j.Ib=ht,S.Kb){if(oe=S.U+1>>1,j.memory=o(S.U+2*oe),j.memory==null)return 0;j.ec=j.memory,j.fc=0,j.cc=j.ec,j.dc=j.fc+S.U,j.Mc=j.cc,j.Nc=j.dc+oe,j.Ib=Tt,_t()}}else alert("todo:EmitYUV");Be&&(j.Jb=Yt,he&&tt())}if(he&&!a1){for(S=0;256>S;++S)h2[S]=89858*(S-128)+Mh>>Hh,m2[S]=-22014*(S-128)+Mh,g2[S]=-45773*(S-128),p2[S]=113618*(S-128)+Mh>>Hh;for(S=el;S<r0;++S)j=76283*(S-16)+Mh>>Hh,v2[S-el]=Hi(j,255),y2[S-el]=Hi(j+8>>4,15);a1=1}return 1}function zn(S){var j=S.ma,oe=S.U,he=S.T;return t(!(1&S.ka)),0>=oe||0>=he?0:(oe=j.Ib(S,j),j.Jb!=null&&j.Jb(S,j,oe),j.Dc+=oe,1)}function ur(S){S.ma.memory=null}function Mt(S,j,oe,he){return te(S,8)!=47?0:(j[0]=te(S,14)+1,oe[0]=te(S,14)+1,he[0]=te(S,1),te(S,3)!=0?0:!S.h)}function vr(S,j){if(4>S)return S+1;var oe=S-2>>1;return(2+(1&S)<<oe)+te(j,oe)+1}function Yr(S,j){return 120<j?j-120:1<=(oe=((oe=t2[j-1])>>4)*S+(8-(15&oe)))?oe:1;var oe}function mt(S,j,oe){var he=Y(oe),Be=S[j+=255&he].g-8;return 0<Be&&(se(oe,oe.u+8),he=Y(oe),j+=S[j].value,j+=he&(1<<Be)-1),se(oe,oe.u+S[j].g),S[j].value}function vt(S,j,oe){return oe.g+=S.g,oe.value+=S.value<<j>>>0,t(8>=oe.g),S.g}function It(S,j,oe){var he=S.xc;return t((j=he==0?0:S.vc[S.md*(oe>>he)+(j>>he)])<S.Wb),S.Ya[j]}function an(S,j,oe,he){var Be=S.ab,Se=S.c*j,Fe=S.C;j=Fe+j;var Ie=oe,Oe=he;for(he=S.Ta,oe=S.Ua;0<Be--;){var Le=S.gc[Be],Ve=Fe,At=j,at=Ie,Ye=Oe,ft=(Oe=he,Ie=oe,Le.Ea);switch(t(Ve<At),t(At<=Le.nc),Le.hc){case 2:$f(at,Ye,(At-Ve)*ft,Oe,Ie);break;case 0:var ct=Ve,ze=At,We=Oe,yt=Ie,St=(Rt=Le).Ea;ct==0&&(dc(at,Ye,null,null,1,We,yt),xe(at,Ye+1,0,0,St-1,We,yt+1),Ye+=St,yt+=St,++ct);for(var bt=1<<Rt.b,jt=bt-1,Dt=U(St,Rt.b),sn=Rt.K,Rt=Rt.w+(ct>>Rt.b)*Dt;ct<ze;){var sr=sn,gr=Rt,Xn=1;for(hc(at,Ye,We,yt-St,1,We,yt);Xn<St;){var Ft=(Xn&~jt)+bt;Ft>St&&(Ft=St),(0,vo[sr[gr++]>>8&15])(at,Ye+ +Xn,We,yt+Xn-St,Ft-Xn,We,yt+Xn),Xn=Ft}Ye+=St,yt+=St,++ct&jt||(Rt+=Dt)}At!=Le.nc&&r(Oe,Ie-ft,Oe,Ie+(At-Ve-1)*ft,ft);break;case 1:for(ft=at,ze=Ye,St=(at=Le.Ea)-(yt=at&~(We=(Ye=1<<Le.b)-1)),ct=U(at,Le.b),bt=Le.K,Le=Le.w+(Ve>>Le.b)*ct;Ve<At;){for(jt=bt,Dt=Le,sn=new me,Rt=ze+yt,sr=ze+at;ze<Rt;)ke(jt[Dt++],sn),qs(sn,ft,ze,Ye,Oe,Ie),ze+=Ye,Ie+=Ye;ze<sr&&(ke(jt[Dt++],sn),qs(sn,ft,ze,St,Oe,Ie),ze+=St,Ie+=St),++Ve&We||(Le+=ct)}break;case 3:if(at==Oe&&Ye==Ie&&0<Le.b){for(ze=Oe,at=ft=Ie+(At-Ve)*ft-(yt=(At-Ve)*U(Le.Ea,Le.b)),Ye=Oe,We=Ie,ct=[],yt=(St=yt)-1;0<=yt;--yt)ct[yt]=Ye[We+yt];for(yt=St-1;0<=yt;--yt)ze[at+yt]=ct[yt];Zr(Le,Ve,At,Oe,ft,Oe,Ie)}else Zr(Le,Ve,At,at,Ye,Oe,Ie)}Ie=he,Oe=oe}Oe!=oe&&r(he,oe,Ie,Oe,Se)}function Mn(S,j){var oe=S.V,he=S.Ba+S.c*S.C,Be=j-S.C;if(t(j<=S.l.o),t(16>=Be),0<Be){var Se=S.l,Fe=S.Ta,Ie=S.Ua,Oe=Se.width;if(an(S,Be,oe,he),Be=Ie=[Ie],t((oe=S.C)<(he=j)),t(Se.v<Se.va),he>Se.o&&(he=Se.o),oe<Se.j){var Le=Se.j-oe;oe=Se.j,Be[0]+=Le*Oe}if(oe>=he?oe=0:(Be[0]+=4*Se.v,Se.ka=oe-Se.j,Se.U=Se.va-Se.v,Se.T=he-oe,oe=1),oe){if(Ie=Ie[0],11>(oe=S.ca).S){var Ve=oe.f.RGBA,At=(he=oe.S,Be=Se.U,Se=Se.T,Le=Ve.eb,Ve.A),at=Se;for(Ve=Ve.fb+S.Ma*Ve.A;0<at--;){var Ye=Fe,ft=Ie,ct=Be,ze=Le,We=Ve;switch(he){case Ph:yo(Ye,ft,ct,ze,We);break;case Lh:Xi(Ye,ft,ct,ze,We);break;case Zg:Xi(Ye,ft,ct,ze,We),sA(ze,We,0,ct,1,0);break;case uu:AA(Ye,ft,ct,ze,We);break;case Dh:nt(Ye,ft,ct,ze,We,1);break;case e0:nt(Ye,ft,ct,ze,We,1),sA(ze,We,0,ct,1,0);break;case Rh:nt(Ye,ft,ct,ze,We,0);break;case $h:nt(Ye,ft,ct,ze,We,0),sA(ze,We,1,ct,1,0);break;case vc:es(Ye,ft,ct,ze,We);break;case yc:es(Ye,ft,ct,ze,We),Ur(ze,We,ct,1,0);break;case e1:ts(Ye,ft,ct,ze,We);break;default:t(0)}Ie+=Oe,Ve+=At}S.Ma+=Se}else alert("todo:EmitRescaledRowsYUVA");t(S.Ma<=oe.height)}}S.C=j,t(S.C<=S.i)}function Kn(S){var j;if(0<S.ua)return 0;for(j=0;j<S.Wb;++j){var oe=S.Ya[j].G,he=S.Ya[j].H;if(0<oe[1][he[1]+0].g||0<oe[2][he[2]+0].g||0<oe[3][he[3]+0].g)return 0}return 1}function Ar(S,j,oe,he,Be,Se){if(S.Z!=0){var Fe=S.qd,Ie=S.rd;for(t(os[S.Z]!=null);j<oe;++j)os[S.Z](Fe,Ie,he,Be,he,Be,Se),Fe=he,Ie=Be,Be+=Se;S.qd=Fe,S.rd=Ie}}function Gn(S,j){var oe=S.l.ma,he=oe.Z==0||oe.Z==1?S.l.j:S.C;if(he=S.C<he?he:S.C,t(j<=S.l.o),j>he){var Be=S.l.width,Se=oe.ca,Fe=oe.tb+Be*he,Ie=S.V,Oe=S.Ba+S.c*he,Le=S.gc;t(S.ab==1),t(Le[0].hc==3),GA(Le[0],he,j,Ie,Oe,Se,Fe),Ar(oe,he,j,Se,Fe,Be)}S.C=S.Ma=j}function er(S,j,oe,he,Be,Se,Fe){var Ie=S.$/he,Oe=S.$%he,Le=S.m,Ve=S.s,At=oe+S.$,at=At;Be=oe+he*Be;var Ye=oe+he*Se,ft=280+Ve.ua,ct=S.Pb?Ie:16777216,ze=0<Ve.ua?Ve.Wa:null,We=Ve.wc,yt=At<Ye?It(Ve,Oe,Ie):null;t(S.C<Se),t(Ye<=Be);var St=!1;e:for(;;){for(;St||At<Ye;){var bt=0;if(Ie>=ct){var jt=At-oe;t((ct=S).Pb),ct.wd=ct.m,ct.xd=jt,0<ct.s.ua&&pe(ct.s.Wa,ct.s.vb),ct=Ie+r2}if(Oe&We||(yt=It(Ve,Oe,Ie)),t(yt!=null),yt.Qb&&(j[At]=yt.qb,St=!0),!St)if(ce(Le),yt.jc){bt=Le,jt=j;var Dt=At,sn=yt.pd[Y(bt)&di-1];t(yt.jc),256>sn.g?(se(bt,bt.u+sn.g),jt[Dt]=sn.value,bt=0):(se(bt,bt.u+sn.g-256),t(256<=sn.value),bt=sn.value),bt==0&&(St=!0)}else bt=mt(yt.G[0],yt.H[0],Le);if(Le.h)break;if(St||256>bt){if(!St)if(yt.nd)j[At]=(yt.qb|bt<<8)>>>0;else{if(ce(Le),St=mt(yt.G[1],yt.H[1],Le),ce(Le),jt=mt(yt.G[2],yt.H[2],Le),Dt=mt(yt.G[3],yt.H[3],Le),Le.h)break;j[At]=(Dt<<24|St<<16|bt<<8|jt)>>>0}if(St=!1,++At,++Oe>=he&&(Oe=0,++Ie,Fe!=null&&Ie<=Se&&!(Ie%16)&&Fe(S,Ie),ze!=null))for(;at<At;)bt=j[at++],ze.X[(506832829*bt&4294967295)>>>ze.Mb]=bt}else if(280>bt){if(bt=vr(bt-256,Le),jt=mt(yt.G[4],yt.H[4],Le),ce(Le),jt=Yr(he,jt=vr(jt,Le)),Le.h)break;if(At-oe<jt||Be-At<bt)break e;for(Dt=0;Dt<bt;++Dt)j[At+Dt]=j[At+Dt-jt];for(At+=bt,Oe+=bt;Oe>=he;)Oe-=he,++Ie,Fe!=null&&Ie<=Se&&!(Ie%16)&&Fe(S,Ie);if(t(At<=Be),Oe&We&&(yt=It(Ve,Oe,Ie)),ze!=null)for(;at<At;)bt=j[at++],ze.X[(506832829*bt&4294967295)>>>ze.Mb]=bt}else{if(!(bt<ft))break e;for(St=bt-280,t(ze!=null);at<At;)bt=j[at++],ze.X[(506832829*bt&4294967295)>>>ze.Mb]=bt;bt=At,t(!(St>>>(jt=ze).Xa)),j[bt]=jt.X[St],St=!0}St||t(Le.h==re(Le))}if(S.Pb&&Le.h&&At<Be)t(S.m.h),S.a=5,S.m=S.wd,S.$=S.xd,0<S.s.ua&&pe(S.s.vb,S.s.Wa);else{if(Le.h)break e;Fe!=null&&Fe(S,Ie>Se?Se:Ie),S.a=0,S.$=At-oe}return 1}return S.a=3,0}function yr(S){t(S!=null),S.vc=null,S.yc=null,S.Ya=null;var j=S.Wa;j!=null&&(j.X=null),S.vb=null,t(S!=null)}function br(){var S=new Jg;return S==null?null:(S.a=0,S.xb=r1,Bt("Predictor","VP8LPredictors"),Bt("Predictor","VP8LPredictors_C"),Bt("PredictorAdd","VP8LPredictorsAdd"),Bt("PredictorAdd","VP8LPredictorsAdd_C"),$f=Ue,qs=et,yo=_e,Xi=Re,es=Ne,ts=ot,AA=rt,O.VP8LMapColor32b=oA,O.VP8LMapColor8b=hi,S)}function Dn(S,j,oe,he,Be){var Se=1,Fe=[S],Ie=[j],Oe=he.m,Le=he.s,Ve=null,At=0;e:for(;;){if(oe)for(;Se&&te(Oe,1);){var at=Fe,Ye=Ie,ft=he,ct=1,ze=ft.m,We=ft.gc[ft.ab],yt=te(ze,2);if(ft.Oc&1<<yt)Se=0;else{switch(ft.Oc|=1<<yt,We.hc=yt,We.Ea=at[0],We.nc=Ye[0],We.K=[null],++ft.ab,t(4>=ft.ab),yt){case 0:case 1:We.b=te(ze,3)+2,ct=Dn(U(We.Ea,We.b),U(We.nc,We.b),0,ft,We.K),We.K=We.K[0];break;case 3:var St,bt=te(ze,8)+1,jt=16<bt?0:4<bt?1:2<bt?2:3;if(at[0]=U(We.Ea,jt),We.b=jt,St=ct=Dn(bt,1,0,ft,We.K)){var Dt,sn=bt,Rt=We,sr=1<<(8>>Rt.b),gr=o(sr);if(gr==null)St=0;else{var Xn=Rt.K[0],Ft=Rt.w;for(gr[0]=Rt.K[0][0],Dt=1;Dt<1*sn;++Dt)gr[Dt]=W(Xn[Ft+Dt],gr[Dt-1]);for(;Dt<4*sr;++Dt)gr[Dt]=0;Rt.K[0]=null,Rt.K[0]=gr,St=1}}ct=St;break;case 2:break;default:t(0)}Se=ct}}if(Fe=Fe[0],Ie=Ie[0],Se&&te(Oe,1)&&!(Se=1<=(At=te(Oe,4))&&11>=At)){he.a=3;break e}var Pr;if(Pr=Se)t:{var Br,Fn,mr,No=he,mi=Fe,Mi=Ie,tr=At,uA=oe,cA=No.m,ki=No.s,ei=[null],Yi=1,Ho=0,wa=n2[tr];n:for(;;){if(uA&&te(cA,1)){var Ii=te(cA,3)+2,As=U(mi,Ii),as=U(Mi,Ii),wc=As*as;if(!Dn(As,as,0,No,ei))break n;for(ei=ei[0],ki.xc=Ii,Br=0;Br<wc;++Br){var tl=ei[Br]>>8&65535;ei[Br]=tl,tl>=Yi&&(Yi=tl+1)}}if(cA.h)break n;for(Fn=0;5>Fn;++Fn){var ai=t1[Fn];!Fn&&0<tr&&(ai+=1<<tr),Ho<ai&&(Ho=ai)}var i0=A(Yi*wa,F),c1=Yi,f1=A(c1,E);if(f1==null)var jh=null;else t(65536>=c1),jh=f1;var kf=o(Ho);if(jh==null||kf==null||i0==null){No.a=1;break n}var jf=i0;for(Br=mr=0;Br<Yi;++Br){var XA=jh[Br],Bc=XA.G,Cc=XA.H,o0=0,Kh=1,Kf=0;for(Fn=0;5>Fn;++Fn){ai=t1[Fn],Bc[Fn]=jf,Cc[Fn]=mr,!Fn&&0<tr&&(ai+=1<<tr);i:{var Vh,Vf=ai,xc=No,Sc=kf,d1=jf,w2=mr,zh=0,Ba=xc.m,A0=te(Ba,1);if(i(Sc,0,0,Vf),A0){var h1=te(Ba,1)+1,p1=te(Ba,1),a0=te(Ba,p1==0?1:8);Sc[a0]=1,h1==2&&(Sc[a0=te(Ba,8)]=1);var zf=1}else{var Gh=o(19),g1=te(Ba,4)+4;if(19<g1){xc.a=3;var Wh=0;break i}for(Vh=0;Vh<g1;++Vh)Gh[Nh[Vh]]=te(Ba,3);var s0=void 0,so=void 0,qh=xc,B2=Gh,Xh=Vf,m1=Sc,l0=0,nl=qh.m,v1=8,y1=A(128,F);r:for(;R(y1,0,7,B2,19);){if(te(nl,1)){var C2=2+2*te(nl,3);if((s0=2+te(nl,C2))>Xh)break r}else s0=Xh;for(so=0;so<Xh&&s0--;){ce(nl);var b1=y1[0+(127&Y(nl))];se(nl,nl.u+b1.g);var cu=b1.value;if(16>cu)m1[so++]=cu,cu!=0&&(v1=cu);else{var x2=cu==16,Yh=cu-16,w1=ZC[Yh],ji=te(nl,JC[Yh])+w1;if(so+ji>Xh)break r;for(var Gf=x2?v1:0;0<ji--;)m1[so++]=Gf}}l0=1;break r}l0||(qh.a=3),zf=l0}(zf=zf&&!Ba.h)&&(zh=R(d1,w2,8,Sc,Vf)),zf&&zh!=0?Wh=zh:(xc.a=3,Wh=0)}if(Wh==0)break n;if(Kh&&e2[Fn]==1&&(Kh=jf[mr].g==0),o0+=jf[mr].g,mr+=Wh,3>=Fn){var Wf,u0=kf[0];for(Wf=1;Wf<ai;++Wf)kf[Wf]>u0&&(u0=kf[Wf]);Kf+=u0}}if(XA.nd=Kh,XA.Qb=0,Kh&&(XA.qb=(Bc[3][Cc[3]+0].value<<24|Bc[1][Cc[1]+0].value<<16|Bc[2][Cc[2]+0].value)>>>0,o0==0&&256>Bc[0][Cc[0]+0].value&&(XA.Qb=1,XA.qb+=Bc[0][Cc[0]+0].value<<8)),XA.jc=!XA.Qb&&6>Kf,XA.jc){var qf,YA=XA;for(qf=0;qf<di;++qf){var rl=qf,il=YA.pd[rl],Jh=YA.G[0][YA.H[0]+rl];256<=Jh.value?(il.g=Jh.g+256,il.value=Jh.value):(il.g=0,il.value=0,rl>>=vt(Jh,8,il),rl>>=vt(YA.G[1][YA.H[1]+rl],16,il),rl>>=vt(YA.G[2][YA.H[2]+rl],0,il),vt(YA.G[3][YA.H[3]+rl],24,il))}}}ki.vc=ei,ki.Wb=Yi,ki.Ya=jh,ki.yc=i0,Pr=1;break t}Pr=0}if(!(Se=Pr)){he.a=3;break e}if(0<At){if(Le.ua=1<<At,!G(Le.Wa,At)){he.a=1,Se=0;break e}}else Le.ua=0;var c0=he,B1=Fe,S2=Ie,f0=c0.s,d0=f0.xc;if(c0.c=B1,c0.i=S2,f0.md=U(B1,d0),f0.wc=d0==0?-1:(1<<d0)-1,oe){he.xb=u2;break e}if((Ve=o(Fe*Ie))==null){he.a=1,Se=0;break e}Se=(Se=er(he,Ve,0,Fe,Ie,Ie,null))&&!Oe.h;break e}return Se?(Be!=null?Be[0]=Ve:(t(Ve==null),t(oe)),he.$=0,oe||yr(Le)):yr(Le),Se}function Kr(S,j){var oe=S.c*S.i,he=oe+j+16*j;return t(S.c<=j),S.V=o(he),S.V==null?(S.Ta=null,S.Ua=0,S.a=1,0):(S.Ta=S.V,S.Ua=S.Ba+oe+j,1)}function ii(S,j){var oe=S.C,he=j-oe,Be=S.V,Se=S.Ba+S.c*oe;for(t(j<=S.l.o);0<he;){var Fe=16<he?16:he,Ie=S.l.ma,Oe=S.l.width,Le=Oe*Fe,Ve=Ie.ca,At=Ie.tb+Oe*oe,at=S.Ta,Ye=S.Ua;an(S,Fe,Be,Se),gi(at,Ye,Ve,At,Le),Ar(Ie,oe,oe+Fe,Ve,At,Oe),he-=Fe,Be+=Fe*S.c,oe+=Fe}t(oe==j),S.C=S.Ma=j}function Ht(){this.ub=this.yd=this.td=this.Rb=0}function je(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function wt(){this.Fb=this.Bb=this.Cb=0,this.Zb=o(4),this.Lb=o(4)}function Pt(){this.Yb=function(){var S=[];return function j(oe,he,Be){for(var Se=Be[he],Fe=0;Fe<Se&&(oe.push(Be.length>he+1?[]:0),!(Be.length<he+1));Fe++)j(oe[Fe],he+1,Be)}(S,0,[3,11]),S}()}function bn(){this.jb=o(3),this.Wc=a([4,8],Pt),this.Xc=a([4,17],Pt)}function oi(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new o(4),this.od=new o(4)}function hr(){this.ld=this.La=this.dd=this.tc=0}function Hr(){this.Na=this.la=0}function io(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function wr(){this.ad=o(384),this.Za=0,this.Ob=o(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Qo(){this.uc=this.M=this.Nb=0,this.wa=Array(new hr),this.Y=0,this.ya=Array(new wr),this.aa=0,this.l=new BA}function qa(){this.y=o(16),this.f=o(8),this.ea=o(8)}function ga(){this.cb=this.a=0,this.sc="",this.m=new ne,this.Od=new Ht,this.Kc=new je,this.ed=new oi,this.Qa=new wt,this.Ic=this.$c=this.Aa=0,this.D=new Qo,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=A(8,ne),this.ia=0,this.pb=A(4,io),this.Pa=new bn,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new qa),this.Hd=0,this.rb=Array(new Hr),this.sb=0,this.wa=Array(new hr),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new wr),this.L=this.aa=0,this.gd=a([4,2],hr),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function BA(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Xa(){var S=new ga;return S!=null&&(S.a=0,S.sc="OK",S.cb=0,S.Xb=0,Hf||(Hf=ma)),S}function Jr(S,j,oe){return S.a==0&&(S.a=j,S.sc=oe,S.cb=0),0}function ic(S,j,oe){return 3<=oe&&S[j+0]==157&&S[j+1]==1&&S[j+2]==42}function Wl(S,j){if(S==null)return 0;if(S.a=0,S.sc="OK",j==null)return Jr(S,2,"null VP8Io passed to VP8GetHeaders()");var oe=j.data,he=j.w,Be=j.ha;if(4>Be)return Jr(S,7,"Truncated header.");var Se=oe[he+0]|oe[he+1]<<8|oe[he+2]<<16,Fe=S.Od;if(Fe.Rb=!(1&Se),Fe.td=Se>>1&7,Fe.yd=Se>>4&1,Fe.ub=Se>>5,3<Fe.td)return Jr(S,3,"Incorrect keyframe parameters.");if(!Fe.yd)return Jr(S,4,"Frame not displayable.");he+=3,Be-=3;var Ie=S.Kc;if(Fe.Rb){if(7>Be)return Jr(S,7,"cannot parse picture header");if(!ic(oe,he,Be))return Jr(S,3,"Bad code word");Ie.c=16383&(oe[he+4]<<8|oe[he+3]),Ie.Td=oe[he+4]>>6,Ie.i=16383&(oe[he+6]<<8|oe[he+5]),Ie.Ud=oe[he+6]>>6,he+=7,Be-=7,S.za=Ie.c+15>>4,S.Ub=Ie.i+15>>4,j.width=Ie.c,j.height=Ie.i,j.Da=0,j.j=0,j.v=0,j.va=j.width,j.o=j.height,j.da=0,j.ib=j.width,j.hb=j.height,j.U=j.width,j.T=j.height,i((Se=S.Pa).jb,0,255,Se.jb.length),t((Se=S.Qa)!=null),Se.Cb=0,Se.Bb=0,Se.Fb=1,i(Se.Zb,0,0,Se.Zb.length),i(Se.Lb,0,0,Se.Lb)}if(Fe.ub>Be)return Jr(S,7,"bad partition length");H(Se=S.m,oe,he,Fe.ub),he+=Fe.ub,Be-=Fe.ub,Fe.Rb&&(Ie.Ld=K(Se),Ie.Kd=K(Se)),Ie=S.Qa;var Oe,Le=S.Pa;if(t(Se!=null),t(Ie!=null),Ie.Cb=K(Se),Ie.Cb){if(Ie.Bb=K(Se),K(Se)){for(Ie.Fb=K(Se),Oe=0;4>Oe;++Oe)Ie.Zb[Oe]=K(Se)?z(Se,7):0;for(Oe=0;4>Oe;++Oe)Ie.Lb[Oe]=K(Se)?z(Se,6):0}if(Ie.Bb)for(Oe=0;3>Oe;++Oe)Le.jb[Oe]=K(Se)?X(Se,8):255}else Ie.Bb=0;if(Se.Ka)return Jr(S,3,"cannot parse segment header");if((Ie=S.ed).zd=K(Se),Ie.Tb=X(Se,6),Ie.wb=X(Se,3),Ie.Pc=K(Se),Ie.Pc&&K(Se)){for(Le=0;4>Le;++Le)K(Se)&&(Ie.vd[Le]=z(Se,6));for(Le=0;4>Le;++Le)K(Se)&&(Ie.od[Le]=z(Se,6))}if(S.L=Ie.Tb==0?0:Ie.zd?1:2,Se.Ka)return Jr(S,3,"cannot parse filter header");var Ve=Be;if(Be=Oe=he,he=Oe+Ve,Ie=Ve,S.Xb=(1<<X(S.m,2))-1,Ve<3*(Le=S.Xb))oe=7;else{for(Oe+=3*Le,Ie-=3*Le,Ve=0;Ve<Le;++Ve){var At=oe[Be+0]|oe[Be+1]<<8|oe[Be+2]<<16;At>Ie&&(At=Ie),H(S.Jc[+Ve],oe,Oe,At),Oe+=At,Ie-=At,Be+=3}H(S.Jc[+Le],oe,Oe,Ie),oe=Oe<he?0:5}if(oe!=0)return Jr(S,oe,"cannot parse partitions");for(oe=X(Oe=S.m,7),Be=K(Oe)?z(Oe,4):0,he=K(Oe)?z(Oe,4):0,Ie=K(Oe)?z(Oe,4):0,Le=K(Oe)?z(Oe,4):0,Oe=K(Oe)?z(Oe,4):0,Ve=S.Qa,At=0;4>At;++At){if(Ve.Cb){var at=Ve.Zb[At];Ve.Fb||(at+=oe)}else{if(0<At){S.pb[At]=S.pb[0];continue}at=oe}var Ye=S.pb[At];Ye.Sc[0]=t0[Hi(at+Be,127)],Ye.Sc[1]=bc[Hi(at+0,127)],Ye.Eb[0]=2*t0[Hi(at+he,127)],Ye.Eb[1]=101581*bc[Hi(at+Ie,127)]>>16,8>Ye.Eb[1]&&(Ye.Eb[1]=8),Ye.Qc[0]=t0[Hi(at+Le,117)],Ye.Qc[1]=bc[Hi(at+Oe,127)],Ye.lc=at+Oe}if(!Fe.Rb)return Jr(S,4,"Not a key frame.");for(K(Se),Fe=S.Pa,oe=0;4>oe;++oe){for(Be=0;8>Be;++Be)for(he=0;3>he;++he)for(Ie=0;11>Ie;++Ie)Le=Ae(Se,s2[oe][Be][he][Ie])?X(Se,8):A2[oe][Be][he][Ie],Fe.Wc[oe][Be].Yb[he][Ie]=Le;for(Be=0;17>Be;++Be)Fe.Xc[oe][Be]=Fe.Wc[oe][l2[Be]]}return S.kc=K(Se),S.kc&&(S.Bd=X(Se,8)),S.cb=1}function ma(S,j,oe,he,Be,Se,Fe){var Ie=j[Be].Yb[oe];for(oe=0;16>Be;++Be){if(!Ae(S,Ie[oe+0]))return Be;for(;!Ae(S,Ie[oe+1]);)if(Ie=j[++Be].Yb[0],oe=0,Be==16)return 16;var Oe=j[Be+1].Yb;if(Ae(S,Ie[oe+2])){var Le=S,Ve=0;if(Ae(Le,(at=Ie)[(At=oe)+3]))if(Ae(Le,at[At+6])){for(Ie=0,At=2*(Ve=Ae(Le,at[At+8]))+(at=Ae(Le,at[At+9+Ve])),Ve=0,at=i2[At];at[Ie];++Ie)Ve+=Ve+Ae(Le,at[Ie]);Ve+=3+(8<<At)}else Ae(Le,at[At+7])?(Ve=7+2*Ae(Le,165),Ve+=Ae(Le,145)):Ve=5+Ae(Le,159);else Ve=Ae(Le,at[At+4])?3+Ae(Le,at[At+5]):2;Ie=Oe[2]}else Ve=1,Ie=Oe[1];Oe=Fe+o2[Be],0>(Le=S).b&&N(Le);var At,at=Le.b,Ye=(At=Le.Ca>>1)-(Le.I>>at)>>31;--Le.b,Le.Ca+=Ye,Le.Ca|=1,Le.I-=(At+1&Ye)<<at,Se[Oe]=((Ve^Ye)-Ye)*he[(0<Be)+0]}return 16}function KA(S){var j=S.rb[S.sb-1];j.la=0,j.Na=0,i(S.zc,0,0,S.zc.length),S.ja=0}function VA(S,j){if(S==null)return 0;if(j==null)return Jr(S,2,"NULL VP8Io parameter in VP8Decode().");if(!S.cb&&!Wl(S,j))return 0;if(t(S.cb),j.ac==null||j.ac(j)){j.ob&&(S.L=0);var oe=kh[S.L];if(S.L==2?(S.yb=0,S.zb=0):(S.yb=j.v-oe>>4,S.zb=j.j-oe>>4,0>S.yb&&(S.yb=0),0>S.zb&&(S.zb=0)),S.Va=j.o+15+oe>>4,S.Hb=j.va+15+oe>>4,S.Hb>S.za&&(S.Hb=S.za),S.Va>S.Ub&&(S.Va=S.Ub),0<S.L){var he=S.ed;for(oe=0;4>oe;++oe){var Be;if(S.Qa.Cb){var Se=S.Qa.Lb[oe];S.Qa.Fb||(Se+=he.Tb)}else Se=he.Tb;for(Be=0;1>=Be;++Be){var Fe=S.gd[oe][Be],Ie=Se;if(he.Pc&&(Ie+=he.vd[0],Be&&(Ie+=he.od[0])),0<(Ie=0>Ie?0:63<Ie?63:Ie)){var Oe=Ie;0<he.wb&&(Oe=4<he.wb?Oe>>2:Oe>>1)>9-he.wb&&(Oe=9-he.wb),1>Oe&&(Oe=1),Fe.dd=Oe,Fe.tc=2*Ie+Oe,Fe.ld=40<=Ie?2:15<=Ie?1:0}else Fe.tc=0;Fe.La=Be}}}oe=0}else Jr(S,6,"Frame setup failed"),oe=S.a;if(oe=oe==0){if(oe){S.$c=0,0<S.Aa||(S.Ic=l1);e:{oe=S.Ic,he=4*(Oe=S.za);var Le=32*Oe,Ve=Oe+1,At=0<S.L?Oe*(0<S.Aa?2:1):0,at=(S.Aa==2?2:1)*Oe;if((Fe=he+832+(Be=3*(16*oe+kh[S.L])/2*Le)+(Se=S.Fa!=null&&0<S.Fa.length?S.Kc.c*S.Kc.i:0))!=Fe)oe=0;else{if(Fe>S.Vb){if(S.Vb=0,S.Ec=o(Fe),S.Fc=0,S.Ec==null){oe=Jr(S,1,"no memory during frame initialization.");break e}S.Vb=Fe}Fe=S.Ec,Ie=S.Fc,S.Ac=Fe,S.Bc=Ie,Ie+=he,S.Gd=A(Le,qa),S.Hd=0,S.rb=A(Ve+1,Hr),S.sb=1,S.wa=At?A(At,hr):null,S.Y=0,S.D.Nb=0,S.D.wa=S.wa,S.D.Y=S.Y,0<S.Aa&&(S.D.Y+=Oe),t(!0),S.oc=Fe,S.pc=Ie,Ie+=832,S.ya=A(at,wr),S.aa=0,S.D.ya=S.ya,S.D.aa=S.aa,S.Aa==2&&(S.D.aa+=Oe),S.R=16*Oe,S.B=8*Oe,Oe=(Le=kh[S.L])*S.R,Le=Le/2*S.B,S.sa=Fe,S.ta=Ie+Oe,S.qa=S.sa,S.ra=S.ta+16*oe*S.R+Le,S.Ha=S.qa,S.Ia=S.ra+8*oe*S.B+Le,S.$c=0,Ie+=Be,S.mb=Se?Fe:null,S.nb=Se?Ie:null,t(Ie+Se<=S.Fc+S.Vb),KA(S),i(S.Ac,S.Bc,0,he),oe=1}}if(oe){if(j.ka=0,j.y=S.sa,j.O=S.ta,j.f=S.qa,j.N=S.ra,j.ea=S.Ha,j.Vd=S.Ia,j.fa=S.R,j.Rc=S.B,j.F=null,j.J=0,!Th){for(oe=-255;255>=oe;++oe)Ai[255+oe]=0>oe?-oe:oe;for(oe=-1020;1020>=oe;++oe)is[1020+oe]=-128>oe?-128:127<oe?127:oe;for(oe=-112;112>=oe;++oe)Nf[112+oe]=-16>oe?-16:15<oe?15:oe;for(oe=-255;510>=oe;++oe)Js[255+oe]=0>oe?0:255<oe?255:oe;Th=1}Ro=Yl,ns=Xl,Xs=nA,ao=Of,SA=Tf,pi=ql,pc=zs,$o=Gs,gc=lc,Au=eu,au=Yg,WA=rA,su=Qf,lu=Ih,Ys=Ja,rs=ba,mc=Za,aA=Xg,qA[0]=ya,qA[1]=oc,qA[2]=Wg,qA[3]=qg,qA[4]=bh,qA[5]=Ac,qA[6]=wh,qA[7]=Lo,qA[8]=Ch,qA[9]=Bh,Zs[0]=va,Zs[1]=zg,Zs[2]=Ya,Zs[3]=Jl,Zs[4]=oo,Zs[5]=Gg,Zs[6]=yh,FA[0]=js,FA[1]=Ms,FA[2]=xh,FA[3]=Uf,FA[4]=Ks,FA[5]=Sh,FA[6]=ac,oe=1}else oe=0}oe&&(oe=function(Ye,ft){for(Ye.M=0;Ye.M<Ye.Va;++Ye.M){var ct,ze=Ye.Jc[Ye.M&Ye.Xb],We=Ye.m,yt=Ye;for(ct=0;ct<yt.za;++ct){var St=We,bt=yt,jt=bt.Ac,Dt=bt.Bc+4*ct,sn=bt.zc,Rt=bt.ya[bt.aa+ct];if(bt.Qa.Bb?Rt.$b=Ae(St,bt.Pa.jb[0])?2+Ae(St,bt.Pa.jb[2]):Ae(St,bt.Pa.jb[1]):Rt.$b=0,bt.kc&&(Rt.Ad=Ae(St,bt.Bd)),Rt.Za=!Ae(St,145)+0,Rt.Za){var sr=Rt.Ob,gr=0;for(bt=0;4>bt;++bt){var Xn,Ft=sn[0+bt];for(Xn=0;4>Xn;++Xn){Ft=a2[jt[Dt+Xn]][Ft];for(var Pr=n1[Ae(St,Ft[0])];0<Pr;)Pr=n1[2*Pr+Ae(St,Ft[Pr])];Ft=-Pr,jt[Dt+Xn]=Ft}r(sr,gr,jt,Dt,4),gr+=4,sn[0+bt]=Ft}}else Ft=Ae(St,156)?Ae(St,128)?1:3:Ae(St,163)?2:0,Rt.Ob[0]=Ft,i(jt,Dt,Ft,4),i(sn,0,Ft,4);Rt.Dd=Ae(St,142)?Ae(St,114)?Ae(St,183)?1:3:2:0}if(yt.m.Ka)return Jr(Ye,7,"Premature end-of-partition0 encountered.");for(;Ye.ja<Ye.za;++Ye.ja){if(yt=ze,St=(We=Ye).rb[We.sb-1],jt=We.rb[We.sb+We.ja],ct=We.ya[We.aa+We.ja],Dt=We.kc?ct.Ad:0)St.la=jt.la=0,ct.Za||(St.Na=jt.Na=0),ct.Hc=0,ct.Gc=0,ct.ia=0;else{var Br,Fn;if(St=jt,jt=yt,Dt=We.Pa.Xc,sn=We.ya[We.aa+We.ja],Rt=We.pb[sn.$b],bt=sn.ad,sr=0,gr=We.rb[We.sb-1],Ft=Xn=0,i(bt,sr,0,384),sn.Za)var mr=0,No=Dt[3];else{Pr=o(16);var mi=St.Na+gr.Na;if(mi=Hf(jt,Dt[1],mi,Rt.Eb,0,Pr,0),St.Na=gr.Na=(0<mi)+0,1<mi)Ro(Pr,0,bt,sr);else{var Mi=Pr[0]+3>>3;for(Pr=0;256>Pr;Pr+=16)bt[sr+Pr]=Mi}mr=1,No=Dt[0]}var tr=15&St.la,uA=15&gr.la;for(Pr=0;4>Pr;++Pr){var cA=1&uA;for(Mi=Fn=0;4>Mi;++Mi)tr=tr>>1|(cA=(mi=Hf(jt,No,mi=cA+(1&tr),Rt.Sc,mr,bt,sr))>mr)<<7,Fn=Fn<<2|(3<mi?3:1<mi?2:bt[sr+0]!=0),sr+=16;tr>>=4,uA=uA>>1|cA<<7,Xn=(Xn<<8|Fn)>>>0}for(No=tr,mr=uA>>4,Br=0;4>Br;Br+=2){for(Fn=0,tr=St.la>>4+Br,uA=gr.la>>4+Br,Pr=0;2>Pr;++Pr){for(cA=1&uA,Mi=0;2>Mi;++Mi)mi=cA+(1&tr),tr=tr>>1|(cA=0<(mi=Hf(jt,Dt[2],mi,Rt.Qc,0,bt,sr)))<<3,Fn=Fn<<2|(3<mi?3:1<mi?2:bt[sr+0]!=0),sr+=16;tr>>=2,uA=uA>>1|cA<<5}Ft|=Fn<<4*Br,No|=tr<<4<<Br,mr|=(240&uA)<<Br}St.la=No,gr.la=mr,sn.Hc=Xn,sn.Gc=Ft,sn.ia=43690&Ft?0:Rt.ia,Dt=!(Xn|Ft)}if(0<We.L&&(We.wa[We.Y+We.ja]=We.gd[ct.$b][ct.Za],We.wa[We.Y+We.ja].La|=!Dt),yt.Ka)return Jr(Ye,7,"Premature end-of-file encountered.")}if(KA(Ye),We=ft,yt=1,ct=(ze=Ye).D,St=0<ze.L&&ze.M>=ze.zb&&ze.M<=ze.Va,ze.Aa==0)e:{if(ct.M=ze.M,ct.uc=St,Vr(ze,ct),yt=1,ct=(Fn=ze.D).Nb,St=(Ft=kh[ze.L])*ze.R,jt=Ft/2*ze.B,Pr=16*ct*ze.R,Mi=8*ct*ze.B,Dt=ze.sa,sn=ze.ta-St+Pr,Rt=ze.qa,bt=ze.ra-jt+Mi,sr=ze.Ha,gr=ze.Ia-jt+Mi,uA=(tr=Fn.M)==0,Xn=tr>=ze.Va-1,ze.Aa==2&&Vr(ze,Fn),Fn.uc)for(cA=(mi=ze).D.M,t(mi.D.uc),Fn=mi.yb;Fn<mi.Hb;++Fn){mr=Fn,No=cA;var ki=(ei=(ai=mi).D).Nb;Br=ai.R;var ei=ei.wa[ei.Y+mr],Yi=ai.sa,Ho=ai.ta+16*ki*Br+16*mr,wa=ei.dd,Ii=ei.tc;if(Ii!=0)if(t(3<=Ii),ai.L==1)0<mr&&rs(Yi,Ho,Br,Ii+4),ei.La&&aA(Yi,Ho,Br,Ii),0<No&&Ys(Yi,Ho,Br,Ii+4),ei.La&&mc(Yi,Ho,Br,Ii);else{var As=ai.B,as=ai.qa,wc=ai.ra+8*ki*As+8*mr,tl=ai.Ha,ai=ai.Ia+8*ki*As+8*mr;ki=ei.ld,0<mr&&($o(Yi,Ho,Br,Ii+4,wa,ki),Au(as,wc,tl,ai,As,Ii+4,wa,ki)),ei.La&&(WA(Yi,Ho,Br,Ii,wa,ki),lu(as,wc,tl,ai,As,Ii,wa,ki)),0<No&&(pc(Yi,Ho,Br,Ii+4,wa,ki),gc(as,wc,tl,ai,As,Ii+4,wa,ki)),ei.La&&(au(Yi,Ho,Br,Ii,wa,ki),su(as,wc,tl,ai,As,Ii,wa,ki))}}if(ze.ia&&alert("todo:DitherRow"),We.put!=null){if(Fn=16*tr,tr=16*(tr+1),uA?(We.y=ze.sa,We.O=ze.ta+Pr,We.f=ze.qa,We.N=ze.ra+Mi,We.ea=ze.Ha,We.W=ze.Ia+Mi):(Fn-=Ft,We.y=Dt,We.O=sn,We.f=Rt,We.N=bt,We.ea=sr,We.W=gr),Xn||(tr-=Ft),tr>We.o&&(tr=We.o),We.F=null,We.J=null,ze.Fa!=null&&0<ze.Fa.length&&Fn<tr&&(We.J=Rf(ze,We,Fn,tr-Fn),We.F=ze.mb,We.F==null&&We.F.length==0)){yt=Jr(ze,3,"Could not decode alpha data.");break e}Fn<We.j&&(Ft=We.j-Fn,Fn=We.j,t(!(1&Ft)),We.O+=ze.R*Ft,We.N+=ze.B*(Ft>>1),We.W+=ze.B*(Ft>>1),We.F!=null&&(We.J+=We.width*Ft)),Fn<tr&&(We.O+=We.v,We.N+=We.v>>1,We.W+=We.v>>1,We.F!=null&&(We.J+=We.v),We.ka=Fn-We.j,We.U=We.va-We.v,We.T=tr-Fn,yt=We.put(We))}ct+1!=ze.Ic||Xn||(r(ze.sa,ze.ta-St,Dt,sn+16*ze.R,St),r(ze.qa,ze.ra-jt,Rt,bt+8*ze.B,jt),r(ze.Ha,ze.Ia-jt,sr,gr+8*ze.B,jt))}if(!yt)return Jr(Ye,6,"Output aborted.")}return 1}(S,j)),j.bc!=null&&j.bc(j),oe&=1}return oe?(S.cb=0,oe):0}function go(S,j,oe,he,Be){Be=S[j+oe+32*he]+(Be>>3),S[j+oe+32*he]=-256&Be?0>Be?0:255:Be}function ci(S,j,oe,he,Be,Se){go(S,j,0,oe,he+Be),go(S,j,1,oe,he+Se),go(S,j,2,oe,he-Se),go(S,j,3,oe,he-Be)}function pr(S){return(20091*S>>16)+S}function Po(S,j,oe,he){var Be,Se=0,Fe=o(16);for(Be=0;4>Be;++Be){var Ie=S[j+0]+S[j+8],Oe=S[j+0]-S[j+8],Le=(35468*S[j+4]>>16)-pr(S[j+12]),Ve=pr(S[j+4])+(35468*S[j+12]>>16);Fe[Se+0]=Ie+Ve,Fe[Se+1]=Oe+Le,Fe[Se+2]=Oe-Le,Fe[Se+3]=Ie-Ve,Se+=4,j++}for(Be=Se=0;4>Be;++Be)Ie=(S=Fe[Se+0]+4)+Fe[Se+8],Oe=S-Fe[Se+8],Le=(35468*Fe[Se+4]>>16)-pr(Fe[Se+12]),go(oe,he,0,0,Ie+(Ve=pr(Fe[Se+4])+(35468*Fe[Se+12]>>16))),go(oe,he,1,0,Oe+Le),go(oe,he,2,0,Oe-Le),go(oe,he,3,0,Ie-Ve),Se++,he+=32}function ql(S,j,oe,he){var Be=S[j+0]+4,Se=35468*S[j+4]>>16,Fe=pr(S[j+4]),Ie=35468*S[j+1]>>16;ci(oe,he,0,Be+Fe,S=pr(S[j+1]),Ie),ci(oe,he,1,Be+Se,S,Ie),ci(oe,he,2,Be-Se,S,Ie),ci(oe,he,3,Be-Fe,S,Ie)}function Xl(S,j,oe,he,Be){Po(S,j,oe,he),Be&&Po(S,j+16,oe,he+4)}function nA(S,j,oe,he){ns(S,j+0,oe,he,1),ns(S,j+32,oe,he+128,1)}function Of(S,j,oe,he){var Be;for(S=S[j+0]+4,Be=0;4>Be;++Be)for(j=0;4>j;++j)go(oe,he,j,Be,S)}function Tf(S,j,oe,he){S[j+0]&&ao(S,j+0,oe,he),S[j+16]&&ao(S,j+16,oe,he+4),S[j+32]&&ao(S,j+32,oe,he+128),S[j+48]&&ao(S,j+48,oe,he+128+4)}function Yl(S,j,oe,he){var Be,Se=o(16);for(Be=0;4>Be;++Be){var Fe=S[j+0+Be]+S[j+12+Be],Ie=S[j+4+Be]+S[j+8+Be],Oe=S[j+4+Be]-S[j+8+Be],Le=S[j+0+Be]-S[j+12+Be];Se[0+Be]=Fe+Ie,Se[8+Be]=Fe-Ie,Se[4+Be]=Le+Oe,Se[12+Be]=Le-Oe}for(Be=0;4>Be;++Be)Fe=(S=Se[0+4*Be]+3)+Se[3+4*Be],Ie=Se[1+4*Be]+Se[2+4*Be],Oe=Se[1+4*Be]-Se[2+4*Be],Le=S-Se[3+4*Be],oe[he+0]=Fe+Ie>>3,oe[he+16]=Le+Oe>>3,oe[he+32]=Fe-Ie>>3,oe[he+48]=Le-Oe>>3,he+=64}function zA(S,j,oe){var he,Be=j-32,Se=lA,Fe=255-S[Be-1];for(he=0;he<oe;++he){var Ie,Oe=Se,Le=Fe+S[j-1];for(Ie=0;Ie<oe;++Ie)S[j+Ie]=Oe[Le+S[Be+Ie]];j+=32}}function oc(S,j){zA(S,j,4)}function Ms(S,j){zA(S,j,8)}function zg(S,j){zA(S,j,16)}function Ya(S,j){var oe;for(oe=0;16>oe;++oe)r(S,j+32*oe,S,j-32,16)}function Jl(S,j){var oe;for(oe=16;0<oe;--oe)i(S,j,S[j-1],16),j+=32}function ks(S,j,oe){var he;for(he=0;16>he;++he)i(j,oe+32*he,S,16)}function va(S,j){var oe,he=16;for(oe=0;16>oe;++oe)he+=S[j-1+32*oe]+S[j+oe-32];ks(he>>5,S,j)}function oo(S,j){var oe,he=8;for(oe=0;16>oe;++oe)he+=S[j-1+32*oe];ks(he>>4,S,j)}function Gg(S,j){var oe,he=8;for(oe=0;16>oe;++oe)he+=S[j+oe-32];ks(he>>4,S,j)}function yh(S,j){ks(128,S,j)}function pn(S,j,oe){return S+2*j+oe+2>>2}function Wg(S,j){var oe,he=j-32;for(he=new Uint8Array([pn(S[he-1],S[he+0],S[he+1]),pn(S[he+0],S[he+1],S[he+2]),pn(S[he+1],S[he+2],S[he+3]),pn(S[he+2],S[he+3],S[he+4])]),oe=0;4>oe;++oe)r(S,j+32*oe,he,0,he.length)}function qg(S,j){var oe=S[j-1],he=S[j-1+32],Be=S[j-1+64],Se=S[j-1+96];ae(S,j+0,16843009*pn(S[j-1-32],oe,he)),ae(S,j+32,16843009*pn(oe,he,Be)),ae(S,j+64,16843009*pn(he,Be,Se)),ae(S,j+96,16843009*pn(Be,Se,Se))}function ya(S,j){var oe,he=4;for(oe=0;4>oe;++oe)he+=S[j+oe-32]+S[j-1+32*oe];for(he>>=3,oe=0;4>oe;++oe)i(S,j+32*oe,he,4)}function bh(S,j){var oe=S[j-1+0],he=S[j-1+32],Be=S[j-1+64],Se=S[j-1-32],Fe=S[j+0-32],Ie=S[j+1-32],Oe=S[j+2-32],Le=S[j+3-32];S[j+0+96]=pn(he,Be,S[j-1+96]),S[j+1+96]=S[j+0+64]=pn(oe,he,Be),S[j+2+96]=S[j+1+64]=S[j+0+32]=pn(Se,oe,he),S[j+3+96]=S[j+2+64]=S[j+1+32]=S[j+0+0]=pn(Fe,Se,oe),S[j+3+64]=S[j+2+32]=S[j+1+0]=pn(Ie,Fe,Se),S[j+3+32]=S[j+2+0]=pn(Oe,Ie,Fe),S[j+3+0]=pn(Le,Oe,Ie)}function wh(S,j){var oe=S[j+1-32],he=S[j+2-32],Be=S[j+3-32],Se=S[j+4-32],Fe=S[j+5-32],Ie=S[j+6-32],Oe=S[j+7-32];S[j+0+0]=pn(S[j+0-32],oe,he),S[j+1+0]=S[j+0+32]=pn(oe,he,Be),S[j+2+0]=S[j+1+32]=S[j+0+64]=pn(he,Be,Se),S[j+3+0]=S[j+2+32]=S[j+1+64]=S[j+0+96]=pn(Be,Se,Fe),S[j+3+32]=S[j+2+64]=S[j+1+96]=pn(Se,Fe,Ie),S[j+3+64]=S[j+2+96]=pn(Fe,Ie,Oe),S[j+3+96]=pn(Ie,Oe,Oe)}function Ac(S,j){var oe=S[j-1+0],he=S[j-1+32],Be=S[j-1+64],Se=S[j-1-32],Fe=S[j+0-32],Ie=S[j+1-32],Oe=S[j+2-32],Le=S[j+3-32];S[j+0+0]=S[j+1+64]=Se+Fe+1>>1,S[j+1+0]=S[j+2+64]=Fe+Ie+1>>1,S[j+2+0]=S[j+3+64]=Ie+Oe+1>>1,S[j+3+0]=Oe+Le+1>>1,S[j+0+96]=pn(Be,he,oe),S[j+0+64]=pn(he,oe,Se),S[j+0+32]=S[j+1+96]=pn(oe,Se,Fe),S[j+1+32]=S[j+2+96]=pn(Se,Fe,Ie),S[j+2+32]=S[j+3+96]=pn(Fe,Ie,Oe),S[j+3+32]=pn(Ie,Oe,Le)}function Lo(S,j){var oe=S[j+0-32],he=S[j+1-32],Be=S[j+2-32],Se=S[j+3-32],Fe=S[j+4-32],Ie=S[j+5-32],Oe=S[j+6-32],Le=S[j+7-32];S[j+0+0]=oe+he+1>>1,S[j+1+0]=S[j+0+64]=he+Be+1>>1,S[j+2+0]=S[j+1+64]=Be+Se+1>>1,S[j+3+0]=S[j+2+64]=Se+Fe+1>>1,S[j+0+32]=pn(oe,he,Be),S[j+1+32]=S[j+0+96]=pn(he,Be,Se),S[j+2+32]=S[j+1+96]=pn(Be,Se,Fe),S[j+3+32]=S[j+2+96]=pn(Se,Fe,Ie),S[j+3+64]=pn(Fe,Ie,Oe),S[j+3+96]=pn(Ie,Oe,Le)}function Bh(S,j){var oe=S[j-1+0],he=S[j-1+32],Be=S[j-1+64],Se=S[j-1+96];S[j+0+0]=oe+he+1>>1,S[j+2+0]=S[j+0+32]=he+Be+1>>1,S[j+2+32]=S[j+0+64]=Be+Se+1>>1,S[j+1+0]=pn(oe,he,Be),S[j+3+0]=S[j+1+32]=pn(he,Be,Se),S[j+3+32]=S[j+1+64]=pn(Be,Se,Se),S[j+3+64]=S[j+2+64]=S[j+0+96]=S[j+1+96]=S[j+2+96]=S[j+3+96]=Se}function Ch(S,j){var oe=S[j-1+0],he=S[j-1+32],Be=S[j-1+64],Se=S[j-1+96],Fe=S[j-1-32],Ie=S[j+0-32],Oe=S[j+1-32],Le=S[j+2-32];S[j+0+0]=S[j+2+32]=oe+Fe+1>>1,S[j+0+32]=S[j+2+64]=he+oe+1>>1,S[j+0+64]=S[j+2+96]=Be+he+1>>1,S[j+0+96]=Se+Be+1>>1,S[j+3+0]=pn(Ie,Oe,Le),S[j+2+0]=pn(Fe,Ie,Oe),S[j+1+0]=S[j+3+32]=pn(oe,Fe,Ie),S[j+1+32]=S[j+3+64]=pn(he,oe,Fe),S[j+1+64]=S[j+3+96]=pn(Be,he,oe),S[j+1+96]=pn(Se,Be,he)}function xh(S,j){var oe;for(oe=0;8>oe;++oe)r(S,j+32*oe,S,j-32,8)}function Uf(S,j){var oe;for(oe=0;8>oe;++oe)i(S,j,S[j-1],8),j+=32}function Zl(S,j,oe){var he;for(he=0;8>he;++he)i(j,oe+32*he,S,8)}function js(S,j){var oe,he=8;for(oe=0;8>oe;++oe)he+=S[j+oe-32]+S[j-1+32*oe];Zl(he>>4,S,j)}function Sh(S,j){var oe,he=4;for(oe=0;8>oe;++oe)he+=S[j+oe-32];Zl(he>>3,S,j)}function Ks(S,j){var oe,he=4;for(oe=0;8>oe;++oe)he+=S[j-1+32*oe];Zl(he>>3,S,j)}function ac(S,j){Zl(128,S,j)}function sc(S,j,oe){var he=S[j-oe],Be=S[j+0],Se=3*(Be-he)+Uh[1020+S[j-2*oe]-S[j+oe]],Fe=Qh[112+(Se+4>>3)];S[j-oe]=lA[255+he+Qh[112+(Se+3>>3)]],S[j+0]=lA[255+Be-Fe]}function Eh(S,j,oe,he){var Be=S[j+0],Se=S[j+oe];return EA[255+S[j-2*oe]-S[j-oe]]>he||EA[255+Se-Be]>he}function Ei(S,j,oe,he){return 4*EA[255+S[j-oe]-S[j+0]]+EA[255+S[j-2*oe]-S[j+oe]]<=he}function Fh(S,j,oe,he,Be){var Se=S[j-3*oe],Fe=S[j-2*oe],Ie=S[j-oe],Oe=S[j+0],Le=S[j+oe],Ve=S[j+2*oe],At=S[j+3*oe];return 4*EA[255+Ie-Oe]+EA[255+Fe-Le]>he?0:EA[255+S[j-4*oe]-Se]<=Be&&EA[255+Se-Fe]<=Be&&EA[255+Fe-Ie]<=Be&&EA[255+At-Ve]<=Be&&EA[255+Ve-Le]<=Be&&EA[255+Le-Oe]<=Be}function Ja(S,j,oe,he){var Be=2*he+1;for(he=0;16>he;++he)Ei(S,j+he,oe,Be)&&sc(S,j+he,oe)}function ba(S,j,oe,he){var Be=2*he+1;for(he=0;16>he;++he)Ei(S,j+he*oe,1,Be)&&sc(S,j+he*oe,1)}function Za(S,j,oe,he){var Be;for(Be=3;0<Be;--Be)Ja(S,j+=4*oe,oe,he)}function Xg(S,j,oe,he){var Be;for(Be=3;0<Be;--Be)ba(S,j+=4,oe,he)}function Vs(S,j,oe,he,Be,Se,Fe,Ie){for(Se=2*Se+1;0<Be--;){if(Fh(S,j,oe,Se,Fe))if(Eh(S,j,oe,Ie))sc(S,j,oe);else{var Oe=S,Le=j,Ve=oe,At=Oe[Le-2*Ve],at=Oe[Le-Ve],Ye=Oe[Le+0],ft=Oe[Le+Ve],ct=Oe[Le+2*Ve],ze=27*(yt=Uh[1020+3*(Ye-at)+Uh[1020+At-ft]])+63>>7,We=18*yt+63>>7,yt=9*yt+63>>7;Oe[Le-3*Ve]=lA[255+Oe[Le-3*Ve]+yt],Oe[Le-2*Ve]=lA[255+At+We],Oe[Le-Ve]=lA[255+at+ze],Oe[Le+0]=lA[255+Ye-ze],Oe[Le+Ve]=lA[255+ft-We],Oe[Le+2*Ve]=lA[255+ct-yt]}j+=he}}function Do(S,j,oe,he,Be,Se,Fe,Ie){for(Se=2*Se+1;0<Be--;){if(Fh(S,j,oe,Se,Fe))if(Eh(S,j,oe,Ie))sc(S,j,oe);else{var Oe=S,Le=j,Ve=oe,At=Oe[Le-Ve],at=Oe[Le+0],Ye=Oe[Le+Ve],ft=Qh[112+((ct=3*(at-At))+4>>3)],ct=Qh[112+(ct+3>>3)],ze=ft+1>>1;Oe[Le-2*Ve]=lA[255+Oe[Le-2*Ve]+ze],Oe[Le-Ve]=lA[255+At+ct],Oe[Le+0]=lA[255+at-ft],Oe[Le+Ve]=lA[255+Ye-ze]}j+=he}}function zs(S,j,oe,he,Be,Se){Vs(S,j,oe,1,16,he,Be,Se)}function Gs(S,j,oe,he,Be,Se){Vs(S,j,1,oe,16,he,Be,Se)}function Yg(S,j,oe,he,Be,Se){var Fe;for(Fe=3;0<Fe;--Fe)Do(S,j+=4*oe,oe,1,16,he,Be,Se)}function rA(S,j,oe,he,Be,Se){var Fe;for(Fe=3;0<Fe;--Fe)Do(S,j+=4,1,oe,16,he,Be,Se)}function lc(S,j,oe,he,Be,Se,Fe,Ie){Vs(S,j,Be,1,8,Se,Fe,Ie),Vs(oe,he,Be,1,8,Se,Fe,Ie)}function eu(S,j,oe,he,Be,Se,Fe,Ie){Vs(S,j,1,Be,8,Se,Fe,Ie),Vs(oe,he,1,Be,8,Se,Fe,Ie)}function Qf(S,j,oe,he,Be,Se,Fe,Ie){Do(S,j+4*Be,Be,1,8,Se,Fe,Ie),Do(oe,he+4*Be,Be,1,8,Se,Fe,Ie)}function Ih(S,j,oe,he,Be,Se,Fe,Ie){Do(S,j+4,1,Be,8,Se,Fe,Ie),Do(oe,he+4,1,Be,8,Se,Fe,Ie)}function uc(){this.ba=new $t,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new Ct,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Pf(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function Lf(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function _h(){this.ua=0,this.Wa=new k,this.vb=new k,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new E,this.yc=new F}function Jg(){this.xb=this.a=0,this.l=new BA,this.ca=new $t,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new _,this.Pb=0,this.wd=new _,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new _h,this.ab=0,this.gc=A(4,Lf),this.Oc=0}function cc(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new BA,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function tu(S,j,oe,he,Be,Se,Fe){for(S=S==null?0:S[j+0],j=0;j<Fe;++j)Be[Se+j]=S+oe[he+j]&255,S=Be[Se+j]}function Df(S,j,oe,he,Be,Se,Fe){var Ie;if(S==null)tu(null,null,oe,he,Be,Se,Fe);else for(Ie=0;Ie<Fe;++Ie)Be[Se+Ie]=S[j+Ie]+oe[he+Ie]&255}function Ws(S,j,oe,he,Be,Se,Fe){if(S==null)tu(null,null,oe,he,Be,Se,Fe);else{var Ie,Oe=S[j+0],Le=Oe,Ve=Oe;for(Ie=0;Ie<Fe;++Ie)Le=Ve+(Oe=S[j+Ie])-Le,Ve=oe[he+Ie]+(-256&Le?0>Le?0:255:Le)&255,Le=Oe,Be[Se+Ie]=Ve}}function Rf(S,j,oe,he){var Be=j.width,Se=j.o;if(t(S!=null&&j!=null),0>oe||0>=he||oe+he>Se)return null;if(!S.Cc){if(S.ga==null){var Fe;if(S.ga=new cc,(Fe=S.ga==null)||(Fe=j.width*j.o,t(S.Gb.length==0),S.Gb=o(Fe),S.Uc=0,S.Gb==null?Fe=0:(S.mb=S.Gb,S.nb=S.Uc,S.rc=null,Fe=1),Fe=!Fe),!Fe){Fe=S.ga;var Ie=S.Fa,Oe=S.P,Le=S.qc,Ve=S.mb,At=S.nb,at=Oe+1,Ye=Le-1,ft=Fe.l;if(t(Ie!=null&&Ve!=null&&j!=null),os[0]=null,os[1]=tu,os[2]=Df,os[3]=Ws,Fe.ca=Ve,Fe.tb=At,Fe.c=j.width,Fe.i=j.height,t(0<Fe.c&&0<Fe.i),1>=Le)j=0;else if(Fe.$a=Ie[Oe+0]>>0&3,Fe.Z=Ie[Oe+0]>>2&3,Fe.Lc=Ie[Oe+0]>>4&3,Oe=Ie[Oe+0]>>6&3,0>Fe.$a||1<Fe.$a||4<=Fe.Z||1<Fe.Lc||Oe)j=0;else if(ft.put=zn,ft.ac=nn,ft.bc=ur,ft.ma=Fe,ft.width=j.width,ft.height=j.height,ft.Da=j.Da,ft.v=j.v,ft.va=j.va,ft.j=j.j,ft.o=j.o,Fe.$a)e:{t(Fe.$a==1),j=br();t:for(;;){if(j==null){j=0;break e}if(t(Fe!=null),Fe.mc=j,j.c=Fe.c,j.i=Fe.i,j.l=Fe.l,j.l.ma=Fe,j.l.width=Fe.c,j.l.height=Fe.i,j.a=0,Z(j.m,Ie,at,Ye),!Dn(Fe.c,Fe.i,1,j,null)||(j.ab==1&&j.gc[0].hc==3&&Kn(j.s)?(Fe.ic=1,Ie=j.c*j.i,j.Ta=null,j.Ua=0,j.V=o(Ie),j.Ba=0,j.V==null?(j.a=1,j=0):j=1):(Fe.ic=0,j=Kr(j,Fe.c)),!j))break t;j=1;break e}Fe.mc=null,j=0}else j=Ye>=Fe.c*Fe.i;Fe=!j}if(Fe)return null;S.ga.Lc!=1?S.Ga=0:he=Se-oe}t(S.ga!=null),t(oe+he<=Se);e:{if(j=(Ie=S.ga).c,Se=Ie.l.o,Ie.$a==0){if(at=S.rc,Ye=S.Vc,ft=S.Fa,Oe=S.P+1+oe*j,Le=S.mb,Ve=S.nb+oe*j,t(Oe<=S.P+S.qc),Ie.Z!=0)for(t(os[Ie.Z]!=null),Fe=0;Fe<he;++Fe)os[Ie.Z](at,Ye,ft,Oe,Le,Ve,j),at=Le,Ye=Ve,Ve+=j,Oe+=j;else for(Fe=0;Fe<he;++Fe)r(Le,Ve,ft,Oe,j),at=Le,Ye=Ve,Ve+=j,Oe+=j;S.rc=at,S.Vc=Ye}else{if(t(Ie.mc!=null),j=oe+he,t((Fe=Ie.mc)!=null),t(j<=Fe.i),Fe.C>=j)j=1;else if(Ie.ic||tt(),Ie.ic){Ie=Fe.V,at=Fe.Ba,Ye=Fe.c;var ct=Fe.i,ze=(ft=1,Oe=Fe.$/Ye,Le=Fe.$%Ye,Ve=Fe.m,At=Fe.s,Fe.$),We=Ye*ct,yt=Ye*j,St=At.wc,bt=ze<yt?It(At,Le,Oe):null;t(ze<=We),t(j<=ct),t(Kn(At));t:for(;;){for(;!Ve.h&&ze<yt;){if(Le&St||(bt=It(At,Le,Oe)),t(bt!=null),ce(Ve),256>(ct=mt(bt.G[0],bt.H[0],Ve)))Ie[at+ze]=ct,++ze,++Le>=Ye&&(Le=0,++Oe<=j&&!(Oe%16)&&Gn(Fe,Oe));else{if(!(280>ct)){ft=0;break t}ct=vr(ct-256,Ve);var jt,Dt=mt(bt.G[4],bt.H[4],Ve);if(ce(Ve),!(ze>=(Dt=Yr(Ye,Dt=vr(Dt,Ve)))&&We-ze>=ct)){ft=0;break t}for(jt=0;jt<ct;++jt)Ie[at+ze+jt]=Ie[at+ze+jt-Dt];for(ze+=ct,Le+=ct;Le>=Ye;)Le-=Ye,++Oe<=j&&!(Oe%16)&&Gn(Fe,Oe);ze<yt&&Le&St&&(bt=It(At,Le,Oe))}t(Ve.h==re(Ve))}Gn(Fe,Oe>j?j:Oe);break t}!ft||Ve.h&&ze<We?(ft=0,Fe.a=Ve.h?5:3):Fe.$=ze,j=ft}else j=er(Fe,Fe.V,Fe.Ba,Fe.c,Fe.i,j,ii);if(!j){he=0;break e}}oe+he>=Se&&(S.Cc=1),he=1}if(!he)return null;if(S.Cc&&((he=S.ga)!=null&&(he.mc=null),S.ga=null,0<S.Ga))return alert("todo:WebPDequantizeLevels"),null}return S.nb+oe*Be}function ee(S,j,oe,he,Be,Se){for(;0<Be--;){var Fe,Ie=S,Oe=j+(oe?1:0),Le=S,Ve=j+(oe?0:3);for(Fe=0;Fe<he;++Fe){var At=Le[Ve+4*Fe];At!=255&&(At*=32897,Ie[Oe+4*Fe+0]=Ie[Oe+4*Fe+0]*At>>23,Ie[Oe+4*Fe+1]=Ie[Oe+4*Fe+1]*At>>23,Ie[Oe+4*Fe+2]=Ie[Oe+4*Fe+2]*At>>23)}j+=Se}}function Ce(S,j,oe,he,Be){for(;0<he--;){var Se;for(Se=0;Se<oe;++Se){var Fe=S[j+2*Se+0],Ie=15&(Le=S[j+2*Se+1]),Oe=4369*Ie,Le=(240&Le|Le>>4)*Oe>>16;S[j+2*Se+0]=(240&Fe|Fe>>4)*Oe>>16&240|(15&Fe|Fe<<4)*Oe>>16>>4&15,S[j+2*Se+1]=240&Le|Ie}j+=Be}}function $e(S,j,oe,he,Be,Se,Fe,Ie){var Oe,Le,Ve=255;for(Le=0;Le<Be;++Le){for(Oe=0;Oe<he;++Oe){var At=S[j+Oe];Se[Fe+4*Oe]=At,Ve&=At}j+=oe,Fe+=Ie}return Ve!=255}function Ke(S,j,oe,he,Be){var Se;for(Se=0;Se<Be;++Se)oe[he+Se]=S[j+Se]>>8}function tt(){sA=ee,Ur=Ce,Qr=$e,gi=Ke}function pt(S,j,oe){O[S]=function(he,Be,Se,Fe,Ie,Oe,Le,Ve,At,at,Ye,ft,ct,ze,We,yt,St){var bt,jt=St-1>>1,Dt=Ie[Oe+0]|Le[Ve+0]<<16,sn=At[at+0]|Ye[ft+0]<<16;t(he!=null);var Rt=3*Dt+sn+131074>>2;for(j(he[Be+0],255&Rt,Rt>>16,ct,ze),Se!=null&&(Rt=3*sn+Dt+131074>>2,j(Se[Fe+0],255&Rt,Rt>>16,We,yt)),bt=1;bt<=jt;++bt){var sr=Ie[Oe+bt]|Le[Ve+bt]<<16,gr=At[at+bt]|Ye[ft+bt]<<16,Xn=Dt+sr+sn+gr+524296,Ft=Xn+2*(sr+sn)>>3;Rt=Ft+Dt>>1,Dt=(Xn=Xn+2*(Dt+gr)>>3)+sr>>1,j(he[Be+2*bt-1],255&Rt,Rt>>16,ct,ze+(2*bt-1)*oe),j(he[Be+2*bt-0],255&Dt,Dt>>16,ct,ze+(2*bt-0)*oe),Se!=null&&(Rt=Xn+sn>>1,Dt=Ft+gr>>1,j(Se[Fe+2*bt-1],255&Rt,Rt>>16,We,yt+(2*bt-1)*oe),j(Se[Fe+2*bt+0],255&Dt,Dt>>16,We,yt+(2*bt+0)*oe)),Dt=sr,sn=gr}1&St||(Rt=3*Dt+sn+131074>>2,j(he[Be+St-1],255&Rt,Rt>>16,ct,ze+(St-1)*oe),Se!=null&&(Rt=3*sn+Dt+131074>>2,j(Se[Fe+St-1],255&Rt,Rt>>16,We,yt+(St-1)*oe)))}}function _t(){IA[Ph]=c2,IA[Lh]=Mf,IA[uu]=n0,IA[Dh]=i1,IA[Rh]=o1,IA[vc]=A1,IA[e1]=f2,IA[Zg]=Mf,IA[e0]=i1,IA[$h]=o1,IA[yc]=A1}function kt(S){return S&-16384?0>S?0:255:S>>d2}function rn(S,j){return kt((19077*S>>8)+(26149*j>>8)-14234)}function Cn(S,j,oe){return kt((19077*S>>8)-(6419*j>>8)-(13320*oe>>8)+8708)}function xn(S,j){return kt((19077*S>>8)+(33050*j>>8)-17685)}function Wn(S,j,oe,he,Be){he[Be+0]=rn(S,oe),he[Be+1]=Cn(S,j,oe),he[Be+2]=xn(S,j)}function Or(S,j,oe,he,Be){he[Be+0]=xn(S,j),he[Be+1]=Cn(S,j,oe),he[Be+2]=rn(S,oe)}function Tr(S,j,oe,he,Be){var Se=Cn(S,j,oe);j=Se<<3&224|xn(S,j)>>3,he[Be+0]=248&rn(S,oe)|Se>>5,he[Be+1]=j}function wn(S,j,oe,he,Be){var Se=240&xn(S,j)|15;he[Be+0]=240&rn(S,oe)|Cn(S,j,oe)>>4,he[Be+1]=Se}function Ao(S,j,oe,he,Be){he[Be+0]=255,Wn(S,j,oe,he,Be+1)}function yi(S,j,oe,he,Be){Or(S,j,oe,he,Be),he[Be+3]=255}function CA(S,j,oe,he,Be){Wn(S,j,oe,he,Be),he[Be+3]=255}function Hi(S,j){return 0>S?0:S>j?j:S}function Fi(S,j,oe){O[S]=function(he,Be,Se,Fe,Ie,Oe,Le,Ve,At){for(var at=Ve+(-2&At)*oe;Ve!=at;)j(he[Be+0],Se[Fe+0],Ie[Oe+0],Le,Ve),j(he[Be+1],Se[Fe+0],Ie[Oe+0],Le,Ve+oe),Be+=2,++Fe,++Oe,Ve+=2*oe;1&At&&j(he[Be+0],Se[Fe+0],Ie[Oe+0],Le,Ve)}}function Oh(S,j,oe){return oe==0?S==0?j==0?6:5:j==0?4:0:oe}function xA(S,j,oe,he,Be){switch(S>>>30){case 3:ns(j,oe,he,Be,0);break;case 2:pi(j,oe,he,Be);break;case 1:ao(j,oe,he,Be)}}function Vr(S,j){var oe,he,Be=j.M,Se=j.Nb,Fe=S.oc,Ie=S.pc+40,Oe=S.oc,Le=S.pc+584,Ve=S.oc,At=S.pc+600;for(oe=0;16>oe;++oe)Fe[Ie+32*oe-1]=129;for(oe=0;8>oe;++oe)Oe[Le+32*oe-1]=129,Ve[At+32*oe-1]=129;for(0<Be?Fe[Ie-1-32]=Oe[Le-1-32]=Ve[At-1-32]=129:(i(Fe,Ie-32-1,127,21),i(Oe,Le-32-1,127,9),i(Ve,At-32-1,127,9)),he=0;he<S.za;++he){var at=j.ya[j.aa+he];if(0<he){for(oe=-1;16>oe;++oe)r(Fe,Ie+32*oe-4,Fe,Ie+32*oe+12,4);for(oe=-1;8>oe;++oe)r(Oe,Le+32*oe-4,Oe,Le+32*oe+4,4),r(Ve,At+32*oe-4,Ve,At+32*oe+4,4)}var Ye=S.Gd,ft=S.Hd+he,ct=at.ad,ze=at.Hc;if(0<Be&&(r(Fe,Ie-32,Ye[ft].y,0,16),r(Oe,Le-32,Ye[ft].f,0,8),r(Ve,At-32,Ye[ft].ea,0,8)),at.Za){var We=Fe,yt=Ie-32+16;for(0<Be&&(he>=S.za-1?i(We,yt,Ye[ft].y[15],4):r(We,yt,Ye[ft+1].y,0,4)),oe=0;4>oe;oe++)We[yt+128+oe]=We[yt+256+oe]=We[yt+384+oe]=We[yt+0+oe];for(oe=0;16>oe;++oe,ze<<=2)We=Fe,yt=Ie+s1[oe],qA[at.Ob[oe]](We,yt),xA(ze,ct,16*+oe,We,yt)}else if(We=Oh(he,Be,at.Ob[0]),Zs[We](Fe,Ie),ze!=0)for(oe=0;16>oe;++oe,ze<<=2)xA(ze,ct,16*+oe,Fe,Ie+s1[oe]);for(oe=at.Gc,We=Oh(he,Be,at.Dd),FA[We](Oe,Le),FA[We](Ve,At),ze=ct,We=Oe,yt=Le,255&(at=oe>>0)&&(170&at?Xs(ze,256,We,yt):SA(ze,256,We,yt)),at=Ve,ze=At,255&(oe>>=8)&&(170&oe?Xs(ct,320,at,ze):SA(ct,320,at,ze)),Be<S.Ub-1&&(r(Ye[ft].y,0,Fe,Ie+480,16),r(Ye[ft].f,0,Oe,Le+224,8),r(Ye[ft].ea,0,Ve,At+224,8)),oe=8*Se*S.B,Ye=S.sa,ft=S.ta+16*he+16*Se*S.R,ct=S.qa,at=S.ra+8*he+oe,ze=S.Ha,We=S.Ia+8*he+oe,oe=0;16>oe;++oe)r(Ye,ft+oe*S.R,Fe,Ie+32*oe,16);for(oe=0;8>oe;++oe)r(ct,at+oe*S.B,Oe,Le+32*oe,8),r(ze,We+oe*S.B,Ve,At+32*oe,8)}}function nu(S,j,oe,he,Be,Se,Fe,Ie,Oe){var Le=[0],Ve=[0],At=0,at=Oe!=null?Oe.kd:0,Ye=Oe??new Pf;if(S==null||12>oe)return 7;Ye.data=S,Ye.w=j,Ye.ha=oe,j=[j],oe=[oe],Ye.gb=[Ye.gb];e:{var ft=j,ct=oe,ze=Ye.gb;if(t(S!=null),t(ct!=null),t(ze!=null),ze[0]=0,12<=ct[0]&&!n(S,ft[0],"RIFF")){if(n(S,ft[0]+8,"WEBP")){ze=3;break e}var We=ue(S,ft[0]+4);if(12>We||4294967286<We){ze=3;break e}if(at&&We>ct[0]-8){ze=7;break e}ze[0]=We,ft[0]+=12,ct[0]-=12}ze=0}if(ze!=0)return ze;for(We=0<Ye.gb[0],oe=oe[0];;){e:{var yt=S;ct=j,ze=oe;var St=Le,bt=Ve,jt=ft=[0];if((Rt=At=[At])[0]=0,8>ze[0])ze=7;else{if(!n(yt,ct[0],"VP8X")){if(ue(yt,ct[0]+4)!=10){ze=3;break e}if(18>ze[0]){ze=7;break e}var Dt=ue(yt,ct[0]+8),sn=1+J(yt,ct[0]+12);if(2147483648<=sn*(yt=1+J(yt,ct[0]+15))){ze=3;break e}jt!=null&&(jt[0]=Dt),St!=null&&(St[0]=sn),bt!=null&&(bt[0]=yt),ct[0]+=18,ze[0]-=18,Rt[0]=1}ze=0}}if(At=At[0],ft=ft[0],ze!=0)return ze;if(ct=!!(2&ft),!We&&At)return 3;if(Se!=null&&(Se[0]=!!(16&ft)),Fe!=null&&(Fe[0]=ct),Ie!=null&&(Ie[0]=0),Fe=Le[0],ft=Ve[0],At&&ct&&Oe==null){ze=0;break}if(4>oe){ze=7;break}if(We&&At||!We&&!At&&!n(S,j[0],"ALPH")){oe=[oe],Ye.na=[Ye.na],Ye.P=[Ye.P],Ye.Sa=[Ye.Sa];e:{Dt=S,ze=j,We=oe;var Rt=Ye.gb;St=Ye.na,bt=Ye.P,jt=Ye.Sa,sn=22,t(Dt!=null),t(We!=null),yt=ze[0];var sr=We[0];for(t(St!=null),t(jt!=null),St[0]=null,bt[0]=null,jt[0]=0;;){if(ze[0]=yt,We[0]=sr,8>sr){ze=7;break e}var gr=ue(Dt,yt+4);if(4294967286<gr){ze=3;break e}var Xn=8+gr+1&-2;if(sn+=Xn,0<Rt&&sn>Rt){ze=3;break e}if(!n(Dt,yt,"VP8 ")||!n(Dt,yt,"VP8L")){ze=0;break e}if(sr[0]<Xn){ze=7;break e}n(Dt,yt,"ALPH")||(St[0]=Dt,bt[0]=yt+8,jt[0]=gr),yt+=Xn,sr-=Xn}}if(oe=oe[0],Ye.na=Ye.na[0],Ye.P=Ye.P[0],Ye.Sa=Ye.Sa[0],ze!=0)break}oe=[oe],Ye.Ja=[Ye.Ja],Ye.xa=[Ye.xa];e:if(Rt=S,ze=j,We=oe,St=Ye.gb[0],bt=Ye.Ja,jt=Ye.xa,Dt=ze[0],yt=!n(Rt,Dt,"VP8 "),sn=!n(Rt,Dt,"VP8L"),t(Rt!=null),t(We!=null),t(bt!=null),t(jt!=null),8>We[0])ze=7;else{if(yt||sn){if(Rt=ue(Rt,Dt+4),12<=St&&Rt>St-12){ze=3;break e}if(at&&Rt>We[0]-8){ze=7;break e}bt[0]=Rt,ze[0]+=8,We[0]-=8,jt[0]=sn}else jt[0]=5<=We[0]&&Rt[Dt+0]==47&&!(Rt[Dt+4]>>5),bt[0]=We[0];ze=0}if(oe=oe[0],Ye.Ja=Ye.Ja[0],Ye.xa=Ye.xa[0],j=j[0],ze!=0)break;if(4294967286<Ye.Ja)return 3;if(Ie==null||ct||(Ie[0]=Ye.xa?2:1),Fe=[Fe],ft=[ft],Ye.xa){if(5>oe){ze=7;break}Ie=Fe,at=ft,ct=Se,S==null||5>oe?S=0:5<=oe&&S[j+0]==47&&!(S[j+4]>>5)?(We=[0],Rt=[0],St=[0],Z(bt=new _,S,j,oe),Mt(bt,We,Rt,St)?(Ie!=null&&(Ie[0]=We[0]),at!=null&&(at[0]=Rt[0]),ct!=null&&(ct[0]=St[0]),S=1):S=0):S=0}else{if(10>oe){ze=7;break}Ie=ft,S==null||10>oe||!ic(S,j+3,oe-3)?S=0:(at=S[j+0]|S[j+1]<<8|S[j+2]<<16,ct=16383&(S[j+7]<<8|S[j+6]),S=16383&(S[j+9]<<8|S[j+8]),1&at||3<(at>>1&7)||!(at>>4&1)||at>>5>=Ye.Ja||!ct||!S?S=0:(Fe&&(Fe[0]=ct),Ie&&(Ie[0]=S),S=1))}if(!S||(Fe=Fe[0],ft=ft[0],At&&(Le[0]!=Fe||Ve[0]!=ft)))return 3;Oe!=null&&(Oe[0]=Ye,Oe.offset=j-Oe.w,t(4294967286>j-Oe.w),t(Oe.offset==Oe.ha-oe));break}return ze==0||ze==7&&At&&Oe==null?(Se!=null&&(Se[0]|=Ye.na!=null&&0<Ye.na.length),he!=null&&(he[0]=Fe),Be!=null&&(Be[0]=ft),0):ze}function fi(S,j,oe){var he=j.width,Be=j.height,Se=0,Fe=0,Ie=he,Oe=Be;if(j.Da=S!=null&&0<S.Da,j.Da&&(Ie=S.cd,Oe=S.bd,Se=S.v,Fe=S.j,11>oe||(Se&=-2,Fe&=-2),0>Se||0>Fe||0>=Ie||0>=Oe||Se+Ie>he||Fe+Oe>Be))return 0;if(j.v=Se,j.j=Fe,j.va=Se+Ie,j.o=Fe+Oe,j.U=Ie,j.T=Oe,j.da=S!=null&&0<S.da,j.da){if(!P(Ie,Oe,oe=[S.ib],Se=[S.hb]))return 0;j.ib=oe[0],j.hb=Se[0]}return j.ob=S!=null&&S.ob,j.Kb=S==null||!S.Sd,j.da&&(j.ob=j.ib<3*he/4&&j.hb<3*Be/4,j.Kb=0),1}function ru(S){if(S==null)return 2;if(11>S.S){var j=S.f.RGBA;j.fb+=(S.height-1)*j.A,j.A=-j.A}else j=S.f.kb,S=S.height,j.O+=(S-1)*j.fa,j.fa=-j.fa,j.N+=(S-1>>1)*j.Ab,j.Ab=-j.Ab,j.W+=(S-1>>1)*j.Db,j.Db=-j.Db,j.F!=null&&(j.J+=(S-1)*j.lb,j.lb=-j.lb);return 0}function iA(S,j,oe,he){if(he==null||0>=S||0>=j)return 2;if(oe!=null){if(oe.Da){var Be=oe.cd,Se=oe.bd,Fe=-2&oe.v,Ie=-2&oe.j;if(0>Fe||0>Ie||0>=Be||0>=Se||Fe+Be>S||Ie+Se>j)return 2;S=Be,j=Se}if(oe.da){if(!P(S,j,Be=[oe.ib],Se=[oe.hb]))return 2;S=Be[0],j=Se[0]}}he.width=S,he.height=j;e:{var Oe=he.width,Le=he.height;if(S=he.S,0>=Oe||0>=Le||!(S>=Ph&&13>S))S=2;else{if(0>=he.Rd&&he.sd==null){Fe=Se=Be=j=0;var Ve=(Ie=Oe*u1[S])*Le;if(11>S||(Se=(Le+1)/2*(j=(Oe+1)/2),S==12&&(Fe=(Be=Oe)*Le)),(Le=o(Ve+2*Se+Fe))==null){S=1;break e}he.sd=Le,11>S?((Oe=he.f.RGBA).eb=Le,Oe.fb=0,Oe.A=Ie,Oe.size=Ve):((Oe=he.f.kb).y=Le,Oe.O=0,Oe.fa=Ie,Oe.Fd=Ve,Oe.f=Le,Oe.N=0+Ve,Oe.Ab=j,Oe.Cd=Se,Oe.ea=Le,Oe.W=0+Ve+Se,Oe.Db=j,Oe.Ed=Se,S==12&&(Oe.F=Le,Oe.J=0+Ve+2*Se),Oe.Tc=Fe,Oe.lb=Be)}if(j=1,Be=he.S,Se=he.width,Fe=he.height,Be>=Ph&&13>Be)if(11>Be)S=he.f.RGBA,j&=(Ie=Math.abs(S.A))*(Fe-1)+Se<=S.size,j&=Ie>=Se*u1[Be],j&=S.eb!=null;else{S=he.f.kb,Ie=(Se+1)/2,Ve=(Fe+1)/2,Oe=Math.abs(S.fa),Le=Math.abs(S.Ab);var At=Math.abs(S.Db),at=Math.abs(S.lb),Ye=at*(Fe-1)+Se;j&=Oe*(Fe-1)+Se<=S.Fd,j&=Le*(Ve-1)+Ie<=S.Cd,j=(j&=At*(Ve-1)+Ie<=S.Ed)&Oe>=Se&Le>=Ie&At>=Ie,j&=S.y!=null,j&=S.f!=null,j&=S.ea!=null,Be==12&&(j&=at>=Se,j&=Ye<=S.Tc,j&=S.F!=null)}else j=0;S=j?0:2}}return S!=0||oe!=null&&oe.fd&&(S=ru(he)),S}var di=64,ar=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],iu=24,ou=32,fc=8,mo=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];de("Predictor0","PredictorAdd0"),O.Predictor0=function(){return 4278190080},O.Predictor1=function(S){return S},O.Predictor2=function(S,j,oe){return j[oe+0]},O.Predictor3=function(S,j,oe){return j[oe+1]},O.Predictor4=function(S,j,oe){return j[oe-1]},O.Predictor5=function(S,j,oe){return ve(ve(S,j[oe+1]),j[oe+0])},O.Predictor6=function(S,j,oe){return ve(S,j[oe-1])},O.Predictor7=function(S,j,oe){return ve(S,j[oe+0])},O.Predictor8=function(S,j,oe){return ve(j[oe-1],j[oe+0])},O.Predictor9=function(S,j,oe){return ve(j[oe+0],j[oe+1])},O.Predictor10=function(S,j,oe){return ve(ve(S,j[oe-1]),ve(j[oe+0],j[oe+1]))},O.Predictor11=function(S,j,oe){var he=j[oe+0];return 0>=we(he>>24&255,S>>24&255,(j=j[oe-1])>>24&255)+we(he>>16&255,S>>16&255,j>>16&255)+we(he>>8&255,S>>8&255,j>>8&255)+we(255&he,255&S,255&j)?he:S},O.Predictor12=function(S,j,oe){var he=j[oe+0];return(be((S>>24&255)+(he>>24&255)-((j=j[oe-1])>>24&255))<<24|be((S>>16&255)+(he>>16&255)-(j>>16&255))<<16|be((S>>8&255)+(he>>8&255)-(j>>8&255))<<8|be((255&S)+(255&he)-(255&j)))>>>0},O.Predictor13=function(S,j,oe){var he=j[oe-1];return(Te((S=ve(S,j[oe+0]))>>24&255,he>>24&255)<<24|Te(S>>16&255,he>>16&255)<<16|Te(S>>8&255,he>>8&255)<<8|Te(S>>0&255,he>>0&255))>>>0};var dc=O.PredictorAdd0;O.PredictorAdd1=xe,de("Predictor2","PredictorAdd2"),de("Predictor3","PredictorAdd3"),de("Predictor4","PredictorAdd4"),de("Predictor5","PredictorAdd5"),de("Predictor6","PredictorAdd6"),de("Predictor7","PredictorAdd7"),de("Predictor8","PredictorAdd8"),de("Predictor9","PredictorAdd9"),de("Predictor10","PredictorAdd10"),de("Predictor11","PredictorAdd11"),de("Predictor12","PredictorAdd12"),de("Predictor13","PredictorAdd13");var hc=O.PredictorAdd2;De("ColorIndexInverseTransform","MapARGB","32b",function(S){return S>>8&255},function(S){return S}),De("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(S){return S},function(S){return S>>8&255});var $f,Zr=O.ColorIndexInverseTransform,oA=O.MapARGB,GA=O.VP8LColorIndexInverseTransformAlpha,hi=O.MapAlpha,vo=O.VP8LPredictorsAdd=[];vo.length=16,(O.VP8LPredictors=[]).length=16,(O.VP8LPredictorsAdd_C=[]).length=16,(O.VP8LPredictors_C=[]).length=16;var qs,yo,Xi,es,ts,AA,Ro,ns,pi,Xs,ao,SA,pc,$o,gc,Au,au,WA,su,lu,Ys,rs,mc,aA,sA,Ur,Qr,gi,Ai=o(511),is=o(2041),Nf=o(225),Js=o(767),Th=0,Uh=is,Qh=Nf,lA=Js,EA=Ai,Ph=0,Lh=1,uu=2,Dh=3,Rh=4,vc=5,e1=6,Zg=7,e0=8,$h=9,yc=10,JC=[2,3,7],ZC=[3,3,11],t1=[280,256,256,256,40],e2=[0,1,1,1,0],Nh=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],t2=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],n2=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],r2=8,t0=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],bc=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Hf=null,i2=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],o2=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],n1=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],A2=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],a2=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],s2=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],l2=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Zs=[],qA=[],FA=[],u2=1,r1=2,os=[],IA=[];pt("UpsampleRgbLinePair",Wn,3),pt("UpsampleBgrLinePair",Or,3),pt("UpsampleRgbaLinePair",CA,4),pt("UpsampleBgraLinePair",yi,4),pt("UpsampleArgbLinePair",Ao,4),pt("UpsampleRgba4444LinePair",wn,2),pt("UpsampleRgb565LinePair",Tr,2);var c2=O.UpsampleRgbLinePair,n0=O.UpsampleBgrLinePair,Mf=O.UpsampleRgbaLinePair,i1=O.UpsampleBgraLinePair,o1=O.UpsampleArgbLinePair,A1=O.UpsampleRgba4444LinePair,f2=O.UpsampleRgb565LinePair,Hh=16,Mh=1<<Hh-1,el=-227,r0=482,d2=6,a1=0,h2=o(256),p2=o(256),g2=o(256),m2=o(256),v2=o(r0-el),y2=o(r0-el);Fi("YuvToRgbRow",Wn,3),Fi("YuvToBgrRow",Or,3),Fi("YuvToRgbaRow",CA,4),Fi("YuvToBgraRow",yi,4),Fi("YuvToArgbRow",Ao,4),Fi("YuvToRgba4444Row",wn,2),Fi("YuvToRgb565Row",Tr,2);var s1=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],kh=[0,2,8],b2=[8,7,6,4,4,2,2,2,1,1,1,1],l1=1;this.WebPDecodeRGBA=function(S,j,oe,he,Be){var Se=Lh,Fe=new uc,Ie=new $t;Fe.ba=Ie,Ie.S=Se,Ie.width=[Ie.width],Ie.height=[Ie.height];var Oe=Ie.width,Le=Ie.height,Ve=new xt;if(Ve==null||S==null)var At=2;else t(Ve!=null),At=nu(S,j,oe,Ve.width,Ve.height,Ve.Pd,Ve.Qd,Ve.format,null);if(At!=0?Oe=0:(Oe!=null&&(Oe[0]=Ve.width[0]),Le!=null&&(Le[0]=Ve.height[0]),Oe=1),Oe){Ie.width=Ie.width[0],Ie.height=Ie.height[0],he!=null&&(he[0]=Ie.width),Be!=null&&(Be[0]=Ie.height);e:{if(he=new BA,(Be=new Pf).data=S,Be.w=j,Be.ha=oe,Be.kd=1,j=[0],t(Be!=null),((S=nu(Be.data,Be.w,Be.ha,null,null,null,j,null,Be))==0||S==7)&&j[0]&&(S=4),(j=S)==0){if(t(Fe!=null),he.data=Be.data,he.w=Be.w+Be.offset,he.ha=Be.ha-Be.offset,he.put=zn,he.ac=nn,he.bc=ur,he.ma=Fe,Be.xa){if((S=br())==null){Fe=1;break e}if(function(at,Ye){var ft=[0],ct=[0],ze=[0];t:for(;;){if(at==null)return 0;if(Ye==null)return at.a=2,0;if(at.l=Ye,at.a=0,Z(at.m,Ye.data,Ye.w,Ye.ha),!Mt(at.m,ft,ct,ze)){at.a=3;break t}if(at.xb=r1,Ye.width=ft[0],Ye.height=ct[0],!Dn(ft[0],ct[0],1,at,null))break t;return 1}return t(at.a!=0),0}(S,he)){if(he=(j=iA(he.width,he.height,Fe.Oa,Fe.ba))==0){t:{he=S;n:for(;;){if(he==null){he=0;break t}if(t(he.s.yc!=null),t(he.s.Ya!=null),t(0<he.s.Wb),t((oe=he.l)!=null),t((Be=oe.ma)!=null),he.xb!=0){if(he.ca=Be.ba,he.tb=Be.tb,t(he.ca!=null),!fi(Be.Oa,oe,Dh)){he.a=2;break n}if(!Kr(he,oe.width)||oe.da)break n;if((oe.da||Et(he.ca.S))&&tt(),11>he.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),he.ca.f.kb.F!=null&&tt()),he.Pb&&0<he.s.ua&&he.s.vb.X==null&&!G(he.s.vb,he.s.Wa.Xa)){he.a=1;break n}he.xb=0}if(!er(he,he.V,he.Ba,he.c,he.i,oe.o,Mn))break n;Be.Dc=he.Ma,he=1;break t}t(he.a!=0),he=0}he=!he}he&&(j=S.a)}else j=S.a}else{if((S=new Xa)==null){Fe=1;break e}if(S.Fa=Be.na,S.P=Be.P,S.qc=Be.Sa,Wl(S,he)){if((j=iA(he.width,he.height,Fe.Oa,Fe.ba))==0){if(S.Aa=0,oe=Fe.Oa,t((Be=S)!=null),oe!=null){if(0<(Oe=0>(Oe=oe.Md)?0:100<Oe?255:255*Oe/100)){for(Le=Ve=0;4>Le;++Le)12>(At=Be.pb[Le]).lc&&(At.ia=Oe*b2[0>At.lc?0:At.lc]>>3),Ve|=At.ia;Ve&&(alert("todo:VP8InitRandom"),Be.ia=1)}Be.Ga=oe.Id,100<Be.Ga?Be.Ga=100:0>Be.Ga&&(Be.Ga=0)}VA(S,he)||(j=S.a)}}else j=S.a}j==0&&Fe.Oa!=null&&Fe.Oa.fd&&(j=ru(Fe.ba))}Fe=j}Se=Fe!=0?null:11>Se?Ie.f.RGBA.eb:Ie.f.kb.y}else Se=null;return Se};var u1=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function u(O,x){for(var M="",R=0;R<4;R++)M+=String.fromCharCode(O[x++]);return M}function l(O,x){return(O[x+0]<<0|O[x+1]<<8|O[x+2]<<16)>>>0}function c(O,x){return(O[x+0]<<0|O[x+1]<<8|O[x+2]<<16|O[x+3]<<24)>>>0}new s;var d=[0],f=[0],g=[],h=new s,m=e,p=function(O,x){var M={},R=0,F=!1,L=0,E=0;if(M.frames=[],!function(Y,re,se,ce){for(var N=0;N<ce;N++)if(Y[re+N]!=se.charCodeAt(N))return!0;return!1}(O,x,"RIFF",4)){var H,X;for(c(O,x+=4),x+=8;x<O.length;){var z=u(O,x),Z=c(O,x+=4);x+=4;var q=Z+(1&Z);switch(z){case"VP8 ":case"VP8L":M.frames[R]===void 0&&(M.frames[R]={}),(_=M.frames[R]).src_off=F?E:x-8,_.src_size=L+Z+8,R++,F&&(F=!1,L=0,E=0);break;case"VP8X":(_=M.header={}).feature_flags=O[x];var te=x+4;_.canvas_width=1+l(O,te),te+=3,_.canvas_height=1+l(O,te),te+=3;break;case"ALPH":F=!0,L=q+8,E=x-8;break;case"ANIM":(_=M.header).bgcolor=c(O,x),te=x+4,_.loop_count=(H=O)[(X=te)+0]<<0|H[X+1]<<8,te+=2;break;case"ANMF":var ne,_;(_=M.frames[R]={}).offset_x=2*l(O,x),x+=3,_.offset_y=2*l(O,x),x+=3,_.width=1+l(O,x),x+=3,_.height=1+l(O,x),x+=3,_.duration=l(O,x),x+=3,ne=O[x++],_.dispose=1&ne,_.blend=ne>>1&1}z!="ANMF"&&(x+=q)}return M}}(m,0);p.response=m,p.rgbaoutput=!0,p.dataurl=!1;var v=p.header?p.header:null,y=p.frames?p.frames:null;if(v){v.loop_counter=v.loop_count,d=[v.canvas_height],f=[v.canvas_width];for(var b=0;b<y.length&&y[b].blend!=0;b++);}var w=y[0],C=h.WebPDecodeRGBA(m,w.src_off,w.src_size,f,d);w.rgba=C,w.imgwidth=f[0],w.imgheight=d[0];for(var B=0;B<f[0]*d[0]*4;B++)g[B]=C[B];return this.width=f,this.height=d,this.data=g,this}(function(e){var t=function(){return typeof d_=="function"},n=function(d,f,g,h){var m=4,p=A;switch(h){case e.image_compression.FAST:m=1,p=o;break;case e.image_compression.MEDIUM:m=6,p=a;break;case e.image_compression.SLOW:m=9,p=s}d=r(d,f,g,p);var v=d_(d,{level:m});return e.__addimage__.arrayBufferToBinaryString(v)},r=function(d,f,g,h){for(var m,p,v,y=d.length/f,b=new Uint8Array(d.length+y),w=l(),C=0;C<y;C+=1){if(v=C*f,m=d.subarray(v,v+f),h)b.set(h(m,g,p),v+C);else{for(var B,O=w.length,x=[];B<O;B+=1)x[B]=w[B](m,g,p);var M=c(x.concat());b.set(x[M],v+C)}p=m}return b},i=function(d){var f=Array.apply([],d);return f.unshift(0),f},o=function(d,f){var g,h=[],m=d.length;h[0]=1;for(var p=0;p<m;p+=1)g=d[p-f]||0,h[p+1]=d[p]-g+256&255;return h},A=function(d,f,g){var h,m=[],p=d.length;m[0]=2;for(var v=0;v<p;v+=1)h=g&&g[v]||0,m[v+1]=d[v]-h+256&255;return m},a=function(d,f,g){var h,m,p=[],v=d.length;p[0]=3;for(var y=0;y<v;y+=1)h=d[y-f]||0,m=g&&g[y]||0,p[y+1]=d[y]+256-(h+m>>>1)&255;return p},s=function(d,f,g){var h,m,p,v,y=[],b=d.length;y[0]=4;for(var w=0;w<b;w+=1)h=d[w-f]||0,m=g&&g[w]||0,p=g&&g[w-f]||0,v=u(h,m,p),y[w+1]=d[w]-v+256&255;return y},u=function(d,f,g){if(d===f&&f===g)return d;var h=Math.abs(f-g),m=Math.abs(d-g),p=Math.abs(d+f-g-g);return h<=m&&h<=p?d:m<=p?f:g},l=function(){return[i,o,A,a,s]},c=function(d){var f=d.map(function(g){return g.reduce(function(h,m){return h+Math.abs(m)},0)});return f.indexOf(Math.min.apply(null,f))};e.processPNG=function(d,f,g,h){var m,p,v,y,b,w,C,B,O,x,M,R,F,L,E,H=this.decode.FLATE_DECODE,X="";if(this.__addimage__.isArrayBuffer(d)&&(d=new Uint8Array(d)),this.__addimage__.isArrayBufferView(d)){if(d=(v=new ETe(d)).imgData,p=v.bits,m=v.colorSpace,b=v.colors,[4,6].indexOf(v.colorType)!==-1){if(v.bits===8){O=(B=v.pixelBitlength==32?new Uint32Array(v.decodePixels().buffer):v.pixelBitlength==16?new Uint16Array(v.decodePixels().buffer):new Uint8Array(v.decodePixels().buffer)).length,M=new Uint8Array(O*v.colors),x=new Uint8Array(O);var z,Z=v.pixelBitlength-v.bits;for(L=0,E=0;L<O;L++){for(F=B[L],z=0;z<Z;)M[E++]=F>>>z&255,z+=v.bits;x[L]=F>>>z&255}}if(v.bits===16){O=(B=new Uint32Array(v.decodePixels().buffer)).length,M=new Uint8Array(O*(32/v.pixelBitlength)*v.colors),x=new Uint8Array(O*(32/v.pixelBitlength)),R=v.colors>1,L=0,E=0;for(var q=0;L<O;)F=B[L++],M[E++]=F>>>0&255,R&&(M[E++]=F>>>16&255,F=B[L++],M[E++]=F>>>0&255),x[q++]=F>>>16&255;p=8}h!==e.image_compression.NONE&&t()?(d=n(M,v.width*v.colors,v.colors,h),C=n(x,v.width,1,h)):(d=M,C=x,H=void 0)}if(v.colorType===3&&(m=this.color_spaces.INDEXED,w=v.palette,v.transparency.indexed)){var te=v.transparency.indexed,ne=0;for(L=0,O=te.length;L<O;++L)ne+=te[L];if((ne/=255)===O-1&&te.indexOf(0)!==-1)y=[te.indexOf(0)];else if(ne!==O){for(B=v.decodePixels(),x=new Uint8Array(B.length),L=0,O=B.length;L<O;L++)x[L]=te[B[L]];C=n(x,v.width,1)}}var _=function(Y){var re;switch(Y){case e.image_compression.FAST:re=11;break;case e.image_compression.MEDIUM:re=13;break;case e.image_compression.SLOW:re=14;break;default:re=12}return re}(h);return H===this.decode.FLATE_DECODE&&(X="/Predictor "+_+" "),X+="/Colors "+b+" /BitsPerComponent "+p+" /Columns "+v.width,(this.__addimage__.isArrayBuffer(d)||this.__addimage__.isArrayBufferView(d))&&(d=this.__addimage__.arrayBufferToBinaryString(d)),(C&&this.__addimage__.isArrayBuffer(C)||this.__addimage__.isArrayBufferView(C))&&(C=this.__addimage__.arrayBufferToBinaryString(C)),{alias:g,data:d,index:f,filter:H,decodeParameters:X,transparency:y,palette:w,sMask:C,predictor:_,width:v.width,height:v.height,bitsPerComponent:p,colorSpace:m}}}})(gn.API),function(e){e.processGIF89A=function(t,n,r,i){var o=new FTe(t),A=o.width,a=o.height,s=[];o.decodeAndBlitFrameRGBA(0,s);var u={data:s,width:A,height:a},l=new QS(100).encode(u,100);return e.processJPEG.call(this,l,n,r,i)},e.processGIF87A=e.processGIF89A}(gn.API),ls.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:i,green:r,blue:n,quad:o}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},ls.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(n){Mr.log("bit decode error:"+n)}},ls.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),n=t%4;for(e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,i=0;i<t;i++)for(var o=this.datav.getUint8(this.pos++,!0),A=r*this.width*4+8*i*4,a=0;a<8&&8*i+a<this.width;a++){var s=this.palette[o>>7-a&1];this.data[A+4*a]=s.blue,this.data[A+4*a+1]=s.green,this.data[A+4*a+2]=s.red,this.data[A+4*a+3]=255}n!==0&&(this.pos+=4-n)}},ls.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<e;i++){var o=this.datav.getUint8(this.pos++,!0),A=r*this.width*4+2*i*4,a=o>>4,s=15&o,u=this.palette[a];if(this.data[A]=u.blue,this.data[A+1]=u.green,this.data[A+2]=u.red,this.data[A+3]=255,2*i+1>=this.width)break;u=this.palette[s],this.data[A+4]=u.blue,this.data[A+4+1]=u.green,this.data[A+4+2]=u.red,this.data[A+4+3]=255}t!==0&&(this.pos+=4-t)}},ls.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var i=this.datav.getUint8(this.pos++,!0),o=n*this.width*4+4*r;if(i<this.palette.length){var A=this.palette[i];this.data[o]=A.red,this.data[o+1]=A.green,this.data[o+2]=A.blue,this.data[o+3]=255}else this.data[o]=255,this.data[o+1]=255,this.data[o+2]=255,this.data[o+3]=255}e!==0&&(this.pos+=4-e)}},ls.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<this.width;i++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var A=(o&t)/t*255|0,a=(o>>5&t)/t*255|0,s=(o>>10&t)/t*255|0,u=o>>15?255:0,l=r*this.width*4+4*i;this.data[l]=s,this.data[l+1]=a,this.data[l+2]=A,this.data[l+3]=u}this.pos+=e}},ls.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),n=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var i=this.bottom_up?r:this.height-1-r,o=0;o<this.width;o++){var A=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(A&t)/t*255|0,s=(A>>5&n)/n*255|0,u=(A>>11)/t*255|0,l=i*this.width*4+4*o;this.data[l]=u,this.data[l+1]=s,this.data[l+2]=a,this.data[l+3]=255}this.pos+=e}},ls.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),A=t*this.width*4+4*n;this.data[A]=o,this.data[A+1]=i,this.data[A+2]=r,this.data[A+3]=255}this.pos+=this.width%4}},ls.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),A=this.datav.getUint8(this.pos++,!0),a=t*this.width*4+4*n;this.data[a]=o,this.data[a+1]=i,this.data[a+2]=r,this.data[a+3]=A}},ls.prototype.getData=function(){return this.data},function(e){e.processBMP=function(t,n,r,i){var o=new ls(t,!1),A=o.width,a=o.height,s={data:o.getData(),width:A,height:a},u=new QS(100).encode(s,100);return e.processJPEG.call(this,u,n,r,i)}}(gn.API),ON.prototype.getData=function(){return this.data},function(e){e.processWEBP=function(t,n,r,i){var o=new ON(t),A=o.width,a=o.height,s={data:o.getData(),width:A,height:a},u=new QS(100).encode(s,100);return e.processJPEG.call(this,u,n,r,i)}}(gn.API),gn.API.processRGBA=function(e,t,n){for(var r=e.data,i=r.length,o=new Uint8Array(i/4*3),A=new Uint8Array(i/4),a=0,s=0,u=0;u<i;u+=4){var l=r[u],c=r[u+1],d=r[u+2],f=r[u+3];o[a++]=l,o[a++]=c,o[a++]=d,A[s++]=f}var g=this.__addimage__.arrayBufferToBinaryString(o);return{alpha:this.__addimage__.arrayBufferToBinaryString(A),data:g,index:t,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},gn.API.setLanguage=function(e){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[e]!==void 0&&(this.internal.languageSettings.languageCode=e,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},vp=gn.API,yy=vp.getCharWidthsArray=function(e,t){var n,r,i=(t=t||{}).font||this.internal.getFont(),o=t.fontSize||this.internal.getFontSize(),A=t.charSpace||this.internal.getCharSpace(),a=t.widths?t.widths:i.metadata.Unicode.widths,s=a.fof?a.fof:1,u=t.kerning?t.kerning:i.metadata.Unicode.kerning,l=u.fof?u.fof:1,c=t.doKerning!==!1,d=0,f=e.length,g=0,h=a[0]||s,m=[];for(n=0;n<f;n++)r=e.charCodeAt(n),typeof i.metadata.widthOfString=="function"?m.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(r))+A*(1e3/o)||0)/1e3):(d=c&&dr(u[r])==="object"&&!isNaN(parseInt(u[r][g],10))?u[r][g]/l:0,m.push((a[r]||h)/s+d)),g=r;return m},EN=vp.getStringUnitWidth=function(e,t){var n=(t=t||{}).fontSize||this.internal.getFontSize(),r=t.font||this.internal.getFont(),i=t.charSpace||this.internal.getCharSpace();return vp.processArabic&&(e=vp.processArabic(e)),typeof r.metadata.widthOfString=="function"?r.metadata.widthOfString(e,n,i)/n:yy.apply(this,arguments).reduce(function(o,A){return o+A},0)},FN=function(e,t,n,r){for(var i=[],o=0,A=e.length,a=0;o!==A&&a+t[o]<n;)a+=t[o],o++;i.push(e.slice(0,o));var s=o;for(a=0;o!==A;)a+t[o]>r&&(i.push(e.slice(s,o)),a=0,s=o),a+=t[o],o++;return s!==o&&i.push(e.slice(s,o)),i},IN=function(e,t,n){n||(n={});var r,i,o,A,a,s,u,l=[],c=[l],d=n.textIndent||0,f=0,g=0,h=e.split(" "),m=yy.apply(this,[" ",n])[0];if(s=n.lineIndent===-1?h[0].length+2:n.lineIndent||0){var p=Array(s).join(" "),v=[];h.map(function(b){(b=b.split(/\s*\n/)).length>1?v=v.concat(b.map(function(w,C){return(C&&w.length?`
- `:"")+w})):v.push(b[0])}),h=v,s=EN.apply(this,[p,n])}for(o=0,A=h.length;o<A;o++){var y=0;if(r=h[o],s&&r[0]==`
- `&&(r=r.substr(1),y=1),d+f+(g=(i=yy.apply(this,[r,n])).reduce(function(b,w){return b+w},0))>t||y){if(g>t){for(a=FN.apply(this,[r,i,t-(d+f),t]),l.push(a.shift()),l=[a.pop()];a.length;)c.push([a.shift()]);g=i.slice(r.length-(l[0]?l[0].length:0)).reduce(function(b,w){return b+w},0)}else l=[r];c.push(l),d=g+s,f=m}else l.push(r),d+=f+g,f=m}return u=s?function(b,w){return(w?p:"")+b.join(" ")}:function(b){return b.join(" ")},c.map(u)},vp.splitTextToSize=function(e,t,n){var r,i=(n=n||{}).fontSize||this.internal.getFontSize(),o=(function(l){if(l.widths&&l.kerning)return{widths:l.widths,kerning:l.kerning};var c=this.internal.getFont(l.fontName,l.fontStyle);return c.metadata.Unicode?{widths:c.metadata.Unicode.widths||{0:1},kerning:c.metadata.Unicode.kerning||{}}:{font:c.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,n);r=Array.isArray(e)?e:String(e).split(/\r?\n/);var A=1*this.internal.scaleFactor*t/i;o.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/i:0,o.lineIndent=n.lineIndent;var a,s,u=[];for(a=0,s=r.length;a<s;a++)u=u.concat(IN.apply(this,[r[a],A,o]));return u},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="klmnopqrstuvwxyz",n={},r={},i=0;i<t.length;i++)n[t[i]]="0123456789abcdef"[i],r["0123456789abcdef"[i]]=t[i];var o=function(c){return"0x"+parseInt(c,10).toString(16)},A=e.__fontmetrics__.compress=function(c){var d,f,g,h,m=["{"];for(var p in c){if(d=c[p],isNaN(parseInt(p,10))?f="'"+p+"'":(p=parseInt(p,10),f=(f=o(p).slice(2)).slice(0,-1)+r[f.slice(-1)]),typeof d=="number")d<0?(g=o(d).slice(3),h="-"):(g=o(d).slice(2),h=""),g=h+g.slice(0,-1)+r[g.slice(-1)];else{if(dr(d)!=="object")throw new Error("Don't know what to do with value type "+dr(d)+".");g=A(d)}m.push(f+g)}return m.push("}"),m.join("")},a=e.__fontmetrics__.uncompress=function(c){if(typeof c!="string")throw new Error("Invalid argument passed to uncompress.");for(var d,f,g,h,m={},p=1,v=m,y=[],b="",w="",C=c.length-1,B=1;B<C;B+=1)(h=c[B])=="'"?d?(g=d.join(""),d=void 0):d=[]:d?d.push(h):h=="{"?(y.push([v,g]),v={},g=void 0):h=="}"?((f=y.pop())[0][f[1]]=v,g=void 0,v=f[0]):h=="-"?p=-1:g===void 0?n.hasOwnProperty(h)?(b+=n[h],g=parseInt(b,16)*p,p=1,b=""):b+=h:n.hasOwnProperty(h)?(w+=n[h],v[g]=parseInt(w,16)*p,p=1,g=void 0,w=""):w+=h;return m},s={codePages:["WinAnsiEncoding"],WinAnsiEncoding:a("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},u={Unicode:{Courier:s,"Courier-Bold":s,"Courier-BoldOblique":s,"Courier-Oblique":s,Helvetica:s,"Helvetica-Bold":s,"Helvetica-BoldOblique":s,"Helvetica-Oblique":s,"Times-Roman":s,"Times-Bold":s,"Times-BoldItalic":s,"Times-Italic":s}},l={Unicode:{"Courier-Oblique":a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":a("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":a("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":a("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:a("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:a("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":a("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:a("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":a("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":a("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":a("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};e.events.push(["addFont",function(c){var d=c.font,f=l.Unicode[d.postScriptName];f&&(d.metadata.Unicode={},d.metadata.Unicode.widths=f.widths,d.metadata.Unicode.kerning=f.kerning);var g=u.Unicode[d.postScriptName];g&&(d.metadata.Unicode.encoding=g,d.encoding=g.codePages[0])}])}(gn.API),function(e){var t=function(n){for(var r=n.length,i=new Uint8Array(r),o=0;o<r;o++)i[o]=n.charCodeAt(o);return i};e.API.events.push(["addFont",function(n){var r=void 0,i=n.font,o=n.instance;if(!i.isStandardFont){if(o===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if(typeof(r=o.existsFileInVFS(i.postScriptName)===!1?o.loadFile(i.postScriptName):o.getFileFromVFS(i.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");(function(A,a){a=/^\x00\x01\x00\x00/.test(a)?t(a):t(Bm(a)),A.metadata=e.API.TTFFont.open(a),A.metadata.Unicode=A.metadata.Unicode||{encoding:{},kerning:{},widths:[]},A.metadata.glyIdsUsed=[0]})(i,r)}}])}(gn),function(e){function t(){return(Bn.canvg?Promise.resolve(Bn.canvg):JI(()=>Promise.resolve().then(()=>vHe),void 0)).catch(function(n){return Promise.reject(new Error("Could not load canvg: "+n))}).then(function(n){return n.default?n.default:n})}gn.API.addSvgAsImage=function(n,r,i,o,A,a,s,u){if(isNaN(r)||isNaN(i))throw Mr.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(o)||isNaN(A))throw Mr.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var l=document.createElement("canvas");l.width=o,l.height=A;var c=l.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,l.width,l.height);var d={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},f=this;return t().then(function(g){return g.fromString(c,n,d)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(g){return g.render(d)}).then(function(){f.addImage(l.toDataURL("image/jpeg",1),r,i,o,A,s,u)})}}(),gn.API.putTotalPages=function(e){var t,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),n=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(t,n);return this},gn.API.viewerPreferences=function(e,t){var n;e=e||{},t=t||!1;var r,i,o,A={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},a=Object.keys(A),s=[],u=0,l=0,c=0;function d(g,h){var m,p=!1;for(m=0;m<g.length;m+=1)g[m]===h&&(p=!0);return p}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(A)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,e==="reset"||t===!0){var f=a.length;for(c=0;c<f;c+=1)n[a[c]].value=n[a[c]].defaultValue,n[a[c]].explicitSet=!1}if(dr(e)==="object"){for(i in e)if(o=e[i],d(a,i)&&o!==void 0){if(n[i].type==="boolean"&&typeof o=="boolean")n[i].value=o;else if(n[i].type==="name"&&d(n[i].valueSet,o))n[i].value=o;else if(n[i].type==="integer"&&Number.isInteger(o))n[i].value=o;else if(n[i].type==="array"){for(u=0;u<o.length;u+=1)if(r=!0,o[u].length===1&&typeof o[u][0]=="number")s.push(String(o[u]-1));else if(o[u].length>1){for(l=0;l<o[u].length;l+=1)typeof o[u][l]!="number"&&(r=!1);r===!0&&s.push([o[u][0]-1,o[u][1]-1].join(" "))}n[i].value="["+s.join(" ")+"]"}else n[i].value=n[i].defaultValue;n[i].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var g,h=[];for(g in n)n[g].explicitSet===!0&&(n[g].type==="name"?h.push("/"+g+" /"+n[g].value):h.push("/"+g+" "+n[g].value));h.length!==0&&this.internal.write(`/ViewerPreferences
- <<
- `+h.join(`
- `)+`
- >>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},function(e){var t=function(){var r='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',i=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),o=unescape(encodeURIComponent(r)),A=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),a=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),s=unescape(encodeURIComponent("</x:xmpmeta>")),u=o.length+A.length+a.length+i.length+s.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+u+" >>"),this.internal.write("stream"),this.internal.write(i+o+A+a+s),this.internal.write("endstream"),this.internal.write("endobj")},n=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};e.addMetadata=function(r,i){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:r,namespaceuri:i||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",n),this.internal.events.subscribe("postPutResources",t)),this}}(gn.API),function(e){var t=e.API,n=t.pdfEscape16=function(o,A){for(var a,s=A.metadata.Unicode.widths,u=["","0","00","000","0000"],l=[""],c=0,d=o.length;c<d;++c){if(a=A.metadata.characterToGlyph(o.charCodeAt(c)),A.metadata.glyIdsUsed.push(a),A.metadata.toUnicode[a]=o.charCodeAt(c),s.indexOf(a)==-1&&(s.push(a),s.push([parseInt(A.metadata.widthOfGlyph(a),10)])),a=="0")return l.join("");a=a.toString(16),l.push(u[4-a.length],a)}return l.join("")},r=function(o){var A,a,s,u,l,c,d;for(l=`/CIDInit /ProcSet findresource begin
- 12 dict begin
- begincmap
- /CIDSystemInfo <<
- /Registry (Adobe)
- /Ordering (UCS)
- /Supplement 0
- >> def
- /CMapName /Adobe-Identity-UCS def
- /CMapType 2 def
- 1 begincodespacerange
- <0000><ffff>
- endcodespacerange`,s=[],c=0,d=(a=Object.keys(o).sort(function(f,g){return f-g})).length;c<d;c++)A=a[c],s.length>=100&&(l+=`
- `+s.length+` beginbfchar
- `+s.join(`
- `)+`
- endbfchar`,s=[]),o[A]!==void 0&&o[A]!==null&&typeof o[A].toString=="function"&&(u=("0000"+o[A].toString(16)).slice(-4),A=("0000"+(+A).toString(16)).slice(-4),s.push("<"+A+"><"+u+">"));return s.length&&(l+=`
- `+s.length+` beginbfchar
- `+s.join(`
- `)+`
- endbfchar
- `),l+=`endcmap
- CMapName currentdict /CMap defineresource pop
- end
- end`};t.events.push(["putFont",function(o){(function(A){var a=A.font,s=A.out,u=A.newObject,l=A.putStream;if(a.metadata instanceof e.API.TTFFont&&a.encoding==="Identity-H"){for(var c=a.metadata.Unicode.widths,d=a.metadata.subset.encode(a.metadata.glyIdsUsed,1),f="",g=0;g<d.length;g++)f+=String.fromCharCode(d[g]);var h=u();l({data:f,addLength1:!0,objectId:h}),s("endobj");var m=u();l({data:r(a.metadata.toUnicode),addLength1:!0,objectId:m}),s("endobj");var p=u();s("<<"),s("/Type /FontDescriptor"),s("/FontName /"+Pp(a.fontName)),s("/FontFile2 "+h+" 0 R"),s("/FontBBox "+e.API.PDFObject.convert(a.metadata.bbox)),s("/Flags "+a.metadata.flags),s("/StemV "+a.metadata.stemV),s("/ItalicAngle "+a.metadata.italicAngle),s("/Ascent "+a.metadata.ascender),s("/Descent "+a.metadata.decender),s("/CapHeight "+a.metadata.capHeight),s(">>"),s("endobj");var v=u();s("<<"),s("/Type /Font"),s("/BaseFont /"+Pp(a.fontName)),s("/FontDescriptor "+p+" 0 R"),s("/W "+e.API.PDFObject.convert(c)),s("/CIDToGIDMap /Identity"),s("/DW 1000"),s("/Subtype /CIDFontType2"),s("/CIDSystemInfo"),s("<<"),s("/Supplement 0"),s("/Registry (Adobe)"),s("/Ordering ("+a.encoding+")"),s(">>"),s(">>"),s("endobj"),a.objectNumber=u(),s("<<"),s("/Type /Font"),s("/Subtype /Type0"),s("/ToUnicode "+m+" 0 R"),s("/BaseFont /"+Pp(a.fontName)),s("/Encoding /"+a.encoding),s("/DescendantFonts ["+v+" 0 R]"),s(">>"),s("endobj"),a.isAlreadyPutted=!0}})(o)}]),t.events.push(["putFont",function(o){(function(A){var a=A.font,s=A.out,u=A.newObject,l=A.putStream;if(a.metadata instanceof e.API.TTFFont&&a.encoding==="WinAnsiEncoding"){for(var c=a.metadata.rawData,d="",f=0;f<c.length;f++)d+=String.fromCharCode(c[f]);var g=u();l({data:d,addLength1:!0,objectId:g}),s("endobj");var h=u();l({data:r(a.metadata.toUnicode),addLength1:!0,objectId:h}),s("endobj");var m=u();s("<<"),s("/Descent "+a.metadata.decender),s("/CapHeight "+a.metadata.capHeight),s("/StemV "+a.metadata.stemV),s("/Type /FontDescriptor"),s("/FontFile2 "+g+" 0 R"),s("/Flags 96"),s("/FontBBox "+e.API.PDFObject.convert(a.metadata.bbox)),s("/FontName /"+Pp(a.fontName)),s("/ItalicAngle "+a.metadata.italicAngle),s("/Ascent "+a.metadata.ascender),s(">>"),s("endobj"),a.objectNumber=u();for(var p=0;p<a.metadata.hmtx.widths.length;p++)a.metadata.hmtx.widths[p]=parseInt(a.metadata.hmtx.widths[p]*(1e3/a.metadata.head.unitsPerEm));s("<</Subtype/TrueType/Type/Font/ToUnicode "+h+" 0 R/BaseFont/"+Pp(a.fontName)+"/FontDescriptor "+m+" 0 R/Encoding/"+a.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(a.metadata.hmtx.widths)+">>"),s("endobj"),a.isAlreadyPutted=!0}})(o)}]);var i=function(o){var A,a=o.text||"",s=o.x,u=o.y,l=o.options||{},c=o.mutex||{},d=c.pdfEscape,f=c.activeFontKey,g=c.fonts,h=f,m="",p=0,v="",y=g[h].encoding;if(g[h].encoding!=="Identity-H")return{text:a,x:s,y:u,options:l,mutex:c};for(v=a,h=f,Array.isArray(a)&&(v=a[0]),p=0;p<v.length;p+=1)g[h].metadata.hasOwnProperty("cmap")&&(A=g[h].metadata.cmap.unicode.codeMap[v[p].charCodeAt(0)]),A||v[p].charCodeAt(0)<256&&g[h].metadata.hasOwnProperty("Unicode")?m+=v[p]:m+="";var b="";return parseInt(h.slice(1))<14||y==="WinAnsiEncoding"?b=d(m,h).split("").map(function(w){return w.charCodeAt(0).toString(16)}).join(""):y==="Identity-H"&&(b=n(m,g[h])),c.isHex=!0,{text:b,x:s,y:u,options:l,mutex:c}};t.events.push(["postProcessText",function(o){var A=o.text||"",a=[],s={text:A,x:o.x,y:o.y,options:o.options,mutex:o.mutex};if(Array.isArray(A)){var u=0;for(u=0;u<A.length;u+=1)Array.isArray(A[u])&&A[u].length===3?a.push([i(Object.assign({},s,{text:A[u][0]})).text,A[u][1],A[u][2]]):a.push(i(Object.assign({},s,{text:A[u]})).text);o.text=a}else o.text=i(Object.assign({},s,{text:A})).text}])}(gn),function(e){var t=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(n){return t.call(this),this.internal.vFS[n]!==void 0},e.addFileToVFS=function(n,r){return t.call(this),this.internal.vFS[n]=r,this},e.getFileFromVFS=function(n){return t.call(this),this.internal.vFS[n]!==void 0?this.internal.vFS[n]:null}}(gn.API),function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(r){var i,o,A,a,s,u,l,c=t,d=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],f=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],g={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},h={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},m=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],p=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),v=!1,y=0;this.__bidiEngine__={};var b=function(R){var F=R.charCodeAt(),L=F>>8,E=h[L];return E!==void 0?c[256*E+(255&F)]:L===252||L===253?"AL":p.test(L)?"L":L===8?"R":"N"},w=function(R){for(var F,L=0;L<R.length;L++){if((F=b(R.charAt(L)))==="L")return!1;if(F==="R")return!0}return!1},C=function(R,F,L,E){var H,X,z,Z,q=F[E];switch(q){case"L":case"R":v=!1;break;case"N":case"AN":break;case"EN":v&&(q="AN");break;case"AL":v=!0,q="R";break;case"WS":q="N";break;case"CS":E<1||E+1>=F.length||(H=L[E-1])!=="EN"&&H!=="AN"||(X=F[E+1])!=="EN"&&X!=="AN"?q="N":v&&(X="AN"),q=X===H?X:"N";break;case"ES":q=(H=E>0?L[E-1]:"B")==="EN"&&E+1<F.length&&F[E+1]==="EN"?"EN":"N";break;case"ET":if(E>0&&L[E-1]==="EN"){q="EN";break}if(v){q="N";break}for(z=E+1,Z=F.length;z<Z&&F[z]==="ET";)z++;q=z<Z&&F[z]==="EN"?"EN":"N";break;case"NSM":if(A&&!a){for(Z=F.length,z=E+1;z<Z&&F[z]==="NSM";)z++;if(z<Z){var te=R[E],ne=te>=1425&&te<=2303||te===64286;if(H=F[z],ne&&(H==="R"||H==="AL")){q="R";break}}}q=E<1||(H=F[E-1])==="B"?"N":L[E-1];break;case"B":v=!1,i=!0,q=y;break;case"S":o=!0,q="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":v=!1;break;case"BN":q="N"}return q},B=function(R,F,L){var E=R.split("");return L&&O(E,L,{hiLevel:y}),E.reverse(),F&&F.reverse(),E.join("")},O=function(R,F,L){var E,H,X,z,Z,q=-1,te=R.length,ne=0,_=[],Y=y?f:d,re=[];for(v=!1,i=!1,o=!1,H=0;H<te;H++)re[H]=b(R[H]);for(X=0;X<te;X++){if(Z=ne,_[X]=C(R,re,_,X),E=240&(ne=Y[Z][g[_[X]]]),ne&=15,F[X]=z=Y[ne][5],E>0)if(E===16){for(H=q;H<X;H++)F[H]=1;q=-1}else q=-1;if(Y[ne][6])q===-1&&(q=X);else if(q>-1){for(H=q;H<X;H++)F[H]=z;q=-1}re[X]==="B"&&(F[X]=0),L.hiLevel|=z}o&&function(se,ce,N){for(var K=0;K<N;K++)if(se[K]==="S"){ce[K]=y;for(var Ae=K-1;Ae>=0&&se[Ae]==="WS";Ae--)ce[Ae]=y}}(re,F,te)},x=function(R,F,L,E,H){if(!(H.hiLevel<R)){if(R===1&&y===1&&!i)return F.reverse(),void(L&&L.reverse());for(var X,z,Z,q,te=F.length,ne=0;ne<te;){if(E[ne]>=R){for(Z=ne+1;Z<te&&E[Z]>=R;)Z++;for(q=ne,z=Z-1;q<z;q++,z--)X=F[q],F[q]=F[z],F[z]=X,L&&(X=L[q],L[q]=L[z],L[z]=X);ne=Z}ne++}}},M=function(R,F,L){var E=R.split(""),H={hiLevel:y};return L||(L=[]),O(E,L,H),function(X,z,Z){if(Z.hiLevel!==0&&l)for(var q,te=0;te<X.length;te++)z[te]===1&&(q=m.indexOf(X[te]))>=0&&(X[te]=m[q+1])}(E,L,H),x(2,E,F,L,H),x(1,E,F,L,H),E.join("")};return this.__bidiEngine__.doBidiReorder=function(R,F,L){if(function(H,X){if(X)for(var z=0;z<H.length;z++)X[z]=z;a===void 0&&(a=w(H)),u===void 0&&(u=w(H))}(R,F),A||!s||u)if(A&&s&&a^u)y=a?1:0,R=B(R,F,L);else if(!A&&s&&u)y=a?1:0,R=M(R,F,L),R=B(R,F);else if(!A||a||s||u){if(A&&!s&&a^u)R=B(R,F),a?(y=0,R=M(R,F,L)):(y=1,R=M(R,F,L),R=B(R,F));else if(A&&a&&!s&&u)y=1,R=M(R,F,L),R=B(R,F);else if(!A&&!s&&a^u){var E=l;a?(y=1,R=M(R,F,L),y=0,l=!1,R=M(R,F,L),l=E):(y=0,R=M(R,F,L),R=B(R,F),y=1,l=!1,R=M(R,F,L),l=E,R=B(R,F))}}else y=0,R=M(R,F,L);else y=a?1:0,R=M(R,F,L);return R},this.__bidiEngine__.setOptions=function(R){R&&(A=R.isInputVisual,s=R.isOutputVisual,a=R.isInputRtl,u=R.isOutputRtl,l=R.isSymmetricSwapping)},this.__bidiEngine__.setOptions(r),this.__bidiEngine__};var t=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],n=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(r){var i=r.text,o=(r.x,r.y,r.options||{}),A=(r.mutex,o.lang,[]);if(o.isInputVisual=typeof o.isInputVisual!="boolean"||o.isInputVisual,n.setOptions(o),Object.prototype.toString.call(i)==="[object Array]"){var a=0;for(A=[],a=0;a<i.length;a+=1)Object.prototype.toString.call(i[a])==="[object Array]"?A.push([n.doBidiReorder(i[a][0]),i[a][1],i[a][2]]):A.push([n.doBidiReorder(i[a])]);r.text=A}else r.text=n.doBidiReorder(i);n.setOptions({isInputVisual:!0})}])}(gn),gn.API.TTFFont=function(){function e(t){var n;if(this.rawData=t,n=this.contents=new vf(t),this.contents.pos=4,n.readString(4)==="ttcf")throw new Error("TTCF not supported.");n.pos=0,this.parse(),this.subset=new kTe(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new ITe(this.contents),this.head=new OTe(this),this.name=new LTe(this),this.cmap=new XJ(this),this.toUnicode={},this.hhea=new TTe(this),this.maxp=new DTe(this),this.hmtx=new RTe(this),this.post=new QTe(this),this.os2=new UTe(this),this.loca=new MTe(this),this.glyf=new $Te(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},e.prototype.registerTTF=function(){var t,n,r,i,o;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=(function(){var A,a,s,u;for(u=[],A=0,a=(s=this.bbox).length;A<a;A++)t=s[A],u.push(Math.round(t*this.scaleFactor));return u}).call(this),this.stemV=0,this.post.exists?(r=255&(i=this.post.italic_angle),32768&(n=i>>16)&&(n=-(1+(65535^n))),this.italicAngle=+(n+"."+r)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(o=this.familyClass)===1||o===2||o===3||o===4||o===5||o===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(t){var n;return((n=this.cmap.unicode)!=null?n.codeMap[t]:void 0)||0},e.prototype.widthOfGlyph=function(t){var n;return n=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(t).advance*n},e.prototype.widthOfString=function(t,n,r){var i,o,A,a;for(A=0,o=0,a=(t=""+t).length;0<=a?o<a:o>a;o=0<=a?++o:--o)i=t.charCodeAt(o),A+=this.widthOfGlyph(this.characterToGlyph(i))+r*(1e3/n)||0;return A*(n/1e3)},e.prototype.lineHeight=function(t,n){var r;return n==null&&(n=!1),r=n?this.lineGap:0,(this.ascender+r-this.decender)/1e3*t},e}();var Ls,vf=function(){function e(t){this.data=t??[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(t){return this.data[this.pos++]=t},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(t){return this.writeByte(t>>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t)},e.prototype.readInt32=function(){var t;return(t=this.readUInt32())>=2147483648?t-4294967296:t},e.prototype.writeInt32=function(t){return t<0&&(t+=4294967296),this.writeUInt32(t)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(t){return this.writeByte(t>>8&255),this.writeByte(255&t)},e.prototype.readInt16=function(){var t;return(t=this.readUInt16())>=32768?t-65536:t},e.prototype.writeInt16=function(t){return t<0&&(t+=65536),this.writeUInt16(t)},e.prototype.readString=function(t){var n,r;for(r=[],n=0;0<=t?n<t:n>t;n=0<=t?++n:--n)r[n]=String.fromCharCode(this.readByte());return r.join("")},e.prototype.writeString=function(t){var n,r,i;for(i=[],n=0,r=t.length;0<=r?n<r:n>r;n=0<=r?++n:--n)i.push(this.writeByte(t.charCodeAt(n)));return i},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(t){return this.writeInt16(t)},e.prototype.readLongLong=function(){var t,n,r,i,o,A,a,s;return t=this.readByte(),n=this.readByte(),r=this.readByte(),i=this.readByte(),o=this.readByte(),A=this.readByte(),a=this.readByte(),s=this.readByte(),128&t?-1*(72057594037927940*(255^t)+281474976710656*(255^n)+1099511627776*(255^r)+4294967296*(255^i)+16777216*(255^o)+65536*(255^A)+256*(255^a)+(255^s)+1):72057594037927940*t+281474976710656*n+1099511627776*r+4294967296*i+16777216*o+65536*A+256*a+s},e.prototype.writeLongLong=function(t){var n,r;return n=Math.floor(t/4294967296),r=4294967295&t,this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(t){return this.writeInt32(t)},e.prototype.read=function(t){var n,r;for(n=[],r=0;0<=t?r<t:r>t;r=0<=t?++r:--r)n.push(this.readByte());return n},e.prototype.write=function(t){var n,r,i,o;for(o=[],r=0,i=t.length;r<i;r++)n=t[r],o.push(this.writeByte(n));return o},e}(),ITe=function(){var e;function t(n){var r,i,o;for(this.scalarType=n.readInt(),this.tableCount=n.readShort(),this.searchRange=n.readShort(),this.entrySelector=n.readShort(),this.rangeShift=n.readShort(),this.tables={},i=0,o=this.tableCount;0<=o?i<o:i>o;i=0<=o?++i:--i)r={tag:n.readString(4),checksum:n.readInt(),offset:n.readInt(),length:n.readInt()},this.tables[r.tag]=r}return t.prototype.encode=function(n){var r,i,o,A,a,s,u,l,c,d,f,g,h;for(h in f=Object.keys(n).length,s=Math.log(2),c=16*Math.floor(Math.log(f)/s),A=Math.floor(c/s),l=16*f-c,(i=new vf).writeInt(this.scalarType),i.writeShort(f),i.writeShort(c),i.writeShort(A),i.writeShort(l),o=16*f,u=i.pos+o,a=null,g=[],n)for(d=n[h],i.writeString(h),i.writeInt(e(d)),i.writeInt(u),i.writeInt(d.length),g=g.concat(d),h==="head"&&(a=u),u+=d.length;u%4;)g.push(0),u++;return i.write(g),r=2981146554-e(i.data),i.pos=a+8,i.writeUInt32(r),i.data},e=function(n){var r,i,o,A;for(n=YJ.call(n);n.length%4;)n.push(0);for(o=new vf(n),i=0,r=0,A=n.length;r<A;r=r+=4)i+=o.readUInt32();return 4294967295&i},t}(),_Te={}.hasOwnProperty,kl=function(e,t){for(var n in t)_Te.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e};Ls=function(){function e(t){var n;this.file=t,n=this.file.directory.tables[this.tag],this.exists=!!n,n&&(this.offset=n.offset,this.length=n.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}();var OTe=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return kl(t,Ls),t.prototype.tag="head",t.prototype.parse=function(n){return n.pos=this.offset,this.version=n.readInt(),this.revision=n.readInt(),this.checkSumAdjustment=n.readInt(),this.magicNumber=n.readInt(),this.flags=n.readShort(),this.unitsPerEm=n.readShort(),this.created=n.readLongLong(),this.modified=n.readLongLong(),this.xMin=n.readShort(),this.yMin=n.readShort(),this.xMax=n.readShort(),this.yMax=n.readShort(),this.macStyle=n.readShort(),this.lowestRecPPEM=n.readShort(),this.fontDirectionHint=n.readShort(),this.indexToLocFormat=n.readShort(),this.glyphDataFormat=n.readShort()},t.prototype.encode=function(n){var r;return(r=new vf).writeInt(this.version),r.writeInt(this.revision),r.writeInt(this.checkSumAdjustment),r.writeInt(this.magicNumber),r.writeShort(this.flags),r.writeShort(this.unitsPerEm),r.writeLongLong(this.created),r.writeLongLong(this.modified),r.writeShort(this.xMin),r.writeShort(this.yMin),r.writeShort(this.xMax),r.writeShort(this.yMax),r.writeShort(this.macStyle),r.writeShort(this.lowestRecPPEM),r.writeShort(this.fontDirectionHint),r.writeShort(n),r.writeShort(this.glyphDataFormat),r.data},t}(),TN=function(){function e(t,n){var r,i,o,A,a,s,u,l,c,d,f,g,h,m,p,v,y;switch(this.platformID=t.readUInt16(),this.encodingID=t.readShort(),this.offset=n+t.readInt(),c=t.pos,t.pos=this.offset,this.format=t.readUInt16(),this.length=t.readUInt16(),this.language=t.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(s=0;s<256;++s)this.codeMap[s]=t.readByte();break;case 4:for(f=t.readUInt16(),d=f/2,t.pos+=6,o=function(){var b,w;for(w=[],s=b=0;0<=d?b<d:b>d;s=0<=d?++b:--b)w.push(t.readUInt16());return w}(),t.pos+=2,h=function(){var b,w;for(w=[],s=b=0;0<=d?b<d:b>d;s=0<=d?++b:--b)w.push(t.readUInt16());return w}(),u=function(){var b,w;for(w=[],s=b=0;0<=d?b<d:b>d;s=0<=d?++b:--b)w.push(t.readUInt16());return w}(),l=function(){var b,w;for(w=[],s=b=0;0<=d?b<d:b>d;s=0<=d?++b:--b)w.push(t.readUInt16());return w}(),i=(this.length-t.pos+this.offset)/2,a=function(){var b,w;for(w=[],s=b=0;0<=i?b<i:b>i;s=0<=i?++b:--b)w.push(t.readUInt16());return w}(),s=p=0,y=o.length;p<y;s=++p)for(m=o[s],r=v=g=h[s];g<=m?v<=m:v>=m;r=g<=m?++v:--v)l[s]===0?A=r+u[s]:(A=a[l[s]/2+(r-g)-(d-s)]||0)!==0&&(A+=u[s]),this.codeMap[r]=65535&A}t.pos=c}return e.encode=function(t,n){var r,i,o,A,a,s,u,l,c,d,f,g,h,m,p,v,y,b,w,C,B,O,x,M,R,F,L,E,H,X,z,Z,q,te,ne,_,Y,re,se,ce,N,K,Ae,ae,ie,J;switch(E=new vf,A=Object.keys(t).sort(function(ue,G){return ue-G}),n){case"macroman":for(h=0,m=function(){var ue=[];for(g=0;g<256;++g)ue.push(0);return ue}(),v={0:0},o={},H=0,q=A.length;H<q;H++)v[Ae=t[i=A[H]]]==null&&(v[Ae]=++h),o[i]={old:t[i],new:v[t[i]]},m[i]=v[t[i]];return E.writeUInt16(1),E.writeUInt16(0),E.writeUInt32(12),E.writeUInt16(0),E.writeUInt16(262),E.writeUInt16(0),E.write(m),{charMap:o,subtable:E.data,maxGlyphID:h+1};case"unicode":for(F=[],c=[],y=0,v={},r={},p=u=null,X=0,te=A.length;X<te;X++)v[w=t[i=A[X]]]==null&&(v[w]=++y),r[i]={old:w,new:v[w]},a=v[w]-i,p!=null&&a===u||(p&&c.push(p),F.push(i),u=a),p=i;for(p&&c.push(p),c.push(65535),F.push(65535),M=2*(x=F.length),O=2*Math.pow(Math.log(x)/Math.LN2,2),d=Math.log(O/2)/Math.LN2,B=2*x-O,s=[],C=[],f=[],g=z=0,ne=F.length;z<ne;g=++z){if(R=F[g],l=c[g],R===65535){s.push(0),C.push(0);break}if(R-(L=r[R].new)>=32768)for(s.push(0),C.push(2*(f.length+x-g)),i=Z=R;R<=l?Z<=l:Z>=l;i=R<=l?++Z:--Z)f.push(r[i].new);else s.push(L-R),C.push(0)}for(E.writeUInt16(3),E.writeUInt16(1),E.writeUInt32(12),E.writeUInt16(4),E.writeUInt16(16+8*x+2*f.length),E.writeUInt16(0),E.writeUInt16(M),E.writeUInt16(O),E.writeUInt16(d),E.writeUInt16(B),N=0,_=c.length;N<_;N++)i=c[N],E.writeUInt16(i);for(E.writeUInt16(0),K=0,Y=F.length;K<Y;K++)i=F[K],E.writeUInt16(i);for(ae=0,re=s.length;ae<re;ae++)a=s[ae],E.writeUInt16(a);for(ie=0,se=C.length;ie<se;ie++)b=C[ie],E.writeUInt16(b);for(J=0,ce=f.length;J<ce;J++)h=f[J],E.writeUInt16(h);return{charMap:r,subtable:E.data,maxGlyphID:y+1}}},e}(),XJ=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return kl(t,Ls),t.prototype.tag="cmap",t.prototype.parse=function(n){var r,i,o;for(n.pos=this.offset,this.version=n.readUInt16(),o=n.readUInt16(),this.tables=[],this.unicode=null,i=0;0<=o?i<o:i>o;i=0<=o?++i:--i)r=new TN(n,this.offset),this.tables.push(r),r.isUnicode&&this.unicode==null&&(this.unicode=r);return!0},t.encode=function(n,r){var i,o;return r==null&&(r="macroman"),i=TN.encode(n,r),(o=new vf).writeUInt16(0),o.writeUInt16(1),i.table=o.data.concat(i.subtable),i},t}(),TTe=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return kl(t,Ls),t.prototype.tag="hhea",t.prototype.parse=function(n){return n.pos=this.offset,this.version=n.readInt(),this.ascender=n.readShort(),this.decender=n.readShort(),this.lineGap=n.readShort(),this.advanceWidthMax=n.readShort(),this.minLeftSideBearing=n.readShort(),this.minRightSideBearing=n.readShort(),this.xMaxExtent=n.readShort(),this.caretSlopeRise=n.readShort(),this.caretSlopeRun=n.readShort(),this.caretOffset=n.readShort(),n.pos+=8,this.metricDataFormat=n.readShort(),this.numberOfMetrics=n.readUInt16()},t}(),UTe=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return kl(t,Ls),t.prototype.tag="OS/2",t.prototype.parse=function(n){if(n.pos=this.offset,this.version=n.readUInt16(),this.averageCharWidth=n.readShort(),this.weightClass=n.readUInt16(),this.widthClass=n.readUInt16(),this.type=n.readShort(),this.ySubscriptXSize=n.readShort(),this.ySubscriptYSize=n.readShort(),this.ySubscriptXOffset=n.readShort(),this.ySubscriptYOffset=n.readShort(),this.ySuperscriptXSize=n.readShort(),this.ySuperscriptYSize=n.readShort(),this.ySuperscriptXOffset=n.readShort(),this.ySuperscriptYOffset=n.readShort(),this.yStrikeoutSize=n.readShort(),this.yStrikeoutPosition=n.readShort(),this.familyClass=n.readShort(),this.panose=function(){var r,i;for(i=[],r=0;r<10;++r)i.push(n.readByte());return i}(),this.charRange=function(){var r,i;for(i=[],r=0;r<4;++r)i.push(n.readInt());return i}(),this.vendorID=n.readString(4),this.selection=n.readShort(),this.firstCharIndex=n.readShort(),this.lastCharIndex=n.readShort(),this.version>0&&(this.ascent=n.readShort(),this.descent=n.readShort(),this.lineGap=n.readShort(),this.winAscent=n.readShort(),this.winDescent=n.readShort(),this.codePageRange=function(){var r,i;for(i=[],r=0;r<2;r=++r)i.push(n.readInt());return i}(),this.version>1))return this.xHeight=n.readShort(),this.capHeight=n.readShort(),this.defaultChar=n.readShort(),this.breakChar=n.readShort(),this.maxContext=n.readShort()},t}(),QTe=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return kl(t,Ls),t.prototype.tag="post",t.prototype.parse=function(n){var r,i,o;switch(n.pos=this.offset,this.format=n.readInt(),this.italicAngle=n.readInt(),this.underlinePosition=n.readShort(),this.underlineThickness=n.readShort(),this.isFixedPitch=n.readInt(),this.minMemType42=n.readInt(),this.maxMemType42=n.readInt(),this.minMemType1=n.readInt(),this.maxMemType1=n.readInt(),this.format){case 65536:break;case 131072:var A;for(i=n.readUInt16(),this.glyphNameIndex=[],A=0;0<=i?A<i:A>i;A=0<=i?++A:--A)this.glyphNameIndex.push(n.readUInt16());for(this.names=[],o=[];n.pos<this.offset+this.length;)r=n.readByte(),o.push(this.names.push(n.readString(r)));return o;case 151552:return i=n.readUInt16(),this.offsets=n.read(i);case 196608:break;case 262144:return this.map=(function(){var a,s,u;for(u=[],A=a=0,s=this.file.maxp.numGlyphs;0<=s?a<s:a>s;A=0<=s?++a:--a)u.push(n.readUInt32());return u}).call(this)}},t}(),PTe=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},LTe=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return kl(t,Ls),t.prototype.tag="name",t.prototype.parse=function(n){var r,i,o,A,a,s,u,l,c,d,f;for(n.pos=this.offset,n.readShort(),r=n.readShort(),s=n.readShort(),i=[],A=0;0<=r?A<r:A>r;A=0<=r?++A:--A)i.push({platformID:n.readShort(),encodingID:n.readShort(),languageID:n.readShort(),nameID:n.readShort(),length:n.readShort(),offset:this.offset+s+n.readShort()});for(u={},A=c=0,d=i.length;c<d;A=++c)o=i[A],n.pos=o.offset,l=n.readString(o.length),a=new PTe(l,o),u[f=o.nameID]==null&&(u[f]=[]),u[o.nameID].push(a);this.strings=u,this.copyright=u[0],this.fontFamily=u[1],this.fontSubfamily=u[2],this.uniqueSubfamily=u[3],this.fontName=u[4],this.version=u[5];try{this.postscriptName=u[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=u[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=u[7],this.manufacturer=u[8],this.designer=u[9],this.description=u[10],this.vendorUrl=u[11],this.designerUrl=u[12],this.license=u[13],this.licenseUrl=u[14],this.preferredFamily=u[15],this.preferredSubfamily=u[17],this.compatibleFull=u[18],this.sampleText=u[19]},t}(),DTe=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return kl(t,Ls),t.prototype.tag="maxp",t.prototype.parse=function(n){return n.pos=this.offset,this.version=n.readInt(),this.numGlyphs=n.readUInt16(),this.maxPoints=n.readUInt16(),this.maxContours=n.readUInt16(),this.maxCompositePoints=n.readUInt16(),this.maxComponentContours=n.readUInt16(),this.maxZones=n.readUInt16(),this.maxTwilightPoints=n.readUInt16(),this.maxStorage=n.readUInt16(),this.maxFunctionDefs=n.readUInt16(),this.maxInstructionDefs=n.readUInt16(),this.maxStackElements=n.readUInt16(),this.maxSizeOfInstructions=n.readUInt16(),this.maxComponentElements=n.readUInt16(),this.maxComponentDepth=n.readUInt16()},t}(),RTe=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return kl(t,Ls),t.prototype.tag="hmtx",t.prototype.parse=function(n){var r,i,o,A,a,s,u;for(n.pos=this.offset,this.metrics=[],r=0,s=this.file.hhea.numberOfMetrics;0<=s?r<s:r>s;r=0<=s?++r:--r)this.metrics.push({advance:n.readUInt16(),lsb:n.readInt16()});for(o=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var l,c;for(c=[],r=l=0;0<=o?l<o:l>o;r=0<=o?++l:--l)c.push(n.readInt16());return c}(),this.widths=(function(){var l,c,d,f;for(f=[],l=0,c=(d=this.metrics).length;l<c;l++)A=d[l],f.push(A.advance);return f}).call(this),i=this.widths[this.widths.length-1],u=[],r=a=0;0<=o?a<o:a>o;r=0<=o?++a:--a)u.push(this.widths.push(i));return u},t.prototype.forGlyph=function(n){return n in this.metrics?this.metrics[n]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[n-this.metrics.length]}},t}(),YJ=[].slice,$Te=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return kl(t,Ls),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(n){var r,i,o,A,a,s,u,l,c,d;return n in this.cache?this.cache[n]:(A=this.file.loca,r=this.file.contents,i=A.indexOf(n),(o=A.lengthOf(n))===0?this.cache[n]=null:(r.pos=this.offset+i,a=(s=new vf(r.read(o))).readShort(),l=s.readShort(),d=s.readShort(),u=s.readShort(),c=s.readShort(),this.cache[n]=a===-1?new HTe(s,l,d,u,c):new NTe(s,a,l,d,u,c),this.cache[n]))},t.prototype.encode=function(n,r,i){var o,A,a,s,u;for(a=[],A=[],s=0,u=r.length;s<u;s++)o=n[r[s]],A.push(a.length),o&&(a=a.concat(o.encode(i)));return A.push(a.length),{table:a,offsets:A}},t}(),NTe=function(){function e(t,n,r,i,o,A){this.raw=t,this.numberOfContours=n,this.xMin=r,this.yMin=i,this.xMax=o,this.yMax=A,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),HTe=function(){function e(t,n,r,i,o){var A,a;for(this.raw=t,this.xMin=n,this.yMin=r,this.xMax=i,this.yMax=o,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],A=this.raw;a=A.readShort(),this.glyphOffsets.push(A.pos),this.glyphIDs.push(A.readUInt16()),32&a;)A.pos+=1&a?4:2,128&a?A.pos+=8:64&a?A.pos+=4:8&a&&(A.pos+=2)}return e.prototype.encode=function(){var t,n,r;for(n=new vf(YJ.call(this.raw.data)),t=0,r=this.glyphIDs.length;t<r;++t)n.pos=this.glyphOffsets[t];return n.data},e}(),MTe=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return kl(t,Ls),t.prototype.tag="loca",t.prototype.parse=function(n){var r,i;return n.pos=this.offset,r=this.file.head.indexToLocFormat,this.offsets=r===0?(function(){var o,A;for(A=[],i=0,o=this.length;i<o;i+=2)A.push(2*n.readUInt16());return A}).call(this):(function(){var o,A;for(A=[],i=0,o=this.length;i<o;i+=4)A.push(n.readUInt32());return A}).call(this)},t.prototype.indexOf=function(n){return this.offsets[n]},t.prototype.lengthOf=function(n){return this.offsets[n+1]-this.offsets[n]},t.prototype.encode=function(n,r){for(var i=new Uint32Array(this.offsets.length),o=0,A=0,a=0;a<i.length;++a)if(i[a]=o,A<r.length&&r[A]==a){++A,i[a]=o;var s=this.offsets[a],u=this.offsets[a+1]-s;u>0&&(o+=u)}for(var l=new Array(4*i.length),c=0;c<i.length;++c)l[4*c+3]=255&i[c],l[4*c+2]=(65280&i[c])>>8,l[4*c+1]=(16711680&i[c])>>16,l[4*c]=(4278190080&i[c])>>24;return l},t}(),kTe=function(){function e(t){this.font=t,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var t,n,r,i,o;for(n in i=this.font.cmap.tables[0].codeMap,t={},o=this.subset)r=o[n],t[n]=i[r];return t},e.prototype.glyphsFor=function(t){var n,r,i,o,A,a,s;for(i={},A=0,a=t.length;A<a;A++)i[o=t[A]]=this.font.glyf.glyphFor(o);for(o in n=[],i)(r=i[o])!=null&&r.compound&&n.push.apply(n,r.glyphIDs);if(n.length>0)for(o in s=this.glyphsFor(n))r=s[o],i[o]=r;return i},e.prototype.encode=function(t,n){var r,i,o,A,a,s,u,l,c,d,f,g,h,m,p;for(i in r=XJ.encode(this.generateCmap(),"unicode"),A=this.glyphsFor(t),f={0:0},p=r.charMap)f[(s=p[i]).old]=s.new;for(g in d=r.maxGlyphID,A)g in f||(f[g]=d++);return l=function(v){var y,b;for(y in b={},v)b[v[y]]=y;return b}(f),c=Object.keys(l).sort(function(v,y){return v-y}),h=function(){var v,y,b;for(b=[],v=0,y=c.length;v<y;v++)a=c[v],b.push(l[a]);return b}(),o=this.font.glyf.encode(A,h,f),u=this.font.loca.encode(o.offsets,h),m={cmap:this.font.cmap.raw(),glyf:o.table,loca:u,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(n)},this.font.os2.exists&&(m["OS/2"]=this.font.os2.raw()),this.font.directory.encode(m)},e}();gn.API.PDFObject=function(){var e;function t(){}return e=function(n,r){return(Array(r+1).join("0")+n).slice(-r)},t.convert=function(n){var r,i,o,A;if(Array.isArray(n))return"["+function(){var a,s,u;for(u=[],a=0,s=n.length;a<s;a++)r=n[a],u.push(t.convert(r));return u}().join(" ")+"]";if(typeof n=="string")return"/"+n;if(n!=null&&n.isString)return"("+n+")";if(n instanceof Date)return"(D:"+e(n.getUTCFullYear(),4)+e(n.getUTCMonth(),2)+e(n.getUTCDate(),2)+e(n.getUTCHours(),2)+e(n.getUTCMinutes(),2)+e(n.getUTCSeconds(),2)+"Z)";if({}.toString.call(n)==="[object Object]"){for(i in o=["<<"],n)A=n[i],o.push("/"+i+" "+t.convert(A));return o.push(">>"),o.join(`
- `)}return""+n},t}();const jTe=Object.freeze(Object.defineProperty({__proto__:null,AcroForm:bTe,AcroFormAppearance:Jt,AcroFormButton:Zi,AcroFormCheckBox:Sm,AcroFormChoiceField:$d,AcroFormComboBox:Hd,AcroFormEditBox:Cm,AcroFormListBox:Nd,AcroFormPasswordField:Em,AcroFormPushButton:xm,AcroFormRadioButton:Md,AcroFormTextField:lf,GState:sv,ShadingPattern:qc,TilingPattern:_d,default:gn,jsPDF:gn},Symbol.toStringTag,{value:"Module"})),KTe=Noe(jTe);var Hb={exports:{}};/*!
- * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
- * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
- * Released under MIT License
- */var VTe=Hb.exports,UN;function zTe(){return UN||(UN=1,function(e,t){(function(n,r){e.exports=r()})(VTe,function(){/*! *****************************************************************************
- Copyright (c) Microsoft Corporation.
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted.
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */var n=function(T,I){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(D,Q){D.__proto__=Q}||function(D,Q){for(var le in Q)Object.prototype.hasOwnProperty.call(Q,le)&&(D[le]=Q[le])},n(T,I)};function r(T,I){if(typeof I!="function"&&I!==null)throw new TypeError("Class extends value "+String(I)+" is not a constructor or null");n(T,I);function D(){this.constructor=T}T.prototype=I===null?Object.create(I):(D.prototype=I.prototype,new D)}var i=function(){return i=Object.assign||function(I){for(var D,Q=1,le=arguments.length;Q<le;Q++){D=arguments[Q];for(var ge in D)Object.prototype.hasOwnProperty.call(D,ge)&&(I[ge]=D[ge])}return I},i.apply(this,arguments)};function o(T,I,D,Q){function le(ge){return ge instanceof D?ge:new D(function(Ee){Ee(ge)})}return new(D||(D=Promise))(function(ge,Ee){function Pe(Xe){try{Ge(Q.next(Xe))}catch(it){Ee(it)}}function Qe(Xe){try{Ge(Q.throw(Xe))}catch(it){Ee(it)}}function Ge(Xe){Xe.done?ge(Xe.value):le(Xe.value).then(Pe,Qe)}Ge((Q=Q.apply(T,[])).next())})}function A(T,I){var D={label:0,sent:function(){if(ge[0]&1)throw ge[1];return ge[1]},trys:[],ops:[]},Q,le,ge,Ee;return Ee={next:Pe(0),throw:Pe(1),return:Pe(2)},typeof Symbol=="function"&&(Ee[Symbol.iterator]=function(){return this}),Ee;function Pe(Ge){return function(Xe){return Qe([Ge,Xe])}}function Qe(Ge){if(Q)throw new TypeError("Generator is already executing.");for(;D;)try{if(Q=1,le&&(ge=Ge[0]&2?le.return:Ge[0]?le.throw||((ge=le.return)&&ge.call(le),0):le.next)&&!(ge=ge.call(le,Ge[1])).done)return ge;switch(le=0,ge&&(Ge=[Ge[0]&2,ge.value]),Ge[0]){case 0:case 1:ge=Ge;break;case 4:return D.label++,{value:Ge[1],done:!1};case 5:D.label++,le=Ge[1],Ge=[0];continue;case 7:Ge=D.ops.pop(),D.trys.pop();continue;default:if(ge=D.trys,!(ge=ge.length>0&&ge[ge.length-1])&&(Ge[0]===6||Ge[0]===2)){D=0;continue}if(Ge[0]===3&&(!ge||Ge[1]>ge[0]&&Ge[1]<ge[3])){D.label=Ge[1];break}if(Ge[0]===6&&D.label<ge[1]){D.label=ge[1],ge=Ge;break}if(ge&&D.label<ge[2]){D.label=ge[2],D.ops.push(Ge);break}ge[2]&&D.ops.pop(),D.trys.pop();continue}Ge=I.call(T,D)}catch(Xe){Ge=[6,Xe],le=0}finally{Q=ge=0}if(Ge[0]&5)throw Ge[1];return{value:Ge[0]?Ge[1]:void 0,done:!0}}}function a(T,I,D){if(arguments.length===2)for(var Q=0,le=I.length,ge;Q<le;Q++)(ge||!(Q in I))&&(ge||(ge=Array.prototype.slice.call(I,0,Q)),ge[Q]=I[Q]);return T.concat(ge||I)}for(var s=function(){function T(I,D,Q,le){this.left=I,this.top=D,this.width=Q,this.height=le}return T.prototype.add=function(I,D,Q,le){return new T(this.left+I,this.top+D,this.width+Q,this.height+le)},T.fromClientRect=function(I,D){return new T(D.left+I.windowBounds.left,D.top+I.windowBounds.top,D.width,D.height)},T.fromDOMRectList=function(I,D){var Q=Array.from(D).find(function(le){return le.width!==0});return Q?new T(Q.left+I.windowBounds.left,Q.top+I.windowBounds.top,Q.width,Q.height):T.EMPTY},T.EMPTY=new T(0,0,0,0),T}(),u=function(T,I){return s.fromClientRect(T,I.getBoundingClientRect())},l=function(T){var I=T.body,D=T.documentElement;if(!I||!D)throw new Error("Unable to get document size");var Q=Math.max(Math.max(I.scrollWidth,D.scrollWidth),Math.max(I.offsetWidth,D.offsetWidth),Math.max(I.clientWidth,D.clientWidth)),le=Math.max(Math.max(I.scrollHeight,D.scrollHeight),Math.max(I.offsetHeight,D.offsetHeight),Math.max(I.clientHeight,D.clientHeight));return new s(0,0,Q,le)},c=function(T){for(var I=[],D=0,Q=T.length;D<Q;){var le=T.charCodeAt(D++);if(le>=55296&&le<=56319&&D<Q){var ge=T.charCodeAt(D++);(ge&64512)===56320?I.push(((le&1023)<<10)+(ge&1023)+65536):(I.push(le),D--)}else I.push(le)}return I},d=function(){for(var T=[],I=0;I<arguments.length;I++)T[I]=arguments[I];if(String.fromCodePoint)return String.fromCodePoint.apply(String,T);var D=T.length;if(!D)return"";for(var Q=[],le=-1,ge="";++le<D;){var Ee=T[le];Ee<=65535?Q.push(Ee):(Ee-=65536,Q.push((Ee>>10)+55296,Ee%1024+56320)),(le+1===D||Q.length>16384)&&(ge+=String.fromCharCode.apply(String,Q),Q.length=0)}return ge},f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g=typeof Uint8Array>"u"?[]:new Uint8Array(256),h=0;h<f.length;h++)g[f.charCodeAt(h)]=h;for(var m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=typeof Uint8Array>"u"?[]:new Uint8Array(256),v=0;v<m.length;v++)p[m.charCodeAt(v)]=v;for(var y=function(T){var I=T.length*.75,D=T.length,Q,le=0,ge,Ee,Pe,Qe;T[T.length-1]==="="&&(I--,T[T.length-2]==="="&&I--);var Ge=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(I):new Array(I),Xe=Array.isArray(Ge)?Ge:new Uint8Array(Ge);for(Q=0;Q<D;Q+=4)ge=p[T.charCodeAt(Q)],Ee=p[T.charCodeAt(Q+1)],Pe=p[T.charCodeAt(Q+2)],Qe=p[T.charCodeAt(Q+3)],Xe[le++]=ge<<2|Ee>>4,Xe[le++]=(Ee&15)<<4|Pe>>2,Xe[le++]=(Pe&3)<<6|Qe&63;return Ge},b=function(T){for(var I=T.length,D=[],Q=0;Q<I;Q+=2)D.push(T[Q+1]<<8|T[Q]);return D},w=function(T){for(var I=T.length,D=[],Q=0;Q<I;Q+=4)D.push(T[Q+3]<<24|T[Q+2]<<16|T[Q+1]<<8|T[Q]);return D},C=5,B=11,O=2,x=B-C,M=65536>>C,R=1<<C,F=R-1,L=1024>>C,E=M+L,H=E,X=32,z=H+X,Z=65536>>B,q=1<<x,te=q-1,ne=function(T,I,D){return T.slice?T.slice(I,D):new Uint16Array(Array.prototype.slice.call(T,I,D))},_=function(T,I,D){return T.slice?T.slice(I,D):new Uint32Array(Array.prototype.slice.call(T,I,D))},Y=function(T,I){var D=y(T),Q=Array.isArray(D)?w(D):new Uint32Array(D),le=Array.isArray(D)?b(D):new Uint16Array(D),ge=24,Ee=ne(le,ge/2,Q[4]/2),Pe=Q[5]===2?ne(le,(ge+Q[4])/2):_(Q,Math.ceil((ge+Q[4])/4));return new re(Q[0],Q[1],Q[2],Q[3],Ee,Pe)},re=function(){function T(I,D,Q,le,ge,Ee){this.initialValue=I,this.errorValue=D,this.highStart=Q,this.highValueIndex=le,this.index=ge,this.data=Ee}return T.prototype.get=function(I){var D;if(I>=0){if(I<55296||I>56319&&I<=65535)return D=this.index[I>>C],D=(D<<O)+(I&F),this.data[D];if(I<=65535)return D=this.index[M+(I-55296>>C)],D=(D<<O)+(I&F),this.data[D];if(I<this.highStart)return D=z-Z+(I>>B),D=this.index[D],D+=I>>C&te,D=this.index[D],D=(D<<O)+(I&F),this.data[D];if(I<=1114111)return this.data[this.highValueIndex]}return this.errorValue},T}(),se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ce=typeof Uint8Array>"u"?[]:new Uint8Array(256),N=0;N<se.length;N++)ce[se.charCodeAt(N)]=N;var K="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",Ae=50,ae=1,ie=2,J=3,ue=4,G=5,pe=7,k=8,P=9,U=10,W=11,de=12,me=13,ve=14,be=15,Te=16,we=17,xe=18,Ue=19,ke=20,et=21,De=22,_e=23,Re=24,Ne=25,ot=26,rt=27,nt=28,Bt=29,Et=30,Xt=31,Ut=32,$t=33,xt=34,Ct=35,ht=36,Tt=37,Yt=38,nn=39,zn=40,ur=41,Mt=42,vr=43,Yr=[9001,65288],mt="!",vt="×",It="÷",an=Y(K),Mn=[Et,ht],Kn=[ae,ie,J,G],Ar=[U,k],Gn=[rt,ot],er=Kn.concat(Ar),yr=[Yt,nn,zn,xt,Ct],br=[be,me],Dn=function(T,I){I===void 0&&(I="strict");var D=[],Q=[],le=[];return T.forEach(function(ge,Ee){var Pe=an.get(ge);if(Pe>Ae?(le.push(!0),Pe-=Ae):le.push(!1),["normal","auto","loose"].indexOf(I)!==-1&&[8208,8211,12316,12448].indexOf(ge)!==-1)return Q.push(Ee),D.push(Te);if(Pe===ue||Pe===W){if(Ee===0)return Q.push(Ee),D.push(Et);var Qe=D[Ee-1];return er.indexOf(Qe)===-1?(Q.push(Q[Ee-1]),D.push(Qe)):(Q.push(Ee),D.push(Et))}if(Q.push(Ee),Pe===Xt)return D.push(I==="strict"?et:Tt);if(Pe===Mt||Pe===Bt)return D.push(Et);if(Pe===vr)return ge>=131072&&ge<=196605||ge>=196608&&ge<=262141?D.push(Tt):D.push(Et);D.push(Pe)}),[Q,D,le]},Kr=function(T,I,D,Q){var le=Q[D];if(Array.isArray(T)?T.indexOf(le)!==-1:T===le)for(var ge=D;ge<=Q.length;){ge++;var Ee=Q[ge];if(Ee===I)return!0;if(Ee!==U)break}if(le===U)for(var ge=D;ge>0;){ge--;var Pe=Q[ge];if(Array.isArray(T)?T.indexOf(Pe)!==-1:T===Pe)for(var Qe=D;Qe<=Q.length;){Qe++;var Ee=Q[Qe];if(Ee===I)return!0;if(Ee!==U)break}if(Pe!==U)break}return!1},ii=function(T,I){for(var D=T;D>=0;){var Q=I[D];if(Q===U)D--;else return Q}return 0},Ht=function(T,I,D,Q,le){if(D[Q]===0)return vt;var ge=Q-1;if(Array.isArray(le)&&le[ge]===!0)return vt;var Ee=ge-1,Pe=ge+1,Qe=I[ge],Ge=Ee>=0?I[Ee]:0,Xe=I[Pe];if(Qe===ie&&Xe===J)return vt;if(Kn.indexOf(Qe)!==-1)return mt;if(Kn.indexOf(Xe)!==-1||Ar.indexOf(Xe)!==-1)return vt;if(ii(ge,I)===k)return It;if(an.get(T[ge])===W||(Qe===Ut||Qe===$t)&&an.get(T[Pe])===W||Qe===pe||Xe===pe||Qe===P||[U,me,be].indexOf(Qe)===-1&&Xe===P||[we,xe,Ue,Re,nt].indexOf(Xe)!==-1||ii(ge,I)===De||Kr(_e,De,ge,I)||Kr([we,xe],et,ge,I)||Kr(de,de,ge,I))return vt;if(Qe===U)return It;if(Qe===_e||Xe===_e)return vt;if(Xe===Te||Qe===Te)return It;if([me,be,et].indexOf(Xe)!==-1||Qe===ve||Ge===ht&&br.indexOf(Qe)!==-1||Qe===nt&&Xe===ht||Xe===ke||Mn.indexOf(Xe)!==-1&&Qe===Ne||Mn.indexOf(Qe)!==-1&&Xe===Ne||Qe===rt&&[Tt,Ut,$t].indexOf(Xe)!==-1||[Tt,Ut,$t].indexOf(Qe)!==-1&&Xe===ot||Mn.indexOf(Qe)!==-1&&Gn.indexOf(Xe)!==-1||Gn.indexOf(Qe)!==-1&&Mn.indexOf(Xe)!==-1||[rt,ot].indexOf(Qe)!==-1&&(Xe===Ne||[De,be].indexOf(Xe)!==-1&&I[Pe+1]===Ne)||[De,be].indexOf(Qe)!==-1&&Xe===Ne||Qe===Ne&&[Ne,nt,Re].indexOf(Xe)!==-1)return vt;if([Ne,nt,Re,we,xe].indexOf(Xe)!==-1)for(var it=ge;it>=0;){var gt=I[it];if(gt===Ne)return vt;if([nt,Re].indexOf(gt)!==-1)it--;else break}if([rt,ot].indexOf(Xe)!==-1)for(var it=[we,xe].indexOf(Qe)!==-1?Ee:ge;it>=0;){var gt=I[it];if(gt===Ne)return vt;if([nt,Re].indexOf(gt)!==-1)it--;else break}if(Yt===Qe&&[Yt,nn,xt,Ct].indexOf(Xe)!==-1||[nn,xt].indexOf(Qe)!==-1&&[nn,zn].indexOf(Xe)!==-1||[zn,Ct].indexOf(Qe)!==-1&&Xe===zn||yr.indexOf(Qe)!==-1&&[ke,ot].indexOf(Xe)!==-1||yr.indexOf(Xe)!==-1&&Qe===rt||Mn.indexOf(Qe)!==-1&&Mn.indexOf(Xe)!==-1||Qe===Re&&Mn.indexOf(Xe)!==-1||Mn.concat(Ne).indexOf(Qe)!==-1&&Xe===De&&Yr.indexOf(T[Pe])===-1||Mn.concat(Ne).indexOf(Xe)!==-1&&Qe===xe)return vt;if(Qe===ur&&Xe===ur){for(var Gt=D[ge],Lt=1;Gt>0&&(Gt--,I[Gt]===ur);)Lt++;if(Lt%2!==0)return vt}return Qe===Ut&&Xe===$t?vt:It},je=function(T,I){I||(I={lineBreak:"normal",wordBreak:"normal"});var D=Dn(T,I.lineBreak),Q=D[0],le=D[1],ge=D[2];(I.wordBreak==="break-all"||I.wordBreak==="break-word")&&(le=le.map(function(Pe){return[Ne,Et,Mt].indexOf(Pe)!==-1?Tt:Pe}));var Ee=I.wordBreak==="keep-all"?ge.map(function(Pe,Qe){return Pe&&T[Qe]>=19968&&T[Qe]<=40959}):void 0;return[Q,le,Ee]},wt=function(){function T(I,D,Q,le){this.codePoints=I,this.required=D===mt,this.start=Q,this.end=le}return T.prototype.slice=function(){return d.apply(void 0,this.codePoints.slice(this.start,this.end))},T}(),Pt=function(T,I){var D=c(T),Q=je(D,I),le=Q[0],ge=Q[1],Ee=Q[2],Pe=D.length,Qe=0,Ge=0;return{next:function(){if(Ge>=Pe)return{done:!0,value:null};for(var Xe=vt;Ge<Pe&&(Xe=Ht(D,ge,le,++Ge,Ee))===vt;);if(Xe!==vt||Ge===Pe){var it=new wt(D,Xe,Qe,Ge);return Qe=Ge,{value:it,done:!1}}return{done:!0,value:null}}}},bn=1,oi=2,hr=4,Hr=8,io=10,wr=47,Qo=92,qa=9,ga=32,BA=34,Xa=61,Jr=35,ic=36,Wl=37,ma=39,KA=40,VA=41,go=95,ci=45,pr=33,Po=60,ql=62,Xl=64,nA=91,Of=93,Tf=61,Yl=123,zA=63,oc=125,Ms=124,zg=126,Ya=128,Jl=65533,ks=42,va=43,oo=44,Gg=58,yh=59,pn=46,Wg=0,qg=8,ya=11,bh=14,wh=31,Ac=127,Lo=-1,Bh=48,Ch=97,xh=101,Uf=102,Zl=117,js=122,Sh=65,Ks=69,ac=70,sc=85,Eh=90,Ei=function(T){return T>=Bh&&T<=57},Fh=function(T){return T>=55296&&T<=57343},Ja=function(T){return Ei(T)||T>=Sh&&T<=ac||T>=Ch&&T<=Uf},ba=function(T){return T>=Ch&&T<=js},Za=function(T){return T>=Sh&&T<=Eh},Xg=function(T){return ba(T)||Za(T)},Vs=function(T){return T>=Ya},Do=function(T){return T===io||T===qa||T===ga},zs=function(T){return Xg(T)||Vs(T)||T===go},Gs=function(T){return zs(T)||Ei(T)||T===ci},Yg=function(T){return T>=Wg&&T<=qg||T===ya||T>=bh&&T<=wh||T===Ac},rA=function(T,I){return T!==Qo?!1:I!==io},lc=function(T,I,D){return T===ci?zs(I)||rA(I,D):zs(T)?!0:!!(T===Qo&&rA(T,I))},eu=function(T,I,D){return T===va||T===ci?Ei(I)?!0:I===pn&&Ei(D):Ei(T===pn?I:T)},Qf=function(T){var I=0,D=1;(T[I]===va||T[I]===ci)&&(T[I]===ci&&(D=-1),I++);for(var Q=[];Ei(T[I]);)Q.push(T[I++]);var le=Q.length?parseInt(d.apply(void 0,Q),10):0;T[I]===pn&&I++;for(var ge=[];Ei(T[I]);)ge.push(T[I++]);var Ee=ge.length,Pe=Ee?parseInt(d.apply(void 0,ge),10):0;(T[I]===Ks||T[I]===xh)&&I++;var Qe=1;(T[I]===va||T[I]===ci)&&(T[I]===ci&&(Qe=-1),I++);for(var Ge=[];Ei(T[I]);)Ge.push(T[I++]);var Xe=Ge.length?parseInt(d.apply(void 0,Ge),10):0;return D*(le+Pe*Math.pow(10,-Ee))*Math.pow(10,Qe*Xe)},Ih={type:2},uc={type:3},Pf={type:4},Lf={type:13},_h={type:8},Jg={type:21},cc={type:9},tu={type:10},Df={type:11},Ws={type:12},Rf={type:14},ee={type:23},Ce={type:1},$e={type:25},Ke={type:24},tt={type:26},pt={type:27},_t={type:28},kt={type:29},rn={type:31},Cn={type:32},xn=function(){function T(){this._value=[]}return T.prototype.write=function(I){this._value=this._value.concat(c(I))},T.prototype.read=function(){for(var I=[],D=this.consumeToken();D!==Cn;)I.push(D),D=this.consumeToken();return I},T.prototype.consumeToken=function(){var I=this.consumeCodePoint();switch(I){case BA:return this.consumeStringToken(BA);case Jr:var D=this.peekCodePoint(0),Q=this.peekCodePoint(1),le=this.peekCodePoint(2);if(Gs(D)||rA(Q,le)){var ge=lc(D,Q,le)?oi:bn,Ee=this.consumeName();return{type:5,value:Ee,flags:ge}}break;case ic:if(this.peekCodePoint(0)===Xa)return this.consumeCodePoint(),Lf;break;case ma:return this.consumeStringToken(ma);case KA:return Ih;case VA:return uc;case ks:if(this.peekCodePoint(0)===Xa)return this.consumeCodePoint(),Rf;break;case va:if(eu(I,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(I),this.consumeNumericToken();break;case oo:return Pf;case ci:var Pe=I,Qe=this.peekCodePoint(0),Ge=this.peekCodePoint(1);if(eu(Pe,Qe,Ge))return this.reconsumeCodePoint(I),this.consumeNumericToken();if(lc(Pe,Qe,Ge))return this.reconsumeCodePoint(I),this.consumeIdentLikeToken();if(Qe===ci&&Ge===ql)return this.consumeCodePoint(),this.consumeCodePoint(),Ke;break;case pn:if(eu(I,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(I),this.consumeNumericToken();break;case wr:if(this.peekCodePoint(0)===ks)for(this.consumeCodePoint();;){var Xe=this.consumeCodePoint();if(Xe===ks&&(Xe=this.consumeCodePoint(),Xe===wr))return this.consumeToken();if(Xe===Lo)return this.consumeToken()}break;case Gg:return tt;case yh:return pt;case Po:if(this.peekCodePoint(0)===pr&&this.peekCodePoint(1)===ci&&this.peekCodePoint(2)===ci)return this.consumeCodePoint(),this.consumeCodePoint(),$e;break;case Xl:var it=this.peekCodePoint(0),gt=this.peekCodePoint(1),Gt=this.peekCodePoint(2);if(lc(it,gt,Gt)){var Ee=this.consumeName();return{type:7,value:Ee}}break;case nA:return _t;case Qo:if(rA(I,this.peekCodePoint(0)))return this.reconsumeCodePoint(I),this.consumeIdentLikeToken();break;case Of:return kt;case Tf:if(this.peekCodePoint(0)===Xa)return this.consumeCodePoint(),_h;break;case Yl:return Df;case oc:return Ws;case Zl:case sc:var Lt=this.peekCodePoint(0),Nt=this.peekCodePoint(1);return Lt===va&&(Ja(Nt)||Nt===zA)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(I),this.consumeIdentLikeToken();case Ms:if(this.peekCodePoint(0)===Xa)return this.consumeCodePoint(),cc;if(this.peekCodePoint(0)===Ms)return this.consumeCodePoint(),Jg;break;case zg:if(this.peekCodePoint(0)===Xa)return this.consumeCodePoint(),tu;break;case Lo:return Cn}return Do(I)?(this.consumeWhiteSpace(),rn):Ei(I)?(this.reconsumeCodePoint(I),this.consumeNumericToken()):zs(I)?(this.reconsumeCodePoint(I),this.consumeIdentLikeToken()):{type:6,value:d(I)}},T.prototype.consumeCodePoint=function(){var I=this._value.shift();return typeof I>"u"?-1:I},T.prototype.reconsumeCodePoint=function(I){this._value.unshift(I)},T.prototype.peekCodePoint=function(I){return I>=this._value.length?-1:this._value[I]},T.prototype.consumeUnicodeRangeToken=function(){for(var I=[],D=this.consumeCodePoint();Ja(D)&&I.length<6;)I.push(D),D=this.consumeCodePoint();for(var Q=!1;D===zA&&I.length<6;)I.push(D),D=this.consumeCodePoint(),Q=!0;if(Q){var le=parseInt(d.apply(void 0,I.map(function(Qe){return Qe===zA?Bh:Qe})),16),ge=parseInt(d.apply(void 0,I.map(function(Qe){return Qe===zA?ac:Qe})),16);return{type:30,start:le,end:ge}}var Ee=parseInt(d.apply(void 0,I),16);if(this.peekCodePoint(0)===ci&&Ja(this.peekCodePoint(1))){this.consumeCodePoint(),D=this.consumeCodePoint();for(var Pe=[];Ja(D)&&Pe.length<6;)Pe.push(D),D=this.consumeCodePoint();var ge=parseInt(d.apply(void 0,Pe),16);return{type:30,start:Ee,end:ge}}else return{type:30,start:Ee,end:Ee}},T.prototype.consumeIdentLikeToken=function(){var I=this.consumeName();return I.toLowerCase()==="url"&&this.peekCodePoint(0)===KA?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===KA?(this.consumeCodePoint(),{type:19,value:I}):{type:20,value:I}},T.prototype.consumeUrlToken=function(){var I=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Lo)return{type:22,value:""};var D=this.peekCodePoint(0);if(D===ma||D===BA){var Q=this.consumeStringToken(this.consumeCodePoint());return Q.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Lo||this.peekCodePoint(0)===VA)?(this.consumeCodePoint(),{type:22,value:Q.value}):(this.consumeBadUrlRemnants(),ee)}for(;;){var le=this.consumeCodePoint();if(le===Lo||le===VA)return{type:22,value:d.apply(void 0,I)};if(Do(le))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Lo||this.peekCodePoint(0)===VA?(this.consumeCodePoint(),{type:22,value:d.apply(void 0,I)}):(this.consumeBadUrlRemnants(),ee);if(le===BA||le===ma||le===KA||Yg(le))return this.consumeBadUrlRemnants(),ee;if(le===Qo)if(rA(le,this.peekCodePoint(0)))I.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ee;else I.push(le)}},T.prototype.consumeWhiteSpace=function(){for(;Do(this.peekCodePoint(0));)this.consumeCodePoint()},T.prototype.consumeBadUrlRemnants=function(){for(;;){var I=this.consumeCodePoint();if(I===VA||I===Lo)return;rA(I,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},T.prototype.consumeStringSlice=function(I){for(var D=5e4,Q="";I>0;){var le=Math.min(D,I);Q+=d.apply(void 0,this._value.splice(0,le)),I-=le}return this._value.shift(),Q},T.prototype.consumeStringToken=function(I){var D="",Q=0;do{var le=this._value[Q];if(le===Lo||le===void 0||le===I)return D+=this.consumeStringSlice(Q),{type:0,value:D};if(le===io)return this._value.splice(0,Q),Ce;if(le===Qo){var ge=this._value[Q+1];ge!==Lo&&ge!==void 0&&(ge===io?(D+=this.consumeStringSlice(Q),Q=-1,this._value.shift()):rA(le,ge)&&(D+=this.consumeStringSlice(Q),D+=d(this.consumeEscapedCodePoint()),Q=-1))}Q++}while(!0)},T.prototype.consumeNumber=function(){var I=[],D=hr,Q=this.peekCodePoint(0);for((Q===va||Q===ci)&&I.push(this.consumeCodePoint());Ei(this.peekCodePoint(0));)I.push(this.consumeCodePoint());Q=this.peekCodePoint(0);var le=this.peekCodePoint(1);if(Q===pn&&Ei(le))for(I.push(this.consumeCodePoint(),this.consumeCodePoint()),D=Hr;Ei(this.peekCodePoint(0));)I.push(this.consumeCodePoint());Q=this.peekCodePoint(0),le=this.peekCodePoint(1);var ge=this.peekCodePoint(2);if((Q===Ks||Q===xh)&&((le===va||le===ci)&&Ei(ge)||Ei(le)))for(I.push(this.consumeCodePoint(),this.consumeCodePoint()),D=Hr;Ei(this.peekCodePoint(0));)I.push(this.consumeCodePoint());return[Qf(I),D]},T.prototype.consumeNumericToken=function(){var I=this.consumeNumber(),D=I[0],Q=I[1],le=this.peekCodePoint(0),ge=this.peekCodePoint(1),Ee=this.peekCodePoint(2);if(lc(le,ge,Ee)){var Pe=this.consumeName();return{type:15,number:D,flags:Q,unit:Pe}}return le===Wl?(this.consumeCodePoint(),{type:16,number:D,flags:Q}):{type:17,number:D,flags:Q}},T.prototype.consumeEscapedCodePoint=function(){var I=this.consumeCodePoint();if(Ja(I)){for(var D=d(I);Ja(this.peekCodePoint(0))&&D.length<6;)D+=d(this.consumeCodePoint());Do(this.peekCodePoint(0))&&this.consumeCodePoint();var Q=parseInt(D,16);return Q===0||Fh(Q)||Q>1114111?Jl:Q}return I===Lo?Jl:I},T.prototype.consumeName=function(){for(var I="";;){var D=this.consumeCodePoint();if(Gs(D))I+=d(D);else if(rA(D,this.peekCodePoint(0)))I+=d(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(D),I}},T}(),Wn=function(){function T(I){this._tokens=I}return T.create=function(I){var D=new xn;return D.write(I),new T(D.read())},T.parseValue=function(I){return T.create(I).parseComponentValue()},T.parseValues=function(I){return T.create(I).parseComponentValues()},T.prototype.parseComponentValue=function(){for(var I=this.consumeToken();I.type===31;)I=this.consumeToken();if(I.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(I);var D=this.consumeComponentValue();do I=this.consumeToken();while(I.type===31);if(I.type===32)return D;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},T.prototype.parseComponentValues=function(){for(var I=[];;){var D=this.consumeComponentValue();if(D.type===32)return I;I.push(D),I.push()}},T.prototype.consumeComponentValue=function(){var I=this.consumeToken();switch(I.type){case 11:case 28:case 2:return this.consumeSimpleBlock(I.type);case 19:return this.consumeFunction(I)}return I},T.prototype.consumeSimpleBlock=function(I){for(var D={type:I,values:[]},Q=this.consumeToken();;){if(Q.type===32||Oh(Q,I))return D;this.reconsumeToken(Q),D.values.push(this.consumeComponentValue()),Q=this.consumeToken()}},T.prototype.consumeFunction=function(I){for(var D={name:I.value,values:[],type:18};;){var Q=this.consumeToken();if(Q.type===32||Q.type===3)return D;this.reconsumeToken(Q),D.values.push(this.consumeComponentValue())}},T.prototype.consumeToken=function(){var I=this._tokens.shift();return typeof I>"u"?Cn:I},T.prototype.reconsumeToken=function(I){this._tokens.unshift(I)},T}(),Or=function(T){return T.type===15},Tr=function(T){return T.type===17},wn=function(T){return T.type===20},Ao=function(T){return T.type===0},yi=function(T,I){return wn(T)&&T.value===I},CA=function(T){return T.type!==31},Hi=function(T){return T.type!==31&&T.type!==4},Fi=function(T){var I=[],D=[];return T.forEach(function(Q){if(Q.type===4){if(D.length===0)throw new Error("Error parsing function args, zero tokens for arg");I.push(D),D=[];return}Q.type!==31&&D.push(Q)}),D.length&&I.push(D),I},Oh=function(T,I){return I===11&&T.type===12||I===28&&T.type===29?!0:I===2&&T.type===3},xA=function(T){return T.type===17||T.type===15},Vr=function(T){return T.type===16||xA(T)},nu=function(T){return T.length>1?[T[0],T[1]]:[T[0]]},fi={type:17,number:0,flags:hr},ru={type:16,number:50,flags:hr},iA={type:16,number:100,flags:hr},di=function(T,I,D){var Q=T[0],le=T[1];return[ar(Q,I),ar(typeof le<"u"?le:Q,D)]},ar=function(T,I){if(T.type===16)return T.number/100*I;if(Or(T))switch(T.unit){case"rem":case"em":return 16*T.number;case"px":default:return T.number}return T.number},iu="deg",ou="grad",fc="rad",mo="turn",dc={name:"angle",parse:function(T,I){if(I.type===15)switch(I.unit){case iu:return Math.PI*I.number/180;case ou:return Math.PI/200*I.number;case fc:return I.number;case mo:return Math.PI*2*I.number}throw new Error("Unsupported angle type")}},hc=function(T){return T.type===15&&(T.unit===iu||T.unit===ou||T.unit===fc||T.unit===mo)},$f=function(T){var I=T.filter(wn).map(function(D){return D.value}).join(" ");switch(I){case"to bottom right":case"to right bottom":case"left top":case"top left":return[fi,fi];case"to top":case"bottom":return Zr(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[fi,iA];case"to right":case"left":return Zr(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[iA,iA];case"to bottom":case"top":return Zr(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[iA,fi];case"to left":case"right":return Zr(270)}return 0},Zr=function(T){return Math.PI*T/180},oA={name:"color",parse:function(T,I){if(I.type===18){var D=ts[I.name];if(typeof D>"u")throw new Error('Attempting to parse an unsupported color function "'+I.name+'"');return D(T,I.values)}if(I.type===5){if(I.value.length===3){var Q=I.value.substring(0,1),le=I.value.substring(1,2),ge=I.value.substring(2,3);return vo(parseInt(Q+Q,16),parseInt(le+le,16),parseInt(ge+ge,16),1)}if(I.value.length===4){var Q=I.value.substring(0,1),le=I.value.substring(1,2),ge=I.value.substring(2,3),Ee=I.value.substring(3,4);return vo(parseInt(Q+Q,16),parseInt(le+le,16),parseInt(ge+ge,16),parseInt(Ee+Ee,16)/255)}if(I.value.length===6){var Q=I.value.substring(0,2),le=I.value.substring(2,4),ge=I.value.substring(4,6);return vo(parseInt(Q,16),parseInt(le,16),parseInt(ge,16),1)}if(I.value.length===8){var Q=I.value.substring(0,2),le=I.value.substring(2,4),ge=I.value.substring(4,6),Ee=I.value.substring(6,8);return vo(parseInt(Q,16),parseInt(le,16),parseInt(ge,16),parseInt(Ee,16)/255)}}if(I.type===20){var Pe=Ro[I.value.toUpperCase()];if(typeof Pe<"u")return Pe}return Ro.TRANSPARENT}},GA=function(T){return(255&T)===0},hi=function(T){var I=255&T,D=255&T>>8,Q=255&T>>16,le=255&T>>24;return I<255?"rgba("+le+","+Q+","+D+","+I/255+")":"rgb("+le+","+Q+","+D+")"},vo=function(T,I,D,Q){return(T<<24|I<<16|D<<8|Math.round(Q*255)<<0)>>>0},qs=function(T,I){if(T.type===17)return T.number;if(T.type===16){var D=I===3?1:255;return I===3?T.number/100*D:Math.round(T.number/100*D)}return 0},yo=function(T,I){var D=I.filter(Hi);if(D.length===3){var Q=D.map(qs),le=Q[0],ge=Q[1],Ee=Q[2];return vo(le,ge,Ee,1)}if(D.length===4){var Pe=D.map(qs),le=Pe[0],ge=Pe[1],Ee=Pe[2],Qe=Pe[3];return vo(le,ge,Ee,Qe)}return 0};function Xi(T,I,D){return D<0&&(D+=1),D>=1&&(D-=1),D<1/6?(I-T)*D*6+T:D<1/2?I:D<2/3?(I-T)*6*(2/3-D)+T:T}var es=function(T,I){var D=I.filter(Hi),Q=D[0],le=D[1],ge=D[2],Ee=D[3],Pe=(Q.type===17?Zr(Q.number):dc.parse(T,Q))/(Math.PI*2),Qe=Vr(le)?le.number/100:0,Ge=Vr(ge)?ge.number/100:0,Xe=typeof Ee<"u"&&Vr(Ee)?ar(Ee,1):1;if(Qe===0)return vo(Ge*255,Ge*255,Ge*255,1);var it=Ge<=.5?Ge*(Qe+1):Ge+Qe-Ge*Qe,gt=Ge*2-it,Gt=Xi(gt,it,Pe+1/3),Lt=Xi(gt,it,Pe),Nt=Xi(gt,it,Pe-1/3);return vo(Gt*255,Lt*255,Nt*255,Xe)},ts={hsl:es,hsla:es,rgb:yo,rgba:yo},AA=function(T,I){return oA.parse(T,Wn.create(I).parseComponentValue())},Ro={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},ns={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(T,I){return I.map(function(D){if(wn(D))switch(D.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},pi={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Xs=function(T,I){var D=oA.parse(T,I[0]),Q=I[1];return Q&&Vr(Q)?{color:D,stop:Q}:{color:D,stop:null}},ao=function(T,I){var D=T[0],Q=T[T.length-1];D.stop===null&&(D.stop=fi),Q.stop===null&&(Q.stop=iA);for(var le=[],ge=0,Ee=0;Ee<T.length;Ee++){var Pe=T[Ee].stop;if(Pe!==null){var Qe=ar(Pe,I);Qe>ge?le.push(Qe):le.push(ge),ge=Qe}else le.push(null)}for(var Ge=null,Ee=0;Ee<le.length;Ee++){var Xe=le[Ee];if(Xe===null)Ge===null&&(Ge=Ee);else if(Ge!==null){for(var it=Ee-Ge,gt=le[Ge-1],Gt=(Xe-gt)/(it+1),Lt=1;Lt<=it;Lt++)le[Ge+Lt-1]=Gt*Lt;Ge=null}}return T.map(function(Nt,Nn){var en=Nt.color;return{color:en,stop:Math.max(Math.min(1,le[Nn]/I),0)}})},SA=function(T,I,D){var Q=I/2,le=D/2,ge=ar(T[0],I)-Q,Ee=le-ar(T[1],D);return(Math.atan2(Ee,ge)+Math.PI*2)%(Math.PI*2)},pc=function(T,I,D){var Q=typeof T=="number"?T:SA(T,I,D),le=Math.abs(I*Math.sin(Q))+Math.abs(D*Math.cos(Q)),ge=I/2,Ee=D/2,Pe=le/2,Qe=Math.sin(Q-Math.PI/2)*Pe,Ge=Math.cos(Q-Math.PI/2)*Pe;return[le,ge-Ge,ge+Ge,Ee-Qe,Ee+Qe]},$o=function(T,I){return Math.sqrt(T*T+I*I)},gc=function(T,I,D,Q,le){var ge=[[0,0],[0,I],[T,0],[T,I]];return ge.reduce(function(Ee,Pe){var Qe=Pe[0],Ge=Pe[1],Xe=$o(D-Qe,Q-Ge);return(le?Xe<Ee.optimumDistance:Xe>Ee.optimumDistance)?{optimumCorner:Pe,optimumDistance:Xe}:Ee},{optimumDistance:le?1/0:-1/0,optimumCorner:null}).optimumCorner},Au=function(T,I,D,Q,le){var ge=0,Ee=0;switch(T.size){case 0:T.shape===0?ge=Ee=Math.min(Math.abs(I),Math.abs(I-Q),Math.abs(D),Math.abs(D-le)):T.shape===1&&(ge=Math.min(Math.abs(I),Math.abs(I-Q)),Ee=Math.min(Math.abs(D),Math.abs(D-le)));break;case 2:if(T.shape===0)ge=Ee=Math.min($o(I,D),$o(I,D-le),$o(I-Q,D),$o(I-Q,D-le));else if(T.shape===1){var Pe=Math.min(Math.abs(D),Math.abs(D-le))/Math.min(Math.abs(I),Math.abs(I-Q)),Qe=gc(Q,le,I,D,!0),Ge=Qe[0],Xe=Qe[1];ge=$o(Ge-I,(Xe-D)/Pe),Ee=Pe*ge}break;case 1:T.shape===0?ge=Ee=Math.max(Math.abs(I),Math.abs(I-Q),Math.abs(D),Math.abs(D-le)):T.shape===1&&(ge=Math.max(Math.abs(I),Math.abs(I-Q)),Ee=Math.max(Math.abs(D),Math.abs(D-le)));break;case 3:if(T.shape===0)ge=Ee=Math.max($o(I,D),$o(I,D-le),$o(I-Q,D),$o(I-Q,D-le));else if(T.shape===1){var Pe=Math.max(Math.abs(D),Math.abs(D-le))/Math.max(Math.abs(I),Math.abs(I-Q)),it=gc(Q,le,I,D,!1),Ge=it[0],Xe=it[1];ge=$o(Ge-I,(Xe-D)/Pe),Ee=Pe*ge}break}return Array.isArray(T.size)&&(ge=ar(T.size[0],Q),Ee=T.size.length===2?ar(T.size[1],le):ge),[ge,Ee]},au=function(T,I){var D=Zr(180),Q=[];return Fi(I).forEach(function(le,ge){if(ge===0){var Ee=le[0];if(Ee.type===20&&Ee.value==="to"){D=$f(le);return}else if(hc(Ee)){D=dc.parse(T,Ee);return}}var Pe=Xs(T,le);Q.push(Pe)}),{angle:D,stops:Q,type:1}},WA=function(T,I){var D=Zr(180),Q=[];return Fi(I).forEach(function(le,ge){if(ge===0){var Ee=le[0];if(Ee.type===20&&["top","left","right","bottom"].indexOf(Ee.value)!==-1){D=$f(le);return}else if(hc(Ee)){D=(dc.parse(T,Ee)+Zr(270))%Zr(360);return}}var Pe=Xs(T,le);Q.push(Pe)}),{angle:D,stops:Q,type:1}},su=function(T,I){var D=Zr(180),Q=[],le=1,ge=0,Ee=3,Pe=[];return Fi(I).forEach(function(Qe,Ge){var Xe=Qe[0];if(Ge===0){if(wn(Xe)&&Xe.value==="linear"){le=1;return}else if(wn(Xe)&&Xe.value==="radial"){le=2;return}}if(Xe.type===18){if(Xe.name==="from"){var it=oA.parse(T,Xe.values[0]);Q.push({stop:fi,color:it})}else if(Xe.name==="to"){var it=oA.parse(T,Xe.values[0]);Q.push({stop:iA,color:it})}else if(Xe.name==="color-stop"){var gt=Xe.values.filter(Hi);if(gt.length===2){var it=oA.parse(T,gt[1]),Gt=gt[0];Tr(Gt)&&Q.push({stop:{type:16,number:Gt.number*100,flags:Gt.flags},color:it})}}}}),le===1?{angle:(D+Zr(180))%Zr(360),stops:Q,type:le}:{size:Ee,shape:ge,stops:Q,position:Pe,type:le}},lu="closest-side",Ys="farthest-side",rs="closest-corner",mc="farthest-corner",aA="circle",sA="ellipse",Ur="cover",Qr="contain",gi=function(T,I){var D=0,Q=3,le=[],ge=[];return Fi(I).forEach(function(Ee,Pe){var Qe=!0;if(Pe===0){var Ge=!1;Qe=Ee.reduce(function(it,gt){if(Ge)if(wn(gt))switch(gt.value){case"center":return ge.push(ru),it;case"top":case"left":return ge.push(fi),it;case"right":case"bottom":return ge.push(iA),it}else(Vr(gt)||xA(gt))&&ge.push(gt);else if(wn(gt))switch(gt.value){case aA:return D=0,!1;case sA:return D=1,!1;case"at":return Ge=!0,!1;case lu:return Q=0,!1;case Ur:case Ys:return Q=1,!1;case Qr:case rs:return Q=2,!1;case mc:return Q=3,!1}else if(xA(gt)||Vr(gt))return Array.isArray(Q)||(Q=[]),Q.push(gt),!1;return it},Qe)}if(Qe){var Xe=Xs(T,Ee);le.push(Xe)}}),{size:Q,shape:D,stops:le,position:ge,type:2}},Ai=function(T,I){var D=0,Q=3,le=[],ge=[];return Fi(I).forEach(function(Ee,Pe){var Qe=!0;if(Pe===0?Qe=Ee.reduce(function(Xe,it){if(wn(it))switch(it.value){case"center":return ge.push(ru),!1;case"top":case"left":return ge.push(fi),!1;case"right":case"bottom":return ge.push(iA),!1}else if(Vr(it)||xA(it))return ge.push(it),!1;return Xe},Qe):Pe===1&&(Qe=Ee.reduce(function(Xe,it){if(wn(it))switch(it.value){case aA:return D=0,!1;case sA:return D=1,!1;case Qr:case lu:return Q=0,!1;case Ys:return Q=1,!1;case rs:return Q=2,!1;case Ur:case mc:return Q=3,!1}else if(xA(it)||Vr(it))return Array.isArray(Q)||(Q=[]),Q.push(it),!1;return Xe},Qe)),Qe){var Ge=Xs(T,Ee);le.push(Ge)}}),{size:Q,shape:D,stops:le,position:ge,type:2}},is=function(T){return T.type===1},Nf=function(T){return T.type===2},Js={name:"image",parse:function(T,I){if(I.type===22){var D={url:I.value,type:0};return T.cache.addImage(I.value),D}if(I.type===18){var Q=Uh[I.name];if(typeof Q>"u")throw new Error('Attempting to parse an unsupported image function "'+I.name+'"');return Q(T,I.values)}throw new Error("Unsupported image type "+I.type)}};function Th(T){return!(T.type===20&&T.value==="none")&&(T.type!==18||!!Uh[T.name])}var Uh={"linear-gradient":au,"-moz-linear-gradient":WA,"-ms-linear-gradient":WA,"-o-linear-gradient":WA,"-webkit-linear-gradient":WA,"radial-gradient":gi,"-moz-radial-gradient":Ai,"-ms-radial-gradient":Ai,"-o-radial-gradient":Ai,"-webkit-radial-gradient":Ai,"-webkit-gradient":su},Qh={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(T,I){if(I.length===0)return[];var D=I[0];return D.type===20&&D.value==="none"?[]:I.filter(function(Q){return Hi(Q)&&Th(Q)}).map(function(Q){return Js.parse(T,Q)})}},lA={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(T,I){return I.map(function(D){if(wn(D))switch(D.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},EA={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(T,I){return Fi(I).map(function(D){return D.filter(Vr)}).map(nu)}},Ph={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(T,I){return Fi(I).map(function(D){return D.filter(wn).map(function(Q){return Q.value}).join(" ")}).map(Lh)}},Lh=function(T){switch(T){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},uu;(function(T){T.AUTO="auto",T.CONTAIN="contain",T.COVER="cover"})(uu||(uu={}));var Dh={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(T,I){return Fi(I).map(function(D){return D.filter(Rh)})}},Rh=function(T){return wn(T)||Vr(T)},vc=function(T){return{name:"border-"+T+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},e1=vc("top"),Zg=vc("right"),e0=vc("bottom"),$h=vc("left"),yc=function(T){return{name:"border-radius-"+T,initialValue:"0 0",prefix:!1,type:1,parse:function(I,D){return nu(D.filter(Vr))}}},JC=yc("top-left"),ZC=yc("top-right"),t1=yc("bottom-right"),e2=yc("bottom-left"),Nh=function(T){return{name:"border-"+T+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(I,D){switch(D){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},t2=Nh("top"),n2=Nh("right"),r2=Nh("bottom"),t0=Nh("left"),bc=function(T){return{name:"border-"+T+"-width",initialValue:"0",type:0,prefix:!1,parse:function(I,D){return Or(D)?D.number:0}}},Hf=bc("top"),i2=bc("right"),o2=bc("bottom"),n1=bc("left"),A2={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},a2={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(T,I){switch(I){case"rtl":return 1;case"ltr":default:return 0}}},s2={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(T,I){return I.filter(wn).reduce(function(D,Q){return D|l2(Q.value)},0)}},l2=function(T){switch(T){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Zs={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(T,I){switch(I){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},qA={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(T,I){return I.type===20&&I.value==="normal"?0:I.type===17||I.type===15?I.number:0}},FA;(function(T){T.NORMAL="normal",T.STRICT="strict"})(FA||(FA={}));var u2={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(T,I){switch(I){case"strict":return FA.STRICT;case"normal":default:return FA.NORMAL}}},r1={name:"line-height",initialValue:"normal",prefix:!1,type:4},os=function(T,I){return wn(T)&&T.value==="normal"?1.2*I:T.type===17?I*T.number:Vr(T)?ar(T,I):I},IA={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(T,I){return I.type===20&&I.value==="none"?null:Js.parse(T,I)}},c2={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(T,I){switch(I){case"inside":return 0;case"outside":default:return 1}}},n0={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(T,I){switch(I){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Mf=function(T){return{name:"margin-"+T,initialValue:"0",prefix:!1,type:4}},i1=Mf("top"),o1=Mf("right"),A1=Mf("bottom"),f2=Mf("left"),Hh={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(T,I){return I.filter(wn).map(function(D){switch(D.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Mh={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(T,I){switch(I){case"break-word":return"break-word";case"normal":default:return"normal"}}},el=function(T){return{name:"padding-"+T,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},r0=el("top"),d2=el("right"),a1=el("bottom"),h2=el("left"),p2={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(T,I){switch(I){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},g2={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(T,I){switch(I){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},m2={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(T,I){return I.length===1&&yi(I[0],"none")?[]:Fi(I).map(function(D){for(var Q={color:Ro.TRANSPARENT,offsetX:fi,offsetY:fi,blur:fi},le=0,ge=0;ge<D.length;ge++){var Ee=D[ge];xA(Ee)?(le===0?Q.offsetX=Ee:le===1?Q.offsetY=Ee:Q.blur=Ee,le++):Q.color=oA.parse(T,Ee)}return Q})}},v2={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(T,I){switch(I){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},y2={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(T,I){if(I.type===20&&I.value==="none")return null;if(I.type===18){var D=b2[I.name];if(typeof D>"u")throw new Error('Attempting to parse an unsupported transform function "'+I.name+'"');return D(I.values)}return null}},s1=function(T){var I=T.filter(function(D){return D.type===17}).map(function(D){return D.number});return I.length===6?I:null},kh=function(T){var I=T.filter(function(Qe){return Qe.type===17}).map(function(Qe){return Qe.number}),D=I[0],Q=I[1];I[2],I[3];var le=I[4],ge=I[5];I[6],I[7],I[8],I[9],I[10],I[11];var Ee=I[12],Pe=I[13];return I[14],I[15],I.length===16?[D,Q,le,ge,Ee,Pe]:null},b2={matrix:s1,matrix3d:kh},l1={type:16,number:50,flags:hr},u1=[l1,l1],S={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(T,I){var D=I.filter(Vr);return D.length!==2?u1:[D[0],D[1]]}},j={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(T,I){switch(I){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},oe;(function(T){T.NORMAL="normal",T.BREAK_ALL="break-all",T.KEEP_ALL="keep-all"})(oe||(oe={}));for(var he={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(T,I){switch(I){case"break-all":return oe.BREAK_ALL;case"keep-all":return oe.KEEP_ALL;case"normal":default:return oe.NORMAL}}},Be={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(T,I){if(I.type===20)return{auto:!0,order:0};if(Tr(I))return{auto:!1,order:I.number};throw new Error("Invalid z-index number parsed")}},Se={name:"time",parse:function(T,I){if(I.type===15)switch(I.unit.toLowerCase()){case"s":return 1e3*I.number;case"ms":return I.number}throw new Error("Unsupported time type")}},Fe={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(T,I){return Tr(I)?I.number:1}},Ie={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Oe={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(T,I){return I.filter(wn).map(function(D){switch(D.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(D){return D!==0})}},Le={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(T,I){var D=[],Q=[];return I.forEach(function(le){switch(le.type){case 20:case 0:D.push(le.value);break;case 17:D.push(le.number.toString());break;case 4:Q.push(D.join(" ")),D.length=0;break}}),D.length&&Q.push(D.join(" ")),Q.map(function(le){return le.indexOf(" ")===-1?le:"'"+le+"'"})}},Ve={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},At={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(T,I){if(Tr(I))return I.number;if(wn(I))switch(I.value){case"bold":return 700;case"normal":default:return 400}return 400}},at={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(T,I){return I.filter(wn).map(function(D){return D.value})}},Ye={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(T,I){switch(I){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},ft=function(T,I){return(T&I)!==0},ct={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(T,I){if(I.length===0)return[];var D=I[0];return D.type===20&&D.value==="none"?[]:I}},ze={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(T,I){if(I.length===0)return null;var D=I[0];if(D.type===20&&D.value==="none")return null;for(var Q=[],le=I.filter(CA),ge=0;ge<le.length;ge++){var Ee=le[ge],Pe=le[ge+1];if(Ee.type===20){var Qe=Pe&&Tr(Pe)?Pe.number:1;Q.push({counter:Ee.value,increment:Qe})}}return Q}},We={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(T,I){if(I.length===0)return[];for(var D=[],Q=I.filter(CA),le=0;le<Q.length;le++){var ge=Q[le],Ee=Q[le+1];if(wn(ge)&&ge.value!=="none"){var Pe=Ee&&Tr(Ee)?Ee.number:0;D.push({counter:ge.value,reset:Pe})}}return D}},yt={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(T,I){return I.filter(Or).map(function(D){return Se.parse(T,D)})}},St={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(T,I){if(I.length===0)return null;var D=I[0];if(D.type===20&&D.value==="none")return null;var Q=[],le=I.filter(Ao);if(le.length%2!==0)return null;for(var ge=0;ge<le.length;ge+=2){var Ee=le[ge].value,Pe=le[ge+1].value;Q.push({open:Ee,close:Pe})}return Q}},bt=function(T,I,D){if(!T)return"";var Q=T[Math.min(I,T.length-1)];return Q?D?Q.open:Q.close:""},jt={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(T,I){return I.length===1&&yi(I[0],"none")?[]:Fi(I).map(function(D){for(var Q={color:255,offsetX:fi,offsetY:fi,blur:fi,spread:fi,inset:!1},le=0,ge=0;ge<D.length;ge++){var Ee=D[ge];yi(Ee,"inset")?Q.inset=!0:xA(Ee)?(le===0?Q.offsetX=Ee:le===1?Q.offsetY=Ee:le===2?Q.blur=Ee:Q.spread=Ee,le++):Q.color=oA.parse(T,Ee)}return Q})}},Dt={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(T,I){var D=[0,1,2],Q=[];return I.filter(wn).forEach(function(le){switch(le.value){case"stroke":Q.push(1);break;case"fill":Q.push(0);break;case"markers":Q.push(2);break}}),D.forEach(function(le){Q.indexOf(le)===-1&&Q.push(le)}),Q}},sn={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Rt={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(T,I){return Or(I)?I.number:0}},sr=function(){function T(I,D){var Q,le;this.animationDuration=Ft(I,yt,D.animationDuration),this.backgroundClip=Ft(I,ns,D.backgroundClip),this.backgroundColor=Ft(I,pi,D.backgroundColor),this.backgroundImage=Ft(I,Qh,D.backgroundImage),this.backgroundOrigin=Ft(I,lA,D.backgroundOrigin),this.backgroundPosition=Ft(I,EA,D.backgroundPosition),this.backgroundRepeat=Ft(I,Ph,D.backgroundRepeat),this.backgroundSize=Ft(I,Dh,D.backgroundSize),this.borderTopColor=Ft(I,e1,D.borderTopColor),this.borderRightColor=Ft(I,Zg,D.borderRightColor),this.borderBottomColor=Ft(I,e0,D.borderBottomColor),this.borderLeftColor=Ft(I,$h,D.borderLeftColor),this.borderTopLeftRadius=Ft(I,JC,D.borderTopLeftRadius),this.borderTopRightRadius=Ft(I,ZC,D.borderTopRightRadius),this.borderBottomRightRadius=Ft(I,t1,D.borderBottomRightRadius),this.borderBottomLeftRadius=Ft(I,e2,D.borderBottomLeftRadius),this.borderTopStyle=Ft(I,t2,D.borderTopStyle),this.borderRightStyle=Ft(I,n2,D.borderRightStyle),this.borderBottomStyle=Ft(I,r2,D.borderBottomStyle),this.borderLeftStyle=Ft(I,t0,D.borderLeftStyle),this.borderTopWidth=Ft(I,Hf,D.borderTopWidth),this.borderRightWidth=Ft(I,i2,D.borderRightWidth),this.borderBottomWidth=Ft(I,o2,D.borderBottomWidth),this.borderLeftWidth=Ft(I,n1,D.borderLeftWidth),this.boxShadow=Ft(I,jt,D.boxShadow),this.color=Ft(I,A2,D.color),this.direction=Ft(I,a2,D.direction),this.display=Ft(I,s2,D.display),this.float=Ft(I,Zs,D.cssFloat),this.fontFamily=Ft(I,Le,D.fontFamily),this.fontSize=Ft(I,Ve,D.fontSize),this.fontStyle=Ft(I,Ye,D.fontStyle),this.fontVariant=Ft(I,at,D.fontVariant),this.fontWeight=Ft(I,At,D.fontWeight),this.letterSpacing=Ft(I,qA,D.letterSpacing),this.lineBreak=Ft(I,u2,D.lineBreak),this.lineHeight=Ft(I,r1,D.lineHeight),this.listStyleImage=Ft(I,IA,D.listStyleImage),this.listStylePosition=Ft(I,c2,D.listStylePosition),this.listStyleType=Ft(I,n0,D.listStyleType),this.marginTop=Ft(I,i1,D.marginTop),this.marginRight=Ft(I,o1,D.marginRight),this.marginBottom=Ft(I,A1,D.marginBottom),this.marginLeft=Ft(I,f2,D.marginLeft),this.opacity=Ft(I,Fe,D.opacity);var ge=Ft(I,Hh,D.overflow);this.overflowX=ge[0],this.overflowY=ge[ge.length>1?1:0],this.overflowWrap=Ft(I,Mh,D.overflowWrap),this.paddingTop=Ft(I,r0,D.paddingTop),this.paddingRight=Ft(I,d2,D.paddingRight),this.paddingBottom=Ft(I,a1,D.paddingBottom),this.paddingLeft=Ft(I,h2,D.paddingLeft),this.paintOrder=Ft(I,Dt,D.paintOrder),this.position=Ft(I,g2,D.position),this.textAlign=Ft(I,p2,D.textAlign),this.textDecorationColor=Ft(I,Ie,(Q=D.textDecorationColor)!==null&&Q!==void 0?Q:D.color),this.textDecorationLine=Ft(I,Oe,(le=D.textDecorationLine)!==null&&le!==void 0?le:D.textDecoration),this.textShadow=Ft(I,m2,D.textShadow),this.textTransform=Ft(I,v2,D.textTransform),this.transform=Ft(I,y2,D.transform),this.transformOrigin=Ft(I,S,D.transformOrigin),this.visibility=Ft(I,j,D.visibility),this.webkitTextStrokeColor=Ft(I,sn,D.webkitTextStrokeColor),this.webkitTextStrokeWidth=Ft(I,Rt,D.webkitTextStrokeWidth),this.wordBreak=Ft(I,he,D.wordBreak),this.zIndex=Ft(I,Be,D.zIndex)}return T.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},T.prototype.isTransparent=function(){return GA(this.backgroundColor)},T.prototype.isTransformed=function(){return this.transform!==null},T.prototype.isPositioned=function(){return this.position!==0},T.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},T.prototype.isFloating=function(){return this.float!==0},T.prototype.isInlineLevel=function(){return ft(this.display,4)||ft(this.display,33554432)||ft(this.display,268435456)||ft(this.display,536870912)||ft(this.display,67108864)||ft(this.display,134217728)},T}(),gr=function(){function T(I,D){this.content=Ft(I,ct,D.content),this.quotes=Ft(I,St,D.quotes)}return T}(),Xn=function(){function T(I,D){this.counterIncrement=Ft(I,ze,D.counterIncrement),this.counterReset=Ft(I,We,D.counterReset)}return T}(),Ft=function(T,I,D){var Q=new xn,le=D!==null&&typeof D<"u"?D.toString():I.initialValue;Q.write(le);var ge=new Wn(Q.read());switch(I.type){case 2:var Ee=ge.parseComponentValue();return I.parse(T,wn(Ee)?Ee.value:I.initialValue);case 0:return I.parse(T,ge.parseComponentValue());case 1:return I.parse(T,ge.parseComponentValues());case 4:return ge.parseComponentValue();case 3:switch(I.format){case"angle":return dc.parse(T,ge.parseComponentValue());case"color":return oA.parse(T,ge.parseComponentValue());case"image":return Js.parse(T,ge.parseComponentValue());case"length":var Pe=ge.parseComponentValue();return xA(Pe)?Pe:fi;case"length-percentage":var Qe=ge.parseComponentValue();return Vr(Qe)?Qe:fi;case"time":return Se.parse(T,ge.parseComponentValue())}break}},Pr="data-html2canvas-debug",Br=function(T){var I=T.getAttribute(Pr);switch(I){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Fn=function(T,I){var D=Br(T);return D===1||I===D},mr=function(){function T(I,D){if(this.context=I,this.textNodes=[],this.elements=[],this.flags=0,Fn(D,3))debugger;this.styles=new sr(I,window.getComputedStyle(D,null)),I2(D)&&(this.styles.animationDuration.some(function(Q){return Q>0})&&(D.style.animationDuration="0s"),this.styles.transform!==null&&(D.style.transform="none")),this.bounds=u(this.context,D),Fn(D,4)&&(this.flags|=16)}return T}(),No="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",mi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Mi=typeof Uint8Array>"u"?[]:new Uint8Array(256),tr=0;tr<mi.length;tr++)Mi[mi.charCodeAt(tr)]=tr;for(var uA=function(T){var I=T.length*.75,D=T.length,Q,le=0,ge,Ee,Pe,Qe;T[T.length-1]==="="&&(I--,T[T.length-2]==="="&&I--);var Ge=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(I):new Array(I),Xe=Array.isArray(Ge)?Ge:new Uint8Array(Ge);for(Q=0;Q<D;Q+=4)ge=Mi[T.charCodeAt(Q)],Ee=Mi[T.charCodeAt(Q+1)],Pe=Mi[T.charCodeAt(Q+2)],Qe=Mi[T.charCodeAt(Q+3)],Xe[le++]=ge<<2|Ee>>4,Xe[le++]=(Ee&15)<<4|Pe>>2,Xe[le++]=(Pe&3)<<6|Qe&63;return Ge},cA=function(T){for(var I=T.length,D=[],Q=0;Q<I;Q+=2)D.push(T[Q+1]<<8|T[Q]);return D},ki=function(T){for(var I=T.length,D=[],Q=0;Q<I;Q+=4)D.push(T[Q+3]<<24|T[Q+2]<<16|T[Q+1]<<8|T[Q]);return D},ei=5,Yi=11,Ho=2,wa=Yi-ei,Ii=65536>>ei,As=1<<ei,as=As-1,wc=1024>>ei,tl=Ii+wc,ai=tl,i0=32,c1=ai+i0,f1=65536>>Yi,jh=1<<wa,kf=jh-1,jf=function(T,I,D){return T.slice?T.slice(I,D):new Uint16Array(Array.prototype.slice.call(T,I,D))},XA=function(T,I,D){return T.slice?T.slice(I,D):new Uint32Array(Array.prototype.slice.call(T,I,D))},Bc=function(T,I){var D=uA(T),Q=Array.isArray(D)?ki(D):new Uint32Array(D),le=Array.isArray(D)?cA(D):new Uint16Array(D),ge=24,Ee=jf(le,ge/2,Q[4]/2),Pe=Q[5]===2?jf(le,(ge+Q[4])/2):XA(Q,Math.ceil((ge+Q[4])/4));return new Cc(Q[0],Q[1],Q[2],Q[3],Ee,Pe)},Cc=function(){function T(I,D,Q,le,ge,Ee){this.initialValue=I,this.errorValue=D,this.highStart=Q,this.highValueIndex=le,this.index=ge,this.data=Ee}return T.prototype.get=function(I){var D;if(I>=0){if(I<55296||I>56319&&I<=65535)return D=this.index[I>>ei],D=(D<<Ho)+(I&as),this.data[D];if(I<=65535)return D=this.index[Ii+(I-55296>>ei)],D=(D<<Ho)+(I&as),this.data[D];if(I<this.highStart)return D=c1-f1+(I>>Yi),D=this.index[D],D+=I>>ei&kf,D=this.index[D],D=(D<<Ho)+(I&as),this.data[D];if(I<=1114111)return this.data[this.highValueIndex]}return this.errorValue},T}(),o0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Kh=typeof Uint8Array>"u"?[]:new Uint8Array(256),Kf=0;Kf<o0.length;Kf++)Kh[o0.charCodeAt(Kf)]=Kf;var Vh=1,Vf=2,xc=3,Sc=4,d1=5,w2=7,zh=8,Ba=9,A0=10,h1=11,p1=12,a0=13,zf=14,Gh=15,g1=function(T){for(var I=[],D=0,Q=T.length;D<Q;){var le=T.charCodeAt(D++);if(le>=55296&&le<=56319&&D<Q){var ge=T.charCodeAt(D++);(ge&64512)===56320?I.push(((le&1023)<<10)+(ge&1023)+65536):(I.push(le),D--)}else I.push(le)}return I},Wh=function(){for(var T=[],I=0;I<arguments.length;I++)T[I]=arguments[I];if(String.fromCodePoint)return String.fromCodePoint.apply(String,T);var D=T.length;if(!D)return"";for(var Q=[],le=-1,ge="";++le<D;){var Ee=T[le];Ee<=65535?Q.push(Ee):(Ee-=65536,Q.push((Ee>>10)+55296,Ee%1024+56320)),(le+1===D||Q.length>16384)&&(ge+=String.fromCharCode.apply(String,Q),Q.length=0)}return ge},s0=Bc(No),so="×",qh="÷",B2=function(T){return s0.get(T)},Xh=function(T,I,D){var Q=D-2,le=I[Q],ge=I[D-1],Ee=I[D];if(ge===Vf&&Ee===xc)return so;if(ge===Vf||ge===xc||ge===Sc||Ee===Vf||Ee===xc||Ee===Sc)return qh;if(ge===zh&&[zh,Ba,h1,p1].indexOf(Ee)!==-1||(ge===h1||ge===Ba)&&(Ee===Ba||Ee===A0)||(ge===p1||ge===A0)&&Ee===A0||Ee===a0||Ee===d1||Ee===w2||ge===Vh)return so;if(ge===a0&&Ee===zf){for(;le===d1;)le=I[--Q];if(le===zf)return so}if(ge===Gh&&Ee===Gh){for(var Pe=0;le===Gh;)Pe++,le=I[--Q];if(Pe%2===0)return so}return qh},m1=function(T){var I=g1(T),D=I.length,Q=0,le=0,ge=I.map(B2);return{next:function(){if(Q>=D)return{done:!0,value:null};for(var Ee=so;Q<D&&(Ee=Xh(I,ge,++Q))===so;);if(Ee!==so||Q===D){var Pe=Wh.apply(null,I.slice(le,Q));return le=Q,{value:Pe,done:!1}}return{done:!0,value:null}}}},l0=function(T){for(var I=m1(T),D=[],Q;!(Q=I.next()).done;)Q.value&&D.push(Q.value.slice());return D},nl=function(T){var I=123;if(T.createRange){var D=T.createRange();if(D.getBoundingClientRect){var Q=T.createElement("boundtest");Q.style.height=I+"px",Q.style.display="block",T.body.appendChild(Q),D.selectNode(Q);var le=D.getBoundingClientRect(),ge=Math.round(le.height);if(T.body.removeChild(Q),ge===I)return!0}}return!1},v1=function(T){var I=T.createElement("boundtest");I.style.width="50px",I.style.display="block",I.style.fontSize="12px",I.style.letterSpacing="0px",I.style.wordSpacing="0px",T.body.appendChild(I);var D=T.createRange();I.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var Q=I.firstChild,le=c(Q.data).map(function(Qe){return d(Qe)}),ge=0,Ee={},Pe=le.every(function(Qe,Ge){D.setStart(Q,ge),D.setEnd(Q,ge+Qe.length);var Xe=D.getBoundingClientRect();ge+=Qe.length;var it=Xe.x>Ee.x||Xe.y>Ee.y;return Ee=Xe,Ge===0?!0:it});return T.body.removeChild(I),Pe},y1=function(){return typeof new Image().crossOrigin<"u"},C2=function(){return typeof new XMLHttpRequest().responseType=="string"},b1=function(T){var I=new Image,D=T.createElement("canvas"),Q=D.getContext("2d");if(!Q)return!1;I.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{Q.drawImage(I,0,0),D.toDataURL()}catch{return!1}return!0},cu=function(T){return T[0]===0&&T[1]===255&&T[2]===0&&T[3]===255},x2=function(T){var I=T.createElement("canvas"),D=100;I.width=D,I.height=D;var Q=I.getContext("2d");if(!Q)return Promise.reject(!1);Q.fillStyle="rgb(0, 255, 0)",Q.fillRect(0,0,D,D);var le=new Image,ge=I.toDataURL();le.src=ge;var Ee=Yh(D,D,0,0,le);return Q.fillStyle="red",Q.fillRect(0,0,D,D),w1(Ee).then(function(Pe){Q.drawImage(Pe,0,0);var Qe=Q.getImageData(0,0,D,D).data;Q.fillStyle="red",Q.fillRect(0,0,D,D);var Ge=T.createElement("div");return Ge.style.backgroundImage="url("+ge+")",Ge.style.height=D+"px",cu(Qe)?w1(Yh(D,D,0,0,Ge)):Promise.reject(!1)}).then(function(Pe){return Q.drawImage(Pe,0,0),cu(Q.getImageData(0,0,D,D).data)}).catch(function(){return!1})},Yh=function(T,I,D,Q,le){var ge="http://www.w3.org/2000/svg",Ee=document.createElementNS(ge,"svg"),Pe=document.createElementNS(ge,"foreignObject");return Ee.setAttributeNS(null,"width",T.toString()),Ee.setAttributeNS(null,"height",I.toString()),Pe.setAttributeNS(null,"width","100%"),Pe.setAttributeNS(null,"height","100%"),Pe.setAttributeNS(null,"x",D.toString()),Pe.setAttributeNS(null,"y",Q.toString()),Pe.setAttributeNS(null,"externalResourcesRequired","true"),Ee.appendChild(Pe),Pe.appendChild(le),Ee},w1=function(T){return new Promise(function(I,D){var Q=new Image;Q.onload=function(){return I(Q)},Q.onerror=D,Q.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(T))})},ji={get SUPPORT_RANGE_BOUNDS(){var T=nl(document);return Object.defineProperty(ji,"SUPPORT_RANGE_BOUNDS",{value:T}),T},get SUPPORT_WORD_BREAKING(){var T=ji.SUPPORT_RANGE_BOUNDS&&v1(document);return Object.defineProperty(ji,"SUPPORT_WORD_BREAKING",{value:T}),T},get SUPPORT_SVG_DRAWING(){var T=b1(document);return Object.defineProperty(ji,"SUPPORT_SVG_DRAWING",{value:T}),T},get SUPPORT_FOREIGNOBJECT_DRAWING(){var T=typeof Array.from=="function"&&typeof window.fetch=="function"?x2(document):Promise.resolve(!1);return Object.defineProperty(ji,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:T}),T},get SUPPORT_CORS_IMAGES(){var T=y1();return Object.defineProperty(ji,"SUPPORT_CORS_IMAGES",{value:T}),T},get SUPPORT_RESPONSE_TYPE(){var T=C2();return Object.defineProperty(ji,"SUPPORT_RESPONSE_TYPE",{value:T}),T},get SUPPORT_CORS_XHR(){var T="withCredentials"in new XMLHttpRequest;return Object.defineProperty(ji,"SUPPORT_CORS_XHR",{value:T}),T},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var T=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(ji,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:T}),T}},Gf=function(){function T(I,D){this.text=I,this.bounds=D}return T}(),Wf=function(T,I,D,Q){var le=il(I,D),ge=[],Ee=0;return le.forEach(function(Pe){if(D.textDecorationLine.length||Pe.trim().length>0)if(ji.SUPPORT_RANGE_BOUNDS){var Qe=qf(Q,Ee,Pe.length).getClientRects();if(Qe.length>1){var Ge=YA(Pe),Xe=0;Ge.forEach(function(gt){ge.push(new Gf(gt,s.fromDOMRectList(T,qf(Q,Xe+Ee,gt.length).getClientRects()))),Xe+=gt.length})}else ge.push(new Gf(Pe,s.fromDOMRectList(T,Qe)))}else{var it=Q.splitText(Pe.length);ge.push(new Gf(Pe,u0(T,Q))),Q=it}else ji.SUPPORT_RANGE_BOUNDS||(Q=Q.splitText(Pe.length));Ee+=Pe.length}),ge},u0=function(T,I){var D=I.ownerDocument;if(D){var Q=D.createElement("html2canvaswrapper");Q.appendChild(I.cloneNode(!0));var le=I.parentNode;if(le){le.replaceChild(Q,I);var ge=u(T,Q);return Q.firstChild&&le.replaceChild(Q.firstChild,Q),ge}}return s.EMPTY},qf=function(T,I,D){var Q=T.ownerDocument;if(!Q)throw new Error("Node has no owner document");var le=Q.createRange();return le.setStart(T,I),le.setEnd(T,I+D),le},YA=function(T){if(ji.SUPPORT_NATIVE_TEXT_SEGMENTATION){var I=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(I.segment(T)).map(function(D){return D.segment})}return l0(T)},rl=function(T,I){if(ji.SUPPORT_NATIVE_TEXT_SEGMENTATION){var D=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(D.segment(T)).map(function(Q){return Q.segment})}return c0(T,I)},il=function(T,I){return I.letterSpacing!==0?YA(T):rl(T,I)},Jh=[32,160,4961,65792,65793,4153,4241],c0=function(T,I){for(var D=Pt(T,{lineBreak:I.lineBreak,wordBreak:I.overflowWrap==="break-word"?"break-word":I.wordBreak}),Q=[],le,ge=function(){if(le.value){var Ee=le.value.slice(),Pe=c(Ee),Qe="";Pe.forEach(function(Ge){Jh.indexOf(Ge)===-1?Qe+=d(Ge):(Qe.length&&Q.push(Qe),Q.push(d(Ge)),Qe="")}),Qe.length&&Q.push(Qe)}};!(le=D.next()).done;)ge();return Q},B1=function(){function T(I,D,Q){this.text=S2(D.data,Q.textTransform),this.textBounds=Wf(I,this.text,Q,D)}return T}(),S2=function(T,I){switch(I){case 1:return T.toLowerCase();case 3:return T.replace(f0,d0);case 2:return T.toUpperCase();default:return T}},f0=/(^|\s|:|-|\(|\))([a-z])/g,d0=function(T,I,D){return T.length>0?I+D.toUpperCase():T},ZU=function(T){r(I,T);function I(D,Q){var le=T.call(this,D,Q)||this;return le.src=Q.currentSrc||Q.src,le.intrinsicWidth=Q.naturalWidth,le.intrinsicHeight=Q.naturalHeight,le.context.cache.addImage(le.src),le}return I}(mr),eQ=function(T){r(I,T);function I(D,Q){var le=T.call(this,D,Q)||this;return le.canvas=Q,le.intrinsicWidth=Q.width,le.intrinsicHeight=Q.height,le}return I}(mr),tQ=function(T){r(I,T);function I(D,Q){var le=T.call(this,D,Q)||this,ge=new XMLSerializer,Ee=u(D,Q);return Q.setAttribute("width",Ee.width+"px"),Q.setAttribute("height",Ee.height+"px"),le.svg="data:image/svg+xml,"+encodeURIComponent(ge.serializeToString(Q)),le.intrinsicWidth=Q.width.baseVal.value,le.intrinsicHeight=Q.height.baseVal.value,le.context.cache.addImage(le.svg),le}return I}(mr),nQ=function(T){r(I,T);function I(D,Q){var le=T.call(this,D,Q)||this;return le.value=Q.value,le}return I}(mr),E2=function(T){r(I,T);function I(D,Q){var le=T.call(this,D,Q)||this;return le.start=Q.start,le.reversed=typeof Q.reversed=="boolean"&&Q.reversed===!0,le}return I}(mr),Yte=[{type:15,flags:0,unit:"px",number:3}],Jte=[{type:16,flags:0,number:50}],Zte=function(T){return T.width>T.height?new s(T.left+(T.width-T.height)/2,T.top,T.height,T.height):T.width<T.height?new s(T.left,T.top+(T.height-T.width)/2,T.width,T.width):T},ene=function(T){var I=T.type===tne?new Array(T.value.length+1).join("•"):T.value;return I.length===0?T.placeholder||"":I},C1="checkbox",x1="radio",tne="password",rQ=707406591,F2=function(T){r(I,T);function I(D,Q){var le=T.call(this,D,Q)||this;switch(le.type=Q.type.toLowerCase(),le.checked=Q.checked,le.value=ene(Q),(le.type===C1||le.type===x1)&&(le.styles.backgroundColor=3739148031,le.styles.borderTopColor=le.styles.borderRightColor=le.styles.borderBottomColor=le.styles.borderLeftColor=2779096575,le.styles.borderTopWidth=le.styles.borderRightWidth=le.styles.borderBottomWidth=le.styles.borderLeftWidth=1,le.styles.borderTopStyle=le.styles.borderRightStyle=le.styles.borderBottomStyle=le.styles.borderLeftStyle=1,le.styles.backgroundClip=[0],le.styles.backgroundOrigin=[0],le.bounds=Zte(le.bounds)),le.type){case C1:le.styles.borderTopRightRadius=le.styles.borderTopLeftRadius=le.styles.borderBottomRightRadius=le.styles.borderBottomLeftRadius=Yte;break;case x1:le.styles.borderTopRightRadius=le.styles.borderTopLeftRadius=le.styles.borderBottomRightRadius=le.styles.borderBottomLeftRadius=Jte;break}return le}return I}(mr),iQ=function(T){r(I,T);function I(D,Q){var le=T.call(this,D,Q)||this,ge=Q.options[Q.selectedIndex||0];return le.value=ge&&ge.text||"",le}return I}(mr),oQ=function(T){r(I,T);function I(D,Q){var le=T.call(this,D,Q)||this;return le.value=Q.value,le}return I}(mr),AQ=function(T){r(I,T);function I(D,Q){var le=T.call(this,D,Q)||this;le.src=Q.src,le.width=parseInt(Q.width,10)||0,le.height=parseInt(Q.height,10)||0,le.backgroundColor=le.styles.backgroundColor;try{if(Q.contentWindow&&Q.contentWindow.document&&Q.contentWindow.document.documentElement){le.tree=sQ(D,Q.contentWindow.document.documentElement);var ge=Q.contentWindow.document.documentElement?AA(D,getComputedStyle(Q.contentWindow.document.documentElement).backgroundColor):Ro.TRANSPARENT,Ee=Q.contentWindow.document.body?AA(D,getComputedStyle(Q.contentWindow.document.body).backgroundColor):Ro.TRANSPARENT;le.backgroundColor=GA(ge)?GA(Ee)?le.styles.backgroundColor:Ee:ge}}catch{}return le}return I}(mr),nne=["OL","UL","MENU"],S1=function(T,I,D,Q){for(var le=I.firstChild,ge=void 0;le;le=ge)if(ge=le.nextSibling,lQ(le)&&le.data.trim().length>0)D.textNodes.push(new B1(T,le,D.styles));else if(Zh(le))if(pQ(le)&&le.assignedNodes)le.assignedNodes().forEach(function(Pe){return S1(T,Pe,D,Q)});else{var Ee=aQ(T,le);Ee.styles.isVisible()&&(rne(le,Ee,Q)?Ee.flags|=4:ine(Ee.styles)&&(Ee.flags|=2),nne.indexOf(le.tagName)!==-1&&(Ee.flags|=8),D.elements.push(Ee),le.slot,le.shadowRoot?S1(T,le.shadowRoot,Ee,Q):!F1(le)&&!uQ(le)&&!I1(le)&&S1(T,le,Ee,Q))}},aQ=function(T,I){return O2(I)?new ZU(T,I):cQ(I)?new eQ(T,I):uQ(I)?new tQ(T,I):one(I)?new nQ(T,I):Ane(I)?new E2(T,I):ane(I)?new F2(T,I):I1(I)?new iQ(T,I):F1(I)?new oQ(T,I):dQ(I)?new AQ(T,I):new mr(T,I)},sQ=function(T,I){var D=aQ(T,I);return D.flags|=4,S1(T,I,D,D),D},rne=function(T,I,D){return I.styles.isPositionedWithZIndex()||I.styles.opacity<1||I.styles.isTransformed()||_2(T)&&D.styles.isTransparent()},ine=function(T){return T.isPositioned()||T.isFloating()},lQ=function(T){return T.nodeType===Node.TEXT_NODE},Zh=function(T){return T.nodeType===Node.ELEMENT_NODE},I2=function(T){return Zh(T)&&typeof T.style<"u"&&!E1(T)},E1=function(T){return typeof T.className=="object"},one=function(T){return T.tagName==="LI"},Ane=function(T){return T.tagName==="OL"},ane=function(T){return T.tagName==="INPUT"},sne=function(T){return T.tagName==="HTML"},uQ=function(T){return T.tagName==="svg"},_2=function(T){return T.tagName==="BODY"},cQ=function(T){return T.tagName==="CANVAS"},fQ=function(T){return T.tagName==="VIDEO"},O2=function(T){return T.tagName==="IMG"},dQ=function(T){return T.tagName==="IFRAME"},hQ=function(T){return T.tagName==="STYLE"},lne=function(T){return T.tagName==="SCRIPT"},F1=function(T){return T.tagName==="TEXTAREA"},I1=function(T){return T.tagName==="SELECT"},pQ=function(T){return T.tagName==="SLOT"},gQ=function(T){return T.tagName.indexOf("-")>0},une=function(){function T(){this.counters={}}return T.prototype.getCounterValue=function(I){var D=this.counters[I];return D&&D.length?D[D.length-1]:1},T.prototype.getCounterValues=function(I){var D=this.counters[I];return D||[]},T.prototype.pop=function(I){var D=this;I.forEach(function(Q){return D.counters[Q].pop()})},T.prototype.parse=function(I){var D=this,Q=I.counterIncrement,le=I.counterReset,ge=!0;Q!==null&&Q.forEach(function(Pe){var Qe=D.counters[Pe.counter];Qe&&Pe.increment!==0&&(ge=!1,Qe.length||Qe.push(1),Qe[Math.max(0,Qe.length-1)]+=Pe.increment)});var Ee=[];return ge&&le.forEach(function(Pe){var Qe=D.counters[Pe.counter];Ee.push(Pe.counter),Qe||(Qe=D.counters[Pe.counter]=[]),Qe.push(Pe.reset)}),Ee},T}(),mQ={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},vQ={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},cne={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},fne={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},ep=function(T,I,D,Q,le,ge){return T<I||T>D?p0(T,le,ge.length>0):Q.integers.reduce(function(Ee,Pe,Qe){for(;T>=Pe;)T-=Pe,Ee+=Q.values[Qe];return Ee},"")+ge},yQ=function(T,I,D,Q){var le="";do D||T--,le=Q(T)+le,T/=I;while(T*I>=I);return le},_i=function(T,I,D,Q,le){var ge=D-I+1;return(T<0?"-":"")+(yQ(Math.abs(T),ge,Q,function(Ee){return d(Math.floor(Ee%ge)+I)})+le)},Xf=function(T,I,D){D===void 0&&(D=". ");var Q=I.length;return yQ(Math.abs(T),Q,!1,function(le){return I[Math.floor(le%Q)]})+D},tp=1,Ec=2,Fc=4,h0=8,fu=function(T,I,D,Q,le,ge){if(T<-9999||T>9999)return p0(T,4,le.length>0);var Ee=Math.abs(T),Pe=le;if(Ee===0)return I[0]+Pe;for(var Qe=0;Ee>0&&Qe<=4;Qe++){var Ge=Ee%10;Ge===0&&ft(ge,tp)&&Pe!==""?Pe=I[Ge]+Pe:Ge>1||Ge===1&&Qe===0||Ge===1&&Qe===1&&ft(ge,Ec)||Ge===1&&Qe===1&&ft(ge,Fc)&&T>100||Ge===1&&Qe>1&&ft(ge,h0)?Pe=I[Ge]+(Qe>0?D[Qe-1]:"")+Pe:Ge===1&&Qe>0&&(Pe=D[Qe-1]+Pe),Ee=Math.floor(Ee/10)}return(T<0?Q:"")+Pe},bQ="十百千萬",wQ="拾佰仟萬",BQ="マイナス",T2="마이너스",p0=function(T,I,D){var Q=D?". ":"",le=D?"、":"",ge=D?", ":"",Ee=D?" ":"";switch(I){case 0:return"•"+Ee;case 1:return"◦"+Ee;case 2:return"◾"+Ee;case 5:var Pe=_i(T,48,57,!0,Q);return Pe.length<4?"0"+Pe:Pe;case 4:return Xf(T,"〇一二三四五六七八九",le);case 6:return ep(T,1,3999,mQ,3,Q).toLowerCase();case 7:return ep(T,1,3999,mQ,3,Q);case 8:return _i(T,945,969,!1,Q);case 9:return _i(T,97,122,!1,Q);case 10:return _i(T,65,90,!1,Q);case 11:return _i(T,1632,1641,!0,Q);case 12:case 49:return ep(T,1,9999,vQ,3,Q);case 35:return ep(T,1,9999,vQ,3,Q).toLowerCase();case 13:return _i(T,2534,2543,!0,Q);case 14:case 30:return _i(T,6112,6121,!0,Q);case 15:return Xf(T,"子丑寅卯辰巳午未申酉戌亥",le);case 16:return Xf(T,"甲乙丙丁戊己庚辛壬癸",le);case 17:case 48:return fu(T,"零一二三四五六七八九",bQ,"負",le,Ec|Fc|h0);case 47:return fu(T,"零壹貳參肆伍陸柒捌玖",wQ,"負",le,tp|Ec|Fc|h0);case 42:return fu(T,"零一二三四五六七八九",bQ,"负",le,Ec|Fc|h0);case 41:return fu(T,"零壹贰叁肆伍陆柒捌玖",wQ,"负",le,tp|Ec|Fc|h0);case 26:return fu(T,"〇一二三四五六七八九","十百千万",BQ,le,0);case 25:return fu(T,"零壱弐参四伍六七八九","拾百千万",BQ,le,tp|Ec|Fc);case 31:return fu(T,"영일이삼사오육칠팔구","십백천만",T2,ge,tp|Ec|Fc);case 33:return fu(T,"零一二三四五六七八九","十百千萬",T2,ge,0);case 32:return fu(T,"零壹貳參四五六七八九","拾百千",T2,ge,tp|Ec|Fc);case 18:return _i(T,2406,2415,!0,Q);case 20:return ep(T,1,19999,fne,3,Q);case 21:return _i(T,2790,2799,!0,Q);case 22:return _i(T,2662,2671,!0,Q);case 22:return ep(T,1,10999,cne,3,Q);case 23:return Xf(T,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Xf(T,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return _i(T,3302,3311,!0,Q);case 28:return Xf(T,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",le);case 29:return Xf(T,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",le);case 34:return _i(T,3792,3801,!0,Q);case 37:return _i(T,6160,6169,!0,Q);case 38:return _i(T,4160,4169,!0,Q);case 39:return _i(T,2918,2927,!0,Q);case 40:return _i(T,1776,1785,!0,Q);case 43:return _i(T,3046,3055,!0,Q);case 44:return _i(T,3174,3183,!0,Q);case 45:return _i(T,3664,3673,!0,Q);case 46:return _i(T,3872,3881,!0,Q);case 3:default:return _i(T,48,57,!0,Q)}},CQ="data-html2canvas-ignore",xQ=function(){function T(I,D,Q){if(this.context=I,this.options=Q,this.scrolledElements=[],this.referenceElement=D,this.counters=new une,this.quoteDepth=0,!D.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(D.ownerDocument.documentElement,!1)}return T.prototype.toIFrame=function(I,D){var Q=this,le=dne(I,D);if(!le.contentWindow)return Promise.reject("Unable to find iframe window");var ge=I.defaultView.pageXOffset,Ee=I.defaultView.pageYOffset,Pe=le.contentWindow,Qe=Pe.document,Ge=gne(le).then(function(){return o(Q,void 0,void 0,function(){var Xe,it;return A(this,function(gt){switch(gt.label){case 0:return this.scrolledElements.forEach(bne),Pe&&(Pe.scrollTo(D.left,D.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Pe.scrollY!==D.top||Pe.scrollX!==D.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Pe.scrollX-D.left,Pe.scrollY-D.top,0,0))),Xe=this.options.onclone,it=this.clonedReferenceElement,typeof it>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Qe.fonts&&Qe.fonts.ready?[4,Qe.fonts.ready]:[3,2];case 1:gt.sent(),gt.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,pne(Qe)]:[3,4];case 3:gt.sent(),gt.label=4;case 4:return typeof Xe=="function"?[2,Promise.resolve().then(function(){return Xe(Qe,it)}).then(function(){return le})]:[2,le]}})})});return Qe.open(),Qe.write(vne(document.doctype)+"<html></html>"),yne(this.referenceElement.ownerDocument,ge,Ee),Qe.replaceChild(Qe.adoptNode(this.documentElement),Qe.documentElement),Qe.close(),Ge},T.prototype.createElementClone=function(I){if(Fn(I,2))debugger;if(cQ(I))return this.createCanvasClone(I);if(fQ(I))return this.createVideoClone(I);if(hQ(I))return this.createStyleClone(I);var D=I.cloneNode(!1);return O2(D)&&(O2(I)&&I.currentSrc&&I.currentSrc!==I.src&&(D.src=I.currentSrc,D.srcset=""),D.loading==="lazy"&&(D.loading="eager")),gQ(D)?this.createCustomElementClone(D):D},T.prototype.createCustomElementClone=function(I){var D=document.createElement("html2canvascustomelement");return U2(I.style,D),D},T.prototype.createStyleClone=function(I){try{var D=I.sheet;if(D&&D.cssRules){var Q=[].slice.call(D.cssRules,0).reduce(function(ge,Ee){return Ee&&typeof Ee.cssText=="string"?ge+Ee.cssText:ge},""),le=I.cloneNode(!1);return le.textContent=Q,le}}catch(ge){if(this.context.logger.error("Unable to access cssRules property",ge),ge.name!=="SecurityError")throw ge}return I.cloneNode(!1)},T.prototype.createCanvasClone=function(I){var D;if(this.options.inlineImages&&I.ownerDocument){var Q=I.ownerDocument.createElement("img");try{return Q.src=I.toDataURL(),Q}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",I)}}var le=I.cloneNode(!1);try{le.width=I.width,le.height=I.height;var ge=I.getContext("2d"),Ee=le.getContext("2d");if(Ee)if(!this.options.allowTaint&&ge)Ee.putImageData(ge.getImageData(0,0,I.width,I.height),0,0);else{var Pe=(D=I.getContext("webgl2"))!==null&&D!==void 0?D:I.getContext("webgl");if(Pe){var Qe=Pe.getContextAttributes();(Qe==null?void 0:Qe.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",I)}Ee.drawImage(I,0,0)}return le}catch{this.context.logger.info("Unable to clone canvas as it is tainted",I)}return le},T.prototype.createVideoClone=function(I){var D=I.ownerDocument.createElement("canvas");D.width=I.offsetWidth,D.height=I.offsetHeight;var Q=D.getContext("2d");try{return Q&&(Q.drawImage(I,0,0,D.width,D.height),this.options.allowTaint||Q.getImageData(0,0,D.width,D.height)),D}catch{this.context.logger.info("Unable to clone video as it is tainted",I)}var le=I.ownerDocument.createElement("canvas");return le.width=I.offsetWidth,le.height=I.offsetHeight,le},T.prototype.appendChildNode=function(I,D,Q){(!Zh(D)||!lne(D)&&!D.hasAttribute(CQ)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(D)))&&(!this.options.copyStyles||!Zh(D)||!hQ(D))&&I.appendChild(this.cloneNode(D,Q))},T.prototype.cloneChildNodes=function(I,D,Q){for(var le=this,ge=I.shadowRoot?I.shadowRoot.firstChild:I.firstChild;ge;ge=ge.nextSibling)if(Zh(ge)&&pQ(ge)&&typeof ge.assignedNodes=="function"){var Ee=ge.assignedNodes();Ee.length&&Ee.forEach(function(Pe){return le.appendChildNode(D,Pe,Q)})}else this.appendChildNode(D,ge,Q)},T.prototype.cloneNode=function(I,D){if(lQ(I))return document.createTextNode(I.data);if(!I.ownerDocument)return I.cloneNode(!1);var Q=I.ownerDocument.defaultView;if(Q&&Zh(I)&&(I2(I)||E1(I))){var le=this.createElementClone(I);le.style.transitionProperty="none";var ge=Q.getComputedStyle(I),Ee=Q.getComputedStyle(I,":before"),Pe=Q.getComputedStyle(I,":after");this.referenceElement===I&&I2(le)&&(this.clonedReferenceElement=le),_2(le)&&Cne(le);var Qe=this.counters.parse(new Xn(this.context,ge)),Ge=this.resolvePseudoContent(I,le,Ee,g0.BEFORE);gQ(I)&&(D=!0),fQ(I)||this.cloneChildNodes(I,le,D),Ge&&le.insertBefore(Ge,le.firstChild);var Xe=this.resolvePseudoContent(I,le,Pe,g0.AFTER);return Xe&&le.appendChild(Xe),this.counters.pop(Qe),(ge&&(this.options.copyStyles||E1(I))&&!dQ(I)||D)&&U2(ge,le),(I.scrollTop!==0||I.scrollLeft!==0)&&this.scrolledElements.push([le,I.scrollLeft,I.scrollTop]),(F1(I)||I1(I))&&(F1(le)||I1(le))&&(le.value=I.value),le}return I.cloneNode(!1)},T.prototype.resolvePseudoContent=function(I,D,Q,le){var ge=this;if(Q){var Ee=Q.content,Pe=D.ownerDocument;if(!(!Pe||!Ee||Ee==="none"||Ee==="-moz-alt-content"||Q.display==="none")){this.counters.parse(new Xn(this.context,Q));var Qe=new gr(this.context,Q),Ge=Pe.createElement("html2canvaspseudoelement");U2(Q,Ge),Qe.content.forEach(function(it){if(it.type===0)Ge.appendChild(Pe.createTextNode(it.value));else if(it.type===22){var gt=Pe.createElement("img");gt.src=it.value,gt.style.opacity="1",Ge.appendChild(gt)}else if(it.type===18){if(it.name==="attr"){var Gt=it.values.filter(wn);Gt.length&&Ge.appendChild(Pe.createTextNode(I.getAttribute(Gt[0].value)||""))}else if(it.name==="counter"){var Lt=it.values.filter(Hi),Nt=Lt[0],Nn=Lt[1];if(Nt&&wn(Nt)){var en=ge.counters.getCounterValue(Nt.value),Zt=Nn&&wn(Nn)?n0.parse(ge.context,Nn.value):3;Ge.appendChild(Pe.createTextNode(p0(en,Zt,!1)))}}else if(it.name==="counters"){var cr=it.values.filter(Hi),Nt=cr[0],kn=cr[1],Nn=cr[2];if(Nt&&wn(Nt)){var Sn=ge.counters.getCounterValues(Nt.value),zt=Nn&&wn(Nn)?n0.parse(ge.context,Nn.value):3,nr=kn&&kn.type===0?kn.value:"",rr=Sn.map(function(_A){return p0(_A,zt,!1)}).join(nr);Ge.appendChild(Pe.createTextNode(rr))}}}else if(it.type===20)switch(it.value){case"open-quote":Ge.appendChild(Pe.createTextNode(bt(Qe.quotes,ge.quoteDepth++,!0)));break;case"close-quote":Ge.appendChild(Pe.createTextNode(bt(Qe.quotes,--ge.quoteDepth,!1)));break;default:Ge.appendChild(Pe.createTextNode(it.value))}}),Ge.className=Q2+" "+P2;var Xe=le===g0.BEFORE?" "+Q2:" "+P2;return E1(D)?D.className.baseValue+=Xe:D.className+=Xe,Ge}}},T.destroy=function(I){return I.parentNode?(I.parentNode.removeChild(I),!0):!1},T}(),g0;(function(T){T[T.BEFORE=0]="BEFORE",T[T.AFTER=1]="AFTER"})(g0||(g0={}));var dne=function(T,I){var D=T.createElement("iframe");return D.className="html2canvas-container",D.style.visibility="hidden",D.style.position="fixed",D.style.left="-10000px",D.style.top="0px",D.style.border="0",D.width=I.width.toString(),D.height=I.height.toString(),D.scrolling="no",D.setAttribute(CQ,"true"),T.body.appendChild(D),D},hne=function(T){return new Promise(function(I){if(T.complete){I();return}if(!T.src){I();return}T.onload=I,T.onerror=I})},pne=function(T){return Promise.all([].slice.call(T.images,0).map(hne))},gne=function(T){return new Promise(function(I,D){var Q=T.contentWindow;if(!Q)return D("No window assigned for iframe");var le=Q.document;Q.onload=T.onload=function(){Q.onload=T.onload=null;var ge=setInterval(function(){le.body.childNodes.length>0&&le.readyState==="complete"&&(clearInterval(ge),I(T))},50)}})},mne=["all","d","content"],U2=function(T,I){for(var D=T.length-1;D>=0;D--){var Q=T.item(D);mne.indexOf(Q)===-1&&I.style.setProperty(Q,T.getPropertyValue(Q))}return I},vne=function(T){var I="";return T&&(I+="<!DOCTYPE ",T.name&&(I+=T.name),T.internalSubset&&(I+=T.internalSubset),T.publicId&&(I+='"'+T.publicId+'"'),T.systemId&&(I+='"'+T.systemId+'"'),I+=">"),I},yne=function(T,I,D){T&&T.defaultView&&(I!==T.defaultView.pageXOffset||D!==T.defaultView.pageYOffset)&&T.defaultView.scrollTo(I,D)},bne=function(T){var I=T[0],D=T[1],Q=T[2];I.scrollLeft=D,I.scrollTop=Q},wne=":before",Bne=":after",Q2="___html2canvas___pseudoelement_before",P2="___html2canvas___pseudoelement_after",SQ=`{
- content: "" !important;
- display: none !important;
- }`,Cne=function(T){xne(T,"."+Q2+wne+SQ+`
- .`+P2+Bne+SQ)},xne=function(T,I){var D=T.ownerDocument;if(D){var Q=D.createElement("style");Q.textContent=I,T.appendChild(Q)}},EQ=function(){function T(){}return T.getOrigin=function(I){var D=T._link;return D?(D.href=I,D.href=D.href,D.protocol+D.hostname+D.port):"about:blank"},T.isSameOrigin=function(I){return T.getOrigin(I)===T._origin},T.setContext=function(I){T._link=I.document.createElement("a"),T._origin=T.getOrigin(I.location.href)},T._origin="about:blank",T}(),Sne=function(){function T(I,D){this.context=I,this._options=D,this._cache={}}return T.prototype.addImage=function(I){var D=Promise.resolve();return this.has(I)||(D2(I)||_ne(I))&&(this._cache[I]=this.loadImage(I)).catch(function(){}),D},T.prototype.match=function(I){return this._cache[I]},T.prototype.loadImage=function(I){return o(this,void 0,void 0,function(){var D,Q,le,ge,Ee=this;return A(this,function(Pe){switch(Pe.label){case 0:return D=EQ.isSameOrigin(I),Q=!L2(I)&&this._options.useCORS===!0&&ji.SUPPORT_CORS_IMAGES&&!D,le=!L2(I)&&!D&&!D2(I)&&typeof this._options.proxy=="string"&&ji.SUPPORT_CORS_XHR&&!Q,!D&&this._options.allowTaint===!1&&!L2(I)&&!D2(I)&&!le&&!Q?[2]:(ge=I,le?[4,this.proxy(ge)]:[3,2]);case 1:ge=Pe.sent(),Pe.label=2;case 2:return this.context.logger.debug("Added image "+I.substring(0,256)),[4,new Promise(function(Qe,Ge){var Xe=new Image;Xe.onload=function(){return Qe(Xe)},Xe.onerror=Ge,(One(ge)||Q)&&(Xe.crossOrigin="anonymous"),Xe.src=ge,Xe.complete===!0&&setTimeout(function(){return Qe(Xe)},500),Ee._options.imageTimeout>0&&setTimeout(function(){return Ge("Timed out ("+Ee._options.imageTimeout+"ms) loading image")},Ee._options.imageTimeout)})];case 3:return[2,Pe.sent()]}})})},T.prototype.has=function(I){return typeof this._cache[I]<"u"},T.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},T.prototype.proxy=function(I){var D=this,Q=this._options.proxy;if(!Q)throw new Error("No proxy defined");var le=I.substring(0,256);return new Promise(function(ge,Ee){var Pe=ji.SUPPORT_RESPONSE_TYPE?"blob":"text",Qe=new XMLHttpRequest;Qe.onload=function(){if(Qe.status===200)if(Pe==="text")ge(Qe.response);else{var it=new FileReader;it.addEventListener("load",function(){return ge(it.result)},!1),it.addEventListener("error",function(gt){return Ee(gt)},!1),it.readAsDataURL(Qe.response)}else Ee("Failed to proxy resource "+le+" with status code "+Qe.status)},Qe.onerror=Ee;var Ge=Q.indexOf("?")>-1?"&":"?";if(Qe.open("GET",""+Q+Ge+"url="+encodeURIComponent(I)+"&responseType="+Pe),Pe!=="text"&&Qe instanceof XMLHttpRequest&&(Qe.responseType=Pe),D._options.imageTimeout){var Xe=D._options.imageTimeout;Qe.timeout=Xe,Qe.ontimeout=function(){return Ee("Timed out ("+Xe+"ms) proxying "+le)}}Qe.send()})},T}(),Ene=/^data:image\/svg\+xml/i,Fne=/^data:image\/.*;base64,/i,Ine=/^data:image\/.*/i,_ne=function(T){return ji.SUPPORT_SVG_DRAWING||!Tne(T)},L2=function(T){return Ine.test(T)},One=function(T){return Fne.test(T)},D2=function(T){return T.substr(0,4)==="blob"},Tne=function(T){return T.substr(-3).toLowerCase()==="svg"||Ene.test(T)},Kt=function(){function T(I,D){this.type=0,this.x=I,this.y=D}return T.prototype.add=function(I,D){return new T(this.x+I,this.y+D)},T}(),np=function(T,I,D){return new Kt(T.x+(I.x-T.x)*D,T.y+(I.y-T.y)*D)},_1=function(){function T(I,D,Q,le){this.type=1,this.start=I,this.startControl=D,this.endControl=Q,this.end=le}return T.prototype.subdivide=function(I,D){var Q=np(this.start,this.startControl,I),le=np(this.startControl,this.endControl,I),ge=np(this.endControl,this.end,I),Ee=np(Q,le,I),Pe=np(le,ge,I),Qe=np(Ee,Pe,I);return D?new T(this.start,Q,Ee,Qe):new T(Qe,Pe,ge,this.end)},T.prototype.add=function(I,D){return new T(this.start.add(I,D),this.startControl.add(I,D),this.endControl.add(I,D),this.end.add(I,D))},T.prototype.reverse=function(){return new T(this.end,this.endControl,this.startControl,this.start)},T}(),Ca=function(T){return T.type===1},Une=function(){function T(I){var D=I.styles,Q=I.bounds,le=di(D.borderTopLeftRadius,Q.width,Q.height),ge=le[0],Ee=le[1],Pe=di(D.borderTopRightRadius,Q.width,Q.height),Qe=Pe[0],Ge=Pe[1],Xe=di(D.borderBottomRightRadius,Q.width,Q.height),it=Xe[0],gt=Xe[1],Gt=di(D.borderBottomLeftRadius,Q.width,Q.height),Lt=Gt[0],Nt=Gt[1],Nn=[];Nn.push((ge+Qe)/Q.width),Nn.push((Lt+it)/Q.width),Nn.push((Ee+Nt)/Q.height),Nn.push((Ge+gt)/Q.height);var en=Math.max.apply(Math,Nn);en>1&&(ge/=en,Ee/=en,Qe/=en,Ge/=en,it/=en,gt/=en,Lt/=en,Nt/=en);var Zt=Q.width-Qe,cr=Q.height-gt,kn=Q.width-it,Sn=Q.height-Nt,zt=D.borderTopWidth,nr=D.borderRightWidth,rr=D.borderBottomWidth,In=D.borderLeftWidth,Ki=ar(D.paddingTop,I.bounds.width),_A=ar(D.paddingRight,I.bounds.width),JA=ar(D.paddingBottom,I.bounds.width),Dr=ar(D.paddingLeft,I.bounds.width);this.topLeftBorderDoubleOuterBox=ge>0||Ee>0?si(Q.left+In/3,Q.top+zt/3,ge-In/3,Ee-zt/3,Cr.TOP_LEFT):new Kt(Q.left+In/3,Q.top+zt/3),this.topRightBorderDoubleOuterBox=ge>0||Ee>0?si(Q.left+Zt,Q.top+zt/3,Qe-nr/3,Ge-zt/3,Cr.TOP_RIGHT):new Kt(Q.left+Q.width-nr/3,Q.top+zt/3),this.bottomRightBorderDoubleOuterBox=it>0||gt>0?si(Q.left+kn,Q.top+cr,it-nr/3,gt-rr/3,Cr.BOTTOM_RIGHT):new Kt(Q.left+Q.width-nr/3,Q.top+Q.height-rr/3),this.bottomLeftBorderDoubleOuterBox=Lt>0||Nt>0?si(Q.left+In/3,Q.top+Sn,Lt-In/3,Nt-rr/3,Cr.BOTTOM_LEFT):new Kt(Q.left+In/3,Q.top+Q.height-rr/3),this.topLeftBorderDoubleInnerBox=ge>0||Ee>0?si(Q.left+In*2/3,Q.top+zt*2/3,ge-In*2/3,Ee-zt*2/3,Cr.TOP_LEFT):new Kt(Q.left+In*2/3,Q.top+zt*2/3),this.topRightBorderDoubleInnerBox=ge>0||Ee>0?si(Q.left+Zt,Q.top+zt*2/3,Qe-nr*2/3,Ge-zt*2/3,Cr.TOP_RIGHT):new Kt(Q.left+Q.width-nr*2/3,Q.top+zt*2/3),this.bottomRightBorderDoubleInnerBox=it>0||gt>0?si(Q.left+kn,Q.top+cr,it-nr*2/3,gt-rr*2/3,Cr.BOTTOM_RIGHT):new Kt(Q.left+Q.width-nr*2/3,Q.top+Q.height-rr*2/3),this.bottomLeftBorderDoubleInnerBox=Lt>0||Nt>0?si(Q.left+In*2/3,Q.top+Sn,Lt-In*2/3,Nt-rr*2/3,Cr.BOTTOM_LEFT):new Kt(Q.left+In*2/3,Q.top+Q.height-rr*2/3),this.topLeftBorderStroke=ge>0||Ee>0?si(Q.left+In/2,Q.top+zt/2,ge-In/2,Ee-zt/2,Cr.TOP_LEFT):new Kt(Q.left+In/2,Q.top+zt/2),this.topRightBorderStroke=ge>0||Ee>0?si(Q.left+Zt,Q.top+zt/2,Qe-nr/2,Ge-zt/2,Cr.TOP_RIGHT):new Kt(Q.left+Q.width-nr/2,Q.top+zt/2),this.bottomRightBorderStroke=it>0||gt>0?si(Q.left+kn,Q.top+cr,it-nr/2,gt-rr/2,Cr.BOTTOM_RIGHT):new Kt(Q.left+Q.width-nr/2,Q.top+Q.height-rr/2),this.bottomLeftBorderStroke=Lt>0||Nt>0?si(Q.left+In/2,Q.top+Sn,Lt-In/2,Nt-rr/2,Cr.BOTTOM_LEFT):new Kt(Q.left+In/2,Q.top+Q.height-rr/2),this.topLeftBorderBox=ge>0||Ee>0?si(Q.left,Q.top,ge,Ee,Cr.TOP_LEFT):new Kt(Q.left,Q.top),this.topRightBorderBox=Qe>0||Ge>0?si(Q.left+Zt,Q.top,Qe,Ge,Cr.TOP_RIGHT):new Kt(Q.left+Q.width,Q.top),this.bottomRightBorderBox=it>0||gt>0?si(Q.left+kn,Q.top+cr,it,gt,Cr.BOTTOM_RIGHT):new Kt(Q.left+Q.width,Q.top+Q.height),this.bottomLeftBorderBox=Lt>0||Nt>0?si(Q.left,Q.top+Sn,Lt,Nt,Cr.BOTTOM_LEFT):new Kt(Q.left,Q.top+Q.height),this.topLeftPaddingBox=ge>0||Ee>0?si(Q.left+In,Q.top+zt,Math.max(0,ge-In),Math.max(0,Ee-zt),Cr.TOP_LEFT):new Kt(Q.left+In,Q.top+zt),this.topRightPaddingBox=Qe>0||Ge>0?si(Q.left+Math.min(Zt,Q.width-nr),Q.top+zt,Zt>Q.width+nr?0:Math.max(0,Qe-nr),Math.max(0,Ge-zt),Cr.TOP_RIGHT):new Kt(Q.left+Q.width-nr,Q.top+zt),this.bottomRightPaddingBox=it>0||gt>0?si(Q.left+Math.min(kn,Q.width-In),Q.top+Math.min(cr,Q.height-rr),Math.max(0,it-nr),Math.max(0,gt-rr),Cr.BOTTOM_RIGHT):new Kt(Q.left+Q.width-nr,Q.top+Q.height-rr),this.bottomLeftPaddingBox=Lt>0||Nt>0?si(Q.left+In,Q.top+Math.min(Sn,Q.height-rr),Math.max(0,Lt-In),Math.max(0,Nt-rr),Cr.BOTTOM_LEFT):new Kt(Q.left+In,Q.top+Q.height-rr),this.topLeftContentBox=ge>0||Ee>0?si(Q.left+In+Dr,Q.top+zt+Ki,Math.max(0,ge-(In+Dr)),Math.max(0,Ee-(zt+Ki)),Cr.TOP_LEFT):new Kt(Q.left+In+Dr,Q.top+zt+Ki),this.topRightContentBox=Qe>0||Ge>0?si(Q.left+Math.min(Zt,Q.width+In+Dr),Q.top+zt+Ki,Zt>Q.width+In+Dr?0:Qe-In+Dr,Ge-(zt+Ki),Cr.TOP_RIGHT):new Kt(Q.left+Q.width-(nr+_A),Q.top+zt+Ki),this.bottomRightContentBox=it>0||gt>0?si(Q.left+Math.min(kn,Q.width-(In+Dr)),Q.top+Math.min(cr,Q.height+zt+Ki),Math.max(0,it-(nr+_A)),gt-(rr+JA),Cr.BOTTOM_RIGHT):new Kt(Q.left+Q.width-(nr+_A),Q.top+Q.height-(rr+JA)),this.bottomLeftContentBox=Lt>0||Nt>0?si(Q.left+In+Dr,Q.top+Sn,Math.max(0,Lt-(In+Dr)),Nt-(rr+JA),Cr.BOTTOM_LEFT):new Kt(Q.left+In+Dr,Q.top+Q.height-(rr+JA))}return T}(),Cr;(function(T){T[T.TOP_LEFT=0]="TOP_LEFT",T[T.TOP_RIGHT=1]="TOP_RIGHT",T[T.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",T[T.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Cr||(Cr={}));var si=function(T,I,D,Q,le){var ge=4*((Math.sqrt(2)-1)/3),Ee=D*ge,Pe=Q*ge,Qe=T+D,Ge=I+Q;switch(le){case Cr.TOP_LEFT:return new _1(new Kt(T,Ge),new Kt(T,Ge-Pe),new Kt(Qe-Ee,I),new Kt(Qe,I));case Cr.TOP_RIGHT:return new _1(new Kt(T,I),new Kt(T+Ee,I),new Kt(Qe,Ge-Pe),new Kt(Qe,Ge));case Cr.BOTTOM_RIGHT:return new _1(new Kt(Qe,I),new Kt(Qe,I+Pe),new Kt(T+Ee,Ge),new Kt(T,Ge));case Cr.BOTTOM_LEFT:default:return new _1(new Kt(Qe,Ge),new Kt(Qe-Ee,Ge),new Kt(T,I+Pe),new Kt(T,I))}},O1=function(T){return[T.topLeftBorderBox,T.topRightBorderBox,T.bottomRightBorderBox,T.bottomLeftBorderBox]},Qne=function(T){return[T.topLeftContentBox,T.topRightContentBox,T.bottomRightContentBox,T.bottomLeftContentBox]},T1=function(T){return[T.topLeftPaddingBox,T.topRightPaddingBox,T.bottomRightPaddingBox,T.bottomLeftPaddingBox]},Pne=function(){function T(I,D,Q){this.offsetX=I,this.offsetY=D,this.matrix=Q,this.type=0,this.target=6}return T}(),U1=function(){function T(I,D){this.path=I,this.target=D,this.type=1}return T}(),Lne=function(){function T(I){this.opacity=I,this.type=2,this.target=6}return T}(),Dne=function(T){return T.type===0},FQ=function(T){return T.type===1},Rne=function(T){return T.type===2},IQ=function(T,I){return T.length===I.length?T.some(function(D,Q){return D===I[Q]}):!1},$ne=function(T,I,D,Q,le){return T.map(function(ge,Ee){switch(Ee){case 0:return ge.add(I,D);case 1:return ge.add(I+Q,D);case 2:return ge.add(I+Q,D+le);case 3:return ge.add(I,D+le)}return ge})},_Q=function(){function T(I){this.element=I,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return T}(),OQ=function(){function T(I,D){if(this.container=I,this.parent=D,this.effects=[],this.curves=new Une(this.container),this.container.styles.opacity<1&&this.effects.push(new Lne(this.container.styles.opacity)),this.container.styles.transform!==null){var Q=this.container.bounds.left+this.container.styles.transformOrigin[0].number,le=this.container.bounds.top+this.container.styles.transformOrigin[1].number,ge=this.container.styles.transform;this.effects.push(new Pne(Q,le,ge))}if(this.container.styles.overflowX!==0){var Ee=O1(this.curves),Pe=T1(this.curves);IQ(Ee,Pe)?this.effects.push(new U1(Ee,6)):(this.effects.push(new U1(Ee,2)),this.effects.push(new U1(Pe,4)))}}return T.prototype.getEffects=function(I){for(var D=[2,3].indexOf(this.container.styles.position)===-1,Q=this.parent,le=this.effects.slice(0);Q;){var ge=Q.effects.filter(function(Qe){return!FQ(Qe)});if(D||Q.container.styles.position!==0||!Q.parent){if(le.unshift.apply(le,ge),D=[2,3].indexOf(Q.container.styles.position)===-1,Q.container.styles.overflowX!==0){var Ee=O1(Q.curves),Pe=T1(Q.curves);IQ(Ee,Pe)||le.unshift(new U1(Pe,6))}}else le.unshift.apply(le,ge);Q=Q.parent}return le.filter(function(Qe){return ft(Qe.target,I)})},T}(),R2=function(T,I,D,Q){T.container.elements.forEach(function(le){var ge=ft(le.flags,4),Ee=ft(le.flags,2),Pe=new OQ(le,T);ft(le.styles.display,2048)&&Q.push(Pe);var Qe=ft(le.flags,8)?[]:Q;if(ge||Ee){var Ge=ge||le.styles.isPositioned()?D:I,Xe=new _Q(Pe);if(le.styles.isPositioned()||le.styles.opacity<1||le.styles.isTransformed()){var it=le.styles.zIndex.order;if(it<0){var gt=0;Ge.negativeZIndex.some(function(Lt,Nt){return it>Lt.element.container.styles.zIndex.order?(gt=Nt,!1):gt>0}),Ge.negativeZIndex.splice(gt,0,Xe)}else if(it>0){var Gt=0;Ge.positiveZIndex.some(function(Lt,Nt){return it>=Lt.element.container.styles.zIndex.order?(Gt=Nt+1,!1):Gt>0}),Ge.positiveZIndex.splice(Gt,0,Xe)}else Ge.zeroOrAutoZIndexOrTransformedOrOpacity.push(Xe)}else le.styles.isFloating()?Ge.nonPositionedFloats.push(Xe):Ge.nonPositionedInlineLevel.push(Xe);R2(Pe,Xe,ge?Xe:D,Qe)}else le.styles.isInlineLevel()?I.inlineLevel.push(Pe):I.nonInlineLevel.push(Pe),R2(Pe,I,D,Qe);ft(le.flags,8)&&TQ(le,Qe)})},TQ=function(T,I){for(var D=T instanceof E2?T.start:1,Q=T instanceof E2?T.reversed:!1,le=0;le<I.length;le++){var ge=I[le];ge.container instanceof nQ&&typeof ge.container.value=="number"&&ge.container.value!==0&&(D=ge.container.value),ge.listValue=p0(D,ge.container.styles.listStyleType,!0),D+=Q?-1:1}},Nne=function(T){var I=new OQ(T,null),D=new _Q(I),Q=[];return R2(I,D,D,Q),TQ(I.container,Q),D},UQ=function(T,I){switch(I){case 0:return xa(T.topLeftBorderBox,T.topLeftPaddingBox,T.topRightBorderBox,T.topRightPaddingBox);case 1:return xa(T.topRightBorderBox,T.topRightPaddingBox,T.bottomRightBorderBox,T.bottomRightPaddingBox);case 2:return xa(T.bottomRightBorderBox,T.bottomRightPaddingBox,T.bottomLeftBorderBox,T.bottomLeftPaddingBox);case 3:default:return xa(T.bottomLeftBorderBox,T.bottomLeftPaddingBox,T.topLeftBorderBox,T.topLeftPaddingBox)}},Hne=function(T,I){switch(I){case 0:return xa(T.topLeftBorderBox,T.topLeftBorderDoubleOuterBox,T.topRightBorderBox,T.topRightBorderDoubleOuterBox);case 1:return xa(T.topRightBorderBox,T.topRightBorderDoubleOuterBox,T.bottomRightBorderBox,T.bottomRightBorderDoubleOuterBox);case 2:return xa(T.bottomRightBorderBox,T.bottomRightBorderDoubleOuterBox,T.bottomLeftBorderBox,T.bottomLeftBorderDoubleOuterBox);case 3:default:return xa(T.bottomLeftBorderBox,T.bottomLeftBorderDoubleOuterBox,T.topLeftBorderBox,T.topLeftBorderDoubleOuterBox)}},Mne=function(T,I){switch(I){case 0:return xa(T.topLeftBorderDoubleInnerBox,T.topLeftPaddingBox,T.topRightBorderDoubleInnerBox,T.topRightPaddingBox);case 1:return xa(T.topRightBorderDoubleInnerBox,T.topRightPaddingBox,T.bottomRightBorderDoubleInnerBox,T.bottomRightPaddingBox);case 2:return xa(T.bottomRightBorderDoubleInnerBox,T.bottomRightPaddingBox,T.bottomLeftBorderDoubleInnerBox,T.bottomLeftPaddingBox);case 3:default:return xa(T.bottomLeftBorderDoubleInnerBox,T.bottomLeftPaddingBox,T.topLeftBorderDoubleInnerBox,T.topLeftPaddingBox)}},kne=function(T,I){switch(I){case 0:return Q1(T.topLeftBorderStroke,T.topRightBorderStroke);case 1:return Q1(T.topRightBorderStroke,T.bottomRightBorderStroke);case 2:return Q1(T.bottomRightBorderStroke,T.bottomLeftBorderStroke);case 3:default:return Q1(T.bottomLeftBorderStroke,T.topLeftBorderStroke)}},Q1=function(T,I){var D=[];return Ca(T)?D.push(T.subdivide(.5,!1)):D.push(T),Ca(I)?D.push(I.subdivide(.5,!0)):D.push(I),D},xa=function(T,I,D,Q){var le=[];return Ca(T)?le.push(T.subdivide(.5,!1)):le.push(T),Ca(D)?le.push(D.subdivide(.5,!0)):le.push(D),Ca(Q)?le.push(Q.subdivide(.5,!0).reverse()):le.push(Q),Ca(I)?le.push(I.subdivide(.5,!1).reverse()):le.push(I),le},QQ=function(T){var I=T.bounds,D=T.styles;return I.add(D.borderLeftWidth,D.borderTopWidth,-(D.borderRightWidth+D.borderLeftWidth),-(D.borderTopWidth+D.borderBottomWidth))},P1=function(T){var I=T.styles,D=T.bounds,Q=ar(I.paddingLeft,D.width),le=ar(I.paddingRight,D.width),ge=ar(I.paddingTop,D.width),Ee=ar(I.paddingBottom,D.width);return D.add(Q+I.borderLeftWidth,ge+I.borderTopWidth,-(I.borderRightWidth+I.borderLeftWidth+Q+le),-(I.borderTopWidth+I.borderBottomWidth+ge+Ee))},jne=function(T,I){return T===0?I.bounds:T===2?P1(I):QQ(I)},Kne=function(T,I){return T===0?I.bounds:T===2?P1(I):QQ(I)},$2=function(T,I,D){var Q=jne(ip(T.styles.backgroundOrigin,I),T),le=Kne(ip(T.styles.backgroundClip,I),T),ge=Vne(ip(T.styles.backgroundSize,I),D,Q),Ee=ge[0],Pe=ge[1],Qe=di(ip(T.styles.backgroundPosition,I),Q.width-Ee,Q.height-Pe),Ge=zne(ip(T.styles.backgroundRepeat,I),Qe,ge,Q,le),Xe=Math.round(Q.left+Qe[0]),it=Math.round(Q.top+Qe[1]);return[Ge,Xe,it,Ee,Pe]},rp=function(T){return wn(T)&&T.value===uu.AUTO},L1=function(T){return typeof T=="number"},Vne=function(T,I,D){var Q=I[0],le=I[1],ge=I[2],Ee=T[0],Pe=T[1];if(!Ee)return[0,0];if(Vr(Ee)&&Pe&&Vr(Pe))return[ar(Ee,D.width),ar(Pe,D.height)];var Qe=L1(ge);if(wn(Ee)&&(Ee.value===uu.CONTAIN||Ee.value===uu.COVER)){if(L1(ge)){var Ge=D.width/D.height;return Ge<ge!=(Ee.value===uu.COVER)?[D.width,D.width/ge]:[D.height*ge,D.height]}return[D.width,D.height]}var Xe=L1(Q),it=L1(le),gt=Xe||it;if(rp(Ee)&&(!Pe||rp(Pe))){if(Xe&&it)return[Q,le];if(!Qe&&!gt)return[D.width,D.height];if(gt&&Qe){var Gt=Xe?Q:le*ge,Lt=it?le:Q/ge;return[Gt,Lt]}var Nt=Xe?Q:D.width,Nn=it?le:D.height;return[Nt,Nn]}if(Qe){var en=0,Zt=0;return Vr(Ee)?en=ar(Ee,D.width):Vr(Pe)&&(Zt=ar(Pe,D.height)),rp(Ee)?en=Zt*ge:(!Pe||rp(Pe))&&(Zt=en/ge),[en,Zt]}var cr=null,kn=null;if(Vr(Ee)?cr=ar(Ee,D.width):Pe&&Vr(Pe)&&(kn=ar(Pe,D.height)),cr!==null&&(!Pe||rp(Pe))&&(kn=Xe&&it?cr/Q*le:D.height),kn!==null&&rp(Ee)&&(cr=Xe&&it?kn/le*Q:D.width),cr!==null&&kn!==null)return[cr,kn];throw new Error("Unable to calculate background-size for element")},ip=function(T,I){var D=T[I];return typeof D>"u"?T[0]:D},zne=function(T,I,D,Q,le){var ge=I[0],Ee=I[1],Pe=D[0],Qe=D[1];switch(T){case 2:return[new Kt(Math.round(Q.left),Math.round(Q.top+Ee)),new Kt(Math.round(Q.left+Q.width),Math.round(Q.top+Ee)),new Kt(Math.round(Q.left+Q.width),Math.round(Qe+Q.top+Ee)),new Kt(Math.round(Q.left),Math.round(Qe+Q.top+Ee))];case 3:return[new Kt(Math.round(Q.left+ge),Math.round(Q.top)),new Kt(Math.round(Q.left+ge+Pe),Math.round(Q.top)),new Kt(Math.round(Q.left+ge+Pe),Math.round(Q.height+Q.top)),new Kt(Math.round(Q.left+ge),Math.round(Q.height+Q.top))];case 1:return[new Kt(Math.round(Q.left+ge),Math.round(Q.top+Ee)),new Kt(Math.round(Q.left+ge+Pe),Math.round(Q.top+Ee)),new Kt(Math.round(Q.left+ge+Pe),Math.round(Q.top+Ee+Qe)),new Kt(Math.round(Q.left+ge),Math.round(Q.top+Ee+Qe))];default:return[new Kt(Math.round(le.left),Math.round(le.top)),new Kt(Math.round(le.left+le.width),Math.round(le.top)),new Kt(Math.round(le.left+le.width),Math.round(le.height+le.top)),new Kt(Math.round(le.left),Math.round(le.height+le.top))]}},Gne="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",PQ="Hidden Text",Wne=function(){function T(I){this._data={},this._document=I}return T.prototype.parseMetrics=function(I,D){var Q=this._document.createElement("div"),le=this._document.createElement("img"),ge=this._document.createElement("span"),Ee=this._document.body;Q.style.visibility="hidden",Q.style.fontFamily=I,Q.style.fontSize=D,Q.style.margin="0",Q.style.padding="0",Q.style.whiteSpace="nowrap",Ee.appendChild(Q),le.src=Gne,le.width=1,le.height=1,le.style.margin="0",le.style.padding="0",le.style.verticalAlign="baseline",ge.style.fontFamily=I,ge.style.fontSize=D,ge.style.margin="0",ge.style.padding="0",ge.appendChild(this._document.createTextNode(PQ)),Q.appendChild(ge),Q.appendChild(le);var Pe=le.offsetTop-ge.offsetTop+2;Q.removeChild(ge),Q.appendChild(this._document.createTextNode(PQ)),Q.style.lineHeight="normal",le.style.verticalAlign="super";var Qe=le.offsetTop-Q.offsetTop+2;return Ee.removeChild(Q),{baseline:Pe,middle:Qe}},T.prototype.getMetrics=function(I,D){var Q=I+" "+D;return typeof this._data[Q]>"u"&&(this._data[Q]=this.parseMetrics(I,D)),this._data[Q]},T}(),LQ=function(){function T(I,D){this.context=I,this.options=D}return T}(),qne=1e4,Xne=function(T){r(I,T);function I(D,Q){var le=T.call(this,D,Q)||this;return le._activeEffects=[],le.canvas=Q.canvas?Q.canvas:document.createElement("canvas"),le.ctx=le.canvas.getContext("2d"),Q.canvas||(le.canvas.width=Math.floor(Q.width*Q.scale),le.canvas.height=Math.floor(Q.height*Q.scale),le.canvas.style.width=Q.width+"px",le.canvas.style.height=Q.height+"px"),le.fontMetrics=new Wne(document),le.ctx.scale(le.options.scale,le.options.scale),le.ctx.translate(-Q.x,-Q.y),le.ctx.textBaseline="bottom",le._activeEffects=[],le.context.logger.debug("Canvas renderer initialized ("+Q.width+"x"+Q.height+") with scale "+Q.scale),le}return I.prototype.applyEffects=function(D){for(var Q=this;this._activeEffects.length;)this.popEffect();D.forEach(function(le){return Q.applyEffect(le)})},I.prototype.applyEffect=function(D){this.ctx.save(),Rne(D)&&(this.ctx.globalAlpha=D.opacity),Dne(D)&&(this.ctx.translate(D.offsetX,D.offsetY),this.ctx.transform(D.matrix[0],D.matrix[1],D.matrix[2],D.matrix[3],D.matrix[4],D.matrix[5]),this.ctx.translate(-D.offsetX,-D.offsetY)),FQ(D)&&(this.path(D.path),this.ctx.clip()),this._activeEffects.push(D)},I.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},I.prototype.renderStack=function(D){return o(this,void 0,void 0,function(){var Q;return A(this,function(le){switch(le.label){case 0:return Q=D.element.container.styles,Q.isVisible()?[4,this.renderStackContent(D)]:[3,2];case 1:le.sent(),le.label=2;case 2:return[2]}})})},I.prototype.renderNode=function(D){return o(this,void 0,void 0,function(){return A(this,function(Q){switch(Q.label){case 0:if(ft(D.container.flags,16))debugger;return D.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(D)]:[3,3];case 1:return Q.sent(),[4,this.renderNodeContent(D)];case 2:Q.sent(),Q.label=3;case 3:return[2]}})})},I.prototype.renderTextWithLetterSpacing=function(D,Q,le){var ge=this;if(Q===0)this.ctx.fillText(D.text,D.bounds.left,D.bounds.top+le);else{var Ee=YA(D.text);Ee.reduce(function(Pe,Qe){return ge.ctx.fillText(Qe,Pe,D.bounds.top+le),Pe+ge.ctx.measureText(Qe).width},D.bounds.left)}},I.prototype.createFontStyle=function(D){var Q=D.fontVariant.filter(function(Ee){return Ee==="normal"||Ee==="small-caps"}).join(""),le=tre(D.fontFamily).join(", "),ge=Or(D.fontSize)?""+D.fontSize.number+D.fontSize.unit:D.fontSize.number+"px";return[[D.fontStyle,Q,D.fontWeight,ge,le].join(" "),le,ge]},I.prototype.renderTextNode=function(D,Q){return o(this,void 0,void 0,function(){var le,ge,Ee,Pe,Qe,Ge,Xe,it,gt=this;return A(this,function(Gt){return le=this.createFontStyle(Q),ge=le[0],Ee=le[1],Pe=le[2],this.ctx.font=ge,this.ctx.direction=Q.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",Qe=this.fontMetrics.getMetrics(Ee,Pe),Ge=Qe.baseline,Xe=Qe.middle,it=Q.paintOrder,D.textBounds.forEach(function(Lt){it.forEach(function(Nt){switch(Nt){case 0:gt.ctx.fillStyle=hi(Q.color),gt.renderTextWithLetterSpacing(Lt,Q.letterSpacing,Ge);var Nn=Q.textShadow;Nn.length&&Lt.text.trim().length&&(Nn.slice(0).reverse().forEach(function(en){gt.ctx.shadowColor=hi(en.color),gt.ctx.shadowOffsetX=en.offsetX.number*gt.options.scale,gt.ctx.shadowOffsetY=en.offsetY.number*gt.options.scale,gt.ctx.shadowBlur=en.blur.number,gt.renderTextWithLetterSpacing(Lt,Q.letterSpacing,Ge)}),gt.ctx.shadowColor="",gt.ctx.shadowOffsetX=0,gt.ctx.shadowOffsetY=0,gt.ctx.shadowBlur=0),Q.textDecorationLine.length&&(gt.ctx.fillStyle=hi(Q.textDecorationColor||Q.color),Q.textDecorationLine.forEach(function(en){switch(en){case 1:gt.ctx.fillRect(Lt.bounds.left,Math.round(Lt.bounds.top+Ge),Lt.bounds.width,1);break;case 2:gt.ctx.fillRect(Lt.bounds.left,Math.round(Lt.bounds.top),Lt.bounds.width,1);break;case 3:gt.ctx.fillRect(Lt.bounds.left,Math.ceil(Lt.bounds.top+Xe),Lt.bounds.width,1);break}}));break;case 1:Q.webkitTextStrokeWidth&&Lt.text.trim().length&&(gt.ctx.strokeStyle=hi(Q.webkitTextStrokeColor),gt.ctx.lineWidth=Q.webkitTextStrokeWidth,gt.ctx.lineJoin=window.chrome?"miter":"round",gt.ctx.strokeText(Lt.text,Lt.bounds.left,Lt.bounds.top+Ge)),gt.ctx.strokeStyle="",gt.ctx.lineWidth=0,gt.ctx.lineJoin="miter";break}})}),[2]})})},I.prototype.renderReplacedElement=function(D,Q,le){if(le&&D.intrinsicWidth>0&&D.intrinsicHeight>0){var ge=P1(D),Ee=T1(Q);this.path(Ee),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(le,0,0,D.intrinsicWidth,D.intrinsicHeight,ge.left,ge.top,ge.width,ge.height),this.ctx.restore()}},I.prototype.renderNodeContent=function(D){return o(this,void 0,void 0,function(){var Q,le,ge,Ee,Pe,Qe,Zt,Zt,Ge,Xe,it,gt,kn,Gt,Lt,Sn,Nt,Nn,en,Zt,cr,kn,Sn;return A(this,function(zt){switch(zt.label){case 0:this.applyEffects(D.getEffects(4)),Q=D.container,le=D.curves,ge=Q.styles,Ee=0,Pe=Q.textNodes,zt.label=1;case 1:return Ee<Pe.length?(Qe=Pe[Ee],[4,this.renderTextNode(Qe,ge)]):[3,4];case 2:zt.sent(),zt.label=3;case 3:return Ee++,[3,1];case 4:if(!(Q instanceof ZU))return[3,8];zt.label=5;case 5:return zt.trys.push([5,7,,8]),[4,this.context.cache.match(Q.src)];case 6:return Zt=zt.sent(),this.renderReplacedElement(Q,le,Zt),[3,8];case 7:return zt.sent(),this.context.logger.error("Error loading image "+Q.src),[3,8];case 8:if(Q instanceof eQ&&this.renderReplacedElement(Q,le,Q.canvas),!(Q instanceof tQ))return[3,12];zt.label=9;case 9:return zt.trys.push([9,11,,12]),[4,this.context.cache.match(Q.svg)];case 10:return Zt=zt.sent(),this.renderReplacedElement(Q,le,Zt),[3,12];case 11:return zt.sent(),this.context.logger.error("Error loading svg "+Q.svg.substring(0,255)),[3,12];case 12:return Q instanceof AQ&&Q.tree?(Ge=new I(this.context,{scale:this.options.scale,backgroundColor:Q.backgroundColor,x:0,y:0,width:Q.width,height:Q.height}),[4,Ge.render(Q.tree)]):[3,14];case 13:Xe=zt.sent(),Q.width&&Q.height&&this.ctx.drawImage(Xe,0,0,Q.width,Q.height,Q.bounds.left,Q.bounds.top,Q.bounds.width,Q.bounds.height),zt.label=14;case 14:if(Q instanceof F2&&(it=Math.min(Q.bounds.width,Q.bounds.height),Q.type===C1?Q.checked&&(this.ctx.save(),this.path([new Kt(Q.bounds.left+it*.39363,Q.bounds.top+it*.79),new Kt(Q.bounds.left+it*.16,Q.bounds.top+it*.5549),new Kt(Q.bounds.left+it*.27347,Q.bounds.top+it*.44071),new Kt(Q.bounds.left+it*.39694,Q.bounds.top+it*.5649),new Kt(Q.bounds.left+it*.72983,Q.bounds.top+it*.23),new Kt(Q.bounds.left+it*.84,Q.bounds.top+it*.34085),new Kt(Q.bounds.left+it*.39363,Q.bounds.top+it*.79)]),this.ctx.fillStyle=hi(rQ),this.ctx.fill(),this.ctx.restore()):Q.type===x1&&Q.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(Q.bounds.left+it/2,Q.bounds.top+it/2,it/4,0,Math.PI*2,!0),this.ctx.fillStyle=hi(rQ),this.ctx.fill(),this.ctx.restore())),Yne(Q)&&Q.value.length){switch(gt=this.createFontStyle(ge),kn=gt[0],Gt=gt[1],Lt=this.fontMetrics.getMetrics(kn,Gt).baseline,this.ctx.font=kn,this.ctx.fillStyle=hi(ge.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Zne(Q.styles.textAlign),Sn=P1(Q),Nt=0,Q.styles.textAlign){case 1:Nt+=Sn.width/2;break;case 2:Nt+=Sn.width;break}Nn=Sn.add(Nt,0,0,-Sn.height/2+1),this.ctx.save(),this.path([new Kt(Sn.left,Sn.top),new Kt(Sn.left+Sn.width,Sn.top),new Kt(Sn.left+Sn.width,Sn.top+Sn.height),new Kt(Sn.left,Sn.top+Sn.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Gf(Q.value,Nn),ge.letterSpacing,Lt),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!ft(Q.styles.display,2048))return[3,20];if(Q.styles.listStyleImage===null)return[3,19];if(en=Q.styles.listStyleImage,en.type!==0)return[3,18];Zt=void 0,cr=en.url,zt.label=15;case 15:return zt.trys.push([15,17,,18]),[4,this.context.cache.match(cr)];case 16:return Zt=zt.sent(),this.ctx.drawImage(Zt,Q.bounds.left-(Zt.width+10),Q.bounds.top),[3,18];case 17:return zt.sent(),this.context.logger.error("Error loading list-style-image "+cr),[3,18];case 18:return[3,20];case 19:D.listValue&&Q.styles.listStyleType!==-1&&(kn=this.createFontStyle(ge)[0],this.ctx.font=kn,this.ctx.fillStyle=hi(ge.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",Sn=new s(Q.bounds.left,Q.bounds.top+ar(Q.styles.paddingTop,Q.bounds.width),Q.bounds.width,os(ge.lineHeight,ge.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Gf(D.listValue,Sn),ge.letterSpacing,os(ge.lineHeight,ge.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),zt.label=20;case 20:return[2]}})})},I.prototype.renderStackContent=function(D){return o(this,void 0,void 0,function(){var Q,le,en,ge,Ee,en,Pe,Qe,en,Ge,Xe,en,it,gt,en,Gt,Lt,en,Nt,Nn,en;return A(this,function(Zt){switch(Zt.label){case 0:if(ft(D.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(D.element)];case 1:Zt.sent(),Q=0,le=D.negativeZIndex,Zt.label=2;case 2:return Q<le.length?(en=le[Q],[4,this.renderStack(en)]):[3,5];case 3:Zt.sent(),Zt.label=4;case 4:return Q++,[3,2];case 5:return[4,this.renderNodeContent(D.element)];case 6:Zt.sent(),ge=0,Ee=D.nonInlineLevel,Zt.label=7;case 7:return ge<Ee.length?(en=Ee[ge],[4,this.renderNode(en)]):[3,10];case 8:Zt.sent(),Zt.label=9;case 9:return ge++,[3,7];case 10:Pe=0,Qe=D.nonPositionedFloats,Zt.label=11;case 11:return Pe<Qe.length?(en=Qe[Pe],[4,this.renderStack(en)]):[3,14];case 12:Zt.sent(),Zt.label=13;case 13:return Pe++,[3,11];case 14:Ge=0,Xe=D.nonPositionedInlineLevel,Zt.label=15;case 15:return Ge<Xe.length?(en=Xe[Ge],[4,this.renderStack(en)]):[3,18];case 16:Zt.sent(),Zt.label=17;case 17:return Ge++,[3,15];case 18:it=0,gt=D.inlineLevel,Zt.label=19;case 19:return it<gt.length?(en=gt[it],[4,this.renderNode(en)]):[3,22];case 20:Zt.sent(),Zt.label=21;case 21:return it++,[3,19];case 22:Gt=0,Lt=D.zeroOrAutoZIndexOrTransformedOrOpacity,Zt.label=23;case 23:return Gt<Lt.length?(en=Lt[Gt],[4,this.renderStack(en)]):[3,26];case 24:Zt.sent(),Zt.label=25;case 25:return Gt++,[3,23];case 26:Nt=0,Nn=D.positiveZIndex,Zt.label=27;case 27:return Nt<Nn.length?(en=Nn[Nt],[4,this.renderStack(en)]):[3,30];case 28:Zt.sent(),Zt.label=29;case 29:return Nt++,[3,27];case 30:return[2]}})})},I.prototype.mask=function(D){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(D.slice(0).reverse()),this.ctx.closePath()},I.prototype.path=function(D){this.ctx.beginPath(),this.formatPath(D),this.ctx.closePath()},I.prototype.formatPath=function(D){var Q=this;D.forEach(function(le,ge){var Ee=Ca(le)?le.start:le;ge===0?Q.ctx.moveTo(Ee.x,Ee.y):Q.ctx.lineTo(Ee.x,Ee.y),Ca(le)&&Q.ctx.bezierCurveTo(le.startControl.x,le.startControl.y,le.endControl.x,le.endControl.y,le.end.x,le.end.y)})},I.prototype.renderRepeat=function(D,Q,le,ge){this.path(D),this.ctx.fillStyle=Q,this.ctx.translate(le,ge),this.ctx.fill(),this.ctx.translate(-le,-ge)},I.prototype.resizeImage=function(D,Q,le){var ge;if(D.width===Q&&D.height===le)return D;var Ee=(ge=this.canvas.ownerDocument)!==null&&ge!==void 0?ge:document,Pe=Ee.createElement("canvas");Pe.width=Math.max(1,Q),Pe.height=Math.max(1,le);var Qe=Pe.getContext("2d");return Qe.drawImage(D,0,0,D.width,D.height,0,0,Q,le),Pe},I.prototype.renderBackgroundImage=function(D){return o(this,void 0,void 0,function(){var Q,le,ge,Ee,Pe,Qe;return A(this,function(Ge){switch(Ge.label){case 0:Q=D.styles.backgroundImage.length-1,le=function(Xe){var it,gt,Gt,Ki,OA,TA,Dr,bo,rr,Lt,Ki,OA,TA,Dr,bo,Nt,Nn,en,Zt,cr,kn,Sn,zt,nr,rr,In,Ki,_A,JA,Dr,bo,Ic,OA,TA,Yf,ol,_c,Jf,Zf,du,ed,hu;return A(this,function(op){switch(op.label){case 0:if(Xe.type!==0)return[3,5];it=void 0,gt=Xe.url,op.label=1;case 1:return op.trys.push([1,3,,4]),[4,ge.context.cache.match(gt)];case 2:return it=op.sent(),[3,4];case 3:return op.sent(),ge.context.logger.error("Error loading background-image "+gt),[3,4];case 4:return it&&(Gt=$2(D,Q,[it.width,it.height,it.width/it.height]),Ki=Gt[0],OA=Gt[1],TA=Gt[2],Dr=Gt[3],bo=Gt[4],rr=ge.ctx.createPattern(ge.resizeImage(it,Dr,bo),"repeat"),ge.renderRepeat(Ki,rr,OA,TA)),[3,6];case 5:is(Xe)?(Lt=$2(D,Q,[null,null,null]),Ki=Lt[0],OA=Lt[1],TA=Lt[2],Dr=Lt[3],bo=Lt[4],Nt=pc(Xe.angle,Dr,bo),Nn=Nt[0],en=Nt[1],Zt=Nt[2],cr=Nt[3],kn=Nt[4],Sn=document.createElement("canvas"),Sn.width=Dr,Sn.height=bo,zt=Sn.getContext("2d"),nr=zt.createLinearGradient(en,cr,Zt,kn),ao(Xe.stops,Nn).forEach(function(m0){return nr.addColorStop(m0.stop,hi(m0.color))}),zt.fillStyle=nr,zt.fillRect(0,0,Dr,bo),Dr>0&&bo>0&&(rr=ge.ctx.createPattern(Sn,"repeat"),ge.renderRepeat(Ki,rr,OA,TA))):Nf(Xe)&&(In=$2(D,Q,[null,null,null]),Ki=In[0],_A=In[1],JA=In[2],Dr=In[3],bo=In[4],Ic=Xe.position.length===0?[ru]:Xe.position,OA=ar(Ic[0],Dr),TA=ar(Ic[Ic.length-1],bo),Yf=Au(Xe,OA,TA,Dr,bo),ol=Yf[0],_c=Yf[1],ol>0&&_c>0&&(Jf=ge.ctx.createRadialGradient(_A+OA,JA+TA,0,_A+OA,JA+TA,ol),ao(Xe.stops,ol*2).forEach(function(m0){return Jf.addColorStop(m0.stop,hi(m0.color))}),ge.path(Ki),ge.ctx.fillStyle=Jf,ol!==_c?(Zf=D.bounds.left+.5*D.bounds.width,du=D.bounds.top+.5*D.bounds.height,ed=_c/ol,hu=1/ed,ge.ctx.save(),ge.ctx.translate(Zf,du),ge.ctx.transform(1,0,0,ed,0,0),ge.ctx.translate(-Zf,-du),ge.ctx.fillRect(_A,hu*(JA-du)+du,Dr,bo*hu),ge.ctx.restore()):ge.ctx.fill())),op.label=6;case 6:return Q--,[2]}})},ge=this,Ee=0,Pe=D.styles.backgroundImage.slice(0).reverse(),Ge.label=1;case 1:return Ee<Pe.length?(Qe=Pe[Ee],[5,le(Qe)]):[3,4];case 2:Ge.sent(),Ge.label=3;case 3:return Ee++,[3,1];case 4:return[2]}})})},I.prototype.renderSolidBorder=function(D,Q,le){return o(this,void 0,void 0,function(){return A(this,function(ge){return this.path(UQ(le,Q)),this.ctx.fillStyle=hi(D),this.ctx.fill(),[2]})})},I.prototype.renderDoubleBorder=function(D,Q,le,ge){return o(this,void 0,void 0,function(){var Ee,Pe;return A(this,function(Qe){switch(Qe.label){case 0:return Q<3?[4,this.renderSolidBorder(D,le,ge)]:[3,2];case 1:return Qe.sent(),[2];case 2:return Ee=Hne(ge,le),this.path(Ee),this.ctx.fillStyle=hi(D),this.ctx.fill(),Pe=Mne(ge,le),this.path(Pe),this.ctx.fill(),[2]}})})},I.prototype.renderNodeBackgroundAndBorders=function(D){return o(this,void 0,void 0,function(){var Q,le,ge,Ee,Pe,Qe,Ge,Xe,it=this;return A(this,function(gt){switch(gt.label){case 0:return this.applyEffects(D.getEffects(2)),Q=D.container.styles,le=!GA(Q.backgroundColor)||Q.backgroundImage.length,ge=[{style:Q.borderTopStyle,color:Q.borderTopColor,width:Q.borderTopWidth},{style:Q.borderRightStyle,color:Q.borderRightColor,width:Q.borderRightWidth},{style:Q.borderBottomStyle,color:Q.borderBottomColor,width:Q.borderBottomWidth},{style:Q.borderLeftStyle,color:Q.borderLeftColor,width:Q.borderLeftWidth}],Ee=Jne(ip(Q.backgroundClip,0),D.curves),le||Q.boxShadow.length?(this.ctx.save(),this.path(Ee),this.ctx.clip(),GA(Q.backgroundColor)||(this.ctx.fillStyle=hi(Q.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(D.container)]):[3,2];case 1:gt.sent(),this.ctx.restore(),Q.boxShadow.slice(0).reverse().forEach(function(Gt){it.ctx.save();var Lt=O1(D.curves),Nt=Gt.inset?0:qne,Nn=$ne(Lt,-Nt+(Gt.inset?1:-1)*Gt.spread.number,(Gt.inset?1:-1)*Gt.spread.number,Gt.spread.number*(Gt.inset?-2:2),Gt.spread.number*(Gt.inset?-2:2));Gt.inset?(it.path(Lt),it.ctx.clip(),it.mask(Nn)):(it.mask(Lt),it.ctx.clip(),it.path(Nn)),it.ctx.shadowOffsetX=Gt.offsetX.number+Nt,it.ctx.shadowOffsetY=Gt.offsetY.number,it.ctx.shadowColor=hi(Gt.color),it.ctx.shadowBlur=Gt.blur.number,it.ctx.fillStyle=Gt.inset?hi(Gt.color):"rgba(0,0,0,1)",it.ctx.fill(),it.ctx.restore()}),gt.label=2;case 2:Pe=0,Qe=0,Ge=ge,gt.label=3;case 3:return Qe<Ge.length?(Xe=Ge[Qe],Xe.style!==0&&!GA(Xe.color)&&Xe.width>0?Xe.style!==2?[3,5]:[4,this.renderDashedDottedBorder(Xe.color,Xe.width,Pe,D.curves,2)]:[3,11]):[3,13];case 4:return gt.sent(),[3,11];case 5:return Xe.style!==3?[3,7]:[4,this.renderDashedDottedBorder(Xe.color,Xe.width,Pe,D.curves,3)];case 6:return gt.sent(),[3,11];case 7:return Xe.style!==4?[3,9]:[4,this.renderDoubleBorder(Xe.color,Xe.width,Pe,D.curves)];case 8:return gt.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Xe.color,Pe,D.curves)];case 10:gt.sent(),gt.label=11;case 11:Pe++,gt.label=12;case 12:return Qe++,[3,3];case 13:return[2]}})})},I.prototype.renderDashedDottedBorder=function(D,Q,le,ge,Ee){return o(this,void 0,void 0,function(){var Pe,Qe,Ge,Xe,it,gt,Gt,Lt,Nt,Nn,en,Zt,cr,kn,Sn,zt,Sn,zt;return A(this,function(nr){return this.ctx.save(),Pe=kne(ge,le),Qe=UQ(ge,le),Ee===2&&(this.path(Qe),this.ctx.clip()),Ca(Qe[0])?(Ge=Qe[0].start.x,Xe=Qe[0].start.y):(Ge=Qe[0].x,Xe=Qe[0].y),Ca(Qe[1])?(it=Qe[1].end.x,gt=Qe[1].end.y):(it=Qe[1].x,gt=Qe[1].y),le===0||le===2?Gt=Math.abs(Ge-it):Gt=Math.abs(Xe-gt),this.ctx.beginPath(),Ee===3?this.formatPath(Pe):this.formatPath(Qe.slice(0,2)),Lt=Q<3?Q*3:Q*2,Nt=Q<3?Q*2:Q,Ee===3&&(Lt=Q,Nt=Q),Nn=!0,Gt<=Lt*2?Nn=!1:Gt<=Lt*2+Nt?(en=Gt/(2*Lt+Nt),Lt*=en,Nt*=en):(Zt=Math.floor((Gt+Nt)/(Lt+Nt)),cr=(Gt-Zt*Lt)/(Zt-1),kn=(Gt-(Zt+1)*Lt)/Zt,Nt=kn<=0||Math.abs(Nt-cr)<Math.abs(Nt-kn)?cr:kn),Nn&&(Ee===3?this.ctx.setLineDash([0,Lt+Nt]):this.ctx.setLineDash([Lt,Nt])),Ee===3?(this.ctx.lineCap="round",this.ctx.lineWidth=Q):this.ctx.lineWidth=Q*2+1.1,this.ctx.strokeStyle=hi(D),this.ctx.stroke(),this.ctx.setLineDash([]),Ee===2&&(Ca(Qe[0])&&(Sn=Qe[3],zt=Qe[0],this.ctx.beginPath(),this.formatPath([new Kt(Sn.end.x,Sn.end.y),new Kt(zt.start.x,zt.start.y)]),this.ctx.stroke()),Ca(Qe[1])&&(Sn=Qe[1],zt=Qe[2],this.ctx.beginPath(),this.formatPath([new Kt(Sn.end.x,Sn.end.y),new Kt(zt.start.x,zt.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},I.prototype.render=function(D){return o(this,void 0,void 0,function(){var Q;return A(this,function(le){switch(le.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=hi(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),Q=Nne(D),[4,this.renderStack(Q)];case 1:return le.sent(),this.applyEffects([]),[2,this.canvas]}})})},I}(LQ),Yne=function(T){return T instanceof oQ||T instanceof iQ?!0:T instanceof F2&&T.type!==x1&&T.type!==C1},Jne=function(T,I){switch(T){case 0:return O1(I);case 2:return Qne(I);case 1:default:return T1(I)}},Zne=function(T){switch(T){case 1:return"center";case 2:return"right";case 0:default:return"left"}},ere=["-apple-system","system-ui"],tre=function(T){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?T.filter(function(I){return ere.indexOf(I)===-1}):T},nre=function(T){r(I,T);function I(D,Q){var le=T.call(this,D,Q)||this;return le.canvas=Q.canvas?Q.canvas:document.createElement("canvas"),le.ctx=le.canvas.getContext("2d"),le.options=Q,le.canvas.width=Math.floor(Q.width*Q.scale),le.canvas.height=Math.floor(Q.height*Q.scale),le.canvas.style.width=Q.width+"px",le.canvas.style.height=Q.height+"px",le.ctx.scale(le.options.scale,le.options.scale),le.ctx.translate(-Q.x,-Q.y),le.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+Q.width+"x"+Q.height+" at "+Q.x+","+Q.y+") with scale "+Q.scale),le}return I.prototype.render=function(D){return o(this,void 0,void 0,function(){var Q,le;return A(this,function(ge){switch(ge.label){case 0:return Q=Yh(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,D),[4,rre(Q)];case 1:return le=ge.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=hi(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(le,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},I}(LQ),rre=function(T){return new Promise(function(I,D){var Q=new Image;Q.onload=function(){I(Q)},Q.onerror=D,Q.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(T))})},ire=function(){function T(I){var D=I.id,Q=I.enabled;this.id=D,this.enabled=Q,this.start=Date.now()}return T.prototype.debug=function(){for(var I=[],D=0;D<arguments.length;D++)I[D]=arguments[D];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,a([this.id,this.getTime()+"ms"],I)):this.info.apply(this,I))},T.prototype.getTime=function(){return Date.now()-this.start},T.prototype.info=function(){for(var I=[],D=0;D<arguments.length;D++)I[D]=arguments[D];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,a([this.id,this.getTime()+"ms"],I))},T.prototype.warn=function(){for(var I=[],D=0;D<arguments.length;D++)I[D]=arguments[D];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,a([this.id,this.getTime()+"ms"],I)):this.info.apply(this,I))},T.prototype.error=function(){for(var I=[],D=0;D<arguments.length;D++)I[D]=arguments[D];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,a([this.id,this.getTime()+"ms"],I)):this.info.apply(this,I))},T.instances={},T}(),ore=function(){function T(I,D){var Q;this.windowBounds=D,this.instanceName="#"+T.instanceCount++,this.logger=new ire({id:this.instanceName,enabled:I.logging}),this.cache=(Q=I.cache)!==null&&Q!==void 0?Q:new Sne(this,I)}return T.instanceCount=1,T}(),Are=function(T,I){return I===void 0&&(I={}),are(T,I)};typeof window<"u"&&EQ.setContext(window);var are=function(T,I){return o(void 0,void 0,void 0,function(){var D,Q,le,ge,Ee,Pe,Qe,Ge,Xe,it,gt,Gt,Lt,Nt,Nn,en,Zt,cr,kn,Sn,nr,zt,nr,rr,In,Ki,_A,JA,Dr,bo,Ic,OA,TA,Yf,ol,_c,Jf,Zf,du,ed;return A(this,function(hu){switch(hu.label){case 0:if(!T||typeof T!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(D=T.ownerDocument,!D)throw new Error("Element is not attached to a Document");if(Q=D.defaultView,!Q)throw new Error("Document is not attached to a Window");return le={allowTaint:(rr=I.allowTaint)!==null&&rr!==void 0?rr:!1,imageTimeout:(In=I.imageTimeout)!==null&&In!==void 0?In:15e3,proxy:I.proxy,useCORS:(Ki=I.useCORS)!==null&&Ki!==void 0?Ki:!1},ge=i({logging:(_A=I.logging)!==null&&_A!==void 0?_A:!0,cache:I.cache},le),Ee={windowWidth:(JA=I.windowWidth)!==null&&JA!==void 0?JA:Q.innerWidth,windowHeight:(Dr=I.windowHeight)!==null&&Dr!==void 0?Dr:Q.innerHeight,scrollX:(bo=I.scrollX)!==null&&bo!==void 0?bo:Q.pageXOffset,scrollY:(Ic=I.scrollY)!==null&&Ic!==void 0?Ic:Q.pageYOffset},Pe=new s(Ee.scrollX,Ee.scrollY,Ee.windowWidth,Ee.windowHeight),Qe=new ore(ge,Pe),Ge=(OA=I.foreignObjectRendering)!==null&&OA!==void 0?OA:!1,Xe={allowTaint:(TA=I.allowTaint)!==null&&TA!==void 0?TA:!1,onclone:I.onclone,ignoreElements:I.ignoreElements,inlineImages:Ge,copyStyles:Ge},Qe.logger.debug("Starting document clone with size "+Pe.width+"x"+Pe.height+" scrolled to "+-Pe.left+","+-Pe.top),it=new xQ(Qe,T,Xe),gt=it.clonedReferenceElement,gt?[4,it.toIFrame(D,Pe)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return Gt=hu.sent(),Lt=_2(gt)||sne(gt)?l(gt.ownerDocument):u(Qe,gt),Nt=Lt.width,Nn=Lt.height,en=Lt.left,Zt=Lt.top,cr=sre(Qe,gt,I.backgroundColor),kn={canvas:I.canvas,backgroundColor:cr,scale:(ol=(Yf=I.scale)!==null&&Yf!==void 0?Yf:Q.devicePixelRatio)!==null&&ol!==void 0?ol:1,x:((_c=I.x)!==null&&_c!==void 0?_c:0)+en,y:((Jf=I.y)!==null&&Jf!==void 0?Jf:0)+Zt,width:(Zf=I.width)!==null&&Zf!==void 0?Zf:Math.ceil(Nt),height:(du=I.height)!==null&&du!==void 0?du:Math.ceil(Nn)},Ge?(Qe.logger.debug("Document cloned, using foreign object rendering"),nr=new nre(Qe,kn),[4,nr.render(gt)]):[3,3];case 2:return Sn=hu.sent(),[3,5];case 3:return Qe.logger.debug("Document cloned, element located at "+en+","+Zt+" with size "+Nt+"x"+Nn+" using computed rendering"),Qe.logger.debug("Starting DOM parsing"),zt=sQ(Qe,gt),cr===zt.styles.backgroundColor&&(zt.styles.backgroundColor=Ro.TRANSPARENT),Qe.logger.debug("Starting renderer for element at "+kn.x+","+kn.y+" with size "+kn.width+"x"+kn.height),nr=new Xne(Qe,kn),[4,nr.render(zt)];case 4:Sn=hu.sent(),hu.label=5;case 5:return(!((ed=I.removeContainer)!==null&&ed!==void 0)||ed)&&(xQ.destroy(Gt)||Qe.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),Qe.logger.debug("Finished rendering"),[2,Sn]}})})},sre=function(T,I,D){var Q=I.ownerDocument,le=Q.documentElement?AA(T,getComputedStyle(Q.documentElement).backgroundColor):Ro.TRANSPARENT,ge=Q.body?AA(T,getComputedStyle(Q.body).backgroundColor):Ro.TRANSPARENT,Ee=typeof D=="string"?AA(T,D):D===null?Ro.TRANSPARENT:4294967295;return I===Q.documentElement?GA(le)?GA(ge)?Ee:ge:le:Ee};return Are})}(Hb)),Hb.exports}/*!
- * html2pdf.js v0.10.2
- * Copyright (c) 2024 Erik Koopmans
- * Released under the MIT License.
- */var QN;function GTe(){return QN||(QN=1,function(e,t){(function(r,i){e.exports=i(KTe,zTe())})(self,function(n,r){return function(){var i={"./src/plugin/hyperlinks.js":function(s,u,l){l.r(u),l("./node_modules/core-js/modules/web.dom-collections.for-each.js"),l("./node_modules/core-js/modules/es.string.link.js");var c=l("./src/worker.js"),d=l("./src/utils.js"),f=[],g={toContainer:c.default.prototype.toContainer,toPdf:c.default.prototype.toPdf};c.default.prototype.toContainer=function(){return g.toContainer.call(this).then(function(){if(this.opt.enableLinks){var p=this.prop.container,v=p.querySelectorAll("a"),y=(0,d.unitConvert)(p.getBoundingClientRect(),this.prop.pageSize.k);f=[],Array.prototype.forEach.call(v,function(b){for(var w=b.getClientRects(),C=0;C<w.length;C++){var B=(0,d.unitConvert)(w[C],this.prop.pageSize.k);B.left-=y.left,B.top-=y.top;var O=Math.floor(B.top/this.prop.pageSize.inner.height)+1,x=this.opt.margin[0]+B.top%this.prop.pageSize.inner.height,M=this.opt.margin[1]+B.left;f.push({page:O,top:x,left:M,clientRect:B,link:b})}},this)}})},c.default.prototype.toPdf=function(){return g.toPdf.call(this).then(function(){if(this.opt.enableLinks){f.forEach(function(v){this.prop.pdf.setPage(v.page),this.prop.pdf.link(v.left,v.top,v.clientRect.width,v.clientRect.height,{url:v.link.href})},this);var p=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(p)}})}},"./src/plugin/jspdf-plugin.js":function(s,u,l){l.r(u),l("./node_modules/core-js/modules/es.symbol.js"),l("./node_modules/core-js/modules/es.symbol.description.js"),l("./node_modules/core-js/modules/es.object.to-string.js"),l("./node_modules/core-js/modules/es.symbol.iterator.js"),l("./node_modules/core-js/modules/es.array.iterator.js"),l("./node_modules/core-js/modules/es.string.iterator.js"),l("./node_modules/core-js/modules/web.dom-collections.iterator.js");var c=l("jspdf");function d(f){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?d=function(h){return typeof h}:d=function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},d(f)}c.jsPDF.getPageSize=function(f,g,h){if(d(f)==="object"){var m=f;f=m.orientation,g=m.unit||g,h=m.format||h}g=g||"mm",h=h||"a4",f=(""+(f||"P")).toLowerCase();var p=(""+h).toLowerCase(),v={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(g){case"pt":var y=1;break;case"mm":var y=72/25.4;break;case"cm":var y=72/2.54;break;case"in":var y=72;break;case"px":var y=72/96;break;case"pc":var y=12;break;case"em":var y=12;break;case"ex":var y=6;break;default:throw"Invalid unit: "+g}if(v.hasOwnProperty(p))var b=v[p][1]/y,w=v[p][0]/y;else try{var b=h[1],w=h[0]}catch{throw new Error("Invalid format: "+h)}if(f==="p"||f==="portrait"){if(f="p",w>b){var C=w;w=b,b=C}}else if(f==="l"||f==="landscape"){if(f="l",b>w){var C=w;w=b,b=C}}else throw"Invalid orientation: "+f;var B={width:w,height:b,unit:g,k:y};return B},u.default=c.jsPDF},"./src/plugin/pagebreaks.js":function(s,u,l){l.r(u),l("./node_modules/core-js/modules/es.array.concat.js"),l("./node_modules/core-js/modules/es.array.slice.js"),l("./node_modules/core-js/modules/es.array.join.js"),l("./node_modules/core-js/modules/web.dom-collections.for-each.js"),l("./node_modules/core-js/modules/es.object.keys.js");var c=l("./src/worker.js"),d=l("./src/utils.js"),f={toContainer:c.default.prototype.toContainer};c.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},c.default.prototype.toContainer=function(){return f.toContainer.call(this).then(function(){var m=this.prop.container,p=this.prop.pageSize.inner.px.height,v=[].concat(this.opt.pagebreak.mode),y={avoidAll:v.indexOf("avoid-all")!==-1,css:v.indexOf("css")!==-1,legacy:v.indexOf("legacy")!==-1},b={},w=this;["before","after","avoid"].forEach(function(O){var x=y.avoidAll&&O==="avoid";b[O]=x?[]:[].concat(w.opt.pagebreak[O]||[]),b[O].length>0&&(b[O]=Array.prototype.slice.call(m.querySelectorAll(b[O].join(", "))))});var C=m.querySelectorAll(".html2pdf__page-break");C=Array.prototype.slice.call(C);var B=m.querySelectorAll("*");Array.prototype.forEach.call(B,function(x){var M={before:!1,after:y.legacy&&C.indexOf(x)!==-1,avoid:y.avoidAll};if(y.css){var R=window.getComputedStyle(x),F=["always","page","left","right"],L=["avoid","avoid-page"];M={before:M.before||F.indexOf(R.breakBefore||R.pageBreakBefore)!==-1,after:M.after||F.indexOf(R.breakAfter||R.pageBreakAfter)!==-1,avoid:M.avoid||L.indexOf(R.breakInside||R.pageBreakInside)!==-1}}Object.keys(M).forEach(function(q){M[q]=M[q]||b[q].indexOf(x)!==-1});var E=x.getBoundingClientRect();if(M.avoid&&!M.before){var H=Math.floor(E.top/p),X=Math.floor(E.bottom/p),z=Math.abs(E.bottom-E.top)/p;X!==H&&z<=1&&(M.before=!0)}if(M.before){var Z=(0,d.createElement)("div",{style:{display:"block",height:p-E.top%p+"px"}});x.parentNode.insertBefore(Z,x)}if(M.after){var Z=(0,d.createElement)("div",{style:{display:"block",height:p-E.bottom%p+"px"}});x.parentNode.insertBefore(Z,x.nextSibling)}})})}},"./src/utils.js":function(s,u,l){l.r(u),l.d(u,{objType:function(){return d},createElement:function(){return f},cloneNode:function(){return g},unitConvert:function(){return h},toPx:function(){return m}}),l("./node_modules/core-js/modules/es.number.constructor.js"),l("./node_modules/core-js/modules/es.symbol.js"),l("./node_modules/core-js/modules/es.symbol.description.js"),l("./node_modules/core-js/modules/es.object.to-string.js"),l("./node_modules/core-js/modules/es.symbol.iterator.js"),l("./node_modules/core-js/modules/es.array.iterator.js"),l("./node_modules/core-js/modules/es.string.iterator.js"),l("./node_modules/core-js/modules/web.dom-collections.iterator.js");function c(p){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?c=function(y){return typeof y}:c=function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},c(p)}var d=function(v){var y=c(v);return y==="undefined"?"undefined":y==="string"||v instanceof String?"string":y==="number"||v instanceof Number?"number":y==="function"||v instanceof Function?"function":v&&v.constructor===Array?"array":v&&v.nodeType===1?"element":y==="object"?"object":"unknown"},f=function(v,y){var b=document.createElement(v);if(y.className&&(b.className=y.className),y.innerHTML){b.innerHTML=y.innerHTML;for(var w=b.getElementsByTagName("script"),C=w.length;C-- >0;null)w[C].parentNode.removeChild(w[C])}for(var B in y.style)b.style[B]=y.style[B];return b},g=function p(v,y){for(var b=v.nodeType===3?document.createTextNode(v.nodeValue):v.cloneNode(!1),w=v.firstChild;w;w=w.nextSibling)(y===!0||w.nodeType!==1||w.nodeName!=="SCRIPT")&&b.appendChild(p(w,y));return v.nodeType===1&&(v.nodeName==="CANVAS"?(b.width=v.width,b.height=v.height,b.getContext("2d").drawImage(v,0,0)):(v.nodeName==="TEXTAREA"||v.nodeName==="SELECT")&&(b.value=v.value),b.addEventListener("load",function(){b.scrollTop=v.scrollTop,b.scrollLeft=v.scrollLeft},!0)),b},h=function(v,y){if(d(v)==="number")return v*72/96/y;var b={};for(var w in v)b[w]=v[w]*72/96/y;return b},m=function(v,y){return Math.floor(v*y/72*96)}},"./src/worker.js":function(s,u,l){l.r(u),l("./node_modules/core-js/modules/es.object.assign.js"),l("./node_modules/core-js/modules/es.array.map.js"),l("./node_modules/core-js/modules/es.object.keys.js"),l("./node_modules/core-js/modules/es.array.concat.js"),l("./node_modules/core-js/modules/es.object.to-string.js"),l("./node_modules/core-js/modules/es.regexp.to-string.js"),l("./node_modules/core-js/modules/es.function.name.js"),l("./node_modules/core-js/modules/web.dom-collections.for-each.js");var c=l("jspdf"),d=l("html2canvas"),f=l("./src/utils.js"),g=l("./node_modules/es6-promise/dist/es6-promise.js"),h=l.n(g),m=h().Promise,p=function v(y){var b=Object.assign(v.convert(m.resolve()),JSON.parse(JSON.stringify(v.template))),w=v.convert(m.resolve(),b);return w=w.setProgress(1,v,1,[v]),w=w.set(y),w};p.prototype=Object.create(m.prototype),p.prototype.constructor=p,p.convert=function(y,b){return y.__proto__=b||p.prototype,y},p.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},p.prototype.from=function(y,b){function w(C){switch((0,f.objType)(C)){case"string":return"string";case"element":return C.nodeName.toLowerCase&&C.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(b=b||w(y),b){case"string":return this.set({src:(0,f.createElement)("div",{innerHTML:y})});case"element":return this.set({src:y});case"canvas":return this.set({canvas:y});case"img":return this.set({img:y});default:return this.error("Unknown source type.")}})},p.prototype.to=function(y){switch(y){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},p.prototype.toContainer=function(){var y=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(y).then(function(){var w={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},C={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};w.opacity=0;var B=(0,f.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,f.createElement)("div",{className:"html2pdf__overlay",style:w}),this.prop.container=(0,f.createElement)("div",{className:"html2pdf__container",style:C}),this.prop.container.appendChild(B),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},p.prototype.toCanvas=function(){var y=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(y).then(function(){var w=Object.assign({},this.opt.html2canvas);return delete w.onrendered,d(this.prop.container,w)}).then(function(w){var C=this.opt.html2canvas.onrendered||function(){};C(w),this.prop.canvas=w,document.body.removeChild(this.prop.overlay)})},p.prototype.toImg=function(){var y=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(y).then(function(){var w=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=w})},p.prototype.toPdf=function(){var y=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(y).then(function(){var w=this.prop.canvas,C=this.opt,B=w.height,O=Math.floor(w.width*this.prop.pageSize.inner.ratio),x=Math.ceil(B/O),M=this.prop.pageSize.inner.height,R=document.createElement("canvas"),F=R.getContext("2d");R.width=w.width,R.height=O,this.prop.pdf=this.prop.pdf||new c.jsPDF(C.jsPDF);for(var L=0;L<x;L++){L===x-1&&B%O!==0&&(R.height=B%O,M=R.height*this.prop.pageSize.inner.width/R.width);var E=R.width,H=R.height;F.fillStyle="white",F.fillRect(0,0,E,H),F.drawImage(w,0,L*O,E,H,0,0,E,H),L&&this.prop.pdf.addPage();var X=R.toDataURL("image/"+C.image.type,C.image.quality);this.prop.pdf.addImage(X,C.image.type,C.margin[1],C.margin[0],this.prop.pageSize.inner.width,M)}})},p.prototype.output=function(y,b,w){return w=w||"pdf",w.toLowerCase()==="img"||w.toLowerCase()==="image"?this.outputImg(y,b):this.outputPdf(y,b)},p.prototype.outputPdf=function(y,b){var w=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(w).then(function(){return this.prop.pdf.output(y,b)})},p.prototype.outputImg=function(y,b){var w=[function(){return this.prop.img||this.toImg()}];return this.thenList(w).then(function(){switch(y){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+y+'" is not supported.'}})},p.prototype.save=function(y){var b=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(b).set(y?{filename:y}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},p.prototype.set=function(y){if((0,f.objType)(y)!=="object")return this;var b=Object.keys(y||{}).map(function(w){switch(w){case"margin":return this.setMargin.bind(this,y.margin);case"jsPDF":return function(){return this.opt.jsPDF=y.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,y.pageSize);default:return w in p.template.prop?function(){this.prop[w]=y[w]}:function(){this.opt[w]=y[w]}}},this);return this.then(function(){return this.thenList(b)})},p.prototype.get=function(y,b){return this.then(function(){var C=y in p.template.prop?this.prop[y]:this.opt[y];return b?b(C):C})},p.prototype.setMargin=function(y){return this.then(function(){switch((0,f.objType)(y)){case"number":y=[y,y,y,y];case"array":if(y.length===2&&(y=[y[0],y[1],y[0],y[1]]),y.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=y}).then(this.setPageSize)},p.prototype.setPageSize=function(y){return this.then(function(){y=y||c.jsPDF.getPageSize(this.opt.jsPDF),y.hasOwnProperty("inner")||(y.inner={width:y.width-this.opt.margin[1]-this.opt.margin[3],height:y.height-this.opt.margin[0]-this.opt.margin[2]},y.inner.px={width:(0,f.toPx)(y.inner.width,y.k),height:(0,f.toPx)(y.inner.height,y.k)},y.inner.ratio=y.inner.height/y.inner.width),this.prop.pageSize=y})},p.prototype.setProgress=function(y,b,w,C){return y!=null&&(this.progress.val=y),b!=null&&(this.progress.state=b),w!=null&&(this.progress.n=w),C!=null&&(this.progress.stack=C),this.progress.ratio=this.progress.val/this.progress.state,this},p.prototype.updateProgress=function(y,b,w,C){return this.setProgress(y?this.progress.val+y:null,b||null,w?this.progress.n+w:null,C?this.progress.stack.concat(C):null)},p.prototype.then=function(y,b){var w=this;return this.thenCore(y,b,function(B,O){return w.updateProgress(null,null,1,[B]),m.prototype.then.call(this,function(M){return w.updateProgress(null,B),M}).then(B,O).then(function(M){return w.updateProgress(1),M})})},p.prototype.thenCore=function(y,b,w){w=w||m.prototype.then;var C=this;y&&(y=y.bind(C)),b&&(b=b.bind(C));var B=m.toString().indexOf("[native code]")!==-1&&m.name==="Promise",O=B?C:p.convert(Object.assign({},C),m.prototype),x=w.call(O,y,b);return p.convert(x,C.__proto__)},p.prototype.thenExternal=function(y,b){return m.prototype.then.call(this,y,b)},p.prototype.thenList=function(y){var b=this;return y.forEach(function(C){b=b.thenCore(C)}),b},p.prototype.catch=function(v){v&&(v=v.bind(this));var y=m.prototype.catch.call(this,v);return p.convert(y,this)},p.prototype.catchExternal=function(y){return m.prototype.catch.call(this,y)},p.prototype.error=function(y){return this.then(function(){throw new Error(y)})},p.prototype.using=p.prototype.set,p.prototype.saveAs=p.prototype.save,p.prototype.export=p.prototype.output,p.prototype.run=p.prototype.then,u.default=p},"./node_modules/core-js/internals/a-function.js":function(s){s.exports=function(u){if(typeof u!="function")throw TypeError(String(u)+" is not a function");return u}},"./node_modules/core-js/internals/a-possible-prototype.js":function(s,u,l){var c=l("./node_modules/core-js/internals/is-object.js");s.exports=function(d){if(!c(d)&&d!==null)throw TypeError("Can't set "+String(d)+" as a prototype");return d}},"./node_modules/core-js/internals/add-to-unscopables.js":function(s,u,l){var c=l("./node_modules/core-js/internals/well-known-symbol.js"),d=l("./node_modules/core-js/internals/object-create.js"),f=l("./node_modules/core-js/internals/object-define-property.js"),g=c("unscopables"),h=Array.prototype;h[g]==null&&f.f(h,g,{configurable:!0,value:d(null)}),s.exports=function(m){h[g][m]=!0}},"./node_modules/core-js/internals/an-object.js":function(s,u,l){var c=l("./node_modules/core-js/internals/is-object.js");s.exports=function(d){if(!c(d))throw TypeError(String(d)+" is not an object");return d}},"./node_modules/core-js/internals/array-for-each.js":function(s,u,l){var c=l("./node_modules/core-js/internals/array-iteration.js").forEach,d=l("./node_modules/core-js/internals/array-method-is-strict.js"),f=d("forEach");s.exports=f?[].forEach:function(h){return c(this,h,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(s,u,l){var c=l("./node_modules/core-js/internals/to-indexed-object.js"),d=l("./node_modules/core-js/internals/to-length.js"),f=l("./node_modules/core-js/internals/to-absolute-index.js"),g=function(h){return function(m,p,v){var y=c(m),b=d(y.length),w=f(v,b),C;if(h&&p!=p){for(;b>w;)if(C=y[w++],C!=C)return!0}else for(;b>w;w++)if((h||w in y)&&y[w]===p)return h||w||0;return!h&&-1}};s.exports={includes:g(!0),indexOf:g(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(s,u,l){var c=l("./node_modules/core-js/internals/function-bind-context.js"),d=l("./node_modules/core-js/internals/indexed-object.js"),f=l("./node_modules/core-js/internals/to-object.js"),g=l("./node_modules/core-js/internals/to-length.js"),h=l("./node_modules/core-js/internals/array-species-create.js"),m=[].push,p=function(v){var y=v==1,b=v==2,w=v==3,C=v==4,B=v==6,O=v==7,x=v==5||B;return function(M,R,F,L){for(var E=f(M),H=d(E),X=c(R,F,3),z=g(H.length),Z=0,q=L||h,te=y?q(M,z):b||O?q(M,0):void 0,ne,_;z>Z;Z++)if((x||Z in H)&&(ne=H[Z],_=X(ne,Z,E),v))if(y)te[Z]=_;else if(_)switch(v){case 3:return!0;case 5:return ne;case 6:return Z;case 2:m.call(te,ne)}else switch(v){case 4:return!1;case 7:m.call(te,ne)}return B?-1:w||C?C:te}};s.exports={forEach:p(0),map:p(1),filter:p(2),some:p(3),every:p(4),find:p(5),findIndex:p(6),filterReject:p(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(s,u,l){var c=l("./node_modules/core-js/internals/fails.js"),d=l("./node_modules/core-js/internals/well-known-symbol.js"),f=l("./node_modules/core-js/internals/engine-v8-version.js"),g=d("species");s.exports=function(h){return f>=51||!c(function(){var m=[],p=m.constructor={};return p[g]=function(){return{foo:1}},m[h](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(s,u,l){var c=l("./node_modules/core-js/internals/fails.js");s.exports=function(d,f){var g=[][d];return!!g&&c(function(){g.call(null,f||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(s,u,l){var c=l("./node_modules/core-js/internals/is-object.js"),d=l("./node_modules/core-js/internals/is-array.js"),f=l("./node_modules/core-js/internals/well-known-symbol.js"),g=f("species");s.exports=function(h){var m;return d(h)&&(m=h.constructor,typeof m=="function"&&(m===Array||d(m.prototype))?m=void 0:c(m)&&(m=m[g],m===null&&(m=void 0))),m===void 0?Array:m}},"./node_modules/core-js/internals/array-species-create.js":function(s,u,l){var c=l("./node_modules/core-js/internals/array-species-constructor.js");s.exports=function(d,f){return new(c(d))(f===0?0:f)}},"./node_modules/core-js/internals/classof-raw.js":function(s){var u={}.toString;s.exports=function(l){return u.call(l).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(s,u,l){var c=l("./node_modules/core-js/internals/to-string-tag-support.js"),d=l("./node_modules/core-js/internals/classof-raw.js"),f=l("./node_modules/core-js/internals/well-known-symbol.js"),g=f("toStringTag"),h=d(function(){return arguments}())=="Arguments",m=function(p,v){try{return p[v]}catch{}};s.exports=c?d:function(p){var v,y,b;return p===void 0?"Undefined":p===null?"Null":typeof(y=m(v=Object(p),g))=="string"?y:h?d(v):(b=d(v))=="Object"&&typeof v.callee=="function"?"Arguments":b}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(s,u,l){var c=l("./node_modules/core-js/internals/has.js"),d=l("./node_modules/core-js/internals/own-keys.js"),f=l("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),g=l("./node_modules/core-js/internals/object-define-property.js");s.exports=function(h,m){for(var p=d(m),v=g.f,y=f.f,b=0;b<p.length;b++){var w=p[b];c(h,w)||v(h,w,y(m,w))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(s,u,l){var c=l("./node_modules/core-js/internals/fails.js");s.exports=!c(function(){function d(){}return d.prototype.constructor=null,Object.getPrototypeOf(new d)!==d.prototype})},"./node_modules/core-js/internals/create-html.js":function(s,u,l){var c=l("./node_modules/core-js/internals/require-object-coercible.js"),d=l("./node_modules/core-js/internals/to-string.js"),f=/"/g;s.exports=function(g,h,m,p){var v=d(c(g)),y="<"+h;return m!==""&&(y+=" "+m+'="'+d(p).replace(f,""")+'"'),y+">"+v+"</"+h+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(s,u,l){var c=l("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,d=l("./node_modules/core-js/internals/object-create.js"),f=l("./node_modules/core-js/internals/create-property-descriptor.js"),g=l("./node_modules/core-js/internals/set-to-string-tag.js"),h=l("./node_modules/core-js/internals/iterators.js"),m=function(){return this};s.exports=function(p,v,y){var b=v+" Iterator";return p.prototype=d(c,{next:f(1,y)}),g(p,b,!1,!0),h[b]=m,p}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(s,u,l){var c=l("./node_modules/core-js/internals/descriptors.js"),d=l("./node_modules/core-js/internals/object-define-property.js"),f=l("./node_modules/core-js/internals/create-property-descriptor.js");s.exports=c?function(g,h,m){return d.f(g,h,f(1,m))}:function(g,h,m){return g[h]=m,g}},"./node_modules/core-js/internals/create-property-descriptor.js":function(s){s.exports=function(u,l){return{enumerable:!(u&1),configurable:!(u&2),writable:!(u&4),value:l}}},"./node_modules/core-js/internals/create-property.js":function(s,u,l){var c=l("./node_modules/core-js/internals/to-property-key.js"),d=l("./node_modules/core-js/internals/object-define-property.js"),f=l("./node_modules/core-js/internals/create-property-descriptor.js");s.exports=function(g,h,m){var p=c(h);p in g?d.f(g,p,f(0,m)):g[p]=m}},"./node_modules/core-js/internals/define-iterator.js":function(s,u,l){var c=l("./node_modules/core-js/internals/export.js"),d=l("./node_modules/core-js/internals/create-iterator-constructor.js"),f=l("./node_modules/core-js/internals/object-get-prototype-of.js"),g=l("./node_modules/core-js/internals/object-set-prototype-of.js"),h=l("./node_modules/core-js/internals/set-to-string-tag.js"),m=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),p=l("./node_modules/core-js/internals/redefine.js"),v=l("./node_modules/core-js/internals/well-known-symbol.js"),y=l("./node_modules/core-js/internals/is-pure.js"),b=l("./node_modules/core-js/internals/iterators.js"),w=l("./node_modules/core-js/internals/iterators-core.js"),C=w.IteratorPrototype,B=w.BUGGY_SAFARI_ITERATORS,O=v("iterator"),x="keys",M="values",R="entries",F=function(){return this};s.exports=function(L,E,H,X,z,Z,q){d(H,E,X);var te=function(ae){if(ae===z&&se)return se;if(!B&&ae in Y)return Y[ae];switch(ae){case x:return function(){return new H(this,ae)};case M:return function(){return new H(this,ae)};case R:return function(){return new H(this,ae)}}return function(){return new H(this)}},ne=E+" Iterator",_=!1,Y=L.prototype,re=Y[O]||Y["@@iterator"]||z&&Y[z],se=!B&&re||te(z),ce=E=="Array"&&Y.entries||re,N,K,Ae;if(ce&&(N=f(ce.call(new L)),C!==Object.prototype&&N.next&&(!y&&f(N)!==C&&(g?g(N,C):typeof N[O]!="function"&&m(N,O,F)),h(N,ne,!0,!0),y&&(b[ne]=F))),z==M&&re&&re.name!==M&&(_=!0,se=function(){return re.call(this)}),(!y||q)&&Y[O]!==se&&m(Y,O,se),b[E]=se,z)if(K={values:te(M),keys:Z?se:te(x),entries:te(R)},q)for(Ae in K)(B||_||!(Ae in Y))&&p(Y,Ae,K[Ae]);else c({target:E,proto:!0,forced:B||_},K);return K}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(s,u,l){var c=l("./node_modules/core-js/internals/path.js"),d=l("./node_modules/core-js/internals/has.js"),f=l("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),g=l("./node_modules/core-js/internals/object-define-property.js").f;s.exports=function(h){var m=c.Symbol||(c.Symbol={});d(m,h)||g(m,h,{value:f.f(h)})}},"./node_modules/core-js/internals/descriptors.js":function(s,u,l){var c=l("./node_modules/core-js/internals/fails.js");s.exports=!c(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(s,u,l){var c=l("./node_modules/core-js/internals/global.js"),d=l("./node_modules/core-js/internals/is-object.js"),f=c.document,g=d(f)&&d(f.createElement);s.exports=function(h){return g?f.createElement(h):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(s){s.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}},"./node_modules/core-js/internals/engine-user-agent.js":function(s,u,l){var c=l("./node_modules/core-js/internals/get-built-in.js");s.exports=c("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(s,u,l){var c=l("./node_modules/core-js/internals/global.js"),d=l("./node_modules/core-js/internals/engine-user-agent.js"),f=c.process,g=c.Deno,h=f&&f.versions||g&&g.version,m=h&&h.v8,p,v;m?(p=m.split("."),v=p[0]<4?1:p[0]+p[1]):d&&(p=d.match(/Edge\/(\d+)/),(!p||p[1]>=74)&&(p=d.match(/Chrome\/(\d+)/),p&&(v=p[1]))),s.exports=v&&+v},"./node_modules/core-js/internals/enum-bug-keys.js":function(s){s.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(s,u,l){var c=l("./node_modules/core-js/internals/global.js"),d=l("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,f=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),g=l("./node_modules/core-js/internals/redefine.js"),h=l("./node_modules/core-js/internals/set-global.js"),m=l("./node_modules/core-js/internals/copy-constructor-properties.js"),p=l("./node_modules/core-js/internals/is-forced.js");s.exports=function(v,y){var b=v.target,w=v.global,C=v.stat,B,O,x,M,R,F;if(w?O=c:C?O=c[b]||h(b,{}):O=(c[b]||{}).prototype,O)for(x in y){if(R=y[x],v.noTargetGet?(F=d(O,x),M=F&&F.value):M=O[x],B=p(w?x:b+(C?".":"#")+x,v.forced),!B&&M!==void 0){if(typeof R==typeof M)continue;m(R,M)}(v.sham||M&&M.sham)&&f(R,"sham",!0),g(O,x,R,v)}}},"./node_modules/core-js/internals/fails.js":function(s){s.exports=function(u){try{return!!u()}catch{return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(s,u,l){var c=l("./node_modules/core-js/internals/a-function.js");s.exports=function(d,f,g){if(c(d),f===void 0)return d;switch(g){case 0:return function(){return d.call(f)};case 1:return function(h){return d.call(f,h)};case 2:return function(h,m){return d.call(f,h,m)};case 3:return function(h,m,p){return d.call(f,h,m,p)}}return function(){return d.apply(f,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(s,u,l){var c=l("./node_modules/core-js/internals/global.js"),d=function(f){return typeof f=="function"?f:void 0};s.exports=function(f,g){return arguments.length<2?d(c[f]):c[f]&&c[f][g]}},"./node_modules/core-js/internals/global.js":function(s){var u=function(l){return l&&l.Math==Math&&l};s.exports=u(typeof globalThis=="object"&&globalThis)||u(typeof window=="object"&&window)||u(typeof self=="object"&&self)||u(typeof vs=="object"&&vs)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(s,u,l){var c=l("./node_modules/core-js/internals/to-object.js"),d={}.hasOwnProperty;s.exports=Object.hasOwn||function(g,h){return d.call(c(g),h)}},"./node_modules/core-js/internals/hidden-keys.js":function(s){s.exports={}},"./node_modules/core-js/internals/html.js":function(s,u,l){var c=l("./node_modules/core-js/internals/get-built-in.js");s.exports=c("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(s,u,l){var c=l("./node_modules/core-js/internals/descriptors.js"),d=l("./node_modules/core-js/internals/fails.js"),f=l("./node_modules/core-js/internals/document-create-element.js");s.exports=!c&&!d(function(){return Object.defineProperty(f("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(s,u,l){var c=l("./node_modules/core-js/internals/fails.js"),d=l("./node_modules/core-js/internals/classof-raw.js"),f="".split;s.exports=c(function(){return!Object("z").propertyIsEnumerable(0)})?function(g){return d(g)=="String"?f.call(g,""):Object(g)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(s,u,l){var c=l("./node_modules/core-js/internals/is-object.js"),d=l("./node_modules/core-js/internals/object-set-prototype-of.js");s.exports=function(f,g,h){var m,p;return d&&typeof(m=g.constructor)=="function"&&m!==h&&c(p=m.prototype)&&p!==h.prototype&&d(f,p),f}},"./node_modules/core-js/internals/inspect-source.js":function(s,u,l){var c=l("./node_modules/core-js/internals/shared-store.js"),d=Function.toString;typeof c.inspectSource!="function"&&(c.inspectSource=function(f){return d.call(f)}),s.exports=c.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(s,u,l){var c=l("./node_modules/core-js/internals/native-weak-map.js"),d=l("./node_modules/core-js/internals/global.js"),f=l("./node_modules/core-js/internals/is-object.js"),g=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),h=l("./node_modules/core-js/internals/has.js"),m=l("./node_modules/core-js/internals/shared-store.js"),p=l("./node_modules/core-js/internals/shared-key.js"),v=l("./node_modules/core-js/internals/hidden-keys.js"),y="Object already initialized",b=d.WeakMap,w,C,B,O=function(H){return B(H)?C(H):w(H,{})},x=function(H){return function(X){var z;if(!f(X)||(z=C(X)).type!==H)throw TypeError("Incompatible receiver, "+H+" required");return z}};if(c||m.state){var M=m.state||(m.state=new b),R=M.get,F=M.has,L=M.set;w=function(H,X){if(F.call(M,H))throw new TypeError(y);return X.facade=H,L.call(M,H,X),X},C=function(H){return R.call(M,H)||{}},B=function(H){return F.call(M,H)}}else{var E=p("state");v[E]=!0,w=function(H,X){if(h(H,E))throw new TypeError(y);return X.facade=H,g(H,E,X),X},C=function(H){return h(H,E)?H[E]:{}},B=function(H){return h(H,E)}}s.exports={set:w,get:C,has:B,enforce:O,getterFor:x}},"./node_modules/core-js/internals/is-array.js":function(s,u,l){var c=l("./node_modules/core-js/internals/classof-raw.js");s.exports=Array.isArray||function(f){return c(f)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(s,u,l){var c=l("./node_modules/core-js/internals/fails.js"),d=/#|\.prototype\./,f=function(v,y){var b=h[g(v)];return b==p?!0:b==m?!1:typeof y=="function"?c(y):!!y},g=f.normalize=function(v){return String(v).replace(d,".").toLowerCase()},h=f.data={},m=f.NATIVE="N",p=f.POLYFILL="P";s.exports=f},"./node_modules/core-js/internals/is-object.js":function(s){s.exports=function(u){return typeof u=="object"?u!==null:typeof u=="function"}},"./node_modules/core-js/internals/is-pure.js":function(s){s.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(s,u,l){var c=l("./node_modules/core-js/internals/get-built-in.js"),d=l("./node_modules/core-js/internals/use-symbol-as-uid.js");s.exports=d?function(f){return typeof f=="symbol"}:function(f){var g=c("Symbol");return typeof g=="function"&&Object(f)instanceof g}},"./node_modules/core-js/internals/iterators-core.js":function(s,u,l){var c=l("./node_modules/core-js/internals/fails.js"),d=l("./node_modules/core-js/internals/object-get-prototype-of.js"),f=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),g=l("./node_modules/core-js/internals/has.js"),h=l("./node_modules/core-js/internals/well-known-symbol.js"),m=l("./node_modules/core-js/internals/is-pure.js"),p=h("iterator"),v=!1,y=function(){return this},b,w,C;[].keys&&(C=[].keys(),"next"in C?(w=d(d(C)),w!==Object.prototype&&(b=w)):v=!0);var B=b==null||c(function(){var O={};return b[p].call(O)!==O});B&&(b={}),(!m||B)&&!g(b,p)&&f(b,p,y),s.exports={IteratorPrototype:b,BUGGY_SAFARI_ITERATORS:v}},"./node_modules/core-js/internals/iterators.js":function(s){s.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(s,u,l){var c=l("./node_modules/core-js/internals/engine-v8-version.js"),d=l("./node_modules/core-js/internals/fails.js");s.exports=!!Object.getOwnPropertySymbols&&!d(function(){var f=Symbol();return!String(f)||!(Object(f)instanceof Symbol)||!Symbol.sham&&c&&c<41})},"./node_modules/core-js/internals/native-weak-map.js":function(s,u,l){var c=l("./node_modules/core-js/internals/global.js"),d=l("./node_modules/core-js/internals/inspect-source.js"),f=c.WeakMap;s.exports=typeof f=="function"&&/native code/.test(d(f))},"./node_modules/core-js/internals/object-assign.js":function(s,u,l){var c=l("./node_modules/core-js/internals/descriptors.js"),d=l("./node_modules/core-js/internals/fails.js"),f=l("./node_modules/core-js/internals/object-keys.js"),g=l("./node_modules/core-js/internals/object-get-own-property-symbols.js"),h=l("./node_modules/core-js/internals/object-property-is-enumerable.js"),m=l("./node_modules/core-js/internals/to-object.js"),p=l("./node_modules/core-js/internals/indexed-object.js"),v=Object.assign,y=Object.defineProperty;s.exports=!v||d(function(){if(c&&v({b:1},v(y({},"a",{enumerable:!0,get:function(){y(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},w={},C=Symbol(),B="abcdefghijklmnopqrst";return b[C]=7,B.split("").forEach(function(O){w[O]=O}),v({},b)[C]!=7||f(v({},w)).join("")!=B})?function(w,C){for(var B=m(w),O=arguments.length,x=1,M=g.f,R=h.f;O>x;)for(var F=p(arguments[x++]),L=M?f(F).concat(M(F)):f(F),E=L.length,H=0,X;E>H;)X=L[H++],(!c||R.call(F,X))&&(B[X]=F[X]);return B}:v},"./node_modules/core-js/internals/object-create.js":function(s,u,l){var c=l("./node_modules/core-js/internals/an-object.js"),d=l("./node_modules/core-js/internals/object-define-properties.js"),f=l("./node_modules/core-js/internals/enum-bug-keys.js"),g=l("./node_modules/core-js/internals/hidden-keys.js"),h=l("./node_modules/core-js/internals/html.js"),m=l("./node_modules/core-js/internals/document-create-element.js"),p=l("./node_modules/core-js/internals/shared-key.js"),v=">",y="<",b="prototype",w="script",C=p("IE_PROTO"),B=function(){},O=function(L){return y+w+v+L+y+"/"+w+v},x=function(L){L.write(O("")),L.close();var E=L.parentWindow.Object;return L=null,E},M=function(){var L=m("iframe"),E="java"+w+":",H;if(L.style)return L.style.display="none",h.appendChild(L),L.src=String(E),H=L.contentWindow.document,H.open(),H.write(O("document.F=Object")),H.close(),H.F},R,F=function(){try{R=new ActiveXObject("htmlfile")}catch{}F=document.domain&&R?x(R):M()||x(R);for(var L=f.length;L--;)delete F[b][f[L]];return F()};g[C]=!0,s.exports=Object.create||function(E,H){var X;return E!==null?(B[b]=c(E),X=new B,B[b]=null,X[C]=E):X=F(),H===void 0?X:d(X,H)}},"./node_modules/core-js/internals/object-define-properties.js":function(s,u,l){var c=l("./node_modules/core-js/internals/descriptors.js"),d=l("./node_modules/core-js/internals/object-define-property.js"),f=l("./node_modules/core-js/internals/an-object.js"),g=l("./node_modules/core-js/internals/object-keys.js");s.exports=c?Object.defineProperties:function(m,p){f(m);for(var v=g(p),y=v.length,b=0,w;y>b;)d.f(m,w=v[b++],p[w]);return m}},"./node_modules/core-js/internals/object-define-property.js":function(s,u,l){var c=l("./node_modules/core-js/internals/descriptors.js"),d=l("./node_modules/core-js/internals/ie8-dom-define.js"),f=l("./node_modules/core-js/internals/an-object.js"),g=l("./node_modules/core-js/internals/to-property-key.js"),h=Object.defineProperty;u.f=c?h:function(p,v,y){if(f(p),v=g(v),f(y),d)try{return h(p,v,y)}catch{}if("get"in y||"set"in y)throw TypeError("Accessors not supported");return"value"in y&&(p[v]=y.value),p}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(s,u,l){var c=l("./node_modules/core-js/internals/descriptors.js"),d=l("./node_modules/core-js/internals/object-property-is-enumerable.js"),f=l("./node_modules/core-js/internals/create-property-descriptor.js"),g=l("./node_modules/core-js/internals/to-indexed-object.js"),h=l("./node_modules/core-js/internals/to-property-key.js"),m=l("./node_modules/core-js/internals/has.js"),p=l("./node_modules/core-js/internals/ie8-dom-define.js"),v=Object.getOwnPropertyDescriptor;u.f=c?v:function(b,w){if(b=g(b),w=h(w),p)try{return v(b,w)}catch{}if(m(b,w))return f(!d.f.call(b,w),b[w])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(s,u,l){var c=l("./node_modules/core-js/internals/to-indexed-object.js"),d=l("./node_modules/core-js/internals/object-get-own-property-names.js").f,f={}.toString,g=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],h=function(m){try{return d(m)}catch{return g.slice()}};s.exports.f=function(p){return g&&f.call(p)=="[object Window]"?h(p):d(c(p))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(s,u,l){var c=l("./node_modules/core-js/internals/object-keys-internal.js"),d=l("./node_modules/core-js/internals/enum-bug-keys.js"),f=d.concat("length","prototype");u.f=Object.getOwnPropertyNames||function(h){return c(h,f)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(s,u){u.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(s,u,l){var c=l("./node_modules/core-js/internals/has.js"),d=l("./node_modules/core-js/internals/to-object.js"),f=l("./node_modules/core-js/internals/shared-key.js"),g=l("./node_modules/core-js/internals/correct-prototype-getter.js"),h=f("IE_PROTO"),m=Object.prototype;s.exports=g?Object.getPrototypeOf:function(p){return p=d(p),c(p,h)?p[h]:typeof p.constructor=="function"&&p instanceof p.constructor?p.constructor.prototype:p instanceof Object?m:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(s,u,l){var c=l("./node_modules/core-js/internals/has.js"),d=l("./node_modules/core-js/internals/to-indexed-object.js"),f=l("./node_modules/core-js/internals/array-includes.js").indexOf,g=l("./node_modules/core-js/internals/hidden-keys.js");s.exports=function(h,m){var p=d(h),v=0,y=[],b;for(b in p)!c(g,b)&&c(p,b)&&y.push(b);for(;m.length>v;)c(p,b=m[v++])&&(~f(y,b)||y.push(b));return y}},"./node_modules/core-js/internals/object-keys.js":function(s,u,l){var c=l("./node_modules/core-js/internals/object-keys-internal.js"),d=l("./node_modules/core-js/internals/enum-bug-keys.js");s.exports=Object.keys||function(g){return c(g,d)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(s,u){var l={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,d=c&&!l.call({1:2},1);u.f=d?function(g){var h=c(this,g);return!!h&&h.enumerable}:l},"./node_modules/core-js/internals/object-set-prototype-of.js":function(s,u,l){var c=l("./node_modules/core-js/internals/an-object.js"),d=l("./node_modules/core-js/internals/a-possible-prototype.js");s.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var f=!1,g={},h;try{h=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,h.call(g,[]),f=g instanceof Array}catch{}return function(p,v){return c(p),d(v),f?h.call(p,v):p.__proto__=v,p}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(s,u,l){var c=l("./node_modules/core-js/internals/to-string-tag-support.js"),d=l("./node_modules/core-js/internals/classof.js");s.exports=c?{}.toString:function(){return"[object "+d(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(s,u,l){var c=l("./node_modules/core-js/internals/is-object.js");s.exports=function(d,f){var g,h;if(f==="string"&&typeof(g=d.toString)=="function"&&!c(h=g.call(d))||typeof(g=d.valueOf)=="function"&&!c(h=g.call(d))||f!=="string"&&typeof(g=d.toString)=="function"&&!c(h=g.call(d)))return h;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(s,u,l){var c=l("./node_modules/core-js/internals/get-built-in.js"),d=l("./node_modules/core-js/internals/object-get-own-property-names.js"),f=l("./node_modules/core-js/internals/object-get-own-property-symbols.js"),g=l("./node_modules/core-js/internals/an-object.js");s.exports=c("Reflect","ownKeys")||function(m){var p=d.f(g(m)),v=f.f;return v?p.concat(v(m)):p}},"./node_modules/core-js/internals/path.js":function(s,u,l){var c=l("./node_modules/core-js/internals/global.js");s.exports=c},"./node_modules/core-js/internals/redefine.js":function(s,u,l){var c=l("./node_modules/core-js/internals/global.js"),d=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),f=l("./node_modules/core-js/internals/has.js"),g=l("./node_modules/core-js/internals/set-global.js"),h=l("./node_modules/core-js/internals/inspect-source.js"),m=l("./node_modules/core-js/internals/internal-state.js"),p=m.get,v=m.enforce,y=String(String).split("String");(s.exports=function(b,w,C,B){var O=B?!!B.unsafe:!1,x=B?!!B.enumerable:!1,M=B?!!B.noTargetGet:!1,R;if(typeof C=="function"&&(typeof w=="string"&&!f(C,"name")&&d(C,"name",w),R=v(C),R.source||(R.source=y.join(typeof w=="string"?w:""))),b===c){x?b[w]=C:g(w,C);return}else O?!M&&b[w]&&(x=!0):delete b[w];x?b[w]=C:d(b,w,C)})(Function.prototype,"toString",function(){return typeof this=="function"&&p(this).source||h(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(s,u,l){var c=l("./node_modules/core-js/internals/an-object.js");s.exports=function(){var d=c(this),f="";return d.global&&(f+="g"),d.ignoreCase&&(f+="i"),d.multiline&&(f+="m"),d.dotAll&&(f+="s"),d.unicode&&(f+="u"),d.sticky&&(f+="y"),f}},"./node_modules/core-js/internals/require-object-coercible.js":function(s){s.exports=function(u){if(u==null)throw TypeError("Can't call method on "+u);return u}},"./node_modules/core-js/internals/set-global.js":function(s,u,l){var c=l("./node_modules/core-js/internals/global.js");s.exports=function(d,f){try{Object.defineProperty(c,d,{value:f,configurable:!0,writable:!0})}catch{c[d]=f}return f}},"./node_modules/core-js/internals/set-to-string-tag.js":function(s,u,l){var c=l("./node_modules/core-js/internals/object-define-property.js").f,d=l("./node_modules/core-js/internals/has.js"),f=l("./node_modules/core-js/internals/well-known-symbol.js"),g=f("toStringTag");s.exports=function(h,m,p){h&&!d(h=p?h:h.prototype,g)&&c(h,g,{configurable:!0,value:m})}},"./node_modules/core-js/internals/shared-key.js":function(s,u,l){var c=l("./node_modules/core-js/internals/shared.js"),d=l("./node_modules/core-js/internals/uid.js"),f=c("keys");s.exports=function(g){return f[g]||(f[g]=d(g))}},"./node_modules/core-js/internals/shared-store.js":function(s,u,l){var c=l("./node_modules/core-js/internals/global.js"),d=l("./node_modules/core-js/internals/set-global.js"),f="__core-js_shared__",g=c[f]||d(f,{});s.exports=g},"./node_modules/core-js/internals/shared.js":function(s,u,l){var c=l("./node_modules/core-js/internals/is-pure.js"),d=l("./node_modules/core-js/internals/shared-store.js");(s.exports=function(f,g){return d[f]||(d[f]=g!==void 0?g:{})})("versions",[]).push({version:"3.16.0",mode:c?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(s,u,l){var c=l("./node_modules/core-js/internals/fails.js");s.exports=function(d){return c(function(){var f=""[d]('"');return f!==f.toLowerCase()||f.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(s,u,l){var c=l("./node_modules/core-js/internals/to-integer.js"),d=l("./node_modules/core-js/internals/to-string.js"),f=l("./node_modules/core-js/internals/require-object-coercible.js"),g=function(h){return function(m,p){var v=d(f(m)),y=c(p),b=v.length,w,C;return y<0||y>=b?h?"":void 0:(w=v.charCodeAt(y),w<55296||w>56319||y+1===b||(C=v.charCodeAt(y+1))<56320||C>57343?h?v.charAt(y):w:h?v.slice(y,y+2):(w-55296<<10)+(C-56320)+65536)}};s.exports={codeAt:g(!1),charAt:g(!0)}},"./node_modules/core-js/internals/string-trim.js":function(s,u,l){var c=l("./node_modules/core-js/internals/require-object-coercible.js"),d=l("./node_modules/core-js/internals/to-string.js"),f=l("./node_modules/core-js/internals/whitespaces.js"),g="["+f+"]",h=RegExp("^"+g+g+"*"),m=RegExp(g+g+"*$"),p=function(v){return function(y){var b=d(c(y));return v&1&&(b=b.replace(h,"")),v&2&&(b=b.replace(m,"")),b}};s.exports={start:p(1),end:p(2),trim:p(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(s,u,l){var c=l("./node_modules/core-js/internals/to-integer.js"),d=Math.max,f=Math.min;s.exports=function(g,h){var m=c(g);return m<0?d(m+h,0):f(m,h)}},"./node_modules/core-js/internals/to-indexed-object.js":function(s,u,l){var c=l("./node_modules/core-js/internals/indexed-object.js"),d=l("./node_modules/core-js/internals/require-object-coercible.js");s.exports=function(f){return c(d(f))}},"./node_modules/core-js/internals/to-integer.js":function(s){var u=Math.ceil,l=Math.floor;s.exports=function(c){return isNaN(c=+c)?0:(c>0?l:u)(c)}},"./node_modules/core-js/internals/to-length.js":function(s,u,l){var c=l("./node_modules/core-js/internals/to-integer.js"),d=Math.min;s.exports=function(f){return f>0?d(c(f),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(s,u,l){var c=l("./node_modules/core-js/internals/require-object-coercible.js");s.exports=function(d){return Object(c(d))}},"./node_modules/core-js/internals/to-primitive.js":function(s,u,l){var c=l("./node_modules/core-js/internals/is-object.js"),d=l("./node_modules/core-js/internals/is-symbol.js"),f=l("./node_modules/core-js/internals/ordinary-to-primitive.js"),g=l("./node_modules/core-js/internals/well-known-symbol.js"),h=g("toPrimitive");s.exports=function(m,p){if(!c(m)||d(m))return m;var v=m[h],y;if(v!==void 0){if(p===void 0&&(p="default"),y=v.call(m,p),!c(y)||d(y))return y;throw TypeError("Can't convert object to primitive value")}return p===void 0&&(p="number"),f(m,p)}},"./node_modules/core-js/internals/to-property-key.js":function(s,u,l){var c=l("./node_modules/core-js/internals/to-primitive.js"),d=l("./node_modules/core-js/internals/is-symbol.js");s.exports=function(f){var g=c(f,"string");return d(g)?g:String(g)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(s,u,l){var c=l("./node_modules/core-js/internals/well-known-symbol.js"),d=c("toStringTag"),f={};f[d]="z",s.exports=String(f)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(s,u,l){var c=l("./node_modules/core-js/internals/is-symbol.js");s.exports=function(d){if(c(d))throw TypeError("Cannot convert a Symbol value to a string");return String(d)}},"./node_modules/core-js/internals/uid.js":function(s){var u=0,l=Math.random();s.exports=function(c){return"Symbol("+String(c===void 0?"":c)+")_"+(++u+l).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(s,u,l){var c=l("./node_modules/core-js/internals/native-symbol.js");s.exports=c&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(s,u,l){var c=l("./node_modules/core-js/internals/well-known-symbol.js");u.f=c},"./node_modules/core-js/internals/well-known-symbol.js":function(s,u,l){var c=l("./node_modules/core-js/internals/global.js"),d=l("./node_modules/core-js/internals/shared.js"),f=l("./node_modules/core-js/internals/has.js"),g=l("./node_modules/core-js/internals/uid.js"),h=l("./node_modules/core-js/internals/native-symbol.js"),m=l("./node_modules/core-js/internals/use-symbol-as-uid.js"),p=d("wks"),v=c.Symbol,y=m?v:v&&v.withoutSetter||g;s.exports=function(b){return(!f(p,b)||!(h||typeof p[b]=="string"))&&(h&&f(v,b)?p[b]=v[b]:p[b]=y("Symbol."+b)),p[b]}},"./node_modules/core-js/internals/whitespaces.js":function(s){s.exports=`
- \v\f\r \u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(s,u,l){var c=l("./node_modules/core-js/internals/export.js"),d=l("./node_modules/core-js/internals/fails.js"),f=l("./node_modules/core-js/internals/is-array.js"),g=l("./node_modules/core-js/internals/is-object.js"),h=l("./node_modules/core-js/internals/to-object.js"),m=l("./node_modules/core-js/internals/to-length.js"),p=l("./node_modules/core-js/internals/create-property.js"),v=l("./node_modules/core-js/internals/array-species-create.js"),y=l("./node_modules/core-js/internals/array-method-has-species-support.js"),b=l("./node_modules/core-js/internals/well-known-symbol.js"),w=l("./node_modules/core-js/internals/engine-v8-version.js"),C=b("isConcatSpreadable"),B=9007199254740991,O="Maximum allowed index exceeded",x=w>=51||!d(function(){var L=[];return L[C]=!1,L.concat()[0]!==L}),M=y("concat"),R=function(L){if(!g(L))return!1;var E=L[C];return E!==void 0?!!E:f(L)},F=!x||!M;c({target:"Array",proto:!0,forced:F},{concat:function(E){var H=h(this),X=v(H,0),z=0,Z,q,te,ne,_;for(Z=-1,te=arguments.length;Z<te;Z++)if(_=Z===-1?H:arguments[Z],R(_)){if(ne=m(_.length),z+ne>B)throw TypeError(O);for(q=0;q<ne;q++,z++)q in _&&p(X,z,_[q])}else{if(z>=B)throw TypeError(O);p(X,z++,_)}return X.length=z,X}})},"./node_modules/core-js/modules/es.array.iterator.js":function(s,u,l){var c=l("./node_modules/core-js/internals/to-indexed-object.js"),d=l("./node_modules/core-js/internals/add-to-unscopables.js"),f=l("./node_modules/core-js/internals/iterators.js"),g=l("./node_modules/core-js/internals/internal-state.js"),h=l("./node_modules/core-js/internals/define-iterator.js"),m="Array Iterator",p=g.set,v=g.getterFor(m);s.exports=h(Array,"Array",function(y,b){p(this,{type:m,target:c(y),index:0,kind:b})},function(){var y=v(this),b=y.target,w=y.kind,C=y.index++;return!b||C>=b.length?(y.target=void 0,{value:void 0,done:!0}):w=="keys"?{value:C,done:!1}:w=="values"?{value:b[C],done:!1}:{value:[C,b[C]],done:!1}},"values"),f.Arguments=f.Array,d("keys"),d("values"),d("entries")},"./node_modules/core-js/modules/es.array.join.js":function(s,u,l){var c=l("./node_modules/core-js/internals/export.js"),d=l("./node_modules/core-js/internals/indexed-object.js"),f=l("./node_modules/core-js/internals/to-indexed-object.js"),g=l("./node_modules/core-js/internals/array-method-is-strict.js"),h=[].join,m=d!=Object,p=g("join",",");c({target:"Array",proto:!0,forced:m||!p},{join:function(y){return h.call(f(this),y===void 0?",":y)}})},"./node_modules/core-js/modules/es.array.map.js":function(s,u,l){var c=l("./node_modules/core-js/internals/export.js"),d=l("./node_modules/core-js/internals/array-iteration.js").map,f=l("./node_modules/core-js/internals/array-method-has-species-support.js"),g=f("map");c({target:"Array",proto:!0,forced:!g},{map:function(m){return d(this,m,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(s,u,l){var c=l("./node_modules/core-js/internals/export.js"),d=l("./node_modules/core-js/internals/is-object.js"),f=l("./node_modules/core-js/internals/is-array.js"),g=l("./node_modules/core-js/internals/to-absolute-index.js"),h=l("./node_modules/core-js/internals/to-length.js"),m=l("./node_modules/core-js/internals/to-indexed-object.js"),p=l("./node_modules/core-js/internals/create-property.js"),v=l("./node_modules/core-js/internals/well-known-symbol.js"),y=l("./node_modules/core-js/internals/array-method-has-species-support.js"),b=y("slice"),w=v("species"),C=[].slice,B=Math.max;c({target:"Array",proto:!0,forced:!b},{slice:function(x,M){var R=m(this),F=h(R.length),L=g(x,F),E=g(M===void 0?F:M,F),H,X,z;if(f(R)&&(H=R.constructor,typeof H=="function"&&(H===Array||f(H.prototype))?H=void 0:d(H)&&(H=H[w],H===null&&(H=void 0)),H===Array||H===void 0))return C.call(R,L,E);for(X=new(H===void 0?Array:H)(B(E-L,0)),z=0;L<E;L++,z++)L in R&&p(X,z,R[L]);return X.length=z,X}})},"./node_modules/core-js/modules/es.function.name.js":function(s,u,l){var c=l("./node_modules/core-js/internals/descriptors.js"),d=l("./node_modules/core-js/internals/object-define-property.js").f,f=Function.prototype,g=f.toString,h=/^\s*function ([^ (]*)/,m="name";c&&!(m in f)&&d(f,m,{configurable:!0,get:function(){try{return g.call(this).match(h)[1]}catch{return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(s,u,l){var c=l("./node_modules/core-js/internals/descriptors.js"),d=l("./node_modules/core-js/internals/global.js"),f=l("./node_modules/core-js/internals/is-forced.js"),g=l("./node_modules/core-js/internals/redefine.js"),h=l("./node_modules/core-js/internals/has.js"),m=l("./node_modules/core-js/internals/classof-raw.js"),p=l("./node_modules/core-js/internals/inherit-if-required.js"),v=l("./node_modules/core-js/internals/is-symbol.js"),y=l("./node_modules/core-js/internals/to-primitive.js"),b=l("./node_modules/core-js/internals/fails.js"),w=l("./node_modules/core-js/internals/object-create.js"),C=l("./node_modules/core-js/internals/object-get-own-property-names.js").f,B=l("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,O=l("./node_modules/core-js/internals/object-define-property.js").f,x=l("./node_modules/core-js/internals/string-trim.js").trim,M="Number",R=d[M],F=R.prototype,L=m(w(F))==M,E=function(q){if(v(q))throw TypeError("Cannot convert a Symbol value to a number");var te=y(q,"number"),ne,_,Y,re,se,ce,N,K;if(typeof te=="string"&&te.length>2){if(te=x(te),ne=te.charCodeAt(0),ne===43||ne===45){if(_=te.charCodeAt(2),_===88||_===120)return NaN}else if(ne===48){switch(te.charCodeAt(1)){case 66:case 98:Y=2,re=49;break;case 79:case 111:Y=8,re=55;break;default:return+te}for(se=te.slice(2),ce=se.length,N=0;N<ce;N++)if(K=se.charCodeAt(N),K<48||K>re)return NaN;return parseInt(se,Y)}}return+te};if(f(M,!R(" 0o1")||!R("0b1")||R("+0x1"))){for(var H=function(te){var ne=arguments.length<1?0:te,_=this;return _ instanceof H&&(L?b(function(){F.valueOf.call(_)}):m(_)!=M)?p(new R(E(ne)),_,H):E(ne)},X=c?C(R):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),z=0,Z;X.length>z;z++)h(R,Z=X[z])&&!h(H,Z)&&O(H,Z,B(R,Z));H.prototype=F,F.constructor=H,g(d,M,H)}},"./node_modules/core-js/modules/es.object.assign.js":function(s,u,l){var c=l("./node_modules/core-js/internals/export.js"),d=l("./node_modules/core-js/internals/object-assign.js");c({target:"Object",stat:!0,forced:Object.assign!==d},{assign:d})},"./node_modules/core-js/modules/es.object.keys.js":function(s,u,l){var c=l("./node_modules/core-js/internals/export.js"),d=l("./node_modules/core-js/internals/to-object.js"),f=l("./node_modules/core-js/internals/object-keys.js"),g=l("./node_modules/core-js/internals/fails.js"),h=g(function(){f(1)});c({target:"Object",stat:!0,forced:h},{keys:function(p){return f(d(p))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(s,u,l){var c=l("./node_modules/core-js/internals/to-string-tag-support.js"),d=l("./node_modules/core-js/internals/redefine.js"),f=l("./node_modules/core-js/internals/object-to-string.js");c||d(Object.prototype,"toString",f,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(s,u,l){var c=l("./node_modules/core-js/internals/redefine.js"),d=l("./node_modules/core-js/internals/an-object.js"),f=l("./node_modules/core-js/internals/to-string.js"),g=l("./node_modules/core-js/internals/fails.js"),h=l("./node_modules/core-js/internals/regexp-flags.js"),m="toString",p=RegExp.prototype,v=p[m],y=g(function(){return v.call({source:"a",flags:"b"})!="/a/b"}),b=v.name!=m;(y||b)&&c(RegExp.prototype,m,function(){var C=d(this),B=f(C.source),O=C.flags,x=f(O===void 0&&C instanceof RegExp&&!("flags"in p)?h.call(C):O);return"/"+B+"/"+x},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(s,u,l){var c=l("./node_modules/core-js/internals/string-multibyte.js").charAt,d=l("./node_modules/core-js/internals/to-string.js"),f=l("./node_modules/core-js/internals/internal-state.js"),g=l("./node_modules/core-js/internals/define-iterator.js"),h="String Iterator",m=f.set,p=f.getterFor(h);g(String,"String",function(v){m(this,{type:h,string:d(v),index:0})},function(){var y=p(this),b=y.string,w=y.index,C;return w>=b.length?{value:void 0,done:!0}:(C=c(b,w),y.index+=C.length,{value:C,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(s,u,l){var c=l("./node_modules/core-js/internals/export.js"),d=l("./node_modules/core-js/internals/create-html.js"),f=l("./node_modules/core-js/internals/string-html-forced.js");c({target:"String",proto:!0,forced:f("link")},{link:function(h){return d(this,"a","href",h)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(s,u,l){var c=l("./node_modules/core-js/internals/export.js"),d=l("./node_modules/core-js/internals/descriptors.js"),f=l("./node_modules/core-js/internals/global.js"),g=l("./node_modules/core-js/internals/has.js"),h=l("./node_modules/core-js/internals/is-object.js"),m=l("./node_modules/core-js/internals/object-define-property.js").f,p=l("./node_modules/core-js/internals/copy-constructor-properties.js"),v=f.Symbol;if(d&&typeof v=="function"&&(!("description"in v.prototype)||v().description!==void 0)){var y={},b=function(){var M=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),R=this instanceof b?new v(M):M===void 0?v():v(M);return M===""&&(y[R]=!0),R};p(b,v);var w=b.prototype=v.prototype;w.constructor=b;var C=w.toString,B=String(v("test"))=="Symbol(test)",O=/^Symbol\((.*)\)[^)]+$/;m(w,"description",{configurable:!0,get:function(){var M=h(this)?this.valueOf():this,R=C.call(M);if(g(y,M))return"";var F=B?R.slice(7,-1):R.replace(O,"$1");return F===""?void 0:F}}),c({global:!0,forced:!0},{Symbol:b})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(s,u,l){var c=l("./node_modules/core-js/internals/define-well-known-symbol.js");c("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(s,u,l){var c=l("./node_modules/core-js/internals/export.js"),d=l("./node_modules/core-js/internals/global.js"),f=l("./node_modules/core-js/internals/get-built-in.js"),g=l("./node_modules/core-js/internals/is-pure.js"),h=l("./node_modules/core-js/internals/descriptors.js"),m=l("./node_modules/core-js/internals/native-symbol.js"),p=l("./node_modules/core-js/internals/fails.js"),v=l("./node_modules/core-js/internals/has.js"),y=l("./node_modules/core-js/internals/is-array.js"),b=l("./node_modules/core-js/internals/is-object.js"),w=l("./node_modules/core-js/internals/is-symbol.js"),C=l("./node_modules/core-js/internals/an-object.js"),B=l("./node_modules/core-js/internals/to-object.js"),O=l("./node_modules/core-js/internals/to-indexed-object.js"),x=l("./node_modules/core-js/internals/to-property-key.js"),M=l("./node_modules/core-js/internals/to-string.js"),R=l("./node_modules/core-js/internals/create-property-descriptor.js"),F=l("./node_modules/core-js/internals/object-create.js"),L=l("./node_modules/core-js/internals/object-keys.js"),E=l("./node_modules/core-js/internals/object-get-own-property-names.js"),H=l("./node_modules/core-js/internals/object-get-own-property-names-external.js"),X=l("./node_modules/core-js/internals/object-get-own-property-symbols.js"),z=l("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),Z=l("./node_modules/core-js/internals/object-define-property.js"),q=l("./node_modules/core-js/internals/object-property-is-enumerable.js"),te=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),ne=l("./node_modules/core-js/internals/redefine.js"),_=l("./node_modules/core-js/internals/shared.js"),Y=l("./node_modules/core-js/internals/shared-key.js"),re=l("./node_modules/core-js/internals/hidden-keys.js"),se=l("./node_modules/core-js/internals/uid.js"),ce=l("./node_modules/core-js/internals/well-known-symbol.js"),N=l("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),K=l("./node_modules/core-js/internals/define-well-known-symbol.js"),Ae=l("./node_modules/core-js/internals/set-to-string-tag.js"),ae=l("./node_modules/core-js/internals/internal-state.js"),ie=l("./node_modules/core-js/internals/array-iteration.js").forEach,J=Y("hidden"),ue="Symbol",G="prototype",pe=ce("toPrimitive"),k=ae.set,P=ae.getterFor(ue),U=Object[G],W=d.Symbol,de=f("JSON","stringify"),me=z.f,ve=Z.f,be=H.f,Te=q.f,we=_("symbols"),xe=_("op-symbols"),Ue=_("string-to-symbol-registry"),ke=_("symbol-to-string-registry"),et=_("wks"),De=d.QObject,_e=!De||!De[G]||!De[G].findChild,Re=h&&p(function(){return F(ve({},"a",{get:function(){return ve(this,"a",{value:7}).a}})).a!=7})?function(xt,Ct,ht){var Tt=me(U,Ct);Tt&&delete U[Ct],ve(xt,Ct,ht),Tt&&xt!==U&&ve(U,Ct,Tt)}:ve,Ne=function(xt,Ct){var ht=we[xt]=F(W[G]);return k(ht,{type:ue,tag:xt,description:Ct}),h||(ht.description=Ct),ht},ot=function(Ct,ht,Tt){Ct===U&&ot(xe,ht,Tt),C(Ct);var Yt=x(ht);return C(Tt),v(we,Yt)?(Tt.enumerable?(v(Ct,J)&&Ct[J][Yt]&&(Ct[J][Yt]=!1),Tt=F(Tt,{enumerable:R(0,!1)})):(v(Ct,J)||ve(Ct,J,R(1,{})),Ct[J][Yt]=!0),Re(Ct,Yt,Tt)):ve(Ct,Yt,Tt)},rt=function(Ct,ht){C(Ct);var Tt=O(ht),Yt=L(Tt).concat(Ut(Tt));return ie(Yt,function(nn){(!h||Bt.call(Tt,nn))&&ot(Ct,nn,Tt[nn])}),Ct},nt=function(Ct,ht){return ht===void 0?F(Ct):rt(F(Ct),ht)},Bt=function(Ct){var ht=x(Ct),Tt=Te.call(this,ht);return this===U&&v(we,ht)&&!v(xe,ht)?!1:Tt||!v(this,ht)||!v(we,ht)||v(this,J)&&this[J][ht]?Tt:!0},Et=function(Ct,ht){var Tt=O(Ct),Yt=x(ht);if(!(Tt===U&&v(we,Yt)&&!v(xe,Yt))){var nn=me(Tt,Yt);return nn&&v(we,Yt)&&!(v(Tt,J)&&Tt[J][Yt])&&(nn.enumerable=!0),nn}},Xt=function(Ct){var ht=be(O(Ct)),Tt=[];return ie(ht,function(Yt){!v(we,Yt)&&!v(re,Yt)&&Tt.push(Yt)}),Tt},Ut=function(Ct){var ht=Ct===U,Tt=be(ht?xe:O(Ct)),Yt=[];return ie(Tt,function(nn){v(we,nn)&&(!ht||v(U,nn))&&Yt.push(we[nn])}),Yt};if(m||(W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var Ct=!arguments.length||arguments[0]===void 0?void 0:M(arguments[0]),ht=se(Ct),Tt=function(Yt){this===U&&Tt.call(xe,Yt),v(this,J)&&v(this[J],ht)&&(this[J][ht]=!1),Re(this,ht,R(1,Yt))};return h&&_e&&Re(U,ht,{configurable:!0,set:Tt}),Ne(ht,Ct)},ne(W[G],"toString",function(){return P(this).tag}),ne(W,"withoutSetter",function(xt){return Ne(se(xt),xt)}),q.f=Bt,Z.f=ot,z.f=Et,E.f=H.f=Xt,X.f=Ut,N.f=function(xt){return Ne(ce(xt),xt)},h&&(ve(W[G],"description",{configurable:!0,get:function(){return P(this).description}}),g||ne(U,"propertyIsEnumerable",Bt,{unsafe:!0}))),c({global:!0,wrap:!0,forced:!m,sham:!m},{Symbol:W}),ie(L(et),function(xt){K(xt)}),c({target:ue,stat:!0,forced:!m},{for:function(xt){var Ct=M(xt);if(v(Ue,Ct))return Ue[Ct];var ht=W(Ct);return Ue[Ct]=ht,ke[ht]=Ct,ht},keyFor:function(Ct){if(!w(Ct))throw TypeError(Ct+" is not a symbol");if(v(ke,Ct))return ke[Ct]},useSetter:function(){_e=!0},useSimple:function(){_e=!1}}),c({target:"Object",stat:!0,forced:!m,sham:!h},{create:nt,defineProperty:ot,defineProperties:rt,getOwnPropertyDescriptor:Et}),c({target:"Object",stat:!0,forced:!m},{getOwnPropertyNames:Xt,getOwnPropertySymbols:Ut}),c({target:"Object",stat:!0,forced:p(function(){X.f(1)})},{getOwnPropertySymbols:function(Ct){return X.f(B(Ct))}}),de){var $t=!m||p(function(){var xt=W();return de([xt])!="[null]"||de({a:xt})!="{}"||de(Object(xt))!="{}"});c({target:"JSON",stat:!0,forced:$t},{stringify:function(Ct,ht,Tt){for(var Yt=[Ct],nn=1,zn;arguments.length>nn;)Yt.push(arguments[nn++]);if(zn=ht,!(!b(ht)&&Ct===void 0||w(Ct)))return y(ht)||(ht=function(ur,Mt){if(typeof zn=="function"&&(Mt=zn.call(this,ur,Mt)),!w(Mt))return Mt}),Yt[1]=ht,de.apply(null,Yt)}})}W[G][pe]||te(W[G],pe,W[G].valueOf),Ae(W,ue),re[J]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(s,u,l){var c=l("./node_modules/core-js/internals/global.js"),d=l("./node_modules/core-js/internals/dom-iterables.js"),f=l("./node_modules/core-js/internals/array-for-each.js"),g=l("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var h in d){var m=c[h],p=m&&m.prototype;if(p&&p.forEach!==f)try{g(p,"forEach",f)}catch{p.forEach=f}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(s,u,l){var c=l("./node_modules/core-js/internals/global.js"),d=l("./node_modules/core-js/internals/dom-iterables.js"),f=l("./node_modules/core-js/modules/es.array.iterator.js"),g=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),h=l("./node_modules/core-js/internals/well-known-symbol.js"),m=h("iterator"),p=h("toStringTag"),v=f.values;for(var y in d){var b=c[y],w=b&&b.prototype;if(w){if(w[m]!==v)try{g(w,m,v)}catch{w[m]=v}if(w[p]||g(w,p,y),d[y]){for(var C in f)if(w[C]!==f[C])try{g(w,C,f[C])}catch{w[C]=f[C]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(s){/*!
- * @overview es6-promise - a tiny implementation of Promises/A+.
- * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
- * @license Licensed under MIT license
- * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
- * @version v4.2.8+1e68dce6
- */(function(u,l){s.exports=l()})(this,function(){function u(De){var _e=typeof De;return De!==null&&(_e==="object"||_e==="function")}function l(De){return typeof De=="function"}var c=void 0;Array.isArray?c=Array.isArray:c=function(De){return Object.prototype.toString.call(De)==="[object Array]"};var d=c,f=0,g=void 0,h=void 0,m=function(_e,Re){L[f]=_e,L[f+1]=Re,f+=2,f===2&&(h?h(E):X())};function p(De){h=De}function v(De){m=De}var y=typeof window<"u"?window:void 0,b=y||{},w=b.MutationObserver||b.WebKitMutationObserver,C=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",B=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function O(){return function(){return process.nextTick(E)}}function x(){return typeof g<"u"?function(){g(E)}:F()}function M(){var De=0,_e=new w(E),Re=document.createTextNode("");return _e.observe(Re,{characterData:!0}),function(){Re.data=De=++De%2}}function R(){var De=new MessageChannel;return De.port1.onmessage=E,function(){return De.port2.postMessage(0)}}function F(){var De=setTimeout;return function(){return De(E,1)}}var L=new Array(1e3);function E(){for(var De=0;De<f;De+=2){var _e=L[De],Re=L[De+1];_e(Re),L[De]=void 0,L[De+1]=void 0}f=0}function H(){try{var De=Function("return this")().require("vertx");return g=De.runOnLoop||De.runOnContext,x()}catch{return F()}}var X=void 0;C?X=O():w?X=M():B?X=R():y===void 0?X=H():X=F();function z(De,_e){var Re=this,Ne=new this.constructor(te);Ne[q]===void 0&&de(Ne);var ot=Re._state;if(ot){var rt=arguments[ot-1];m(function(){return k(ot,Ne,rt,Re._result)})}else G(Re,Ne,De,_e);return Ne}function Z(De){var _e=this;if(De&&typeof De=="object"&&De.constructor===_e)return De;var Re=new _e(te);return ae(Re,De),Re}var q=Math.random().toString(36).substring(2);function te(){}var ne=void 0,_=1,Y=2;function re(){return new TypeError("You cannot resolve a promise with itself")}function se(){return new TypeError("A promises callback cannot return that same promise.")}function ce(De,_e,Re,Ne){try{De.call(_e,Re,Ne)}catch(ot){return ot}}function N(De,_e,Re){m(function(Ne){var ot=!1,rt=ce(Re,_e,function(nt){ot||(ot=!0,_e!==nt?ae(Ne,nt):J(Ne,nt))},function(nt){ot||(ot=!0,ue(Ne,nt))},"Settle: "+(Ne._label||" unknown promise"));!ot&&rt&&(ot=!0,ue(Ne,rt))},De)}function K(De,_e){_e._state===_?J(De,_e._result):_e._state===Y?ue(De,_e._result):G(_e,void 0,function(Re){return ae(De,Re)},function(Re){return ue(De,Re)})}function Ae(De,_e,Re){_e.constructor===De.constructor&&Re===z&&_e.constructor.resolve===Z?K(De,_e):Re===void 0?J(De,_e):l(Re)?N(De,_e,Re):J(De,_e)}function ae(De,_e){if(De===_e)ue(De,re());else if(u(_e)){var Re=void 0;try{Re=_e.then}catch(Ne){ue(De,Ne);return}Ae(De,_e,Re)}else J(De,_e)}function ie(De){De._onerror&&De._onerror(De._result),pe(De)}function J(De,_e){De._state===ne&&(De._result=_e,De._state=_,De._subscribers.length!==0&&m(pe,De))}function ue(De,_e){De._state===ne&&(De._state=Y,De._result=_e,m(ie,De))}function G(De,_e,Re,Ne){var ot=De._subscribers,rt=ot.length;De._onerror=null,ot[rt]=_e,ot[rt+_]=Re,ot[rt+Y]=Ne,rt===0&&De._state&&m(pe,De)}function pe(De){var _e=De._subscribers,Re=De._state;if(_e.length!==0){for(var Ne=void 0,ot=void 0,rt=De._result,nt=0;nt<_e.length;nt+=3)Ne=_e[nt],ot=_e[nt+Re],Ne?k(Re,Ne,ot,rt):ot(rt);De._subscribers.length=0}}function k(De,_e,Re,Ne){var ot=l(Re),rt=void 0,nt=void 0,Bt=!0;if(ot){try{rt=Re(Ne)}catch(Et){Bt=!1,nt=Et}if(_e===rt){ue(_e,se());return}}else rt=Ne;_e._state!==ne||(ot&&Bt?ae(_e,rt):Bt===!1?ue(_e,nt):De===_?J(_e,rt):De===Y&&ue(_e,rt))}function P(De,_e){try{_e(function(Ne){ae(De,Ne)},function(Ne){ue(De,Ne)})}catch(Re){ue(De,Re)}}var U=0;function W(){return U++}function de(De){De[q]=U++,De._state=void 0,De._result=void 0,De._subscribers=[]}function me(){return new Error("Array Methods must be provided an Array")}var ve=function(){function De(_e,Re){this._instanceConstructor=_e,this.promise=new _e(te),this.promise[q]||de(this.promise),d(Re)?(this.length=Re.length,this._remaining=Re.length,this._result=new Array(this.length),this.length===0?J(this.promise,this._result):(this.length=this.length||0,this._enumerate(Re),this._remaining===0&&J(this.promise,this._result))):ue(this.promise,me())}return De.prototype._enumerate=function(Re){for(var Ne=0;this._state===ne&&Ne<Re.length;Ne++)this._eachEntry(Re[Ne],Ne)},De.prototype._eachEntry=function(Re,Ne){var ot=this._instanceConstructor,rt=ot.resolve;if(rt===Z){var nt=void 0,Bt=void 0,Et=!1;try{nt=Re.then}catch(Ut){Et=!0,Bt=Ut}if(nt===z&&Re._state!==ne)this._settledAt(Re._state,Ne,Re._result);else if(typeof nt!="function")this._remaining--,this._result[Ne]=Re;else if(ot===ke){var Xt=new ot(te);Et?ue(Xt,Bt):Ae(Xt,Re,nt),this._willSettleAt(Xt,Ne)}else this._willSettleAt(new ot(function(Ut){return Ut(Re)}),Ne)}else this._willSettleAt(rt(Re),Ne)},De.prototype._settledAt=function(Re,Ne,ot){var rt=this.promise;rt._state===ne&&(this._remaining--,Re===Y?ue(rt,ot):this._result[Ne]=ot),this._remaining===0&&J(rt,this._result)},De.prototype._willSettleAt=function(Re,Ne){var ot=this;G(Re,void 0,function(rt){return ot._settledAt(_,Ne,rt)},function(rt){return ot._settledAt(Y,Ne,rt)})},De}();function be(De){return new ve(this,De).promise}function Te(De){var _e=this;return d(De)?new _e(function(Re,Ne){for(var ot=De.length,rt=0;rt<ot;rt++)_e.resolve(De[rt]).then(Re,Ne)}):new _e(function(Re,Ne){return Ne(new TypeError("You must pass an array to race."))})}function we(De){var _e=this,Re=new _e(te);return ue(Re,De),Re}function xe(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Ue(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var ke=function(){function De(_e){this[q]=W(),this._result=this._state=void 0,this._subscribers=[],te!==_e&&(typeof _e!="function"&&xe(),this instanceof De?P(this,_e):Ue())}return De.prototype.catch=function(Re){return this.then(null,Re)},De.prototype.finally=function(Re){var Ne=this,ot=Ne.constructor;return l(Re)?Ne.then(function(rt){return ot.resolve(Re()).then(function(){return rt})},function(rt){return ot.resolve(Re()).then(function(){throw rt})}):Ne.then(Re,Re)},De}();ke.prototype.then=z,ke.all=be,ke.race=Te,ke.resolve=Z,ke.reject=we,ke._setScheduler=p,ke._setAsap=v,ke._asap=m;function et(){var De=void 0;if(typeof vs<"u")De=vs;else if(typeof self<"u")De=self;else try{De=Function("return this")()}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var _e=De.Promise;if(_e){var Re=null;try{Re=Object.prototype.toString.call(_e.resolve())}catch{}if(Re==="[object Promise]"&&!_e.cast)return}De.Promise=ke}return ke.polyfill=et,ke.Promise=ke,ke})},html2canvas:function(s){s.exports=r},jspdf:function(s){s.exports=n}},o={};function A(s){var u=o[s];if(u!==void 0)return u.exports;var l=o[s]={exports:{}};return i[s].call(l.exports,l,l.exports,A),l.exports}(function(){A.n=function(s){var u=s&&s.__esModule?function(){return s.default}:function(){return s};return A.d(u,{a:u}),u}})(),function(){A.d=function(s,u){for(var l in u)A.o(u,l)&&!A.o(s,l)&&Object.defineProperty(s,l,{enumerable:!0,get:u[l]})}}(),function(){A.o=function(s,u){return Object.prototype.hasOwnProperty.call(s,u)}}(),function(){A.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})}}();var a={};return function(){/*!**********************!*\
- !*** ./src/index.js ***!
- \**********************/A.r(a);var s=A("./src/worker.js");A("./src/plugin/jspdf-plugin.js"),A("./src/plugin/pagebreaks.js"),A("./src/plugin/hyperlinks.js");var u=function l(c,d){var f=new l.Worker(d);return c?f.from(c).save():f};u.Worker=s.default,a.default=u}(),a=a.default,a}()})}(xS)),xS.exports}GTe();var Mb={exports:{}},WTe=Mb.exports,PN;function qTe(){return PN||(PN=1,function(e,t){(function(n,r){r()})(WTe,function(){function n(u,l){return typeof l>"u"?l={autoBom:!1}:typeof l!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),l={autoBom:!l}),l.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(u.type)?new Blob(["\uFEFF",u],{type:u.type}):u}function r(u,l,c){var d=new XMLHttpRequest;d.open("GET",u),d.responseType="blob",d.onload=function(){s(d.response,l,c)},d.onerror=function(){console.error("could not download file")},d.send()}function i(u){var l=new XMLHttpRequest;l.open("HEAD",u,!1);try{l.send()}catch{}return 200<=l.status&&299>=l.status}function o(u){try{u.dispatchEvent(new MouseEvent("click"))}catch{var l=document.createEvent("MouseEvents");l.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),u.dispatchEvent(l)}}var A=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof vs=="object"&&vs.global===vs?vs:void 0,a=A.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),s=A.saveAs||(typeof window!="object"||window!==A?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(u,l,c){var d=A.URL||A.webkitURL,f=document.createElement("a");l=l||u.name||"download",f.download=l,f.rel="noopener",typeof u=="string"?(f.href=u,f.origin===location.origin?o(f):i(f.href)?r(u,l,c):o(f,f.target="_blank")):(f.href=d.createObjectURL(u),setTimeout(function(){d.revokeObjectURL(f.href)},4e4),setTimeout(function(){o(f)},0))}:"msSaveOrOpenBlob"in navigator?function(u,l,c){if(l=l||u.name||"download",typeof u!="string")navigator.msSaveOrOpenBlob(n(u,c),l);else if(i(u))r(u,l,c);else{var d=document.createElement("a");d.href=u,d.target="_blank",setTimeout(function(){o(d)})}}:function(u,l,c,d){if(d=d||open("","_blank"),d&&(d.document.title=d.document.body.innerText="downloading..."),typeof u=="string")return r(u,l,c);var f=u.type==="application/octet-stream",g=/constructor/i.test(A.HTMLElement)||A.safari,h=/CriOS\/[\d]+/.test(navigator.userAgent);if((h||f&&g||a)&&typeof FileReader<"u"){var m=new FileReader;m.onloadend=function(){var y=m.result;y=h?y:y.replace(/^data:[^;]*;/,"data:attachment/file;"),d?d.location.href=y:location=y,d=null},m.readAsDataURL(u)}else{var p=A.URL||A.webkitURL,v=p.createObjectURL(u);d?d.location=v:location.href=v,d=null,setTimeout(function(){p.revokeObjectURL(v)},4e4)}});A.saveAs=s.saveAs=s,e.exports=s})}(Mb)),Mb.exports}qTe();var XTe=Object.defineProperty,YTe=(e,t,n)=>t in e?XTe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$u=(e,t,n)=>YTe(e,typeof t!="symbol"?t+"":t,n),by=(e,t,n)=>new Promise((r,i)=>{var o=s=>{try{a(n.next(s))}catch(u){i(u)}},A=s=>{try{a(n.throw(s))}catch(u){i(u)}},a=s=>s.done?r(s.value):Promise.resolve(s.value).then(o,A);a((n=n.apply(e,t)).next())});class b_{constructor(t){$u(this,"rootKey"),this.rootKey=t}}const JTe=Object.seal({});class JJ extends b_{constructor(t){super(t),$u(this,"root"),this.root=new Array}prepForXml(t){var n;t.stack.push(this);const r=this.root.map(i=>i instanceof b_?i.prepForXml(t):i).filter(i=>i!==void 0);return t.stack.pop(),{[this.rootKey]:r.length?r.length===1&&((n=r[0])!=null&&n._attr)?r[0]:r:JTe}}addChildElement(t){return this.root.push(t),this}}class ZTe extends b_{constructor(t){super("_attr"),$u(this,"xmlKeys"),this.root=t}prepForXml(t){const n={};return Object.entries(this.root).forEach(([r,i])=>{if(i!==void 0){const o=this.xmlKeys&&this.xmlKeys[r]||r;n[o]=i}}),{_attr:n}}}var Sl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ZJ(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var PS={},wy={exports:{}},LN;function lU(){if(LN)return wy.exports;LN=1;var e=typeof Reflect=="object"?Reflect:null,t=e&&typeof e.apply=="function"?e.apply:function(w,C,B){return Function.prototype.apply.call(w,C,B)},n;e&&typeof e.ownKeys=="function"?n=e.ownKeys:Object.getOwnPropertySymbols?n=function(w){return Object.getOwnPropertyNames(w).concat(Object.getOwnPropertySymbols(w))}:n=function(w){return Object.getOwnPropertyNames(w)};function r(b){console&&console.warn&&console.warn(b)}var i=Number.isNaN||function(w){return w!==w};function o(){o.init.call(this)}wy.exports=o,wy.exports.once=p,o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var A=10;function a(b){if(typeof b!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof b)}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return A},set:function(b){if(typeof b!="number"||b<0||i(b))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+b+".");A=b}}),o.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(w){if(typeof w!="number"||w<0||i(w))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+w+".");return this._maxListeners=w,this};function s(b){return b._maxListeners===void 0?o.defaultMaxListeners:b._maxListeners}o.prototype.getMaxListeners=function(){return s(this)},o.prototype.emit=function(w){for(var C=[],B=1;B<arguments.length;B++)C.push(arguments[B]);var O=w==="error",x=this._events;if(x!==void 0)O=O&&x.error===void 0;else if(!O)return!1;if(O){var M;if(C.length>0&&(M=C[0]),M instanceof Error)throw M;var R=new Error("Unhandled error."+(M?" ("+M.message+")":""));throw R.context=M,R}var F=x[w];if(F===void 0)return!1;if(typeof F=="function")t(F,this,C);else for(var L=F.length,E=g(F,L),B=0;B<L;++B)t(E[B],this,C);return!0};function u(b,w,C,B){var O,x,M;if(a(C),x=b._events,x===void 0?(x=b._events=Object.create(null),b._eventsCount=0):(x.newListener!==void 0&&(b.emit("newListener",w,C.listener?C.listener:C),x=b._events),M=x[w]),M===void 0)M=x[w]=C,++b._eventsCount;else if(typeof M=="function"?M=x[w]=B?[C,M]:[M,C]:B?M.unshift(C):M.push(C),O=s(b),O>0&&M.length>O&&!M.warned){M.warned=!0;var R=new Error("Possible EventEmitter memory leak detected. "+M.length+" "+String(w)+" listeners added. Use emitter.setMaxListeners() to increase limit");R.name="MaxListenersExceededWarning",R.emitter=b,R.type=w,R.count=M.length,r(R)}return b}o.prototype.addListener=function(w,C){return u(this,w,C,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(w,C){return u(this,w,C,!0)};function l(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function c(b,w,C){var B={fired:!1,wrapFn:void 0,target:b,type:w,listener:C},O=l.bind(B);return O.listener=C,B.wrapFn=O,O}o.prototype.once=function(w,C){return a(C),this.on(w,c(this,w,C)),this},o.prototype.prependOnceListener=function(w,C){return a(C),this.prependListener(w,c(this,w,C)),this},o.prototype.removeListener=function(w,C){var B,O,x,M,R;if(a(C),O=this._events,O===void 0)return this;if(B=O[w],B===void 0)return this;if(B===C||B.listener===C)--this._eventsCount===0?this._events=Object.create(null):(delete O[w],O.removeListener&&this.emit("removeListener",w,B.listener||C));else if(typeof B!="function"){for(x=-1,M=B.length-1;M>=0;M--)if(B[M]===C||B[M].listener===C){R=B[M].listener,x=M;break}if(x<0)return this;x===0?B.shift():h(B,x),B.length===1&&(O[w]=B[0]),O.removeListener!==void 0&&this.emit("removeListener",w,R||C)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(w){var C,B,O;if(B=this._events,B===void 0)return this;if(B.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):B[w]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete B[w]),this;if(arguments.length===0){var x=Object.keys(B),M;for(O=0;O<x.length;++O)M=x[O],M!=="removeListener"&&this.removeAllListeners(M);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(C=B[w],typeof C=="function")this.removeListener(w,C);else if(C!==void 0)for(O=C.length-1;O>=0;O--)this.removeListener(w,C[O]);return this};function d(b,w,C){var B=b._events;if(B===void 0)return[];var O=B[w];return O===void 0?[]:typeof O=="function"?C?[O.listener||O]:[O]:C?m(O):g(O,O.length)}o.prototype.listeners=function(w){return d(this,w,!0)},o.prototype.rawListeners=function(w){return d(this,w,!1)},o.listenerCount=function(b,w){return typeof b.listenerCount=="function"?b.listenerCount(w):f.call(b,w)},o.prototype.listenerCount=f;function f(b){var w=this._events;if(w!==void 0){var C=w[b];if(typeof C=="function")return 1;if(C!==void 0)return C.length}return 0}o.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]};function g(b,w){for(var C=new Array(w),B=0;B<w;++B)C[B]=b[B];return C}function h(b,w){for(;w+1<b.length;w++)b[w]=b[w+1];b.pop()}function m(b){for(var w=new Array(b.length),C=0;C<w.length;++C)w[C]=b[C].listener||b[C];return w}function p(b,w){return new Promise(function(C,B){function O(M){b.removeListener(w,x),B(M)}function x(){typeof b.removeListener=="function"&&b.removeListener("error",O),C([].slice.call(arguments))}y(b,w,x,{once:!0}),w!=="error"&&v(b,O,{once:!0})})}function v(b,w,C){typeof b.on=="function"&&y(b,"error",w,C)}function y(b,w,C,B){if(typeof b.on=="function")B.once?b.once(w,C):b.on(w,C);else if(typeof b.addEventListener=="function")b.addEventListener(w,function O(x){B.once&&b.removeEventListener(w,O),C(x)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof b)}return wy.exports}var By={exports:{}},DN;function Ff(){return DN||(DN=1,typeof Object.create=="function"?By.exports=function(t,n){n&&(t.super_=n,t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:By.exports=function(t,n){if(n){t.super_=n;var r=function(){};r.prototype=n.prototype,t.prototype=new r,t.prototype.constructor=t}}),By.exports}function eUe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var eZ={exports:{}},Di=eZ.exports={},ml,vl;function w_(){throw new Error("setTimeout has not been defined")}function B_(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ml=setTimeout:ml=w_}catch{ml=w_}try{typeof clearTimeout=="function"?vl=clearTimeout:vl=B_}catch{vl=B_}})();function tZ(e){if(ml===setTimeout)return setTimeout(e,0);if((ml===w_||!ml)&&setTimeout)return ml=setTimeout,setTimeout(e,0);try{return ml(e,0)}catch{try{return ml.call(null,e,0)}catch{return ml.call(this,e,0)}}}function tUe(e){if(vl===clearTimeout)return clearTimeout(e);if((vl===B_||!vl)&&clearTimeout)return vl=clearTimeout,clearTimeout(e);try{return vl(e)}catch{try{return vl.call(null,e)}catch{return vl.call(this,e)}}}var Qu=[],tg=!1,Od,kb=-1;function nUe(){!tg||!Od||(tg=!1,Od.length?Qu=Od.concat(Qu):kb=-1,Qu.length&&nZ())}function nZ(){if(!tg){var e=tZ(nUe);tg=!0;for(var t=Qu.length;t;){for(Od=Qu,Qu=[];++kb<t;)Od&&Od[kb].run();kb=-1,t=Qu.length}Od=null,tg=!1,tUe(e)}}Di.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];Qu.push(new rZ(e,t)),Qu.length===1&&!tg&&tZ(nZ)};function rZ(e,t){this.fun=e,this.array=t}rZ.prototype.run=function(){this.fun.apply(null,this.array)};Di.title="browser";Di.browser=!0;Di.env={};Di.argv=[];Di.version="";Di.versions={};function nc(){}Di.on=nc;Di.addListener=nc;Di.once=nc;Di.off=nc;Di.removeListener=nc;Di.removeAllListeners=nc;Di.emit=nc;Di.prependListener=nc;Di.prependOnceListener=nc;Di.listeners=function(e){return[]};Di.binding=function(e){throw new Error("process.binding is not supported")};Di.cwd=function(){return"/"};Di.chdir=function(e){throw new Error("process.chdir is not supported")};Di.umask=function(){return 0};var rUe=eZ.exports;const Vn=eUe(rUe);var LS,RN;function iZ(){return RN||(RN=1,LS=lU().EventEmitter),LS}var DS={},O0={},$N;function iUe(){if($N)return O0;$N=1,O0.byteLength=a,O0.toByteArray=u,O0.fromByteArray=d;for(var e=[],t=[],n=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,o=r.length;i<o;++i)e[i]=r[i],t[r.charCodeAt(i)]=i;t[45]=62,t[95]=63;function A(f){var g=f.length;if(g%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var h=f.indexOf("=");h===-1&&(h=g);var m=h===g?0:4-h%4;return[h,m]}function a(f){var g=A(f),h=g[0],m=g[1];return(h+m)*3/4-m}function s(f,g,h){return(g+h)*3/4-h}function u(f){var g,h=A(f),m=h[0],p=h[1],v=new n(s(f,m,p)),y=0,b=p>0?m-4:m,w;for(w=0;w<b;w+=4)g=t[f.charCodeAt(w)]<<18|t[f.charCodeAt(w+1)]<<12|t[f.charCodeAt(w+2)]<<6|t[f.charCodeAt(w+3)],v[y++]=g>>16&255,v[y++]=g>>8&255,v[y++]=g&255;return p===2&&(g=t[f.charCodeAt(w)]<<2|t[f.charCodeAt(w+1)]>>4,v[y++]=g&255),p===1&&(g=t[f.charCodeAt(w)]<<10|t[f.charCodeAt(w+1)]<<4|t[f.charCodeAt(w+2)]>>2,v[y++]=g>>8&255,v[y++]=g&255),v}function l(f){return e[f>>18&63]+e[f>>12&63]+e[f>>6&63]+e[f&63]}function c(f,g,h){for(var m,p=[],v=g;v<h;v+=3)m=(f[v]<<16&16711680)+(f[v+1]<<8&65280)+(f[v+2]&255),p.push(l(m));return p.join("")}function d(f){for(var g,h=f.length,m=h%3,p=[],v=16383,y=0,b=h-m;y<b;y+=v)p.push(c(f,y,y+v>b?b:y+v));return m===1?(g=f[h-1],p.push(e[g>>2]+e[g<<4&63]+"==")):m===2&&(g=(f[h-2]<<8)+f[h-1],p.push(e[g>>10]+e[g>>4&63]+e[g<<2&63]+"=")),p.join("")}return O0}var Cy={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */var NN;function oUe(){return NN||(NN=1,Cy.read=function(e,t,n,r,i){var o,A,a=i*8-r-1,s=(1<<a)-1,u=s>>1,l=-7,c=n?i-1:0,d=n?-1:1,f=e[t+c];for(c+=d,o=f&(1<<-l)-1,f>>=-l,l+=a;l>0;o=o*256+e[t+c],c+=d,l-=8);for(A=o&(1<<-l)-1,o>>=-l,l+=r;l>0;A=A*256+e[t+c],c+=d,l-=8);if(o===0)o=1-u;else{if(o===s)return A?NaN:(f?-1:1)*(1/0);A=A+Math.pow(2,r),o=o-u}return(f?-1:1)*A*Math.pow(2,o-r)},Cy.write=function(e,t,n,r,i,o){var A,a,s,u=o*8-i-1,l=(1<<u)-1,c=l>>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,g=r?1:-1,h=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,A=l):(A=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-A))<1&&(A--,s*=2),A+c>=1?t+=d/s:t+=d*Math.pow(2,1-c),t*s>=2&&(A++,s/=2),A+c>=l?(a=0,A=l):A+c>=1?(a=(t*s-1)*Math.pow(2,i),A=A+c):(a=t*Math.pow(2,c-1)*Math.pow(2,i),A=0));i>=8;e[n+f]=a&255,f+=g,a/=256,i-=8);for(A=A<<i|a,u+=i;u>0;e[n+f]=A&255,f+=g,A/=256,u-=8);e[n+f-g]|=h*128}),Cy}/*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <https://feross.org>
- * @license MIT
- */var HN;function SC(){return HN||(HN=1,function(e){var t=iUe(),n=oUe(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=a,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50;var i=2147483647;e.kMaxLength=i,a.TYPED_ARRAY_SUPPORT=o(),!a.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function o(){try{var k=new Uint8Array(1),P={foo:function(){return 42}};return Object.setPrototypeOf(P,Uint8Array.prototype),Object.setPrototypeOf(k,P),k.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function A(k){if(k>i)throw new RangeError('The value "'+k+'" is invalid for option "size"');var P=new Uint8Array(k);return Object.setPrototypeOf(P,a.prototype),P}function a(k,P,U){if(typeof k=="number"){if(typeof P=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return c(k)}return s(k,P,U)}a.poolSize=8192;function s(k,P,U){if(typeof k=="string")return d(k,P);if(ArrayBuffer.isView(k))return g(k);if(k==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof k);if(ue(k,ArrayBuffer)||k&&ue(k.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ue(k,SharedArrayBuffer)||k&&ue(k.buffer,SharedArrayBuffer)))return h(k,P,U);if(typeof k=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var W=k.valueOf&&k.valueOf();if(W!=null&&W!==k)return a.from(W,P,U);var de=m(k);if(de)return de;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof k[Symbol.toPrimitive]=="function")return a.from(k[Symbol.toPrimitive]("string"),P,U);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof k)}a.from=function(k,P,U){return s(k,P,U)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function u(k){if(typeof k!="number")throw new TypeError('"size" argument must be of type number');if(k<0)throw new RangeError('The value "'+k+'" is invalid for option "size"')}function l(k,P,U){return u(k),k<=0?A(k):P!==void 0?typeof U=="string"?A(k).fill(P,U):A(k).fill(P):A(k)}a.alloc=function(k,P,U){return l(k,P,U)};function c(k){return u(k),A(k<0?0:p(k)|0)}a.allocUnsafe=function(k){return c(k)},a.allocUnsafeSlow=function(k){return c(k)};function d(k,P){if((typeof P!="string"||P==="")&&(P="utf8"),!a.isEncoding(P))throw new TypeError("Unknown encoding: "+P);var U=y(k,P)|0,W=A(U),de=W.write(k,P);return de!==U&&(W=W.slice(0,de)),W}function f(k){for(var P=k.length<0?0:p(k.length)|0,U=A(P),W=0;W<P;W+=1)U[W]=k[W]&255;return U}function g(k){if(ue(k,Uint8Array)){var P=new Uint8Array(k);return h(P.buffer,P.byteOffset,P.byteLength)}return f(k)}function h(k,P,U){if(P<0||k.byteLength<P)throw new RangeError('"offset" is outside of buffer bounds');if(k.byteLength<P+(U||0))throw new RangeError('"length" is outside of buffer bounds');var W;return P===void 0&&U===void 0?W=new Uint8Array(k):U===void 0?W=new Uint8Array(k,P):W=new Uint8Array(k,P,U),Object.setPrototypeOf(W,a.prototype),W}function m(k){if(a.isBuffer(k)){var P=p(k.length)|0,U=A(P);return U.length===0||k.copy(U,0,0,P),U}if(k.length!==void 0)return typeof k.length!="number"||G(k.length)?A(0):f(k);if(k.type==="Buffer"&&Array.isArray(k.data))return f(k.data)}function p(k){if(k>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return k|0}function v(k){return+k!=k&&(k=0),a.alloc(+k)}a.isBuffer=function(P){return P!=null&&P._isBuffer===!0&&P!==a.prototype},a.compare=function(P,U){if(ue(P,Uint8Array)&&(P=a.from(P,P.offset,P.byteLength)),ue(U,Uint8Array)&&(U=a.from(U,U.offset,U.byteLength)),!a.isBuffer(P)||!a.isBuffer(U))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(P===U)return 0;for(var W=P.length,de=U.length,me=0,ve=Math.min(W,de);me<ve;++me)if(P[me]!==U[me]){W=P[me],de=U[me];break}return W<de?-1:de<W?1:0},a.isEncoding=function(P){switch(String(P).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(P,U){if(!Array.isArray(P))throw new TypeError('"list" argument must be an Array of Buffers');if(P.length===0)return a.alloc(0);var W;if(U===void 0)for(U=0,W=0;W<P.length;++W)U+=P[W].length;var de=a.allocUnsafe(U),me=0;for(W=0;W<P.length;++W){var ve=P[W];if(ue(ve,Uint8Array))me+ve.length>de.length?a.from(ve).copy(de,me):Uint8Array.prototype.set.call(de,ve,me);else if(a.isBuffer(ve))ve.copy(de,me);else throw new TypeError('"list" argument must be an Array of Buffers');me+=ve.length}return de};function y(k,P){if(a.isBuffer(k))return k.length;if(ArrayBuffer.isView(k)||ue(k,ArrayBuffer))return k.byteLength;if(typeof k!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof k);var U=k.length,W=arguments.length>2&&arguments[2]===!0;if(!W&&U===0)return 0;for(var de=!1;;)switch(P){case"ascii":case"latin1":case"binary":return U;case"utf8":case"utf-8":return K(k).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U*2;case"hex":return U>>>1;case"base64":return ie(k).length;default:if(de)return W?-1:K(k).length;P=(""+P).toLowerCase(),de=!0}}a.byteLength=y;function b(k,P,U){var W=!1;if((P===void 0||P<0)&&(P=0),P>this.length||((U===void 0||U>this.length)&&(U=this.length),U<=0)||(U>>>=0,P>>>=0,U<=P))return"";for(k||(k="utf8");;)switch(k){case"hex":return q(this,P,U);case"utf8":case"utf-8":return E(this,P,U);case"ascii":return z(this,P,U);case"latin1":case"binary":return Z(this,P,U);case"base64":return L(this,P,U);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return te(this,P,U);default:if(W)throw new TypeError("Unknown encoding: "+k);k=(k+"").toLowerCase(),W=!0}}a.prototype._isBuffer=!0;function w(k,P,U){var W=k[P];k[P]=k[U],k[U]=W}a.prototype.swap16=function(){var P=this.length;if(P%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var U=0;U<P;U+=2)w(this,U,U+1);return this},a.prototype.swap32=function(){var P=this.length;if(P%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var U=0;U<P;U+=4)w(this,U,U+3),w(this,U+1,U+2);return this},a.prototype.swap64=function(){var P=this.length;if(P%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var U=0;U<P;U+=8)w(this,U,U+7),w(this,U+1,U+6),w(this,U+2,U+5),w(this,U+3,U+4);return this},a.prototype.toString=function(){var P=this.length;return P===0?"":arguments.length===0?E(this,0,P):b.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(P){if(!a.isBuffer(P))throw new TypeError("Argument must be a Buffer");return this===P?!0:a.compare(this,P)===0},a.prototype.inspect=function(){var P="",U=e.INSPECT_MAX_BYTES;return P=this.toString("hex",0,U).replace(/(.{2})/g,"$1 ").trim(),this.length>U&&(P+=" ... "),"<Buffer "+P+">"},r&&(a.prototype[r]=a.prototype.inspect),a.prototype.compare=function(P,U,W,de,me){if(ue(P,Uint8Array)&&(P=a.from(P,P.offset,P.byteLength)),!a.isBuffer(P))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof P);if(U===void 0&&(U=0),W===void 0&&(W=P?P.length:0),de===void 0&&(de=0),me===void 0&&(me=this.length),U<0||W>P.length||de<0||me>this.length)throw new RangeError("out of range index");if(de>=me&&U>=W)return 0;if(de>=me)return-1;if(U>=W)return 1;if(U>>>=0,W>>>=0,de>>>=0,me>>>=0,this===P)return 0;for(var ve=me-de,be=W-U,Te=Math.min(ve,be),we=this.slice(de,me),xe=P.slice(U,W),Ue=0;Ue<Te;++Ue)if(we[Ue]!==xe[Ue]){ve=we[Ue],be=xe[Ue];break}return ve<be?-1:be<ve?1:0};function C(k,P,U,W,de){if(k.length===0)return-1;if(typeof U=="string"?(W=U,U=0):U>2147483647?U=2147483647:U<-2147483648&&(U=-2147483648),U=+U,G(U)&&(U=de?0:k.length-1),U<0&&(U=k.length+U),U>=k.length){if(de)return-1;U=k.length-1}else if(U<0)if(de)U=0;else return-1;if(typeof P=="string"&&(P=a.from(P,W)),a.isBuffer(P))return P.length===0?-1:B(k,P,U,W,de);if(typeof P=="number")return P=P&255,typeof Uint8Array.prototype.indexOf=="function"?de?Uint8Array.prototype.indexOf.call(k,P,U):Uint8Array.prototype.lastIndexOf.call(k,P,U):B(k,[P],U,W,de);throw new TypeError("val must be string, number or Buffer")}function B(k,P,U,W,de){var me=1,ve=k.length,be=P.length;if(W!==void 0&&(W=String(W).toLowerCase(),W==="ucs2"||W==="ucs-2"||W==="utf16le"||W==="utf-16le")){if(k.length<2||P.length<2)return-1;me=2,ve/=2,be/=2,U/=2}function Te(et,De){return me===1?et[De]:et.readUInt16BE(De*me)}var we;if(de){var xe=-1;for(we=U;we<ve;we++)if(Te(k,we)===Te(P,xe===-1?0:we-xe)){if(xe===-1&&(xe=we),we-xe+1===be)return xe*me}else xe!==-1&&(we-=we-xe),xe=-1}else for(U+be>ve&&(U=ve-be),we=U;we>=0;we--){for(var Ue=!0,ke=0;ke<be;ke++)if(Te(k,we+ke)!==Te(P,ke)){Ue=!1;break}if(Ue)return we}return-1}a.prototype.includes=function(P,U,W){return this.indexOf(P,U,W)!==-1},a.prototype.indexOf=function(P,U,W){return C(this,P,U,W,!0)},a.prototype.lastIndexOf=function(P,U,W){return C(this,P,U,W,!1)};function O(k,P,U,W){U=Number(U)||0;var de=k.length-U;W?(W=Number(W),W>de&&(W=de)):W=de;var me=P.length;W>me/2&&(W=me/2);for(var ve=0;ve<W;++ve){var be=parseInt(P.substr(ve*2,2),16);if(G(be))return ve;k[U+ve]=be}return ve}function x(k,P,U,W){return J(K(P,k.length-U),k,U,W)}function M(k,P,U,W){return J(Ae(P),k,U,W)}function R(k,P,U,W){return J(ie(P),k,U,W)}function F(k,P,U,W){return J(ae(P,k.length-U),k,U,W)}a.prototype.write=function(P,U,W,de){if(U===void 0)de="utf8",W=this.length,U=0;else if(W===void 0&&typeof U=="string")de=U,W=this.length,U=0;else if(isFinite(U))U=U>>>0,isFinite(W)?(W=W>>>0,de===void 0&&(de="utf8")):(de=W,W=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var me=this.length-U;if((W===void 0||W>me)&&(W=me),P.length>0&&(W<0||U<0)||U>this.length)throw new RangeError("Attempt to write outside buffer bounds");de||(de="utf8");for(var ve=!1;;)switch(de){case"hex":return O(this,P,U,W);case"utf8":case"utf-8":return x(this,P,U,W);case"ascii":case"latin1":case"binary":return M(this,P,U,W);case"base64":return R(this,P,U,W);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,P,U,W);default:if(ve)throw new TypeError("Unknown encoding: "+de);de=(""+de).toLowerCase(),ve=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function L(k,P,U){return P===0&&U===k.length?t.fromByteArray(k):t.fromByteArray(k.slice(P,U))}function E(k,P,U){U=Math.min(k.length,U);for(var W=[],de=P;de<U;){var me=k[de],ve=null,be=me>239?4:me>223?3:me>191?2:1;if(de+be<=U){var Te,we,xe,Ue;switch(be){case 1:me<128&&(ve=me);break;case 2:Te=k[de+1],(Te&192)===128&&(Ue=(me&31)<<6|Te&63,Ue>127&&(ve=Ue));break;case 3:Te=k[de+1],we=k[de+2],(Te&192)===128&&(we&192)===128&&(Ue=(me&15)<<12|(Te&63)<<6|we&63,Ue>2047&&(Ue<55296||Ue>57343)&&(ve=Ue));break;case 4:Te=k[de+1],we=k[de+2],xe=k[de+3],(Te&192)===128&&(we&192)===128&&(xe&192)===128&&(Ue=(me&15)<<18|(Te&63)<<12|(we&63)<<6|xe&63,Ue>65535&&Ue<1114112&&(ve=Ue))}}ve===null?(ve=65533,be=1):ve>65535&&(ve-=65536,W.push(ve>>>10&1023|55296),ve=56320|ve&1023),W.push(ve),de+=be}return X(W)}var H=4096;function X(k){var P=k.length;if(P<=H)return String.fromCharCode.apply(String,k);for(var U="",W=0;W<P;)U+=String.fromCharCode.apply(String,k.slice(W,W+=H));return U}function z(k,P,U){var W="";U=Math.min(k.length,U);for(var de=P;de<U;++de)W+=String.fromCharCode(k[de]&127);return W}function Z(k,P,U){var W="";U=Math.min(k.length,U);for(var de=P;de<U;++de)W+=String.fromCharCode(k[de]);return W}function q(k,P,U){var W=k.length;(!P||P<0)&&(P=0),(!U||U<0||U>W)&&(U=W);for(var de="",me=P;me<U;++me)de+=pe[k[me]];return de}function te(k,P,U){for(var W=k.slice(P,U),de="",me=0;me<W.length-1;me+=2)de+=String.fromCharCode(W[me]+W[me+1]*256);return de}a.prototype.slice=function(P,U){var W=this.length;P=~~P,U=U===void 0?W:~~U,P<0?(P+=W,P<0&&(P=0)):P>W&&(P=W),U<0?(U+=W,U<0&&(U=0)):U>W&&(U=W),U<P&&(U=P);var de=this.subarray(P,U);return Object.setPrototypeOf(de,a.prototype),de};function ne(k,P,U){if(k%1!==0||k<0)throw new RangeError("offset is not uint");if(k+P>U)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(P,U,W){P=P>>>0,U=U>>>0,W||ne(P,U,this.length);for(var de=this[P],me=1,ve=0;++ve<U&&(me*=256);)de+=this[P+ve]*me;return de},a.prototype.readUintBE=a.prototype.readUIntBE=function(P,U,W){P=P>>>0,U=U>>>0,W||ne(P,U,this.length);for(var de=this[P+--U],me=1;U>0&&(me*=256);)de+=this[P+--U]*me;return de},a.prototype.readUint8=a.prototype.readUInt8=function(P,U){return P=P>>>0,U||ne(P,1,this.length),this[P]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(P,U){return P=P>>>0,U||ne(P,2,this.length),this[P]|this[P+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(P,U){return P=P>>>0,U||ne(P,2,this.length),this[P]<<8|this[P+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(P,U){return P=P>>>0,U||ne(P,4,this.length),(this[P]|this[P+1]<<8|this[P+2]<<16)+this[P+3]*16777216},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(P,U){return P=P>>>0,U||ne(P,4,this.length),this[P]*16777216+(this[P+1]<<16|this[P+2]<<8|this[P+3])},a.prototype.readIntLE=function(P,U,W){P=P>>>0,U=U>>>0,W||ne(P,U,this.length);for(var de=this[P],me=1,ve=0;++ve<U&&(me*=256);)de+=this[P+ve]*me;return me*=128,de>=me&&(de-=Math.pow(2,8*U)),de},a.prototype.readIntBE=function(P,U,W){P=P>>>0,U=U>>>0,W||ne(P,U,this.length);for(var de=U,me=1,ve=this[P+--de];de>0&&(me*=256);)ve+=this[P+--de]*me;return me*=128,ve>=me&&(ve-=Math.pow(2,8*U)),ve},a.prototype.readInt8=function(P,U){return P=P>>>0,U||ne(P,1,this.length),this[P]&128?(255-this[P]+1)*-1:this[P]},a.prototype.readInt16LE=function(P,U){P=P>>>0,U||ne(P,2,this.length);var W=this[P]|this[P+1]<<8;return W&32768?W|4294901760:W},a.prototype.readInt16BE=function(P,U){P=P>>>0,U||ne(P,2,this.length);var W=this[P+1]|this[P]<<8;return W&32768?W|4294901760:W},a.prototype.readInt32LE=function(P,U){return P=P>>>0,U||ne(P,4,this.length),this[P]|this[P+1]<<8|this[P+2]<<16|this[P+3]<<24},a.prototype.readInt32BE=function(P,U){return P=P>>>0,U||ne(P,4,this.length),this[P]<<24|this[P+1]<<16|this[P+2]<<8|this[P+3]},a.prototype.readFloatLE=function(P,U){return P=P>>>0,U||ne(P,4,this.length),n.read(this,P,!0,23,4)},a.prototype.readFloatBE=function(P,U){return P=P>>>0,U||ne(P,4,this.length),n.read(this,P,!1,23,4)},a.prototype.readDoubleLE=function(P,U){return P=P>>>0,U||ne(P,8,this.length),n.read(this,P,!0,52,8)},a.prototype.readDoubleBE=function(P,U){return P=P>>>0,U||ne(P,8,this.length),n.read(this,P,!1,52,8)};function _(k,P,U,W,de,me){if(!a.isBuffer(k))throw new TypeError('"buffer" argument must be a Buffer instance');if(P>de||P<me)throw new RangeError('"value" argument is out of bounds');if(U+W>k.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(P,U,W,de){if(P=+P,U=U>>>0,W=W>>>0,!de){var me=Math.pow(2,8*W)-1;_(this,P,U,W,me,0)}var ve=1,be=0;for(this[U]=P&255;++be<W&&(ve*=256);)this[U+be]=P/ve&255;return U+W},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(P,U,W,de){if(P=+P,U=U>>>0,W=W>>>0,!de){var me=Math.pow(2,8*W)-1;_(this,P,U,W,me,0)}var ve=W-1,be=1;for(this[U+ve]=P&255;--ve>=0&&(be*=256);)this[U+ve]=P/be&255;return U+W},a.prototype.writeUint8=a.prototype.writeUInt8=function(P,U,W){return P=+P,U=U>>>0,W||_(this,P,U,1,255,0),this[U]=P&255,U+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(P,U,W){return P=+P,U=U>>>0,W||_(this,P,U,2,65535,0),this[U]=P&255,this[U+1]=P>>>8,U+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(P,U,W){return P=+P,U=U>>>0,W||_(this,P,U,2,65535,0),this[U]=P>>>8,this[U+1]=P&255,U+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(P,U,W){return P=+P,U=U>>>0,W||_(this,P,U,4,4294967295,0),this[U+3]=P>>>24,this[U+2]=P>>>16,this[U+1]=P>>>8,this[U]=P&255,U+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(P,U,W){return P=+P,U=U>>>0,W||_(this,P,U,4,4294967295,0),this[U]=P>>>24,this[U+1]=P>>>16,this[U+2]=P>>>8,this[U+3]=P&255,U+4},a.prototype.writeIntLE=function(P,U,W,de){if(P=+P,U=U>>>0,!de){var me=Math.pow(2,8*W-1);_(this,P,U,W,me-1,-me)}var ve=0,be=1,Te=0;for(this[U]=P&255;++ve<W&&(be*=256);)P<0&&Te===0&&this[U+ve-1]!==0&&(Te=1),this[U+ve]=(P/be>>0)-Te&255;return U+W},a.prototype.writeIntBE=function(P,U,W,de){if(P=+P,U=U>>>0,!de){var me=Math.pow(2,8*W-1);_(this,P,U,W,me-1,-me)}var ve=W-1,be=1,Te=0;for(this[U+ve]=P&255;--ve>=0&&(be*=256);)P<0&&Te===0&&this[U+ve+1]!==0&&(Te=1),this[U+ve]=(P/be>>0)-Te&255;return U+W},a.prototype.writeInt8=function(P,U,W){return P=+P,U=U>>>0,W||_(this,P,U,1,127,-128),P<0&&(P=255+P+1),this[U]=P&255,U+1},a.prototype.writeInt16LE=function(P,U,W){return P=+P,U=U>>>0,W||_(this,P,U,2,32767,-32768),this[U]=P&255,this[U+1]=P>>>8,U+2},a.prototype.writeInt16BE=function(P,U,W){return P=+P,U=U>>>0,W||_(this,P,U,2,32767,-32768),this[U]=P>>>8,this[U+1]=P&255,U+2},a.prototype.writeInt32LE=function(P,U,W){return P=+P,U=U>>>0,W||_(this,P,U,4,2147483647,-2147483648),this[U]=P&255,this[U+1]=P>>>8,this[U+2]=P>>>16,this[U+3]=P>>>24,U+4},a.prototype.writeInt32BE=function(P,U,W){return P=+P,U=U>>>0,W||_(this,P,U,4,2147483647,-2147483648),P<0&&(P=4294967295+P+1),this[U]=P>>>24,this[U+1]=P>>>16,this[U+2]=P>>>8,this[U+3]=P&255,U+4};function Y(k,P,U,W,de,me){if(U+W>k.length)throw new RangeError("Index out of range");if(U<0)throw new RangeError("Index out of range")}function re(k,P,U,W,de){return P=+P,U=U>>>0,de||Y(k,P,U,4),n.write(k,P,U,W,23,4),U+4}a.prototype.writeFloatLE=function(P,U,W){return re(this,P,U,!0,W)},a.prototype.writeFloatBE=function(P,U,W){return re(this,P,U,!1,W)};function se(k,P,U,W,de){return P=+P,U=U>>>0,de||Y(k,P,U,8),n.write(k,P,U,W,52,8),U+8}a.prototype.writeDoubleLE=function(P,U,W){return se(this,P,U,!0,W)},a.prototype.writeDoubleBE=function(P,U,W){return se(this,P,U,!1,W)},a.prototype.copy=function(P,U,W,de){if(!a.isBuffer(P))throw new TypeError("argument should be a Buffer");if(W||(W=0),!de&&de!==0&&(de=this.length),U>=P.length&&(U=P.length),U||(U=0),de>0&&de<W&&(de=W),de===W||P.length===0||this.length===0)return 0;if(U<0)throw new RangeError("targetStart out of bounds");if(W<0||W>=this.length)throw new RangeError("Index out of range");if(de<0)throw new RangeError("sourceEnd out of bounds");de>this.length&&(de=this.length),P.length-U<de-W&&(de=P.length-U+W);var me=de-W;return this===P&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(U,W,de):Uint8Array.prototype.set.call(P,this.subarray(W,de),U),me},a.prototype.fill=function(P,U,W,de){if(typeof P=="string"){if(typeof U=="string"?(de=U,U=0,W=this.length):typeof W=="string"&&(de=W,W=this.length),de!==void 0&&typeof de!="string")throw new TypeError("encoding must be a string");if(typeof de=="string"&&!a.isEncoding(de))throw new TypeError("Unknown encoding: "+de);if(P.length===1){var me=P.charCodeAt(0);(de==="utf8"&&me<128||de==="latin1")&&(P=me)}}else typeof P=="number"?P=P&255:typeof P=="boolean"&&(P=Number(P));if(U<0||this.length<U||this.length<W)throw new RangeError("Out of range index");if(W<=U)return this;U=U>>>0,W=W===void 0?this.length:W>>>0,P||(P=0);var ve;if(typeof P=="number")for(ve=U;ve<W;++ve)this[ve]=P;else{var be=a.isBuffer(P)?P:a.from(P,de),Te=be.length;if(Te===0)throw new TypeError('The value "'+P+'" is invalid for argument "value"');for(ve=0;ve<W-U;++ve)this[ve+U]=be[ve%Te]}return this};var ce=/[^+/0-9A-Za-z-_]/g;function N(k){if(k=k.split("=")[0],k=k.trim().replace(ce,""),k.length<2)return"";for(;k.length%4!==0;)k=k+"=";return k}function K(k,P){P=P||1/0;for(var U,W=k.length,de=null,me=[],ve=0;ve<W;++ve){if(U=k.charCodeAt(ve),U>55295&&U<57344){if(!de){if(U>56319){(P-=3)>-1&&me.push(239,191,189);continue}else if(ve+1===W){(P-=3)>-1&&me.push(239,191,189);continue}de=U;continue}if(U<56320){(P-=3)>-1&&me.push(239,191,189),de=U;continue}U=(de-55296<<10|U-56320)+65536}else de&&(P-=3)>-1&&me.push(239,191,189);if(de=null,U<128){if((P-=1)<0)break;me.push(U)}else if(U<2048){if((P-=2)<0)break;me.push(U>>6|192,U&63|128)}else if(U<65536){if((P-=3)<0)break;me.push(U>>12|224,U>>6&63|128,U&63|128)}else if(U<1114112){if((P-=4)<0)break;me.push(U>>18|240,U>>12&63|128,U>>6&63|128,U&63|128)}else throw new Error("Invalid code point")}return me}function Ae(k){for(var P=[],U=0;U<k.length;++U)P.push(k.charCodeAt(U)&255);return P}function ae(k,P){for(var U,W,de,me=[],ve=0;ve<k.length&&!((P-=2)<0);++ve)U=k.charCodeAt(ve),W=U>>8,de=U%256,me.push(de),me.push(W);return me}function ie(k){return t.toByteArray(N(k))}function J(k,P,U,W){for(var de=0;de<W&&!(de+U>=P.length||de>=k.length);++de)P[de+U]=k[de];return de}function ue(k,P){return k instanceof P||k!=null&&k.constructor!=null&&k.constructor.name!=null&&k.constructor.name===P.name}function G(k){return k!==k}var pe=function(){for(var k="0123456789abcdef",P=new Array(256),U=0;U<16;++U)for(var W=U*16,de=0;de<16;++de)P[W+de]=k[U]+k[de];return P}()}(DS)),DS}var RS={},$S={},NS,MN;function oZ(){return MN||(MN=1,NS=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;t[n]=i;for(n in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var A=Object.getOwnPropertyDescriptor(t,n);if(A.value!==i||A.enumerable!==!0)return!1}return!0}),NS}var HS,kN;function uU(){if(kN)return HS;kN=1;var e=oZ();return HS=function(){return e()&&!!Symbol.toStringTag},HS}var MS,jN;function AUe(){return jN||(jN=1,MS=Error),MS}var kS,KN;function aUe(){return KN||(KN=1,kS=EvalError),kS}var jS,VN;function sUe(){return VN||(VN=1,jS=RangeError),jS}var KS,zN;function lUe(){return zN||(zN=1,KS=ReferenceError),KS}var VS,GN;function AZ(){return GN||(GN=1,VS=SyntaxError),VS}var zS,WN;function EC(){return WN||(WN=1,zS=TypeError),zS}var GS,qN;function uUe(){return qN||(qN=1,GS=URIError),GS}var WS,XN;function cUe(){if(XN)return WS;XN=1;var e=typeof Symbol<"u"&&Symbol,t=oZ();return WS=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},WS}var qS,YN;function fUe(){if(YN)return qS;YN=1;var e={__proto__:null,foo:{}},t=Object;return qS=function(){return{__proto__:e}.foo===e.foo&&!(e instanceof t)},qS}var XS,JN;function dUe(){if(JN)return XS;JN=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,n=Math.max,r="[object Function]",i=function(s,u){for(var l=[],c=0;c<s.length;c+=1)l[c]=s[c];for(var d=0;d<u.length;d+=1)l[d+s.length]=u[d];return l},o=function(s,u){for(var l=[],c=u,d=0;c<s.length;c+=1,d+=1)l[d]=s[c];return l},A=function(a,s){for(var u="",l=0;l<a.length;l+=1)u+=a[l],l+1<a.length&&(u+=s);return u};return XS=function(s){var u=this;if(typeof u!="function"||t.apply(u)!==r)throw new TypeError(e+u);for(var l=o(arguments,1),c,d=function(){if(this instanceof c){var p=u.apply(this,i(l,arguments));return Object(p)===p?p:this}return u.apply(s,i(l,arguments))},f=n(0,u.length-l.length),g=[],h=0;h<f;h++)g[h]="$"+h;if(c=Function("binder","return function ("+A(g,",")+"){ return binder.apply(this,arguments); }")(d),u.prototype){var m=function(){};m.prototype=u.prototype,c.prototype=new m,m.prototype=null}return c},XS}var YS,ZN;function cU(){if(ZN)return YS;ZN=1;var e=dUe();return YS=Function.prototype.bind||e,YS}var JS,eH;function hUe(){if(eH)return JS;eH=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,n=cU();return JS=n.call(e,t),JS}var ZS,tH;function Rv(){if(tH)return ZS;tH=1;var e,t=AUe(),n=aUe(),r=sUe(),i=lUe(),o=AZ(),A=EC(),a=uUe(),s=Function,u=function(z){try{return s('"use strict"; return ('+z+").constructor;")()}catch{}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch{l=null}var c=function(){throw new A},d=l?function(){try{return arguments.callee,c}catch{try{return l(arguments,"callee").get}catch{return c}}}():c,f=cUe()(),g=fUe()(),h=Object.getPrototypeOf||(g?function(z){return z.__proto__}:null),m={},p=typeof Uint8Array>"u"||!h?e:h(Uint8Array),v={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":f&&h?h([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":m,"%AsyncGenerator%":m,"%AsyncGeneratorFunction%":m,"%AsyncIteratorPrototype%":m,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":n,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":s,"%GeneratorFunction%":m,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f&&h?h(h([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!f||!h?e:h(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":r,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!f||!h?e:h(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f&&h?h(""[Symbol.iterator]()):e,"%Symbol%":f?Symbol:e,"%SyntaxError%":o,"%ThrowTypeError%":d,"%TypedArray%":p,"%TypeError%":A,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":a,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet};if(h)try{null.error}catch(z){var y=h(h(z));v["%Error.prototype%"]=y}var b=function z(Z){var q;if(Z==="%AsyncFunction%")q=u("async function () {}");else if(Z==="%GeneratorFunction%")q=u("function* () {}");else if(Z==="%AsyncGeneratorFunction%")q=u("async function* () {}");else if(Z==="%AsyncGenerator%"){var te=z("%AsyncGeneratorFunction%");te&&(q=te.prototype)}else if(Z==="%AsyncIteratorPrototype%"){var ne=z("%AsyncGenerator%");ne&&h&&(q=h(ne.prototype))}return v[Z]=q,q},w={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},C=cU(),B=hUe(),O=C.call(Function.call,Array.prototype.concat),x=C.call(Function.apply,Array.prototype.splice),M=C.call(Function.call,String.prototype.replace),R=C.call(Function.call,String.prototype.slice),F=C.call(Function.call,RegExp.prototype.exec),L=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,E=/\\(\\)?/g,H=function(Z){var q=R(Z,0,1),te=R(Z,-1);if(q==="%"&&te!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(te==="%"&&q!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var ne=[];return M(Z,L,function(_,Y,re,se){ne[ne.length]=re?M(se,E,"$1"):Y||_}),ne},X=function(Z,q){var te=Z,ne;if(B(w,te)&&(ne=w[te],te="%"+ne[0]+"%"),B(v,te)){var _=v[te];if(_===m&&(_=b(te)),typeof _>"u"&&!q)throw new A("intrinsic "+Z+" exists, but is not available. Please file an issue!");return{alias:ne,name:te,value:_}}throw new o("intrinsic "+Z+" does not exist!")};return ZS=function(Z,q){if(typeof Z!="string"||Z.length===0)throw new A("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof q!="boolean")throw new A('"allowMissing" argument must be a boolean');if(F(/^%?[^%]*%?$/,Z)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var te=H(Z),ne=te.length>0?te[0]:"",_=X("%"+ne+"%",q),Y=_.name,re=_.value,se=!1,ce=_.alias;ce&&(ne=ce[0],x(te,O([0,1],ce)));for(var N=1,K=!0;N<te.length;N+=1){var Ae=te[N],ae=R(Ae,0,1),ie=R(Ae,-1);if((ae==='"'||ae==="'"||ae==="`"||ie==='"'||ie==="'"||ie==="`")&&ae!==ie)throw new o("property names with quotes must have matching quotes");if((Ae==="constructor"||!K)&&(se=!0),ne+="."+Ae,Y="%"+ne+"%",B(v,Y))re=v[Y];else if(re!=null){if(!(Ae in re)){if(!q)throw new A("base intrinsic for "+Z+" exists, but the property is not available.");return}if(l&&N+1>=te.length){var J=l(re,Ae);K=!!J,K&&"get"in J&&!("originalValue"in J.get)?re=J.get:re=re[Ae]}else K=B(re,Ae),re=re[Ae];K&&!se&&(v[Y]=re)}}return re},ZS}var eE={exports:{}},tE,nH;function fU(){if(nH)return tE;nH=1;var e=Rv(),t=e("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return tE=t,tE}var nE,rH;function dU(){if(rH)return nE;rH=1;var e=Rv(),t=e("%Object.getOwnPropertyDescriptor%",!0);if(t)try{t([],"length")}catch{t=null}return nE=t,nE}var rE,iH;function pUe(){if(iH)return rE;iH=1;var e=fU(),t=AZ(),n=EC(),r=dU();return rE=function(o,A,a){if(!o||typeof o!="object"&&typeof o!="function")throw new n("`obj` must be an object or a function`");if(typeof A!="string"&&typeof A!="symbol")throw new n("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new n("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new n("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new n("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new n("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,c=arguments.length>6?arguments[6]:!1,d=!!r&&r(o,A);if(e)e(o,A,{configurable:l===null&&d?d.configurable:!l,enumerable:s===null&&d?d.enumerable:!s,value:a,writable:u===null&&d?d.writable:!u});else if(c||!s&&!u&&!l)o[A]=a;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},rE}var iE,oH;function gUe(){if(oH)return iE;oH=1;var e=fU(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},iE=t,iE}var oE,AH;function mUe(){if(AH)return oE;AH=1;var e=Rv(),t=pUe(),n=gUe()(),r=dU(),i=EC(),o=e("%Math.floor%");return oE=function(a,s){if(typeof a!="function")throw new i("`fn` is not a function");if(typeof s!="number"||s<0||s>4294967295||o(s)!==s)throw new i("`length` must be a positive 32-bit integer");var u=arguments.length>2&&!!arguments[2],l=!0,c=!0;if("length"in a&&r){var d=r(a,"length");d&&!d.configurable&&(l=!1),d&&!d.writable&&(c=!1)}return(l||c||!u)&&(n?t(a,"length",s,!0,!0):t(a,"length",s)),a},oE}var aH;function aZ(){return aH||(aH=1,function(e){var t=cU(),n=Rv(),r=mUe(),i=EC(),o=n("%Function.prototype.apply%"),A=n("%Function.prototype.call%"),a=n("%Reflect.apply%",!0)||t.call(A,o),s=fU(),u=n("%Math.max%");e.exports=function(d){if(typeof d!="function")throw new i("a function is required");var f=a(t,A,arguments);return r(f,1+u(0,d.length-(arguments.length-1)),!0)};var l=function(){return a(t,o,arguments)};s?s(e.exports,"apply",{value:l}):e.exports.apply=l}(eE)),eE.exports}var AE,sH;function sZ(){if(sH)return AE;sH=1;var e=Rv(),t=aZ(),n=t(e("String.prototype.indexOf"));return AE=function(i,o){var A=e(i,!!o);return typeof A=="function"&&n(i,".prototype.")>-1?t(A):A},AE}var aE,lH;function vUe(){if(lH)return aE;lH=1;var e=uU()(),t=sZ(),n=t("Object.prototype.toString"),r=function(a){return e&&a&&typeof a=="object"&&Symbol.toStringTag in a?!1:n(a)==="[object Arguments]"},i=function(a){return r(a)?!0:a!==null&&typeof a=="object"&&typeof a.length=="number"&&a.length>=0&&n(a)!=="[object Array]"&&n(a.callee)==="[object Function]"},o=function(){return r(arguments)}();return r.isLegacyArguments=i,aE=o?r:i,aE}var sE,uH;function yUe(){if(uH)return sE;uH=1;var e=Object.prototype.toString,t=Function.prototype.toString,n=/^\s*(?:function)?\*/,r=uU()(),i=Object.getPrototypeOf,o=function(){if(!r)return!1;try{return Function("return function*() {}")()}catch{}},A;return sE=function(s){if(typeof s!="function")return!1;if(n.test(t.call(s)))return!0;if(!r){var u=e.call(s);return u==="[object GeneratorFunction]"}if(!i)return!1;if(typeof A>"u"){var l=o();A=l?i(l):!1}return i(s)===A},sE}var lE,cH;function bUe(){if(cH)return lE;cH=1;var e=Function.prototype.toString,t=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,n,r;if(typeof t=="function"&&typeof Object.defineProperty=="function")try{n=Object.defineProperty({},"length",{get:function(){throw r}}),r={},t(function(){throw 42},null,n)}catch(v){v!==r&&(t=null)}else t=null;var i=/^\s*class\b/,o=function(y){try{var b=e.call(y);return i.test(b)}catch{return!1}},A=function(y){try{return o(y)?!1:(e.call(y),!0)}catch{return!1}},a=Object.prototype.toString,s="[object Object]",u="[object Function]",l="[object GeneratorFunction]",c="[object HTMLAllCollection]",d="[object HTML document.all class]",f="[object HTMLCollection]",g=typeof Symbol=="function"&&!!Symbol.toStringTag,h=!(0 in[,]),m=function(){return!1};if(typeof document=="object"){var p=document.all;a.call(p)===a.call(document.all)&&(m=function(y){if((h||!y)&&(typeof y>"u"||typeof y=="object"))try{var b=a.call(y);return(b===c||b===d||b===f||b===s)&&y("")==null}catch{}return!1})}return lE=t?function(y){if(m(y))return!0;if(!y||typeof y!="function"&&typeof y!="object")return!1;try{t(y,null,n)}catch(b){if(b!==r)return!1}return!o(y)&&A(y)}:function(y){if(m(y))return!0;if(!y||typeof y!="function"&&typeof y!="object")return!1;if(g)return A(y);if(o(y))return!1;var b=a.call(y);return b!==u&&b!==l&&!/^\[object HTML/.test(b)?!1:A(y)},lE}var uE,fH;function wUe(){if(fH)return uE;fH=1;var e=bUe(),t=Object.prototype.toString,n=Object.prototype.hasOwnProperty,r=function(s,u,l){for(var c=0,d=s.length;c<d;c++)n.call(s,c)&&(l==null?u(s[c],c,s):u.call(l,s[c],c,s))},i=function(s,u,l){for(var c=0,d=s.length;c<d;c++)l==null?u(s.charAt(c),c,s):u.call(l,s.charAt(c),c,s)},o=function(s,u,l){for(var c in s)n.call(s,c)&&(l==null?u(s[c],c,s):u.call(l,s[c],c,s))},A=function(s,u,l){if(!e(u))throw new TypeError("iterator must be a function");var c;arguments.length>=3&&(c=l),t.call(s)==="[object Array]"?r(s,u,c):typeof s=="string"?i(s,u,c):o(s,u,c)};return uE=A,uE}var cE,dH;function BUe(){return dH||(dH=1,cE=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),cE}var fE,hH;function CUe(){if(hH)return fE;hH=1;var e=BUe(),t=typeof globalThis>"u"?Sl:globalThis;return fE=function(){for(var r=[],i=0;i<e.length;i++)typeof t[e[i]]=="function"&&(r[r.length]=e[i]);return r},fE}var dE,pH;function lZ(){if(pH)return dE;pH=1;var e=wUe(),t=CUe(),n=aZ(),r=sZ(),i=dU(),o=r("Object.prototype.toString"),A=uU()(),a=typeof globalThis>"u"?Sl:globalThis,s=t(),u=r("String.prototype.slice"),l=Object.getPrototypeOf,c=r("Array.prototype.indexOf",!0)||function(m,p){for(var v=0;v<m.length;v+=1)if(m[v]===p)return v;return-1},d={__proto__:null};A&&i&&l?e(s,function(h){var m=new a[h];if(Symbol.toStringTag in m){var p=l(m),v=i(p,Symbol.toStringTag);if(!v){var y=l(p);v=i(y,Symbol.toStringTag)}d["$"+h]=n(v.get)}}):e(s,function(h){var m=new a[h],p=m.slice||m.set;p&&(d["$"+h]=n(p))});var f=function(m){var p=!1;return e(d,function(v,y){if(!p)try{"$"+v(m)===y&&(p=u(y,1))}catch{}}),p},g=function(m){var p=!1;return e(d,function(v,y){if(!p)try{v(m),p=u(y,1)}catch{}}),p};return dE=function(m){if(!m||typeof m!="object")return!1;if(!A){var p=u(o(m),8,-1);return c(s,p)>-1?p:p!=="Object"?!1:g(m)}return i?f(m):null},dE}var hE,gH;function xUe(){if(gH)return hE;gH=1;var e=lZ();return hE=function(n){return!!e(n)},hE}var mH;function SUe(){return mH||(mH=1,function(e){var t=vUe(),n=yUe(),r=lZ(),i=xUe();function o(W){return W.call.bind(W)}var A=typeof BigInt<"u",a=typeof Symbol<"u",s=o(Object.prototype.toString),u=o(Number.prototype.valueOf),l=o(String.prototype.valueOf),c=o(Boolean.prototype.valueOf);if(A)var d=o(BigInt.prototype.valueOf);if(a)var f=o(Symbol.prototype.valueOf);function g(W,de){if(typeof W!="object")return!1;try{return de(W),!0}catch{return!1}}e.isArgumentsObject=t,e.isGeneratorFunction=n,e.isTypedArray=i;function h(W){return typeof Promise<"u"&&W instanceof Promise||W!==null&&typeof W=="object"&&typeof W.then=="function"&&typeof W.catch=="function"}e.isPromise=h;function m(W){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(W):i(W)||Y(W)}e.isArrayBufferView=m;function p(W){return r(W)==="Uint8Array"}e.isUint8Array=p;function v(W){return r(W)==="Uint8ClampedArray"}e.isUint8ClampedArray=v;function y(W){return r(W)==="Uint16Array"}e.isUint16Array=y;function b(W){return r(W)==="Uint32Array"}e.isUint32Array=b;function w(W){return r(W)==="Int8Array"}e.isInt8Array=w;function C(W){return r(W)==="Int16Array"}e.isInt16Array=C;function B(W){return r(W)==="Int32Array"}e.isInt32Array=B;function O(W){return r(W)==="Float32Array"}e.isFloat32Array=O;function x(W){return r(W)==="Float64Array"}e.isFloat64Array=x;function M(W){return r(W)==="BigInt64Array"}e.isBigInt64Array=M;function R(W){return r(W)==="BigUint64Array"}e.isBigUint64Array=R;function F(W){return s(W)==="[object Map]"}F.working=typeof Map<"u"&&F(new Map);function L(W){return typeof Map>"u"?!1:F.working?F(W):W instanceof Map}e.isMap=L;function E(W){return s(W)==="[object Set]"}E.working=typeof Set<"u"&&E(new Set);function H(W){return typeof Set>"u"?!1:E.working?E(W):W instanceof Set}e.isSet=H;function X(W){return s(W)==="[object WeakMap]"}X.working=typeof WeakMap<"u"&&X(new WeakMap);function z(W){return typeof WeakMap>"u"?!1:X.working?X(W):W instanceof WeakMap}e.isWeakMap=z;function Z(W){return s(W)==="[object WeakSet]"}Z.working=typeof WeakSet<"u"&&Z(new WeakSet);function q(W){return Z(W)}e.isWeakSet=q;function te(W){return s(W)==="[object ArrayBuffer]"}te.working=typeof ArrayBuffer<"u"&&te(new ArrayBuffer);function ne(W){return typeof ArrayBuffer>"u"?!1:te.working?te(W):W instanceof ArrayBuffer}e.isArrayBuffer=ne;function _(W){return s(W)==="[object DataView]"}_.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&_(new DataView(new ArrayBuffer(1),0,1));function Y(W){return typeof DataView>"u"?!1:_.working?_(W):W instanceof DataView}e.isDataView=Y;var re=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function se(W){return s(W)==="[object SharedArrayBuffer]"}function ce(W){return typeof re>"u"?!1:(typeof se.working>"u"&&(se.working=se(new re)),se.working?se(W):W instanceof re)}e.isSharedArrayBuffer=ce;function N(W){return s(W)==="[object AsyncFunction]"}e.isAsyncFunction=N;function K(W){return s(W)==="[object Map Iterator]"}e.isMapIterator=K;function Ae(W){return s(W)==="[object Set Iterator]"}e.isSetIterator=Ae;function ae(W){return s(W)==="[object Generator]"}e.isGeneratorObject=ae;function ie(W){return s(W)==="[object WebAssembly.Module]"}e.isWebAssemblyCompiledModule=ie;function J(W){return g(W,u)}e.isNumberObject=J;function ue(W){return g(W,l)}e.isStringObject=ue;function G(W){return g(W,c)}e.isBooleanObject=G;function pe(W){return A&&g(W,d)}e.isBigIntObject=pe;function k(W){return a&&g(W,f)}e.isSymbolObject=k;function P(W){return J(W)||ue(W)||G(W)||pe(W)||k(W)}e.isBoxedPrimitive=P;function U(W){return typeof Uint8Array<"u"&&(ne(W)||ce(W))}e.isAnyArrayBuffer=U,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(W){Object.defineProperty(e,W,{enumerable:!1,value:function(){throw new Error(W+" is not supported in userland")}})})}($S)),$S}var pE,vH;function EUe(){return vH||(vH=1,pE=function(t){return t&&typeof t=="object"&&typeof t.copy=="function"&&typeof t.fill=="function"&&typeof t.readUInt8=="function"}),pE}var yH;function uZ(){return yH||(yH=1,function(e){var t=Object.getOwnPropertyDescriptors||function(Y){for(var re=Object.keys(Y),se={},ce=0;ce<re.length;ce++)se[re[ce]]=Object.getOwnPropertyDescriptor(Y,re[ce]);return se},n=/%[sdj%]/g;e.format=function(_){if(!w(_)){for(var Y=[],re=0;re<arguments.length;re++)Y.push(A(arguments[re]));return Y.join(" ")}for(var re=1,se=arguments,ce=se.length,N=String(_).replace(n,function(Ae){if(Ae==="%%")return"%";if(re>=ce)return Ae;switch(Ae){case"%s":return String(se[re++]);case"%d":return Number(se[re++]);case"%j":try{return JSON.stringify(se[re++])}catch{return"[Circular]"}default:return Ae}}),K=se[re];re<ce;K=se[++re])v(K)||!x(K)?N+=" "+K:N+=" "+A(K);return N},e.deprecate=function(_,Y){if(typeof Vn<"u"&&Vn.noDeprecation===!0)return _;if(typeof Vn>"u")return function(){return e.deprecate(_,Y).apply(this,arguments)};var re=!1;function se(){if(!re){if(Vn.throwDeprecation)throw new Error(Y);Vn.traceDeprecation?console.trace(Y):console.error(Y),re=!0}return _.apply(this,arguments)}return se};var r={},i=/^$/;if(Vn.env.NODE_DEBUG){var o=Vn.env.NODE_DEBUG;o=o.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),i=new RegExp("^"+o+"$","i")}e.debuglog=function(_){if(_=_.toUpperCase(),!r[_])if(i.test(_)){var Y=Vn.pid;r[_]=function(){var re=e.format.apply(e,arguments);console.error("%s %d: %s",_,Y,re)}}else r[_]=function(){};return r[_]};function A(_,Y){var re={seen:[],stylize:s};return arguments.length>=3&&(re.depth=arguments[2]),arguments.length>=4&&(re.colors=arguments[3]),p(Y)?re.showHidden=Y:Y&&e._extend(re,Y),B(re.showHidden)&&(re.showHidden=!1),B(re.depth)&&(re.depth=2),B(re.colors)&&(re.colors=!1),B(re.customInspect)&&(re.customInspect=!0),re.colors&&(re.stylize=a),l(re,_,re.depth)}e.inspect=A,A.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]},A.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function a(_,Y){var re=A.styles[Y];return re?"\x1B["+A.colors[re][0]+"m"+_+"\x1B["+A.colors[re][1]+"m":_}function s(_,Y){return _}function u(_){var Y={};return _.forEach(function(re,se){Y[re]=!0}),Y}function l(_,Y,re){if(_.customInspect&&Y&&F(Y.inspect)&&Y.inspect!==e.inspect&&!(Y.constructor&&Y.constructor.prototype===Y)){var se=Y.inspect(re,_);return w(se)||(se=l(_,se,re)),se}var ce=c(_,Y);if(ce)return ce;var N=Object.keys(Y),K=u(N);if(_.showHidden&&(N=Object.getOwnPropertyNames(Y)),R(Y)&&(N.indexOf("message")>=0||N.indexOf("description")>=0))return d(Y);if(N.length===0){if(F(Y)){var Ae=Y.name?": "+Y.name:"";return _.stylize("[Function"+Ae+"]","special")}if(O(Y))return _.stylize(RegExp.prototype.toString.call(Y),"regexp");if(M(Y))return _.stylize(Date.prototype.toString.call(Y),"date");if(R(Y))return d(Y)}var ae="",ie=!1,J=["{","}"];if(m(Y)&&(ie=!0,J=["[","]"]),F(Y)){var ue=Y.name?": "+Y.name:"";ae=" [Function"+ue+"]"}if(O(Y)&&(ae=" "+RegExp.prototype.toString.call(Y)),M(Y)&&(ae=" "+Date.prototype.toUTCString.call(Y)),R(Y)&&(ae=" "+d(Y)),N.length===0&&(!ie||Y.length==0))return J[0]+ae+J[1];if(re<0)return O(Y)?_.stylize(RegExp.prototype.toString.call(Y),"regexp"):_.stylize("[Object]","special");_.seen.push(Y);var G;return ie?G=f(_,Y,re,K,N):G=N.map(function(pe){return g(_,Y,re,K,pe,ie)}),_.seen.pop(),h(G,ae,J)}function c(_,Y){if(B(Y))return _.stylize("undefined","undefined");if(w(Y)){var re="'"+JSON.stringify(Y).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return _.stylize(re,"string")}if(b(Y))return _.stylize(""+Y,"number");if(p(Y))return _.stylize(""+Y,"boolean");if(v(Y))return _.stylize("null","null")}function d(_){return"["+Error.prototype.toString.call(_)+"]"}function f(_,Y,re,se,ce){for(var N=[],K=0,Ae=Y.length;K<Ae;++K)Z(Y,String(K))?N.push(g(_,Y,re,se,String(K),!0)):N.push("");return ce.forEach(function(ae){ae.match(/^\d+$/)||N.push(g(_,Y,re,se,ae,!0))}),N}function g(_,Y,re,se,ce,N){var K,Ae,ae;if(ae=Object.getOwnPropertyDescriptor(Y,ce)||{value:Y[ce]},ae.get?ae.set?Ae=_.stylize("[Getter/Setter]","special"):Ae=_.stylize("[Getter]","special"):ae.set&&(Ae=_.stylize("[Setter]","special")),Z(se,ce)||(K="["+ce+"]"),Ae||(_.seen.indexOf(ae.value)<0?(v(re)?Ae=l(_,ae.value,null):Ae=l(_,ae.value,re-1),Ae.indexOf(`
- `)>-1&&(N?Ae=Ae.split(`
- `).map(function(ie){return" "+ie}).join(`
- `).slice(2):Ae=`
- `+Ae.split(`
- `).map(function(ie){return" "+ie}).join(`
- `))):Ae=_.stylize("[Circular]","special")),B(K)){if(N&&ce.match(/^\d+$/))return Ae;K=JSON.stringify(""+ce),K.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(K=K.slice(1,-1),K=_.stylize(K,"name")):(K=K.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),K=_.stylize(K,"string"))}return K+": "+Ae}function h(_,Y,re){var se=_.reduce(function(ce,N){return N.indexOf(`
- `)>=0,ce+N.replace(/\u001b\[\d\d?m/g,"").length+1},0);return se>60?re[0]+(Y===""?"":Y+`
- `)+" "+_.join(`,
- `)+" "+re[1]:re[0]+Y+" "+_.join(", ")+" "+re[1]}e.types=SUe();function m(_){return Array.isArray(_)}e.isArray=m;function p(_){return typeof _=="boolean"}e.isBoolean=p;function v(_){return _===null}e.isNull=v;function y(_){return _==null}e.isNullOrUndefined=y;function b(_){return typeof _=="number"}e.isNumber=b;function w(_){return typeof _=="string"}e.isString=w;function C(_){return typeof _=="symbol"}e.isSymbol=C;function B(_){return _===void 0}e.isUndefined=B;function O(_){return x(_)&&E(_)==="[object RegExp]"}e.isRegExp=O,e.types.isRegExp=O;function x(_){return typeof _=="object"&&_!==null}e.isObject=x;function M(_){return x(_)&&E(_)==="[object Date]"}e.isDate=M,e.types.isDate=M;function R(_){return x(_)&&(E(_)==="[object Error]"||_ instanceof Error)}e.isError=R,e.types.isNativeError=R;function F(_){return typeof _=="function"}e.isFunction=F;function L(_){return _===null||typeof _=="boolean"||typeof _=="number"||typeof _=="string"||typeof _=="symbol"||typeof _>"u"}e.isPrimitive=L,e.isBuffer=EUe();function E(_){return Object.prototype.toString.call(_)}function H(_){return _<10?"0"+_.toString(10):_.toString(10)}var X=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function z(){var _=new Date,Y=[H(_.getHours()),H(_.getMinutes()),H(_.getSeconds())].join(":");return[_.getDate(),X[_.getMonth()],Y].join(" ")}e.log=function(){console.log("%s - %s",z(),e.format.apply(e,arguments))},e.inherits=Ff(),e._extend=function(_,Y){if(!Y||!x(Y))return _;for(var re=Object.keys(Y),se=re.length;se--;)_[re[se]]=Y[re[se]];return _};function Z(_,Y){return Object.prototype.hasOwnProperty.call(_,Y)}var q=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;e.promisify=function(Y){if(typeof Y!="function")throw new TypeError('The "original" argument must be of type Function');if(q&&Y[q]){var re=Y[q];if(typeof re!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(re,q,{value:re,enumerable:!1,writable:!1,configurable:!0}),re}function re(){for(var se,ce,N=new Promise(function(ae,ie){se=ae,ce=ie}),K=[],Ae=0;Ae<arguments.length;Ae++)K.push(arguments[Ae]);K.push(function(ae,ie){ae?ce(ae):se(ie)});try{Y.apply(this,K)}catch(ae){ce(ae)}return N}return Object.setPrototypeOf(re,Object.getPrototypeOf(Y)),q&&Object.defineProperty(re,q,{value:re,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(re,t(Y))},e.promisify.custom=q;function te(_,Y){if(!_){var re=new Error("Promise was rejected with a falsy value");re.reason=_,_=re}return Y(_)}function ne(_){if(typeof _!="function")throw new TypeError('The "original" argument must be of type Function');function Y(){for(var re=[],se=0;se<arguments.length;se++)re.push(arguments[se]);var ce=re.pop();if(typeof ce!="function")throw new TypeError("The last argument must be of type Function");var N=this,K=function(){return ce.apply(N,arguments)};_.apply(this,re).then(function(Ae){Vn.nextTick(K.bind(null,null,Ae))},function(Ae){Vn.nextTick(te.bind(null,Ae,K))})}return Object.setPrototypeOf(Y,Object.getPrototypeOf(_)),Object.defineProperties(Y,t(_)),Y}e.callbackify=ne}(RS)),RS}var gE,bH;function FUe(){if(bH)return gE;bH=1;function e(d,f){var g=Object.keys(d);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(d);f&&(h=h.filter(function(m){return Object.getOwnPropertyDescriptor(d,m).enumerable})),g.push.apply(g,h)}return g}function t(d){for(var f=1;f<arguments.length;f++){var g=arguments[f]!=null?arguments[f]:{};f%2?e(Object(g),!0).forEach(function(h){n(d,h,g[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(g)):e(Object(g)).forEach(function(h){Object.defineProperty(d,h,Object.getOwnPropertyDescriptor(g,h))})}return d}function n(d,f,g){return f in d?Object.defineProperty(d,f,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[f]=g,d}function r(d,f){if(!(d instanceof f))throw new TypeError("Cannot call a class as a function")}function i(d,f){for(var g=0;g<f.length;g++){var h=f[g];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(d,h.key,h)}}function o(d,f,g){return i(d.prototype,f),d}var A=SC(),a=A.Buffer,s=uZ(),u=s.inspect,l=u&&u.custom||"inspect";function c(d,f,g){a.prototype.copy.call(d,f,g)}return gE=function(){function d(){r(this,d),this.head=null,this.tail=null,this.length=0}return o(d,[{key:"push",value:function(g){var h={data:g,next:null};this.length>0?this.tail.next=h:this.head=h,this.tail=h,++this.length}},{key:"unshift",value:function(g){var h={data:g,next:this.head};this.length===0&&(this.tail=h),this.head=h,++this.length}},{key:"shift",value:function(){if(this.length!==0){var g=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,g}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(g){if(this.length===0)return"";for(var h=this.head,m=""+h.data;h=h.next;)m+=g+h.data;return m}},{key:"concat",value:function(g){if(this.length===0)return a.alloc(0);for(var h=a.allocUnsafe(g>>>0),m=this.head,p=0;m;)c(m.data,h,p),p+=m.data.length,m=m.next;return h}},{key:"consume",value:function(g,h){var m;return g<this.head.data.length?(m=this.head.data.slice(0,g),this.head.data=this.head.data.slice(g)):g===this.head.data.length?m=this.shift():m=h?this._getString(g):this._getBuffer(g),m}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(g){var h=this.head,m=1,p=h.data;for(g-=p.length;h=h.next;){var v=h.data,y=g>v.length?v.length:g;if(y===v.length?p+=v:p+=v.slice(0,g),g-=y,g===0){y===v.length?(++m,h.next?this.head=h.next:this.head=this.tail=null):(this.head=h,h.data=v.slice(y));break}++m}return this.length-=m,p}},{key:"_getBuffer",value:function(g){var h=a.allocUnsafe(g),m=this.head,p=1;for(m.data.copy(h),g-=m.data.length;m=m.next;){var v=m.data,y=g>v.length?v.length:g;if(v.copy(h,h.length-g,0,y),g-=y,g===0){y===v.length?(++p,m.next?this.head=m.next:this.head=this.tail=null):(this.head=m,m.data=v.slice(y));break}++p}return this.length-=p,h}},{key:l,value:function(g,h){return u(this,t({},h,{depth:0,customInspect:!1}))}}]),d}(),gE}var mE,wH;function cZ(){if(wH)return mE;wH=1;function e(A,a){var s=this,u=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return u||l?(a?a(A):A&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,Vn.nextTick(i,this,A)):Vn.nextTick(i,this,A)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(A||null,function(c){!a&&c?s._writableState?s._writableState.errorEmitted?Vn.nextTick(n,s):(s._writableState.errorEmitted=!0,Vn.nextTick(t,s,c)):Vn.nextTick(t,s,c):a?(Vn.nextTick(n,s),a(c)):Vn.nextTick(n,s)}),this)}function t(A,a){i(A,a),n(A)}function n(A){A._writableState&&!A._writableState.emitClose||A._readableState&&!A._readableState.emitClose||A.emit("close")}function r(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function i(A,a){A.emit("error",a)}function o(A,a){var s=A._readableState,u=A._writableState;s&&s.autoDestroy||u&&u.autoDestroy?A.destroy(a):A.emit("error",a)}return mE={destroy:e,undestroy:r,errorOrDestroy:o},mE}var vE={},BH;function Mg(){if(BH)return vE;BH=1;function e(a,s){a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.__proto__=s}var t={};function n(a,s,u){u||(u=Error);function l(d,f,g){return typeof s=="string"?s:s(d,f,g)}var c=function(d){e(f,d);function f(g,h,m){return d.call(this,l(g,h,m))||this}return f}(u);c.prototype.name=u.name,c.prototype.code=a,t[a]=c}function r(a,s){if(Array.isArray(a)){var u=a.length;return a=a.map(function(l){return String(l)}),u>2?"one of ".concat(s," ").concat(a.slice(0,u-1).join(", "),", or ")+a[u-1]:u===2?"one of ".concat(s," ").concat(a[0]," or ").concat(a[1]):"of ".concat(s," ").concat(a[0])}else return"of ".concat(s," ").concat(String(a))}function i(a,s,u){return a.substr(0,s.length)===s}function o(a,s,u){return(u===void 0||u>a.length)&&(u=a.length),a.substring(u-s.length,u)===s}function A(a,s,u){return typeof u!="number"&&(u=0),u+s.length>a.length?!1:a.indexOf(s,u)!==-1}return n("ERR_INVALID_OPT_VALUE",function(a,s){return'The value "'+s+'" is invalid for option "'+a+'"'},TypeError),n("ERR_INVALID_ARG_TYPE",function(a,s,u){var l;typeof s=="string"&&i(s,"not ")?(l="must not be",s=s.replace(/^not /,"")):l="must be";var c;if(o(a," argument"))c="The ".concat(a," ").concat(l," ").concat(r(s,"type"));else{var d=A(a,".")?"property":"argument";c='The "'.concat(a,'" ').concat(d," ").concat(l," ").concat(r(s,"type"))}return c+=". Received type ".concat(typeof u),c},TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",function(a){return"The "+a+" method is not implemented"}),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",function(a){return"Cannot call "+a+" after a stream was destroyed"}),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",function(a){return"Unknown encoding: "+a},TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),vE.codes=t,vE}var yE,CH;function fZ(){if(CH)return yE;CH=1;var e=Mg().codes.ERR_INVALID_OPT_VALUE;function t(r,i,o){return r.highWaterMark!=null?r.highWaterMark:i?r[o]:null}function n(r,i,o,A){var a=t(i,A,o);if(a!=null){if(!(isFinite(a)&&Math.floor(a)===a)||a<0){var s=A?o:"highWaterMark";throw new e(s,a)}return Math.floor(a)}return r.objectMode?16:16*1024}return yE={getHighWaterMark:n},yE}var bE,xH;function IUe(){if(xH)return bE;xH=1,bE=e;function e(n,r){if(t("noDeprecation"))return n;var i=!1;function o(){if(!i){if(t("throwDeprecation"))throw new Error(r);t("traceDeprecation")?console.trace(r):console.warn(r),i=!0}return n.apply(this,arguments)}return o}function t(n){try{if(!Sl.localStorage)return!1}catch{return!1}var r=Sl.localStorage[n];return r==null?!1:String(r).toLowerCase()==="true"}return bE}var wE,SH;function dZ(){if(SH)return wE;SH=1,wE=O;function e(ce){var N=this;this.next=null,this.entry=null,this.finish=function(){se(N,ce)}}var t;O.WritableState=C;var n={deprecate:IUe()},r=iZ(),i=SC().Buffer,o=Sl.Uint8Array||function(){};function A(ce){return i.from(ce)}function a(ce){return i.isBuffer(ce)||ce instanceof o}var s=cZ(),u=fZ(),l=u.getHighWaterMark,c=Mg().codes,d=c.ERR_INVALID_ARG_TYPE,f=c.ERR_METHOD_NOT_IMPLEMENTED,g=c.ERR_MULTIPLE_CALLBACK,h=c.ERR_STREAM_CANNOT_PIPE,m=c.ERR_STREAM_DESTROYED,p=c.ERR_STREAM_NULL_VALUES,v=c.ERR_STREAM_WRITE_AFTER_END,y=c.ERR_UNKNOWN_ENCODING,b=s.errorOrDestroy;Ff()(O,r);function w(){}function C(ce,N,K){t=t||Bg(),ce=ce||{},typeof K!="boolean"&&(K=N instanceof t),this.objectMode=!!ce.objectMode,K&&(this.objectMode=this.objectMode||!!ce.writableObjectMode),this.highWaterMark=l(this,ce,"writableHighWaterMark",K),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Ae=ce.decodeStrings===!1;this.decodeStrings=!Ae,this.defaultEncoding=ce.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ae){X(N,ae)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=ce.emitClose!==!1,this.autoDestroy=!!ce.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}C.prototype.getBuffer=function(){for(var N=this.bufferedRequest,K=[];N;)K.push(N),N=N.next;return K},function(){try{Object.defineProperty(C.prototype,"buffer",{get:n.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var B;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(B=Function.prototype[Symbol.hasInstance],Object.defineProperty(O,Symbol.hasInstance,{value:function(N){return B.call(this,N)?!0:this!==O?!1:N&&N._writableState instanceof C}})):B=function(N){return N instanceof this};function O(ce){t=t||Bg();var N=this instanceof t;if(!N&&!B.call(O,this))return new O(ce);this._writableState=new C(ce,this,N),this.writable=!0,ce&&(typeof ce.write=="function"&&(this._write=ce.write),typeof ce.writev=="function"&&(this._writev=ce.writev),typeof ce.destroy=="function"&&(this._destroy=ce.destroy),typeof ce.final=="function"&&(this._final=ce.final)),r.call(this)}O.prototype.pipe=function(){b(this,new h)};function x(ce,N){var K=new v;b(ce,K),Vn.nextTick(N,K)}function M(ce,N,K,Ae){var ae;return K===null?ae=new p:typeof K!="string"&&!N.objectMode&&(ae=new d("chunk",["string","Buffer"],K)),ae?(b(ce,ae),Vn.nextTick(Ae,ae),!1):!0}O.prototype.write=function(ce,N,K){var Ae=this._writableState,ae=!1,ie=!Ae.objectMode&&a(ce);return ie&&!i.isBuffer(ce)&&(ce=A(ce)),typeof N=="function"&&(K=N,N=null),ie?N="buffer":N||(N=Ae.defaultEncoding),typeof K!="function"&&(K=w),Ae.ending?x(this,K):(ie||M(this,Ae,ce,K))&&(Ae.pendingcb++,ae=F(this,Ae,ie,ce,N,K)),ae},O.prototype.cork=function(){this._writableState.corked++},O.prototype.uncork=function(){var ce=this._writableState;ce.corked&&(ce.corked--,!ce.writing&&!ce.corked&&!ce.bufferProcessing&&ce.bufferedRequest&&q(this,ce))},O.prototype.setDefaultEncoding=function(N){if(typeof N=="string"&&(N=N.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((N+"").toLowerCase())>-1))throw new y(N);return this._writableState.defaultEncoding=N,this},Object.defineProperty(O.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function R(ce,N,K){return!ce.objectMode&&ce.decodeStrings!==!1&&typeof N=="string"&&(N=i.from(N,K)),N}Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function F(ce,N,K,Ae,ae,ie){if(!K){var J=R(N,Ae,ae);Ae!==J&&(K=!0,ae="buffer",Ae=J)}var ue=N.objectMode?1:Ae.length;N.length+=ue;var G=N.length<N.highWaterMark;if(G||(N.needDrain=!0),N.writing||N.corked){var pe=N.lastBufferedRequest;N.lastBufferedRequest={chunk:Ae,encoding:ae,isBuf:K,callback:ie,next:null},pe?pe.next=N.lastBufferedRequest:N.bufferedRequest=N.lastBufferedRequest,N.bufferedRequestCount+=1}else L(ce,N,!1,ue,Ae,ae,ie);return G}function L(ce,N,K,Ae,ae,ie,J){N.writelen=Ae,N.writecb=J,N.writing=!0,N.sync=!0,N.destroyed?N.onwrite(new m("write")):K?ce._writev(ae,N.onwrite):ce._write(ae,ie,N.onwrite),N.sync=!1}function E(ce,N,K,Ae,ae){--N.pendingcb,K?(Vn.nextTick(ae,Ae),Vn.nextTick(Y,ce,N),ce._writableState.errorEmitted=!0,b(ce,Ae)):(ae(Ae),ce._writableState.errorEmitted=!0,b(ce,Ae),Y(ce,N))}function H(ce){ce.writing=!1,ce.writecb=null,ce.length-=ce.writelen,ce.writelen=0}function X(ce,N){var K=ce._writableState,Ae=K.sync,ae=K.writecb;if(typeof ae!="function")throw new g;if(H(K),N)E(ce,K,Ae,N,ae);else{var ie=te(K)||ce.destroyed;!ie&&!K.corked&&!K.bufferProcessing&&K.bufferedRequest&&q(ce,K),Ae?Vn.nextTick(z,ce,K,ie,ae):z(ce,K,ie,ae)}}function z(ce,N,K,Ae){K||Z(ce,N),N.pendingcb--,Ae(),Y(ce,N)}function Z(ce,N){N.length===0&&N.needDrain&&(N.needDrain=!1,ce.emit("drain"))}function q(ce,N){N.bufferProcessing=!0;var K=N.bufferedRequest;if(ce._writev&&K&&K.next){var Ae=N.bufferedRequestCount,ae=new Array(Ae),ie=N.corkedRequestsFree;ie.entry=K;for(var J=0,ue=!0;K;)ae[J]=K,K.isBuf||(ue=!1),K=K.next,J+=1;ae.allBuffers=ue,L(ce,N,!0,N.length,ae,"",ie.finish),N.pendingcb++,N.lastBufferedRequest=null,ie.next?(N.corkedRequestsFree=ie.next,ie.next=null):N.corkedRequestsFree=new e(N),N.bufferedRequestCount=0}else{for(;K;){var G=K.chunk,pe=K.encoding,k=K.callback,P=N.objectMode?1:G.length;if(L(ce,N,!1,P,G,pe,k),K=K.next,N.bufferedRequestCount--,N.writing)break}K===null&&(N.lastBufferedRequest=null)}N.bufferedRequest=K,N.bufferProcessing=!1}O.prototype._write=function(ce,N,K){K(new f("_write()"))},O.prototype._writev=null,O.prototype.end=function(ce,N,K){var Ae=this._writableState;return typeof ce=="function"?(K=ce,ce=null,N=null):typeof N=="function"&&(K=N,N=null),ce!=null&&this.write(ce,N),Ae.corked&&(Ae.corked=1,this.uncork()),Ae.ending||re(this,Ae,K),this},Object.defineProperty(O.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function te(ce){return ce.ending&&ce.length===0&&ce.bufferedRequest===null&&!ce.finished&&!ce.writing}function ne(ce,N){ce._final(function(K){N.pendingcb--,K&&b(ce,K),N.prefinished=!0,ce.emit("prefinish"),Y(ce,N)})}function _(ce,N){!N.prefinished&&!N.finalCalled&&(typeof ce._final=="function"&&!N.destroyed?(N.pendingcb++,N.finalCalled=!0,Vn.nextTick(ne,ce,N)):(N.prefinished=!0,ce.emit("prefinish")))}function Y(ce,N){var K=te(N);if(K&&(_(ce,N),N.pendingcb===0&&(N.finished=!0,ce.emit("finish"),N.autoDestroy))){var Ae=ce._readableState;(!Ae||Ae.autoDestroy&&Ae.endEmitted)&&ce.destroy()}return K}function re(ce,N,K){N.ending=!0,Y(ce,N),K&&(N.finished?Vn.nextTick(K):ce.once("finish",K)),N.ended=!0,ce.writable=!1}function se(ce,N,K){var Ae=ce.entry;for(ce.entry=null;Ae;){var ae=Ae.callback;N.pendingcb--,ae(K),Ae=Ae.next}N.corkedRequestsFree.next=ce}return Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(N){this._writableState&&(this._writableState.destroyed=N)}}),O.prototype.destroy=s.destroy,O.prototype._undestroy=s.undestroy,O.prototype._destroy=function(ce,N){N(ce)},wE}var BE,EH;function Bg(){if(EH)return BE;EH=1;var e=Object.keys||function(u){var l=[];for(var c in u)l.push(c);return l};BE=A;var t=hZ(),n=dZ();Ff()(A,t);for(var r=e(n.prototype),i=0;i<r.length;i++){var o=r[i];A.prototype[o]||(A.prototype[o]=n.prototype[o])}function A(u){if(!(this instanceof A))return new A(u);t.call(this,u),n.call(this,u),this.allowHalfOpen=!0,u&&(u.readable===!1&&(this.readable=!1),u.writable===!1&&(this.writable=!1),u.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",a)))}Object.defineProperty(A.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(A.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(A.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function a(){this._writableState.ended||Vn.nextTick(s,this)}function s(u){u.end()}return Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(l){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=l,this._writableState.destroyed=l)}}),BE}var CE={},xy={exports:{}},FH;function _Ue(){return FH||(FH=1,function(e,t){var n=SC(),r=n.Buffer;function i(A,a){for(var s in A)a[s]=A[s]}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=o);function o(A,a,s){return r(A,a,s)}i(r,o),o.from=function(A,a,s){if(typeof A=="number")throw new TypeError("Argument must not be a number");return r(A,a,s)},o.alloc=function(A,a,s){if(typeof A!="number")throw new TypeError("Argument must be a number");var u=r(A);return a!==void 0?typeof s=="string"?u.fill(a,s):u.fill(a):u.fill(0),u},o.allocUnsafe=function(A){if(typeof A!="number")throw new TypeError("Argument must be a number");return r(A)},o.allocUnsafeSlow=function(A){if(typeof A!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(A)}}(xy,xy.exports)),xy.exports}var IH;function C_(){if(IH)return CE;IH=1;var e=_Ue().Buffer,t=e.isEncoding||function(p){switch(p=""+p,p&&p.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function n(p){if(!p)return"utf8";for(var v;;)switch(p){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return p;default:if(v)return;p=(""+p).toLowerCase(),v=!0}}function r(p){var v=n(p);if(typeof v!="string"&&(e.isEncoding===t||!t(p)))throw new Error("Unknown encoding: "+p);return v||p}CE.StringDecoder=i;function i(p){this.encoding=r(p);var v;switch(this.encoding){case"utf16le":this.text=c,this.end=d,v=4;break;case"utf8":this.fillLast=s,v=4;break;case"base64":this.text=f,this.end=g,v=3;break;default:this.write=h,this.end=m;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(v)}i.prototype.write=function(p){if(p.length===0)return"";var v,y;if(this.lastNeed){if(v=this.fillLast(p),v===void 0)return"";y=this.lastNeed,this.lastNeed=0}else y=0;return y<p.length?v?v+this.text(p,y):this.text(p,y):v||""},i.prototype.end=l,i.prototype.text=u,i.prototype.fillLast=function(p){if(this.lastNeed<=p.length)return p.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);p.copy(this.lastChar,this.lastTotal-this.lastNeed,0,p.length),this.lastNeed-=p.length};function o(p){return p<=127?0:p>>5===6?2:p>>4===14?3:p>>3===30?4:p>>6===2?-1:-2}function A(p,v,y){var b=v.length-1;if(b<y)return 0;var w=o(v[b]);return w>=0?(w>0&&(p.lastNeed=w-1),w):--b<y||w===-2?0:(w=o(v[b]),w>=0?(w>0&&(p.lastNeed=w-2),w):--b<y||w===-2?0:(w=o(v[b]),w>=0?(w>0&&(w===2?w=0:p.lastNeed=w-3),w):0))}function a(p,v,y){if((v[0]&192)!==128)return p.lastNeed=0,"�";if(p.lastNeed>1&&v.length>1){if((v[1]&192)!==128)return p.lastNeed=1,"�";if(p.lastNeed>2&&v.length>2&&(v[2]&192)!==128)return p.lastNeed=2,"�"}}function s(p){var v=this.lastTotal-this.lastNeed,y=a(this,p);if(y!==void 0)return y;if(this.lastNeed<=p.length)return p.copy(this.lastChar,v,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);p.copy(this.lastChar,v,0,p.length),this.lastNeed-=p.length}function u(p,v){var y=A(this,p,v);if(!this.lastNeed)return p.toString("utf8",v);this.lastTotal=y;var b=p.length-(y-this.lastNeed);return p.copy(this.lastChar,0,b),p.toString("utf8",v,b)}function l(p){var v=p&&p.length?this.write(p):"";return this.lastNeed?v+"�":v}function c(p,v){if((p.length-v)%2===0){var y=p.toString("utf16le",v);if(y){var b=y.charCodeAt(y.length-1);if(b>=55296&&b<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=p[p.length-2],this.lastChar[1]=p[p.length-1],y.slice(0,-1)}return y}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=p[p.length-1],p.toString("utf16le",v,p.length-1)}function d(p){var v=p&&p.length?this.write(p):"";if(this.lastNeed){var y=this.lastTotal-this.lastNeed;return v+this.lastChar.toString("utf16le",0,y)}return v}function f(p,v){var y=(p.length-v)%3;return y===0?p.toString("base64",v):(this.lastNeed=3-y,this.lastTotal=3,y===1?this.lastChar[0]=p[p.length-1]:(this.lastChar[0]=p[p.length-2],this.lastChar[1]=p[p.length-1]),p.toString("base64",v,p.length-y))}function g(p){var v=p&&p.length?this.write(p):"";return this.lastNeed?v+this.lastChar.toString("base64",0,3-this.lastNeed):v}function h(p){return p.toString(this.encoding)}function m(p){return p&&p.length?this.write(p):""}return CE}var xE,_H;function hU(){if(_H)return xE;_H=1;var e=Mg().codes.ERR_STREAM_PREMATURE_CLOSE;function t(o){var A=!1;return function(){if(!A){A=!0;for(var a=arguments.length,s=new Array(a),u=0;u<a;u++)s[u]=arguments[u];o.apply(this,s)}}}function n(){}function r(o){return o.setHeader&&typeof o.abort=="function"}function i(o,A,a){if(typeof A=="function")return i(o,null,A);A||(A={}),a=t(a||n);var s=A.readable||A.readable!==!1&&o.readable,u=A.writable||A.writable!==!1&&o.writable,l=function(){o.writable||d()},c=o._writableState&&o._writableState.finished,d=function(){u=!1,c=!0,s||a.call(o)},f=o._readableState&&o._readableState.endEmitted,g=function(){s=!1,f=!0,u||a.call(o)},h=function(y){a.call(o,y)},m=function(){var y;if(s&&!f)return(!o._readableState||!o._readableState.ended)&&(y=new e),a.call(o,y);if(u&&!c)return(!o._writableState||!o._writableState.ended)&&(y=new e),a.call(o,y)},p=function(){o.req.on("finish",d)};return r(o)?(o.on("complete",d),o.on("abort",m),o.req?p():o.on("request",p)):u&&!o._writableState&&(o.on("end",l),o.on("close",l)),o.on("end",g),o.on("finish",d),A.error!==!1&&o.on("error",h),o.on("close",m),function(){o.removeListener("complete",d),o.removeListener("abort",m),o.removeListener("request",p),o.req&&o.req.removeListener("finish",d),o.removeListener("end",l),o.removeListener("close",l),o.removeListener("finish",d),o.removeListener("end",g),o.removeListener("error",h),o.removeListener("close",m)}}return xE=i,xE}var SE,OH;function OUe(){if(OH)return SE;OH=1;var e;function t(p,v,y){return v in p?Object.defineProperty(p,v,{value:y,enumerable:!0,configurable:!0,writable:!0}):p[v]=y,p}var n=hU(),r=Symbol("lastResolve"),i=Symbol("lastReject"),o=Symbol("error"),A=Symbol("ended"),a=Symbol("lastPromise"),s=Symbol("handlePromise"),u=Symbol("stream");function l(p,v){return{value:p,done:v}}function c(p){var v=p[r];if(v!==null){var y=p[u].read();y!==null&&(p[a]=null,p[r]=null,p[i]=null,v(l(y,!1)))}}function d(p){Vn.nextTick(c,p)}function f(p,v){return function(y,b){p.then(function(){if(v[A]){y(l(void 0,!0));return}v[s](y,b)},b)}}var g=Object.getPrototypeOf(function(){}),h=Object.setPrototypeOf((e={get stream(){return this[u]},next:function(){var v=this,y=this[o];if(y!==null)return Promise.reject(y);if(this[A])return Promise.resolve(l(void 0,!0));if(this[u].destroyed)return new Promise(function(B,O){Vn.nextTick(function(){v[o]?O(v[o]):B(l(void 0,!0))})});var b=this[a],w;if(b)w=new Promise(f(b,this));else{var C=this[u].read();if(C!==null)return Promise.resolve(l(C,!1));w=new Promise(this[s])}return this[a]=w,w}},t(e,Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var v=this;return new Promise(function(y,b){v[u].destroy(null,function(w){if(w){b(w);return}y(l(void 0,!0))})})}),e),g),m=function(v){var y,b=Object.create(h,(y={},t(y,u,{value:v,writable:!0}),t(y,r,{value:null,writable:!0}),t(y,i,{value:null,writable:!0}),t(y,o,{value:null,writable:!0}),t(y,A,{value:v._readableState.endEmitted,writable:!0}),t(y,s,{value:function(C,B){var O=b[u].read();O?(b[a]=null,b[r]=null,b[i]=null,C(l(O,!1))):(b[r]=C,b[i]=B)},writable:!0}),y));return b[a]=null,n(v,function(w){if(w&&w.code!=="ERR_STREAM_PREMATURE_CLOSE"){var C=b[i];C!==null&&(b[a]=null,b[r]=null,b[i]=null,C(w)),b[o]=w;return}var B=b[r];B!==null&&(b[a]=null,b[r]=null,b[i]=null,B(l(void 0,!0))),b[A]=!0}),v.on("readable",d.bind(null,b)),b};return SE=m,SE}var EE,TH;function TUe(){return TH||(TH=1,EE=function(){throw new Error("Readable.from is not available in the browser")}),EE}var FE,UH;function hZ(){if(UH)return FE;UH=1,FE=x;var e;x.ReadableState=O,lU().EventEmitter;var t=function(J,ue){return J.listeners(ue).length},n=iZ(),r=SC().Buffer,i=Sl.Uint8Array||function(){};function o(ie){return r.from(ie)}function A(ie){return r.isBuffer(ie)||ie instanceof i}var a=uZ(),s;a&&a.debuglog?s=a.debuglog("stream"):s=function(){};var u=FUe(),l=cZ(),c=fZ(),d=c.getHighWaterMark,f=Mg().codes,g=f.ERR_INVALID_ARG_TYPE,h=f.ERR_STREAM_PUSH_AFTER_EOF,m=f.ERR_METHOD_NOT_IMPLEMENTED,p=f.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,v,y,b;Ff()(x,n);var w=l.errorOrDestroy,C=["error","close","destroy","pause","resume"];function B(ie,J,ue){if(typeof ie.prependListener=="function")return ie.prependListener(J,ue);!ie._events||!ie._events[J]?ie.on(J,ue):Array.isArray(ie._events[J])?ie._events[J].unshift(ue):ie._events[J]=[ue,ie._events[J]]}function O(ie,J,ue){e=e||Bg(),ie=ie||{},typeof ue!="boolean"&&(ue=J instanceof e),this.objectMode=!!ie.objectMode,ue&&(this.objectMode=this.objectMode||!!ie.readableObjectMode),this.highWaterMark=d(this,ie,"readableHighWaterMark",ue),this.buffer=new u,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=ie.emitClose!==!1,this.autoDestroy=!!ie.autoDestroy,this.destroyed=!1,this.defaultEncoding=ie.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,ie.encoding&&(v||(v=C_().StringDecoder),this.decoder=new v(ie.encoding),this.encoding=ie.encoding)}function x(ie){if(e=e||Bg(),!(this instanceof x))return new x(ie);var J=this instanceof e;this._readableState=new O(ie,this,J),this.readable=!0,ie&&(typeof ie.read=="function"&&(this._read=ie.read),typeof ie.destroy=="function"&&(this._destroy=ie.destroy)),n.call(this)}Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(J){this._readableState&&(this._readableState.destroyed=J)}}),x.prototype.destroy=l.destroy,x.prototype._undestroy=l.undestroy,x.prototype._destroy=function(ie,J){J(ie)},x.prototype.push=function(ie,J){var ue=this._readableState,G;return ue.objectMode?G=!0:typeof ie=="string"&&(J=J||ue.defaultEncoding,J!==ue.encoding&&(ie=r.from(ie,J),J=""),G=!0),M(this,ie,J,!1,G)},x.prototype.unshift=function(ie){return M(this,ie,null,!0,!1)};function M(ie,J,ue,G,pe){s("readableAddChunk",J);var k=ie._readableState;if(J===null)k.reading=!1,X(ie,k);else{var P;if(pe||(P=F(k,J)),P)w(ie,P);else if(k.objectMode||J&&J.length>0)if(typeof J!="string"&&!k.objectMode&&Object.getPrototypeOf(J)!==r.prototype&&(J=o(J)),G)k.endEmitted?w(ie,new p):R(ie,k,J,!0);else if(k.ended)w(ie,new h);else{if(k.destroyed)return!1;k.reading=!1,k.decoder&&!ue?(J=k.decoder.write(J),k.objectMode||J.length!==0?R(ie,k,J,!1):q(ie,k)):R(ie,k,J,!1)}else G||(k.reading=!1,q(ie,k))}return!k.ended&&(k.length<k.highWaterMark||k.length===0)}function R(ie,J,ue,G){J.flowing&&J.length===0&&!J.sync?(J.awaitDrain=0,ie.emit("data",ue)):(J.length+=J.objectMode?1:ue.length,G?J.buffer.unshift(ue):J.buffer.push(ue),J.needReadable&&z(ie)),q(ie,J)}function F(ie,J){var ue;return!A(J)&&typeof J!="string"&&J!==void 0&&!ie.objectMode&&(ue=new g("chunk",["string","Buffer","Uint8Array"],J)),ue}x.prototype.isPaused=function(){return this._readableState.flowing===!1},x.prototype.setEncoding=function(ie){v||(v=C_().StringDecoder);var J=new v(ie);this._readableState.decoder=J,this._readableState.encoding=this._readableState.decoder.encoding;for(var ue=this._readableState.buffer.head,G="";ue!==null;)G+=J.write(ue.data),ue=ue.next;return this._readableState.buffer.clear(),G!==""&&this._readableState.buffer.push(G),this._readableState.length=G.length,this};var L=1073741824;function E(ie){return ie>=L?ie=L:(ie--,ie|=ie>>>1,ie|=ie>>>2,ie|=ie>>>4,ie|=ie>>>8,ie|=ie>>>16,ie++),ie}function H(ie,J){return ie<=0||J.length===0&&J.ended?0:J.objectMode?1:ie!==ie?J.flowing&&J.length?J.buffer.head.data.length:J.length:(ie>J.highWaterMark&&(J.highWaterMark=E(ie)),ie<=J.length?ie:J.ended?J.length:(J.needReadable=!0,0))}x.prototype.read=function(ie){s("read",ie),ie=parseInt(ie,10);var J=this._readableState,ue=ie;if(ie!==0&&(J.emittedReadable=!1),ie===0&&J.needReadable&&((J.highWaterMark!==0?J.length>=J.highWaterMark:J.length>0)||J.ended))return s("read: emitReadable",J.length,J.ended),J.length===0&&J.ended?K(this):z(this),null;if(ie=H(ie,J),ie===0&&J.ended)return J.length===0&&K(this),null;var G=J.needReadable;s("need readable",G),(J.length===0||J.length-ie<J.highWaterMark)&&(G=!0,s("length less than watermark",G)),J.ended||J.reading?(G=!1,s("reading or ended",G)):G&&(s("do read"),J.reading=!0,J.sync=!0,J.length===0&&(J.needReadable=!0),this._read(J.highWaterMark),J.sync=!1,J.reading||(ie=H(ue,J)));var pe;return ie>0?pe=N(ie,J):pe=null,pe===null?(J.needReadable=J.length<=J.highWaterMark,ie=0):(J.length-=ie,J.awaitDrain=0),J.length===0&&(J.ended||(J.needReadable=!0),ue!==ie&&J.ended&&K(this)),pe!==null&&this.emit("data",pe),pe};function X(ie,J){if(s("onEofChunk"),!J.ended){if(J.decoder){var ue=J.decoder.end();ue&&ue.length&&(J.buffer.push(ue),J.length+=J.objectMode?1:ue.length)}J.ended=!0,J.sync?z(ie):(J.needReadable=!1,J.emittedReadable||(J.emittedReadable=!0,Z(ie)))}}function z(ie){var J=ie._readableState;s("emitReadable",J.needReadable,J.emittedReadable),J.needReadable=!1,J.emittedReadable||(s("emitReadable",J.flowing),J.emittedReadable=!0,Vn.nextTick(Z,ie))}function Z(ie){var J=ie._readableState;s("emitReadable_",J.destroyed,J.length,J.ended),!J.destroyed&&(J.length||J.ended)&&(ie.emit("readable"),J.emittedReadable=!1),J.needReadable=!J.flowing&&!J.ended&&J.length<=J.highWaterMark,ce(ie)}function q(ie,J){J.readingMore||(J.readingMore=!0,Vn.nextTick(te,ie,J))}function te(ie,J){for(;!J.reading&&!J.ended&&(J.length<J.highWaterMark||J.flowing&&J.length===0);){var ue=J.length;if(s("maybeReadMore read 0"),ie.read(0),ue===J.length)break}J.readingMore=!1}x.prototype._read=function(ie){w(this,new m("_read()"))},x.prototype.pipe=function(ie,J){var ue=this,G=this._readableState;switch(G.pipesCount){case 0:G.pipes=ie;break;case 1:G.pipes=[G.pipes,ie];break;default:G.pipes.push(ie);break}G.pipesCount+=1,s("pipe count=%d opts=%j",G.pipesCount,J);var pe=(!J||J.end!==!1)&&ie!==Vn.stdout&&ie!==Vn.stderr,k=pe?U:xe;G.endEmitted?Vn.nextTick(k):ue.once("end",k),ie.on("unpipe",P);function P(Ue,ke){s("onunpipe"),Ue===ue&&ke&&ke.hasUnpiped===!1&&(ke.hasUnpiped=!0,me())}function U(){s("onend"),ie.end()}var W=ne(ue);ie.on("drain",W);var de=!1;function me(){s("cleanup"),ie.removeListener("close",Te),ie.removeListener("finish",we),ie.removeListener("drain",W),ie.removeListener("error",be),ie.removeListener("unpipe",P),ue.removeListener("end",U),ue.removeListener("end",xe),ue.removeListener("data",ve),de=!0,G.awaitDrain&&(!ie._writableState||ie._writableState.needDrain)&&W()}ue.on("data",ve);function ve(Ue){s("ondata");var ke=ie.write(Ue);s("dest.write",ke),ke===!1&&((G.pipesCount===1&&G.pipes===ie||G.pipesCount>1&&ae(G.pipes,ie)!==-1)&&!de&&(s("false write response, pause",G.awaitDrain),G.awaitDrain++),ue.pause())}function be(Ue){s("onerror",Ue),xe(),ie.removeListener("error",be),t(ie,"error")===0&&w(ie,Ue)}B(ie,"error",be);function Te(){ie.removeListener("finish",we),xe()}ie.once("close",Te);function we(){s("onfinish"),ie.removeListener("close",Te),xe()}ie.once("finish",we);function xe(){s("unpipe"),ue.unpipe(ie)}return ie.emit("pipe",ue),G.flowing||(s("pipe resume"),ue.resume()),ie};function ne(ie){return function(){var ue=ie._readableState;s("pipeOnDrain",ue.awaitDrain),ue.awaitDrain&&ue.awaitDrain--,ue.awaitDrain===0&&t(ie,"data")&&(ue.flowing=!0,ce(ie))}}x.prototype.unpipe=function(ie){var J=this._readableState,ue={hasUnpiped:!1};if(J.pipesCount===0)return this;if(J.pipesCount===1)return ie&&ie!==J.pipes?this:(ie||(ie=J.pipes),J.pipes=null,J.pipesCount=0,J.flowing=!1,ie&&ie.emit("unpipe",this,ue),this);if(!ie){var G=J.pipes,pe=J.pipesCount;J.pipes=null,J.pipesCount=0,J.flowing=!1;for(var k=0;k<pe;k++)G[k].emit("unpipe",this,{hasUnpiped:!1});return this}var P=ae(J.pipes,ie);return P===-1?this:(J.pipes.splice(P,1),J.pipesCount-=1,J.pipesCount===1&&(J.pipes=J.pipes[0]),ie.emit("unpipe",this,ue),this)},x.prototype.on=function(ie,J){var ue=n.prototype.on.call(this,ie,J),G=this._readableState;return ie==="data"?(G.readableListening=this.listenerCount("readable")>0,G.flowing!==!1&&this.resume()):ie==="readable"&&!G.endEmitted&&!G.readableListening&&(G.readableListening=G.needReadable=!0,G.flowing=!1,G.emittedReadable=!1,s("on readable",G.length,G.reading),G.length?z(this):G.reading||Vn.nextTick(Y,this)),ue},x.prototype.addListener=x.prototype.on,x.prototype.removeListener=function(ie,J){var ue=n.prototype.removeListener.call(this,ie,J);return ie==="readable"&&Vn.nextTick(_,this),ue},x.prototype.removeAllListeners=function(ie){var J=n.prototype.removeAllListeners.apply(this,arguments);return(ie==="readable"||ie===void 0)&&Vn.nextTick(_,this),J};function _(ie){var J=ie._readableState;J.readableListening=ie.listenerCount("readable")>0,J.resumeScheduled&&!J.paused?J.flowing=!0:ie.listenerCount("data")>0&&ie.resume()}function Y(ie){s("readable nexttick read 0"),ie.read(0)}x.prototype.resume=function(){var ie=this._readableState;return ie.flowing||(s("resume"),ie.flowing=!ie.readableListening,re(this,ie)),ie.paused=!1,this};function re(ie,J){J.resumeScheduled||(J.resumeScheduled=!0,Vn.nextTick(se,ie,J))}function se(ie,J){s("resume",J.reading),J.reading||ie.read(0),J.resumeScheduled=!1,ie.emit("resume"),ce(ie),J.flowing&&!J.reading&&ie.read(0)}x.prototype.pause=function(){return s("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(s("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function ce(ie){var J=ie._readableState;for(s("flow",J.flowing);J.flowing&&ie.read()!==null;);}x.prototype.wrap=function(ie){var J=this,ue=this._readableState,G=!1;ie.on("end",function(){if(s("wrapped end"),ue.decoder&&!ue.ended){var P=ue.decoder.end();P&&P.length&&J.push(P)}J.push(null)}),ie.on("data",function(P){if(s("wrapped data"),ue.decoder&&(P=ue.decoder.write(P)),!(ue.objectMode&&P==null)&&!(!ue.objectMode&&(!P||!P.length))){var U=J.push(P);U||(G=!0,ie.pause())}});for(var pe in ie)this[pe]===void 0&&typeof ie[pe]=="function"&&(this[pe]=function(U){return function(){return ie[U].apply(ie,arguments)}}(pe));for(var k=0;k<C.length;k++)ie.on(C[k],this.emit.bind(this,C[k]));return this._read=function(P){s("wrapped _read",P),G&&(G=!1,ie.resume())},this},typeof Symbol=="function"&&(x.prototype[Symbol.asyncIterator]=function(){return y===void 0&&(y=OUe()),y(this)}),Object.defineProperty(x.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(x.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(x.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(J){this._readableState&&(this._readableState.flowing=J)}}),x._fromList=N,Object.defineProperty(x.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function N(ie,J){if(J.length===0)return null;var ue;return J.objectMode?ue=J.buffer.shift():!ie||ie>=J.length?(J.decoder?ue=J.buffer.join(""):J.buffer.length===1?ue=J.buffer.first():ue=J.buffer.concat(J.length),J.buffer.clear()):ue=J.buffer.consume(ie,J.decoder),ue}function K(ie){var J=ie._readableState;s("endReadable",J.endEmitted),J.endEmitted||(J.ended=!0,Vn.nextTick(Ae,J,ie))}function Ae(ie,J){if(s("endReadableNT",ie.endEmitted,ie.length),!ie.endEmitted&&ie.length===0&&(ie.endEmitted=!0,J.readable=!1,J.emit("end"),ie.autoDestroy)){var ue=J._writableState;(!ue||ue.autoDestroy&&ue.finished)&&J.destroy()}}typeof Symbol=="function"&&(x.from=function(ie,J){return b===void 0&&(b=TUe()),b(x,ie,J)});function ae(ie,J){for(var ue=0,G=ie.length;ue<G;ue++)if(ie[ue]===J)return ue;return-1}return FE}var IE,QH;function pZ(){if(QH)return IE;QH=1,IE=a;var e=Mg().codes,t=e.ERR_METHOD_NOT_IMPLEMENTED,n=e.ERR_MULTIPLE_CALLBACK,r=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,i=e.ERR_TRANSFORM_WITH_LENGTH_0,o=Bg();Ff()(a,o);function A(l,c){var d=this._transformState;d.transforming=!1;var f=d.writecb;if(f===null)return this.emit("error",new n);d.writechunk=null,d.writecb=null,c!=null&&this.push(c),f(l);var g=this._readableState;g.reading=!1,(g.needReadable||g.length<g.highWaterMark)&&this._read(g.highWaterMark)}function a(l){if(!(this instanceof a))return new a(l);o.call(this,l),this._transformState={afterTransform:A.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,l&&(typeof l.transform=="function"&&(this._transform=l.transform),typeof l.flush=="function"&&(this._flush=l.flush)),this.on("prefinish",s)}function s(){var l=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(c,d){u(l,c,d)}):u(this,null,null)}a.prototype.push=function(l,c){return this._transformState.needTransform=!1,o.prototype.push.call(this,l,c)},a.prototype._transform=function(l,c,d){d(new t("_transform()"))},a.prototype._write=function(l,c,d){var f=this._transformState;if(f.writecb=d,f.writechunk=l,f.writeencoding=c,!f.transforming){var g=this._readableState;(f.needTransform||g.needReadable||g.length<g.highWaterMark)&&this._read(g.highWaterMark)}},a.prototype._read=function(l){var c=this._transformState;c.writechunk!==null&&!c.transforming?(c.transforming=!0,this._transform(c.writechunk,c.writeencoding,c.afterTransform)):c.needTransform=!0},a.prototype._destroy=function(l,c){o.prototype._destroy.call(this,l,function(d){c(d)})};function u(l,c,d){if(c)return l.emit("error",c);if(d!=null&&l.push(d),l._writableState.length)throw new i;if(l._transformState.transforming)throw new r;return l.push(null)}return IE}var _E,PH;function UUe(){if(PH)return _E;PH=1,_E=t;var e=pZ();Ff()(t,e);function t(n){if(!(this instanceof t))return new t(n);e.call(this,n)}return t.prototype._transform=function(n,r,i){i(null,n)},_E}var OE,LH;function QUe(){if(LH)return OE;LH=1;var e;function t(d){var f=!1;return function(){f||(f=!0,d.apply(void 0,arguments))}}var n=Mg().codes,r=n.ERR_MISSING_ARGS,i=n.ERR_STREAM_DESTROYED;function o(d){if(d)throw d}function A(d){return d.setHeader&&typeof d.abort=="function"}function a(d,f,g,h){h=t(h);var m=!1;d.on("close",function(){m=!0}),e===void 0&&(e=hU()),e(d,{readable:f,writable:g},function(v){if(v)return h(v);m=!0,h()});var p=!1;return function(v){if(!m&&!p){if(p=!0,A(d))return d.abort();if(typeof d.destroy=="function")return d.destroy();h(v||new i("pipe"))}}}function s(d){d()}function u(d,f){return d.pipe(f)}function l(d){return!d.length||typeof d[d.length-1]!="function"?o:d.pop()}function c(){for(var d=arguments.length,f=new Array(d),g=0;g<d;g++)f[g]=arguments[g];var h=l(f);if(Array.isArray(f[0])&&(f=f[0]),f.length<2)throw new r("streams");var m,p=f.map(function(v,y){var b=y<f.length-1,w=y>0;return a(v,b,w,function(C){m||(m=C),C&&p.forEach(s),!b&&(p.forEach(s),h(m))})});return f.reduce(u)}return OE=c,OE}var TE,DH;function pU(){if(DH)return TE;DH=1,TE=n;var e=lU().EventEmitter,t=Ff();t(n,e),n.Readable=hZ(),n.Writable=dZ(),n.Duplex=Bg(),n.Transform=pZ(),n.PassThrough=UUe(),n.finished=hU(),n.pipeline=QUe(),n.Stream=n;function n(){e.call(this)}return n.prototype.pipe=function(r,i){var o=this;function A(f){r.writable&&r.write(f)===!1&&o.pause&&o.pause()}o.on("data",A);function a(){o.readable&&o.resume&&o.resume()}r.on("drain",a),!r._isStdio&&(!i||i.end!==!1)&&(o.on("end",u),o.on("close",l));var s=!1;function u(){s||(s=!0,r.end())}function l(){s||(s=!0,typeof r.destroy=="function"&&r.destroy())}function c(f){if(d(),e.listenerCount(this,"error")===0)throw f}o.on("error",c),r.on("error",c);function d(){o.removeListener("data",A),r.removeListener("drain",a),o.removeListener("end",u),o.removeListener("close",l),o.removeListener("error",c),r.removeListener("error",c),o.removeListener("end",d),o.removeListener("close",d),r.removeListener("close",d)}return o.on("end",d),o.on("close",d),r.on("close",d),r.emit("pipe",o),r},TE}var RH;function PUe(){return RH||(RH=1,function(e){(function(t){t.parser=function(N,K){return new r(N,K)},t.SAXParser=r,t.SAXStream=l,t.createStream=u,t.MAX_BUFFER_LENGTH=64*1024;var n=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];t.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function r(N,K){if(!(this instanceof r))return new r(N,K);var Ae=this;o(Ae),Ae.q=Ae.c="",Ae.bufferCheckPosition=t.MAX_BUFFER_LENGTH,Ae.opt=K||{},Ae.opt.lowercase=Ae.opt.lowercase||Ae.opt.lowercasetags,Ae.looseCase=Ae.opt.lowercase?"toLowerCase":"toUpperCase",Ae.tags=[],Ae.closed=Ae.closedRoot=Ae.sawRoot=!1,Ae.tag=Ae.error=null,Ae.strict=!!N,Ae.noscript=!!(N||Ae.opt.noscript),Ae.state=x.BEGIN,Ae.strictEntities=Ae.opt.strictEntities,Ae.ENTITIES=Ae.strictEntities?Object.create(t.XML_ENTITIES):Object.create(t.ENTITIES),Ae.attribList=[],Ae.opt.xmlns&&(Ae.ns=Object.create(h)),Ae.trackPosition=Ae.opt.position!==!1,Ae.trackPosition&&(Ae.position=Ae.line=Ae.column=0),R(Ae,"onready")}Object.create||(Object.create=function(N){function K(){}K.prototype=N;var Ae=new K;return Ae}),Object.keys||(Object.keys=function(N){var K=[];for(var Ae in N)N.hasOwnProperty(Ae)&&K.push(Ae);return K});function i(N){for(var K=Math.max(t.MAX_BUFFER_LENGTH,10),Ae=0,ae=0,ie=n.length;ae<ie;ae++){var J=N[n[ae]].length;if(J>K)switch(n[ae]){case"textNode":L(N);break;case"cdata":F(N,"oncdata",N.cdata),N.cdata="";break;case"script":F(N,"onscript",N.script),N.script="";break;default:H(N,"Max buffer length exceeded: "+n[ae])}Ae=Math.max(Ae,J)}var ue=t.MAX_BUFFER_LENGTH-Ae;N.bufferCheckPosition=ue+N.position}function o(N){for(var K=0,Ae=n.length;K<Ae;K++)N[n[K]]=""}function A(N){L(N),N.cdata!==""&&(F(N,"oncdata",N.cdata),N.cdata=""),N.script!==""&&(F(N,"onscript",N.script),N.script="")}r.prototype={end:function(){X(this)},write:ce,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){A(this)}};var a;try{a=pU().Stream}catch{a=function(){}}var s=t.EVENTS.filter(function(N){return N!=="error"&&N!=="end"});function u(N,K){return new l(N,K)}function l(N,K){if(!(this instanceof l))return new l(N,K);a.apply(this),this._parser=new r(N,K),this.writable=!0,this.readable=!0;var Ae=this;this._parser.onend=function(){Ae.emit("end")},this._parser.onerror=function(ae){Ae.emit("error",ae),Ae._parser.error=null},this._decoder=null,s.forEach(function(ae){Object.defineProperty(Ae,"on"+ae,{get:function(){return Ae._parser["on"+ae]},set:function(ie){if(!ie)return Ae.removeAllListeners(ae),Ae._parser["on"+ae]=ie,ie;Ae.on(ae,ie)},enumerable:!0,configurable:!1})})}l.prototype=Object.create(a.prototype,{constructor:{value:l}}),l.prototype.write=function(N){if(typeof Buffer=="function"&&typeof Buffer.isBuffer=="function"&&Buffer.isBuffer(N)){if(!this._decoder){var K=C_().StringDecoder;this._decoder=new K("utf8")}N=this._decoder.write(N)}return this._parser.write(N.toString()),this.emit("data",N),!0},l.prototype.end=function(N){return N&&N.length&&this.write(N),this._parser.end(),!0},l.prototype.on=function(N,K){var Ae=this;return!Ae._parser["on"+N]&&s.indexOf(N)!==-1&&(Ae._parser["on"+N]=function(){var ae=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);ae.splice(0,0,N),Ae.emit.apply(Ae,ae)}),a.prototype.on.call(Ae,N,K)};var c="[CDATA[",d="DOCTYPE",f="http://www.w3.org/XML/1998/namespace",g="http://www.w3.org/2000/xmlns/",h={xml:f,xmlns:g},m=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,p=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,v=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,y=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function b(N){return N===" "||N===`
- `||N==="\r"||N===" "}function w(N){return N==='"'||N==="'"}function C(N){return N===">"||b(N)}function B(N,K){return N.test(K)}function O(N,K){return!B(N,K)}var x=0;t.STATE={BEGIN:x++,BEGIN_WHITESPACE:x++,TEXT:x++,TEXT_ENTITY:x++,OPEN_WAKA:x++,SGML_DECL:x++,SGML_DECL_QUOTED:x++,DOCTYPE:x++,DOCTYPE_QUOTED:x++,DOCTYPE_DTD:x++,DOCTYPE_DTD_QUOTED:x++,COMMENT_STARTING:x++,COMMENT:x++,COMMENT_ENDING:x++,COMMENT_ENDED:x++,CDATA:x++,CDATA_ENDING:x++,CDATA_ENDING_2:x++,PROC_INST:x++,PROC_INST_BODY:x++,PROC_INST_ENDING:x++,OPEN_TAG:x++,OPEN_TAG_SLASH:x++,ATTRIB:x++,ATTRIB_NAME:x++,ATTRIB_NAME_SAW_WHITE:x++,ATTRIB_VALUE:x++,ATTRIB_VALUE_QUOTED:x++,ATTRIB_VALUE_CLOSED:x++,ATTRIB_VALUE_UNQUOTED:x++,ATTRIB_VALUE_ENTITY_Q:x++,ATTRIB_VALUE_ENTITY_U:x++,CLOSE_TAG:x++,CLOSE_TAG_SAW_WHITE:x++,SCRIPT:x++,SCRIPT_ENDING:x++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(t.ENTITIES).forEach(function(N){var K=t.ENTITIES[N],Ae=typeof K=="number"?String.fromCharCode(K):K;t.ENTITIES[N]=Ae});for(var M in t.STATE)t.STATE[t.STATE[M]]=M;x=t.STATE;function R(N,K,Ae){N[K]&&N[K](Ae)}function F(N,K,Ae){N.textNode&&L(N),R(N,K,Ae)}function L(N){N.textNode=E(N.opt,N.textNode),N.textNode&&R(N,"ontext",N.textNode),N.textNode=""}function E(N,K){return N.trim&&(K=K.trim()),N.normalize&&(K=K.replace(/\s+/g," ")),K}function H(N,K){return L(N),N.trackPosition&&(K+=`
- Line: `+N.line+`
- Column: `+N.column+`
- Char: `+N.c),K=new Error(K),N.error=K,R(N,"onerror",K),N}function X(N){return N.sawRoot&&!N.closedRoot&&z(N,"Unclosed root tag"),N.state!==x.BEGIN&&N.state!==x.BEGIN_WHITESPACE&&N.state!==x.TEXT&&H(N,"Unexpected end"),L(N),N.c="",N.closed=!0,R(N,"onend"),r.call(N,N.strict,N.opt),N}function z(N,K){if(typeof N!="object"||!(N instanceof r))throw new Error("bad call to strictFail");N.strict&&H(N,K)}function Z(N){N.strict||(N.tagName=N.tagName[N.looseCase]());var K=N.tags[N.tags.length-1]||N,Ae=N.tag={name:N.tagName,attributes:{}};N.opt.xmlns&&(Ae.ns=K.ns),N.attribList.length=0,F(N,"onopentagstart",Ae)}function q(N,K){var Ae=N.indexOf(":"),ae=Ae<0?["",N]:N.split(":"),ie=ae[0],J=ae[1];return K&&N==="xmlns"&&(ie="xmlns",J=""),{prefix:ie,local:J}}function te(N){if(N.strict||(N.attribName=N.attribName[N.looseCase]()),N.attribList.indexOf(N.attribName)!==-1||N.tag.attributes.hasOwnProperty(N.attribName)){N.attribName=N.attribValue="";return}if(N.opt.xmlns){var K=q(N.attribName,!0),Ae=K.prefix,ae=K.local;if(Ae==="xmlns")if(ae==="xml"&&N.attribValue!==f)z(N,"xml: prefix must be bound to "+f+`
- Actual: `+N.attribValue);else if(ae==="xmlns"&&N.attribValue!==g)z(N,"xmlns: prefix must be bound to "+g+`
- Actual: `+N.attribValue);else{var ie=N.tag,J=N.tags[N.tags.length-1]||N;ie.ns===J.ns&&(ie.ns=Object.create(J.ns)),ie.ns[ae]=N.attribValue}N.attribList.push([N.attribName,N.attribValue])}else N.tag.attributes[N.attribName]=N.attribValue,F(N,"onattribute",{name:N.attribName,value:N.attribValue});N.attribName=N.attribValue=""}function ne(N,K){if(N.opt.xmlns){var Ae=N.tag,ae=q(N.tagName);Ae.prefix=ae.prefix,Ae.local=ae.local,Ae.uri=Ae.ns[ae.prefix]||"",Ae.prefix&&!Ae.uri&&(z(N,"Unbound namespace prefix: "+JSON.stringify(N.tagName)),Ae.uri=ae.prefix);var ie=N.tags[N.tags.length-1]||N;Ae.ns&&ie.ns!==Ae.ns&&Object.keys(Ae.ns).forEach(function(ve){F(N,"onopennamespace",{prefix:ve,uri:Ae.ns[ve]})});for(var J=0,ue=N.attribList.length;J<ue;J++){var G=N.attribList[J],pe=G[0],k=G[1],P=q(pe,!0),U=P.prefix,W=P.local,de=U===""?"":Ae.ns[U]||"",me={name:pe,value:k,prefix:U,local:W,uri:de};U&&U!=="xmlns"&&!de&&(z(N,"Unbound namespace prefix: "+JSON.stringify(U)),me.uri=U),N.tag.attributes[pe]=me,F(N,"onattribute",me)}N.attribList.length=0}N.tag.isSelfClosing=!!K,N.sawRoot=!0,N.tags.push(N.tag),F(N,"onopentag",N.tag),K||(!N.noscript&&N.tagName.toLowerCase()==="script"?N.state=x.SCRIPT:N.state=x.TEXT,N.tag=null,N.tagName=""),N.attribName=N.attribValue="",N.attribList.length=0}function _(N){if(!N.tagName){z(N,"Weird empty close tag."),N.textNode+="</>",N.state=x.TEXT;return}if(N.script){if(N.tagName!=="script"){N.script+="</"+N.tagName+">",N.tagName="",N.state=x.SCRIPT;return}F(N,"onscript",N.script),N.script=""}var K=N.tags.length,Ae=N.tagName;N.strict||(Ae=Ae[N.looseCase]());for(var ae=Ae;K--;){var ie=N.tags[K];if(ie.name!==ae)z(N,"Unexpected close tag");else break}if(K<0){z(N,"Unmatched closing tag: "+N.tagName),N.textNode+="</"+N.tagName+">",N.state=x.TEXT;return}N.tagName=Ae;for(var J=N.tags.length;J-- >K;){var ue=N.tag=N.tags.pop();N.tagName=N.tag.name,F(N,"onclosetag",N.tagName);var G={};for(var pe in ue.ns)G[pe]=ue.ns[pe];var k=N.tags[N.tags.length-1]||N;N.opt.xmlns&&ue.ns!==k.ns&&Object.keys(ue.ns).forEach(function(P){var U=ue.ns[P];F(N,"onclosenamespace",{prefix:P,uri:U})})}K===0&&(N.closedRoot=!0),N.tagName=N.attribValue=N.attribName="",N.attribList.length=0,N.state=x.TEXT}function Y(N){var K=N.entity,Ae=K.toLowerCase(),ae,ie="";return N.ENTITIES[K]?N.ENTITIES[K]:N.ENTITIES[Ae]?N.ENTITIES[Ae]:(K=Ae,K.charAt(0)==="#"&&(K.charAt(1)==="x"?(K=K.slice(2),ae=parseInt(K,16),ie=ae.toString(16)):(K=K.slice(1),ae=parseInt(K,10),ie=ae.toString(10))),K=K.replace(/^0+/,""),isNaN(ae)||ie.toLowerCase()!==K?(z(N,"Invalid character entity"),"&"+N.entity+";"):String.fromCodePoint(ae))}function re(N,K){K==="<"?(N.state=x.OPEN_WAKA,N.startTagPosition=N.position):b(K)||(z(N,"Non-whitespace before first tag."),N.textNode=K,N.state=x.TEXT)}function se(N,K){var Ae="";return K<N.length&&(Ae=N.charAt(K)),Ae}function ce(N){var K=this;if(this.error)throw this.error;if(K.closed)return H(K,"Cannot write after close. Assign an onready handler.");if(N===null)return X(K);typeof N=="object"&&(N=N.toString());for(var Ae=0,ae="";ae=se(N,Ae++),K.c=ae,!!ae;)switch(K.trackPosition&&(K.position++,ae===`
- `?(K.line++,K.column=0):K.column++),K.state){case x.BEGIN:if(K.state=x.BEGIN_WHITESPACE,ae==="\uFEFF")continue;re(K,ae);continue;case x.BEGIN_WHITESPACE:re(K,ae);continue;case x.TEXT:if(K.sawRoot&&!K.closedRoot){for(var ie=Ae-1;ae&&ae!=="<"&&ae!=="&";)ae=se(N,Ae++),ae&&K.trackPosition&&(K.position++,ae===`
- `?(K.line++,K.column=0):K.column++);K.textNode+=N.substring(ie,Ae-1)}ae==="<"&&!(K.sawRoot&&K.closedRoot&&!K.strict)?(K.state=x.OPEN_WAKA,K.startTagPosition=K.position):(!b(ae)&&(!K.sawRoot||K.closedRoot)&&z(K,"Text data outside of root node."),ae==="&"?K.state=x.TEXT_ENTITY:K.textNode+=ae);continue;case x.SCRIPT:ae==="<"?K.state=x.SCRIPT_ENDING:K.script+=ae;continue;case x.SCRIPT_ENDING:ae==="/"?K.state=x.CLOSE_TAG:(K.script+="<"+ae,K.state=x.SCRIPT);continue;case x.OPEN_WAKA:if(ae==="!")K.state=x.SGML_DECL,K.sgmlDecl="";else if(!b(ae))if(B(m,ae))K.state=x.OPEN_TAG,K.tagName=ae;else if(ae==="/")K.state=x.CLOSE_TAG,K.tagName="";else if(ae==="?")K.state=x.PROC_INST,K.procInstName=K.procInstBody="";else{if(z(K,"Unencoded <"),K.startTagPosition+1<K.position){var J=K.position-K.startTagPosition;ae=new Array(J).join(" ")+ae}K.textNode+="<"+ae,K.state=x.TEXT}continue;case x.SGML_DECL:(K.sgmlDecl+ae).toUpperCase()===c?(F(K,"onopencdata"),K.state=x.CDATA,K.sgmlDecl="",K.cdata=""):K.sgmlDecl+ae==="--"?(K.state=x.COMMENT,K.comment="",K.sgmlDecl=""):(K.sgmlDecl+ae).toUpperCase()===d?(K.state=x.DOCTYPE,(K.doctype||K.sawRoot)&&z(K,"Inappropriately located doctype declaration"),K.doctype="",K.sgmlDecl=""):ae===">"?(F(K,"onsgmldeclaration",K.sgmlDecl),K.sgmlDecl="",K.state=x.TEXT):(w(ae)&&(K.state=x.SGML_DECL_QUOTED),K.sgmlDecl+=ae);continue;case x.SGML_DECL_QUOTED:ae===K.q&&(K.state=x.SGML_DECL,K.q=""),K.sgmlDecl+=ae;continue;case x.DOCTYPE:ae===">"?(K.state=x.TEXT,F(K,"ondoctype",K.doctype),K.doctype=!0):(K.doctype+=ae,ae==="["?K.state=x.DOCTYPE_DTD:w(ae)&&(K.state=x.DOCTYPE_QUOTED,K.q=ae));continue;case x.DOCTYPE_QUOTED:K.doctype+=ae,ae===K.q&&(K.q="",K.state=x.DOCTYPE);continue;case x.DOCTYPE_DTD:K.doctype+=ae,ae==="]"?K.state=x.DOCTYPE:w(ae)&&(K.state=x.DOCTYPE_DTD_QUOTED,K.q=ae);continue;case x.DOCTYPE_DTD_QUOTED:K.doctype+=ae,ae===K.q&&(K.state=x.DOCTYPE_DTD,K.q="");continue;case x.COMMENT:ae==="-"?K.state=x.COMMENT_ENDING:K.comment+=ae;continue;case x.COMMENT_ENDING:ae==="-"?(K.state=x.COMMENT_ENDED,K.comment=E(K.opt,K.comment),K.comment&&F(K,"oncomment",K.comment),K.comment=""):(K.comment+="-"+ae,K.state=x.COMMENT);continue;case x.COMMENT_ENDED:ae!==">"?(z(K,"Malformed comment"),K.comment+="--"+ae,K.state=x.COMMENT):K.state=x.TEXT;continue;case x.CDATA:ae==="]"?K.state=x.CDATA_ENDING:K.cdata+=ae;continue;case x.CDATA_ENDING:ae==="]"?K.state=x.CDATA_ENDING_2:(K.cdata+="]"+ae,K.state=x.CDATA);continue;case x.CDATA_ENDING_2:ae===">"?(K.cdata&&F(K,"oncdata",K.cdata),F(K,"onclosecdata"),K.cdata="",K.state=x.TEXT):ae==="]"?K.cdata+="]":(K.cdata+="]]"+ae,K.state=x.CDATA);continue;case x.PROC_INST:ae==="?"?K.state=x.PROC_INST_ENDING:b(ae)?K.state=x.PROC_INST_BODY:K.procInstName+=ae;continue;case x.PROC_INST_BODY:if(!K.procInstBody&&b(ae))continue;ae==="?"?K.state=x.PROC_INST_ENDING:K.procInstBody+=ae;continue;case x.PROC_INST_ENDING:ae===">"?(F(K,"onprocessinginstruction",{name:K.procInstName,body:K.procInstBody}),K.procInstName=K.procInstBody="",K.state=x.TEXT):(K.procInstBody+="?"+ae,K.state=x.PROC_INST_BODY);continue;case x.OPEN_TAG:B(p,ae)?K.tagName+=ae:(Z(K),ae===">"?ne(K):ae==="/"?K.state=x.OPEN_TAG_SLASH:(b(ae)||z(K,"Invalid character in tag name"),K.state=x.ATTRIB));continue;case x.OPEN_TAG_SLASH:ae===">"?(ne(K,!0),_(K)):(z(K,"Forward-slash in opening tag not followed by >"),K.state=x.ATTRIB);continue;case x.ATTRIB:if(b(ae))continue;ae===">"?ne(K):ae==="/"?K.state=x.OPEN_TAG_SLASH:B(m,ae)?(K.attribName=ae,K.attribValue="",K.state=x.ATTRIB_NAME):z(K,"Invalid attribute name");continue;case x.ATTRIB_NAME:ae==="="?K.state=x.ATTRIB_VALUE:ae===">"?(z(K,"Attribute without value"),K.attribValue=K.attribName,te(K),ne(K)):b(ae)?K.state=x.ATTRIB_NAME_SAW_WHITE:B(p,ae)?K.attribName+=ae:z(K,"Invalid attribute name");continue;case x.ATTRIB_NAME_SAW_WHITE:if(ae==="=")K.state=x.ATTRIB_VALUE;else{if(b(ae))continue;z(K,"Attribute without value"),K.tag.attributes[K.attribName]="",K.attribValue="",F(K,"onattribute",{name:K.attribName,value:""}),K.attribName="",ae===">"?ne(K):B(m,ae)?(K.attribName=ae,K.state=x.ATTRIB_NAME):(z(K,"Invalid attribute name"),K.state=x.ATTRIB)}continue;case x.ATTRIB_VALUE:if(b(ae))continue;w(ae)?(K.q=ae,K.state=x.ATTRIB_VALUE_QUOTED):(z(K,"Unquoted attribute value"),K.state=x.ATTRIB_VALUE_UNQUOTED,K.attribValue=ae);continue;case x.ATTRIB_VALUE_QUOTED:if(ae!==K.q){ae==="&"?K.state=x.ATTRIB_VALUE_ENTITY_Q:K.attribValue+=ae;continue}te(K),K.q="",K.state=x.ATTRIB_VALUE_CLOSED;continue;case x.ATTRIB_VALUE_CLOSED:b(ae)?K.state=x.ATTRIB:ae===">"?ne(K):ae==="/"?K.state=x.OPEN_TAG_SLASH:B(m,ae)?(z(K,"No whitespace between attributes"),K.attribName=ae,K.attribValue="",K.state=x.ATTRIB_NAME):z(K,"Invalid attribute name");continue;case x.ATTRIB_VALUE_UNQUOTED:if(!C(ae)){ae==="&"?K.state=x.ATTRIB_VALUE_ENTITY_U:K.attribValue+=ae;continue}te(K),ae===">"?ne(K):K.state=x.ATTRIB;continue;case x.CLOSE_TAG:if(K.tagName)ae===">"?_(K):B(p,ae)?K.tagName+=ae:K.script?(K.script+="</"+K.tagName,K.tagName="",K.state=x.SCRIPT):(b(ae)||z(K,"Invalid tagname in closing tag"),K.state=x.CLOSE_TAG_SAW_WHITE);else{if(b(ae))continue;O(m,ae)?K.script?(K.script+="</"+ae,K.state=x.SCRIPT):z(K,"Invalid tagname in closing tag."):K.tagName=ae}continue;case x.CLOSE_TAG_SAW_WHITE:if(b(ae))continue;ae===">"?_(K):z(K,"Invalid characters in closing tag");continue;case x.TEXT_ENTITY:case x.ATTRIB_VALUE_ENTITY_Q:case x.ATTRIB_VALUE_ENTITY_U:var ue,G;switch(K.state){case x.TEXT_ENTITY:ue=x.TEXT,G="textNode";break;case x.ATTRIB_VALUE_ENTITY_Q:ue=x.ATTRIB_VALUE_QUOTED,G="attribValue";break;case x.ATTRIB_VALUE_ENTITY_U:ue=x.ATTRIB_VALUE_UNQUOTED,G="attribValue";break}ae===";"?(K[G]+=Y(K),K.entity="",K.state=ue):B(K.entity.length?y:v,ae)?K.entity+=ae:(z(K,"Invalid character in entity name"),K[G]+="&"+K.entity+ae,K.entity="",K.state=ue);continue;default:throw new Error(K,"Unknown state: "+K.state)}return K.position>=K.bufferCheckPosition&&i(K),K}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */String.fromCodePoint||function(){var N=String.fromCharCode,K=Math.floor,Ae=function(){var ae=16384,ie=[],J,ue,G=-1,pe=arguments.length;if(!pe)return"";for(var k="";++G<pe;){var P=Number(arguments[G]);if(!isFinite(P)||P<0||P>1114111||K(P)!==P)throw RangeError("Invalid code point: "+P);P<=65535?ie.push(P):(P-=65536,J=(P>>10)+55296,ue=P%1024+56320,ie.push(J,ue)),(G+1===pe||ie.length>ae)&&(k+=N.apply(null,ie),ie.length=0)}return k};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Ae,configurable:!0,writable:!0}):String.fromCodePoint=Ae}()})(e)}(PS)),PS}var UE,$H;function gU(){return $H||($H=1,UE={isArray:function(e){return Array.isArray?Array.isArray(e):Object.prototype.toString.call(e)==="[object Array]"}}),UE}var QE,NH;function mU(){if(NH)return QE;NH=1;var e=gU().isArray;return QE={copyOptions:function(t){var n,r={};for(n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return r},ensureFlagExists:function(t,n){(!(t in n)||typeof n[t]!="boolean")&&(n[t]=!1)},ensureSpacesExists:function(t){(!("spaces"in t)||typeof t.spaces!="number"&&typeof t.spaces!="string")&&(t.spaces=0)},ensureAlwaysArrayExists:function(t){(!("alwaysArray"in t)||typeof t.alwaysArray!="boolean"&&!e(t.alwaysArray))&&(t.alwaysArray=!1)},ensureKeyExists:function(t,n){(!(t+"Key"in n)||typeof n[t+"Key"]!="string")&&(n[t+"Key"]=n.compact?"_"+t:t)},checkFnExists:function(t,n){return t+"Fn"in n}},QE}var PE,HH;function gZ(){if(HH)return PE;HH=1;var e=PUe(),t=mU(),n=gU().isArray,r,i;function o(p){return r=t.copyOptions(p),t.ensureFlagExists("ignoreDeclaration",r),t.ensureFlagExists("ignoreInstruction",r),t.ensureFlagExists("ignoreAttributes",r),t.ensureFlagExists("ignoreText",r),t.ensureFlagExists("ignoreComment",r),t.ensureFlagExists("ignoreCdata",r),t.ensureFlagExists("ignoreDoctype",r),t.ensureFlagExists("compact",r),t.ensureFlagExists("alwaysChildren",r),t.ensureFlagExists("addParent",r),t.ensureFlagExists("trim",r),t.ensureFlagExists("nativeType",r),t.ensureFlagExists("nativeTypeAttributes",r),t.ensureFlagExists("sanitize",r),t.ensureFlagExists("instructionHasAttributes",r),t.ensureFlagExists("captureSpacesBetweenElements",r),t.ensureAlwaysArrayExists(r),t.ensureKeyExists("declaration",r),t.ensureKeyExists("instruction",r),t.ensureKeyExists("attributes",r),t.ensureKeyExists("text",r),t.ensureKeyExists("comment",r),t.ensureKeyExists("cdata",r),t.ensureKeyExists("doctype",r),t.ensureKeyExists("type",r),t.ensureKeyExists("name",r),t.ensureKeyExists("elements",r),t.ensureKeyExists("parent",r),t.checkFnExists("doctype",r),t.checkFnExists("instruction",r),t.checkFnExists("cdata",r),t.checkFnExists("comment",r),t.checkFnExists("text",r),t.checkFnExists("instructionName",r),t.checkFnExists("elementName",r),t.checkFnExists("attributeName",r),t.checkFnExists("attributeValue",r),t.checkFnExists("attributes",r),r}function A(p){var v=Number(p);if(!isNaN(v))return v;var y=p.toLowerCase();return y==="true"?!0:y==="false"?!1:p}function a(p,v){var y;if(r.compact){if(!i[r[p+"Key"]]&&(n(r.alwaysArray)?r.alwaysArray.indexOf(r[p+"Key"])!==-1:r.alwaysArray)&&(i[r[p+"Key"]]=[]),i[r[p+"Key"]]&&!n(i[r[p+"Key"]])&&(i[r[p+"Key"]]=[i[r[p+"Key"]]]),p+"Fn"in r&&typeof v=="string"&&(v=r[p+"Fn"](v,i)),p==="instruction"&&("instructionFn"in r||"instructionNameFn"in r)){for(y in v)if(v.hasOwnProperty(y))if("instructionFn"in r)v[y]=r.instructionFn(v[y],y,i);else{var b=v[y];delete v[y],v[r.instructionNameFn(y,b,i)]=b}}n(i[r[p+"Key"]])?i[r[p+"Key"]].push(v):i[r[p+"Key"]]=v}else{i[r.elementsKey]||(i[r.elementsKey]=[]);var w={};if(w[r.typeKey]=p,p==="instruction"){for(y in v)if(v.hasOwnProperty(y))break;w[r.nameKey]="instructionNameFn"in r?r.instructionNameFn(y,v,i):y,r.instructionHasAttributes?(w[r.attributesKey]=v[y][r.attributesKey],"instructionFn"in r&&(w[r.attributesKey]=r.instructionFn(w[r.attributesKey],y,i))):("instructionFn"in r&&(v[y]=r.instructionFn(v[y],y,i)),w[r.instructionKey]=v[y])}else p+"Fn"in r&&(v=r[p+"Fn"](v,i)),w[r[p+"Key"]]=v;r.addParent&&(w[r.parentKey]=i),i[r.elementsKey].push(w)}}function s(p){if("attributesFn"in r&&p&&(p=r.attributesFn(p,i)),(r.trim||"attributeValueFn"in r||"attributeNameFn"in r||r.nativeTypeAttributes)&&p){var v;for(v in p)if(p.hasOwnProperty(v)&&(r.trim&&(p[v]=p[v].trim()),r.nativeTypeAttributes&&(p[v]=A(p[v])),"attributeValueFn"in r&&(p[v]=r.attributeValueFn(p[v],v,i)),"attributeNameFn"in r)){var y=p[v];delete p[v],p[r.attributeNameFn(v,p[v],i)]=y}}return p}function u(p){var v={};if(p.body&&(p.name.toLowerCase()==="xml"||r.instructionHasAttributes)){for(var y=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g,b;(b=y.exec(p.body))!==null;)v[b[1]]=b[2]||b[3]||b[4];v=s(v)}if(p.name.toLowerCase()==="xml"){if(r.ignoreDeclaration)return;i[r.declarationKey]={},Object.keys(v).length&&(i[r.declarationKey][r.attributesKey]=v),r.addParent&&(i[r.declarationKey][r.parentKey]=i)}else{if(r.ignoreInstruction)return;r.trim&&(p.body=p.body.trim());var w={};r.instructionHasAttributes&&Object.keys(v).length?(w[p.name]={},w[p.name][r.attributesKey]=v):w[p.name]=p.body,a("instruction",w)}}function l(p,v){var y;if(typeof p=="object"&&(v=p.attributes,p=p.name),v=s(v),"elementNameFn"in r&&(p=r.elementNameFn(p,i)),r.compact){if(y={},!r.ignoreAttributes&&v&&Object.keys(v).length){y[r.attributesKey]={};var b;for(b in v)v.hasOwnProperty(b)&&(y[r.attributesKey][b]=v[b])}!(p in i)&&(n(r.alwaysArray)?r.alwaysArray.indexOf(p)!==-1:r.alwaysArray)&&(i[p]=[]),i[p]&&!n(i[p])&&(i[p]=[i[p]]),n(i[p])?i[p].push(y):i[p]=y}else i[r.elementsKey]||(i[r.elementsKey]=[]),y={},y[r.typeKey]="element",y[r.nameKey]=p,!r.ignoreAttributes&&v&&Object.keys(v).length&&(y[r.attributesKey]=v),r.alwaysChildren&&(y[r.elementsKey]=[]),i[r.elementsKey].push(y);y[r.parentKey]=i,i=y}function c(p){r.ignoreText||!p.trim()&&!r.captureSpacesBetweenElements||(r.trim&&(p=p.trim()),r.nativeType&&(p=A(p)),r.sanitize&&(p=p.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")),a("text",p))}function d(p){r.ignoreComment||(r.trim&&(p=p.trim()),a("comment",p))}function f(p){var v=i[r.parentKey];r.addParent||delete i[r.parentKey],i=v}function g(p){r.ignoreCdata||(r.trim&&(p=p.trim()),a("cdata",p))}function h(p){r.ignoreDoctype||(p=p.replace(/^ /,""),r.trim&&(p=p.trim()),a("doctype",p))}function m(p){p.note=p}return PE=function(p,v){var y=e.parser(!0,{}),b={};if(i=b,r=o(v),y.opt={strictEntities:!0},y.onopentag=l,y.ontext=c,y.oncomment=d,y.onclosetag=f,y.onerror=m,y.oncdata=g,y.ondoctype=h,y.onprocessinginstruction=u,y.write(p).close(),b[r.elementsKey]){var w=b[r.elementsKey];delete b[r.elementsKey],b[r.elementsKey]=w,delete b.text}return b},PE}var LE,MH;function LUe(){if(MH)return LE;MH=1;var e=mU(),t=gZ();function n(r){var i=e.copyOptions(r);return e.ensureSpacesExists(i),i}return LE=function(r,i){var o,A,a,s;return o=n(i),A=t(r,o),s="compact"in o&&o.compact?"_parent":"parent","addParent"in o&&o.addParent?a=JSON.stringify(A,function(u,l){return u===s?"_":l},o.spaces):a=JSON.stringify(A,null,o.spaces),a.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")},LE}var DE,kH;function mZ(){if(kH)return DE;kH=1;var e=mU(),t=gU().isArray,n,r;function i(y){var b=e.copyOptions(y);return e.ensureFlagExists("ignoreDeclaration",b),e.ensureFlagExists("ignoreInstruction",b),e.ensureFlagExists("ignoreAttributes",b),e.ensureFlagExists("ignoreText",b),e.ensureFlagExists("ignoreComment",b),e.ensureFlagExists("ignoreCdata",b),e.ensureFlagExists("ignoreDoctype",b),e.ensureFlagExists("compact",b),e.ensureFlagExists("indentText",b),e.ensureFlagExists("indentCdata",b),e.ensureFlagExists("indentAttributes",b),e.ensureFlagExists("indentInstruction",b),e.ensureFlagExists("fullTagEmptyElement",b),e.ensureFlagExists("noQuotesForNativeAttributes",b),e.ensureSpacesExists(b),typeof b.spaces=="number"&&(b.spaces=Array(b.spaces+1).join(" ")),e.ensureKeyExists("declaration",b),e.ensureKeyExists("instruction",b),e.ensureKeyExists("attributes",b),e.ensureKeyExists("text",b),e.ensureKeyExists("comment",b),e.ensureKeyExists("cdata",b),e.ensureKeyExists("doctype",b),e.ensureKeyExists("type",b),e.ensureKeyExists("name",b),e.ensureKeyExists("elements",b),e.checkFnExists("doctype",b),e.checkFnExists("instruction",b),e.checkFnExists("cdata",b),e.checkFnExists("comment",b),e.checkFnExists("text",b),e.checkFnExists("instructionName",b),e.checkFnExists("elementName",b),e.checkFnExists("attributeName",b),e.checkFnExists("attributeValue",b),e.checkFnExists("attributes",b),e.checkFnExists("fullTagEmptyElement",b),b}function o(y,b,w){return(!w&&y.spaces?`
- `:"")+Array(b+1).join(y.spaces)}function A(y,b,w){if(b.ignoreAttributes)return"";"attributesFn"in b&&(y=b.attributesFn(y,r,n));var C,B,O,x,M=[];for(C in y)y.hasOwnProperty(C)&&y[C]!==null&&y[C]!==void 0&&(x=b.noQuotesForNativeAttributes&&typeof y[C]!="string"?"":'"',B=""+y[C],B=B.replace(/"/g,"""),O="attributeNameFn"in b?b.attributeNameFn(C,B,r,n):C,M.push(b.spaces&&b.indentAttributes?o(b,w+1,!1):" "),M.push(O+"="+x+("attributeValueFn"in b?b.attributeValueFn(B,C,r,n):B)+x));return y&&Object.keys(y).length&&b.spaces&&b.indentAttributes&&M.push(o(b,w,!1)),M.join("")}function a(y,b,w){return n=y,r="xml",b.ignoreDeclaration?"":"<?xml"+A(y[b.attributesKey],b,w)+"?>"}function s(y,b,w){if(b.ignoreInstruction)return"";var C;for(C in y)if(y.hasOwnProperty(C))break;var B="instructionNameFn"in b?b.instructionNameFn(C,y[C],r,n):C;if(typeof y[C]=="object")return n=y,r=B,"<?"+B+A(y[C][b.attributesKey],b,w)+"?>";var O=y[C]?y[C]:"";return"instructionFn"in b&&(O=b.instructionFn(O,C,r,n)),"<?"+B+(O?" "+O:"")+"?>"}function u(y,b){return b.ignoreComment?"":"<!--"+("commentFn"in b?b.commentFn(y,r,n):y)+"-->"}function l(y,b){return b.ignoreCdata?"":"<![CDATA["+("cdataFn"in b?b.cdataFn(y,r,n):y.replace("]]>","]]]]><![CDATA[>"))+"]]>"}function c(y,b){return b.ignoreDoctype?"":"<!DOCTYPE "+("doctypeFn"in b?b.doctypeFn(y,r,n):y)+">"}function d(y,b){return b.ignoreText?"":(y=""+y,y=y.replace(/&/g,"&"),y=y.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),"textFn"in b?b.textFn(y,r,n):y)}function f(y,b){var w;if(y.elements&&y.elements.length)for(w=0;w<y.elements.length;++w)switch(y.elements[w][b.typeKey]){case"text":if(b.indentText)return!0;break;case"cdata":if(b.indentCdata)return!0;break;case"instruction":if(b.indentInstruction)return!0;break;case"doctype":case"comment":case"element":return!0;default:return!0}return!1}function g(y,b,w){n=y,r=y.name;var C=[],B="elementNameFn"in b?b.elementNameFn(y.name,y):y.name;C.push("<"+B),y[b.attributesKey]&&C.push(A(y[b.attributesKey],b,w));var O=y[b.elementsKey]&&y[b.elementsKey].length||y[b.attributesKey]&&y[b.attributesKey]["xml:space"]==="preserve";return O||("fullTagEmptyElementFn"in b?O=b.fullTagEmptyElementFn(y.name,y):O=b.fullTagEmptyElement),O?(C.push(">"),y[b.elementsKey]&&y[b.elementsKey].length&&(C.push(h(y[b.elementsKey],b,w+1)),n=y,r=y.name),C.push(b.spaces&&f(y,b)?`
- `+Array(w+1).join(b.spaces):""),C.push("</"+B+">")):C.push("/>"),C.join("")}function h(y,b,w,C){return y.reduce(function(B,O){var x=o(b,w,C&&!B);switch(O.type){case"element":return B+x+g(O,b,w);case"comment":return B+x+u(O[b.commentKey],b);case"doctype":return B+x+c(O[b.doctypeKey],b);case"cdata":return B+(b.indentCdata?x:"")+l(O[b.cdataKey],b);case"text":return B+(b.indentText?x:"")+d(O[b.textKey],b);case"instruction":var M={};return M[O[b.nameKey]]=O[b.attributesKey]?O:O[b.instructionKey],B+(b.indentInstruction?x:"")+s(M,b,w)}},"")}function m(y,b,w){var C;for(C in y)if(y.hasOwnProperty(C))switch(C){case b.parentKey:case b.attributesKey:break;case b.textKey:if(b.indentText||w)return!0;break;case b.cdataKey:if(b.indentCdata||w)return!0;break;case b.instructionKey:if(b.indentInstruction||w)return!0;break;case b.doctypeKey:case b.commentKey:return!0;default:return!0}return!1}function p(y,b,w,C,B){n=y,r=b;var O="elementNameFn"in w?w.elementNameFn(b,y):b;if(typeof y>"u"||y===null||y==="")return"fullTagEmptyElementFn"in w&&w.fullTagEmptyElementFn(b,y)||w.fullTagEmptyElement?"<"+O+"></"+O+">":"<"+O+"/>";var x=[];if(b){if(x.push("<"+O),typeof y!="object")return x.push(">"+d(y,w)+"</"+O+">"),x.join("");y[w.attributesKey]&&x.push(A(y[w.attributesKey],w,C));var M=m(y,w,!0)||y[w.attributesKey]&&y[w.attributesKey]["xml:space"]==="preserve";if(M||("fullTagEmptyElementFn"in w?M=w.fullTagEmptyElementFn(b,y):M=w.fullTagEmptyElement),M)x.push(">");else return x.push("/>"),x.join("")}return x.push(v(y,w,C+1,!1)),n=y,r=b,b&&x.push((B?o(w,C,!1):"")+"</"+O+">"),x.join("")}function v(y,b,w,C){var B,O,x,M=[];for(O in y)if(y.hasOwnProperty(O))for(x=t(y[O])?y[O]:[y[O]],B=0;B<x.length;++B){switch(O){case b.declarationKey:M.push(a(x[B],b,w));break;case b.instructionKey:M.push((b.indentInstruction?o(b,w,C):"")+s(x[B],b,w));break;case b.attributesKey:case b.parentKey:break;case b.textKey:M.push((b.indentText?o(b,w,C):"")+d(x[B],b));break;case b.cdataKey:M.push((b.indentCdata?o(b,w,C):"")+l(x[B],b));break;case b.doctypeKey:M.push(o(b,w,C)+c(x[B],b));break;case b.commentKey:M.push(o(b,w,C)+u(x[B],b));break;default:M.push(o(b,w,C)+p(x[B],O,b,w,m(x[B],b)))}C=C&&!M.length}return M.join("")}return DE=function(y,b){b=i(b);var w=[];return n=y,r="_root_",b.compact?w.push(v(y,b,0,!0)):(y[b.declarationKey]&&w.push(a(y[b.declarationKey],b,0)),y[b.elementsKey]&&y[b.elementsKey].length&&w.push(h(y[b.elementsKey],b,0,!w.length))),w.join("")},DE}var RE,jH;function DUe(){if(jH)return RE;jH=1;var e=mZ();return RE=function(t,n){t instanceof Buffer&&(t=t.toString());var r=null;if(typeof t=="string")try{r=JSON.parse(t)}catch{throw new Error("The JSON structure is invalid")}else r=t;return e(r,n)},RE}var $E,KH;function RUe(){if(KH)return $E;KH=1;var e=gZ(),t=LUe(),n=mZ(),r=DUe();return $E={xml2js:e,xml2json:t,js2xml:n,json2xml:r},$E}RUe();const $Ue=e=>{if(isNaN(e))throw new Error(`Invalid value '${e}' specified. Must be an integer.`);return Math.floor(e)},vZ=e=>{const t=$Ue(e);if(t<0)throw new Error(`Invalid value '${e}' specified. Must be a positive integer.`);return t},NUe=(e,t)=>{const n=t*2;if(e.length!==n||isNaN(+`0x${e}`))throw new Error(`Invalid hex value '${e}'. Expected ${n} digit hex value`);return e},HUe=e=>{if(e==="auto")return e;const t=e.charAt(0)==="#"?e.substring(1):e;return NUe(t,3)},MUe=vZ,kUe=vZ;class _a extends JJ{constructor(t,{color:n,size:r,space:i,style:o}){super(t),this.root.push(new jUe({style:o,color:n===void 0?void 0:HUe(n),size:r===void 0?void 0:MUe(r),space:i===void 0?void 0:kUe(i)}))}}class jUe extends ZTe{constructor(){super(...arguments),$u(this,"xmlKeys",{style:"w:val",color:"w:color",size:"w:sz",space:"w:space"})}}const yZ={SINGLE:"single",DASH_DOT_STROKED:"dashDotStroked",DASHED:"dashed",DASH_SMALL_GAP:"dashSmallGap",DOT_DASH:"dotDash",DOT_DOT_DASH:"dotDotDash",DOTTED:"dotted",DOUBLE:"double",DOUBLE_WAVE:"doubleWave",INSET:"inset",NIL:"nil",NONE:"none",OUTSET:"outset",THICK:"thick",THICK_THIN_LARGE_GAP:"thickThinLargeGap",THICK_THIN_MEDIUM_GAP:"thickThinMediumGap",THICK_THIN_SMALL_GAP:"thickThinSmallGap",THIN_THICK_LARGE_GAP:"thinThickLargeGap",THIN_THICK_MEDIUM_GAP:"thinThickMediumGap",THIN_THICK_SMALL_GAP:"thinThickSmallGap",THIN_THICK_THIN_LARGE_GAP:"thinThickThinLargeGap",THIN_THICK_THIN_MEDIUM_GAP:"thinThickThinMediumGap",THIN_THICK_THIN_SMALL_GAP:"thinThickThinSmallGap",THREE_D_EMBOSS:"threeDEmboss",THREE_D_ENGRAVE:"threeDEngrave",TRIPLE:"triple",WAVE:"wave"};var NE={},Rr={},HE,VH;function $v(){if(VH)return HE;VH=1,HE=e;function e(t,n){if(!t)throw new Error(n||"Assertion failed")}return e.equal=function(n,r,i){if(n!=r)throw new Error(i||"Assertion failed: "+n+" != "+r)},HE}var zH;function jl(){if(zH)return Rr;zH=1;var e=$v(),t=Ff();Rr.inherits=t;function n(F,L){return(F.charCodeAt(L)&64512)!==55296||L<0||L+1>=F.length?!1:(F.charCodeAt(L+1)&64512)===56320}function r(F,L){if(Array.isArray(F))return F.slice();if(!F)return[];var E=[];if(typeof F=="string")if(L){if(L==="hex")for(F=F.replace(/[^a-z0-9]+/ig,""),F.length%2!==0&&(F="0"+F),X=0;X<F.length;X+=2)E.push(parseInt(F[X]+F[X+1],16))}else for(var H=0,X=0;X<F.length;X++){var z=F.charCodeAt(X);z<128?E[H++]=z:z<2048?(E[H++]=z>>6|192,E[H++]=z&63|128):n(F,X)?(z=65536+((z&1023)<<10)+(F.charCodeAt(++X)&1023),E[H++]=z>>18|240,E[H++]=z>>12&63|128,E[H++]=z>>6&63|128,E[H++]=z&63|128):(E[H++]=z>>12|224,E[H++]=z>>6&63|128,E[H++]=z&63|128)}else for(X=0;X<F.length;X++)E[X]=F[X]|0;return E}Rr.toArray=r;function i(F){for(var L="",E=0;E<F.length;E++)L+=a(F[E].toString(16));return L}Rr.toHex=i;function o(F){var L=F>>>24|F>>>8&65280|F<<8&16711680|(F&255)<<24;return L>>>0}Rr.htonl=o;function A(F,L){for(var E="",H=0;H<F.length;H++){var X=F[H];L==="little"&&(X=o(X)),E+=s(X.toString(16))}return E}Rr.toHex32=A;function a(F){return F.length===1?"0"+F:F}Rr.zero2=a;function s(F){return F.length===7?"0"+F:F.length===6?"00"+F:F.length===5?"000"+F:F.length===4?"0000"+F:F.length===3?"00000"+F:F.length===2?"000000"+F:F.length===1?"0000000"+F:F}Rr.zero8=s;function u(F,L,E,H){var X=E-L;e(X%4===0);for(var z=new Array(X/4),Z=0,q=L;Z<z.length;Z++,q+=4){var te;H==="big"?te=F[q]<<24|F[q+1]<<16|F[q+2]<<8|F[q+3]:te=F[q+3]<<24|F[q+2]<<16|F[q+1]<<8|F[q],z[Z]=te>>>0}return z}Rr.join32=u;function l(F,L){for(var E=new Array(F.length*4),H=0,X=0;H<F.length;H++,X+=4){var z=F[H];L==="big"?(E[X]=z>>>24,E[X+1]=z>>>16&255,E[X+2]=z>>>8&255,E[X+3]=z&255):(E[X+3]=z>>>24,E[X+2]=z>>>16&255,E[X+1]=z>>>8&255,E[X]=z&255)}return E}Rr.split32=l;function c(F,L){return F>>>L|F<<32-L}Rr.rotr32=c;function d(F,L){return F<<L|F>>>32-L}Rr.rotl32=d;function f(F,L){return F+L>>>0}Rr.sum32=f;function g(F,L,E){return F+L+E>>>0}Rr.sum32_3=g;function h(F,L,E,H){return F+L+E+H>>>0}Rr.sum32_4=h;function m(F,L,E,H,X){return F+L+E+H+X>>>0}Rr.sum32_5=m;function p(F,L,E,H){var X=F[L],z=F[L+1],Z=H+z>>>0,q=(Z<H?1:0)+E+X;F[L]=q>>>0,F[L+1]=Z}Rr.sum64=p;function v(F,L,E,H){var X=L+H>>>0,z=(X<L?1:0)+F+E;return z>>>0}Rr.sum64_hi=v;function y(F,L,E,H){var X=L+H;return X>>>0}Rr.sum64_lo=y;function b(F,L,E,H,X,z,Z,q){var te=0,ne=L;ne=ne+H>>>0,te+=ne<L?1:0,ne=ne+z>>>0,te+=ne<z?1:0,ne=ne+q>>>0,te+=ne<q?1:0;var _=F+E+X+Z+te;return _>>>0}Rr.sum64_4_hi=b;function w(F,L,E,H,X,z,Z,q){var te=L+H+z+q;return te>>>0}Rr.sum64_4_lo=w;function C(F,L,E,H,X,z,Z,q,te,ne){var _=0,Y=L;Y=Y+H>>>0,_+=Y<L?1:0,Y=Y+z>>>0,_+=Y<z?1:0,Y=Y+q>>>0,_+=Y<q?1:0,Y=Y+ne>>>0,_+=Y<ne?1:0;var re=F+E+X+Z+te+_;return re>>>0}Rr.sum64_5_hi=C;function B(F,L,E,H,X,z,Z,q,te,ne){var _=L+H+z+q+ne;return _>>>0}Rr.sum64_5_lo=B;function O(F,L,E){var H=L<<32-E|F>>>E;return H>>>0}Rr.rotr64_hi=O;function x(F,L,E){var H=F<<32-E|L>>>E;return H>>>0}Rr.rotr64_lo=x;function M(F,L,E){return F>>>E}Rr.shr64_hi=M;function R(F,L,E){var H=F<<32-E|L>>>E;return H>>>0}return Rr.shr64_lo=R,Rr}var ME={},GH;function Nv(){if(GH)return ME;GH=1;var e=jl(),t=$v();function n(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}return ME.BlockHash=n,n.prototype.update=function(i,o){if(i=e.toArray(i,o),this.pending?this.pending=this.pending.concat(i):this.pending=i,this.pendingTotal+=i.length,this.pending.length>=this._delta8){i=this.pending;var A=i.length%this._delta8;this.pending=i.slice(i.length-A,i.length),this.pending.length===0&&(this.pending=null),i=e.join32(i,0,i.length-A,this.endian);for(var a=0;a<i.length;a+=this._delta32)this._update(i,a,a+this._delta32)}return this},n.prototype.digest=function(i){return this.update(this._pad()),t(this.pending===null),this._digest(i)},n.prototype._pad=function(){var i=this.pendingTotal,o=this._delta8,A=o-(i+this.padLength)%o,a=new Array(A+this.padLength);a[0]=128;for(var s=1;s<A;s++)a[s]=0;if(i<<=3,this.endian==="big"){for(var u=8;u<this.padLength;u++)a[s++]=0;a[s++]=0,a[s++]=0,a[s++]=0,a[s++]=0,a[s++]=i>>>24&255,a[s++]=i>>>16&255,a[s++]=i>>>8&255,a[s++]=i&255}else for(a[s++]=i&255,a[s++]=i>>>8&255,a[s++]=i>>>16&255,a[s++]=i>>>24&255,a[s++]=0,a[s++]=0,a[s++]=0,a[s++]=0,u=8;u<this.padLength;u++)a[s++]=0;return a},ME}var sd={},sl={},WH;function bZ(){if(WH)return sl;WH=1;var e=jl(),t=e.rotr32;function n(l,c,d,f){if(l===0)return r(c,d,f);if(l===1||l===3)return o(c,d,f);if(l===2)return i(c,d,f)}sl.ft_1=n;function r(l,c,d){return l&c^~l&d}sl.ch32=r;function i(l,c,d){return l&c^l&d^c&d}sl.maj32=i;function o(l,c,d){return l^c^d}sl.p32=o;function A(l){return t(l,2)^t(l,13)^t(l,22)}sl.s0_256=A;function a(l){return t(l,6)^t(l,11)^t(l,25)}sl.s1_256=a;function s(l){return t(l,7)^t(l,18)^l>>>3}sl.g0_256=s;function u(l){return t(l,17)^t(l,19)^l>>>10}return sl.g1_256=u,sl}var kE,qH;function KUe(){if(qH)return kE;qH=1;var e=jl(),t=Nv(),n=bZ(),r=e.rotl32,i=e.sum32,o=e.sum32_5,A=n.ft_1,a=t.BlockHash,s=[1518500249,1859775393,2400959708,3395469782];function u(){if(!(this instanceof u))return new u;a.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}return e.inherits(u,a),kE=u,u.blockSize=512,u.outSize=160,u.hmacStrength=80,u.padLength=64,u.prototype._update=function(c,d){for(var f=this.W,g=0;g<16;g++)f[g]=c[d+g];for(;g<f.length;g++)f[g]=r(f[g-3]^f[g-8]^f[g-14]^f[g-16],1);var h=this.h[0],m=this.h[1],p=this.h[2],v=this.h[3],y=this.h[4];for(g=0;g<f.length;g++){var b=~~(g/20),w=o(r(h,5),A(b,m,p,v),y,f[g],s[b]);y=v,v=p,p=r(m,30),m=h,h=w}this.h[0]=i(this.h[0],h),this.h[1]=i(this.h[1],m),this.h[2]=i(this.h[2],p),this.h[3]=i(this.h[3],v),this.h[4]=i(this.h[4],y)},u.prototype._digest=function(c){return c==="hex"?e.toHex32(this.h,"big"):e.split32(this.h,"big")},kE}var jE,XH;function wZ(){if(XH)return jE;XH=1;var e=jl(),t=Nv(),n=bZ(),r=$v(),i=e.sum32,o=e.sum32_4,A=e.sum32_5,a=n.ch32,s=n.maj32,u=n.s0_256,l=n.s1_256,c=n.g0_256,d=n.g1_256,f=t.BlockHash,g=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function h(){if(!(this instanceof h))return new h;f.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=g,this.W=new Array(64)}return e.inherits(h,f),jE=h,h.blockSize=512,h.outSize=256,h.hmacStrength=192,h.padLength=64,h.prototype._update=function(p,v){for(var y=this.W,b=0;b<16;b++)y[b]=p[v+b];for(;b<y.length;b++)y[b]=o(d(y[b-2]),y[b-7],c(y[b-15]),y[b-16]);var w=this.h[0],C=this.h[1],B=this.h[2],O=this.h[3],x=this.h[4],M=this.h[5],R=this.h[6],F=this.h[7];for(r(this.k.length===y.length),b=0;b<y.length;b++){var L=A(F,l(x),a(x,M,R),this.k[b],y[b]),E=i(u(w),s(w,C,B));F=R,R=M,M=x,x=i(O,L),O=B,B=C,C=w,w=i(L,E)}this.h[0]=i(this.h[0],w),this.h[1]=i(this.h[1],C),this.h[2]=i(this.h[2],B),this.h[3]=i(this.h[3],O),this.h[4]=i(this.h[4],x),this.h[5]=i(this.h[5],M),this.h[6]=i(this.h[6],R),this.h[7]=i(this.h[7],F)},h.prototype._digest=function(p){return p==="hex"?e.toHex32(this.h,"big"):e.split32(this.h,"big")},jE}var KE,YH;function VUe(){if(YH)return KE;YH=1;var e=jl(),t=wZ();function n(){if(!(this instanceof n))return new n;t.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}return e.inherits(n,t),KE=n,n.blockSize=512,n.outSize=224,n.hmacStrength=192,n.padLength=64,n.prototype._digest=function(i){return i==="hex"?e.toHex32(this.h.slice(0,7),"big"):e.split32(this.h.slice(0,7),"big")},KE}var VE,JH;function BZ(){if(JH)return VE;JH=1;var e=jl(),t=Nv(),n=$v(),r=e.rotr64_hi,i=e.rotr64_lo,o=e.shr64_hi,A=e.shr64_lo,a=e.sum64,s=e.sum64_hi,u=e.sum64_lo,l=e.sum64_4_hi,c=e.sum64_4_lo,d=e.sum64_5_hi,f=e.sum64_5_lo,g=t.BlockHash,h=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function m(){if(!(this instanceof m))return new m;g.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=h,this.W=new Array(160)}e.inherits(m,g),VE=m,m.blockSize=1024,m.outSize=512,m.hmacStrength=192,m.padLength=128,m.prototype._prepareBlock=function(E,H){for(var X=this.W,z=0;z<32;z++)X[z]=E[H+z];for(;z<X.length;z+=2){var Z=R(X[z-4],X[z-3]),q=F(X[z-4],X[z-3]),te=X[z-14],ne=X[z-13],_=x(X[z-30],X[z-29]),Y=M(X[z-30],X[z-29]),re=X[z-32],se=X[z-31];X[z]=l(Z,q,te,ne,_,Y,re,se),X[z+1]=c(Z,q,te,ne,_,Y,re,se)}},m.prototype._update=function(E,H){this._prepareBlock(E,H);var X=this.W,z=this.h[0],Z=this.h[1],q=this.h[2],te=this.h[3],ne=this.h[4],_=this.h[5],Y=this.h[6],re=this.h[7],se=this.h[8],ce=this.h[9],N=this.h[10],K=this.h[11],Ae=this.h[12],ae=this.h[13],ie=this.h[14],J=this.h[15];n(this.k.length===X.length);for(var ue=0;ue<X.length;ue+=2){var G=ie,pe=J,k=B(se,ce),P=O(se,ce),U=p(se,ce,N,K,Ae),W=v(se,ce,N,K,Ae,ae),de=this.k[ue],me=this.k[ue+1],ve=X[ue],be=X[ue+1],Te=d(G,pe,k,P,U,W,de,me,ve,be),we=f(G,pe,k,P,U,W,de,me,ve,be);G=w(z,Z),pe=C(z,Z),k=y(z,Z,q,te,ne),P=b(z,Z,q,te,ne,_);var xe=s(G,pe,k,P),Ue=u(G,pe,k,P);ie=Ae,J=ae,Ae=N,ae=K,N=se,K=ce,se=s(Y,re,Te,we),ce=u(re,re,Te,we),Y=ne,re=_,ne=q,_=te,q=z,te=Z,z=s(Te,we,xe,Ue),Z=u(Te,we,xe,Ue)}a(this.h,0,z,Z),a(this.h,2,q,te),a(this.h,4,ne,_),a(this.h,6,Y,re),a(this.h,8,se,ce),a(this.h,10,N,K),a(this.h,12,Ae,ae),a(this.h,14,ie,J)},m.prototype._digest=function(E){return E==="hex"?e.toHex32(this.h,"big"):e.split32(this.h,"big")};function p(L,E,H,X,z){var Z=L&H^~L&z;return Z<0&&(Z+=4294967296),Z}function v(L,E,H,X,z,Z){var q=E&X^~E&Z;return q<0&&(q+=4294967296),q}function y(L,E,H,X,z){var Z=L&H^L&z^H&z;return Z<0&&(Z+=4294967296),Z}function b(L,E,H,X,z,Z){var q=E&X^E&Z^X&Z;return q<0&&(q+=4294967296),q}function w(L,E){var H=r(L,E,28),X=r(E,L,2),z=r(E,L,7),Z=H^X^z;return Z<0&&(Z+=4294967296),Z}function C(L,E){var H=i(L,E,28),X=i(E,L,2),z=i(E,L,7),Z=H^X^z;return Z<0&&(Z+=4294967296),Z}function B(L,E){var H=r(L,E,14),X=r(L,E,18),z=r(E,L,9),Z=H^X^z;return Z<0&&(Z+=4294967296),Z}function O(L,E){var H=i(L,E,14),X=i(L,E,18),z=i(E,L,9),Z=H^X^z;return Z<0&&(Z+=4294967296),Z}function x(L,E){var H=r(L,E,1),X=r(L,E,8),z=o(L,E,7),Z=H^X^z;return Z<0&&(Z+=4294967296),Z}function M(L,E){var H=i(L,E,1),X=i(L,E,8),z=A(L,E,7),Z=H^X^z;return Z<0&&(Z+=4294967296),Z}function R(L,E){var H=r(L,E,19),X=r(E,L,29),z=o(L,E,6),Z=H^X^z;return Z<0&&(Z+=4294967296),Z}function F(L,E){var H=i(L,E,19),X=i(E,L,29),z=A(L,E,6),Z=H^X^z;return Z<0&&(Z+=4294967296),Z}return VE}var zE,ZH;function zUe(){if(ZH)return zE;ZH=1;var e=jl(),t=BZ();function n(){if(!(this instanceof n))return new n;t.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}return e.inherits(n,t),zE=n,n.blockSize=1024,n.outSize=384,n.hmacStrength=192,n.padLength=128,n.prototype._digest=function(i){return i==="hex"?e.toHex32(this.h.slice(0,12),"big"):e.split32(this.h.slice(0,12),"big")},zE}var eM;function GUe(){return eM||(eM=1,sd.sha1=KUe(),sd.sha224=VUe(),sd.sha256=wZ(),sd.sha384=zUe(),sd.sha512=BZ()),sd}var GE={},tM;function WUe(){if(tM)return GE;tM=1;var e=jl(),t=Nv(),n=e.rotl32,r=e.sum32,i=e.sum32_3,o=e.sum32_4,A=t.BlockHash;function a(){if(!(this instanceof a))return new a;A.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}e.inherits(a,A),GE.ripemd160=a,a.blockSize=512,a.outSize=160,a.hmacStrength=192,a.padLength=64,a.prototype._update=function(m,p){for(var v=this.h[0],y=this.h[1],b=this.h[2],w=this.h[3],C=this.h[4],B=v,O=y,x=b,M=w,R=C,F=0;F<80;F++){var L=r(n(o(v,s(F,y,b,w),m[c[F]+p],u(F)),f[F]),C);v=C,C=w,w=n(b,10),b=y,y=L,L=r(n(o(B,s(79-F,O,x,M),m[d[F]+p],l(F)),g[F]),R),B=R,R=M,M=n(x,10),x=O,O=L}L=i(this.h[1],b,M),this.h[1]=i(this.h[2],w,R),this.h[2]=i(this.h[3],C,B),this.h[3]=i(this.h[4],v,O),this.h[4]=i(this.h[0],y,x),this.h[0]=L},a.prototype._digest=function(m){return m==="hex"?e.toHex32(this.h,"little"):e.split32(this.h,"little")};function s(h,m,p,v){return h<=15?m^p^v:h<=31?m&p|~m&v:h<=47?(m|~p)^v:h<=63?m&v|p&~v:m^(p|~v)}function u(h){return h<=15?0:h<=31?1518500249:h<=47?1859775393:h<=63?2400959708:2840853838}function l(h){return h<=15?1352829926:h<=31?1548603684:h<=47?1836072691:h<=63?2053994217:0}var c=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],d=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],f=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],g=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11];return GE}var WE,nM;function qUe(){if(nM)return WE;nM=1;var e=jl(),t=$v();function n(r,i,o){if(!(this instanceof n))return new n(r,i,o);this.Hash=r,this.blockSize=r.blockSize/8,this.outSize=r.outSize/8,this.inner=null,this.outer=null,this._init(e.toArray(i,o))}return WE=n,n.prototype._init=function(i){i.length>this.blockSize&&(i=new this.Hash().update(i).digest()),t(i.length<=this.blockSize);for(var o=i.length;o<this.blockSize;o++)i.push(0);for(o=0;o<i.length;o++)i[o]^=54;for(this.inner=new this.Hash().update(i),o=0;o<i.length;o++)i[o]^=106;this.outer=new this.Hash().update(i)},n.prototype.update=function(i,o){return this.inner.update(i,o),this},n.prototype.digest=function(i){return this.outer.update(this.inner.digest()),this.outer.digest(i)},WE}var rM;function XUe(){return rM||(rM=1,function(e){var t=e;t.utils=jl(),t.common=Nv(),t.sha=GUe(),t.ripemd=WUe(),t.hmac=qUe(),t.sha1=t.sha.sha1,t.sha256=t.sha.sha256,t.sha224=t.sha.sha224,t.sha384=t.sha.sha384,t.sha512=t.sha.sha512,t.ripemd160=t.ripemd.ripemd160}(NE)),NE}XUe();const yp={style:yZ.NONE,size:0,color:"auto"},bp={style:yZ.SINGLE,size:4,color:"auto"};class YUe extends JJ{constructor(t){super("w:tblBorders"),t.top?this.root.push(new _a("w:top",t.top)):this.root.push(new _a("w:top",bp)),t.left?this.root.push(new _a("w:left",t.left)):this.root.push(new _a("w:left",bp)),t.bottom?this.root.push(new _a("w:bottom",t.bottom)):this.root.push(new _a("w:bottom",bp)),t.right?this.root.push(new _a("w:right",t.right)):this.root.push(new _a("w:right",bp)),t.insideHorizontal?this.root.push(new _a("w:insideH",t.insideHorizontal)):this.root.push(new _a("w:insideH",bp)),t.insideVertical?this.root.push(new _a("w:insideV",t.insideVertical)):this.root.push(new _a("w:insideV",bp))}}$u(YUe,"NONE",{top:yp,bottom:yp,left:yp,right:yp,insideHorizontal:yp,insideVertical:yp});var JUe=pU();function Sy(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var qE={exports:{}},iM;function ZUe(){return iM||(iM=1,function(e,t){(function(n){e.exports=n()})(function(){return function n(r,i,o){function A(u,l){if(!i[u]){if(!r[u]){var c=typeof Sy=="function"&&Sy;if(!l&&c)return c(u,!0);if(a)return a(u,!0);var d=new Error("Cannot find module '"+u+"'");throw d.code="MODULE_NOT_FOUND",d}var f=i[u]={exports:{}};r[u][0].call(f.exports,function(g){var h=r[u][1][g];return A(h||g)},f,f.exports,n,r,i,o)}return i[u].exports}for(var a=typeof Sy=="function"&&Sy,s=0;s<o.length;s++)A(o[s]);return A}({1:[function(n,r,i){var o=n("./utils"),A=n("./support"),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(s){for(var u,l,c,d,f,g,h,m=[],p=0,v=s.length,y=v,b=o.getTypeOf(s)!=="string";p<s.length;)y=v-p,c=b?(u=s[p++],l=p<v?s[p++]:0,p<v?s[p++]:0):(u=s.charCodeAt(p++),l=p<v?s.charCodeAt(p++):0,p<v?s.charCodeAt(p++):0),d=u>>2,f=(3&u)<<4|l>>4,g=1<y?(15&l)<<2|c>>6:64,h=2<y?63&c:64,m.push(a.charAt(d)+a.charAt(f)+a.charAt(g)+a.charAt(h));return m.join("")},i.decode=function(s){var u,l,c,d,f,g,h=0,m=0,p="data:";if(s.substr(0,p.length)===p)throw new Error("Invalid base64 input, it looks like a data url.");var v,y=3*(s=s.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(s.charAt(s.length-1)===a.charAt(64)&&y--,s.charAt(s.length-2)===a.charAt(64)&&y--,y%1!=0)throw new Error("Invalid base64 input, bad content length.");for(v=A.uint8array?new Uint8Array(0|y):new Array(0|y);h<s.length;)u=a.indexOf(s.charAt(h++))<<2|(d=a.indexOf(s.charAt(h++)))>>4,l=(15&d)<<4|(f=a.indexOf(s.charAt(h++)))>>2,c=(3&f)<<6|(g=a.indexOf(s.charAt(h++))),v[m++]=u,f!==64&&(v[m++]=l),g!==64&&(v[m++]=c);return v}},{"./support":30,"./utils":32}],2:[function(n,r,i){var o=n("./external"),A=n("./stream/DataWorker"),a=n("./stream/Crc32Probe"),s=n("./stream/DataLengthProbe");function u(l,c,d,f,g){this.compressedSize=l,this.uncompressedSize=c,this.crc32=d,this.compression=f,this.compressedContent=g}u.prototype={getContentWorker:function(){var l=new A(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new s("data_length")),c=this;return l.on("end",function(){if(this.streamInfo.data_length!==c.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),l},getCompressedWorker:function(){return new A(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},u.createWorkerFrom=function(l,c,d){return l.pipe(new a).pipe(new s("uncompressedSize")).pipe(c.compressWorker(d)).pipe(new s("compressedSize")).withStreamInfo("compression",c)},r.exports=u},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(n,r,i){var o=n("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},i.DEFLATE=n("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(n,r,i){var o=n("./utils"),A=function(){for(var a,s=[],u=0;u<256;u++){a=u;for(var l=0;l<8;l++)a=1&a?3988292384^a>>>1:a>>>1;s[u]=a}return s}();r.exports=function(a,s){return a!==void 0&&a.length?o.getTypeOf(a)!=="string"?function(u,l,c,d){var f=A,g=d+c;u^=-1;for(var h=d;h<g;h++)u=u>>>8^f[255&(u^l[h])];return-1^u}(0|s,a,a.length,0):function(u,l,c,d){var f=A,g=d+c;u^=-1;for(var h=d;h<g;h++)u=u>>>8^f[255&(u^l.charCodeAt(h))];return-1^u}(0|s,a,a.length,0):0}},{"./utils":32}],5:[function(n,r,i){i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(n,r,i){var o=null;o=typeof Promise<"u"?Promise:n("lie"),r.exports={Promise:o}},{lie:37}],7:[function(n,r,i){var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",A=n("pako"),a=n("./utils"),s=n("./stream/GenericWorker"),u=o?"uint8array":"array";function l(c,d){s.call(this,"FlateWorker/"+c),this._pako=null,this._pakoAction=c,this._pakoOptions=d,this.meta={}}i.magic="\b\0",a.inherits(l,s),l.prototype.processChunk=function(c){this.meta=c.meta,this._pako===null&&this._createPako(),this._pako.push(a.transformTo(u,c.data),!1)},l.prototype.flush=function(){s.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new A[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var c=this;this._pako.onData=function(d){c.push({data:d,meta:c.meta})}},i.compressWorker=function(c){return new l("Deflate",c)},i.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(n,r,i){function o(f,g){var h,m="";for(h=0;h<g;h++)m+=String.fromCharCode(255&f),f>>>=8;return m}function A(f,g,h,m,p,v){var y,b,w=f.file,C=f.compression,B=v!==u.utf8encode,O=a.transformTo("string",v(w.name)),x=a.transformTo("string",u.utf8encode(w.name)),M=w.comment,R=a.transformTo("string",v(M)),F=a.transformTo("string",u.utf8encode(M)),L=x.length!==w.name.length,E=F.length!==M.length,H="",X="",z="",Z=w.dir,q=w.date,te={crc32:0,compressedSize:0,uncompressedSize:0};g&&!h||(te.crc32=f.crc32,te.compressedSize=f.compressedSize,te.uncompressedSize=f.uncompressedSize);var ne=0;g&&(ne|=8),B||!L&&!E||(ne|=2048);var _=0,Y=0;Z&&(_|=16),p==="UNIX"?(Y=798,_|=function(se,ce){var N=se;return se||(N=ce?16893:33204),(65535&N)<<16}(w.unixPermissions,Z)):(Y=20,_|=function(se){return 63&(se||0)}(w.dosPermissions)),y=q.getUTCHours(),y<<=6,y|=q.getUTCMinutes(),y<<=5,y|=q.getUTCSeconds()/2,b=q.getUTCFullYear()-1980,b<<=4,b|=q.getUTCMonth()+1,b<<=5,b|=q.getUTCDate(),L&&(X=o(1,1)+o(l(O),4)+x,H+="up"+o(X.length,2)+X),E&&(z=o(1,1)+o(l(R),4)+F,H+="uc"+o(z.length,2)+z);var re="";return re+=`
- \0`,re+=o(ne,2),re+=C.magic,re+=o(y,2),re+=o(b,2),re+=o(te.crc32,4),re+=o(te.compressedSize,4),re+=o(te.uncompressedSize,4),re+=o(O.length,2),re+=o(H.length,2),{fileRecord:c.LOCAL_FILE_HEADER+re+O+H,dirRecord:c.CENTRAL_FILE_HEADER+o(Y,2)+re+o(R.length,2)+"\0\0\0\0"+o(_,4)+o(m,4)+O+H+R}}var a=n("../utils"),s=n("../stream/GenericWorker"),u=n("../utf8"),l=n("../crc32"),c=n("../signature");function d(f,g,h,m){s.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=g,this.zipPlatform=h,this.encodeFileName=m,this.streamFiles=f,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(d,s),d.prototype.push=function(f){var g=f.meta.percent||0,h=this.entriesCount,m=this._sources.length;this.accumulate?this.contentBuffer.push(f):(this.bytesWritten+=f.data.length,s.prototype.push.call(this,{data:f.data,meta:{currentFile:this.currentFile,percent:h?(g+100*(h-m-1))/h:100}}))},d.prototype.openedSource=function(f){this.currentSourceOffset=this.bytesWritten,this.currentFile=f.file.name;var g=this.streamFiles&&!f.file.dir;if(g){var h=A(f,g,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:h.fileRecord,meta:{percent:0}})}else this.accumulate=!0},d.prototype.closedSource=function(f){this.accumulate=!1;var g=this.streamFiles&&!f.file.dir,h=A(f,g,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(h.dirRecord),g)this.push({data:function(m){return c.DATA_DESCRIPTOR+o(m.crc32,4)+o(m.compressedSize,4)+o(m.uncompressedSize,4)}(f),meta:{percent:100}});else for(this.push({data:h.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},d.prototype.flush=function(){for(var f=this.bytesWritten,g=0;g<this.dirRecords.length;g++)this.push({data:this.dirRecords[g],meta:{percent:100}});var h=this.bytesWritten-f,m=function(p,v,y,b,w){var C=a.transformTo("string",w(b));return c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+o(p,2)+o(p,2)+o(v,4)+o(y,4)+o(C.length,2)+C}(this.dirRecords.length,h,f,this.zipComment,this.encodeFileName);this.push({data:m,meta:{percent:100}})},d.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},d.prototype.registerPrevious=function(f){this._sources.push(f);var g=this;return f.on("data",function(h){g.processChunk(h)}),f.on("end",function(){g.closedSource(g.previous.streamInfo),g._sources.length?g.prepareNextSource():g.end()}),f.on("error",function(h){g.error(h)}),this},d.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},d.prototype.error=function(f){var g=this._sources;if(!s.prototype.error.call(this,f))return!1;for(var h=0;h<g.length;h++)try{g[h].error(f)}catch{}return!0},d.prototype.lock=function(){s.prototype.lock.call(this);for(var f=this._sources,g=0;g<f.length;g++)f[g].lock()},r.exports=d},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(n,r,i){var o=n("../compressions"),A=n("./ZipFileWorker");i.generateWorker=function(a,s,u){var l=new A(s.streamFiles,u,s.platform,s.encodeFileName),c=0;try{a.forEach(function(d,f){c++;var g=function(v,y){var b=v||y,w=o[b];if(!w)throw new Error(b+" is not a valid compression method !");return w}(f.options.compression,s.compression),h=f.options.compressionOptions||s.compressionOptions||{},m=f.dir,p=f.date;f._compressWorker(g,h).withStreamInfo("file",{name:d,dir:m,date:p,comment:f.comment||"",unixPermissions:f.unixPermissions,dosPermissions:f.dosPermissions}).pipe(l)}),l.entriesCount=c}catch(d){l.error(d)}return l}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(n,r,i){function o(){if(!(this instanceof o))return new o;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var A=new o;for(var a in this)typeof this[a]!="function"&&(A[a]=this[a]);return A}}(o.prototype=n("./object")).loadAsync=n("./load"),o.support=n("./support"),o.defaults=n("./defaults"),o.version="3.10.1",o.loadAsync=function(A,a){return new o().loadAsync(A,a)},o.external=n("./external"),r.exports=o},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(n,r,i){var o=n("./utils"),A=n("./external"),a=n("./utf8"),s=n("./zipEntries"),u=n("./stream/Crc32Probe"),l=n("./nodejsUtils");function c(d){return new A.Promise(function(f,g){var h=d.decompressed.getContentWorker().pipe(new u);h.on("error",function(m){g(m)}).on("end",function(){h.streamInfo.crc32!==d.decompressed.crc32?g(new Error("Corrupted zip : CRC32 mismatch")):f()}).resume()})}r.exports=function(d,f){var g=this;return f=o.extend(f||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:a.utf8decode}),l.isNode&&l.isStream(d)?A.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):o.prepareContent("the loaded zip file",d,!0,f.optimizedBinaryString,f.base64).then(function(h){var m=new s(f);return m.load(h),m}).then(function(h){var m=[A.Promise.resolve(h)],p=h.files;if(f.checkCRC32)for(var v=0;v<p.length;v++)m.push(c(p[v]));return A.Promise.all(m)}).then(function(h){for(var m=h.shift(),p=m.files,v=0;v<p.length;v++){var y=p[v],b=y.fileNameStr,w=o.resolve(y.fileNameStr);g.file(w,y.decompressed,{binary:!0,optimizedBinaryString:!0,date:y.date,dir:y.dir,comment:y.fileCommentStr.length?y.fileCommentStr:null,unixPermissions:y.unixPermissions,dosPermissions:y.dosPermissions,createFolders:f.createFolders}),y.dir||(g.file(w).unsafeOriginalName=b)}return m.zipComment.length&&(g.comment=m.zipComment),g})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(n,r,i){var o=n("../utils"),A=n("../stream/GenericWorker");function a(s,u){A.call(this,"Nodejs stream input adapter for "+s),this._upstreamEnded=!1,this._bindStream(u)}o.inherits(a,A),a.prototype._bindStream=function(s){var u=this;(this._stream=s).pause(),s.on("data",function(l){u.push({data:l,meta:{percent:0}})}).on("error",function(l){u.isPaused?this.generatedError=l:u.error(l)}).on("end",function(){u.isPaused?u._upstreamEnded=!0:u.end()})},a.prototype.pause=function(){return!!A.prototype.pause.call(this)&&(this._stream.pause(),!0)},a.prototype.resume=function(){return!!A.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},r.exports=a},{"../stream/GenericWorker":28,"../utils":32}],13:[function(n,r,i){var o=n("readable-stream").Readable;function A(a,s,u){o.call(this,s),this._helper=a;var l=this;a.on("data",function(c,d){l.push(c)||l._helper.pause(),u&&u(d)}).on("error",function(c){l.emit("error",c)}).on("end",function(){l.push(null)})}n("../utils").inherits(A,o),A.prototype._read=function(){this._helper.resume()},r.exports=A},{"../utils":32,"readable-stream":16}],14:[function(n,r,i){r.exports={isNode:typeof Buffer<"u",newBufferFrom:function(o,A){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(o,A);if(typeof o=="number")throw new Error('The "data" argument must not be a number');return new Buffer(o,A)},allocBuffer:function(o){if(Buffer.alloc)return Buffer.alloc(o);var A=new Buffer(o);return A.fill(0),A},isBuffer:function(o){return Buffer.isBuffer(o)},isStream:function(o){return o&&typeof o.on=="function"&&typeof o.pause=="function"&&typeof o.resume=="function"}}},{}],15:[function(n,r,i){function o(w,C,B){var O,x=a.getTypeOf(C),M=a.extend(B||{},l);M.date=M.date||new Date,M.compression!==null&&(M.compression=M.compression.toUpperCase()),typeof M.unixPermissions=="string"&&(M.unixPermissions=parseInt(M.unixPermissions,8)),M.unixPermissions&&16384&M.unixPermissions&&(M.dir=!0),M.dosPermissions&&16&M.dosPermissions&&(M.dir=!0),M.dir&&(w=p(w)),M.createFolders&&(O=m(w))&&v.call(this,O,!0);var R=x==="string"&&M.binary===!1&&M.base64===!1;B&&B.binary!==void 0||(M.binary=!R),(C instanceof c&&C.uncompressedSize===0||M.dir||!C||C.length===0)&&(M.base64=!1,M.binary=!0,C="",M.compression="STORE",x="string");var F=null;F=C instanceof c||C instanceof s?C:g.isNode&&g.isStream(C)?new h(w,C):a.prepareContent(w,C,M.binary,M.optimizedBinaryString,M.base64);var L=new d(w,F,M);this.files[w]=L}var A=n("./utf8"),a=n("./utils"),s=n("./stream/GenericWorker"),u=n("./stream/StreamHelper"),l=n("./defaults"),c=n("./compressedObject"),d=n("./zipObject"),f=n("./generate"),g=n("./nodejsUtils"),h=n("./nodejs/NodejsStreamInputAdapter"),m=function(w){w.slice(-1)==="/"&&(w=w.substring(0,w.length-1));var C=w.lastIndexOf("/");return 0<C?w.substring(0,C):""},p=function(w){return w.slice(-1)!=="/"&&(w+="/"),w},v=function(w,C){return C=C!==void 0?C:l.createFolders,w=p(w),this.files[w]||o.call(this,w,null,{dir:!0,createFolders:C}),this.files[w]};function y(w){return Object.prototype.toString.call(w)==="[object RegExp]"}var b={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(w){var C,B,O;for(C in this.files)O=this.files[C],(B=C.slice(this.root.length,C.length))&&C.slice(0,this.root.length)===this.root&&w(B,O)},filter:function(w){var C=[];return this.forEach(function(B,O){w(B,O)&&C.push(O)}),C},file:function(w,C,B){if(arguments.length!==1)return w=this.root+w,o.call(this,w,C,B),this;if(y(w)){var O=w;return this.filter(function(M,R){return!R.dir&&O.test(M)})}var x=this.files[this.root+w];return x&&!x.dir?x:null},folder:function(w){if(!w)return this;if(y(w))return this.filter(function(x,M){return M.dir&&w.test(x)});var C=this.root+w,B=v.call(this,C),O=this.clone();return O.root=B.name,O},remove:function(w){w=this.root+w;var C=this.files[w];if(C||(w.slice(-1)!=="/"&&(w+="/"),C=this.files[w]),C&&!C.dir)delete this.files[w];else for(var B=this.filter(function(x,M){return M.name.slice(0,w.length)===w}),O=0;O<B.length;O++)delete this.files[B[O].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(w){var C,B={};try{if((B=a.extend(w||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:A.utf8encode})).type=B.type.toLowerCase(),B.compression=B.compression.toUpperCase(),B.type==="binarystring"&&(B.type="string"),!B.type)throw new Error("No output type specified.");a.checkSupport(B.type),B.platform!=="darwin"&&B.platform!=="freebsd"&&B.platform!=="linux"&&B.platform!=="sunos"||(B.platform="UNIX"),B.platform==="win32"&&(B.platform="DOS");var O=B.comment||this.comment||"";C=f.generateWorker(this,B,O)}catch(x){(C=new s("error")).error(x)}return new u(C,B.type||"string",B.mimeType)},generateAsync:function(w,C){return this.generateInternalStream(w).accumulate(C)},generateNodeStream:function(w,C){return(w=w||{}).type||(w.type="nodebuffer"),this.generateInternalStream(w).toNodejsStream(C)}};r.exports=b},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(n,r,i){r.exports=n("stream")},{stream:void 0}],17:[function(n,r,i){var o=n("./DataReader");function A(a){o.call(this,a);for(var s=0;s<this.data.length;s++)a[s]=255&a[s]}n("../utils").inherits(A,o),A.prototype.byteAt=function(a){return this.data[this.zero+a]},A.prototype.lastIndexOfSignature=function(a){for(var s=a.charCodeAt(0),u=a.charCodeAt(1),l=a.charCodeAt(2),c=a.charCodeAt(3),d=this.length-4;0<=d;--d)if(this.data[d]===s&&this.data[d+1]===u&&this.data[d+2]===l&&this.data[d+3]===c)return d-this.zero;return-1},A.prototype.readAndCheckSignature=function(a){var s=a.charCodeAt(0),u=a.charCodeAt(1),l=a.charCodeAt(2),c=a.charCodeAt(3),d=this.readData(4);return s===d[0]&&u===d[1]&&l===d[2]&&c===d[3]},A.prototype.readData=function(a){if(this.checkOffset(a),a===0)return[];var s=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,s},r.exports=A},{"../utils":32,"./DataReader":18}],18:[function(n,r,i){var o=n("../utils");function A(a){this.data=a,this.length=a.length,this.index=0,this.zero=0}A.prototype={checkOffset:function(a){this.checkIndex(this.index+a)},checkIndex:function(a){if(this.length<this.zero+a||a<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+a+"). Corrupted zip ?")},setIndex:function(a){this.checkIndex(a),this.index=a},skip:function(a){this.setIndex(this.index+a)},byteAt:function(){},readInt:function(a){var s,u=0;for(this.checkOffset(a),s=this.index+a-1;s>=this.index;s--)u=(u<<8)+this.byteAt(s);return this.index+=a,u},readString:function(a){return o.transformTo("string",this.readData(a))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var a=this.readInt(4);return new Date(Date.UTC(1980+(a>>25&127),(a>>21&15)-1,a>>16&31,a>>11&31,a>>5&63,(31&a)<<1))}},r.exports=A},{"../utils":32}],19:[function(n,r,i){var o=n("./Uint8ArrayReader");function A(a){o.call(this,a)}n("../utils").inherits(A,o),A.prototype.readData=function(a){this.checkOffset(a);var s=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,s},r.exports=A},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(n,r,i){var o=n("./DataReader");function A(a){o.call(this,a)}n("../utils").inherits(A,o),A.prototype.byteAt=function(a){return this.data.charCodeAt(this.zero+a)},A.prototype.lastIndexOfSignature=function(a){return this.data.lastIndexOf(a)-this.zero},A.prototype.readAndCheckSignature=function(a){return a===this.readData(4)},A.prototype.readData=function(a){this.checkOffset(a);var s=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,s},r.exports=A},{"../utils":32,"./DataReader":18}],21:[function(n,r,i){var o=n("./ArrayReader");function A(a){o.call(this,a)}n("../utils").inherits(A,o),A.prototype.readData=function(a){if(this.checkOffset(a),a===0)return new Uint8Array(0);var s=this.data.subarray(this.zero+this.index,this.zero+this.index+a);return this.index+=a,s},r.exports=A},{"../utils":32,"./ArrayReader":17}],22:[function(n,r,i){var o=n("../utils"),A=n("../support"),a=n("./ArrayReader"),s=n("./StringReader"),u=n("./NodeBufferReader"),l=n("./Uint8ArrayReader");r.exports=function(c){var d=o.getTypeOf(c);return o.checkSupport(d),d!=="string"||A.uint8array?d==="nodebuffer"?new u(c):A.uint8array?new l(o.transformTo("uint8array",c)):new a(o.transformTo("array",c)):new s(c)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(n,r,i){i.LOCAL_FILE_HEADER="PK",i.CENTRAL_FILE_HEADER="PK",i.CENTRAL_DIRECTORY_END="PK",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",i.ZIP64_CENTRAL_DIRECTORY_END="PK",i.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(n,r,i){var o=n("./GenericWorker"),A=n("../utils");function a(s){o.call(this,"ConvertWorker to "+s),this.destType=s}A.inherits(a,o),a.prototype.processChunk=function(s){this.push({data:A.transformTo(this.destType,s.data),meta:s.meta})},r.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(n,r,i){var o=n("./GenericWorker"),A=n("../crc32");function a(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}n("../utils").inherits(a,o),a.prototype.processChunk=function(s){this.streamInfo.crc32=A(s.data,this.streamInfo.crc32||0),this.push(s)},r.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(n,r,i){var o=n("../utils"),A=n("./GenericWorker");function a(s){A.call(this,"DataLengthProbe for "+s),this.propName=s,this.withStreamInfo(s,0)}o.inherits(a,A),a.prototype.processChunk=function(s){if(s){var u=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=u+s.data.length}A.prototype.processChunk.call(this,s)},r.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(n,r,i){var o=n("../utils"),A=n("./GenericWorker");function a(s){A.call(this,"DataWorker");var u=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,s.then(function(l){u.dataIsReady=!0,u.data=l,u.max=l&&l.length||0,u.type=o.getTypeOf(l),u.isPaused||u._tickAndRepeat()},function(l){u.error(l)})}o.inherits(a,A),a.prototype.cleanUp=function(){A.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!A.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,o.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(o.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var s=null,u=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":s=this.data.substring(this.index,u);break;case"uint8array":s=this.data.subarray(this.index,u);break;case"array":case"nodebuffer":s=this.data.slice(this.index,u)}return this.index=u,this.push({data:s,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(n,r,i){function o(A){this.name=A||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}o.prototype={push:function(A){this.emit("data",A)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(A){this.emit("error",A)}return!0},error:function(A){return!this.isFinished&&(this.isPaused?this.generatedError=A:(this.isFinished=!0,this.emit("error",A),this.previous&&this.previous.error(A),this.cleanUp()),!0)},on:function(A,a){return this._listeners[A].push(a),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(A,a){if(this._listeners[A])for(var s=0;s<this._listeners[A].length;s++)this._listeners[A][s].call(this,a)},pipe:function(A){return A.registerPrevious(this)},registerPrevious:function(A){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=A.streamInfo,this.mergeStreamInfo(),this.previous=A;var a=this;return A.on("data",function(s){a.processChunk(s)}),A.on("end",function(){a.end()}),A.on("error",function(s){a.error(s)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var A=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),A=!0),this.previous&&this.previous.resume(),!A},flush:function(){},processChunk:function(A){this.push(A)},withStreamInfo:function(A,a){return this.extraStreamInfo[A]=a,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var A in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,A)&&(this.streamInfo[A]=this.extraStreamInfo[A])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var A="Worker "+this.name;return this.previous?this.previous+" -> "+A:A}},r.exports=o},{}],29:[function(n,r,i){var o=n("../utils"),A=n("./ConvertWorker"),a=n("./GenericWorker"),s=n("../base64"),u=n("../support"),l=n("../external"),c=null;if(u.nodestream)try{c=n("../nodejs/NodejsStreamOutputAdapter")}catch{}function d(g,h){return new l.Promise(function(m,p){var v=[],y=g._internalType,b=g._outputType,w=g._mimeType;g.on("data",function(C,B){v.push(C),h&&h(B)}).on("error",function(C){v=[],p(C)}).on("end",function(){try{var C=function(B,O,x){switch(B){case"blob":return o.newBlob(o.transformTo("arraybuffer",O),x);case"base64":return s.encode(O);default:return o.transformTo(B,O)}}(b,function(B,O){var x,M=0,R=null,F=0;for(x=0;x<O.length;x++)F+=O[x].length;switch(B){case"string":return O.join("");case"array":return Array.prototype.concat.apply([],O);case"uint8array":for(R=new Uint8Array(F),x=0;x<O.length;x++)R.set(O[x],M),M+=O[x].length;return R;case"nodebuffer":return Buffer.concat(O);default:throw new Error("concat : unsupported type '"+B+"'")}}(y,v),w);m(C)}catch(B){p(B)}v=[]}).resume()})}function f(g,h,m){var p=h;switch(h){case"blob":case"arraybuffer":p="uint8array";break;case"base64":p="string"}try{this._internalType=p,this._outputType=h,this._mimeType=m,o.checkSupport(p),this._worker=g.pipe(new A(p)),g.lock()}catch(v){this._worker=new a("error"),this._worker.error(v)}}f.prototype={accumulate:function(g){return d(this,g)},on:function(g,h){var m=this;return g==="data"?this._worker.on(g,function(p){h.call(m,p.data,p.meta)}):this._worker.on(g,function(){o.delay(h,arguments,m)}),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(g){if(o.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new c(this,{objectMode:this._outputType!=="nodebuffer"},g)}},r.exports=f},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(n,r,i){if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",i.nodebuffer=typeof Buffer<"u",i.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")i.blob=!1;else{var o=new ArrayBuffer(0);try{i.blob=new Blob([o],{type:"application/zip"}).size===0}catch{try{var A=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);A.append(o),i.blob=A.getBlob("application/zip").size===0}catch{i.blob=!1}}}try{i.nodestream=!!n("readable-stream").Readable}catch{i.nodestream=!1}},{"readable-stream":16}],31:[function(n,r,i){for(var o=n("./utils"),A=n("./support"),a=n("./nodejsUtils"),s=n("./stream/GenericWorker"),u=new Array(256),l=0;l<256;l++)u[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;u[254]=u[254]=1;function c(){s.call(this,"utf-8 decode"),this.leftOver=null}function d(){s.call(this,"utf-8 encode")}i.utf8encode=function(f){return A.nodebuffer?a.newBufferFrom(f,"utf-8"):function(g){var h,m,p,v,y,b=g.length,w=0;for(v=0;v<b;v++)(64512&(m=g.charCodeAt(v)))==55296&&v+1<b&&(64512&(p=g.charCodeAt(v+1)))==56320&&(m=65536+(m-55296<<10)+(p-56320),v++),w+=m<128?1:m<2048?2:m<65536?3:4;for(h=A.uint8array?new Uint8Array(w):new Array(w),v=y=0;y<w;v++)(64512&(m=g.charCodeAt(v)))==55296&&v+1<b&&(64512&(p=g.charCodeAt(v+1)))==56320&&(m=65536+(m-55296<<10)+(p-56320),v++),m<128?h[y++]=m:(m<2048?h[y++]=192|m>>>6:(m<65536?h[y++]=224|m>>>12:(h[y++]=240|m>>>18,h[y++]=128|m>>>12&63),h[y++]=128|m>>>6&63),h[y++]=128|63&m);return h}(f)},i.utf8decode=function(f){return A.nodebuffer?o.transformTo("nodebuffer",f).toString("utf-8"):function(g){var h,m,p,v,y=g.length,b=new Array(2*y);for(h=m=0;h<y;)if((p=g[h++])<128)b[m++]=p;else if(4<(v=u[p]))b[m++]=65533,h+=v-1;else{for(p&=v===2?31:v===3?15:7;1<v&&h<y;)p=p<<6|63&g[h++],v--;1<v?b[m++]=65533:p<65536?b[m++]=p:(p-=65536,b[m++]=55296|p>>10&1023,b[m++]=56320|1023&p)}return b.length!==m&&(b.subarray?b=b.subarray(0,m):b.length=m),o.applyFromCharCode(b)}(f=o.transformTo(A.uint8array?"uint8array":"array",f))},o.inherits(c,s),c.prototype.processChunk=function(f){var g=o.transformTo(A.uint8array?"uint8array":"array",f.data);if(this.leftOver&&this.leftOver.length){if(A.uint8array){var h=g;(g=new Uint8Array(h.length+this.leftOver.length)).set(this.leftOver,0),g.set(h,this.leftOver.length)}else g=this.leftOver.concat(g);this.leftOver=null}var m=function(v,y){var b;for((y=y||v.length)>v.length&&(y=v.length),b=y-1;0<=b&&(192&v[b])==128;)b--;return b<0||b===0?y:b+u[v[b]]>y?b:y}(g),p=g;m!==g.length&&(A.uint8array?(p=g.subarray(0,m),this.leftOver=g.subarray(m,g.length)):(p=g.slice(0,m),this.leftOver=g.slice(m,g.length))),this.push({data:i.utf8decode(p),meta:f.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=c,o.inherits(d,s),d.prototype.processChunk=function(f){this.push({data:i.utf8encode(f.data),meta:f.meta})},i.Utf8EncodeWorker=d},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(n,r,i){var o=n("./support"),A=n("./base64"),a=n("./nodejsUtils"),s=n("./external");function u(h){return h}function l(h,m){for(var p=0;p<h.length;++p)m[p]=255&h.charCodeAt(p);return m}n("setimmediate"),i.newBlob=function(h,m){i.checkSupport("blob");try{return new Blob([h],{type:m})}catch{try{var p=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return p.append(h),p.getBlob(m)}catch{throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(h,m,p){var v=[],y=0,b=h.length;if(b<=p)return String.fromCharCode.apply(null,h);for(;y<b;)m==="array"||m==="nodebuffer"?v.push(String.fromCharCode.apply(null,h.slice(y,Math.min(y+p,b)))):v.push(String.fromCharCode.apply(null,h.subarray(y,Math.min(y+p,b)))),y+=p;return v.join("")},stringifyByChar:function(h){for(var m="",p=0;p<h.length;p++)m+=String.fromCharCode(h[p]);return m},applyCanBeUsed:{uint8array:function(){try{return o.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return o.nodebuffer&&String.fromCharCode.apply(null,a.allocBuffer(1)).length===1}catch{return!1}}()}};function d(h){var m=65536,p=i.getTypeOf(h),v=!0;if(p==="uint8array"?v=c.applyCanBeUsed.uint8array:p==="nodebuffer"&&(v=c.applyCanBeUsed.nodebuffer),v)for(;1<m;)try{return c.stringifyByChunk(h,p,m)}catch{m=Math.floor(m/2)}return c.stringifyByChar(h)}function f(h,m){for(var p=0;p<h.length;p++)m[p]=h[p];return m}i.applyFromCharCode=d;var g={};g.string={string:u,array:function(h){return l(h,new Array(h.length))},arraybuffer:function(h){return g.string.uint8array(h).buffer},uint8array:function(h){return l(h,new Uint8Array(h.length))},nodebuffer:function(h){return l(h,a.allocBuffer(h.length))}},g.array={string:d,array:u,arraybuffer:function(h){return new Uint8Array(h).buffer},uint8array:function(h){return new Uint8Array(h)},nodebuffer:function(h){return a.newBufferFrom(h)}},g.arraybuffer={string:function(h){return d(new Uint8Array(h))},array:function(h){return f(new Uint8Array(h),new Array(h.byteLength))},arraybuffer:u,uint8array:function(h){return new Uint8Array(h)},nodebuffer:function(h){return a.newBufferFrom(new Uint8Array(h))}},g.uint8array={string:d,array:function(h){return f(h,new Array(h.length))},arraybuffer:function(h){return h.buffer},uint8array:u,nodebuffer:function(h){return a.newBufferFrom(h)}},g.nodebuffer={string:d,array:function(h){return f(h,new Array(h.length))},arraybuffer:function(h){return g.nodebuffer.uint8array(h).buffer},uint8array:function(h){return f(h,new Uint8Array(h.length))},nodebuffer:u},i.transformTo=function(h,m){if(m=m||"",!h)return m;i.checkSupport(h);var p=i.getTypeOf(m);return g[p][h](m)},i.resolve=function(h){for(var m=h.split("/"),p=[],v=0;v<m.length;v++){var y=m[v];y==="."||y===""&&v!==0&&v!==m.length-1||(y===".."?p.pop():p.push(y))}return p.join("/")},i.getTypeOf=function(h){return typeof h=="string"?"string":Object.prototype.toString.call(h)==="[object Array]"?"array":o.nodebuffer&&a.isBuffer(h)?"nodebuffer":o.uint8array&&h instanceof Uint8Array?"uint8array":o.arraybuffer&&h instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(h){if(!o[h.toLowerCase()])throw new Error(h+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(h){var m,p,v="";for(p=0;p<(h||"").length;p++)v+="\\x"+((m=h.charCodeAt(p))<16?"0":"")+m.toString(16).toUpperCase();return v},i.delay=function(h,m,p){setImmediate(function(){h.apply(p||null,m||[])})},i.inherits=function(h,m){function p(){}p.prototype=m.prototype,h.prototype=new p},i.extend=function(){var h,m,p={};for(h=0;h<arguments.length;h++)for(m in arguments[h])Object.prototype.hasOwnProperty.call(arguments[h],m)&&p[m]===void 0&&(p[m]=arguments[h][m]);return p},i.prepareContent=function(h,m,p,v,y){return s.Promise.resolve(m).then(function(b){return o.blob&&(b instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(b))!==-1)&&typeof FileReader<"u"?new s.Promise(function(w,C){var B=new FileReader;B.onload=function(O){w(O.target.result)},B.onerror=function(O){C(O.target.error)},B.readAsArrayBuffer(b)}):b}).then(function(b){var w=i.getTypeOf(b);return w?(w==="arraybuffer"?b=i.transformTo("uint8array",b):w==="string"&&(y?b=A.decode(b):p&&v!==!0&&(b=function(C){return l(C,o.uint8array?new Uint8Array(C.length):new Array(C.length))}(b))),b):s.Promise.reject(new Error("Can't read the data of '"+h+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(n,r,i){var o=n("./reader/readerFor"),A=n("./utils"),a=n("./signature"),s=n("./zipEntry"),u=n("./support");function l(c){this.files=[],this.loadOptions=c}l.prototype={checkSignature:function(c){if(!this.reader.readAndCheckSignature(c)){this.reader.index-=4;var d=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+A.pretty(d)+", expected "+A.pretty(c)+")")}},isSignature:function(c,d){var f=this.reader.index;this.reader.setIndex(c);var g=this.reader.readString(4)===d;return this.reader.setIndex(f),g},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var c=this.reader.readData(this.zipCommentLength),d=u.uint8array?"uint8array":"array",f=A.transformTo(d,c);this.zipComment=this.loadOptions.decodeFileName(f)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var c,d,f,g=this.zip64EndOfCentralSize-44;0<g;)c=this.reader.readInt(2),d=this.reader.readInt(4),f=this.reader.readData(d),this.zip64ExtensibleData[c]={id:c,length:d,value:f}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var c,d;for(c=0;c<this.files.length;c++)d=this.files[c],this.reader.setIndex(d.localHeaderOffset),this.checkSignature(a.LOCAL_FILE_HEADER),d.readLocalPart(this.reader),d.handleUTF8(),d.processAttributes()},readCentralDir:function(){var c;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);)(c=new s({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(c);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var c=this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);if(c<0)throw this.isSignature(0,a.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(c);var d=c;if(this.checkSignature(a.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===A.MAX_VALUE_16BITS||this.diskWithCentralDirStart===A.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===A.MAX_VALUE_16BITS||this.centralDirRecords===A.MAX_VALUE_16BITS||this.centralDirSize===A.MAX_VALUE_32BITS||this.centralDirOffset===A.MAX_VALUE_32BITS){if(this.zip64=!0,(c=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(c),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var f=this.centralDirOffset+this.centralDirSize;this.zip64&&(f+=20,f+=12+this.zip64EndOfCentralSize);var g=d-f;if(0<g)this.isSignature(d,a.CENTRAL_FILE_HEADER)||(this.reader.zero=g);else if(g<0)throw new Error("Corrupted zip: missing "+Math.abs(g)+" bytes.")},prepareReader:function(c){this.reader=o(c)},load:function(c){this.prepareReader(c),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},r.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(n,r,i){var o=n("./reader/readerFor"),A=n("./utils"),a=n("./compressedObject"),s=n("./crc32"),u=n("./utf8"),l=n("./compressions"),c=n("./support");function d(f,g){this.options=f,this.loadOptions=g}d.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(f){var g,h;if(f.skip(22),this.fileNameLength=f.readInt(2),h=f.readInt(2),this.fileName=f.readData(this.fileNameLength),f.skip(h),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((g=function(m){for(var p in l)if(Object.prototype.hasOwnProperty.call(l,p)&&l[p].magic===m)return l[p];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+A.pretty(this.compressionMethod)+" unknown (inner file : "+A.transformTo("string",this.fileName)+")");this.decompressed=new a(this.compressedSize,this.uncompressedSize,this.crc32,g,f.readData(this.compressedSize))},readCentralPart:function(f){this.versionMadeBy=f.readInt(2),f.skip(2),this.bitFlag=f.readInt(2),this.compressionMethod=f.readString(2),this.date=f.readDate(),this.crc32=f.readInt(4),this.compressedSize=f.readInt(4),this.uncompressedSize=f.readInt(4);var g=f.readInt(2);if(this.extraFieldsLength=f.readInt(2),this.fileCommentLength=f.readInt(2),this.diskNumberStart=f.readInt(2),this.internalFileAttributes=f.readInt(2),this.externalFileAttributes=f.readInt(4),this.localHeaderOffset=f.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");f.skip(g),this.readExtraFields(f),this.parseZIP64ExtraField(f),this.fileComment=f.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var f=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),f==0&&(this.dosPermissions=63&this.externalFileAttributes),f==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var f=o(this.extraFields[1].value);this.uncompressedSize===A.MAX_VALUE_32BITS&&(this.uncompressedSize=f.readInt(8)),this.compressedSize===A.MAX_VALUE_32BITS&&(this.compressedSize=f.readInt(8)),this.localHeaderOffset===A.MAX_VALUE_32BITS&&(this.localHeaderOffset=f.readInt(8)),this.diskNumberStart===A.MAX_VALUE_32BITS&&(this.diskNumberStart=f.readInt(4))}},readExtraFields:function(f){var g,h,m,p=f.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});f.index+4<p;)g=f.readInt(2),h=f.readInt(2),m=f.readData(h),this.extraFields[g]={id:g,length:h,value:m};f.setIndex(p)},handleUTF8:function(){var f=c.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=u.utf8decode(this.fileName),this.fileCommentStr=u.utf8decode(this.fileComment);else{var g=this.findExtraFieldUnicodePath();if(g!==null)this.fileNameStr=g;else{var h=A.transformTo(f,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(h)}var m=this.findExtraFieldUnicodeComment();if(m!==null)this.fileCommentStr=m;else{var p=A.transformTo(f,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(p)}}},findExtraFieldUnicodePath:function(){var f=this.extraFields[28789];if(f){var g=o(f.value);return g.readInt(1)!==1||s(this.fileName)!==g.readInt(4)?null:u.utf8decode(g.readData(f.length-5))}return null},findExtraFieldUnicodeComment:function(){var f=this.extraFields[25461];if(f){var g=o(f.value);return g.readInt(1)!==1||s(this.fileComment)!==g.readInt(4)?null:u.utf8decode(g.readData(f.length-5))}return null}},r.exports=d},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(n,r,i){function o(g,h,m){this.name=g,this.dir=m.dir,this.date=m.date,this.comment=m.comment,this.unixPermissions=m.unixPermissions,this.dosPermissions=m.dosPermissions,this._data=h,this._dataBinary=m.binary,this.options={compression:m.compression,compressionOptions:m.compressionOptions}}var A=n("./stream/StreamHelper"),a=n("./stream/DataWorker"),s=n("./utf8"),u=n("./compressedObject"),l=n("./stream/GenericWorker");o.prototype={internalStream:function(g){var h=null,m="string";try{if(!g)throw new Error("No output type specified.");var p=(m=g.toLowerCase())==="string"||m==="text";m!=="binarystring"&&m!=="text"||(m="string"),h=this._decompressWorker();var v=!this._dataBinary;v&&!p&&(h=h.pipe(new s.Utf8EncodeWorker)),!v&&p&&(h=h.pipe(new s.Utf8DecodeWorker))}catch(y){(h=new l("error")).error(y)}return new A(h,m,"")},async:function(g,h){return this.internalStream(g).accumulate(h)},nodeStream:function(g,h){return this.internalStream(g||"nodebuffer").toNodejsStream(h)},_compressWorker:function(g,h){if(this._data instanceof u&&this._data.compression.magic===g.magic)return this._data.getCompressedWorker();var m=this._decompressWorker();return this._dataBinary||(m=m.pipe(new s.Utf8EncodeWorker)),u.createWorkerFrom(m,g,h)},_decompressWorker:function(){return this._data instanceof u?this._data.getContentWorker():this._data instanceof l?this._data:new a(this._data)}};for(var c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],d=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},f=0;f<c.length;f++)o.prototype[c[f]]=d;r.exports=o},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(n,r,i){(function(o){var A,a,s=o.MutationObserver||o.WebKitMutationObserver;if(s){var u=0,l=new s(g),c=o.document.createTextNode("");l.observe(c,{characterData:!0}),A=function(){c.data=u=++u%2}}else if(o.setImmediate||o.MessageChannel===void 0)A="document"in o&&"onreadystatechange"in o.document.createElement("script")?function(){var h=o.document.createElement("script");h.onreadystatechange=function(){g(),h.onreadystatechange=null,h.parentNode.removeChild(h),h=null},o.document.documentElement.appendChild(h)}:function(){setTimeout(g,0)};else{var d=new o.MessageChannel;d.port1.onmessage=g,A=function(){d.port2.postMessage(0)}}var f=[];function g(){var h,m;a=!0;for(var p=f.length;p;){for(m=f,f=[],h=-1;++h<p;)m[h]();p=f.length}a=!1}r.exports=function(h){f.push(h)!==1||a||A()}}).call(this,typeof Sl<"u"?Sl:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(n,r,i){var o=n("immediate");function A(){}var a={},s=["REJECTED"],u=["FULFILLED"],l=["PENDING"];function c(p){if(typeof p!="function")throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,p!==A&&h(this,p)}function d(p,v,y){this.promise=p,typeof v=="function"&&(this.onFulfilled=v,this.callFulfilled=this.otherCallFulfilled),typeof y=="function"&&(this.onRejected=y,this.callRejected=this.otherCallRejected)}function f(p,v,y){o(function(){var b;try{b=v(y)}catch(w){return a.reject(p,w)}b===p?a.reject(p,new TypeError("Cannot resolve promise with itself")):a.resolve(p,b)})}function g(p){var v=p&&p.then;if(p&&(typeof p=="object"||typeof p=="function")&&typeof v=="function")return function(){v.apply(p,arguments)}}function h(p,v){var y=!1;function b(B){y||(y=!0,a.reject(p,B))}function w(B){y||(y=!0,a.resolve(p,B))}var C=m(function(){v(w,b)});C.status==="error"&&b(C.value)}function m(p,v){var y={};try{y.value=p(v),y.status="success"}catch(b){y.status="error",y.value=b}return y}(r.exports=c).prototype.finally=function(p){if(typeof p!="function")return this;var v=this.constructor;return this.then(function(y){return v.resolve(p()).then(function(){return y})},function(y){return v.resolve(p()).then(function(){throw y})})},c.prototype.catch=function(p){return this.then(null,p)},c.prototype.then=function(p,v){if(typeof p!="function"&&this.state===u||typeof v!="function"&&this.state===s)return this;var y=new this.constructor(A);return this.state!==l?f(y,this.state===u?p:v,this.outcome):this.queue.push(new d(y,p,v)),y},d.prototype.callFulfilled=function(p){a.resolve(this.promise,p)},d.prototype.otherCallFulfilled=function(p){f(this.promise,this.onFulfilled,p)},d.prototype.callRejected=function(p){a.reject(this.promise,p)},d.prototype.otherCallRejected=function(p){f(this.promise,this.onRejected,p)},a.resolve=function(p,v){var y=m(g,v);if(y.status==="error")return a.reject(p,y.value);var b=y.value;if(b)h(p,b);else{p.state=u,p.outcome=v;for(var w=-1,C=p.queue.length;++w<C;)p.queue[w].callFulfilled(v)}return p},a.reject=function(p,v){p.state=s,p.outcome=v;for(var y=-1,b=p.queue.length;++y<b;)p.queue[y].callRejected(v);return p},c.resolve=function(p){return p instanceof this?p:a.resolve(new this(A),p)},c.reject=function(p){var v=new this(A);return a.reject(v,p)},c.all=function(p){var v=this;if(Object.prototype.toString.call(p)!=="[object Array]")return this.reject(new TypeError("must be an array"));var y=p.length,b=!1;if(!y)return this.resolve([]);for(var w=new Array(y),C=0,B=-1,O=new this(A);++B<y;)x(p[B],B);return O;function x(M,R){v.resolve(M).then(function(F){w[R]=F,++C!==y||b||(b=!0,a.resolve(O,w))},function(F){b||(b=!0,a.reject(O,F))})}},c.race=function(p){var v=this;if(Object.prototype.toString.call(p)!=="[object Array]")return this.reject(new TypeError("must be an array"));var y=p.length,b=!1;if(!y)return this.resolve([]);for(var w=-1,C=new this(A);++w<y;)B=p[w],v.resolve(B).then(function(O){b||(b=!0,a.resolve(C,O))},function(O){b||(b=!0,a.reject(C,O))});var B;return C}},{immediate:36}],38:[function(n,r,i){var o={};(0,n("./lib/utils/common").assign)(o,n("./lib/deflate"),n("./lib/inflate"),n("./lib/zlib/constants")),r.exports=o},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(n,r,i){var o=n("./zlib/deflate"),A=n("./utils/common"),a=n("./utils/strings"),s=n("./zlib/messages"),u=n("./zlib/zstream"),l=Object.prototype.toString,c=0,d=-1,f=0,g=8;function h(p){if(!(this instanceof h))return new h(p);this.options=A.assign({level:d,method:g,chunkSize:16384,windowBits:15,memLevel:8,strategy:f,to:""},p||{});var v=this.options;v.raw&&0<v.windowBits?v.windowBits=-v.windowBits:v.gzip&&0<v.windowBits&&v.windowBits<16&&(v.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var y=o.deflateInit2(this.strm,v.level,v.method,v.windowBits,v.memLevel,v.strategy);if(y!==c)throw new Error(s[y]);if(v.header&&o.deflateSetHeader(this.strm,v.header),v.dictionary){var b;if(b=typeof v.dictionary=="string"?a.string2buf(v.dictionary):l.call(v.dictionary)==="[object ArrayBuffer]"?new Uint8Array(v.dictionary):v.dictionary,(y=o.deflateSetDictionary(this.strm,b))!==c)throw new Error(s[y]);this._dict_set=!0}}function m(p,v){var y=new h(v);if(y.push(p,!0),y.err)throw y.msg||s[y.err];return y.result}h.prototype.push=function(p,v){var y,b,w=this.strm,C=this.options.chunkSize;if(this.ended)return!1;b=v===~~v?v:v===!0?4:0,typeof p=="string"?w.input=a.string2buf(p):l.call(p)==="[object ArrayBuffer]"?w.input=new Uint8Array(p):w.input=p,w.next_in=0,w.avail_in=w.input.length;do{if(w.avail_out===0&&(w.output=new A.Buf8(C),w.next_out=0,w.avail_out=C),(y=o.deflate(w,b))!==1&&y!==c)return this.onEnd(y),!(this.ended=!0);w.avail_out!==0&&(w.avail_in!==0||b!==4&&b!==2)||(this.options.to==="string"?this.onData(a.buf2binstring(A.shrinkBuf(w.output,w.next_out))):this.onData(A.shrinkBuf(w.output,w.next_out)))}while((0<w.avail_in||w.avail_out===0)&&y!==1);return b===4?(y=o.deflateEnd(this.strm),this.onEnd(y),this.ended=!0,y===c):b!==2||(this.onEnd(c),!(w.avail_out=0))},h.prototype.onData=function(p){this.chunks.push(p)},h.prototype.onEnd=function(p){p===c&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=A.flattenChunks(this.chunks)),this.chunks=[],this.err=p,this.msg=this.strm.msg},i.Deflate=h,i.deflate=m,i.deflateRaw=function(p,v){return(v=v||{}).raw=!0,m(p,v)},i.gzip=function(p,v){return(v=v||{}).gzip=!0,m(p,v)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(n,r,i){var o=n("./zlib/inflate"),A=n("./utils/common"),a=n("./utils/strings"),s=n("./zlib/constants"),u=n("./zlib/messages"),l=n("./zlib/zstream"),c=n("./zlib/gzheader"),d=Object.prototype.toString;function f(h){if(!(this instanceof f))return new f(h);this.options=A.assign({chunkSize:16384,windowBits:0,to:""},h||{});var m=this.options;m.raw&&0<=m.windowBits&&m.windowBits<16&&(m.windowBits=-m.windowBits,m.windowBits===0&&(m.windowBits=-15)),!(0<=m.windowBits&&m.windowBits<16)||h&&h.windowBits||(m.windowBits+=32),15<m.windowBits&&m.windowBits<48&&!(15&m.windowBits)&&(m.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var p=o.inflateInit2(this.strm,m.windowBits);if(p!==s.Z_OK)throw new Error(u[p]);this.header=new c,o.inflateGetHeader(this.strm,this.header)}function g(h,m){var p=new f(m);if(p.push(h,!0),p.err)throw p.msg||u[p.err];return p.result}f.prototype.push=function(h,m){var p,v,y,b,w,C,B=this.strm,O=this.options.chunkSize,x=this.options.dictionary,M=!1;if(this.ended)return!1;v=m===~~m?m:m===!0?s.Z_FINISH:s.Z_NO_FLUSH,typeof h=="string"?B.input=a.binstring2buf(h):d.call(h)==="[object ArrayBuffer]"?B.input=new Uint8Array(h):B.input=h,B.next_in=0,B.avail_in=B.input.length;do{if(B.avail_out===0&&(B.output=new A.Buf8(O),B.next_out=0,B.avail_out=O),(p=o.inflate(B,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&x&&(C=typeof x=="string"?a.string2buf(x):d.call(x)==="[object ArrayBuffer]"?new Uint8Array(x):x,p=o.inflateSetDictionary(this.strm,C)),p===s.Z_BUF_ERROR&&M===!0&&(p=s.Z_OK,M=!1),p!==s.Z_STREAM_END&&p!==s.Z_OK)return this.onEnd(p),!(this.ended=!0);B.next_out&&(B.avail_out!==0&&p!==s.Z_STREAM_END&&(B.avail_in!==0||v!==s.Z_FINISH&&v!==s.Z_SYNC_FLUSH)||(this.options.to==="string"?(y=a.utf8border(B.output,B.next_out),b=B.next_out-y,w=a.buf2string(B.output,y),B.next_out=b,B.avail_out=O-b,b&&A.arraySet(B.output,B.output,y,b,0),this.onData(w)):this.onData(A.shrinkBuf(B.output,B.next_out)))),B.avail_in===0&&B.avail_out===0&&(M=!0)}while((0<B.avail_in||B.avail_out===0)&&p!==s.Z_STREAM_END);return p===s.Z_STREAM_END&&(v=s.Z_FINISH),v===s.Z_FINISH?(p=o.inflateEnd(this.strm),this.onEnd(p),this.ended=!0,p===s.Z_OK):v!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),!(B.avail_out=0))},f.prototype.onData=function(h){this.chunks.push(h)},f.prototype.onEnd=function(h){h===s.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=A.flattenChunks(this.chunks)),this.chunks=[],this.err=h,this.msg=this.strm.msg},i.Inflate=f,i.inflate=g,i.inflateRaw=function(h,m){return(m=m||{}).raw=!0,g(h,m)},i.ungzip=g},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(n,r,i){var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";i.assign=function(s){for(var u=Array.prototype.slice.call(arguments,1);u.length;){var l=u.shift();if(l){if(typeof l!="object")throw new TypeError(l+"must be non-object");for(var c in l)l.hasOwnProperty(c)&&(s[c]=l[c])}}return s},i.shrinkBuf=function(s,u){return s.length===u?s:s.subarray?s.subarray(0,u):(s.length=u,s)};var A={arraySet:function(s,u,l,c,d){if(u.subarray&&s.subarray)s.set(u.subarray(l,l+c),d);else for(var f=0;f<c;f++)s[d+f]=u[l+f]},flattenChunks:function(s){var u,l,c,d,f,g;for(u=c=0,l=s.length;u<l;u++)c+=s[u].length;for(g=new Uint8Array(c),u=d=0,l=s.length;u<l;u++)f=s[u],g.set(f,d),d+=f.length;return g}},a={arraySet:function(s,u,l,c,d){for(var f=0;f<c;f++)s[d+f]=u[l+f]},flattenChunks:function(s){return[].concat.apply([],s)}};i.setTyped=function(s){s?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,A)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,a))},i.setTyped(o)},{}],42:[function(n,r,i){var o=n("./common"),A=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch{A=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{a=!1}for(var s=new o.Buf8(256),u=0;u<256;u++)s[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;function l(c,d){if(d<65537&&(c.subarray&&a||!c.subarray&&A))return String.fromCharCode.apply(null,o.shrinkBuf(c,d));for(var f="",g=0;g<d;g++)f+=String.fromCharCode(c[g]);return f}s[254]=s[254]=1,i.string2buf=function(c){var d,f,g,h,m,p=c.length,v=0;for(h=0;h<p;h++)(64512&(f=c.charCodeAt(h)))==55296&&h+1<p&&(64512&(g=c.charCodeAt(h+1)))==56320&&(f=65536+(f-55296<<10)+(g-56320),h++),v+=f<128?1:f<2048?2:f<65536?3:4;for(d=new o.Buf8(v),h=m=0;m<v;h++)(64512&(f=c.charCodeAt(h)))==55296&&h+1<p&&(64512&(g=c.charCodeAt(h+1)))==56320&&(f=65536+(f-55296<<10)+(g-56320),h++),f<128?d[m++]=f:(f<2048?d[m++]=192|f>>>6:(f<65536?d[m++]=224|f>>>12:(d[m++]=240|f>>>18,d[m++]=128|f>>>12&63),d[m++]=128|f>>>6&63),d[m++]=128|63&f);return d},i.buf2binstring=function(c){return l(c,c.length)},i.binstring2buf=function(c){for(var d=new o.Buf8(c.length),f=0,g=d.length;f<g;f++)d[f]=c.charCodeAt(f);return d},i.buf2string=function(c,d){var f,g,h,m,p=d||c.length,v=new Array(2*p);for(f=g=0;f<p;)if((h=c[f++])<128)v[g++]=h;else if(4<(m=s[h]))v[g++]=65533,f+=m-1;else{for(h&=m===2?31:m===3?15:7;1<m&&f<p;)h=h<<6|63&c[f++],m--;1<m?v[g++]=65533:h<65536?v[g++]=h:(h-=65536,v[g++]=55296|h>>10&1023,v[g++]=56320|1023&h)}return l(v,g)},i.utf8border=function(c,d){var f;for((d=d||c.length)>c.length&&(d=c.length),f=d-1;0<=f&&(192&c[f])==128;)f--;return f<0||f===0?d:f+s[c[f]]>d?f:d}},{"./common":41}],43:[function(n,r,i){r.exports=function(o,A,a,s){for(var u=65535&o|0,l=o>>>16&65535|0,c=0;a!==0;){for(a-=c=2e3<a?2e3:a;l=l+(u=u+A[s++]|0)|0,--c;);u%=65521,l%=65521}return u|l<<16|0}},{}],44:[function(n,r,i){r.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(n,r,i){var o=function(){for(var A,a=[],s=0;s<256;s++){A=s;for(var u=0;u<8;u++)A=1&A?3988292384^A>>>1:A>>>1;a[s]=A}return a}();r.exports=function(A,a,s,u){var l=o,c=u+s;A^=-1;for(var d=u;d<c;d++)A=A>>>8^l[255&(A^a[d])];return-1^A}},{}],46:[function(n,r,i){var o,A=n("../utils/common"),a=n("./trees"),s=n("./adler32"),u=n("./crc32"),l=n("./messages"),c=0,d=4,f=0,g=-2,h=-1,m=4,p=2,v=8,y=9,b=286,w=30,C=19,B=2*b+1,O=15,x=3,M=258,R=M+x+1,F=42,L=113,E=1,H=2,X=3,z=4;function Z(G,pe){return G.msg=l[pe],pe}function q(G){return(G<<1)-(4<G?9:0)}function te(G){for(var pe=G.length;0<=--pe;)G[pe]=0}function ne(G){var pe=G.state,k=pe.pending;k>G.avail_out&&(k=G.avail_out),k!==0&&(A.arraySet(G.output,pe.pending_buf,pe.pending_out,k,G.next_out),G.next_out+=k,pe.pending_out+=k,G.total_out+=k,G.avail_out-=k,pe.pending-=k,pe.pending===0&&(pe.pending_out=0))}function _(G,pe){a._tr_flush_block(G,0<=G.block_start?G.block_start:-1,G.strstart-G.block_start,pe),G.block_start=G.strstart,ne(G.strm)}function Y(G,pe){G.pending_buf[G.pending++]=pe}function re(G,pe){G.pending_buf[G.pending++]=pe>>>8&255,G.pending_buf[G.pending++]=255&pe}function se(G,pe){var k,P,U=G.max_chain_length,W=G.strstart,de=G.prev_length,me=G.nice_match,ve=G.strstart>G.w_size-R?G.strstart-(G.w_size-R):0,be=G.window,Te=G.w_mask,we=G.prev,xe=G.strstart+M,Ue=be[W+de-1],ke=be[W+de];G.prev_length>=G.good_match&&(U>>=2),me>G.lookahead&&(me=G.lookahead);do if(be[(k=pe)+de]===ke&&be[k+de-1]===Ue&&be[k]===be[W]&&be[++k]===be[W+1]){W+=2,k++;do;while(be[++W]===be[++k]&&be[++W]===be[++k]&&be[++W]===be[++k]&&be[++W]===be[++k]&&be[++W]===be[++k]&&be[++W]===be[++k]&&be[++W]===be[++k]&&be[++W]===be[++k]&&W<xe);if(P=M-(xe-W),W=xe-M,de<P){if(G.match_start=pe,me<=(de=P))break;Ue=be[W+de-1],ke=be[W+de]}}while((pe=we[pe&Te])>ve&&--U!=0);return de<=G.lookahead?de:G.lookahead}function ce(G){var pe,k,P,U,W,de,me,ve,be,Te,we=G.w_size;do{if(U=G.window_size-G.lookahead-G.strstart,G.strstart>=we+(we-R)){for(A.arraySet(G.window,G.window,we,we,0),G.match_start-=we,G.strstart-=we,G.block_start-=we,pe=k=G.hash_size;P=G.head[--pe],G.head[pe]=we<=P?P-we:0,--k;);for(pe=k=we;P=G.prev[--pe],G.prev[pe]=we<=P?P-we:0,--k;);U+=we}if(G.strm.avail_in===0)break;if(de=G.strm,me=G.window,ve=G.strstart+G.lookahead,be=U,Te=void 0,Te=de.avail_in,be<Te&&(Te=be),k=Te===0?0:(de.avail_in-=Te,A.arraySet(me,de.input,de.next_in,Te,ve),de.state.wrap===1?de.adler=s(de.adler,me,Te,ve):de.state.wrap===2&&(de.adler=u(de.adler,me,Te,ve)),de.next_in+=Te,de.total_in+=Te,Te),G.lookahead+=k,G.lookahead+G.insert>=x)for(W=G.strstart-G.insert,G.ins_h=G.window[W],G.ins_h=(G.ins_h<<G.hash_shift^G.window[W+1])&G.hash_mask;G.insert&&(G.ins_h=(G.ins_h<<G.hash_shift^G.window[W+x-1])&G.hash_mask,G.prev[W&G.w_mask]=G.head[G.ins_h],G.head[G.ins_h]=W,W++,G.insert--,!(G.lookahead+G.insert<x)););}while(G.lookahead<R&&G.strm.avail_in!==0)}function N(G,pe){for(var k,P;;){if(G.lookahead<R){if(ce(G),G.lookahead<R&&pe===c)return E;if(G.lookahead===0)break}if(k=0,G.lookahead>=x&&(G.ins_h=(G.ins_h<<G.hash_shift^G.window[G.strstart+x-1])&G.hash_mask,k=G.prev[G.strstart&G.w_mask]=G.head[G.ins_h],G.head[G.ins_h]=G.strstart),k!==0&&G.strstart-k<=G.w_size-R&&(G.match_length=se(G,k)),G.match_length>=x)if(P=a._tr_tally(G,G.strstart-G.match_start,G.match_length-x),G.lookahead-=G.match_length,G.match_length<=G.max_lazy_match&&G.lookahead>=x){for(G.match_length--;G.strstart++,G.ins_h=(G.ins_h<<G.hash_shift^G.window[G.strstart+x-1])&G.hash_mask,k=G.prev[G.strstart&G.w_mask]=G.head[G.ins_h],G.head[G.ins_h]=G.strstart,--G.match_length!=0;);G.strstart++}else G.strstart+=G.match_length,G.match_length=0,G.ins_h=G.window[G.strstart],G.ins_h=(G.ins_h<<G.hash_shift^G.window[G.strstart+1])&G.hash_mask;else P=a._tr_tally(G,0,G.window[G.strstart]),G.lookahead--,G.strstart++;if(P&&(_(G,!1),G.strm.avail_out===0))return E}return G.insert=G.strstart<x-1?G.strstart:x-1,pe===d?(_(G,!0),G.strm.avail_out===0?X:z):G.last_lit&&(_(G,!1),G.strm.avail_out===0)?E:H}function K(G,pe){for(var k,P,U;;){if(G.lookahead<R){if(ce(G),G.lookahead<R&&pe===c)return E;if(G.lookahead===0)break}if(k=0,G.lookahead>=x&&(G.ins_h=(G.ins_h<<G.hash_shift^G.window[G.strstart+x-1])&G.hash_mask,k=G.prev[G.strstart&G.w_mask]=G.head[G.ins_h],G.head[G.ins_h]=G.strstart),G.prev_length=G.match_length,G.prev_match=G.match_start,G.match_length=x-1,k!==0&&G.prev_length<G.max_lazy_match&&G.strstart-k<=G.w_size-R&&(G.match_length=se(G,k),G.match_length<=5&&(G.strategy===1||G.match_length===x&&4096<G.strstart-G.match_start)&&(G.match_length=x-1)),G.prev_length>=x&&G.match_length<=G.prev_length){for(U=G.strstart+G.lookahead-x,P=a._tr_tally(G,G.strstart-1-G.prev_match,G.prev_length-x),G.lookahead-=G.prev_length-1,G.prev_length-=2;++G.strstart<=U&&(G.ins_h=(G.ins_h<<G.hash_shift^G.window[G.strstart+x-1])&G.hash_mask,k=G.prev[G.strstart&G.w_mask]=G.head[G.ins_h],G.head[G.ins_h]=G.strstart),--G.prev_length!=0;);if(G.match_available=0,G.match_length=x-1,G.strstart++,P&&(_(G,!1),G.strm.avail_out===0))return E}else if(G.match_available){if((P=a._tr_tally(G,0,G.window[G.strstart-1]))&&_(G,!1),G.strstart++,G.lookahead--,G.strm.avail_out===0)return E}else G.match_available=1,G.strstart++,G.lookahead--}return G.match_available&&(P=a._tr_tally(G,0,G.window[G.strstart-1]),G.match_available=0),G.insert=G.strstart<x-1?G.strstart:x-1,pe===d?(_(G,!0),G.strm.avail_out===0?X:z):G.last_lit&&(_(G,!1),G.strm.avail_out===0)?E:H}function Ae(G,pe,k,P,U){this.good_length=G,this.max_lazy=pe,this.nice_length=k,this.max_chain=P,this.func=U}function ae(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=v,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new A.Buf16(2*B),this.dyn_dtree=new A.Buf16(2*(2*w+1)),this.bl_tree=new A.Buf16(2*(2*C+1)),te(this.dyn_ltree),te(this.dyn_dtree),te(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new A.Buf16(O+1),this.heap=new A.Buf16(2*b+1),te(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new A.Buf16(2*b+1),te(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ie(G){var pe;return G&&G.state?(G.total_in=G.total_out=0,G.data_type=p,(pe=G.state).pending=0,pe.pending_out=0,pe.wrap<0&&(pe.wrap=-pe.wrap),pe.status=pe.wrap?F:L,G.adler=pe.wrap===2?0:1,pe.last_flush=c,a._tr_init(pe),f):Z(G,g)}function J(G){var pe=ie(G);return pe===f&&function(k){k.window_size=2*k.w_size,te(k.head),k.max_lazy_match=o[k.level].max_lazy,k.good_match=o[k.level].good_length,k.nice_match=o[k.level].nice_length,k.max_chain_length=o[k.level].max_chain,k.strstart=0,k.block_start=0,k.lookahead=0,k.insert=0,k.match_length=k.prev_length=x-1,k.match_available=0,k.ins_h=0}(G.state),pe}function ue(G,pe,k,P,U,W){if(!G)return g;var de=1;if(pe===h&&(pe=6),P<0?(de=0,P=-P):15<P&&(de=2,P-=16),U<1||y<U||k!==v||P<8||15<P||pe<0||9<pe||W<0||m<W)return Z(G,g);P===8&&(P=9);var me=new ae;return(G.state=me).strm=G,me.wrap=de,me.gzhead=null,me.w_bits=P,me.w_size=1<<me.w_bits,me.w_mask=me.w_size-1,me.hash_bits=U+7,me.hash_size=1<<me.hash_bits,me.hash_mask=me.hash_size-1,me.hash_shift=~~((me.hash_bits+x-1)/x),me.window=new A.Buf8(2*me.w_size),me.head=new A.Buf16(me.hash_size),me.prev=new A.Buf16(me.w_size),me.lit_bufsize=1<<U+6,me.pending_buf_size=4*me.lit_bufsize,me.pending_buf=new A.Buf8(me.pending_buf_size),me.d_buf=1*me.lit_bufsize,me.l_buf=3*me.lit_bufsize,me.level=pe,me.strategy=W,me.method=k,J(G)}o=[new Ae(0,0,0,0,function(G,pe){var k=65535;for(k>G.pending_buf_size-5&&(k=G.pending_buf_size-5);;){if(G.lookahead<=1){if(ce(G),G.lookahead===0&&pe===c)return E;if(G.lookahead===0)break}G.strstart+=G.lookahead,G.lookahead=0;var P=G.block_start+k;if((G.strstart===0||G.strstart>=P)&&(G.lookahead=G.strstart-P,G.strstart=P,_(G,!1),G.strm.avail_out===0)||G.strstart-G.block_start>=G.w_size-R&&(_(G,!1),G.strm.avail_out===0))return E}return G.insert=0,pe===d?(_(G,!0),G.strm.avail_out===0?X:z):(G.strstart>G.block_start&&(_(G,!1),G.strm.avail_out),E)}),new Ae(4,4,8,4,N),new Ae(4,5,16,8,N),new Ae(4,6,32,32,N),new Ae(4,4,16,16,K),new Ae(8,16,32,32,K),new Ae(8,16,128,128,K),new Ae(8,32,128,256,K),new Ae(32,128,258,1024,K),new Ae(32,258,258,4096,K)],i.deflateInit=function(G,pe){return ue(G,pe,v,15,8,0)},i.deflateInit2=ue,i.deflateReset=J,i.deflateResetKeep=ie,i.deflateSetHeader=function(G,pe){return G&&G.state?G.state.wrap!==2?g:(G.state.gzhead=pe,f):g},i.deflate=function(G,pe){var k,P,U,W;if(!G||!G.state||5<pe||pe<0)return G?Z(G,g):g;if(P=G.state,!G.output||!G.input&&G.avail_in!==0||P.status===666&&pe!==d)return Z(G,G.avail_out===0?-5:g);if(P.strm=G,k=P.last_flush,P.last_flush=pe,P.status===F)if(P.wrap===2)G.adler=0,Y(P,31),Y(P,139),Y(P,8),P.gzhead?(Y(P,(P.gzhead.text?1:0)+(P.gzhead.hcrc?2:0)+(P.gzhead.extra?4:0)+(P.gzhead.name?8:0)+(P.gzhead.comment?16:0)),Y(P,255&P.gzhead.time),Y(P,P.gzhead.time>>8&255),Y(P,P.gzhead.time>>16&255),Y(P,P.gzhead.time>>24&255),Y(P,P.level===9?2:2<=P.strategy||P.level<2?4:0),Y(P,255&P.gzhead.os),P.gzhead.extra&&P.gzhead.extra.length&&(Y(P,255&P.gzhead.extra.length),Y(P,P.gzhead.extra.length>>8&255)),P.gzhead.hcrc&&(G.adler=u(G.adler,P.pending_buf,P.pending,0)),P.gzindex=0,P.status=69):(Y(P,0),Y(P,0),Y(P,0),Y(P,0),Y(P,0),Y(P,P.level===9?2:2<=P.strategy||P.level<2?4:0),Y(P,3),P.status=L);else{var de=v+(P.w_bits-8<<4)<<8;de|=(2<=P.strategy||P.level<2?0:P.level<6?1:P.level===6?2:3)<<6,P.strstart!==0&&(de|=32),de+=31-de%31,P.status=L,re(P,de),P.strstart!==0&&(re(P,G.adler>>>16),re(P,65535&G.adler)),G.adler=1}if(P.status===69)if(P.gzhead.extra){for(U=P.pending;P.gzindex<(65535&P.gzhead.extra.length)&&(P.pending!==P.pending_buf_size||(P.gzhead.hcrc&&P.pending>U&&(G.adler=u(G.adler,P.pending_buf,P.pending-U,U)),ne(G),U=P.pending,P.pending!==P.pending_buf_size));)Y(P,255&P.gzhead.extra[P.gzindex]),P.gzindex++;P.gzhead.hcrc&&P.pending>U&&(G.adler=u(G.adler,P.pending_buf,P.pending-U,U)),P.gzindex===P.gzhead.extra.length&&(P.gzindex=0,P.status=73)}else P.status=73;if(P.status===73)if(P.gzhead.name){U=P.pending;do{if(P.pending===P.pending_buf_size&&(P.gzhead.hcrc&&P.pending>U&&(G.adler=u(G.adler,P.pending_buf,P.pending-U,U)),ne(G),U=P.pending,P.pending===P.pending_buf_size)){W=1;break}W=P.gzindex<P.gzhead.name.length?255&P.gzhead.name.charCodeAt(P.gzindex++):0,Y(P,W)}while(W!==0);P.gzhead.hcrc&&P.pending>U&&(G.adler=u(G.adler,P.pending_buf,P.pending-U,U)),W===0&&(P.gzindex=0,P.status=91)}else P.status=91;if(P.status===91)if(P.gzhead.comment){U=P.pending;do{if(P.pending===P.pending_buf_size&&(P.gzhead.hcrc&&P.pending>U&&(G.adler=u(G.adler,P.pending_buf,P.pending-U,U)),ne(G),U=P.pending,P.pending===P.pending_buf_size)){W=1;break}W=P.gzindex<P.gzhead.comment.length?255&P.gzhead.comment.charCodeAt(P.gzindex++):0,Y(P,W)}while(W!==0);P.gzhead.hcrc&&P.pending>U&&(G.adler=u(G.adler,P.pending_buf,P.pending-U,U)),W===0&&(P.status=103)}else P.status=103;if(P.status===103&&(P.gzhead.hcrc?(P.pending+2>P.pending_buf_size&&ne(G),P.pending+2<=P.pending_buf_size&&(Y(P,255&G.adler),Y(P,G.adler>>8&255),G.adler=0,P.status=L)):P.status=L),P.pending!==0){if(ne(G),G.avail_out===0)return P.last_flush=-1,f}else if(G.avail_in===0&&q(pe)<=q(k)&&pe!==d)return Z(G,-5);if(P.status===666&&G.avail_in!==0)return Z(G,-5);if(G.avail_in!==0||P.lookahead!==0||pe!==c&&P.status!==666){var me=P.strategy===2?function(ve,be){for(var Te;;){if(ve.lookahead===0&&(ce(ve),ve.lookahead===0)){if(be===c)return E;break}if(ve.match_length=0,Te=a._tr_tally(ve,0,ve.window[ve.strstart]),ve.lookahead--,ve.strstart++,Te&&(_(ve,!1),ve.strm.avail_out===0))return E}return ve.insert=0,be===d?(_(ve,!0),ve.strm.avail_out===0?X:z):ve.last_lit&&(_(ve,!1),ve.strm.avail_out===0)?E:H}(P,pe):P.strategy===3?function(ve,be){for(var Te,we,xe,Ue,ke=ve.window;;){if(ve.lookahead<=M){if(ce(ve),ve.lookahead<=M&&be===c)return E;if(ve.lookahead===0)break}if(ve.match_length=0,ve.lookahead>=x&&0<ve.strstart&&(we=ke[xe=ve.strstart-1])===ke[++xe]&&we===ke[++xe]&&we===ke[++xe]){Ue=ve.strstart+M;do;while(we===ke[++xe]&&we===ke[++xe]&&we===ke[++xe]&&we===ke[++xe]&&we===ke[++xe]&&we===ke[++xe]&&we===ke[++xe]&&we===ke[++xe]&&xe<Ue);ve.match_length=M-(Ue-xe),ve.match_length>ve.lookahead&&(ve.match_length=ve.lookahead)}if(ve.match_length>=x?(Te=a._tr_tally(ve,1,ve.match_length-x),ve.lookahead-=ve.match_length,ve.strstart+=ve.match_length,ve.match_length=0):(Te=a._tr_tally(ve,0,ve.window[ve.strstart]),ve.lookahead--,ve.strstart++),Te&&(_(ve,!1),ve.strm.avail_out===0))return E}return ve.insert=0,be===d?(_(ve,!0),ve.strm.avail_out===0?X:z):ve.last_lit&&(_(ve,!1),ve.strm.avail_out===0)?E:H}(P,pe):o[P.level].func(P,pe);if(me!==X&&me!==z||(P.status=666),me===E||me===X)return G.avail_out===0&&(P.last_flush=-1),f;if(me===H&&(pe===1?a._tr_align(P):pe!==5&&(a._tr_stored_block(P,0,0,!1),pe===3&&(te(P.head),P.lookahead===0&&(P.strstart=0,P.block_start=0,P.insert=0))),ne(G),G.avail_out===0))return P.last_flush=-1,f}return pe!==d?f:P.wrap<=0?1:(P.wrap===2?(Y(P,255&G.adler),Y(P,G.adler>>8&255),Y(P,G.adler>>16&255),Y(P,G.adler>>24&255),Y(P,255&G.total_in),Y(P,G.total_in>>8&255),Y(P,G.total_in>>16&255),Y(P,G.total_in>>24&255)):(re(P,G.adler>>>16),re(P,65535&G.adler)),ne(G),0<P.wrap&&(P.wrap=-P.wrap),P.pending!==0?f:1)},i.deflateEnd=function(G){var pe;return G&&G.state?(pe=G.state.status)!==F&&pe!==69&&pe!==73&&pe!==91&&pe!==103&&pe!==L&&pe!==666?Z(G,g):(G.state=null,pe===L?Z(G,-3):f):g},i.deflateSetDictionary=function(G,pe){var k,P,U,W,de,me,ve,be,Te=pe.length;if(!G||!G.state||(W=(k=G.state).wrap)===2||W===1&&k.status!==F||k.lookahead)return g;for(W===1&&(G.adler=s(G.adler,pe,Te,0)),k.wrap=0,Te>=k.w_size&&(W===0&&(te(k.head),k.strstart=0,k.block_start=0,k.insert=0),be=new A.Buf8(k.w_size),A.arraySet(be,pe,Te-k.w_size,k.w_size,0),pe=be,Te=k.w_size),de=G.avail_in,me=G.next_in,ve=G.input,G.avail_in=Te,G.next_in=0,G.input=pe,ce(k);k.lookahead>=x;){for(P=k.strstart,U=k.lookahead-(x-1);k.ins_h=(k.ins_h<<k.hash_shift^k.window[P+x-1])&k.hash_mask,k.prev[P&k.w_mask]=k.head[k.ins_h],k.head[k.ins_h]=P,P++,--U;);k.strstart=P,k.lookahead=x-1,ce(k)}return k.strstart+=k.lookahead,k.block_start=k.strstart,k.insert=k.lookahead,k.lookahead=0,k.match_length=k.prev_length=x-1,k.match_available=0,G.next_in=me,G.input=ve,G.avail_in=de,k.wrap=W,f},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(n,r,i){r.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(n,r,i){r.exports=function(o,A){var a,s,u,l,c,d,f,g,h,m,p,v,y,b,w,C,B,O,x,M,R,F,L,E,H;a=o.state,s=o.next_in,E=o.input,u=s+(o.avail_in-5),l=o.next_out,H=o.output,c=l-(A-o.avail_out),d=l+(o.avail_out-257),f=a.dmax,g=a.wsize,h=a.whave,m=a.wnext,p=a.window,v=a.hold,y=a.bits,b=a.lencode,w=a.distcode,C=(1<<a.lenbits)-1,B=(1<<a.distbits)-1;e:do{y<15&&(v+=E[s++]<<y,y+=8,v+=E[s++]<<y,y+=8),O=b[v&C];t:for(;;){if(v>>>=x=O>>>24,y-=x,(x=O>>>16&255)===0)H[l++]=65535&O;else{if(!(16&x)){if(!(64&x)){O=b[(65535&O)+(v&(1<<x)-1)];continue t}if(32&x){a.mode=12;break e}o.msg="invalid literal/length code",a.mode=30;break e}M=65535&O,(x&=15)&&(y<x&&(v+=E[s++]<<y,y+=8),M+=v&(1<<x)-1,v>>>=x,y-=x),y<15&&(v+=E[s++]<<y,y+=8,v+=E[s++]<<y,y+=8),O=w[v&B];n:for(;;){if(v>>>=x=O>>>24,y-=x,!(16&(x=O>>>16&255))){if(!(64&x)){O=w[(65535&O)+(v&(1<<x)-1)];continue n}o.msg="invalid distance code",a.mode=30;break e}if(R=65535&O,y<(x&=15)&&(v+=E[s++]<<y,(y+=8)<x&&(v+=E[s++]<<y,y+=8)),f<(R+=v&(1<<x)-1)){o.msg="invalid distance too far back",a.mode=30;break e}if(v>>>=x,y-=x,(x=l-c)<R){if(h<(x=R-x)&&a.sane){o.msg="invalid distance too far back",a.mode=30;break e}if(L=p,(F=0)===m){if(F+=g-x,x<M){for(M-=x;H[l++]=p[F++],--x;);F=l-R,L=H}}else if(m<x){if(F+=g+m-x,(x-=m)<M){for(M-=x;H[l++]=p[F++],--x;);if(F=0,m<M){for(M-=x=m;H[l++]=p[F++],--x;);F=l-R,L=H}}}else if(F+=m-x,x<M){for(M-=x;H[l++]=p[F++],--x;);F=l-R,L=H}for(;2<M;)H[l++]=L[F++],H[l++]=L[F++],H[l++]=L[F++],M-=3;M&&(H[l++]=L[F++],1<M&&(H[l++]=L[F++]))}else{for(F=l-R;H[l++]=H[F++],H[l++]=H[F++],H[l++]=H[F++],2<(M-=3););M&&(H[l++]=H[F++],1<M&&(H[l++]=H[F++]))}break}}break}}while(s<u&&l<d);s-=M=y>>3,v&=(1<<(y-=M<<3))-1,o.next_in=s,o.next_out=l,o.avail_in=s<u?u-s+5:5-(s-u),o.avail_out=l<d?d-l+257:257-(l-d),a.hold=v,a.bits=y}},{}],49:[function(n,r,i){var o=n("../utils/common"),A=n("./adler32"),a=n("./crc32"),s=n("./inffast"),u=n("./inftrees"),l=1,c=2,d=0,f=-2,g=1,h=852,m=592;function p(F){return(F>>>24&255)+(F>>>8&65280)+((65280&F)<<8)+((255&F)<<24)}function v(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function y(F){var L;return F&&F.state?(L=F.state,F.total_in=F.total_out=L.total=0,F.msg="",L.wrap&&(F.adler=1&L.wrap),L.mode=g,L.last=0,L.havedict=0,L.dmax=32768,L.head=null,L.hold=0,L.bits=0,L.lencode=L.lendyn=new o.Buf32(h),L.distcode=L.distdyn=new o.Buf32(m),L.sane=1,L.back=-1,d):f}function b(F){var L;return F&&F.state?((L=F.state).wsize=0,L.whave=0,L.wnext=0,y(F)):f}function w(F,L){var E,H;return F&&F.state?(H=F.state,L<0?(E=0,L=-L):(E=1+(L>>4),L<48&&(L&=15)),L&&(L<8||15<L)?f:(H.window!==null&&H.wbits!==L&&(H.window=null),H.wrap=E,H.wbits=L,b(F))):f}function C(F,L){var E,H;return F?(H=new v,(F.state=H).window=null,(E=w(F,L))!==d&&(F.state=null),E):f}var B,O,x=!0;function M(F){if(x){var L;for(B=new o.Buf32(512),O=new o.Buf32(32),L=0;L<144;)F.lens[L++]=8;for(;L<256;)F.lens[L++]=9;for(;L<280;)F.lens[L++]=7;for(;L<288;)F.lens[L++]=8;for(u(l,F.lens,0,288,B,0,F.work,{bits:9}),L=0;L<32;)F.lens[L++]=5;u(c,F.lens,0,32,O,0,F.work,{bits:5}),x=!1}F.lencode=B,F.lenbits=9,F.distcode=O,F.distbits=5}function R(F,L,E,H){var X,z=F.state;return z.window===null&&(z.wsize=1<<z.wbits,z.wnext=0,z.whave=0,z.window=new o.Buf8(z.wsize)),H>=z.wsize?(o.arraySet(z.window,L,E-z.wsize,z.wsize,0),z.wnext=0,z.whave=z.wsize):(H<(X=z.wsize-z.wnext)&&(X=H),o.arraySet(z.window,L,E-H,X,z.wnext),(H-=X)?(o.arraySet(z.window,L,E-H,H,0),z.wnext=H,z.whave=z.wsize):(z.wnext+=X,z.wnext===z.wsize&&(z.wnext=0),z.whave<z.wsize&&(z.whave+=X))),0}i.inflateReset=b,i.inflateReset2=w,i.inflateResetKeep=y,i.inflateInit=function(F){return C(F,15)},i.inflateInit2=C,i.inflate=function(F,L){var E,H,X,z,Z,q,te,ne,_,Y,re,se,ce,N,K,Ae,ae,ie,J,ue,G,pe,k,P,U=0,W=new o.Buf8(4),de=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!F||!F.state||!F.output||!F.input&&F.avail_in!==0)return f;(E=F.state).mode===12&&(E.mode=13),Z=F.next_out,X=F.output,te=F.avail_out,z=F.next_in,H=F.input,q=F.avail_in,ne=E.hold,_=E.bits,Y=q,re=te,pe=d;e:for(;;)switch(E.mode){case g:if(E.wrap===0){E.mode=13;break}for(;_<16;){if(q===0)break e;q--,ne+=H[z++]<<_,_+=8}if(2&E.wrap&&ne===35615){W[E.check=0]=255&ne,W[1]=ne>>>8&255,E.check=a(E.check,W,2,0),_=ne=0,E.mode=2;break}if(E.flags=0,E.head&&(E.head.done=!1),!(1&E.wrap)||(((255&ne)<<8)+(ne>>8))%31){F.msg="incorrect header check",E.mode=30;break}if((15&ne)!=8){F.msg="unknown compression method",E.mode=30;break}if(_-=4,G=8+(15&(ne>>>=4)),E.wbits===0)E.wbits=G;else if(G>E.wbits){F.msg="invalid window size",E.mode=30;break}E.dmax=1<<G,F.adler=E.check=1,E.mode=512&ne?10:12,_=ne=0;break;case 2:for(;_<16;){if(q===0)break e;q--,ne+=H[z++]<<_,_+=8}if(E.flags=ne,(255&E.flags)!=8){F.msg="unknown compression method",E.mode=30;break}if(57344&E.flags){F.msg="unknown header flags set",E.mode=30;break}E.head&&(E.head.text=ne>>8&1),512&E.flags&&(W[0]=255&ne,W[1]=ne>>>8&255,E.check=a(E.check,W,2,0)),_=ne=0,E.mode=3;case 3:for(;_<32;){if(q===0)break e;q--,ne+=H[z++]<<_,_+=8}E.head&&(E.head.time=ne),512&E.flags&&(W[0]=255&ne,W[1]=ne>>>8&255,W[2]=ne>>>16&255,W[3]=ne>>>24&255,E.check=a(E.check,W,4,0)),_=ne=0,E.mode=4;case 4:for(;_<16;){if(q===0)break e;q--,ne+=H[z++]<<_,_+=8}E.head&&(E.head.xflags=255&ne,E.head.os=ne>>8),512&E.flags&&(W[0]=255&ne,W[1]=ne>>>8&255,E.check=a(E.check,W,2,0)),_=ne=0,E.mode=5;case 5:if(1024&E.flags){for(;_<16;){if(q===0)break e;q--,ne+=H[z++]<<_,_+=8}E.length=ne,E.head&&(E.head.extra_len=ne),512&E.flags&&(W[0]=255&ne,W[1]=ne>>>8&255,E.check=a(E.check,W,2,0)),_=ne=0}else E.head&&(E.head.extra=null);E.mode=6;case 6:if(1024&E.flags&&(q<(se=E.length)&&(se=q),se&&(E.head&&(G=E.head.extra_len-E.length,E.head.extra||(E.head.extra=new Array(E.head.extra_len)),o.arraySet(E.head.extra,H,z,se,G)),512&E.flags&&(E.check=a(E.check,H,se,z)),q-=se,z+=se,E.length-=se),E.length))break e;E.length=0,E.mode=7;case 7:if(2048&E.flags){if(q===0)break e;for(se=0;G=H[z+se++],E.head&&G&&E.length<65536&&(E.head.name+=String.fromCharCode(G)),G&&se<q;);if(512&E.flags&&(E.check=a(E.check,H,se,z)),q-=se,z+=se,G)break e}else E.head&&(E.head.name=null);E.length=0,E.mode=8;case 8:if(4096&E.flags){if(q===0)break e;for(se=0;G=H[z+se++],E.head&&G&&E.length<65536&&(E.head.comment+=String.fromCharCode(G)),G&&se<q;);if(512&E.flags&&(E.check=a(E.check,H,se,z)),q-=se,z+=se,G)break e}else E.head&&(E.head.comment=null);E.mode=9;case 9:if(512&E.flags){for(;_<16;){if(q===0)break e;q--,ne+=H[z++]<<_,_+=8}if(ne!==(65535&E.check)){F.msg="header crc mismatch",E.mode=30;break}_=ne=0}E.head&&(E.head.hcrc=E.flags>>9&1,E.head.done=!0),F.adler=E.check=0,E.mode=12;break;case 10:for(;_<32;){if(q===0)break e;q--,ne+=H[z++]<<_,_+=8}F.adler=E.check=p(ne),_=ne=0,E.mode=11;case 11:if(E.havedict===0)return F.next_out=Z,F.avail_out=te,F.next_in=z,F.avail_in=q,E.hold=ne,E.bits=_,2;F.adler=E.check=1,E.mode=12;case 12:if(L===5||L===6)break e;case 13:if(E.last){ne>>>=7&_,_-=7&_,E.mode=27;break}for(;_<3;){if(q===0)break e;q--,ne+=H[z++]<<_,_+=8}switch(E.last=1&ne,_-=1,3&(ne>>>=1)){case 0:E.mode=14;break;case 1:if(M(E),E.mode=20,L!==6)break;ne>>>=2,_-=2;break e;case 2:E.mode=17;break;case 3:F.msg="invalid block type",E.mode=30}ne>>>=2,_-=2;break;case 14:for(ne>>>=7&_,_-=7&_;_<32;){if(q===0)break e;q--,ne+=H[z++]<<_,_+=8}if((65535&ne)!=(ne>>>16^65535)){F.msg="invalid stored block lengths",E.mode=30;break}if(E.length=65535&ne,_=ne=0,E.mode=15,L===6)break e;case 15:E.mode=16;case 16:if(se=E.length){if(q<se&&(se=q),te<se&&(se=te),se===0)break e;o.arraySet(X,H,z,se,Z),q-=se,z+=se,te-=se,Z+=se,E.length-=se;break}E.mode=12;break;case 17:for(;_<14;){if(q===0)break e;q--,ne+=H[z++]<<_,_+=8}if(E.nlen=257+(31&ne),ne>>>=5,_-=5,E.ndist=1+(31&ne),ne>>>=5,_-=5,E.ncode=4+(15&ne),ne>>>=4,_-=4,286<E.nlen||30<E.ndist){F.msg="too many length or distance symbols",E.mode=30;break}E.have=0,E.mode=18;case 18:for(;E.have<E.ncode;){for(;_<3;){if(q===0)break e;q--,ne+=H[z++]<<_,_+=8}E.lens[de[E.have++]]=7&ne,ne>>>=3,_-=3}for(;E.have<19;)E.lens[de[E.have++]]=0;if(E.lencode=E.lendyn,E.lenbits=7,k={bits:E.lenbits},pe=u(0,E.lens,0,19,E.lencode,0,E.work,k),E.lenbits=k.bits,pe){F.msg="invalid code lengths set",E.mode=30;break}E.have=0,E.mode=19;case 19:for(;E.have<E.nlen+E.ndist;){for(;Ae=(U=E.lencode[ne&(1<<E.lenbits)-1])>>>16&255,ae=65535&U,!((K=U>>>24)<=_);){if(q===0)break e;q--,ne+=H[z++]<<_,_+=8}if(ae<16)ne>>>=K,_-=K,E.lens[E.have++]=ae;else{if(ae===16){for(P=K+2;_<P;){if(q===0)break e;q--,ne+=H[z++]<<_,_+=8}if(ne>>>=K,_-=K,E.have===0){F.msg="invalid bit length repeat",E.mode=30;break}G=E.lens[E.have-1],se=3+(3&ne),ne>>>=2,_-=2}else if(ae===17){for(P=K+3;_<P;){if(q===0)break e;q--,ne+=H[z++]<<_,_+=8}_-=K,G=0,se=3+(7&(ne>>>=K)),ne>>>=3,_-=3}else{for(P=K+7;_<P;){if(q===0)break e;q--,ne+=H[z++]<<_,_+=8}_-=K,G=0,se=11+(127&(ne>>>=K)),ne>>>=7,_-=7}if(E.have+se>E.nlen+E.ndist){F.msg="invalid bit length repeat",E.mode=30;break}for(;se--;)E.lens[E.have++]=G}}if(E.mode===30)break;if(E.lens[256]===0){F.msg="invalid code -- missing end-of-block",E.mode=30;break}if(E.lenbits=9,k={bits:E.lenbits},pe=u(l,E.lens,0,E.nlen,E.lencode,0,E.work,k),E.lenbits=k.bits,pe){F.msg="invalid literal/lengths set",E.mode=30;break}if(E.distbits=6,E.distcode=E.distdyn,k={bits:E.distbits},pe=u(c,E.lens,E.nlen,E.ndist,E.distcode,0,E.work,k),E.distbits=k.bits,pe){F.msg="invalid distances set",E.mode=30;break}if(E.mode=20,L===6)break e;case 20:E.mode=21;case 21:if(6<=q&&258<=te){F.next_out=Z,F.avail_out=te,F.next_in=z,F.avail_in=q,E.hold=ne,E.bits=_,s(F,re),Z=F.next_out,X=F.output,te=F.avail_out,z=F.next_in,H=F.input,q=F.avail_in,ne=E.hold,_=E.bits,E.mode===12&&(E.back=-1);break}for(E.back=0;Ae=(U=E.lencode[ne&(1<<E.lenbits)-1])>>>16&255,ae=65535&U,!((K=U>>>24)<=_);){if(q===0)break e;q--,ne+=H[z++]<<_,_+=8}if(Ae&&!(240&Ae)){for(ie=K,J=Ae,ue=ae;Ae=(U=E.lencode[ue+((ne&(1<<ie+J)-1)>>ie)])>>>16&255,ae=65535&U,!(ie+(K=U>>>24)<=_);){if(q===0)break e;q--,ne+=H[z++]<<_,_+=8}ne>>>=ie,_-=ie,E.back+=ie}if(ne>>>=K,_-=K,E.back+=K,E.length=ae,Ae===0){E.mode=26;break}if(32&Ae){E.back=-1,E.mode=12;break}if(64&Ae){F.msg="invalid literal/length code",E.mode=30;break}E.extra=15&Ae,E.mode=22;case 22:if(E.extra){for(P=E.extra;_<P;){if(q===0)break e;q--,ne+=H[z++]<<_,_+=8}E.length+=ne&(1<<E.extra)-1,ne>>>=E.extra,_-=E.extra,E.back+=E.extra}E.was=E.length,E.mode=23;case 23:for(;Ae=(U=E.distcode[ne&(1<<E.distbits)-1])>>>16&255,ae=65535&U,!((K=U>>>24)<=_);){if(q===0)break e;q--,ne+=H[z++]<<_,_+=8}if(!(240&Ae)){for(ie=K,J=Ae,ue=ae;Ae=(U=E.distcode[ue+((ne&(1<<ie+J)-1)>>ie)])>>>16&255,ae=65535&U,!(ie+(K=U>>>24)<=_);){if(q===0)break e;q--,ne+=H[z++]<<_,_+=8}ne>>>=ie,_-=ie,E.back+=ie}if(ne>>>=K,_-=K,E.back+=K,64&Ae){F.msg="invalid distance code",E.mode=30;break}E.offset=ae,E.extra=15&Ae,E.mode=24;case 24:if(E.extra){for(P=E.extra;_<P;){if(q===0)break e;q--,ne+=H[z++]<<_,_+=8}E.offset+=ne&(1<<E.extra)-1,ne>>>=E.extra,_-=E.extra,E.back+=E.extra}if(E.offset>E.dmax){F.msg="invalid distance too far back",E.mode=30;break}E.mode=25;case 25:if(te===0)break e;if(se=re-te,E.offset>se){if((se=E.offset-se)>E.whave&&E.sane){F.msg="invalid distance too far back",E.mode=30;break}ce=se>E.wnext?(se-=E.wnext,E.wsize-se):E.wnext-se,se>E.length&&(se=E.length),N=E.window}else N=X,ce=Z-E.offset,se=E.length;for(te<se&&(se=te),te-=se,E.length-=se;X[Z++]=N[ce++],--se;);E.length===0&&(E.mode=21);break;case 26:if(te===0)break e;X[Z++]=E.length,te--,E.mode=21;break;case 27:if(E.wrap){for(;_<32;){if(q===0)break e;q--,ne|=H[z++]<<_,_+=8}if(re-=te,F.total_out+=re,E.total+=re,re&&(F.adler=E.check=E.flags?a(E.check,X,re,Z-re):A(E.check,X,re,Z-re)),re=te,(E.flags?ne:p(ne))!==E.check){F.msg="incorrect data check",E.mode=30;break}_=ne=0}E.mode=28;case 28:if(E.wrap&&E.flags){for(;_<32;){if(q===0)break e;q--,ne+=H[z++]<<_,_+=8}if(ne!==(4294967295&E.total)){F.msg="incorrect length check",E.mode=30;break}_=ne=0}E.mode=29;case 29:pe=1;break e;case 30:pe=-3;break e;case 31:return-4;case 32:default:return f}return F.next_out=Z,F.avail_out=te,F.next_in=z,F.avail_in=q,E.hold=ne,E.bits=_,(E.wsize||re!==F.avail_out&&E.mode<30&&(E.mode<27||L!==4))&&R(F,F.output,F.next_out,re-F.avail_out)?(E.mode=31,-4):(Y-=F.avail_in,re-=F.avail_out,F.total_in+=Y,F.total_out+=re,E.total+=re,E.wrap&&re&&(F.adler=E.check=E.flags?a(E.check,X,re,F.next_out-re):A(E.check,X,re,F.next_out-re)),F.data_type=E.bits+(E.last?64:0)+(E.mode===12?128:0)+(E.mode===20||E.mode===15?256:0),(Y==0&&re===0||L===4)&&pe===d&&(pe=-5),pe)},i.inflateEnd=function(F){if(!F||!F.state)return f;var L=F.state;return L.window&&(L.window=null),F.state=null,d},i.inflateGetHeader=function(F,L){var E;return F&&F.state&&2&(E=F.state).wrap?((E.head=L).done=!1,d):f},i.inflateSetDictionary=function(F,L){var E,H=L.length;return F&&F.state?(E=F.state).wrap!==0&&E.mode!==11?f:E.mode===11&&A(1,L,H,0)!==E.check?-3:R(F,L,H,H)?(E.mode=31,-4):(E.havedict=1,d):f},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(n,r,i){var o=n("../utils/common"),A=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],a=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],s=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],u=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];r.exports=function(l,c,d,f,g,h,m,p){var v,y,b,w,C,B,O,x,M,R=p.bits,F=0,L=0,E=0,H=0,X=0,z=0,Z=0,q=0,te=0,ne=0,_=null,Y=0,re=new o.Buf16(16),se=new o.Buf16(16),ce=null,N=0;for(F=0;F<=15;F++)re[F]=0;for(L=0;L<f;L++)re[c[d+L]]++;for(X=R,H=15;1<=H&&re[H]===0;H--);if(H<X&&(X=H),H===0)return g[h++]=20971520,g[h++]=20971520,p.bits=1,0;for(E=1;E<H&&re[E]===0;E++);for(X<E&&(X=E),F=q=1;F<=15;F++)if(q<<=1,(q-=re[F])<0)return-1;if(0<q&&(l===0||H!==1))return-1;for(se[1]=0,F=1;F<15;F++)se[F+1]=se[F]+re[F];for(L=0;L<f;L++)c[d+L]!==0&&(m[se[c[d+L]]++]=L);if(B=l===0?(_=ce=m,19):l===1?(_=A,Y-=257,ce=a,N-=257,256):(_=s,ce=u,-1),F=E,C=h,Z=L=ne=0,b=-1,w=(te=1<<(z=X))-1,l===1&&852<te||l===2&&592<te)return 1;for(;;){for(O=F-Z,M=m[L]<B?(x=0,m[L]):m[L]>B?(x=ce[N+m[L]],_[Y+m[L]]):(x=96,0),v=1<<F-Z,E=y=1<<z;g[C+(ne>>Z)+(y-=v)]=O<<24|x<<16|M|0,y!==0;);for(v=1<<F-1;ne&v;)v>>=1;if(v!==0?(ne&=v-1,ne+=v):ne=0,L++,--re[F]==0){if(F===H)break;F=c[d+m[L]]}if(X<F&&(ne&w)!==b){for(Z===0&&(Z=X),C+=E,q=1<<(z=F-Z);z+Z<H&&!((q-=re[z+Z])<=0);)z++,q<<=1;if(te+=1<<z,l===1&&852<te||l===2&&592<te)return 1;g[b=ne&w]=X<<24|z<<16|C-h|0}}return ne!==0&&(g[C+ne]=F-Z<<24|64<<16|0),p.bits=X,0}},{"../utils/common":41}],51:[function(n,r,i){r.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(n,r,i){var o=n("../utils/common"),A=0,a=1;function s(U){for(var W=U.length;0<=--W;)U[W]=0}var u=0,l=29,c=256,d=c+1+l,f=30,g=19,h=2*d+1,m=15,p=16,v=7,y=256,b=16,w=17,C=18,B=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],O=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],x=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],M=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],R=new Array(2*(d+2));s(R);var F=new Array(2*f);s(F);var L=new Array(512);s(L);var E=new Array(256);s(E);var H=new Array(l);s(H);var X,z,Z,q=new Array(f);function te(U,W,de,me,ve){this.static_tree=U,this.extra_bits=W,this.extra_base=de,this.elems=me,this.max_length=ve,this.has_stree=U&&U.length}function ne(U,W){this.dyn_tree=U,this.max_code=0,this.stat_desc=W}function _(U){return U<256?L[U]:L[256+(U>>>7)]}function Y(U,W){U.pending_buf[U.pending++]=255&W,U.pending_buf[U.pending++]=W>>>8&255}function re(U,W,de){U.bi_valid>p-de?(U.bi_buf|=W<<U.bi_valid&65535,Y(U,U.bi_buf),U.bi_buf=W>>p-U.bi_valid,U.bi_valid+=de-p):(U.bi_buf|=W<<U.bi_valid&65535,U.bi_valid+=de)}function se(U,W,de){re(U,de[2*W],de[2*W+1])}function ce(U,W){for(var de=0;de|=1&U,U>>>=1,de<<=1,0<--W;);return de>>>1}function N(U,W,de){var me,ve,be=new Array(m+1),Te=0;for(me=1;me<=m;me++)be[me]=Te=Te+de[me-1]<<1;for(ve=0;ve<=W;ve++){var we=U[2*ve+1];we!==0&&(U[2*ve]=ce(be[we]++,we))}}function K(U){var W;for(W=0;W<d;W++)U.dyn_ltree[2*W]=0;for(W=0;W<f;W++)U.dyn_dtree[2*W]=0;for(W=0;W<g;W++)U.bl_tree[2*W]=0;U.dyn_ltree[2*y]=1,U.opt_len=U.static_len=0,U.last_lit=U.matches=0}function Ae(U){8<U.bi_valid?Y(U,U.bi_buf):0<U.bi_valid&&(U.pending_buf[U.pending++]=U.bi_buf),U.bi_buf=0,U.bi_valid=0}function ae(U,W,de,me){var ve=2*W,be=2*de;return U[ve]<U[be]||U[ve]===U[be]&&me[W]<=me[de]}function ie(U,W,de){for(var me=U.heap[de],ve=de<<1;ve<=U.heap_len&&(ve<U.heap_len&&ae(W,U.heap[ve+1],U.heap[ve],U.depth)&&ve++,!ae(W,me,U.heap[ve],U.depth));)U.heap[de]=U.heap[ve],de=ve,ve<<=1;U.heap[de]=me}function J(U,W,de){var me,ve,be,Te,we=0;if(U.last_lit!==0)for(;me=U.pending_buf[U.d_buf+2*we]<<8|U.pending_buf[U.d_buf+2*we+1],ve=U.pending_buf[U.l_buf+we],we++,me===0?se(U,ve,W):(se(U,(be=E[ve])+c+1,W),(Te=B[be])!==0&&re(U,ve-=H[be],Te),se(U,be=_(--me),de),(Te=O[be])!==0&&re(U,me-=q[be],Te)),we<U.last_lit;);se(U,y,W)}function ue(U,W){var de,me,ve,be=W.dyn_tree,Te=W.stat_desc.static_tree,we=W.stat_desc.has_stree,xe=W.stat_desc.elems,Ue=-1;for(U.heap_len=0,U.heap_max=h,de=0;de<xe;de++)be[2*de]!==0?(U.heap[++U.heap_len]=Ue=de,U.depth[de]=0):be[2*de+1]=0;for(;U.heap_len<2;)be[2*(ve=U.heap[++U.heap_len]=Ue<2?++Ue:0)]=1,U.depth[ve]=0,U.opt_len--,we&&(U.static_len-=Te[2*ve+1]);for(W.max_code=Ue,de=U.heap_len>>1;1<=de;de--)ie(U,be,de);for(ve=xe;de=U.heap[1],U.heap[1]=U.heap[U.heap_len--],ie(U,be,1),me=U.heap[1],U.heap[--U.heap_max]=de,U.heap[--U.heap_max]=me,be[2*ve]=be[2*de]+be[2*me],U.depth[ve]=(U.depth[de]>=U.depth[me]?U.depth[de]:U.depth[me])+1,be[2*de+1]=be[2*me+1]=ve,U.heap[1]=ve++,ie(U,be,1),2<=U.heap_len;);U.heap[--U.heap_max]=U.heap[1],function(ke,et){var De,_e,Re,Ne,ot,rt,nt=et.dyn_tree,Bt=et.max_code,Et=et.stat_desc.static_tree,Xt=et.stat_desc.has_stree,Ut=et.stat_desc.extra_bits,$t=et.stat_desc.extra_base,xt=et.stat_desc.max_length,Ct=0;for(Ne=0;Ne<=m;Ne++)ke.bl_count[Ne]=0;for(nt[2*ke.heap[ke.heap_max]+1]=0,De=ke.heap_max+1;De<h;De++)xt<(Ne=nt[2*nt[2*(_e=ke.heap[De])+1]+1]+1)&&(Ne=xt,Ct++),nt[2*_e+1]=Ne,Bt<_e||(ke.bl_count[Ne]++,ot=0,$t<=_e&&(ot=Ut[_e-$t]),rt=nt[2*_e],ke.opt_len+=rt*(Ne+ot),Xt&&(ke.static_len+=rt*(Et[2*_e+1]+ot)));if(Ct!==0){do{for(Ne=xt-1;ke.bl_count[Ne]===0;)Ne--;ke.bl_count[Ne]--,ke.bl_count[Ne+1]+=2,ke.bl_count[xt]--,Ct-=2}while(0<Ct);for(Ne=xt;Ne!==0;Ne--)for(_e=ke.bl_count[Ne];_e!==0;)Bt<(Re=ke.heap[--De])||(nt[2*Re+1]!==Ne&&(ke.opt_len+=(Ne-nt[2*Re+1])*nt[2*Re],nt[2*Re+1]=Ne),_e--)}}(U,W),N(be,Ue,U.bl_count)}function G(U,W,de){var me,ve,be=-1,Te=W[1],we=0,xe=7,Ue=4;for(Te===0&&(xe=138,Ue=3),W[2*(de+1)+1]=65535,me=0;me<=de;me++)ve=Te,Te=W[2*(me+1)+1],++we<xe&&ve===Te||(we<Ue?U.bl_tree[2*ve]+=we:ve!==0?(ve!==be&&U.bl_tree[2*ve]++,U.bl_tree[2*b]++):we<=10?U.bl_tree[2*w]++:U.bl_tree[2*C]++,be=ve,Ue=(we=0)===Te?(xe=138,3):ve===Te?(xe=6,3):(xe=7,4))}function pe(U,W,de){var me,ve,be=-1,Te=W[1],we=0,xe=7,Ue=4;for(Te===0&&(xe=138,Ue=3),me=0;me<=de;me++)if(ve=Te,Te=W[2*(me+1)+1],!(++we<xe&&ve===Te)){if(we<Ue)for(;se(U,ve,U.bl_tree),--we!=0;);else ve!==0?(ve!==be&&(se(U,ve,U.bl_tree),we--),se(U,b,U.bl_tree),re(U,we-3,2)):we<=10?(se(U,w,U.bl_tree),re(U,we-3,3)):(se(U,C,U.bl_tree),re(U,we-11,7));be=ve,Ue=(we=0)===Te?(xe=138,3):ve===Te?(xe=6,3):(xe=7,4)}}s(q);var k=!1;function P(U,W,de,me){re(U,(u<<1)+(me?1:0),3),function(ve,be,Te,we){Ae(ve),Y(ve,Te),Y(ve,~Te),o.arraySet(ve.pending_buf,ve.window,be,Te,ve.pending),ve.pending+=Te}(U,W,de)}i._tr_init=function(U){k||(function(){var W,de,me,ve,be,Te=new Array(m+1);for(ve=me=0;ve<l-1;ve++)for(H[ve]=me,W=0;W<1<<B[ve];W++)E[me++]=ve;for(E[me-1]=ve,ve=be=0;ve<16;ve++)for(q[ve]=be,W=0;W<1<<O[ve];W++)L[be++]=ve;for(be>>=7;ve<f;ve++)for(q[ve]=be<<7,W=0;W<1<<O[ve]-7;W++)L[256+be++]=ve;for(de=0;de<=m;de++)Te[de]=0;for(W=0;W<=143;)R[2*W+1]=8,W++,Te[8]++;for(;W<=255;)R[2*W+1]=9,W++,Te[9]++;for(;W<=279;)R[2*W+1]=7,W++,Te[7]++;for(;W<=287;)R[2*W+1]=8,W++,Te[8]++;for(N(R,d+1,Te),W=0;W<f;W++)F[2*W+1]=5,F[2*W]=ce(W,5);X=new te(R,B,c+1,d,m),z=new te(F,O,0,f,m),Z=new te(new Array(0),x,0,g,v)}(),k=!0),U.l_desc=new ne(U.dyn_ltree,X),U.d_desc=new ne(U.dyn_dtree,z),U.bl_desc=new ne(U.bl_tree,Z),U.bi_buf=0,U.bi_valid=0,K(U)},i._tr_stored_block=P,i._tr_flush_block=function(U,W,de,me){var ve,be,Te=0;0<U.level?(U.strm.data_type===2&&(U.strm.data_type=function(we){var xe,Ue=4093624447;for(xe=0;xe<=31;xe++,Ue>>>=1)if(1&Ue&&we.dyn_ltree[2*xe]!==0)return A;if(we.dyn_ltree[18]!==0||we.dyn_ltree[20]!==0||we.dyn_ltree[26]!==0)return a;for(xe=32;xe<c;xe++)if(we.dyn_ltree[2*xe]!==0)return a;return A}(U)),ue(U,U.l_desc),ue(U,U.d_desc),Te=function(we){var xe;for(G(we,we.dyn_ltree,we.l_desc.max_code),G(we,we.dyn_dtree,we.d_desc.max_code),ue(we,we.bl_desc),xe=g-1;3<=xe&&we.bl_tree[2*M[xe]+1]===0;xe--);return we.opt_len+=3*(xe+1)+5+5+4,xe}(U),ve=U.opt_len+3+7>>>3,(be=U.static_len+3+7>>>3)<=ve&&(ve=be)):ve=be=de+5,de+4<=ve&&W!==-1?P(U,W,de,me):U.strategy===4||be===ve?(re(U,2+(me?1:0),3),J(U,R,F)):(re(U,4+(me?1:0),3),function(we,xe,Ue,ke){var et;for(re(we,xe-257,5),re(we,Ue-1,5),re(we,ke-4,4),et=0;et<ke;et++)re(we,we.bl_tree[2*M[et]+1],3);pe(we,we.dyn_ltree,xe-1),pe(we,we.dyn_dtree,Ue-1)}(U,U.l_desc.max_code+1,U.d_desc.max_code+1,Te+1),J(U,U.dyn_ltree,U.dyn_dtree)),K(U),me&&Ae(U)},i._tr_tally=function(U,W,de){return U.pending_buf[U.d_buf+2*U.last_lit]=W>>>8&255,U.pending_buf[U.d_buf+2*U.last_lit+1]=255&W,U.pending_buf[U.l_buf+U.last_lit]=255&de,U.last_lit++,W===0?U.dyn_ltree[2*de]++:(U.matches++,W--,U.dyn_ltree[2*(E[de]+c+1)]++,U.dyn_dtree[2*_(W)]++),U.last_lit===U.lit_bufsize-1},i._tr_align=function(U){re(U,2,3),se(U,y,R),function(W){W.bi_valid===16?(Y(W,W.bi_buf),W.bi_buf=0,W.bi_valid=0):8<=W.bi_valid&&(W.pending_buf[W.pending++]=255&W.bi_buf,W.bi_buf>>=8,W.bi_valid-=8)}(U)}},{"../utils/common":41}],53:[function(n,r,i){r.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(n,r,i){(function(o){(function(A,a){if(!A.setImmediate){var s,u,l,c,d=1,f={},g=!1,h=A.document,m=Object.getPrototypeOf&&Object.getPrototypeOf(A);m=m&&m.setTimeout?m:A,s={}.toString.call(A.process)==="[object process]"?function(b){Vn.nextTick(function(){v(b)})}:function(){if(A.postMessage&&!A.importScripts){var b=!0,w=A.onmessage;return A.onmessage=function(){b=!1},A.postMessage("","*"),A.onmessage=w,b}}()?(c="setImmediate$"+Math.random()+"$",A.addEventListener?A.addEventListener("message",y,!1):A.attachEvent("onmessage",y),function(b){A.postMessage(c+b,"*")}):A.MessageChannel?((l=new MessageChannel).port1.onmessage=function(b){v(b.data)},function(b){l.port2.postMessage(b)}):h&&"onreadystatechange"in h.createElement("script")?(u=h.documentElement,function(b){var w=h.createElement("script");w.onreadystatechange=function(){v(b),w.onreadystatechange=null,u.removeChild(w),w=null},u.appendChild(w)}):function(b){setTimeout(v,0,b)},m.setImmediate=function(b){typeof b!="function"&&(b=new Function(""+b));for(var w=new Array(arguments.length-1),C=0;C<w.length;C++)w[C]=arguments[C+1];var B={callback:b,args:w};return f[d]=B,s(d),d++},m.clearImmediate=p}function p(b){delete f[b]}function v(b){if(g)setTimeout(v,0,b);else{var w=f[b];if(w){g=!0;try{(function(C){var B=C.callback,O=C.args;switch(O.length){case 0:B();break;case 1:B(O[0]);break;case 2:B(O[0],O[1]);break;case 3:B(O[0],O[1],O[2]);break;default:B.apply(a,O)}})(w)}finally{p(b),g=!1}}}}function y(b){b.source===A&&typeof b.data=="string"&&b.data.indexOf(c)===0&&v(+b.data.slice(c.length))}})(typeof self>"u"?o===void 0?this:o:self)}).call(this,typeof Sl<"u"?Sl:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})}(qE)),qE.exports}var eQe=ZUe();const tQe=ZJ(eQe);var T0={exports:{}},XE,oM;function nQe(){if(oM)return XE;oM=1;var e={"&":"&",'"':""","'":"'","<":"<",">":">"};function t(n){return n&&n.replace?n.replace(/([&"<>'])/g,function(r,i){return e[i]}):n}return XE=t,XE}var AM;function rQe(){if(AM)return T0.exports;AM=1;var e=nQe(),t=pU().Stream,n=" ";function r(u,l){typeof l!="object"&&(l={indent:l});var c=l.stream?new t:null,d="",f=!1,g=l.indent?l.indent===!0?n:l.indent:"",h=!0;function m(w){h?Vn.nextTick(w):w()}function p(w,C){if(C!==void 0&&(d+=C),w&&!f&&(c=c||new t,f=!0),w&&f){var B=d;m(function(){c.emit("data",B)}),d=""}}function v(w,C){a(p,A(w,g,g?1:0),C)}function y(){if(c){var w=d;m(function(){c.emit("data",w),c.emit("end"),c.readable=!1,c.emit("close")})}}function b(w){var C=w.encoding||"UTF-8",B={version:"1.0",encoding:C};w.standalone&&(B.standalone=w.standalone),v({"?xml":{_attr:B}}),d=d.replace("/>","?>")}return m(function(){h=!1}),l.declaration&&b(l.declaration),u&&u.forEach?u.forEach(function(w,C){var B;C+1===u.length&&(B=y),v(w,B)}):v(u,y),c?(c.readable=!0,c):d}function i(){var u=Array.prototype.slice.call(arguments),l={_elem:A(u)};return l.push=function(c){if(!this.append)throw new Error("not assigned to a parent!");var d=this,f=this._elem.indent;a(this.append,A(c,f,this._elem.icount+(f?1:0)),function(){d.append(!0)})},l.close=function(c){c!==void 0&&this.push(c),this.end&&this.end()},l}function o(u,l){return new Array(l||0).join(u||"")}function A(u,l,c){c=c||0;var d=o(l,c),f,g=u,h=!1;if(typeof u=="object"){var m=Object.keys(u);if(f=m[0],g=u[f],g&&g._elem)return g._elem.name=f,g._elem.icount=c,g._elem.indent=l,g._elem.indents=d,g._elem.interrupt=g,g._elem}var p=[],v=[],y;function b(w){var C=Object.keys(w);C.forEach(function(B){p.push(s(B,w[B]))})}switch(typeof g){case"object":if(g===null)break;g._attr&&b(g._attr),g._cdata&&v.push(("<![CDATA["+g._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),g.forEach&&(y=!1,v.push(""),g.forEach(function(w){if(typeof w=="object"){var C=Object.keys(w)[0];C=="_attr"?b(w._attr):v.push(A(w,l,c+1))}else v.pop(),y=!0,v.push(e(w))}),y||v.push(""));break;default:v.push(e(g))}return{name:f,interrupt:h,attributes:p,content:v,icount:c,indents:d,indent:l}}function a(u,l,c){if(typeof l!="object")return u(!1,l);var d=l.interrupt?1:l.content.length;function f(){for(;l.content.length;){var h=l.content.shift();if(h!==void 0){if(g(h))return;a(u,h)}}u(!1,(d>1?l.indents:"")+(l.name?"</"+l.name+">":"")+(l.indent&&!c?`
- `:"")),c&&c()}function g(h){return h.interrupt?(h.interrupt.append=u,h.interrupt.end=f,h.interrupt=!1,u(!0),!0):!1}if(u(!1,l.indents+(l.name?"<"+l.name:"")+(l.attributes.length?" "+l.attributes.join(" "):"")+(d?l.name?">":"":l.name?"/>":"")+(l.indent&&d>1?`
- `:"")),!d)return u(!1,l.indent?`
- `:"");g(l)||f()}function s(u,l){return u+'="'+e(l)+'"'}return T0.exports=r,T0.exports.element=T0.exports.Element=i,T0.exports}var iQe=rQe();const Oi=ZJ(iQe),U0=0,YE=32,oQe=32,AQe=(e,t)=>{const n=t.replace(/-/g,"");if(n.length!==oQe)throw new Error(`Error: Cannot extract GUID from font filename: ${t}`);const i=n.replace(/(..)/g,"$1 ").trim().split(" ").map(s=>parseInt(s,16));i.reverse();const A=e.slice(U0,YE).map((s,u)=>s^i[u%i.length]),a=new Uint8Array(U0+A.length+Math.max(0,e.length-YE));return a.set(e.slice(0,U0)),a.set(A,U0),a.set(e.slice(YE),U0+A.length),a};class aQe{format(t,n={stack:[]}){const r=t.prepForXml(n);if(r)return r;throw Error("XMLComponent did not format correctly")}}class sQe{replace(t,n,r){let i=t;return n.forEach((o,A)=>{i=i.replace(new RegExp(`{${o.fileName}}`,"g"),(r+A).toString())}),i}getMediaData(t,n){return n.Array.filter(r=>t.search(`{${r.fileName}}`)>0)}}class lQe{replace(t,n){let r=t;for(const i of n)r=r.replace(new RegExp(`{${i.reference}-${i.instance}}`,"g"),i.numId.toString());return r}}class uQe{constructor(){$u(this,"formatter"),$u(this,"imageReplacer"),$u(this,"numberingReplacer"),this.formatter=new aQe,this.imageReplacer=new sQe,this.numberingReplacer=new lQe}compile(t,n){const r=new tQe,i=this.xmlifyFile(t,n),o=new Map(Object.entries(i));for(const[,A]of o)if(Array.isArray(A))for(const a of A)r.file(a.path,a.data);else r.file(A.path,A.data);for(const A of t.Media.Array)A.type!=="svg"?r.file(`word/media/${A.fileName}`,A.data):(r.file(`word/media/${A.fileName}`,A.data),r.file(`word/media/${A.fallback.fileName}`,A.fallback.data));for(const{data:A,name:a,fontKey:s}of t.FontTable.fontOptionsWithKey){const[u]=a.split(".");r.file(`word/fonts/${u}.odttf`,AQe(A,s))}return r}xmlifyFile(t,n){const r=t.Document.Relationships.RelationshipCount+1,i=Oi(this.formatter.format(t.Document.View,{viewWrapper:t.Document,file:t,stack:[]}),{indent:n,declaration:{standalone:"yes",encoding:"UTF-8"}}),o=this.imageReplacer.getMediaData(i,t.Media);return{Relationships:{data:(o.forEach((A,a)=>{t.Document.Relationships.createRelationship(r+a,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${A.fileName}`)}),t.Document.Relationships.createRelationship(t.Document.Relationships.RelationshipCount+1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable","fontTable.xml"),Oi(this.formatter.format(t.Document.Relationships,{viewWrapper:t.Document,file:t,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}})),path:"word/_rels/document.xml.rels"},Document:{data:(()=>{const A=this.imageReplacer.replace(i,o,r);return this.numberingReplacer.replace(A,t.Numbering.ConcreteNumbering)})(),path:"word/document.xml"},Styles:{data:(()=>{const A=Oi(this.formatter.format(t.Styles,{viewWrapper:t.Document,file:t,stack:[]}),{indent:n,declaration:{standalone:"yes",encoding:"UTF-8"}});return this.numberingReplacer.replace(A,t.Numbering.ConcreteNumbering)})(),path:"word/styles.xml"},Properties:{data:Oi(this.formatter.format(t.CoreProperties,{viewWrapper:t.Document,file:t,stack:[]}),{indent:n,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/core.xml"},Numbering:{data:Oi(this.formatter.format(t.Numbering,{viewWrapper:t.Document,file:t,stack:[]}),{indent:n,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/numbering.xml"},FileRelationships:{data:Oi(this.formatter.format(t.FileRelationships,{viewWrapper:t.Document,file:t,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}}),path:"_rels/.rels"},HeaderRelationships:t.Headers.map((A,a)=>{const s=Oi(this.formatter.format(A.View,{viewWrapper:A,file:t,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}});return this.imageReplacer.getMediaData(s,t.Media).forEach((l,c)=>{A.Relationships.createRelationship(c,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${l.fileName}`)}),{data:Oi(this.formatter.format(A.Relationships,{viewWrapper:A,file:t,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}}),path:`word/_rels/header${a+1}.xml.rels`}}),FooterRelationships:t.Footers.map((A,a)=>{const s=Oi(this.formatter.format(A.View,{viewWrapper:A,file:t,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}});return this.imageReplacer.getMediaData(s,t.Media).forEach((l,c)=>{A.Relationships.createRelationship(c,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${l.fileName}`)}),{data:Oi(this.formatter.format(A.Relationships,{viewWrapper:A,file:t,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}}),path:`word/_rels/footer${a+1}.xml.rels`}}),Headers:t.Headers.map((A,a)=>{const s=Oi(this.formatter.format(A.View,{viewWrapper:A,file:t,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}}),u=this.imageReplacer.getMediaData(s,t.Media),l=this.imageReplacer.replace(s,u,0);return{data:this.numberingReplacer.replace(l,t.Numbering.ConcreteNumbering),path:`word/header${a+1}.xml`}}),Footers:t.Footers.map((A,a)=>{const s=Oi(this.formatter.format(A.View,{viewWrapper:A,file:t,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}}),u=this.imageReplacer.getMediaData(s,t.Media),l=this.imageReplacer.replace(s,u,0);return{data:this.numberingReplacer.replace(l,t.Numbering.ConcreteNumbering),path:`word/footer${a+1}.xml`}}),ContentTypes:{data:Oi(this.formatter.format(t.ContentTypes,{viewWrapper:t.Document,file:t,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}}),path:"[Content_Types].xml"},CustomProperties:{data:Oi(this.formatter.format(t.CustomProperties,{viewWrapper:t.Document,file:t,stack:[]}),{indent:n,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/custom.xml"},AppProperties:{data:Oi(this.formatter.format(t.AppProperties,{viewWrapper:t.Document,file:t,stack:[]}),{indent:n,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/app.xml"},FootNotes:{data:Oi(this.formatter.format(t.FootNotes.View,{viewWrapper:t.FootNotes,file:t,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}}),path:"word/footnotes.xml"},FootNotesRelationships:{data:Oi(this.formatter.format(t.FootNotes.Relationships,{viewWrapper:t.FootNotes,file:t,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}}),path:"word/_rels/footnotes.xml.rels"},Settings:{data:Oi(this.formatter.format(t.Settings,{viewWrapper:t.Document,file:t,stack:[]}),{indent:n,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/settings.xml"},Comments:{data:Oi(this.formatter.format(t.Comments,{viewWrapper:t.Document,file:t,stack:[]}),{indent:n,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/comments.xml"},FontTable:{data:Oi(this.formatter.format(t.FontTable.View,{viewWrapper:t.Document,file:t,stack:[]}),{indent:n,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/fontTable.xml"},FontTableRelationships:{data:Oi(this.formatter.format(t.FontTable.Relationships,{viewWrapper:t.Document,file:t,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}}),path:"word/_rels/fontTable.xml.rels"}}}}const cQe={NONE:"",WITH_2_BLANKS:" ",WITH_4_BLANKS:" ",WITH_TAB:" "},Q0=e=>e===!0?cQe.WITH_2_BLANKS:e===!1?void 0:e;class fQe{static toString(t,n){return by(this,null,function*(){return yield this.compiler.compile(t,Q0(n)).generateAsync({type:"string",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})})}static toBuffer(t,n){return by(this,null,function*(){return yield this.compiler.compile(t,Q0(n)).generateAsync({type:"nodebuffer",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})})}static toBase64String(t,n){return by(this,null,function*(){return yield this.compiler.compile(t,Q0(n)).generateAsync({type:"base64",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})})}static toBlob(t,n){return by(this,null,function*(){return yield this.compiler.compile(t,Q0(n)).generateAsync({type:"blob",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})})}static toStream(t,n){const r=new JUe.Stream;return this.compiler.compile(t,Q0(n)).generateAsync({type:"nodebuffer",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"}).then(o=>{r.emit("data",o),r.emit("end")}),r}}$u(fQe,"compiler",new uQe);/*!
- * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
- * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
- * Released under MIT License
- *//*! *****************************************************************************
- Copyright (c) Microsoft Corporation.
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted.
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */var x_=function(e,t){return x_=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},x_(e,t)};function Ds(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");x_(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var S_=function(){return S_=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},S_.apply(this,arguments)};function hA(e,t,n,r){function i(o){return o instanceof n?o:new n(function(A){A(o)})}return new(n||(n=Promise))(function(o,A){function a(l){try{u(r.next(l))}catch(c){A(c)}}function s(l){try{u(r.throw(l))}catch(c){A(c)}}function u(l){l.done?o(l.value):i(l.value).then(a,s)}u((r=r.apply(e,[])).next())})}function Vo(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,A;return A={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(A[Symbol.iterator]=function(){return this}),A;function a(u){return function(l){return s([u,l])}}function s(u){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(o=u[0]&2?i.return:u[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;switch(i=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,i=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(l){u=[6,l],i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function Ey(e,t,n){if(arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||t)}var zu=function(){function e(t,n,r,i){this.left=t,this.top=n,this.width=r,this.height=i}return e.prototype.add=function(t,n,r,i){return new e(this.left+t,this.top+n,this.width+r,this.height+i)},e.fromClientRect=function(t,n){return new e(n.left+t.windowBounds.left,n.top+t.windowBounds.top,n.width,n.height)},e.fromDOMRectList=function(t,n){var r=Array.from(n).find(function(i){return i.width!==0});return r?new e(r.left+t.windowBounds.left,r.top+t.windowBounds.top,r.width,r.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e}(),FC=function(e,t){return zu.fromClientRect(e,t.getBoundingClientRect())},dQe=function(e){var t=e.body,n=e.documentElement;if(!t||!n)throw new Error("Unable to get document size");var r=Math.max(Math.max(t.scrollWidth,n.scrollWidth),Math.max(t.offsetWidth,n.offsetWidth),Math.max(t.clientWidth,n.clientWidth)),i=Math.max(Math.max(t.scrollHeight,n.scrollHeight),Math.max(t.offsetHeight,n.offsetHeight),Math.max(t.clientHeight,n.clientHeight));return new zu(0,0,r,i)},IC=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);(o&64512)===56320?t.push(((i&1023)<<10)+(o&1023)+65536):(t.push(i),n--)}else t.push(i)}return t},Ui=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var r=[],i=-1,o="";++i<n;){var A=e[i];A<=65535?r.push(A):(A-=65536,r.push((A>>10)+55296,A%1024+56320)),(i+1===n||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o},aM="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",hQe=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Fy=0;Fy<aM.length;Fy++)hQe[aM.charCodeAt(Fy)]=Fy;var sM="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",G0=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Iy=0;Iy<sM.length;Iy++)G0[sM.charCodeAt(Iy)]=Iy;var pQe=function(e){var t=e.length*.75,n=e.length,r,i=0,o,A,a,s;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);var u=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(t):new Array(t),l=Array.isArray(u)?u:new Uint8Array(u);for(r=0;r<n;r+=4)o=G0[e.charCodeAt(r)],A=G0[e.charCodeAt(r+1)],a=G0[e.charCodeAt(r+2)],s=G0[e.charCodeAt(r+3)],l[i++]=o<<2|A>>4,l[i++]=(A&15)<<4|a>>2,l[i++]=(a&3)<<6|s&63;return u},gQe=function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n},mQe=function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n},kd=5,vU=11,JE=2,vQe=vU-kd,CZ=65536>>kd,yQe=1<<kd,ZE=yQe-1,bQe=1024>>kd,wQe=CZ+bQe,BQe=wQe,CQe=32,xQe=BQe+CQe,SQe=65536>>vU,EQe=1<<vQe,FQe=EQe-1,lM=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},IQe=function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))},_Qe=function(e,t){var n=pQe(e),r=Array.isArray(n)?mQe(n):new Uint32Array(n),i=Array.isArray(n)?gQe(n):new Uint16Array(n),o=24,A=lM(i,o/2,r[4]/2),a=r[5]===2?lM(i,(o+r[4])/2):IQe(r,Math.ceil((o+r[4])/4));return new OQe(r[0],r[1],r[2],r[3],A,a)},OQe=function(){function e(t,n,r,i,o,A){this.initialValue=t,this.errorValue=n,this.highStart=r,this.highValueIndex=i,this.index=o,this.data=A}return e.prototype.get=function(t){var n;if(t>=0){if(t<55296||t>56319&&t<=65535)return n=this.index[t>>kd],n=(n<<JE)+(t&ZE),this.data[n];if(t<=65535)return n=this.index[CZ+(t-55296>>kd)],n=(n<<JE)+(t&ZE),this.data[n];if(t<this.highStart)return n=xQe-SQe+(t>>vU),n=this.index[n],n+=t>>kd&FQe,n=this.index[n],n=(n<<JE)+(t&ZE),this.data[n];if(t<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),uM="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",TQe=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var _y=0;_y<uM.length;_y++)TQe[uM.charCodeAt(_y)]=_y;var UQe="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",cM=50,QQe=1,xZ=2,SZ=3,PQe=4,LQe=5,fM=7,EZ=8,dM=9,rf=10,E_=11,hM=12,F_=13,DQe=14,W0=15,I_=16,Oy=17,P0=18,RQe=19,pM=20,__=21,L0=22,e5=23,wp=24,ra=25,q0=26,X0=27,Bp=28,$Qe=29,xd=30,NQe=31,Ty=32,Uy=33,O_=34,T_=35,U_=36,lv=37,Q_=38,jb=39,Kb=40,t5=41,FZ=42,HQe=43,MQe=[9001,65288],IZ="!",Yn="×",Qy="÷",P_=_Qe(UQe),wu=[xd,U_],L_=[QQe,xZ,SZ,LQe],_Z=[rf,EZ],gM=[X0,q0],kQe=L_.concat(_Z),mM=[Q_,jb,Kb,O_,T_],jQe=[W0,F_],KQe=function(e,t){t===void 0&&(t="strict");var n=[],r=[],i=[];return e.forEach(function(o,A){var a=P_.get(o);if(a>cM?(i.push(!0),a-=cM):i.push(!1),["normal","auto","loose"].indexOf(t)!==-1&&[8208,8211,12316,12448].indexOf(o)!==-1)return r.push(A),n.push(I_);if(a===PQe||a===E_){if(A===0)return r.push(A),n.push(xd);var s=n[A-1];return kQe.indexOf(s)===-1?(r.push(r[A-1]),n.push(s)):(r.push(A),n.push(xd))}if(r.push(A),a===NQe)return n.push(t==="strict"?__:lv);if(a===FZ||a===$Qe)return n.push(xd);if(a===HQe)return o>=131072&&o<=196605||o>=196608&&o<=262141?n.push(lv):n.push(xd);n.push(a)}),[r,n,i]},n5=function(e,t,n,r){var i=r[n];if(Array.isArray(e)?e.indexOf(i)!==-1:e===i)for(var o=n;o<=r.length;){o++;var A=r[o];if(A===t)return!0;if(A!==rf)break}if(i===rf)for(var o=n;o>0;){o--;var a=r[o];if(Array.isArray(e)?e.indexOf(a)!==-1:e===a)for(var s=n;s<=r.length;){s++;var A=r[s];if(A===t)return!0;if(A!==rf)break}if(a!==rf)break}return!1},vM=function(e,t){for(var n=e;n>=0;){var r=t[n];if(r===rf)n--;else return r}return 0},VQe=function(e,t,n,r,i){if(n[r]===0)return Yn;var o=r-1;if(Array.isArray(i)&&i[o]===!0)return Yn;var A=o-1,a=o+1,s=t[o],u=A>=0?t[A]:0,l=t[a];if(s===xZ&&l===SZ)return Yn;if(L_.indexOf(s)!==-1)return IZ;if(L_.indexOf(l)!==-1||_Z.indexOf(l)!==-1)return Yn;if(vM(o,t)===EZ)return Qy;if(P_.get(e[o])===E_||(s===Ty||s===Uy)&&P_.get(e[a])===E_||s===fM||l===fM||s===dM||[rf,F_,W0].indexOf(s)===-1&&l===dM||[Oy,P0,RQe,wp,Bp].indexOf(l)!==-1||vM(o,t)===L0||n5(e5,L0,o,t)||n5([Oy,P0],__,o,t)||n5(hM,hM,o,t))return Yn;if(s===rf)return Qy;if(s===e5||l===e5)return Yn;if(l===I_||s===I_)return Qy;if([F_,W0,__].indexOf(l)!==-1||s===DQe||u===U_&&jQe.indexOf(s)!==-1||s===Bp&&l===U_||l===pM||wu.indexOf(l)!==-1&&s===ra||wu.indexOf(s)!==-1&&l===ra||s===X0&&[lv,Ty,Uy].indexOf(l)!==-1||[lv,Ty,Uy].indexOf(s)!==-1&&l===q0||wu.indexOf(s)!==-1&&gM.indexOf(l)!==-1||gM.indexOf(s)!==-1&&wu.indexOf(l)!==-1||[X0,q0].indexOf(s)!==-1&&(l===ra||[L0,W0].indexOf(l)!==-1&&t[a+1]===ra)||[L0,W0].indexOf(s)!==-1&&l===ra||s===ra&&[ra,Bp,wp].indexOf(l)!==-1)return Yn;if([ra,Bp,wp,Oy,P0].indexOf(l)!==-1)for(var c=o;c>=0;){var d=t[c];if(d===ra)return Yn;if([Bp,wp].indexOf(d)!==-1)c--;else break}if([X0,q0].indexOf(l)!==-1)for(var c=[Oy,P0].indexOf(s)!==-1?A:o;c>=0;){var d=t[c];if(d===ra)return Yn;if([Bp,wp].indexOf(d)!==-1)c--;else break}if(Q_===s&&[Q_,jb,O_,T_].indexOf(l)!==-1||[jb,O_].indexOf(s)!==-1&&[jb,Kb].indexOf(l)!==-1||[Kb,T_].indexOf(s)!==-1&&l===Kb||mM.indexOf(s)!==-1&&[pM,q0].indexOf(l)!==-1||mM.indexOf(l)!==-1&&s===X0||wu.indexOf(s)!==-1&&wu.indexOf(l)!==-1||s===wp&&wu.indexOf(l)!==-1||wu.concat(ra).indexOf(s)!==-1&&l===L0&&MQe.indexOf(e[a])===-1||wu.concat(ra).indexOf(l)!==-1&&s===P0)return Yn;if(s===t5&&l===t5){for(var f=n[o],g=1;f>0&&(f--,t[f]===t5);)g++;if(g%2!==0)return Yn}return s===Ty&&l===Uy?Yn:Qy},zQe=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var n=KQe(e,t.lineBreak),r=n[0],i=n[1],o=n[2];(t.wordBreak==="break-all"||t.wordBreak==="break-word")&&(i=i.map(function(a){return[ra,xd,FZ].indexOf(a)!==-1?lv:a}));var A=t.wordBreak==="keep-all"?o.map(function(a,s){return a&&e[s]>=19968&&e[s]<=40959}):void 0;return[r,i,A]},GQe=function(){function e(t,n,r,i){this.codePoints=t,this.required=n===IZ,this.start=r,this.end=i}return e.prototype.slice=function(){return Ui.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),WQe=function(e,t){var n=IC(e),r=zQe(n,t),i=r[0],o=r[1],A=r[2],a=n.length,s=0,u=0;return{next:function(){if(u>=a)return{done:!0,value:null};for(var l=Yn;u<a&&(l=VQe(n,o,i,++u,A))===Yn;);if(l!==Yn||u===a){var c=new GQe(n,l,s,u);return s=u,{value:c,done:!1}}return{done:!0,value:null}}}},qQe=1,XQe=2,Hv=4,yM=8,Vw=10,bM=47,Fm=92,YQe=9,JQe=32,Py=34,D0=61,ZQe=35,e8e=36,t8e=37,Ly=39,Dy=40,R0=41,n8e=95,QA=45,r8e=33,i8e=60,o8e=62,A8e=64,a8e=91,s8e=93,l8e=61,u8e=123,Ry=63,c8e=125,wM=124,f8e=126,d8e=128,BM=65533,r5=42,Td=43,h8e=44,p8e=58,g8e=59,uv=46,m8e=0,v8e=8,y8e=11,b8e=14,w8e=31,B8e=127,ll=-1,OZ=48,TZ=97,UZ=101,C8e=102,x8e=117,S8e=122,QZ=65,PZ=69,LZ=70,E8e=85,F8e=90,zo=function(e){return e>=OZ&&e<=57},I8e=function(e){return e>=55296&&e<=57343},Cp=function(e){return zo(e)||e>=QZ&&e<=LZ||e>=TZ&&e<=C8e},_8e=function(e){return e>=TZ&&e<=S8e},O8e=function(e){return e>=QZ&&e<=F8e},T8e=function(e){return _8e(e)||O8e(e)},U8e=function(e){return e>=d8e},$y=function(e){return e===Vw||e===YQe||e===JQe},zw=function(e){return T8e(e)||U8e(e)||e===n8e},CM=function(e){return zw(e)||zo(e)||e===QA},Q8e=function(e){return e>=m8e&&e<=v8e||e===y8e||e>=b8e&&e<=w8e||e===B8e},Kc=function(e,t){return e!==Fm?!1:t!==Vw},Ny=function(e,t,n){return e===QA?zw(t)||Kc(t,n):zw(e)?!0:!!(e===Fm&&Kc(e,t))},i5=function(e,t,n){return e===Td||e===QA?zo(t)?!0:t===uv&&zo(n):zo(e===uv?t:e)},P8e=function(e){var t=0,n=1;(e[t]===Td||e[t]===QA)&&(e[t]===QA&&(n=-1),t++);for(var r=[];zo(e[t]);)r.push(e[t++]);var i=r.length?parseInt(Ui.apply(void 0,r),10):0;e[t]===uv&&t++;for(var o=[];zo(e[t]);)o.push(e[t++]);var A=o.length,a=A?parseInt(Ui.apply(void 0,o),10):0;(e[t]===PZ||e[t]===UZ)&&t++;var s=1;(e[t]===Td||e[t]===QA)&&(e[t]===QA&&(s=-1),t++);for(var u=[];zo(e[t]);)u.push(e[t++]);var l=u.length?parseInt(Ui.apply(void 0,u),10):0;return n*(i+a*Math.pow(10,-A))*Math.pow(10,s*l)},L8e={type:2},D8e={type:3},R8e={type:4},$8e={type:13},N8e={type:8},H8e={type:21},M8e={type:9},k8e={type:10},j8e={type:11},K8e={type:12},V8e={type:14},Hy={type:23},z8e={type:1},G8e={type:25},W8e={type:24},q8e={type:26},X8e={type:27},Y8e={type:28},J8e={type:29},Z8e={type:31},D_={type:32},DZ=function(){function e(){this._value=[]}return e.prototype.write=function(t){this._value=this._value.concat(IC(t))},e.prototype.read=function(){for(var t=[],n=this.consumeToken();n!==D_;)t.push(n),n=this.consumeToken();return t},e.prototype.consumeToken=function(){var t=this.consumeCodePoint();switch(t){case Py:return this.consumeStringToken(Py);case ZQe:var n=this.peekCodePoint(0),r=this.peekCodePoint(1),i=this.peekCodePoint(2);if(CM(n)||Kc(r,i)){var o=Ny(n,r,i)?XQe:qQe,A=this.consumeName();return{type:5,value:A,flags:o}}break;case e8e:if(this.peekCodePoint(0)===D0)return this.consumeCodePoint(),$8e;break;case Ly:return this.consumeStringToken(Ly);case Dy:return L8e;case R0:return D8e;case r5:if(this.peekCodePoint(0)===D0)return this.consumeCodePoint(),V8e;break;case Td:if(i5(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case h8e:return R8e;case QA:var a=t,s=this.peekCodePoint(0),u=this.peekCodePoint(1);if(i5(a,s,u))return this.reconsumeCodePoint(t),this.consumeNumericToken();if(Ny(a,s,u))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();if(s===QA&&u===o8e)return this.consumeCodePoint(),this.consumeCodePoint(),W8e;break;case uv:if(i5(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case bM:if(this.peekCodePoint(0)===r5)for(this.consumeCodePoint();;){var l=this.consumeCodePoint();if(l===r5&&(l=this.consumeCodePoint(),l===bM))return this.consumeToken();if(l===ll)return this.consumeToken()}break;case p8e:return q8e;case g8e:return X8e;case i8e:if(this.peekCodePoint(0)===r8e&&this.peekCodePoint(1)===QA&&this.peekCodePoint(2)===QA)return this.consumeCodePoint(),this.consumeCodePoint(),G8e;break;case A8e:var c=this.peekCodePoint(0),d=this.peekCodePoint(1),f=this.peekCodePoint(2);if(Ny(c,d,f)){var A=this.consumeName();return{type:7,value:A}}break;case a8e:return Y8e;case Fm:if(Kc(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();break;case s8e:return J8e;case l8e:if(this.peekCodePoint(0)===D0)return this.consumeCodePoint(),N8e;break;case u8e:return j8e;case c8e:return K8e;case x8e:case E8e:var g=this.peekCodePoint(0),h=this.peekCodePoint(1);return g===Td&&(Cp(h)||h===Ry)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(t),this.consumeIdentLikeToken();case wM:if(this.peekCodePoint(0)===D0)return this.consumeCodePoint(),M8e;if(this.peekCodePoint(0)===wM)return this.consumeCodePoint(),H8e;break;case f8e:if(this.peekCodePoint(0)===D0)return this.consumeCodePoint(),k8e;break;case ll:return D_}return $y(t)?(this.consumeWhiteSpace(),Z8e):zo(t)?(this.reconsumeCodePoint(t),this.consumeNumericToken()):zw(t)?(this.reconsumeCodePoint(t),this.consumeIdentLikeToken()):{type:6,value:Ui(t)}},e.prototype.consumeCodePoint=function(){var t=this._value.shift();return typeof t>"u"?-1:t},e.prototype.reconsumeCodePoint=function(t){this._value.unshift(t)},e.prototype.peekCodePoint=function(t){return t>=this._value.length?-1:this._value[t]},e.prototype.consumeUnicodeRangeToken=function(){for(var t=[],n=this.consumeCodePoint();Cp(n)&&t.length<6;)t.push(n),n=this.consumeCodePoint();for(var r=!1;n===Ry&&t.length<6;)t.push(n),n=this.consumeCodePoint(),r=!0;if(r){var i=parseInt(Ui.apply(void 0,t.map(function(s){return s===Ry?OZ:s})),16),o=parseInt(Ui.apply(void 0,t.map(function(s){return s===Ry?LZ:s})),16);return{type:30,start:i,end:o}}var A=parseInt(Ui.apply(void 0,t),16);if(this.peekCodePoint(0)===QA&&Cp(this.peekCodePoint(1))){this.consumeCodePoint(),n=this.consumeCodePoint();for(var a=[];Cp(n)&&a.length<6;)a.push(n),n=this.consumeCodePoint();var o=parseInt(Ui.apply(void 0,a),16);return{type:30,start:A,end:o}}else return{type:30,start:A,end:A}},e.prototype.consumeIdentLikeToken=function(){var t=this.consumeName();return t.toLowerCase()==="url"&&this.peekCodePoint(0)===Dy?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Dy?(this.consumeCodePoint(),{type:19,value:t}):{type:20,value:t}},e.prototype.consumeUrlToken=function(){var t=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===ll)return{type:22,value:""};var n=this.peekCodePoint(0);if(n===Ly||n===Py){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===ll||this.peekCodePoint(0)===R0)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Hy)}for(;;){var i=this.consumeCodePoint();if(i===ll||i===R0)return{type:22,value:Ui.apply(void 0,t)};if($y(i))return this.consumeWhiteSpace(),this.peekCodePoint(0)===ll||this.peekCodePoint(0)===R0?(this.consumeCodePoint(),{type:22,value:Ui.apply(void 0,t)}):(this.consumeBadUrlRemnants(),Hy);if(i===Py||i===Ly||i===Dy||Q8e(i))return this.consumeBadUrlRemnants(),Hy;if(i===Fm)if(Kc(i,this.peekCodePoint(0)))t.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Hy;else t.push(i)}},e.prototype.consumeWhiteSpace=function(){for(;$y(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var t=this.consumeCodePoint();if(t===R0||t===ll)return;Kc(t,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(t){for(var n=5e4,r="";t>0;){var i=Math.min(n,t);r+=Ui.apply(void 0,this._value.splice(0,i)),t-=i}return this._value.shift(),r},e.prototype.consumeStringToken=function(t){var n="",r=0;do{var i=this._value[r];if(i===ll||i===void 0||i===t)return n+=this.consumeStringSlice(r),{type:0,value:n};if(i===Vw)return this._value.splice(0,r),z8e;if(i===Fm){var o=this._value[r+1];o!==ll&&o!==void 0&&(o===Vw?(n+=this.consumeStringSlice(r),r=-1,this._value.shift()):Kc(i,o)&&(n+=this.consumeStringSlice(r),n+=Ui(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},e.prototype.consumeNumber=function(){var t=[],n=Hv,r=this.peekCodePoint(0);for((r===Td||r===QA)&&t.push(this.consumeCodePoint());zo(this.peekCodePoint(0));)t.push(this.consumeCodePoint());r=this.peekCodePoint(0);var i=this.peekCodePoint(1);if(r===uv&&zo(i))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),n=yM;zo(this.peekCodePoint(0));)t.push(this.consumeCodePoint());r=this.peekCodePoint(0),i=this.peekCodePoint(1);var o=this.peekCodePoint(2);if((r===PZ||r===UZ)&&((i===Td||i===QA)&&zo(o)||zo(i)))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),n=yM;zo(this.peekCodePoint(0));)t.push(this.consumeCodePoint());return[P8e(t),n]},e.prototype.consumeNumericToken=function(){var t=this.consumeNumber(),n=t[0],r=t[1],i=this.peekCodePoint(0),o=this.peekCodePoint(1),A=this.peekCodePoint(2);if(Ny(i,o,A)){var a=this.consumeName();return{type:15,number:n,flags:r,unit:a}}return i===t8e?(this.consumeCodePoint(),{type:16,number:n,flags:r}):{type:17,number:n,flags:r}},e.prototype.consumeEscapedCodePoint=function(){var t=this.consumeCodePoint();if(Cp(t)){for(var n=Ui(t);Cp(this.peekCodePoint(0))&&n.length<6;)n+=Ui(this.consumeCodePoint());$y(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(n,16);return r===0||I8e(r)||r>1114111?BM:r}return t===ll?BM:t},e.prototype.consumeName=function(){for(var t="";;){var n=this.consumeCodePoint();if(CM(n))t+=Ui(n);else if(Kc(n,this.peekCodePoint(0)))t+=Ui(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(n),t}},e}(),RZ=function(){function e(t){this._tokens=t}return e.create=function(t){var n=new DZ;return n.write(t),new e(n.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var t=this.consumeToken();t.type===31;)t=this.consumeToken();if(t.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(t);var n=this.consumeComponentValue();do t=this.consumeToken();while(t.type===31);if(t.type===32)return n;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var t=[];;){var n=this.consumeComponentValue();if(n.type===32)return t;t.push(n),t.push()}},e.prototype.consumeComponentValue=function(){var t=this.consumeToken();switch(t.type){case 11:case 28:case 2:return this.consumeSimpleBlock(t.type);case 19:return this.consumeFunction(t)}return t},e.prototype.consumeSimpleBlock=function(t){for(var n={type:t,values:[]},r=this.consumeToken();;){if(r.type===32||tPe(r,t))return n;this.reconsumeToken(r),n.values.push(this.consumeComponentValue()),r=this.consumeToken()}},e.prototype.consumeFunction=function(t){for(var n={name:t.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return n;this.reconsumeToken(r),n.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var t=this._tokens.shift();return typeof t>"u"?D_:t},e.prototype.reconsumeToken=function(t){this._tokens.unshift(t)},e}(),Mv=function(e){return e.type===15},kg=function(e){return e.type===17},$r=function(e){return e.type===20},ePe=function(e){return e.type===0},R_=function(e,t){return $r(e)&&e.value===t},$Z=function(e){return e.type!==31},Cg=function(e){return e.type!==31&&e.type!==4},Kl=function(e){var t=[],n=[];return e.forEach(function(r){if(r.type===4){if(n.length===0)throw new Error("Error parsing function args, zero tokens for arg");t.push(n),n=[];return}r.type!==31&&n.push(r)}),n.length&&t.push(n),t},tPe=function(e,t){return t===11&&e.type===12||t===28&&e.type===29?!0:t===2&&e.type===3},yf=function(e){return e.type===17||e.type===15},Wi=function(e){return e.type===16||yf(e)},NZ=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},Fo={type:17,number:0,flags:Hv},yU={type:16,number:50,flags:Hv},of={type:16,number:100,flags:Hv},Y0=function(e,t,n){var r=e[0],i=e[1];return[Wr(r,t),Wr(typeof i<"u"?i:r,n)]},Wr=function(e,t){if(e.type===16)return e.number/100*t;if(Mv(e))switch(e.unit){case"rem":case"em":return 16*e.number;case"px":default:return e.number}return e.number},HZ="deg",MZ="grad",kZ="rad",jZ="turn",_C={name:"angle",parse:function(e,t){if(t.type===15)switch(t.unit){case HZ:return Math.PI*t.number/180;case MZ:return Math.PI/200*t.number;case kZ:return t.number;case jZ:return Math.PI*2*t.number}throw new Error("Unsupported angle type")}},KZ=function(e){return e.type===15&&(e.unit===HZ||e.unit===MZ||e.unit===kZ||e.unit===jZ)},VZ=function(e){var t=e.filter($r).map(function(n){return n.value}).join(" ");switch(t){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Fo,Fo];case"to top":case"bottom":return La(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Fo,of];case"to right":case"left":return La(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[of,of];case"to bottom":case"top":return La(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[of,Fo];case"to left":case"right":return La(270)}return 0},La=function(e){return Math.PI*e/180},uf={name:"color",parse:function(e,t){if(t.type===18){var n=nPe[t.name];if(typeof n>"u")throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return n(e,t.values)}if(t.type===5){if(t.value.length===3){var r=t.value.substring(0,1),i=t.value.substring(1,2),o=t.value.substring(2,3);return Af(parseInt(r+r,16),parseInt(i+i,16),parseInt(o+o,16),1)}if(t.value.length===4){var r=t.value.substring(0,1),i=t.value.substring(1,2),o=t.value.substring(2,3),A=t.value.substring(3,4);return Af(parseInt(r+r,16),parseInt(i+i,16),parseInt(o+o,16),parseInt(A+A,16)/255)}if(t.value.length===6){var r=t.value.substring(0,2),i=t.value.substring(2,4),o=t.value.substring(4,6);return Af(parseInt(r,16),parseInt(i,16),parseInt(o,16),1)}if(t.value.length===8){var r=t.value.substring(0,2),i=t.value.substring(2,4),o=t.value.substring(4,6),A=t.value.substring(6,8);return Af(parseInt(r,16),parseInt(i,16),parseInt(o,16),parseInt(A,16)/255)}}if(t.type===20){var a=Nu[t.value.toUpperCase()];if(typeof a<"u")return a}return Nu.TRANSPARENT}},cf=function(e){return(255&e)===0},lo=function(e){var t=255&e,n=255&e>>8,r=255&e>>16,i=255&e>>24;return t<255?"rgba("+i+","+r+","+n+","+t/255+")":"rgb("+i+","+r+","+n+")"},Af=function(e,t,n,r){return(e<<24|t<<16|n<<8|Math.round(r*255)<<0)>>>0},xM=function(e,t){if(e.type===17)return e.number;if(e.type===16){var n=t===3?1:255;return t===3?e.number/100*n:Math.round(e.number/100*n)}return 0},SM=function(e,t){var n=t.filter(Cg);if(n.length===3){var r=n.map(xM),i=r[0],o=r[1],A=r[2];return Af(i,o,A,1)}if(n.length===4){var a=n.map(xM),i=a[0],o=a[1],A=a[2],s=a[3];return Af(i,o,A,s)}return 0};function o5(e,t,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(t-e)*n*6+e:n<1/2?t:n<2/3?(t-e)*6*(2/3-n)+e:e}var EM=function(e,t){var n=t.filter(Cg),r=n[0],i=n[1],o=n[2],A=n[3],a=(r.type===17?La(r.number):_C.parse(e,r))/(Math.PI*2),s=Wi(i)?i.number/100:0,u=Wi(o)?o.number/100:0,l=typeof A<"u"&&Wi(A)?Wr(A,1):1;if(s===0)return Af(u*255,u*255,u*255,1);var c=u<=.5?u*(s+1):u+s-u*s,d=u*2-c,f=o5(d,c,a+1/3),g=o5(d,c,a),h=o5(d,c,a-1/3);return Af(f*255,g*255,h*255,l)},nPe={hsl:EM,hsla:EM,rgb:SM,rgba:SM},Im=function(e,t){return uf.parse(e,RZ.create(t).parseComponentValue())},Nu={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},rPe={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map(function(n){if($r(n))switch(n.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},iPe={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},OC=function(e,t){var n=uf.parse(e,t[0]),r=t[1];return r&&Wi(r)?{color:n,stop:r}:{color:n,stop:null}},FM=function(e,t){var n=e[0],r=e[e.length-1];n.stop===null&&(n.stop=Fo),r.stop===null&&(r.stop=of);for(var i=[],o=0,A=0;A<e.length;A++){var a=e[A].stop;if(a!==null){var s=Wr(a,t);s>o?i.push(s):i.push(o),o=s}else i.push(null)}for(var u=null,A=0;A<i.length;A++){var l=i[A];if(l===null)u===null&&(u=A);else if(u!==null){for(var c=A-u,d=i[u-1],f=(l-d)/(c+1),g=1;g<=c;g++)i[u+g-1]=f*g;u=null}}return e.map(function(h,m){var p=h.color;return{color:p,stop:Math.max(Math.min(1,i[m]/t),0)}})},oPe=function(e,t,n){var r=t/2,i=n/2,o=Wr(e[0],t)-r,A=i-Wr(e[1],n);return(Math.atan2(A,o)+Math.PI*2)%(Math.PI*2)},APe=function(e,t,n){var r=typeof e=="number"?e:oPe(e,t,n),i=Math.abs(t*Math.sin(r))+Math.abs(n*Math.cos(r)),o=t/2,A=n/2,a=i/2,s=Math.sin(r-Math.PI/2)*a,u=Math.cos(r-Math.PI/2)*a;return[i,o-u,o+u,A-s,A+s]},ds=function(e,t){return Math.sqrt(e*e+t*t)},IM=function(e,t,n,r,i){var o=[[0,0],[0,t],[e,0],[e,t]];return o.reduce(function(A,a){var s=a[0],u=a[1],l=ds(n-s,r-u);return(i?l<A.optimumDistance:l>A.optimumDistance)?{optimumCorner:a,optimumDistance:l}:A},{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},aPe=function(e,t,n,r,i){var o=0,A=0;switch(e.size){case 0:e.shape===0?o=A=Math.min(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):e.shape===1&&(o=Math.min(Math.abs(t),Math.abs(t-r)),A=Math.min(Math.abs(n),Math.abs(n-i)));break;case 2:if(e.shape===0)o=A=Math.min(ds(t,n),ds(t,n-i),ds(t-r,n),ds(t-r,n-i));else if(e.shape===1){var a=Math.min(Math.abs(n),Math.abs(n-i))/Math.min(Math.abs(t),Math.abs(t-r)),s=IM(r,i,t,n,!0),u=s[0],l=s[1];o=ds(u-t,(l-n)/a),A=a*o}break;case 1:e.shape===0?o=A=Math.max(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):e.shape===1&&(o=Math.max(Math.abs(t),Math.abs(t-r)),A=Math.max(Math.abs(n),Math.abs(n-i)));break;case 3:if(e.shape===0)o=A=Math.max(ds(t,n),ds(t,n-i),ds(t-r,n),ds(t-r,n-i));else if(e.shape===1){var a=Math.max(Math.abs(n),Math.abs(n-i))/Math.max(Math.abs(t),Math.abs(t-r)),c=IM(r,i,t,n,!1),u=c[0],l=c[1];o=ds(u-t,(l-n)/a),A=a*o}break}return Array.isArray(e.size)&&(o=Wr(e.size[0],r),A=e.size.length===2?Wr(e.size[1],i):o),[o,A]},sPe=function(e,t){var n=La(180),r=[];return Kl(t).forEach(function(i,o){if(o===0){var A=i[0];if(A.type===20&&A.value==="to"){n=VZ(i);return}else if(KZ(A)){n=_C.parse(e,A);return}}var a=OC(e,i);r.push(a)}),{angle:n,stops:r,type:1}},My=function(e,t){var n=La(180),r=[];return Kl(t).forEach(function(i,o){if(o===0){var A=i[0];if(A.type===20&&["top","left","right","bottom"].indexOf(A.value)!==-1){n=VZ(i);return}else if(KZ(A)){n=(_C.parse(e,A)+La(270))%La(360);return}}var a=OC(e,i);r.push(a)}),{angle:n,stops:r,type:1}},lPe=function(e,t){var n=La(180),r=[],i=1,o=0,A=3,a=[];return Kl(t).forEach(function(s,u){var l=s[0];if(u===0){if($r(l)&&l.value==="linear"){i=1;return}else if($r(l)&&l.value==="radial"){i=2;return}}if(l.type===18){if(l.name==="from"){var c=uf.parse(e,l.values[0]);r.push({stop:Fo,color:c})}else if(l.name==="to"){var c=uf.parse(e,l.values[0]);r.push({stop:of,color:c})}else if(l.name==="color-stop"){var d=l.values.filter(Cg);if(d.length===2){var c=uf.parse(e,d[1]),f=d[0];kg(f)&&r.push({stop:{type:16,number:f.number*100,flags:f.flags},color:c})}}}}),i===1?{angle:(n+La(180))%La(360),stops:r,type:i}:{size:A,shape:o,stops:r,position:a,type:i}},zZ="closest-side",GZ="farthest-side",WZ="closest-corner",qZ="farthest-corner",XZ="circle",YZ="ellipse",JZ="cover",ZZ="contain",uPe=function(e,t){var n=0,r=3,i=[],o=[];return Kl(t).forEach(function(A,a){var s=!0;if(a===0){var u=!1;s=A.reduce(function(c,d){if(u)if($r(d))switch(d.value){case"center":return o.push(yU),c;case"top":case"left":return o.push(Fo),c;case"right":case"bottom":return o.push(of),c}else(Wi(d)||yf(d))&&o.push(d);else if($r(d))switch(d.value){case XZ:return n=0,!1;case YZ:return n=1,!1;case"at":return u=!0,!1;case zZ:return r=0,!1;case JZ:case GZ:return r=1,!1;case ZZ:case WZ:return r=2,!1;case qZ:return r=3,!1}else if(yf(d)||Wi(d))return Array.isArray(r)||(r=[]),r.push(d),!1;return c},s)}if(s){var l=OC(e,A);i.push(l)}}),{size:r,shape:n,stops:i,position:o,type:2}},ky=function(e,t){var n=0,r=3,i=[],o=[];return Kl(t).forEach(function(A,a){var s=!0;if(a===0?s=A.reduce(function(l,c){if($r(c))switch(c.value){case"center":return o.push(yU),!1;case"top":case"left":return o.push(Fo),!1;case"right":case"bottom":return o.push(of),!1}else if(Wi(c)||yf(c))return o.push(c),!1;return l},s):a===1&&(s=A.reduce(function(l,c){if($r(c))switch(c.value){case XZ:return n=0,!1;case YZ:return n=1,!1;case ZZ:case zZ:return r=0,!1;case GZ:return r=1,!1;case WZ:return r=2,!1;case JZ:case qZ:return r=3,!1}else if(yf(c)||Wi(c))return Array.isArray(r)||(r=[]),r.push(c),!1;return l},s)),s){var u=OC(e,A);i.push(u)}}),{size:r,shape:n,stops:i,position:o,type:2}},cPe=function(e){return e.type===1},fPe=function(e){return e.type===2},bU={name:"image",parse:function(e,t){if(t.type===22){var n={url:t.value,type:0};return e.cache.addImage(t.value),n}if(t.type===18){var r=eee[t.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return r(e,t.values)}throw new Error("Unsupported image type "+t.type)}};function dPe(e){return!(e.type===20&&e.value==="none")&&(e.type!==18||!!eee[e.name])}var eee={"linear-gradient":sPe,"-moz-linear-gradient":My,"-ms-linear-gradient":My,"-o-linear-gradient":My,"-webkit-linear-gradient":My,"radial-gradient":uPe,"-moz-radial-gradient":ky,"-ms-radial-gradient":ky,"-o-radial-gradient":ky,"-webkit-radial-gradient":ky,"-webkit-gradient":lPe},hPe={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(t.length===0)return[];var n=t[0];return n.type===20&&n.value==="none"?[]:t.filter(function(r){return Cg(r)&&dPe(r)}).map(function(r){return bU.parse(e,r)})}},pPe={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map(function(n){if($r(n))switch(n.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},gPe={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,t){return Kl(t).map(function(n){return n.filter(Wi)}).map(NZ)}},mPe={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,t){return Kl(t).map(function(n){return n.filter($r).map(function(r){return r.value}).join(" ")}).map(vPe)}},vPe=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},ng;(function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"})(ng||(ng={}));var yPe={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,t){return Kl(t).map(function(n){return n.filter(bPe)})}},bPe=function(e){return $r(e)||Wi(e)},TC=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},wPe=TC("top"),BPe=TC("right"),CPe=TC("bottom"),xPe=TC("left"),UC=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(t,n){return NZ(n.filter(Wi))}}},SPe=UC("top-left"),EPe=UC("top-right"),FPe=UC("bottom-right"),IPe=UC("bottom-left"),QC=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(t,n){switch(n){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},_Pe=QC("top"),OPe=QC("right"),TPe=QC("bottom"),UPe=QC("left"),PC=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(t,n){return Mv(n)?n.number:0}}},QPe=PC("top"),PPe=PC("right"),LPe=PC("bottom"),DPe=PC("left"),RPe={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},$Pe={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,t){switch(t){case"rtl":return 1;case"ltr":default:return 0}}},NPe={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,t){return t.filter($r).reduce(function(n,r){return n|HPe(r.value)},0)}},HPe=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},MPe={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},kPe={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,t){return t.type===20&&t.value==="normal"?0:t.type===17||t.type===15?t.number:0}},Gw;(function(e){e.NORMAL="normal",e.STRICT="strict"})(Gw||(Gw={}));var jPe={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"strict":return Gw.STRICT;case"normal":default:return Gw.NORMAL}}},KPe={name:"line-height",initialValue:"normal",prefix:!1,type:4},_M=function(e,t){return $r(e)&&e.value==="normal"?1.2*t:e.type===17?t*e.number:Wi(e)?Wr(e,t):t},VPe={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,t){return t.type===20&&t.value==="none"?null:bU.parse(e,t)}},zPe={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,t){switch(t){case"inside":return 0;case"outside":default:return 1}}},$_={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},LC=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},GPe=LC("top"),WPe=LC("right"),qPe=LC("bottom"),XPe=LC("left"),YPe={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,t){return t.filter($r).map(function(n){switch(n.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},JPe={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-word":return"break-word";case"normal":default:return"normal"}}},DC=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},ZPe=DC("top"),eLe=DC("right"),tLe=DC("bottom"),nLe=DC("left"),rLe={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,t){switch(t){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},iLe={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},oLe={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.length===1&&R_(t[0],"none")?[]:Kl(t).map(function(n){for(var r={color:Nu.TRANSPARENT,offsetX:Fo,offsetY:Fo,blur:Fo},i=0,o=0;o<n.length;o++){var A=n[o];yf(A)?(i===0?r.offsetX=A:i===1?r.offsetY=A:r.blur=A,i++):r.color=uf.parse(e,A)}return r})}},ALe={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},aLe={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(e,t){if(t.type===20&&t.value==="none")return null;if(t.type===18){var n=uLe[t.name];if(typeof n>"u")throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return n(t.values)}return null}},sLe=function(e){var t=e.filter(function(n){return n.type===17}).map(function(n){return n.number});return t.length===6?t:null},lLe=function(e){var t=e.filter(function(s){return s.type===17}).map(function(s){return s.number}),n=t[0],r=t[1];t[2],t[3];var i=t[4],o=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var A=t[12],a=t[13];return t[14],t[15],t.length===16?[n,r,i,o,A,a]:null},uLe={matrix:sLe,matrix3d:lLe},OM={type:16,number:50,flags:Hv},cLe=[OM,OM],fLe={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,t){var n=t.filter(Wi);return n.length!==2?cLe:[n[0],n[1]]}},dLe={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},_m;(function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"})(_m||(_m={}));var hLe={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-all":return _m.BREAK_ALL;case"keep-all":return _m.KEEP_ALL;case"normal":default:return _m.NORMAL}}},pLe={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,t){if(t.type===20)return{auto:!0,order:0};if(kg(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},tee={name:"time",parse:function(e,t){if(t.type===15)switch(t.unit.toLowerCase()){case"s":return 1e3*t.number;case"ms":return t.number}throw new Error("Unsupported time type")}},gLe={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,t){return kg(t)?t.number:1}},mLe={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},vLe={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,t){return t.filter($r).map(function(n){switch(n.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(n){return n!==0})}},yLe={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,t){var n=[],r=[];return t.forEach(function(i){switch(i.type){case 20:case 0:n.push(i.value);break;case 17:n.push(i.number.toString());break;case 4:r.push(n.join(" ")),n.length=0;break}}),n.length&&r.push(n.join(" ")),r.map(function(i){return i.indexOf(" ")===-1?i:"'"+i+"'"})}},bLe={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},wLe={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,t){if(kg(t))return t.number;if($r(t))switch(t.value){case"bold":return 700;case"normal":default:return 400}return 400}},BLe={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.filter($r).map(function(n){return n.value})}},CLe={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},eo=function(e,t){return(e&t)!==0},xLe={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(t.length===0)return[];var n=t[0];return n.type===20&&n.value==="none"?[]:t}},SLe={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(t.length===0)return null;var n=t[0];if(n.type===20&&n.value==="none")return null;for(var r=[],i=t.filter($Z),o=0;o<i.length;o++){var A=i[o],a=i[o+1];if(A.type===20){var s=a&&kg(a)?a.number:1;r.push({counter:A.value,increment:s})}}return r}},ELe={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(t.length===0)return[];for(var n=[],r=t.filter($Z),i=0;i<r.length;i++){var o=r[i],A=r[i+1];if($r(o)&&o.value!=="none"){var a=A&&kg(A)?A.number:0;n.push({counter:o.value,reset:a})}}return n}},FLe={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,t){return t.filter(Mv).map(function(n){return tee.parse(e,n)})}},ILe={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(t.length===0)return null;var n=t[0];if(n.type===20&&n.value==="none")return null;var r=[],i=t.filter(ePe);if(i.length%2!==0)return null;for(var o=0;o<i.length;o+=2){var A=i[o].value,a=i[o+1].value;r.push({open:A,close:a})}return r}},TM=function(e,t,n){if(!e)return"";var r=e[Math.min(t,e.length-1)];return r?n?r.open:r.close:""},_Le={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.length===1&&R_(t[0],"none")?[]:Kl(t).map(function(n){for(var r={color:255,offsetX:Fo,offsetY:Fo,blur:Fo,spread:Fo,inset:!1},i=0,o=0;o<n.length;o++){var A=n[o];R_(A,"inset")?r.inset=!0:yf(A)?(i===0?r.offsetX=A:i===1?r.offsetY=A:i===2?r.blur=A:r.spread=A,i++):r.color=uf.parse(e,A)}return r})}},OLe={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,t){var n=[0,1,2],r=[];return t.filter($r).forEach(function(i){switch(i.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),n.forEach(function(i){r.indexOf(i)===-1&&r.push(i)}),r}},TLe={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},ULe={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Mv(t)?t.number:0}},QLe=function(){function e(t,n){var r,i;this.animationDuration=Wt(t,FLe,n.animationDuration),this.backgroundClip=Wt(t,rPe,n.backgroundClip),this.backgroundColor=Wt(t,iPe,n.backgroundColor),this.backgroundImage=Wt(t,hPe,n.backgroundImage),this.backgroundOrigin=Wt(t,pPe,n.backgroundOrigin),this.backgroundPosition=Wt(t,gPe,n.backgroundPosition),this.backgroundRepeat=Wt(t,mPe,n.backgroundRepeat),this.backgroundSize=Wt(t,yPe,n.backgroundSize),this.borderTopColor=Wt(t,wPe,n.borderTopColor),this.borderRightColor=Wt(t,BPe,n.borderRightColor),this.borderBottomColor=Wt(t,CPe,n.borderBottomColor),this.borderLeftColor=Wt(t,xPe,n.borderLeftColor),this.borderTopLeftRadius=Wt(t,SPe,n.borderTopLeftRadius),this.borderTopRightRadius=Wt(t,EPe,n.borderTopRightRadius),this.borderBottomRightRadius=Wt(t,FPe,n.borderBottomRightRadius),this.borderBottomLeftRadius=Wt(t,IPe,n.borderBottomLeftRadius),this.borderTopStyle=Wt(t,_Pe,n.borderTopStyle),this.borderRightStyle=Wt(t,OPe,n.borderRightStyle),this.borderBottomStyle=Wt(t,TPe,n.borderBottomStyle),this.borderLeftStyle=Wt(t,UPe,n.borderLeftStyle),this.borderTopWidth=Wt(t,QPe,n.borderTopWidth),this.borderRightWidth=Wt(t,PPe,n.borderRightWidth),this.borderBottomWidth=Wt(t,LPe,n.borderBottomWidth),this.borderLeftWidth=Wt(t,DPe,n.borderLeftWidth),this.boxShadow=Wt(t,_Le,n.boxShadow),this.color=Wt(t,RPe,n.color),this.direction=Wt(t,$Pe,n.direction),this.display=Wt(t,NPe,n.display),this.float=Wt(t,MPe,n.cssFloat),this.fontFamily=Wt(t,yLe,n.fontFamily),this.fontSize=Wt(t,bLe,n.fontSize),this.fontStyle=Wt(t,CLe,n.fontStyle),this.fontVariant=Wt(t,BLe,n.fontVariant),this.fontWeight=Wt(t,wLe,n.fontWeight),this.letterSpacing=Wt(t,kPe,n.letterSpacing),this.lineBreak=Wt(t,jPe,n.lineBreak),this.lineHeight=Wt(t,KPe,n.lineHeight),this.listStyleImage=Wt(t,VPe,n.listStyleImage),this.listStylePosition=Wt(t,zPe,n.listStylePosition),this.listStyleType=Wt(t,$_,n.listStyleType),this.marginTop=Wt(t,GPe,n.marginTop),this.marginRight=Wt(t,WPe,n.marginRight),this.marginBottom=Wt(t,qPe,n.marginBottom),this.marginLeft=Wt(t,XPe,n.marginLeft),this.opacity=Wt(t,gLe,n.opacity);var o=Wt(t,YPe,n.overflow);this.overflowX=o[0],this.overflowY=o[o.length>1?1:0],this.overflowWrap=Wt(t,JPe,n.overflowWrap),this.paddingTop=Wt(t,ZPe,n.paddingTop),this.paddingRight=Wt(t,eLe,n.paddingRight),this.paddingBottom=Wt(t,tLe,n.paddingBottom),this.paddingLeft=Wt(t,nLe,n.paddingLeft),this.paintOrder=Wt(t,OLe,n.paintOrder),this.position=Wt(t,iLe,n.position),this.textAlign=Wt(t,rLe,n.textAlign),this.textDecorationColor=Wt(t,mLe,(r=n.textDecorationColor)!==null&&r!==void 0?r:n.color),this.textDecorationLine=Wt(t,vLe,(i=n.textDecorationLine)!==null&&i!==void 0?i:n.textDecoration),this.textShadow=Wt(t,oLe,n.textShadow),this.textTransform=Wt(t,ALe,n.textTransform),this.transform=Wt(t,aLe,n.transform),this.transformOrigin=Wt(t,fLe,n.transformOrigin),this.visibility=Wt(t,dLe,n.visibility),this.webkitTextStrokeColor=Wt(t,TLe,n.webkitTextStrokeColor),this.webkitTextStrokeWidth=Wt(t,ULe,n.webkitTextStrokeWidth),this.wordBreak=Wt(t,hLe,n.wordBreak),this.zIndex=Wt(t,pLe,n.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},e.prototype.isTransparent=function(){return cf(this.backgroundColor)},e.prototype.isTransformed=function(){return this.transform!==null},e.prototype.isPositioned=function(){return this.position!==0},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return this.float!==0},e.prototype.isInlineLevel=function(){return eo(this.display,4)||eo(this.display,33554432)||eo(this.display,268435456)||eo(this.display,536870912)||eo(this.display,67108864)||eo(this.display,134217728)},e}(),PLe=function(){function e(t,n){this.content=Wt(t,xLe,n.content),this.quotes=Wt(t,ILe,n.quotes)}return e}(),UM=function(){function e(t,n){this.counterIncrement=Wt(t,SLe,n.counterIncrement),this.counterReset=Wt(t,ELe,n.counterReset)}return e}(),Wt=function(e,t,n){var r=new DZ,i=n!==null&&typeof n<"u"?n.toString():t.initialValue;r.write(i);var o=new RZ(r.read());switch(t.type){case 2:var A=o.parseComponentValue();return t.parse(e,$r(A)?A.value:t.initialValue);case 0:return t.parse(e,o.parseComponentValue());case 1:return t.parse(e,o.parseComponentValues());case 4:return o.parseComponentValue();case 3:switch(t.format){case"angle":return _C.parse(e,o.parseComponentValue());case"color":return uf.parse(e,o.parseComponentValue());case"image":return bU.parse(e,o.parseComponentValue());case"length":var a=o.parseComponentValue();return yf(a)?a:Fo;case"length-percentage":var s=o.parseComponentValue();return Wi(s)?s:Fo;case"time":return tee.parse(e,o.parseComponentValue())}break}},LLe="data-html2canvas-debug",DLe=function(e){var t=e.getAttribute(LLe);switch(t){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},N_=function(e,t){var n=DLe(e);return n===1||t===n},Vl=function(){function e(t,n){if(this.context=t,this.textNodes=[],this.elements=[],this.flags=0,N_(n,3))debugger;this.styles=new QLe(t,window.getComputedStyle(n,null)),k_(n)&&(this.styles.animationDuration.some(function(r){return r>0})&&(n.style.animationDuration="0s"),this.styles.transform!==null&&(n.style.transform="none")),this.bounds=FC(this.context,n),N_(n,4)&&(this.flags|=16)}return e}(),RLe="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",QM="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",J0=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var jy=0;jy<QM.length;jy++)J0[QM.charCodeAt(jy)]=jy;var $Le=function(e){var t=e.length*.75,n=e.length,r,i=0,o,A,a,s;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);var u=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(t):new Array(t),l=Array.isArray(u)?u:new Uint8Array(u);for(r=0;r<n;r+=4)o=J0[e.charCodeAt(r)],A=J0[e.charCodeAt(r+1)],a=J0[e.charCodeAt(r+2)],s=J0[e.charCodeAt(r+3)],l[i++]=o<<2|A>>4,l[i++]=(A&15)<<4|a>>2,l[i++]=(a&3)<<6|s&63;return u},NLe=function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n},HLe=function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n},jd=5,wU=11,A5=2,MLe=wU-jd,nee=65536>>jd,kLe=1<<jd,a5=kLe-1,jLe=1024>>jd,KLe=nee+jLe,VLe=KLe,zLe=32,GLe=VLe+zLe,WLe=65536>>wU,qLe=1<<MLe,XLe=qLe-1,PM=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},YLe=function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))},JLe=function(e,t){var n=$Le(e),r=Array.isArray(n)?HLe(n):new Uint32Array(n),i=Array.isArray(n)?NLe(n):new Uint16Array(n),o=24,A=PM(i,o/2,r[4]/2),a=r[5]===2?PM(i,(o+r[4])/2):YLe(r,Math.ceil((o+r[4])/4));return new ZLe(r[0],r[1],r[2],r[3],A,a)},ZLe=function(){function e(t,n,r,i,o,A){this.initialValue=t,this.errorValue=n,this.highStart=r,this.highValueIndex=i,this.index=o,this.data=A}return e.prototype.get=function(t){var n;if(t>=0){if(t<55296||t>56319&&t<=65535)return n=this.index[t>>jd],n=(n<<A5)+(t&a5),this.data[n];if(t<=65535)return n=this.index[nee+(t-55296>>jd)],n=(n<<A5)+(t&a5),this.data[n];if(t<this.highStart)return n=GLe-WLe+(t>>wU),n=this.index[n],n+=t>>jd&XLe,n=this.index[n],n=(n<<A5)+(t&a5),this.data[n];if(t<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),LM="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",eDe=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Ky=0;Ky<LM.length;Ky++)eDe[LM.charCodeAt(Ky)]=Ky;var tDe=1,s5=2,l5=3,DM=4,RM=5,nDe=7,$M=8,u5=9,c5=10,NM=11,HM=12,MM=13,kM=14,f5=15,rDe=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);(o&64512)===56320?t.push(((i&1023)<<10)+(o&1023)+65536):(t.push(i),n--)}else t.push(i)}return t},iDe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var r=[],i=-1,o="";++i<n;){var A=e[i];A<=65535?r.push(A):(A-=65536,r.push((A>>10)+55296,A%1024+56320)),(i+1===n||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o},oDe=JLe(RLe),Ua="×",d5="÷",ADe=function(e){return oDe.get(e)},aDe=function(e,t,n){var r=n-2,i=t[r],o=t[n-1],A=t[n];if(o===s5&&A===l5)return Ua;if(o===s5||o===l5||o===DM||A===s5||A===l5||A===DM)return d5;if(o===$M&&[$M,u5,NM,HM].indexOf(A)!==-1||(o===NM||o===u5)&&(A===u5||A===c5)||(o===HM||o===c5)&&A===c5||A===MM||A===RM||A===nDe||o===tDe)return Ua;if(o===MM&&A===kM){for(;i===RM;)i=t[--r];if(i===kM)return Ua}if(o===f5&&A===f5){for(var a=0;i===f5;)a++,i=t[--r];if(a%2===0)return Ua}return d5},sDe=function(e){var t=rDe(e),n=t.length,r=0,i=0,o=t.map(ADe);return{next:function(){if(r>=n)return{done:!0,value:null};for(var A=Ua;r<n&&(A=aDe(t,o,++r))===Ua;);if(A!==Ua||r===n){var a=iDe.apply(null,t.slice(i,r));return i=r,{value:a,done:!1}}return{done:!0,value:null}}}},lDe=function(e){for(var t=sDe(e),n=[],r;!(r=t.next()).done;)r.value&&n.push(r.value.slice());return n},uDe=function(e){var t=123;if(e.createRange){var n=e.createRange();if(n.getBoundingClientRect){var r=e.createElement("boundtest");r.style.height=t+"px",r.style.display="block",e.body.appendChild(r),n.selectNode(r);var i=n.getBoundingClientRect(),o=Math.round(i.height);if(e.body.removeChild(r),o===t)return!0}}return!1},cDe=function(e){var t=e.createElement("boundtest");t.style.width="50px",t.style.display="block",t.style.fontSize="12px",t.style.letterSpacing="0px",t.style.wordSpacing="0px",e.body.appendChild(t);var n=e.createRange();t.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var r=t.firstChild,i=IC(r.data).map(function(s){return Ui(s)}),o=0,A={},a=i.every(function(s,u){n.setStart(r,o),n.setEnd(r,o+s.length);var l=n.getBoundingClientRect();o+=s.length;var c=l.x>A.x||l.y>A.y;return A=l,u===0?!0:c});return e.body.removeChild(t),a},fDe=function(){return typeof new Image().crossOrigin<"u"},dDe=function(){return typeof new XMLHttpRequest().responseType=="string"},hDe=function(e){var t=new Image,n=e.createElement("canvas"),r=n.getContext("2d");if(!r)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(t,0,0),n.toDataURL()}catch{return!1}return!0},jM=function(e){return e[0]===0&&e[1]===255&&e[2]===0&&e[3]===255},pDe=function(e){var t=e.createElement("canvas"),n=100;t.width=n,t.height=n;var r=t.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,n,n);var i=new Image,o=t.toDataURL();i.src=o;var A=H_(n,n,0,0,i);return r.fillStyle="red",r.fillRect(0,0,n,n),KM(A).then(function(a){r.drawImage(a,0,0);var s=r.getImageData(0,0,n,n).data;r.fillStyle="red",r.fillRect(0,0,n,n);var u=e.createElement("div");return u.style.backgroundImage="url("+o+")",u.style.height=n+"px",jM(s)?KM(H_(n,n,0,0,u)):Promise.reject(!1)}).then(function(a){return r.drawImage(a,0,0),jM(r.getImageData(0,0,n,n).data)}).catch(function(){return!1})},H_=function(e,t,n,r,i){var o="http://www.w3.org/2000/svg",A=document.createElementNS(o,"svg"),a=document.createElementNS(o,"foreignObject");return A.setAttributeNS(null,"width",e.toString()),A.setAttributeNS(null,"height",t.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",n.toString()),a.setAttributeNS(null,"y",r.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),A.appendChild(a),a.appendChild(i),A},KM=function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){return t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},Co={get SUPPORT_RANGE_BOUNDS(){var e=uDe(document);return Object.defineProperty(Co,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=Co.SUPPORT_RANGE_BOUNDS&&cDe(document);return Object.defineProperty(Co,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=hDe(document);return Object.defineProperty(Co,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e=typeof Array.from=="function"&&typeof window.fetch=="function"?pDe(document):Promise.resolve(!1);return Object.defineProperty(Co,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=fDe();return Object.defineProperty(Co,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=dDe();return Object.defineProperty(Co,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Co,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(Co,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},Om=function(){function e(t,n){this.text=t,this.bounds=n}return e}(),gDe=function(e,t,n,r){var i=yDe(t,n),o=[],A=0;return i.forEach(function(a){if(n.textDecorationLine.length||a.trim().length>0)if(Co.SUPPORT_RANGE_BOUNDS){var s=VM(r,A,a.length).getClientRects();if(s.length>1){var u=BU(a),l=0;u.forEach(function(d){o.push(new Om(d,zu.fromDOMRectList(e,VM(r,l+A,d.length).getClientRects()))),l+=d.length})}else o.push(new Om(a,zu.fromDOMRectList(e,s)))}else{var c=r.splitText(a.length);o.push(new Om(a,mDe(e,r))),r=c}else Co.SUPPORT_RANGE_BOUNDS||(r=r.splitText(a.length));A+=a.length}),o},mDe=function(e,t){var n=t.ownerDocument;if(n){var r=n.createElement("html2canvaswrapper");r.appendChild(t.cloneNode(!0));var i=t.parentNode;if(i){i.replaceChild(r,t);var o=FC(e,r);return r.firstChild&&i.replaceChild(r.firstChild,r),o}}return zu.EMPTY},VM=function(e,t,n){var r=e.ownerDocument;if(!r)throw new Error("Node has no owner document");var i=r.createRange();return i.setStart(e,t),i.setEnd(e,t+n),i},BU=function(e){if(Co.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e)).map(function(n){return n.segment})}return lDe(e)},vDe=function(e,t){if(Co.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(n.segment(e)).map(function(r){return r.segment})}return wDe(e,t)},yDe=function(e,t){return t.letterSpacing!==0?BU(e):vDe(e,t)},bDe=[32,160,4961,65792,65793,4153,4241],wDe=function(e,t){for(var n=WQe(e,{lineBreak:t.lineBreak,wordBreak:t.overflowWrap==="break-word"?"break-word":t.wordBreak}),r=[],i,o=function(){if(i.value){var A=i.value.slice(),a=IC(A),s="";a.forEach(function(u){bDe.indexOf(u)===-1?s+=Ui(u):(s.length&&r.push(s),r.push(Ui(u)),s="")}),s.length&&r.push(s)}};!(i=n.next()).done;)o();return r},BDe=function(){function e(t,n,r){this.text=CDe(n.data,r.textTransform),this.textBounds=gDe(t,this.text,r,n)}return e}(),CDe=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(xDe,SDe);case 2:return e.toUpperCase();default:return e}},xDe=/(^|\s|:|-|\(|\))([a-z])/g,SDe=function(e,t,n){return e.length>0?t+n.toUpperCase():e},ree=function(e){Ds(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.src=r.currentSrc||r.src,i.intrinsicWidth=r.naturalWidth,i.intrinsicHeight=r.naturalHeight,i.context.cache.addImage(i.src),i}return t}(Vl),iee=function(e){Ds(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.canvas=r,i.intrinsicWidth=r.width,i.intrinsicHeight=r.height,i}return t}(Vl),oee=function(e){Ds(t,e);function t(n,r){var i=e.call(this,n,r)||this,o=new XMLSerializer,A=FC(n,r);return r.setAttribute("width",A.width+"px"),r.setAttribute("height",A.height+"px"),i.svg="data:image/svg+xml,"+encodeURIComponent(o.serializeToString(r)),i.intrinsicWidth=r.width.baseVal.value,i.intrinsicHeight=r.height.baseVal.value,i.context.cache.addImage(i.svg),i}return t}(Vl),Aee=function(e){Ds(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.value=r.value,i}return t}(Vl),M_=function(e){Ds(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.start=r.start,i.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,i}return t}(Vl),EDe=[{type:15,flags:0,unit:"px",number:3}],FDe=[{type:16,flags:0,number:50}],IDe=function(e){return e.width>e.height?new zu(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new zu(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e},_De=function(e){var t=e.type===ODe?new Array(e.value.length+1).join("•"):e.value;return t.length===0?e.placeholder||"":t},Ww="checkbox",qw="radio",ODe="password",zM=707406591,CU=function(e){Ds(t,e);function t(n,r){var i=e.call(this,n,r)||this;switch(i.type=r.type.toLowerCase(),i.checked=r.checked,i.value=_De(r),(i.type===Ww||i.type===qw)&&(i.styles.backgroundColor=3739148031,i.styles.borderTopColor=i.styles.borderRightColor=i.styles.borderBottomColor=i.styles.borderLeftColor=2779096575,i.styles.borderTopWidth=i.styles.borderRightWidth=i.styles.borderBottomWidth=i.styles.borderLeftWidth=1,i.styles.borderTopStyle=i.styles.borderRightStyle=i.styles.borderBottomStyle=i.styles.borderLeftStyle=1,i.styles.backgroundClip=[0],i.styles.backgroundOrigin=[0],i.bounds=IDe(i.bounds)),i.type){case Ww:i.styles.borderTopRightRadius=i.styles.borderTopLeftRadius=i.styles.borderBottomRightRadius=i.styles.borderBottomLeftRadius=EDe;break;case qw:i.styles.borderTopRightRadius=i.styles.borderTopLeftRadius=i.styles.borderBottomRightRadius=i.styles.borderBottomLeftRadius=FDe;break}return i}return t}(Vl),aee=function(e){Ds(t,e);function t(n,r){var i=e.call(this,n,r)||this,o=r.options[r.selectedIndex||0];return i.value=o&&o.text||"",i}return t}(Vl),see=function(e){Ds(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.value=r.value,i}return t}(Vl),lee=function(e){Ds(t,e);function t(n,r){var i=e.call(this,n,r)||this;i.src=r.src,i.width=parseInt(r.width,10)||0,i.height=parseInt(r.height,10)||0,i.backgroundColor=i.styles.backgroundColor;try{if(r.contentWindow&&r.contentWindow.document&&r.contentWindow.document.documentElement){i.tree=cee(n,r.contentWindow.document.documentElement);var o=r.contentWindow.document.documentElement?Im(n,getComputedStyle(r.contentWindow.document.documentElement).backgroundColor):Nu.TRANSPARENT,A=r.contentWindow.document.body?Im(n,getComputedStyle(r.contentWindow.document.body).backgroundColor):Nu.TRANSPARENT;i.backgroundColor=cf(o)?cf(A)?i.styles.backgroundColor:A:o}}catch{}return i}return t}(Vl),TDe=["OL","UL","MENU"],Vb=function(e,t,n,r){for(var i=t.firstChild,o=void 0;i;i=o)if(o=i.nextSibling,fee(i)&&i.data.trim().length>0)n.textNodes.push(new BDe(e,i,n.styles));else if(Hp(i))if(gee(i)&&i.assignedNodes)i.assignedNodes().forEach(function(a){return Vb(e,a,n,r)});else{var A=uee(e,i);A.styles.isVisible()&&(UDe(i,A,r)?A.flags|=4:QDe(A.styles)&&(A.flags|=2),TDe.indexOf(i.tagName)!==-1&&(A.flags|=8),n.elements.push(A),i.slot,i.shadowRoot?Vb(e,i.shadowRoot,A,r):!Xw(i)&&!dee(i)&&!Yw(i)&&Vb(e,i,A,r))}},uee=function(e,t){return j_(t)?new ree(e,t):hee(t)?new iee(e,t):dee(t)?new oee(e,t):PDe(t)?new Aee(e,t):LDe(t)?new M_(e,t):DDe(t)?new CU(e,t):Yw(t)?new aee(e,t):Xw(t)?new see(e,t):pee(t)?new lee(e,t):new Vl(e,t)},cee=function(e,t){var n=uee(e,t);return n.flags|=4,Vb(e,t,n,n),n},UDe=function(e,t,n){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||xU(e)&&n.styles.isTransparent()},QDe=function(e){return e.isPositioned()||e.isFloating()},fee=function(e){return e.nodeType===Node.TEXT_NODE},Hp=function(e){return e.nodeType===Node.ELEMENT_NODE},k_=function(e){return Hp(e)&&typeof e.style<"u"&&!zb(e)},zb=function(e){return typeof e.className=="object"},PDe=function(e){return e.tagName==="LI"},LDe=function(e){return e.tagName==="OL"},DDe=function(e){return e.tagName==="INPUT"},RDe=function(e){return e.tagName==="HTML"},dee=function(e){return e.tagName==="svg"},xU=function(e){return e.tagName==="BODY"},hee=function(e){return e.tagName==="CANVAS"},GM=function(e){return e.tagName==="VIDEO"},j_=function(e){return e.tagName==="IMG"},pee=function(e){return e.tagName==="IFRAME"},WM=function(e){return e.tagName==="STYLE"},$De=function(e){return e.tagName==="SCRIPT"},Xw=function(e){return e.tagName==="TEXTAREA"},Yw=function(e){return e.tagName==="SELECT"},gee=function(e){return e.tagName==="SLOT"},qM=function(e){return e.tagName.indexOf("-")>0},NDe=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(t){var n=this.counters[t];return n&&n.length?n[n.length-1]:1},e.prototype.getCounterValues=function(t){var n=this.counters[t];return n||[]},e.prototype.pop=function(t){var n=this;t.forEach(function(r){return n.counters[r].pop()})},e.prototype.parse=function(t){var n=this,r=t.counterIncrement,i=t.counterReset,o=!0;r!==null&&r.forEach(function(a){var s=n.counters[a.counter];s&&a.increment!==0&&(o=!1,s.length||s.push(1),s[Math.max(0,s.length-1)]+=a.increment)});var A=[];return o&&i.forEach(function(a){var s=n.counters[a.counter];A.push(a.counter),s||(s=n.counters[a.counter]=[]),s.push(a.reset)}),A},e}(),XM={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},YM={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},HDe={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},MDe={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},xp=function(e,t,n,r,i,o){return e<t||e>n?cv(e,i,o.length>0):r.integers.reduce(function(A,a,s){for(;e>=a;)e-=a,A+=r.values[s];return A},"")+o},mee=function(e,t,n,r){var i="";do n||e--,i=r(e)+i,e/=t;while(e*t>=t);return i},Ti=function(e,t,n,r,i){var o=n-t+1;return(e<0?"-":"")+(mee(Math.abs(e),o,r,function(A){return Ui(Math.floor(A%o)+t)})+i)},ld=function(e,t,n){n===void 0&&(n=". ");var r=t.length;return mee(Math.abs(e),r,!1,function(i){return t[Math.floor(i%r)]})+n},Lp=1,Dc=2,Rc=4,Z0=8,Bu=function(e,t,n,r,i,o){if(e<-9999||e>9999)return cv(e,4,i.length>0);var A=Math.abs(e),a=i;if(A===0)return t[0]+a;for(var s=0;A>0&&s<=4;s++){var u=A%10;u===0&&eo(o,Lp)&&a!==""?a=t[u]+a:u>1||u===1&&s===0||u===1&&s===1&&eo(o,Dc)||u===1&&s===1&&eo(o,Rc)&&e>100||u===1&&s>1&&eo(o,Z0)?a=t[u]+(s>0?n[s-1]:"")+a:u===1&&s>0&&(a=n[s-1]+a),A=Math.floor(A/10)}return(e<0?r:"")+a},JM="十百千萬",ZM="拾佰仟萬",ek="マイナス",h5="마이너스",cv=function(e,t,n){var r=n?". ":"",i=n?"、":"",o=n?", ":"",A=n?" ":"";switch(t){case 0:return"•"+A;case 1:return"◦"+A;case 2:return"◾"+A;case 5:var a=Ti(e,48,57,!0,r);return a.length<4?"0"+a:a;case 4:return ld(e,"〇一二三四五六七八九",i);case 6:return xp(e,1,3999,XM,3,r).toLowerCase();case 7:return xp(e,1,3999,XM,3,r);case 8:return Ti(e,945,969,!1,r);case 9:return Ti(e,97,122,!1,r);case 10:return Ti(e,65,90,!1,r);case 11:return Ti(e,1632,1641,!0,r);case 12:case 49:return xp(e,1,9999,YM,3,r);case 35:return xp(e,1,9999,YM,3,r).toLowerCase();case 13:return Ti(e,2534,2543,!0,r);case 14:case 30:return Ti(e,6112,6121,!0,r);case 15:return ld(e,"子丑寅卯辰巳午未申酉戌亥",i);case 16:return ld(e,"甲乙丙丁戊己庚辛壬癸",i);case 17:case 48:return Bu(e,"零一二三四五六七八九",JM,"負",i,Dc|Rc|Z0);case 47:return Bu(e,"零壹貳參肆伍陸柒捌玖",ZM,"負",i,Lp|Dc|Rc|Z0);case 42:return Bu(e,"零一二三四五六七八九",JM,"负",i,Dc|Rc|Z0);case 41:return Bu(e,"零壹贰叁肆伍陆柒捌玖",ZM,"负",i,Lp|Dc|Rc|Z0);case 26:return Bu(e,"〇一二三四五六七八九","十百千万",ek,i,0);case 25:return Bu(e,"零壱弐参四伍六七八九","拾百千万",ek,i,Lp|Dc|Rc);case 31:return Bu(e,"영일이삼사오육칠팔구","십백천만",h5,o,Lp|Dc|Rc);case 33:return Bu(e,"零一二三四五六七八九","十百千萬",h5,o,0);case 32:return Bu(e,"零壹貳參四五六七八九","拾百千",h5,o,Lp|Dc|Rc);case 18:return Ti(e,2406,2415,!0,r);case 20:return xp(e,1,19999,MDe,3,r);case 21:return Ti(e,2790,2799,!0,r);case 22:return Ti(e,2662,2671,!0,r);case 22:return xp(e,1,10999,HDe,3,r);case 23:return ld(e,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return ld(e,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return Ti(e,3302,3311,!0,r);case 28:return ld(e,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",i);case 29:return ld(e,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",i);case 34:return Ti(e,3792,3801,!0,r);case 37:return Ti(e,6160,6169,!0,r);case 38:return Ti(e,4160,4169,!0,r);case 39:return Ti(e,2918,2927,!0,r);case 40:return Ti(e,1776,1785,!0,r);case 43:return Ti(e,3046,3055,!0,r);case 44:return Ti(e,3174,3183,!0,r);case 45:return Ti(e,3664,3673,!0,r);case 46:return Ti(e,3872,3881,!0,r);case 3:default:return Ti(e,48,57,!0,r)}},vee="data-html2canvas-ignore",tk=function(){function e(t,n,r){if(this.context=t,this.options=r,this.scrolledElements=[],this.referenceElement=n,this.counters=new NDe,this.quoteDepth=0,!n.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(n.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(t,n){var r=this,i=kDe(t,n);if(!i.contentWindow)return Promise.reject("Unable to find iframe window");var o=t.defaultView.pageXOffset,A=t.defaultView.pageYOffset,a=i.contentWindow,s=a.document,u=VDe(i).then(function(){return hA(r,void 0,void 0,function(){var l,c;return Vo(this,function(d){switch(d.label){case 0:return this.scrolledElements.forEach(qDe),a&&(a.scrollTo(n.left,n.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(a.scrollY!==n.top||a.scrollX!==n.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(a.scrollX-n.left,a.scrollY-n.top,0,0))),l=this.options.onclone,c=this.clonedReferenceElement,typeof c>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:s.fonts&&s.fonts.ready?[4,s.fonts.ready]:[3,2];case 1:d.sent(),d.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,KDe(s)]:[3,4];case 3:d.sent(),d.label=4;case 4:return typeof l=="function"?[2,Promise.resolve().then(function(){return l(s,c)}).then(function(){return i})]:[2,i]}})})});return s.open(),s.write(GDe(document.doctype)+"<html></html>"),WDe(this.referenceElement.ownerDocument,o,A),s.replaceChild(s.adoptNode(this.documentElement),s.documentElement),s.close(),u},e.prototype.createElementClone=function(t){if(N_(t,2))debugger;if(hee(t))return this.createCanvasClone(t);if(GM(t))return this.createVideoClone(t);if(WM(t))return this.createStyleClone(t);var n=t.cloneNode(!1);return j_(n)&&(j_(t)&&t.currentSrc&&t.currentSrc!==t.src&&(n.src=t.currentSrc,n.srcset=""),n.loading==="lazy"&&(n.loading="eager")),qM(n)?this.createCustomElementClone(n):n},e.prototype.createCustomElementClone=function(t){var n=document.createElement("html2canvascustomelement");return p5(t.style,n),n},e.prototype.createStyleClone=function(t){try{var n=t.sheet;if(n&&n.cssRules){var r=[].slice.call(n.cssRules,0).reduce(function(o,A){return A&&typeof A.cssText=="string"?o+A.cssText:o},""),i=t.cloneNode(!1);return i.textContent=r,i}}catch(o){if(this.context.logger.error("Unable to access cssRules property",o),o.name!=="SecurityError")throw o}return t.cloneNode(!1)},e.prototype.createCanvasClone=function(t){var n;if(this.options.inlineImages&&t.ownerDocument){var r=t.ownerDocument.createElement("img");try{return r.src=t.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",t)}}var i=t.cloneNode(!1);try{i.width=t.width,i.height=t.height;var o=t.getContext("2d"),A=i.getContext("2d");if(A)if(!this.options.allowTaint&&o)A.putImageData(o.getImageData(0,0,t.width,t.height),0,0);else{var a=(n=t.getContext("webgl2"))!==null&&n!==void 0?n:t.getContext("webgl");if(a){var s=a.getContextAttributes();(s==null?void 0:s.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",t)}A.drawImage(t,0,0)}return i}catch{this.context.logger.info("Unable to clone canvas as it is tainted",t)}return i},e.prototype.createVideoClone=function(t){var n=t.ownerDocument.createElement("canvas");n.width=t.offsetWidth,n.height=t.offsetHeight;var r=n.getContext("2d");try{return r&&(r.drawImage(t,0,0,n.width,n.height),this.options.allowTaint||r.getImageData(0,0,n.width,n.height)),n}catch{this.context.logger.info("Unable to clone video as it is tainted",t)}var i=t.ownerDocument.createElement("canvas");return i.width=t.offsetWidth,i.height=t.offsetHeight,i},e.prototype.appendChildNode=function(t,n,r){(!Hp(n)||!$De(n)&&!n.hasAttribute(vee)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(n)))&&(!this.options.copyStyles||!Hp(n)||!WM(n))&&t.appendChild(this.cloneNode(n,r))},e.prototype.cloneChildNodes=function(t,n,r){for(var i=this,o=t.shadowRoot?t.shadowRoot.firstChild:t.firstChild;o;o=o.nextSibling)if(Hp(o)&&gee(o)&&typeof o.assignedNodes=="function"){var A=o.assignedNodes();A.length&&A.forEach(function(a){return i.appendChildNode(n,a,r)})}else this.appendChildNode(n,o,r)},e.prototype.cloneNode=function(t,n){if(fee(t))return document.createTextNode(t.data);if(!t.ownerDocument)return t.cloneNode(!1);var r=t.ownerDocument.defaultView;if(r&&Hp(t)&&(k_(t)||zb(t))){var i=this.createElementClone(t);i.style.transitionProperty="none";var o=r.getComputedStyle(t),A=r.getComputedStyle(t,":before"),a=r.getComputedStyle(t,":after");this.referenceElement===t&&k_(i)&&(this.clonedReferenceElement=i),xU(i)&&JDe(i);var s=this.counters.parse(new UM(this.context,o)),u=this.resolvePseudoContent(t,i,A,Tm.BEFORE);qM(t)&&(n=!0),GM(t)||this.cloneChildNodes(t,i,n),u&&i.insertBefore(u,i.firstChild);var l=this.resolvePseudoContent(t,i,a,Tm.AFTER);return l&&i.appendChild(l),this.counters.pop(s),(o&&(this.options.copyStyles||zb(t))&&!pee(t)||n)&&p5(o,i),(t.scrollTop!==0||t.scrollLeft!==0)&&this.scrolledElements.push([i,t.scrollLeft,t.scrollTop]),(Xw(t)||Yw(t))&&(Xw(i)||Yw(i))&&(i.value=t.value),i}return t.cloneNode(!1)},e.prototype.resolvePseudoContent=function(t,n,r,i){var o=this;if(r){var A=r.content,a=n.ownerDocument;if(!(!a||!A||A==="none"||A==="-moz-alt-content"||r.display==="none")){this.counters.parse(new UM(this.context,r));var s=new PLe(this.context,r),u=a.createElement("html2canvaspseudoelement");p5(r,u),s.content.forEach(function(c){if(c.type===0)u.appendChild(a.createTextNode(c.value));else if(c.type===22){var d=a.createElement("img");d.src=c.value,d.style.opacity="1",u.appendChild(d)}else if(c.type===18){if(c.name==="attr"){var f=c.values.filter($r);f.length&&u.appendChild(a.createTextNode(t.getAttribute(f[0].value)||""))}else if(c.name==="counter"){var g=c.values.filter(Cg),h=g[0],m=g[1];if(h&&$r(h)){var p=o.counters.getCounterValue(h.value),v=m&&$r(m)?$_.parse(o.context,m.value):3;u.appendChild(a.createTextNode(cv(p,v,!1)))}}else if(c.name==="counters"){var y=c.values.filter(Cg),h=y[0],b=y[1],m=y[2];if(h&&$r(h)){var w=o.counters.getCounterValues(h.value),C=m&&$r(m)?$_.parse(o.context,m.value):3,B=b&&b.type===0?b.value:"",O=w.map(function(R){return cv(R,C,!1)}).join(B);u.appendChild(a.createTextNode(O))}}}else if(c.type===20)switch(c.value){case"open-quote":u.appendChild(a.createTextNode(TM(s.quotes,o.quoteDepth++,!0)));break;case"close-quote":u.appendChild(a.createTextNode(TM(s.quotes,--o.quoteDepth,!1)));break;default:u.appendChild(a.createTextNode(c.value))}}),u.className=K_+" "+V_;var l=i===Tm.BEFORE?" "+K_:" "+V_;return zb(n)?n.className.baseValue+=l:n.className+=l,u}}},e.destroy=function(t){return t.parentNode?(t.parentNode.removeChild(t),!0):!1},e}(),Tm;(function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"})(Tm||(Tm={}));var kDe=function(e,t){var n=e.createElement("iframe");return n.className="html2canvas-container",n.style.visibility="hidden",n.style.position="fixed",n.style.left="-10000px",n.style.top="0px",n.style.border="0",n.width=t.width.toString(),n.height=t.height.toString(),n.scrolling="no",n.setAttribute(vee,"true"),e.body.appendChild(n),n},jDe=function(e){return new Promise(function(t){if(e.complete){t();return}if(!e.src){t();return}e.onload=t,e.onerror=t})},KDe=function(e){return Promise.all([].slice.call(e.images,0).map(jDe))},VDe=function(e){return new Promise(function(t,n){var r=e.contentWindow;if(!r)return n("No window assigned for iframe");var i=r.document;r.onload=e.onload=function(){r.onload=e.onload=null;var o=setInterval(function(){i.body.childNodes.length>0&&i.readyState==="complete"&&(clearInterval(o),t(e))},50)}})},zDe=["all","d","content"],p5=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e.item(n);zDe.indexOf(r)===-1&&t.style.setProperty(r,e.getPropertyValue(r))}return t},GDe=function(e){var t="";return e&&(t+="<!DOCTYPE ",e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'+e.publicId+'"'),e.systemId&&(t+='"'+e.systemId+'"'),t+=">"),t},WDe=function(e,t,n){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)},qDe=function(e){var t=e[0],n=e[1],r=e[2];t.scrollLeft=n,t.scrollTop=r},XDe=":before",YDe=":after",K_="___html2canvas___pseudoelement_before",V_="___html2canvas___pseudoelement_after",nk=`{
- content: "" !important;
- display: none !important;
- }`,JDe=function(e){ZDe(e,"."+K_+XDe+nk+`
- .`+V_+YDe+nk)},ZDe=function(e,t){var n=e.ownerDocument;if(n){var r=n.createElement("style");r.textContent=t,e.appendChild(r)}},yee=function(){function e(){}return e.getOrigin=function(t){var n=e._link;return n?(n.href=t,n.href=n.href,n.protocol+n.hostname+n.port):"about:blank"},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement("a"),e._origin=e.getOrigin(t.location.href)},e._origin="about:blank",e}(),eRe=function(){function e(t,n){this.context=t,this._options=n,this._cache={}}return e.prototype.addImage=function(t){var n=Promise.resolve();return this.has(t)||(m5(t)||iRe(t))&&(this._cache[t]=this.loadImage(t)).catch(function(){}),n},e.prototype.match=function(t){return this._cache[t]},e.prototype.loadImage=function(t){return hA(this,void 0,void 0,function(){var n,r,i,o,A=this;return Vo(this,function(a){switch(a.label){case 0:return n=yee.isSameOrigin(t),r=!g5(t)&&this._options.useCORS===!0&&Co.SUPPORT_CORS_IMAGES&&!n,i=!g5(t)&&!n&&!m5(t)&&typeof this._options.proxy=="string"&&Co.SUPPORT_CORS_XHR&&!r,!n&&this._options.allowTaint===!1&&!g5(t)&&!m5(t)&&!i&&!r?[2]:(o=t,i?[4,this.proxy(o)]:[3,2]);case 1:o=a.sent(),a.label=2;case 2:return this.context.logger.debug("Added image "+t.substring(0,256)),[4,new Promise(function(s,u){var l=new Image;l.onload=function(){return s(l)},l.onerror=u,(oRe(o)||r)&&(l.crossOrigin="anonymous"),l.src=o,l.complete===!0&&setTimeout(function(){return s(l)},500),A._options.imageTimeout>0&&setTimeout(function(){return u("Timed out ("+A._options.imageTimeout+"ms) loading image")},A._options.imageTimeout)})];case 3:return[2,a.sent()]}})})},e.prototype.has=function(t){return typeof this._cache[t]<"u"},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(t){var n=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var i=t.substring(0,256);return new Promise(function(o,A){var a=Co.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;s.onload=function(){if(s.status===200)if(a==="text")o(s.response);else{var c=new FileReader;c.addEventListener("load",function(){return o(c.result)},!1),c.addEventListener("error",function(d){return A(d)},!1),c.readAsDataURL(s.response)}else A("Failed to proxy resource "+i+" with status code "+s.status)},s.onerror=A;var u=r.indexOf("?")>-1?"&":"?";if(s.open("GET",""+r+u+"url="+encodeURIComponent(t)+"&responseType="+a),a!=="text"&&s instanceof XMLHttpRequest&&(s.responseType=a),n._options.imageTimeout){var l=n._options.imageTimeout;s.timeout=l,s.ontimeout=function(){return A("Timed out ("+l+"ms) proxying "+i)}}s.send()})},e}(),tRe=/^data:image\/svg\+xml/i,nRe=/^data:image\/.*;base64,/i,rRe=/^data:image\/.*/i,iRe=function(e){return Co.SUPPORT_SVG_DRAWING||!ARe(e)},g5=function(e){return rRe.test(e)},oRe=function(e){return nRe.test(e)},m5=function(e){return e.substr(0,4)==="blob"},ARe=function(e){return e.substr(-3).toLowerCase()==="svg"||tRe.test(e)},Vt=function(){function e(t,n){this.type=0,this.x=t,this.y=n}return e.prototype.add=function(t,n){return new e(this.x+t,this.y+n)},e}(),Sp=function(e,t,n){return new Vt(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n)},Vy=function(){function e(t,n,r,i){this.type=1,this.start=t,this.startControl=n,this.endControl=r,this.end=i}return e.prototype.subdivide=function(t,n){var r=Sp(this.start,this.startControl,t),i=Sp(this.startControl,this.endControl,t),o=Sp(this.endControl,this.end,t),A=Sp(r,i,t),a=Sp(i,o,t),s=Sp(A,a,t);return n?new e(this.start,r,A,s):new e(s,a,o,this.end)},e.prototype.add=function(t,n){return new e(this.start.add(t,n),this.startControl.add(t,n),this.endControl.add(t,n),this.end.add(t,n))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),Pa=function(e){return e.type===1},aRe=function(){function e(t){var n=t.styles,r=t.bounds,i=Y0(n.borderTopLeftRadius,r.width,r.height),o=i[0],A=i[1],a=Y0(n.borderTopRightRadius,r.width,r.height),s=a[0],u=a[1],l=Y0(n.borderBottomRightRadius,r.width,r.height),c=l[0],d=l[1],f=Y0(n.borderBottomLeftRadius,r.width,r.height),g=f[0],h=f[1],m=[];m.push((o+s)/r.width),m.push((g+c)/r.width),m.push((A+h)/r.height),m.push((u+d)/r.height);var p=Math.max.apply(Math,m);p>1&&(o/=p,A/=p,s/=p,u/=p,c/=p,d/=p,g/=p,h/=p);var v=r.width-s,y=r.height-d,b=r.width-c,w=r.height-h,C=n.borderTopWidth,B=n.borderRightWidth,O=n.borderBottomWidth,x=n.borderLeftWidth,M=Wr(n.paddingTop,t.bounds.width),R=Wr(n.paddingRight,t.bounds.width),F=Wr(n.paddingBottom,t.bounds.width),L=Wr(n.paddingLeft,t.bounds.width);this.topLeftBorderDoubleOuterBox=o>0||A>0?li(r.left+x/3,r.top+C/3,o-x/3,A-C/3,xr.TOP_LEFT):new Vt(r.left+x/3,r.top+C/3),this.topRightBorderDoubleOuterBox=o>0||A>0?li(r.left+v,r.top+C/3,s-B/3,u-C/3,xr.TOP_RIGHT):new Vt(r.left+r.width-B/3,r.top+C/3),this.bottomRightBorderDoubleOuterBox=c>0||d>0?li(r.left+b,r.top+y,c-B/3,d-O/3,xr.BOTTOM_RIGHT):new Vt(r.left+r.width-B/3,r.top+r.height-O/3),this.bottomLeftBorderDoubleOuterBox=g>0||h>0?li(r.left+x/3,r.top+w,g-x/3,h-O/3,xr.BOTTOM_LEFT):new Vt(r.left+x/3,r.top+r.height-O/3),this.topLeftBorderDoubleInnerBox=o>0||A>0?li(r.left+x*2/3,r.top+C*2/3,o-x*2/3,A-C*2/3,xr.TOP_LEFT):new Vt(r.left+x*2/3,r.top+C*2/3),this.topRightBorderDoubleInnerBox=o>0||A>0?li(r.left+v,r.top+C*2/3,s-B*2/3,u-C*2/3,xr.TOP_RIGHT):new Vt(r.left+r.width-B*2/3,r.top+C*2/3),this.bottomRightBorderDoubleInnerBox=c>0||d>0?li(r.left+b,r.top+y,c-B*2/3,d-O*2/3,xr.BOTTOM_RIGHT):new Vt(r.left+r.width-B*2/3,r.top+r.height-O*2/3),this.bottomLeftBorderDoubleInnerBox=g>0||h>0?li(r.left+x*2/3,r.top+w,g-x*2/3,h-O*2/3,xr.BOTTOM_LEFT):new Vt(r.left+x*2/3,r.top+r.height-O*2/3),this.topLeftBorderStroke=o>0||A>0?li(r.left+x/2,r.top+C/2,o-x/2,A-C/2,xr.TOP_LEFT):new Vt(r.left+x/2,r.top+C/2),this.topRightBorderStroke=o>0||A>0?li(r.left+v,r.top+C/2,s-B/2,u-C/2,xr.TOP_RIGHT):new Vt(r.left+r.width-B/2,r.top+C/2),this.bottomRightBorderStroke=c>0||d>0?li(r.left+b,r.top+y,c-B/2,d-O/2,xr.BOTTOM_RIGHT):new Vt(r.left+r.width-B/2,r.top+r.height-O/2),this.bottomLeftBorderStroke=g>0||h>0?li(r.left+x/2,r.top+w,g-x/2,h-O/2,xr.BOTTOM_LEFT):new Vt(r.left+x/2,r.top+r.height-O/2),this.topLeftBorderBox=o>0||A>0?li(r.left,r.top,o,A,xr.TOP_LEFT):new Vt(r.left,r.top),this.topRightBorderBox=s>0||u>0?li(r.left+v,r.top,s,u,xr.TOP_RIGHT):new Vt(r.left+r.width,r.top),this.bottomRightBorderBox=c>0||d>0?li(r.left+b,r.top+y,c,d,xr.BOTTOM_RIGHT):new Vt(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=g>0||h>0?li(r.left,r.top+w,g,h,xr.BOTTOM_LEFT):new Vt(r.left,r.top+r.height),this.topLeftPaddingBox=o>0||A>0?li(r.left+x,r.top+C,Math.max(0,o-x),Math.max(0,A-C),xr.TOP_LEFT):new Vt(r.left+x,r.top+C),this.topRightPaddingBox=s>0||u>0?li(r.left+Math.min(v,r.width-B),r.top+C,v>r.width+B?0:Math.max(0,s-B),Math.max(0,u-C),xr.TOP_RIGHT):new Vt(r.left+r.width-B,r.top+C),this.bottomRightPaddingBox=c>0||d>0?li(r.left+Math.min(b,r.width-x),r.top+Math.min(y,r.height-O),Math.max(0,c-B),Math.max(0,d-O),xr.BOTTOM_RIGHT):new Vt(r.left+r.width-B,r.top+r.height-O),this.bottomLeftPaddingBox=g>0||h>0?li(r.left+x,r.top+Math.min(w,r.height-O),Math.max(0,g-x),Math.max(0,h-O),xr.BOTTOM_LEFT):new Vt(r.left+x,r.top+r.height-O),this.topLeftContentBox=o>0||A>0?li(r.left+x+L,r.top+C+M,Math.max(0,o-(x+L)),Math.max(0,A-(C+M)),xr.TOP_LEFT):new Vt(r.left+x+L,r.top+C+M),this.topRightContentBox=s>0||u>0?li(r.left+Math.min(v,r.width+x+L),r.top+C+M,v>r.width+x+L?0:s-x+L,u-(C+M),xr.TOP_RIGHT):new Vt(r.left+r.width-(B+R),r.top+C+M),this.bottomRightContentBox=c>0||d>0?li(r.left+Math.min(b,r.width-(x+L)),r.top+Math.min(y,r.height+C+M),Math.max(0,c-(B+R)),d-(O+F),xr.BOTTOM_RIGHT):new Vt(r.left+r.width-(B+R),r.top+r.height-(O+F)),this.bottomLeftContentBox=g>0||h>0?li(r.left+x+L,r.top+w,Math.max(0,g-(x+L)),h-(O+F),xr.BOTTOM_LEFT):new Vt(r.left+x+L,r.top+r.height-(O+F))}return e}(),xr;(function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(xr||(xr={}));var li=function(e,t,n,r,i){var o=4*((Math.sqrt(2)-1)/3),A=n*o,a=r*o,s=e+n,u=t+r;switch(i){case xr.TOP_LEFT:return new Vy(new Vt(e,u),new Vt(e,u-a),new Vt(s-A,t),new Vt(s,t));case xr.TOP_RIGHT:return new Vy(new Vt(e,t),new Vt(e+A,t),new Vt(s,u-a),new Vt(s,u));case xr.BOTTOM_RIGHT:return new Vy(new Vt(s,t),new Vt(s,t+a),new Vt(e+A,u),new Vt(e,u));case xr.BOTTOM_LEFT:default:return new Vy(new Vt(s,u),new Vt(s-A,u),new Vt(e,t+a),new Vt(e,t))}},Jw=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},sRe=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},Zw=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},lRe=function(){function e(t,n,r){this.offsetX=t,this.offsetY=n,this.matrix=r,this.type=0,this.target=6}return e}(),zy=function(){function e(t,n){this.path=t,this.target=n,this.type=1}return e}(),uRe=function(){function e(t){this.opacity=t,this.type=2,this.target=6}return e}(),cRe=function(e){return e.type===0},bee=function(e){return e.type===1},fRe=function(e){return e.type===2},rk=function(e,t){return e.length===t.length?e.some(function(n,r){return n===t[r]}):!1},dRe=function(e,t,n,r,i){return e.map(function(o,A){switch(A){case 0:return o.add(t,n);case 1:return o.add(t+r,n);case 2:return o.add(t+r,n+i);case 3:return o.add(t,n+i)}return o})},wee=function(){function e(t){this.element=t,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e}(),Bee=function(){function e(t,n){if(this.container=t,this.parent=n,this.effects=[],this.curves=new aRe(this.container),this.container.styles.opacity<1&&this.effects.push(new uRe(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,i=this.container.bounds.top+this.container.styles.transformOrigin[1].number,o=this.container.styles.transform;this.effects.push(new lRe(r,i,o))}if(this.container.styles.overflowX!==0){var A=Jw(this.curves),a=Zw(this.curves);rk(A,a)?this.effects.push(new zy(A,6)):(this.effects.push(new zy(A,2)),this.effects.push(new zy(a,4)))}}return e.prototype.getEffects=function(t){for(var n=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,i=this.effects.slice(0);r;){var o=r.effects.filter(function(s){return!bee(s)});if(n||r.container.styles.position!==0||!r.parent){if(i.unshift.apply(i,o),n=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var A=Jw(r.curves),a=Zw(r.curves);rk(A,a)||i.unshift(new zy(a,6))}}else i.unshift.apply(i,o);r=r.parent}return i.filter(function(s){return eo(s.target,t)})},e}(),z_=function(e,t,n,r){e.container.elements.forEach(function(i){var o=eo(i.flags,4),A=eo(i.flags,2),a=new Bee(i,e);eo(i.styles.display,2048)&&r.push(a);var s=eo(i.flags,8)?[]:r;if(o||A){var u=o||i.styles.isPositioned()?n:t,l=new wee(a);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var c=i.styles.zIndex.order;if(c<0){var d=0;u.negativeZIndex.some(function(g,h){return c>g.element.container.styles.zIndex.order?(d=h,!1):d>0}),u.negativeZIndex.splice(d,0,l)}else if(c>0){var f=0;u.positiveZIndex.some(function(g,h){return c>=g.element.container.styles.zIndex.order?(f=h+1,!1):f>0}),u.positiveZIndex.splice(f,0,l)}else u.zeroOrAutoZIndexOrTransformedOrOpacity.push(l)}else i.styles.isFloating()?u.nonPositionedFloats.push(l):u.nonPositionedInlineLevel.push(l);z_(a,l,o?l:n,s)}else i.styles.isInlineLevel()?t.inlineLevel.push(a):t.nonInlineLevel.push(a),z_(a,t,n,s);eo(i.flags,8)&&Cee(i,s)})},Cee=function(e,t){for(var n=e instanceof M_?e.start:1,r=e instanceof M_?e.reversed:!1,i=0;i<t.length;i++){var o=t[i];o.container instanceof Aee&&typeof o.container.value=="number"&&o.container.value!==0&&(n=o.container.value),o.listValue=cv(n,o.container.styles.listStyleType,!0),n+=r?-1:1}},hRe=function(e){var t=new Bee(e,null),n=new wee(t),r=[];return z_(t,n,n,r),Cee(t.container,r),n},ik=function(e,t){switch(t){case 0:return Da(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return Da(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return Da(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);case 3:default:return Da(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},pRe=function(e,t){switch(t){case 0:return Da(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return Da(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return Da(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);case 3:default:return Da(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}},gRe=function(e,t){switch(t){case 0:return Da(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return Da(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return Da(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);case 3:default:return Da(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}},mRe=function(e,t){switch(t){case 0:return Gy(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return Gy(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return Gy(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);case 3:default:return Gy(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}},Gy=function(e,t){var n=[];return Pa(e)?n.push(e.subdivide(.5,!1)):n.push(e),Pa(t)?n.push(t.subdivide(.5,!0)):n.push(t),n},Da=function(e,t,n,r){var i=[];return Pa(e)?i.push(e.subdivide(.5,!1)):i.push(e),Pa(n)?i.push(n.subdivide(.5,!0)):i.push(n),Pa(r)?i.push(r.subdivide(.5,!0).reverse()):i.push(r),Pa(t)?i.push(t.subdivide(.5,!1).reverse()):i.push(t),i},xee=function(e){var t=e.bounds,n=e.styles;return t.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},eB=function(e){var t=e.styles,n=e.bounds,r=Wr(t.paddingLeft,n.width),i=Wr(t.paddingRight,n.width),o=Wr(t.paddingTop,n.width),A=Wr(t.paddingBottom,n.width);return n.add(r+t.borderLeftWidth,o+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+r+i),-(t.borderTopWidth+t.borderBottomWidth+o+A))},vRe=function(e,t){return e===0?t.bounds:e===2?eB(t):xee(t)},yRe=function(e,t){return e===0?t.bounds:e===2?eB(t):xee(t)},v5=function(e,t,n){var r=vRe(Dp(e.styles.backgroundOrigin,t),e),i=yRe(Dp(e.styles.backgroundClip,t),e),o=bRe(Dp(e.styles.backgroundSize,t),n,r),A=o[0],a=o[1],s=Y0(Dp(e.styles.backgroundPosition,t),r.width-A,r.height-a),u=wRe(Dp(e.styles.backgroundRepeat,t),s,o,r,i),l=Math.round(r.left+s[0]),c=Math.round(r.top+s[1]);return[u,l,c,A,a]},Ep=function(e){return $r(e)&&e.value===ng.AUTO},Wy=function(e){return typeof e=="number"},bRe=function(e,t,n){var r=t[0],i=t[1],o=t[2],A=e[0],a=e[1];if(!A)return[0,0];if(Wi(A)&&a&&Wi(a))return[Wr(A,n.width),Wr(a,n.height)];var s=Wy(o);if($r(A)&&(A.value===ng.CONTAIN||A.value===ng.COVER)){if(Wy(o)){var u=n.width/n.height;return u<o!=(A.value===ng.COVER)?[n.width,n.width/o]:[n.height*o,n.height]}return[n.width,n.height]}var l=Wy(r),c=Wy(i),d=l||c;if(Ep(A)&&(!a||Ep(a))){if(l&&c)return[r,i];if(!s&&!d)return[n.width,n.height];if(d&&s){var f=l?r:i*o,g=c?i:r/o;return[f,g]}var h=l?r:n.width,m=c?i:n.height;return[h,m]}if(s){var p=0,v=0;return Wi(A)?p=Wr(A,n.width):Wi(a)&&(v=Wr(a,n.height)),Ep(A)?p=v*o:(!a||Ep(a))&&(v=p/o),[p,v]}var y=null,b=null;if(Wi(A)?y=Wr(A,n.width):a&&Wi(a)&&(b=Wr(a,n.height)),y!==null&&(!a||Ep(a))&&(b=l&&c?y/r*i:n.height),b!==null&&Ep(A)&&(y=l&&c?b/i*r:n.width),y!==null&&b!==null)return[y,b];throw new Error("Unable to calculate background-size for element")},Dp=function(e,t){var n=e[t];return typeof n>"u"?e[0]:n},wRe=function(e,t,n,r,i){var o=t[0],A=t[1],a=n[0],s=n[1];switch(e){case 2:return[new Vt(Math.round(r.left),Math.round(r.top+A)),new Vt(Math.round(r.left+r.width),Math.round(r.top+A)),new Vt(Math.round(r.left+r.width),Math.round(s+r.top+A)),new Vt(Math.round(r.left),Math.round(s+r.top+A))];case 3:return[new Vt(Math.round(r.left+o),Math.round(r.top)),new Vt(Math.round(r.left+o+a),Math.round(r.top)),new Vt(Math.round(r.left+o+a),Math.round(r.height+r.top)),new Vt(Math.round(r.left+o),Math.round(r.height+r.top))];case 1:return[new Vt(Math.round(r.left+o),Math.round(r.top+A)),new Vt(Math.round(r.left+o+a),Math.round(r.top+A)),new Vt(Math.round(r.left+o+a),Math.round(r.top+A+s)),new Vt(Math.round(r.left+o),Math.round(r.top+A+s))];default:return[new Vt(Math.round(i.left),Math.round(i.top)),new Vt(Math.round(i.left+i.width),Math.round(i.top)),new Vt(Math.round(i.left+i.width),Math.round(i.height+i.top)),new Vt(Math.round(i.left),Math.round(i.height+i.top))]}},BRe="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",ok="Hidden Text",CRe=function(){function e(t){this._data={},this._document=t}return e.prototype.parseMetrics=function(t,n){var r=this._document.createElement("div"),i=this._document.createElement("img"),o=this._document.createElement("span"),A=this._document.body;r.style.visibility="hidden",r.style.fontFamily=t,r.style.fontSize=n,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",A.appendChild(r),i.src=BRe,i.width=1,i.height=1,i.style.margin="0",i.style.padding="0",i.style.verticalAlign="baseline",o.style.fontFamily=t,o.style.fontSize=n,o.style.margin="0",o.style.padding="0",o.appendChild(this._document.createTextNode(ok)),r.appendChild(o),r.appendChild(i);var a=i.offsetTop-o.offsetTop+2;r.removeChild(o),r.appendChild(this._document.createTextNode(ok)),r.style.lineHeight="normal",i.style.verticalAlign="super";var s=i.offsetTop-r.offsetTop+2;return A.removeChild(r),{baseline:a,middle:s}},e.prototype.getMetrics=function(t,n){var r=t+" "+n;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(t,n)),this._data[r]},e}(),See=function(){function e(t,n){this.context=t,this.options=n}return e}(),xRe=1e4,SRe=function(e){Ds(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i._activeEffects=[],i.canvas=r.canvas?r.canvas:document.createElement("canvas"),i.ctx=i.canvas.getContext("2d"),r.canvas||(i.canvas.width=Math.floor(r.width*r.scale),i.canvas.height=Math.floor(r.height*r.scale),i.canvas.style.width=r.width+"px",i.canvas.style.height=r.height+"px"),i.fontMetrics=new CRe(document),i.ctx.scale(i.options.scale,i.options.scale),i.ctx.translate(-r.x,-r.y),i.ctx.textBaseline="bottom",i._activeEffects=[],i.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),i}return t.prototype.applyEffects=function(n){for(var r=this;this._activeEffects.length;)this.popEffect();n.forEach(function(i){return r.applyEffect(i)})},t.prototype.applyEffect=function(n){this.ctx.save(),fRe(n)&&(this.ctx.globalAlpha=n.opacity),cRe(n)&&(this.ctx.translate(n.offsetX,n.offsetY),this.ctx.transform(n.matrix[0],n.matrix[1],n.matrix[2],n.matrix[3],n.matrix[4],n.matrix[5]),this.ctx.translate(-n.offsetX,-n.offsetY)),bee(n)&&(this.path(n.path),this.ctx.clip()),this._activeEffects.push(n)},t.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},t.prototype.renderStack=function(n){return hA(this,void 0,void 0,function(){var r;return Vo(this,function(i){switch(i.label){case 0:return r=n.element.container.styles,r.isVisible()?[4,this.renderStackContent(n)]:[3,2];case 1:i.sent(),i.label=2;case 2:return[2]}})})},t.prototype.renderNode=function(n){return hA(this,void 0,void 0,function(){return Vo(this,function(r){switch(r.label){case 0:if(eo(n.container.flags,16))debugger;return n.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(n)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(n)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},t.prototype.renderTextWithLetterSpacing=function(n,r,i){var o=this;if(r===0)this.ctx.fillText(n.text,n.bounds.left,n.bounds.top+i);else{var A=BU(n.text);A.reduce(function(a,s){return o.ctx.fillText(s,a,n.bounds.top+i),a+o.ctx.measureText(s).width},n.bounds.left)}},t.prototype.createFontStyle=function(n){var r=n.fontVariant.filter(function(A){return A==="normal"||A==="small-caps"}).join(""),i=ORe(n.fontFamily).join(", "),o=Mv(n.fontSize)?""+n.fontSize.number+n.fontSize.unit:n.fontSize.number+"px";return[[n.fontStyle,r,n.fontWeight,o,i].join(" "),i,o]},t.prototype.renderTextNode=function(n,r){return hA(this,void 0,void 0,function(){var i,o,A,a,s,u,l,c,d=this;return Vo(this,function(f){return i=this.createFontStyle(r),o=i[0],A=i[1],a=i[2],this.ctx.font=o,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",s=this.fontMetrics.getMetrics(A,a),u=s.baseline,l=s.middle,c=r.paintOrder,n.textBounds.forEach(function(g){c.forEach(function(h){switch(h){case 0:d.ctx.fillStyle=lo(r.color),d.renderTextWithLetterSpacing(g,r.letterSpacing,u);var m=r.textShadow;m.length&&g.text.trim().length&&(m.slice(0).reverse().forEach(function(p){d.ctx.shadowColor=lo(p.color),d.ctx.shadowOffsetX=p.offsetX.number*d.options.scale,d.ctx.shadowOffsetY=p.offsetY.number*d.options.scale,d.ctx.shadowBlur=p.blur.number,d.renderTextWithLetterSpacing(g,r.letterSpacing,u)}),d.ctx.shadowColor="",d.ctx.shadowOffsetX=0,d.ctx.shadowOffsetY=0,d.ctx.shadowBlur=0),r.textDecorationLine.length&&(d.ctx.fillStyle=lo(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(p){switch(p){case 1:d.ctx.fillRect(g.bounds.left,Math.round(g.bounds.top+u),g.bounds.width,1);break;case 2:d.ctx.fillRect(g.bounds.left,Math.round(g.bounds.top),g.bounds.width,1);break;case 3:d.ctx.fillRect(g.bounds.left,Math.ceil(g.bounds.top+l),g.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&g.text.trim().length&&(d.ctx.strokeStyle=lo(r.webkitTextStrokeColor),d.ctx.lineWidth=r.webkitTextStrokeWidth,d.ctx.lineJoin=window.chrome?"miter":"round",d.ctx.strokeText(g.text,g.bounds.left,g.bounds.top+u)),d.ctx.strokeStyle="",d.ctx.lineWidth=0,d.ctx.lineJoin="miter";break}})}),[2]})})},t.prototype.renderReplacedElement=function(n,r,i){if(i&&n.intrinsicWidth>0&&n.intrinsicHeight>0){var o=eB(n),A=Zw(r);this.path(A),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(i,0,0,n.intrinsicWidth,n.intrinsicHeight,o.left,o.top,o.width,o.height),this.ctx.restore()}},t.prototype.renderNodeContent=function(n){return hA(this,void 0,void 0,function(){var r,i,o,A,a,s,v,v,u,l,c,d,b,f,g,w,h,m,p,v,y,b,w;return Vo(this,function(C){switch(C.label){case 0:this.applyEffects(n.getEffects(4)),r=n.container,i=n.curves,o=r.styles,A=0,a=r.textNodes,C.label=1;case 1:return A<a.length?(s=a[A],[4,this.renderTextNode(s,o)]):[3,4];case 2:C.sent(),C.label=3;case 3:return A++,[3,1];case 4:if(!(r instanceof ree))return[3,8];C.label=5;case 5:return C.trys.push([5,7,,8]),[4,this.context.cache.match(r.src)];case 6:return v=C.sent(),this.renderReplacedElement(r,i,v),[3,8];case 7:return C.sent(),this.context.logger.error("Error loading image "+r.src),[3,8];case 8:if(r instanceof iee&&this.renderReplacedElement(r,i,r.canvas),!(r instanceof oee))return[3,12];C.label=9;case 9:return C.trys.push([9,11,,12]),[4,this.context.cache.match(r.svg)];case 10:return v=C.sent(),this.renderReplacedElement(r,i,v),[3,12];case 11:return C.sent(),this.context.logger.error("Error loading svg "+r.svg.substring(0,255)),[3,12];case 12:return r instanceof lee&&r.tree?(u=new t(this.context,{scale:this.options.scale,backgroundColor:r.backgroundColor,x:0,y:0,width:r.width,height:r.height}),[4,u.render(r.tree)]):[3,14];case 13:l=C.sent(),r.width&&r.height&&this.ctx.drawImage(l,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height),C.label=14;case 14:if(r instanceof CU&&(c=Math.min(r.bounds.width,r.bounds.height),r.type===Ww?r.checked&&(this.ctx.save(),this.path([new Vt(r.bounds.left+c*.39363,r.bounds.top+c*.79),new Vt(r.bounds.left+c*.16,r.bounds.top+c*.5549),new Vt(r.bounds.left+c*.27347,r.bounds.top+c*.44071),new Vt(r.bounds.left+c*.39694,r.bounds.top+c*.5649),new Vt(r.bounds.left+c*.72983,r.bounds.top+c*.23),new Vt(r.bounds.left+c*.84,r.bounds.top+c*.34085),new Vt(r.bounds.left+c*.39363,r.bounds.top+c*.79)]),this.ctx.fillStyle=lo(zM),this.ctx.fill(),this.ctx.restore()):r.type===qw&&r.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(r.bounds.left+c/2,r.bounds.top+c/2,c/4,0,Math.PI*2,!0),this.ctx.fillStyle=lo(zM),this.ctx.fill(),this.ctx.restore())),ERe(r)&&r.value.length){switch(d=this.createFontStyle(o),b=d[0],f=d[1],g=this.fontMetrics.getMetrics(b,f).baseline,this.ctx.font=b,this.ctx.fillStyle=lo(o.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=IRe(r.styles.textAlign),w=eB(r),h=0,r.styles.textAlign){case 1:h+=w.width/2;break;case 2:h+=w.width;break}m=w.add(h,0,0,-w.height/2+1),this.ctx.save(),this.path([new Vt(w.left,w.top),new Vt(w.left+w.width,w.top),new Vt(w.left+w.width,w.top+w.height),new Vt(w.left,w.top+w.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Om(r.value,m),o.letterSpacing,g),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!eo(r.styles.display,2048))return[3,20];if(r.styles.listStyleImage===null)return[3,19];if(p=r.styles.listStyleImage,p.type!==0)return[3,18];v=void 0,y=p.url,C.label=15;case 15:return C.trys.push([15,17,,18]),[4,this.context.cache.match(y)];case 16:return v=C.sent(),this.ctx.drawImage(v,r.bounds.left-(v.width+10),r.bounds.top),[3,18];case 17:return C.sent(),this.context.logger.error("Error loading list-style-image "+y),[3,18];case 18:return[3,20];case 19:n.listValue&&r.styles.listStyleType!==-1&&(b=this.createFontStyle(o)[0],this.ctx.font=b,this.ctx.fillStyle=lo(o.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",w=new zu(r.bounds.left,r.bounds.top+Wr(r.styles.paddingTop,r.bounds.width),r.bounds.width,_M(o.lineHeight,o.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Om(n.listValue,w),o.letterSpacing,_M(o.lineHeight,o.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),C.label=20;case 20:return[2]}})})},t.prototype.renderStackContent=function(n){return hA(this,void 0,void 0,function(){var r,i,p,o,A,p,a,s,p,u,l,p,c,d,p,f,g,p,h,m,p;return Vo(this,function(v){switch(v.label){case 0:if(eo(n.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(n.element)];case 1:v.sent(),r=0,i=n.negativeZIndex,v.label=2;case 2:return r<i.length?(p=i[r],[4,this.renderStack(p)]):[3,5];case 3:v.sent(),v.label=4;case 4:return r++,[3,2];case 5:return[4,this.renderNodeContent(n.element)];case 6:v.sent(),o=0,A=n.nonInlineLevel,v.label=7;case 7:return o<A.length?(p=A[o],[4,this.renderNode(p)]):[3,10];case 8:v.sent(),v.label=9;case 9:return o++,[3,7];case 10:a=0,s=n.nonPositionedFloats,v.label=11;case 11:return a<s.length?(p=s[a],[4,this.renderStack(p)]):[3,14];case 12:v.sent(),v.label=13;case 13:return a++,[3,11];case 14:u=0,l=n.nonPositionedInlineLevel,v.label=15;case 15:return u<l.length?(p=l[u],[4,this.renderStack(p)]):[3,18];case 16:v.sent(),v.label=17;case 17:return u++,[3,15];case 18:c=0,d=n.inlineLevel,v.label=19;case 19:return c<d.length?(p=d[c],[4,this.renderNode(p)]):[3,22];case 20:v.sent(),v.label=21;case 21:return c++,[3,19];case 22:f=0,g=n.zeroOrAutoZIndexOrTransformedOrOpacity,v.label=23;case 23:return f<g.length?(p=g[f],[4,this.renderStack(p)]):[3,26];case 24:v.sent(),v.label=25;case 25:return f++,[3,23];case 26:h=0,m=n.positiveZIndex,v.label=27;case 27:return h<m.length?(p=m[h],[4,this.renderStack(p)]):[3,30];case 28:v.sent(),v.label=29;case 29:return h++,[3,27];case 30:return[2]}})})},t.prototype.mask=function(n){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(n.slice(0).reverse()),this.ctx.closePath()},t.prototype.path=function(n){this.ctx.beginPath(),this.formatPath(n),this.ctx.closePath()},t.prototype.formatPath=function(n){var r=this;n.forEach(function(i,o){var A=Pa(i)?i.start:i;o===0?r.ctx.moveTo(A.x,A.y):r.ctx.lineTo(A.x,A.y),Pa(i)&&r.ctx.bezierCurveTo(i.startControl.x,i.startControl.y,i.endControl.x,i.endControl.y,i.end.x,i.end.y)})},t.prototype.renderRepeat=function(n,r,i,o){this.path(n),this.ctx.fillStyle=r,this.ctx.translate(i,o),this.ctx.fill(),this.ctx.translate(-i,-o)},t.prototype.resizeImage=function(n,r,i){var o;if(n.width===r&&n.height===i)return n;var A=(o=this.canvas.ownerDocument)!==null&&o!==void 0?o:document,a=A.createElement("canvas");a.width=Math.max(1,r),a.height=Math.max(1,i);var s=a.getContext("2d");return s.drawImage(n,0,0,n.width,n.height,0,0,r,i),a},t.prototype.renderBackgroundImage=function(n){return hA(this,void 0,void 0,function(){var r,i,o,A,a,s;return Vo(this,function(u){switch(u.label){case 0:r=n.styles.backgroundImage.length-1,i=function(l){var c,d,f,M,X,z,L,E,O,g,M,X,z,L,E,h,m,p,v,y,b,w,C,B,O,x,M,R,F,L,E,H,X,z,Z,q,te,ne,_,Y,re,se;return Vo(this,function(ce){switch(ce.label){case 0:if(l.type!==0)return[3,5];c=void 0,d=l.url,ce.label=1;case 1:return ce.trys.push([1,3,,4]),[4,o.context.cache.match(d)];case 2:return c=ce.sent(),[3,4];case 3:return ce.sent(),o.context.logger.error("Error loading background-image "+d),[3,4];case 4:return c&&(f=v5(n,r,[c.width,c.height,c.width/c.height]),M=f[0],X=f[1],z=f[2],L=f[3],E=f[4],O=o.ctx.createPattern(o.resizeImage(c,L,E),"repeat"),o.renderRepeat(M,O,X,z)),[3,6];case 5:cPe(l)?(g=v5(n,r,[null,null,null]),M=g[0],X=g[1],z=g[2],L=g[3],E=g[4],h=APe(l.angle,L,E),m=h[0],p=h[1],v=h[2],y=h[3],b=h[4],w=document.createElement("canvas"),w.width=L,w.height=E,C=w.getContext("2d"),B=C.createLinearGradient(p,y,v,b),FM(l.stops,m).forEach(function(N){return B.addColorStop(N.stop,lo(N.color))}),C.fillStyle=B,C.fillRect(0,0,L,E),L>0&&E>0&&(O=o.ctx.createPattern(w,"repeat"),o.renderRepeat(M,O,X,z))):fPe(l)&&(x=v5(n,r,[null,null,null]),M=x[0],R=x[1],F=x[2],L=x[3],E=x[4],H=l.position.length===0?[yU]:l.position,X=Wr(H[0],L),z=Wr(H[H.length-1],E),Z=aPe(l,X,z,L,E),q=Z[0],te=Z[1],q>0&&te>0&&(ne=o.ctx.createRadialGradient(R+X,F+z,0,R+X,F+z,q),FM(l.stops,q*2).forEach(function(N){return ne.addColorStop(N.stop,lo(N.color))}),o.path(M),o.ctx.fillStyle=ne,q!==te?(_=n.bounds.left+.5*n.bounds.width,Y=n.bounds.top+.5*n.bounds.height,re=te/q,se=1/re,o.ctx.save(),o.ctx.translate(_,Y),o.ctx.transform(1,0,0,re,0,0),o.ctx.translate(-_,-Y),o.ctx.fillRect(R,se*(F-Y)+Y,L,E*se),o.ctx.restore()):o.ctx.fill())),ce.label=6;case 6:return r--,[2]}})},o=this,A=0,a=n.styles.backgroundImage.slice(0).reverse(),u.label=1;case 1:return A<a.length?(s=a[A],[5,i(s)]):[3,4];case 2:u.sent(),u.label=3;case 3:return A++,[3,1];case 4:return[2]}})})},t.prototype.renderSolidBorder=function(n,r,i){return hA(this,void 0,void 0,function(){return Vo(this,function(o){return this.path(ik(i,r)),this.ctx.fillStyle=lo(n),this.ctx.fill(),[2]})})},t.prototype.renderDoubleBorder=function(n,r,i,o){return hA(this,void 0,void 0,function(){var A,a;return Vo(this,function(s){switch(s.label){case 0:return r<3?[4,this.renderSolidBorder(n,i,o)]:[3,2];case 1:return s.sent(),[2];case 2:return A=pRe(o,i),this.path(A),this.ctx.fillStyle=lo(n),this.ctx.fill(),a=gRe(o,i),this.path(a),this.ctx.fill(),[2]}})})},t.prototype.renderNodeBackgroundAndBorders=function(n){return hA(this,void 0,void 0,function(){var r,i,o,A,a,s,u,l,c=this;return Vo(this,function(d){switch(d.label){case 0:return this.applyEffects(n.getEffects(2)),r=n.container.styles,i=!cf(r.backgroundColor)||r.backgroundImage.length,o=[{style:r.borderTopStyle,color:r.borderTopColor,width:r.borderTopWidth},{style:r.borderRightStyle,color:r.borderRightColor,width:r.borderRightWidth},{style:r.borderBottomStyle,color:r.borderBottomColor,width:r.borderBottomWidth},{style:r.borderLeftStyle,color:r.borderLeftColor,width:r.borderLeftWidth}],A=FRe(Dp(r.backgroundClip,0),n.curves),i||r.boxShadow.length?(this.ctx.save(),this.path(A),this.ctx.clip(),cf(r.backgroundColor)||(this.ctx.fillStyle=lo(r.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(n.container)]):[3,2];case 1:d.sent(),this.ctx.restore(),r.boxShadow.slice(0).reverse().forEach(function(f){c.ctx.save();var g=Jw(n.curves),h=f.inset?0:xRe,m=dRe(g,-h+(f.inset?1:-1)*f.spread.number,(f.inset?1:-1)*f.spread.number,f.spread.number*(f.inset?-2:2),f.spread.number*(f.inset?-2:2));f.inset?(c.path(g),c.ctx.clip(),c.mask(m)):(c.mask(g),c.ctx.clip(),c.path(m)),c.ctx.shadowOffsetX=f.offsetX.number+h,c.ctx.shadowOffsetY=f.offsetY.number,c.ctx.shadowColor=lo(f.color),c.ctx.shadowBlur=f.blur.number,c.ctx.fillStyle=f.inset?lo(f.color):"rgba(0,0,0,1)",c.ctx.fill(),c.ctx.restore()}),d.label=2;case 2:a=0,s=0,u=o,d.label=3;case 3:return s<u.length?(l=u[s],l.style!==0&&!cf(l.color)&&l.width>0?l.style!==2?[3,5]:[4,this.renderDashedDottedBorder(l.color,l.width,a,n.curves,2)]:[3,11]):[3,13];case 4:return d.sent(),[3,11];case 5:return l.style!==3?[3,7]:[4,this.renderDashedDottedBorder(l.color,l.width,a,n.curves,3)];case 6:return d.sent(),[3,11];case 7:return l.style!==4?[3,9]:[4,this.renderDoubleBorder(l.color,l.width,a,n.curves)];case 8:return d.sent(),[3,11];case 9:return[4,this.renderSolidBorder(l.color,a,n.curves)];case 10:d.sent(),d.label=11;case 11:a++,d.label=12;case 12:return s++,[3,3];case 13:return[2]}})})},t.prototype.renderDashedDottedBorder=function(n,r,i,o,A){return hA(this,void 0,void 0,function(){var a,s,u,l,c,d,f,g,h,m,p,v,y,b,w,C,w,C;return Vo(this,function(B){return this.ctx.save(),a=mRe(o,i),s=ik(o,i),A===2&&(this.path(s),this.ctx.clip()),Pa(s[0])?(u=s[0].start.x,l=s[0].start.y):(u=s[0].x,l=s[0].y),Pa(s[1])?(c=s[1].end.x,d=s[1].end.y):(c=s[1].x,d=s[1].y),i===0||i===2?f=Math.abs(u-c):f=Math.abs(l-d),this.ctx.beginPath(),A===3?this.formatPath(a):this.formatPath(s.slice(0,2)),g=r<3?r*3:r*2,h=r<3?r*2:r,A===3&&(g=r,h=r),m=!0,f<=g*2?m=!1:f<=g*2+h?(p=f/(2*g+h),g*=p,h*=p):(v=Math.floor((f+h)/(g+h)),y=(f-v*g)/(v-1),b=(f-(v+1)*g)/v,h=b<=0||Math.abs(h-y)<Math.abs(h-b)?y:b),m&&(A===3?this.ctx.setLineDash([0,g+h]):this.ctx.setLineDash([g,h])),A===3?(this.ctx.lineCap="round",this.ctx.lineWidth=r):this.ctx.lineWidth=r*2+1.1,this.ctx.strokeStyle=lo(n),this.ctx.stroke(),this.ctx.setLineDash([]),A===2&&(Pa(s[0])&&(w=s[3],C=s[0],this.ctx.beginPath(),this.formatPath([new Vt(w.end.x,w.end.y),new Vt(C.start.x,C.start.y)]),this.ctx.stroke()),Pa(s[1])&&(w=s[1],C=s[2],this.ctx.beginPath(),this.formatPath([new Vt(w.end.x,w.end.y),new Vt(C.start.x,C.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},t.prototype.render=function(n){return hA(this,void 0,void 0,function(){var r;return Vo(this,function(i){switch(i.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=lo(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=hRe(n),[4,this.renderStack(r)];case 1:return i.sent(),this.applyEffects([]),[2,this.canvas]}})})},t}(See),ERe=function(e){return e instanceof see||e instanceof aee?!0:e instanceof CU&&e.type!==qw&&e.type!==Ww},FRe=function(e,t){switch(e){case 0:return Jw(t);case 2:return sRe(t);case 1:default:return Zw(t)}},IRe=function(e){switch(e){case 1:return"center";case 2:return"right";case 0:default:return"left"}},_Re=["-apple-system","system-ui"],ORe=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter(function(t){return _Re.indexOf(t)===-1}):e},TRe=function(e){Ds(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.canvas=r.canvas?r.canvas:document.createElement("canvas"),i.ctx=i.canvas.getContext("2d"),i.options=r,i.canvas.width=Math.floor(r.width*r.scale),i.canvas.height=Math.floor(r.height*r.scale),i.canvas.style.width=r.width+"px",i.canvas.style.height=r.height+"px",i.ctx.scale(i.options.scale,i.options.scale),i.ctx.translate(-r.x,-r.y),i.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),i}return t.prototype.render=function(n){return hA(this,void 0,void 0,function(){var r,i;return Vo(this,function(o){switch(o.label){case 0:return r=H_(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,n),[4,URe(r)];case 1:return i=o.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=lo(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(i,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},t}(See),URe=function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},QRe=function(){function e(t){var n=t.id,r=t.enabled;this.id=n,this.enabled=r,this.start=Date.now()}return e.prototype.debug=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,Ey([this.id,this.getTime()+"ms"],t)):this.info.apply(this,t))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,Ey([this.id,this.getTime()+"ms"],t))},e.prototype.warn=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,Ey([this.id,this.getTime()+"ms"],t)):this.info.apply(this,t))},e.prototype.error=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,Ey([this.id,this.getTime()+"ms"],t)):this.info.apply(this,t))},e.instances={},e}(),PRe=function(){function e(t,n){var r;this.windowBounds=n,this.instanceName="#"+e.instanceCount++,this.logger=new QRe({id:this.instanceName,enabled:t.logging}),this.cache=(r=t.cache)!==null&&r!==void 0?r:new eRe(this,t)}return e.instanceCount=1,e}(),LRe=function(e,t){return t===void 0&&(t={}),DRe(e,t)};typeof window<"u"&&yee.setContext(window);var DRe=function(e,t){return hA(void 0,void 0,void 0,function(){var n,r,i,o,A,a,s,u,l,c,d,f,g,h,m,p,v,y,b,w,B,C,B,O,x,M,R,F,L,E,H,X,z,Z,q,te,ne,_,Y,re;return Vo(this,function(se){switch(se.label){case 0:if(!e||typeof e!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(n=e.ownerDocument,!n)throw new Error("Element is not attached to a Document");if(r=n.defaultView,!r)throw new Error("Document is not attached to a Window");return i={allowTaint:(O=t.allowTaint)!==null&&O!==void 0?O:!1,imageTimeout:(x=t.imageTimeout)!==null&&x!==void 0?x:15e3,proxy:t.proxy,useCORS:(M=t.useCORS)!==null&&M!==void 0?M:!1},o=S_({logging:(R=t.logging)!==null&&R!==void 0?R:!0,cache:t.cache},i),A={windowWidth:(F=t.windowWidth)!==null&&F!==void 0?F:r.innerWidth,windowHeight:(L=t.windowHeight)!==null&&L!==void 0?L:r.innerHeight,scrollX:(E=t.scrollX)!==null&&E!==void 0?E:r.pageXOffset,scrollY:(H=t.scrollY)!==null&&H!==void 0?H:r.pageYOffset},a=new zu(A.scrollX,A.scrollY,A.windowWidth,A.windowHeight),s=new PRe(o,a),u=(X=t.foreignObjectRendering)!==null&&X!==void 0?X:!1,l={allowTaint:(z=t.allowTaint)!==null&&z!==void 0?z:!1,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:u,copyStyles:u},s.logger.debug("Starting document clone with size "+a.width+"x"+a.height+" scrolled to "+-a.left+","+-a.top),c=new tk(s,e,l),d=c.clonedReferenceElement,d?[4,c.toIFrame(n,a)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return f=se.sent(),g=xU(d)||RDe(d)?dQe(d.ownerDocument):FC(s,d),h=g.width,m=g.height,p=g.left,v=g.top,y=RRe(s,d,t.backgroundColor),b={canvas:t.canvas,backgroundColor:y,scale:(q=(Z=t.scale)!==null&&Z!==void 0?Z:r.devicePixelRatio)!==null&&q!==void 0?q:1,x:((te=t.x)!==null&&te!==void 0?te:0)+p,y:((ne=t.y)!==null&&ne!==void 0?ne:0)+v,width:(_=t.width)!==null&&_!==void 0?_:Math.ceil(h),height:(Y=t.height)!==null&&Y!==void 0?Y:Math.ceil(m)},u?(s.logger.debug("Document cloned, using foreign object rendering"),B=new TRe(s,b),[4,B.render(d)]):[3,3];case 2:return w=se.sent(),[3,5];case 3:return s.logger.debug("Document cloned, element located at "+p+","+v+" with size "+h+"x"+m+" using computed rendering"),s.logger.debug("Starting DOM parsing"),C=cee(s,d),y===C.styles.backgroundColor&&(C.styles.backgroundColor=Nu.TRANSPARENT),s.logger.debug("Starting renderer for element at "+b.x+","+b.y+" with size "+b.width+"x"+b.height),B=new SRe(s,b),[4,B.render(C)];case 4:w=se.sent(),se.label=5;case 5:return(!((re=t.removeContainer)!==null&&re!==void 0)||re)&&(tk.destroy(f)||s.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),s.logger.debug("Finished rendering"),[2,w]}})})},RRe=function(e,t,n){var r=t.ownerDocument,i=r.documentElement?Im(e,getComputedStyle(r.documentElement).backgroundColor):Nu.TRANSPARENT,o=r.body?Im(e,getComputedStyle(r.body).backgroundColor):Nu.TRANSPARENT,A=typeof n=="string"?Im(e,n):n===null?Nu.TRANSPARENT:4294967295;return t===r.documentElement?cf(i)?cf(o)?A:o:i:A};const $Re=Object.freeze(Object.defineProperty({__proto__:null,default:LRe},Symbol.toStringTag,{value:"Module"}));/*! @license DOMPurify 2.5.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.8/LICENSE */function Xc(e){"@babel/helpers - typeof";return Xc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xc(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},G_(e,t)}function NRe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Gb(e,t,n){return NRe()?Gb=Reflect.construct:Gb=function(i,o,A){var a=[null];a.push.apply(a,o);var s=Function.bind.apply(i,a),u=new s;return A&&G_(u,A.prototype),u},Gb.apply(null,arguments)}function hs(e){return HRe(e)||MRe(e)||kRe(e)||jRe()}function HRe(e){if(Array.isArray(e))return W_(e)}function MRe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function kRe(e,t){if(e){if(typeof e=="string")return W_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return W_(e,t)}}function W_(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function jRe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var KRe=Object.hasOwnProperty,Ak=Object.setPrototypeOf,VRe=Object.isFrozen,zRe=Object.getPrototypeOf,GRe=Object.getOwnPropertyDescriptor,yA=Object.freeze,ja=Object.seal,WRe=Object.create,Eee=typeof Reflect<"u"&&Reflect,tB=Eee.apply,q_=Eee.construct;tB||(tB=function(t,n,r){return t.apply(n,r)});yA||(yA=function(t){return t});ja||(ja=function(t){return t});q_||(q_=function(t,n){return Gb(t,hs(n))});var qRe=Ka(Array.prototype.forEach),ak=Ka(Array.prototype.pop),$0=Ka(Array.prototype.push),Wb=Ka(String.prototype.toLowerCase),y5=Ka(String.prototype.toString),sk=Ka(String.prototype.match),us=Ka(String.prototype.replace),XRe=Ka(String.prototype.indexOf),YRe=Ka(String.prototype.trim),wo=Ka(RegExp.prototype.test),b5=JRe(TypeError);function Ka(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return tB(e,t,r)}}function JRe(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return q_(e,n)}}function jn(e,t,n){var r;n=(r=n)!==null&&r!==void 0?r:Wb,Ak&&Ak(e,null);for(var i=t.length;i--;){var o=t[i];if(typeof o=="string"){var A=n(o);A!==o&&(VRe(t)||(t[i]=A),o=A)}e[o]=!0}return e}function ud(e){var t=WRe(null),n;for(n in e)tB(KRe,e,[n])===!0&&(t[n]=e[n]);return t}function qy(e,t){for(;e!==null;){var n=GRe(e,t);if(n){if(n.get)return Ka(n.get);if(typeof n.value=="function")return Ka(n.value)}e=zRe(e)}function r(i){return console.warn("fallback value for",i),null}return r}var lk=yA(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),w5=yA(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),B5=yA(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),ZRe=yA(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),C5=yA(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),e$e=yA(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),uk=yA(["#text"]),ck=yA(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),x5=yA(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),fk=yA(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Xy=yA(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),t$e=ja(/\{\{[\w\W]*|[\w\W]*\}\}/gm),n$e=ja(/<%[\w\W]*|[\w\W]*%>/gm),r$e=ja(/\${[\w\W]*}/gm),i$e=ja(/^data-[\-\w.\u00B7-\uFFFF]+$/),o$e=ja(/^aria-[\-\w]+$/),A$e=ja(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),a$e=ja(/^(?:\w+script|data):/i),s$e=ja(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),l$e=ja(/^html$/i),u$e=ja(/^[a-z][.\w]*(-[.\w]+)+$/i),c$e=function(){return typeof window>"u"?null:window},f$e=function(t,n){if(Xc(t)!=="object"||typeof t.createPolicy!="function")return null;var r=null,i="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(i)&&(r=n.currentScript.getAttribute(i));var o="dompurify"+(r?"#"+r:"");try{return t.createPolicy(o,{createHTML:function(a){return a},createScriptURL:function(a){return a}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function Fee(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c$e(),t=function(je){return Fee(je)};if(t.version="2.5.8",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;var n=e.document,r=e.document,i=e.DocumentFragment,o=e.HTMLTemplateElement,A=e.Node,a=e.Element,s=e.NodeFilter,u=e.NamedNodeMap,l=u===void 0?e.NamedNodeMap||e.MozNamedAttrMap:u,c=e.HTMLFormElement,d=e.DOMParser,f=e.trustedTypes,g=a.prototype,h=qy(g,"cloneNode"),m=qy(g,"nextSibling"),p=qy(g,"childNodes"),v=qy(g,"parentNode");if(typeof o=="function"){var y=r.createElement("template");y.content&&y.content.ownerDocument&&(r=y.content.ownerDocument)}var b=f$e(f,n),w=b?b.createHTML(""):"",C=r,B=C.implementation,O=C.createNodeIterator,x=C.createDocumentFragment,M=C.getElementsByTagName,R=n.importNode,F={};try{F=ud(r).documentMode?r.documentMode:{}}catch{}var L={};t.isSupported=typeof v=="function"&&B&&B.createHTMLDocument!==void 0&&F!==9;var E=t$e,H=n$e,X=r$e,z=i$e,Z=o$e,q=a$e,te=s$e,ne=u$e,_=A$e,Y=null,re=jn({},[].concat(hs(lk),hs(w5),hs(B5),hs(C5),hs(uk))),se=null,ce=jn({},[].concat(hs(ck),hs(x5),hs(fk),hs(Xy))),N=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),K=null,Ae=null,ae=!0,ie=!0,J=!1,ue=!0,G=!1,pe=!0,k=!1,P=!1,U=!1,W=!1,de=!1,me=!1,ve=!0,be=!1,Te="user-content-",we=!0,xe=!1,Ue={},ke=null,et=jn({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),De=null,_e=jn({},["audio","video","img","source","image","track"]),Re=null,Ne=jn({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ot="http://www.w3.org/1998/Math/MathML",rt="http://www.w3.org/2000/svg",nt="http://www.w3.org/1999/xhtml",Bt=nt,Et=!1,Xt=null,Ut=jn({},[ot,rt,nt],y5),$t,xt=["application/xhtml+xml","text/html"],Ct="text/html",ht,Tt=null,Yt=r.createElement("form"),nn=function(je){return je instanceof RegExp||je instanceof Function},zn=function(je){Tt&&Tt===je||((!je||Xc(je)!=="object")&&(je={}),je=ud(je),$t=xt.indexOf(je.PARSER_MEDIA_TYPE)===-1?$t=Ct:$t=je.PARSER_MEDIA_TYPE,ht=$t==="application/xhtml+xml"?y5:Wb,Y="ALLOWED_TAGS"in je?jn({},je.ALLOWED_TAGS,ht):re,se="ALLOWED_ATTR"in je?jn({},je.ALLOWED_ATTR,ht):ce,Xt="ALLOWED_NAMESPACES"in je?jn({},je.ALLOWED_NAMESPACES,y5):Ut,Re="ADD_URI_SAFE_ATTR"in je?jn(ud(Ne),je.ADD_URI_SAFE_ATTR,ht):Ne,De="ADD_DATA_URI_TAGS"in je?jn(ud(_e),je.ADD_DATA_URI_TAGS,ht):_e,ke="FORBID_CONTENTS"in je?jn({},je.FORBID_CONTENTS,ht):et,K="FORBID_TAGS"in je?jn({},je.FORBID_TAGS,ht):{},Ae="FORBID_ATTR"in je?jn({},je.FORBID_ATTR,ht):{},Ue="USE_PROFILES"in je?je.USE_PROFILES:!1,ae=je.ALLOW_ARIA_ATTR!==!1,ie=je.ALLOW_DATA_ATTR!==!1,J=je.ALLOW_UNKNOWN_PROTOCOLS||!1,ue=je.ALLOW_SELF_CLOSE_IN_ATTR!==!1,G=je.SAFE_FOR_TEMPLATES||!1,pe=je.SAFE_FOR_XML!==!1,k=je.WHOLE_DOCUMENT||!1,W=je.RETURN_DOM||!1,de=je.RETURN_DOM_FRAGMENT||!1,me=je.RETURN_TRUSTED_TYPE||!1,U=je.FORCE_BODY||!1,ve=je.SANITIZE_DOM!==!1,be=je.SANITIZE_NAMED_PROPS||!1,we=je.KEEP_CONTENT!==!1,xe=je.IN_PLACE||!1,_=je.ALLOWED_URI_REGEXP||_,Bt=je.NAMESPACE||nt,N=je.CUSTOM_ELEMENT_HANDLING||{},je.CUSTOM_ELEMENT_HANDLING&&nn(je.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(N.tagNameCheck=je.CUSTOM_ELEMENT_HANDLING.tagNameCheck),je.CUSTOM_ELEMENT_HANDLING&&nn(je.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(N.attributeNameCheck=je.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),je.CUSTOM_ELEMENT_HANDLING&&typeof je.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(N.allowCustomizedBuiltInElements=je.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),G&&(ie=!1),de&&(W=!0),Ue&&(Y=jn({},hs(uk)),se=[],Ue.html===!0&&(jn(Y,lk),jn(se,ck)),Ue.svg===!0&&(jn(Y,w5),jn(se,x5),jn(se,Xy)),Ue.svgFilters===!0&&(jn(Y,B5),jn(se,x5),jn(se,Xy)),Ue.mathMl===!0&&(jn(Y,C5),jn(se,fk),jn(se,Xy))),je.ADD_TAGS&&(Y===re&&(Y=ud(Y)),jn(Y,je.ADD_TAGS,ht)),je.ADD_ATTR&&(se===ce&&(se=ud(se)),jn(se,je.ADD_ATTR,ht)),je.ADD_URI_SAFE_ATTR&&jn(Re,je.ADD_URI_SAFE_ATTR,ht),je.FORBID_CONTENTS&&(ke===et&&(ke=ud(ke)),jn(ke,je.FORBID_CONTENTS,ht)),we&&(Y["#text"]=!0),k&&jn(Y,["html","head","body"]),Y.table&&(jn(Y,["tbody"]),delete K.tbody),yA&&yA(je),Tt=je)},ur=jn({},["mi","mo","mn","ms","mtext"]),Mt=jn({},["annotation-xml"]),vr=jn({},["title","style","font","a","script"]),Yr=jn({},w5);jn(Yr,B5),jn(Yr,ZRe);var mt=jn({},C5);jn(mt,e$e);var vt=function(je){var wt=v(je);(!wt||!wt.tagName)&&(wt={namespaceURI:Bt,tagName:"template"});var Pt=Wb(je.tagName),bn=Wb(wt.tagName);return Xt[je.namespaceURI]?je.namespaceURI===rt?wt.namespaceURI===nt?Pt==="svg":wt.namespaceURI===ot?Pt==="svg"&&(bn==="annotation-xml"||ur[bn]):!!Yr[Pt]:je.namespaceURI===ot?wt.namespaceURI===nt?Pt==="math":wt.namespaceURI===rt?Pt==="math"&&Mt[bn]:!!mt[Pt]:je.namespaceURI===nt?wt.namespaceURI===rt&&!Mt[bn]||wt.namespaceURI===ot&&!ur[bn]?!1:!mt[Pt]&&(vr[Pt]||!Yr[Pt]):!!($t==="application/xhtml+xml"&&Xt[je.namespaceURI]):!1},It=function(je){$0(t.removed,{element:je});try{je.parentNode.removeChild(je)}catch{try{je.outerHTML=w}catch{je.remove()}}},an=function(je,wt){try{$0(t.removed,{attribute:wt.getAttributeNode(je),from:wt})}catch{$0(t.removed,{attribute:null,from:wt})}if(wt.removeAttribute(je),je==="is"&&!se[je])if(W||de)try{It(wt)}catch{}else try{wt.setAttribute(je,"")}catch{}},Mn=function(je){var wt,Pt;if(U)je="<remove></remove>"+je;else{var bn=sk(je,/^[\r\n\t ]+/);Pt=bn&&bn[0]}$t==="application/xhtml+xml"&&Bt===nt&&(je='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+je+"</body></html>");var oi=b?b.createHTML(je):je;if(Bt===nt)try{wt=new d().parseFromString(oi,$t)}catch{}if(!wt||!wt.documentElement){wt=B.createDocument(Bt,"template",null);try{wt.documentElement.innerHTML=Et?w:oi}catch{}}var hr=wt.body||wt.documentElement;return je&&Pt&&hr.insertBefore(r.createTextNode(Pt),hr.childNodes[0]||null),Bt===nt?M.call(wt,k?"html":"body")[0]:k?wt.documentElement:hr},Kn=function(je){return O.call(je.ownerDocument||je,je,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION|s.SHOW_CDATA_SECTION,null,!1)},Ar=function(je){return je instanceof c&&(typeof je.nodeName!="string"||typeof je.textContent!="string"||typeof je.removeChild!="function"||!(je.attributes instanceof l)||typeof je.removeAttribute!="function"||typeof je.setAttribute!="function"||typeof je.namespaceURI!="string"||typeof je.insertBefore!="function"||typeof je.hasChildNodes!="function")},Gn=function(je){return Xc(A)==="object"?je instanceof A:je&&Xc(je)==="object"&&typeof je.nodeType=="number"&&typeof je.nodeName=="string"},er=function(je,wt,Pt){L[je]&&qRe(L[je],function(bn){bn.call(t,wt,Pt,Tt)})},yr=function(je){var wt;if(er("beforeSanitizeElements",je,null),Ar(je)||wo(/[\u0080-\uFFFF]/,je.nodeName))return It(je),!0;var Pt=ht(je.nodeName);if(er("uponSanitizeElement",je,{tagName:Pt,allowedTags:Y}),je.hasChildNodes()&&!Gn(je.firstElementChild)&&(!Gn(je.content)||!Gn(je.content.firstElementChild))&&wo(/<[/\w]/g,je.innerHTML)&&wo(/<[/\w]/g,je.textContent)||Pt==="select"&&wo(/<template/i,je.innerHTML)||je.nodeType===7||pe&&je.nodeType===8&&wo(/<[/\w]/g,je.data))return It(je),!0;if(!Y[Pt]||K[Pt]){if(!K[Pt]&&Dn(Pt)&&(N.tagNameCheck instanceof RegExp&&wo(N.tagNameCheck,Pt)||N.tagNameCheck instanceof Function&&N.tagNameCheck(Pt)))return!1;if(we&&!ke[Pt]){var bn=v(je)||je.parentNode,oi=p(je)||je.childNodes;if(oi&&bn)for(var hr=oi.length,Hr=hr-1;Hr>=0;--Hr){var io=h(oi[Hr],!0);io.__removalCount=(je.__removalCount||0)+1,bn.insertBefore(io,m(je))}}return It(je),!0}return je instanceof a&&!vt(je)||(Pt==="noscript"||Pt==="noembed"||Pt==="noframes")&&wo(/<\/no(script|embed|frames)/i,je.innerHTML)?(It(je),!0):(G&&je.nodeType===3&&(wt=je.textContent,wt=us(wt,E," "),wt=us(wt,H," "),wt=us(wt,X," "),je.textContent!==wt&&($0(t.removed,{element:je.cloneNode()}),je.textContent=wt)),er("afterSanitizeElements",je,null),!1)},br=function(je,wt,Pt){if(ve&&(wt==="id"||wt==="name")&&(Pt in r||Pt in Yt))return!1;if(!(ie&&!Ae[wt]&&wo(z,wt))){if(!(ae&&wo(Z,wt))){if(!se[wt]||Ae[wt]){if(!(Dn(je)&&(N.tagNameCheck instanceof RegExp&&wo(N.tagNameCheck,je)||N.tagNameCheck instanceof Function&&N.tagNameCheck(je))&&(N.attributeNameCheck instanceof RegExp&&wo(N.attributeNameCheck,wt)||N.attributeNameCheck instanceof Function&&N.attributeNameCheck(wt))||wt==="is"&&N.allowCustomizedBuiltInElements&&(N.tagNameCheck instanceof RegExp&&wo(N.tagNameCheck,Pt)||N.tagNameCheck instanceof Function&&N.tagNameCheck(Pt))))return!1}else if(!Re[wt]){if(!wo(_,us(Pt,te,""))){if(!((wt==="src"||wt==="xlink:href"||wt==="href")&&je!=="script"&&XRe(Pt,"data:")===0&&De[je])){if(!(J&&!wo(q,us(Pt,te,"")))){if(Pt)return!1}}}}}}return!0},Dn=function(je){return je!=="annotation-xml"&&sk(je,ne)},Kr=function(je){var wt,Pt,bn,oi;er("beforeSanitizeAttributes",je,null);var hr=je.attributes;if(!(!hr||Ar(je))){var Hr={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:se};for(oi=hr.length;oi--;){wt=hr[oi];var io=wt,wr=io.name,Qo=io.namespaceURI;if(Pt=wr==="value"?wt.value:YRe(wt.value),bn=ht(wr),Hr.attrName=bn,Hr.attrValue=Pt,Hr.keepAttr=!0,Hr.forceKeepAttr=void 0,er("uponSanitizeAttribute",je,Hr),Pt=Hr.attrValue,!Hr.forceKeepAttr&&(an(wr,je),!!Hr.keepAttr)){if(!ue&&wo(/\/>/i,Pt)){an(wr,je);continue}G&&(Pt=us(Pt,E," "),Pt=us(Pt,H," "),Pt=us(Pt,X," "));var qa=ht(je.nodeName);if(br(qa,bn,Pt)){if(be&&(bn==="id"||bn==="name")&&(an(wr,je),Pt=Te+Pt),pe&&wo(/((--!?|])>)|<\/(style|title)/i,Pt)){an(wr,je);continue}if(b&&Xc(f)==="object"&&typeof f.getAttributeType=="function"&&!Qo)switch(f.getAttributeType(qa,bn)){case"TrustedHTML":{Pt=b.createHTML(Pt);break}case"TrustedScriptURL":{Pt=b.createScriptURL(Pt);break}}try{Qo?je.setAttributeNS(Qo,wr,Pt):je.setAttribute(wr,Pt),Ar(je)?It(je):ak(t.removed)}catch{}}}}er("afterSanitizeAttributes",je,null)}},ii=function Ht(je){var wt,Pt=Kn(je);for(er("beforeSanitizeShadowDOM",je,null);wt=Pt.nextNode();)er("uponSanitizeShadowNode",wt,null),yr(wt),Kr(wt),wt.content instanceof i&&Ht(wt.content);er("afterSanitizeShadowDOM",je,null)};return t.sanitize=function(Ht){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},wt,Pt,bn,oi,hr;if(Et=!Ht,Et&&(Ht="<!-->"),typeof Ht!="string"&&!Gn(Ht))if(typeof Ht.toString=="function"){if(Ht=Ht.toString(),typeof Ht!="string")throw b5("dirty is not a string, aborting")}else throw b5("toString is not a function");if(!t.isSupported){if(Xc(e.toStaticHTML)==="object"||typeof e.toStaticHTML=="function"){if(typeof Ht=="string")return e.toStaticHTML(Ht);if(Gn(Ht))return e.toStaticHTML(Ht.outerHTML)}return Ht}if(P||zn(je),t.removed=[],typeof Ht=="string"&&(xe=!1),xe){if(Ht.nodeName){var Hr=ht(Ht.nodeName);if(!Y[Hr]||K[Hr])throw b5("root node is forbidden and cannot be sanitized in-place")}}else if(Ht instanceof A)wt=Mn("<!---->"),Pt=wt.ownerDocument.importNode(Ht,!0),Pt.nodeType===1&&Pt.nodeName==="BODY"||Pt.nodeName==="HTML"?wt=Pt:wt.appendChild(Pt);else{if(!W&&!G&&!k&&Ht.indexOf("<")===-1)return b&&me?b.createHTML(Ht):Ht;if(wt=Mn(Ht),!wt)return W?null:me?w:""}wt&&U&&It(wt.firstChild);for(var io=Kn(xe?Ht:wt);bn=io.nextNode();)bn.nodeType===3&&bn===oi||(yr(bn),Kr(bn),bn.content instanceof i&&ii(bn.content),oi=bn);if(oi=null,xe)return Ht;if(W){if(de)for(hr=x.call(wt.ownerDocument);wt.firstChild;)hr.appendChild(wt.firstChild);else hr=wt;return(se.shadowroot||se.shadowrootmod)&&(hr=R.call(n,hr,!0)),hr}var wr=k?wt.outerHTML:wt.innerHTML;return k&&Y["!doctype"]&&wt.ownerDocument&&wt.ownerDocument.doctype&&wt.ownerDocument.doctype.name&&wo(l$e,wt.ownerDocument.doctype.name)&&(wr="<!DOCTYPE "+wt.ownerDocument.doctype.name+`>
- `+wr),G&&(wr=us(wr,E," "),wr=us(wr,H," "),wr=us(wr,X," ")),b&&me?b.createHTML(wr):wr},t.setConfig=function(Ht){zn(Ht),P=!0},t.clearConfig=function(){Tt=null,P=!1},t.isValidAttribute=function(Ht,je,wt){Tt||zn({});var Pt=ht(Ht),bn=ht(je);return br(Pt,bn,wt)},t.addHook=function(Ht,je){typeof je=="function"&&(L[Ht]=L[Ht]||[],$0(L[Ht],je))},t.removeHook=function(Ht){if(L[Ht])return ak(L[Ht])},t.removeHooks=function(Ht){L[Ht]&&(L[Ht]=[])},t.removeAllHooks=function(){L={}},t}var d$e=Fee();const h$e=Object.freeze(Object.defineProperty({__proto__:null,default:d$e},Symbol.toStringTag,{value:"Module"}));var dk={},hk={},N0,pk;function Si(){if(pk)return N0;pk=1;var e=function(t){return t&&t.Math===Math&&t};return N0=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof vs=="object"&&vs)||e(typeof N0=="object"&&N0)||function(){return this}()||Function("return this")(),N0}var S5={},E5,gk;function Ri(){return gk||(gk=1,E5=function(e){try{return!!e()}catch{return!0}}),E5}var F5,mk;function Rs(){if(mk)return F5;mk=1;var e=Ri();return F5=!e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),F5}var I5,vk;function RC(){if(vk)return I5;vk=1;var e=Ri();return I5=!e(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),I5}var _5,yk;function Uo(){if(yk)return _5;yk=1;var e=RC(),t=Function.prototype.call;return _5=e?t.bind(t):function(){return t.apply(t,arguments)},_5}var O5={},bk;function p$e(){if(bk)return O5;bk=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!e.call({1:2},1);return O5.f=n?function(i){var o=t(this,i);return!!o&&o.enumerable}:e,O5}var T5,wk;function SU(){return wk||(wk=1,T5=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}),T5}var U5,Bk;function $i(){if(Bk)return U5;Bk=1;var e=RC(),t=Function.prototype,n=t.call,r=e&&t.bind.bind(n,n);return U5=e?r:function(i){return function(){return n.apply(i,arguments)}},U5}var Q5,Ck;function hh(){if(Ck)return Q5;Ck=1;var e=$i(),t=e({}.toString),n=e("".slice);return Q5=function(r){return n(t(r),8,-1)},Q5}var P5,xk;function Iee(){if(xk)return P5;xk=1;var e=$i(),t=Ri(),n=hh(),r=Object,i=e("".split);return P5=t(function(){return!r("z").propertyIsEnumerable(0)})?function(o){return n(o)==="String"?i(o,""):r(o)}:r,P5}var L5,Sk;function ph(){return Sk||(Sk=1,L5=function(e){return e==null}),L5}var D5,Ek;function $s(){if(Ek)return D5;Ek=1;var e=ph(),t=TypeError;return D5=function(n){if(e(n))throw new t("Can't call method on "+n);return n},D5}var R5,Fk;function kv(){if(Fk)return R5;Fk=1;var e=Iee(),t=$s();return R5=function(n){return e(t(n))},R5}var $5,Ik;function Ni(){if(Ik)return $5;Ik=1;var e=typeof document=="object"&&document.all;return $5=typeof e>"u"&&e!==void 0?function(t){return typeof t=="function"||t===e}:function(t){return typeof t=="function"},$5}var N5,_k;function Ns(){if(_k)return N5;_k=1;var e=Ni();return N5=function(t){return typeof t=="object"?t!==null:e(t)},N5}var H5,Ok;function gh(){if(Ok)return H5;Ok=1;var e=Si(),t=Ni(),n=function(r){return t(r)?r:void 0};return H5=function(r,i){return arguments.length<2?n(e[r]):e[r]&&e[r][i]},H5}var M5,Tk;function $C(){if(Tk)return M5;Tk=1;var e=$i();return M5=e({}.isPrototypeOf),M5}var k5,Uk;function jv(){if(Uk)return k5;Uk=1;var e=Si(),t=e.navigator,n=t&&t.userAgent;return k5=n?String(n):"",k5}var j5,Qk;function EU(){if(Qk)return j5;Qk=1;var e=Si(),t=jv(),n=e.process,r=e.Deno,i=n&&n.versions||r&&r.version,o=i&&i.v8,A,a;return o&&(A=o.split("."),a=A[0]>0&&A[0]<4?1:+(A[0]+A[1])),!a&&t&&(A=t.match(/Edge\/(\d+)/),(!A||A[1]>=74)&&(A=t.match(/Chrome\/(\d+)/),A&&(a=+A[1]))),j5=a,j5}var K5,Pk;function _ee(){if(Pk)return K5;Pk=1;var e=EU(),t=Ri(),n=Si(),r=n.String;return K5=!!Object.getOwnPropertySymbols&&!t(function(){var i=Symbol("symbol detection");return!r(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&e&&e<41}),K5}var V5,Lk;function Oee(){if(Lk)return V5;Lk=1;var e=_ee();return V5=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol",V5}var z5,Dk;function Tee(){if(Dk)return z5;Dk=1;var e=gh(),t=Ni(),n=$C(),r=Oee(),i=Object;return z5=r?function(o){return typeof o=="symbol"}:function(o){var A=e("Symbol");return t(A)&&n(A.prototype,i(o))},z5}var G5,Rk;function NC(){if(Rk)return G5;Rk=1;var e=String;return G5=function(t){try{return e(t)}catch{return"Object"}},G5}var W5,$k;function rc(){if($k)return W5;$k=1;var e=Ni(),t=NC(),n=TypeError;return W5=function(r){if(e(r))return r;throw new n(t(r)+" is not a function")},W5}var q5,Nk;function jg(){if(Nk)return q5;Nk=1;var e=rc(),t=ph();return q5=function(n,r){var i=n[r];return t(i)?void 0:e(i)},q5}var X5,Hk;function g$e(){if(Hk)return X5;Hk=1;var e=Uo(),t=Ni(),n=Ns(),r=TypeError;return X5=function(i,o){var A,a;if(o==="string"&&t(A=i.toString)&&!n(a=e(A,i))||t(A=i.valueOf)&&!n(a=e(A,i))||o!=="string"&&t(A=i.toString)&&!n(a=e(A,i)))return a;throw new r("Can't convert object to primitive value")},X5}var Y5={exports:{}},J5,Mk;function zl(){return Mk||(Mk=1,J5=!1),J5}var Z5,kk;function FU(){if(kk)return Z5;kk=1;var e=Si(),t=Object.defineProperty;return Z5=function(n,r){try{t(e,n,{value:r,configurable:!0,writable:!0})}catch{e[n]=r}return r},Z5}var jk;function IU(){if(jk)return Y5.exports;jk=1;var e=zl(),t=Si(),n=FU(),r="__core-js_shared__",i=Y5.exports=t[r]||n(r,{});return(i.versions||(i.versions=[])).push({version:"3.40.0",mode:e?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.40.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Y5.exports}var e4,Kk;function _U(){if(Kk)return e4;Kk=1;var e=IU();return e4=function(t,n){return e[t]||(e[t]=n||{})},e4}var t4,Vk;function HC(){if(Vk)return t4;Vk=1;var e=$s(),t=Object;return t4=function(n){return t(e(n))},t4}var n4,zk;function Hs(){if(zk)return n4;zk=1;var e=$i(),t=HC(),n=e({}.hasOwnProperty);return n4=Object.hasOwn||function(i,o){return n(t(i),o)},n4}var r4,Gk;function Uee(){if(Gk)return r4;Gk=1;var e=$i(),t=0,n=Math.random(),r=e(1 .toString);return r4=function(i){return"Symbol("+(i===void 0?"":i)+")_"+r(++t+n,36)},r4}var i4,Wk;function po(){if(Wk)return i4;Wk=1;var e=Si(),t=_U(),n=Hs(),r=Uee(),i=_ee(),o=Oee(),A=e.Symbol,a=t("wks"),s=o?A.for||A:A&&A.withoutSetter||r;return i4=function(u){return n(a,u)||(a[u]=i&&n(A,u)?A[u]:s("Symbol."+u)),a[u]},i4}var o4,qk;function m$e(){if(qk)return o4;qk=1;var e=Uo(),t=Ns(),n=Tee(),r=jg(),i=g$e(),o=po(),A=TypeError,a=o("toPrimitive");return o4=function(s,u){if(!t(s)||n(s))return s;var l=r(s,a),c;if(l){if(u===void 0&&(u="default"),c=e(l,s,u),!t(c)||n(c))return c;throw new A("Can't convert object to primitive value")}return u===void 0&&(u="number"),i(s,u)},o4}var A4,Xk;function Qee(){if(Xk)return A4;Xk=1;var e=m$e(),t=Tee();return A4=function(n){var r=e(n,"string");return t(r)?r:r+""},A4}var a4,Yk;function MC(){if(Yk)return a4;Yk=1;var e=Si(),t=Ns(),n=e.document,r=t(n)&&t(n.createElement);return a4=function(i){return r?n.createElement(i):{}},a4}var s4,Jk;function Pee(){if(Jk)return s4;Jk=1;var e=Rs(),t=Ri(),n=MC();return s4=!e&&!t(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!==7}),s4}var Zk;function kC(){if(Zk)return S5;Zk=1;var e=Rs(),t=Uo(),n=p$e(),r=SU(),i=kv(),o=Qee(),A=Hs(),a=Pee(),s=Object.getOwnPropertyDescriptor;return S5.f=e?s:function(l,c){if(l=i(l),c=o(c),a)try{return s(l,c)}catch{}if(A(l,c))return r(!t(n.f,l,c),l[c])},S5}var l4={},u4,e7;function Lee(){if(e7)return u4;e7=1;var e=Rs(),t=Ri();return u4=e&&t(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),u4}var c4,t7;function bA(){if(t7)return c4;t7=1;var e=Ns(),t=String,n=TypeError;return c4=function(r){if(e(r))return r;throw new n(t(r)+" is not an object")},c4}var n7;function If(){if(n7)return l4;n7=1;var e=Rs(),t=Pee(),n=Lee(),r=bA(),i=Qee(),o=TypeError,A=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",u="configurable",l="writable";return l4.f=e?n?function(d,f,g){if(r(d),f=i(f),r(g),typeof d=="function"&&f==="prototype"&&"value"in g&&l in g&&!g[l]){var h=a(d,f);h&&h[l]&&(d[f]=g.value,g={configurable:u in g?g[u]:h[u],enumerable:s in g?g[s]:h[s],writable:!1})}return A(d,f,g)}:A:function(d,f,g){if(r(d),f=i(f),r(g),t)try{return A(d,f,g)}catch{}if("get"in g||"set"in g)throw new o("Accessors not supported");return"value"in g&&(d[f]=g.value),d},l4}var f4,r7;function Kv(){if(r7)return f4;r7=1;var e=Rs(),t=If(),n=SU();return f4=e?function(r,i,o){return t.f(r,i,n(1,o))}:function(r,i,o){return r[i]=o,r},f4}var d4={exports:{}},h4,i7;function jC(){if(i7)return h4;i7=1;var e=Rs(),t=Hs(),n=Function.prototype,r=e&&Object.getOwnPropertyDescriptor,i=t(n,"name"),o=i&&(function(){}).name==="something",A=i&&(!e||e&&r(n,"name").configurable);return h4={EXISTS:i,PROPER:o,CONFIGURABLE:A},h4}var p4,o7;function OU(){if(o7)return p4;o7=1;var e=$i(),t=Ni(),n=IU(),r=e(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(i){return r(i)}),p4=n.inspectSource,p4}var g4,A7;function v$e(){if(A7)return g4;A7=1;var e=Si(),t=Ni(),n=e.WeakMap;return g4=t(n)&&/native code/.test(String(n)),g4}var m4,a7;function TU(){if(a7)return m4;a7=1;var e=_U(),t=Uee(),n=e("keys");return m4=function(r){return n[r]||(n[r]=t(r))},m4}var v4,s7;function UU(){return s7||(s7=1,v4={}),v4}var y4,l7;function KC(){if(l7)return y4;l7=1;var e=v$e(),t=Si(),n=Ns(),r=Kv(),i=Hs(),o=IU(),A=TU(),a=UU(),s="Object already initialized",u=t.TypeError,l=t.WeakMap,c,d,f,g=function(v){return f(v)?d(v):c(v,{})},h=function(v){return function(y){var b;if(!n(y)||(b=d(y)).type!==v)throw new u("Incompatible receiver, "+v+" required");return b}};if(e||o.state){var m=o.state||(o.state=new l);m.get=m.get,m.has=m.has,m.set=m.set,c=function(v,y){if(m.has(v))throw new u(s);return y.facade=v,m.set(v,y),y},d=function(v){return m.get(v)||{}},f=function(v){return m.has(v)}}else{var p=A("state");a[p]=!0,c=function(v,y){if(i(v,p))throw new u(s);return y.facade=v,r(v,p,y),y},d=function(v){return i(v,p)?v[p]:{}},f=function(v){return i(v,p)}}return y4={set:c,get:d,has:f,enforce:g,getterFor:h},y4}var u7;function Dee(){if(u7)return d4.exports;u7=1;var e=$i(),t=Ri(),n=Ni(),r=Hs(),i=Rs(),o=jC().CONFIGURABLE,A=OU(),a=KC(),s=a.enforce,u=a.get,l=String,c=Object.defineProperty,d=e("".slice),f=e("".replace),g=e([].join),h=i&&!t(function(){return c(function(){},"length",{value:8}).length!==8}),m=String(String).split("String"),p=d4.exports=function(v,y,b){d(l(y),0,7)==="Symbol("&&(y="["+f(l(y),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),b&&b.getter&&(y="get "+y),b&&b.setter&&(y="set "+y),(!r(v,"name")||o&&v.name!==y)&&(i?c(v,"name",{value:y,configurable:!0}):v.name=y),h&&b&&r(b,"arity")&&v.length!==b.arity&&c(v,"length",{value:b.arity});try{b&&r(b,"constructor")&&b.constructor?i&&c(v,"prototype",{writable:!1}):v.prototype&&(v.prototype=void 0)}catch{}var w=s(v);return r(w,"source")||(w.source=g(m,typeof y=="string"?y:"")),v};return Function.prototype.toString=p(function(){return n(this)&&u(this).source||A(this)},"toString"),d4.exports}var b4,c7;function mh(){if(c7)return b4;c7=1;var e=Ni(),t=If(),n=Dee(),r=FU();return b4=function(i,o,A,a){a||(a={});var s=a.enumerable,u=a.name!==void 0?a.name:o;if(e(A)&&n(A,u,a),a.global)s?i[o]=A:r(o,A);else{try{a.unsafe?i[o]&&(s=!0):delete i[o]}catch{}s?i[o]=A:t.f(i,o,{value:A,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return i},b4}var w4={},B4,f7;function y$e(){if(f7)return B4;f7=1;var e=Math.ceil,t=Math.floor;return B4=Math.trunc||function(r){var i=+r;return(i>0?t:e)(i)},B4}var C4,d7;function VC(){if(d7)return C4;d7=1;var e=y$e();return C4=function(t){var n=+t;return n!==n||n===0?0:e(n)},C4}var x4,h7;function b$e(){if(h7)return x4;h7=1;var e=VC(),t=Math.max,n=Math.min;return x4=function(r,i){var o=e(r);return o<0?t(o+i,0):n(o,i)},x4}var S4,p7;function Kg(){if(p7)return S4;p7=1;var e=VC(),t=Math.min;return S4=function(n){var r=e(n);return r>0?t(r,9007199254740991):0},S4}var E4,g7;function QU(){if(g7)return E4;g7=1;var e=Kg();return E4=function(t){return e(t.length)},E4}var F4,m7;function Ree(){if(m7)return F4;m7=1;var e=kv(),t=b$e(),n=QU(),r=function(i){return function(o,A,a){var s=e(o),u=n(s);if(u===0)return!i&&-1;var l=t(a,u),c;if(i&&A!==A){for(;u>l;)if(c=s[l++],c!==c)return!0}else for(;u>l;l++)if((i||l in s)&&s[l]===A)return i||l||0;return!i&&-1}};return F4={includes:r(!0),indexOf:r(!1)},F4}var I4,v7;function $ee(){if(v7)return I4;v7=1;var e=$i(),t=Hs(),n=kv(),r=Ree().indexOf,i=UU(),o=e([].push);return I4=function(A,a){var s=n(A),u=0,l=[],c;for(c in s)!t(i,c)&&t(s,c)&&o(l,c);for(;a.length>u;)t(s,c=a[u++])&&(~r(l,c)||o(l,c));return l},I4}var _4,y7;function PU(){return y7||(y7=1,_4=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),_4}var b7;function w$e(){if(b7)return w4;b7=1;var e=$ee(),t=PU(),n=t.concat("length","prototype");return w4.f=Object.getOwnPropertyNames||function(i){return e(i,n)},w4}var O4={},w7;function B$e(){return w7||(w7=1,O4.f=Object.getOwnPropertySymbols),O4}var T4,B7;function C$e(){if(B7)return T4;B7=1;var e=gh(),t=$i(),n=w$e(),r=B$e(),i=bA(),o=t([].concat);return T4=e("Reflect","ownKeys")||function(a){var s=n.f(i(a)),u=r.f;return u?o(s,u(a)):s},T4}var U4,C7;function x$e(){if(C7)return U4;C7=1;var e=Hs(),t=C$e(),n=kC(),r=If();return U4=function(i,o,A){for(var a=t(o),s=r.f,u=n.f,l=0;l<a.length;l++){var c=a[l];!e(i,c)&&!(A&&e(A,c))&&s(i,c,u(o,c))}},U4}var Q4,x7;function Nee(){if(x7)return Q4;x7=1;var e=Ri(),t=Ni(),n=/#|\.prototype\./,r=function(s,u){var l=o[i(s)];return l===a?!0:l===A?!1:t(u)?e(u):!!u},i=r.normalize=function(s){return String(s).replace(n,".").toLowerCase()},o=r.data={},A=r.NATIVE="N",a=r.POLYFILL="P";return Q4=r,Q4}var P4,S7;function wA(){if(S7)return P4;S7=1;var e=Si(),t=kC().f,n=Kv(),r=mh(),i=FU(),o=x$e(),A=Nee();return P4=function(a,s){var u=a.target,l=a.global,c=a.stat,d,f,g,h,m,p;if(l?f=e:c?f=e[u]||i(u,{}):f=e[u]&&e[u].prototype,f)for(g in s){if(m=s[g],a.dontCallGetSet?(p=t(f,g),h=p&&p.value):h=f[g],d=A(l?g:u+(c?".":"#")+g,a.forced),!d&&h!==void 0){if(typeof m==typeof h)continue;o(m,h)}(a.sham||h&&h.sham)&&n(m,"sham",!0),r(f,g,m,a)}},P4}var L4,E7;function Hee(){if(E7)return L4;E7=1;var e=Si(),t=jv(),n=hh(),r=function(i){return t.slice(0,i.length)===i};return L4=function(){return r("Bun/")?"BUN":r("Cloudflare-Workers")?"CLOUDFLARE":r("Deno/")?"DENO":r("Node.js/")?"NODE":e.Bun&&typeof Bun.version=="string"?"BUN":e.Deno&&typeof Deno.version=="object"?"DENO":n(e.process)==="process"?"NODE":e.window&&e.document?"BROWSER":"REST"}(),L4}var D4,F7;function zC(){if(F7)return D4;F7=1;var e=Hee();return D4=e==="NODE",D4}var R4,I7;function S$e(){if(I7)return R4;I7=1;var e=$i(),t=rc();return R4=function(n,r,i){try{return e(t(Object.getOwnPropertyDescriptor(n,r)[i]))}catch{}},R4}var $4,_7;function E$e(){if(_7)return $4;_7=1;var e=Ns();return $4=function(t){return e(t)||t===null},$4}var N4,O7;function F$e(){if(O7)return N4;O7=1;var e=E$e(),t=String,n=TypeError;return N4=function(r){if(e(r))return r;throw new n("Can't set "+t(r)+" as a prototype")},N4}var H4,T7;function Mee(){if(T7)return H4;T7=1;var e=S$e(),t=Ns(),n=$s(),r=F$e();return H4=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,o={},A;try{A=e(Object.prototype,"__proto__","set"),A(o,[]),i=o instanceof Array}catch{}return function(s,u){return n(s),r(u),t(s)&&(i?A(s,u):s.__proto__=u),s}}():void 0),H4}var M4,U7;function GC(){if(U7)return M4;U7=1;var e=If().f,t=Hs(),n=po(),r=n("toStringTag");return M4=function(i,o,A){i&&!A&&(i=i.prototype),i&&!t(i,r)&&e(i,r,{configurable:!0,value:o})},M4}var k4,Q7;function I$e(){if(Q7)return k4;Q7=1;var e=Dee(),t=If();return k4=function(n,r,i){return i.get&&e(i.get,r,{getter:!0}),i.set&&e(i.set,r,{setter:!0}),t.f(n,r,i)},k4}var j4,P7;function _$e(){if(P7)return j4;P7=1;var e=gh(),t=I$e(),n=po(),r=Rs(),i=n("species");return j4=function(o){var A=e(o);r&&A&&!A[i]&&t(A,i,{configurable:!0,get:function(){return this}})},j4}var K4,L7;function O$e(){if(L7)return K4;L7=1;var e=$C(),t=TypeError;return K4=function(n,r){if(e(r,n))return n;throw new t("Incorrect invocation")},K4}var V4,D7;function T$e(){if(D7)return V4;D7=1;var e=po(),t=e("toStringTag"),n={};return n[t]="z",V4=String(n)==="[object z]",V4}var z4,R7;function LU(){if(R7)return z4;R7=1;var e=T$e(),t=Ni(),n=hh(),r=po(),i=r("toStringTag"),o=Object,A=n(function(){return arguments}())==="Arguments",a=function(s,u){try{return s[u]}catch{}};return z4=e?n:function(s){var u,l,c;return s===void 0?"Undefined":s===null?"Null":typeof(l=a(u=o(s),i))=="string"?l:A?n(u):(c=n(u))==="Object"&&t(u.callee)?"Arguments":c},z4}var G4,$7;function U$e(){if($7)return G4;$7=1;var e=$i(),t=Ri(),n=Ni(),r=LU(),i=gh(),o=OU(),A=function(){},a=i("Reflect","construct"),s=/^\s*(?:class|function)\b/,u=e(s.exec),l=!s.test(A),c=function(g){if(!n(g))return!1;try{return a(A,[],g),!0}catch{return!1}},d=function(g){if(!n(g))return!1;switch(r(g)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!u(s,o(g))}catch{return!0}};return d.sham=!0,G4=!a||t(function(){var f;return c(c.call)||!c(Object)||!c(function(){f=!0})||f})?d:c,G4}var W4,N7;function Q$e(){if(N7)return W4;N7=1;var e=U$e(),t=NC(),n=TypeError;return W4=function(r){if(e(r))return r;throw new n(t(r)+" is not a constructor")},W4}var q4,H7;function kee(){if(H7)return q4;H7=1;var e=bA(),t=Q$e(),n=ph(),r=po(),i=r("species");return q4=function(o,A){var a=e(o).constructor,s;return a===void 0||n(s=e(a)[i])?A:t(s)},q4}var X4,M7;function jee(){if(M7)return X4;M7=1;var e=RC(),t=Function.prototype,n=t.apply,r=t.call;return X4=typeof Reflect=="object"&&Reflect.apply||(e?r.bind(n):function(){return r.apply(n,arguments)}),X4}var Y4,k7;function WC(){if(k7)return Y4;k7=1;var e=hh(),t=$i();return Y4=function(n){if(e(n)==="Function")return t(n)},Y4}var J4,j7;function DU(){if(j7)return J4;j7=1;var e=WC(),t=rc(),n=RC(),r=e(e.bind);return J4=function(i,o){return t(i),o===void 0?i:n?r(i,o):function(){return i.apply(o,arguments)}},J4}var Z4,K7;function Kee(){if(K7)return Z4;K7=1;var e=gh();return Z4=e("document","documentElement"),Z4}var eF,V7;function P$e(){if(V7)return eF;V7=1;var e=$i();return eF=e([].slice),eF}var tF,z7;function L$e(){if(z7)return tF;z7=1;var e=TypeError;return tF=function(t,n){if(t<n)throw new e("Not enough arguments");return t},tF}var nF,G7;function Vee(){if(G7)return nF;G7=1;var e=jv();return nF=/(?:ipad|iphone|ipod).*applewebkit/i.test(e),nF}var rF,W7;function zee(){if(W7)return rF;W7=1;var e=Si(),t=jee(),n=DU(),r=Ni(),i=Hs(),o=Ri(),A=Kee(),a=P$e(),s=MC(),u=L$e(),l=Vee(),c=zC(),d=e.setImmediate,f=e.clearImmediate,g=e.process,h=e.Dispatch,m=e.Function,p=e.MessageChannel,v=e.String,y=0,b={},w="onreadystatechange",C,B,O,x;o(function(){C=e.location});var M=function(E){if(i(b,E)){var H=b[E];delete b[E],H()}},R=function(E){return function(){M(E)}},F=function(E){M(E.data)},L=function(E){e.postMessage(v(E),C.protocol+"//"+C.host)};return(!d||!f)&&(d=function(H){u(arguments.length,1);var X=r(H)?H:m(H),z=a(arguments,1);return b[++y]=function(){t(X,void 0,z)},B(y),y},f=function(H){delete b[H]},c?B=function(E){g.nextTick(R(E))}:h&&h.now?B=function(E){h.now(R(E))}:p&&!l?(O=new p,x=O.port2,O.port1.onmessage=F,B=n(x.postMessage,x)):e.addEventListener&&r(e.postMessage)&&!e.importScripts&&C&&C.protocol!=="file:"&&!o(L)?(B=L,e.addEventListener("message",F,!1)):w in s("script")?B=function(E){A.appendChild(s("script"))[w]=function(){A.removeChild(this),M(E)}}:B=function(E){setTimeout(R(E),0)}),rF={set:d,clear:f},rF}var iF,q7;function D$e(){if(q7)return iF;q7=1;var e=Si(),t=Rs(),n=Object.getOwnPropertyDescriptor;return iF=function(r){if(!t)return e[r];var i=n(e,r);return i&&i.value},iF}var oF,X7;function Gee(){if(X7)return oF;X7=1;var e=function(){this.head=null,this.tail=null};return e.prototype={add:function(t){var n={item:t,next:null},r=this.tail;r?r.next=n:this.head=n,this.tail=n},get:function(){var t=this.head;if(t){var n=this.head=t.next;return n===null&&(this.tail=null),t.item}}},oF=e,oF}var AF,Y7;function R$e(){if(Y7)return AF;Y7=1;var e=jv();return AF=/ipad|iphone|ipod/i.test(e)&&typeof Pebble<"u",AF}var aF,J7;function $$e(){if(J7)return aF;J7=1;var e=jv();return aF=/web0s(?!.*chrome)/i.test(e),aF}var sF,Z7;function N$e(){if(Z7)return sF;Z7=1;var e=Si(),t=D$e(),n=DU(),r=zee().set,i=Gee(),o=Vee(),A=R$e(),a=$$e(),s=zC(),u=e.MutationObserver||e.WebKitMutationObserver,l=e.document,c=e.process,d=e.Promise,f=t("queueMicrotask"),g,h,m,p,v;if(!f){var y=new i,b=function(){var w,C;for(s&&(w=c.domain)&&w.exit();C=y.get();)try{C()}catch(B){throw y.head&&g(),B}w&&w.enter()};!o&&!s&&!a&&u&&l?(h=!0,m=l.createTextNode(""),new u(b).observe(m,{characterData:!0}),g=function(){m.data=h=!h}):!A&&d&&d.resolve?(p=d.resolve(void 0),p.constructor=d,v=n(p.then,p),g=function(){v(b)}):s?g=function(){c.nextTick(b)}:(r=n(r,e),g=function(){r(b)}),f=function(w){y.head||g(),y.add(w)}}return sF=f,sF}var lF,e9;function H$e(){return e9||(e9=1,lF=function(e,t){try{arguments.length===1?console.error(e):console.error(e,t)}catch{}}),lF}var uF,t9;function RU(){return t9||(t9=1,uF=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}),uF}var cF,n9;function Vv(){if(n9)return cF;n9=1;var e=Si();return cF=e.Promise,cF}var fF,r9;function zv(){if(r9)return fF;r9=1;var e=Si(),t=Vv(),n=Ni(),r=Nee(),i=OU(),o=po(),A=Hee(),a=zl(),s=EU(),u=t&&t.prototype,l=o("species"),c=!1,d=n(e.PromiseRejectionEvent),f=r("Promise",function(){var g=i(t),h=g!==String(t);if(!h&&s===66||a&&!(u.catch&&u.finally))return!0;if(!s||s<51||!/native code/.test(g)){var m=new t(function(y){y(1)}),p=function(y){y(function(){},function(){})},v=m.constructor={};if(v[l]=p,c=m.then(function(){})instanceof p,!c)return!0}return!h&&(A==="BROWSER"||A==="DENO")&&!d});return fF={CONSTRUCTOR:f,REJECTION_EVENT:d,SUBCLASSING:c},fF}var dF={},i9;function Gv(){if(i9)return dF;i9=1;var e=rc(),t=TypeError,n=function(r){var i,o;this.promise=new r(function(A,a){if(i!==void 0||o!==void 0)throw new t("Bad Promise constructor");i=A,o=a}),this.resolve=e(i),this.reject=e(o)};return dF.f=function(r){return new n(r)},dF}var o9;function M$e(){if(o9)return hk;o9=1;var e=wA(),t=zl(),n=zC(),r=Si(),i=Uo(),o=mh(),A=Mee(),a=GC(),s=_$e(),u=rc(),l=Ni(),c=Ns(),d=O$e(),f=kee(),g=zee().set,h=N$e(),m=H$e(),p=RU(),v=Gee(),y=KC(),b=Vv(),w=zv(),C=Gv(),B="Promise",O=w.CONSTRUCTOR,x=w.REJECTION_EVENT,M=w.SUBCLASSING,R=y.getterFor(B),F=y.set,L=b&&b.prototype,E=b,H=L,X=r.TypeError,z=r.document,Z=r.process,q=C.f,te=q,ne=!!(z&&z.createEvent&&r.dispatchEvent),_="unhandledrejection",Y="rejectionhandled",re=0,se=1,ce=2,N=1,K=2,Ae,ae,ie,J,ue=function(be){var Te;return c(be)&&l(Te=be.then)?Te:!1},G=function(be,Te){var we=Te.value,xe=Te.state===se,Ue=xe?be.ok:be.fail,ke=be.resolve,et=be.reject,De=be.domain,_e,Re,Ne;try{Ue?(xe||(Te.rejection===K&&W(Te),Te.rejection=N),Ue===!0?_e=we:(De&&De.enter(),_e=Ue(we),De&&(De.exit(),Ne=!0)),_e===be.promise?et(new X("Promise-chain cycle")):(Re=ue(_e))?i(Re,_e,ke,et):ke(_e)):et(we)}catch(ot){De&&!Ne&&De.exit(),et(ot)}},pe=function(be,Te){be.notified||(be.notified=!0,h(function(){for(var we=be.reactions,xe;xe=we.get();)G(xe,be);be.notified=!1,Te&&!be.rejection&&P(be)}))},k=function(be,Te,we){var xe,Ue;ne?(xe=z.createEvent("Event"),xe.promise=Te,xe.reason=we,xe.initEvent(be,!1,!0),r.dispatchEvent(xe)):xe={promise:Te,reason:we},!x&&(Ue=r["on"+be])?Ue(xe):be===_&&m("Unhandled promise rejection",we)},P=function(be){i(g,r,function(){var Te=be.facade,we=be.value,xe=U(be),Ue;if(xe&&(Ue=p(function(){n?Z.emit("unhandledRejection",we,Te):k(_,Te,we)}),be.rejection=n||U(be)?K:N,Ue.error))throw Ue.value})},U=function(be){return be.rejection!==N&&!be.parent},W=function(be){i(g,r,function(){var Te=be.facade;n?Z.emit("rejectionHandled",Te):k(Y,Te,be.value)})},de=function(be,Te,we){return function(xe){be(Te,xe,we)}},me=function(be,Te,we){be.done||(be.done=!0,we&&(be=we),be.value=Te,be.state=ce,pe(be,!0))},ve=function(be,Te,we){if(!be.done){be.done=!0,we&&(be=we);try{if(be.facade===Te)throw new X("Promise can't be resolved itself");var xe=ue(Te);xe?h(function(){var Ue={done:!1};try{i(xe,Te,de(ve,Ue,be),de(me,Ue,be))}catch(ke){me(Ue,ke,be)}}):(be.value=Te,be.state=se,pe(be,!1))}catch(Ue){me({done:!1},Ue,be)}}};if(O&&(E=function(Te){d(this,H),u(Te),i(Ae,this);var we=R(this);try{Te(de(ve,we),de(me,we))}catch(xe){me(we,xe)}},H=E.prototype,Ae=function(Te){F(this,{type:B,done:!1,notified:!1,parent:!1,reactions:new v,rejection:!1,state:re,value:null})},Ae.prototype=o(H,"then",function(Te,we){var xe=R(this),Ue=q(f(this,E));return xe.parent=!0,Ue.ok=l(Te)?Te:!0,Ue.fail=l(we)&&we,Ue.domain=n?Z.domain:void 0,xe.state===re?xe.reactions.add(Ue):h(function(){G(Ue,xe)}),Ue.promise}),ae=function(){var be=new Ae,Te=R(be);this.promise=be,this.resolve=de(ve,Te),this.reject=de(me,Te)},C.f=q=function(be){return be===E||be===ie?new ae(be):te(be)},!t&&l(b)&&L!==Object.prototype)){J=L.then,M||o(L,"then",function(Te,we){var xe=this;return new E(function(Ue,ke){i(J,xe,Ue,ke)}).then(Te,we)},{unsafe:!0});try{delete L.constructor}catch{}A&&A(L,H)}return e({global:!0,constructor:!0,wrap:!0,forced:O},{Promise:E}),a(E,B,!1,!0),s(B),hk}var A9={},hF,a9;function Wv(){return a9||(a9=1,hF={}),hF}var pF,s9;function k$e(){if(s9)return pF;s9=1;var e=po(),t=Wv(),n=e("iterator"),r=Array.prototype;return pF=function(i){return i!==void 0&&(t.Array===i||r[n]===i)},pF}var gF,l9;function Wee(){if(l9)return gF;l9=1;var e=LU(),t=jg(),n=ph(),r=Wv(),i=po(),o=i("iterator");return gF=function(A){if(!n(A))return t(A,o)||t(A,"@@iterator")||r[e(A)]},gF}var mF,u9;function j$e(){if(u9)return mF;u9=1;var e=Uo(),t=rc(),n=bA(),r=NC(),i=Wee(),o=TypeError;return mF=function(A,a){var s=arguments.length<2?i(A):a;if(t(s))return n(e(s,A));throw new o(r(A)+" is not iterable")},mF}var vF,c9;function K$e(){if(c9)return vF;c9=1;var e=Uo(),t=bA(),n=jg();return vF=function(r,i,o){var A,a;t(r);try{if(A=n(r,"return"),!A){if(i==="throw")throw o;return o}A=e(A,r)}catch(s){a=!0,A=s}if(i==="throw")throw o;if(a)throw A;return t(A),o},vF}var yF,f9;function qee(){if(f9)return yF;f9=1;var e=DU(),t=Uo(),n=bA(),r=NC(),i=k$e(),o=QU(),A=$C(),a=j$e(),s=Wee(),u=K$e(),l=TypeError,c=function(f,g){this.stopped=f,this.result=g},d=c.prototype;return yF=function(f,g,h){var m=h&&h.that,p=!!(h&&h.AS_ENTRIES),v=!!(h&&h.IS_RECORD),y=!!(h&&h.IS_ITERATOR),b=!!(h&&h.INTERRUPTED),w=e(g,m),C,B,O,x,M,R,F,L=function(H){return C&&u(C,"normal",H),new c(!0,H)},E=function(H){return p?(n(H),b?w(H[0],H[1],L):w(H[0],H[1])):b?w(H,L):w(H)};if(v)C=f.iterator;else if(y)C=f;else{if(B=s(f),!B)throw new l(r(f)+" is not iterable");if(i(B)){for(O=0,x=o(f);x>O;O++)if(M=E(f[O]),M&&A(d,M))return M;return new c(!1)}C=a(f,B)}for(R=v?f.next:C.next;!(F=t(R,C)).done;){try{M=E(F.value)}catch(H){u(C,"throw",H)}if(typeof M=="object"&&M&&A(d,M))return M}return new c(!1)},yF}var bF,d9;function V$e(){if(d9)return bF;d9=1;var e=po(),t=e("iterator"),n=!1;try{var r=0,i={next:function(){return{done:!!r++}},return:function(){n=!0}};i[t]=function(){return this},Array.from(i,function(){throw 2})}catch{}return bF=function(o,A){try{if(!A&&!n)return!1}catch{return!1}var a=!1;try{var s={};s[t]=function(){return{next:function(){return{done:a=!0}}}},o(s)}catch{}return a},bF}var wF,h9;function Xee(){if(h9)return wF;h9=1;var e=Vv(),t=V$e(),n=zv().CONSTRUCTOR;return wF=n||!t(function(r){e.all(r).then(void 0,function(){})}),wF}var p9;function z$e(){if(p9)return A9;p9=1;var e=wA(),t=Uo(),n=rc(),r=Gv(),i=RU(),o=qee(),A=Xee();return e({target:"Promise",stat:!0,forced:A},{all:function(s){var u=this,l=r.f(u),c=l.resolve,d=l.reject,f=i(function(){var g=n(u.resolve),h=[],m=0,p=1;o(s,function(v){var y=m++,b=!1;p++,t(g,u,v).then(function(w){b||(b=!0,h[y]=w,--p||c(h))},d)}),--p||c(h)});return f.error&&d(f.value),l.promise}}),A9}var g9={},m9;function G$e(){if(m9)return g9;m9=1;var e=wA(),t=zl(),n=zv().CONSTRUCTOR,r=Vv(),i=gh(),o=Ni(),A=mh(),a=r&&r.prototype;if(e({target:"Promise",proto:!0,forced:n,real:!0},{catch:function(u){return this.then(void 0,u)}}),!t&&o(r)){var s=i("Promise").prototype.catch;a.catch!==s&&A(a,"catch",s,{unsafe:!0})}return g9}var v9={},y9;function W$e(){if(y9)return v9;y9=1;var e=wA(),t=Uo(),n=rc(),r=Gv(),i=RU(),o=qee(),A=Xee();return e({target:"Promise",stat:!0,forced:A},{race:function(s){var u=this,l=r.f(u),c=l.reject,d=i(function(){var f=n(u.resolve);o(s,function(g){t(f,u,g).then(l.resolve,c)})});return d.error&&c(d.value),l.promise}}),v9}var b9={},w9;function q$e(){if(w9)return b9;w9=1;var e=wA(),t=Gv(),n=zv().CONSTRUCTOR;return e({target:"Promise",stat:!0,forced:n},{reject:function(i){var o=t.f(this),A=o.reject;return A(i),o.promise}}),b9}var B9={},BF,C9;function X$e(){if(C9)return BF;C9=1;var e=bA(),t=Ns(),n=Gv();return BF=function(r,i){if(e(r),t(i)&&i.constructor===r)return i;var o=n.f(r),A=o.resolve;return A(i),o.promise},BF}var x9;function Y$e(){if(x9)return B9;x9=1;var e=wA(),t=gh(),n=zl(),r=Vv(),i=zv().CONSTRUCTOR,o=X$e(),A=t("Promise"),a=n&&!i;return e({target:"Promise",stat:!0,forced:n||i},{resolve:function(u){return o(a&&this===A?r:this,u)}}),B9}var S9;function J$e(){return S9||(S9=1,M$e(),z$e(),G$e(),W$e(),q$e(),Y$e()),dk}J$e();function E9(e,t,n,r,i,o,A){try{var a=e[o](A),s=a.value}catch(u){return void n(u)}a.done?t(s):Promise.resolve(s).then(r,i)}function Gu(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function A(s){E9(o,r,i,A,a,"next",s)}function a(s){E9(o,r,i,A,a,"throw",s)}A(void 0)})}}var F9={},I9={},CF,_9;function Gl(){if(_9)return CF;_9=1;var e=LU(),t=String;return CF=function(n){if(e(n)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return t(n)},CF}var xF,O9;function Yee(){if(O9)return xF;O9=1;var e=bA();return xF=function(){var t=e(this),n="";return t.hasIndices&&(n+="d"),t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.unicodeSets&&(n+="v"),t.sticky&&(n+="y"),n},xF}var SF,T9;function Jee(){if(T9)return SF;T9=1;var e=Ri(),t=Si(),n=t.RegExp,r=e(function(){var A=n("a","y");return A.lastIndex=2,A.exec("abcd")!==null}),i=r||e(function(){return!n("a","y").sticky}),o=r||e(function(){var A=n("^r","gy");return A.lastIndex=2,A.exec("str")!==null});return SF={BROKEN_CARET:o,MISSED_STICKY:i,UNSUPPORTED_Y:r},SF}var EF={},FF,U9;function Z$e(){if(U9)return FF;U9=1;var e=$ee(),t=PU();return FF=Object.keys||function(r){return e(r,t)},FF}var Q9;function eNe(){if(Q9)return EF;Q9=1;var e=Rs(),t=Lee(),n=If(),r=bA(),i=kv(),o=Z$e();return EF.f=e&&!t?Object.defineProperties:function(a,s){r(a);for(var u=i(s),l=o(s),c=l.length,d=0,f;c>d;)n.f(a,f=l[d++],u[f]);return a},EF}var IF,P9;function qC(){if(P9)return IF;P9=1;var e=bA(),t=eNe(),n=PU(),r=UU(),i=Kee(),o=MC(),A=TU(),a=">",s="<",u="prototype",l="script",c=A("IE_PROTO"),d=function(){},f=function(v){return s+l+a+v+s+"/"+l+a},g=function(v){v.write(f("")),v.close();var y=v.parentWindow.Object;return v=null,y},h=function(){var v=o("iframe"),y="java"+l+":",b;return v.style.display="none",i.appendChild(v),v.src=String(y),b=v.contentWindow.document,b.open(),b.write(f("document.F=Object")),b.close(),b.F},m,p=function(){try{m=new ActiveXObject("htmlfile")}catch{}p=typeof document<"u"?document.domain&&m?g(m):h():g(m);for(var v=n.length;v--;)delete p[u][n[v]];return p()};return r[c]=!0,IF=Object.create||function(y,b){var w;return y!==null?(d[u]=e(y),w=new d,d[u]=null,w[c]=y):w=p(),b===void 0?w:t.f(w,b)},IF}var _F,L9;function tNe(){if(L9)return _F;L9=1;var e=Ri(),t=Si(),n=t.RegExp;return _F=e(function(){var r=n(".","s");return!(r.dotAll&&r.test(`
- `)&&r.flags==="s")}),_F}var OF,D9;function nNe(){if(D9)return OF;D9=1;var e=Ri(),t=Si(),n=t.RegExp;return OF=e(function(){var r=n("(?<a>b)","g");return r.exec("b").groups.a!=="b"||"b".replace(r,"$<a>c")!=="bc"}),OF}var TF,R9;function $U(){if(R9)return TF;R9=1;var e=Uo(),t=$i(),n=Gl(),r=Yee(),i=Jee(),o=_U(),A=qC(),a=KC().get,s=tNe(),u=nNe(),l=o("native-string-replace",String.prototype.replace),c=RegExp.prototype.exec,d=c,f=t("".charAt),g=t("".indexOf),h=t("".replace),m=t("".slice),p=function(){var w=/a/,C=/b*/g;return e(c,w,"a"),e(c,C,"a"),w.lastIndex!==0||C.lastIndex!==0}(),v=i.BROKEN_CARET,y=/()??/.exec("")[1]!==void 0,b=p||y||v||s||u;return b&&(d=function(C){var B=this,O=a(B),x=n(C),M=O.raw,R,F,L,E,H,X,z;if(M)return M.lastIndex=B.lastIndex,R=e(d,M,x),B.lastIndex=M.lastIndex,R;var Z=O.groups,q=v&&B.sticky,te=e(r,B),ne=B.source,_=0,Y=x;if(q&&(te=h(te,"y",""),g(te,"g")===-1&&(te+="g"),Y=m(x,B.lastIndex),B.lastIndex>0&&(!B.multiline||B.multiline&&f(x,B.lastIndex-1)!==`
- `)&&(ne="(?: "+ne+")",Y=" "+Y,_++),F=new RegExp("^(?:"+ne+")",te)),y&&(F=new RegExp("^"+ne+"$(?!\\s)",te)),p&&(L=B.lastIndex),E=e(c,q?F:B,Y),q?E?(E.input=m(E.input,_),E[0]=m(E[0],_),E.index=B.lastIndex,B.lastIndex+=E[0].length):B.lastIndex=0:p&&E&&(B.lastIndex=B.global?E.index+E[0].length:L),y&&E&&E.length>1&&e(l,E[0],F,function(){for(H=1;H<arguments.length-2;H++)arguments[H]===void 0&&(E[H]=void 0)}),E&&Z)for(E.groups=X=A(null),H=0;H<Z.length;H++)z=Z[H],X[z[0]]=E[z[1]];return E}),TF=d,TF}var $9;function rNe(){if($9)return I9;$9=1;var e=wA(),t=$U();return e({target:"RegExp",proto:!0,forced:/./.exec!==t},{exec:t}),I9}var UF,N9;function NU(){if(N9)return UF;N9=1,rNe();var e=Uo(),t=mh(),n=$U(),r=Ri(),i=po(),o=Kv(),A=i("species"),a=RegExp.prototype;return UF=function(s,u,l,c){var d=i(s),f=!r(function(){var p={};return p[d]=function(){return 7},""[s](p)!==7}),g=f&&!r(function(){var p=!1,v=/a/;return s==="split"&&(v={},v.constructor={},v.constructor[A]=function(){return v},v.flags="",v[d]=/./[d]),v.exec=function(){return p=!0,null},v[d](""),!p});if(!f||!g||l){var h=/./[d],m=u(d,""[s],function(p,v,y,b,w){var C=v.exec;return C===n||C===a.exec?f&&!w?{done:!0,value:e(h,v,y,b)}:{done:!0,value:e(p,y,v,b)}:{done:!1}});t(String.prototype,s,m[0]),t(a,d,m[1])}c&&o(a[d],"sham",!0)},UF}var QF,H9;function iNe(){if(H9)return QF;H9=1;var e=$i(),t=VC(),n=Gl(),r=$s(),i=e("".charAt),o=e("".charCodeAt),A=e("".slice),a=function(s){return function(u,l){var c=n(r(u)),d=t(l),f=c.length,g,h;return d<0||d>=f?s?"":void 0:(g=o(c,d),g<55296||g>56319||d+1===f||(h=o(c,d+1))<56320||h>57343?s?i(c,d):g:s?A(c,d,d+2):(g-55296<<10)+(h-56320)+65536)}};return QF={codeAt:a(!1),charAt:a(!0)},QF}var PF,M9;function HU(){if(M9)return PF;M9=1;var e=iNe().charAt;return PF=function(t,n,r){return n+(r?e(t,n).length:1)},PF}var LF,k9;function MU(){if(k9)return LF;k9=1;var e=Uo(),t=bA(),n=Ni(),r=hh(),i=$U(),o=TypeError;return LF=function(A,a){var s=A.exec;if(n(s)){var u=e(s,A,a);return u!==null&&t(u),u}if(r(A)==="RegExp")return e(i,A,a);throw new o("RegExp#exec called on incompatible receiver")},LF}var j9;function oNe(){if(j9)return F9;j9=1;var e=Uo(),t=NU(),n=bA(),r=ph(),i=Kg(),o=Gl(),A=$s(),a=jg(),s=HU(),u=MU();return t("match",function(l,c,d){return[function(g){var h=A(this),m=r(g)?void 0:a(g,l);return m?e(m,g,h):new RegExp(g)[l](o(h))},function(f){var g=n(this),h=o(f),m=d(c,g,h);if(m.done)return m.value;if(!g.global)return u(g,h);var p=g.unicode;g.lastIndex=0;for(var v=[],y=0,b;(b=u(g,h))!==null;){var w=o(b[0]);v[y]=w,w===""&&(g.lastIndex=s(h,i(g.lastIndex),p)),y++}return y===0?null:v}]}),F9}oNe();var K9={},DF,V9;function ANe(){if(V9)return DF;V9=1;var e=$i(),t=HC(),n=Math.floor,r=e("".charAt),i=e("".replace),o=e("".slice),A=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return DF=function(s,u,l,c,d,f){var g=l+s.length,h=c.length,m=a;return d!==void 0&&(d=t(d),m=A),i(f,m,function(p,v){var y;switch(r(v,0)){case"$":return"$";case"&":return s;case"`":return o(u,0,l);case"'":return o(u,g);case"<":y=d[o(v,1,-1)];break;default:var b=+v;if(b===0)return p;if(b>h){var w=n(b/10);return w===0?p:w<=h?c[w-1]===void 0?r(v,1):c[w-1]+r(v,1):p}y=c[b-1]}return y===void 0?"":y})},DF}var z9;function aNe(){if(z9)return K9;z9=1;var e=jee(),t=Uo(),n=$i(),r=NU(),i=Ri(),o=bA(),A=Ni(),a=ph(),s=VC(),u=Kg(),l=Gl(),c=$s(),d=HU(),f=jg(),g=ANe(),h=MU(),m=po(),p=m("replace"),v=Math.max,y=Math.min,b=n([].concat),w=n([].push),C=n("".indexOf),B=n("".slice),O=function(F){return F===void 0?F:String(F)},x=function(){return"a".replace(/./,"$0")==="$0"}(),M=function(){return/./[p]?/./[p]("a","$0")==="":!1}(),R=!i(function(){var F=/./;return F.exec=function(){var L=[];return L.groups={a:"7"},L},"".replace(F,"$<a>")!=="7"});return r("replace",function(F,L,E){var H=M?"$":"$0";return[function(z,Z){var q=c(this),te=a(z)?void 0:f(z,p);return te?t(te,z,q,Z):t(L,l(q),z,Z)},function(X,z){var Z=o(this),q=l(X);if(typeof z=="string"&&C(z,H)===-1&&C(z,"$<")===-1){var te=E(L,Z,q,z);if(te.done)return te.value}var ne=A(z);ne||(z=l(z));var _=Z.global,Y;_&&(Y=Z.unicode,Z.lastIndex=0);for(var re=[],se;se=h(Z,q),!(se===null||(w(re,se),!_));){var ce=l(se[0]);ce===""&&(Z.lastIndex=d(q,u(Z.lastIndex),Y))}for(var N="",K=0,Ae=0;Ae<re.length;Ae++){se=re[Ae];for(var ae=l(se[0]),ie=v(y(s(se.index),q.length),0),J=[],ue,G=1;G<se.length;G++)w(J,O(se[G]));var pe=se.groups;if(ne){var k=b([ae],J,ie,q);pe!==void 0&&w(k,pe),ue=l(e(z,void 0,k))}else ue=g(ae,q,ie,J,pe,z);ie>=K&&(N+=B(q,K,ie)+ue,K=ie+ae.length)}return N+B(q,K)}]},!R||!x||M),K9}aNe();var G9={},RF,W9;function sNe(){if(W9)return RF;W9=1;var e=Ns(),t=hh(),n=po(),r=n("match");return RF=function(i){var o;return e(i)&&((o=i[r])!==void 0?!!o:t(i)==="RegExp")},RF}var $F,q9;function kU(){if(q9)return $F;q9=1;var e=sNe(),t=TypeError;return $F=function(n){if(e(n))throw new t("The method doesn't accept regular expressions");return n},$F}var NF,X9;function jU(){if(X9)return NF;X9=1;var e=po(),t=e("match");return NF=function(n){var r=/./;try{"/./"[n](r)}catch{try{return r[t]=!1,"/./"[n](r)}catch{}}return!1},NF}var Y9;function lNe(){if(Y9)return G9;Y9=1;var e=wA(),t=WC(),n=kC().f,r=Kg(),i=Gl(),o=kU(),A=$s(),a=jU(),s=zl(),u=t("".slice),l=Math.min,c=a("startsWith"),d=!s&&!c&&!!function(){var f=n(String.prototype,"startsWith");return f&&!f.writable}();return e({target:"String",proto:!0,forced:!d&&!c},{startsWith:function(g){var h=i(A(this));o(g);var m=r(l(arguments.length>1?arguments[1]:void 0,h.length)),p=i(g);return u(h,m,m+p.length)===p}}),G9}lNe();var HF,J9;function uNe(){if(J9)return HF;J9=1;var e=po(),t=qC(),n=If().f,r=e("unscopables"),i=Array.prototype;return i[r]===void 0&&n(i,r,{configurable:!0,value:t(null)}),HF=function(o){i[r][o]=!0},HF}var MF,Z9;function cNe(){if(Z9)return MF;Z9=1;var e=Ri();return MF=!e(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),MF}var kF,ej;function Zee(){if(ej)return kF;ej=1;var e=Hs(),t=Ni(),n=HC(),r=TU(),i=cNe(),o=r("IE_PROTO"),A=Object,a=A.prototype;return kF=i?A.getPrototypeOf:function(s){var u=n(s);if(e(u,o))return u[o];var l=u.constructor;return t(l)&&u instanceof l?l.prototype:u instanceof A?a:null},kF}var jF,tj;function ete(){if(tj)return jF;tj=1;var e=Ri(),t=Ni(),n=Ns(),r=qC(),i=Zee(),o=mh(),A=po(),a=zl(),s=A("iterator"),u=!1,l,c,d;[].keys&&(d=[].keys(),"next"in d?(c=i(i(d)),c!==Object.prototype&&(l=c)):u=!0);var f=!n(l)||e(function(){var g={};return l[s].call(g)!==g});return f?l={}:a&&(l=r(l)),t(l[s])||o(l,s,function(){return this}),jF={IteratorPrototype:l,BUGGY_SAFARI_ITERATORS:u},jF}var KF,nj;function fNe(){if(nj)return KF;nj=1;var e=ete().IteratorPrototype,t=qC(),n=SU(),r=GC(),i=Wv(),o=function(){return this};return KF=function(A,a,s,u){var l=a+" Iterator";return A.prototype=t(e,{next:n(+!u,s)}),r(A,l,!1,!0),i[l]=o,A},KF}var VF,rj;function dNe(){if(rj)return VF;rj=1;var e=wA(),t=Uo(),n=zl(),r=jC(),i=Ni(),o=fNe(),A=Zee(),a=Mee(),s=GC(),u=Kv(),l=mh(),c=po(),d=Wv(),f=ete(),g=r.PROPER,h=r.CONFIGURABLE,m=f.IteratorPrototype,p=f.BUGGY_SAFARI_ITERATORS,v=c("iterator"),y="keys",b="values",w="entries",C=function(){return this};return VF=function(B,O,x,M,R,F,L){o(x,O,M);var E=function(re){if(re===R&&q)return q;if(!p&&re&&re in z)return z[re];switch(re){case y:return function(){return new x(this,re)};case b:return function(){return new x(this,re)};case w:return function(){return new x(this,re)}}return function(){return new x(this)}},H=O+" Iterator",X=!1,z=B.prototype,Z=z[v]||z["@@iterator"]||R&&z[R],q=!p&&Z||E(R),te=O==="Array"&&z.entries||Z,ne,_,Y;if(te&&(ne=A(te.call(new B)),ne!==Object.prototype&&ne.next&&(!n&&A(ne)!==m&&(a?a(ne,m):i(ne[v])||l(ne,v,C)),s(ne,H,!0,!0),n&&(d[H]=C))),g&&R===b&&Z&&Z.name!==b&&(!n&&h?u(z,"name",b):(X=!0,q=function(){return t(Z,this)})),R)if(_={values:E(b),keys:F?q:E(y),entries:E(w)},L)for(Y in _)(p||X||!(Y in z))&&l(z,Y,_[Y]);else e({target:O,proto:!0,forced:p||X},_);return(!n||L)&&z[v]!==q&&l(z,v,q,{name:R}),d[O]=q,_},VF}var zF,ij;function hNe(){return ij||(ij=1,zF=function(e,t){return{value:e,done:t}}),zF}var GF,oj;function tte(){if(oj)return GF;oj=1;var e=kv(),t=uNe(),n=Wv(),r=KC(),i=If().f,o=dNe(),A=hNe(),a=zl(),s=Rs(),u="Array Iterator",l=r.set,c=r.getterFor(u);GF=o(Array,"Array",function(f,g){l(this,{type:u,target:e(f),index:0,kind:g})},function(){var f=c(this),g=f.target,h=f.index++;if(!g||h>=g.length)return f.target=null,A(void 0,!0);switch(f.kind){case"keys":return A(h,!1);case"values":return A(g[h],!1)}return A([h,g[h]],!1)},"values");var d=n.Arguments=n.Array;if(t("keys"),t("values"),t("entries"),!a&&s&&d.name!=="values")try{i(d,"name",{value:"values"})}catch{}return GF}tte();var Aj={},WF,aj;function pNe(){return aj||(aj=1,WF={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}),WF}var qF,sj;function gNe(){if(sj)return qF;sj=1;var e=MC(),t=e("span").classList,n=t&&t.constructor&&t.constructor.prototype;return qF=n===Object.prototype?void 0:n,qF}var lj;function mNe(){if(lj)return Aj;lj=1;var e=Si(),t=pNe(),n=gNe(),r=tte(),i=Kv(),o=GC(),A=po(),a=A("iterator"),s=r.values,u=function(c,d){if(c){if(c[a]!==s)try{i(c,a,s)}catch{c[a]=s}if(o(c,d,!0),t[d]){for(var f in r)if(c[f]!==r[f])try{i(c,f,r[f])}catch{c[f]=r[f]}}}};for(var l in t)u(e[l]&&e[l].prototype,l);return u(n,"DOMTokenList"),Aj}mNe();var uj={},XF,cj;function vNe(){if(cj)return XF;cj=1;var e=rc(),t=HC(),n=Iee(),r=QU(),i=TypeError,o="Reduce of empty array with no initial value",A=function(a){return function(s,u,l,c){var d=t(s),f=n(d),g=r(d);if(e(u),g===0&&l<2)throw new i(o);var h=a?g-1:0,m=a?-1:1;if(l<2)for(;;){if(h in f){c=f[h],h+=m;break}if(h+=m,a?h<0:g<=h)throw new i(o)}for(;a?h>=0:g>h;h+=m)h in f&&(c=u(c,f[h],h,d));return c}};return XF={left:A(!1),right:A(!0)},XF}var YF,fj;function nte(){if(fj)return YF;fj=1;var e=Ri();return YF=function(t,n){var r=[][t];return!!r&&e(function(){r.call(null,n||function(){return 1},1)})},YF}var dj;function yNe(){if(dj)return uj;dj=1;var e=wA(),t=vNe().left,n=nte(),r=EU(),i=zC(),o=!i&&r>79&&r<83,A=o||!n("reduce");return e({target:"Array",proto:!0,forced:A},{reduce:function(s){var u=arguments.length;return t(this,s,u,u>1?arguments[1]:void 0)}}),uj}yNe();var hj={},pj;function bNe(){if(pj)return hj;pj=1;var e=wA(),t=WC(),n=kC().f,r=Kg(),i=Gl(),o=kU(),A=$s(),a=jU(),s=zl(),u=t("".slice),l=Math.min,c=a("endsWith"),d=!s&&!c&&!!function(){var f=n(String.prototype,"endsWith");return f&&!f.writable}();return e({target:"String",proto:!0,forced:!d&&!c},{endsWith:function(g){var h=i(A(this));o(g);var m=arguments.length>1?arguments[1]:void 0,p=h.length,v=m===void 0?p:l(r(m),p),y=i(g);return u(h,v-y.length,v)===y}}),hj}bNe();var gj={},mj;function wNe(){if(mj)return gj;mj=1;var e=Uo(),t=$i(),n=NU(),r=bA(),i=ph(),o=$s(),A=kee(),a=HU(),s=Kg(),u=Gl(),l=jg(),c=MU(),d=Jee(),f=Ri(),g=d.UNSUPPORTED_Y,h=4294967295,m=Math.min,p=t([].push),v=t("".slice),y=!f(function(){var w=/(?:)/,C=w.exec;w.exec=function(){return C.apply(this,arguments)};var B="ab".split(w);return B.length!==2||B[0]!=="a"||B[1]!=="b"}),b="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;return n("split",function(w,C,B){var O="0".split(void 0,0).length?function(x,M){return x===void 0&&M===0?[]:e(C,this,x,M)}:C;return[function(M,R){var F=o(this),L=i(M)?void 0:l(M,w);return L?e(L,M,F,R):e(O,u(F),M,R)},function(x,M){var R=r(this),F=u(x);if(!b){var L=B(O,R,F,M,O!==C);if(L.done)return L.value}var E=A(R,RegExp),H=R.unicode,X=(R.ignoreCase?"i":"")+(R.multiline?"m":"")+(R.unicode?"u":"")+(g?"g":"y"),z=new E(g?"^(?:"+R.source+")":R,X),Z=M===void 0?h:M>>>0;if(Z===0)return[];if(F.length===0)return c(z,F)===null?[F]:[];for(var q=0,te=0,ne=[];te<F.length;){z.lastIndex=g?0:te;var _=c(z,g?v(F,te):F),Y;if(_===null||(Y=m(s(z.lastIndex+(g?te:0)),F.length))===q)te=a(F,te,H);else{if(p(ne,v(F,q,te)),ne.length===Z)return ne;for(var re=1;re<=_.length-1;re++)if(p(ne,_[re]),ne.length===Z)return ne;te=q=Y}}return p(ne,v(F,q)),ne}]},b||!y,g),gj}wNe();var H0={exports:{}},gd={exports:{}},BNe=gd.exports,vj;function CNe(){return vj||(vj=1,(function(){var e,t,n,r,i,o;typeof performance<"u"&&performance!==null&&performance.now?gd.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(gd.exports=function(){return(e()-i)/1e6},t=process.hrtime,e=function(){var A;return A=t(),A[0]*1e9+A[1]},r=e(),o=process.uptime()*1e9,i=r-o):Date.now?(gd.exports=function(){return Date.now()-n},n=Date.now()):(gd.exports=function(){return new Date().getTime()-n},n=new Date().getTime())}).call(BNe)),gd.exports}var yj;function xNe(){if(yj)return H0.exports;yj=1;for(var e=CNe(),t=typeof window>"u"?vs:window,n=["moz","webkit"],r="AnimationFrame",i=t["request"+r],o=t["cancel"+r]||t["cancelRequest"+r],A=0;!i&&A<n.length;A++)i=t[n[A]+"Request"+r],o=t[n[A]+"Cancel"+r]||t[n[A]+"CancelRequest"+r];if(!i||!o){var a=0,s=0,u=[],l=1e3/60;i=function(c){if(u.length===0){var d=e(),f=Math.max(0,l-(d-a));a=f+d,setTimeout(function(){var g=u.slice(0);u.length=0;for(var h=0;h<g.length;h++)if(!g[h].cancelled)try{g[h].callback(a)}catch(m){setTimeout(function(){throw m},0)}},Math.round(f))}return u.push({handle:++s,callback:c,cancelled:!1}),s},o=function(c){for(var d=0;d<u.length;d++)u[d].handle===c&&(u[d].cancelled=!0)}}return H0.exports=function(c){return i.call(t,c)},H0.exports.cancel=function(){o.apply(t,arguments)},H0.exports.polyfill=function(c){c||(c=t),c.requestAnimationFrame=i,c.cancelAnimationFrame=o},H0.exports}var SNe=xNe();const JF=Dl(SNe);var bj={},ZF,wj;function rte(){return wj||(wj=1,ZF=`
- \v\f\r \u2028\u2029\uFEFF`),ZF}var e3,Bj;function ENe(){if(Bj)return e3;Bj=1;var e=$i(),t=$s(),n=Gl(),r=rte(),i=e("".replace),o=RegExp("^["+r+"]+"),A=RegExp("(^|[^"+r+"])["+r+"]+$"),a=function(s){return function(u){var l=n(t(u));return s&1&&(l=i(l,o,"")),s&2&&(l=i(l,A,"$1")),l}};return e3={start:a(1),end:a(2),trim:a(3)},e3}var t3,Cj;function FNe(){if(Cj)return t3;Cj=1;var e=jC().PROPER,t=Ri(),n=rte(),r="
";return t3=function(i){return t(function(){return!!n[i]()||r[i]()!==r||e&&n[i].name!==i})},t3}var xj;function INe(){if(xj)return bj;xj=1;var e=wA(),t=ENe().trim,n=FNe();return e({target:"String",proto:!0,forced:n("trim")},{trim:function(){return t(this)}}),bj}INe();var n3,Sj;function _Ne(){return Sj||(Sj=1,n3=function(e){this.ok=!1,this.alpha=1,e.charAt(0)=="#"&&(e=e.substr(1,6)),e=e.replace(/ /g,""),e=e.toLowerCase();var t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};e=t[e]||e;for(var n=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(s){return[parseInt(s[1]),parseInt(s[2]),parseInt(s[3]),parseFloat(s[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(s){return[parseInt(s[1]),parseInt(s[2]),parseInt(s[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(s){return[parseInt(s[1],16),parseInt(s[2],16),parseInt(s[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(s){return[parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16),parseInt(s[3]+s[3],16)]}}],r=0;r<n.length;r++){var i=n[r].re,o=n[r].process,A=i.exec(e);if(A){var a=o(A);this.r=a[0],this.g=a[1],this.b=a[2],a.length>3&&(this.alpha=a[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var s=this.r.toString(16),u=this.g.toString(16),l=this.b.toString(16);return s.length==1&&(s="0"+s),u.length==1&&(u="0"+u),l.length==1&&(l="0"+l),"#"+s+u+l},this.getHelpXML=function(){for(var s=new Array,u=0;u<n.length;u++)for(var l=n[u].example,c=0;c<l.length;c++)s[s.length]=l[c];for(var d in t)s[s.length]=d;var f=document.createElement("ul");f.setAttribute("id","rgbcolor-examples");for(var u=0;u<s.length;u++)try{var g=document.createElement("li"),h=new RGBColor(s[u]),m=document.createElement("div");m.style.cssText="margin: 3px; border: 1px solid black; background:"+h.toHex()+"; color:"+h.toHex(),m.appendChild(document.createTextNode("test"));var p=document.createTextNode(" "+s[u]+" -> "+h.toRGB()+" -> "+h.toHex());g.appendChild(m),g.appendChild(p),f.appendChild(g)}catch{}return f}}),n3}var ONe=_Ne();const X_=Dl(ONe);var Ej={},Fj;function TNe(){if(Fj)return Ej;Fj=1;var e=wA(),t=WC(),n=Ree().indexOf,r=nte(),i=t([].indexOf),o=!!i&&1/i([1],1,-0)<0,A=o||!r("indexOf");return e({target:"Array",proto:!0,forced:A},{indexOf:function(s){var u=arguments.length>1?arguments[1]:void 0;return o?i(this,s,u)||0:n(this,s,u)}}),Ej}TNe();var Ij={},_j;function UNe(){if(_j)return Ij;_j=1;var e=wA(),t=$i(),n=kU(),r=$s(),i=Gl(),o=jU(),A=t("".indexOf);return e({target:"String",proto:!0,forced:!o("includes")},{includes:function(s){return!!~A(i(r(this)),i(n(s)),arguments.length>1?arguments[1]:void 0)}}),Ij}UNe();var Oj={},r3,Tj;function QNe(){if(Tj)return r3;Tj=1;var e=hh();return r3=Array.isArray||function(n){return e(n)==="Array"},r3}var Uj;function PNe(){if(Uj)return Oj;Uj=1;var e=wA(),t=$i(),n=QNe(),r=t([].reverse),i=[1,2];return e({target:"Array",proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return n(this)&&(this.length=this.length),r(this)}}),Oj}PNe();/*! *****************************************************************************
- Copyright (c) Microsoft Corporation.
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted.
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */var ite=function(e,t){return(ite=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])})(e,t)};function ote(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ite(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function LNe(e){var t="";Array.isArray(e)||(e=[e]);for(var n=0;n<e.length;n++){var r=e[n];if(r.type===Ot.CLOSE_PATH)t+="z";else if(r.type===Ot.HORIZ_LINE_TO)t+=(r.relative?"h":"H")+r.x;else if(r.type===Ot.VERT_LINE_TO)t+=(r.relative?"v":"V")+r.y;else if(r.type===Ot.MOVE_TO)t+=(r.relative?"m":"M")+r.x+" "+r.y;else if(r.type===Ot.LINE_TO)t+=(r.relative?"l":"L")+r.x+" "+r.y;else if(r.type===Ot.CURVE_TO)t+=(r.relative?"c":"C")+r.x1+" "+r.y1+" "+r.x2+" "+r.y2+" "+r.x+" "+r.y;else if(r.type===Ot.SMOOTH_CURVE_TO)t+=(r.relative?"s":"S")+r.x2+" "+r.y2+" "+r.x+" "+r.y;else if(r.type===Ot.QUAD_TO)t+=(r.relative?"q":"Q")+r.x1+" "+r.y1+" "+r.x+" "+r.y;else if(r.type===Ot.SMOOTH_QUAD_TO)t+=(r.relative?"t":"T")+r.x+" "+r.y;else{if(r.type!==Ot.ARC)throw new Error('Unexpected command type "'+r.type+'" at index '+n+".");t+=(r.relative?"a":"A")+r.rX+" "+r.rY+" "+r.xRot+" "+ +r.lArcFlag+" "+ +r.sweepFlag+" "+r.x+" "+r.y}}return t}function Y_(e,t){var n=e[0],r=e[1];return[n*Math.cos(t)-r*Math.sin(t),n*Math.sin(t)+r*Math.cos(t)]}function ps(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0;n<e.length;n++)if(typeof e[n]!="number")throw new Error("assertNumbers arguments["+n+"] is not a number. "+typeof e[n]+" == typeof "+e[n]);return!0}var Vc=Math.PI;function i3(e,t,n){e.lArcFlag=e.lArcFlag===0?0:1,e.sweepFlag=e.sweepFlag===0?0:1;var r=e.rX,i=e.rY,o=e.x,A=e.y;r=Math.abs(e.rX),i=Math.abs(e.rY);var a=Y_([(t-o)/2,(n-A)/2],-e.xRot/180*Vc),s=a[0],u=a[1],l=Math.pow(s,2)/Math.pow(r,2)+Math.pow(u,2)/Math.pow(i,2);1<l&&(r*=Math.sqrt(l),i*=Math.sqrt(l)),e.rX=r,e.rY=i;var c=Math.pow(r,2)*Math.pow(u,2)+Math.pow(i,2)*Math.pow(s,2),d=(e.lArcFlag!==e.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(r,2)*Math.pow(i,2)-c)/c)),f=r*u/i*d,g=-i*s/r*d,h=Y_([f,g],e.xRot/180*Vc);e.cX=h[0]+(t+o)/2,e.cY=h[1]+(n+A)/2,e.phi1=Math.atan2((u-g)/i,(s-f)/r),e.phi2=Math.atan2((-u-g)/i,(-s-f)/r),e.sweepFlag===0&&e.phi2>e.phi1&&(e.phi2-=2*Vc),e.sweepFlag===1&&e.phi2<e.phi1&&(e.phi2+=2*Vc),e.phi1*=180/Vc,e.phi2*=180/Vc}function Qj(e,t,n){ps(e,t,n);var r=e*e+t*t-n*n;if(0>r)return[];if(r===0)return[[e*n/(e*e+t*t),t*n/(e*e+t*t)]];var i=Math.sqrt(r);return[[(e*n+t*i)/(e*e+t*t),(t*n-e*i)/(e*e+t*t)],[(e*n-t*i)/(e*e+t*t),(t*n+e*i)/(e*e+t*t)]]}var zi,Cu=Math.PI/180;function Pj(e,t,n){return(1-n)*e+n*t}function Lj(e,t,n,r){return e+Math.cos(r/180*Vc)*t+Math.sin(r/180*Vc)*n}function Dj(e,t,n,r){var i=1e-6,o=t-e,A=n-t,a=3*o+3*(r-n)-6*A,s=6*(A-o),u=3*o;return Math.abs(a)<i?[-u/s]:function(l,c,d){var f=l*l/4-c;if(f<-1e-6)return[];if(f<=d)return[-l/2];var g=Math.sqrt(f);return[-l/2-g,-l/2+g]}(s/a,u/a,i)}function Rj(e,t,n,r,i){var o=1-i;return e*(o*o*o)+t*(3*o*o*i)+n*(3*o*i*i)+r*(i*i*i)}(function(e){function t(){return i(function(a,s,u){return a.relative&&(a.x1!==void 0&&(a.x1+=s),a.y1!==void 0&&(a.y1+=u),a.x2!==void 0&&(a.x2+=s),a.y2!==void 0&&(a.y2+=u),a.x!==void 0&&(a.x+=s),a.y!==void 0&&(a.y+=u),a.relative=!1),a})}function n(){var a=NaN,s=NaN,u=NaN,l=NaN;return i(function(c,d,f){return c.type&Ot.SMOOTH_CURVE_TO&&(c.type=Ot.CURVE_TO,a=isNaN(a)?d:a,s=isNaN(s)?f:s,c.x1=c.relative?d-a:2*d-a,c.y1=c.relative?f-s:2*f-s),c.type&Ot.CURVE_TO?(a=c.relative?d+c.x2:c.x2,s=c.relative?f+c.y2:c.y2):(a=NaN,s=NaN),c.type&Ot.SMOOTH_QUAD_TO&&(c.type=Ot.QUAD_TO,u=isNaN(u)?d:u,l=isNaN(l)?f:l,c.x1=c.relative?d-u:2*d-u,c.y1=c.relative?f-l:2*f-l),c.type&Ot.QUAD_TO?(u=c.relative?d+c.x1:c.x1,l=c.relative?f+c.y1:c.y1):(u=NaN,l=NaN),c})}function r(){var a=NaN,s=NaN;return i(function(u,l,c){if(u.type&Ot.SMOOTH_QUAD_TO&&(u.type=Ot.QUAD_TO,a=isNaN(a)?l:a,s=isNaN(s)?c:s,u.x1=u.relative?l-a:2*l-a,u.y1=u.relative?c-s:2*c-s),u.type&Ot.QUAD_TO){a=u.relative?l+u.x1:u.x1,s=u.relative?c+u.y1:u.y1;var d=u.x1,f=u.y1;u.type=Ot.CURVE_TO,u.x1=((u.relative?0:l)+2*d)/3,u.y1=((u.relative?0:c)+2*f)/3,u.x2=(u.x+2*d)/3,u.y2=(u.y+2*f)/3}else a=NaN,s=NaN;return u})}function i(a){var s=0,u=0,l=NaN,c=NaN;return function(d){if(isNaN(l)&&!(d.type&Ot.MOVE_TO))throw new Error("path must start with moveto");var f=a(d,s,u,l,c);return d.type&Ot.CLOSE_PATH&&(s=l,u=c),d.x!==void 0&&(s=d.relative?s+d.x:d.x),d.y!==void 0&&(u=d.relative?u+d.y:d.y),d.type&Ot.MOVE_TO&&(l=s,c=u),f}}function o(a,s,u,l,c,d){return ps(a,s,u,l,c,d),i(function(f,g,h,m){var p=f.x1,v=f.x2,y=f.relative&&!isNaN(m),b=f.x!==void 0?f.x:y?0:g,w=f.y!==void 0?f.y:y?0:h;function C(_){return _*_}f.type&Ot.HORIZ_LINE_TO&&s!==0&&(f.type=Ot.LINE_TO,f.y=f.relative?0:h),f.type&Ot.VERT_LINE_TO&&u!==0&&(f.type=Ot.LINE_TO,f.x=f.relative?0:g),f.x!==void 0&&(f.x=f.x*a+w*u+(y?0:c)),f.y!==void 0&&(f.y=b*s+f.y*l+(y?0:d)),f.x1!==void 0&&(f.x1=f.x1*a+f.y1*u+(y?0:c)),f.y1!==void 0&&(f.y1=p*s+f.y1*l+(y?0:d)),f.x2!==void 0&&(f.x2=f.x2*a+f.y2*u+(y?0:c)),f.y2!==void 0&&(f.y2=v*s+f.y2*l+(y?0:d));var B=a*l-s*u;if(f.xRot!==void 0&&(a!==1||s!==0||u!==0||l!==1))if(B===0)delete f.rX,delete f.rY,delete f.xRot,delete f.lArcFlag,delete f.sweepFlag,f.type=Ot.LINE_TO;else{var O=f.xRot*Math.PI/180,x=Math.sin(O),M=Math.cos(O),R=1/C(f.rX),F=1/C(f.rY),L=C(M)*R+C(x)*F,E=2*x*M*(R-F),H=C(x)*R+C(M)*F,X=L*l*l-E*s*l+H*s*s,z=E*(a*l+s*u)-2*(L*u*l+H*a*s),Z=L*u*u-E*a*u+H*a*a,q=(Math.atan2(z,X-Z)+Math.PI)%Math.PI/2,te=Math.sin(q),ne=Math.cos(q);f.rX=Math.abs(B)/Math.sqrt(X*C(ne)+z*te*ne+Z*C(te)),f.rY=Math.abs(B)/Math.sqrt(X*C(te)-z*te*ne+Z*C(ne)),f.xRot=180*q/Math.PI}return f.sweepFlag!==void 0&&0>B&&(f.sweepFlag=+!f.sweepFlag),f})}function A(){return function(a){var s={};for(var u in a)s[u]=a[u];return s}}e.ROUND=function(a){function s(u){return Math.round(u*a)/a}return a===void 0&&(a=1e13),ps(a),function(u){return u.x1!==void 0&&(u.x1=s(u.x1)),u.y1!==void 0&&(u.y1=s(u.y1)),u.x2!==void 0&&(u.x2=s(u.x2)),u.y2!==void 0&&(u.y2=s(u.y2)),u.x!==void 0&&(u.x=s(u.x)),u.y!==void 0&&(u.y=s(u.y)),u.rX!==void 0&&(u.rX=s(u.rX)),u.rY!==void 0&&(u.rY=s(u.rY)),u}},e.TO_ABS=t,e.TO_REL=function(){return i(function(a,s,u){return a.relative||(a.x1!==void 0&&(a.x1-=s),a.y1!==void 0&&(a.y1-=u),a.x2!==void 0&&(a.x2-=s),a.y2!==void 0&&(a.y2-=u),a.x!==void 0&&(a.x-=s),a.y!==void 0&&(a.y-=u),a.relative=!0),a})},e.NORMALIZE_HVZ=function(a,s,u){return a===void 0&&(a=!0),s===void 0&&(s=!0),u===void 0&&(u=!0),i(function(l,c,d,f,g){if(isNaN(f)&&!(l.type&Ot.MOVE_TO))throw new Error("path must start with moveto");return s&&l.type&Ot.HORIZ_LINE_TO&&(l.type=Ot.LINE_TO,l.y=l.relative?0:d),u&&l.type&Ot.VERT_LINE_TO&&(l.type=Ot.LINE_TO,l.x=l.relative?0:c),a&&l.type&Ot.CLOSE_PATH&&(l.type=Ot.LINE_TO,l.x=l.relative?f-c:f,l.y=l.relative?g-d:g),l.type&Ot.ARC&&(l.rX===0||l.rY===0)&&(l.type=Ot.LINE_TO,delete l.rX,delete l.rY,delete l.xRot,delete l.lArcFlag,delete l.sweepFlag),l})},e.NORMALIZE_ST=n,e.QT_TO_C=r,e.INFO=i,e.SANITIZE=function(a){a===void 0&&(a=0),ps(a);var s=NaN,u=NaN,l=NaN,c=NaN;return i(function(d,f,g,h,m){var p=Math.abs,v=!1,y=0,b=0;if(d.type&Ot.SMOOTH_CURVE_TO&&(y=isNaN(s)?0:f-s,b=isNaN(u)?0:g-u),d.type&(Ot.CURVE_TO|Ot.SMOOTH_CURVE_TO)?(s=d.relative?f+d.x2:d.x2,u=d.relative?g+d.y2:d.y2):(s=NaN,u=NaN),d.type&Ot.SMOOTH_QUAD_TO?(l=isNaN(l)?f:2*f-l,c=isNaN(c)?g:2*g-c):d.type&Ot.QUAD_TO?(l=d.relative?f+d.x1:d.x1,c=d.relative?g+d.y1:d.y2):(l=NaN,c=NaN),d.type&Ot.LINE_COMMANDS||d.type&Ot.ARC&&(d.rX===0||d.rY===0||!d.lArcFlag)||d.type&Ot.CURVE_TO||d.type&Ot.SMOOTH_CURVE_TO||d.type&Ot.QUAD_TO||d.type&Ot.SMOOTH_QUAD_TO){var w=d.x===void 0?0:d.relative?d.x:d.x-f,C=d.y===void 0?0:d.relative?d.y:d.y-g;y=isNaN(l)?d.x1===void 0?y:d.relative?d.x:d.x1-f:l-f,b=isNaN(c)?d.y1===void 0?b:d.relative?d.y:d.y1-g:c-g;var B=d.x2===void 0?0:d.relative?d.x:d.x2-f,O=d.y2===void 0?0:d.relative?d.y:d.y2-g;p(w)<=a&&p(C)<=a&&p(y)<=a&&p(b)<=a&&p(B)<=a&&p(O)<=a&&(v=!0)}return d.type&Ot.CLOSE_PATH&&p(f-h)<=a&&p(g-m)<=a&&(v=!0),v?[]:d})},e.MATRIX=o,e.ROTATE=function(a,s,u){s===void 0&&(s=0),u===void 0&&(u=0),ps(a,s,u);var l=Math.sin(a),c=Math.cos(a);return o(c,l,-l,c,s-s*c+u*l,u-s*l-u*c)},e.TRANSLATE=function(a,s){return s===void 0&&(s=0),ps(a,s),o(1,0,0,1,a,s)},e.SCALE=function(a,s){return s===void 0&&(s=a),ps(a,s),o(a,0,0,s,0,0)},e.SKEW_X=function(a){return ps(a),o(1,0,Math.atan(a),1,0,0)},e.SKEW_Y=function(a){return ps(a),o(1,Math.atan(a),0,1,0,0)},e.X_AXIS_SYMMETRY=function(a){return a===void 0&&(a=0),ps(a),o(-1,0,0,1,a,0)},e.Y_AXIS_SYMMETRY=function(a){return a===void 0&&(a=0),ps(a),o(1,0,0,-1,0,a)},e.A_TO_C=function(){return i(function(a,s,u){return Ot.ARC===a.type?function(l,c,d){var f,g,h,m;l.cX||i3(l,c,d);for(var p=Math.min(l.phi1,l.phi2),v=Math.max(l.phi1,l.phi2)-p,y=Math.ceil(v/90),b=new Array(y),w=c,C=d,B=0;B<y;B++){var O=Pj(l.phi1,l.phi2,B/y),x=Pj(l.phi1,l.phi2,(B+1)/y),M=x-O,R=4/3*Math.tan(M*Cu/4),F=[Math.cos(O*Cu)-R*Math.sin(O*Cu),Math.sin(O*Cu)+R*Math.cos(O*Cu)],L=F[0],E=F[1],H=[Math.cos(x*Cu),Math.sin(x*Cu)],X=H[0],z=H[1],Z=[X+R*Math.sin(x*Cu),z-R*Math.cos(x*Cu)],q=Z[0],te=Z[1];b[B]={relative:l.relative,type:Ot.CURVE_TO};var ne=function(_,Y){var re=Y_([_*l.rX,Y*l.rY],l.xRot),se=re[0],ce=re[1];return[l.cX+se,l.cY+ce]};f=ne(L,E),b[B].x1=f[0],b[B].y1=f[1],g=ne(q,te),b[B].x2=g[0],b[B].y2=g[1],h=ne(X,z),b[B].x=h[0],b[B].y=h[1],l.relative&&(b[B].x1-=w,b[B].y1-=C,b[B].x2-=w,b[B].y2-=C,b[B].x-=w,b[B].y-=C),w=(m=[b[B].x,b[B].y])[0],C=m[1]}return b}(a,a.relative?0:s,a.relative?0:u):a})},e.ANNOTATE_ARCS=function(){return i(function(a,s,u){return a.relative&&(s=0,u=0),Ot.ARC===a.type&&i3(a,s,u),a})},e.CLONE=A,e.CALCULATE_BOUNDS=function(){var a=function(d){var f={};for(var g in d)f[g]=d[g];return f},s=t(),u=r(),l=n(),c=i(function(d,f,g){var h=l(u(s(a(d))));function m(te){te>c.maxX&&(c.maxX=te),te<c.minX&&(c.minX=te)}function p(te){te>c.maxY&&(c.maxY=te),te<c.minY&&(c.minY=te)}if(h.type&Ot.DRAWING_COMMANDS&&(m(f),p(g)),h.type&Ot.HORIZ_LINE_TO&&m(h.x),h.type&Ot.VERT_LINE_TO&&p(h.y),h.type&Ot.LINE_TO&&(m(h.x),p(h.y)),h.type&Ot.CURVE_TO){m(h.x),p(h.y);for(var v=0,y=Dj(f,h.x1,h.x2,h.x);v<y.length;v++)0<(q=y[v])&&1>q&&m(Rj(f,h.x1,h.x2,h.x,q));for(var b=0,w=Dj(g,h.y1,h.y2,h.y);b<w.length;b++)0<(q=w[b])&&1>q&&p(Rj(g,h.y1,h.y2,h.y,q))}if(h.type&Ot.ARC){m(h.x),p(h.y),i3(h,f,g);for(var C=h.xRot/180*Math.PI,B=Math.cos(C)*h.rX,O=Math.sin(C)*h.rX,x=-Math.sin(C)*h.rY,M=Math.cos(C)*h.rY,R=h.phi1<h.phi2?[h.phi1,h.phi2]:-180>h.phi2?[h.phi2+360,h.phi1+360]:[h.phi2,h.phi1],F=R[0],L=R[1],E=function(te){var ne=te[0],_=te[1],Y=180*Math.atan2(_,ne)/Math.PI;return Y<F?Y+360:Y},H=0,X=Qj(x,-B,0).map(E);H<X.length;H++)(q=X[H])>F&&q<L&&m(Lj(h.cX,B,x,q));for(var z=0,Z=Qj(M,-O,0).map(E);z<Z.length;z++){var q;(q=Z[z])>F&&q<L&&p(Lj(h.cY,O,M,q))}}return d});return c.minX=1/0,c.maxX=-1/0,c.minY=1/0,c.maxY=-1/0,c}})(zi||(zi={}));var cs,Ate=function(){function e(){}return e.prototype.round=function(t){return this.transform(zi.ROUND(t))},e.prototype.toAbs=function(){return this.transform(zi.TO_ABS())},e.prototype.toRel=function(){return this.transform(zi.TO_REL())},e.prototype.normalizeHVZ=function(t,n,r){return this.transform(zi.NORMALIZE_HVZ(t,n,r))},e.prototype.normalizeST=function(){return this.transform(zi.NORMALIZE_ST())},e.prototype.qtToC=function(){return this.transform(zi.QT_TO_C())},e.prototype.aToC=function(){return this.transform(zi.A_TO_C())},e.prototype.sanitize=function(t){return this.transform(zi.SANITIZE(t))},e.prototype.translate=function(t,n){return this.transform(zi.TRANSLATE(t,n))},e.prototype.scale=function(t,n){return this.transform(zi.SCALE(t,n))},e.prototype.rotate=function(t,n,r){return this.transform(zi.ROTATE(t,n,r))},e.prototype.matrix=function(t,n,r,i,o,A){return this.transform(zi.MATRIX(t,n,r,i,o,A))},e.prototype.skewX=function(t){return this.transform(zi.SKEW_X(t))},e.prototype.skewY=function(t){return this.transform(zi.SKEW_Y(t))},e.prototype.xSymmetry=function(t){return this.transform(zi.X_AXIS_SYMMETRY(t))},e.prototype.ySymmetry=function(t){return this.transform(zi.Y_AXIS_SYMMETRY(t))},e.prototype.annotateArcs=function(){return this.transform(zi.ANNOTATE_ARCS())},e}(),DNe=function(e){return e===" "||e===" "||e==="\r"||e===`
- `},$j=function(e){return 48<=e.charCodeAt(0)&&e.charCodeAt(0)<=57},RNe=function(e){function t(){var n=e.call(this)||this;return n.curNumber="",n.curCommandType=-1,n.curCommandRelative=!1,n.canParseCommandOrComma=!0,n.curNumberHasExp=!1,n.curNumberHasExpDigits=!1,n.curNumberHasDecimal=!1,n.curArgs=[],n}return ote(t,e),t.prototype.finish=function(n){if(n===void 0&&(n=[]),this.parse(" ",n),this.curArgs.length!==0||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return n},t.prototype.parse=function(n,r){var i=this;r===void 0&&(r=[]);for(var o=function(c){r.push(c),i.curArgs.length=0,i.canParseCommandOrComma=!0},A=0;A<n.length;A++){var a=n[A],s=!(this.curCommandType!==Ot.ARC||this.curArgs.length!==3&&this.curArgs.length!==4||this.curNumber.length!==1||this.curNumber!=="0"&&this.curNumber!=="1"),u=$j(a)&&(this.curNumber==="0"&&a==="0"||s);if(!$j(a)||u)if(a!=="e"&&a!=="E")if(a!=="-"&&a!=="+"||!this.curNumberHasExp||this.curNumberHasExpDigits)if(a!=="."||this.curNumberHasExp||this.curNumberHasDecimal||s){if(this.curNumber&&this.curCommandType!==-1){var l=Number(this.curNumber);if(isNaN(l))throw new SyntaxError("Invalid number ending at "+A);if(this.curCommandType===Ot.ARC){if(this.curArgs.length===0||this.curArgs.length===1){if(0>l)throw new SyntaxError('Expected positive number, got "'+l+'" at index "'+A+'"')}else if((this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber!=="0"&&this.curNumber!=="1")throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+A+'"')}this.curArgs.push(l),this.curArgs.length===$Ne[this.curCommandType]&&(Ot.HORIZ_LINE_TO===this.curCommandType?o({type:Ot.HORIZ_LINE_TO,relative:this.curCommandRelative,x:l}):Ot.VERT_LINE_TO===this.curCommandType?o({type:Ot.VERT_LINE_TO,relative:this.curCommandRelative,y:l}):this.curCommandType===Ot.MOVE_TO||this.curCommandType===Ot.LINE_TO||this.curCommandType===Ot.SMOOTH_QUAD_TO?(o({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),Ot.MOVE_TO===this.curCommandType&&(this.curCommandType=Ot.LINE_TO)):this.curCommandType===Ot.CURVE_TO?o({type:Ot.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===Ot.SMOOTH_CURVE_TO?o({type:Ot.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===Ot.QUAD_TO?o({type:Ot.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===Ot.ARC&&o({type:Ot.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!DNe(a))if(a===","&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if(a!=="+"&&a!=="-"&&a!==".")if(u)this.curNumber=a,this.curNumberHasDecimal=!1;else{if(this.curArgs.length!==0)throw new SyntaxError("Unterminated command at index "+A+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+a+'" at index '+A+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,a!=="z"&&a!=="Z")if(a==="h"||a==="H")this.curCommandType=Ot.HORIZ_LINE_TO,this.curCommandRelative=a==="h";else if(a==="v"||a==="V")this.curCommandType=Ot.VERT_LINE_TO,this.curCommandRelative=a==="v";else if(a==="m"||a==="M")this.curCommandType=Ot.MOVE_TO,this.curCommandRelative=a==="m";else if(a==="l"||a==="L")this.curCommandType=Ot.LINE_TO,this.curCommandRelative=a==="l";else if(a==="c"||a==="C")this.curCommandType=Ot.CURVE_TO,this.curCommandRelative=a==="c";else if(a==="s"||a==="S")this.curCommandType=Ot.SMOOTH_CURVE_TO,this.curCommandRelative=a==="s";else if(a==="q"||a==="Q")this.curCommandType=Ot.QUAD_TO,this.curCommandRelative=a==="q";else if(a==="t"||a==="T")this.curCommandType=Ot.SMOOTH_QUAD_TO,this.curCommandRelative=a==="t";else{if(a!=="a"&&a!=="A")throw new SyntaxError('Unexpected character "'+a+'" at index '+A+".");this.curCommandType=Ot.ARC,this.curCommandRelative=a==="a"}else r.push({type:Ot.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=a,this.curNumberHasDecimal=a==="."}else this.curNumber+=a,this.curNumberHasDecimal=!0;else this.curNumber+=a;else this.curNumber+=a,this.curNumberHasExp=!0;else this.curNumber+=a,this.curNumberHasExpDigits=this.curNumberHasExp}return r},t.prototype.transform=function(n){return Object.create(this,{parse:{value:function(r,i){i===void 0&&(i=[]);for(var o=0,A=Object.getPrototypeOf(this).parse.call(this,r);o<A.length;o++){var a=A[o],s=n(a);Array.isArray(s)?i.push.apply(i,s):i.push(s)}return i}}})},t}(Ate),Ot=function(e){function t(n){var r=e.call(this)||this;return r.commands=typeof n=="string"?t.parse(n):n,r}return ote(t,e),t.prototype.encode=function(){return t.encode(this.commands)},t.prototype.getBounds=function(){var n=zi.CALCULATE_BOUNDS();return this.transform(n),n},t.prototype.transform=function(n){for(var r=[],i=0,o=this.commands;i<o.length;i++){var A=n(o[i]);Array.isArray(A)?r.push.apply(r,A):r.push(A)}return this.commands=r,this},t.encode=function(n){return LNe(n)},t.parse=function(n){var r=new RNe,i=[];return r.parse(n,i),r.finish(i),i},t.CLOSE_PATH=1,t.MOVE_TO=2,t.HORIZ_LINE_TO=4,t.VERT_LINE_TO=8,t.LINE_TO=16,t.CURVE_TO=32,t.SMOOTH_CURVE_TO=64,t.QUAD_TO=128,t.SMOOTH_QUAD_TO=256,t.ARC=512,t.LINE_COMMANDS=t.LINE_TO|t.HORIZ_LINE_TO|t.VERT_LINE_TO,t.DRAWING_COMMANDS=t.HORIZ_LINE_TO|t.VERT_LINE_TO|t.LINE_TO|t.CURVE_TO|t.SMOOTH_CURVE_TO|t.QUAD_TO|t.SMOOTH_QUAD_TO|t.ARC,t}(Ate),$Ne=((cs={})[Ot.MOVE_TO]=2,cs[Ot.LINE_TO]=2,cs[Ot.HORIZ_LINE_TO]=1,cs[Ot.VERT_LINE_TO]=1,cs[Ot.CLOSE_PATH]=0,cs[Ot.QUAD_TO]=4,cs[Ot.SMOOTH_QUAD_TO]=2,cs[Ot.CURVE_TO]=6,cs[Ot.SMOOTH_CURVE_TO]=4,cs[Ot.ARC]=7,cs),Nj={},o3,Hj;function NNe(){if(Hj)return o3;Hj=1;var e=Uo(),t=Hs(),n=$C(),r=Yee(),i=RegExp.prototype;return o3=function(o){var A=o.flags;return A===void 0&&!("flags"in i)&&!t(o,"flags")&&n(i,o)?e(r,o):A},o3}var Mj;function HNe(){if(Mj)return Nj;Mj=1;var e=jC().PROPER,t=mh(),n=bA(),r=Gl(),i=Ri(),o=NNe(),A="toString",a=RegExp.prototype,s=a[A],u=i(function(){return s.call({source:"a",flags:"b"})!=="/a/b"}),l=e&&s.name!==A;return(u||l)&&t(a,A,function(){var d=n(this),f=r(d.source),g=r(o(d));return"/"+f+"/"+g},{unsafe:!0}),Nj}HNe();function qb(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?qb=function(t){return typeof t}:qb=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qb(e)}function MNe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var kNe=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],jNe=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function KNe(e,t,n,r,i){if(typeof e=="string"&&(e=document.getElementById(e)),!e||qb(e)!=="object"||!("getContext"in e))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var o=e.getContext("2d");try{return o.getImageData(t,n,r,i)}catch(A){throw new Error("unable to access image data: "+A)}}function VNe(e,t,n,r,i,o){if(!(isNaN(o)||o<1)){o|=0;var A=KNe(e,t,n,r,i);A=zNe(A,t,n,r,i,o),e.getContext("2d").putImageData(A,t,n)}}function zNe(e,t,n,r,i,o){for(var A=e.data,a=2*o+1,s=r-1,u=i-1,l=o+1,c=l*(l+1)/2,d=new kj,f=d,g,h=1;h<a;h++)f=f.next=new kj,h===l&&(g=f);f.next=d;for(var m=null,p=null,v=0,y=0,b=kNe[o],w=jNe[o],C=0;C<i;C++){f=d;for(var B=A[y],O=A[y+1],x=A[y+2],M=A[y+3],R=0;R<l;R++)f.r=B,f.g=O,f.b=x,f.a=M,f=f.next;for(var F=0,L=0,E=0,H=0,X=l*B,z=l*O,Z=l*x,q=l*M,te=c*B,ne=c*O,_=c*x,Y=c*M,re=1;re<l;re++){var se=y+((s<re?s:re)<<2),ce=A[se],N=A[se+1],K=A[se+2],Ae=A[se+3],ae=l-re;te+=(f.r=ce)*ae,ne+=(f.g=N)*ae,_+=(f.b=K)*ae,Y+=(f.a=Ae)*ae,F+=ce,L+=N,E+=K,H+=Ae,f=f.next}m=d,p=g;for(var ie=0;ie<r;ie++){var J=Y*b>>>w;if(A[y+3]=J,J!==0){var ue=255/J;A[y]=(te*b>>>w)*ue,A[y+1]=(ne*b>>>w)*ue,A[y+2]=(_*b>>>w)*ue}else A[y]=A[y+1]=A[y+2]=0;te-=X,ne-=z,_-=Z,Y-=q,X-=m.r,z-=m.g,Z-=m.b,q-=m.a;var G=ie+o+1;G=v+(G<s?G:s)<<2,F+=m.r=A[G],L+=m.g=A[G+1],E+=m.b=A[G+2],H+=m.a=A[G+3],te+=F,ne+=L,_+=E,Y+=H,m=m.next;var pe=p,k=pe.r,P=pe.g,U=pe.b,W=pe.a;X+=k,z+=P,Z+=U,q+=W,F-=k,L-=P,E-=U,H-=W,p=p.next,y+=4}v+=r}for(var de=0;de<r;de++){y=de<<2;var me=A[y],ve=A[y+1],be=A[y+2],Te=A[y+3],we=l*me,xe=l*ve,Ue=l*be,ke=l*Te,et=c*me,De=c*ve,_e=c*be,Re=c*Te;f=d;for(var Ne=0;Ne<l;Ne++)f.r=me,f.g=ve,f.b=be,f.a=Te,f=f.next;for(var ot=r,rt=0,nt=0,Bt=0,Et=0,Xt=1;Xt<=o;Xt++){y=ot+de<<2;var Ut=l-Xt;et+=(f.r=me=A[y])*Ut,De+=(f.g=ve=A[y+1])*Ut,_e+=(f.b=be=A[y+2])*Ut,Re+=(f.a=Te=A[y+3])*Ut,Et+=me,rt+=ve,nt+=be,Bt+=Te,f=f.next,Xt<u&&(ot+=r)}y=de,m=d,p=g;for(var $t=0;$t<i;$t++){var xt=y<<2;A[xt+3]=Te=Re*b>>>w,Te>0?(Te=255/Te,A[xt]=(et*b>>>w)*Te,A[xt+1]=(De*b>>>w)*Te,A[xt+2]=(_e*b>>>w)*Te):A[xt]=A[xt+1]=A[xt+2]=0,et-=we,De-=xe,_e-=Ue,Re-=ke,we-=m.r,xe-=m.g,Ue-=m.b,ke-=m.a,xt=de+((xt=$t+l)<u?xt:u)*r<<2,et+=Et+=m.r=A[xt],De+=rt+=m.g=A[xt+1],_e+=nt+=m.b=A[xt+2],Re+=Bt+=m.a=A[xt+3],m=m.next,we+=me=p.r,xe+=ve=p.g,Ue+=be=p.b,ke+=Te=p.a,Et-=me,rt-=ve,nt-=be,Bt-=Te,p=p.next,y+=r}}return e}var kj=function e(){MNe(this,e),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null};function GNe(){var{DOMParser:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:e,createCanvas(n,r){return new OffscreenCanvas(n,r)},createImage(n){return Gu(function*(){var r=yield fetch(n),i=yield r.blob(),o=yield createImageBitmap(i);return o})()}};return(typeof DOMParser<"u"||typeof e>"u")&&Reflect.deleteProperty(t,"DOMParser"),t}function WNe(e){var{DOMParser:t,canvas:n,fetch:r}=e;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:t,fetch:r,createCanvas:n.createCanvas,createImage:n.loadImage}}var qNe=Object.freeze({__proto__:null,offscreen:GNe,node:WNe});function vh(e){return e.replace(/(?!\u3000)\s+/gm," ")}function ate(e){return e.replace(/^[\n \t]+/,"")}function ste(e){return e.replace(/[\n \t]+$/,"")}function RA(e){var t=(e||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[];return t.map(parseFloat)}var XNe=/^[A-Z-]+$/;function lte(e){return XNe.test(e)?e.toLowerCase():e}function KU(e){var t=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(e)||[];return t[2]||t[3]||t[4]}function ute(e){if(!e.startsWith("rgb"))return e;var t=3,n=e.replace(/\d+(\.\d+)?/g,(r,i)=>t--&&i?String(Math.round(parseFloat(r))):r);return n}var YNe=/(\[[^\]]+\])/g,JNe=/(#[^\s+>~.[:]+)/g,ZNe=/(\.[^\s+>~.[:]+)/g,eHe=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,tHe=/(:[\w-]+\([^)]*\))/gi,nHe=/(:[^\s+>~.[:]+)/g,rHe=/([^\s+>~.[:]+)/g;function cd(e,t){var n=t.exec(e);return n?[e.replace(t," "),n.length]:[e,0]}function cte(e){var t=[0,0,0],n=e.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),r=0;return[n,r]=cd(n,YNe),t[1]+=r,[n,r]=cd(n,JNe),t[0]+=r,[n,r]=cd(n,ZNe),t[1]+=r,[n,r]=cd(n,eHe),t[2]+=r,[n,r]=cd(n,tHe),t[1]+=r,[n,r]=cd(n,nHe),t[1]+=r,n=n.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[n,r]=cd(n,rHe),t[2]+=r,t.join("")}var Kd=1e-8;function J_(e){return Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2))}function nB(e,t){return(e[0]*t[0]+e[1]*t[1])/(J_(e)*J_(t))}function Z_(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(nB(e,t))}function e6(e){return e*e*e}function t6(e){return 3*e*e*(1-e)}function n6(e){return 3*e*(1-e)*(1-e)}function r6(e){return(1-e)*(1-e)*(1-e)}function i6(e){return e*e}function o6(e){return 2*e*(1-e)}function A6(e){return(1-e)*(1-e)}class on{constructor(t,n,r){this.document=t,this.name=n,this.value=r,this.isNormalizedColor=!1}static empty(t){return new on(t,"EMPTY","")}split(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",{document:n,name:r}=this;return vh(this.getString()).trim().split(t).map(i=>new on(n,r,i))}hasValue(t){var{value:n}=this;return n!==null&&n!==""&&(t||n!==0)&&typeof n<"u"}isString(t){var{value:n}=this,r=typeof n=="string";return!r||!t?r:t.test(n)}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;var t=this.getString();switch(!0){case t.endsWith("px"):case/^[0-9]+$/.test(t):return!0;default:return!1}}setValue(t){return this.value=t,this}getValue(t){return typeof t>"u"||this.hasValue()?this.value:t}getNumber(t){if(!this.hasValue())return typeof t>"u"?0:parseFloat(t);var{value:n}=this,r=parseFloat(n);return this.isString(/%$/)&&(r/=100),r}getString(t){return typeof t>"u"||this.hasValue()?typeof this.value>"u"?"":String(this.value):String(t)}getColor(t){var n=this.getString(t);return this.isNormalizedColor||(this.isNormalizedColor=!0,n=ute(n),this.value=n),n}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!this.hasValue())return 0;var[r,i]=typeof t=="boolean"?[void 0,t]:[t],{viewPort:o}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(o.computeSize("x"),o.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(o.computeSize("x"),o.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*o.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*o.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return this.getNumber()*15;case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case(this.isString(/%$/)&&i):return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*o.computeSize(r);default:{var A=this.getNumber();return n&&A<1?A*o.computeSize(r):A}}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():this.getNumber()*1e3:0}getRadians(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}getDefinition(){var t=this.getString(),n=/#([^)'"]+)/.exec(t);return n&&(n=n[1]),n||(n=t),this.document.definitions[n]}getFillStyleDefinition(t,n){var r=this.getDefinition();if(!r)return null;if(typeof r.createGradient=="function")return r.createGradient(this.document.ctx,t,n);if(typeof r.createPattern=="function"){if(r.getHrefAttribute().hasValue()){var i=r.getAttribute("patternTransform");r=r.getHrefAttribute().getDefinition(),i.hasValue()&&r.getAttribute("patternTransform",!0).setValue(i.value)}return r.createPattern(this.document.ctx,t,n)}return null}getTextBaseline(){return this.hasValue()?on.textBaselineMapping[this.getString()]:null}addOpacity(t){for(var n=this.getColor(),r=n.length,i=0,o=0;o<r&&(n[o]===","&&i++,i!==3);o++);if(t.hasValue()&&this.isString()&&i!==3){var A=new X_(n);A.ok&&(A.alpha=t.getNumber(),n=A.toRGBA())}return new on(this.document,this.name,n)}}on.textBaselineMapping={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};class fte{constructor(){this.viewPorts=[]}clear(){this.viewPorts=[]}setCurrent(t,n){this.viewPorts.push({width:t,height:n})}removeCurrent(){this.viewPorts.pop()}getCurrent(){var{viewPorts:t}=this;return t[t.length-1]}get width(){return this.getCurrent().width}get height(){return this.getCurrent().height}computeSize(t){return typeof t=="number"?t:t==="x"?this.width:t==="y"?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}}class Bi{constructor(t,n){this.x=t,this.y=n}static parse(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,[r=n,i=n]=RA(t);return new Bi(r,i)}static parseScale(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,[r=n,i=r]=RA(t);return new Bi(r,i)}static parsePath(t){for(var n=RA(t),r=n.length,i=[],o=0;o<r;o+=2)i.push(new Bi(n[o],n[o+1]));return i}angleTo(t){return Math.atan2(t.y-this.y,t.x-this.x)}applyTransform(t){var{x:n,y:r}=this,i=n*t[0]+r*t[2]+t[4],o=n*t[1]+r*t[3]+t[5];this.x=i,this.y=o}}class dte{constructor(t){this.screen=t,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}isWorking(){return this.working}start(){if(!this.working){var{screen:t,onClick:n,onMouseMove:r}=this,i=t.ctx.canvas;i.onclick=n,i.onmousemove=r,this.working=!0}}stop(){if(this.working){var t=this.screen.ctx.canvas;this.working=!1,t.onclick=null,t.onmousemove=null}}hasEvents(){return this.working&&this.events.length>0}runEvents(){if(this.working){var{screen:t,events:n,eventElements:r}=this,{style:i}=t.ctx.canvas;i&&(i.cursor=""),n.forEach((o,A)=>{for(var{run:a}=o,s=r[A];s;)a(s),s=s.parent}),this.events=[],this.eventElements=[]}}checkPath(t,n){if(!(!this.working||!n)){var{events:r,eventElements:i}=this;r.forEach((o,A)=>{var{x:a,y:s}=o;!i[A]&&n.isPointInPath&&n.isPointInPath(a,s)&&(i[A]=t)})}}checkBoundingBox(t,n){if(!(!this.working||!n)){var{events:r,eventElements:i}=this;r.forEach((o,A)=>{var{x:a,y:s}=o;!i[A]&&n.isPointInBox(a,s)&&(i[A]=t)})}}mapXY(t,n){for(var{window:r,ctx:i}=this.screen,o=new Bi(t,n),A=i.canvas;A;)o.x-=A.offsetLeft,o.y-=A.offsetTop,A=A.offsetParent;return r.scrollX&&(o.x+=r.scrollX),r.scrollY&&(o.y+=r.scrollY),o}onClick(t){var{x:n,y:r}=this.mapXY(t.clientX,t.clientY);this.events.push({type:"onclick",x:n,y:r,run(i){i.onClick&&i.onClick()}})}onMouseMove(t){var{x:n,y:r}=this.mapXY(t.clientX,t.clientY);this.events.push({type:"onmousemove",x:n,y:r,run(i){i.onMouseMove&&i.onMouseMove()}})}}var hte=typeof window<"u"?window:null,pte=typeof fetch<"u"?fetch.bind(void 0):null;class qv{constructor(t){var{fetch:n=pte,window:r=hte}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.ctx=t,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new fte,this.mouse=new dte(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=r,this.fetch=n}wait(t){this.waits.push(t)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;var t=this.waits.every(n=>n());return t&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=t,t}setDefaults(t){t.strokeStyle="rgba(0,0,0,0)",t.lineCap="butt",t.lineJoin="miter",t.miterLimit=4}setViewBox(t){var{document:n,ctx:r,aspectRatio:i,width:o,desiredWidth:A,height:a,desiredHeight:s,minX:u=0,minY:l=0,refX:c,refY:d,clip:f=!1,clipX:g=0,clipY:h=0}=t,m=vh(i).replace(/^defer\s/,""),[p,v]=m.split(" "),y=p||"xMidYMid",b=v||"meet",w=o/A,C=a/s,B=Math.min(w,C),O=Math.max(w,C),x=A,M=s;b==="meet"&&(x*=B,M*=B),b==="slice"&&(x*=O,M*=O);var R=new on(n,"refX",c),F=new on(n,"refY",d),L=R.hasValue()&&F.hasValue();if(L&&r.translate(-B*R.getPixels("x"),-B*F.getPixels("y")),f){var E=B*g,H=B*h;r.beginPath(),r.moveTo(E,H),r.lineTo(o,H),r.lineTo(o,a),r.lineTo(E,a),r.closePath(),r.clip()}if(!L){var X=b==="meet"&&B===C,z=b==="slice"&&O===C,Z=b==="meet"&&B===w,q=b==="slice"&&O===w;y.startsWith("xMid")&&(X||z)&&r.translate(o/2-x/2,0),y.endsWith("YMid")&&(Z||q)&&r.translate(0,a/2-M/2),y.startsWith("xMax")&&(X||z)&&r.translate(o-x,0),y.endsWith("YMax")&&(Z||q)&&r.translate(0,a-M)}switch(!0){case y==="none":r.scale(w,C);break;case b==="meet":r.scale(B,B);break;case b==="slice":r.scale(O,O);break}r.translate(-u,-l)}start(t){var{enableRedraw:n=!1,ignoreMouse:r=!1,ignoreAnimation:i=!1,ignoreDimensions:o=!1,ignoreClear:A=!1,forceRedraw:a,scaleWidth:s,scaleHeight:u,offsetX:l,offsetY:c}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{FRAMERATE:d,mouse:f}=this,g=1e3/d;if(this.frameDuration=g,this.readyPromise=new Promise(y=>{this.resolveReady=y}),this.isReady()&&this.render(t,o,A,s,u,l,c),!!n){var h=Date.now(),m=h,p=0,v=()=>{h=Date.now(),p=h-m,p>=g&&(m=h-p%g,this.shouldUpdate(i,a)&&(this.render(t,o,A,s,u,l,c),f.runEvents())),this.intervalId=JF(v)};r||f.start(),this.intervalId=JF(v)}}stop(){this.intervalId&&(JF.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(t,n){if(!t){var{frameDuration:r}=this,i=this.animations.reduce((o,A)=>A.update(r)||o,!1);if(i)return!0}return!!(typeof n=="function"&&n()||!this.isReadyLock&&this.isReady()||this.mouse.hasEvents())}render(t,n,r,i,o,A,a){var{CLIENT_WIDTH:s,CLIENT_HEIGHT:u,viewPort:l,ctx:c,isFirstRender:d}=this,f=c.canvas;l.clear(),f.width&&f.height?l.setCurrent(f.width,f.height):l.setCurrent(s,u);var g=t.getStyle("width"),h=t.getStyle("height");!n&&(d||typeof i!="number"&&typeof o!="number")&&(g.hasValue()&&(f.width=g.getPixels("x"),f.style&&(f.style.width="".concat(f.width,"px"))),h.hasValue()&&(f.height=h.getPixels("y"),f.style&&(f.style.height="".concat(f.height,"px"))));var m=f.clientWidth||f.width,p=f.clientHeight||f.height;if(n&&g.hasValue()&&h.hasValue()&&(m=g.getPixels("x"),p=h.getPixels("y")),l.setCurrent(m,p),typeof A=="number"&&t.getAttribute("x",!0).setValue(A),typeof a=="number"&&t.getAttribute("y",!0).setValue(a),typeof i=="number"||typeof o=="number"){var v=RA(t.getAttribute("viewBox").getString()),y=0,b=0;if(typeof i=="number"){var w=t.getStyle("width");w.hasValue()?y=w.getPixels("x")/i:isNaN(v[2])||(y=v[2]/i)}if(typeof o=="number"){var C=t.getStyle("height");C.hasValue()?b=C.getPixels("y")/o:isNaN(v[3])||(b=v[3]/o)}y||(y=b),b||(b=y),t.getAttribute("width",!0).setValue(i),t.getAttribute("height",!0).setValue(o);var B=t.getStyle("transform",!0,!0);B.setValue("".concat(B.getString()," scale(").concat(1/y,", ").concat(1/b,")"))}r||c.clearRect(0,0,m,p),t.render(c),d&&(this.isFirstRender=!1)}}qv.defaultWindow=hte;qv.defaultFetch=pte;var{defaultFetch:iHe}=qv,oHe=typeof DOMParser<"u"?DOMParser:null;class Xb{constructor(){var{fetch:t=iHe,DOMParser:n=oHe}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.fetch=t,this.DOMParser=n}parse(t){var n=this;return Gu(function*(){return t.startsWith("<")?n.parseFromString(t):n.load(t)})()}parseFromString(t){var n=new this.DOMParser;try{return this.checkDocument(n.parseFromString(t,"image/svg+xml"))}catch{return this.checkDocument(n.parseFromString(t,"text/xml"))}}checkDocument(t){var n=t.getElementsByTagName("parsererror")[0];if(n)throw new Error(n.textContent);return t}load(t){var n=this;return Gu(function*(){var r=yield n.fetch(t),i=yield r.text();return n.parseFromString(i)})()}}class gte{constructor(t,n){this.type="translate",this.point=null,this.point=Bi.parse(n)}apply(t){var{x:n,y:r}=this.point;t.translate(n||0,r||0)}unapply(t){var{x:n,y:r}=this.point;t.translate(-1*n||0,-1*r||0)}applyToPoint(t){var{x:n,y:r}=this.point;t.applyTransform([1,0,0,1,n||0,r||0])}}class mte{constructor(t,n,r){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var i=RA(n);this.angle=new on(t,"angle",i[0]),this.originX=r[0],this.originY=r[1],this.cx=i[1]||0,this.cy=i[2]||0}apply(t){var{cx:n,cy:r,originX:i,originY:o,angle:A}=this,a=n+i.getPixels("x"),s=r+o.getPixels("y");t.translate(a,s),t.rotate(A.getRadians()),t.translate(-a,-s)}unapply(t){var{cx:n,cy:r,originX:i,originY:o,angle:A}=this,a=n+i.getPixels("x"),s=r+o.getPixels("y");t.translate(a,s),t.rotate(-1*A.getRadians()),t.translate(-a,-s)}applyToPoint(t){var{cx:n,cy:r,angle:i}=this,o=i.getRadians();t.applyTransform([1,0,0,1,n||0,r||0]),t.applyTransform([Math.cos(o),Math.sin(o),-Math.sin(o),Math.cos(o),0,0]),t.applyTransform([1,0,0,1,-n||0,-r||0])}}class vte{constructor(t,n,r){this.type="scale",this.scale=null,this.originX=null,this.originY=null;var i=Bi.parseScale(n);(i.x===0||i.y===0)&&(i.x=Kd,i.y=Kd),this.scale=i,this.originX=r[0],this.originY=r[1]}apply(t){var{scale:{x:n,y:r},originX:i,originY:o}=this,A=i.getPixels("x"),a=o.getPixels("y");t.translate(A,a),t.scale(n,r||n),t.translate(-A,-a)}unapply(t){var{scale:{x:n,y:r},originX:i,originY:o}=this,A=i.getPixels("x"),a=o.getPixels("y");t.translate(A,a),t.scale(1/n,1/r||n),t.translate(-A,-a)}applyToPoint(t){var{x:n,y:r}=this.scale;t.applyTransform([n||0,0,0,r||0,0,0])}}class VU{constructor(t,n,r){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=RA(n),this.originX=r[0],this.originY=r[1]}apply(t){var{originX:n,originY:r,matrix:i}=this,o=n.getPixels("x"),A=r.getPixels("y");t.translate(o,A),t.transform(i[0],i[1],i[2],i[3],i[4],i[5]),t.translate(-o,-A)}unapply(t){var{originX:n,originY:r,matrix:i}=this,o=i[0],A=i[2],a=i[4],s=i[1],u=i[3],l=i[5],c=0,d=0,f=1,g=1/(o*(u*f-l*d)-A*(s*f-l*c)+a*(s*d-u*c)),h=n.getPixels("x"),m=r.getPixels("y");t.translate(h,m),t.transform(g*(u*f-l*d),g*(l*c-s*f),g*(a*d-A*f),g*(o*f-a*c),g*(A*l-a*u),g*(a*s-o*l)),t.translate(-h,-m)}applyToPoint(t){t.applyTransform(this.matrix)}}class zU extends VU{constructor(t,n,r){super(t,n,r),this.type="skew",this.angle=null,this.angle=new on(t,"angle",n)}}class yte extends zU{constructor(t,n,r){super(t,n,r),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}}class bte extends zU{constructor(t,n,r){super(t,n,r),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}}function AHe(e){return vh(e).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}function aHe(e){var[t,n]=e.split("(");return[t.trim(),n.trim().replace(")","")]}class bf{constructor(t,n,r){this.document=t,this.transforms=[];var i=AHe(n);i.forEach(o=>{if(o!=="none"){var[A,a]=aHe(o),s=bf.transformTypes[A];typeof s<"u"&&this.transforms.push(new s(this.document,a,r))}})}static fromElement(t,n){var r=n.getStyle("transform",!1,!0),[i,o=i]=n.getStyle("transform-origin",!1,!0).split(),A=[i,o];return r.hasValue()?new bf(t,r.getString(),A):null}apply(t){for(var{transforms:n}=this,r=n.length,i=0;i<r;i++)n[i].apply(t)}unapply(t){for(var{transforms:n}=this,r=n.length,i=r-1;i>=0;i--)n[i].unapply(t)}applyToPoint(t){for(var{transforms:n}=this,r=n.length,i=0;i<r;i++)n[i].applyToPoint(t)}}bf.transformTypes={translate:gte,rotate:mte,scale:vte,matrix:VU,skewX:yte,skewY:bte};let vi=class a6{constructor(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(this.document=t,this.node=n,this.captureTextNodes=r,this.attributes={},this.styles={},this.stylesSpecificity={},this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],!(!n||n.nodeType!==1)){if(Array.from(n.attributes).forEach(a=>{var s=lte(a.nodeName);this.attributes[s]=new on(t,s,a.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var i=this.getAttribute("style").getString().split(";").map(a=>a.trim());i.forEach(a=>{if(a){var[s,u]=a.split(":").map(l=>l.trim());this.styles[s]=new on(t,s,u)}})}var{definitions:o}=t,A=this.getAttribute("id");A.hasValue()&&(o[A.getString()]||(o[A.getString()]=this)),Array.from(n.childNodes).forEach(a=>{if(a.nodeType===1)this.addChild(a);else if(r&&(a.nodeType===3||a.nodeType===4)){var s=t.createTextNode(a);s.getText().length>0&&this.addChild(s)}})}}getAttribute(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=this.attributes[t];if(!r&&n){var i=new on(this.document,t,"");return this.attributes[t]=i,i}return r||on.empty(this.document)}getHrefAttribute(){for(var t in this.attributes)if(t==="href"||t.endsWith(":href"))return this.attributes[t];return on.empty(this.document)}getStyle(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=this.styles[t];if(i)return i;var o=this.getAttribute(t);if(o!=null&&o.hasValue())return this.styles[t]=o,o;if(!r){var{parent:A}=this;if(A){var a=A.getStyle(t);if(a!=null&&a.hasValue())return a}}if(n){var s=new on(this.document,t,"");return this.styles[t]=s,s}return i||on.empty(this.document)}render(t){if(!(this.getStyle("display").getString()==="none"||this.getStyle("visibility").getString()==="hidden")){if(t.save(),this.getStyle("mask").hasValue()){var n=this.getStyle("mask").getDefinition();n&&(this.applyEffects(t),n.apply(t,this))}else if(this.getStyle("filter").getValue("none")!=="none"){var r=this.getStyle("filter").getDefinition();r&&(this.applyEffects(t),r.apply(t,this))}else this.setContext(t),this.renderChildren(t),this.clearContext(t);t.restore()}}setContext(t){}applyEffects(t){var n=bf.fromElement(this.document,this);n&&n.apply(t);var r=this.getStyle("clip-path",!1,!0);if(r.hasValue()){var i=r.getDefinition();i&&i.apply(t)}}clearContext(t){}renderChildren(t){this.children.forEach(n=>{n.render(t)})}addChild(t){var n=t instanceof a6?t:this.document.createElement(t);n.parent=this,a6.ignoreChildTypes.includes(n.type)||this.children.push(n)}matchesSelector(t){var n,{node:r}=this;if(typeof r.matches=="function")return r.matches(t);var i=(n=r.getAttribute)===null||n===void 0?void 0:n.call(r,"class");return!i||i===""?!1:i.split(" ").some(o=>".".concat(o)===t)}addStylesFromStyleDefinition(){var{styles:t,stylesSpecificity:n}=this.document;for(var r in t)if(!r.startsWith("@")&&this.matchesSelector(r)){var i=t[r],o=n[r];if(i)for(var A in i){var a=this.stylesSpecificity[A];typeof a>"u"&&(a="000"),o>=a&&(this.styles[A]=i[A],this.stylesSpecificity[A]=o)}}}removeStyles(t,n){var r=n.reduce((i,o)=>{var A=t.getStyle(o);if(!A.hasValue())return i;var a=A.getString();return A.setValue(""),[...i,[o,a]]},[]);return r}restoreStyles(t,n){n.forEach(r=>{var[i,o]=r;t.getStyle(i,!0).setValue(o)})}isFirstChild(){var t;return((t=this.parent)===null||t===void 0?void 0:t.children.indexOf(this))===0}};vi.ignoreChildTypes=["title"];class wte extends vi{constructor(t,n,r){super(t,n,r)}}function sHe(e){var t=e.trim();return/^('|")/.test(t)?t:'"'.concat(t,'"')}function lHe(e){return typeof process>"u"?e:e.trim().split(",").map(sHe).join(",")}function uHe(e){if(!e)return"";var t=e.trim().toLowerCase();switch(t){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return t;default:return/^oblique\s+(-|)\d+deg$/.test(t)?t:""}}function cHe(e){if(!e)return"";var t=e.trim().toLowerCase();switch(t){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return t;default:return/^[\d.]+$/.test(t)?t:""}}class Zo{constructor(t,n,r,i,o,A){var a=A?typeof A=="string"?Zo.parse(A):A:{};this.fontFamily=o||a.fontFamily,this.fontSize=i||a.fontSize,this.fontStyle=t||a.fontStyle,this.fontWeight=r||a.fontWeight,this.fontVariant=n||a.fontVariant}static parse(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,r="",i="",o="",A="",a="",s=vh(t).trim().split(" "),u={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return s.forEach(l=>{switch(!0){case(!u.fontStyle&&Zo.styles.includes(l)):l!=="inherit"&&(r=l),u.fontStyle=!0;break;case(!u.fontVariant&&Zo.variants.includes(l)):l!=="inherit"&&(i=l),u.fontStyle=!0,u.fontVariant=!0;break;case(!u.fontWeight&&Zo.weights.includes(l)):l!=="inherit"&&(o=l),u.fontStyle=!0,u.fontVariant=!0,u.fontWeight=!0;break;case!u.fontSize:l!=="inherit"&&([A]=l.split("/")),u.fontStyle=!0,u.fontVariant=!0,u.fontWeight=!0,u.fontSize=!0;break;default:l!=="inherit"&&(a+=l)}}),new Zo(r,i,o,A,a,n)}toString(){return[uHe(this.fontStyle),this.fontVariant,cHe(this.fontWeight),this.fontSize,lHe(this.fontFamily)].join(" ").trim()}}Zo.styles="normal|italic|oblique|inherit";Zo.variants="normal|small-caps|inherit";Zo.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";class Wa{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Number.NaN,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.NaN,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Number.NaN,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Number.NaN;this.x1=t,this.y1=n,this.x2=r,this.y2=i,this.addPoint(t,n),this.addPoint(r,i)}get x(){return this.x1}get y(){return this.y1}get width(){return this.x2-this.x1}get height(){return this.y2-this.y1}addPoint(t,n){typeof t<"u"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=t,this.x2=t),t<this.x1&&(this.x1=t),t>this.x2&&(this.x2=t)),typeof n<"u"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=n,this.y2=n),n<this.y1&&(this.y1=n),n>this.y2&&(this.y2=n))}addX(t){this.addPoint(t,null)}addY(t){this.addPoint(null,t)}addBoundingBox(t){if(t){var{x1:n,y1:r,x2:i,y2:o}=t;this.addPoint(n,r),this.addPoint(i,o)}}sumCubic(t,n,r,i,o){return Math.pow(1-t,3)*n+3*Math.pow(1-t,2)*t*r+3*(1-t)*Math.pow(t,2)*i+Math.pow(t,3)*o}bezierCurveAdd(t,n,r,i,o){var A=6*n-12*r+6*i,a=-3*n+9*r-9*i+3*o,s=3*r-3*n;if(a===0){if(A===0)return;var u=-s/A;0<u&&u<1&&(t?this.addX(this.sumCubic(u,n,r,i,o)):this.addY(this.sumCubic(u,n,r,i,o)));return}var l=Math.pow(A,2)-4*s*a;if(!(l<0)){var c=(-A+Math.sqrt(l))/(2*a);0<c&&c<1&&(t?this.addX(this.sumCubic(c,n,r,i,o)):this.addY(this.sumCubic(c,n,r,i,o)));var d=(-A-Math.sqrt(l))/(2*a);0<d&&d<1&&(t?this.addX(this.sumCubic(d,n,r,i,o)):this.addY(this.sumCubic(d,n,r,i,o)))}}addBezierCurve(t,n,r,i,o,A,a,s){this.addPoint(t,n),this.addPoint(a,s),this.bezierCurveAdd(!0,t,r,o,a),this.bezierCurveAdd(!1,n,i,A,s)}addQuadraticCurve(t,n,r,i,o,A){var a=t+.6666666666666666*(r-t),s=n+2/3*(i-n),u=a+1/3*(o-t),l=s+1/3*(A-n);this.addBezierCurve(t,n,a,u,s,l,o,A)}isPointInBox(t,n){var{x1:r,y1:i,x2:o,y2:A}=this;return r<=t&&t<=o&&i<=n&&n<=A}}class Ln extends Ot{constructor(t){super(t.replace(/([+\-.])\s+/gm,"$1").replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g,"")),this.control=null,this.start=null,this.current=null,this.command=null,this.commands=this.commands,this.i=-1,this.previousCommand=null,this.points=[],this.angles=[]}reset(){this.i=-1,this.command=null,this.previousCommand=null,this.start=new Bi(0,0),this.control=new Bi(0,0),this.current=new Bi(0,0),this.points=[],this.angles=[]}isEnd(){var{i:t,commands:n}=this;return t>=n.length-1}next(){var t=this.commands[++this.i];return this.previousCommand=this.command,this.command=t,t}getPoint(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"x",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y",r=new Bi(this.command[t],this.command[n]);return this.makeAbsolute(r)}getAsControlPoint(t,n){var r=this.getPoint(t,n);return this.control=r,r}getAsCurrentPoint(t,n){var r=this.getPoint(t,n);return this.current=r,r}getReflectedControlPoint(){var t=this.previousCommand.type;if(t!==Ot.CURVE_TO&&t!==Ot.SMOOTH_CURVE_TO&&t!==Ot.QUAD_TO&&t!==Ot.SMOOTH_QUAD_TO)return this.current;var{current:{x:n,y:r},control:{x:i,y:o}}=this,A=new Bi(2*n-i,2*r-o);return A}makeAbsolute(t){if(this.command.relative){var{x:n,y:r}=this.current;t.x+=n,t.y+=r}return t}addMarker(t,n,r){var{points:i,angles:o}=this;r&&o.length>0&&!o[o.length-1]&&(o[o.length-1]=i[i.length-1].angleTo(r)),this.addMarkerAngle(t,n?n.angleTo(t):null)}addMarkerAngle(t,n){this.points.push(t),this.angles.push(n)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var{angles:t}=this,n=t.length,r=0;r<n;r++)if(!t[r]){for(var i=r+1;i<n;i++)if(t[i]){t[r]=t[i];break}}return t}}class _f extends vi{constructor(){super(...arguments),this.modifiedEmSizeStack=!1}calculateOpacity(){for(var t=1,n=this;n;){var r=n.getStyle("opacity",!1,!0);r.hasValue(!0)&&(t*=r.getNumber()),n=n.parent}return t}setContext(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!n){var r=this.getStyle("fill"),i=this.getStyle("fill-opacity"),o=this.getStyle("stroke"),A=this.getStyle("stroke-opacity");if(r.isUrlDefinition()){var a=r.getFillStyleDefinition(this,i);a&&(t.fillStyle=a)}else if(r.hasValue()){r.getString()==="currentColor"&&r.setValue(this.getStyle("color").getColor());var s=r.getColor();s!=="inherit"&&(t.fillStyle=s==="none"?"rgba(0,0,0,0)":s)}if(i.hasValue()){var u=new on(this.document,"fill",t.fillStyle).addOpacity(i).getColor();t.fillStyle=u}if(o.isUrlDefinition()){var l=o.getFillStyleDefinition(this,A);l&&(t.strokeStyle=l)}else if(o.hasValue()){o.getString()==="currentColor"&&o.setValue(this.getStyle("color").getColor());var c=o.getString();c!=="inherit"&&(t.strokeStyle=c==="none"?"rgba(0,0,0,0)":c)}if(A.hasValue()){var d=new on(this.document,"stroke",t.strokeStyle).addOpacity(A).getString();t.strokeStyle=d}var f=this.getStyle("stroke-width");if(f.hasValue()){var g=f.getPixels();t.lineWidth=g||Kd}var h=this.getStyle("stroke-linecap"),m=this.getStyle("stroke-linejoin"),p=this.getStyle("stroke-miterlimit"),v=this.getStyle("stroke-dasharray"),y=this.getStyle("stroke-dashoffset");if(h.hasValue()&&(t.lineCap=h.getString()),m.hasValue()&&(t.lineJoin=m.getString()),p.hasValue()&&(t.miterLimit=p.getNumber()),v.hasValue()&&v.getString()!=="none"){var b=RA(v.getString());typeof t.setLineDash<"u"?t.setLineDash(b):typeof t.webkitLineDash<"u"?t.webkitLineDash=b:typeof t.mozDash<"u"&&!(b.length===1&&b[0]===0)&&(t.mozDash=b);var w=y.getPixels();typeof t.lineDashOffset<"u"?t.lineDashOffset=w:typeof t.webkitLineDashOffset<"u"?t.webkitLineDashOffset=w:typeof t.mozDashOffset<"u"&&(t.mozDashOffset=w)}}if(this.modifiedEmSizeStack=!1,typeof t.font<"u"){var C=this.getStyle("font"),B=this.getStyle("font-style"),O=this.getStyle("font-variant"),x=this.getStyle("font-weight"),M=this.getStyle("font-size"),R=this.getStyle("font-family"),F=new Zo(B.getString(),O.getString(),x.getString(),M.hasValue()?"".concat(M.getPixels(!0),"px"):"",R.getString(),Zo.parse(C.getString(),t.font));B.setValue(F.fontStyle),O.setValue(F.fontVariant),x.setValue(F.fontWeight),M.setValue(F.fontSize),R.setValue(F.fontFamily),t.font=F.toString(),M.isPixels()&&(this.document.emSize=M.getPixels(),this.modifiedEmSizeStack=!0)}n||(this.applyEffects(t),t.globalAlpha=this.calculateOpacity())}clearContext(t){super.clearContext(t),this.modifiedEmSizeStack&&this.document.popEmSize()}}class Fr extends _f{constructor(t,n,r){super(t,n,r),this.type="path",this.pathParser=null,this.pathParser=new Ln(this.getAttribute("d").getString())}path(t){var{pathParser:n}=this,r=new Wa;for(n.reset(),t&&t.beginPath();!n.isEnd();)switch(n.next().type){case Ln.MOVE_TO:this.pathM(t,r);break;case Ln.LINE_TO:this.pathL(t,r);break;case Ln.HORIZ_LINE_TO:this.pathH(t,r);break;case Ln.VERT_LINE_TO:this.pathV(t,r);break;case Ln.CURVE_TO:this.pathC(t,r);break;case Ln.SMOOTH_CURVE_TO:this.pathS(t,r);break;case Ln.QUAD_TO:this.pathQ(t,r);break;case Ln.SMOOTH_QUAD_TO:this.pathT(t,r);break;case Ln.ARC:this.pathA(t,r);break;case Ln.CLOSE_PATH:this.pathZ(t,r);break}return r}getBoundingBox(t){return this.path()}getMarkers(){var{pathParser:t}=this,n=t.getMarkerPoints(),r=t.getMarkerAngles(),i=n.map((o,A)=>[o,r[A]]);return i}renderChildren(t){this.path(t),this.document.screen.mouse.checkPath(this,t);var n=this.getStyle("fill-rule");t.fillStyle!==""&&(n.getString("inherit")!=="inherit"?t.fill(n.getString()):t.fill()),t.strokeStyle!==""&&(this.getAttribute("vector-effect").getString()==="non-scaling-stroke"?(t.save(),t.setTransform(1,0,0,1,0,0),t.stroke(),t.restore()):t.stroke());var r=this.getMarkers();if(r){var i=r.length-1,o=this.getStyle("marker-start"),A=this.getStyle("marker-mid"),a=this.getStyle("marker-end");if(o.isUrlDefinition()){var s=o.getDefinition(),[u,l]=r[0];s.render(t,u,l)}if(A.isUrlDefinition())for(var c=A.getDefinition(),d=1;d<i;d++){var[f,g]=r[d];c.render(t,f,g)}if(a.isUrlDefinition()){var h=a.getDefinition(),[m,p]=r[i];h.render(t,m,p)}}}static pathM(t){var n=t.getAsCurrentPoint();return t.start=t.current,{point:n}}pathM(t,n){var{pathParser:r}=this,{point:i}=Fr.pathM(r),{x:o,y:A}=i;r.addMarker(i),n.addPoint(o,A),t&&t.moveTo(o,A)}static pathL(t){var{current:n}=t,r=t.getAsCurrentPoint();return{current:n,point:r}}pathL(t,n){var{pathParser:r}=this,{current:i,point:o}=Fr.pathL(r),{x:A,y:a}=o;r.addMarker(o,i),n.addPoint(A,a),t&&t.lineTo(A,a)}static pathH(t){var{current:n,command:r}=t,i=new Bi((r.relative?n.x:0)+r.x,n.y);return t.current=i,{current:n,point:i}}pathH(t,n){var{pathParser:r}=this,{current:i,point:o}=Fr.pathH(r),{x:A,y:a}=o;r.addMarker(o,i),n.addPoint(A,a),t&&t.lineTo(A,a)}static pathV(t){var{current:n,command:r}=t,i=new Bi(n.x,(r.relative?n.y:0)+r.y);return t.current=i,{current:n,point:i}}pathV(t,n){var{pathParser:r}=this,{current:i,point:o}=Fr.pathV(r),{x:A,y:a}=o;r.addMarker(o,i),n.addPoint(A,a),t&&t.lineTo(A,a)}static pathC(t){var{current:n}=t,r=t.getPoint("x1","y1"),i=t.getAsControlPoint("x2","y2"),o=t.getAsCurrentPoint();return{current:n,point:r,controlPoint:i,currentPoint:o}}pathC(t,n){var{pathParser:r}=this,{current:i,point:o,controlPoint:A,currentPoint:a}=Fr.pathC(r);r.addMarker(a,A,o),n.addBezierCurve(i.x,i.y,o.x,o.y,A.x,A.y,a.x,a.y),t&&t.bezierCurveTo(o.x,o.y,A.x,A.y,a.x,a.y)}static pathS(t){var{current:n}=t,r=t.getReflectedControlPoint(),i=t.getAsControlPoint("x2","y2"),o=t.getAsCurrentPoint();return{current:n,point:r,controlPoint:i,currentPoint:o}}pathS(t,n){var{pathParser:r}=this,{current:i,point:o,controlPoint:A,currentPoint:a}=Fr.pathS(r);r.addMarker(a,A,o),n.addBezierCurve(i.x,i.y,o.x,o.y,A.x,A.y,a.x,a.y),t&&t.bezierCurveTo(o.x,o.y,A.x,A.y,a.x,a.y)}static pathQ(t){var{current:n}=t,r=t.getAsControlPoint("x1","y1"),i=t.getAsCurrentPoint();return{current:n,controlPoint:r,currentPoint:i}}pathQ(t,n){var{pathParser:r}=this,{current:i,controlPoint:o,currentPoint:A}=Fr.pathQ(r);r.addMarker(A,o,o),n.addQuadraticCurve(i.x,i.y,o.x,o.y,A.x,A.y),t&&t.quadraticCurveTo(o.x,o.y,A.x,A.y)}static pathT(t){var{current:n}=t,r=t.getReflectedControlPoint();t.control=r;var i=t.getAsCurrentPoint();return{current:n,controlPoint:r,currentPoint:i}}pathT(t,n){var{pathParser:r}=this,{current:i,controlPoint:o,currentPoint:A}=Fr.pathT(r);r.addMarker(A,o,o),n.addQuadraticCurve(i.x,i.y,o.x,o.y,A.x,A.y),t&&t.quadraticCurveTo(o.x,o.y,A.x,A.y)}static pathA(t){var{current:n,command:r}=t,{rX:i,rY:o,xRot:A,lArcFlag:a,sweepFlag:s}=r,u=A*(Math.PI/180),l=t.getAsCurrentPoint(),c=new Bi(Math.cos(u)*(n.x-l.x)/2+Math.sin(u)*(n.y-l.y)/2,-Math.sin(u)*(n.x-l.x)/2+Math.cos(u)*(n.y-l.y)/2),d=Math.pow(c.x,2)/Math.pow(i,2)+Math.pow(c.y,2)/Math.pow(o,2);d>1&&(i*=Math.sqrt(d),o*=Math.sqrt(d));var f=(a===s?-1:1)*Math.sqrt((Math.pow(i,2)*Math.pow(o,2)-Math.pow(i,2)*Math.pow(c.y,2)-Math.pow(o,2)*Math.pow(c.x,2))/(Math.pow(i,2)*Math.pow(c.y,2)+Math.pow(o,2)*Math.pow(c.x,2)));isNaN(f)&&(f=0);var g=new Bi(f*i*c.y/o,f*-o*c.x/i),h=new Bi((n.x+l.x)/2+Math.cos(u)*g.x-Math.sin(u)*g.y,(n.y+l.y)/2+Math.sin(u)*g.x+Math.cos(u)*g.y),m=Z_([1,0],[(c.x-g.x)/i,(c.y-g.y)/o]),p=[(c.x-g.x)/i,(c.y-g.y)/o],v=[(-c.x-g.x)/i,(-c.y-g.y)/o],y=Z_(p,v);return nB(p,v)<=-1&&(y=Math.PI),nB(p,v)>=1&&(y=0),{currentPoint:l,rX:i,rY:o,sweepFlag:s,xAxisRotation:u,centp:h,a1:m,ad:y}}pathA(t,n){var{pathParser:r}=this,{currentPoint:i,rX:o,rY:A,sweepFlag:a,xAxisRotation:s,centp:u,a1:l,ad:c}=Fr.pathA(r),d=1-a?1:-1,f=l+d*(c/2),g=new Bi(u.x+o*Math.cos(f),u.y+A*Math.sin(f));if(r.addMarkerAngle(g,f-d*Math.PI/2),r.addMarkerAngle(i,f-d*Math.PI),n.addPoint(i.x,i.y),t&&!isNaN(l)&&!isNaN(c)){var h=o>A?o:A,m=o>A?1:o/A,p=o>A?A/o:1;t.translate(u.x,u.y),t.rotate(s),t.scale(m,p),t.arc(0,0,h,l,l+c,!!(1-a)),t.scale(1/m,1/p),t.rotate(-s),t.translate(-u.x,-u.y)}}static pathZ(t){t.current=t.start}pathZ(t,n){Fr.pathZ(this.pathParser),t&&n.x1!==n.x2&&n.y1!==n.y2&&t.closePath()}}class GU extends Fr{constructor(t,n,r){super(t,n,r),this.type="glyph",this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber(),this.unicode=this.getAttribute("unicode").getString(),this.arabicForm=this.getAttribute("arabic-form").getString()}}class Wu extends _f{constructor(t,n,r){super(t,n,new.target===Wu?!0:r),this.type="text",this.x=0,this.y=0,this.measureCache=-1}setContext(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;super.setContext(t,n);var r=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();r&&(t.textBaseline=r)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(t){if(this.type!=="text")return this.getTElementBoundingBox(t);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t);var n=null;return this.children.forEach((r,i)=>{var o=this.getChildBoundingBox(t,this,this,i);n?n.addBoundingBox(o):n=o}),n}getFontSize(){var{document:t,parent:n}=this,r=Zo.parse(t.ctx.font).fontSize,i=n.getStyle("font-size").getNumber(r);return i}getTElementBoundingBox(t){var n=this.getFontSize();return new Wa(this.x,this.y-n,this.x+this.measureText(t),this.y)}getGlyph(t,n,r){var i=n[r],o=null;if(t.isArabic){var A=n.length,a=n[r-1],s=n[r+1],u="isolated";if((r===0||a===" ")&&r<A-1&&s!==" "&&(u="terminal"),r>0&&a!==" "&&r<A-1&&s!==" "&&(u="medial"),r>0&&a!==" "&&(r===A-1||s===" ")&&(u="initial"),typeof t.glyphs[i]<"u"){var l=t.glyphs[i];o=l instanceof GU?l:l[u]}}else o=t.glyphs[i];return o||(o=t.missingGlyph),o}getText(){return""}getTextFromNode(t){var n=t||this.node,r=Array.from(n.parentNode.childNodes),i=r.indexOf(n),o=r.length-1,A=vh(n.textContent||"");return i===0&&(A=ate(A)),i===o&&(A=ste(A)),A}renderChildren(t){if(this.type!=="text"){this.renderTElementChildren(t);return}this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t),this.children.forEach((r,i)=>{this.renderChild(t,this,this,i)});var{mouse:n}=this.document.screen;n.isWorking()&&n.checkBoundingBox(this,this.getBoundingBox(t))}renderTElementChildren(t){var{document:n,parent:r}=this,i=this.getText(),o=r.getStyle("font-family").getDefinition();if(o){for(var{unitsPerEm:A}=o.fontFace,a=Zo.parse(n.ctx.font),s=r.getStyle("font-size").getNumber(a.fontSize),u=r.getStyle("font-style").getString(a.fontStyle),l=s/A,c=o.isRTL?i.split("").reverse().join(""):i,d=RA(r.getAttribute("dx").getString()),f=c.length,g=0;g<f;g++){var h=this.getGlyph(o,c,g);t.translate(this.x,this.y),t.scale(l,-l);var m=t.lineWidth;t.lineWidth=t.lineWidth*A/s,u==="italic"&&t.transform(1,0,.4,1,0,0),h.render(t),u==="italic"&&t.transform(1,0,-.4,1,0,0),t.lineWidth=m,t.scale(1/l,-1/l),t.translate(-this.x,-this.y),this.x+=s*(h.horizAdvX||o.horizAdvX)/A,typeof d[g]<"u"&&!isNaN(d[g])&&(this.x+=d[g])}return}var{x:p,y:v}=this;t.fillStyle&&t.fillText(i,p,v),t.strokeStyle&&t.strokeText(i,p,v)}applyAnchoring(){if(!(this.textChunkStart>=this.leafTexts.length)){var t=this.leafTexts[this.textChunkStart],n=t.getStyle("text-anchor").getString("start"),r=!1,i=0;n==="start"||n==="end"&&r?i=t.x-this.minX:n==="end"||n==="start"&&r?i=t.x-this.maxX:i=t.x-(this.minX+this.maxX)/2;for(var o=this.textChunkStart;o<this.leafTexts.length;o++)this.leafTexts[o].x+=i;this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.textChunkStart=this.leafTexts.length}}adjustChildCoordinatesRecursive(t){this.children.forEach((n,r)=>{this.adjustChildCoordinatesRecursiveCore(t,this,this,r)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(t,n,r,i){var o=r.children[i];o.children.length>0?o.children.forEach((A,a)=>{n.adjustChildCoordinatesRecursiveCore(t,n,o,a)}):this.adjustChildCoordinates(t,n,r,i)}adjustChildCoordinates(t,n,r,i){var o=r.children[i];if(typeof o.measureText!="function")return o;t.save(),o.setContext(t,!0);var A=o.getAttribute("x"),a=o.getAttribute("y"),s=o.getAttribute("dx"),u=o.getAttribute("dy"),l=o.getStyle("font-family").getDefinition(),c=!!l&&l.isRTL;i===0&&(A.hasValue()||A.setValue(o.getInheritedAttribute("x")),a.hasValue()||a.setValue(o.getInheritedAttribute("y")),s.hasValue()||s.setValue(o.getInheritedAttribute("dx")),u.hasValue()||u.setValue(o.getInheritedAttribute("dy")));var d=o.measureText(t);return c&&(n.x-=d),A.hasValue()?(n.applyAnchoring(),o.x=A.getPixels("x"),s.hasValue()&&(o.x+=s.getPixels("x"))):(s.hasValue()&&(n.x+=s.getPixels("x")),o.x=n.x),n.x=o.x,c||(n.x+=d),a.hasValue()?(o.y=a.getPixels("y"),u.hasValue()&&(o.y+=u.getPixels("y"))):(u.hasValue()&&(n.y+=u.getPixels("y")),o.y=n.y),n.y=o.y,n.leafTexts.push(o),n.minX=Math.min(n.minX,o.x,o.x+d),n.maxX=Math.max(n.maxX,o.x,o.x+d),o.clearContext(t),t.restore(),o}getChildBoundingBox(t,n,r,i){var o=r.children[i];if(typeof o.getBoundingBox!="function")return null;var A=o.getBoundingBox(t);return A?(o.children.forEach((a,s)=>{var u=n.getChildBoundingBox(t,n,o,s);A.addBoundingBox(u)}),A):null}renderChild(t,n,r,i){var o=r.children[i];o.render(t),o.children.forEach((A,a)=>{n.renderChild(t,n,o,a)})}measureText(t){var{measureCache:n}=this;if(~n)return n;var r=this.getText(),i=this.measureTargetText(t,r);return this.measureCache=i,i}measureTargetText(t,n){if(!n.length)return 0;var{parent:r}=this,i=r.getStyle("font-family").getDefinition();if(i){for(var o=this.getFontSize(),A=i.isRTL?n.split("").reverse().join(""):n,a=RA(r.getAttribute("dx").getString()),s=A.length,u=0,l=0;l<s;l++){var c=this.getGlyph(i,A,l);u+=(c.horizAdvX||i.horizAdvX)*o/i.fontFace.unitsPerEm,typeof a[l]<"u"&&!isNaN(a[l])&&(u+=a[l])}return u}if(!t.measureText)return n.length*10;t.save(),this.setContext(t,!0);var{width:d}=t.measureText(n);return this.clearContext(t),t.restore(),d}getInheritedAttribute(t){for(var n=this;n instanceof Wu&&n.isFirstChild();){var r=n.parent.getAttribute(t);if(r.hasValue(!0))return r.getValue("0");n=n.parent}return null}}class Xv extends Wu{constructor(t,n,r){super(t,n,new.target===Xv?!0:r),this.type="tspan",this.text=this.children.length>0?"":this.getTextFromNode()}getText(){return this.text}}class fHe extends Xv{constructor(){super(...arguments),this.type="textNode"}}let Vg=class extends _f{constructor(){super(...arguments),this.type="svg",this.root=!1}setContext(t){var n,{document:r}=this,{screen:i,window:o}=r,A=t.canvas;if(i.setDefaults(t),A.style&&typeof t.font<"u"&&o&&typeof o.getComputedStyle<"u"){t.font=o.getComputedStyle(A).getPropertyValue("font");var a=new on(r,"fontSize",Zo.parse(t.font).fontSize);a.hasValue()&&(r.rootEmSize=a.getPixels("y"),r.emSize=r.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var{width:s,height:u}=i.viewPort;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var l=this.getAttribute("refX"),c=this.getAttribute("refY"),d=this.getAttribute("viewBox"),f=d.hasValue()?RA(d.getString()):null,g=!this.root&&this.getStyle("overflow").getValue("hidden")!=="visible",h=0,m=0,p=0,v=0;f&&(h=f[0],m=f[1]),this.root||(s=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y"),this.type==="marker"&&(p=h,v=m,h=0,m=0)),i.viewPort.setCurrent(s,u),this.node&&(!this.parent||((n=this.node.parentNode)===null||n===void 0?void 0:n.nodeName)==="foreignObject")&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(t),t.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),f&&(s=f[2],u=f[3]),r.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:i.viewPort.width,desiredWidth:s,height:i.viewPort.height,desiredHeight:u,minX:h,minY:m,refX:l.getValue(),refY:c.getValue(),clip:g,clipX:p,clipY:v}),f&&(i.viewPort.removeCurrent(),i.viewPort.setCurrent(s,u))}clearContext(t){super.clearContext(t),this.document.screen.viewPort.removeCurrent()}resize(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=this.getAttribute("width",!0),o=this.getAttribute("height",!0),A=this.getAttribute("viewBox"),a=this.getAttribute("style"),s=i.getNumber(0),u=o.getNumber(0);if(r)if(typeof r=="string")this.getAttribute("preserveAspectRatio",!0).setValue(r);else{var l=this.getAttribute("preserveAspectRatio");l.hasValue()&&l.setValue(l.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(i.setValue(t),o.setValue(n),A.hasValue()||A.setValue("0 0 ".concat(s||t," ").concat(u||n)),a.hasValue()){var c=this.getStyle("width"),d=this.getStyle("height");c.hasValue()&&c.setValue("".concat(t,"px")),d.hasValue()&&d.setValue("".concat(n,"px"))}}};class WU extends Fr{constructor(){super(...arguments),this.type="rect"}path(t){var n=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),i=this.getStyle("width",!1,!0).getPixels("x"),o=this.getStyle("height",!1,!0).getPixels("y"),A=this.getAttribute("rx"),a=this.getAttribute("ry"),s=A.getPixels("x"),u=a.getPixels("y");if(A.hasValue()&&!a.hasValue()&&(u=s),a.hasValue()&&!A.hasValue()&&(s=u),s=Math.min(s,i/2),u=Math.min(u,o/2),t){var l=4*((Math.sqrt(2)-1)/3);t.beginPath(),o>0&&i>0&&(t.moveTo(n+s,r),t.lineTo(n+i-s,r),t.bezierCurveTo(n+i-s+l*s,r,n+i,r+u-l*u,n+i,r+u),t.lineTo(n+i,r+o-u),t.bezierCurveTo(n+i,r+o-u+l*u,n+i-s+l*s,r+o,n+i-s,r+o),t.lineTo(n+s,r+o),t.bezierCurveTo(n+s-l*s,r+o,n,r+o-u+l*u,n,r+o-u),t.lineTo(n,r+u),t.bezierCurveTo(n,r+u-l*u,n+s-l*s,r,n+s,r),t.closePath())}return new Wa(n,r,n+i,r+o)}getMarkers(){return null}}class Bte extends Fr{constructor(){super(...arguments),this.type="circle"}path(t){var n=this.getAttribute("cx").getPixels("x"),r=this.getAttribute("cy").getPixels("y"),i=this.getAttribute("r").getPixels();return t&&i>0&&(t.beginPath(),t.arc(n,r,i,0,Math.PI*2,!1),t.closePath()),new Wa(n-i,r-i,n+i,r+i)}getMarkers(){return null}}class Cte extends Fr{constructor(){super(...arguments),this.type="ellipse"}path(t){var n=4*((Math.sqrt(2)-1)/3),r=this.getAttribute("rx").getPixels("x"),i=this.getAttribute("ry").getPixels("y"),o=this.getAttribute("cx").getPixels("x"),A=this.getAttribute("cy").getPixels("y");return t&&r>0&&i>0&&(t.beginPath(),t.moveTo(o+r,A),t.bezierCurveTo(o+r,A+n*i,o+n*r,A+i,o,A+i),t.bezierCurveTo(o-n*r,A+i,o-r,A+n*i,o-r,A),t.bezierCurveTo(o-r,A-n*i,o-n*r,A-i,o,A-i),t.bezierCurveTo(o+n*r,A-i,o+r,A-n*i,o+r,A),t.closePath()),new Wa(o-r,A-i,o+r,A+i)}getMarkers(){return null}}class xte extends Fr{constructor(){super(...arguments),this.type="line"}getPoints(){return[new Bi(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new Bi(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(t){var[{x:n,y:r},{x:i,y:o}]=this.getPoints();return t&&(t.beginPath(),t.moveTo(n,r),t.lineTo(i,o)),new Wa(n,r,i,o)}getMarkers(){var[t,n]=this.getPoints(),r=t.angleTo(n);return[[t,r],[n,r]]}}class qU extends Fr{constructor(t,n,r){super(t,n,r),this.type="polyline",this.points=[],this.points=Bi.parsePath(this.getAttribute("points").getString())}path(t){var{points:n}=this,[{x:r,y:i}]=n,o=new Wa(r,i);return t&&(t.beginPath(),t.moveTo(r,i)),n.forEach(A=>{var{x:a,y:s}=A;o.addPoint(a,s),t&&t.lineTo(a,s)}),o}getMarkers(){var{points:t}=this,n=t.length-1,r=[];return t.forEach((i,o)=>{o!==n&&r.push([i,i.angleTo(t[o+1])])}),r.length>0&&r.push([t[t.length-1],r[r.length-1][1]]),r}}class Ste extends qU{constructor(){super(...arguments),this.type="polygon"}path(t){var n=super.path(t),[{x:r,y:i}]=this.points;return t&&(t.lineTo(r,i),t.closePath()),n}}class Ete extends vi{constructor(){super(...arguments),this.type="pattern"}createPattern(t,n,r){var i=this.getStyle("width").getPixels("x",!0),o=this.getStyle("height").getPixels("y",!0),A=new Vg(this.document,null);A.attributes.viewBox=new on(this.document,"viewBox",this.getAttribute("viewBox").getValue()),A.attributes.width=new on(this.document,"width","".concat(i,"px")),A.attributes.height=new on(this.document,"height","".concat(o,"px")),A.attributes.transform=new on(this.document,"transform",this.getAttribute("patternTransform").getValue()),A.children=this.children;var a=this.document.createCanvas(i,o),s=a.getContext("2d"),u=this.getAttribute("x"),l=this.getAttribute("y");u.hasValue()&&l.hasValue()&&s.translate(u.getPixels("x",!0),l.getPixels("y",!0)),r.hasValue()?this.styles["fill-opacity"]=r:Reflect.deleteProperty(this.styles,"fill-opacity");for(var c=-1;c<=1;c++)for(var d=-1;d<=1;d++)s.save(),A.attributes.x=new on(this.document,"x",c*a.width),A.attributes.y=new on(this.document,"y",d*a.height),A.render(s),s.restore();var f=t.createPattern(a,"repeat");return f}}class Fte extends vi{constructor(){super(...arguments),this.type="marker"}render(t,n,r){if(n){var{x:i,y:o}=n,A=this.getAttribute("orient").getString("auto"),a=this.getAttribute("markerUnits").getString("strokeWidth");t.translate(i,o),A==="auto"&&t.rotate(r),a==="strokeWidth"&&t.scale(t.lineWidth,t.lineWidth),t.save();var s=new Vg(this.document,null);s.type=this.type,s.attributes.viewBox=new on(this.document,"viewBox",this.getAttribute("viewBox").getValue()),s.attributes.refX=new on(this.document,"refX",this.getAttribute("refX").getValue()),s.attributes.refY=new on(this.document,"refY",this.getAttribute("refY").getValue()),s.attributes.width=new on(this.document,"width",this.getAttribute("markerWidth").getValue()),s.attributes.height=new on(this.document,"height",this.getAttribute("markerHeight").getValue()),s.attributes.overflow=new on(this.document,"overflow",this.getAttribute("overflow").getValue()),s.attributes.fill=new on(this.document,"fill",this.getAttribute("fill").getColor("black")),s.attributes.stroke=new on(this.document,"stroke",this.getAttribute("stroke").getValue("none")),s.children=this.children,s.render(t),t.restore(),a==="strokeWidth"&&t.scale(1/t.lineWidth,1/t.lineWidth),A==="auto"&&t.rotate(-r),t.translate(-i,-o)}}}class Ite extends vi{constructor(){super(...arguments),this.type="defs"}render(){}}class XC extends _f{constructor(){super(...arguments),this.type="g"}getBoundingBox(t){var n=new Wa;return this.children.forEach(r=>{n.addBoundingBox(r.getBoundingBox(t))}),n}}class XU extends vi{constructor(t,n,r){super(t,n,r),this.attributesToInherit=["gradientUnits"],this.stops=[];var{stops:i,children:o}=this;o.forEach(A=>{A.type==="stop"&&i.push(A)})}getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(t,n,r){var i=this;this.getHrefAttribute().hasValue()&&(i=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(i));var{stops:o}=i,A=this.getGradient(t,n);if(!A)return this.addParentOpacity(r,o[o.length-1].color);if(o.forEach(m=>{A.addColorStop(m.offset,this.addParentOpacity(r,m.color))}),this.getAttribute("gradientTransform").hasValue()){var{document:a}=this,{MAX_VIRTUAL_PIXELS:s,viewPort:u}=a.screen,[l]=u.viewPorts,c=new WU(a,null);c.attributes.x=new on(a,"x",-s/3),c.attributes.y=new on(a,"y",-s/3),c.attributes.width=new on(a,"width",s),c.attributes.height=new on(a,"height",s);var d=new XC(a,null);d.attributes.transform=new on(a,"transform",this.getAttribute("gradientTransform").getValue()),d.children=[c];var f=new Vg(a,null);f.attributes.x=new on(a,"x",0),f.attributes.y=new on(a,"y",0),f.attributes.width=new on(a,"width",l.width),f.attributes.height=new on(a,"height",l.height),f.children=[d];var g=a.createCanvas(l.width,l.height),h=g.getContext("2d");return h.fillStyle=A,f.render(h),h.createPattern(g,"no-repeat")}return A}inheritStopContainer(t){this.attributesToInherit.forEach(n=>{!this.getAttribute(n).hasValue()&&t.getAttribute(n).hasValue()&&this.getAttribute(n,!0).setValue(t.getAttribute(n).getValue())})}addParentOpacity(t,n){if(t.hasValue()){var r=new on(this.document,"color",n);return r.addOpacity(t).getColor()}return n}}class _te extends XU{constructor(t,n,r){super(t,n,r),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(t,n){var r=this.getGradientUnits()==="objectBoundingBox",i=r?n.getBoundingBox(t):null;if(r&&!i)return null;!this.getAttribute("x1").hasValue()&&!this.getAttribute("y1").hasValue()&&!this.getAttribute("x2").hasValue()&&!this.getAttribute("y2").hasValue()&&(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var o=r?i.x+i.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),A=r?i.y+i.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),a=r?i.x+i.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),s=r?i.y+i.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return o===a&&A===s?null:t.createLinearGradient(o,A,a,s)}}class Ote extends XU{constructor(t,n,r){super(t,n,r),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(t,n){var r=this.getGradientUnits()==="objectBoundingBox",i=n.getBoundingBox(t);if(r&&!i)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var o=r?i.x+i.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),A=r?i.y+i.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),a=o,s=A;this.getAttribute("fx").hasValue()&&(a=r?i.x+i.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(s=r?i.y+i.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var u=r?(i.width+i.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),l=this.getAttribute("fr").getPixels();return t.createRadialGradient(a,s,l,o,A,u)}}class Tte extends vi{constructor(t,n,r){super(t,n,r),this.type="stop";var i=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),o=this.getStyle("stop-opacity"),A=this.getStyle("stop-color",!0);A.getString()===""&&A.setValue("#000"),o.hasValue()&&(A=A.addOpacity(o)),this.offset=i,this.color=A.getColor()}}class YC extends vi{constructor(t,n,r){super(t,n,r),this.type="animate",this.duration=0,this.initialValue=null,this.initialUnits="",this.removed=!1,this.frozen=!1,t.screen.animations.push(this),this.begin=this.getAttribute("begin").getMilliseconds(),this.maxDuration=this.begin+this.getAttribute("dur").getMilliseconds(),this.from=this.getAttribute("from"),this.to=this.getAttribute("to"),this.values=new on(t,"values",null);var i=this.getAttribute("values");i.hasValue()&&this.values.setValue(i.getString().split(";"))}getProperty(){var t=this.getAttribute("attributeType").getString(),n=this.getAttribute("attributeName").getString();return t==="CSS"?this.parent.getStyle(n,!0):this.parent.getAttribute(n,!0)}calcValue(){var{initialUnits:t}=this,{progress:n,from:r,to:i}=this.getProgress(),o=r.getNumber()+(i.getNumber()-r.getNumber())*n;return t==="%"&&(o*=100),"".concat(o).concat(t)}update(t){var{parent:n}=this,r=this.getProperty();if(this.initialValue||(this.initialValue=r.getString(),this.initialUnits=r.getUnits()),this.duration>this.maxDuration){var i=this.getAttribute("fill").getString("remove");if(this.getAttribute("repeatCount").getString()==="indefinite"||this.getAttribute("repeatDur").getString()==="indefinite")this.duration=0;else if(i==="freeze"&&!this.frozen)this.frozen=!0,n.animationFrozen=!0,n.animationFrozenValue=r.getString();else if(i==="remove"&&!this.removed)return this.removed=!0,r.setValue(n.animationFrozen?n.animationFrozenValue:this.initialValue),!0;return!1}this.duration+=t;var o=!1;if(this.begin<this.duration){var A=this.calcValue(),a=this.getAttribute("type");if(a.hasValue()){var s=a.getString();A="".concat(s,"(").concat(A,")")}r.setValue(A),o=!0}return o}getProgress(){var{document:t,values:n}=this,r={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(n.hasValue()){var i=r.progress*(n.getValue().length-1),o=Math.floor(i),A=Math.ceil(i);r.from=new on(t,"from",parseFloat(n.getValue()[o])),r.to=new on(t,"to",parseFloat(n.getValue()[A])),r.progress=(i-o)/(A-o)}else r.from=this.from,r.to=this.to;return r}}class Ute extends YC{constructor(){super(...arguments),this.type="animateColor"}calcValue(){var{progress:t,from:n,to:r}=this.getProgress(),i=new X_(n.getColor()),o=new X_(r.getColor());if(i.ok&&o.ok){var A=i.r+(o.r-i.r)*t,a=i.g+(o.g-i.g)*t,s=i.b+(o.b-i.b)*t;return"rgb(".concat(Math.floor(A),", ").concat(Math.floor(a),", ").concat(Math.floor(s),")")}return this.getAttribute("from").getColor()}}class Qte extends YC{constructor(){super(...arguments),this.type="animateTransform"}calcValue(){var{progress:t,from:n,to:r}=this.getProgress(),i=RA(n.getString()),o=RA(r.getString()),A=i.map((a,s)=>{var u=o[s];return a+(u-a)*t}).join(" ");return A}}class Pte extends vi{constructor(t,n,r){super(t,n,r),this.type="font",this.glyphs={},this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();var{definitions:i}=t,{children:o}=this;for(var A of o)switch(A.type){case"font-face":{this.fontFace=A;var a=A.getStyle("font-family");a.hasValue()&&(i[a.getString()]=this);break}case"missing-glyph":this.missingGlyph=A;break;case"glyph":{var s=A;s.arabicForm?(this.isRTL=!0,this.isArabic=!0,typeof this.glyphs[s.unicode]>"u"&&(this.glyphs[s.unicode]={}),this.glyphs[s.unicode][s.arabicForm]=s):this.glyphs[s.unicode]=s;break}}}render(){}}class Lte extends vi{constructor(t,n,r){super(t,n,r),this.type="font-face",this.ascent=this.getAttribute("ascent").getNumber(),this.descent=this.getAttribute("descent").getNumber(),this.unitsPerEm=this.getAttribute("units-per-em").getNumber()}}class Dte extends Fr{constructor(){super(...arguments),this.type="missing-glyph",this.horizAdvX=0}}class Rte extends Wu{constructor(){super(...arguments),this.type="tref"}getText(){var t=this.getHrefAttribute().getDefinition();if(t){var n=t.children[0];if(n)return n.getText()}return""}}class $te extends Wu{constructor(t,n,r){super(t,n,r),this.type="a";var{childNodes:i}=n,o=i[0],A=i.length>0&&Array.from(i).every(a=>a.nodeType===3);this.hasText=A,this.text=A?this.getTextFromNode(o):""}getText(){return this.text}renderChildren(t){if(this.hasText){super.renderChildren(t);var{document:n,x:r,y:i}=this,{mouse:o}=n.screen,A=new on(n,"fontSize",Zo.parse(n.ctx.font).fontSize);o.isWorking()&&o.checkBoundingBox(this,new Wa(r,i-A.getPixels("y"),r+this.measureText(t),i))}else if(this.children.length>0){var a=new XC(this.document,null);a.children=this.children,a.parent=this,a.render(t)}}onClick(){var{window:t}=this.document;t&&t.open(this.getHrefAttribute().getString())}onMouseMove(){var t=this.document.ctx;t.canvas.style.cursor="pointer"}}function jj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Yy(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?jj(Object(n),!0).forEach(function(r){pB(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jj(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}class Nte extends Wu{constructor(t,n,r){super(t,n,r),this.type="textPath",this.textWidth=0,this.textHeight=0,this.pathLength=-1,this.glyphInfo=null,this.letterSpacingCache=[],this.measuresCache=new Map([["",0]]);var i=this.getHrefAttribute().getDefinition();this.text=this.getTextFromNode(),this.dataArray=this.parsePathData(i)}getText(){return this.text}path(t){var{dataArray:n}=this;t&&t.beginPath(),n.forEach(r=>{var{type:i,points:o}=r;switch(i){case Ln.LINE_TO:t&&t.lineTo(o[0],o[1]);break;case Ln.MOVE_TO:t&&t.moveTo(o[0],o[1]);break;case Ln.CURVE_TO:t&&t.bezierCurveTo(o[0],o[1],o[2],o[3],o[4],o[5]);break;case Ln.QUAD_TO:t&&t.quadraticCurveTo(o[0],o[1],o[2],o[3]);break;case Ln.ARC:{var[A,a,s,u,l,c,d,f]=o,g=s>u?s:u,h=s>u?1:s/u,m=s>u?u/s:1;t&&(t.translate(A,a),t.rotate(d),t.scale(h,m),t.arc(0,0,g,l,l+c,!!(1-f)),t.scale(1/h,1/m),t.rotate(-d),t.translate(-A,-a));break}case Ln.CLOSE_PATH:t&&t.closePath();break}})}renderChildren(t){this.setTextData(t),t.save();var n=this.parent.getStyle("text-decoration").getString(),r=this.getFontSize(),{glyphInfo:i}=this,o=t.fillStyle;n==="underline"&&t.beginPath(),i.forEach((A,a)=>{var{p0:s,p1:u,rotation:l,text:c}=A;t.save(),t.translate(s.x,s.y),t.rotate(l),t.fillStyle&&t.fillText(c,0,0),t.strokeStyle&&t.strokeText(c,0,0),t.restore(),n==="underline"&&(a===0&&t.moveTo(s.x,s.y+r/8),t.lineTo(u.x,u.y+r/5))}),n==="underline"&&(t.lineWidth=r/20,t.strokeStyle=o,t.stroke(),t.closePath()),t.restore()}getLetterSpacingAt(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.letterSpacingCache[t]||0}findSegmentToFitChar(t,n,r,i,o,A,a,s,u){var l=A,c=this.measureText(t,s);s===" "&&n==="justify"&&r<i&&(c+=(i-r)/o),u>-1&&(l+=this.getLetterSpacingAt(u));var d=this.textHeight/20,f=this.getEquidistantPointOnPath(l,d,0),g=this.getEquidistantPointOnPath(l+c,d,0),h={p0:f,p1:g},m=f&&g?Math.atan2(g.y-f.y,g.x-f.x):0;if(a){var p=Math.cos(Math.PI/2+m)*a,v=Math.cos(-m)*a;h.p0=Yy(Yy({},f),{},{x:f.x+p,y:f.y+v}),h.p1=Yy(Yy({},g),{},{x:g.x+p,y:g.y+v})}return l+=c,{offset:l,segment:h,rotation:m}}measureText(t,n){var{measuresCache:r}=this,i=n||this.getText();if(r.has(i))return r.get(i);var o=this.measureTargetText(t,i);return r.set(i,o),o}setTextData(t){if(!this.glyphInfo){var n=this.getText(),r=n.split(""),i=n.split(" ").length-1,o=this.parent.getAttribute("dx").split().map(b=>b.getPixels("x")),A=this.parent.getAttribute("dy").getPixels("y"),a=this.parent.getStyle("text-anchor").getString("start"),s=this.getStyle("letter-spacing"),u=this.parent.getStyle("letter-spacing"),l=0;!s.hasValue()||s.getValue()==="inherit"?l=u.getPixels():s.hasValue()&&s.getValue()!=="initial"&&s.getValue()!=="unset"&&(l=s.getPixels());var c=[],d=n.length;this.letterSpacingCache=c;for(var f=0;f<d;f++)c.push(typeof o[f]<"u"?o[f]:l);var g=c.reduce((b,w,C)=>C===0?0:b+w||0,0),h=this.measureText(t),m=Math.max(h+g,0);this.textWidth=h,this.textHeight=this.getFontSize(),this.glyphInfo=[];var p=this.getPathLength(),v=this.getStyle("startOffset").getNumber(0)*p,y=0;(a==="middle"||a==="center")&&(y=-m/2),(a==="end"||a==="right")&&(y=-m),y+=v,r.forEach((b,w)=>{var{offset:C,segment:B,rotation:O}=this.findSegmentToFitChar(t,a,m,p,i,y,A,b,w);y=C,!(!B.p0||!B.p1)&&this.glyphInfo.push({text:r[w],p0:B.p0,p1:B.p1,rotation:O})})}}parsePathData(t){if(this.pathLength=-1,!t)return[];var n=[],{pathParser:r}=t;for(r.reset();!r.isEnd();){var{current:i}=r,o=i?i.x:0,A=i?i.y:0,a=r.next(),s=a.type,u=[];switch(a.type){case Ln.MOVE_TO:this.pathM(r,u);break;case Ln.LINE_TO:s=this.pathL(r,u);break;case Ln.HORIZ_LINE_TO:s=this.pathH(r,u);break;case Ln.VERT_LINE_TO:s=this.pathV(r,u);break;case Ln.CURVE_TO:this.pathC(r,u);break;case Ln.SMOOTH_CURVE_TO:s=this.pathS(r,u);break;case Ln.QUAD_TO:this.pathQ(r,u);break;case Ln.SMOOTH_QUAD_TO:s=this.pathT(r,u);break;case Ln.ARC:u=this.pathA(r);break;case Ln.CLOSE_PATH:Fr.pathZ(r);break}a.type!==Ln.CLOSE_PATH?n.push({type:s,points:u,start:{x:o,y:A},pathLength:this.calcLength(o,A,s,u)}):n.push({type:Ln.CLOSE_PATH,points:[],pathLength:0})}return n}pathM(t,n){var{x:r,y:i}=Fr.pathM(t).point;n.push(r,i)}pathL(t,n){var{x:r,y:i}=Fr.pathL(t).point;return n.push(r,i),Ln.LINE_TO}pathH(t,n){var{x:r,y:i}=Fr.pathH(t).point;return n.push(r,i),Ln.LINE_TO}pathV(t,n){var{x:r,y:i}=Fr.pathV(t).point;return n.push(r,i),Ln.LINE_TO}pathC(t,n){var{point:r,controlPoint:i,currentPoint:o}=Fr.pathC(t);n.push(r.x,r.y,i.x,i.y,o.x,o.y)}pathS(t,n){var{point:r,controlPoint:i,currentPoint:o}=Fr.pathS(t);return n.push(r.x,r.y,i.x,i.y,o.x,o.y),Ln.CURVE_TO}pathQ(t,n){var{controlPoint:r,currentPoint:i}=Fr.pathQ(t);n.push(r.x,r.y,i.x,i.y)}pathT(t,n){var{controlPoint:r,currentPoint:i}=Fr.pathT(t);return n.push(r.x,r.y,i.x,i.y),Ln.QUAD_TO}pathA(t){var{rX:n,rY:r,sweepFlag:i,xAxisRotation:o,centp:A,a1:a,ad:s}=Fr.pathA(t);return i===0&&s>0&&(s-=2*Math.PI),i===1&&s<0&&(s+=2*Math.PI),[A.x,A.y,n,r,a,s,o,i]}calcLength(t,n,r,i){var o=0,A=null,a=null,s=0;switch(r){case Ln.LINE_TO:return this.getLineLength(t,n,i[0],i[1]);case Ln.CURVE_TO:for(o=0,A=this.getPointOnCubicBezier(0,t,n,i[0],i[1],i[2],i[3],i[4],i[5]),s=.01;s<=1;s+=.01)a=this.getPointOnCubicBezier(s,t,n,i[0],i[1],i[2],i[3],i[4],i[5]),o+=this.getLineLength(A.x,A.y,a.x,a.y),A=a;return o;case Ln.QUAD_TO:for(o=0,A=this.getPointOnQuadraticBezier(0,t,n,i[0],i[1],i[2],i[3]),s=.01;s<=1;s+=.01)a=this.getPointOnQuadraticBezier(s,t,n,i[0],i[1],i[2],i[3]),o+=this.getLineLength(A.x,A.y,a.x,a.y),A=a;return o;case Ln.ARC:{o=0;var u=i[4],l=i[5],c=i[4]+l,d=Math.PI/180;if(Math.abs(u-c)<d&&(d=Math.abs(u-c)),A=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],u,0),l<0)for(s=u-d;s>c;s-=d)a=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],s,0),o+=this.getLineLength(A.x,A.y,a.x,a.y),A=a;else for(s=u+d;s<c;s+=d)a=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],s,0),o+=this.getLineLength(A.x,A.y,a.x,a.y),A=a;return a=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],c,0),o+=this.getLineLength(A.x,A.y,a.x,a.y),o}}return 0}getPointOnLine(t,n,r,i,o){var A=arguments.length>5&&arguments[5]!==void 0?arguments[5]:n,a=arguments.length>6&&arguments[6]!==void 0?arguments[6]:r,s=(o-r)/(i-n+Kd),u=Math.sqrt(t*t/(1+s*s));i<n&&(u*=-1);var l=s*u,c=null;if(i===n)c={x:A,y:a+l};else if((a-r)/(A-n+Kd)===s)c={x:A+u,y:a+l};else{var d=0,f=0,g=this.getLineLength(n,r,i,o);if(g<Kd)return null;var h=(A-n)*(i-n)+(a-r)*(o-r);h/=g*g,d=n+h*(i-n),f=r+h*(o-r);var m=this.getLineLength(A,a,d,f),p=Math.sqrt(t*t-m*m);u=Math.sqrt(p*p/(1+s*s)),i<n&&(u*=-1),l=s*u,c={x:d+u,y:f+l}}return c}getPointOnPath(t){var n=this.getPathLength(),r=0,i=null;if(t<-5e-5||t-5e-5>n)return null;var{dataArray:o}=this;for(var A of o){if(A&&(A.pathLength<5e-5||r+A.pathLength+5e-5<t)){r+=A.pathLength;continue}var a=t-r,s=0;switch(A.type){case Ln.LINE_TO:i=this.getPointOnLine(a,A.start.x,A.start.y,A.points[0],A.points[1],A.start.x,A.start.y);break;case Ln.ARC:{var u=A.points[4],l=A.points[5],c=A.points[4]+l;if(s=u+a/A.pathLength*l,l<0&&s<c||l>=0&&s>c)break;i=this.getPointOnEllipticalArc(A.points[0],A.points[1],A.points[2],A.points[3],s,A.points[6]);break}case Ln.CURVE_TO:s=a/A.pathLength,s>1&&(s=1),i=this.getPointOnCubicBezier(s,A.start.x,A.start.y,A.points[0],A.points[1],A.points[2],A.points[3],A.points[4],A.points[5]);break;case Ln.QUAD_TO:s=a/A.pathLength,s>1&&(s=1),i=this.getPointOnQuadraticBezier(s,A.start.x,A.start.y,A.points[0],A.points[1],A.points[2],A.points[3]);break}if(i)return i;break}return null}getLineLength(t,n,r,i){return Math.sqrt((r-t)*(r-t)+(i-n)*(i-n))}getPathLength(){return this.pathLength===-1&&(this.pathLength=this.dataArray.reduce((t,n)=>n.pathLength>0?t+n.pathLength:t,0)),this.pathLength}getPointOnCubicBezier(t,n,r,i,o,A,a,s,u){var l=s*e6(t)+A*t6(t)+i*n6(t)+n*r6(t),c=u*e6(t)+a*t6(t)+o*n6(t)+r*r6(t);return{x:l,y:c}}getPointOnQuadraticBezier(t,n,r,i,o,A,a){var s=A*i6(t)+i*o6(t)+n*A6(t),u=a*i6(t)+o*o6(t)+r*A6(t);return{x:s,y:u}}getPointOnEllipticalArc(t,n,r,i,o,A){var a=Math.cos(A),s=Math.sin(A),u={x:r*Math.cos(o),y:i*Math.sin(o)};return{x:t+(u.x*a-u.y*s),y:n+(u.x*s+u.y*a)}}buildEquidistantCache(t,n){var r=this.getPathLength(),i=n||.25,o=t||r/100;if(!this.equidistantCache||this.equidistantCache.step!==o||this.equidistantCache.precision!==i){this.equidistantCache={step:o,precision:i,points:[]};for(var A=0,a=0;a<=r;a+=i){var s=this.getPointOnPath(a),u=this.getPointOnPath(a+i);!s||!u||(A+=this.getLineLength(s.x,s.y,u.x,u.y),A>=o&&(this.equidistantCache.points.push({x:s.x,y:s.y,distance:a}),A-=o))}}}getEquidistantPointOnPath(t,n,r){if(this.buildEquidistantCache(n,r),t<0||t-this.getPathLength()>5e-5)return null;var i=Math.round(t/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[i]||null}}var dHe=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;class Hte extends _f{constructor(t,n,r){super(t,n,r),this.type="image",this.loaded=!1;var i=this.getHrefAttribute().getString();if(i){var o=i.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(i);t.images.push(this),o?this.loadSvg(i):this.loadImage(i),this.isSvg=o}}loadImage(t){var n=this;return Gu(function*(){try{var r=yield n.document.createImage(t);n.image=r}catch(i){console.error('Error while loading image "'.concat(t,'":'),i)}n.loaded=!0})()}loadSvg(t){var n=this;return Gu(function*(){var r=dHe.exec(t);if(r){var i=r[5];r[4]==="base64"?n.image=atob(i):n.image=decodeURIComponent(i)}else try{var o=yield n.document.fetch(t),A=yield o.text();n.image=A}catch(a){console.error('Error while loading image "'.concat(t,'":'),a)}n.loaded=!0})()}renderChildren(t){var{document:n,image:r,loaded:i}=this,o=this.getAttribute("x").getPixels("x"),A=this.getAttribute("y").getPixels("y"),a=this.getStyle("width").getPixels("x"),s=this.getStyle("height").getPixels("y");if(!(!i||!r||!a||!s)){if(t.save(),t.translate(o,A),this.isSvg){var u=n.canvg.forkString(t,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:a,scaleHeight:s});u.document.documentElement.parent=this,u.render()}else{var l=this.image;n.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:a,desiredWidth:l.width,height:s,desiredHeight:l.height}),this.loaded&&(typeof l.complete>"u"||l.complete)&&t.drawImage(l,0,0)}t.restore()}}getBoundingBox(){var t=this.getAttribute("x").getPixels("x"),n=this.getAttribute("y").getPixels("y"),r=this.getStyle("width").getPixels("x"),i=this.getStyle("height").getPixels("y");return new Wa(t,n,t+r,n+i)}}class Mte extends _f{constructor(){super(...arguments),this.type="symbol"}render(t){}}class kte{constructor(t){this.document=t,this.loaded=!1,t.fonts.push(this)}load(t,n){var r=this;return Gu(function*(){try{var{document:i}=r,o=yield i.canvg.parser.load(n),A=o.getElementsByTagName("font");Array.from(A).forEach(a=>{var s=i.createElement(a);i.definitions[t]=s})}catch(a){console.error('Error while loading font "'.concat(n,'":'),a)}r.loaded=!0})()}}class YU extends vi{constructor(t,n,r){super(t,n,r),this.type="style";var i=vh(Array.from(n.childNodes).map(A=>A.textContent).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")),o=i.split("}");o.forEach(A=>{var a=A.trim();if(a){var s=a.split("{"),u=s[0].split(","),l=s[1].split(";");u.forEach(c=>{var d=c.trim();if(d){var f=t.styles[d]||{};if(l.forEach(m=>{var p=m.indexOf(":"),v=m.substr(0,p).trim(),y=m.substr(p+1,m.length-p).trim();v&&y&&(f[v]=new on(t,v,y))}),t.styles[d]=f,t.stylesSpecificity[d]=cte(d),d==="@font-face"){var g=f["font-family"].getString().replace(/"|'/g,""),h=f.src.getString().split(",");h.forEach(m=>{if(m.indexOf('format("svg")')>0){var p=KU(m);p&&new kte(t).load(g,p)}})}}})}})}}YU.parseExternalUrl=KU;class jte extends _f{constructor(){super(...arguments),this.type="use"}setContext(t){super.setContext(t);var n=this.getAttribute("x"),r=this.getAttribute("y");n.hasValue()&&t.translate(n.getPixels("x"),0),r.hasValue()&&t.translate(0,r.getPixels("y"))}path(t){var{element:n}=this;n&&n.path(t)}renderChildren(t){var{document:n,element:r}=this;if(r){var i=r;if(r.type==="symbol"&&(i=new Vg(n,null),i.attributes.viewBox=new on(n,"viewBox",r.getAttribute("viewBox").getString()),i.attributes.preserveAspectRatio=new on(n,"preserveAspectRatio",r.getAttribute("preserveAspectRatio").getString()),i.attributes.overflow=new on(n,"overflow",r.getAttribute("overflow").getString()),i.children=r.children,r.styles.opacity=new on(n,"opacity",this.calculateOpacity())),i.type==="svg"){var o=this.getStyle("width",!1,!0),A=this.getStyle("height",!1,!0);o.hasValue()&&(i.attributes.width=new on(n,"width",o.getString())),A.hasValue()&&(i.attributes.height=new on(n,"height",A.getString()))}var a=i.parent;i.parent=this,i.render(t),i.parent=a}}getBoundingBox(t){var{element:n}=this;return n?n.getBoundingBox(t):null}elementTransform(){var{document:t,element:n}=this;return bf.fromElement(t,n)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}function Jy(e,t,n,r,i,o){return e[n*r*4+t*4+o]}function Zy(e,t,n,r,i,o,A){e[n*r*4+t*4+o]=A}function Vi(e,t,n){var r=e[t];return r*n}function xu(e,t,n,r){return t+Math.cos(e)*n+Math.sin(e)*r}class JU extends vi{constructor(t,n,r){super(t,n,r),this.type="feColorMatrix";var i=RA(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":{var o=i[0];i=[.213+.787*o,.715-.715*o,.072-.072*o,0,0,.213-.213*o,.715+.285*o,.072-.072*o,0,0,.213-.213*o,.715-.715*o,.072+.928*o,0,0,0,0,0,1,0,0,0,0,0,1];break}case"hueRotate":{var A=i[0]*Math.PI/180;i=[xu(A,.213,.787,-.213),xu(A,.715,-.715,-.715),xu(A,.072,-.072,.928),0,0,xu(A,.213,-.213,.143),xu(A,.715,.285,.14),xu(A,.072,-.072,-.283),0,0,xu(A,.213,-.213,-.787),xu(A,.715,-.715,.715),xu(A,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break}case"luminanceToAlpha":i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1];break}this.matrix=i,this.includeOpacity=this.getAttribute("includeOpacity").hasValue()}apply(t,n,r,i,o){for(var{includeOpacity:A,matrix:a}=this,s=t.getImageData(0,0,i,o),u=0;u<o;u++)for(var l=0;l<i;l++){var c=Jy(s.data,l,u,i,o,0),d=Jy(s.data,l,u,i,o,1),f=Jy(s.data,l,u,i,o,2),g=Jy(s.data,l,u,i,o,3),h=Vi(a,0,c)+Vi(a,1,d)+Vi(a,2,f)+Vi(a,3,g)+Vi(a,4,1),m=Vi(a,5,c)+Vi(a,6,d)+Vi(a,7,f)+Vi(a,8,g)+Vi(a,9,1),p=Vi(a,10,c)+Vi(a,11,d)+Vi(a,12,f)+Vi(a,13,g)+Vi(a,14,1),v=Vi(a,15,c)+Vi(a,16,d)+Vi(a,17,f)+Vi(a,18,g)+Vi(a,19,1);A&&(h=0,m=0,p=0,v*=g/255),Zy(s.data,l,u,i,o,0,h),Zy(s.data,l,u,i,o,1,m),Zy(s.data,l,u,i,o,2,p),Zy(s.data,l,u,i,o,3,v)}t.clearRect(0,0,i,o),t.putImageData(s,0,0)}}class Yv extends vi{constructor(){super(...arguments),this.type="mask"}apply(t,n){var{document:r}=this,i=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),A=this.getStyle("width").getPixels("x"),a=this.getStyle("height").getPixels("y");if(!A&&!a){var s=new Wa;this.children.forEach(g=>{s.addBoundingBox(g.getBoundingBox(t))}),i=Math.floor(s.x1),o=Math.floor(s.y1),A=Math.floor(s.width),a=Math.floor(s.height)}var u=this.removeStyles(n,Yv.ignoreStyles),l=r.createCanvas(i+A,o+a),c=l.getContext("2d");r.screen.setDefaults(c),this.renderChildren(c),new JU(r,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(c,0,0,i+A,o+a);var d=r.createCanvas(i+A,o+a),f=d.getContext("2d");r.screen.setDefaults(f),n.render(f),f.globalCompositeOperation="destination-in",f.fillStyle=c.createPattern(l,"no-repeat"),f.fillRect(0,0,i+A,o+a),t.fillStyle=f.createPattern(d,"no-repeat"),t.fillRect(0,0,i+A,o+a),this.restoreStyles(n,u)}render(t){}}Yv.ignoreStyles=["mask","transform","clip-path"];var Kj=()=>{};class Kte extends vi{constructor(){super(...arguments),this.type="clipPath"}apply(t){var{document:n}=this,r=Reflect.getPrototypeOf(t),{beginPath:i,closePath:o}=t;r&&(r.beginPath=Kj,r.closePath=Kj),Reflect.apply(i,t,[]),this.children.forEach(A=>{if(!(typeof A.path>"u")){var a=typeof A.elementTransform<"u"?A.elementTransform():null;a||(a=bf.fromElement(n,A)),a&&a.apply(t),A.path(t),r&&(r.closePath=o),a&&a.unapply(t)}}),Reflect.apply(o,t,[]),t.clip(),r&&(r.beginPath=i,r.closePath=o)}render(t){}}class Jv extends vi{constructor(){super(...arguments),this.type="filter"}apply(t,n){var{document:r,children:i}=this,o=n.getBoundingBox(t);if(o){var A=0,a=0;i.forEach(p=>{var v=p.extraFilterDistance||0;A=Math.max(A,v),a=Math.max(a,v)});var s=Math.floor(o.width),u=Math.floor(o.height),l=s+2*A,c=u+2*a;if(!(l<1||c<1)){var d=Math.floor(o.x),f=Math.floor(o.y),g=this.removeStyles(n,Jv.ignoreStyles),h=r.createCanvas(l,c),m=h.getContext("2d");r.screen.setDefaults(m),m.translate(-d+A,-f+a),n.render(m),i.forEach(p=>{typeof p.apply=="function"&&p.apply(m,0,0,l,c)}),t.drawImage(h,0,0,l,c,d-A,f-a,l,c),this.restoreStyles(n,g)}}}render(t){}}Jv.ignoreStyles=["filter","transform","clip-path"];class Vte extends vi{constructor(t,n,r){super(t,n,r),this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(t,n,r,i,o){}}class zte extends vi{constructor(){super(...arguments),this.type="feMorphology"}apply(t,n,r,i,o){}}class Gte extends vi{constructor(){super(...arguments),this.type="feComposite"}apply(t,n,r,i,o){}}class Wte extends vi{constructor(t,n,r){super(t,n,r),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(t,n,r,i,o){var{document:A,blurRadius:a}=this,s=A.window?A.window.document.body:null,u=t.canvas;u.id=A.getUniqueId(),s&&(u.style.display="none",s.appendChild(u)),VNe(u,n,r,i,o,a),s&&s.removeChild(u)}}class qte extends vi{constructor(){super(...arguments),this.type="title"}}class Xte extends vi{constructor(){super(...arguments),this.type="desc"}}var hHe={svg:Vg,rect:WU,circle:Bte,ellipse:Cte,line:xte,polyline:qU,polygon:Ste,path:Fr,pattern:Ete,marker:Fte,defs:Ite,linearGradient:_te,radialGradient:Ote,stop:Tte,animate:YC,animateColor:Ute,animateTransform:Qte,font:Pte,"font-face":Lte,"missing-glyph":Dte,glyph:GU,text:Wu,tspan:Xv,tref:Rte,a:$te,textPath:Nte,image:Hte,g:XC,symbol:Mte,style:YU,use:jte,mask:Yv,clipPath:Kte,filter:Jv,feDropShadow:Vte,feMorphology:zte,feComposite:Gte,feColorMatrix:JU,feGaussianBlur:Wte,title:qte,desc:Xte};function Vj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function pHe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Vj(Object(n),!0).forEach(function(r){pB(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vj(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function gHe(e,t){var n=document.createElement("canvas");return n.width=e,n.height=t,n}function mHe(e){return s6.apply(this,arguments)}function s6(){return s6=Gu(function*(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=document.createElement("img");return t&&(n.crossOrigin="Anonymous"),new Promise((r,i)=>{n.onload=()=>{r(n)},n.onerror=(o,A,a,s,u)=>{i(u)},n.src=e})}),s6.apply(this,arguments)}let Zv=class Yb{constructor(t){var{rootEmSize:n=12,emSize:r=12,createCanvas:i=Yb.createCanvas,createImage:o=Yb.createImage,anonymousCrossOrigin:A}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.canvg=t,this.definitions={},this.styles={},this.stylesSpecificity={},this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=t.screen,this.rootEmSize=n,this.emSize=r,this.createCanvas=i,this.createImage=this.bindCreateImage(o,A),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}bindCreateImage(t,n){return typeof n=="boolean"?(r,i)=>t(r,typeof i=="boolean"?i:n):t}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){var{emSizeStack:t}=this;return t[t.length-1]}set emSize(t){var{emSizeStack:n}=this;n.push(t)}popEmSize(){var{emSizeStack:t}=this;t.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every(t=>t.loaded)}isFontsLoaded(){return this.fonts.every(t=>t.loaded)}createDocumentElement(t){var n=this.createElement(t.documentElement);return n.root=!0,n.addStylesFromStyleDefinition(),this.documentElement=n,n}createElement(t){var n=t.nodeName.replace(/^[^:]+:/,""),r=Yb.elementTypes[n];return typeof r<"u"?new r(this,t):new wte(this,t)}createTextNode(t){return new fHe(this,t)}setViewBox(t){this.screen.setViewBox(pHe({document:this},t))}};Zv.createCanvas=gHe;Zv.createImage=mHe;Zv.elementTypes=hHe;function zj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function fd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?zj(Object(n),!0).forEach(function(r){pB(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zj(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}class Ud{constructor(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.parser=new Xb(r),this.screen=new qv(t,r),this.options=r;var i=new Zv(this,r),o=i.createDocumentElement(n);this.document=i,this.documentElement=o}static from(t,n){var r=arguments;return Gu(function*(){var i=r.length>2&&r[2]!==void 0?r[2]:{},o=new Xb(i),A=yield o.parse(n);return new Ud(t,A,i)})()}static fromString(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=new Xb(r),o=i.parseFromString(n);return new Ud(t,o,r)}fork(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Ud.from(t,n,fd(fd({},this.options),r))}forkString(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Ud.fromString(t,n,fd(fd({},this.options),r))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var t=arguments,n=this;return Gu(function*(){var r=t.length>0&&t[0]!==void 0?t[0]:{};n.start(fd({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},r)),yield n.ready(),n.stop()})()}start(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{documentElement:n,screen:r,options:i}=this;r.start(n,fd(fd({enableRedraw:!0},i),t))}stop(){this.screen.stop()}resize(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.documentElement.resize(t,n,r)}}const vHe=Object.freeze(Object.defineProperty({__proto__:null,AElement:$te,AnimateColorElement:Ute,AnimateElement:YC,AnimateTransformElement:Qte,BoundingBox:Wa,CB1:e6,CB2:t6,CB3:n6,CB4:r6,Canvg:Ud,CircleElement:Bte,ClipPathElement:Kte,DefsElement:Ite,DescElement:Xte,Document:Zv,Element:vi,EllipseElement:Cte,FeColorMatrixElement:JU,FeCompositeElement:Gte,FeDropShadowElement:Vte,FeGaussianBlurElement:Wte,FeMorphologyElement:zte,FilterElement:Jv,Font:Zo,FontElement:Pte,FontFaceElement:Lte,GElement:XC,GlyphElement:GU,GradientElement:XU,ImageElement:Hte,LineElement:xte,LinearGradientElement:_te,MarkerElement:Fte,MaskElement:Yv,Matrix:VU,MissingGlyphElement:Dte,Mouse:dte,PSEUDO_ZERO:Kd,Parser:Xb,PathElement:Fr,PathParser:Ln,PatternElement:Ete,Point:Bi,PolygonElement:Ste,PolylineElement:qU,Property:on,QB1:i6,QB2:o6,QB3:A6,RadialGradientElement:Ote,RectElement:WU,RenderedElement:_f,Rotate:mte,SVGElement:Vg,SVGFontLoader:kte,Scale:vte,Screen:qv,Skew:zU,SkewX:yte,SkewY:bte,StopElement:Tte,StyleElement:YU,SymbolElement:Mte,TRefElement:Rte,TSpanElement:Xv,TextElement:Wu,TextPathElement:Nte,TitleElement:qte,Transform:bf,Translate:gte,UnknownElement:wte,UseElement:jte,ViewPort:fte,compressSpaces:vh,default:Ud,getSelectorSpecificity:cte,normalizeAttributeName:lte,normalizeColor:ute,parseExternalUrl:KU,presets:qNe,toNumbers:RA,trimLeft:ate,trimRight:ste,vectorMagnitude:J_,vectorsAngle:Z_,vectorsRatio:nB},Symbol.toStringTag,{value:"Module"}));export{AT as $,cm as A,Oo as B,Ru as C,Du as D,KHe as E,wd as F,FHe as G,Ji as H,co as I,qe as J,wHe as K,PHe as L,$a as M,ni as N,Cs as O,LHe as P,Ol as Q,UA as R,ia as S,RHe as T,NHe as U,mn as V,bHe as W,Bre as X,Hu as Y,BHe as Z,JI as _,AV as a,AY as a0,st as a1,CHe as a2,EHe as a3,ro as a4,jHe as a5,Ir as a6,vn as a7,za as a8,SHe as a9,aC as aa,tC as ab,jT as ac,Os as ad,B8 as ae,fe as af,Is as ag,h6 as ah,xHe as ai,d6 as aj,$n as ak,aY as al,iY as am,uY as an,sY as ao,cY as ap,lY as aq,oY as ar,kHe as as,$ as b,Gie as c,Je as d,QHe as e,DHe as f,_He as g,Sb as h,fm as i,ym as j,la as k,IHe as l,UHe as m,Qg as n,Vie as o,pm as p,THe as q,yHe as r,OHe as s,$He as t,Jp as u,Jm as v,nie as w,mg as x,MHe as y,HHe as z};
|